1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for polkit-gnome 0.105.
4#
5# Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>.
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://lists.freedesktop.org/mailman/listinfo/polkit-devel
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='polkit-gnome'
573PACKAGE_TARNAME='polkit-gnome'
574PACKAGE_VERSION='0.105'
575PACKAGE_STRING='polkit-gnome 0.105'
576PACKAGE_BUGREPORT='http://lists.freedesktop.org/mailman/listinfo/polkit-devel'
577PACKAGE_URL=''
578
579ac_unique_file="src"
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
620AM_LDFLAGS
621AM_CXXFLAGS
622AM_CFLAGS
623AM_CPPFLAGS
624MKINSTALLDIRS
625POSUB
626POFILES
627PO_IN_DATADIR_FALSE
628PO_IN_DATADIR_TRUE
629INTLLIBS
630INSTOBJEXT
631GMOFILES
632CATOBJEXT
633CATALOGS
634MSGFMT_OPTS
635GETTEXT_PACKAGE
636DATADIRNAME
637ALL_LINGUAS
638INTLTOOL_PERL
639GMSGFMT
640MSGFMT
641MSGMERGE
642XGETTEXT
643INTLTOOL_POLICY_RULE
644INTLTOOL_SERVICE_RULE
645INTLTOOL_THEME_RULE
646INTLTOOL_SCHEMAS_RULE
647INTLTOOL_CAVES_RULE
648INTLTOOL_XML_NOMERGE_RULE
649INTLTOOL_XML_RULE
650INTLTOOL_KBD_RULE
651INTLTOOL_XAM_RULE
652INTLTOOL_UI_RULE
653INTLTOOL_SOUNDLIST_RULE
654INTLTOOL_SHEET_RULE
655INTLTOOL_SERVER_RULE
656INTLTOOL_PONG_RULE
657INTLTOOL_OAF_RULE
658INTLTOOL_PROP_RULE
659INTLTOOL_KEYS_RULE
660INTLTOOL_DIRECTORY_RULE
661INTLTOOL_DESKTOP_RULE
662INTLTOOL_EXTRACT
663INTLTOOL_MERGE
664INTLTOOL_UPDATE
665USE_NLS
666POLKIT_GOBJECT_LIBS
667POLKIT_GOBJECT_CFLAGS
668POLKIT_AGENT_LIBS
669POLKIT_AGENT_CFLAGS
670GLIB_LIBS
671GLIB_CFLAGS
672GTK_LIBS
673GTK_CFLAGS
674PKG_CONFIG_LIBDIR
675PKG_CONFIG_PATH
676PKG_CONFIG
677WARN_CFLAGS
678OTOOL64
679OTOOL
680LIPO
681NMEDIT
682DSYMUTIL
683MANIFEST_TOOL
684RANLIB
685ac_ct_AR
686AR
687DLLTOOL
688OBJDUMP
689LN_S
690NM
691ac_ct_DUMPBIN
692DUMPBIN
693LD
694FGREP
695SED
696host_os
697host_vendor
698host_cpu
699host
700build_os
701build_vendor
702build_cpu
703build
704LIBTOOL
705EGREP
706GREP
707CPP
708am__fastdepCC_FALSE
709am__fastdepCC_TRUE
710CCDEPMODE
711AMDEPBACKSLASH
712AMDEP_FALSE
713AMDEP_TRUE
714am__quote
715am__include
716DEPDIR
717OBJEXT
718EXEEXT
719ac_ct_CC
720CPPFLAGS
721LDFLAGS
722CFLAGS
723CC
724LT_AGE
725LT_REVISION
726LT_CURRENT
727AM_BACKSLASH
728AM_DEFAULT_VERBOSITY
729MAINT
730MAINTAINER_MODE_FALSE
731MAINTAINER_MODE_TRUE
732am__untar
733am__tar
734AMTAR
735am__leading_dot
736SET_MAKE
737AWK
738mkdir_p
739MKDIR_P
740INSTALL_STRIP_PROGRAM
741STRIP
742install_sh
743MAKEINFO
744AUTOHEADER
745AUTOMAKE
746AUTOCONF
747ACLOCAL
748VERSION
749PACKAGE
750CYGPATH_W
751am__isrc
752INSTALL_DATA
753INSTALL_SCRIPT
754INSTALL_PROGRAM
755target_alias
756host_alias
757build_alias
758LIBS
759ECHO_T
760ECHO_N
761ECHO_C
762DEFS
763mandir
764localedir
765libdir
766psdir
767pdfdir
768dvidir
769htmldir
770infodir
771docdir
772oldincludedir
773includedir
774localstatedir
775sharedstatedir
776sysconfdir
777datadir
778datarootdir
779libexecdir
780sbindir
781bindir
782program_transform_name
783prefix
784exec_prefix
785PACKAGE_URL
786PACKAGE_BUGREPORT
787PACKAGE_STRING
788PACKAGE_VERSION
789PACKAGE_TARNAME
790PACKAGE_NAME
791PATH_SEPARATOR
792SHELL'
793ac_subst_files=''
794ac_user_opts='
795enable_option_checking
796enable_maintainer_mode
797enable_silent_rules
798enable_dependency_tracking
799enable_shared
800enable_static
801with_pic
802enable_fast_install
803with_gnu_ld
804with_sysroot
805enable_libtool_lock
806enable_debug
807enable_compile_warnings
808enable_iso_c
809enable_nls
810'
811      ac_precious_vars='build_alias
812host_alias
813target_alias
814CC
815CFLAGS
816LDFLAGS
817LIBS
818CPPFLAGS
819CPP
820PKG_CONFIG
821PKG_CONFIG_PATH
822PKG_CONFIG_LIBDIR
823GTK_CFLAGS
824GTK_LIBS
825GLIB_CFLAGS
826GLIB_LIBS
827POLKIT_AGENT_CFLAGS
828POLKIT_AGENT_LIBS
829POLKIT_GOBJECT_CFLAGS
830POLKIT_GOBJECT_LIBS'
831
832
833# Initialize some variables set by options.
834ac_init_help=
835ac_init_version=false
836ac_unrecognized_opts=
837ac_unrecognized_sep=
838# The variables have the same names as the options, with
839# dashes changed to underlines.
840cache_file=/dev/null
841exec_prefix=NONE
842no_create=
843no_recursion=
844prefix=NONE
845program_prefix=NONE
846program_suffix=NONE
847program_transform_name=s,x,x,
848silent=
849site=
850srcdir=
851verbose=
852x_includes=NONE
853x_libraries=NONE
854
855# Installation directory options.
856# These are left unexpanded so users can "make install exec_prefix=/foo"
857# and all the variables that are supposed to be based on exec_prefix
858# by default will actually change.
859# Use braces instead of parens because sh, perl, etc. also accept them.
860# (The list follows the same order as the GNU Coding Standards.)
861bindir='${exec_prefix}/bin'
862sbindir='${exec_prefix}/sbin'
863libexecdir='${exec_prefix}/libexec'
864datarootdir='${prefix}/share'
865datadir='${datarootdir}'
866sysconfdir='${prefix}/etc'
867sharedstatedir='${prefix}/com'
868localstatedir='${prefix}/var'
869includedir='${prefix}/include'
870oldincludedir='/usr/include'
871docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872infodir='${datarootdir}/info'
873htmldir='${docdir}'
874dvidir='${docdir}'
875pdfdir='${docdir}'
876psdir='${docdir}'
877libdir='${exec_prefix}/lib'
878localedir='${datarootdir}/locale'
879mandir='${datarootdir}/man'
880
881ac_prev=
882ac_dashdash=
883for ac_option
884do
885  # If the previous option needs an argument, assign it.
886  if test -n "$ac_prev"; then
887    eval $ac_prev=\$ac_option
888    ac_prev=
889    continue
890  fi
891
892  case $ac_option in
893  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894  *=)   ac_optarg= ;;
895  *)    ac_optarg=yes ;;
896  esac
897
898  # Accept the important Cygnus configure options, so we can diagnose typos.
899
900  case $ac_dashdash$ac_option in
901  --)
902    ac_dashdash=yes ;;
903
904  -bindir | --bindir | --bindi | --bind | --bin | --bi)
905    ac_prev=bindir ;;
906  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907    bindir=$ac_optarg ;;
908
909  -build | --build | --buil | --bui | --bu)
910    ac_prev=build_alias ;;
911  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912    build_alias=$ac_optarg ;;
913
914  -cache-file | --cache-file | --cache-fil | --cache-fi \
915  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916    ac_prev=cache_file ;;
917  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919    cache_file=$ac_optarg ;;
920
921  --config-cache | -C)
922    cache_file=config.cache ;;
923
924  -datadir | --datadir | --datadi | --datad)
925    ac_prev=datadir ;;
926  -datadir=* | --datadir=* | --datadi=* | --datad=*)
927    datadir=$ac_optarg ;;
928
929  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930  | --dataroo | --dataro | --datar)
931    ac_prev=datarootdir ;;
932  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934    datarootdir=$ac_optarg ;;
935
936  -disable-* | --disable-*)
937    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938    # Reject names that are not valid shell variable names.
939    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940      as_fn_error $? "invalid feature name: $ac_useropt"
941    ac_useropt_orig=$ac_useropt
942    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943    case $ac_user_opts in
944      *"
945"enable_$ac_useropt"
946"*) ;;
947      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948	 ac_unrecognized_sep=', ';;
949    esac
950    eval enable_$ac_useropt=no ;;
951
952  -docdir | --docdir | --docdi | --doc | --do)
953    ac_prev=docdir ;;
954  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955    docdir=$ac_optarg ;;
956
957  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958    ac_prev=dvidir ;;
959  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960    dvidir=$ac_optarg ;;
961
962  -enable-* | --enable-*)
963    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964    # Reject names that are not valid shell variable names.
965    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966      as_fn_error $? "invalid feature name: $ac_useropt"
967    ac_useropt_orig=$ac_useropt
968    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969    case $ac_user_opts in
970      *"
971"enable_$ac_useropt"
972"*) ;;
973      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974	 ac_unrecognized_sep=', ';;
975    esac
976    eval enable_$ac_useropt=\$ac_optarg ;;
977
978  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980  | --exec | --exe | --ex)
981    ac_prev=exec_prefix ;;
982  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984  | --exec=* | --exe=* | --ex=*)
985    exec_prefix=$ac_optarg ;;
986
987  -gas | --gas | --ga | --g)
988    # Obsolete; use --with-gas.
989    with_gas=yes ;;
990
991  -help | --help | --hel | --he | -h)
992    ac_init_help=long ;;
993  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994    ac_init_help=recursive ;;
995  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996    ac_init_help=short ;;
997
998  -host | --host | --hos | --ho)
999    ac_prev=host_alias ;;
1000  -host=* | --host=* | --hos=* | --ho=*)
1001    host_alias=$ac_optarg ;;
1002
1003  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004    ac_prev=htmldir ;;
1005  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006  | --ht=*)
1007    htmldir=$ac_optarg ;;
1008
1009  -includedir | --includedir | --includedi | --included | --include \
1010  | --includ | --inclu | --incl | --inc)
1011    ac_prev=includedir ;;
1012  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013  | --includ=* | --inclu=* | --incl=* | --inc=*)
1014    includedir=$ac_optarg ;;
1015
1016  -infodir | --infodir | --infodi | --infod | --info | --inf)
1017    ac_prev=infodir ;;
1018  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019    infodir=$ac_optarg ;;
1020
1021  -libdir | --libdir | --libdi | --libd)
1022    ac_prev=libdir ;;
1023  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024    libdir=$ac_optarg ;;
1025
1026  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027  | --libexe | --libex | --libe)
1028    ac_prev=libexecdir ;;
1029  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030  | --libexe=* | --libex=* | --libe=*)
1031    libexecdir=$ac_optarg ;;
1032
1033  -localedir | --localedir | --localedi | --localed | --locale)
1034    ac_prev=localedir ;;
1035  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036    localedir=$ac_optarg ;;
1037
1038  -localstatedir | --localstatedir | --localstatedi | --localstated \
1039  | --localstate | --localstat | --localsta | --localst | --locals)
1040    ac_prev=localstatedir ;;
1041  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043    localstatedir=$ac_optarg ;;
1044
1045  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046    ac_prev=mandir ;;
1047  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048    mandir=$ac_optarg ;;
1049
1050  -nfp | --nfp | --nf)
1051    # Obsolete; use --without-fp.
1052    with_fp=no ;;
1053
1054  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055  | --no-cr | --no-c | -n)
1056    no_create=yes ;;
1057
1058  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060    no_recursion=yes ;;
1061
1062  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064  | --oldin | --oldi | --old | --ol | --o)
1065    ac_prev=oldincludedir ;;
1066  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069    oldincludedir=$ac_optarg ;;
1070
1071  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072    ac_prev=prefix ;;
1073  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074    prefix=$ac_optarg ;;
1075
1076  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077  | --program-pre | --program-pr | --program-p)
1078    ac_prev=program_prefix ;;
1079  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081    program_prefix=$ac_optarg ;;
1082
1083  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084  | --program-suf | --program-su | --program-s)
1085    ac_prev=program_suffix ;;
1086  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088    program_suffix=$ac_optarg ;;
1089
1090  -program-transform-name | --program-transform-name \
1091  | --program-transform-nam | --program-transform-na \
1092  | --program-transform-n | --program-transform- \
1093  | --program-transform | --program-transfor \
1094  | --program-transfo | --program-transf \
1095  | --program-trans | --program-tran \
1096  | --progr-tra | --program-tr | --program-t)
1097    ac_prev=program_transform_name ;;
1098  -program-transform-name=* | --program-transform-name=* \
1099  | --program-transform-nam=* | --program-transform-na=* \
1100  | --program-transform-n=* | --program-transform-=* \
1101  | --program-transform=* | --program-transfor=* \
1102  | --program-transfo=* | --program-transf=* \
1103  | --program-trans=* | --program-tran=* \
1104  | --progr-tra=* | --program-tr=* | --program-t=*)
1105    program_transform_name=$ac_optarg ;;
1106
1107  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108    ac_prev=pdfdir ;;
1109  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110    pdfdir=$ac_optarg ;;
1111
1112  -psdir | --psdir | --psdi | --psd | --ps)
1113    ac_prev=psdir ;;
1114  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115    psdir=$ac_optarg ;;
1116
1117  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118  | -silent | --silent | --silen | --sile | --sil)
1119    silent=yes ;;
1120
1121  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122    ac_prev=sbindir ;;
1123  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124  | --sbi=* | --sb=*)
1125    sbindir=$ac_optarg ;;
1126
1127  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129  | --sharedst | --shareds | --shared | --share | --shar \
1130  | --sha | --sh)
1131    ac_prev=sharedstatedir ;;
1132  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135  | --sha=* | --sh=*)
1136    sharedstatedir=$ac_optarg ;;
1137
1138  -site | --site | --sit)
1139    ac_prev=site ;;
1140  -site=* | --site=* | --sit=*)
1141    site=$ac_optarg ;;
1142
1143  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144    ac_prev=srcdir ;;
1145  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146    srcdir=$ac_optarg ;;
1147
1148  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149  | --syscon | --sysco | --sysc | --sys | --sy)
1150    ac_prev=sysconfdir ;;
1151  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153    sysconfdir=$ac_optarg ;;
1154
1155  -target | --target | --targe | --targ | --tar | --ta | --t)
1156    ac_prev=target_alias ;;
1157  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158    target_alias=$ac_optarg ;;
1159
1160  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161    verbose=yes ;;
1162
1163  -version | --version | --versio | --versi | --vers | -V)
1164    ac_init_version=: ;;
1165
1166  -with-* | --with-*)
1167    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168    # Reject names that are not valid shell variable names.
1169    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170      as_fn_error $? "invalid package name: $ac_useropt"
1171    ac_useropt_orig=$ac_useropt
1172    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173    case $ac_user_opts in
1174      *"
1175"with_$ac_useropt"
1176"*) ;;
1177      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178	 ac_unrecognized_sep=', ';;
1179    esac
1180    eval with_$ac_useropt=\$ac_optarg ;;
1181
1182  -without-* | --without-*)
1183    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184    # Reject names that are not valid shell variable names.
1185    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186      as_fn_error $? "invalid package name: $ac_useropt"
1187    ac_useropt_orig=$ac_useropt
1188    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189    case $ac_user_opts in
1190      *"
1191"with_$ac_useropt"
1192"*) ;;
1193      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194	 ac_unrecognized_sep=', ';;
1195    esac
1196    eval with_$ac_useropt=no ;;
1197
1198  --x)
1199    # Obsolete; use --with-x.
1200    with_x=yes ;;
1201
1202  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203  | --x-incl | --x-inc | --x-in | --x-i)
1204    ac_prev=x_includes ;;
1205  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207    x_includes=$ac_optarg ;;
1208
1209  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211    ac_prev=x_libraries ;;
1212  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214    x_libraries=$ac_optarg ;;
1215
1216  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217Try \`$0 --help' for more information"
1218    ;;
1219
1220  *=*)
1221    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222    # Reject names that are not valid shell variable names.
1223    case $ac_envvar in #(
1224      '' | [0-9]* | *[!_$as_cr_alnum]* )
1225      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226    esac
1227    eval $ac_envvar=\$ac_optarg
1228    export $ac_envvar ;;
1229
1230  *)
1231    # FIXME: should be removed in autoconf 3.0.
1232    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236    ;;
1237
1238  esac
1239done
1240
1241if test -n "$ac_prev"; then
1242  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243  as_fn_error $? "missing argument to $ac_option"
1244fi
1245
1246if test -n "$ac_unrecognized_opts"; then
1247  case $enable_option_checking in
1248    no) ;;
1249    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251  esac
1252fi
1253
1254# Check all directory arguments for consistency.
1255for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256		datadir sysconfdir sharedstatedir localstatedir includedir \
1257		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258		libdir localedir mandir
1259do
1260  eval ac_val=\$$ac_var
1261  # Remove trailing slashes.
1262  case $ac_val in
1263    */ )
1264      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265      eval $ac_var=\$ac_val;;
1266  esac
1267  # Be sure to have absolute directory names.
1268  case $ac_val in
1269    [\\/$]* | ?:[\\/]* )  continue;;
1270    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271  esac
1272  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273done
1274
1275# There might be people who depend on the old broken behavior: `$host'
1276# used to hold the argument of --host etc.
1277# FIXME: To remove some day.
1278build=$build_alias
1279host=$host_alias
1280target=$target_alias
1281
1282# FIXME: To remove some day.
1283if test "x$host_alias" != x; then
1284  if test "x$build_alias" = x; then
1285    cross_compiling=maybe
1286    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1287    If a cross compiler is detected then cross compile mode will be used" >&2
1288  elif test "x$build_alias" != "x$host_alias"; then
1289    cross_compiling=yes
1290  fi
1291fi
1292
1293ac_tool_prefix=
1294test -n "$host_alias" && ac_tool_prefix=$host_alias-
1295
1296test "$silent" = yes && exec 6>/dev/null
1297
1298
1299ac_pwd=`pwd` && test -n "$ac_pwd" &&
1300ac_ls_di=`ls -di .` &&
1301ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1302  as_fn_error $? "working directory cannot be determined"
1303test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304  as_fn_error $? "pwd does not report name of working directory"
1305
1306
1307# Find the source files, if location was not specified.
1308if test -z "$srcdir"; then
1309  ac_srcdir_defaulted=yes
1310  # Try the directory containing this script, then the parent directory.
1311  ac_confdir=`$as_dirname -- "$as_myself" ||
1312$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313	 X"$as_myself" : 'X\(//\)[^/]' \| \
1314	 X"$as_myself" : 'X\(//\)$' \| \
1315	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316$as_echo X"$as_myself" |
1317    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1318	    s//\1/
1319	    q
1320	  }
1321	  /^X\(\/\/\)[^/].*/{
1322	    s//\1/
1323	    q
1324	  }
1325	  /^X\(\/\/\)$/{
1326	    s//\1/
1327	    q
1328	  }
1329	  /^X\(\/\).*/{
1330	    s//\1/
1331	    q
1332	  }
1333	  s/.*/./; q'`
1334  srcdir=$ac_confdir
1335  if test ! -r "$srcdir/$ac_unique_file"; then
1336    srcdir=..
1337  fi
1338else
1339  ac_srcdir_defaulted=no
1340fi
1341if test ! -r "$srcdir/$ac_unique_file"; then
1342  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1343  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1344fi
1345ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1346ac_abs_confdir=`(
1347	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348	pwd)`
1349# When building in place, set srcdir=.
1350if test "$ac_abs_confdir" = "$ac_pwd"; then
1351  srcdir=.
1352fi
1353# Remove unnecessary trailing slashes from srcdir.
1354# Double slashes in file names in object file debugging info
1355# mess up M-x gdb in Emacs.
1356case $srcdir in
1357*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358esac
1359for ac_var in $ac_precious_vars; do
1360  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1361  eval ac_env_${ac_var}_value=\$${ac_var}
1362  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1363  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1364done
1365
1366#
1367# Report the --help message.
1368#
1369if test "$ac_init_help" = "long"; then
1370  # Omit some internal or obsolete options to make the list less imposing.
1371  # This message is too long to be a string in the A/UX 3.1 sh.
1372  cat <<_ACEOF
1373\`configure' configures polkit-gnome 0.105 to adapt to many kinds of systems.
1374
1375Usage: $0 [OPTION]... [VAR=VALUE]...
1376
1377To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378VAR=VALUE.  See below for descriptions of some of the useful variables.
1379
1380Defaults for the options are specified in brackets.
1381
1382Configuration:
1383  -h, --help              display this help and exit
1384      --help=short        display options specific to this package
1385      --help=recursive    display the short help of all the included packages
1386  -V, --version           display version information and exit
1387  -q, --quiet, --silent   do not print \`checking ...' messages
1388      --cache-file=FILE   cache test results in FILE [disabled]
1389  -C, --config-cache      alias for \`--cache-file=config.cache'
1390  -n, --no-create         do not create output files
1391      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1392
1393Installation directories:
1394  --prefix=PREFIX         install architecture-independent files in PREFIX
1395                          [$ac_default_prefix]
1396  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1397                          [PREFIX]
1398
1399By default, \`make install' will install all the files in
1400\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1401an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402for instance \`--prefix=\$HOME'.
1403
1404For better control, use the options below.
1405
1406Fine tuning of the installation directories:
1407  --bindir=DIR            user executables [EPREFIX/bin]
1408  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1409  --libexecdir=DIR        program executables [EPREFIX/libexec]
1410  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1411  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1412  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1413  --libdir=DIR            object code libraries [EPREFIX/lib]
1414  --includedir=DIR        C header files [PREFIX/include]
1415  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1416  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1417  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1418  --infodir=DIR           info documentation [DATAROOTDIR/info]
1419  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1420  --mandir=DIR            man documentation [DATAROOTDIR/man]
1421  --docdir=DIR            documentation root [DATAROOTDIR/doc/polkit-gnome]
1422  --htmldir=DIR           html documentation [DOCDIR]
1423  --dvidir=DIR            dvi documentation [DOCDIR]
1424  --pdfdir=DIR            pdf documentation [DOCDIR]
1425  --psdir=DIR             ps documentation [DOCDIR]
1426_ACEOF
1427
1428  cat <<\_ACEOF
1429
1430Program names:
1431  --program-prefix=PREFIX            prepend PREFIX to installed program names
1432  --program-suffix=SUFFIX            append SUFFIX to installed program names
1433  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1434
1435System types:
1436  --build=BUILD     configure for building on BUILD [guessed]
1437  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1438_ACEOF
1439fi
1440
1441if test -n "$ac_init_help"; then
1442  case $ac_init_help in
1443     short | recursive ) echo "Configuration of polkit-gnome 0.105:";;
1444   esac
1445  cat <<\_ACEOF
1446
1447Optional Features:
1448  --disable-option-checking  ignore unrecognized --enable/--with options
1449  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1450  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1451  --disable-maintainer-mode  disable make rules and dependencies not useful
1452			  (and sometimes confusing) to the casual installer
1453  --enable-silent-rules          less verbose build output (undo: `make V=1')
1454  --disable-silent-rules         verbose build output (undo: `make V=0')
1455  --disable-dependency-tracking  speeds up one-time build
1456  --enable-dependency-tracking   do not reject slow dependency extractors
1457  --enable-shared[=PKGS]  build shared libraries [default=yes]
1458  --enable-static[=PKGS]  build static libraries [default=yes]
1459  --enable-fast-install[=PKGS]
1460                          optimize for fast installation [default=yes]
1461  --disable-libtool-lock  avoid locking (might break parallel builds)
1462  --enable-debug          turn on debugging
1463  --enable-compile-warnings=[no/minimum/yes/maximum/error]
1464                          Turn on compiler warnings
1465  --enable-iso-c          Try to warn if code is not ISO C
1466  --disable-nls           do not use Native Language Support
1467
1468Optional Packages:
1469  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1470  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1471  --with-pic              try to use only PIC/non-PIC objects [default=use
1472                          both]
1473  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1474  --with-sysroot=DIR Search for dependent libraries within DIR
1475                        (or the compiler's sysroot if not specified).
1476
1477Some influential environment variables:
1478  CC          C compiler command
1479  CFLAGS      C compiler flags
1480  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1481              nonstandard directory <lib dir>
1482  LIBS        libraries to pass to the linker, e.g. -l<library>
1483  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1484              you have headers in a nonstandard directory <include dir>
1485  CPP         C preprocessor
1486  PKG_CONFIG  path to pkg-config utility
1487  PKG_CONFIG_PATH
1488              directories to add to pkg-config's search path
1489  PKG_CONFIG_LIBDIR
1490              path overriding pkg-config's built-in search path
1491  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1492  GTK_LIBS    linker flags for GTK, overriding pkg-config
1493  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1494  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1495  POLKIT_AGENT_CFLAGS
1496              C compiler flags for POLKIT_AGENT, overriding pkg-config
1497  POLKIT_AGENT_LIBS
1498              linker flags for POLKIT_AGENT, overriding pkg-config
1499  POLKIT_GOBJECT_CFLAGS
1500              C compiler flags for POLKIT_GOBJECT, overriding pkg-config
1501  POLKIT_GOBJECT_LIBS
1502              linker flags for POLKIT_GOBJECT, overriding pkg-config
1503
1504Use these variables to override the choices made by `configure' or to help
1505it to find libraries and programs with nonstandard names/locations.
1506
1507Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>.
1508_ACEOF
1509ac_status=$?
1510fi
1511
1512if test "$ac_init_help" = "recursive"; then
1513  # If there are subdirs, report their specific --help.
1514  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1515    test -d "$ac_dir" ||
1516      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1517      continue
1518    ac_builddir=.
1519
1520case "$ac_dir" in
1521.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1522*)
1523  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1524  # A ".." for each directory in $ac_dir_suffix.
1525  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1526  case $ac_top_builddir_sub in
1527  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1529  esac ;;
1530esac
1531ac_abs_top_builddir=$ac_pwd
1532ac_abs_builddir=$ac_pwd$ac_dir_suffix
1533# for backward compatibility:
1534ac_top_builddir=$ac_top_build_prefix
1535
1536case $srcdir in
1537  .)  # We are building in place.
1538    ac_srcdir=.
1539    ac_top_srcdir=$ac_top_builddir_sub
1540    ac_abs_top_srcdir=$ac_pwd ;;
1541  [\\/]* | ?:[\\/]* )  # Absolute name.
1542    ac_srcdir=$srcdir$ac_dir_suffix;
1543    ac_top_srcdir=$srcdir
1544    ac_abs_top_srcdir=$srcdir ;;
1545  *) # Relative name.
1546    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1547    ac_top_srcdir=$ac_top_build_prefix$srcdir
1548    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1549esac
1550ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1551
1552    cd "$ac_dir" || { ac_status=$?; continue; }
1553    # Check for guested configure.
1554    if test -f "$ac_srcdir/configure.gnu"; then
1555      echo &&
1556      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1557    elif test -f "$ac_srcdir/configure"; then
1558      echo &&
1559      $SHELL "$ac_srcdir/configure" --help=recursive
1560    else
1561      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1562    fi || ac_status=$?
1563    cd "$ac_pwd" || { ac_status=$?; break; }
1564  done
1565fi
1566
1567test -n "$ac_init_help" && exit $ac_status
1568if $ac_init_version; then
1569  cat <<\_ACEOF
1570polkit-gnome configure 0.105
1571generated by GNU Autoconf 2.68
1572
1573Copyright (C) 2010 Free Software Foundation, Inc.
1574This configure script is free software; the Free Software Foundation
1575gives unlimited permission to copy, distribute and modify it.
1576_ACEOF
1577  exit
1578fi
1579
1580## ------------------------ ##
1581## Autoconf initialization. ##
1582## ------------------------ ##
1583
1584# ac_fn_c_try_compile LINENO
1585# --------------------------
1586# Try to compile conftest.$ac_ext, and return whether this succeeded.
1587ac_fn_c_try_compile ()
1588{
1589  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1590  rm -f conftest.$ac_objext
1591  if { { ac_try="$ac_compile"
1592case "(($ac_try" in
1593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1594  *) ac_try_echo=$ac_try;;
1595esac
1596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1597$as_echo "$ac_try_echo"; } >&5
1598  (eval "$ac_compile") 2>conftest.err
1599  ac_status=$?
1600  if test -s conftest.err; then
1601    grep -v '^ *+' conftest.err >conftest.er1
1602    cat conftest.er1 >&5
1603    mv -f conftest.er1 conftest.err
1604  fi
1605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1606  test $ac_status = 0; } && {
1607	 test -z "$ac_c_werror_flag" ||
1608	 test ! -s conftest.err
1609       } && test -s conftest.$ac_objext; then :
1610  ac_retval=0
1611else
1612  $as_echo "$as_me: failed program was:" >&5
1613sed 's/^/| /' conftest.$ac_ext >&5
1614
1615	ac_retval=1
1616fi
1617  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618  as_fn_set_status $ac_retval
1619
1620} # ac_fn_c_try_compile
1621
1622# ac_fn_c_try_cpp LINENO
1623# ----------------------
1624# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1625ac_fn_c_try_cpp ()
1626{
1627  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1628  if { { ac_try="$ac_cpp conftest.$ac_ext"
1629case "(($ac_try" in
1630  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1631  *) ac_try_echo=$ac_try;;
1632esac
1633eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1634$as_echo "$ac_try_echo"; } >&5
1635  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1636  ac_status=$?
1637  if test -s conftest.err; then
1638    grep -v '^ *+' conftest.err >conftest.er1
1639    cat conftest.er1 >&5
1640    mv -f conftest.er1 conftest.err
1641  fi
1642  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1643  test $ac_status = 0; } > conftest.i && {
1644	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1645	 test ! -s conftest.err
1646       }; then :
1647  ac_retval=0
1648else
1649  $as_echo "$as_me: failed program was:" >&5
1650sed 's/^/| /' conftest.$ac_ext >&5
1651
1652    ac_retval=1
1653fi
1654  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655  as_fn_set_status $ac_retval
1656
1657} # ac_fn_c_try_cpp
1658
1659# ac_fn_c_try_run LINENO
1660# ----------------------
1661# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1662# that executables *can* be run.
1663ac_fn_c_try_run ()
1664{
1665  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666  if { { ac_try="$ac_link"
1667case "(($ac_try" in
1668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1669  *) ac_try_echo=$ac_try;;
1670esac
1671eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1672$as_echo "$ac_try_echo"; } >&5
1673  (eval "$ac_link") 2>&5
1674  ac_status=$?
1675  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1677  { { case "(($ac_try" in
1678  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1679  *) ac_try_echo=$ac_try;;
1680esac
1681eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1682$as_echo "$ac_try_echo"; } >&5
1683  (eval "$ac_try") 2>&5
1684  ac_status=$?
1685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686  test $ac_status = 0; }; }; then :
1687  ac_retval=0
1688else
1689  $as_echo "$as_me: program exited with status $ac_status" >&5
1690       $as_echo "$as_me: failed program was:" >&5
1691sed 's/^/| /' conftest.$ac_ext >&5
1692
1693       ac_retval=$ac_status
1694fi
1695  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1696  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1697  as_fn_set_status $ac_retval
1698
1699} # ac_fn_c_try_run
1700
1701# ac_fn_c_try_link LINENO
1702# -----------------------
1703# Try to link conftest.$ac_ext, and return whether this succeeded.
1704ac_fn_c_try_link ()
1705{
1706  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707  rm -f conftest.$ac_objext conftest$ac_exeext
1708  if { { ac_try="$ac_link"
1709case "(($ac_try" in
1710  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711  *) ac_try_echo=$ac_try;;
1712esac
1713eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714$as_echo "$ac_try_echo"; } >&5
1715  (eval "$ac_link") 2>conftest.err
1716  ac_status=$?
1717  if test -s conftest.err; then
1718    grep -v '^ *+' conftest.err >conftest.er1
1719    cat conftest.er1 >&5
1720    mv -f conftest.er1 conftest.err
1721  fi
1722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1723  test $ac_status = 0; } && {
1724	 test -z "$ac_c_werror_flag" ||
1725	 test ! -s conftest.err
1726       } && test -s conftest$ac_exeext && {
1727	 test "$cross_compiling" = yes ||
1728	 $as_test_x conftest$ac_exeext
1729       }; then :
1730  ac_retval=0
1731else
1732  $as_echo "$as_me: failed program was:" >&5
1733sed 's/^/| /' conftest.$ac_ext >&5
1734
1735	ac_retval=1
1736fi
1737  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1738  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1739  # interfere with the next link command; also delete a directory that is
1740  # left behind by Apple's compiler.  We do this before executing the actions.
1741  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1742  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743  as_fn_set_status $ac_retval
1744
1745} # ac_fn_c_try_link
1746
1747# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1748# -------------------------------------------------------
1749# Tests whether HEADER exists and can be compiled using the include files in
1750# INCLUDES, setting the cache variable VAR accordingly.
1751ac_fn_c_check_header_compile ()
1752{
1753  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1755$as_echo_n "checking for $2... " >&6; }
1756if eval \${$3+:} false; then :
1757  $as_echo_n "(cached) " >&6
1758else
1759  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760/* end confdefs.h.  */
1761$4
1762#include <$2>
1763_ACEOF
1764if ac_fn_c_try_compile "$LINENO"; then :
1765  eval "$3=yes"
1766else
1767  eval "$3=no"
1768fi
1769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770fi
1771eval ac_res=\$$3
1772	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773$as_echo "$ac_res" >&6; }
1774  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775
1776} # ac_fn_c_check_header_compile
1777
1778# ac_fn_c_check_func LINENO FUNC VAR
1779# ----------------------------------
1780# Tests whether FUNC exists, setting the cache variable VAR accordingly
1781ac_fn_c_check_func ()
1782{
1783  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785$as_echo_n "checking for $2... " >&6; }
1786if eval \${$3+:} false; then :
1787  $as_echo_n "(cached) " >&6
1788else
1789  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790/* end confdefs.h.  */
1791/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1792   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1793#define $2 innocuous_$2
1794
1795/* System header to define __stub macros and hopefully few prototypes,
1796    which can conflict with char $2 (); below.
1797    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1798    <limits.h> exists even on freestanding compilers.  */
1799
1800#ifdef __STDC__
1801# include <limits.h>
1802#else
1803# include <assert.h>
1804#endif
1805
1806#undef $2
1807
1808/* Override any GCC internal prototype to avoid an error.
1809   Use char because int might match the return type of a GCC
1810   builtin and then its argument prototype would still apply.  */
1811#ifdef __cplusplus
1812extern "C"
1813#endif
1814char $2 ();
1815/* The GNU C library defines this for functions which it implements
1816    to always fail with ENOSYS.  Some functions are actually named
1817    something starting with __ and the normal name is an alias.  */
1818#if defined __stub_$2 || defined __stub___$2
1819choke me
1820#endif
1821
1822int
1823main ()
1824{
1825return $2 ();
1826  ;
1827  return 0;
1828}
1829_ACEOF
1830if ac_fn_c_try_link "$LINENO"; then :
1831  eval "$3=yes"
1832else
1833  eval "$3=no"
1834fi
1835rm -f core conftest.err conftest.$ac_objext \
1836    conftest$ac_exeext conftest.$ac_ext
1837fi
1838eval ac_res=\$$3
1839	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1840$as_echo "$ac_res" >&6; }
1841  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1842
1843} # ac_fn_c_check_func
1844
1845# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1846# -------------------------------------------------------
1847# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1848# the include files in INCLUDES and setting the cache variable VAR
1849# accordingly.
1850ac_fn_c_check_header_mongrel ()
1851{
1852  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853  if eval \${$3+:} false; then :
1854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855$as_echo_n "checking for $2... " >&6; }
1856if eval \${$3+:} false; then :
1857  $as_echo_n "(cached) " >&6
1858fi
1859eval ac_res=\$$3
1860	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1861$as_echo "$ac_res" >&6; }
1862else
1863  # Is the header compilable?
1864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1865$as_echo_n "checking $2 usability... " >&6; }
1866cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1867/* end confdefs.h.  */
1868$4
1869#include <$2>
1870_ACEOF
1871if ac_fn_c_try_compile "$LINENO"; then :
1872  ac_header_compiler=yes
1873else
1874  ac_header_compiler=no
1875fi
1876rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1878$as_echo "$ac_header_compiler" >&6; }
1879
1880# Is the header present?
1881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1882$as_echo_n "checking $2 presence... " >&6; }
1883cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884/* end confdefs.h.  */
1885#include <$2>
1886_ACEOF
1887if ac_fn_c_try_cpp "$LINENO"; then :
1888  ac_header_preproc=yes
1889else
1890  ac_header_preproc=no
1891fi
1892rm -f conftest.err conftest.i conftest.$ac_ext
1893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1894$as_echo "$ac_header_preproc" >&6; }
1895
1896# So?  What about this header?
1897case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1898  yes:no: )
1899    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1900$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1901    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1902$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1903    ;;
1904  no:yes:* )
1905    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1906$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1907    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1908$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1909    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1910$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1911    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1912$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1913    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1914$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1915( $as_echo "## ------------------------------------------------------------------------- ##
1916## Report this to http://lists.freedesktop.org/mailman/listinfo/polkit-devel ##
1917## ------------------------------------------------------------------------- ##"
1918     ) | sed "s/^/$as_me: WARNING:     /" >&2
1919    ;;
1920esac
1921  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1922$as_echo_n "checking for $2... " >&6; }
1923if eval \${$3+:} false; then :
1924  $as_echo_n "(cached) " >&6
1925else
1926  eval "$3=\$ac_header_compiler"
1927fi
1928eval ac_res=\$$3
1929	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1930$as_echo "$ac_res" >&6; }
1931fi
1932  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933
1934} # ac_fn_c_check_header_mongrel
1935cat >config.log <<_ACEOF
1936This file contains any messages produced by compilers while
1937running configure, to aid debugging if configure makes a mistake.
1938
1939It was created by polkit-gnome $as_me 0.105, which was
1940generated by GNU Autoconf 2.68.  Invocation command line was
1941
1942  $ $0 $@
1943
1944_ACEOF
1945exec 5>>config.log
1946{
1947cat <<_ASUNAME
1948## --------- ##
1949## Platform. ##
1950## --------- ##
1951
1952hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1953uname -m = `(uname -m) 2>/dev/null || echo unknown`
1954uname -r = `(uname -r) 2>/dev/null || echo unknown`
1955uname -s = `(uname -s) 2>/dev/null || echo unknown`
1956uname -v = `(uname -v) 2>/dev/null || echo unknown`
1957
1958/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1959/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1960
1961/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1962/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1963/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1964/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1965/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1966/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1967/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1968
1969_ASUNAME
1970
1971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1972for as_dir in $PATH
1973do
1974  IFS=$as_save_IFS
1975  test -z "$as_dir" && as_dir=.
1976    $as_echo "PATH: $as_dir"
1977  done
1978IFS=$as_save_IFS
1979
1980} >&5
1981
1982cat >&5 <<_ACEOF
1983
1984
1985## ----------- ##
1986## Core tests. ##
1987## ----------- ##
1988
1989_ACEOF
1990
1991
1992# Keep a trace of the command line.
1993# Strip out --no-create and --no-recursion so they do not pile up.
1994# Strip out --silent because we don't want to record it for future runs.
1995# Also quote any args containing shell meta-characters.
1996# Make two passes to allow for proper duplicate-argument suppression.
1997ac_configure_args=
1998ac_configure_args0=
1999ac_configure_args1=
2000ac_must_keep_next=false
2001for ac_pass in 1 2
2002do
2003  for ac_arg
2004  do
2005    case $ac_arg in
2006    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2007    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2008    | -silent | --silent | --silen | --sile | --sil)
2009      continue ;;
2010    *\'*)
2011      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2012    esac
2013    case $ac_pass in
2014    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2015    2)
2016      as_fn_append ac_configure_args1 " '$ac_arg'"
2017      if test $ac_must_keep_next = true; then
2018	ac_must_keep_next=false # Got value, back to normal.
2019      else
2020	case $ac_arg in
2021	  *=* | --config-cache | -C | -disable-* | --disable-* \
2022	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2023	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2024	  | -with-* | --with-* | -without-* | --without-* | --x)
2025	    case "$ac_configure_args0 " in
2026	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2027	    esac
2028	    ;;
2029	  -* ) ac_must_keep_next=true ;;
2030	esac
2031      fi
2032      as_fn_append ac_configure_args " '$ac_arg'"
2033      ;;
2034    esac
2035  done
2036done
2037{ ac_configure_args0=; unset ac_configure_args0;}
2038{ ac_configure_args1=; unset ac_configure_args1;}
2039
2040# When interrupted or exit'd, cleanup temporary files, and complete
2041# config.log.  We remove comments because anyway the quotes in there
2042# would cause problems or look ugly.
2043# WARNING: Use '\'' to represent an apostrophe within the trap.
2044# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2045trap 'exit_status=$?
2046  # Save into config.log some information that might help in debugging.
2047  {
2048    echo
2049
2050    $as_echo "## ---------------- ##
2051## Cache variables. ##
2052## ---------------- ##"
2053    echo
2054    # The following way of writing the cache mishandles newlines in values,
2055(
2056  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2057    eval ac_val=\$$ac_var
2058    case $ac_val in #(
2059    *${as_nl}*)
2060      case $ac_var in #(
2061      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2062$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2063      esac
2064      case $ac_var in #(
2065      _ | IFS | as_nl) ;; #(
2066      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2067      *) { eval $ac_var=; unset $ac_var;} ;;
2068      esac ;;
2069    esac
2070  done
2071  (set) 2>&1 |
2072    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2073    *${as_nl}ac_space=\ *)
2074      sed -n \
2075	"s/'\''/'\''\\\\'\'''\''/g;
2076	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2077      ;; #(
2078    *)
2079      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2080      ;;
2081    esac |
2082    sort
2083)
2084    echo
2085
2086    $as_echo "## ----------------- ##
2087## Output variables. ##
2088## ----------------- ##"
2089    echo
2090    for ac_var in $ac_subst_vars
2091    do
2092      eval ac_val=\$$ac_var
2093      case $ac_val in
2094      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2095      esac
2096      $as_echo "$ac_var='\''$ac_val'\''"
2097    done | sort
2098    echo
2099
2100    if test -n "$ac_subst_files"; then
2101      $as_echo "## ------------------- ##
2102## File substitutions. ##
2103## ------------------- ##"
2104      echo
2105      for ac_var in $ac_subst_files
2106      do
2107	eval ac_val=\$$ac_var
2108	case $ac_val in
2109	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2110	esac
2111	$as_echo "$ac_var='\''$ac_val'\''"
2112      done | sort
2113      echo
2114    fi
2115
2116    if test -s confdefs.h; then
2117      $as_echo "## ----------- ##
2118## confdefs.h. ##
2119## ----------- ##"
2120      echo
2121      cat confdefs.h
2122      echo
2123    fi
2124    test "$ac_signal" != 0 &&
2125      $as_echo "$as_me: caught signal $ac_signal"
2126    $as_echo "$as_me: exit $exit_status"
2127  } >&5
2128  rm -f core *.core core.conftest.* &&
2129    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2130    exit $exit_status
2131' 0
2132for ac_signal in 1 2 13 15; do
2133  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2134done
2135ac_signal=0
2136
2137# confdefs.h avoids OS command line length limits that DEFS can exceed.
2138rm -f -r conftest* confdefs.h
2139
2140$as_echo "/* confdefs.h */" > confdefs.h
2141
2142# Predefined preprocessor variables.
2143
2144cat >>confdefs.h <<_ACEOF
2145#define PACKAGE_NAME "$PACKAGE_NAME"
2146_ACEOF
2147
2148cat >>confdefs.h <<_ACEOF
2149#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2150_ACEOF
2151
2152cat >>confdefs.h <<_ACEOF
2153#define PACKAGE_VERSION "$PACKAGE_VERSION"
2154_ACEOF
2155
2156cat >>confdefs.h <<_ACEOF
2157#define PACKAGE_STRING "$PACKAGE_STRING"
2158_ACEOF
2159
2160cat >>confdefs.h <<_ACEOF
2161#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2162_ACEOF
2163
2164cat >>confdefs.h <<_ACEOF
2165#define PACKAGE_URL "$PACKAGE_URL"
2166_ACEOF
2167
2168
2169# Let the site file select an alternate cache file if it wants to.
2170# Prefer an explicitly selected file to automatically selected ones.
2171ac_site_file1=NONE
2172ac_site_file2=NONE
2173if test -n "$CONFIG_SITE"; then
2174  # We do not want a PATH search for config.site.
2175  case $CONFIG_SITE in #((
2176    -*)  ac_site_file1=./$CONFIG_SITE;;
2177    */*) ac_site_file1=$CONFIG_SITE;;
2178    *)   ac_site_file1=./$CONFIG_SITE;;
2179  esac
2180elif test "x$prefix" != xNONE; then
2181  ac_site_file1=$prefix/share/config.site
2182  ac_site_file2=$prefix/etc/config.site
2183else
2184  ac_site_file1=$ac_default_prefix/share/config.site
2185  ac_site_file2=$ac_default_prefix/etc/config.site
2186fi
2187for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2188do
2189  test "x$ac_site_file" = xNONE && continue
2190  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2191    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2192$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2193    sed 's/^/| /' "$ac_site_file" >&5
2194    . "$ac_site_file" \
2195      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2197as_fn_error $? "failed to load site script $ac_site_file
2198See \`config.log' for more details" "$LINENO" 5; }
2199  fi
2200done
2201
2202if test -r "$cache_file"; then
2203  # Some versions of bash will fail to source /dev/null (special files
2204  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2205  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2206    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2207$as_echo "$as_me: loading cache $cache_file" >&6;}
2208    case $cache_file in
2209      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2210      *)                      . "./$cache_file";;
2211    esac
2212  fi
2213else
2214  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2215$as_echo "$as_me: creating cache $cache_file" >&6;}
2216  >$cache_file
2217fi
2218
2219# Check that the precious variables saved in the cache have kept the same
2220# value.
2221ac_cache_corrupted=false
2222for ac_var in $ac_precious_vars; do
2223  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2224  eval ac_new_set=\$ac_env_${ac_var}_set
2225  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2226  eval ac_new_val=\$ac_env_${ac_var}_value
2227  case $ac_old_set,$ac_new_set in
2228    set,)
2229      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2230$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2231      ac_cache_corrupted=: ;;
2232    ,set)
2233      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2234$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2235      ac_cache_corrupted=: ;;
2236    ,);;
2237    *)
2238      if test "x$ac_old_val" != "x$ac_new_val"; then
2239	# differences in whitespace do not lead to failure.
2240	ac_old_val_w=`echo x $ac_old_val`
2241	ac_new_val_w=`echo x $ac_new_val`
2242	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2243	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2244$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2245	  ac_cache_corrupted=:
2246	else
2247	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2248$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2249	  eval $ac_var=\$ac_old_val
2250	fi
2251	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2252$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2253	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2254$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2255      fi;;
2256  esac
2257  # Pass precious variables to config.status.
2258  if test "$ac_new_set" = set; then
2259    case $ac_new_val in
2260    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2261    *) ac_arg=$ac_var=$ac_new_val ;;
2262    esac
2263    case " $ac_configure_args " in
2264      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2265      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2266    esac
2267  fi
2268done
2269if $ac_cache_corrupted; then
2270  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2272  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2273$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2274  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2275fi
2276## -------------------- ##
2277## Main body of script. ##
2278## -------------------- ##
2279
2280ac_ext=c
2281ac_cpp='$CPP $CPPFLAGS'
2282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2284ac_compiler_gnu=$ac_cv_c_compiler_gnu
2285
2286
2287
2288am__api_version='1.11'
2289
2290ac_aux_dir=
2291for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2292  if test -f "$ac_dir/install-sh"; then
2293    ac_aux_dir=$ac_dir
2294    ac_install_sh="$ac_aux_dir/install-sh -c"
2295    break
2296  elif test -f "$ac_dir/install.sh"; then
2297    ac_aux_dir=$ac_dir
2298    ac_install_sh="$ac_aux_dir/install.sh -c"
2299    break
2300  elif test -f "$ac_dir/shtool"; then
2301    ac_aux_dir=$ac_dir
2302    ac_install_sh="$ac_aux_dir/shtool install -c"
2303    break
2304  fi
2305done
2306if test -z "$ac_aux_dir"; then
2307  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2308fi
2309
2310# These three variables are undocumented and unsupported,
2311# and are intended to be withdrawn in a future Autoconf release.
2312# They can cause serious problems if a builder's source tree is in a directory
2313# whose full name contains unusual characters.
2314ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2315ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2316ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2317
2318
2319# Find a good install program.  We prefer a C program (faster),
2320# so one script is as good as another.  But avoid the broken or
2321# incompatible versions:
2322# SysV /etc/install, /usr/sbin/install
2323# SunOS /usr/etc/install
2324# IRIX /sbin/install
2325# AIX /bin/install
2326# AmigaOS /C/install, which installs bootblocks on floppy discs
2327# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2328# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2329# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2330# OS/2's system install, which has a completely different semantic
2331# ./install, which can be erroneously created by make from ./install.sh.
2332# Reject install programs that cannot install multiple files.
2333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2334$as_echo_n "checking for a BSD-compatible install... " >&6; }
2335if test -z "$INSTALL"; then
2336if ${ac_cv_path_install+:} false; then :
2337  $as_echo_n "(cached) " >&6
2338else
2339  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2340for as_dir in $PATH
2341do
2342  IFS=$as_save_IFS
2343  test -z "$as_dir" && as_dir=.
2344    # Account for people who put trailing slashes in PATH elements.
2345case $as_dir/ in #((
2346  ./ | .// | /[cC]/* | \
2347  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2348  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2349  /usr/ucb/* ) ;;
2350  *)
2351    # OSF1 and SCO ODT 3.0 have their own names for install.
2352    # Don't use installbsd from OSF since it installs stuff as root
2353    # by default.
2354    for ac_prog in ginstall scoinst install; do
2355      for ac_exec_ext in '' $ac_executable_extensions; do
2356	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2357	  if test $ac_prog = install &&
2358	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2359	    # AIX install.  It has an incompatible calling convention.
2360	    :
2361	  elif test $ac_prog = install &&
2362	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2363	    # program-specific install script used by HP pwplus--don't use.
2364	    :
2365	  else
2366	    rm -rf conftest.one conftest.two conftest.dir
2367	    echo one > conftest.one
2368	    echo two > conftest.two
2369	    mkdir conftest.dir
2370	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2371	      test -s conftest.one && test -s conftest.two &&
2372	      test -s conftest.dir/conftest.one &&
2373	      test -s conftest.dir/conftest.two
2374	    then
2375	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2376	      break 3
2377	    fi
2378	  fi
2379	fi
2380      done
2381    done
2382    ;;
2383esac
2384
2385  done
2386IFS=$as_save_IFS
2387
2388rm -rf conftest.one conftest.two conftest.dir
2389
2390fi
2391  if test "${ac_cv_path_install+set}" = set; then
2392    INSTALL=$ac_cv_path_install
2393  else
2394    # As a last resort, use the slow shell script.  Don't cache a
2395    # value for INSTALL within a source directory, because that will
2396    # break other packages using the cache if that directory is
2397    # removed, or if the value is a relative name.
2398    INSTALL=$ac_install_sh
2399  fi
2400fi
2401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2402$as_echo "$INSTALL" >&6; }
2403
2404# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2405# It thinks the first close brace ends the variable substitution.
2406test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2407
2408test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2409
2410test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2411
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2413$as_echo_n "checking whether build environment is sane... " >&6; }
2414# Just in case
2415sleep 1
2416echo timestamp > conftest.file
2417# Reject unsafe characters in $srcdir or the absolute working directory
2418# name.  Accept space and tab only in the latter.
2419am_lf='
2420'
2421case `pwd` in
2422  *[\\\"\#\$\&\'\`$am_lf]*)
2423    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2424esac
2425case $srcdir in
2426  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2427    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2428esac
2429
2430# Do `set' in a subshell so we don't clobber the current shell's
2431# arguments.  Must try -L first in case configure is actually a
2432# symlink; some systems play weird games with the mod time of symlinks
2433# (eg FreeBSD returns the mod time of the symlink's containing
2434# directory).
2435if (
2436   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2437   if test "$*" = "X"; then
2438      # -L didn't work.
2439      set X `ls -t "$srcdir/configure" conftest.file`
2440   fi
2441   rm -f conftest.file
2442   if test "$*" != "X $srcdir/configure conftest.file" \
2443      && test "$*" != "X conftest.file $srcdir/configure"; then
2444
2445      # If neither matched, then we have a broken ls.  This can happen
2446      # if, for instance, CONFIG_SHELL is bash and it inherits a
2447      # broken ls alias from the environment.  This has actually
2448      # happened.  Such a system could not be considered "sane".
2449      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2450alias in your environment" "$LINENO" 5
2451   fi
2452
2453   test "$2" = conftest.file
2454   )
2455then
2456   # Ok.
2457   :
2458else
2459   as_fn_error $? "newly created file is older than distributed files!
2460Check your system clock" "$LINENO" 5
2461fi
2462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2463$as_echo "yes" >&6; }
2464test "$program_prefix" != NONE &&
2465  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2466# Use a double $ so make ignores it.
2467test "$program_suffix" != NONE &&
2468  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2469# Double any \ or $.
2470# By default was `s,x,x', remove it if useless.
2471ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2472program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2473
2474# expand $ac_aux_dir to an absolute path
2475am_aux_dir=`cd $ac_aux_dir && pwd`
2476
2477if test x"${MISSING+set}" != xset; then
2478  case $am_aux_dir in
2479  *\ * | *\	*)
2480    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2481  *)
2482    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2483  esac
2484fi
2485# Use eval to expand $SHELL
2486if eval "$MISSING --run true"; then
2487  am_missing_run="$MISSING --run "
2488else
2489  am_missing_run=
2490  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2491$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2492fi
2493
2494if test x"${install_sh}" != xset; then
2495  case $am_aux_dir in
2496  *\ * | *\	*)
2497    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2498  *)
2499    install_sh="\${SHELL} $am_aux_dir/install-sh"
2500  esac
2501fi
2502
2503# Installed binaries are usually stripped using `strip' when the user
2504# run `make install-strip'.  However `strip' might not be the right
2505# tool to use in cross-compilation environments, therefore Automake
2506# will honor the `STRIP' environment variable to overrule this program.
2507if test "$cross_compiling" != no; then
2508  if test -n "$ac_tool_prefix"; then
2509  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2510set dummy ${ac_tool_prefix}strip; ac_word=$2
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2512$as_echo_n "checking for $ac_word... " >&6; }
2513if ${ac_cv_prog_STRIP+:} false; then :
2514  $as_echo_n "(cached) " >&6
2515else
2516  if test -n "$STRIP"; then
2517  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2518else
2519as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2520for as_dir in $PATH
2521do
2522  IFS=$as_save_IFS
2523  test -z "$as_dir" && as_dir=.
2524    for ac_exec_ext in '' $ac_executable_extensions; do
2525  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2526    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2527    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528    break 2
2529  fi
2530done
2531  done
2532IFS=$as_save_IFS
2533
2534fi
2535fi
2536STRIP=$ac_cv_prog_STRIP
2537if test -n "$STRIP"; then
2538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2539$as_echo "$STRIP" >&6; }
2540else
2541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2542$as_echo "no" >&6; }
2543fi
2544
2545
2546fi
2547if test -z "$ac_cv_prog_STRIP"; then
2548  ac_ct_STRIP=$STRIP
2549  # Extract the first word of "strip", so it can be a program name with args.
2550set dummy strip; ac_word=$2
2551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2552$as_echo_n "checking for $ac_word... " >&6; }
2553if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2554  $as_echo_n "(cached) " >&6
2555else
2556  if test -n "$ac_ct_STRIP"; then
2557  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2558else
2559as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2560for as_dir in $PATH
2561do
2562  IFS=$as_save_IFS
2563  test -z "$as_dir" && as_dir=.
2564    for ac_exec_ext in '' $ac_executable_extensions; do
2565  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2566    ac_cv_prog_ac_ct_STRIP="strip"
2567    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2568    break 2
2569  fi
2570done
2571  done
2572IFS=$as_save_IFS
2573
2574fi
2575fi
2576ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2577if test -n "$ac_ct_STRIP"; then
2578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2579$as_echo "$ac_ct_STRIP" >&6; }
2580else
2581  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2582$as_echo "no" >&6; }
2583fi
2584
2585  if test "x$ac_ct_STRIP" = x; then
2586    STRIP=":"
2587  else
2588    case $cross_compiling:$ac_tool_warned in
2589yes:)
2590{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2591$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2592ac_tool_warned=yes ;;
2593esac
2594    STRIP=$ac_ct_STRIP
2595  fi
2596else
2597  STRIP="$ac_cv_prog_STRIP"
2598fi
2599
2600fi
2601INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2602
2603{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2604$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2605if test -z "$MKDIR_P"; then
2606  if ${ac_cv_path_mkdir+:} false; then :
2607  $as_echo_n "(cached) " >&6
2608else
2609  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2611do
2612  IFS=$as_save_IFS
2613  test -z "$as_dir" && as_dir=.
2614    for ac_prog in mkdir gmkdir; do
2615	 for ac_exec_ext in '' $ac_executable_extensions; do
2616	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2617	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2618	     'mkdir (GNU coreutils) '* | \
2619	     'mkdir (coreutils) '* | \
2620	     'mkdir (fileutils) '4.1*)
2621	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2622	       break 3;;
2623	   esac
2624	 done
2625       done
2626  done
2627IFS=$as_save_IFS
2628
2629fi
2630
2631  test -d ./--version && rmdir ./--version
2632  if test "${ac_cv_path_mkdir+set}" = set; then
2633    MKDIR_P="$ac_cv_path_mkdir -p"
2634  else
2635    # As a last resort, use the slow shell script.  Don't cache a
2636    # value for MKDIR_P within a source directory, because that will
2637    # break other packages using the cache if that directory is
2638    # removed, or if the value is a relative name.
2639    MKDIR_P="$ac_install_sh -d"
2640  fi
2641fi
2642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2643$as_echo "$MKDIR_P" >&6; }
2644
2645mkdir_p="$MKDIR_P"
2646case $mkdir_p in
2647  [\\/$]* | ?:[\\/]*) ;;
2648  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2649esac
2650
2651for ac_prog in gawk mawk nawk awk
2652do
2653  # Extract the first word of "$ac_prog", so it can be a program name with args.
2654set dummy $ac_prog; ac_word=$2
2655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2656$as_echo_n "checking for $ac_word... " >&6; }
2657if ${ac_cv_prog_AWK+:} false; then :
2658  $as_echo_n "(cached) " >&6
2659else
2660  if test -n "$AWK"; then
2661  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2662else
2663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2664for as_dir in $PATH
2665do
2666  IFS=$as_save_IFS
2667  test -z "$as_dir" && as_dir=.
2668    for ac_exec_ext in '' $ac_executable_extensions; do
2669  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2670    ac_cv_prog_AWK="$ac_prog"
2671    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2672    break 2
2673  fi
2674done
2675  done
2676IFS=$as_save_IFS
2677
2678fi
2679fi
2680AWK=$ac_cv_prog_AWK
2681if test -n "$AWK"; then
2682  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2683$as_echo "$AWK" >&6; }
2684else
2685  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2686$as_echo "no" >&6; }
2687fi
2688
2689
2690  test -n "$AWK" && break
2691done
2692
2693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2694$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2695set x ${MAKE-make}
2696ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2697if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2698  $as_echo_n "(cached) " >&6
2699else
2700  cat >conftest.make <<\_ACEOF
2701SHELL = /bin/sh
2702all:
2703	@echo '@@@%%%=$(MAKE)=@@@%%%'
2704_ACEOF
2705# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2706case `${MAKE-make} -f conftest.make 2>/dev/null` in
2707  *@@@%%%=?*=@@@%%%*)
2708    eval ac_cv_prog_make_${ac_make}_set=yes;;
2709  *)
2710    eval ac_cv_prog_make_${ac_make}_set=no;;
2711esac
2712rm -f conftest.make
2713fi
2714if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2716$as_echo "yes" >&6; }
2717  SET_MAKE=
2718else
2719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2720$as_echo "no" >&6; }
2721  SET_MAKE="MAKE=${MAKE-make}"
2722fi
2723
2724rm -rf .tst 2>/dev/null
2725mkdir .tst 2>/dev/null
2726if test -d .tst; then
2727  am__leading_dot=.
2728else
2729  am__leading_dot=_
2730fi
2731rmdir .tst 2>/dev/null
2732
2733if test "`cd $srcdir && pwd`" != "`pwd`"; then
2734  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2735  # is not polluted with repeated "-I."
2736  am__isrc=' -I$(srcdir)'
2737  # test to see if srcdir already configured
2738  if test -f $srcdir/config.status; then
2739    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2740  fi
2741fi
2742
2743# test whether we have cygpath
2744if test -z "$CYGPATH_W"; then
2745  if (cygpath --version) >/dev/null 2>/dev/null; then
2746    CYGPATH_W='cygpath -w'
2747  else
2748    CYGPATH_W=echo
2749  fi
2750fi
2751
2752
2753# Define the identity of the package.
2754 PACKAGE='polkit-gnome'
2755 VERSION='0.105'
2756
2757
2758cat >>confdefs.h <<_ACEOF
2759#define PACKAGE "$PACKAGE"
2760_ACEOF
2761
2762
2763cat >>confdefs.h <<_ACEOF
2764#define VERSION "$VERSION"
2765_ACEOF
2766
2767# Some tools Automake needs.
2768
2769ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2770
2771
2772AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2773
2774
2775AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2776
2777
2778AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2779
2780
2781MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2782
2783# We need awk for the "check" target.  The system "awk" is bad on
2784# some platforms.
2785# Always define AMTAR for backward compatibility.
2786
2787AMTAR=${AMTAR-"${am_missing_run}tar"}
2788
2789am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2790
2791
2792
2793
2794
2795
2796
2797ac_config_headers="$ac_config_headers config.h"
2798
2799
2800
2801
2802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable maintainer-specific portions of Makefiles" >&5
2803$as_echo_n "checking whether to disable maintainer-specific portions of Makefiles... " >&6; }
2804    # Check whether --enable-maintainer-mode was given.
2805if test "${enable_maintainer_mode+set}" = set; then :
2806  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2807else
2808  USE_MAINTAINER_MODE=yes
2809fi
2810
2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2812$as_echo "$USE_MAINTAINER_MODE" >&6; }
2813   if test $USE_MAINTAINER_MODE = yes; then
2814  MAINTAINER_MODE_TRUE=
2815  MAINTAINER_MODE_FALSE='#'
2816else
2817  MAINTAINER_MODE_TRUE='#'
2818  MAINTAINER_MODE_FALSE=
2819fi
2820
2821  MAINT=$MAINTAINER_MODE_TRUE
2822
2823
2824
2825# Check whether --enable-silent-rules was given.
2826if test "${enable_silent_rules+set}" = set; then :
2827  enableval=$enable_silent_rules;
2828fi
2829
2830case $enable_silent_rules in
2831yes) AM_DEFAULT_VERBOSITY=0;;
2832no)  AM_DEFAULT_VERBOSITY=1;;
2833*)   AM_DEFAULT_VERBOSITY=0;;
2834esac
2835AM_BACKSLASH='\'
2836
2837
2838# libtool versioning - this applies to all libraries in this package
2839#
2840# See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details
2841#
2842LT_CURRENT=0
2843LT_REVISION=0
2844LT_AGE=0
2845
2846
2847
2848
2849# Check for programs
2850ac_ext=c
2851ac_cpp='$CPP $CPPFLAGS'
2852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2854ac_compiler_gnu=$ac_cv_c_compiler_gnu
2855if test -n "$ac_tool_prefix"; then
2856  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2857set dummy ${ac_tool_prefix}gcc; ac_word=$2
2858{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2859$as_echo_n "checking for $ac_word... " >&6; }
2860if ${ac_cv_prog_CC+:} false; then :
2861  $as_echo_n "(cached) " >&6
2862else
2863  if test -n "$CC"; then
2864  ac_cv_prog_CC="$CC" # Let the user override the test.
2865else
2866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2867for as_dir in $PATH
2868do
2869  IFS=$as_save_IFS
2870  test -z "$as_dir" && as_dir=.
2871    for ac_exec_ext in '' $ac_executable_extensions; do
2872  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2873    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2874    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875    break 2
2876  fi
2877done
2878  done
2879IFS=$as_save_IFS
2880
2881fi
2882fi
2883CC=$ac_cv_prog_CC
2884if test -n "$CC"; then
2885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2886$as_echo "$CC" >&6; }
2887else
2888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2889$as_echo "no" >&6; }
2890fi
2891
2892
2893fi
2894if test -z "$ac_cv_prog_CC"; then
2895  ac_ct_CC=$CC
2896  # Extract the first word of "gcc", so it can be a program name with args.
2897set dummy gcc; ac_word=$2
2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899$as_echo_n "checking for $ac_word... " >&6; }
2900if ${ac_cv_prog_ac_ct_CC+:} false; then :
2901  $as_echo_n "(cached) " >&6
2902else
2903  if test -n "$ac_ct_CC"; then
2904  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2905else
2906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2907for as_dir in $PATH
2908do
2909  IFS=$as_save_IFS
2910  test -z "$as_dir" && as_dir=.
2911    for ac_exec_ext in '' $ac_executable_extensions; do
2912  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913    ac_cv_prog_ac_ct_CC="gcc"
2914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2915    break 2
2916  fi
2917done
2918  done
2919IFS=$as_save_IFS
2920
2921fi
2922fi
2923ac_ct_CC=$ac_cv_prog_ac_ct_CC
2924if test -n "$ac_ct_CC"; then
2925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2926$as_echo "$ac_ct_CC" >&6; }
2927else
2928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929$as_echo "no" >&6; }
2930fi
2931
2932  if test "x$ac_ct_CC" = x; then
2933    CC=""
2934  else
2935    case $cross_compiling:$ac_tool_warned in
2936yes:)
2937{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2938$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2939ac_tool_warned=yes ;;
2940esac
2941    CC=$ac_ct_CC
2942  fi
2943else
2944  CC="$ac_cv_prog_CC"
2945fi
2946
2947if test -z "$CC"; then
2948          if test -n "$ac_tool_prefix"; then
2949    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2950set dummy ${ac_tool_prefix}cc; ac_word=$2
2951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952$as_echo_n "checking for $ac_word... " >&6; }
2953if ${ac_cv_prog_CC+:} false; then :
2954  $as_echo_n "(cached) " >&6
2955else
2956  if test -n "$CC"; then
2957  ac_cv_prog_CC="$CC" # Let the user override the test.
2958else
2959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2960for as_dir in $PATH
2961do
2962  IFS=$as_save_IFS
2963  test -z "$as_dir" && as_dir=.
2964    for ac_exec_ext in '' $ac_executable_extensions; do
2965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2966    ac_cv_prog_CC="${ac_tool_prefix}cc"
2967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968    break 2
2969  fi
2970done
2971  done
2972IFS=$as_save_IFS
2973
2974fi
2975fi
2976CC=$ac_cv_prog_CC
2977if test -n "$CC"; then
2978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2979$as_echo "$CC" >&6; }
2980else
2981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982$as_echo "no" >&6; }
2983fi
2984
2985
2986  fi
2987fi
2988if test -z "$CC"; then
2989  # Extract the first word of "cc", so it can be a program name with args.
2990set dummy cc; ac_word=$2
2991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992$as_echo_n "checking for $ac_word... " >&6; }
2993if ${ac_cv_prog_CC+:} false; then :
2994  $as_echo_n "(cached) " >&6
2995else
2996  if test -n "$CC"; then
2997  ac_cv_prog_CC="$CC" # Let the user override the test.
2998else
2999  ac_prog_rejected=no
3000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001for as_dir in $PATH
3002do
3003  IFS=$as_save_IFS
3004  test -z "$as_dir" && as_dir=.
3005    for ac_exec_ext in '' $ac_executable_extensions; do
3006  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3008       ac_prog_rejected=yes
3009       continue
3010     fi
3011    ac_cv_prog_CC="cc"
3012    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013    break 2
3014  fi
3015done
3016  done
3017IFS=$as_save_IFS
3018
3019if test $ac_prog_rejected = yes; then
3020  # We found a bogon in the path, so make sure we never use it.
3021  set dummy $ac_cv_prog_CC
3022  shift
3023  if test $# != 0; then
3024    # We chose a different compiler from the bogus one.
3025    # However, it has the same basename, so the bogon will be chosen
3026    # first if we set CC to just the basename; use the full file name.
3027    shift
3028    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3029  fi
3030fi
3031fi
3032fi
3033CC=$ac_cv_prog_CC
3034if test -n "$CC"; then
3035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3036$as_echo "$CC" >&6; }
3037else
3038  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039$as_echo "no" >&6; }
3040fi
3041
3042
3043fi
3044if test -z "$CC"; then
3045  if test -n "$ac_tool_prefix"; then
3046  for ac_prog in cl.exe
3047  do
3048    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3049set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3051$as_echo_n "checking for $ac_word... " >&6; }
3052if ${ac_cv_prog_CC+:} false; then :
3053  $as_echo_n "(cached) " >&6
3054else
3055  if test -n "$CC"; then
3056  ac_cv_prog_CC="$CC" # Let the user override the test.
3057else
3058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3059for as_dir in $PATH
3060do
3061  IFS=$as_save_IFS
3062  test -z "$as_dir" && as_dir=.
3063    for ac_exec_ext in '' $ac_executable_extensions; do
3064  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3065    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3066    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067    break 2
3068  fi
3069done
3070  done
3071IFS=$as_save_IFS
3072
3073fi
3074fi
3075CC=$ac_cv_prog_CC
3076if test -n "$CC"; then
3077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3078$as_echo "$CC" >&6; }
3079else
3080  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3081$as_echo "no" >&6; }
3082fi
3083
3084
3085    test -n "$CC" && break
3086  done
3087fi
3088if test -z "$CC"; then
3089  ac_ct_CC=$CC
3090  for ac_prog in cl.exe
3091do
3092  # Extract the first word of "$ac_prog", so it can be a program name with args.
3093set dummy $ac_prog; ac_word=$2
3094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3095$as_echo_n "checking for $ac_word... " >&6; }
3096if ${ac_cv_prog_ac_ct_CC+:} false; then :
3097  $as_echo_n "(cached) " >&6
3098else
3099  if test -n "$ac_ct_CC"; then
3100  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3101else
3102as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103for as_dir in $PATH
3104do
3105  IFS=$as_save_IFS
3106  test -z "$as_dir" && as_dir=.
3107    for ac_exec_ext in '' $ac_executable_extensions; do
3108  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3109    ac_cv_prog_ac_ct_CC="$ac_prog"
3110    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3111    break 2
3112  fi
3113done
3114  done
3115IFS=$as_save_IFS
3116
3117fi
3118fi
3119ac_ct_CC=$ac_cv_prog_ac_ct_CC
3120if test -n "$ac_ct_CC"; then
3121  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3122$as_echo "$ac_ct_CC" >&6; }
3123else
3124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3125$as_echo "no" >&6; }
3126fi
3127
3128
3129  test -n "$ac_ct_CC" && break
3130done
3131
3132  if test "x$ac_ct_CC" = x; then
3133    CC=""
3134  else
3135    case $cross_compiling:$ac_tool_warned in
3136yes:)
3137{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3138$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3139ac_tool_warned=yes ;;
3140esac
3141    CC=$ac_ct_CC
3142  fi
3143fi
3144
3145fi
3146
3147
3148test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3150as_fn_error $? "no acceptable C compiler found in \$PATH
3151See \`config.log' for more details" "$LINENO" 5; }
3152
3153# Provide some information about the compiler.
3154$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3155set X $ac_compile
3156ac_compiler=$2
3157for ac_option in --version -v -V -qversion; do
3158  { { ac_try="$ac_compiler $ac_option >&5"
3159case "(($ac_try" in
3160  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3161  *) ac_try_echo=$ac_try;;
3162esac
3163eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164$as_echo "$ac_try_echo"; } >&5
3165  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3166  ac_status=$?
3167  if test -s conftest.err; then
3168    sed '10a\
3169... rest of stderr output deleted ...
3170         10q' conftest.err >conftest.er1
3171    cat conftest.er1 >&5
3172  fi
3173  rm -f conftest.er1 conftest.err
3174  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175  test $ac_status = 0; }
3176done
3177
3178cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3179/* end confdefs.h.  */
3180
3181int
3182main ()
3183{
3184
3185  ;
3186  return 0;
3187}
3188_ACEOF
3189ac_clean_files_save=$ac_clean_files
3190ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3191# Try to create an executable without -o first, disregard a.out.
3192# It will help us diagnose broken compilers, and finding out an intuition
3193# of exeext.
3194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3195$as_echo_n "checking whether the C compiler works... " >&6; }
3196ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3197
3198# The possible output files:
3199ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3200
3201ac_rmfiles=
3202for ac_file in $ac_files
3203do
3204  case $ac_file in
3205    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3206    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3207  esac
3208done
3209rm -f $ac_rmfiles
3210
3211if { { ac_try="$ac_link_default"
3212case "(($ac_try" in
3213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3214  *) ac_try_echo=$ac_try;;
3215esac
3216eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3217$as_echo "$ac_try_echo"; } >&5
3218  (eval "$ac_link_default") 2>&5
3219  ac_status=$?
3220  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221  test $ac_status = 0; }; then :
3222  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3223# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3224# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3225# so that the user can short-circuit this test for compilers unknown to
3226# Autoconf.
3227for ac_file in $ac_files ''
3228do
3229  test -f "$ac_file" || continue
3230  case $ac_file in
3231    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3232	;;
3233    [ab].out )
3234	# We found the default executable, but exeext='' is most
3235	# certainly right.
3236	break;;
3237    *.* )
3238	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3239	then :; else
3240	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3241	fi
3242	# We set ac_cv_exeext here because the later test for it is not
3243	# safe: cross compilers may not add the suffix if given an `-o'
3244	# argument, so we may need to know it at that point already.
3245	# Even if this section looks crufty: it has the advantage of
3246	# actually working.
3247	break;;
3248    * )
3249	break;;
3250  esac
3251done
3252test "$ac_cv_exeext" = no && ac_cv_exeext=
3253
3254else
3255  ac_file=''
3256fi
3257if test -z "$ac_file"; then :
3258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3259$as_echo "no" >&6; }
3260$as_echo "$as_me: failed program was:" >&5
3261sed 's/^/| /' conftest.$ac_ext >&5
3262
3263{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3265as_fn_error 77 "C compiler cannot create executables
3266See \`config.log' for more details" "$LINENO" 5; }
3267else
3268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3269$as_echo "yes" >&6; }
3270fi
3271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3272$as_echo_n "checking for C compiler default output file name... " >&6; }
3273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3274$as_echo "$ac_file" >&6; }
3275ac_exeext=$ac_cv_exeext
3276
3277rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3278ac_clean_files=$ac_clean_files_save
3279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3280$as_echo_n "checking for suffix of executables... " >&6; }
3281if { { ac_try="$ac_link"
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") 2>&5
3289  ac_status=$?
3290  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3291  test $ac_status = 0; }; then :
3292  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3293# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3294# work properly (i.e., refer to `conftest.exe'), while it won't with
3295# `rm'.
3296for ac_file in conftest.exe conftest conftest.*; do
3297  test -f "$ac_file" || continue
3298  case $ac_file in
3299    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3300    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3301	  break;;
3302    * ) break;;
3303  esac
3304done
3305else
3306  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3307$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3308as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3309See \`config.log' for more details" "$LINENO" 5; }
3310fi
3311rm -f conftest conftest$ac_cv_exeext
3312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3313$as_echo "$ac_cv_exeext" >&6; }
3314
3315rm -f conftest.$ac_ext
3316EXEEXT=$ac_cv_exeext
3317ac_exeext=$EXEEXT
3318cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319/* end confdefs.h.  */
3320#include <stdio.h>
3321int
3322main ()
3323{
3324FILE *f = fopen ("conftest.out", "w");
3325 return ferror (f) || fclose (f) != 0;
3326
3327  ;
3328  return 0;
3329}
3330_ACEOF
3331ac_clean_files="$ac_clean_files conftest.out"
3332# Check that the compiler produces executables we can run.  If not, either
3333# the compiler is broken, or we cross compile.
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3335$as_echo_n "checking whether we are cross compiling... " >&6; }
3336if test "$cross_compiling" != yes; then
3337  { { ac_try="$ac_link"
3338case "(($ac_try" in
3339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340  *) ac_try_echo=$ac_try;;
3341esac
3342eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3343$as_echo "$ac_try_echo"; } >&5
3344  (eval "$ac_link") 2>&5
3345  ac_status=$?
3346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347  test $ac_status = 0; }
3348  if { ac_try='./conftest$ac_cv_exeext'
3349  { { case "(($ac_try" in
3350  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3351  *) ac_try_echo=$ac_try;;
3352esac
3353eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3354$as_echo "$ac_try_echo"; } >&5
3355  (eval "$ac_try") 2>&5
3356  ac_status=$?
3357  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358  test $ac_status = 0; }; }; then
3359    cross_compiling=no
3360  else
3361    if test "$cross_compiling" = maybe; then
3362	cross_compiling=yes
3363    else
3364	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3365$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3366as_fn_error $? "cannot run C compiled programs.
3367If you meant to cross compile, use \`--host'.
3368See \`config.log' for more details" "$LINENO" 5; }
3369    fi
3370  fi
3371fi
3372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3373$as_echo "$cross_compiling" >&6; }
3374
3375rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3376ac_clean_files=$ac_clean_files_save
3377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3378$as_echo_n "checking for suffix of object files... " >&6; }
3379if ${ac_cv_objext+:} false; then :
3380  $as_echo_n "(cached) " >&6
3381else
3382  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383/* end confdefs.h.  */
3384
3385int
3386main ()
3387{
3388
3389  ;
3390  return 0;
3391}
3392_ACEOF
3393rm -f conftest.o conftest.obj
3394if { { ac_try="$ac_compile"
3395case "(($ac_try" in
3396  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397  *) ac_try_echo=$ac_try;;
3398esac
3399eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400$as_echo "$ac_try_echo"; } >&5
3401  (eval "$ac_compile") 2>&5
3402  ac_status=$?
3403  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404  test $ac_status = 0; }; then :
3405  for ac_file in conftest.o conftest.obj conftest.*; do
3406  test -f "$ac_file" || continue;
3407  case $ac_file in
3408    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3409    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3410       break;;
3411  esac
3412done
3413else
3414  $as_echo "$as_me: failed program was:" >&5
3415sed 's/^/| /' conftest.$ac_ext >&5
3416
3417{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3419as_fn_error $? "cannot compute suffix of object files: cannot compile
3420See \`config.log' for more details" "$LINENO" 5; }
3421fi
3422rm -f conftest.$ac_cv_objext conftest.$ac_ext
3423fi
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3425$as_echo "$ac_cv_objext" >&6; }
3426OBJEXT=$ac_cv_objext
3427ac_objext=$OBJEXT
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3429$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3430if ${ac_cv_c_compiler_gnu+:} false; then :
3431  $as_echo_n "(cached) " >&6
3432else
3433  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434/* end confdefs.h.  */
3435
3436int
3437main ()
3438{
3439#ifndef __GNUC__
3440       choke me
3441#endif
3442
3443  ;
3444  return 0;
3445}
3446_ACEOF
3447if ac_fn_c_try_compile "$LINENO"; then :
3448  ac_compiler_gnu=yes
3449else
3450  ac_compiler_gnu=no
3451fi
3452rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3453ac_cv_c_compiler_gnu=$ac_compiler_gnu
3454
3455fi
3456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3457$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3458if test $ac_compiler_gnu = yes; then
3459  GCC=yes
3460else
3461  GCC=
3462fi
3463ac_test_CFLAGS=${CFLAGS+set}
3464ac_save_CFLAGS=$CFLAGS
3465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3466$as_echo_n "checking whether $CC accepts -g... " >&6; }
3467if ${ac_cv_prog_cc_g+:} false; then :
3468  $as_echo_n "(cached) " >&6
3469else
3470  ac_save_c_werror_flag=$ac_c_werror_flag
3471   ac_c_werror_flag=yes
3472   ac_cv_prog_cc_g=no
3473   CFLAGS="-g"
3474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475/* end confdefs.h.  */
3476
3477int
3478main ()
3479{
3480
3481  ;
3482  return 0;
3483}
3484_ACEOF
3485if ac_fn_c_try_compile "$LINENO"; then :
3486  ac_cv_prog_cc_g=yes
3487else
3488  CFLAGS=""
3489      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3490/* end confdefs.h.  */
3491
3492int
3493main ()
3494{
3495
3496  ;
3497  return 0;
3498}
3499_ACEOF
3500if ac_fn_c_try_compile "$LINENO"; then :
3501
3502else
3503  ac_c_werror_flag=$ac_save_c_werror_flag
3504	 CFLAGS="-g"
3505	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3506/* end confdefs.h.  */
3507
3508int
3509main ()
3510{
3511
3512  ;
3513  return 0;
3514}
3515_ACEOF
3516if ac_fn_c_try_compile "$LINENO"; then :
3517  ac_cv_prog_cc_g=yes
3518fi
3519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520fi
3521rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522fi
3523rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3524   ac_c_werror_flag=$ac_save_c_werror_flag
3525fi
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3527$as_echo "$ac_cv_prog_cc_g" >&6; }
3528if test "$ac_test_CFLAGS" = set; then
3529  CFLAGS=$ac_save_CFLAGS
3530elif test $ac_cv_prog_cc_g = yes; then
3531  if test "$GCC" = yes; then
3532    CFLAGS="-g -O2"
3533  else
3534    CFLAGS="-g"
3535  fi
3536else
3537  if test "$GCC" = yes; then
3538    CFLAGS="-O2"
3539  else
3540    CFLAGS=
3541  fi
3542fi
3543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3544$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3545if ${ac_cv_prog_cc_c89+:} false; then :
3546  $as_echo_n "(cached) " >&6
3547else
3548  ac_cv_prog_cc_c89=no
3549ac_save_CC=$CC
3550cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551/* end confdefs.h.  */
3552#include <stdarg.h>
3553#include <stdio.h>
3554#include <sys/types.h>
3555#include <sys/stat.h>
3556/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3557struct buf { int x; };
3558FILE * (*rcsopen) (struct buf *, struct stat *, int);
3559static char *e (p, i)
3560     char **p;
3561     int i;
3562{
3563  return p[i];
3564}
3565static char *f (char * (*g) (char **, int), char **p, ...)
3566{
3567  char *s;
3568  va_list v;
3569  va_start (v,p);
3570  s = g (p, va_arg (v,int));
3571  va_end (v);
3572  return s;
3573}
3574
3575/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3576   function prototypes and stuff, but not '\xHH' hex character constants.
3577   These don't provoke an error unfortunately, instead are silently treated
3578   as 'x'.  The following induces an error, until -std is added to get
3579   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3580   array size at least.  It's necessary to write '\x00'==0 to get something
3581   that's true only with -std.  */
3582int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3583
3584/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3585   inside strings and character constants.  */
3586#define FOO(x) 'x'
3587int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3588
3589int test (int i, double x);
3590struct s1 {int (*f) (int a);};
3591struct s2 {int (*f) (double a);};
3592int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3593int argc;
3594char **argv;
3595int
3596main ()
3597{
3598return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3599  ;
3600  return 0;
3601}
3602_ACEOF
3603for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3604	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3605do
3606  CC="$ac_save_CC $ac_arg"
3607  if ac_fn_c_try_compile "$LINENO"; then :
3608  ac_cv_prog_cc_c89=$ac_arg
3609fi
3610rm -f core conftest.err conftest.$ac_objext
3611  test "x$ac_cv_prog_cc_c89" != "xno" && break
3612done
3613rm -f conftest.$ac_ext
3614CC=$ac_save_CC
3615
3616fi
3617# AC_CACHE_VAL
3618case "x$ac_cv_prog_cc_c89" in
3619  x)
3620    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3621$as_echo "none needed" >&6; } ;;
3622  xno)
3623    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3624$as_echo "unsupported" >&6; } ;;
3625  *)
3626    CC="$CC $ac_cv_prog_cc_c89"
3627    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3628$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3629esac
3630if test "x$ac_cv_prog_cc_c89" != xno; then :
3631
3632fi
3633
3634ac_ext=c
3635ac_cpp='$CPP $CPPFLAGS'
3636ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3637ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3638ac_compiler_gnu=$ac_cv_c_compiler_gnu
3639DEPDIR="${am__leading_dot}deps"
3640
3641ac_config_commands="$ac_config_commands depfiles"
3642
3643
3644am_make=${MAKE-make}
3645cat > confinc << 'END'
3646am__doit:
3647	@echo this is the am__doit target
3648.PHONY: am__doit
3649END
3650# If we don't find an include directive, just comment out the code.
3651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3652$as_echo_n "checking for style of include used by $am_make... " >&6; }
3653am__include="#"
3654am__quote=
3655_am_result=none
3656# First try GNU make style include.
3657echo "include confinc" > confmf
3658# Ignore all kinds of additional output from `make'.
3659case `$am_make -s -f confmf 2> /dev/null` in #(
3660*the\ am__doit\ target*)
3661  am__include=include
3662  am__quote=
3663  _am_result=GNU
3664  ;;
3665esac
3666# Now try BSD make style include.
3667if test "$am__include" = "#"; then
3668   echo '.include "confinc"' > confmf
3669   case `$am_make -s -f confmf 2> /dev/null` in #(
3670   *the\ am__doit\ target*)
3671     am__include=.include
3672     am__quote="\""
3673     _am_result=BSD
3674     ;;
3675   esac
3676fi
3677
3678
3679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3680$as_echo "$_am_result" >&6; }
3681rm -f confinc confmf
3682
3683# Check whether --enable-dependency-tracking was given.
3684if test "${enable_dependency_tracking+set}" = set; then :
3685  enableval=$enable_dependency_tracking;
3686fi
3687
3688if test "x$enable_dependency_tracking" != xno; then
3689  am_depcomp="$ac_aux_dir/depcomp"
3690  AMDEPBACKSLASH='\'
3691fi
3692 if test "x$enable_dependency_tracking" != xno; then
3693  AMDEP_TRUE=
3694  AMDEP_FALSE='#'
3695else
3696  AMDEP_TRUE='#'
3697  AMDEP_FALSE=
3698fi
3699
3700
3701
3702depcc="$CC"   am_compiler_list=
3703
3704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3705$as_echo_n "checking dependency style of $depcc... " >&6; }
3706if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3707  $as_echo_n "(cached) " >&6
3708else
3709  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3710  # We make a subdir and do the tests there.  Otherwise we can end up
3711  # making bogus files that we don't know about and never remove.  For
3712  # instance it was reported that on HP-UX the gcc test will end up
3713  # making a dummy file named `D' -- because `-MD' means `put the output
3714  # in D'.
3715  mkdir conftest.dir
3716  # Copy depcomp to subdir because otherwise we won't find it if we're
3717  # using a relative directory.
3718  cp "$am_depcomp" conftest.dir
3719  cd conftest.dir
3720  # We will build objects and dependencies in a subdirectory because
3721  # it helps to detect inapplicable dependency modes.  For instance
3722  # both Tru64's cc and ICC support -MD to output dependencies as a
3723  # side effect of compilation, but ICC will put the dependencies in
3724  # the current directory while Tru64 will put them in the object
3725  # directory.
3726  mkdir sub
3727
3728  am_cv_CC_dependencies_compiler_type=none
3729  if test "$am_compiler_list" = ""; then
3730     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3731  fi
3732  am__universal=false
3733  case " $depcc " in #(
3734     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3735     esac
3736
3737  for depmode in $am_compiler_list; do
3738    # Setup a source with many dependencies, because some compilers
3739    # like to wrap large dependency lists on column 80 (with \), and
3740    # we should not choose a depcomp mode which is confused by this.
3741    #
3742    # We need to recreate these files for each test, as the compiler may
3743    # overwrite some of them when testing with obscure command lines.
3744    # This happens at least with the AIX C compiler.
3745    : > sub/conftest.c
3746    for i in 1 2 3 4 5 6; do
3747      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3748      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3749      # Solaris 8's {/usr,}/bin/sh.
3750      touch sub/conftst$i.h
3751    done
3752    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3753
3754    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3755    # mode.  It turns out that the SunPro C++ compiler does not properly
3756    # handle `-M -o', and we need to detect this.  Also, some Intel
3757    # versions had trouble with output in subdirs
3758    am__obj=sub/conftest.${OBJEXT-o}
3759    am__minus_obj="-o $am__obj"
3760    case $depmode in
3761    gcc)
3762      # This depmode causes a compiler race in universal mode.
3763      test "$am__universal" = false || continue
3764      ;;
3765    nosideeffect)
3766      # after this tag, mechanisms are not by side-effect, so they'll
3767      # only be used when explicitly requested
3768      if test "x$enable_dependency_tracking" = xyes; then
3769	continue
3770      else
3771	break
3772      fi
3773      ;;
3774    msvisualcpp | msvcmsys)
3775      # This compiler won't grok `-c -o', but also, the minuso test has
3776      # not run yet.  These depmodes are late enough in the game, and
3777      # so weak that their functioning should not be impacted.
3778      am__obj=conftest.${OBJEXT-o}
3779      am__minus_obj=
3780      ;;
3781    none) break ;;
3782    esac
3783    if depmode=$depmode \
3784       source=sub/conftest.c object=$am__obj \
3785       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3786       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3787         >/dev/null 2>conftest.err &&
3788       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3789       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3790       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3791       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3792      # icc doesn't choke on unknown options, it will just issue warnings
3793      # or remarks (even with -Werror).  So we grep stderr for any message
3794      # that says an option was ignored or not supported.
3795      # When given -MP, icc 7.0 and 7.1 complain thusly:
3796      #   icc: Command line warning: ignoring option '-M'; no argument required
3797      # The diagnosis changed in icc 8.0:
3798      #   icc: Command line remark: option '-MP' not supported
3799      if (grep 'ignoring option' conftest.err ||
3800          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3801        am_cv_CC_dependencies_compiler_type=$depmode
3802        break
3803      fi
3804    fi
3805  done
3806
3807  cd ..
3808  rm -rf conftest.dir
3809else
3810  am_cv_CC_dependencies_compiler_type=none
3811fi
3812
3813fi
3814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3815$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3816CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3817
3818 if
3819  test "x$enable_dependency_tracking" != xno \
3820  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3821  am__fastdepCC_TRUE=
3822  am__fastdepCC_FALSE='#'
3823else
3824  am__fastdepCC_TRUE='#'
3825  am__fastdepCC_FALSE=
3826fi
3827
3828
3829
3830ac_ext=c
3831ac_cpp='$CPP $CPPFLAGS'
3832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3836$as_echo_n "checking how to run the C preprocessor... " >&6; }
3837# On Suns, sometimes $CPP names a directory.
3838if test -n "$CPP" && test -d "$CPP"; then
3839  CPP=
3840fi
3841if test -z "$CPP"; then
3842  if ${ac_cv_prog_CPP+:} false; then :
3843  $as_echo_n "(cached) " >&6
3844else
3845      # Double quotes because CPP needs to be expanded
3846    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3847    do
3848      ac_preproc_ok=false
3849for ac_c_preproc_warn_flag in '' yes
3850do
3851  # Use a header file that comes with gcc, so configuring glibc
3852  # with a fresh cross-compiler works.
3853  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3854  # <limits.h> exists even on freestanding compilers.
3855  # On the NeXT, cc -E runs the code through the compiler's parser,
3856  # not just through cpp. "Syntax error" is here to catch this case.
3857  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858/* end confdefs.h.  */
3859#ifdef __STDC__
3860# include <limits.h>
3861#else
3862# include <assert.h>
3863#endif
3864		     Syntax error
3865_ACEOF
3866if ac_fn_c_try_cpp "$LINENO"; then :
3867
3868else
3869  # Broken: fails on valid input.
3870continue
3871fi
3872rm -f conftest.err conftest.i conftest.$ac_ext
3873
3874  # OK, works on sane cases.  Now check whether nonexistent headers
3875  # can be detected and how.
3876  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3877/* end confdefs.h.  */
3878#include <ac_nonexistent.h>
3879_ACEOF
3880if ac_fn_c_try_cpp "$LINENO"; then :
3881  # Broken: success on invalid input.
3882continue
3883else
3884  # Passes both tests.
3885ac_preproc_ok=:
3886break
3887fi
3888rm -f conftest.err conftest.i conftest.$ac_ext
3889
3890done
3891# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3892rm -f conftest.i conftest.err conftest.$ac_ext
3893if $ac_preproc_ok; then :
3894  break
3895fi
3896
3897    done
3898    ac_cv_prog_CPP=$CPP
3899
3900fi
3901  CPP=$ac_cv_prog_CPP
3902else
3903  ac_cv_prog_CPP=$CPP
3904fi
3905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3906$as_echo "$CPP" >&6; }
3907ac_preproc_ok=false
3908for ac_c_preproc_warn_flag in '' yes
3909do
3910  # Use a header file that comes with gcc, so configuring glibc
3911  # with a fresh cross-compiler works.
3912  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3913  # <limits.h> exists even on freestanding compilers.
3914  # On the NeXT, cc -E runs the code through the compiler's parser,
3915  # not just through cpp. "Syntax error" is here to catch this case.
3916  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3917/* end confdefs.h.  */
3918#ifdef __STDC__
3919# include <limits.h>
3920#else
3921# include <assert.h>
3922#endif
3923		     Syntax error
3924_ACEOF
3925if ac_fn_c_try_cpp "$LINENO"; then :
3926
3927else
3928  # Broken: fails on valid input.
3929continue
3930fi
3931rm -f conftest.err conftest.i conftest.$ac_ext
3932
3933  # OK, works on sane cases.  Now check whether nonexistent headers
3934  # can be detected and how.
3935  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936/* end confdefs.h.  */
3937#include <ac_nonexistent.h>
3938_ACEOF
3939if ac_fn_c_try_cpp "$LINENO"; then :
3940  # Broken: success on invalid input.
3941continue
3942else
3943  # Passes both tests.
3944ac_preproc_ok=:
3945break
3946fi
3947rm -f conftest.err conftest.i conftest.$ac_ext
3948
3949done
3950# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3951rm -f conftest.i conftest.err conftest.$ac_ext
3952if $ac_preproc_ok; then :
3953
3954else
3955  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3957as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3958See \`config.log' for more details" "$LINENO" 5; }
3959fi
3960
3961ac_ext=c
3962ac_cpp='$CPP $CPPFLAGS'
3963ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3964ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3965ac_compiler_gnu=$ac_cv_c_compiler_gnu
3966
3967
3968{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3969$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3970if ${ac_cv_path_GREP+:} false; then :
3971  $as_echo_n "(cached) " >&6
3972else
3973  if test -z "$GREP"; then
3974  ac_path_GREP_found=false
3975  # Loop through the user's path and test for each of PROGNAME-LIST
3976  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3977for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3978do
3979  IFS=$as_save_IFS
3980  test -z "$as_dir" && as_dir=.
3981    for ac_prog in grep ggrep; do
3982    for ac_exec_ext in '' $ac_executable_extensions; do
3983      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3984      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3985# Check for GNU ac_path_GREP and select it if it is found.
3986  # Check for GNU $ac_path_GREP
3987case `"$ac_path_GREP" --version 2>&1` in
3988*GNU*)
3989  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3990*)
3991  ac_count=0
3992  $as_echo_n 0123456789 >"conftest.in"
3993  while :
3994  do
3995    cat "conftest.in" "conftest.in" >"conftest.tmp"
3996    mv "conftest.tmp" "conftest.in"
3997    cp "conftest.in" "conftest.nl"
3998    $as_echo 'GREP' >> "conftest.nl"
3999    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4000    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4001    as_fn_arith $ac_count + 1 && ac_count=$as_val
4002    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4003      # Best one so far, save it but keep looking for a better one
4004      ac_cv_path_GREP="$ac_path_GREP"
4005      ac_path_GREP_max=$ac_count
4006    fi
4007    # 10*(2^10) chars as input seems more than enough
4008    test $ac_count -gt 10 && break
4009  done
4010  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4011esac
4012
4013      $ac_path_GREP_found && break 3
4014    done
4015  done
4016  done
4017IFS=$as_save_IFS
4018  if test -z "$ac_cv_path_GREP"; then
4019    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4020  fi
4021else
4022  ac_cv_path_GREP=$GREP
4023fi
4024
4025fi
4026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4027$as_echo "$ac_cv_path_GREP" >&6; }
4028 GREP="$ac_cv_path_GREP"
4029
4030
4031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4032$as_echo_n "checking for egrep... " >&6; }
4033if ${ac_cv_path_EGREP+:} false; then :
4034  $as_echo_n "(cached) " >&6
4035else
4036  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4037   then ac_cv_path_EGREP="$GREP -E"
4038   else
4039     if test -z "$EGREP"; then
4040  ac_path_EGREP_found=false
4041  # Loop through the user's path and test for each of PROGNAME-LIST
4042  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4044do
4045  IFS=$as_save_IFS
4046  test -z "$as_dir" && as_dir=.
4047    for ac_prog in egrep; do
4048    for ac_exec_ext in '' $ac_executable_extensions; do
4049      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4050      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4051# Check for GNU ac_path_EGREP and select it if it is found.
4052  # Check for GNU $ac_path_EGREP
4053case `"$ac_path_EGREP" --version 2>&1` in
4054*GNU*)
4055  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4056*)
4057  ac_count=0
4058  $as_echo_n 0123456789 >"conftest.in"
4059  while :
4060  do
4061    cat "conftest.in" "conftest.in" >"conftest.tmp"
4062    mv "conftest.tmp" "conftest.in"
4063    cp "conftest.in" "conftest.nl"
4064    $as_echo 'EGREP' >> "conftest.nl"
4065    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4066    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4067    as_fn_arith $ac_count + 1 && ac_count=$as_val
4068    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4069      # Best one so far, save it but keep looking for a better one
4070      ac_cv_path_EGREP="$ac_path_EGREP"
4071      ac_path_EGREP_max=$ac_count
4072    fi
4073    # 10*(2^10) chars as input seems more than enough
4074    test $ac_count -gt 10 && break
4075  done
4076  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4077esac
4078
4079      $ac_path_EGREP_found && break 3
4080    done
4081  done
4082  done
4083IFS=$as_save_IFS
4084  if test -z "$ac_cv_path_EGREP"; then
4085    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4086  fi
4087else
4088  ac_cv_path_EGREP=$EGREP
4089fi
4090
4091   fi
4092fi
4093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4094$as_echo "$ac_cv_path_EGREP" >&6; }
4095 EGREP="$ac_cv_path_EGREP"
4096
4097
4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4099$as_echo_n "checking for ANSI C header files... " >&6; }
4100if ${ac_cv_header_stdc+:} false; then :
4101  $as_echo_n "(cached) " >&6
4102else
4103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4104/* end confdefs.h.  */
4105#include <stdlib.h>
4106#include <stdarg.h>
4107#include <string.h>
4108#include <float.h>
4109
4110int
4111main ()
4112{
4113
4114  ;
4115  return 0;
4116}
4117_ACEOF
4118if ac_fn_c_try_compile "$LINENO"; then :
4119  ac_cv_header_stdc=yes
4120else
4121  ac_cv_header_stdc=no
4122fi
4123rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4124
4125if test $ac_cv_header_stdc = yes; then
4126  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4127  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4128/* end confdefs.h.  */
4129#include <string.h>
4130
4131_ACEOF
4132if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4133  $EGREP "memchr" >/dev/null 2>&1; then :
4134
4135else
4136  ac_cv_header_stdc=no
4137fi
4138rm -f conftest*
4139
4140fi
4141
4142if test $ac_cv_header_stdc = yes; then
4143  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4144  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4145/* end confdefs.h.  */
4146#include <stdlib.h>
4147
4148_ACEOF
4149if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150  $EGREP "free" >/dev/null 2>&1; then :
4151
4152else
4153  ac_cv_header_stdc=no
4154fi
4155rm -f conftest*
4156
4157fi
4158
4159if test $ac_cv_header_stdc = yes; then
4160  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4161  if test "$cross_compiling" = yes; then :
4162  :
4163else
4164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165/* end confdefs.h.  */
4166#include <ctype.h>
4167#include <stdlib.h>
4168#if ((' ' & 0x0FF) == 0x020)
4169# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4170# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4171#else
4172# define ISLOWER(c) \
4173		   (('a' <= (c) && (c) <= 'i') \
4174		     || ('j' <= (c) && (c) <= 'r') \
4175		     || ('s' <= (c) && (c) <= 'z'))
4176# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4177#endif
4178
4179#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4180int
4181main ()
4182{
4183  int i;
4184  for (i = 0; i < 256; i++)
4185    if (XOR (islower (i), ISLOWER (i))
4186	|| toupper (i) != TOUPPER (i))
4187      return 2;
4188  return 0;
4189}
4190_ACEOF
4191if ac_fn_c_try_run "$LINENO"; then :
4192
4193else
4194  ac_cv_header_stdc=no
4195fi
4196rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4197  conftest.$ac_objext conftest.beam conftest.$ac_ext
4198fi
4199
4200fi
4201fi
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4203$as_echo "$ac_cv_header_stdc" >&6; }
4204if test $ac_cv_header_stdc = yes; then
4205
4206$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4207
4208fi
4209
4210
4211# Initialize libtool
4212
4213case `pwd` in
4214  *\ * | *\	*)
4215    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4216$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4217esac
4218
4219
4220
4221macro_version='2.4'
4222macro_revision='1.3293'
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236ltmain="$ac_aux_dir/ltmain.sh"
4237
4238# Make sure we can run config.sub.
4239$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4240  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4241
4242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4243$as_echo_n "checking build system type... " >&6; }
4244if ${ac_cv_build+:} false; then :
4245  $as_echo_n "(cached) " >&6
4246else
4247  ac_build_alias=$build_alias
4248test "x$ac_build_alias" = x &&
4249  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4250test "x$ac_build_alias" = x &&
4251  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4252ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4253  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4254
4255fi
4256{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4257$as_echo "$ac_cv_build" >&6; }
4258case $ac_cv_build in
4259*-*-*) ;;
4260*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4261esac
4262build=$ac_cv_build
4263ac_save_IFS=$IFS; IFS='-'
4264set x $ac_cv_build
4265shift
4266build_cpu=$1
4267build_vendor=$2
4268shift; shift
4269# Remember, the first character of IFS is used to create $*,
4270# except with old shells:
4271build_os=$*
4272IFS=$ac_save_IFS
4273case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4274
4275
4276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4277$as_echo_n "checking host system type... " >&6; }
4278if ${ac_cv_host+:} false; then :
4279  $as_echo_n "(cached) " >&6
4280else
4281  if test "x$host_alias" = x; then
4282  ac_cv_host=$ac_cv_build
4283else
4284  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4285    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4286fi
4287
4288fi
4289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4290$as_echo "$ac_cv_host" >&6; }
4291case $ac_cv_host in
4292*-*-*) ;;
4293*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4294esac
4295host=$ac_cv_host
4296ac_save_IFS=$IFS; IFS='-'
4297set x $ac_cv_host
4298shift
4299host_cpu=$1
4300host_vendor=$2
4301shift; shift
4302# Remember, the first character of IFS is used to create $*,
4303# except with old shells:
4304host_os=$*
4305IFS=$ac_save_IFS
4306case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4307
4308
4309# Backslashify metacharacters that are still active within
4310# double-quoted strings.
4311sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4312
4313# Same as above, but do not quote variable references.
4314double_quote_subst='s/\(["`\\]\)/\\\1/g'
4315
4316# Sed substitution to delay expansion of an escaped shell variable in a
4317# double_quote_subst'ed string.
4318delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4319
4320# Sed substitution to delay expansion of an escaped single quote.
4321delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4322
4323# Sed substitution to avoid accidental globbing in evaled expressions
4324no_glob_subst='s/\*/\\\*/g'
4325
4326ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4327ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4328ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4329
4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4331$as_echo_n "checking how to print strings... " >&6; }
4332# Test print first, because it will be a builtin if present.
4333if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4334   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4335  ECHO='print -r --'
4336elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4337  ECHO='printf %s\n'
4338else
4339  # Use this function as a fallback that always works.
4340  func_fallback_echo ()
4341  {
4342    eval 'cat <<_LTECHO_EOF
4343$1
4344_LTECHO_EOF'
4345  }
4346  ECHO='func_fallback_echo'
4347fi
4348
4349# func_echo_all arg...
4350# Invoke $ECHO with all args, space-separated.
4351func_echo_all ()
4352{
4353    $ECHO ""
4354}
4355
4356case "$ECHO" in
4357  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4358$as_echo "printf" >&6; } ;;
4359  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4360$as_echo "print -r" >&6; } ;;
4361  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4362$as_echo "cat" >&6; } ;;
4363esac
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4379$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4380if ${ac_cv_path_SED+:} false; then :
4381  $as_echo_n "(cached) " >&6
4382else
4383            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4384     for ac_i in 1 2 3 4 5 6 7; do
4385       ac_script="$ac_script$as_nl$ac_script"
4386     done
4387     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4388     { ac_script=; unset ac_script;}
4389     if test -z "$SED"; then
4390  ac_path_SED_found=false
4391  # Loop through the user's path and test for each of PROGNAME-LIST
4392  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4393for as_dir in $PATH
4394do
4395  IFS=$as_save_IFS
4396  test -z "$as_dir" && as_dir=.
4397    for ac_prog in sed gsed; do
4398    for ac_exec_ext in '' $ac_executable_extensions; do
4399      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4400      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4401# Check for GNU ac_path_SED and select it if it is found.
4402  # Check for GNU $ac_path_SED
4403case `"$ac_path_SED" --version 2>&1` in
4404*GNU*)
4405  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4406*)
4407  ac_count=0
4408  $as_echo_n 0123456789 >"conftest.in"
4409  while :
4410  do
4411    cat "conftest.in" "conftest.in" >"conftest.tmp"
4412    mv "conftest.tmp" "conftest.in"
4413    cp "conftest.in" "conftest.nl"
4414    $as_echo '' >> "conftest.nl"
4415    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4416    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4417    as_fn_arith $ac_count + 1 && ac_count=$as_val
4418    if test $ac_count -gt ${ac_path_SED_max-0}; then
4419      # Best one so far, save it but keep looking for a better one
4420      ac_cv_path_SED="$ac_path_SED"
4421      ac_path_SED_max=$ac_count
4422    fi
4423    # 10*(2^10) chars as input seems more than enough
4424    test $ac_count -gt 10 && break
4425  done
4426  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4427esac
4428
4429      $ac_path_SED_found && break 3
4430    done
4431  done
4432  done
4433IFS=$as_save_IFS
4434  if test -z "$ac_cv_path_SED"; then
4435    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4436  fi
4437else
4438  ac_cv_path_SED=$SED
4439fi
4440
4441fi
4442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4443$as_echo "$ac_cv_path_SED" >&6; }
4444 SED="$ac_cv_path_SED"
4445  rm -f conftest.sed
4446
4447test -z "$SED" && SED=sed
4448Xsed="$SED -e 1s/^X//"
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4461$as_echo_n "checking for fgrep... " >&6; }
4462if ${ac_cv_path_FGREP+:} false; then :
4463  $as_echo_n "(cached) " >&6
4464else
4465  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4466   then ac_cv_path_FGREP="$GREP -F"
4467   else
4468     if test -z "$FGREP"; then
4469  ac_path_FGREP_found=false
4470  # Loop through the user's path and test for each of PROGNAME-LIST
4471  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4473do
4474  IFS=$as_save_IFS
4475  test -z "$as_dir" && as_dir=.
4476    for ac_prog in fgrep; do
4477    for ac_exec_ext in '' $ac_executable_extensions; do
4478      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4479      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4480# Check for GNU ac_path_FGREP and select it if it is found.
4481  # Check for GNU $ac_path_FGREP
4482case `"$ac_path_FGREP" --version 2>&1` in
4483*GNU*)
4484  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4485*)
4486  ac_count=0
4487  $as_echo_n 0123456789 >"conftest.in"
4488  while :
4489  do
4490    cat "conftest.in" "conftest.in" >"conftest.tmp"
4491    mv "conftest.tmp" "conftest.in"
4492    cp "conftest.in" "conftest.nl"
4493    $as_echo 'FGREP' >> "conftest.nl"
4494    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496    as_fn_arith $ac_count + 1 && ac_count=$as_val
4497    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4498      # Best one so far, save it but keep looking for a better one
4499      ac_cv_path_FGREP="$ac_path_FGREP"
4500      ac_path_FGREP_max=$ac_count
4501    fi
4502    # 10*(2^10) chars as input seems more than enough
4503    test $ac_count -gt 10 && break
4504  done
4505  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508      $ac_path_FGREP_found && break 3
4509    done
4510  done
4511  done
4512IFS=$as_save_IFS
4513  if test -z "$ac_cv_path_FGREP"; then
4514    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4515  fi
4516else
4517  ac_cv_path_FGREP=$FGREP
4518fi
4519
4520   fi
4521fi
4522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4523$as_echo "$ac_cv_path_FGREP" >&6; }
4524 FGREP="$ac_cv_path_FGREP"
4525
4526
4527test -z "$GREP" && GREP=grep
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547# Check whether --with-gnu-ld was given.
4548if test "${with_gnu_ld+set}" = set; then :
4549  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4550else
4551  with_gnu_ld=no
4552fi
4553
4554ac_prog=ld
4555if test "$GCC" = yes; then
4556  # Check if gcc -print-prog-name=ld gives a path.
4557  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4558$as_echo_n "checking for ld used by $CC... " >&6; }
4559  case $host in
4560  *-*-mingw*)
4561    # gcc leaves a trailing carriage return which upsets mingw
4562    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4563  *)
4564    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4565  esac
4566  case $ac_prog in
4567    # Accept absolute paths.
4568    [\\/]* | ?:[\\/]*)
4569      re_direlt='/[^/][^/]*/\.\./'
4570      # Canonicalize the pathname of ld
4571      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4572      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4573	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4574      done
4575      test -z "$LD" && LD="$ac_prog"
4576      ;;
4577  "")
4578    # If it fails, then pretend we aren't using GCC.
4579    ac_prog=ld
4580    ;;
4581  *)
4582    # If it is relative, then search for the first ld in PATH.
4583    with_gnu_ld=unknown
4584    ;;
4585  esac
4586elif test "$with_gnu_ld" = yes; then
4587  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4588$as_echo_n "checking for GNU ld... " >&6; }
4589else
4590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4591$as_echo_n "checking for non-GNU ld... " >&6; }
4592fi
4593if ${lt_cv_path_LD+:} false; then :
4594  $as_echo_n "(cached) " >&6
4595else
4596  if test -z "$LD"; then
4597  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4598  for ac_dir in $PATH; do
4599    IFS="$lt_save_ifs"
4600    test -z "$ac_dir" && ac_dir=.
4601    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4602      lt_cv_path_LD="$ac_dir/$ac_prog"
4603      # Check to see if the program is GNU ld.  I'd rather use --version,
4604      # but apparently some variants of GNU ld only accept -v.
4605      # Break only if it was the GNU/non-GNU ld that we prefer.
4606      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4607      *GNU* | *'with BFD'*)
4608	test "$with_gnu_ld" != no && break
4609	;;
4610      *)
4611	test "$with_gnu_ld" != yes && break
4612	;;
4613      esac
4614    fi
4615  done
4616  IFS="$lt_save_ifs"
4617else
4618  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4619fi
4620fi
4621
4622LD="$lt_cv_path_LD"
4623if test -n "$LD"; then
4624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4625$as_echo "$LD" >&6; }
4626else
4627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4628$as_echo "no" >&6; }
4629fi
4630test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4632$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4633if ${lt_cv_prog_gnu_ld+:} false; then :
4634  $as_echo_n "(cached) " >&6
4635else
4636  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4637case `$LD -v 2>&1 </dev/null` in
4638*GNU* | *'with BFD'*)
4639  lt_cv_prog_gnu_ld=yes
4640  ;;
4641*)
4642  lt_cv_prog_gnu_ld=no
4643  ;;
4644esac
4645fi
4646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4647$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4648with_gnu_ld=$lt_cv_prog_gnu_ld
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4659$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4660if ${lt_cv_path_NM+:} false; then :
4661  $as_echo_n "(cached) " >&6
4662else
4663  if test -n "$NM"; then
4664  # Let the user override the test.
4665  lt_cv_path_NM="$NM"
4666else
4667  lt_nm_to_check="${ac_tool_prefix}nm"
4668  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4669    lt_nm_to_check="$lt_nm_to_check nm"
4670  fi
4671  for lt_tmp_nm in $lt_nm_to_check; do
4672    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4673    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4674      IFS="$lt_save_ifs"
4675      test -z "$ac_dir" && ac_dir=.
4676      tmp_nm="$ac_dir/$lt_tmp_nm"
4677      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4678	# Check to see if the nm accepts a BSD-compat flag.
4679	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4680	#   nm: unknown option "B" ignored
4681	# Tru64's nm complains that /dev/null is an invalid object file
4682	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4683	*/dev/null* | *'Invalid file or object type'*)
4684	  lt_cv_path_NM="$tmp_nm -B"
4685	  break
4686	  ;;
4687	*)
4688	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4689	  */dev/null*)
4690	    lt_cv_path_NM="$tmp_nm -p"
4691	    break
4692	    ;;
4693	  *)
4694	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4695	    continue # so that we can try to find one that supports BSD flags
4696	    ;;
4697	  esac
4698	  ;;
4699	esac
4700      fi
4701    done
4702    IFS="$lt_save_ifs"
4703  done
4704  : ${lt_cv_path_NM=no}
4705fi
4706fi
4707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4708$as_echo "$lt_cv_path_NM" >&6; }
4709if test "$lt_cv_path_NM" != "no"; then
4710  NM="$lt_cv_path_NM"
4711else
4712  # Didn't find any BSD compatible name lister, look for dumpbin.
4713  if test -n "$DUMPBIN"; then :
4714    # Let the user override the test.
4715  else
4716    if test -n "$ac_tool_prefix"; then
4717  for ac_prog in dumpbin "link -dump"
4718  do
4719    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4720set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4722$as_echo_n "checking for $ac_word... " >&6; }
4723if ${ac_cv_prog_DUMPBIN+:} false; then :
4724  $as_echo_n "(cached) " >&6
4725else
4726  if test -n "$DUMPBIN"; then
4727  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4728else
4729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4730for as_dir in $PATH
4731do
4732  IFS=$as_save_IFS
4733  test -z "$as_dir" && as_dir=.
4734    for ac_exec_ext in '' $ac_executable_extensions; do
4735  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4737    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738    break 2
4739  fi
4740done
4741  done
4742IFS=$as_save_IFS
4743
4744fi
4745fi
4746DUMPBIN=$ac_cv_prog_DUMPBIN
4747if test -n "$DUMPBIN"; then
4748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4749$as_echo "$DUMPBIN" >&6; }
4750else
4751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4752$as_echo "no" >&6; }
4753fi
4754
4755
4756    test -n "$DUMPBIN" && break
4757  done
4758fi
4759if test -z "$DUMPBIN"; then
4760  ac_ct_DUMPBIN=$DUMPBIN
4761  for ac_prog in dumpbin "link -dump"
4762do
4763  # Extract the first word of "$ac_prog", so it can be a program name with args.
4764set dummy $ac_prog; ac_word=$2
4765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4766$as_echo_n "checking for $ac_word... " >&6; }
4767if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4768  $as_echo_n "(cached) " >&6
4769else
4770  if test -n "$ac_ct_DUMPBIN"; then
4771  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4772else
4773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4774for as_dir in $PATH
4775do
4776  IFS=$as_save_IFS
4777  test -z "$as_dir" && as_dir=.
4778    for ac_exec_ext in '' $ac_executable_extensions; do
4779  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4780    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4782    break 2
4783  fi
4784done
4785  done
4786IFS=$as_save_IFS
4787
4788fi
4789fi
4790ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4791if test -n "$ac_ct_DUMPBIN"; then
4792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4793$as_echo "$ac_ct_DUMPBIN" >&6; }
4794else
4795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4796$as_echo "no" >&6; }
4797fi
4798
4799
4800  test -n "$ac_ct_DUMPBIN" && break
4801done
4802
4803  if test "x$ac_ct_DUMPBIN" = x; then
4804    DUMPBIN=":"
4805  else
4806    case $cross_compiling:$ac_tool_warned in
4807yes:)
4808{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4809$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4810ac_tool_warned=yes ;;
4811esac
4812    DUMPBIN=$ac_ct_DUMPBIN
4813  fi
4814fi
4815
4816    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4817    *COFF*)
4818      DUMPBIN="$DUMPBIN -symbols"
4819      ;;
4820    *)
4821      DUMPBIN=:
4822      ;;
4823    esac
4824  fi
4825
4826  if test "$DUMPBIN" != ":"; then
4827    NM="$DUMPBIN"
4828  fi
4829fi
4830test -z "$NM" && NM=nm
4831
4832
4833
4834
4835
4836
4837{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4838$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4839if ${lt_cv_nm_interface+:} false; then :
4840  $as_echo_n "(cached) " >&6
4841else
4842  lt_cv_nm_interface="BSD nm"
4843  echo "int some_variable = 0;" > conftest.$ac_ext
4844  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4845  (eval "$ac_compile" 2>conftest.err)
4846  cat conftest.err >&5
4847  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4848  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4849  cat conftest.err >&5
4850  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4851  cat conftest.out >&5
4852  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4853    lt_cv_nm_interface="MS dumpbin"
4854  fi
4855  rm -f conftest*
4856fi
4857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4858$as_echo "$lt_cv_nm_interface" >&6; }
4859
4860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4861$as_echo_n "checking whether ln -s works... " >&6; }
4862LN_S=$as_ln_s
4863if test "$LN_S" = "ln -s"; then
4864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4865$as_echo "yes" >&6; }
4866else
4867  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4868$as_echo "no, using $LN_S" >&6; }
4869fi
4870
4871# find the maximum length of command line arguments
4872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4873$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4874if ${lt_cv_sys_max_cmd_len+:} false; then :
4875  $as_echo_n "(cached) " >&6
4876else
4877    i=0
4878  teststring="ABCD"
4879
4880  case $build_os in
4881  msdosdjgpp*)
4882    # On DJGPP, this test can blow up pretty badly due to problems in libc
4883    # (any single argument exceeding 2000 bytes causes a buffer overrun
4884    # during glob expansion).  Even if it were fixed, the result of this
4885    # check would be larger than it should be.
4886    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4887    ;;
4888
4889  gnu*)
4890    # Under GNU Hurd, this test is not required because there is
4891    # no limit to the length of command line arguments.
4892    # Libtool will interpret -1 as no limit whatsoever
4893    lt_cv_sys_max_cmd_len=-1;
4894    ;;
4895
4896  cygwin* | mingw* | cegcc*)
4897    # On Win9x/ME, this test blows up -- it succeeds, but takes
4898    # about 5 minutes as the teststring grows exponentially.
4899    # Worse, since 9x/ME are not pre-emptively multitasking,
4900    # you end up with a "frozen" computer, even though with patience
4901    # the test eventually succeeds (with a max line length of 256k).
4902    # Instead, let's just punt: use the minimum linelength reported by
4903    # all of the supported platforms: 8192 (on NT/2K/XP).
4904    lt_cv_sys_max_cmd_len=8192;
4905    ;;
4906
4907  mint*)
4908    # On MiNT this can take a long time and run out of memory.
4909    lt_cv_sys_max_cmd_len=8192;
4910    ;;
4911
4912  amigaos*)
4913    # On AmigaOS with pdksh, this test takes hours, literally.
4914    # So we just punt and use a minimum line length of 8192.
4915    lt_cv_sys_max_cmd_len=8192;
4916    ;;
4917
4918  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4919    # This has been around since 386BSD, at least.  Likely further.
4920    if test -x /sbin/sysctl; then
4921      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4922    elif test -x /usr/sbin/sysctl; then
4923      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4924    else
4925      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4926    fi
4927    # And add a safety zone
4928    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4929    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4930    ;;
4931
4932  interix*)
4933    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4934    lt_cv_sys_max_cmd_len=196608
4935    ;;
4936
4937  osf*)
4938    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4939    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4940    # nice to cause kernel panics so lets avoid the loop below.
4941    # First set a reasonable default.
4942    lt_cv_sys_max_cmd_len=16384
4943    #
4944    if test -x /sbin/sysconfig; then
4945      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4946        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4947      esac
4948    fi
4949    ;;
4950  sco3.2v5*)
4951    lt_cv_sys_max_cmd_len=102400
4952    ;;
4953  sysv5* | sco5v6* | sysv4.2uw2*)
4954    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4955    if test -n "$kargmax"; then
4956      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4957    else
4958      lt_cv_sys_max_cmd_len=32768
4959    fi
4960    ;;
4961  *)
4962    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4963    if test -n "$lt_cv_sys_max_cmd_len"; then
4964      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4965      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4966    else
4967      # Make teststring a little bigger before we do anything with it.
4968      # a 1K string should be a reasonable start.
4969      for i in 1 2 3 4 5 6 7 8 ; do
4970        teststring=$teststring$teststring
4971      done
4972      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4973      # If test is not a shell built-in, we'll probably end up computing a
4974      # maximum length that is only half of the actual maximum length, but
4975      # we can't tell.
4976      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4977	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4978	      test $i != 17 # 1/2 MB should be enough
4979      do
4980        i=`expr $i + 1`
4981        teststring=$teststring$teststring
4982      done
4983      # Only check the string length outside the loop.
4984      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4985      teststring=
4986      # Add a significant safety factor because C++ compilers can tack on
4987      # massive amounts of additional arguments before passing them to the
4988      # linker.  It appears as though 1/2 is a usable value.
4989      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4990    fi
4991    ;;
4992  esac
4993
4994fi
4995
4996if test -n $lt_cv_sys_max_cmd_len ; then
4997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4998$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4999else
5000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5001$as_echo "none" >&6; }
5002fi
5003max_cmd_len=$lt_cv_sys_max_cmd_len
5004
5005
5006
5007
5008
5009
5010: ${CP="cp -f"}
5011: ${MV="mv -f"}
5012: ${RM="rm -f"}
5013
5014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5015$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5016# Try some XSI features
5017xsi_shell=no
5018( _lt_dummy="a/b/c"
5019  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5020      = c,a/b,b/c, \
5021    && eval 'test $(( 1 + 1 )) -eq 2 \
5022    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5023  && xsi_shell=yes
5024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5025$as_echo "$xsi_shell" >&6; }
5026
5027
5028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5029$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5030lt_shell_append=no
5031( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5032    >/dev/null 2>&1 \
5033  && lt_shell_append=yes
5034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5035$as_echo "$lt_shell_append" >&6; }
5036
5037
5038if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5039  lt_unset=unset
5040else
5041  lt_unset=false
5042fi
5043
5044
5045
5046
5047
5048# test EBCDIC or ASCII
5049case `echo X|tr X '\101'` in
5050 A) # ASCII based system
5051    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5052  lt_SP2NL='tr \040 \012'
5053  lt_NL2SP='tr \015\012 \040\040'
5054  ;;
5055 *) # EBCDIC based system
5056  lt_SP2NL='tr \100 \n'
5057  lt_NL2SP='tr \r\n \100\100'
5058  ;;
5059esac
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5070$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5071if ${lt_cv_to_host_file_cmd+:} false; then :
5072  $as_echo_n "(cached) " >&6
5073else
5074  case $host in
5075  *-*-mingw* )
5076    case $build in
5077      *-*-mingw* ) # actually msys
5078        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5079        ;;
5080      *-*-cygwin* )
5081        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5082        ;;
5083      * ) # otherwise, assume *nix
5084        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5085        ;;
5086    esac
5087    ;;
5088  *-*-cygwin* )
5089    case $build in
5090      *-*-mingw* ) # actually msys
5091        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5092        ;;
5093      *-*-cygwin* )
5094        lt_cv_to_host_file_cmd=func_convert_file_noop
5095        ;;
5096      * ) # otherwise, assume *nix
5097        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5098        ;;
5099    esac
5100    ;;
5101  * ) # unhandled hosts (and "normal" native builds)
5102    lt_cv_to_host_file_cmd=func_convert_file_noop
5103    ;;
5104esac
5105
5106fi
5107
5108to_host_file_cmd=$lt_cv_to_host_file_cmd
5109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5110$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5111
5112
5113
5114
5115
5116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5117$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5118if ${lt_cv_to_tool_file_cmd+:} false; then :
5119  $as_echo_n "(cached) " >&6
5120else
5121  #assume ordinary cross tools, or native build.
5122lt_cv_to_tool_file_cmd=func_convert_file_noop
5123case $host in
5124  *-*-mingw* )
5125    case $build in
5126      *-*-mingw* ) # actually msys
5127        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5128        ;;
5129    esac
5130    ;;
5131esac
5132
5133fi
5134
5135to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5137$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5138
5139
5140
5141
5142
5143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5144$as_echo_n "checking for $LD option to reload object files... " >&6; }
5145if ${lt_cv_ld_reload_flag+:} false; then :
5146  $as_echo_n "(cached) " >&6
5147else
5148  lt_cv_ld_reload_flag='-r'
5149fi
5150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5151$as_echo "$lt_cv_ld_reload_flag" >&6; }
5152reload_flag=$lt_cv_ld_reload_flag
5153case $reload_flag in
5154"" | " "*) ;;
5155*) reload_flag=" $reload_flag" ;;
5156esac
5157reload_cmds='$LD$reload_flag -o $output$reload_objs'
5158case $host_os in
5159  cygwin* | mingw* | pw32* | cegcc*)
5160    if test "$GCC" != yes; then
5161      reload_cmds=false
5162    fi
5163    ;;
5164  darwin*)
5165    if test "$GCC" = yes; then
5166      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5167    else
5168      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5169    fi
5170    ;;
5171esac
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181if test -n "$ac_tool_prefix"; then
5182  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5183set dummy ${ac_tool_prefix}objdump; ac_word=$2
5184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185$as_echo_n "checking for $ac_word... " >&6; }
5186if ${ac_cv_prog_OBJDUMP+:} false; then :
5187  $as_echo_n "(cached) " >&6
5188else
5189  if test -n "$OBJDUMP"; then
5190  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5191else
5192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5193for as_dir in $PATH
5194do
5195  IFS=$as_save_IFS
5196  test -z "$as_dir" && as_dir=.
5197    for ac_exec_ext in '' $ac_executable_extensions; do
5198  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5199    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5201    break 2
5202  fi
5203done
5204  done
5205IFS=$as_save_IFS
5206
5207fi
5208fi
5209OBJDUMP=$ac_cv_prog_OBJDUMP
5210if test -n "$OBJDUMP"; then
5211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5212$as_echo "$OBJDUMP" >&6; }
5213else
5214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5215$as_echo "no" >&6; }
5216fi
5217
5218
5219fi
5220if test -z "$ac_cv_prog_OBJDUMP"; then
5221  ac_ct_OBJDUMP=$OBJDUMP
5222  # Extract the first word of "objdump", so it can be a program name with args.
5223set dummy objdump; ac_word=$2
5224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225$as_echo_n "checking for $ac_word... " >&6; }
5226if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5227  $as_echo_n "(cached) " >&6
5228else
5229  if test -n "$ac_ct_OBJDUMP"; then
5230  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5231else
5232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5233for as_dir in $PATH
5234do
5235  IFS=$as_save_IFS
5236  test -z "$as_dir" && as_dir=.
5237    for ac_exec_ext in '' $ac_executable_extensions; do
5238  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5239    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5240    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5241    break 2
5242  fi
5243done
5244  done
5245IFS=$as_save_IFS
5246
5247fi
5248fi
5249ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5250if test -n "$ac_ct_OBJDUMP"; then
5251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5252$as_echo "$ac_ct_OBJDUMP" >&6; }
5253else
5254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5255$as_echo "no" >&6; }
5256fi
5257
5258  if test "x$ac_ct_OBJDUMP" = x; then
5259    OBJDUMP="false"
5260  else
5261    case $cross_compiling:$ac_tool_warned in
5262yes:)
5263{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5264$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5265ac_tool_warned=yes ;;
5266esac
5267    OBJDUMP=$ac_ct_OBJDUMP
5268  fi
5269else
5270  OBJDUMP="$ac_cv_prog_OBJDUMP"
5271fi
5272
5273test -z "$OBJDUMP" && OBJDUMP=objdump
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5284$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5285if ${lt_cv_deplibs_check_method+:} false; then :
5286  $as_echo_n "(cached) " >&6
5287else
5288  lt_cv_file_magic_cmd='$MAGIC_CMD'
5289lt_cv_file_magic_test_file=
5290lt_cv_deplibs_check_method='unknown'
5291# Need to set the preceding variable on all platforms that support
5292# interlibrary dependencies.
5293# 'none' -- dependencies not supported.
5294# `unknown' -- same as none, but documents that we really don't know.
5295# 'pass_all' -- all dependencies passed with no checks.
5296# 'test_compile' -- check by making test program.
5297# 'file_magic [[regex]]' -- check by looking for files in library path
5298# which responds to the $file_magic_cmd with a given extended regex.
5299# If you have `file' or equivalent on your system and you're not sure
5300# whether `pass_all' will *always* work, you probably want this one.
5301
5302case $host_os in
5303aix[4-9]*)
5304  lt_cv_deplibs_check_method=pass_all
5305  ;;
5306
5307beos*)
5308  lt_cv_deplibs_check_method=pass_all
5309  ;;
5310
5311bsdi[45]*)
5312  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5313  lt_cv_file_magic_cmd='/usr/bin/file -L'
5314  lt_cv_file_magic_test_file=/shlib/libc.so
5315  ;;
5316
5317cygwin*)
5318  # func_win32_libid is a shell function defined in ltmain.sh
5319  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5320  lt_cv_file_magic_cmd='func_win32_libid'
5321  ;;
5322
5323mingw* | pw32*)
5324  # Base MSYS/MinGW do not provide the 'file' command needed by
5325  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5326  # unless we find 'file', for example because we are cross-compiling.
5327  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5328  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5329    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5330    lt_cv_file_magic_cmd='func_win32_libid'
5331  else
5332    # Keep this pattern in sync with the one in func_win32_libid.
5333    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5334    lt_cv_file_magic_cmd='$OBJDUMP -f'
5335  fi
5336  ;;
5337
5338cegcc*)
5339  # use the weaker test based on 'objdump'. See mingw*.
5340  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5341  lt_cv_file_magic_cmd='$OBJDUMP -f'
5342  ;;
5343
5344darwin* | rhapsody*)
5345  lt_cv_deplibs_check_method=pass_all
5346  ;;
5347
5348freebsd* | dragonfly*)
5349  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5350    case $host_cpu in
5351    i*86 )
5352      # Not sure whether the presence of OpenBSD here was a mistake.
5353      # Let's accept both of them until this is cleared up.
5354      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5355      lt_cv_file_magic_cmd=/usr/bin/file
5356      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5357      ;;
5358    esac
5359  else
5360    lt_cv_deplibs_check_method=pass_all
5361  fi
5362  ;;
5363
5364gnu*)
5365  lt_cv_deplibs_check_method=pass_all
5366  ;;
5367
5368haiku*)
5369  lt_cv_deplibs_check_method=pass_all
5370  ;;
5371
5372hpux10.20* | hpux11*)
5373  lt_cv_file_magic_cmd=/usr/bin/file
5374  case $host_cpu in
5375  ia64*)
5376    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5377    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5378    ;;
5379  hppa*64*)
5380    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]'
5381    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5382    ;;
5383  *)
5384    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5385    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5386    ;;
5387  esac
5388  ;;
5389
5390interix[3-9]*)
5391  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5392  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5393  ;;
5394
5395irix5* | irix6* | nonstopux*)
5396  case $LD in
5397  *-32|*"-32 ") libmagic=32-bit;;
5398  *-n32|*"-n32 ") libmagic=N32;;
5399  *-64|*"-64 ") libmagic=64-bit;;
5400  *) libmagic=never-match;;
5401  esac
5402  lt_cv_deplibs_check_method=pass_all
5403  ;;
5404
5405# This must be Linux ELF.
5406linux* | k*bsd*-gnu | kopensolaris*-gnu)
5407  lt_cv_deplibs_check_method=pass_all
5408  ;;
5409
5410netbsd*)
5411  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5412    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5413  else
5414    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5415  fi
5416  ;;
5417
5418newos6*)
5419  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5420  lt_cv_file_magic_cmd=/usr/bin/file
5421  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5422  ;;
5423
5424*nto* | *qnx*)
5425  lt_cv_deplibs_check_method=pass_all
5426  ;;
5427
5428openbsd*)
5429  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5430    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5431  else
5432    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5433  fi
5434  ;;
5435
5436osf3* | osf4* | osf5*)
5437  lt_cv_deplibs_check_method=pass_all
5438  ;;
5439
5440rdos*)
5441  lt_cv_deplibs_check_method=pass_all
5442  ;;
5443
5444solaris*)
5445  lt_cv_deplibs_check_method=pass_all
5446  ;;
5447
5448sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5449  lt_cv_deplibs_check_method=pass_all
5450  ;;
5451
5452sysv4 | sysv4.3*)
5453  case $host_vendor in
5454  motorola)
5455    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]'
5456    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5457    ;;
5458  ncr)
5459    lt_cv_deplibs_check_method=pass_all
5460    ;;
5461  sequent)
5462    lt_cv_file_magic_cmd='/bin/file'
5463    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5464    ;;
5465  sni)
5466    lt_cv_file_magic_cmd='/bin/file'
5467    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5468    lt_cv_file_magic_test_file=/lib/libc.so
5469    ;;
5470  siemens)
5471    lt_cv_deplibs_check_method=pass_all
5472    ;;
5473  pc)
5474    lt_cv_deplibs_check_method=pass_all
5475    ;;
5476  esac
5477  ;;
5478
5479tpf*)
5480  lt_cv_deplibs_check_method=pass_all
5481  ;;
5482esac
5483
5484fi
5485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5486$as_echo "$lt_cv_deplibs_check_method" >&6; }
5487
5488file_magic_glob=
5489want_nocaseglob=no
5490if test "$build" = "$host"; then
5491  case $host_os in
5492  mingw* | pw32*)
5493    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5494      want_nocaseglob=yes
5495    else
5496      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5497    fi
5498    ;;
5499  esac
5500fi
5501
5502file_magic_cmd=$lt_cv_file_magic_cmd
5503deplibs_check_method=$lt_cv_deplibs_check_method
5504test -z "$deplibs_check_method" && deplibs_check_method=unknown
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527if test -n "$ac_tool_prefix"; then
5528  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5529set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5531$as_echo_n "checking for $ac_word... " >&6; }
5532if ${ac_cv_prog_DLLTOOL+:} false; then :
5533  $as_echo_n "(cached) " >&6
5534else
5535  if test -n "$DLLTOOL"; then
5536  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5537else
5538as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539for as_dir in $PATH
5540do
5541  IFS=$as_save_IFS
5542  test -z "$as_dir" && as_dir=.
5543    for ac_exec_ext in '' $ac_executable_extensions; do
5544  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5546    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5547    break 2
5548  fi
5549done
5550  done
5551IFS=$as_save_IFS
5552
5553fi
5554fi
5555DLLTOOL=$ac_cv_prog_DLLTOOL
5556if test -n "$DLLTOOL"; then
5557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5558$as_echo "$DLLTOOL" >&6; }
5559else
5560  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5561$as_echo "no" >&6; }
5562fi
5563
5564
5565fi
5566if test -z "$ac_cv_prog_DLLTOOL"; then
5567  ac_ct_DLLTOOL=$DLLTOOL
5568  # Extract the first word of "dlltool", so it can be a program name with args.
5569set dummy dlltool; ac_word=$2
5570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5571$as_echo_n "checking for $ac_word... " >&6; }
5572if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5573  $as_echo_n "(cached) " >&6
5574else
5575  if test -n "$ac_ct_DLLTOOL"; then
5576  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5577else
5578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5579for as_dir in $PATH
5580do
5581  IFS=$as_save_IFS
5582  test -z "$as_dir" && as_dir=.
5583    for ac_exec_ext in '' $ac_executable_extensions; do
5584  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5585    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5587    break 2
5588  fi
5589done
5590  done
5591IFS=$as_save_IFS
5592
5593fi
5594fi
5595ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5596if test -n "$ac_ct_DLLTOOL"; then
5597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5598$as_echo "$ac_ct_DLLTOOL" >&6; }
5599else
5600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5601$as_echo "no" >&6; }
5602fi
5603
5604  if test "x$ac_ct_DLLTOOL" = x; then
5605    DLLTOOL="false"
5606  else
5607    case $cross_compiling:$ac_tool_warned in
5608yes:)
5609{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5610$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5611ac_tool_warned=yes ;;
5612esac
5613    DLLTOOL=$ac_ct_DLLTOOL
5614  fi
5615else
5616  DLLTOOL="$ac_cv_prog_DLLTOOL"
5617fi
5618
5619test -z "$DLLTOOL" && DLLTOOL=dlltool
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5631$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5632if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5633  $as_echo_n "(cached) " >&6
5634else
5635  lt_cv_sharedlib_from_linklib_cmd='unknown'
5636
5637case $host_os in
5638cygwin* | mingw* | pw32* | cegcc*)
5639  # two different shell functions defined in ltmain.sh
5640  # decide which to use based on capabilities of $DLLTOOL
5641  case `$DLLTOOL --help 2>&1` in
5642  *--identify-strict*)
5643    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5644    ;;
5645  *)
5646    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5647    ;;
5648  esac
5649  ;;
5650*)
5651  # fallback: assume linklib IS sharedlib
5652  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5653  ;;
5654esac
5655
5656fi
5657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5658$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5659sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5660test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5661
5662
5663
5664
5665
5666
5667
5668if test -n "$ac_tool_prefix"; then
5669  for ac_prog in ar
5670  do
5671    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5672set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5673{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5674$as_echo_n "checking for $ac_word... " >&6; }
5675if ${ac_cv_prog_AR+:} false; then :
5676  $as_echo_n "(cached) " >&6
5677else
5678  if test -n "$AR"; then
5679  ac_cv_prog_AR="$AR" # Let the user override the test.
5680else
5681as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5682for as_dir in $PATH
5683do
5684  IFS=$as_save_IFS
5685  test -z "$as_dir" && as_dir=.
5686    for ac_exec_ext in '' $ac_executable_extensions; do
5687  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5688    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5689    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5690    break 2
5691  fi
5692done
5693  done
5694IFS=$as_save_IFS
5695
5696fi
5697fi
5698AR=$ac_cv_prog_AR
5699if test -n "$AR"; then
5700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5701$as_echo "$AR" >&6; }
5702else
5703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5704$as_echo "no" >&6; }
5705fi
5706
5707
5708    test -n "$AR" && break
5709  done
5710fi
5711if test -z "$AR"; then
5712  ac_ct_AR=$AR
5713  for ac_prog in ar
5714do
5715  # Extract the first word of "$ac_prog", so it can be a program name with args.
5716set dummy $ac_prog; ac_word=$2
5717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718$as_echo_n "checking for $ac_word... " >&6; }
5719if ${ac_cv_prog_ac_ct_AR+:} false; then :
5720  $as_echo_n "(cached) " >&6
5721else
5722  if test -n "$ac_ct_AR"; then
5723  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5724else
5725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726for as_dir in $PATH
5727do
5728  IFS=$as_save_IFS
5729  test -z "$as_dir" && as_dir=.
5730    for ac_exec_ext in '' $ac_executable_extensions; do
5731  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732    ac_cv_prog_ac_ct_AR="$ac_prog"
5733    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734    break 2
5735  fi
5736done
5737  done
5738IFS=$as_save_IFS
5739
5740fi
5741fi
5742ac_ct_AR=$ac_cv_prog_ac_ct_AR
5743if test -n "$ac_ct_AR"; then
5744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5745$as_echo "$ac_ct_AR" >&6; }
5746else
5747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748$as_echo "no" >&6; }
5749fi
5750
5751
5752  test -n "$ac_ct_AR" && break
5753done
5754
5755  if test "x$ac_ct_AR" = x; then
5756    AR="false"
5757  else
5758    case $cross_compiling:$ac_tool_warned in
5759yes:)
5760{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5761$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5762ac_tool_warned=yes ;;
5763esac
5764    AR=$ac_ct_AR
5765  fi
5766fi
5767
5768: ${AR=ar}
5769: ${AR_FLAGS=cru}
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5782$as_echo_n "checking for archiver @FILE support... " >&6; }
5783if ${lt_cv_ar_at_file+:} false; then :
5784  $as_echo_n "(cached) " >&6
5785else
5786  lt_cv_ar_at_file=no
5787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5788/* end confdefs.h.  */
5789
5790int
5791main ()
5792{
5793
5794  ;
5795  return 0;
5796}
5797_ACEOF
5798if ac_fn_c_try_compile "$LINENO"; then :
5799  echo conftest.$ac_objext > conftest.lst
5800      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5801      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5802  (eval $lt_ar_try) 2>&5
5803  ac_status=$?
5804  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5805  test $ac_status = 0; }
5806      if test "$ac_status" -eq 0; then
5807	# Ensure the archiver fails upon bogus file names.
5808	rm -f conftest.$ac_objext libconftest.a
5809	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5810  (eval $lt_ar_try) 2>&5
5811  ac_status=$?
5812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5813  test $ac_status = 0; }
5814	if test "$ac_status" -ne 0; then
5815          lt_cv_ar_at_file=@
5816        fi
5817      fi
5818      rm -f conftest.* libconftest.a
5819
5820fi
5821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5822
5823fi
5824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5825$as_echo "$lt_cv_ar_at_file" >&6; }
5826
5827if test "x$lt_cv_ar_at_file" = xno; then
5828  archiver_list_spec=
5829else
5830  archiver_list_spec=$lt_cv_ar_at_file
5831fi
5832
5833
5834
5835
5836
5837
5838
5839if test -n "$ac_tool_prefix"; then
5840  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5841set dummy ${ac_tool_prefix}strip; ac_word=$2
5842{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5843$as_echo_n "checking for $ac_word... " >&6; }
5844if ${ac_cv_prog_STRIP+:} false; then :
5845  $as_echo_n "(cached) " >&6
5846else
5847  if test -n "$STRIP"; then
5848  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5849else
5850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851for as_dir in $PATH
5852do
5853  IFS=$as_save_IFS
5854  test -z "$as_dir" && as_dir=.
5855    for ac_exec_ext in '' $ac_executable_extensions; do
5856  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5857    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5858    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5859    break 2
5860  fi
5861done
5862  done
5863IFS=$as_save_IFS
5864
5865fi
5866fi
5867STRIP=$ac_cv_prog_STRIP
5868if test -n "$STRIP"; then
5869  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5870$as_echo "$STRIP" >&6; }
5871else
5872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5873$as_echo "no" >&6; }
5874fi
5875
5876
5877fi
5878if test -z "$ac_cv_prog_STRIP"; then
5879  ac_ct_STRIP=$STRIP
5880  # Extract the first word of "strip", so it can be a program name with args.
5881set dummy strip; ac_word=$2
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883$as_echo_n "checking for $ac_word... " >&6; }
5884if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5885  $as_echo_n "(cached) " >&6
5886else
5887  if test -n "$ac_ct_STRIP"; then
5888  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5889else
5890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891for as_dir in $PATH
5892do
5893  IFS=$as_save_IFS
5894  test -z "$as_dir" && as_dir=.
5895    for ac_exec_ext in '' $ac_executable_extensions; do
5896  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897    ac_cv_prog_ac_ct_STRIP="strip"
5898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899    break 2
5900  fi
5901done
5902  done
5903IFS=$as_save_IFS
5904
5905fi
5906fi
5907ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5908if test -n "$ac_ct_STRIP"; then
5909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5910$as_echo "$ac_ct_STRIP" >&6; }
5911else
5912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913$as_echo "no" >&6; }
5914fi
5915
5916  if test "x$ac_ct_STRIP" = x; then
5917    STRIP=":"
5918  else
5919    case $cross_compiling:$ac_tool_warned in
5920yes:)
5921{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5922$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5923ac_tool_warned=yes ;;
5924esac
5925    STRIP=$ac_ct_STRIP
5926  fi
5927else
5928  STRIP="$ac_cv_prog_STRIP"
5929fi
5930
5931test -z "$STRIP" && STRIP=:
5932
5933
5934
5935
5936
5937
5938if test -n "$ac_tool_prefix"; then
5939  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5940set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942$as_echo_n "checking for $ac_word... " >&6; }
5943if ${ac_cv_prog_RANLIB+:} false; then :
5944  $as_echo_n "(cached) " >&6
5945else
5946  if test -n "$RANLIB"; then
5947  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5948else
5949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950for as_dir in $PATH
5951do
5952  IFS=$as_save_IFS
5953  test -z "$as_dir" && as_dir=.
5954    for ac_exec_ext in '' $ac_executable_extensions; do
5955  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5956    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5957    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958    break 2
5959  fi
5960done
5961  done
5962IFS=$as_save_IFS
5963
5964fi
5965fi
5966RANLIB=$ac_cv_prog_RANLIB
5967if test -n "$RANLIB"; then
5968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5969$as_echo "$RANLIB" >&6; }
5970else
5971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972$as_echo "no" >&6; }
5973fi
5974
5975
5976fi
5977if test -z "$ac_cv_prog_RANLIB"; then
5978  ac_ct_RANLIB=$RANLIB
5979  # Extract the first word of "ranlib", so it can be a program name with args.
5980set dummy ranlib; ac_word=$2
5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982$as_echo_n "checking for $ac_word... " >&6; }
5983if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5984  $as_echo_n "(cached) " >&6
5985else
5986  if test -n "$ac_ct_RANLIB"; then
5987  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5988else
5989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990for as_dir in $PATH
5991do
5992  IFS=$as_save_IFS
5993  test -z "$as_dir" && as_dir=.
5994    for ac_exec_ext in '' $ac_executable_extensions; do
5995  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5996    ac_cv_prog_ac_ct_RANLIB="ranlib"
5997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998    break 2
5999  fi
6000done
6001  done
6002IFS=$as_save_IFS
6003
6004fi
6005fi
6006ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6007if test -n "$ac_ct_RANLIB"; then
6008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6009$as_echo "$ac_ct_RANLIB" >&6; }
6010else
6011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012$as_echo "no" >&6; }
6013fi
6014
6015  if test "x$ac_ct_RANLIB" = x; then
6016    RANLIB=":"
6017  else
6018    case $cross_compiling:$ac_tool_warned in
6019yes:)
6020{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6021$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6022ac_tool_warned=yes ;;
6023esac
6024    RANLIB=$ac_ct_RANLIB
6025  fi
6026else
6027  RANLIB="$ac_cv_prog_RANLIB"
6028fi
6029
6030test -z "$RANLIB" && RANLIB=:
6031
6032
6033
6034
6035
6036
6037# Determine commands to create old-style static archives.
6038old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6039old_postinstall_cmds='chmod 644 $oldlib'
6040old_postuninstall_cmds=
6041
6042if test -n "$RANLIB"; then
6043  case $host_os in
6044  openbsd*)
6045    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6046    ;;
6047  *)
6048    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6049    ;;
6050  esac
6051  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6052fi
6053
6054case $host_os in
6055  darwin*)
6056    lock_old_archive_extraction=yes ;;
6057  *)
6058    lock_old_archive_extraction=no ;;
6059esac
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099# If no C compiler was specified, use CC.
6100LTCC=${LTCC-"$CC"}
6101
6102# If no C compiler flags were specified, use CFLAGS.
6103LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6104
6105# Allow CC to be a program name with arguments.
6106compiler=$CC
6107
6108
6109# Check for command to grab the raw symbol name followed by C symbol from nm.
6110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6111$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6112if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6113  $as_echo_n "(cached) " >&6
6114else
6115
6116# These are sane defaults that work on at least a few old systems.
6117# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6118
6119# Character class describing NM global symbol codes.
6120symcode='[BCDEGRST]'
6121
6122# Regexp to match symbols that can be accessed directly from C.
6123sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6124
6125# Define system-specific variables.
6126case $host_os in
6127aix*)
6128  symcode='[BCDT]'
6129  ;;
6130cygwin* | mingw* | pw32* | cegcc*)
6131  symcode='[ABCDGISTW]'
6132  ;;
6133hpux*)
6134  if test "$host_cpu" = ia64; then
6135    symcode='[ABCDEGRST]'
6136  fi
6137  ;;
6138irix* | nonstopux*)
6139  symcode='[BCDEGRST]'
6140  ;;
6141osf*)
6142  symcode='[BCDEGQRST]'
6143  ;;
6144solaris*)
6145  symcode='[BDRT]'
6146  ;;
6147sco3.2v5*)
6148  symcode='[DT]'
6149  ;;
6150sysv4.2uw2*)
6151  symcode='[DT]'
6152  ;;
6153sysv5* | sco5v6* | unixware* | OpenUNIX*)
6154  symcode='[ABDT]'
6155  ;;
6156sysv4)
6157  symcode='[DFNSTU]'
6158  ;;
6159esac
6160
6161# If we're using GNU nm, then use its standard symbol codes.
6162case `$NM -V 2>&1` in
6163*GNU* | *'with BFD'*)
6164  symcode='[ABCDGIRSTW]' ;;
6165esac
6166
6167# Transform an extracted symbol line into a proper C declaration.
6168# Some systems (esp. on ia64) link data and code symbols differently,
6169# so use this general approach.
6170lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6171
6172# Transform an extracted symbol line into symbol name and symbol address
6173lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6174lt_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'"
6175
6176# Handle CRLF in mingw tool chain
6177opt_cr=
6178case $build_os in
6179mingw*)
6180  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6181  ;;
6182esac
6183
6184# Try without a prefix underscore, then with it.
6185for ac_symprfx in "" "_"; do
6186
6187  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6188  symxfrm="\\1 $ac_symprfx\\2 \\2"
6189
6190  # Write the raw and C identifiers.
6191  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6192    # Fake it for dumpbin and say T for any non-static function
6193    # and D for any global variable.
6194    # Also find C++ and __fastcall symbols from MSVC++,
6195    # which start with @ or ?.
6196    lt_cv_sys_global_symbol_pipe="$AWK '"\
6197"     {last_section=section; section=\$ 3};"\
6198"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6199"     \$ 0!~/External *\|/{next};"\
6200"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6201"     {if(hide[section]) next};"\
6202"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6203"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6204"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6205"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6206"     ' prfx=^$ac_symprfx"
6207  else
6208    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6209  fi
6210  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6211
6212  # Check to see that the pipe works correctly.
6213  pipe_works=no
6214
6215  rm -f conftest*
6216  cat > conftest.$ac_ext <<_LT_EOF
6217#ifdef __cplusplus
6218extern "C" {
6219#endif
6220char nm_test_var;
6221void nm_test_func(void);
6222void nm_test_func(void){}
6223#ifdef __cplusplus
6224}
6225#endif
6226int main(){nm_test_var='a';nm_test_func();return(0);}
6227_LT_EOF
6228
6229  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6230  (eval $ac_compile) 2>&5
6231  ac_status=$?
6232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233  test $ac_status = 0; }; then
6234    # Now try to grab the symbols.
6235    nlist=conftest.nm
6236    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6237  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6238  ac_status=$?
6239  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6240  test $ac_status = 0; } && test -s "$nlist"; then
6241      # Try sorting and uniquifying the output.
6242      if sort "$nlist" | uniq > "$nlist"T; then
6243	mv -f "$nlist"T "$nlist"
6244      else
6245	rm -f "$nlist"T
6246      fi
6247
6248      # Make sure that we snagged all the symbols we need.
6249      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6250	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6251	  cat <<_LT_EOF > conftest.$ac_ext
6252/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6253#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6254/* DATA imports from DLLs on WIN32 con't be const, because runtime
6255   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6256# define LT_DLSYM_CONST
6257#elif defined(__osf__)
6258/* This system does not cope well with relocations in const data.  */
6259# define LT_DLSYM_CONST
6260#else
6261# define LT_DLSYM_CONST const
6262#endif
6263
6264#ifdef __cplusplus
6265extern "C" {
6266#endif
6267
6268_LT_EOF
6269	  # Now generate the symbol file.
6270	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6271
6272	  cat <<_LT_EOF >> conftest.$ac_ext
6273
6274/* The mapping between symbol names and symbols.  */
6275LT_DLSYM_CONST struct {
6276  const char *name;
6277  void       *address;
6278}
6279lt__PROGRAM__LTX_preloaded_symbols[] =
6280{
6281  { "@PROGRAM@", (void *) 0 },
6282_LT_EOF
6283	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6284	  cat <<\_LT_EOF >> conftest.$ac_ext
6285  {0, (void *) 0}
6286};
6287
6288/* This works around a problem in FreeBSD linker */
6289#ifdef FREEBSD_WORKAROUND
6290static const void *lt_preloaded_setup() {
6291  return lt__PROGRAM__LTX_preloaded_symbols;
6292}
6293#endif
6294
6295#ifdef __cplusplus
6296}
6297#endif
6298_LT_EOF
6299	  # Now try linking the two files.
6300	  mv conftest.$ac_objext conftstm.$ac_objext
6301	  lt_globsym_save_LIBS=$LIBS
6302	  lt_globsym_save_CFLAGS=$CFLAGS
6303	  LIBS="conftstm.$ac_objext"
6304	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6305	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6306  (eval $ac_link) 2>&5
6307  ac_status=$?
6308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6309  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6310	    pipe_works=yes
6311	  fi
6312	  LIBS=$lt_globsym_save_LIBS
6313	  CFLAGS=$lt_globsym_save_CFLAGS
6314	else
6315	  echo "cannot find nm_test_func in $nlist" >&5
6316	fi
6317      else
6318	echo "cannot find nm_test_var in $nlist" >&5
6319      fi
6320    else
6321      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6322    fi
6323  else
6324    echo "$progname: failed program was:" >&5
6325    cat conftest.$ac_ext >&5
6326  fi
6327  rm -rf conftest* conftst*
6328
6329  # Do not use the global_symbol_pipe unless it works.
6330  if test "$pipe_works" = yes; then
6331    break
6332  else
6333    lt_cv_sys_global_symbol_pipe=
6334  fi
6335done
6336
6337fi
6338
6339if test -z "$lt_cv_sys_global_symbol_pipe"; then
6340  lt_cv_sys_global_symbol_to_cdecl=
6341fi
6342if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6344$as_echo "failed" >&6; }
6345else
6346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6347$as_echo "ok" >&6; }
6348fi
6349
6350# Response file support.
6351if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6352  nm_file_list_spec='@'
6353elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6354  nm_file_list_spec='@'
6355fi
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6384$as_echo_n "checking for sysroot... " >&6; }
6385
6386# Check whether --with-sysroot was given.
6387if test "${with_sysroot+set}" = set; then :
6388  withval=$with_sysroot;
6389else
6390  with_sysroot=no
6391fi
6392
6393
6394lt_sysroot=
6395case ${with_sysroot} in #(
6396 yes)
6397   if test "$GCC" = yes; then
6398     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6399   fi
6400   ;; #(
6401 /*)
6402   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6403   ;; #(
6404 no|'')
6405   ;; #(
6406 *)
6407   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6408$as_echo "${with_sysroot}" >&6; }
6409   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6410   ;;
6411esac
6412
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6414$as_echo "${lt_sysroot:-no}" >&6; }
6415
6416
6417
6418
6419
6420# Check whether --enable-libtool-lock was given.
6421if test "${enable_libtool_lock+set}" = set; then :
6422  enableval=$enable_libtool_lock;
6423fi
6424
6425test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6426
6427# Some flags need to be propagated to the compiler or linker for good
6428# libtool support.
6429case $host in
6430ia64-*-hpux*)
6431  # Find out which ABI we are using.
6432  echo 'int i;' > conftest.$ac_ext
6433  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6434  (eval $ac_compile) 2>&5
6435  ac_status=$?
6436  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6437  test $ac_status = 0; }; then
6438    case `/usr/bin/file conftest.$ac_objext` in
6439      *ELF-32*)
6440	HPUX_IA64_MODE="32"
6441	;;
6442      *ELF-64*)
6443	HPUX_IA64_MODE="64"
6444	;;
6445    esac
6446  fi
6447  rm -rf conftest*
6448  ;;
6449*-*-irix6*)
6450  # Find out which ABI we are using.
6451  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6452  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6453  (eval $ac_compile) 2>&5
6454  ac_status=$?
6455  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6456  test $ac_status = 0; }; then
6457    if test "$lt_cv_prog_gnu_ld" = yes; then
6458      case `/usr/bin/file conftest.$ac_objext` in
6459	*32-bit*)
6460	  LD="${LD-ld} -melf32bsmip"
6461	  ;;
6462	*N32*)
6463	  LD="${LD-ld} -melf32bmipn32"
6464	  ;;
6465	*64-bit*)
6466	  LD="${LD-ld} -melf64bmip"
6467	;;
6468      esac
6469    else
6470      case `/usr/bin/file conftest.$ac_objext` in
6471	*32-bit*)
6472	  LD="${LD-ld} -32"
6473	  ;;
6474	*N32*)
6475	  LD="${LD-ld} -n32"
6476	  ;;
6477	*64-bit*)
6478	  LD="${LD-ld} -64"
6479	  ;;
6480      esac
6481    fi
6482  fi
6483  rm -rf conftest*
6484  ;;
6485
6486x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6487s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6488  # Find out which ABI we are using.
6489  echo 'int i;' > conftest.$ac_ext
6490  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6491  (eval $ac_compile) 2>&5
6492  ac_status=$?
6493  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6494  test $ac_status = 0; }; then
6495    case `/usr/bin/file conftest.o` in
6496      *32-bit*)
6497	case $host in
6498	  x86_64-*kfreebsd*-gnu)
6499	    LD="${LD-ld} -m elf_i386_fbsd"
6500	    ;;
6501	  x86_64-*linux*)
6502	    LD="${LD-ld} -m elf_i386"
6503	    ;;
6504	  ppc64-*linux*|powerpc64-*linux*)
6505	    LD="${LD-ld} -m elf32ppclinux"
6506	    ;;
6507	  s390x-*linux*)
6508	    LD="${LD-ld} -m elf_s390"
6509	    ;;
6510	  sparc64-*linux*)
6511	    LD="${LD-ld} -m elf32_sparc"
6512	    ;;
6513	esac
6514	;;
6515      *64-bit*)
6516	case $host in
6517	  x86_64-*kfreebsd*-gnu)
6518	    LD="${LD-ld} -m elf_x86_64_fbsd"
6519	    ;;
6520	  x86_64-*linux*)
6521	    LD="${LD-ld} -m elf_x86_64"
6522	    ;;
6523	  ppc*-*linux*|powerpc*-*linux*)
6524	    LD="${LD-ld} -m elf64ppc"
6525	    ;;
6526	  s390*-*linux*|s390*-*tpf*)
6527	    LD="${LD-ld} -m elf64_s390"
6528	    ;;
6529	  sparc*-*linux*)
6530	    LD="${LD-ld} -m elf64_sparc"
6531	    ;;
6532	esac
6533	;;
6534    esac
6535  fi
6536  rm -rf conftest*
6537  ;;
6538
6539*-*-sco3.2v5*)
6540  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6541  SAVE_CFLAGS="$CFLAGS"
6542  CFLAGS="$CFLAGS -belf"
6543  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6544$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6545if ${lt_cv_cc_needs_belf+:} false; then :
6546  $as_echo_n "(cached) " >&6
6547else
6548  ac_ext=c
6549ac_cpp='$CPP $CPPFLAGS'
6550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6552ac_compiler_gnu=$ac_cv_c_compiler_gnu
6553
6554     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6555/* end confdefs.h.  */
6556
6557int
6558main ()
6559{
6560
6561  ;
6562  return 0;
6563}
6564_ACEOF
6565if ac_fn_c_try_link "$LINENO"; then :
6566  lt_cv_cc_needs_belf=yes
6567else
6568  lt_cv_cc_needs_belf=no
6569fi
6570rm -f core conftest.err conftest.$ac_objext \
6571    conftest$ac_exeext conftest.$ac_ext
6572     ac_ext=c
6573ac_cpp='$CPP $CPPFLAGS'
6574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6576ac_compiler_gnu=$ac_cv_c_compiler_gnu
6577
6578fi
6579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6580$as_echo "$lt_cv_cc_needs_belf" >&6; }
6581  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6582    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6583    CFLAGS="$SAVE_CFLAGS"
6584  fi
6585  ;;
6586sparc*-*solaris*)
6587  # Find out which ABI we are using.
6588  echo 'int i;' > conftest.$ac_ext
6589  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6590  (eval $ac_compile) 2>&5
6591  ac_status=$?
6592  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6593  test $ac_status = 0; }; then
6594    case `/usr/bin/file conftest.o` in
6595    *64-bit*)
6596      case $lt_cv_prog_gnu_ld in
6597      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6598      *)
6599	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6600	  LD="${LD-ld} -64"
6601	fi
6602	;;
6603      esac
6604      ;;
6605    esac
6606  fi
6607  rm -rf conftest*
6608  ;;
6609esac
6610
6611need_locks="$enable_libtool_lock"
6612
6613if test -n "$ac_tool_prefix"; then
6614  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6615set dummy ${ac_tool_prefix}mt; ac_word=$2
6616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6617$as_echo_n "checking for $ac_word... " >&6; }
6618if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6619  $as_echo_n "(cached) " >&6
6620else
6621  if test -n "$MANIFEST_TOOL"; then
6622  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6623else
6624as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6625for as_dir in $PATH
6626do
6627  IFS=$as_save_IFS
6628  test -z "$as_dir" && as_dir=.
6629    for ac_exec_ext in '' $ac_executable_extensions; do
6630  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6631    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6632    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6633    break 2
6634  fi
6635done
6636  done
6637IFS=$as_save_IFS
6638
6639fi
6640fi
6641MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6642if test -n "$MANIFEST_TOOL"; then
6643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6644$as_echo "$MANIFEST_TOOL" >&6; }
6645else
6646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6647$as_echo "no" >&6; }
6648fi
6649
6650
6651fi
6652if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6653  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6654  # Extract the first word of "mt", so it can be a program name with args.
6655set dummy mt; ac_word=$2
6656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657$as_echo_n "checking for $ac_word... " >&6; }
6658if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6659  $as_echo_n "(cached) " >&6
6660else
6661  if test -n "$ac_ct_MANIFEST_TOOL"; then
6662  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6663else
6664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665for as_dir in $PATH
6666do
6667  IFS=$as_save_IFS
6668  test -z "$as_dir" && as_dir=.
6669    for ac_exec_ext in '' $ac_executable_extensions; do
6670  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6672    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673    break 2
6674  fi
6675done
6676  done
6677IFS=$as_save_IFS
6678
6679fi
6680fi
6681ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6682if test -n "$ac_ct_MANIFEST_TOOL"; then
6683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6684$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6685else
6686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687$as_echo "no" >&6; }
6688fi
6689
6690  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6691    MANIFEST_TOOL=":"
6692  else
6693    case $cross_compiling:$ac_tool_warned in
6694yes:)
6695{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6696$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6697ac_tool_warned=yes ;;
6698esac
6699    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6700  fi
6701else
6702  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6703fi
6704
6705test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6707$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6708if ${lt_cv_path_mainfest_tool+:} false; then :
6709  $as_echo_n "(cached) " >&6
6710else
6711  lt_cv_path_mainfest_tool=no
6712  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6713  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6714  cat conftest.err >&5
6715  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6716    lt_cv_path_mainfest_tool=yes
6717  fi
6718  rm -f conftest*
6719fi
6720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6721$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6722if test "x$lt_cv_path_mainfest_tool" != xyes; then
6723  MANIFEST_TOOL=:
6724fi
6725
6726
6727
6728
6729
6730
6731  case $host_os in
6732    rhapsody* | darwin*)
6733    if test -n "$ac_tool_prefix"; then
6734  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6735set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6737$as_echo_n "checking for $ac_word... " >&6; }
6738if ${ac_cv_prog_DSYMUTIL+:} false; then :
6739  $as_echo_n "(cached) " >&6
6740else
6741  if test -n "$DSYMUTIL"; then
6742  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6743else
6744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6745for as_dir in $PATH
6746do
6747  IFS=$as_save_IFS
6748  test -z "$as_dir" && as_dir=.
6749    for ac_exec_ext in '' $ac_executable_extensions; do
6750  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6751    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6752    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6753    break 2
6754  fi
6755done
6756  done
6757IFS=$as_save_IFS
6758
6759fi
6760fi
6761DSYMUTIL=$ac_cv_prog_DSYMUTIL
6762if test -n "$DSYMUTIL"; then
6763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6764$as_echo "$DSYMUTIL" >&6; }
6765else
6766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767$as_echo "no" >&6; }
6768fi
6769
6770
6771fi
6772if test -z "$ac_cv_prog_DSYMUTIL"; then
6773  ac_ct_DSYMUTIL=$DSYMUTIL
6774  # Extract the first word of "dsymutil", so it can be a program name with args.
6775set dummy dsymutil; ac_word=$2
6776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777$as_echo_n "checking for $ac_word... " >&6; }
6778if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6779  $as_echo_n "(cached) " >&6
6780else
6781  if test -n "$ac_ct_DSYMUTIL"; then
6782  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6783else
6784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785for as_dir in $PATH
6786do
6787  IFS=$as_save_IFS
6788  test -z "$as_dir" && as_dir=.
6789    for ac_exec_ext in '' $ac_executable_extensions; do
6790  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793    break 2
6794  fi
6795done
6796  done
6797IFS=$as_save_IFS
6798
6799fi
6800fi
6801ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6802if test -n "$ac_ct_DSYMUTIL"; then
6803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6804$as_echo "$ac_ct_DSYMUTIL" >&6; }
6805else
6806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807$as_echo "no" >&6; }
6808fi
6809
6810  if test "x$ac_ct_DSYMUTIL" = x; then
6811    DSYMUTIL=":"
6812  else
6813    case $cross_compiling:$ac_tool_warned in
6814yes:)
6815{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6816$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6817ac_tool_warned=yes ;;
6818esac
6819    DSYMUTIL=$ac_ct_DSYMUTIL
6820  fi
6821else
6822  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6823fi
6824
6825    if test -n "$ac_tool_prefix"; then
6826  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6827set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6829$as_echo_n "checking for $ac_word... " >&6; }
6830if ${ac_cv_prog_NMEDIT+:} false; then :
6831  $as_echo_n "(cached) " >&6
6832else
6833  if test -n "$NMEDIT"; then
6834  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6835else
6836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837for as_dir in $PATH
6838do
6839  IFS=$as_save_IFS
6840  test -z "$as_dir" && as_dir=.
6841    for ac_exec_ext in '' $ac_executable_extensions; do
6842  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6843    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6844    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845    break 2
6846  fi
6847done
6848  done
6849IFS=$as_save_IFS
6850
6851fi
6852fi
6853NMEDIT=$ac_cv_prog_NMEDIT
6854if test -n "$NMEDIT"; then
6855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6856$as_echo "$NMEDIT" >&6; }
6857else
6858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6859$as_echo "no" >&6; }
6860fi
6861
6862
6863fi
6864if test -z "$ac_cv_prog_NMEDIT"; then
6865  ac_ct_NMEDIT=$NMEDIT
6866  # Extract the first word of "nmedit", so it can be a program name with args.
6867set dummy nmedit; ac_word=$2
6868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869$as_echo_n "checking for $ac_word... " >&6; }
6870if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6871  $as_echo_n "(cached) " >&6
6872else
6873  if test -n "$ac_ct_NMEDIT"; then
6874  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6875else
6876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877for as_dir in $PATH
6878do
6879  IFS=$as_save_IFS
6880  test -z "$as_dir" && as_dir=.
6881    for ac_exec_ext in '' $ac_executable_extensions; do
6882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885    break 2
6886  fi
6887done
6888  done
6889IFS=$as_save_IFS
6890
6891fi
6892fi
6893ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6894if test -n "$ac_ct_NMEDIT"; then
6895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6896$as_echo "$ac_ct_NMEDIT" >&6; }
6897else
6898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899$as_echo "no" >&6; }
6900fi
6901
6902  if test "x$ac_ct_NMEDIT" = x; then
6903    NMEDIT=":"
6904  else
6905    case $cross_compiling:$ac_tool_warned in
6906yes:)
6907{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6909ac_tool_warned=yes ;;
6910esac
6911    NMEDIT=$ac_ct_NMEDIT
6912  fi
6913else
6914  NMEDIT="$ac_cv_prog_NMEDIT"
6915fi
6916
6917    if test -n "$ac_tool_prefix"; then
6918  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6919set dummy ${ac_tool_prefix}lipo; ac_word=$2
6920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6921$as_echo_n "checking for $ac_word... " >&6; }
6922if ${ac_cv_prog_LIPO+:} false; then :
6923  $as_echo_n "(cached) " >&6
6924else
6925  if test -n "$LIPO"; then
6926  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6927else
6928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6929for as_dir in $PATH
6930do
6931  IFS=$as_save_IFS
6932  test -z "$as_dir" && as_dir=.
6933    for ac_exec_ext in '' $ac_executable_extensions; do
6934  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6935    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6936    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6937    break 2
6938  fi
6939done
6940  done
6941IFS=$as_save_IFS
6942
6943fi
6944fi
6945LIPO=$ac_cv_prog_LIPO
6946if test -n "$LIPO"; then
6947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6948$as_echo "$LIPO" >&6; }
6949else
6950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6951$as_echo "no" >&6; }
6952fi
6953
6954
6955fi
6956if test -z "$ac_cv_prog_LIPO"; then
6957  ac_ct_LIPO=$LIPO
6958  # Extract the first word of "lipo", so it can be a program name with args.
6959set dummy lipo; ac_word=$2
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961$as_echo_n "checking for $ac_word... " >&6; }
6962if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6963  $as_echo_n "(cached) " >&6
6964else
6965  if test -n "$ac_ct_LIPO"; then
6966  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6967else
6968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969for as_dir in $PATH
6970do
6971  IFS=$as_save_IFS
6972  test -z "$as_dir" && as_dir=.
6973    for ac_exec_ext in '' $ac_executable_extensions; do
6974  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975    ac_cv_prog_ac_ct_LIPO="lipo"
6976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977    break 2
6978  fi
6979done
6980  done
6981IFS=$as_save_IFS
6982
6983fi
6984fi
6985ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6986if test -n "$ac_ct_LIPO"; then
6987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6988$as_echo "$ac_ct_LIPO" >&6; }
6989else
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991$as_echo "no" >&6; }
6992fi
6993
6994  if test "x$ac_ct_LIPO" = x; then
6995    LIPO=":"
6996  else
6997    case $cross_compiling:$ac_tool_warned in
6998yes:)
6999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7001ac_tool_warned=yes ;;
7002esac
7003    LIPO=$ac_ct_LIPO
7004  fi
7005else
7006  LIPO="$ac_cv_prog_LIPO"
7007fi
7008
7009    if test -n "$ac_tool_prefix"; then
7010  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7011set dummy ${ac_tool_prefix}otool; ac_word=$2
7012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7013$as_echo_n "checking for $ac_word... " >&6; }
7014if ${ac_cv_prog_OTOOL+:} false; then :
7015  $as_echo_n "(cached) " >&6
7016else
7017  if test -n "$OTOOL"; then
7018  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7019else
7020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7021for as_dir in $PATH
7022do
7023  IFS=$as_save_IFS
7024  test -z "$as_dir" && as_dir=.
7025    for ac_exec_ext in '' $ac_executable_extensions; do
7026  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7027    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7028    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7029    break 2
7030  fi
7031done
7032  done
7033IFS=$as_save_IFS
7034
7035fi
7036fi
7037OTOOL=$ac_cv_prog_OTOOL
7038if test -n "$OTOOL"; then
7039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7040$as_echo "$OTOOL" >&6; }
7041else
7042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7043$as_echo "no" >&6; }
7044fi
7045
7046
7047fi
7048if test -z "$ac_cv_prog_OTOOL"; then
7049  ac_ct_OTOOL=$OTOOL
7050  # Extract the first word of "otool", so it can be a program name with args.
7051set dummy otool; ac_word=$2
7052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053$as_echo_n "checking for $ac_word... " >&6; }
7054if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7055  $as_echo_n "(cached) " >&6
7056else
7057  if test -n "$ac_ct_OTOOL"; then
7058  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7059else
7060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061for as_dir in $PATH
7062do
7063  IFS=$as_save_IFS
7064  test -z "$as_dir" && as_dir=.
7065    for ac_exec_ext in '' $ac_executable_extensions; do
7066  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067    ac_cv_prog_ac_ct_OTOOL="otool"
7068    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069    break 2
7070  fi
7071done
7072  done
7073IFS=$as_save_IFS
7074
7075fi
7076fi
7077ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7078if test -n "$ac_ct_OTOOL"; then
7079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7080$as_echo "$ac_ct_OTOOL" >&6; }
7081else
7082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083$as_echo "no" >&6; }
7084fi
7085
7086  if test "x$ac_ct_OTOOL" = x; then
7087    OTOOL=":"
7088  else
7089    case $cross_compiling:$ac_tool_warned in
7090yes:)
7091{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7092$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7093ac_tool_warned=yes ;;
7094esac
7095    OTOOL=$ac_ct_OTOOL
7096  fi
7097else
7098  OTOOL="$ac_cv_prog_OTOOL"
7099fi
7100
7101    if test -n "$ac_tool_prefix"; then
7102  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7103set dummy ${ac_tool_prefix}otool64; ac_word=$2
7104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7105$as_echo_n "checking for $ac_word... " >&6; }
7106if ${ac_cv_prog_OTOOL64+:} false; then :
7107  $as_echo_n "(cached) " >&6
7108else
7109  if test -n "$OTOOL64"; then
7110  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7111else
7112as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7113for as_dir in $PATH
7114do
7115  IFS=$as_save_IFS
7116  test -z "$as_dir" && as_dir=.
7117    for ac_exec_ext in '' $ac_executable_extensions; do
7118  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7119    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7120    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7121    break 2
7122  fi
7123done
7124  done
7125IFS=$as_save_IFS
7126
7127fi
7128fi
7129OTOOL64=$ac_cv_prog_OTOOL64
7130if test -n "$OTOOL64"; then
7131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7132$as_echo "$OTOOL64" >&6; }
7133else
7134  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7135$as_echo "no" >&6; }
7136fi
7137
7138
7139fi
7140if test -z "$ac_cv_prog_OTOOL64"; then
7141  ac_ct_OTOOL64=$OTOOL64
7142  # Extract the first word of "otool64", so it can be a program name with args.
7143set dummy otool64; ac_word=$2
7144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145$as_echo_n "checking for $ac_word... " >&6; }
7146if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7147  $as_echo_n "(cached) " >&6
7148else
7149  if test -n "$ac_ct_OTOOL64"; then
7150  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7151else
7152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153for as_dir in $PATH
7154do
7155  IFS=$as_save_IFS
7156  test -z "$as_dir" && as_dir=.
7157    for ac_exec_ext in '' $ac_executable_extensions; do
7158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159    ac_cv_prog_ac_ct_OTOOL64="otool64"
7160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161    break 2
7162  fi
7163done
7164  done
7165IFS=$as_save_IFS
7166
7167fi
7168fi
7169ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7170if test -n "$ac_ct_OTOOL64"; then
7171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7172$as_echo "$ac_ct_OTOOL64" >&6; }
7173else
7174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175$as_echo "no" >&6; }
7176fi
7177
7178  if test "x$ac_ct_OTOOL64" = x; then
7179    OTOOL64=":"
7180  else
7181    case $cross_compiling:$ac_tool_warned in
7182yes:)
7183{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7184$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7185ac_tool_warned=yes ;;
7186esac
7187    OTOOL64=$ac_ct_OTOOL64
7188  fi
7189else
7190  OTOOL64="$ac_cv_prog_OTOOL64"
7191fi
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7220$as_echo_n "checking for -single_module linker flag... " >&6; }
7221if ${lt_cv_apple_cc_single_mod+:} false; then :
7222  $as_echo_n "(cached) " >&6
7223else
7224  lt_cv_apple_cc_single_mod=no
7225      if test -z "${LT_MULTI_MODULE}"; then
7226	# By default we will add the -single_module flag. You can override
7227	# by either setting the environment variable LT_MULTI_MODULE
7228	# non-empty at configure time, or by adding -multi_module to the
7229	# link flags.
7230	rm -rf libconftest.dylib*
7231	echo "int foo(void){return 1;}" > conftest.c
7232	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7233-dynamiclib -Wl,-single_module conftest.c" >&5
7234	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7235	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7236        _lt_result=$?
7237	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7238	  lt_cv_apple_cc_single_mod=yes
7239	else
7240	  cat conftest.err >&5
7241	fi
7242	rm -rf libconftest.dylib*
7243	rm -f conftest.*
7244      fi
7245fi
7246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7247$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7248    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7249$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7250if ${lt_cv_ld_exported_symbols_list+:} false; then :
7251  $as_echo_n "(cached) " >&6
7252else
7253  lt_cv_ld_exported_symbols_list=no
7254      save_LDFLAGS=$LDFLAGS
7255      echo "_main" > conftest.sym
7256      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7257      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258/* end confdefs.h.  */
7259
7260int
7261main ()
7262{
7263
7264  ;
7265  return 0;
7266}
7267_ACEOF
7268if ac_fn_c_try_link "$LINENO"; then :
7269  lt_cv_ld_exported_symbols_list=yes
7270else
7271  lt_cv_ld_exported_symbols_list=no
7272fi
7273rm -f core conftest.err conftest.$ac_objext \
7274    conftest$ac_exeext conftest.$ac_ext
7275	LDFLAGS="$save_LDFLAGS"
7276
7277fi
7278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7279$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7280    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7281$as_echo_n "checking for -force_load linker flag... " >&6; }
7282if ${lt_cv_ld_force_load+:} false; then :
7283  $as_echo_n "(cached) " >&6
7284else
7285  lt_cv_ld_force_load=no
7286      cat > conftest.c << _LT_EOF
7287int forced_loaded() { return 2;}
7288_LT_EOF
7289      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7290      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7291      echo "$AR cru libconftest.a conftest.o" >&5
7292      $AR cru libconftest.a conftest.o 2>&5
7293      echo "$RANLIB libconftest.a" >&5
7294      $RANLIB libconftest.a 2>&5
7295      cat > conftest.c << _LT_EOF
7296int main() { return 0;}
7297_LT_EOF
7298      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7299      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7300      _lt_result=$?
7301      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7302	lt_cv_ld_force_load=yes
7303      else
7304	cat conftest.err >&5
7305      fi
7306        rm -f conftest.err libconftest.a conftest conftest.c
7307        rm -rf conftest.dSYM
7308
7309fi
7310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7311$as_echo "$lt_cv_ld_force_load" >&6; }
7312    case $host_os in
7313    rhapsody* | darwin1.[012])
7314      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7315    darwin1.*)
7316      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7317    darwin*) # darwin 5.x on
7318      # if running on 10.5 or later, the deployment target defaults
7319      # to the OS version, if on x86, and 10.4, the deployment
7320      # target defaults to 10.4. Don't you love it?
7321      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7322	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7323	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7324	10.[012]*)
7325	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7326	10.*)
7327	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7328      esac
7329    ;;
7330  esac
7331    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7332      _lt_dar_single_mod='$single_module'
7333    fi
7334    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7335      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7336    else
7337      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7338    fi
7339    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7340      _lt_dsymutil='~$DSYMUTIL $lib || :'
7341    else
7342      _lt_dsymutil=
7343    fi
7344    ;;
7345  esac
7346
7347# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7348for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7349		  inttypes.h stdint.h unistd.h
7350do :
7351  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7352ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7353"
7354if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7355  cat >>confdefs.h <<_ACEOF
7356#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7357_ACEOF
7358
7359fi
7360
7361done
7362
7363
7364for ac_header in dlfcn.h
7365do :
7366  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7367"
7368if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7369  cat >>confdefs.h <<_ACEOF
7370#define HAVE_DLFCN_H 1
7371_ACEOF
7372
7373fi
7374
7375done
7376
7377
7378
7379
7380
7381# Set options
7382
7383
7384
7385        enable_dlopen=no
7386
7387
7388  enable_win32_dll=no
7389
7390
7391            # Check whether --enable-shared was given.
7392if test "${enable_shared+set}" = set; then :
7393  enableval=$enable_shared; p=${PACKAGE-default}
7394    case $enableval in
7395    yes) enable_shared=yes ;;
7396    no) enable_shared=no ;;
7397    *)
7398      enable_shared=no
7399      # Look at the argument we got.  We use all the common list separators.
7400      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7401      for pkg in $enableval; do
7402	IFS="$lt_save_ifs"
7403	if test "X$pkg" = "X$p"; then
7404	  enable_shared=yes
7405	fi
7406      done
7407      IFS="$lt_save_ifs"
7408      ;;
7409    esac
7410else
7411  enable_shared=yes
7412fi
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422  # Check whether --enable-static was given.
7423if test "${enable_static+set}" = set; then :
7424  enableval=$enable_static; p=${PACKAGE-default}
7425    case $enableval in
7426    yes) enable_static=yes ;;
7427    no) enable_static=no ;;
7428    *)
7429     enable_static=no
7430      # Look at the argument we got.  We use all the common list separators.
7431      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7432      for pkg in $enableval; do
7433	IFS="$lt_save_ifs"
7434	if test "X$pkg" = "X$p"; then
7435	  enable_static=yes
7436	fi
7437      done
7438      IFS="$lt_save_ifs"
7439      ;;
7440    esac
7441else
7442  enable_static=yes
7443fi
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454# Check whether --with-pic was given.
7455if test "${with_pic+set}" = set; then :
7456  withval=$with_pic; pic_mode="$withval"
7457else
7458  pic_mode=default
7459fi
7460
7461
7462test -z "$pic_mode" && pic_mode=default
7463
7464
7465
7466
7467
7468
7469
7470  # Check whether --enable-fast-install was given.
7471if test "${enable_fast_install+set}" = set; then :
7472  enableval=$enable_fast_install; p=${PACKAGE-default}
7473    case $enableval in
7474    yes) enable_fast_install=yes ;;
7475    no) enable_fast_install=no ;;
7476    *)
7477      enable_fast_install=no
7478      # Look at the argument we got.  We use all the common list separators.
7479      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7480      for pkg in $enableval; do
7481	IFS="$lt_save_ifs"
7482	if test "X$pkg" = "X$p"; then
7483	  enable_fast_install=yes
7484	fi
7485      done
7486      IFS="$lt_save_ifs"
7487      ;;
7488    esac
7489else
7490  enable_fast_install=yes
7491fi
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503# This can be used to rebuild libtool when needed
7504LIBTOOL_DEPS="$ltmain"
7505
7506# Always use our own libtool.
7507LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534test -z "$LN_S" && LN_S="ln -s"
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549if test -n "${ZSH_VERSION+set}" ; then
7550   setopt NO_GLOB_SUBST
7551fi
7552
7553{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7554$as_echo_n "checking for objdir... " >&6; }
7555if ${lt_cv_objdir+:} false; then :
7556  $as_echo_n "(cached) " >&6
7557else
7558  rm -f .libs 2>/dev/null
7559mkdir .libs 2>/dev/null
7560if test -d .libs; then
7561  lt_cv_objdir=.libs
7562else
7563  # MS-DOS does not allow filenames that begin with a dot.
7564  lt_cv_objdir=_libs
7565fi
7566rmdir .libs 2>/dev/null
7567fi
7568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7569$as_echo "$lt_cv_objdir" >&6; }
7570objdir=$lt_cv_objdir
7571
7572
7573
7574
7575
7576cat >>confdefs.h <<_ACEOF
7577#define LT_OBJDIR "$lt_cv_objdir/"
7578_ACEOF
7579
7580
7581
7582
7583case $host_os in
7584aix3*)
7585  # AIX sometimes has problems with the GCC collect2 program.  For some
7586  # reason, if we set the COLLECT_NAMES environment variable, the problems
7587  # vanish in a puff of smoke.
7588  if test "X${COLLECT_NAMES+set}" != Xset; then
7589    COLLECT_NAMES=
7590    export COLLECT_NAMES
7591  fi
7592  ;;
7593esac
7594
7595# Global variables:
7596ofile=libtool
7597can_build_shared=yes
7598
7599# All known linkers require a `.a' archive for static linking (except MSVC,
7600# which needs '.lib').
7601libext=a
7602
7603with_gnu_ld="$lt_cv_prog_gnu_ld"
7604
7605old_CC="$CC"
7606old_CFLAGS="$CFLAGS"
7607
7608# Set sane defaults for various variables
7609test -z "$CC" && CC=cc
7610test -z "$LTCC" && LTCC=$CC
7611test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7612test -z "$LD" && LD=ld
7613test -z "$ac_objext" && ac_objext=o
7614
7615for cc_temp in $compiler""; do
7616  case $cc_temp in
7617    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7618    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7619    \-*) ;;
7620    *) break;;
7621  esac
7622done
7623cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7624
7625
7626# Only perform the check for file, if the check method requires it
7627test -z "$MAGIC_CMD" && MAGIC_CMD=file
7628case $deplibs_check_method in
7629file_magic*)
7630  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7631    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7632$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7633if ${lt_cv_path_MAGIC_CMD+:} false; then :
7634  $as_echo_n "(cached) " >&6
7635else
7636  case $MAGIC_CMD in
7637[\\/*] |  ?:[\\/]*)
7638  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7639  ;;
7640*)
7641  lt_save_MAGIC_CMD="$MAGIC_CMD"
7642  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7643  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7644  for ac_dir in $ac_dummy; do
7645    IFS="$lt_save_ifs"
7646    test -z "$ac_dir" && ac_dir=.
7647    if test -f $ac_dir/${ac_tool_prefix}file; then
7648      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7649      if test -n "$file_magic_test_file"; then
7650	case $deplibs_check_method in
7651	"file_magic "*)
7652	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7653	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7654	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7655	    $EGREP "$file_magic_regex" > /dev/null; then
7656	    :
7657	  else
7658	    cat <<_LT_EOF 1>&2
7659
7660*** Warning: the command libtool uses to detect shared libraries,
7661*** $file_magic_cmd, produces output that libtool cannot recognize.
7662*** The result is that libtool may fail to recognize shared libraries
7663*** as such.  This will affect the creation of libtool libraries that
7664*** depend on shared libraries, but programs linked with such libtool
7665*** libraries will work regardless of this problem.  Nevertheless, you
7666*** may want to report the problem to your system manager and/or to
7667*** bug-libtool@gnu.org
7668
7669_LT_EOF
7670	  fi ;;
7671	esac
7672      fi
7673      break
7674    fi
7675  done
7676  IFS="$lt_save_ifs"
7677  MAGIC_CMD="$lt_save_MAGIC_CMD"
7678  ;;
7679esac
7680fi
7681
7682MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7683if test -n "$MAGIC_CMD"; then
7684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7685$as_echo "$MAGIC_CMD" >&6; }
7686else
7687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688$as_echo "no" >&6; }
7689fi
7690
7691
7692
7693
7694
7695if test -z "$lt_cv_path_MAGIC_CMD"; then
7696  if test -n "$ac_tool_prefix"; then
7697    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7698$as_echo_n "checking for file... " >&6; }
7699if ${lt_cv_path_MAGIC_CMD+:} false; then :
7700  $as_echo_n "(cached) " >&6
7701else
7702  case $MAGIC_CMD in
7703[\\/*] |  ?:[\\/]*)
7704  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7705  ;;
7706*)
7707  lt_save_MAGIC_CMD="$MAGIC_CMD"
7708  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7709  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7710  for ac_dir in $ac_dummy; do
7711    IFS="$lt_save_ifs"
7712    test -z "$ac_dir" && ac_dir=.
7713    if test -f $ac_dir/file; then
7714      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7715      if test -n "$file_magic_test_file"; then
7716	case $deplibs_check_method in
7717	"file_magic "*)
7718	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7719	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7720	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7721	    $EGREP "$file_magic_regex" > /dev/null; then
7722	    :
7723	  else
7724	    cat <<_LT_EOF 1>&2
7725
7726*** Warning: the command libtool uses to detect shared libraries,
7727*** $file_magic_cmd, produces output that libtool cannot recognize.
7728*** The result is that libtool may fail to recognize shared libraries
7729*** as such.  This will affect the creation of libtool libraries that
7730*** depend on shared libraries, but programs linked with such libtool
7731*** libraries will work regardless of this problem.  Nevertheless, you
7732*** may want to report the problem to your system manager and/or to
7733*** bug-libtool@gnu.org
7734
7735_LT_EOF
7736	  fi ;;
7737	esac
7738      fi
7739      break
7740    fi
7741  done
7742  IFS="$lt_save_ifs"
7743  MAGIC_CMD="$lt_save_MAGIC_CMD"
7744  ;;
7745esac
7746fi
7747
7748MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7749if test -n "$MAGIC_CMD"; then
7750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7751$as_echo "$MAGIC_CMD" >&6; }
7752else
7753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7754$as_echo "no" >&6; }
7755fi
7756
7757
7758  else
7759    MAGIC_CMD=:
7760  fi
7761fi
7762
7763  fi
7764  ;;
7765esac
7766
7767# Use C for the default configuration in the libtool script
7768
7769lt_save_CC="$CC"
7770ac_ext=c
7771ac_cpp='$CPP $CPPFLAGS'
7772ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7773ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7774ac_compiler_gnu=$ac_cv_c_compiler_gnu
7775
7776
7777# Source file extension for C test sources.
7778ac_ext=c
7779
7780# Object file extension for compiled C test sources.
7781objext=o
7782objext=$objext
7783
7784# Code to be used in simple compile tests
7785lt_simple_compile_test_code="int some_variable = 0;"
7786
7787# Code to be used in simple link tests
7788lt_simple_link_test_code='int main(){return(0);}'
7789
7790
7791
7792
7793
7794
7795
7796# If no C compiler was specified, use CC.
7797LTCC=${LTCC-"$CC"}
7798
7799# If no C compiler flags were specified, use CFLAGS.
7800LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7801
7802# Allow CC to be a program name with arguments.
7803compiler=$CC
7804
7805# Save the default compiler, since it gets overwritten when the other
7806# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7807compiler_DEFAULT=$CC
7808
7809# save warnings/boilerplate of simple test code
7810ac_outfile=conftest.$ac_objext
7811echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7812eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7813_lt_compiler_boilerplate=`cat conftest.err`
7814$RM conftest*
7815
7816ac_outfile=conftest.$ac_objext
7817echo "$lt_simple_link_test_code" >conftest.$ac_ext
7818eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7819_lt_linker_boilerplate=`cat conftest.err`
7820$RM -r conftest*
7821
7822
7823## CAVEAT EMPTOR:
7824## There is no encapsulation within the following macros, do not change
7825## the running order or otherwise move them around unless you know exactly
7826## what you are doing...
7827if test -n "$compiler"; then
7828
7829lt_prog_compiler_no_builtin_flag=
7830
7831if test "$GCC" = yes; then
7832  case $cc_basename in
7833  nvcc*)
7834    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7835  *)
7836    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7837  esac
7838
7839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7840$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7841if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7842  $as_echo_n "(cached) " >&6
7843else
7844  lt_cv_prog_compiler_rtti_exceptions=no
7845   ac_outfile=conftest.$ac_objext
7846   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7847   lt_compiler_flag="-fno-rtti -fno-exceptions"
7848   # Insert the option either (1) after the last *FLAGS variable, or
7849   # (2) before a word containing "conftest.", or (3) at the end.
7850   # Note that $ac_compile itself does not contain backslashes and begins
7851   # with a dollar sign (not a hyphen), so the echo should work correctly.
7852   # The option is referenced via a variable to avoid confusing sed.
7853   lt_compile=`echo "$ac_compile" | $SED \
7854   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7855   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7856   -e 's:$: $lt_compiler_flag:'`
7857   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7858   (eval "$lt_compile" 2>conftest.err)
7859   ac_status=$?
7860   cat conftest.err >&5
7861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862   if (exit $ac_status) && test -s "$ac_outfile"; then
7863     # The compiler can only warn and ignore the option if not recognized
7864     # So say no if there are warnings other than the usual output.
7865     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7866     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7867     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7868       lt_cv_prog_compiler_rtti_exceptions=yes
7869     fi
7870   fi
7871   $RM conftest*
7872
7873fi
7874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7875$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7876
7877if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7878    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7879else
7880    :
7881fi
7882
7883fi
7884
7885
7886
7887
7888
7889
7890  lt_prog_compiler_wl=
7891lt_prog_compiler_pic=
7892lt_prog_compiler_static=
7893
7894
7895  if test "$GCC" = yes; then
7896    lt_prog_compiler_wl='-Wl,'
7897    lt_prog_compiler_static='-static'
7898
7899    case $host_os in
7900      aix*)
7901      # All AIX code is PIC.
7902      if test "$host_cpu" = ia64; then
7903	# AIX 5 now supports IA64 processor
7904	lt_prog_compiler_static='-Bstatic'
7905      fi
7906      ;;
7907
7908    amigaos*)
7909      case $host_cpu in
7910      powerpc)
7911            # see comment about AmigaOS4 .so support
7912            lt_prog_compiler_pic='-fPIC'
7913        ;;
7914      m68k)
7915            # FIXME: we need at least 68020 code to build shared libraries, but
7916            # adding the `-m68020' flag to GCC prevents building anything better,
7917            # like `-m68040'.
7918            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7919        ;;
7920      esac
7921      ;;
7922
7923    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7924      # PIC is the default for these OSes.
7925      ;;
7926
7927    mingw* | cygwin* | pw32* | os2* | cegcc*)
7928      # This hack is so that the source file can tell whether it is being
7929      # built for inclusion in a dll (and should export symbols for example).
7930      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7931      # (--disable-auto-import) libraries
7932      lt_prog_compiler_pic='-DDLL_EXPORT'
7933      ;;
7934
7935    darwin* | rhapsody*)
7936      # PIC is the default on this platform
7937      # Common symbols not allowed in MH_DYLIB files
7938      lt_prog_compiler_pic='-fno-common'
7939      ;;
7940
7941    haiku*)
7942      # PIC is the default for Haiku.
7943      # The "-static" flag exists, but is broken.
7944      lt_prog_compiler_static=
7945      ;;
7946
7947    hpux*)
7948      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7949      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7950      # sets the default TLS model and affects inlining.
7951      case $host_cpu in
7952      hppa*64*)
7953	# +Z the default
7954	;;
7955      *)
7956	lt_prog_compiler_pic='-fPIC'
7957	;;
7958      esac
7959      ;;
7960
7961    interix[3-9]*)
7962      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7963      # Instead, we relocate shared libraries at runtime.
7964      ;;
7965
7966    msdosdjgpp*)
7967      # Just because we use GCC doesn't mean we suddenly get shared libraries
7968      # on systems that don't support them.
7969      lt_prog_compiler_can_build_shared=no
7970      enable_shared=no
7971      ;;
7972
7973    *nto* | *qnx*)
7974      # QNX uses GNU C++, but need to define -shared option too, otherwise
7975      # it will coredump.
7976      lt_prog_compiler_pic='-fPIC -shared'
7977      ;;
7978
7979    sysv4*MP*)
7980      if test -d /usr/nec; then
7981	lt_prog_compiler_pic=-Kconform_pic
7982      fi
7983      ;;
7984
7985    *)
7986      lt_prog_compiler_pic='-fPIC'
7987      ;;
7988    esac
7989
7990    case $cc_basename in
7991    nvcc*) # Cuda Compiler Driver 2.2
7992      lt_prog_compiler_wl='-Xlinker '
7993      lt_prog_compiler_pic='-Xcompiler -fPIC'
7994      ;;
7995    esac
7996  else
7997    # PORTME Check for flag to pass linker flags through the system compiler.
7998    case $host_os in
7999    aix*)
8000      lt_prog_compiler_wl='-Wl,'
8001      if test "$host_cpu" = ia64; then
8002	# AIX 5 now supports IA64 processor
8003	lt_prog_compiler_static='-Bstatic'
8004      else
8005	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8006      fi
8007      ;;
8008
8009    mingw* | cygwin* | pw32* | os2* | cegcc*)
8010      # This hack is so that the source file can tell whether it is being
8011      # built for inclusion in a dll (and should export symbols for example).
8012      lt_prog_compiler_pic='-DDLL_EXPORT'
8013      ;;
8014
8015    hpux9* | hpux10* | hpux11*)
8016      lt_prog_compiler_wl='-Wl,'
8017      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8018      # not for PA HP-UX.
8019      case $host_cpu in
8020      hppa*64*|ia64*)
8021	# +Z the default
8022	;;
8023      *)
8024	lt_prog_compiler_pic='+Z'
8025	;;
8026      esac
8027      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8028      lt_prog_compiler_static='${wl}-a ${wl}archive'
8029      ;;
8030
8031    irix5* | irix6* | nonstopux*)
8032      lt_prog_compiler_wl='-Wl,'
8033      # PIC (with -KPIC) is the default.
8034      lt_prog_compiler_static='-non_shared'
8035      ;;
8036
8037    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8038      case $cc_basename in
8039      # old Intel for x86_64 which still supported -KPIC.
8040      ecc*)
8041	lt_prog_compiler_wl='-Wl,'
8042	lt_prog_compiler_pic='-KPIC'
8043	lt_prog_compiler_static='-static'
8044        ;;
8045      # icc used to be incompatible with GCC.
8046      # ICC 10 doesn't accept -KPIC any more.
8047      icc* | ifort*)
8048	lt_prog_compiler_wl='-Wl,'
8049	lt_prog_compiler_pic='-fPIC'
8050	lt_prog_compiler_static='-static'
8051        ;;
8052      # Lahey Fortran 8.1.
8053      lf95*)
8054	lt_prog_compiler_wl='-Wl,'
8055	lt_prog_compiler_pic='--shared'
8056	lt_prog_compiler_static='--static'
8057	;;
8058      nagfor*)
8059	# NAG Fortran compiler
8060	lt_prog_compiler_wl='-Wl,-Wl,,'
8061	lt_prog_compiler_pic='-PIC'
8062	lt_prog_compiler_static='-Bstatic'
8063	;;
8064      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8065        # Portland Group compilers (*not* the Pentium gcc compiler,
8066	# which looks to be a dead project)
8067	lt_prog_compiler_wl='-Wl,'
8068	lt_prog_compiler_pic='-fpic'
8069	lt_prog_compiler_static='-Bstatic'
8070        ;;
8071      ccc*)
8072        lt_prog_compiler_wl='-Wl,'
8073        # All Alpha code is PIC.
8074        lt_prog_compiler_static='-non_shared'
8075        ;;
8076      xl* | bgxl* | bgf* | mpixl*)
8077	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8078	lt_prog_compiler_wl='-Wl,'
8079	lt_prog_compiler_pic='-qpic'
8080	lt_prog_compiler_static='-qstaticlink'
8081	;;
8082      *)
8083	case `$CC -V 2>&1 | sed 5q` in
8084	*Sun\ F* | *Sun*Fortran*)
8085	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8086	  lt_prog_compiler_pic='-KPIC'
8087	  lt_prog_compiler_static='-Bstatic'
8088	  lt_prog_compiler_wl=''
8089	  ;;
8090	*Sun\ C*)
8091	  # Sun C 5.9
8092	  lt_prog_compiler_pic='-KPIC'
8093	  lt_prog_compiler_static='-Bstatic'
8094	  lt_prog_compiler_wl='-Wl,'
8095	  ;;
8096	esac
8097	;;
8098      esac
8099      ;;
8100
8101    newsos6)
8102      lt_prog_compiler_pic='-KPIC'
8103      lt_prog_compiler_static='-Bstatic'
8104      ;;
8105
8106    *nto* | *qnx*)
8107      # QNX uses GNU C++, but need to define -shared option too, otherwise
8108      # it will coredump.
8109      lt_prog_compiler_pic='-fPIC -shared'
8110      ;;
8111
8112    osf3* | osf4* | osf5*)
8113      lt_prog_compiler_wl='-Wl,'
8114      # All OSF/1 code is PIC.
8115      lt_prog_compiler_static='-non_shared'
8116      ;;
8117
8118    rdos*)
8119      lt_prog_compiler_static='-non_shared'
8120      ;;
8121
8122    solaris*)
8123      lt_prog_compiler_pic='-KPIC'
8124      lt_prog_compiler_static='-Bstatic'
8125      case $cc_basename in
8126      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8127	lt_prog_compiler_wl='-Qoption ld ';;
8128      *)
8129	lt_prog_compiler_wl='-Wl,';;
8130      esac
8131      ;;
8132
8133    sunos4*)
8134      lt_prog_compiler_wl='-Qoption ld '
8135      lt_prog_compiler_pic='-PIC'
8136      lt_prog_compiler_static='-Bstatic'
8137      ;;
8138
8139    sysv4 | sysv4.2uw2* | sysv4.3*)
8140      lt_prog_compiler_wl='-Wl,'
8141      lt_prog_compiler_pic='-KPIC'
8142      lt_prog_compiler_static='-Bstatic'
8143      ;;
8144
8145    sysv4*MP*)
8146      if test -d /usr/nec ;then
8147	lt_prog_compiler_pic='-Kconform_pic'
8148	lt_prog_compiler_static='-Bstatic'
8149      fi
8150      ;;
8151
8152    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8153      lt_prog_compiler_wl='-Wl,'
8154      lt_prog_compiler_pic='-KPIC'
8155      lt_prog_compiler_static='-Bstatic'
8156      ;;
8157
8158    unicos*)
8159      lt_prog_compiler_wl='-Wl,'
8160      lt_prog_compiler_can_build_shared=no
8161      ;;
8162
8163    uts4*)
8164      lt_prog_compiler_pic='-pic'
8165      lt_prog_compiler_static='-Bstatic'
8166      ;;
8167
8168    *)
8169      lt_prog_compiler_can_build_shared=no
8170      ;;
8171    esac
8172  fi
8173
8174case $host_os in
8175  # For platforms which do not support PIC, -DPIC is meaningless:
8176  *djgpp*)
8177    lt_prog_compiler_pic=
8178    ;;
8179  *)
8180    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8181    ;;
8182esac
8183
8184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8185$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8186if ${lt_cv_prog_compiler_pic+:} false; then :
8187  $as_echo_n "(cached) " >&6
8188else
8189  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8190fi
8191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8192$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8193lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8194
8195#
8196# Check to make sure the PIC flag actually works.
8197#
8198if test -n "$lt_prog_compiler_pic"; then
8199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8200$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8201if ${lt_cv_prog_compiler_pic_works+:} false; then :
8202  $as_echo_n "(cached) " >&6
8203else
8204  lt_cv_prog_compiler_pic_works=no
8205   ac_outfile=conftest.$ac_objext
8206   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8207   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8208   # Insert the option either (1) after the last *FLAGS variable, or
8209   # (2) before a word containing "conftest.", or (3) at the end.
8210   # Note that $ac_compile itself does not contain backslashes and begins
8211   # with a dollar sign (not a hyphen), so the echo should work correctly.
8212   # The option is referenced via a variable to avoid confusing sed.
8213   lt_compile=`echo "$ac_compile" | $SED \
8214   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8215   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8216   -e 's:$: $lt_compiler_flag:'`
8217   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8218   (eval "$lt_compile" 2>conftest.err)
8219   ac_status=$?
8220   cat conftest.err >&5
8221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8222   if (exit $ac_status) && test -s "$ac_outfile"; then
8223     # The compiler can only warn and ignore the option if not recognized
8224     # So say no if there are warnings other than the usual output.
8225     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8226     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8227     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8228       lt_cv_prog_compiler_pic_works=yes
8229     fi
8230   fi
8231   $RM conftest*
8232
8233fi
8234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8235$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8236
8237if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8238    case $lt_prog_compiler_pic in
8239     "" | " "*) ;;
8240     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8241     esac
8242else
8243    lt_prog_compiler_pic=
8244     lt_prog_compiler_can_build_shared=no
8245fi
8246
8247fi
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259#
8260# Check to make sure the static flag actually works.
8261#
8262wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8264$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8265if ${lt_cv_prog_compiler_static_works+:} false; then :
8266  $as_echo_n "(cached) " >&6
8267else
8268  lt_cv_prog_compiler_static_works=no
8269   save_LDFLAGS="$LDFLAGS"
8270   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8271   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8272   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8273     # The linker can only warn and ignore the option if not recognized
8274     # So say no if there are warnings
8275     if test -s conftest.err; then
8276       # Append any errors to the config.log.
8277       cat conftest.err 1>&5
8278       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8279       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8280       if diff conftest.exp conftest.er2 >/dev/null; then
8281         lt_cv_prog_compiler_static_works=yes
8282       fi
8283     else
8284       lt_cv_prog_compiler_static_works=yes
8285     fi
8286   fi
8287   $RM -r conftest*
8288   LDFLAGS="$save_LDFLAGS"
8289
8290fi
8291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8292$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8293
8294if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8295    :
8296else
8297    lt_prog_compiler_static=
8298fi
8299
8300
8301
8302
8303
8304
8305
8306  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8307$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8308if ${lt_cv_prog_compiler_c_o+:} false; then :
8309  $as_echo_n "(cached) " >&6
8310else
8311  lt_cv_prog_compiler_c_o=no
8312   $RM -r conftest 2>/dev/null
8313   mkdir conftest
8314   cd conftest
8315   mkdir out
8316   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8317
8318   lt_compiler_flag="-o out/conftest2.$ac_objext"
8319   # Insert the option either (1) after the last *FLAGS variable, or
8320   # (2) before a word containing "conftest.", or (3) at the end.
8321   # Note that $ac_compile itself does not contain backslashes and begins
8322   # with a dollar sign (not a hyphen), so the echo should work correctly.
8323   lt_compile=`echo "$ac_compile" | $SED \
8324   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8325   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8326   -e 's:$: $lt_compiler_flag:'`
8327   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8328   (eval "$lt_compile" 2>out/conftest.err)
8329   ac_status=$?
8330   cat out/conftest.err >&5
8331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8333   then
8334     # The compiler can only warn and ignore the option if not recognized
8335     # So say no if there are warnings
8336     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8337     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8338     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8339       lt_cv_prog_compiler_c_o=yes
8340     fi
8341   fi
8342   chmod u+w . 2>&5
8343   $RM conftest*
8344   # SGI C++ compiler will create directory out/ii_files/ for
8345   # template instantiation
8346   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8347   $RM out/* && rmdir out
8348   cd ..
8349   $RM -r conftest
8350   $RM conftest*
8351
8352fi
8353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8354$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8355
8356
8357
8358
8359
8360
8361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8362$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8363if ${lt_cv_prog_compiler_c_o+:} false; then :
8364  $as_echo_n "(cached) " >&6
8365else
8366  lt_cv_prog_compiler_c_o=no
8367   $RM -r conftest 2>/dev/null
8368   mkdir conftest
8369   cd conftest
8370   mkdir out
8371   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8372
8373   lt_compiler_flag="-o out/conftest2.$ac_objext"
8374   # Insert the option either (1) after the last *FLAGS variable, or
8375   # (2) before a word containing "conftest.", or (3) at the end.
8376   # Note that $ac_compile itself does not contain backslashes and begins
8377   # with a dollar sign (not a hyphen), so the echo should work correctly.
8378   lt_compile=`echo "$ac_compile" | $SED \
8379   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8380   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8381   -e 's:$: $lt_compiler_flag:'`
8382   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8383   (eval "$lt_compile" 2>out/conftest.err)
8384   ac_status=$?
8385   cat out/conftest.err >&5
8386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8387   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8388   then
8389     # The compiler can only warn and ignore the option if not recognized
8390     # So say no if there are warnings
8391     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8392     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8393     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8394       lt_cv_prog_compiler_c_o=yes
8395     fi
8396   fi
8397   chmod u+w . 2>&5
8398   $RM conftest*
8399   # SGI C++ compiler will create directory out/ii_files/ for
8400   # template instantiation
8401   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8402   $RM out/* && rmdir out
8403   cd ..
8404   $RM -r conftest
8405   $RM conftest*
8406
8407fi
8408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8409$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8410
8411
8412
8413
8414hard_links="nottested"
8415if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8416  # do not overwrite the value of need_locks provided by the user
8417  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8418$as_echo_n "checking if we can lock with hard links... " >&6; }
8419  hard_links=yes
8420  $RM conftest*
8421  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8422  touch conftest.a
8423  ln conftest.a conftest.b 2>&5 || hard_links=no
8424  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8426$as_echo "$hard_links" >&6; }
8427  if test "$hard_links" = no; then
8428    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8429$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8430    need_locks=warn
8431  fi
8432else
8433  need_locks=no
8434fi
8435
8436
8437
8438
8439
8440
8441  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8442$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8443
8444  runpath_var=
8445  allow_undefined_flag=
8446  always_export_symbols=no
8447  archive_cmds=
8448  archive_expsym_cmds=
8449  compiler_needs_object=no
8450  enable_shared_with_static_runtimes=no
8451  export_dynamic_flag_spec=
8452  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8453  hardcode_automatic=no
8454  hardcode_direct=no
8455  hardcode_direct_absolute=no
8456  hardcode_libdir_flag_spec=
8457  hardcode_libdir_flag_spec_ld=
8458  hardcode_libdir_separator=
8459  hardcode_minus_L=no
8460  hardcode_shlibpath_var=unsupported
8461  inherit_rpath=no
8462  link_all_deplibs=unknown
8463  module_cmds=
8464  module_expsym_cmds=
8465  old_archive_from_new_cmds=
8466  old_archive_from_expsyms_cmds=
8467  thread_safe_flag_spec=
8468  whole_archive_flag_spec=
8469  # include_expsyms should be a list of space-separated symbols to be *always*
8470  # included in the symbol list
8471  include_expsyms=
8472  # exclude_expsyms can be an extended regexp of symbols to exclude
8473  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8474  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8475  # as well as any symbol that contains `d'.
8476  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8477  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8478  # platforms (ab)use it in PIC code, but their linkers get confused if
8479  # the symbol is explicitly referenced.  Since portable code cannot
8480  # rely on this symbol name, it's probably fine to never include it in
8481  # preloaded symbol tables.
8482  # Exclude shared library initialization/finalization symbols.
8483  extract_expsyms_cmds=
8484
8485  case $host_os in
8486  cygwin* | mingw* | pw32* | cegcc*)
8487    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8488    # When not using gcc, we currently assume that we are using
8489    # Microsoft Visual C++.
8490    if test "$GCC" != yes; then
8491      with_gnu_ld=no
8492    fi
8493    ;;
8494  interix*)
8495    # we just hope/assume this is gcc and not c89 (= MSVC++)
8496    with_gnu_ld=yes
8497    ;;
8498  openbsd*)
8499    with_gnu_ld=no
8500    ;;
8501  esac
8502
8503  ld_shlibs=yes
8504
8505  # On some targets, GNU ld is compatible enough with the native linker
8506  # that we're better off using the native interface for both.
8507  lt_use_gnu_ld_interface=no
8508  if test "$with_gnu_ld" = yes; then
8509    case $host_os in
8510      aix*)
8511	# The AIX port of GNU ld has always aspired to compatibility
8512	# with the native linker.  However, as the warning in the GNU ld
8513	# block says, versions before 2.19.5* couldn't really create working
8514	# shared libraries, regardless of the interface used.
8515	case `$LD -v 2>&1` in
8516	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8517	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8518	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8519	  *)
8520	    lt_use_gnu_ld_interface=yes
8521	    ;;
8522	esac
8523	;;
8524      *)
8525	lt_use_gnu_ld_interface=yes
8526	;;
8527    esac
8528  fi
8529
8530  if test "$lt_use_gnu_ld_interface" = yes; then
8531    # If archive_cmds runs LD, not CC, wlarc should be empty
8532    wlarc='${wl}'
8533
8534    # Set some defaults for GNU ld with shared library support. These
8535    # are reset later if shared libraries are not supported. Putting them
8536    # here allows them to be overridden if necessary.
8537    runpath_var=LD_RUN_PATH
8538    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8539    export_dynamic_flag_spec='${wl}--export-dynamic'
8540    # ancient GNU ld didn't support --whole-archive et. al.
8541    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8542      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8543    else
8544      whole_archive_flag_spec=
8545    fi
8546    supports_anon_versioning=no
8547    case `$LD -v 2>&1` in
8548      *GNU\ gold*) supports_anon_versioning=yes ;;
8549      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8550      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8551      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8552      *\ 2.11.*) ;; # other 2.11 versions
8553      *) supports_anon_versioning=yes ;;
8554    esac
8555
8556    # See if GNU ld supports shared libraries.
8557    case $host_os in
8558    aix[3-9]*)
8559      # On AIX/PPC, the GNU linker is very broken
8560      if test "$host_cpu" != ia64; then
8561	ld_shlibs=no
8562	cat <<_LT_EOF 1>&2
8563
8564*** Warning: the GNU linker, at least up to release 2.19, is reported
8565*** to be unable to reliably create shared libraries on AIX.
8566*** Therefore, libtool is disabling shared libraries support.  If you
8567*** really care for shared libraries, you may want to install binutils
8568*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8569*** You will then need to restart the configuration process.
8570
8571_LT_EOF
8572      fi
8573      ;;
8574
8575    amigaos*)
8576      case $host_cpu in
8577      powerpc)
8578            # see comment about AmigaOS4 .so support
8579            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8580            archive_expsym_cmds=''
8581        ;;
8582      m68k)
8583            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)'
8584            hardcode_libdir_flag_spec='-L$libdir'
8585            hardcode_minus_L=yes
8586        ;;
8587      esac
8588      ;;
8589
8590    beos*)
8591      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8592	allow_undefined_flag=unsupported
8593	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8594	# support --undefined.  This deserves some investigation.  FIXME
8595	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8596      else
8597	ld_shlibs=no
8598      fi
8599      ;;
8600
8601    cygwin* | mingw* | pw32* | cegcc*)
8602      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8603      # as there is no search path for DLLs.
8604      hardcode_libdir_flag_spec='-L$libdir'
8605      export_dynamic_flag_spec='${wl}--export-all-symbols'
8606      allow_undefined_flag=unsupported
8607      always_export_symbols=no
8608      enable_shared_with_static_runtimes=yes
8609      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'
8610      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8611
8612      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8613        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8614	# If the export-symbols file already is a .def file (1st line
8615	# is EXPORTS), use it as is; otherwise, prepend...
8616	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8617	  cp $export_symbols $output_objdir/$soname.def;
8618	else
8619	  echo EXPORTS > $output_objdir/$soname.def;
8620	  cat $export_symbols >> $output_objdir/$soname.def;
8621	fi~
8622	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8623      else
8624	ld_shlibs=no
8625      fi
8626      ;;
8627
8628    haiku*)
8629      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8630      link_all_deplibs=yes
8631      ;;
8632
8633    interix[3-9]*)
8634      hardcode_direct=no
8635      hardcode_shlibpath_var=no
8636      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8637      export_dynamic_flag_spec='${wl}-E'
8638      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8639      # Instead, shared libraries are loaded at an image base (0x10000000 by
8640      # default) and relocated if they conflict, which is a slow very memory
8641      # consuming and fragmenting process.  To avoid this, we pick a random,
8642      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8643      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8644      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8645      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'
8646      ;;
8647
8648    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8649      tmp_diet=no
8650      if test "$host_os" = linux-dietlibc; then
8651	case $cc_basename in
8652	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8653	esac
8654      fi
8655      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8656	 && test "$tmp_diet" = no
8657      then
8658	tmp_addflag=' $pic_flag'
8659	tmp_sharedflag='-shared'
8660	case $cc_basename,$host_cpu in
8661        pgcc*)				# Portland Group C compiler
8662	  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'
8663	  tmp_addflag=' $pic_flag'
8664	  ;;
8665	pgf77* | pgf90* | pgf95* | pgfortran*)
8666					# Portland Group f77 and f90 compilers
8667	  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'
8668	  tmp_addflag=' $pic_flag -Mnomain' ;;
8669	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8670	  tmp_addflag=' -i_dynamic' ;;
8671	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8672	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8673	ifc* | ifort*)			# Intel Fortran compiler
8674	  tmp_addflag=' -nofor_main' ;;
8675	lf95*)				# Lahey Fortran 8.1
8676	  whole_archive_flag_spec=
8677	  tmp_sharedflag='--shared' ;;
8678	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8679	  tmp_sharedflag='-qmkshrobj'
8680	  tmp_addflag= ;;
8681	nvcc*)	# Cuda Compiler Driver 2.2
8682	  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'
8683	  compiler_needs_object=yes
8684	  ;;
8685	esac
8686	case `$CC -V 2>&1 | sed 5q` in
8687	*Sun\ C*)			# Sun C 5.9
8688	  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'
8689	  compiler_needs_object=yes
8690	  tmp_sharedflag='-G' ;;
8691	*Sun\ F*)			# Sun Fortran 8.3
8692	  tmp_sharedflag='-G' ;;
8693	esac
8694	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8695
8696        if test "x$supports_anon_versioning" = xyes; then
8697          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8698	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8699	    echo "local: *; };" >> $output_objdir/$libname.ver~
8700	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8701        fi
8702
8703	case $cc_basename in
8704	xlf* | bgf* | bgxlf* | mpixlf*)
8705	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8706	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8707	  hardcode_libdir_flag_spec=
8708	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8709	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8710	  if test "x$supports_anon_versioning" = xyes; then
8711	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8712	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8713	      echo "local: *; };" >> $output_objdir/$libname.ver~
8714	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8715	  fi
8716	  ;;
8717	esac
8718      else
8719        ld_shlibs=no
8720      fi
8721      ;;
8722
8723    netbsd*)
8724      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8725	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8726	wlarc=
8727      else
8728	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8729	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8730      fi
8731      ;;
8732
8733    solaris*)
8734      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8735	ld_shlibs=no
8736	cat <<_LT_EOF 1>&2
8737
8738*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8739*** create shared libraries on Solaris systems.  Therefore, libtool
8740*** is disabling shared libraries support.  We urge you to upgrade GNU
8741*** binutils to release 2.9.1 or newer.  Another option is to modify
8742*** your PATH or compiler configuration so that the native linker is
8743*** used, and then restart.
8744
8745_LT_EOF
8746      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8747	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8748	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8749      else
8750	ld_shlibs=no
8751      fi
8752      ;;
8753
8754    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8755      case `$LD -v 2>&1` in
8756        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8757	ld_shlibs=no
8758	cat <<_LT_EOF 1>&2
8759
8760*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8761*** reliably create shared libraries on SCO systems.  Therefore, libtool
8762*** is disabling shared libraries support.  We urge you to upgrade GNU
8763*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8764*** your PATH or compiler configuration so that the native linker is
8765*** used, and then restart.
8766
8767_LT_EOF
8768	;;
8769	*)
8770	  # For security reasons, it is highly recommended that you always
8771	  # use absolute paths for naming shared libraries, and exclude the
8772	  # DT_RUNPATH tag from executables and libraries.  But doing so
8773	  # requires that you compile everything twice, which is a pain.
8774	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8775	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8776	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8777	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8778	  else
8779	    ld_shlibs=no
8780	  fi
8781	;;
8782      esac
8783      ;;
8784
8785    sunos4*)
8786      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8787      wlarc=
8788      hardcode_direct=yes
8789      hardcode_shlibpath_var=no
8790      ;;
8791
8792    *)
8793      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8794	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8795	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8796      else
8797	ld_shlibs=no
8798      fi
8799      ;;
8800    esac
8801
8802    if test "$ld_shlibs" = no; then
8803      runpath_var=
8804      hardcode_libdir_flag_spec=
8805      export_dynamic_flag_spec=
8806      whole_archive_flag_spec=
8807    fi
8808  else
8809    # PORTME fill in a description of your system's linker (not GNU ld)
8810    case $host_os in
8811    aix3*)
8812      allow_undefined_flag=unsupported
8813      always_export_symbols=yes
8814      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'
8815      # Note: this linker hardcodes the directories in LIBPATH if there
8816      # are no directories specified by -L.
8817      hardcode_minus_L=yes
8818      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8819	# Neither direct hardcoding nor static linking is supported with a
8820	# broken collect2.
8821	hardcode_direct=unsupported
8822      fi
8823      ;;
8824
8825    aix[4-9]*)
8826      if test "$host_cpu" = ia64; then
8827	# On IA64, the linker does run time linking by default, so we don't
8828	# have to do anything special.
8829	aix_use_runtimelinking=no
8830	exp_sym_flag='-Bexport'
8831	no_entry_flag=""
8832      else
8833	# If we're using GNU nm, then we don't want the "-C" option.
8834	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8835	# Also, AIX nm treats weak defined symbols like other global
8836	# defined symbols, whereas GNU nm marks them as "W".
8837	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8838	  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'
8839	else
8840	  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'
8841	fi
8842	aix_use_runtimelinking=no
8843
8844	# Test if we are trying to use run time linking or normal
8845	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8846	# need to do runtime linking.
8847	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8848	  for ld_flag in $LDFLAGS; do
8849	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8850	    aix_use_runtimelinking=yes
8851	    break
8852	  fi
8853	  done
8854	  ;;
8855	esac
8856
8857	exp_sym_flag='-bexport'
8858	no_entry_flag='-bnoentry'
8859      fi
8860
8861      # When large executables or shared objects are built, AIX ld can
8862      # have problems creating the table of contents.  If linking a library
8863      # or program results in "error TOC overflow" add -mminimal-toc to
8864      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8865      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8866
8867      archive_cmds=''
8868      hardcode_direct=yes
8869      hardcode_direct_absolute=yes
8870      hardcode_libdir_separator=':'
8871      link_all_deplibs=yes
8872      file_list_spec='${wl}-f,'
8873
8874      if test "$GCC" = yes; then
8875	case $host_os in aix4.[012]|aix4.[012].*)
8876	# We only want to do this on AIX 4.2 and lower, the check
8877	# below for broken collect2 doesn't work under 4.3+
8878	  collect2name=`${CC} -print-prog-name=collect2`
8879	  if test -f "$collect2name" &&
8880	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8881	  then
8882	  # We have reworked collect2
8883	  :
8884	  else
8885	  # We have old collect2
8886	  hardcode_direct=unsupported
8887	  # It fails to find uninstalled libraries when the uninstalled
8888	  # path is not listed in the libpath.  Setting hardcode_minus_L
8889	  # to unsupported forces relinking
8890	  hardcode_minus_L=yes
8891	  hardcode_libdir_flag_spec='-L$libdir'
8892	  hardcode_libdir_separator=
8893	  fi
8894	  ;;
8895	esac
8896	shared_flag='-shared'
8897	if test "$aix_use_runtimelinking" = yes; then
8898	  shared_flag="$shared_flag "'${wl}-G'
8899	fi
8900      else
8901	# not using gcc
8902	if test "$host_cpu" = ia64; then
8903	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8904	# chokes on -Wl,-G. The following line is correct:
8905	  shared_flag='-G'
8906	else
8907	  if test "$aix_use_runtimelinking" = yes; then
8908	    shared_flag='${wl}-G'
8909	  else
8910	    shared_flag='${wl}-bM:SRE'
8911	  fi
8912	fi
8913      fi
8914
8915      export_dynamic_flag_spec='${wl}-bexpall'
8916      # It seems that -bexpall does not export symbols beginning with
8917      # underscore (_), so it is better to generate a list of symbols to export.
8918      always_export_symbols=yes
8919      if test "$aix_use_runtimelinking" = yes; then
8920	# Warning - without using the other runtime loading flags (-brtl),
8921	# -berok will link without error, but may produce a broken library.
8922	allow_undefined_flag='-berok'
8923        # Determine the default libpath from the value encoded in an
8924        # empty executable.
8925        if test "${lt_cv_aix_libpath+set}" = set; then
8926  aix_libpath=$lt_cv_aix_libpath
8927else
8928  if ${lt_cv_aix_libpath_+:} false; then :
8929  $as_echo_n "(cached) " >&6
8930else
8931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8932/* end confdefs.h.  */
8933
8934int
8935main ()
8936{
8937
8938  ;
8939  return 0;
8940}
8941_ACEOF
8942if ac_fn_c_try_link "$LINENO"; then :
8943
8944  lt_aix_libpath_sed='
8945      /Import File Strings/,/^$/ {
8946	  /^0/ {
8947	      s/^0  *\([^ ]*\) *$/\1/
8948	      p
8949	  }
8950      }'
8951  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8952  # Check for a 64-bit object if we didn't find anything.
8953  if test -z "$lt_cv_aix_libpath_"; then
8954    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8955  fi
8956fi
8957rm -f core conftest.err conftest.$ac_objext \
8958    conftest$ac_exeext conftest.$ac_ext
8959  if test -z "$lt_cv_aix_libpath_"; then
8960    lt_cv_aix_libpath_="/usr/lib:/lib"
8961  fi
8962
8963fi
8964
8965  aix_libpath=$lt_cv_aix_libpath_
8966fi
8967
8968        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8969        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"
8970      else
8971	if test "$host_cpu" = ia64; then
8972	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8973	  allow_undefined_flag="-z nodefs"
8974	  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"
8975	else
8976	 # Determine the default libpath from the value encoded in an
8977	 # empty executable.
8978	 if test "${lt_cv_aix_libpath+set}" = set; then
8979  aix_libpath=$lt_cv_aix_libpath
8980else
8981  if ${lt_cv_aix_libpath_+:} false; then :
8982  $as_echo_n "(cached) " >&6
8983else
8984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8985/* end confdefs.h.  */
8986
8987int
8988main ()
8989{
8990
8991  ;
8992  return 0;
8993}
8994_ACEOF
8995if ac_fn_c_try_link "$LINENO"; then :
8996
8997  lt_aix_libpath_sed='
8998      /Import File Strings/,/^$/ {
8999	  /^0/ {
9000	      s/^0  *\([^ ]*\) *$/\1/
9001	      p
9002	  }
9003      }'
9004  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9005  # Check for a 64-bit object if we didn't find anything.
9006  if test -z "$lt_cv_aix_libpath_"; then
9007    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008  fi
9009fi
9010rm -f core conftest.err conftest.$ac_objext \
9011    conftest$ac_exeext conftest.$ac_ext
9012  if test -z "$lt_cv_aix_libpath_"; then
9013    lt_cv_aix_libpath_="/usr/lib:/lib"
9014  fi
9015
9016fi
9017
9018  aix_libpath=$lt_cv_aix_libpath_
9019fi
9020
9021	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9022	  # Warning - without using the other run time loading flags,
9023	  # -berok will link without error, but may produce a broken library.
9024	  no_undefined_flag=' ${wl}-bernotok'
9025	  allow_undefined_flag=' ${wl}-berok'
9026	  if test "$with_gnu_ld" = yes; then
9027	    # We only use this code for GNU lds that support --whole-archive.
9028	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9029	  else
9030	    # Exported symbols can be pulled into shared objects from archives
9031	    whole_archive_flag_spec='$convenience'
9032	  fi
9033	  archive_cmds_need_lc=yes
9034	  # This is similar to how AIX traditionally builds its shared libraries.
9035	  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'
9036	fi
9037      fi
9038      ;;
9039
9040    amigaos*)
9041      case $host_cpu in
9042      powerpc)
9043            # see comment about AmigaOS4 .so support
9044            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9045            archive_expsym_cmds=''
9046        ;;
9047      m68k)
9048            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)'
9049            hardcode_libdir_flag_spec='-L$libdir'
9050            hardcode_minus_L=yes
9051        ;;
9052      esac
9053      ;;
9054
9055    bsdi[45]*)
9056      export_dynamic_flag_spec=-rdynamic
9057      ;;
9058
9059    cygwin* | mingw* | pw32* | cegcc*)
9060      # When not using gcc, we currently assume that we are using
9061      # Microsoft Visual C++.
9062      # hardcode_libdir_flag_spec is actually meaningless, as there is
9063      # no search path for DLLs.
9064      case $cc_basename in
9065      cl*)
9066	# Native MSVC
9067	hardcode_libdir_flag_spec=' '
9068	allow_undefined_flag=unsupported
9069	always_export_symbols=yes
9070	file_list_spec='@'
9071	# Tell ltmain to make .lib files, not .a files.
9072	libext=lib
9073	# Tell ltmain to make .dll files, not .so files.
9074	shrext_cmds=".dll"
9075	# FIXME: Setting linknames here is a bad hack.
9076	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9077	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9078	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9079	  else
9080	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9081	  fi~
9082	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9083	  linknames='
9084	# The linker will not automatically build a static lib if we build a DLL.
9085	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9086	enable_shared_with_static_runtimes=yes
9087	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9088	# Don't use ranlib
9089	old_postinstall_cmds='chmod 644 $oldlib'
9090	postlink_cmds='lt_outputfile="@OUTPUT@"~
9091	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9092	  case $lt_outputfile in
9093	    *.exe|*.EXE) ;;
9094	    *)
9095	      lt_outputfile="$lt_outputfile.exe"
9096	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9097	      ;;
9098	  esac~
9099	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9100	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9101	    $RM "$lt_outputfile.manifest";
9102	  fi'
9103	;;
9104      *)
9105	# Assume MSVC wrapper
9106	hardcode_libdir_flag_spec=' '
9107	allow_undefined_flag=unsupported
9108	# Tell ltmain to make .lib files, not .a files.
9109	libext=lib
9110	# Tell ltmain to make .dll files, not .so files.
9111	shrext_cmds=".dll"
9112	# FIXME: Setting linknames here is a bad hack.
9113	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9114	# The linker will automatically build a .lib file if we build a DLL.
9115	old_archive_from_new_cmds='true'
9116	# FIXME: Should let the user specify the lib program.
9117	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9118	enable_shared_with_static_runtimes=yes
9119	;;
9120      esac
9121      ;;
9122
9123    darwin* | rhapsody*)
9124
9125
9126  archive_cmds_need_lc=no
9127  hardcode_direct=no
9128  hardcode_automatic=yes
9129  hardcode_shlibpath_var=unsupported
9130  if test "$lt_cv_ld_force_load" = "yes"; then
9131    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\"`'
9132  else
9133    whole_archive_flag_spec=''
9134  fi
9135  link_all_deplibs=yes
9136  allow_undefined_flag="$_lt_dar_allow_undefined"
9137  case $cc_basename in
9138     ifort*) _lt_dar_can_shared=yes ;;
9139     *) _lt_dar_can_shared=$GCC ;;
9140  esac
9141  if test "$_lt_dar_can_shared" = "yes"; then
9142    output_verbose_link_cmd=func_echo_all
9143    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9144    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9145    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}"
9146    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}"
9147
9148  else
9149  ld_shlibs=no
9150  fi
9151
9152      ;;
9153
9154    dgux*)
9155      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9156      hardcode_libdir_flag_spec='-L$libdir'
9157      hardcode_shlibpath_var=no
9158      ;;
9159
9160    freebsd1*)
9161      ld_shlibs=no
9162      ;;
9163
9164    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9165    # support.  Future versions do this automatically, but an explicit c++rt0.o
9166    # does not break anything, and helps significantly (at the cost of a little
9167    # extra space).
9168    freebsd2.2*)
9169      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9170      hardcode_libdir_flag_spec='-R$libdir'
9171      hardcode_direct=yes
9172      hardcode_shlibpath_var=no
9173      ;;
9174
9175    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9176    freebsd2*)
9177      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9178      hardcode_direct=yes
9179      hardcode_minus_L=yes
9180      hardcode_shlibpath_var=no
9181      ;;
9182
9183    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9184    freebsd* | dragonfly*)
9185      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9186      hardcode_libdir_flag_spec='-R$libdir'
9187      hardcode_direct=yes
9188      hardcode_shlibpath_var=no
9189      ;;
9190
9191    hpux9*)
9192      if test "$GCC" = yes; then
9193	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'
9194      else
9195	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'
9196      fi
9197      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9198      hardcode_libdir_separator=:
9199      hardcode_direct=yes
9200
9201      # hardcode_minus_L: Not really in the search PATH,
9202      # but as the default location of the library.
9203      hardcode_minus_L=yes
9204      export_dynamic_flag_spec='${wl}-E'
9205      ;;
9206
9207    hpux10*)
9208      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9209	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9210      else
9211	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9212      fi
9213      if test "$with_gnu_ld" = no; then
9214	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9215	hardcode_libdir_flag_spec_ld='+b $libdir'
9216	hardcode_libdir_separator=:
9217	hardcode_direct=yes
9218	hardcode_direct_absolute=yes
9219	export_dynamic_flag_spec='${wl}-E'
9220	# hardcode_minus_L: Not really in the search PATH,
9221	# but as the default location of the library.
9222	hardcode_minus_L=yes
9223      fi
9224      ;;
9225
9226    hpux11*)
9227      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9228	case $host_cpu in
9229	hppa*64*)
9230	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9231	  ;;
9232	ia64*)
9233	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9234	  ;;
9235	*)
9236	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9237	  ;;
9238	esac
9239      else
9240	case $host_cpu in
9241	hppa*64*)
9242	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9243	  ;;
9244	ia64*)
9245	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9246	  ;;
9247	*)
9248
9249	  # Older versions of the 11.00 compiler do not understand -b yet
9250	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9251	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9252$as_echo_n "checking if $CC understands -b... " >&6; }
9253if ${lt_cv_prog_compiler__b+:} false; then :
9254  $as_echo_n "(cached) " >&6
9255else
9256  lt_cv_prog_compiler__b=no
9257   save_LDFLAGS="$LDFLAGS"
9258   LDFLAGS="$LDFLAGS -b"
9259   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9260   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9261     # The linker can only warn and ignore the option if not recognized
9262     # So say no if there are warnings
9263     if test -s conftest.err; then
9264       # Append any errors to the config.log.
9265       cat conftest.err 1>&5
9266       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9267       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9268       if diff conftest.exp conftest.er2 >/dev/null; then
9269         lt_cv_prog_compiler__b=yes
9270       fi
9271     else
9272       lt_cv_prog_compiler__b=yes
9273     fi
9274   fi
9275   $RM -r conftest*
9276   LDFLAGS="$save_LDFLAGS"
9277
9278fi
9279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9280$as_echo "$lt_cv_prog_compiler__b" >&6; }
9281
9282if test x"$lt_cv_prog_compiler__b" = xyes; then
9283    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9284else
9285    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9286fi
9287
9288	  ;;
9289	esac
9290      fi
9291      if test "$with_gnu_ld" = no; then
9292	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9293	hardcode_libdir_separator=:
9294
9295	case $host_cpu in
9296	hppa*64*|ia64*)
9297	  hardcode_direct=no
9298	  hardcode_shlibpath_var=no
9299	  ;;
9300	*)
9301	  hardcode_direct=yes
9302	  hardcode_direct_absolute=yes
9303	  export_dynamic_flag_spec='${wl}-E'
9304
9305	  # hardcode_minus_L: Not really in the search PATH,
9306	  # but as the default location of the library.
9307	  hardcode_minus_L=yes
9308	  ;;
9309	esac
9310      fi
9311      ;;
9312
9313    irix5* | irix6* | nonstopux*)
9314      if test "$GCC" = yes; then
9315	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'
9316	# Try to use the -exported_symbol ld option, if it does not
9317	# work, assume that -exports_file does not work either and
9318	# implicitly export all symbols.
9319	# This should be the same for all languages, so no per-tag cache variable.
9320	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9321$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9322if ${lt_cv_irix_exported_symbol+:} false; then :
9323  $as_echo_n "(cached) " >&6
9324else
9325  save_LDFLAGS="$LDFLAGS"
9326	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9327	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9328/* end confdefs.h.  */
9329int foo (void) { return 0; }
9330_ACEOF
9331if ac_fn_c_try_link "$LINENO"; then :
9332  lt_cv_irix_exported_symbol=yes
9333else
9334  lt_cv_irix_exported_symbol=no
9335fi
9336rm -f core conftest.err conftest.$ac_objext \
9337    conftest$ac_exeext conftest.$ac_ext
9338           LDFLAGS="$save_LDFLAGS"
9339fi
9340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9341$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9342	if test "$lt_cv_irix_exported_symbol" = yes; then
9343          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'
9344	fi
9345      else
9346	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'
9347	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'
9348      fi
9349      archive_cmds_need_lc='no'
9350      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9351      hardcode_libdir_separator=:
9352      inherit_rpath=yes
9353      link_all_deplibs=yes
9354      ;;
9355
9356    netbsd*)
9357      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9358	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9359      else
9360	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9361      fi
9362      hardcode_libdir_flag_spec='-R$libdir'
9363      hardcode_direct=yes
9364      hardcode_shlibpath_var=no
9365      ;;
9366
9367    newsos6)
9368      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9369      hardcode_direct=yes
9370      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9371      hardcode_libdir_separator=:
9372      hardcode_shlibpath_var=no
9373      ;;
9374
9375    *nto* | *qnx*)
9376      ;;
9377
9378    openbsd*)
9379      if test -f /usr/libexec/ld.so; then
9380	hardcode_direct=yes
9381	hardcode_shlibpath_var=no
9382	hardcode_direct_absolute=yes
9383	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9384	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9385	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9386	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9387	  export_dynamic_flag_spec='${wl}-E'
9388	else
9389	  case $host_os in
9390	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9391	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9392	     hardcode_libdir_flag_spec='-R$libdir'
9393	     ;;
9394	   *)
9395	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9396	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9397	     ;;
9398	  esac
9399	fi
9400      else
9401	ld_shlibs=no
9402      fi
9403      ;;
9404
9405    os2*)
9406      hardcode_libdir_flag_spec='-L$libdir'
9407      hardcode_minus_L=yes
9408      allow_undefined_flag=unsupported
9409      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'
9410      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9411      ;;
9412
9413    osf3*)
9414      if test "$GCC" = yes; then
9415	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9416	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'
9417      else
9418	allow_undefined_flag=' -expect_unresolved \*'
9419	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'
9420      fi
9421      archive_cmds_need_lc='no'
9422      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9423      hardcode_libdir_separator=:
9424      ;;
9425
9426    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9427      if test "$GCC" = yes; then
9428	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9429	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'
9430	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9431      else
9432	allow_undefined_flag=' -expect_unresolved \*'
9433	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'
9434	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~
9435	$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'
9436
9437	# Both c and cxx compiler support -rpath directly
9438	hardcode_libdir_flag_spec='-rpath $libdir'
9439      fi
9440      archive_cmds_need_lc='no'
9441      hardcode_libdir_separator=:
9442      ;;
9443
9444    solaris*)
9445      no_undefined_flag=' -z defs'
9446      if test "$GCC" = yes; then
9447	wlarc='${wl}'
9448	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9449	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9450	  $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'
9451      else
9452	case `$CC -V 2>&1` in
9453	*"Compilers 5.0"*)
9454	  wlarc=''
9455	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9456	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9457	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9458	  ;;
9459	*)
9460	  wlarc='${wl}'
9461	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9462	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9463	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9464	  ;;
9465	esac
9466      fi
9467      hardcode_libdir_flag_spec='-R$libdir'
9468      hardcode_shlibpath_var=no
9469      case $host_os in
9470      solaris2.[0-5] | solaris2.[0-5].*) ;;
9471      *)
9472	# The compiler driver will combine and reorder linker options,
9473	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9474	# but is careful enough not to reorder.
9475	# Supported since Solaris 2.6 (maybe 2.5.1?)
9476	if test "$GCC" = yes; then
9477	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9478	else
9479	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9480	fi
9481	;;
9482      esac
9483      link_all_deplibs=yes
9484      ;;
9485
9486    sunos4*)
9487      if test "x$host_vendor" = xsequent; then
9488	# Use $CC to link under sequent, because it throws in some extra .o
9489	# files that make .init and .fini sections work.
9490	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9491      else
9492	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9493      fi
9494      hardcode_libdir_flag_spec='-L$libdir'
9495      hardcode_direct=yes
9496      hardcode_minus_L=yes
9497      hardcode_shlibpath_var=no
9498      ;;
9499
9500    sysv4)
9501      case $host_vendor in
9502	sni)
9503	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9504	  hardcode_direct=yes # is this really true???
9505	;;
9506	siemens)
9507	  ## LD is ld it makes a PLAMLIB
9508	  ## CC just makes a GrossModule.
9509	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9510	  reload_cmds='$CC -r -o $output$reload_objs'
9511	  hardcode_direct=no
9512        ;;
9513	motorola)
9514	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9515	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9516	;;
9517      esac
9518      runpath_var='LD_RUN_PATH'
9519      hardcode_shlibpath_var=no
9520      ;;
9521
9522    sysv4.3*)
9523      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9524      hardcode_shlibpath_var=no
9525      export_dynamic_flag_spec='-Bexport'
9526      ;;
9527
9528    sysv4*MP*)
9529      if test -d /usr/nec; then
9530	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9531	hardcode_shlibpath_var=no
9532	runpath_var=LD_RUN_PATH
9533	hardcode_runpath_var=yes
9534	ld_shlibs=yes
9535      fi
9536      ;;
9537
9538    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9539      no_undefined_flag='${wl}-z,text'
9540      archive_cmds_need_lc=no
9541      hardcode_shlibpath_var=no
9542      runpath_var='LD_RUN_PATH'
9543
9544      if test "$GCC" = yes; then
9545	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9546	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9547      else
9548	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9549	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9550      fi
9551      ;;
9552
9553    sysv5* | sco3.2v5* | sco5v6*)
9554      # Note: We can NOT use -z defs as we might desire, because we do not
9555      # link with -lc, and that would cause any symbols used from libc to
9556      # always be unresolved, which means just about no library would
9557      # ever link correctly.  If we're not using GNU ld we use -z text
9558      # though, which does catch some bad symbols but isn't as heavy-handed
9559      # as -z defs.
9560      no_undefined_flag='${wl}-z,text'
9561      allow_undefined_flag='${wl}-z,nodefs'
9562      archive_cmds_need_lc=no
9563      hardcode_shlibpath_var=no
9564      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9565      hardcode_libdir_separator=':'
9566      link_all_deplibs=yes
9567      export_dynamic_flag_spec='${wl}-Bexport'
9568      runpath_var='LD_RUN_PATH'
9569
9570      if test "$GCC" = yes; then
9571	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9572	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9573      else
9574	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9575	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9576      fi
9577      ;;
9578
9579    uts4*)
9580      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9581      hardcode_libdir_flag_spec='-L$libdir'
9582      hardcode_shlibpath_var=no
9583      ;;
9584
9585    *)
9586      ld_shlibs=no
9587      ;;
9588    esac
9589
9590    if test x$host_vendor = xsni; then
9591      case $host in
9592      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9593	export_dynamic_flag_spec='${wl}-Blargedynsym'
9594	;;
9595      esac
9596    fi
9597  fi
9598
9599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9600$as_echo "$ld_shlibs" >&6; }
9601test "$ld_shlibs" = no && can_build_shared=no
9602
9603with_gnu_ld=$with_gnu_ld
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619#
9620# Do we need to explicitly link libc?
9621#
9622case "x$archive_cmds_need_lc" in
9623x|xyes)
9624  # Assume -lc should be added
9625  archive_cmds_need_lc=yes
9626
9627  if test "$enable_shared" = yes && test "$GCC" = yes; then
9628    case $archive_cmds in
9629    *'~'*)
9630      # FIXME: we may have to deal with multi-command sequences.
9631      ;;
9632    '$CC '*)
9633      # Test whether the compiler implicitly links with -lc since on some
9634      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9635      # to ld, don't add -lc before -lgcc.
9636      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9637$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9638if ${lt_cv_archive_cmds_need_lc+:} false; then :
9639  $as_echo_n "(cached) " >&6
9640else
9641  $RM conftest*
9642	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9643
9644	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9645  (eval $ac_compile) 2>&5
9646  ac_status=$?
9647  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9648  test $ac_status = 0; } 2>conftest.err; then
9649	  soname=conftest
9650	  lib=conftest
9651	  libobjs=conftest.$ac_objext
9652	  deplibs=
9653	  wl=$lt_prog_compiler_wl
9654	  pic_flag=$lt_prog_compiler_pic
9655	  compiler_flags=-v
9656	  linker_flags=-v
9657	  verstring=
9658	  output_objdir=.
9659	  libname=conftest
9660	  lt_save_allow_undefined_flag=$allow_undefined_flag
9661	  allow_undefined_flag=
9662	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9663  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9664  ac_status=$?
9665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9666  test $ac_status = 0; }
9667	  then
9668	    lt_cv_archive_cmds_need_lc=no
9669	  else
9670	    lt_cv_archive_cmds_need_lc=yes
9671	  fi
9672	  allow_undefined_flag=$lt_save_allow_undefined_flag
9673	else
9674	  cat conftest.err 1>&5
9675	fi
9676	$RM conftest*
9677
9678fi
9679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9680$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9681      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9682      ;;
9683    esac
9684  fi
9685  ;;
9686esac
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9845$as_echo_n "checking dynamic linker characteristics... " >&6; }
9846
9847if test "$GCC" = yes; then
9848  case $host_os in
9849    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9850    *) lt_awk_arg="/^libraries:/" ;;
9851  esac
9852  case $host_os in
9853    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9854    *) lt_sed_strip_eq="s,=/,/,g" ;;
9855  esac
9856  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9857  case $lt_search_path_spec in
9858  *\;*)
9859    # if the path contains ";" then we assume it to be the separator
9860    # otherwise default to the standard path separator (i.e. ":") - it is
9861    # assumed that no part of a normal pathname contains ";" but that should
9862    # okay in the real world where ";" in dirpaths is itself problematic.
9863    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9864    ;;
9865  *)
9866    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9867    ;;
9868  esac
9869  # Ok, now we have the path, separated by spaces, we can step through it
9870  # and add multilib dir if necessary.
9871  lt_tmp_lt_search_path_spec=
9872  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9873  for lt_sys_path in $lt_search_path_spec; do
9874    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9875      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9876    else
9877      test -d "$lt_sys_path" && \
9878	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9879    fi
9880  done
9881  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9882BEGIN {RS=" "; FS="/|\n";} {
9883  lt_foo="";
9884  lt_count=0;
9885  for (lt_i = NF; lt_i > 0; lt_i--) {
9886    if ($lt_i != "" && $lt_i != ".") {
9887      if ($lt_i == "..") {
9888        lt_count++;
9889      } else {
9890        if (lt_count == 0) {
9891          lt_foo="/" $lt_i lt_foo;
9892        } else {
9893          lt_count--;
9894        }
9895      }
9896    }
9897  }
9898  if (lt_foo != "") { lt_freq[lt_foo]++; }
9899  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9900}'`
9901  # AWK program above erroneously prepends '/' to C:/dos/paths
9902  # for these hosts.
9903  case $host_os in
9904    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9905      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9906  esac
9907  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9908else
9909  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9910fi
9911library_names_spec=
9912libname_spec='lib$name'
9913soname_spec=
9914shrext_cmds=".so"
9915postinstall_cmds=
9916postuninstall_cmds=
9917finish_cmds=
9918finish_eval=
9919shlibpath_var=
9920shlibpath_overrides_runpath=unknown
9921version_type=none
9922dynamic_linker="$host_os ld.so"
9923sys_lib_dlsearch_path_spec="/lib /usr/lib"
9924need_lib_prefix=unknown
9925hardcode_into_libs=no
9926
9927# when you set need_version to no, make sure it does not cause -set_version
9928# flags to be left without arguments
9929need_version=unknown
9930
9931case $host_os in
9932aix3*)
9933  version_type=linux
9934  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9935  shlibpath_var=LIBPATH
9936
9937  # AIX 3 has no versioning support, so we append a major version to the name.
9938  soname_spec='${libname}${release}${shared_ext}$major'
9939  ;;
9940
9941aix[4-9]*)
9942  version_type=linux
9943  need_lib_prefix=no
9944  need_version=no
9945  hardcode_into_libs=yes
9946  if test "$host_cpu" = ia64; then
9947    # AIX 5 supports IA64
9948    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9949    shlibpath_var=LD_LIBRARY_PATH
9950  else
9951    # With GCC up to 2.95.x, collect2 would create an import file
9952    # for dependence libraries.  The import file would start with
9953    # the line `#! .'.  This would cause the generated library to
9954    # depend on `.', always an invalid library.  This was fixed in
9955    # development snapshots of GCC prior to 3.0.
9956    case $host_os in
9957      aix4 | aix4.[01] | aix4.[01].*)
9958      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9959	   echo ' yes '
9960	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9961	:
9962      else
9963	can_build_shared=no
9964      fi
9965      ;;
9966    esac
9967    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9968    # soname into executable. Probably we can add versioning support to
9969    # collect2, so additional links can be useful in future.
9970    if test "$aix_use_runtimelinking" = yes; then
9971      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9972      # instead of lib<name>.a to let people know that these are not
9973      # typical AIX shared libraries.
9974      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9975    else
9976      # We preserve .a as extension for shared libraries through AIX4.2
9977      # and later when we are not doing run time linking.
9978      library_names_spec='${libname}${release}.a $libname.a'
9979      soname_spec='${libname}${release}${shared_ext}$major'
9980    fi
9981    shlibpath_var=LIBPATH
9982  fi
9983  ;;
9984
9985amigaos*)
9986  case $host_cpu in
9987  powerpc)
9988    # Since July 2007 AmigaOS4 officially supports .so libraries.
9989    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9990    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9991    ;;
9992  m68k)
9993    library_names_spec='$libname.ixlibrary $libname.a'
9994    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9995    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'
9996    ;;
9997  esac
9998  ;;
9999
10000beos*)
10001  library_names_spec='${libname}${shared_ext}'
10002  dynamic_linker="$host_os ld.so"
10003  shlibpath_var=LIBRARY_PATH
10004  ;;
10005
10006bsdi[45]*)
10007  version_type=linux
10008  need_version=no
10009  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10010  soname_spec='${libname}${release}${shared_ext}$major'
10011  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10012  shlibpath_var=LD_LIBRARY_PATH
10013  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10014  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10015  # the default ld.so.conf also contains /usr/contrib/lib and
10016  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10017  # libtool to hard-code these into programs
10018  ;;
10019
10020cygwin* | mingw* | pw32* | cegcc*)
10021  version_type=windows
10022  shrext_cmds=".dll"
10023  need_version=no
10024  need_lib_prefix=no
10025
10026  case $GCC,$cc_basename in
10027  yes,*)
10028    # gcc
10029    library_names_spec='$libname.dll.a'
10030    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10031    postinstall_cmds='base_file=`basename \${file}`~
10032      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10033      dldir=$destdir/`dirname \$dlpath`~
10034      test -d \$dldir || mkdir -p \$dldir~
10035      $install_prog $dir/$dlname \$dldir/$dlname~
10036      chmod a+x \$dldir/$dlname~
10037      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10038        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10039      fi'
10040    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10041      dlpath=$dir/\$dldll~
10042       $RM \$dlpath'
10043    shlibpath_overrides_runpath=yes
10044
10045    case $host_os in
10046    cygwin*)
10047      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10048      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10049
10050      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10051      ;;
10052    mingw* | cegcc*)
10053      # MinGW DLLs use traditional 'lib' prefix
10054      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10055      ;;
10056    pw32*)
10057      # pw32 DLLs use 'pw' prefix rather than 'lib'
10058      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10059      ;;
10060    esac
10061    dynamic_linker='Win32 ld.exe'
10062    ;;
10063
10064  *,cl*)
10065    # Native MSVC
10066    libname_spec='$name'
10067    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10068    library_names_spec='${libname}.dll.lib'
10069
10070    case $build_os in
10071    mingw*)
10072      sys_lib_search_path_spec=
10073      lt_save_ifs=$IFS
10074      IFS=';'
10075      for lt_path in $LIB
10076      do
10077        IFS=$lt_save_ifs
10078        # Let DOS variable expansion print the short 8.3 style file name.
10079        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10080        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10081      done
10082      IFS=$lt_save_ifs
10083      # Convert to MSYS style.
10084      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10085      ;;
10086    cygwin*)
10087      # Convert to unix form, then to dos form, then back to unix form
10088      # but this time dos style (no spaces!) so that the unix form looks
10089      # like /cygdrive/c/PROGRA~1:/cygdr...
10090      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10091      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10092      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10093      ;;
10094    *)
10095      sys_lib_search_path_spec="$LIB"
10096      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10097        # It is most probably a Windows format PATH.
10098        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10099      else
10100        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10101      fi
10102      # FIXME: find the short name or the path components, as spaces are
10103      # common. (e.g. "Program Files" -> "PROGRA~1")
10104      ;;
10105    esac
10106
10107    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10108    postinstall_cmds='base_file=`basename \${file}`~
10109      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10110      dldir=$destdir/`dirname \$dlpath`~
10111      test -d \$dldir || mkdir -p \$dldir~
10112      $install_prog $dir/$dlname \$dldir/$dlname'
10113    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10114      dlpath=$dir/\$dldll~
10115       $RM \$dlpath'
10116    shlibpath_overrides_runpath=yes
10117    dynamic_linker='Win32 link.exe'
10118    ;;
10119
10120  *)
10121    # Assume MSVC wrapper
10122    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10123    dynamic_linker='Win32 ld.exe'
10124    ;;
10125  esac
10126  # FIXME: first we should search . and the directory the executable is in
10127  shlibpath_var=PATH
10128  ;;
10129
10130darwin* | rhapsody*)
10131  dynamic_linker="$host_os dyld"
10132  version_type=darwin
10133  need_lib_prefix=no
10134  need_version=no
10135  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10136  soname_spec='${libname}${release}${major}$shared_ext'
10137  shlibpath_overrides_runpath=yes
10138  shlibpath_var=DYLD_LIBRARY_PATH
10139  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10140
10141  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10142  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10143  ;;
10144
10145dgux*)
10146  version_type=linux
10147  need_lib_prefix=no
10148  need_version=no
10149  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10150  soname_spec='${libname}${release}${shared_ext}$major'
10151  shlibpath_var=LD_LIBRARY_PATH
10152  ;;
10153
10154freebsd1*)
10155  dynamic_linker=no
10156  ;;
10157
10158freebsd* | dragonfly*)
10159  # DragonFly does not have aout.  When/if they implement a new
10160  # versioning mechanism, adjust this.
10161  if test -x /usr/bin/objformat; then
10162    objformat=`/usr/bin/objformat`
10163  else
10164    case $host_os in
10165    freebsd[123]*) objformat=aout ;;
10166    *) objformat=elf ;;
10167    esac
10168  fi
10169  version_type=freebsd-$objformat
10170  case $version_type in
10171    freebsd-elf*)
10172      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10173      need_version=no
10174      need_lib_prefix=no
10175      ;;
10176    freebsd-*)
10177      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10178      need_version=yes
10179      ;;
10180  esac
10181  shlibpath_var=LD_LIBRARY_PATH
10182  case $host_os in
10183  freebsd2*)
10184    shlibpath_overrides_runpath=yes
10185    ;;
10186  freebsd3.[01]* | freebsdelf3.[01]*)
10187    shlibpath_overrides_runpath=yes
10188    hardcode_into_libs=yes
10189    ;;
10190  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10191  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10192    shlibpath_overrides_runpath=no
10193    hardcode_into_libs=yes
10194    ;;
10195  *) # from 4.6 on, and DragonFly
10196    shlibpath_overrides_runpath=yes
10197    hardcode_into_libs=yes
10198    ;;
10199  esac
10200  ;;
10201
10202gnu*)
10203  version_type=linux
10204  need_lib_prefix=no
10205  need_version=no
10206  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10207  soname_spec='${libname}${release}${shared_ext}$major'
10208  shlibpath_var=LD_LIBRARY_PATH
10209  hardcode_into_libs=yes
10210  ;;
10211
10212haiku*)
10213  version_type=linux
10214  need_lib_prefix=no
10215  need_version=no
10216  dynamic_linker="$host_os runtime_loader"
10217  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10218  soname_spec='${libname}${release}${shared_ext}$major'
10219  shlibpath_var=LIBRARY_PATH
10220  shlibpath_overrides_runpath=yes
10221  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10222  hardcode_into_libs=yes
10223  ;;
10224
10225hpux9* | hpux10* | hpux11*)
10226  # Give a soname corresponding to the major version so that dld.sl refuses to
10227  # link against other versions.
10228  version_type=sunos
10229  need_lib_prefix=no
10230  need_version=no
10231  case $host_cpu in
10232  ia64*)
10233    shrext_cmds='.so'
10234    hardcode_into_libs=yes
10235    dynamic_linker="$host_os dld.so"
10236    shlibpath_var=LD_LIBRARY_PATH
10237    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10238    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10239    soname_spec='${libname}${release}${shared_ext}$major'
10240    if test "X$HPUX_IA64_MODE" = X32; then
10241      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10242    else
10243      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10244    fi
10245    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10246    ;;
10247  hppa*64*)
10248    shrext_cmds='.sl'
10249    hardcode_into_libs=yes
10250    dynamic_linker="$host_os dld.sl"
10251    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10252    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10253    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10254    soname_spec='${libname}${release}${shared_ext}$major'
10255    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10256    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10257    ;;
10258  *)
10259    shrext_cmds='.sl'
10260    dynamic_linker="$host_os dld.sl"
10261    shlibpath_var=SHLIB_PATH
10262    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10263    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10264    soname_spec='${libname}${release}${shared_ext}$major'
10265    ;;
10266  esac
10267  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10268  postinstall_cmds='chmod 555 $lib'
10269  # or fails outright, so override atomically:
10270  install_override_mode=555
10271  ;;
10272
10273interix[3-9]*)
10274  version_type=linux
10275  need_lib_prefix=no
10276  need_version=no
10277  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10278  soname_spec='${libname}${release}${shared_ext}$major'
10279  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10280  shlibpath_var=LD_LIBRARY_PATH
10281  shlibpath_overrides_runpath=no
10282  hardcode_into_libs=yes
10283  ;;
10284
10285irix5* | irix6* | nonstopux*)
10286  case $host_os in
10287    nonstopux*) version_type=nonstopux ;;
10288    *)
10289	if test "$lt_cv_prog_gnu_ld" = yes; then
10290		version_type=linux
10291	else
10292		version_type=irix
10293	fi ;;
10294  esac
10295  need_lib_prefix=no
10296  need_version=no
10297  soname_spec='${libname}${release}${shared_ext}$major'
10298  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10299  case $host_os in
10300  irix5* | nonstopux*)
10301    libsuff= shlibsuff=
10302    ;;
10303  *)
10304    case $LD in # libtool.m4 will add one of these switches to LD
10305    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10306      libsuff= shlibsuff= libmagic=32-bit;;
10307    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10308      libsuff=32 shlibsuff=N32 libmagic=N32;;
10309    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10310      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10311    *) libsuff= shlibsuff= libmagic=never-match;;
10312    esac
10313    ;;
10314  esac
10315  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10316  shlibpath_overrides_runpath=no
10317  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10318  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10319  hardcode_into_libs=yes
10320  ;;
10321
10322# No shared lib support for Linux oldld, aout, or coff.
10323linux*oldld* | linux*aout* | linux*coff*)
10324  dynamic_linker=no
10325  ;;
10326
10327# This must be Linux ELF.
10328linux* | k*bsd*-gnu | kopensolaris*-gnu)
10329  version_type=linux
10330  need_lib_prefix=no
10331  need_version=no
10332  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10333  soname_spec='${libname}${release}${shared_ext}$major'
10334  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10335  shlibpath_var=LD_LIBRARY_PATH
10336  shlibpath_overrides_runpath=no
10337
10338  # Some binutils ld are patched to set DT_RUNPATH
10339  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10340  $as_echo_n "(cached) " >&6
10341else
10342  lt_cv_shlibpath_overrides_runpath=no
10343    save_LDFLAGS=$LDFLAGS
10344    save_libdir=$libdir
10345    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10346	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10347    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10348/* end confdefs.h.  */
10349
10350int
10351main ()
10352{
10353
10354  ;
10355  return 0;
10356}
10357_ACEOF
10358if ac_fn_c_try_link "$LINENO"; then :
10359  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10360  lt_cv_shlibpath_overrides_runpath=yes
10361fi
10362fi
10363rm -f core conftest.err conftest.$ac_objext \
10364    conftest$ac_exeext conftest.$ac_ext
10365    LDFLAGS=$save_LDFLAGS
10366    libdir=$save_libdir
10367
10368fi
10369
10370  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10371
10372  # This implies no fast_install, which is unacceptable.
10373  # Some rework will be needed to allow for fast_install
10374  # before this can be enabled.
10375  hardcode_into_libs=yes
10376
10377  # Add ABI-specific directories to the system library path.
10378  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10379
10380  # Append ld.so.conf contents to the search path
10381  if test -f /etc/ld.so.conf; then
10382    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' ' '`
10383    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10384
10385  fi
10386
10387  # We used to test for /lib/ld.so.1 and disable shared libraries on
10388  # powerpc, because MkLinux only supported shared libraries with the
10389  # GNU dynamic linker.  Since this was broken with cross compilers,
10390  # most powerpc-linux boxes support dynamic linking these days and
10391  # people can always --disable-shared, the test was removed, and we
10392  # assume the GNU/Linux dynamic linker is in use.
10393  dynamic_linker='GNU/Linux ld.so'
10394  ;;
10395
10396netbsd*)
10397  version_type=sunos
10398  need_lib_prefix=no
10399  need_version=no
10400  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10401    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10402    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10403    dynamic_linker='NetBSD (a.out) ld.so'
10404  else
10405    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10406    soname_spec='${libname}${release}${shared_ext}$major'
10407    dynamic_linker='NetBSD ld.elf_so'
10408  fi
10409  shlibpath_var=LD_LIBRARY_PATH
10410  shlibpath_overrides_runpath=yes
10411  hardcode_into_libs=yes
10412  ;;
10413
10414newsos6)
10415  version_type=linux
10416  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10417  shlibpath_var=LD_LIBRARY_PATH
10418  shlibpath_overrides_runpath=yes
10419  ;;
10420
10421*nto* | *qnx*)
10422  version_type=qnx
10423  need_lib_prefix=no
10424  need_version=no
10425  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10426  soname_spec='${libname}${release}${shared_ext}$major'
10427  shlibpath_var=LD_LIBRARY_PATH
10428  shlibpath_overrides_runpath=no
10429  hardcode_into_libs=yes
10430  dynamic_linker='ldqnx.so'
10431  ;;
10432
10433openbsd*)
10434  version_type=sunos
10435  sys_lib_dlsearch_path_spec="/usr/lib"
10436  need_lib_prefix=no
10437  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10438  case $host_os in
10439    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10440    *)				need_version=no  ;;
10441  esac
10442  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10443  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10444  shlibpath_var=LD_LIBRARY_PATH
10445  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10446    case $host_os in
10447      openbsd2.[89] | openbsd2.[89].*)
10448	shlibpath_overrides_runpath=no
10449	;;
10450      *)
10451	shlibpath_overrides_runpath=yes
10452	;;
10453      esac
10454  else
10455    shlibpath_overrides_runpath=yes
10456  fi
10457  ;;
10458
10459os2*)
10460  libname_spec='$name'
10461  shrext_cmds=".dll"
10462  need_lib_prefix=no
10463  library_names_spec='$libname${shared_ext} $libname.a'
10464  dynamic_linker='OS/2 ld.exe'
10465  shlibpath_var=LIBPATH
10466  ;;
10467
10468osf3* | osf4* | osf5*)
10469  version_type=osf
10470  need_lib_prefix=no
10471  need_version=no
10472  soname_spec='${libname}${release}${shared_ext}$major'
10473  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10474  shlibpath_var=LD_LIBRARY_PATH
10475  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10476  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10477  ;;
10478
10479rdos*)
10480  dynamic_linker=no
10481  ;;
10482
10483solaris*)
10484  version_type=linux
10485  need_lib_prefix=no
10486  need_version=no
10487  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488  soname_spec='${libname}${release}${shared_ext}$major'
10489  shlibpath_var=LD_LIBRARY_PATH
10490  shlibpath_overrides_runpath=yes
10491  hardcode_into_libs=yes
10492  # ldd complains unless libraries are executable
10493  postinstall_cmds='chmod +x $lib'
10494  ;;
10495
10496sunos4*)
10497  version_type=sunos
10498  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10499  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10500  shlibpath_var=LD_LIBRARY_PATH
10501  shlibpath_overrides_runpath=yes
10502  if test "$with_gnu_ld" = yes; then
10503    need_lib_prefix=no
10504  fi
10505  need_version=yes
10506  ;;
10507
10508sysv4 | sysv4.3*)
10509  version_type=linux
10510  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10511  soname_spec='${libname}${release}${shared_ext}$major'
10512  shlibpath_var=LD_LIBRARY_PATH
10513  case $host_vendor in
10514    sni)
10515      shlibpath_overrides_runpath=no
10516      need_lib_prefix=no
10517      runpath_var=LD_RUN_PATH
10518      ;;
10519    siemens)
10520      need_lib_prefix=no
10521      ;;
10522    motorola)
10523      need_lib_prefix=no
10524      need_version=no
10525      shlibpath_overrides_runpath=no
10526      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10527      ;;
10528  esac
10529  ;;
10530
10531sysv4*MP*)
10532  if test -d /usr/nec ;then
10533    version_type=linux
10534    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10535    soname_spec='$libname${shared_ext}.$major'
10536    shlibpath_var=LD_LIBRARY_PATH
10537  fi
10538  ;;
10539
10540sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10541  version_type=freebsd-elf
10542  need_lib_prefix=no
10543  need_version=no
10544  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10545  soname_spec='${libname}${release}${shared_ext}$major'
10546  shlibpath_var=LD_LIBRARY_PATH
10547  shlibpath_overrides_runpath=yes
10548  hardcode_into_libs=yes
10549  if test "$with_gnu_ld" = yes; then
10550    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10551  else
10552    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10553    case $host_os in
10554      sco3.2v5*)
10555        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10556	;;
10557    esac
10558  fi
10559  sys_lib_dlsearch_path_spec='/usr/lib'
10560  ;;
10561
10562tpf*)
10563  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10564  version_type=linux
10565  need_lib_prefix=no
10566  need_version=no
10567  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10568  shlibpath_var=LD_LIBRARY_PATH
10569  shlibpath_overrides_runpath=no
10570  hardcode_into_libs=yes
10571  ;;
10572
10573uts4*)
10574  version_type=linux
10575  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10576  soname_spec='${libname}${release}${shared_ext}$major'
10577  shlibpath_var=LD_LIBRARY_PATH
10578  ;;
10579
10580*)
10581  dynamic_linker=no
10582  ;;
10583esac
10584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10585$as_echo "$dynamic_linker" >&6; }
10586test "$dynamic_linker" = no && can_build_shared=no
10587
10588variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10589if test "$GCC" = yes; then
10590  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10591fi
10592
10593if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10594  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10595fi
10596if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10597  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10598fi
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10692$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10693hardcode_action=
10694if test -n "$hardcode_libdir_flag_spec" ||
10695   test -n "$runpath_var" ||
10696   test "X$hardcode_automatic" = "Xyes" ; then
10697
10698  # We can hardcode non-existent directories.
10699  if test "$hardcode_direct" != no &&
10700     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10701     # have to relink, otherwise we might link with an installed library
10702     # when we should be linking with a yet-to-be-installed one
10703     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10704     test "$hardcode_minus_L" != no; then
10705    # Linking always hardcodes the temporary library directory.
10706    hardcode_action=relink
10707  else
10708    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10709    hardcode_action=immediate
10710  fi
10711else
10712  # We cannot hardcode anything, or else we can only hardcode existing
10713  # directories.
10714  hardcode_action=unsupported
10715fi
10716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10717$as_echo "$hardcode_action" >&6; }
10718
10719if test "$hardcode_action" = relink ||
10720   test "$inherit_rpath" = yes; then
10721  # Fast installation is not supported
10722  enable_fast_install=no
10723elif test "$shlibpath_overrides_runpath" = yes ||
10724     test "$enable_shared" = no; then
10725  # Fast installation is not necessary
10726  enable_fast_install=needless
10727fi
10728
10729
10730
10731
10732
10733
10734  if test "x$enable_dlopen" != xyes; then
10735  enable_dlopen=unknown
10736  enable_dlopen_self=unknown
10737  enable_dlopen_self_static=unknown
10738else
10739  lt_cv_dlopen=no
10740  lt_cv_dlopen_libs=
10741
10742  case $host_os in
10743  beos*)
10744    lt_cv_dlopen="load_add_on"
10745    lt_cv_dlopen_libs=
10746    lt_cv_dlopen_self=yes
10747    ;;
10748
10749  mingw* | pw32* | cegcc*)
10750    lt_cv_dlopen="LoadLibrary"
10751    lt_cv_dlopen_libs=
10752    ;;
10753
10754  cygwin*)
10755    lt_cv_dlopen="dlopen"
10756    lt_cv_dlopen_libs=
10757    ;;
10758
10759  darwin*)
10760  # if libdl is installed we need to link against it
10761    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10762$as_echo_n "checking for dlopen in -ldl... " >&6; }
10763if ${ac_cv_lib_dl_dlopen+:} false; then :
10764  $as_echo_n "(cached) " >&6
10765else
10766  ac_check_lib_save_LIBS=$LIBS
10767LIBS="-ldl  $LIBS"
10768cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10769/* end confdefs.h.  */
10770
10771/* Override any GCC internal prototype to avoid an error.
10772   Use char because int might match the return type of a GCC
10773   builtin and then its argument prototype would still apply.  */
10774#ifdef __cplusplus
10775extern "C"
10776#endif
10777char dlopen ();
10778int
10779main ()
10780{
10781return dlopen ();
10782  ;
10783  return 0;
10784}
10785_ACEOF
10786if ac_fn_c_try_link "$LINENO"; then :
10787  ac_cv_lib_dl_dlopen=yes
10788else
10789  ac_cv_lib_dl_dlopen=no
10790fi
10791rm -f core conftest.err conftest.$ac_objext \
10792    conftest$ac_exeext conftest.$ac_ext
10793LIBS=$ac_check_lib_save_LIBS
10794fi
10795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10796$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10797if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10798  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10799else
10800
10801    lt_cv_dlopen="dyld"
10802    lt_cv_dlopen_libs=
10803    lt_cv_dlopen_self=yes
10804
10805fi
10806
10807    ;;
10808
10809  *)
10810    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10811if test "x$ac_cv_func_shl_load" = xyes; then :
10812  lt_cv_dlopen="shl_load"
10813else
10814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10815$as_echo_n "checking for shl_load in -ldld... " >&6; }
10816if ${ac_cv_lib_dld_shl_load+:} false; then :
10817  $as_echo_n "(cached) " >&6
10818else
10819  ac_check_lib_save_LIBS=$LIBS
10820LIBS="-ldld  $LIBS"
10821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10822/* end confdefs.h.  */
10823
10824/* Override any GCC internal prototype to avoid an error.
10825   Use char because int might match the return type of a GCC
10826   builtin and then its argument prototype would still apply.  */
10827#ifdef __cplusplus
10828extern "C"
10829#endif
10830char shl_load ();
10831int
10832main ()
10833{
10834return shl_load ();
10835  ;
10836  return 0;
10837}
10838_ACEOF
10839if ac_fn_c_try_link "$LINENO"; then :
10840  ac_cv_lib_dld_shl_load=yes
10841else
10842  ac_cv_lib_dld_shl_load=no
10843fi
10844rm -f core conftest.err conftest.$ac_objext \
10845    conftest$ac_exeext conftest.$ac_ext
10846LIBS=$ac_check_lib_save_LIBS
10847fi
10848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10849$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10850if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10851  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10852else
10853  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10854if test "x$ac_cv_func_dlopen" = xyes; then :
10855  lt_cv_dlopen="dlopen"
10856else
10857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10858$as_echo_n "checking for dlopen in -ldl... " >&6; }
10859if ${ac_cv_lib_dl_dlopen+:} false; then :
10860  $as_echo_n "(cached) " >&6
10861else
10862  ac_check_lib_save_LIBS=$LIBS
10863LIBS="-ldl  $LIBS"
10864cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865/* end confdefs.h.  */
10866
10867/* Override any GCC internal prototype to avoid an error.
10868   Use char because int might match the return type of a GCC
10869   builtin and then its argument prototype would still apply.  */
10870#ifdef __cplusplus
10871extern "C"
10872#endif
10873char dlopen ();
10874int
10875main ()
10876{
10877return dlopen ();
10878  ;
10879  return 0;
10880}
10881_ACEOF
10882if ac_fn_c_try_link "$LINENO"; then :
10883  ac_cv_lib_dl_dlopen=yes
10884else
10885  ac_cv_lib_dl_dlopen=no
10886fi
10887rm -f core conftest.err conftest.$ac_objext \
10888    conftest$ac_exeext conftest.$ac_ext
10889LIBS=$ac_check_lib_save_LIBS
10890fi
10891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10892$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10893if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10894  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10895else
10896  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10897$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10898if ${ac_cv_lib_svld_dlopen+:} false; then :
10899  $as_echo_n "(cached) " >&6
10900else
10901  ac_check_lib_save_LIBS=$LIBS
10902LIBS="-lsvld  $LIBS"
10903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10904/* end confdefs.h.  */
10905
10906/* Override any GCC internal prototype to avoid an error.
10907   Use char because int might match the return type of a GCC
10908   builtin and then its argument prototype would still apply.  */
10909#ifdef __cplusplus
10910extern "C"
10911#endif
10912char dlopen ();
10913int
10914main ()
10915{
10916return dlopen ();
10917  ;
10918  return 0;
10919}
10920_ACEOF
10921if ac_fn_c_try_link "$LINENO"; then :
10922  ac_cv_lib_svld_dlopen=yes
10923else
10924  ac_cv_lib_svld_dlopen=no
10925fi
10926rm -f core conftest.err conftest.$ac_objext \
10927    conftest$ac_exeext conftest.$ac_ext
10928LIBS=$ac_check_lib_save_LIBS
10929fi
10930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10931$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10932if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10933  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10934else
10935  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10936$as_echo_n "checking for dld_link in -ldld... " >&6; }
10937if ${ac_cv_lib_dld_dld_link+:} false; then :
10938  $as_echo_n "(cached) " >&6
10939else
10940  ac_check_lib_save_LIBS=$LIBS
10941LIBS="-ldld  $LIBS"
10942cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10943/* end confdefs.h.  */
10944
10945/* Override any GCC internal prototype to avoid an error.
10946   Use char because int might match the return type of a GCC
10947   builtin and then its argument prototype would still apply.  */
10948#ifdef __cplusplus
10949extern "C"
10950#endif
10951char dld_link ();
10952int
10953main ()
10954{
10955return dld_link ();
10956  ;
10957  return 0;
10958}
10959_ACEOF
10960if ac_fn_c_try_link "$LINENO"; then :
10961  ac_cv_lib_dld_dld_link=yes
10962else
10963  ac_cv_lib_dld_dld_link=no
10964fi
10965rm -f core conftest.err conftest.$ac_objext \
10966    conftest$ac_exeext conftest.$ac_ext
10967LIBS=$ac_check_lib_save_LIBS
10968fi
10969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10970$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10971if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10972  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10973fi
10974
10975
10976fi
10977
10978
10979fi
10980
10981
10982fi
10983
10984
10985fi
10986
10987
10988fi
10989
10990    ;;
10991  esac
10992
10993  if test "x$lt_cv_dlopen" != xno; then
10994    enable_dlopen=yes
10995  else
10996    enable_dlopen=no
10997  fi
10998
10999  case $lt_cv_dlopen in
11000  dlopen)
11001    save_CPPFLAGS="$CPPFLAGS"
11002    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11003
11004    save_LDFLAGS="$LDFLAGS"
11005    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11006
11007    save_LIBS="$LIBS"
11008    LIBS="$lt_cv_dlopen_libs $LIBS"
11009
11010    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11011$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11012if ${lt_cv_dlopen_self+:} false; then :
11013  $as_echo_n "(cached) " >&6
11014else
11015  	  if test "$cross_compiling" = yes; then :
11016  lt_cv_dlopen_self=cross
11017else
11018  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11019  lt_status=$lt_dlunknown
11020  cat > conftest.$ac_ext <<_LT_EOF
11021#line $LINENO "configure"
11022#include "confdefs.h"
11023
11024#if HAVE_DLFCN_H
11025#include <dlfcn.h>
11026#endif
11027
11028#include <stdio.h>
11029
11030#ifdef RTLD_GLOBAL
11031#  define LT_DLGLOBAL		RTLD_GLOBAL
11032#else
11033#  ifdef DL_GLOBAL
11034#    define LT_DLGLOBAL		DL_GLOBAL
11035#  else
11036#    define LT_DLGLOBAL		0
11037#  endif
11038#endif
11039
11040/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11041   find out it does not work in some platform. */
11042#ifndef LT_DLLAZY_OR_NOW
11043#  ifdef RTLD_LAZY
11044#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11045#  else
11046#    ifdef DL_LAZY
11047#      define LT_DLLAZY_OR_NOW		DL_LAZY
11048#    else
11049#      ifdef RTLD_NOW
11050#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11051#      else
11052#        ifdef DL_NOW
11053#          define LT_DLLAZY_OR_NOW	DL_NOW
11054#        else
11055#          define LT_DLLAZY_OR_NOW	0
11056#        endif
11057#      endif
11058#    endif
11059#  endif
11060#endif
11061
11062/* When -fvisbility=hidden is used, assume the code has been annotated
11063   correspondingly for the symbols needed.  */
11064#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11065int fnord () __attribute__((visibility("default")));
11066#endif
11067
11068int fnord () { return 42; }
11069int main ()
11070{
11071  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11072  int status = $lt_dlunknown;
11073
11074  if (self)
11075    {
11076      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11077      else
11078        {
11079	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11080          else puts (dlerror ());
11081	}
11082      /* dlclose (self); */
11083    }
11084  else
11085    puts (dlerror ());
11086
11087  return status;
11088}
11089_LT_EOF
11090  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11091  (eval $ac_link) 2>&5
11092  ac_status=$?
11093  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11094  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11095    (./conftest; exit; ) >&5 2>/dev/null
11096    lt_status=$?
11097    case x$lt_status in
11098      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11099      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11100      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11101    esac
11102  else :
11103    # compilation failed
11104    lt_cv_dlopen_self=no
11105  fi
11106fi
11107rm -fr conftest*
11108
11109
11110fi
11111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11112$as_echo "$lt_cv_dlopen_self" >&6; }
11113
11114    if test "x$lt_cv_dlopen_self" = xyes; then
11115      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11116      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11117$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11118if ${lt_cv_dlopen_self_static+:} false; then :
11119  $as_echo_n "(cached) " >&6
11120else
11121  	  if test "$cross_compiling" = yes; then :
11122  lt_cv_dlopen_self_static=cross
11123else
11124  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11125  lt_status=$lt_dlunknown
11126  cat > conftest.$ac_ext <<_LT_EOF
11127#line $LINENO "configure"
11128#include "confdefs.h"
11129
11130#if HAVE_DLFCN_H
11131#include <dlfcn.h>
11132#endif
11133
11134#include <stdio.h>
11135
11136#ifdef RTLD_GLOBAL
11137#  define LT_DLGLOBAL		RTLD_GLOBAL
11138#else
11139#  ifdef DL_GLOBAL
11140#    define LT_DLGLOBAL		DL_GLOBAL
11141#  else
11142#    define LT_DLGLOBAL		0
11143#  endif
11144#endif
11145
11146/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11147   find out it does not work in some platform. */
11148#ifndef LT_DLLAZY_OR_NOW
11149#  ifdef RTLD_LAZY
11150#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11151#  else
11152#    ifdef DL_LAZY
11153#      define LT_DLLAZY_OR_NOW		DL_LAZY
11154#    else
11155#      ifdef RTLD_NOW
11156#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11157#      else
11158#        ifdef DL_NOW
11159#          define LT_DLLAZY_OR_NOW	DL_NOW
11160#        else
11161#          define LT_DLLAZY_OR_NOW	0
11162#        endif
11163#      endif
11164#    endif
11165#  endif
11166#endif
11167
11168/* When -fvisbility=hidden is used, assume the code has been annotated
11169   correspondingly for the symbols needed.  */
11170#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11171int fnord () __attribute__((visibility("default")));
11172#endif
11173
11174int fnord () { return 42; }
11175int main ()
11176{
11177  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11178  int status = $lt_dlunknown;
11179
11180  if (self)
11181    {
11182      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11183      else
11184        {
11185	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11186          else puts (dlerror ());
11187	}
11188      /* dlclose (self); */
11189    }
11190  else
11191    puts (dlerror ());
11192
11193  return status;
11194}
11195_LT_EOF
11196  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11197  (eval $ac_link) 2>&5
11198  ac_status=$?
11199  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11200  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11201    (./conftest; exit; ) >&5 2>/dev/null
11202    lt_status=$?
11203    case x$lt_status in
11204      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11205      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11206      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11207    esac
11208  else :
11209    # compilation failed
11210    lt_cv_dlopen_self_static=no
11211  fi
11212fi
11213rm -fr conftest*
11214
11215
11216fi
11217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11218$as_echo "$lt_cv_dlopen_self_static" >&6; }
11219    fi
11220
11221    CPPFLAGS="$save_CPPFLAGS"
11222    LDFLAGS="$save_LDFLAGS"
11223    LIBS="$save_LIBS"
11224    ;;
11225  esac
11226
11227  case $lt_cv_dlopen_self in
11228  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11229  *) enable_dlopen_self=unknown ;;
11230  esac
11231
11232  case $lt_cv_dlopen_self_static in
11233  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11234  *) enable_dlopen_self_static=unknown ;;
11235  esac
11236fi
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254striplib=
11255old_striplib=
11256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11257$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11258if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11259  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11260  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11261  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11262$as_echo "yes" >&6; }
11263else
11264# FIXME - insert some real tests, host_os isn't really good enough
11265  case $host_os in
11266  darwin*)
11267    if test -n "$STRIP" ; then
11268      striplib="$STRIP -x"
11269      old_striplib="$STRIP -S"
11270      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11271$as_echo "yes" >&6; }
11272    else
11273      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11274$as_echo "no" >&6; }
11275    fi
11276    ;;
11277  *)
11278    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11279$as_echo "no" >&6; }
11280    ;;
11281  esac
11282fi
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295  # Report which library types will actually be built
11296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11297$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11298  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11299$as_echo "$can_build_shared" >&6; }
11300
11301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11302$as_echo_n "checking whether to build shared libraries... " >&6; }
11303  test "$can_build_shared" = "no" && enable_shared=no
11304
11305  # On AIX, shared libraries and static libraries use the same namespace, and
11306  # are all built from PIC.
11307  case $host_os in
11308  aix3*)
11309    test "$enable_shared" = yes && enable_static=no
11310    if test -n "$RANLIB"; then
11311      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11312      postinstall_cmds='$RANLIB $lib'
11313    fi
11314    ;;
11315
11316  aix[4-9]*)
11317    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11318      test "$enable_shared" = yes && enable_static=no
11319    fi
11320    ;;
11321  esac
11322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11323$as_echo "$enable_shared" >&6; }
11324
11325  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11326$as_echo_n "checking whether to build static libraries... " >&6; }
11327  # Make sure either enable_shared or enable_static is yes.
11328  test "$enable_shared" = yes || enable_static=yes
11329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11330$as_echo "$enable_static" >&6; }
11331
11332
11333
11334
11335fi
11336ac_ext=c
11337ac_cpp='$CPP $CPPFLAGS'
11338ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11339ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11340ac_compiler_gnu=$ac_cv_c_compiler_gnu
11341
11342CC="$lt_save_CC"
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356        ac_config_commands="$ac_config_commands libtool"
11357
11358
11359
11360
11361# Only expand once:
11362
11363
11364
11365# *****
11366# GNOME
11367# *****
11368
11369
11370	# Check whether --enable-debug was given.
11371if test "${enable_debug+set}" = set; then :
11372  enableval=$enable_debug;
11373else
11374  enable_debug=no
11375fi
11376
11377
11378	if test x$enable_debug = xyes ; then
11379
11380$as_echo "#define GNOME_ENABLE_DEBUG 1" >>confdefs.h
11381
11382	fi
11383
11384
11385
11386    # Check whether --enable-compile-warnings was given.
11387if test "${enable_compile_warnings+set}" = set; then :
11388  enableval=$enable_compile_warnings;
11389else
11390  enable_compile_warnings="maximum"
11391fi
11392
11393
11394    warnCFLAGS=
11395    if test "x$GCC" != xyes; then
11396	enable_compile_warnings=no
11397    fi
11398
11399    warning_flags=
11400    realsave_CFLAGS="$CFLAGS"
11401
11402    case "$enable_compile_warnings" in
11403    no)
11404	warning_flags=
11405	;;
11406    minimum)
11407	warning_flags="-Wall"
11408	;;
11409    yes)
11410	warning_flags="-Wall -Wmissing-prototypes"
11411	;;
11412    maximum|error)
11413	warning_flags="-Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith"
11414	CFLAGS="$warning_flags $CFLAGS"
11415	for option in -Wno-sign-compare; do
11416		SAVE_CFLAGS="$CFLAGS"
11417		CFLAGS="$CFLAGS $option"
11418		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gcc understands $option" >&5
11419$as_echo_n "checking whether gcc understands $option... " >&6; }
11420		cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11421/* end confdefs.h.  */
11422
11423int
11424main ()
11425{
11426
11427  ;
11428  return 0;
11429}
11430_ACEOF
11431if ac_fn_c_try_compile "$LINENO"; then :
11432  has_option=yes
11433else
11434  has_option=no
11435fi
11436rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11437		CFLAGS="$SAVE_CFLAGS"
11438		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_option" >&5
11439$as_echo "$has_option" >&6; }
11440		if test $has_option = yes; then
11441		  warning_flags="$warning_flags $option"
11442		fi
11443		unset has_option
11444		unset SAVE_CFLAGS
11445	done
11446	unset option
11447	if test "$enable_compile_warnings" = "error" ; then
11448	    warning_flags="$warning_flags -Werror"
11449	fi
11450	;;
11451    *)
11452	as_fn_error $? "Unknown argument '$enable_compile_warnings' to --enable-compile-warnings" "$LINENO" 5
11453	;;
11454    esac
11455    CFLAGS="$realsave_CFLAGS"
11456    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what warning flags to pass to the C compiler" >&5
11457$as_echo_n "checking what warning flags to pass to the C compiler... " >&6; }
11458    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $warning_flags" >&5
11459$as_echo "$warning_flags" >&6; }
11460
11461    # Check whether --enable-iso-c was given.
11462if test "${enable_iso_c+set}" = set; then :
11463  enableval=$enable_iso_c;
11464else
11465  enable_iso_c=no
11466fi
11467
11468
11469    { $as_echo "$as_me:${as_lineno-$LINENO}: checking what language compliance flags to pass to the C compiler" >&5
11470$as_echo_n "checking what language compliance flags to pass to the C compiler... " >&6; }
11471    complCFLAGS=
11472    if test "x$enable_iso_c" != "xno"; then
11473	if test "x$GCC" = "xyes"; then
11474	case " $CFLAGS " in
11475	    *\ \	-ansi\ \	*) ;;
11476	    *) complCFLAGS="$complCFLAGS -ansi" ;;
11477	esac
11478	case " $CFLAGS " in
11479	    *\ \	-pedantic\ \	*) ;;
11480	    *) complCFLAGS="$complCFLAGS -pedantic" ;;
11481	esac
11482	fi
11483    fi
11484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $complCFLAGS" >&5
11485$as_echo "$complCFLAGS" >&6; }
11486
11487    WARN_CFLAGS="$warning_flags $complCFLAGS"
11488
11489
11490
11491#### gcc warning flags
11492
11493if test "x$GCC" = "xyes"; then
11494    case " $CFLAGS " in
11495  *[\ \	]-Wall[\ \	]*) ;;
11496  *) CFLAGS="$CFLAGS -Wall" ;;
11497  esac
11498
11499  case " $CFLAGS " in
11500  *[\ \	]-Wchar-subscripts[\ \	]*) ;;
11501  *) CFLAGS="$CFLAGS -Wchar-subscripts" ;;
11502  esac
11503
11504  case " $CFLAGS " in
11505  *[\ \	]-Wmissing-declarations[\ \	]*) ;;
11506  *) CFLAGS="$CFLAGS -Wmissing-declarations" ;;
11507  esac
11508
11509  case " $CFLAGS " in
11510  *[\ \	]-Wnested-externs[\ \	]*) ;;
11511  *) CFLAGS="$CFLAGS -Wnested-externs" ;;
11512  esac
11513
11514  case " $CFLAGS " in
11515  *[\ \	]-Wpointer-arith[\ \	]*) ;;
11516  *) CFLAGS="$CFLAGS -Wpointer-arith" ;;
11517  esac
11518
11519  case " $CFLAGS " in
11520  *[\ \	]-Wcast-align[\ \	]*) ;;
11521  *) CFLAGS="$CFLAGS -Wcast-align" ;;
11522  esac
11523
11524  case " $CFLAGS " in
11525  *[\ \	]-Wsign-compare[\ \	]*) ;;
11526  *) CFLAGS="$CFLAGS -Wsign-compare" ;;
11527  esac
11528
11529  if test "x$enable_ansi" = "xyes"; then
11530    case " $CFLAGS " in
11531    *[\ \	]-ansi[\ \	]*) ;;
11532    *) CFLAGS="$CFLAGS -ansi" ;;
11533    esac
11534
11535    case " $CFLAGS " in
11536    *[\ \	]-D_POSIX_C_SOURCE*) ;;
11537    *) CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199309L" ;;
11538    esac
11539
11540    case " $CFLAGS " in
11541    *[\ \	]-D_BSD_SOURCE[\ \	]*) ;;
11542    *) CFLAGS="$CFLAGS -D_BSD_SOURCE" ;;
11543    esac
11544
11545    case " $CFLAGS " in
11546    *[\ \	]-pedantic[\ \	]*) ;;
11547    *) CFLAGS="$CFLAGS -pedantic" ;;
11548    esac
11549  fi
11550  if test x$enable_gcov = xyes; then
11551    case " $CFLAGS " in
11552    *[\ \	]-fprofile-arcs[\ \	]*) ;;
11553    *) CFLAGS="$CFLAGS -fprofile-arcs" ;;
11554    esac
11555    case " $CFLAGS " in
11556    *[\ \	]-ftest-coverage[\ \	]*) ;;
11557    *) CFLAGS="$CFLAGS -ftest-coverage" ;;
11558    esac
11559
11560    ## remove optimization
11561    CFLAGS=`echo "$CFLAGS" | sed -e 's/-O[0-9]*//g'`
11562  fi
11563  else
11564  if test x$enable_gcov = xyes; then
11565    as_fn_error $? "--enable-gcov can only be used with gcc" "$LINENO" 5
11566  fi
11567fi
11568
11569# ***************************
11570# Check for required packages
11571# ***************************
11572
11573POLKIT_AGENT_REQUIRED=0.97
11574POLKIT_GOBJECT_REQUIRED=0.97
11575GTK_REQUIRED=3.0.0
11576GLIB_REQUIRED=2.30
11577
11578
11579
11580
11581
11582
11583
11584if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
11585	if test -n "$ac_tool_prefix"; then
11586  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
11587set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
11588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11589$as_echo_n "checking for $ac_word... " >&6; }
11590if ${ac_cv_path_PKG_CONFIG+:} false; then :
11591  $as_echo_n "(cached) " >&6
11592else
11593  case $PKG_CONFIG in
11594  [\\/]* | ?:[\\/]*)
11595  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
11596  ;;
11597  *)
11598  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11599for as_dir in $PATH
11600do
11601  IFS=$as_save_IFS
11602  test -z "$as_dir" && as_dir=.
11603    for ac_exec_ext in '' $ac_executable_extensions; do
11604  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11605    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11607    break 2
11608  fi
11609done
11610  done
11611IFS=$as_save_IFS
11612
11613  ;;
11614esac
11615fi
11616PKG_CONFIG=$ac_cv_path_PKG_CONFIG
11617if test -n "$PKG_CONFIG"; then
11618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
11619$as_echo "$PKG_CONFIG" >&6; }
11620else
11621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11622$as_echo "no" >&6; }
11623fi
11624
11625
11626fi
11627if test -z "$ac_cv_path_PKG_CONFIG"; then
11628  ac_pt_PKG_CONFIG=$PKG_CONFIG
11629  # Extract the first word of "pkg-config", so it can be a program name with args.
11630set dummy pkg-config; ac_word=$2
11631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11632$as_echo_n "checking for $ac_word... " >&6; }
11633if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
11634  $as_echo_n "(cached) " >&6
11635else
11636  case $ac_pt_PKG_CONFIG in
11637  [\\/]* | ?:[\\/]*)
11638  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
11639  ;;
11640  *)
11641  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11642for as_dir in $PATH
11643do
11644  IFS=$as_save_IFS
11645  test -z "$as_dir" && as_dir=.
11646    for ac_exec_ext in '' $ac_executable_extensions; do
11647  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11648    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
11649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11650    break 2
11651  fi
11652done
11653  done
11654IFS=$as_save_IFS
11655
11656  ;;
11657esac
11658fi
11659ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
11660if test -n "$ac_pt_PKG_CONFIG"; then
11661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
11662$as_echo "$ac_pt_PKG_CONFIG" >&6; }
11663else
11664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11665$as_echo "no" >&6; }
11666fi
11667
11668  if test "x$ac_pt_PKG_CONFIG" = x; then
11669    PKG_CONFIG=""
11670  else
11671    case $cross_compiling:$ac_tool_warned in
11672yes:)
11673{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
11674$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
11675ac_tool_warned=yes ;;
11676esac
11677    PKG_CONFIG=$ac_pt_PKG_CONFIG
11678  fi
11679else
11680  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
11681fi
11682
11683fi
11684if test -n "$PKG_CONFIG"; then
11685	_pkg_min_version=0.9.0
11686	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
11687$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
11688	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
11689		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11690$as_echo "yes" >&6; }
11691	else
11692		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11693$as_echo "no" >&6; }
11694		PKG_CONFIG=""
11695	fi
11696fi
11697
11698pkg_failed=no
11699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
11700$as_echo_n "checking for GTK... " >&6; }
11701
11702if test -n "$GTK_CFLAGS"; then
11703    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
11704 elif test -n "$PKG_CONFIG"; then
11705    if test -n "$PKG_CONFIG" && \
11706    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
11707  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
11708  ac_status=$?
11709  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11710  test $ac_status = 0; }; then
11711  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
11712else
11713  pkg_failed=yes
11714fi
11715 else
11716    pkg_failed=untried
11717fi
11718if test -n "$GTK_LIBS"; then
11719    pkg_cv_GTK_LIBS="$GTK_LIBS"
11720 elif test -n "$PKG_CONFIG"; then
11721    if test -n "$PKG_CONFIG" && \
11722    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
11723  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
11724  ac_status=$?
11725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11726  test $ac_status = 0; }; then
11727  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
11728else
11729  pkg_failed=yes
11730fi
11731 else
11732    pkg_failed=untried
11733fi
11734
11735
11736
11737if test $pkg_failed = yes; then
11738   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11739$as_echo "no" >&6; }
11740
11741if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11742        _pkg_short_errors_supported=yes
11743else
11744        _pkg_short_errors_supported=no
11745fi
11746        if test $_pkg_short_errors_supported = yes; then
11747	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
11748        else
11749	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
11750        fi
11751	# Put the nasty error message in config.log where it belongs
11752	echo "$GTK_PKG_ERRORS" >&5
11753
11754	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
11755
11756$GTK_PKG_ERRORS
11757
11758Consider adjusting the PKG_CONFIG_PATH environment variable if you
11759installed software in a non-standard prefix.
11760
11761Alternatively, you may set the environment variables GTK_CFLAGS
11762and GTK_LIBS to avoid the need to call pkg-config.
11763See the pkg-config man page for more details." "$LINENO" 5
11764
11765elif test $pkg_failed = untried; then
11766     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11767$as_echo "no" >&6; }
11768	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11769$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11770as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11771is in your PATH or set the PKG_CONFIG environment variable to the full
11772path to pkg-config.
11773
11774Alternatively, you may set the environment variables GTK_CFLAGS
11775and GTK_LIBS to avoid the need to call pkg-config.
11776See the pkg-config man page for more details.
11777
11778To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11779See \`config.log' for more details" "$LINENO" 5; }
11780
11781else
11782	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
11783	GTK_LIBS=$pkg_cv_GTK_LIBS
11784        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11785$as_echo "yes" >&6; }
11786
11787fi
11788
11789
11790
11791
11792pkg_failed=no
11793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
11794$as_echo_n "checking for GLIB... " >&6; }
11795
11796if test -n "$GLIB_CFLAGS"; then
11797    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
11798 elif test -n "$PKG_CONFIG"; then
11799    if test -n "$PKG_CONFIG" && \
11800    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
11801  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
11802  ac_status=$?
11803  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11804  test $ac_status = 0; }; then
11805  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11806else
11807  pkg_failed=yes
11808fi
11809 else
11810    pkg_failed=untried
11811fi
11812if test -n "$GLIB_LIBS"; then
11813    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
11814 elif test -n "$PKG_CONFIG"; then
11815    if test -n "$PKG_CONFIG" && \
11816    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED\""; } >&5
11817  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED") 2>&5
11818  ac_status=$?
11819  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11820  test $ac_status = 0; }; then
11821  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED" 2>/dev/null`
11822else
11823  pkg_failed=yes
11824fi
11825 else
11826    pkg_failed=untried
11827fi
11828
11829
11830
11831if test $pkg_failed = yes; then
11832   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11833$as_echo "no" >&6; }
11834
11835if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11836        _pkg_short_errors_supported=yes
11837else
11838        _pkg_short_errors_supported=no
11839fi
11840        if test $_pkg_short_errors_supported = yes; then
11841	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
11842        else
11843	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= $GLIB_REQUIRED" 2>&1`
11844        fi
11845	# Put the nasty error message in config.log where it belongs
11846	echo "$GLIB_PKG_ERRORS" >&5
11847
11848	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED) were not met:
11849
11850$GLIB_PKG_ERRORS
11851
11852Consider adjusting the PKG_CONFIG_PATH environment variable if you
11853installed software in a non-standard prefix.
11854
11855Alternatively, you may set the environment variables GLIB_CFLAGS
11856and GLIB_LIBS to avoid the need to call pkg-config.
11857See the pkg-config man page for more details." "$LINENO" 5
11858
11859elif test $pkg_failed = untried; then
11860     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11861$as_echo "no" >&6; }
11862	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11863$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11864as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11865is in your PATH or set the PKG_CONFIG environment variable to the full
11866path to pkg-config.
11867
11868Alternatively, you may set the environment variables GLIB_CFLAGS
11869and GLIB_LIBS to avoid the need to call pkg-config.
11870See the pkg-config man page for more details.
11871
11872To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11873See \`config.log' for more details" "$LINENO" 5; }
11874
11875else
11876	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
11877	GLIB_LIBS=$pkg_cv_GLIB_LIBS
11878        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11879$as_echo "yes" >&6; }
11880
11881fi
11882
11883
11884
11885
11886pkg_failed=no
11887{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT_AGENT" >&5
11888$as_echo_n "checking for POLKIT_AGENT... " >&6; }
11889
11890if test -n "$POLKIT_AGENT_CFLAGS"; then
11891    pkg_cv_POLKIT_AGENT_CFLAGS="$POLKIT_AGENT_CFLAGS"
11892 elif test -n "$PKG_CONFIG"; then
11893    if test -n "$PKG_CONFIG" && \
11894    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-agent-1 >= \$POLKIT_AGENT_REQUIRED\""; } >&5
11895  ($PKG_CONFIG --exists --print-errors "polkit-agent-1 >= $POLKIT_AGENT_REQUIRED") 2>&5
11896  ac_status=$?
11897  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11898  test $ac_status = 0; }; then
11899  pkg_cv_POLKIT_AGENT_CFLAGS=`$PKG_CONFIG --cflags "polkit-agent-1 >= $POLKIT_AGENT_REQUIRED" 2>/dev/null`
11900else
11901  pkg_failed=yes
11902fi
11903 else
11904    pkg_failed=untried
11905fi
11906if test -n "$POLKIT_AGENT_LIBS"; then
11907    pkg_cv_POLKIT_AGENT_LIBS="$POLKIT_AGENT_LIBS"
11908 elif test -n "$PKG_CONFIG"; then
11909    if test -n "$PKG_CONFIG" && \
11910    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-agent-1 >= \$POLKIT_AGENT_REQUIRED\""; } >&5
11911  ($PKG_CONFIG --exists --print-errors "polkit-agent-1 >= $POLKIT_AGENT_REQUIRED") 2>&5
11912  ac_status=$?
11913  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11914  test $ac_status = 0; }; then
11915  pkg_cv_POLKIT_AGENT_LIBS=`$PKG_CONFIG --libs "polkit-agent-1 >= $POLKIT_AGENT_REQUIRED" 2>/dev/null`
11916else
11917  pkg_failed=yes
11918fi
11919 else
11920    pkg_failed=untried
11921fi
11922
11923
11924
11925if test $pkg_failed = yes; then
11926   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11927$as_echo "no" >&6; }
11928
11929if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11930        _pkg_short_errors_supported=yes
11931else
11932        _pkg_short_errors_supported=no
11933fi
11934        if test $_pkg_short_errors_supported = yes; then
11935	        POLKIT_AGENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-agent-1 >= $POLKIT_AGENT_REQUIRED" 2>&1`
11936        else
11937	        POLKIT_AGENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "polkit-agent-1 >= $POLKIT_AGENT_REQUIRED" 2>&1`
11938        fi
11939	# Put the nasty error message in config.log where it belongs
11940	echo "$POLKIT_AGENT_PKG_ERRORS" >&5
11941
11942	as_fn_error $? "Package requirements (polkit-agent-1 >= $POLKIT_AGENT_REQUIRED) were not met:
11943
11944$POLKIT_AGENT_PKG_ERRORS
11945
11946Consider adjusting the PKG_CONFIG_PATH environment variable if you
11947installed software in a non-standard prefix.
11948
11949Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS
11950and POLKIT_AGENT_LIBS to avoid the need to call pkg-config.
11951See the pkg-config man page for more details." "$LINENO" 5
11952
11953elif test $pkg_failed = untried; then
11954     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11955$as_echo "no" >&6; }
11956	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11957$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11958as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11959is in your PATH or set the PKG_CONFIG environment variable to the full
11960path to pkg-config.
11961
11962Alternatively, you may set the environment variables POLKIT_AGENT_CFLAGS
11963and POLKIT_AGENT_LIBS to avoid the need to call pkg-config.
11964See the pkg-config man page for more details.
11965
11966To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11967See \`config.log' for more details" "$LINENO" 5; }
11968
11969else
11970	POLKIT_AGENT_CFLAGS=$pkg_cv_POLKIT_AGENT_CFLAGS
11971	POLKIT_AGENT_LIBS=$pkg_cv_POLKIT_AGENT_LIBS
11972        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11973$as_echo "yes" >&6; }
11974
11975fi
11976
11977
11978
11979
11980pkg_failed=no
11981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for POLKIT_GOBJECT" >&5
11982$as_echo_n "checking for POLKIT_GOBJECT... " >&6; }
11983
11984if test -n "$POLKIT_GOBJECT_CFLAGS"; then
11985    pkg_cv_POLKIT_GOBJECT_CFLAGS="$POLKIT_GOBJECT_CFLAGS"
11986 elif test -n "$PKG_CONFIG"; then
11987    if test -n "$PKG_CONFIG" && \
11988    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= \$POLKIT_GOBJECT_REQUIRED\""; } >&5
11989  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED") 2>&5
11990  ac_status=$?
11991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11992  test $ac_status = 0; }; then
11993  pkg_cv_POLKIT_GOBJECT_CFLAGS=`$PKG_CONFIG --cflags "polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED" 2>/dev/null`
11994else
11995  pkg_failed=yes
11996fi
11997 else
11998    pkg_failed=untried
11999fi
12000if test -n "$POLKIT_GOBJECT_LIBS"; then
12001    pkg_cv_POLKIT_GOBJECT_LIBS="$POLKIT_GOBJECT_LIBS"
12002 elif test -n "$PKG_CONFIG"; then
12003    if test -n "$PKG_CONFIG" && \
12004    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"polkit-gobject-1 >= \$POLKIT_GOBJECT_REQUIRED\""; } >&5
12005  ($PKG_CONFIG --exists --print-errors "polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED") 2>&5
12006  ac_status=$?
12007  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12008  test $ac_status = 0; }; then
12009  pkg_cv_POLKIT_GOBJECT_LIBS=`$PKG_CONFIG --libs "polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED" 2>/dev/null`
12010else
12011  pkg_failed=yes
12012fi
12013 else
12014    pkg_failed=untried
12015fi
12016
12017
12018
12019if test $pkg_failed = yes; then
12020   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12021$as_echo "no" >&6; }
12022
12023if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12024        _pkg_short_errors_supported=yes
12025else
12026        _pkg_short_errors_supported=no
12027fi
12028        if test $_pkg_short_errors_supported = yes; then
12029	        POLKIT_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED" 2>&1`
12030        else
12031	        POLKIT_GOBJECT_PKG_ERRORS=`$PKG_CONFIG --print-errors "polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED" 2>&1`
12032        fi
12033	# Put the nasty error message in config.log where it belongs
12034	echo "$POLKIT_GOBJECT_PKG_ERRORS" >&5
12035
12036	as_fn_error $? "Package requirements (polkit-gobject-1 >= $POLKIT_GOBJECT_REQUIRED) were not met:
12037
12038$POLKIT_GOBJECT_PKG_ERRORS
12039
12040Consider adjusting the PKG_CONFIG_PATH environment variable if you
12041installed software in a non-standard prefix.
12042
12043Alternatively, you may set the environment variables POLKIT_GOBJECT_CFLAGS
12044and POLKIT_GOBJECT_LIBS to avoid the need to call pkg-config.
12045See the pkg-config man page for more details." "$LINENO" 5
12046
12047elif test $pkg_failed = untried; then
12048     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12049$as_echo "no" >&6; }
12050	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12052as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12053is in your PATH or set the PKG_CONFIG environment variable to the full
12054path to pkg-config.
12055
12056Alternatively, you may set the environment variables POLKIT_GOBJECT_CFLAGS
12057and POLKIT_GOBJECT_LIBS to avoid the need to call pkg-config.
12058See the pkg-config man page for more details.
12059
12060To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12061See \`config.log' for more details" "$LINENO" 5; }
12062
12063else
12064	POLKIT_GOBJECT_CFLAGS=$pkg_cv_POLKIT_GOBJECT_CFLAGS
12065	POLKIT_GOBJECT_LIBS=$pkg_cv_POLKIT_GOBJECT_LIBS
12066        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12067$as_echo "yes" >&6; }
12068
12069fi
12070
12071
12072
12073# ********************
12074# Internationalisation
12075# ********************
12076
12077
12078  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
12079$as_echo_n "checking whether NLS is requested... " >&6; }
12080    # Check whether --enable-nls was given.
12081if test "${enable_nls+set}" = set; then :
12082  enableval=$enable_nls; USE_NLS=$enableval
12083else
12084  USE_NLS=yes
12085fi
12086
12087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
12088$as_echo "$USE_NLS" >&6; }
12089
12090
12091
12092
12093case "$am__api_version" in
12094    1.01234)
12095	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
12096    ;;
12097    *)
12098    ;;
12099esac
12100
12101if test -n "0.35.0"; then
12102    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5
12103$as_echo_n "checking for intltool >= 0.35.0... " >&6; }
12104
12105    INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12106    INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
12107    INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
12108
12109    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
12110$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
12111    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
12112	as_fn_error $? "Your intltool is too old.  You need intltool 0.35.0 or later." "$LINENO" 5
12113fi
12114
12115# Extract the first word of "intltool-update", so it can be a program name with args.
12116set dummy intltool-update; ac_word=$2
12117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12118$as_echo_n "checking for $ac_word... " >&6; }
12119if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
12120  $as_echo_n "(cached) " >&6
12121else
12122  case $INTLTOOL_UPDATE in
12123  [\\/]* | ?:[\\/]*)
12124  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
12125  ;;
12126  *)
12127  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128for as_dir in $PATH
12129do
12130  IFS=$as_save_IFS
12131  test -z "$as_dir" && as_dir=.
12132    for ac_exec_ext in '' $ac_executable_extensions; do
12133  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12134    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
12135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12136    break 2
12137  fi
12138done
12139  done
12140IFS=$as_save_IFS
12141
12142  ;;
12143esac
12144fi
12145INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
12146if test -n "$INTLTOOL_UPDATE"; then
12147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
12148$as_echo "$INTLTOOL_UPDATE" >&6; }
12149else
12150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12151$as_echo "no" >&6; }
12152fi
12153
12154
12155# Extract the first word of "intltool-merge", so it can be a program name with args.
12156set dummy intltool-merge; ac_word=$2
12157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12158$as_echo_n "checking for $ac_word... " >&6; }
12159if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
12160  $as_echo_n "(cached) " >&6
12161else
12162  case $INTLTOOL_MERGE in
12163  [\\/]* | ?:[\\/]*)
12164  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
12165  ;;
12166  *)
12167  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12168for as_dir in $PATH
12169do
12170  IFS=$as_save_IFS
12171  test -z "$as_dir" && as_dir=.
12172    for ac_exec_ext in '' $ac_executable_extensions; do
12173  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12174    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
12175    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12176    break 2
12177  fi
12178done
12179  done
12180IFS=$as_save_IFS
12181
12182  ;;
12183esac
12184fi
12185INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
12186if test -n "$INTLTOOL_MERGE"; then
12187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
12188$as_echo "$INTLTOOL_MERGE" >&6; }
12189else
12190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12191$as_echo "no" >&6; }
12192fi
12193
12194
12195# Extract the first word of "intltool-extract", so it can be a program name with args.
12196set dummy intltool-extract; ac_word=$2
12197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12198$as_echo_n "checking for $ac_word... " >&6; }
12199if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
12200  $as_echo_n "(cached) " >&6
12201else
12202  case $INTLTOOL_EXTRACT in
12203  [\\/]* | ?:[\\/]*)
12204  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
12205  ;;
12206  *)
12207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12208for as_dir in $PATH
12209do
12210  IFS=$as_save_IFS
12211  test -z "$as_dir" && as_dir=.
12212    for ac_exec_ext in '' $ac_executable_extensions; do
12213  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12214    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
12215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12216    break 2
12217  fi
12218done
12219  done
12220IFS=$as_save_IFS
12221
12222  ;;
12223esac
12224fi
12225INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
12226if test -n "$INTLTOOL_EXTRACT"; then
12227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
12228$as_echo "$INTLTOOL_EXTRACT" >&6; }
12229else
12230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12231$as_echo "no" >&6; }
12232fi
12233
12234
12235if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
12236    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
12237fi
12238
12239  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 $< $@'
12240INTLTOOL_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 $< $@'
12241     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 $< $@'
12242     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 $< $@'
12243      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; LC_ALL=C $(INTLTOOL_MERGE) -o -p $(top_srcdir)/po $< $@'
12244     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 $< $@'
12245   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 $< $@'
12246    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 $< $@'
12247INTLTOOL_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 $< $@'
12248       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 $< $@'
12249      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 $< $@'
12250      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; LC_ALL=C $(INTLTOOL_MERGE) -x -u /tmp $< $@'
12251      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 $< $@'
12252      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 $< $@'
12253    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 $< $@'
12254  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 $< $@'
12255    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 $< $@'
12256    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 $< $@'
12257   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 $< $@'
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355# Check the gettext tools to make sure they are GNU
12356# Extract the first word of "xgettext", so it can be a program name with args.
12357set dummy xgettext; ac_word=$2
12358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12359$as_echo_n "checking for $ac_word... " >&6; }
12360if ${ac_cv_path_XGETTEXT+:} false; then :
12361  $as_echo_n "(cached) " >&6
12362else
12363  case $XGETTEXT in
12364  [\\/]* | ?:[\\/]*)
12365  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
12366  ;;
12367  *)
12368  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12369for as_dir in $PATH
12370do
12371  IFS=$as_save_IFS
12372  test -z "$as_dir" && as_dir=.
12373    for ac_exec_ext in '' $ac_executable_extensions; do
12374  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12375    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
12376    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12377    break 2
12378  fi
12379done
12380  done
12381IFS=$as_save_IFS
12382
12383  ;;
12384esac
12385fi
12386XGETTEXT=$ac_cv_path_XGETTEXT
12387if test -n "$XGETTEXT"; then
12388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
12389$as_echo "$XGETTEXT" >&6; }
12390else
12391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12392$as_echo "no" >&6; }
12393fi
12394
12395
12396# Extract the first word of "msgmerge", so it can be a program name with args.
12397set dummy msgmerge; ac_word=$2
12398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12399$as_echo_n "checking for $ac_word... " >&6; }
12400if ${ac_cv_path_MSGMERGE+:} false; then :
12401  $as_echo_n "(cached) " >&6
12402else
12403  case $MSGMERGE in
12404  [\\/]* | ?:[\\/]*)
12405  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
12406  ;;
12407  *)
12408  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12409for as_dir in $PATH
12410do
12411  IFS=$as_save_IFS
12412  test -z "$as_dir" && as_dir=.
12413    for ac_exec_ext in '' $ac_executable_extensions; do
12414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12415    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
12416    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12417    break 2
12418  fi
12419done
12420  done
12421IFS=$as_save_IFS
12422
12423  ;;
12424esac
12425fi
12426MSGMERGE=$ac_cv_path_MSGMERGE
12427if test -n "$MSGMERGE"; then
12428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
12429$as_echo "$MSGMERGE" >&6; }
12430else
12431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432$as_echo "no" >&6; }
12433fi
12434
12435
12436# Extract the first word of "msgfmt", so it can be a program name with args.
12437set dummy msgfmt; ac_word=$2
12438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12439$as_echo_n "checking for $ac_word... " >&6; }
12440if ${ac_cv_path_MSGFMT+:} false; then :
12441  $as_echo_n "(cached) " >&6
12442else
12443  case $MSGFMT in
12444  [\\/]* | ?:[\\/]*)
12445  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
12446  ;;
12447  *)
12448  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12449for as_dir in $PATH
12450do
12451  IFS=$as_save_IFS
12452  test -z "$as_dir" && as_dir=.
12453    for ac_exec_ext in '' $ac_executable_extensions; do
12454  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12455    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
12456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12457    break 2
12458  fi
12459done
12460  done
12461IFS=$as_save_IFS
12462
12463  ;;
12464esac
12465fi
12466MSGFMT=$ac_cv_path_MSGFMT
12467if test -n "$MSGFMT"; then
12468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
12469$as_echo "$MSGFMT" >&6; }
12470else
12471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12472$as_echo "no" >&6; }
12473fi
12474
12475
12476# Extract the first word of "gmsgfmt", so it can be a program name with args.
12477set dummy gmsgfmt; ac_word=$2
12478{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12479$as_echo_n "checking for $ac_word... " >&6; }
12480if ${ac_cv_path_GMSGFMT+:} false; then :
12481  $as_echo_n "(cached) " >&6
12482else
12483  case $GMSGFMT in
12484  [\\/]* | ?:[\\/]*)
12485  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
12486  ;;
12487  *)
12488  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12489for as_dir in $PATH
12490do
12491  IFS=$as_save_IFS
12492  test -z "$as_dir" && as_dir=.
12493    for ac_exec_ext in '' $ac_executable_extensions; do
12494  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12495    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
12496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12497    break 2
12498  fi
12499done
12500  done
12501IFS=$as_save_IFS
12502
12503  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
12504  ;;
12505esac
12506fi
12507GMSGFMT=$ac_cv_path_GMSGFMT
12508if test -n "$GMSGFMT"; then
12509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
12510$as_echo "$GMSGFMT" >&6; }
12511else
12512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12513$as_echo "no" >&6; }
12514fi
12515
12516
12517if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
12518    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12519fi
12520xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
12521mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
12522mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
12523if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
12524    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
12525fi
12526
12527# Extract the first word of "perl", so it can be a program name with args.
12528set dummy perl; ac_word=$2
12529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12530$as_echo_n "checking for $ac_word... " >&6; }
12531if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
12532  $as_echo_n "(cached) " >&6
12533else
12534  case $INTLTOOL_PERL in
12535  [\\/]* | ?:[\\/]*)
12536  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
12537  ;;
12538  *)
12539  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12540for as_dir in $PATH
12541do
12542  IFS=$as_save_IFS
12543  test -z "$as_dir" && as_dir=.
12544    for ac_exec_ext in '' $ac_executable_extensions; do
12545  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12546    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
12547    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12548    break 2
12549  fi
12550done
12551  done
12552IFS=$as_save_IFS
12553
12554  ;;
12555esac
12556fi
12557INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
12558if test -n "$INTLTOOL_PERL"; then
12559  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
12560$as_echo "$INTLTOOL_PERL" >&6; }
12561else
12562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12563$as_echo "no" >&6; }
12564fi
12565
12566
12567if test -z "$INTLTOOL_PERL"; then
12568   as_fn_error $? "perl not found" "$LINENO" 5
12569fi
12570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
12571$as_echo_n "checking for perl >= 5.8.1... " >&6; }
12572$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
12573if test $? -ne 0; then
12574   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
12575else
12576   IT_PERL_VERSION="`$INTLTOOL_PERL -e \"printf '%vd', $^V\"`"
12577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
12578$as_echo "$IT_PERL_VERSION" >&6; }
12579fi
12580if test "x" != "xno-xml"; then
12581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
12582$as_echo_n "checking for XML::Parser... " >&6; }
12583   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
12584       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
12585$as_echo "ok" >&6; }
12586   else
12587       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
12588   fi
12589fi
12590
12591# Substitute ALL_LINGUAS so we can use it in po/Makefile
12592
12593
12594# Set DATADIRNAME correctly if it is not set yet
12595# (copied from glib-gettext.m4)
12596if test -z "$DATADIRNAME"; then
12597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12598/* end confdefs.h.  */
12599
12600int
12601main ()
12602{
12603extern int _nl_msg_cat_cntr;
12604                       return _nl_msg_cat_cntr
12605  ;
12606  return 0;
12607}
12608_ACEOF
12609if ac_fn_c_try_link "$LINENO"; then :
12610  DATADIRNAME=share
12611else
12612  case $host in
12613    *-*-solaris*)
12614                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12615if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12616  DATADIRNAME=share
12617else
12618  DATADIRNAME=share
12619fi
12620
12621    ;;
12622    *)
12623    DATADIRNAME=share
12624    ;;
12625    esac
12626fi
12627rm -f core conftest.err conftest.$ac_objext \
12628    conftest$ac_exeext conftest.$ac_ext
12629fi
12630
12631
12632
12633
12634
12635
12636GETTEXT_PACKAGE=polkit-gnome-1
12637
12638
12639   for ac_header in locale.h
12640do :
12641  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
12642if test "x$ac_cv_header_locale_h" = xyes; then :
12643  cat >>confdefs.h <<_ACEOF
12644#define HAVE_LOCALE_H 1
12645_ACEOF
12646
12647fi
12648
12649done
12650
12651    if test $ac_cv_header_locale_h = yes; then
12652    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
12653$as_echo_n "checking for LC_MESSAGES... " >&6; }
12654if ${am_cv_val_LC_MESSAGES+:} false; then :
12655  $as_echo_n "(cached) " >&6
12656else
12657  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12658/* end confdefs.h.  */
12659#include <locale.h>
12660int
12661main ()
12662{
12663return LC_MESSAGES
12664  ;
12665  return 0;
12666}
12667_ACEOF
12668if ac_fn_c_try_link "$LINENO"; then :
12669  am_cv_val_LC_MESSAGES=yes
12670else
12671  am_cv_val_LC_MESSAGES=no
12672fi
12673rm -f core conftest.err conftest.$ac_objext \
12674    conftest$ac_exeext conftest.$ac_ext
12675fi
12676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
12677$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
12678    if test $am_cv_val_LC_MESSAGES = yes; then
12679
12680$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
12681
12682    fi
12683  fi
12684     USE_NLS=yes
12685
12686
12687    gt_cv_have_gettext=no
12688
12689    CATOBJEXT=NONE
12690    XGETTEXT=:
12691    INTLLIBS=
12692
12693    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
12694if test "x$ac_cv_header_libintl_h" = xyes; then :
12695  gt_cv_func_dgettext_libintl="no"
12696      libintl_extra_libs=""
12697
12698      #
12699      # First check in libc
12700      #
12701      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
12702$as_echo_n "checking for ngettext in libc... " >&6; }
12703if ${gt_cv_func_ngettext_libc+:} false; then :
12704  $as_echo_n "(cached) " >&6
12705else
12706  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12707/* end confdefs.h.  */
12708
12709#include <libintl.h>
12710
12711int
12712main ()
12713{
12714return !ngettext ("","", 1)
12715  ;
12716  return 0;
12717}
12718_ACEOF
12719if ac_fn_c_try_link "$LINENO"; then :
12720  gt_cv_func_ngettext_libc=yes
12721else
12722  gt_cv_func_ngettext_libc=no
12723fi
12724rm -f core conftest.err conftest.$ac_objext \
12725    conftest$ac_exeext conftest.$ac_ext
12726
12727fi
12728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5
12729$as_echo "$gt_cv_func_ngettext_libc" >&6; }
12730
12731      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12732	      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
12733$as_echo_n "checking for dgettext in libc... " >&6; }
12734if ${gt_cv_func_dgettext_libc+:} false; then :
12735  $as_echo_n "(cached) " >&6
12736else
12737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738/* end confdefs.h.  */
12739
12740#include <libintl.h>
12741
12742int
12743main ()
12744{
12745return !dgettext ("","")
12746  ;
12747  return 0;
12748}
12749_ACEOF
12750if ac_fn_c_try_link "$LINENO"; then :
12751  gt_cv_func_dgettext_libc=yes
12752else
12753  gt_cv_func_dgettext_libc=no
12754fi
12755rm -f core conftest.err conftest.$ac_objext \
12756    conftest$ac_exeext conftest.$ac_ext
12757
12758fi
12759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5
12760$as_echo "$gt_cv_func_dgettext_libc" >&6; }
12761      fi
12762
12763      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
12764        for ac_func in bind_textdomain_codeset
12765do :
12766  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
12767if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
12768  cat >>confdefs.h <<_ACEOF
12769#define HAVE_BIND_TEXTDOMAIN_CODESET 1
12770_ACEOF
12771
12772fi
12773done
12774
12775      fi
12776
12777      #
12778      # If we don't have everything we want, check in libintl
12779      #
12780      if test "$gt_cv_func_dgettext_libc" != "yes" \
12781	 || test "$gt_cv_func_ngettext_libc" != "yes" \
12782         || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
12783
12784        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
12785$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
12786if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
12787  $as_echo_n "(cached) " >&6
12788else
12789  ac_check_lib_save_LIBS=$LIBS
12790LIBS="-lintl  $LIBS"
12791cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12792/* end confdefs.h.  */
12793
12794/* Override any GCC internal prototype to avoid an error.
12795   Use char because int might match the return type of a GCC
12796   builtin and then its argument prototype would still apply.  */
12797#ifdef __cplusplus
12798extern "C"
12799#endif
12800char bindtextdomain ();
12801int
12802main ()
12803{
12804return bindtextdomain ();
12805  ;
12806  return 0;
12807}
12808_ACEOF
12809if ac_fn_c_try_link "$LINENO"; then :
12810  ac_cv_lib_intl_bindtextdomain=yes
12811else
12812  ac_cv_lib_intl_bindtextdomain=no
12813fi
12814rm -f core conftest.err conftest.$ac_objext \
12815    conftest$ac_exeext conftest.$ac_ext
12816LIBS=$ac_check_lib_save_LIBS
12817fi
12818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
12819$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
12820if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
12821  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12822$as_echo_n "checking for ngettext in -lintl... " >&6; }
12823if ${ac_cv_lib_intl_ngettext+:} false; then :
12824  $as_echo_n "(cached) " >&6
12825else
12826  ac_check_lib_save_LIBS=$LIBS
12827LIBS="-lintl  $LIBS"
12828cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12829/* end confdefs.h.  */
12830
12831/* Override any GCC internal prototype to avoid an error.
12832   Use char because int might match the return type of a GCC
12833   builtin and then its argument prototype would still apply.  */
12834#ifdef __cplusplus
12835extern "C"
12836#endif
12837char ngettext ();
12838int
12839main ()
12840{
12841return ngettext ();
12842  ;
12843  return 0;
12844}
12845_ACEOF
12846if ac_fn_c_try_link "$LINENO"; then :
12847  ac_cv_lib_intl_ngettext=yes
12848else
12849  ac_cv_lib_intl_ngettext=no
12850fi
12851rm -f core conftest.err conftest.$ac_objext \
12852    conftest$ac_exeext conftest.$ac_ext
12853LIBS=$ac_check_lib_save_LIBS
12854fi
12855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12856$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12857if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12858  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
12859$as_echo_n "checking for dgettext in -lintl... " >&6; }
12860if ${ac_cv_lib_intl_dgettext+:} false; then :
12861  $as_echo_n "(cached) " >&6
12862else
12863  ac_check_lib_save_LIBS=$LIBS
12864LIBS="-lintl  $LIBS"
12865cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12866/* end confdefs.h.  */
12867
12868/* Override any GCC internal prototype to avoid an error.
12869   Use char because int might match the return type of a GCC
12870   builtin and then its argument prototype would still apply.  */
12871#ifdef __cplusplus
12872extern "C"
12873#endif
12874char dgettext ();
12875int
12876main ()
12877{
12878return dgettext ();
12879  ;
12880  return 0;
12881}
12882_ACEOF
12883if ac_fn_c_try_link "$LINENO"; then :
12884  ac_cv_lib_intl_dgettext=yes
12885else
12886  ac_cv_lib_intl_dgettext=no
12887fi
12888rm -f core conftest.err conftest.$ac_objext \
12889    conftest$ac_exeext conftest.$ac_ext
12890LIBS=$ac_check_lib_save_LIBS
12891fi
12892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
12893$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
12894if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
12895  gt_cv_func_dgettext_libintl=yes
12896fi
12897
12898fi
12899
12900fi
12901
12902
12903	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
12904	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5
12905$as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
12906	  { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
12907$as_echo "" >&6; }
12908  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
12909$as_echo_n "checking for ngettext in -lintl... " >&6; }
12910if ${ac_cv_lib_intl_ngettext+:} false; then :
12911  $as_echo_n "(cached) " >&6
12912else
12913  ac_check_lib_save_LIBS=$LIBS
12914LIBS="-lintl -liconv $LIBS"
12915cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12916/* end confdefs.h.  */
12917
12918/* Override any GCC internal prototype to avoid an error.
12919   Use char because int might match the return type of a GCC
12920   builtin and then its argument prototype would still apply.  */
12921#ifdef __cplusplus
12922extern "C"
12923#endif
12924char ngettext ();
12925int
12926main ()
12927{
12928return ngettext ();
12929  ;
12930  return 0;
12931}
12932_ACEOF
12933if ac_fn_c_try_link "$LINENO"; then :
12934  ac_cv_lib_intl_ngettext=yes
12935else
12936  ac_cv_lib_intl_ngettext=no
12937fi
12938rm -f core conftest.err conftest.$ac_objext \
12939    conftest$ac_exeext conftest.$ac_ext
12940LIBS=$ac_check_lib_save_LIBS
12941fi
12942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
12943$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
12944if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
12945  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
12946$as_echo_n "checking for dcgettext in -lintl... " >&6; }
12947if ${ac_cv_lib_intl_dcgettext+:} false; then :
12948  $as_echo_n "(cached) " >&6
12949else
12950  ac_check_lib_save_LIBS=$LIBS
12951LIBS="-lintl -liconv $LIBS"
12952cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12953/* end confdefs.h.  */
12954
12955/* Override any GCC internal prototype to avoid an error.
12956   Use char because int might match the return type of a GCC
12957   builtin and then its argument prototype would still apply.  */
12958#ifdef __cplusplus
12959extern "C"
12960#endif
12961char dcgettext ();
12962int
12963main ()
12964{
12965return dcgettext ();
12966  ;
12967  return 0;
12968}
12969_ACEOF
12970if ac_fn_c_try_link "$LINENO"; then :
12971  ac_cv_lib_intl_dcgettext=yes
12972else
12973  ac_cv_lib_intl_dcgettext=no
12974fi
12975rm -f core conftest.err conftest.$ac_objext \
12976    conftest$ac_exeext conftest.$ac_ext
12977LIBS=$ac_check_lib_save_LIBS
12978fi
12979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
12980$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
12981if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
12982  gt_cv_func_dgettext_libintl=yes
12983			libintl_extra_libs=-liconv
12984else
12985  :
12986fi
12987
12988else
12989  :
12990fi
12991
12992        fi
12993
12994        #
12995        # If we found libintl, then check in it for bind_textdomain_codeset();
12996        # we'll prefer libc if neither have bind_textdomain_codeset(),
12997        # and both have dgettext and ngettext
12998        #
12999        if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
13000          glib_save_LIBS="$LIBS"
13001          LIBS="$LIBS -lintl $libintl_extra_libs"
13002          unset ac_cv_func_bind_textdomain_codeset
13003          for ac_func in bind_textdomain_codeset
13004do :
13005  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13006if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13007  cat >>confdefs.h <<_ACEOF
13008#define HAVE_BIND_TEXTDOMAIN_CODESET 1
13009_ACEOF
13010
13011fi
13012done
13013
13014          LIBS="$glib_save_LIBS"
13015
13016          if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
13017            gt_cv_func_dgettext_libc=no
13018          else
13019            if test "$gt_cv_func_dgettext_libc" = "yes" \
13020		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
13021              gt_cv_func_dgettext_libintl=no
13022            fi
13023          fi
13024        fi
13025      fi
13026
13027      if test "$gt_cv_func_dgettext_libc" = "yes" \
13028	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
13029        gt_cv_have_gettext=yes
13030      fi
13031
13032      if test "$gt_cv_func_dgettext_libintl" = "yes"; then
13033        INTLLIBS="-lintl $libintl_extra_libs"
13034      fi
13035
13036      if test "$gt_cv_have_gettext" = "yes"; then
13037
13038$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h
13039
13040	# Extract the first word of "msgfmt", so it can be a program name with args.
13041set dummy msgfmt; ac_word=$2
13042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13043$as_echo_n "checking for $ac_word... " >&6; }
13044if ${ac_cv_path_MSGFMT+:} false; then :
13045  $as_echo_n "(cached) " >&6
13046else
13047  case "$MSGFMT" in
13048  /*)
13049  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
13050  ;;
13051  *)
13052  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13053  for ac_dir in $PATH; do
13054    test -z "$ac_dir" && ac_dir=.
13055    if test -f $ac_dir/$ac_word; then
13056      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
13057	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
13058	break
13059      fi
13060    fi
13061  done
13062  IFS="$ac_save_ifs"
13063  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
13064  ;;
13065esac
13066fi
13067MSGFMT="$ac_cv_path_MSGFMT"
13068if test "$MSGFMT" != "no"; then
13069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
13070$as_echo "$MSGFMT" >&6; }
13071else
13072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13073$as_echo "no" >&6; }
13074fi
13075	if test "$MSGFMT" != "no"; then
13076          glib_save_LIBS="$LIBS"
13077          LIBS="$LIBS $INTLLIBS"
13078	  for ac_func in dcgettext
13079do :
13080  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
13081if test "x$ac_cv_func_dcgettext" = xyes; then :
13082  cat >>confdefs.h <<_ACEOF
13083#define HAVE_DCGETTEXT 1
13084_ACEOF
13085
13086fi
13087done
13088
13089	  MSGFMT_OPTS=
13090	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5
13091$as_echo_n "checking if msgfmt accepts -c... " >&6; }
13092	  cat >conftest.foo <<_ACEOF
13093
13094msgid ""
13095msgstr ""
13096"Content-Type: text/plain; charset=UTF-8\n"
13097"Project-Id-Version: test 1.0\n"
13098"PO-Revision-Date: 2007-02-15 12:01+0100\n"
13099"Last-Translator: test <foo@bar.xx>\n"
13100"Language-Team: C <LL@li.org>\n"
13101"MIME-Version: 1.0\n"
13102"Content-Transfer-Encoding: 8bit\n"
13103
13104_ACEOF
13105if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5
13106  ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
13107  ac_status=$?
13108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13109  test $ac_status = 0; }; then
13110  MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13111$as_echo "yes" >&6; }
13112else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13113$as_echo "no" >&6; }
13114echo "$as_me: failed input was:" >&5
13115sed 's/^/| /' conftest.foo >&5
13116fi
13117
13118	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
13119set dummy gmsgfmt; ac_word=$2
13120{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13121$as_echo_n "checking for $ac_word... " >&6; }
13122if ${ac_cv_path_GMSGFMT+:} false; then :
13123  $as_echo_n "(cached) " >&6
13124else
13125  case $GMSGFMT in
13126  [\\/]* | ?:[\\/]*)
13127  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
13128  ;;
13129  *)
13130  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13131for as_dir in $PATH
13132do
13133  IFS=$as_save_IFS
13134  test -z "$as_dir" && as_dir=.
13135    for ac_exec_ext in '' $ac_executable_extensions; do
13136  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13137    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
13138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13139    break 2
13140  fi
13141done
13142  done
13143IFS=$as_save_IFS
13144
13145  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
13146  ;;
13147esac
13148fi
13149GMSGFMT=$ac_cv_path_GMSGFMT
13150if test -n "$GMSGFMT"; then
13151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
13152$as_echo "$GMSGFMT" >&6; }
13153else
13154  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13155$as_echo "no" >&6; }
13156fi
13157
13158
13159	  # Extract the first word of "xgettext", so it can be a program name with args.
13160set dummy xgettext; ac_word=$2
13161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13162$as_echo_n "checking for $ac_word... " >&6; }
13163if ${ac_cv_path_XGETTEXT+:} false; then :
13164  $as_echo_n "(cached) " >&6
13165else
13166  case "$XGETTEXT" in
13167  /*)
13168  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
13169  ;;
13170  *)
13171  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
13172  for ac_dir in $PATH; do
13173    test -z "$ac_dir" && ac_dir=.
13174    if test -f $ac_dir/$ac_word; then
13175      if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
13176	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
13177	break
13178      fi
13179    fi
13180  done
13181  IFS="$ac_save_ifs"
13182  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
13183  ;;
13184esac
13185fi
13186XGETTEXT="$ac_cv_path_XGETTEXT"
13187if test "$XGETTEXT" != ":"; then
13188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
13189$as_echo "$XGETTEXT" >&6; }
13190else
13191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13192$as_echo "no" >&6; }
13193fi
13194
13195	  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13196/* end confdefs.h.  */
13197
13198int
13199main ()
13200{
13201extern int _nl_msg_cat_cntr;
13202			 return _nl_msg_cat_cntr
13203  ;
13204  return 0;
13205}
13206_ACEOF
13207if ac_fn_c_try_link "$LINENO"; then :
13208  CATOBJEXT=.gmo
13209             DATADIRNAME=share
13210else
13211  case $host in
13212	    *-*-solaris*)
13213	    	                	    	                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
13214if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
13215  CATOBJEXT=.gmo
13216               DATADIRNAME=share
13217else
13218  CATOBJEXT=.mo
13219               DATADIRNAME=share
13220fi
13221
13222	    ;;
13223	    *-*-openbsd*)
13224	    CATOBJEXT=.mo
13225            DATADIRNAME=share
13226	    ;;
13227	    *)
13228	    CATOBJEXT=.mo
13229            DATADIRNAME=share
13230	    ;;
13231	    esac
13232fi
13233rm -f core conftest.err conftest.$ac_objext \
13234    conftest$ac_exeext conftest.$ac_ext
13235          LIBS="$glib_save_LIBS"
13236	  INSTOBJEXT=.mo
13237	else
13238	  gt_cv_have_gettext=no
13239	fi
13240      fi
13241
13242fi
13243
13244
13245
13246    if test "$gt_cv_have_gettext" = "yes" ; then
13247
13248$as_echo "#define ENABLE_NLS 1" >>confdefs.h
13249
13250    fi
13251
13252        if test "$XGETTEXT" != ":"; then
13253                  if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
13254        : ;
13255      else
13256        { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
13257$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
13258        XGETTEXT=":"
13259      fi
13260    fi
13261
13262    # We need to process the po/ directory.
13263    POSUB=po
13264
13265    ac_config_commands="$ac_config_commands default-1"
13266
13267
13268                for lang in $ALL_LINGUAS; do
13269      GMOFILES="$GMOFILES $lang.gmo"
13270      POFILES="$POFILES $lang.po"
13271    done
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285   if test "$gt_cv_have_gettext" = "yes"; then
13286     if test "x$ALL_LINGUAS" = "x"; then
13287       LINGUAS=
13288     else
13289       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
13290$as_echo_n "checking for catalogs to be installed... " >&6; }
13291       NEW_LINGUAS=
13292       for presentlang in $ALL_LINGUAS; do
13293         useit=no
13294         if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
13295           desiredlanguages="$LINGUAS"
13296         else
13297           desiredlanguages="$ALL_LINGUAS"
13298         fi
13299         for desiredlang in $desiredlanguages; do
13300 	   # Use the presentlang catalog if desiredlang is
13301           #   a. equal to presentlang, or
13302           #   b. a variant of presentlang (because in this case,
13303           #      presentlang can be used as a fallback for messages
13304           #      which are not translated in the desiredlang catalog).
13305           case "$desiredlang" in
13306             "$presentlang"*) useit=yes;;
13307           esac
13308         done
13309         if test $useit = yes; then
13310           NEW_LINGUAS="$NEW_LINGUAS $presentlang"
13311         fi
13312       done
13313       LINGUAS=$NEW_LINGUAS
13314       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
13315$as_echo "$LINGUAS" >&6; }
13316     fi
13317
13318          if test -n "$LINGUAS"; then
13319       for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
13320     fi
13321   fi
13322
13323            MKINSTALLDIRS=
13324   if test -n "$ac_aux_dir"; then
13325     MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
13326   fi
13327   if test -z "$MKINSTALLDIRS"; then
13328     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
13329   fi
13330
13331
13332         test -d po || mkdir po
13333   if test "x$srcdir" != "x."; then
13334     if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
13335       posrcprefix="$srcdir/"
13336     else
13337       posrcprefix="../$srcdir/"
13338     fi
13339   else
13340     posrcprefix="../"
13341   fi
13342   rm -f po/POTFILES
13343   sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
13344	< $srcdir/po/POTFILES.in > po/POTFILES
13345
13346
13347cat >>confdefs.h <<_ACEOF
13348#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
13349_ACEOF
13350
13351
13352# *************************************
13353# *************************************
13354
13355
13356
13357
13358
13359
13360ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile"
13361
13362
13363cat >confcache <<\_ACEOF
13364# This file is a shell script that caches the results of configure
13365# tests run on this system so they can be shared between configure
13366# scripts and configure runs, see configure's option --config-cache.
13367# It is not useful on other systems.  If it contains results you don't
13368# want to keep, you may remove or edit it.
13369#
13370# config.status only pays attention to the cache file if you give it
13371# the --recheck option to rerun configure.
13372#
13373# `ac_cv_env_foo' variables (set or unset) will be overridden when
13374# loading this file, other *unset* `ac_cv_foo' will be assigned the
13375# following values.
13376
13377_ACEOF
13378
13379# The following way of writing the cache mishandles newlines in values,
13380# but we know of no workaround that is simple, portable, and efficient.
13381# So, we kill variables containing newlines.
13382# Ultrix sh set writes to stderr and can't be redirected directly,
13383# and sets the high bit in the cache file unless we assign to the vars.
13384(
13385  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13386    eval ac_val=\$$ac_var
13387    case $ac_val in #(
13388    *${as_nl}*)
13389      case $ac_var in #(
13390      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13391$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13392      esac
13393      case $ac_var in #(
13394      _ | IFS | as_nl) ;; #(
13395      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13396      *) { eval $ac_var=; unset $ac_var;} ;;
13397      esac ;;
13398    esac
13399  done
13400
13401  (set) 2>&1 |
13402    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13403    *${as_nl}ac_space=\ *)
13404      # `set' does not quote correctly, so add quotes: double-quote
13405      # substitution turns \\\\ into \\, and sed turns \\ into \.
13406      sed -n \
13407	"s/'/'\\\\''/g;
13408	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13409      ;; #(
13410    *)
13411      # `set' quotes correctly as required by POSIX, so do not add quotes.
13412      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13413      ;;
13414    esac |
13415    sort
13416) |
13417  sed '
13418     /^ac_cv_env_/b end
13419     t clear
13420     :clear
13421     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13422     t end
13423     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13424     :end' >>confcache
13425if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13426  if test -w "$cache_file"; then
13427    if test "x$cache_file" != "x/dev/null"; then
13428      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13429$as_echo "$as_me: updating cache $cache_file" >&6;}
13430      if test ! -f "$cache_file" || test -h "$cache_file"; then
13431	cat confcache >"$cache_file"
13432      else
13433        case $cache_file in #(
13434        */* | ?:*)
13435	  mv -f confcache "$cache_file"$$ &&
13436	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13437        *)
13438	  mv -f confcache "$cache_file" ;;
13439	esac
13440      fi
13441    fi
13442  else
13443    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13444$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13445  fi
13446fi
13447rm -f confcache
13448
13449test "x$prefix" = xNONE && prefix=$ac_default_prefix
13450# Let make expand exec_prefix.
13451test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13452
13453DEFS=-DHAVE_CONFIG_H
13454
13455ac_libobjs=
13456ac_ltlibobjs=
13457U=
13458for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13459  # 1. Remove the extension, and $U if already installed.
13460  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13461  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13462  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13463  #    will be set to the directory where LIBOBJS objects are built.
13464  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13465  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13466done
13467LIBOBJS=$ac_libobjs
13468
13469LTLIBOBJS=$ac_ltlibobjs
13470
13471
13472 if test -n "$EXEEXT"; then
13473  am__EXEEXT_TRUE=
13474  am__EXEEXT_FALSE='#'
13475else
13476  am__EXEEXT_TRUE='#'
13477  am__EXEEXT_FALSE=
13478fi
13479
13480if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13481  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13482Usually this means the macro was only invoked conditionally." "$LINENO" 5
13483fi
13484if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13485  as_fn_error $? "conditional \"AMDEP\" was never defined.
13486Usually this means the macro was only invoked conditionally." "$LINENO" 5
13487fi
13488if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13489  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13490Usually this means the macro was only invoked conditionally." "$LINENO" 5
13491fi
13492
13493  ac_config_commands="$ac_config_commands po/stamp-it"
13494
13495
13496
13497: "${CONFIG_STATUS=./config.status}"
13498ac_write_fail=0
13499ac_clean_files_save=$ac_clean_files
13500ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13501{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13502$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13503as_write_fail=0
13504cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13505#! $SHELL
13506# Generated by $as_me.
13507# Run this file to recreate the current configuration.
13508# Compiler output produced by configure, useful for debugging
13509# configure, is in config.log if it exists.
13510
13511debug=false
13512ac_cs_recheck=false
13513ac_cs_silent=false
13514
13515SHELL=\${CONFIG_SHELL-$SHELL}
13516export SHELL
13517_ASEOF
13518cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13519## -------------------- ##
13520## M4sh Initialization. ##
13521## -------------------- ##
13522
13523# Be more Bourne compatible
13524DUALCASE=1; export DUALCASE # for MKS sh
13525if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13526  emulate sh
13527  NULLCMD=:
13528  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13529  # is contrary to our usage.  Disable this feature.
13530  alias -g '${1+"$@"}'='"$@"'
13531  setopt NO_GLOB_SUBST
13532else
13533  case `(set -o) 2>/dev/null` in #(
13534  *posix*) :
13535    set -o posix ;; #(
13536  *) :
13537     ;;
13538esac
13539fi
13540
13541
13542as_nl='
13543'
13544export as_nl
13545# Printing a long string crashes Solaris 7 /usr/bin/printf.
13546as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13547as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13548as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13549# Prefer a ksh shell builtin over an external printf program on Solaris,
13550# but without wasting forks for bash or zsh.
13551if test -z "$BASH_VERSION$ZSH_VERSION" \
13552    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13553  as_echo='print -r --'
13554  as_echo_n='print -rn --'
13555elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13556  as_echo='printf %s\n'
13557  as_echo_n='printf %s'
13558else
13559  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13560    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13561    as_echo_n='/usr/ucb/echo -n'
13562  else
13563    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13564    as_echo_n_body='eval
13565      arg=$1;
13566      case $arg in #(
13567      *"$as_nl"*)
13568	expr "X$arg" : "X\\(.*\\)$as_nl";
13569	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13570      esac;
13571      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13572    '
13573    export as_echo_n_body
13574    as_echo_n='sh -c $as_echo_n_body as_echo'
13575  fi
13576  export as_echo_body
13577  as_echo='sh -c $as_echo_body as_echo'
13578fi
13579
13580# The user is always right.
13581if test "${PATH_SEPARATOR+set}" != set; then
13582  PATH_SEPARATOR=:
13583  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13584    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13585      PATH_SEPARATOR=';'
13586  }
13587fi
13588
13589
13590# IFS
13591# We need space, tab and new line, in precisely that order.  Quoting is
13592# there to prevent editors from complaining about space-tab.
13593# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13594# splitting by setting IFS to empty value.)
13595IFS=" ""	$as_nl"
13596
13597# Find who we are.  Look in the path if we contain no directory separator.
13598as_myself=
13599case $0 in #((
13600  *[\\/]* ) as_myself=$0 ;;
13601  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13602for as_dir in $PATH
13603do
13604  IFS=$as_save_IFS
13605  test -z "$as_dir" && as_dir=.
13606    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13607  done
13608IFS=$as_save_IFS
13609
13610     ;;
13611esac
13612# We did not find ourselves, most probably we were run as `sh COMMAND'
13613# in which case we are not to be found in the path.
13614if test "x$as_myself" = x; then
13615  as_myself=$0
13616fi
13617if test ! -f "$as_myself"; then
13618  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13619  exit 1
13620fi
13621
13622# Unset variables that we do not need and which cause bugs (e.g. in
13623# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13624# suppresses any "Segmentation fault" message there.  '((' could
13625# trigger a bug in pdksh 5.2.14.
13626for as_var in BASH_ENV ENV MAIL MAILPATH
13627do eval test x\${$as_var+set} = xset \
13628  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13629done
13630PS1='$ '
13631PS2='> '
13632PS4='+ '
13633
13634# NLS nuisances.
13635LC_ALL=C
13636export LC_ALL
13637LANGUAGE=C
13638export LANGUAGE
13639
13640# CDPATH.
13641(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13642
13643
13644# as_fn_error STATUS ERROR [LINENO LOG_FD]
13645# ----------------------------------------
13646# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13647# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13648# script with STATUS, using 1 if that was 0.
13649as_fn_error ()
13650{
13651  as_status=$1; test $as_status -eq 0 && as_status=1
13652  if test "$4"; then
13653    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13654    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13655  fi
13656  $as_echo "$as_me: error: $2" >&2
13657  as_fn_exit $as_status
13658} # as_fn_error
13659
13660
13661# as_fn_set_status STATUS
13662# -----------------------
13663# Set $? to STATUS, without forking.
13664as_fn_set_status ()
13665{
13666  return $1
13667} # as_fn_set_status
13668
13669# as_fn_exit STATUS
13670# -----------------
13671# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13672as_fn_exit ()
13673{
13674  set +e
13675  as_fn_set_status $1
13676  exit $1
13677} # as_fn_exit
13678
13679# as_fn_unset VAR
13680# ---------------
13681# Portably unset VAR.
13682as_fn_unset ()
13683{
13684  { eval $1=; unset $1;}
13685}
13686as_unset=as_fn_unset
13687# as_fn_append VAR VALUE
13688# ----------------------
13689# Append the text in VALUE to the end of the definition contained in VAR. Take
13690# advantage of any shell optimizations that allow amortized linear growth over
13691# repeated appends, instead of the typical quadratic growth present in naive
13692# implementations.
13693if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13694  eval 'as_fn_append ()
13695  {
13696    eval $1+=\$2
13697  }'
13698else
13699  as_fn_append ()
13700  {
13701    eval $1=\$$1\$2
13702  }
13703fi # as_fn_append
13704
13705# as_fn_arith ARG...
13706# ------------------
13707# Perform arithmetic evaluation on the ARGs, and store the result in the
13708# global $as_val. Take advantage of shells that can avoid forks. The arguments
13709# must be portable across $(()) and expr.
13710if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13711  eval 'as_fn_arith ()
13712  {
13713    as_val=$(( $* ))
13714  }'
13715else
13716  as_fn_arith ()
13717  {
13718    as_val=`expr "$@" || test $? -eq 1`
13719  }
13720fi # as_fn_arith
13721
13722
13723if expr a : '\(a\)' >/dev/null 2>&1 &&
13724   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13725  as_expr=expr
13726else
13727  as_expr=false
13728fi
13729
13730if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13731  as_basename=basename
13732else
13733  as_basename=false
13734fi
13735
13736if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13737  as_dirname=dirname
13738else
13739  as_dirname=false
13740fi
13741
13742as_me=`$as_basename -- "$0" ||
13743$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13744	 X"$0" : 'X\(//\)$' \| \
13745	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13746$as_echo X/"$0" |
13747    sed '/^.*\/\([^/][^/]*\)\/*$/{
13748	    s//\1/
13749	    q
13750	  }
13751	  /^X\/\(\/\/\)$/{
13752	    s//\1/
13753	    q
13754	  }
13755	  /^X\/\(\/\).*/{
13756	    s//\1/
13757	    q
13758	  }
13759	  s/.*/./; q'`
13760
13761# Avoid depending upon Character Ranges.
13762as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13763as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13764as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13765as_cr_digits='0123456789'
13766as_cr_alnum=$as_cr_Letters$as_cr_digits
13767
13768ECHO_C= ECHO_N= ECHO_T=
13769case `echo -n x` in #(((((
13770-n*)
13771  case `echo 'xy\c'` in
13772  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13773  xy)  ECHO_C='\c';;
13774  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13775       ECHO_T='	';;
13776  esac;;
13777*)
13778  ECHO_N='-n';;
13779esac
13780
13781rm -f conf$$ conf$$.exe conf$$.file
13782if test -d conf$$.dir; then
13783  rm -f conf$$.dir/conf$$.file
13784else
13785  rm -f conf$$.dir
13786  mkdir conf$$.dir 2>/dev/null
13787fi
13788if (echo >conf$$.file) 2>/dev/null; then
13789  if ln -s conf$$.file conf$$ 2>/dev/null; then
13790    as_ln_s='ln -s'
13791    # ... but there are two gotchas:
13792    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13793    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13794    # In both cases, we have to default to `cp -p'.
13795    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13796      as_ln_s='cp -p'
13797  elif ln conf$$.file conf$$ 2>/dev/null; then
13798    as_ln_s=ln
13799  else
13800    as_ln_s='cp -p'
13801  fi
13802else
13803  as_ln_s='cp -p'
13804fi
13805rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13806rmdir conf$$.dir 2>/dev/null
13807
13808
13809# as_fn_mkdir_p
13810# -------------
13811# Create "$as_dir" as a directory, including parents if necessary.
13812as_fn_mkdir_p ()
13813{
13814
13815  case $as_dir in #(
13816  -*) as_dir=./$as_dir;;
13817  esac
13818  test -d "$as_dir" || eval $as_mkdir_p || {
13819    as_dirs=
13820    while :; do
13821      case $as_dir in #(
13822      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13823      *) as_qdir=$as_dir;;
13824      esac
13825      as_dirs="'$as_qdir' $as_dirs"
13826      as_dir=`$as_dirname -- "$as_dir" ||
13827$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13828	 X"$as_dir" : 'X\(//\)[^/]' \| \
13829	 X"$as_dir" : 'X\(//\)$' \| \
13830	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13831$as_echo X"$as_dir" |
13832    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13833	    s//\1/
13834	    q
13835	  }
13836	  /^X\(\/\/\)[^/].*/{
13837	    s//\1/
13838	    q
13839	  }
13840	  /^X\(\/\/\)$/{
13841	    s//\1/
13842	    q
13843	  }
13844	  /^X\(\/\).*/{
13845	    s//\1/
13846	    q
13847	  }
13848	  s/.*/./; q'`
13849      test -d "$as_dir" && break
13850    done
13851    test -z "$as_dirs" || eval "mkdir $as_dirs"
13852  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13853
13854
13855} # as_fn_mkdir_p
13856if mkdir -p . 2>/dev/null; then
13857  as_mkdir_p='mkdir -p "$as_dir"'
13858else
13859  test -d ./-p && rmdir ./-p
13860  as_mkdir_p=false
13861fi
13862
13863if test -x / >/dev/null 2>&1; then
13864  as_test_x='test -x'
13865else
13866  if ls -dL / >/dev/null 2>&1; then
13867    as_ls_L_option=L
13868  else
13869    as_ls_L_option=
13870  fi
13871  as_test_x='
13872    eval sh -c '\''
13873      if test -d "$1"; then
13874	test -d "$1/.";
13875      else
13876	case $1 in #(
13877	-*)set "./$1";;
13878	esac;
13879	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13880	???[sx]*):;;*)false;;esac;fi
13881    '\'' sh
13882  '
13883fi
13884as_executable_p=$as_test_x
13885
13886# Sed expression to map a string onto a valid CPP name.
13887as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13888
13889# Sed expression to map a string onto a valid variable name.
13890as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13891
13892
13893exec 6>&1
13894## ----------------------------------- ##
13895## Main body of $CONFIG_STATUS script. ##
13896## ----------------------------------- ##
13897_ASEOF
13898test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13899
13900cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13901# Save the log message, to keep $0 and so on meaningful, and to
13902# report actual input values of CONFIG_FILES etc. instead of their
13903# values after options handling.
13904ac_log="
13905This file was extended by polkit-gnome $as_me 0.105, which was
13906generated by GNU Autoconf 2.68.  Invocation command line was
13907
13908  CONFIG_FILES    = $CONFIG_FILES
13909  CONFIG_HEADERS  = $CONFIG_HEADERS
13910  CONFIG_LINKS    = $CONFIG_LINKS
13911  CONFIG_COMMANDS = $CONFIG_COMMANDS
13912  $ $0 $@
13913
13914on `(hostname || uname -n) 2>/dev/null | sed 1q`
13915"
13916
13917_ACEOF
13918
13919case $ac_config_files in *"
13920"*) set x $ac_config_files; shift; ac_config_files=$*;;
13921esac
13922
13923case $ac_config_headers in *"
13924"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13925esac
13926
13927
13928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13929# Files that config.status was made for.
13930config_files="$ac_config_files"
13931config_headers="$ac_config_headers"
13932config_commands="$ac_config_commands"
13933
13934_ACEOF
13935
13936cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13937ac_cs_usage="\
13938\`$as_me' instantiates files and other configuration actions
13939from templates according to the current configuration.  Unless the files
13940and actions are specified as TAGs, all are instantiated by default.
13941
13942Usage: $0 [OPTION]... [TAG]...
13943
13944  -h, --help       print this help, then exit
13945  -V, --version    print version number and configuration settings, then exit
13946      --config     print configuration, then exit
13947  -q, --quiet, --silent
13948                   do not print progress messages
13949  -d, --debug      don't remove temporary files
13950      --recheck    update $as_me by reconfiguring in the same conditions
13951      --file=FILE[:TEMPLATE]
13952                   instantiate the configuration file FILE
13953      --header=FILE[:TEMPLATE]
13954                   instantiate the configuration header FILE
13955
13956Configuration files:
13957$config_files
13958
13959Configuration headers:
13960$config_headers
13961
13962Configuration commands:
13963$config_commands
13964
13965Report bugs to <http://lists.freedesktop.org/mailman/listinfo/polkit-devel>."
13966
13967_ACEOF
13968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13969ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13970ac_cs_version="\\
13971polkit-gnome config.status 0.105
13972configured by $0, generated by GNU Autoconf 2.68,
13973  with options \\"\$ac_cs_config\\"
13974
13975Copyright (C) 2010 Free Software Foundation, Inc.
13976This config.status script is free software; the Free Software Foundation
13977gives unlimited permission to copy, distribute and modify it."
13978
13979ac_pwd='$ac_pwd'
13980srcdir='$srcdir'
13981INSTALL='$INSTALL'
13982MKDIR_P='$MKDIR_P'
13983AWK='$AWK'
13984test -n "\$AWK" || AWK=awk
13985_ACEOF
13986
13987cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13988# The default lists apply if the user does not specify any file.
13989ac_need_defaults=:
13990while test $# != 0
13991do
13992  case $1 in
13993  --*=?*)
13994    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13995    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13996    ac_shift=:
13997    ;;
13998  --*=)
13999    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14000    ac_optarg=
14001    ac_shift=:
14002    ;;
14003  *)
14004    ac_option=$1
14005    ac_optarg=$2
14006    ac_shift=shift
14007    ;;
14008  esac
14009
14010  case $ac_option in
14011  # Handling of the options.
14012  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14013    ac_cs_recheck=: ;;
14014  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14015    $as_echo "$ac_cs_version"; exit ;;
14016  --config | --confi | --conf | --con | --co | --c )
14017    $as_echo "$ac_cs_config"; exit ;;
14018  --debug | --debu | --deb | --de | --d | -d )
14019    debug=: ;;
14020  --file | --fil | --fi | --f )
14021    $ac_shift
14022    case $ac_optarg in
14023    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14024    '') as_fn_error $? "missing file argument" ;;
14025    esac
14026    as_fn_append CONFIG_FILES " '$ac_optarg'"
14027    ac_need_defaults=false;;
14028  --header | --heade | --head | --hea )
14029    $ac_shift
14030    case $ac_optarg in
14031    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14032    esac
14033    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14034    ac_need_defaults=false;;
14035  --he | --h)
14036    # Conflict between --help and --header
14037    as_fn_error $? "ambiguous option: \`$1'
14038Try \`$0 --help' for more information.";;
14039  --help | --hel | -h )
14040    $as_echo "$ac_cs_usage"; exit ;;
14041  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14042  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14043    ac_cs_silent=: ;;
14044
14045  # This is an error.
14046  -*) as_fn_error $? "unrecognized option: \`$1'
14047Try \`$0 --help' for more information." ;;
14048
14049  *) as_fn_append ac_config_targets " $1"
14050     ac_need_defaults=false ;;
14051
14052  esac
14053  shift
14054done
14055
14056ac_configure_extra_args=
14057
14058if $ac_cs_silent; then
14059  exec 6>/dev/null
14060  ac_configure_extra_args="$ac_configure_extra_args --silent"
14061fi
14062
14063_ACEOF
14064cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14065if \$ac_cs_recheck; then
14066  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14067  shift
14068  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14069  CONFIG_SHELL='$SHELL'
14070  export CONFIG_SHELL
14071  exec "\$@"
14072fi
14073
14074_ACEOF
14075cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14076exec 5>>config.log
14077{
14078  echo
14079  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14080## Running $as_me. ##
14081_ASBOX
14082  $as_echo "$ac_log"
14083} >&5
14084
14085_ACEOF
14086cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14087#
14088# INIT-COMMANDS
14089#
14090AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14091
14092
14093# The HP-UX ksh and POSIX shell print the target directory to stdout
14094# if CDPATH is set.
14095(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14096
14097sed_quote_subst='$sed_quote_subst'
14098double_quote_subst='$double_quote_subst'
14099delay_variable_subst='$delay_variable_subst'
14100macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14101macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14102enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14103enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14104pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14105enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14106SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14107ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14108host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14109host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14110host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14111build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14112build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14113build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14114SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14115Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14116GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14117EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14118FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14119LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14120NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14121LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14122max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14123ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14124exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14125lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14126lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14127lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14128lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14129lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14130reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14131reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14132OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14133deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14134file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14135file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14136want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14137DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14138sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14139AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14140AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14141archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14142STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14143RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14144old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14145old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14146old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14147lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14148CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14149CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14150compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14151GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14152lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14153lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14154lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14155lt_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"`'
14156nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14157lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14158objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14159MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14160lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14161lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14162lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14163lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14164lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14165need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14166MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14167DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14168NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14169LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14170OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14171OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14172libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14173shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14174extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14175archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14176enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14177export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14178whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14179compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14180old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14181old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14182archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14183archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14184module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14185module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14186with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14187allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14188no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14189hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14190hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14191hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14192hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14193hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14194hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14195hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14196hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14197inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14198link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14199always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14200export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14201exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14202include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14203prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14204postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14205file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14206variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14207need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14208need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14209version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14210runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14211shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14212shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14213libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14214library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14215soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14216install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14217postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14218postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14219finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14220finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14221hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14222sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14223sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14224hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14225enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14226enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14227enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14228old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14229striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14230
14231LTCC='$LTCC'
14232LTCFLAGS='$LTCFLAGS'
14233compiler='$compiler_DEFAULT'
14234
14235# A function that is used when there is no print builtin or printf.
14236func_fallback_echo ()
14237{
14238  eval 'cat <<_LTECHO_EOF
14239\$1
14240_LTECHO_EOF'
14241}
14242
14243# Quote evaled strings.
14244for var in SHELL \
14245ECHO \
14246SED \
14247GREP \
14248EGREP \
14249FGREP \
14250LD \
14251NM \
14252LN_S \
14253lt_SP2NL \
14254lt_NL2SP \
14255reload_flag \
14256OBJDUMP \
14257deplibs_check_method \
14258file_magic_cmd \
14259file_magic_glob \
14260want_nocaseglob \
14261DLLTOOL \
14262sharedlib_from_linklib_cmd \
14263AR \
14264AR_FLAGS \
14265archiver_list_spec \
14266STRIP \
14267RANLIB \
14268CC \
14269CFLAGS \
14270compiler \
14271lt_cv_sys_global_symbol_pipe \
14272lt_cv_sys_global_symbol_to_cdecl \
14273lt_cv_sys_global_symbol_to_c_name_address \
14274lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14275nm_file_list_spec \
14276lt_prog_compiler_no_builtin_flag \
14277lt_prog_compiler_pic \
14278lt_prog_compiler_wl \
14279lt_prog_compiler_static \
14280lt_cv_prog_compiler_c_o \
14281need_locks \
14282MANIFEST_TOOL \
14283DSYMUTIL \
14284NMEDIT \
14285LIPO \
14286OTOOL \
14287OTOOL64 \
14288shrext_cmds \
14289export_dynamic_flag_spec \
14290whole_archive_flag_spec \
14291compiler_needs_object \
14292with_gnu_ld \
14293allow_undefined_flag \
14294no_undefined_flag \
14295hardcode_libdir_flag_spec \
14296hardcode_libdir_flag_spec_ld \
14297hardcode_libdir_separator \
14298exclude_expsyms \
14299include_expsyms \
14300file_list_spec \
14301variables_saved_for_relink \
14302libname_spec \
14303library_names_spec \
14304soname_spec \
14305install_override_mode \
14306finish_eval \
14307old_striplib \
14308striplib; do
14309    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14310    *[\\\\\\\`\\"\\\$]*)
14311      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14312      ;;
14313    *)
14314      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14315      ;;
14316    esac
14317done
14318
14319# Double-quote double-evaled strings.
14320for var in reload_cmds \
14321old_postinstall_cmds \
14322old_postuninstall_cmds \
14323old_archive_cmds \
14324extract_expsyms_cmds \
14325old_archive_from_new_cmds \
14326old_archive_from_expsyms_cmds \
14327archive_cmds \
14328archive_expsym_cmds \
14329module_cmds \
14330module_expsym_cmds \
14331export_symbols_cmds \
14332prelink_cmds \
14333postlink_cmds \
14334postinstall_cmds \
14335postuninstall_cmds \
14336finish_cmds \
14337sys_lib_search_path_spec \
14338sys_lib_dlsearch_path_spec; do
14339    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14340    *[\\\\\\\`\\"\\\$]*)
14341      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14342      ;;
14343    *)
14344      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14345      ;;
14346    esac
14347done
14348
14349ac_aux_dir='$ac_aux_dir'
14350xsi_shell='$xsi_shell'
14351lt_shell_append='$lt_shell_append'
14352
14353# See if we are running on zsh, and set the options which allow our
14354# commands through without removal of \ escapes INIT.
14355if test -n "\${ZSH_VERSION+set}" ; then
14356   setopt NO_GLOB_SUBST
14357fi
14358
14359
14360    PACKAGE='$PACKAGE'
14361    VERSION='$VERSION'
14362    TIMESTAMP='$TIMESTAMP'
14363    RM='$RM'
14364    ofile='$ofile'
14365
14366
14367
14368
14369
14370_ACEOF
14371
14372cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14373
14374# Handling of arguments.
14375for ac_config_target in $ac_config_targets
14376do
14377  case $ac_config_target in
14378    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14379    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14380    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14381    "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
14382    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14383    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
14384    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
14385    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
14386
14387  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14388  esac
14389done
14390
14391
14392# If the user did not use the arguments to specify the items to instantiate,
14393# then the envvar interface is used.  Set only those that are not.
14394# We use the long form for the default assignment because of an extremely
14395# bizarre bug on SunOS 4.1.3.
14396if $ac_need_defaults; then
14397  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14398  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14399  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14400fi
14401
14402# Have a temporary directory for convenience.  Make it in the build tree
14403# simply because there is no reason against having it here, and in addition,
14404# creating and moving files from /tmp can sometimes cause problems.
14405# Hook for its removal unless debugging.
14406# Note that there is a small window in which the directory will not be cleaned:
14407# after its creation but before its name has been assigned to `$tmp'.
14408$debug ||
14409{
14410  tmp= ac_tmp=
14411  trap 'exit_status=$?
14412  : "${ac_tmp:=$tmp}"
14413  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14414' 0
14415  trap 'as_fn_exit 1' 1 2 13 15
14416}
14417# Create a (secure) tmp directory for tmp files.
14418
14419{
14420  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14421  test -d "$tmp"
14422}  ||
14423{
14424  tmp=./conf$$-$RANDOM
14425  (umask 077 && mkdir "$tmp")
14426} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14427ac_tmp=$tmp
14428
14429# Set up the scripts for CONFIG_FILES section.
14430# No need to generate them if there are no CONFIG_FILES.
14431# This happens for instance with `./config.status config.h'.
14432if test -n "$CONFIG_FILES"; then
14433
14434
14435ac_cr=`echo X | tr X '\015'`
14436# On cygwin, bash can eat \r inside `` if the user requested igncr.
14437# But we know of no other shell where ac_cr would be empty at this
14438# point, so we can use a bashism as a fallback.
14439if test "x$ac_cr" = x; then
14440  eval ac_cr=\$\'\\r\'
14441fi
14442ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14443if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14444  ac_cs_awk_cr='\\r'
14445else
14446  ac_cs_awk_cr=$ac_cr
14447fi
14448
14449echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14450_ACEOF
14451
14452
14453{
14454  echo "cat >conf$$subs.awk <<_ACEOF" &&
14455  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14456  echo "_ACEOF"
14457} >conf$$subs.sh ||
14458  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14459ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14460ac_delim='%!_!# '
14461for ac_last_try in false false false false false :; do
14462  . ./conf$$subs.sh ||
14463    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14464
14465  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14466  if test $ac_delim_n = $ac_delim_num; then
14467    break
14468  elif $ac_last_try; then
14469    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14470  else
14471    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14472  fi
14473done
14474rm -f conf$$subs.sh
14475
14476cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14477cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14478_ACEOF
14479sed -n '
14480h
14481s/^/S["/; s/!.*/"]=/
14482p
14483g
14484s/^[^!]*!//
14485:repl
14486t repl
14487s/'"$ac_delim"'$//
14488t delim
14489:nl
14490h
14491s/\(.\{148\}\)..*/\1/
14492t more1
14493s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14494p
14495n
14496b repl
14497:more1
14498s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14499p
14500g
14501s/.\{148\}//
14502t nl
14503:delim
14504h
14505s/\(.\{148\}\)..*/\1/
14506t more2
14507s/["\\]/\\&/g; s/^/"/; s/$/"/
14508p
14509b
14510:more2
14511s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14512p
14513g
14514s/.\{148\}//
14515t delim
14516' <conf$$subs.awk | sed '
14517/^[^""]/{
14518  N
14519  s/\n//
14520}
14521' >>$CONFIG_STATUS || ac_write_fail=1
14522rm -f conf$$subs.awk
14523cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14524_ACAWK
14525cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14526  for (key in S) S_is_set[key] = 1
14527  FS = ""
14528
14529}
14530{
14531  line = $ 0
14532  nfields = split(line, field, "@")
14533  substed = 0
14534  len = length(field[1])
14535  for (i = 2; i < nfields; i++) {
14536    key = field[i]
14537    keylen = length(key)
14538    if (S_is_set[key]) {
14539      value = S[key]
14540      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14541      len += length(value) + length(field[++i])
14542      substed = 1
14543    } else
14544      len += 1 + keylen
14545  }
14546
14547  print line
14548}
14549
14550_ACAWK
14551_ACEOF
14552cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14553if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14554  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14555else
14556  cat
14557fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14558  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14559_ACEOF
14560
14561# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14562# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14563# trailing colons and then remove the whole line if VPATH becomes empty
14564# (actually we leave an empty line to preserve line numbers).
14565if test "x$srcdir" = x.; then
14566  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14567h
14568s///
14569s/^/:/
14570s/[	 ]*$/:/
14571s/:\$(srcdir):/:/g
14572s/:\${srcdir}:/:/g
14573s/:@srcdir@:/:/g
14574s/^:*//
14575s/:*$//
14576x
14577s/\(=[	 ]*\).*/\1/
14578G
14579s/\n//
14580s/^[^=]*=[	 ]*$//
14581}'
14582fi
14583
14584cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14585fi # test -n "$CONFIG_FILES"
14586
14587# Set up the scripts for CONFIG_HEADERS section.
14588# No need to generate them if there are no CONFIG_HEADERS.
14589# This happens for instance with `./config.status Makefile'.
14590if test -n "$CONFIG_HEADERS"; then
14591cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14592BEGIN {
14593_ACEOF
14594
14595# Transform confdefs.h into an awk script `defines.awk', embedded as
14596# here-document in config.status, that substitutes the proper values into
14597# config.h.in to produce config.h.
14598
14599# Create a delimiter string that does not exist in confdefs.h, to ease
14600# handling of long lines.
14601ac_delim='%!_!# '
14602for ac_last_try in false false :; do
14603  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14604  if test -z "$ac_tt"; then
14605    break
14606  elif $ac_last_try; then
14607    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14608  else
14609    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14610  fi
14611done
14612
14613# For the awk script, D is an array of macro values keyed by name,
14614# likewise P contains macro parameters if any.  Preserve backslash
14615# newline sequences.
14616
14617ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14618sed -n '
14619s/.\{148\}/&'"$ac_delim"'/g
14620t rset
14621:rset
14622s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14623t def
14624d
14625:def
14626s/\\$//
14627t bsnl
14628s/["\\]/\\&/g
14629s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14630D["\1"]=" \3"/p
14631s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14632d
14633:bsnl
14634s/["\\]/\\&/g
14635s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14636D["\1"]=" \3\\\\\\n"\\/p
14637t cont
14638s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14639t cont
14640d
14641:cont
14642n
14643s/.\{148\}/&'"$ac_delim"'/g
14644t clear
14645:clear
14646s/\\$//
14647t bsnlc
14648s/["\\]/\\&/g; s/^/"/; s/$/"/p
14649d
14650:bsnlc
14651s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14652b cont
14653' <confdefs.h | sed '
14654s/'"$ac_delim"'/"\\\
14655"/g' >>$CONFIG_STATUS || ac_write_fail=1
14656
14657cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14658  for (key in D) D_is_set[key] = 1
14659  FS = ""
14660}
14661/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14662  line = \$ 0
14663  split(line, arg, " ")
14664  if (arg[1] == "#") {
14665    defundef = arg[2]
14666    mac1 = arg[3]
14667  } else {
14668    defundef = substr(arg[1], 2)
14669    mac1 = arg[2]
14670  }
14671  split(mac1, mac2, "(") #)
14672  macro = mac2[1]
14673  prefix = substr(line, 1, index(line, defundef) - 1)
14674  if (D_is_set[macro]) {
14675    # Preserve the white space surrounding the "#".
14676    print prefix "define", macro P[macro] D[macro]
14677    next
14678  } else {
14679    # Replace #undef with comments.  This is necessary, for example,
14680    # in the case of _POSIX_SOURCE, which is predefined and required
14681    # on some systems where configure will not decide to define it.
14682    if (defundef == "undef") {
14683      print "/*", prefix defundef, macro, "*/"
14684      next
14685    }
14686  }
14687}
14688{ print }
14689_ACAWK
14690_ACEOF
14691cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14692  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14693fi # test -n "$CONFIG_HEADERS"
14694
14695
14696eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14697shift
14698for ac_tag
14699do
14700  case $ac_tag in
14701  :[FHLC]) ac_mode=$ac_tag; continue;;
14702  esac
14703  case $ac_mode$ac_tag in
14704  :[FHL]*:*);;
14705  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14706  :[FH]-) ac_tag=-:-;;
14707  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14708  esac
14709  ac_save_IFS=$IFS
14710  IFS=:
14711  set x $ac_tag
14712  IFS=$ac_save_IFS
14713  shift
14714  ac_file=$1
14715  shift
14716
14717  case $ac_mode in
14718  :L) ac_source=$1;;
14719  :[FH])
14720    ac_file_inputs=
14721    for ac_f
14722    do
14723      case $ac_f in
14724      -) ac_f="$ac_tmp/stdin";;
14725      *) # Look for the file first in the build tree, then in the source tree
14726	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14727	 # because $ac_f cannot contain `:'.
14728	 test -f "$ac_f" ||
14729	   case $ac_f in
14730	   [\\/$]*) false;;
14731	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14732	   esac ||
14733	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14734      esac
14735      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14736      as_fn_append ac_file_inputs " '$ac_f'"
14737    done
14738
14739    # Let's still pretend it is `configure' which instantiates (i.e., don't
14740    # use $as_me), people would be surprised to read:
14741    #    /* config.h.  Generated by config.status.  */
14742    configure_input='Generated from '`
14743	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14744	`' by configure.'
14745    if test x"$ac_file" != x-; then
14746      configure_input="$ac_file.  $configure_input"
14747      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14748$as_echo "$as_me: creating $ac_file" >&6;}
14749    fi
14750    # Neutralize special characters interpreted by sed in replacement strings.
14751    case $configure_input in #(
14752    *\&* | *\|* | *\\* )
14753       ac_sed_conf_input=`$as_echo "$configure_input" |
14754       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14755    *) ac_sed_conf_input=$configure_input;;
14756    esac
14757
14758    case $ac_tag in
14759    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14760      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14761    esac
14762    ;;
14763  esac
14764
14765  ac_dir=`$as_dirname -- "$ac_file" ||
14766$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14767	 X"$ac_file" : 'X\(//\)[^/]' \| \
14768	 X"$ac_file" : 'X\(//\)$' \| \
14769	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14770$as_echo X"$ac_file" |
14771    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14772	    s//\1/
14773	    q
14774	  }
14775	  /^X\(\/\/\)[^/].*/{
14776	    s//\1/
14777	    q
14778	  }
14779	  /^X\(\/\/\)$/{
14780	    s//\1/
14781	    q
14782	  }
14783	  /^X\(\/\).*/{
14784	    s//\1/
14785	    q
14786	  }
14787	  s/.*/./; q'`
14788  as_dir="$ac_dir"; as_fn_mkdir_p
14789  ac_builddir=.
14790
14791case "$ac_dir" in
14792.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14793*)
14794  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14795  # A ".." for each directory in $ac_dir_suffix.
14796  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14797  case $ac_top_builddir_sub in
14798  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14799  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14800  esac ;;
14801esac
14802ac_abs_top_builddir=$ac_pwd
14803ac_abs_builddir=$ac_pwd$ac_dir_suffix
14804# for backward compatibility:
14805ac_top_builddir=$ac_top_build_prefix
14806
14807case $srcdir in
14808  .)  # We are building in place.
14809    ac_srcdir=.
14810    ac_top_srcdir=$ac_top_builddir_sub
14811    ac_abs_top_srcdir=$ac_pwd ;;
14812  [\\/]* | ?:[\\/]* )  # Absolute name.
14813    ac_srcdir=$srcdir$ac_dir_suffix;
14814    ac_top_srcdir=$srcdir
14815    ac_abs_top_srcdir=$srcdir ;;
14816  *) # Relative name.
14817    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14818    ac_top_srcdir=$ac_top_build_prefix$srcdir
14819    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14820esac
14821ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14822
14823
14824  case $ac_mode in
14825  :F)
14826  #
14827  # CONFIG_FILE
14828  #
14829
14830  case $INSTALL in
14831  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14832  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14833  esac
14834  ac_MKDIR_P=$MKDIR_P
14835  case $MKDIR_P in
14836  [\\/$]* | ?:[\\/]* ) ;;
14837  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14838  esac
14839_ACEOF
14840
14841cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14842# If the template does not know about datarootdir, expand it.
14843# FIXME: This hack should be removed a few years after 2.60.
14844ac_datarootdir_hack=; ac_datarootdir_seen=
14845ac_sed_dataroot='
14846/datarootdir/ {
14847  p
14848  q
14849}
14850/@datadir@/p
14851/@docdir@/p
14852/@infodir@/p
14853/@localedir@/p
14854/@mandir@/p'
14855case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14856*datarootdir*) ac_datarootdir_seen=yes;;
14857*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14858  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14859$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14860_ACEOF
14861cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14862  ac_datarootdir_hack='
14863  s&@datadir@&$datadir&g
14864  s&@docdir@&$docdir&g
14865  s&@infodir@&$infodir&g
14866  s&@localedir@&$localedir&g
14867  s&@mandir@&$mandir&g
14868  s&\\\${datarootdir}&$datarootdir&g' ;;
14869esac
14870_ACEOF
14871
14872# Neutralize VPATH when `$srcdir' = `.'.
14873# Shell code in configure.ac might set extrasub.
14874# FIXME: do we really want to maintain this feature?
14875cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14876ac_sed_extra="$ac_vpsub
14877$extrasub
14878_ACEOF
14879cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14880:t
14881/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14882s|@configure_input@|$ac_sed_conf_input|;t t
14883s&@top_builddir@&$ac_top_builddir_sub&;t t
14884s&@top_build_prefix@&$ac_top_build_prefix&;t t
14885s&@srcdir@&$ac_srcdir&;t t
14886s&@abs_srcdir@&$ac_abs_srcdir&;t t
14887s&@top_srcdir@&$ac_top_srcdir&;t t
14888s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14889s&@builddir@&$ac_builddir&;t t
14890s&@abs_builddir@&$ac_abs_builddir&;t t
14891s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14892s&@INSTALL@&$ac_INSTALL&;t t
14893s&@MKDIR_P@&$ac_MKDIR_P&;t t
14894$ac_datarootdir_hack
14895"
14896eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14897  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14898
14899test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14900  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14901  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14902      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14903  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14904which seems to be undefined.  Please make sure it is defined" >&5
14905$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14906which seems to be undefined.  Please make sure it is defined" >&2;}
14907
14908  rm -f "$ac_tmp/stdin"
14909  case $ac_file in
14910  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14911  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14912  esac \
14913  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14914 ;;
14915  :H)
14916  #
14917  # CONFIG_HEADER
14918  #
14919  if test x"$ac_file" != x-; then
14920    {
14921      $as_echo "/* $configure_input  */" \
14922      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14923    } >"$ac_tmp/config.h" \
14924      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14925    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14926      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14927$as_echo "$as_me: $ac_file is unchanged" >&6;}
14928    else
14929      rm -f "$ac_file"
14930      mv "$ac_tmp/config.h" "$ac_file" \
14931	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14932    fi
14933  else
14934    $as_echo "/* $configure_input  */" \
14935      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14936      || as_fn_error $? "could not create -" "$LINENO" 5
14937  fi
14938# Compute "$ac_file"'s index in $config_headers.
14939_am_arg="$ac_file"
14940_am_stamp_count=1
14941for _am_header in $config_headers :; do
14942  case $_am_header in
14943    $_am_arg | $_am_arg:* )
14944      break ;;
14945    * )
14946      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14947  esac
14948done
14949echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14950$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14951	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14952	 X"$_am_arg" : 'X\(//\)$' \| \
14953	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14954$as_echo X"$_am_arg" |
14955    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14956	    s//\1/
14957	    q
14958	  }
14959	  /^X\(\/\/\)[^/].*/{
14960	    s//\1/
14961	    q
14962	  }
14963	  /^X\(\/\/\)$/{
14964	    s//\1/
14965	    q
14966	  }
14967	  /^X\(\/\).*/{
14968	    s//\1/
14969	    q
14970	  }
14971	  s/.*/./; q'`/stamp-h$_am_stamp_count
14972 ;;
14973
14974  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14975$as_echo "$as_me: executing $ac_file commands" >&6;}
14976 ;;
14977  esac
14978
14979
14980  case $ac_file$ac_mode in
14981    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14982  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14983  # are listed without --file.  Let's play safe and only enable the eval
14984  # if we detect the quoting.
14985  case $CONFIG_FILES in
14986  *\'*) eval set x "$CONFIG_FILES" ;;
14987  *)   set x $CONFIG_FILES ;;
14988  esac
14989  shift
14990  for mf
14991  do
14992    # Strip MF so we end up with the name of the file.
14993    mf=`echo "$mf" | sed -e 's/:.*$//'`
14994    # Check whether this is an Automake generated Makefile or not.
14995    # We used to match only the files named `Makefile.in', but
14996    # some people rename them; so instead we look at the file content.
14997    # Grep'ing the first line is not enough: some people post-process
14998    # each Makefile.in and add a new line on top of each file to say so.
14999    # Grep'ing the whole file is not good either: AIX grep has a line
15000    # limit of 2048, but all sed's we know have understand at least 4000.
15001    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15002      dirpart=`$as_dirname -- "$mf" ||
15003$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15004	 X"$mf" : 'X\(//\)[^/]' \| \
15005	 X"$mf" : 'X\(//\)$' \| \
15006	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15007$as_echo X"$mf" |
15008    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15009	    s//\1/
15010	    q
15011	  }
15012	  /^X\(\/\/\)[^/].*/{
15013	    s//\1/
15014	    q
15015	  }
15016	  /^X\(\/\/\)$/{
15017	    s//\1/
15018	    q
15019	  }
15020	  /^X\(\/\).*/{
15021	    s//\1/
15022	    q
15023	  }
15024	  s/.*/./; q'`
15025    else
15026      continue
15027    fi
15028    # Extract the definition of DEPDIR, am__include, and am__quote
15029    # from the Makefile without running `make'.
15030    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15031    test -z "$DEPDIR" && continue
15032    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15033    test -z "am__include" && continue
15034    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15035    # When using ansi2knr, U may be empty or an underscore; expand it
15036    U=`sed -n 's/^U = //p' < "$mf"`
15037    # Find all dependency output files, they are included files with
15038    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15039    # simplest approach to changing $(DEPDIR) to its actual value in the
15040    # expansion.
15041    for file in `sed -n "
15042      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15043	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15044      # Make sure the directory exists.
15045      test -f "$dirpart/$file" && continue
15046      fdir=`$as_dirname -- "$file" ||
15047$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15048	 X"$file" : 'X\(//\)[^/]' \| \
15049	 X"$file" : 'X\(//\)$' \| \
15050	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15051$as_echo X"$file" |
15052    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15053	    s//\1/
15054	    q
15055	  }
15056	  /^X\(\/\/\)[^/].*/{
15057	    s//\1/
15058	    q
15059	  }
15060	  /^X\(\/\/\)$/{
15061	    s//\1/
15062	    q
15063	  }
15064	  /^X\(\/\).*/{
15065	    s//\1/
15066	    q
15067	  }
15068	  s/.*/./; q'`
15069      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15070      # echo "creating $dirpart/$file"
15071      echo '# dummy' > "$dirpart/$file"
15072    done
15073  done
15074}
15075 ;;
15076    "libtool":C)
15077
15078    # See if we are running on zsh, and set the options which allow our
15079    # commands through without removal of \ escapes.
15080    if test -n "${ZSH_VERSION+set}" ; then
15081      setopt NO_GLOB_SUBST
15082    fi
15083
15084    cfgfile="${ofile}T"
15085    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15086    $RM "$cfgfile"
15087
15088    cat <<_LT_EOF >> "$cfgfile"
15089#! $SHELL
15090
15091# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15092# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15093# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15094# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15095#
15096#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15097#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15098#                 Inc.
15099#   Written by Gordon Matzigkeit, 1996
15100#
15101#   This file is part of GNU Libtool.
15102#
15103# GNU Libtool is free software; you can redistribute it and/or
15104# modify it under the terms of the GNU General Public License as
15105# published by the Free Software Foundation; either version 2 of
15106# the License, or (at your option) any later version.
15107#
15108# As a special exception to the GNU General Public License,
15109# if you distribute this file as part of a program or library that
15110# is built using GNU Libtool, you may include this file under the
15111# same distribution terms that you use for the rest of that program.
15112#
15113# GNU Libtool is distributed in the hope that it will be useful,
15114# but WITHOUT ANY WARRANTY; without even the implied warranty of
15115# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15116# GNU General Public License for more details.
15117#
15118# You should have received a copy of the GNU General Public License
15119# along with GNU Libtool; see the file COPYING.  If not, a copy
15120# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15121# obtained by writing to the Free Software Foundation, Inc.,
15122# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15123
15124
15125# The names of the tagged configurations supported by this script.
15126available_tags=""
15127
15128# ### BEGIN LIBTOOL CONFIG
15129
15130# Which release of libtool.m4 was used?
15131macro_version=$macro_version
15132macro_revision=$macro_revision
15133
15134# Whether or not to build shared libraries.
15135build_libtool_libs=$enable_shared
15136
15137# Whether or not to build static libraries.
15138build_old_libs=$enable_static
15139
15140# What type of objects to build.
15141pic_mode=$pic_mode
15142
15143# Whether or not to optimize for fast installation.
15144fast_install=$enable_fast_install
15145
15146# Shell to use when invoking shell scripts.
15147SHELL=$lt_SHELL
15148
15149# An echo program that protects backslashes.
15150ECHO=$lt_ECHO
15151
15152# The host system.
15153host_alias=$host_alias
15154host=$host
15155host_os=$host_os
15156
15157# The build system.
15158build_alias=$build_alias
15159build=$build
15160build_os=$build_os
15161
15162# A sed program that does not truncate output.
15163SED=$lt_SED
15164
15165# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15166Xsed="\$SED -e 1s/^X//"
15167
15168# A grep program that handles long lines.
15169GREP=$lt_GREP
15170
15171# An ERE matcher.
15172EGREP=$lt_EGREP
15173
15174# A literal string matcher.
15175FGREP=$lt_FGREP
15176
15177# A BSD- or MS-compatible name lister.
15178NM=$lt_NM
15179
15180# Whether we need soft or hard links.
15181LN_S=$lt_LN_S
15182
15183# What is the maximum length of a command?
15184max_cmd_len=$max_cmd_len
15185
15186# Object file suffix (normally "o").
15187objext=$ac_objext
15188
15189# Executable file suffix (normally "").
15190exeext=$exeext
15191
15192# whether the shell understands "unset".
15193lt_unset=$lt_unset
15194
15195# turn spaces into newlines.
15196SP2NL=$lt_lt_SP2NL
15197
15198# turn newlines into spaces.
15199NL2SP=$lt_lt_NL2SP
15200
15201# convert \$build file names to \$host format.
15202to_host_file_cmd=$lt_cv_to_host_file_cmd
15203
15204# convert \$build files to toolchain format.
15205to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15206
15207# An object symbol dumper.
15208OBJDUMP=$lt_OBJDUMP
15209
15210# Method to check whether dependent libraries are shared objects.
15211deplibs_check_method=$lt_deplibs_check_method
15212
15213# Command to use when deplibs_check_method = "file_magic".
15214file_magic_cmd=$lt_file_magic_cmd
15215
15216# How to find potential files when deplibs_check_method = "file_magic".
15217file_magic_glob=$lt_file_magic_glob
15218
15219# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15220want_nocaseglob=$lt_want_nocaseglob
15221
15222# DLL creation program.
15223DLLTOOL=$lt_DLLTOOL
15224
15225# Command to associate shared and link libraries.
15226sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15227
15228# The archiver.
15229AR=$lt_AR
15230
15231# Flags to create an archive.
15232AR_FLAGS=$lt_AR_FLAGS
15233
15234# How to feed a file listing to the archiver.
15235archiver_list_spec=$lt_archiver_list_spec
15236
15237# A symbol stripping program.
15238STRIP=$lt_STRIP
15239
15240# Commands used to install an old-style archive.
15241RANLIB=$lt_RANLIB
15242old_postinstall_cmds=$lt_old_postinstall_cmds
15243old_postuninstall_cmds=$lt_old_postuninstall_cmds
15244
15245# Whether to use a lock for old archive extraction.
15246lock_old_archive_extraction=$lock_old_archive_extraction
15247
15248# A C compiler.
15249LTCC=$lt_CC
15250
15251# LTCC compiler flags.
15252LTCFLAGS=$lt_CFLAGS
15253
15254# Take the output of nm and produce a listing of raw symbols and C names.
15255global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15256
15257# Transform the output of nm in a proper C declaration.
15258global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15259
15260# Transform the output of nm in a C name address pair.
15261global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15262
15263# Transform the output of nm in a C name address pair when lib prefix is needed.
15264global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15265
15266# Specify filename containing input files for \$NM.
15267nm_file_list_spec=$lt_nm_file_list_spec
15268
15269# The root where to search for dependent libraries,and in which our libraries should be installed.
15270lt_sysroot=$lt_sysroot
15271
15272# The name of the directory that contains temporary libtool files.
15273objdir=$objdir
15274
15275# Used to examine libraries when file_magic_cmd begins with "file".
15276MAGIC_CMD=$MAGIC_CMD
15277
15278# Must we lock files when doing compilation?
15279need_locks=$lt_need_locks
15280
15281# Manifest tool.
15282MANIFEST_TOOL=$lt_MANIFEST_TOOL
15283
15284# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15285DSYMUTIL=$lt_DSYMUTIL
15286
15287# Tool to change global to local symbols on Mac OS X.
15288NMEDIT=$lt_NMEDIT
15289
15290# Tool to manipulate fat objects and archives on Mac OS X.
15291LIPO=$lt_LIPO
15292
15293# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15294OTOOL=$lt_OTOOL
15295
15296# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15297OTOOL64=$lt_OTOOL64
15298
15299# Old archive suffix (normally "a").
15300libext=$libext
15301
15302# Shared library suffix (normally ".so").
15303shrext_cmds=$lt_shrext_cmds
15304
15305# The commands to extract the exported symbol list from a shared archive.
15306extract_expsyms_cmds=$lt_extract_expsyms_cmds
15307
15308# Variables whose values should be saved in libtool wrapper scripts and
15309# restored at link time.
15310variables_saved_for_relink=$lt_variables_saved_for_relink
15311
15312# Do we need the "lib" prefix for modules?
15313need_lib_prefix=$need_lib_prefix
15314
15315# Do we need a version for libraries?
15316need_version=$need_version
15317
15318# Library versioning type.
15319version_type=$version_type
15320
15321# Shared library runtime path variable.
15322runpath_var=$runpath_var
15323
15324# Shared library path variable.
15325shlibpath_var=$shlibpath_var
15326
15327# Is shlibpath searched before the hard-coded library search path?
15328shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15329
15330# Format of library name prefix.
15331libname_spec=$lt_libname_spec
15332
15333# List of archive names.  First name is the real one, the rest are links.
15334# The last name is the one that the linker finds with -lNAME
15335library_names_spec=$lt_library_names_spec
15336
15337# The coded name of the library, if different from the real name.
15338soname_spec=$lt_soname_spec
15339
15340# Permission mode override for installation of shared libraries.
15341install_override_mode=$lt_install_override_mode
15342
15343# Command to use after installation of a shared archive.
15344postinstall_cmds=$lt_postinstall_cmds
15345
15346# Command to use after uninstallation of a shared archive.
15347postuninstall_cmds=$lt_postuninstall_cmds
15348
15349# Commands used to finish a libtool library installation in a directory.
15350finish_cmds=$lt_finish_cmds
15351
15352# As "finish_cmds", except a single script fragment to be evaled but
15353# not shown.
15354finish_eval=$lt_finish_eval
15355
15356# Whether we should hardcode library paths into libraries.
15357hardcode_into_libs=$hardcode_into_libs
15358
15359# Compile-time system search path for libraries.
15360sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15361
15362# Run-time system search path for libraries.
15363sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15364
15365# Whether dlopen is supported.
15366dlopen_support=$enable_dlopen
15367
15368# Whether dlopen of programs is supported.
15369dlopen_self=$enable_dlopen_self
15370
15371# Whether dlopen of statically linked programs is supported.
15372dlopen_self_static=$enable_dlopen_self_static
15373
15374# Commands to strip libraries.
15375old_striplib=$lt_old_striplib
15376striplib=$lt_striplib
15377
15378
15379# The linker used to build libraries.
15380LD=$lt_LD
15381
15382# How to create reloadable object files.
15383reload_flag=$lt_reload_flag
15384reload_cmds=$lt_reload_cmds
15385
15386# Commands used to build an old-style archive.
15387old_archive_cmds=$lt_old_archive_cmds
15388
15389# A language specific compiler.
15390CC=$lt_compiler
15391
15392# Is the compiler the GNU compiler?
15393with_gcc=$GCC
15394
15395# Compiler flag to turn off builtin functions.
15396no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15397
15398# Additional compiler flags for building library objects.
15399pic_flag=$lt_lt_prog_compiler_pic
15400
15401# How to pass a linker flag through the compiler.
15402wl=$lt_lt_prog_compiler_wl
15403
15404# Compiler flag to prevent dynamic linking.
15405link_static_flag=$lt_lt_prog_compiler_static
15406
15407# Does compiler simultaneously support -c and -o options?
15408compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15409
15410# Whether or not to add -lc for building shared libraries.
15411build_libtool_need_lc=$archive_cmds_need_lc
15412
15413# Whether or not to disallow shared libs when runtime libs are static.
15414allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15415
15416# Compiler flag to allow reflexive dlopens.
15417export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15418
15419# Compiler flag to generate shared objects directly from archives.
15420whole_archive_flag_spec=$lt_whole_archive_flag_spec
15421
15422# Whether the compiler copes with passing no objects directly.
15423compiler_needs_object=$lt_compiler_needs_object
15424
15425# Create an old-style archive from a shared archive.
15426old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15427
15428# Create a temporary old-style archive to link instead of a shared archive.
15429old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15430
15431# Commands used to build a shared archive.
15432archive_cmds=$lt_archive_cmds
15433archive_expsym_cmds=$lt_archive_expsym_cmds
15434
15435# Commands used to build a loadable module if different from building
15436# a shared archive.
15437module_cmds=$lt_module_cmds
15438module_expsym_cmds=$lt_module_expsym_cmds
15439
15440# Whether we are building with GNU ld or not.
15441with_gnu_ld=$lt_with_gnu_ld
15442
15443# Flag that allows shared libraries with undefined symbols to be built.
15444allow_undefined_flag=$lt_allow_undefined_flag
15445
15446# Flag that enforces no undefined symbols.
15447no_undefined_flag=$lt_no_undefined_flag
15448
15449# Flag to hardcode \$libdir into a binary during linking.
15450# This must work even if \$libdir does not exist
15451hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15452
15453# If ld is used when linking, flag to hardcode \$libdir into a binary
15454# during linking.  This must work even if \$libdir does not exist.
15455hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15456
15457# Whether we need a single "-rpath" flag with a separated argument.
15458hardcode_libdir_separator=$lt_hardcode_libdir_separator
15459
15460# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15461# DIR into the resulting binary.
15462hardcode_direct=$hardcode_direct
15463
15464# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15465# DIR into the resulting binary and the resulting library dependency is
15466# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15467# library is relocated.
15468hardcode_direct_absolute=$hardcode_direct_absolute
15469
15470# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15471# into the resulting binary.
15472hardcode_minus_L=$hardcode_minus_L
15473
15474# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15475# into the resulting binary.
15476hardcode_shlibpath_var=$hardcode_shlibpath_var
15477
15478# Set to "yes" if building a shared library automatically hardcodes DIR
15479# into the library and all subsequent libraries and executables linked
15480# against it.
15481hardcode_automatic=$hardcode_automatic
15482
15483# Set to yes if linker adds runtime paths of dependent libraries
15484# to runtime path list.
15485inherit_rpath=$inherit_rpath
15486
15487# Whether libtool must link a program against all its dependency libraries.
15488link_all_deplibs=$link_all_deplibs
15489
15490# Set to "yes" if exported symbols are required.
15491always_export_symbols=$always_export_symbols
15492
15493# The commands to list exported symbols.
15494export_symbols_cmds=$lt_export_symbols_cmds
15495
15496# Symbols that should not be listed in the preloaded symbols.
15497exclude_expsyms=$lt_exclude_expsyms
15498
15499# Symbols that must always be exported.
15500include_expsyms=$lt_include_expsyms
15501
15502# Commands necessary for linking programs (against libraries) with templates.
15503prelink_cmds=$lt_prelink_cmds
15504
15505# Commands necessary for finishing linking programs.
15506postlink_cmds=$lt_postlink_cmds
15507
15508# Specify filename containing input files.
15509file_list_spec=$lt_file_list_spec
15510
15511# How to hardcode a shared library path into an executable.
15512hardcode_action=$hardcode_action
15513
15514# ### END LIBTOOL CONFIG
15515
15516_LT_EOF
15517
15518  case $host_os in
15519  aix3*)
15520    cat <<\_LT_EOF >> "$cfgfile"
15521# AIX sometimes has problems with the GCC collect2 program.  For some
15522# reason, if we set the COLLECT_NAMES environment variable, the problems
15523# vanish in a puff of smoke.
15524if test "X${COLLECT_NAMES+set}" != Xset; then
15525  COLLECT_NAMES=
15526  export COLLECT_NAMES
15527fi
15528_LT_EOF
15529    ;;
15530  esac
15531
15532
15533ltmain="$ac_aux_dir/ltmain.sh"
15534
15535
15536  # We use sed instead of cat because bash on DJGPP gets confused if
15537  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15538  # text mode, it properly converts lines to CR/LF.  This bash problem
15539  # is reportedly fixed, but why not run on old versions too?
15540  sed '$q' "$ltmain" >> "$cfgfile" \
15541     || (rm -f "$cfgfile"; exit 1)
15542
15543  if test x"$xsi_shell" = xyes; then
15544  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15545func_dirname ()\
15546{\
15547\    case ${1} in\
15548\      */*) func_dirname_result="${1%/*}${2}" ;;\
15549\      *  ) func_dirname_result="${3}" ;;\
15550\    esac\
15551} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15552  && mv -f "$cfgfile.tmp" "$cfgfile" \
15553    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15554test 0 -eq $? || _lt_function_replace_fail=:
15555
15556
15557  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15558func_basename ()\
15559{\
15560\    func_basename_result="${1##*/}"\
15561} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15562  && mv -f "$cfgfile.tmp" "$cfgfile" \
15563    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15564test 0 -eq $? || _lt_function_replace_fail=:
15565
15566
15567  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15568func_dirname_and_basename ()\
15569{\
15570\    case ${1} in\
15571\      */*) func_dirname_result="${1%/*}${2}" ;;\
15572\      *  ) func_dirname_result="${3}" ;;\
15573\    esac\
15574\    func_basename_result="${1##*/}"\
15575} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15576  && mv -f "$cfgfile.tmp" "$cfgfile" \
15577    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15578test 0 -eq $? || _lt_function_replace_fail=:
15579
15580
15581  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15582func_stripname ()\
15583{\
15584\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15585\    # positional parameters, so assign one to ordinary parameter first.\
15586\    func_stripname_result=${3}\
15587\    func_stripname_result=${func_stripname_result#"${1}"}\
15588\    func_stripname_result=${func_stripname_result%"${2}"}\
15589} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15590  && mv -f "$cfgfile.tmp" "$cfgfile" \
15591    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15592test 0 -eq $? || _lt_function_replace_fail=:
15593
15594
15595  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15596func_split_long_opt ()\
15597{\
15598\    func_split_long_opt_name=${1%%=*}\
15599\    func_split_long_opt_arg=${1#*=}\
15600} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15601  && mv -f "$cfgfile.tmp" "$cfgfile" \
15602    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15603test 0 -eq $? || _lt_function_replace_fail=:
15604
15605
15606  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15607func_split_short_opt ()\
15608{\
15609\    func_split_short_opt_arg=${1#??}\
15610\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15611} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15612  && mv -f "$cfgfile.tmp" "$cfgfile" \
15613    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15614test 0 -eq $? || _lt_function_replace_fail=:
15615
15616
15617  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15618func_lo2o ()\
15619{\
15620\    case ${1} in\
15621\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15622\      *)    func_lo2o_result=${1} ;;\
15623\    esac\
15624} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15625  && mv -f "$cfgfile.tmp" "$cfgfile" \
15626    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15627test 0 -eq $? || _lt_function_replace_fail=:
15628
15629
15630  sed -e '/^func_xform ()$/,/^} # func_xform /c\
15631func_xform ()\
15632{\
15633    func_xform_result=${1%.*}.lo\
15634} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15635  && mv -f "$cfgfile.tmp" "$cfgfile" \
15636    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15637test 0 -eq $? || _lt_function_replace_fail=:
15638
15639
15640  sed -e '/^func_arith ()$/,/^} # func_arith /c\
15641func_arith ()\
15642{\
15643    func_arith_result=$(( $* ))\
15644} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15645  && mv -f "$cfgfile.tmp" "$cfgfile" \
15646    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15647test 0 -eq $? || _lt_function_replace_fail=:
15648
15649
15650  sed -e '/^func_len ()$/,/^} # func_len /c\
15651func_len ()\
15652{\
15653    func_len_result=${#1}\
15654} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15655  && mv -f "$cfgfile.tmp" "$cfgfile" \
15656    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15657test 0 -eq $? || _lt_function_replace_fail=:
15658
15659fi
15660
15661if test x"$lt_shell_append" = xyes; then
15662  sed -e '/^func_append ()$/,/^} # func_append /c\
15663func_append ()\
15664{\
15665    eval "${1}+=\\${2}"\
15666} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15667  && mv -f "$cfgfile.tmp" "$cfgfile" \
15668    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15669test 0 -eq $? || _lt_function_replace_fail=:
15670
15671
15672  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15673func_append_quoted ()\
15674{\
15675\    func_quote_for_eval "${2}"\
15676\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15677} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15678  && mv -f "$cfgfile.tmp" "$cfgfile" \
15679    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15680test 0 -eq $? || _lt_function_replace_fail=:
15681
15682
15683  # Save a `func_append' function call where possible by direct use of '+='
15684  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15685    && mv -f "$cfgfile.tmp" "$cfgfile" \
15686      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15687  test 0 -eq $? || _lt_function_replace_fail=:
15688else
15689  # Save a `func_append' function call even when '+=' is not available
15690  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15691    && mv -f "$cfgfile.tmp" "$cfgfile" \
15692      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15693  test 0 -eq $? || _lt_function_replace_fail=:
15694fi
15695
15696if test x"$_lt_function_replace_fail" = x":"; then
15697  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15698$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15699fi
15700
15701
15702   mv -f "$cfgfile" "$ofile" ||
15703    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15704  chmod +x "$ofile"
15705
15706 ;;
15707    "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
15708        sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
15709      esac ;;
15710    "po/stamp-it":C)
15711    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
15712       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
15713    fi
15714    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
15715    >"po/stamp-it.tmp"
15716    sed '/^#/d
15717	 s/^[[].*] *//
15718	 /^[ 	]*$/d
15719	'"s|^|	$ac_top_srcdir/|" \
15720      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
15721
15722    sed '/^POTFILES =/,/[^\\]$/ {
15723		/^POTFILES =/!d
15724		r po/POTFILES
15725	  }
15726	 ' "po/Makefile.in" >"po/Makefile"
15727    rm -f "po/Makefile.tmp"
15728    mv "po/stamp-it.tmp" "po/stamp-it"
15729   ;;
15730
15731  esac
15732done # for ac_tag
15733
15734
15735as_fn_exit 0
15736_ACEOF
15737ac_clean_files=$ac_clean_files_save
15738
15739test $ac_write_fail = 0 ||
15740  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15741
15742
15743# configure is writing to config.log, and then calls config.status.
15744# config.status does its own redirection, appending to config.log.
15745# Unfortunately, on DOS this fails, as config.log is still kept open
15746# by configure, so config.status won't be able to write to it; its
15747# output is simply discarded.  So we exec the FD to /dev/null,
15748# effectively closing config.log, so it can be properly (re)opened and
15749# appended to by config.status.  When coming back to configure, we
15750# need to make the FD available again.
15751if test "$no_create" != yes; then
15752  ac_cs_success=:
15753  ac_config_status_args=
15754  test "$silent" = yes &&
15755    ac_config_status_args="$ac_config_status_args --quiet"
15756  exec 5>/dev/null
15757  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15758  exec 5>>config.log
15759  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15760  # would make configure fail if this is the last instruction.
15761  $ac_cs_success || as_fn_exit 1
15762fi
15763if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15764  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15765$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15766fi
15767
15768
15769echo "
15770                  polkit-gnome $VERSION
15771                =======================
15772
15773        prefix:                     ${prefix}
15774        libdir:                     ${libdir}
15775        libexecdir:                 ${libexecdir}
15776        bindir:                     ${bindir}
15777        sbindir:                    ${sbindir}
15778        datadir:                    ${datadir}
15779        sysconfdir:                 ${sysconfdir}
15780        localstatedir:              ${localstatedir}
15781
15782        compiler:                   ${CC}
15783        cflags:                     ${CFLAGS}
15784        cppflags:                   ${CPPFLAGS}
15785
15786        Maintainer mode:            ${USE_MAINTAINER_MODE}
15787"
15788