1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for unique 3.0.2.
4#
5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libunique>.
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
177
178  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    PATH=/empty FPATH=/empty; export PATH FPATH
183    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185test \$(( 1 + 1 )) = 2 || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: http://bugzilla.gnome.org/enter_bug.cgi?product=libunique
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='unique'
573PACKAGE_TARNAME='libunique'
574PACKAGE_VERSION='3.0.2'
575PACKAGE_STRING='unique 3.0.2'
576PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=libunique'
577PACKAGE_URL=''
578
579ac_unique_file="unique/unique.h"
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
583#ifdef HAVE_SYS_TYPES_H
584# include <sys/types.h>
585#endif
586#ifdef HAVE_SYS_STAT_H
587# include <sys/stat.h>
588#endif
589#ifdef STDC_HEADERS
590# include <stdlib.h>
591# include <stddef.h>
592#else
593# ifdef HAVE_STDLIB_H
594#  include <stdlib.h>
595# endif
596#endif
597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599#  include <memory.h>
600# endif
601# include <string.h>
602#endif
603#ifdef HAVE_STRINGS_H
604# include <strings.h>
605#endif
606#ifdef HAVE_INTTYPES_H
607# include <inttypes.h>
608#endif
609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
613# include <unistd.h>
614#endif"
615
616ac_subst_vars='am__EXEEXT_FALSE
617am__EXEEXT_TRUE
618LTLIBOBJS
619LIBOBJS
620GTK_DOC_USE_REBASE_FALSE
621GTK_DOC_USE_REBASE_TRUE
622GTK_DOC_USE_LIBTOOL_FALSE
623GTK_DOC_USE_LIBTOOL_TRUE
624GTK_DOC_BUILD_PDF_FALSE
625GTK_DOC_BUILD_PDF_TRUE
626GTK_DOC_BUILD_HTML_FALSE
627GTK_DOC_BUILD_HTML_TRUE
628ENABLE_GTK_DOC_FALSE
629ENABLE_GTK_DOC_TRUE
630HTML_DIR
631GTKDOC_MKPDF
632GTKDOC_REBASE
633GTKDOC_CHECK
634GTK_PREFIX
635GDK_PREFIX
636GLIB_PREFIX
637HAVE_INTROSPECTION_FALSE
638HAVE_INTROSPECTION_TRUE
639INTROSPECTION_MAKEFILE
640INTROSPECTION_LIBS
641INTROSPECTION_CFLAGS
642INTROSPECTION_TYPELIBDIR
643INTROSPECTION_GIRDIR
644INTROSPECTION_GENERATE
645INTROSPECTION_COMPILER
646INTROSPECTION_SCANNER
647UNIQUE_DEBUG_CFLAGS
648MAINTAINER_CFLAGS
649UNIQUE_DEFAULT_BACKEND
650HAVE_BACON_FALSE
651HAVE_BACON_TRUE
652HAVE_GDBUS_FALSE
653HAVE_GDBUS_TRUE
654GDBUS_LIBS
655GDBUS_CFLAGS
656HAVE_DBUS_FALSE
657HAVE_DBUS_TRUE
658DBUS_BINDING_TOOL
659DBUS_LIBS
660DBUS_CFLAGS
661UNIQUE_X11_LIBS
662UNIQUE_X11_CFLAGS
663X_EXTRA_LIBS
664X_LIBS
665X_PRE_LIBS
666X_CFLAGS
667XMKMF
668UNIQUE_LIBS
669UNIQUE_CFLAGS
670UNIQUE_LT_CURRENT_MINUS_AGE
671UNIQUE_LT_VERSION_INFO
672UNIQUE_PROTOCOL_VERSION
673UNIQUE_API_VERSION
674UNIQUE_VERSION
675UNIQUE_MICRO_VERSION
676UNIQUE_MINOR_VERSION
677UNIQUE_MAJOR_VERSION
678CPP
679OTOOL64
680OTOOL
681LIPO
682NMEDIT
683DSYMUTIL
684MANIFEST_TOOL
685RANLIB
686ac_ct_AR
687AR
688DLLTOOL
689OBJDUMP
690LN_S
691NM
692ac_ct_DUMPBIN
693DUMPBIN
694LD
695FGREP
696EGREP
697GREP
698SED
699host_os
700host_vendor
701host_cpu
702host
703build_os
704build_vendor
705build_cpu
706build
707LIBTOOL
708GLIB_MKENUMS
709GOBJECT_QUERY
710GLIB_GENMARSHAL
711GLIB_LIBS
712GLIB_CFLAGS
713PKG_CONFIG_LIBDIR
714PKG_CONFIG_PATH
715PKG_CONFIG
716am__fastdepCC_FALSE
717am__fastdepCC_TRUE
718CCDEPMODE
719AMDEPBACKSLASH
720AMDEP_FALSE
721AMDEP_TRUE
722am__quote
723am__include
724DEPDIR
725OBJEXT
726EXEEXT
727ac_ct_CC
728CPPFLAGS
729LDFLAGS
730CFLAGS
731CC
732AM_BACKSLASH
733AM_DEFAULT_VERBOSITY
734am__untar
735am__tar
736AMTAR
737am__leading_dot
738SET_MAKE
739AWK
740mkdir_p
741MKDIR_P
742INSTALL_STRIP_PROGRAM
743STRIP
744install_sh
745MAKEINFO
746AUTOHEADER
747AUTOMAKE
748AUTOCONF
749ACLOCAL
750VERSION
751PACKAGE
752CYGPATH_W
753am__isrc
754INSTALL_DATA
755INSTALL_SCRIPT
756INSTALL_PROGRAM
757target_alias
758host_alias
759build_alias
760LIBS
761ECHO_T
762ECHO_N
763ECHO_C
764DEFS
765mandir
766localedir
767libdir
768psdir
769pdfdir
770dvidir
771htmldir
772infodir
773docdir
774oldincludedir
775includedir
776localstatedir
777sharedstatedir
778sysconfdir
779datadir
780datarootdir
781libexecdir
782sbindir
783bindir
784program_transform_name
785prefix
786exec_prefix
787PACKAGE_URL
788PACKAGE_BUGREPORT
789PACKAGE_STRING
790PACKAGE_VERSION
791PACKAGE_TARNAME
792PACKAGE_NAME
793PATH_SEPARATOR
794SHELL'
795ac_subst_files=''
796ac_user_opts='
797enable_option_checking
798enable_silent_rules
799enable_dependency_tracking
800enable_glibtest
801enable_static
802enable_shared
803with_pic
804enable_fast_install
805with_gnu_ld
806with_sysroot
807enable_libtool_lock
808with_x
809enable_dbus
810enable_bacon
811enable_maintainer_flags
812enable_debug
813enable_introspection
814with_html_dir
815enable_gtk_doc
816enable_gtk_doc_html
817enable_gtk_doc_pdf
818'
819      ac_precious_vars='build_alias
820host_alias
821target_alias
822CC
823CFLAGS
824LDFLAGS
825LIBS
826CPPFLAGS
827PKG_CONFIG
828PKG_CONFIG_PATH
829PKG_CONFIG_LIBDIR
830CPP
831UNIQUE_CFLAGS
832UNIQUE_LIBS
833XMKMF
834UNIQUE_X11_CFLAGS
835UNIQUE_X11_LIBS
836DBUS_CFLAGS
837DBUS_LIBS
838GDBUS_CFLAGS
839GDBUS_LIBS'
840
841
842# Initialize some variables set by options.
843ac_init_help=
844ac_init_version=false
845ac_unrecognized_opts=
846ac_unrecognized_sep=
847# The variables have the same names as the options, with
848# dashes changed to underlines.
849cache_file=/dev/null
850exec_prefix=NONE
851no_create=
852no_recursion=
853prefix=NONE
854program_prefix=NONE
855program_suffix=NONE
856program_transform_name=s,x,x,
857silent=
858site=
859srcdir=
860verbose=
861x_includes=NONE
862x_libraries=NONE
863
864# Installation directory options.
865# These are left unexpanded so users can "make install exec_prefix=/foo"
866# and all the variables that are supposed to be based on exec_prefix
867# by default will actually change.
868# Use braces instead of parens because sh, perl, etc. also accept them.
869# (The list follows the same order as the GNU Coding Standards.)
870bindir='${exec_prefix}/bin'
871sbindir='${exec_prefix}/sbin'
872libexecdir='${exec_prefix}/libexec'
873datarootdir='${prefix}/share'
874datadir='${datarootdir}'
875sysconfdir='${prefix}/etc'
876sharedstatedir='${prefix}/com'
877localstatedir='${prefix}/var'
878includedir='${prefix}/include'
879oldincludedir='/usr/include'
880docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
881infodir='${datarootdir}/info'
882htmldir='${docdir}'
883dvidir='${docdir}'
884pdfdir='${docdir}'
885psdir='${docdir}'
886libdir='${exec_prefix}/lib'
887localedir='${datarootdir}/locale'
888mandir='${datarootdir}/man'
889
890ac_prev=
891ac_dashdash=
892for ac_option
893do
894  # If the previous option needs an argument, assign it.
895  if test -n "$ac_prev"; then
896    eval $ac_prev=\$ac_option
897    ac_prev=
898    continue
899  fi
900
901  case $ac_option in
902  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903  *=)   ac_optarg= ;;
904  *)    ac_optarg=yes ;;
905  esac
906
907  # Accept the important Cygnus configure options, so we can diagnose typos.
908
909  case $ac_dashdash$ac_option in
910  --)
911    ac_dashdash=yes ;;
912
913  -bindir | --bindir | --bindi | --bind | --bin | --bi)
914    ac_prev=bindir ;;
915  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
916    bindir=$ac_optarg ;;
917
918  -build | --build | --buil | --bui | --bu)
919    ac_prev=build_alias ;;
920  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
921    build_alias=$ac_optarg ;;
922
923  -cache-file | --cache-file | --cache-fil | --cache-fi \
924  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
925    ac_prev=cache_file ;;
926  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
927  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
928    cache_file=$ac_optarg ;;
929
930  --config-cache | -C)
931    cache_file=config.cache ;;
932
933  -datadir | --datadir | --datadi | --datad)
934    ac_prev=datadir ;;
935  -datadir=* | --datadir=* | --datadi=* | --datad=*)
936    datadir=$ac_optarg ;;
937
938  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
939  | --dataroo | --dataro | --datar)
940    ac_prev=datarootdir ;;
941  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
942  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
943    datarootdir=$ac_optarg ;;
944
945  -disable-* | --disable-*)
946    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947    # Reject names that are not valid shell variable names.
948    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
949      as_fn_error $? "invalid feature name: $ac_useropt"
950    ac_useropt_orig=$ac_useropt
951    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952    case $ac_user_opts in
953      *"
954"enable_$ac_useropt"
955"*) ;;
956      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957	 ac_unrecognized_sep=', ';;
958    esac
959    eval enable_$ac_useropt=no ;;
960
961  -docdir | --docdir | --docdi | --doc | --do)
962    ac_prev=docdir ;;
963  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
964    docdir=$ac_optarg ;;
965
966  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
967    ac_prev=dvidir ;;
968  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
969    dvidir=$ac_optarg ;;
970
971  -enable-* | --enable-*)
972    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973    # Reject names that are not valid shell variable names.
974    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
975      as_fn_error $? "invalid feature name: $ac_useropt"
976    ac_useropt_orig=$ac_useropt
977    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978    case $ac_user_opts in
979      *"
980"enable_$ac_useropt"
981"*) ;;
982      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983	 ac_unrecognized_sep=', ';;
984    esac
985    eval enable_$ac_useropt=\$ac_optarg ;;
986
987  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
988  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
989  | --exec | --exe | --ex)
990    ac_prev=exec_prefix ;;
991  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
992  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
993  | --exec=* | --exe=* | --ex=*)
994    exec_prefix=$ac_optarg ;;
995
996  -gas | --gas | --ga | --g)
997    # Obsolete; use --with-gas.
998    with_gas=yes ;;
999
1000  -help | --help | --hel | --he | -h)
1001    ac_init_help=long ;;
1002  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1003    ac_init_help=recursive ;;
1004  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1005    ac_init_help=short ;;
1006
1007  -host | --host | --hos | --ho)
1008    ac_prev=host_alias ;;
1009  -host=* | --host=* | --hos=* | --ho=*)
1010    host_alias=$ac_optarg ;;
1011
1012  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1013    ac_prev=htmldir ;;
1014  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1015  | --ht=*)
1016    htmldir=$ac_optarg ;;
1017
1018  -includedir | --includedir | --includedi | --included | --include \
1019  | --includ | --inclu | --incl | --inc)
1020    ac_prev=includedir ;;
1021  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1022  | --includ=* | --inclu=* | --incl=* | --inc=*)
1023    includedir=$ac_optarg ;;
1024
1025  -infodir | --infodir | --infodi | --infod | --info | --inf)
1026    ac_prev=infodir ;;
1027  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1028    infodir=$ac_optarg ;;
1029
1030  -libdir | --libdir | --libdi | --libd)
1031    ac_prev=libdir ;;
1032  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1033    libdir=$ac_optarg ;;
1034
1035  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1036  | --libexe | --libex | --libe)
1037    ac_prev=libexecdir ;;
1038  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1039  | --libexe=* | --libex=* | --libe=*)
1040    libexecdir=$ac_optarg ;;
1041
1042  -localedir | --localedir | --localedi | --localed | --locale)
1043    ac_prev=localedir ;;
1044  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1045    localedir=$ac_optarg ;;
1046
1047  -localstatedir | --localstatedir | --localstatedi | --localstated \
1048  | --localstate | --localstat | --localsta | --localst | --locals)
1049    ac_prev=localstatedir ;;
1050  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1051  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1052    localstatedir=$ac_optarg ;;
1053
1054  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1055    ac_prev=mandir ;;
1056  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1057    mandir=$ac_optarg ;;
1058
1059  -nfp | --nfp | --nf)
1060    # Obsolete; use --without-fp.
1061    with_fp=no ;;
1062
1063  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1064  | --no-cr | --no-c | -n)
1065    no_create=yes ;;
1066
1067  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1068  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1069    no_recursion=yes ;;
1070
1071  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1072  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1073  | --oldin | --oldi | --old | --ol | --o)
1074    ac_prev=oldincludedir ;;
1075  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1076  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1077  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1078    oldincludedir=$ac_optarg ;;
1079
1080  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1081    ac_prev=prefix ;;
1082  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1083    prefix=$ac_optarg ;;
1084
1085  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1086  | --program-pre | --program-pr | --program-p)
1087    ac_prev=program_prefix ;;
1088  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1089  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1090    program_prefix=$ac_optarg ;;
1091
1092  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1093  | --program-suf | --program-su | --program-s)
1094    ac_prev=program_suffix ;;
1095  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1096  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1097    program_suffix=$ac_optarg ;;
1098
1099  -program-transform-name | --program-transform-name \
1100  | --program-transform-nam | --program-transform-na \
1101  | --program-transform-n | --program-transform- \
1102  | --program-transform | --program-transfor \
1103  | --program-transfo | --program-transf \
1104  | --program-trans | --program-tran \
1105  | --progr-tra | --program-tr | --program-t)
1106    ac_prev=program_transform_name ;;
1107  -program-transform-name=* | --program-transform-name=* \
1108  | --program-transform-nam=* | --program-transform-na=* \
1109  | --program-transform-n=* | --program-transform-=* \
1110  | --program-transform=* | --program-transfor=* \
1111  | --program-transfo=* | --program-transf=* \
1112  | --program-trans=* | --program-tran=* \
1113  | --progr-tra=* | --program-tr=* | --program-t=*)
1114    program_transform_name=$ac_optarg ;;
1115
1116  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1117    ac_prev=pdfdir ;;
1118  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1119    pdfdir=$ac_optarg ;;
1120
1121  -psdir | --psdir | --psdi | --psd | --ps)
1122    ac_prev=psdir ;;
1123  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1124    psdir=$ac_optarg ;;
1125
1126  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1127  | -silent | --silent | --silen | --sile | --sil)
1128    silent=yes ;;
1129
1130  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1131    ac_prev=sbindir ;;
1132  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1133  | --sbi=* | --sb=*)
1134    sbindir=$ac_optarg ;;
1135
1136  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1137  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1138  | --sharedst | --shareds | --shared | --share | --shar \
1139  | --sha | --sh)
1140    ac_prev=sharedstatedir ;;
1141  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1142  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1143  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1144  | --sha=* | --sh=*)
1145    sharedstatedir=$ac_optarg ;;
1146
1147  -site | --site | --sit)
1148    ac_prev=site ;;
1149  -site=* | --site=* | --sit=*)
1150    site=$ac_optarg ;;
1151
1152  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1153    ac_prev=srcdir ;;
1154  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1155    srcdir=$ac_optarg ;;
1156
1157  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1158  | --syscon | --sysco | --sysc | --sys | --sy)
1159    ac_prev=sysconfdir ;;
1160  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1161  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1162    sysconfdir=$ac_optarg ;;
1163
1164  -target | --target | --targe | --targ | --tar | --ta | --t)
1165    ac_prev=target_alias ;;
1166  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1167    target_alias=$ac_optarg ;;
1168
1169  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1170    verbose=yes ;;
1171
1172  -version | --version | --versio | --versi | --vers | -V)
1173    ac_init_version=: ;;
1174
1175  -with-* | --with-*)
1176    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177    # Reject names that are not valid shell variable names.
1178    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1179      as_fn_error $? "invalid package name: $ac_useropt"
1180    ac_useropt_orig=$ac_useropt
1181    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182    case $ac_user_opts in
1183      *"
1184"with_$ac_useropt"
1185"*) ;;
1186      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187	 ac_unrecognized_sep=', ';;
1188    esac
1189    eval with_$ac_useropt=\$ac_optarg ;;
1190
1191  -without-* | --without-*)
1192    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193    # Reject names that are not valid shell variable names.
1194    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1195      as_fn_error $? "invalid package name: $ac_useropt"
1196    ac_useropt_orig=$ac_useropt
1197    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198    case $ac_user_opts in
1199      *"
1200"with_$ac_useropt"
1201"*) ;;
1202      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203	 ac_unrecognized_sep=', ';;
1204    esac
1205    eval with_$ac_useropt=no ;;
1206
1207  --x)
1208    # Obsolete; use --with-x.
1209    with_x=yes ;;
1210
1211  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1212  | --x-incl | --x-inc | --x-in | --x-i)
1213    ac_prev=x_includes ;;
1214  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1215  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1216    x_includes=$ac_optarg ;;
1217
1218  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1219  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1220    ac_prev=x_libraries ;;
1221  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1222  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1223    x_libraries=$ac_optarg ;;
1224
1225  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1226Try \`$0 --help' for more information"
1227    ;;
1228
1229  *=*)
1230    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1231    # Reject names that are not valid shell variable names.
1232    case $ac_envvar in #(
1233      '' | [0-9]* | *[!_$as_cr_alnum]* )
1234      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1235    esac
1236    eval $ac_envvar=\$ac_optarg
1237    export $ac_envvar ;;
1238
1239  *)
1240    # FIXME: should be removed in autoconf 3.0.
1241    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1243      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245    ;;
1246
1247  esac
1248done
1249
1250if test -n "$ac_prev"; then
1251  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1252  as_fn_error $? "missing argument to $ac_option"
1253fi
1254
1255if test -n "$ac_unrecognized_opts"; then
1256  case $enable_option_checking in
1257    no) ;;
1258    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1259    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260  esac
1261fi
1262
1263# Check all directory arguments for consistency.
1264for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265		datadir sysconfdir sharedstatedir localstatedir includedir \
1266		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267		libdir localedir mandir
1268do
1269  eval ac_val=\$$ac_var
1270  # Remove trailing slashes.
1271  case $ac_val in
1272    */ )
1273      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274      eval $ac_var=\$ac_val;;
1275  esac
1276  # Be sure to have absolute directory names.
1277  case $ac_val in
1278    [\\/$]* | ?:[\\/]* )  continue;;
1279    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1280  esac
1281  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1282done
1283
1284# There might be people who depend on the old broken behavior: `$host'
1285# used to hold the argument of --host etc.
1286# FIXME: To remove some day.
1287build=$build_alias
1288host=$host_alias
1289target=$target_alias
1290
1291# FIXME: To remove some day.
1292if test "x$host_alias" != x; then
1293  if test "x$build_alias" = x; then
1294    cross_compiling=maybe
1295    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1296    If a cross compiler is detected then cross compile mode will be used" >&2
1297  elif test "x$build_alias" != "x$host_alias"; then
1298    cross_compiling=yes
1299  fi
1300fi
1301
1302ac_tool_prefix=
1303test -n "$host_alias" && ac_tool_prefix=$host_alias-
1304
1305test "$silent" = yes && exec 6>/dev/null
1306
1307
1308ac_pwd=`pwd` && test -n "$ac_pwd" &&
1309ac_ls_di=`ls -di .` &&
1310ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1311  as_fn_error $? "working directory cannot be determined"
1312test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313  as_fn_error $? "pwd does not report name of working directory"
1314
1315
1316# Find the source files, if location was not specified.
1317if test -z "$srcdir"; then
1318  ac_srcdir_defaulted=yes
1319  # Try the directory containing this script, then the parent directory.
1320  ac_confdir=`$as_dirname -- "$as_myself" ||
1321$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322	 X"$as_myself" : 'X\(//\)[^/]' \| \
1323	 X"$as_myself" : 'X\(//\)$' \| \
1324	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325$as_echo X"$as_myself" |
1326    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1327	    s//\1/
1328	    q
1329	  }
1330	  /^X\(\/\/\)[^/].*/{
1331	    s//\1/
1332	    q
1333	  }
1334	  /^X\(\/\/\)$/{
1335	    s//\1/
1336	    q
1337	  }
1338	  /^X\(\/\).*/{
1339	    s//\1/
1340	    q
1341	  }
1342	  s/.*/./; q'`
1343  srcdir=$ac_confdir
1344  if test ! -r "$srcdir/$ac_unique_file"; then
1345    srcdir=..
1346  fi
1347else
1348  ac_srcdir_defaulted=no
1349fi
1350if test ! -r "$srcdir/$ac_unique_file"; then
1351  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1352  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1353fi
1354ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1355ac_abs_confdir=`(
1356	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357	pwd)`
1358# When building in place, set srcdir=.
1359if test "$ac_abs_confdir" = "$ac_pwd"; then
1360  srcdir=.
1361fi
1362# Remove unnecessary trailing slashes from srcdir.
1363# Double slashes in file names in object file debugging info
1364# mess up M-x gdb in Emacs.
1365case $srcdir in
1366*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367esac
1368for ac_var in $ac_precious_vars; do
1369  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1370  eval ac_env_${ac_var}_value=\$${ac_var}
1371  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1372  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1373done
1374
1375#
1376# Report the --help message.
1377#
1378if test "$ac_init_help" = "long"; then
1379  # Omit some internal or obsolete options to make the list less imposing.
1380  # This message is too long to be a string in the A/UX 3.1 sh.
1381  cat <<_ACEOF
1382\`configure' configures unique 3.0.2 to adapt to many kinds of systems.
1383
1384Usage: $0 [OPTION]... [VAR=VALUE]...
1385
1386To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387VAR=VALUE.  See below for descriptions of some of the useful variables.
1388
1389Defaults for the options are specified in brackets.
1390
1391Configuration:
1392  -h, --help              display this help and exit
1393      --help=short        display options specific to this package
1394      --help=recursive    display the short help of all the included packages
1395  -V, --version           display version information and exit
1396  -q, --quiet, --silent   do not print \`checking ...' messages
1397      --cache-file=FILE   cache test results in FILE [disabled]
1398  -C, --config-cache      alias for \`--cache-file=config.cache'
1399  -n, --no-create         do not create output files
1400      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1401
1402Installation directories:
1403  --prefix=PREFIX         install architecture-independent files in PREFIX
1404                          [$ac_default_prefix]
1405  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1406                          [PREFIX]
1407
1408By default, \`make install' will install all the files in
1409\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1410an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411for instance \`--prefix=\$HOME'.
1412
1413For better control, use the options below.
1414
1415Fine tuning of the installation directories:
1416  --bindir=DIR            user executables [EPREFIX/bin]
1417  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1418  --libexecdir=DIR        program executables [EPREFIX/libexec]
1419  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1420  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1421  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1422  --libdir=DIR            object code libraries [EPREFIX/lib]
1423  --includedir=DIR        C header files [PREFIX/include]
1424  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1425  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1426  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1427  --infodir=DIR           info documentation [DATAROOTDIR/info]
1428  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1429  --mandir=DIR            man documentation [DATAROOTDIR/man]
1430  --docdir=DIR            documentation root [DATAROOTDIR/doc/libunique]
1431  --htmldir=DIR           html documentation [DOCDIR]
1432  --dvidir=DIR            dvi documentation [DOCDIR]
1433  --pdfdir=DIR            pdf documentation [DOCDIR]
1434  --psdir=DIR             ps documentation [DOCDIR]
1435_ACEOF
1436
1437  cat <<\_ACEOF
1438
1439Program names:
1440  --program-prefix=PREFIX            prepend PREFIX to installed program names
1441  --program-suffix=SUFFIX            append SUFFIX to installed program names
1442  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1443
1444X features:
1445  --x-includes=DIR    X include files are in DIR
1446  --x-libraries=DIR   X library files are in DIR
1447
1448System types:
1449  --build=BUILD     configure for building on BUILD [guessed]
1450  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1451_ACEOF
1452fi
1453
1454if test -n "$ac_init_help"; then
1455  case $ac_init_help in
1456     short | recursive ) echo "Configuration of unique 3.0.2:";;
1457   esac
1458  cat <<\_ACEOF
1459
1460Optional Features:
1461  --disable-option-checking  ignore unrecognized --enable/--with options
1462  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1463  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1464  --enable-silent-rules          less verbose build output (undo: `make V=1')
1465  --disable-silent-rules         verbose build output (undo: `make V=0')
1466  --disable-dependency-tracking  speeds up one-time build
1467  --enable-dependency-tracking   do not reject slow dependency extractors
1468  --disable-glibtest      do not try to compile and run a test GLIB program
1469  --enable-static[=PKGS]  build static libraries [default=no]
1470  --enable-shared[=PKGS]  build shared libraries [default=yes]
1471  --enable-fast-install[=PKGS]
1472                          optimize for fast installation [default=yes]
1473  --disable-libtool-lock  avoid locking (might break parallel builds)
1474  --enable-dbus=[yes/no]  Whether D-BUS IPC should be enabled
1475  --enable-bacon=[yes/no] Whether Unix domain sockets IPC should be enabled
1476  --enable-maintainer-flags=[no/yes]
1477                          Use strict compiler flags
1478                          [default=maintainer_flags_default]
1479  --enable-debug=[no/minimum/yes]
1480                          Turn on debugging [default=debug_default]
1481  --enable-introspection=[no/auto/yes]
1482                          Enable introspection for this build
1483  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1484  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1485  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1486
1487Optional Packages:
1488  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1489  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1490  --with-pic              try to use only PIC/non-PIC objects [default=use
1491                          both]
1492  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1493  --with-sysroot=DIR Search for dependent libraries within DIR
1494                        (or the compiler's sysroot if not specified).
1495  --with-x                use the X Window System
1496  --with-html-dir=PATH    path to installed docs
1497
1498Some influential environment variables:
1499  CC          C compiler command
1500  CFLAGS      C compiler flags
1501  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1502              nonstandard directory <lib dir>
1503  LIBS        libraries to pass to the linker, e.g. -l<library>
1504  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1505              you have headers in a nonstandard directory <include dir>
1506  PKG_CONFIG  path to pkg-config utility
1507  PKG_CONFIG_PATH
1508              directories to add to pkg-config's search path
1509  PKG_CONFIG_LIBDIR
1510              path overriding pkg-config's built-in search path
1511  CPP         C preprocessor
1512  UNIQUE_CFLAGS
1513              C compiler flags for UNIQUE, overriding pkg-config
1514  UNIQUE_LIBS linker flags for UNIQUE, overriding pkg-config
1515  XMKMF       Path to xmkmf, Makefile generator for X Window System
1516  UNIQUE_X11_CFLAGS
1517              C compiler flags for UNIQUE_X11, overriding pkg-config
1518  UNIQUE_X11_LIBS
1519              linker flags for UNIQUE_X11, overriding pkg-config
1520  DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config
1521  DBUS_LIBS   linker flags for DBUS, overriding pkg-config
1522  GDBUS_CFLAGS
1523              C compiler flags for GDBUS, overriding pkg-config
1524  GDBUS_LIBS  linker flags for GDBUS, overriding pkg-config
1525
1526Use these variables to override the choices made by `configure' or to help
1527it to find libraries and programs with nonstandard names/locations.
1528
1529Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libunique>.
1530_ACEOF
1531ac_status=$?
1532fi
1533
1534if test "$ac_init_help" = "recursive"; then
1535  # If there are subdirs, report their specific --help.
1536  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1537    test -d "$ac_dir" ||
1538      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1539      continue
1540    ac_builddir=.
1541
1542case "$ac_dir" in
1543.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544*)
1545  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1546  # A ".." for each directory in $ac_dir_suffix.
1547  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1548  case $ac_top_builddir_sub in
1549  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1551  esac ;;
1552esac
1553ac_abs_top_builddir=$ac_pwd
1554ac_abs_builddir=$ac_pwd$ac_dir_suffix
1555# for backward compatibility:
1556ac_top_builddir=$ac_top_build_prefix
1557
1558case $srcdir in
1559  .)  # We are building in place.
1560    ac_srcdir=.
1561    ac_top_srcdir=$ac_top_builddir_sub
1562    ac_abs_top_srcdir=$ac_pwd ;;
1563  [\\/]* | ?:[\\/]* )  # Absolute name.
1564    ac_srcdir=$srcdir$ac_dir_suffix;
1565    ac_top_srcdir=$srcdir
1566    ac_abs_top_srcdir=$srcdir ;;
1567  *) # Relative name.
1568    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1569    ac_top_srcdir=$ac_top_build_prefix$srcdir
1570    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1571esac
1572ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1573
1574    cd "$ac_dir" || { ac_status=$?; continue; }
1575    # Check for guested configure.
1576    if test -f "$ac_srcdir/configure.gnu"; then
1577      echo &&
1578      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1579    elif test -f "$ac_srcdir/configure"; then
1580      echo &&
1581      $SHELL "$ac_srcdir/configure" --help=recursive
1582    else
1583      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1584    fi || ac_status=$?
1585    cd "$ac_pwd" || { ac_status=$?; break; }
1586  done
1587fi
1588
1589test -n "$ac_init_help" && exit $ac_status
1590if $ac_init_version; then
1591  cat <<\_ACEOF
1592unique configure 3.0.2
1593generated by GNU Autoconf 2.68
1594
1595Copyright (C) 2010 Free Software Foundation, Inc.
1596This configure script is free software; the Free Software Foundation
1597gives unlimited permission to copy, distribute and modify it.
1598_ACEOF
1599  exit
1600fi
1601
1602## ------------------------ ##
1603## Autoconf initialization. ##
1604## ------------------------ ##
1605
1606# ac_fn_c_try_compile LINENO
1607# --------------------------
1608# Try to compile conftest.$ac_ext, and return whether this succeeded.
1609ac_fn_c_try_compile ()
1610{
1611  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612  rm -f conftest.$ac_objext
1613  if { { ac_try="$ac_compile"
1614case "(($ac_try" in
1615  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1616  *) ac_try_echo=$ac_try;;
1617esac
1618eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1619$as_echo "$ac_try_echo"; } >&5
1620  (eval "$ac_compile") 2>conftest.err
1621  ac_status=$?
1622  if test -s conftest.err; then
1623    grep -v '^ *+' conftest.err >conftest.er1
1624    cat conftest.er1 >&5
1625    mv -f conftest.er1 conftest.err
1626  fi
1627  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1628  test $ac_status = 0; } && {
1629	 test -z "$ac_c_werror_flag" ||
1630	 test ! -s conftest.err
1631       } && test -s conftest.$ac_objext; then :
1632  ac_retval=0
1633else
1634  $as_echo "$as_me: failed program was:" >&5
1635sed 's/^/| /' conftest.$ac_ext >&5
1636
1637	ac_retval=1
1638fi
1639  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1640  as_fn_set_status $ac_retval
1641
1642} # ac_fn_c_try_compile
1643
1644# ac_fn_c_try_run LINENO
1645# ----------------------
1646# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1647# that executables *can* be run.
1648ac_fn_c_try_run ()
1649{
1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1651  if { { ac_try="$ac_link"
1652case "(($ac_try" in
1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1654  *) ac_try_echo=$ac_try;;
1655esac
1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1657$as_echo "$ac_try_echo"; } >&5
1658  (eval "$ac_link") 2>&5
1659  ac_status=$?
1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1662  { { case "(($ac_try" in
1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1664  *) ac_try_echo=$ac_try;;
1665esac
1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667$as_echo "$ac_try_echo"; } >&5
1668  (eval "$ac_try") 2>&5
1669  ac_status=$?
1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671  test $ac_status = 0; }; }; then :
1672  ac_retval=0
1673else
1674  $as_echo "$as_me: program exited with status $ac_status" >&5
1675       $as_echo "$as_me: failed program was:" >&5
1676sed 's/^/| /' conftest.$ac_ext >&5
1677
1678       ac_retval=$ac_status
1679fi
1680  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1681  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682  as_fn_set_status $ac_retval
1683
1684} # ac_fn_c_try_run
1685
1686# ac_fn_c_try_link LINENO
1687# -----------------------
1688# Try to link conftest.$ac_ext, and return whether this succeeded.
1689ac_fn_c_try_link ()
1690{
1691  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1692  rm -f conftest.$ac_objext conftest$ac_exeext
1693  if { { ac_try="$ac_link"
1694case "(($ac_try" in
1695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696  *) ac_try_echo=$ac_try;;
1697esac
1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699$as_echo "$ac_try_echo"; } >&5
1700  (eval "$ac_link") 2>conftest.err
1701  ac_status=$?
1702  if test -s conftest.err; then
1703    grep -v '^ *+' conftest.err >conftest.er1
1704    cat conftest.er1 >&5
1705    mv -f conftest.er1 conftest.err
1706  fi
1707  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708  test $ac_status = 0; } && {
1709	 test -z "$ac_c_werror_flag" ||
1710	 test ! -s conftest.err
1711       } && test -s conftest$ac_exeext && {
1712	 test "$cross_compiling" = yes ||
1713	 $as_test_x conftest$ac_exeext
1714       }; then :
1715  ac_retval=0
1716else
1717  $as_echo "$as_me: failed program was:" >&5
1718sed 's/^/| /' conftest.$ac_ext >&5
1719
1720	ac_retval=1
1721fi
1722  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1723  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1724  # interfere with the next link command; also delete a directory that is
1725  # left behind by Apple's compiler.  We do this before executing the actions.
1726  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728  as_fn_set_status $ac_retval
1729
1730} # ac_fn_c_try_link
1731
1732# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1733# -------------------------------------------------------
1734# Tests whether HEADER exists and can be compiled using the include files in
1735# INCLUDES, setting the cache variable VAR accordingly.
1736ac_fn_c_check_header_compile ()
1737{
1738  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1740$as_echo_n "checking for $2... " >&6; }
1741if eval \${$3+:} false; then :
1742  $as_echo_n "(cached) " >&6
1743else
1744  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745/* end confdefs.h.  */
1746$4
1747#include <$2>
1748_ACEOF
1749if ac_fn_c_try_compile "$LINENO"; then :
1750  eval "$3=yes"
1751else
1752  eval "$3=no"
1753fi
1754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1755fi
1756eval ac_res=\$$3
1757	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1758$as_echo "$ac_res" >&6; }
1759  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1760
1761} # ac_fn_c_check_header_compile
1762
1763# ac_fn_c_try_cpp LINENO
1764# ----------------------
1765# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1766ac_fn_c_try_cpp ()
1767{
1768  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769  if { { ac_try="$ac_cpp conftest.$ac_ext"
1770case "(($ac_try" in
1771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772  *) ac_try_echo=$ac_try;;
1773esac
1774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775$as_echo "$ac_try_echo"; } >&5
1776  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1777  ac_status=$?
1778  if test -s conftest.err; then
1779    grep -v '^ *+' conftest.err >conftest.er1
1780    cat conftest.er1 >&5
1781    mv -f conftest.er1 conftest.err
1782  fi
1783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784  test $ac_status = 0; } > conftest.i && {
1785	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1786	 test ! -s conftest.err
1787       }; then :
1788  ac_retval=0
1789else
1790  $as_echo "$as_me: failed program was:" >&5
1791sed 's/^/| /' conftest.$ac_ext >&5
1792
1793    ac_retval=1
1794fi
1795  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796  as_fn_set_status $ac_retval
1797
1798} # ac_fn_c_try_cpp
1799
1800# ac_fn_c_check_func LINENO FUNC VAR
1801# ----------------------------------
1802# Tests whether FUNC exists, setting the cache variable VAR accordingly
1803ac_fn_c_check_func ()
1804{
1805  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1807$as_echo_n "checking for $2... " >&6; }
1808if eval \${$3+:} false; then :
1809  $as_echo_n "(cached) " >&6
1810else
1811  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812/* end confdefs.h.  */
1813/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1814   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1815#define $2 innocuous_$2
1816
1817/* System header to define __stub macros and hopefully few prototypes,
1818    which can conflict with char $2 (); below.
1819    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1820    <limits.h> exists even on freestanding compilers.  */
1821
1822#ifdef __STDC__
1823# include <limits.h>
1824#else
1825# include <assert.h>
1826#endif
1827
1828#undef $2
1829
1830/* Override any GCC internal prototype to avoid an error.
1831   Use char because int might match the return type of a GCC
1832   builtin and then its argument prototype would still apply.  */
1833#ifdef __cplusplus
1834extern "C"
1835#endif
1836char $2 ();
1837/* The GNU C library defines this for functions which it implements
1838    to always fail with ENOSYS.  Some functions are actually named
1839    something starting with __ and the normal name is an alias.  */
1840#if defined __stub_$2 || defined __stub___$2
1841choke me
1842#endif
1843
1844int
1845main ()
1846{
1847return $2 ();
1848  ;
1849  return 0;
1850}
1851_ACEOF
1852if ac_fn_c_try_link "$LINENO"; then :
1853  eval "$3=yes"
1854else
1855  eval "$3=no"
1856fi
1857rm -f core conftest.err conftest.$ac_objext \
1858    conftest$ac_exeext conftest.$ac_ext
1859fi
1860eval ac_res=\$$3
1861	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1862$as_echo "$ac_res" >&6; }
1863  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864
1865} # ac_fn_c_check_func
1866
1867# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1868# -------------------------------------------------------
1869# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1870# the include files in INCLUDES and setting the cache variable VAR
1871# accordingly.
1872ac_fn_c_check_header_mongrel ()
1873{
1874  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875  if eval \${$3+:} false; then :
1876  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1877$as_echo_n "checking for $2... " >&6; }
1878if eval \${$3+:} false; then :
1879  $as_echo_n "(cached) " >&6
1880fi
1881eval ac_res=\$$3
1882	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883$as_echo "$ac_res" >&6; }
1884else
1885  # Is the header compilable?
1886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1887$as_echo_n "checking $2 usability... " >&6; }
1888cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889/* end confdefs.h.  */
1890$4
1891#include <$2>
1892_ACEOF
1893if ac_fn_c_try_compile "$LINENO"; then :
1894  ac_header_compiler=yes
1895else
1896  ac_header_compiler=no
1897fi
1898rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1900$as_echo "$ac_header_compiler" >&6; }
1901
1902# Is the header present?
1903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1904$as_echo_n "checking $2 presence... " >&6; }
1905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1906/* end confdefs.h.  */
1907#include <$2>
1908_ACEOF
1909if ac_fn_c_try_cpp "$LINENO"; then :
1910  ac_header_preproc=yes
1911else
1912  ac_header_preproc=no
1913fi
1914rm -f conftest.err conftest.i conftest.$ac_ext
1915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1916$as_echo "$ac_header_preproc" >&6; }
1917
1918# So?  What about this header?
1919case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1920  yes:no: )
1921    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1922$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1923    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1924$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1925    ;;
1926  no:yes:* )
1927    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1928$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1929    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1930$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1932$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1933    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1934$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1935    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1936$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1937( $as_echo "## ------------------------------------------------------------------------ ##
1938## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=libunique ##
1939## ------------------------------------------------------------------------ ##"
1940     ) | sed "s/^/$as_me: WARNING:     /" >&2
1941    ;;
1942esac
1943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1944$as_echo_n "checking for $2... " >&6; }
1945if eval \${$3+:} false; then :
1946  $as_echo_n "(cached) " >&6
1947else
1948  eval "$3=\$ac_header_compiler"
1949fi
1950eval ac_res=\$$3
1951	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1952$as_echo "$ac_res" >&6; }
1953fi
1954  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955
1956} # ac_fn_c_check_header_mongrel
1957cat >config.log <<_ACEOF
1958This file contains any messages produced by compilers while
1959running configure, to aid debugging if configure makes a mistake.
1960
1961It was created by unique $as_me 3.0.2, which was
1962generated by GNU Autoconf 2.68.  Invocation command line was
1963
1964  $ $0 $@
1965
1966_ACEOF
1967exec 5>>config.log
1968{
1969cat <<_ASUNAME
1970## --------- ##
1971## Platform. ##
1972## --------- ##
1973
1974hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1975uname -m = `(uname -m) 2>/dev/null || echo unknown`
1976uname -r = `(uname -r) 2>/dev/null || echo unknown`
1977uname -s = `(uname -s) 2>/dev/null || echo unknown`
1978uname -v = `(uname -v) 2>/dev/null || echo unknown`
1979
1980/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1981/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1982
1983/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1984/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1985/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1986/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1987/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1988/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1989/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1990
1991_ASUNAME
1992
1993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994for as_dir in $PATH
1995do
1996  IFS=$as_save_IFS
1997  test -z "$as_dir" && as_dir=.
1998    $as_echo "PATH: $as_dir"
1999  done
2000IFS=$as_save_IFS
2001
2002} >&5
2003
2004cat >&5 <<_ACEOF
2005
2006
2007## ----------- ##
2008## Core tests. ##
2009## ----------- ##
2010
2011_ACEOF
2012
2013
2014# Keep a trace of the command line.
2015# Strip out --no-create and --no-recursion so they do not pile up.
2016# Strip out --silent because we don't want to record it for future runs.
2017# Also quote any args containing shell meta-characters.
2018# Make two passes to allow for proper duplicate-argument suppression.
2019ac_configure_args=
2020ac_configure_args0=
2021ac_configure_args1=
2022ac_must_keep_next=false
2023for ac_pass in 1 2
2024do
2025  for ac_arg
2026  do
2027    case $ac_arg in
2028    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2029    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2030    | -silent | --silent | --silen | --sile | --sil)
2031      continue ;;
2032    *\'*)
2033      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2034    esac
2035    case $ac_pass in
2036    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2037    2)
2038      as_fn_append ac_configure_args1 " '$ac_arg'"
2039      if test $ac_must_keep_next = true; then
2040	ac_must_keep_next=false # Got value, back to normal.
2041      else
2042	case $ac_arg in
2043	  *=* | --config-cache | -C | -disable-* | --disable-* \
2044	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2045	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2046	  | -with-* | --with-* | -without-* | --without-* | --x)
2047	    case "$ac_configure_args0 " in
2048	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2049	    esac
2050	    ;;
2051	  -* ) ac_must_keep_next=true ;;
2052	esac
2053      fi
2054      as_fn_append ac_configure_args " '$ac_arg'"
2055      ;;
2056    esac
2057  done
2058done
2059{ ac_configure_args0=; unset ac_configure_args0;}
2060{ ac_configure_args1=; unset ac_configure_args1;}
2061
2062# When interrupted or exit'd, cleanup temporary files, and complete
2063# config.log.  We remove comments because anyway the quotes in there
2064# would cause problems or look ugly.
2065# WARNING: Use '\'' to represent an apostrophe within the trap.
2066# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2067trap 'exit_status=$?
2068  # Save into config.log some information that might help in debugging.
2069  {
2070    echo
2071
2072    $as_echo "## ---------------- ##
2073## Cache variables. ##
2074## ---------------- ##"
2075    echo
2076    # The following way of writing the cache mishandles newlines in values,
2077(
2078  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2079    eval ac_val=\$$ac_var
2080    case $ac_val in #(
2081    *${as_nl}*)
2082      case $ac_var in #(
2083      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2084$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2085      esac
2086      case $ac_var in #(
2087      _ | IFS | as_nl) ;; #(
2088      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2089      *) { eval $ac_var=; unset $ac_var;} ;;
2090      esac ;;
2091    esac
2092  done
2093  (set) 2>&1 |
2094    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2095    *${as_nl}ac_space=\ *)
2096      sed -n \
2097	"s/'\''/'\''\\\\'\'''\''/g;
2098	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2099      ;; #(
2100    *)
2101      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2102      ;;
2103    esac |
2104    sort
2105)
2106    echo
2107
2108    $as_echo "## ----------------- ##
2109## Output variables. ##
2110## ----------------- ##"
2111    echo
2112    for ac_var in $ac_subst_vars
2113    do
2114      eval ac_val=\$$ac_var
2115      case $ac_val in
2116      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2117      esac
2118      $as_echo "$ac_var='\''$ac_val'\''"
2119    done | sort
2120    echo
2121
2122    if test -n "$ac_subst_files"; then
2123      $as_echo "## ------------------- ##
2124## File substitutions. ##
2125## ------------------- ##"
2126      echo
2127      for ac_var in $ac_subst_files
2128      do
2129	eval ac_val=\$$ac_var
2130	case $ac_val in
2131	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132	esac
2133	$as_echo "$ac_var='\''$ac_val'\''"
2134      done | sort
2135      echo
2136    fi
2137
2138    if test -s confdefs.h; then
2139      $as_echo "## ----------- ##
2140## confdefs.h. ##
2141## ----------- ##"
2142      echo
2143      cat confdefs.h
2144      echo
2145    fi
2146    test "$ac_signal" != 0 &&
2147      $as_echo "$as_me: caught signal $ac_signal"
2148    $as_echo "$as_me: exit $exit_status"
2149  } >&5
2150  rm -f core *.core core.conftest.* &&
2151    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2152    exit $exit_status
2153' 0
2154for ac_signal in 1 2 13 15; do
2155  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2156done
2157ac_signal=0
2158
2159# confdefs.h avoids OS command line length limits that DEFS can exceed.
2160rm -f -r conftest* confdefs.h
2161
2162$as_echo "/* confdefs.h */" > confdefs.h
2163
2164# Predefined preprocessor variables.
2165
2166cat >>confdefs.h <<_ACEOF
2167#define PACKAGE_NAME "$PACKAGE_NAME"
2168_ACEOF
2169
2170cat >>confdefs.h <<_ACEOF
2171#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2172_ACEOF
2173
2174cat >>confdefs.h <<_ACEOF
2175#define PACKAGE_VERSION "$PACKAGE_VERSION"
2176_ACEOF
2177
2178cat >>confdefs.h <<_ACEOF
2179#define PACKAGE_STRING "$PACKAGE_STRING"
2180_ACEOF
2181
2182cat >>confdefs.h <<_ACEOF
2183#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2184_ACEOF
2185
2186cat >>confdefs.h <<_ACEOF
2187#define PACKAGE_URL "$PACKAGE_URL"
2188_ACEOF
2189
2190
2191# Let the site file select an alternate cache file if it wants to.
2192# Prefer an explicitly selected file to automatically selected ones.
2193ac_site_file1=NONE
2194ac_site_file2=NONE
2195if test -n "$CONFIG_SITE"; then
2196  # We do not want a PATH search for config.site.
2197  case $CONFIG_SITE in #((
2198    -*)  ac_site_file1=./$CONFIG_SITE;;
2199    */*) ac_site_file1=$CONFIG_SITE;;
2200    *)   ac_site_file1=./$CONFIG_SITE;;
2201  esac
2202elif test "x$prefix" != xNONE; then
2203  ac_site_file1=$prefix/share/config.site
2204  ac_site_file2=$prefix/etc/config.site
2205else
2206  ac_site_file1=$ac_default_prefix/share/config.site
2207  ac_site_file2=$ac_default_prefix/etc/config.site
2208fi
2209for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2210do
2211  test "x$ac_site_file" = xNONE && continue
2212  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2213    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2214$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2215    sed 's/^/| /' "$ac_site_file" >&5
2216    . "$ac_site_file" \
2217      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2218$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2219as_fn_error $? "failed to load site script $ac_site_file
2220See \`config.log' for more details" "$LINENO" 5; }
2221  fi
2222done
2223
2224if test -r "$cache_file"; then
2225  # Some versions of bash will fail to source /dev/null (special files
2226  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2227  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2228    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2229$as_echo "$as_me: loading cache $cache_file" >&6;}
2230    case $cache_file in
2231      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2232      *)                      . "./$cache_file";;
2233    esac
2234  fi
2235else
2236  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2237$as_echo "$as_me: creating cache $cache_file" >&6;}
2238  >$cache_file
2239fi
2240
2241# Check that the precious variables saved in the cache have kept the same
2242# value.
2243ac_cache_corrupted=false
2244for ac_var in $ac_precious_vars; do
2245  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2246  eval ac_new_set=\$ac_env_${ac_var}_set
2247  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2248  eval ac_new_val=\$ac_env_${ac_var}_value
2249  case $ac_old_set,$ac_new_set in
2250    set,)
2251      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2252$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2253      ac_cache_corrupted=: ;;
2254    ,set)
2255      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2256$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2257      ac_cache_corrupted=: ;;
2258    ,);;
2259    *)
2260      if test "x$ac_old_val" != "x$ac_new_val"; then
2261	# differences in whitespace do not lead to failure.
2262	ac_old_val_w=`echo x $ac_old_val`
2263	ac_new_val_w=`echo x $ac_new_val`
2264	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2265	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2266$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2267	  ac_cache_corrupted=:
2268	else
2269	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2270$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2271	  eval $ac_var=\$ac_old_val
2272	fi
2273	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2274$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2275	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2276$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2277      fi;;
2278  esac
2279  # Pass precious variables to config.status.
2280  if test "$ac_new_set" = set; then
2281    case $ac_new_val in
2282    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2283    *) ac_arg=$ac_var=$ac_new_val ;;
2284    esac
2285    case " $ac_configure_args " in
2286      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2287      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2288    esac
2289  fi
2290done
2291if $ac_cache_corrupted; then
2292  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2294  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2295$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2296  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2297fi
2298## -------------------- ##
2299## Main body of script. ##
2300## -------------------- ##
2301
2302ac_ext=c
2303ac_cpp='$CPP $CPPFLAGS'
2304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2306ac_compiler_gnu=$ac_cv_c_compiler_gnu
2307
2308
2309
2310
2311
2312
2313am__api_version='1.11'
2314
2315ac_aux_dir=
2316for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2317  if test -f "$ac_dir/install-sh"; then
2318    ac_aux_dir=$ac_dir
2319    ac_install_sh="$ac_aux_dir/install-sh -c"
2320    break
2321  elif test -f "$ac_dir/install.sh"; then
2322    ac_aux_dir=$ac_dir
2323    ac_install_sh="$ac_aux_dir/install.sh -c"
2324    break
2325  elif test -f "$ac_dir/shtool"; then
2326    ac_aux_dir=$ac_dir
2327    ac_install_sh="$ac_aux_dir/shtool install -c"
2328    break
2329  fi
2330done
2331if test -z "$ac_aux_dir"; then
2332  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2333fi
2334
2335# These three variables are undocumented and unsupported,
2336# and are intended to be withdrawn in a future Autoconf release.
2337# They can cause serious problems if a builder's source tree is in a directory
2338# whose full name contains unusual characters.
2339ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2340ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2341ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2342
2343
2344# Find a good install program.  We prefer a C program (faster),
2345# so one script is as good as another.  But avoid the broken or
2346# incompatible versions:
2347# SysV /etc/install, /usr/sbin/install
2348# SunOS /usr/etc/install
2349# IRIX /sbin/install
2350# AIX /bin/install
2351# AmigaOS /C/install, which installs bootblocks on floppy discs
2352# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2353# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2354# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2355# OS/2's system install, which has a completely different semantic
2356# ./install, which can be erroneously created by make from ./install.sh.
2357# Reject install programs that cannot install multiple files.
2358{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2359$as_echo_n "checking for a BSD-compatible install... " >&6; }
2360if test -z "$INSTALL"; then
2361if ${ac_cv_path_install+:} false; then :
2362  $as_echo_n "(cached) " >&6
2363else
2364  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2365for as_dir in $PATH
2366do
2367  IFS=$as_save_IFS
2368  test -z "$as_dir" && as_dir=.
2369    # Account for people who put trailing slashes in PATH elements.
2370case $as_dir/ in #((
2371  ./ | .// | /[cC]/* | \
2372  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2373  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2374  /usr/ucb/* ) ;;
2375  *)
2376    # OSF1 and SCO ODT 3.0 have their own names for install.
2377    # Don't use installbsd from OSF since it installs stuff as root
2378    # by default.
2379    for ac_prog in ginstall scoinst install; do
2380      for ac_exec_ext in '' $ac_executable_extensions; do
2381	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2382	  if test $ac_prog = install &&
2383	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2384	    # AIX install.  It has an incompatible calling convention.
2385	    :
2386	  elif test $ac_prog = install &&
2387	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2388	    # program-specific install script used by HP pwplus--don't use.
2389	    :
2390	  else
2391	    rm -rf conftest.one conftest.two conftest.dir
2392	    echo one > conftest.one
2393	    echo two > conftest.two
2394	    mkdir conftest.dir
2395	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2396	      test -s conftest.one && test -s conftest.two &&
2397	      test -s conftest.dir/conftest.one &&
2398	      test -s conftest.dir/conftest.two
2399	    then
2400	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2401	      break 3
2402	    fi
2403	  fi
2404	fi
2405      done
2406    done
2407    ;;
2408esac
2409
2410  done
2411IFS=$as_save_IFS
2412
2413rm -rf conftest.one conftest.two conftest.dir
2414
2415fi
2416  if test "${ac_cv_path_install+set}" = set; then
2417    INSTALL=$ac_cv_path_install
2418  else
2419    # As a last resort, use the slow shell script.  Don't cache a
2420    # value for INSTALL within a source directory, because that will
2421    # break other packages using the cache if that directory is
2422    # removed, or if the value is a relative name.
2423    INSTALL=$ac_install_sh
2424  fi
2425fi
2426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2427$as_echo "$INSTALL" >&6; }
2428
2429# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2430# It thinks the first close brace ends the variable substitution.
2431test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2432
2433test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2434
2435test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2436
2437{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2438$as_echo_n "checking whether build environment is sane... " >&6; }
2439# Just in case
2440sleep 1
2441echo timestamp > conftest.file
2442# Reject unsafe characters in $srcdir or the absolute working directory
2443# name.  Accept space and tab only in the latter.
2444am_lf='
2445'
2446case `pwd` in
2447  *[\\\"\#\$\&\'\`$am_lf]*)
2448    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2449esac
2450case $srcdir in
2451  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2452    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2453esac
2454
2455# Do `set' in a subshell so we don't clobber the current shell's
2456# arguments.  Must try -L first in case configure is actually a
2457# symlink; some systems play weird games with the mod time of symlinks
2458# (eg FreeBSD returns the mod time of the symlink's containing
2459# directory).
2460if (
2461   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2462   if test "$*" = "X"; then
2463      # -L didn't work.
2464      set X `ls -t "$srcdir/configure" conftest.file`
2465   fi
2466   rm -f conftest.file
2467   if test "$*" != "X $srcdir/configure conftest.file" \
2468      && test "$*" != "X conftest.file $srcdir/configure"; then
2469
2470      # If neither matched, then we have a broken ls.  This can happen
2471      # if, for instance, CONFIG_SHELL is bash and it inherits a
2472      # broken ls alias from the environment.  This has actually
2473      # happened.  Such a system could not be considered "sane".
2474      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2475alias in your environment" "$LINENO" 5
2476   fi
2477
2478   test "$2" = conftest.file
2479   )
2480then
2481   # Ok.
2482   :
2483else
2484   as_fn_error $? "newly created file is older than distributed files!
2485Check your system clock" "$LINENO" 5
2486fi
2487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2488$as_echo "yes" >&6; }
2489test "$program_prefix" != NONE &&
2490  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2491# Use a double $ so make ignores it.
2492test "$program_suffix" != NONE &&
2493  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2494# Double any \ or $.
2495# By default was `s,x,x', remove it if useless.
2496ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2497program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2498
2499# expand $ac_aux_dir to an absolute path
2500am_aux_dir=`cd $ac_aux_dir && pwd`
2501
2502if test x"${MISSING+set}" != xset; then
2503  case $am_aux_dir in
2504  *\ * | *\	*)
2505    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2506  *)
2507    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2508  esac
2509fi
2510# Use eval to expand $SHELL
2511if eval "$MISSING --run true"; then
2512  am_missing_run="$MISSING --run "
2513else
2514  am_missing_run=
2515  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2516$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2517fi
2518
2519if test x"${install_sh}" != xset; then
2520  case $am_aux_dir in
2521  *\ * | *\	*)
2522    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2523  *)
2524    install_sh="\${SHELL} $am_aux_dir/install-sh"
2525  esac
2526fi
2527
2528# Installed binaries are usually stripped using `strip' when the user
2529# run `make install-strip'.  However `strip' might not be the right
2530# tool to use in cross-compilation environments, therefore Automake
2531# will honor the `STRIP' environment variable to overrule this program.
2532if test "$cross_compiling" != no; then
2533  if test -n "$ac_tool_prefix"; then
2534  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2535set dummy ${ac_tool_prefix}strip; ac_word=$2
2536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2537$as_echo_n "checking for $ac_word... " >&6; }
2538if ${ac_cv_prog_STRIP+:} false; then :
2539  $as_echo_n "(cached) " >&6
2540else
2541  if test -n "$STRIP"; then
2542  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2543else
2544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2545for as_dir in $PATH
2546do
2547  IFS=$as_save_IFS
2548  test -z "$as_dir" && as_dir=.
2549    for ac_exec_ext in '' $ac_executable_extensions; do
2550  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2551    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2553    break 2
2554  fi
2555done
2556  done
2557IFS=$as_save_IFS
2558
2559fi
2560fi
2561STRIP=$ac_cv_prog_STRIP
2562if test -n "$STRIP"; then
2563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2564$as_echo "$STRIP" >&6; }
2565else
2566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2567$as_echo "no" >&6; }
2568fi
2569
2570
2571fi
2572if test -z "$ac_cv_prog_STRIP"; then
2573  ac_ct_STRIP=$STRIP
2574  # Extract the first word of "strip", so it can be a program name with args.
2575set dummy strip; ac_word=$2
2576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2577$as_echo_n "checking for $ac_word... " >&6; }
2578if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2579  $as_echo_n "(cached) " >&6
2580else
2581  if test -n "$ac_ct_STRIP"; then
2582  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2583else
2584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585for as_dir in $PATH
2586do
2587  IFS=$as_save_IFS
2588  test -z "$as_dir" && as_dir=.
2589    for ac_exec_ext in '' $ac_executable_extensions; do
2590  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2591    ac_cv_prog_ac_ct_STRIP="strip"
2592    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2593    break 2
2594  fi
2595done
2596  done
2597IFS=$as_save_IFS
2598
2599fi
2600fi
2601ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2602if test -n "$ac_ct_STRIP"; then
2603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2604$as_echo "$ac_ct_STRIP" >&6; }
2605else
2606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2607$as_echo "no" >&6; }
2608fi
2609
2610  if test "x$ac_ct_STRIP" = x; then
2611    STRIP=":"
2612  else
2613    case $cross_compiling:$ac_tool_warned in
2614yes:)
2615{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2616$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2617ac_tool_warned=yes ;;
2618esac
2619    STRIP=$ac_ct_STRIP
2620  fi
2621else
2622  STRIP="$ac_cv_prog_STRIP"
2623fi
2624
2625fi
2626INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2627
2628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2629$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2630if test -z "$MKDIR_P"; then
2631  if ${ac_cv_path_mkdir+:} false; then :
2632  $as_echo_n "(cached) " >&6
2633else
2634  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2635for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2636do
2637  IFS=$as_save_IFS
2638  test -z "$as_dir" && as_dir=.
2639    for ac_prog in mkdir gmkdir; do
2640	 for ac_exec_ext in '' $ac_executable_extensions; do
2641	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2642	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2643	     'mkdir (GNU coreutils) '* | \
2644	     'mkdir (coreutils) '* | \
2645	     'mkdir (fileutils) '4.1*)
2646	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2647	       break 3;;
2648	   esac
2649	 done
2650       done
2651  done
2652IFS=$as_save_IFS
2653
2654fi
2655
2656  test -d ./--version && rmdir ./--version
2657  if test "${ac_cv_path_mkdir+set}" = set; then
2658    MKDIR_P="$ac_cv_path_mkdir -p"
2659  else
2660    # As a last resort, use the slow shell script.  Don't cache a
2661    # value for MKDIR_P within a source directory, because that will
2662    # break other packages using the cache if that directory is
2663    # removed, or if the value is a relative name.
2664    MKDIR_P="$ac_install_sh -d"
2665  fi
2666fi
2667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2668$as_echo "$MKDIR_P" >&6; }
2669
2670mkdir_p="$MKDIR_P"
2671case $mkdir_p in
2672  [\\/$]* | ?:[\\/]*) ;;
2673  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2674esac
2675
2676for ac_prog in gawk mawk nawk awk
2677do
2678  # Extract the first word of "$ac_prog", so it can be a program name with args.
2679set dummy $ac_prog; ac_word=$2
2680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2681$as_echo_n "checking for $ac_word... " >&6; }
2682if ${ac_cv_prog_AWK+:} false; then :
2683  $as_echo_n "(cached) " >&6
2684else
2685  if test -n "$AWK"; then
2686  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2687else
2688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2689for as_dir in $PATH
2690do
2691  IFS=$as_save_IFS
2692  test -z "$as_dir" && as_dir=.
2693    for ac_exec_ext in '' $ac_executable_extensions; do
2694  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2695    ac_cv_prog_AWK="$ac_prog"
2696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697    break 2
2698  fi
2699done
2700  done
2701IFS=$as_save_IFS
2702
2703fi
2704fi
2705AWK=$ac_cv_prog_AWK
2706if test -n "$AWK"; then
2707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2708$as_echo "$AWK" >&6; }
2709else
2710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2711$as_echo "no" >&6; }
2712fi
2713
2714
2715  test -n "$AWK" && break
2716done
2717
2718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2719$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2720set x ${MAKE-make}
2721ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2722if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2723  $as_echo_n "(cached) " >&6
2724else
2725  cat >conftest.make <<\_ACEOF
2726SHELL = /bin/sh
2727all:
2728	@echo '@@@%%%=$(MAKE)=@@@%%%'
2729_ACEOF
2730# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2731case `${MAKE-make} -f conftest.make 2>/dev/null` in
2732  *@@@%%%=?*=@@@%%%*)
2733    eval ac_cv_prog_make_${ac_make}_set=yes;;
2734  *)
2735    eval ac_cv_prog_make_${ac_make}_set=no;;
2736esac
2737rm -f conftest.make
2738fi
2739if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2741$as_echo "yes" >&6; }
2742  SET_MAKE=
2743else
2744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745$as_echo "no" >&6; }
2746  SET_MAKE="MAKE=${MAKE-make}"
2747fi
2748
2749rm -rf .tst 2>/dev/null
2750mkdir .tst 2>/dev/null
2751if test -d .tst; then
2752  am__leading_dot=.
2753else
2754  am__leading_dot=_
2755fi
2756rmdir .tst 2>/dev/null
2757
2758if test "`cd $srcdir && pwd`" != "`pwd`"; then
2759  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2760  # is not polluted with repeated "-I."
2761  am__isrc=' -I$(srcdir)'
2762  # test to see if srcdir already configured
2763  if test -f $srcdir/config.status; then
2764    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2765  fi
2766fi
2767
2768# test whether we have cygpath
2769if test -z "$CYGPATH_W"; then
2770  if (cygpath --version) >/dev/null 2>/dev/null; then
2771    CYGPATH_W='cygpath -w'
2772  else
2773    CYGPATH_W=echo
2774  fi
2775fi
2776
2777
2778# Define the identity of the package.
2779 PACKAGE='libunique'
2780 VERSION='3.0.2'
2781
2782
2783# Some tools Automake needs.
2784
2785ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2786
2787
2788AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2789
2790
2791AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2792
2793
2794AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2795
2796
2797MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2798
2799# We need awk for the "check" target.  The system "awk" is bad on
2800# some platforms.
2801# Always define AMTAR for backward compatibility.
2802
2803AMTAR=${AMTAR-"${am_missing_run}tar"}
2804
2805am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2806
2807
2808
2809
2810
2811ac_config_headers="$ac_config_headers config.h"
2812
2813
2814# Check whether --enable-silent-rules was given.
2815if test "${enable_silent_rules+set}" = set; then :
2816  enableval=$enable_silent_rules;
2817fi
2818
2819case $enable_silent_rules in
2820yes) AM_DEFAULT_VERBOSITY=0;;
2821no)  AM_DEFAULT_VERBOSITY=1;;
2822*)   AM_DEFAULT_VERBOSITY=0;;
2823esac
2824AM_BACKSLASH='\'
2825
2826
2827DEPDIR="${am__leading_dot}deps"
2828
2829ac_config_commands="$ac_config_commands depfiles"
2830
2831
2832am_make=${MAKE-make}
2833cat > confinc << 'END'
2834am__doit:
2835	@echo this is the am__doit target
2836.PHONY: am__doit
2837END
2838# If we don't find an include directive, just comment out the code.
2839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2840$as_echo_n "checking for style of include used by $am_make... " >&6; }
2841am__include="#"
2842am__quote=
2843_am_result=none
2844# First try GNU make style include.
2845echo "include confinc" > confmf
2846# Ignore all kinds of additional output from `make'.
2847case `$am_make -s -f confmf 2> /dev/null` in #(
2848*the\ am__doit\ target*)
2849  am__include=include
2850  am__quote=
2851  _am_result=GNU
2852  ;;
2853esac
2854# Now try BSD make style include.
2855if test "$am__include" = "#"; then
2856   echo '.include "confinc"' > confmf
2857   case `$am_make -s -f confmf 2> /dev/null` in #(
2858   *the\ am__doit\ target*)
2859     am__include=.include
2860     am__quote="\""
2861     _am_result=BSD
2862     ;;
2863   esac
2864fi
2865
2866
2867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
2868$as_echo "$_am_result" >&6; }
2869rm -f confinc confmf
2870
2871# Check whether --enable-dependency-tracking was given.
2872if test "${enable_dependency_tracking+set}" = set; then :
2873  enableval=$enable_dependency_tracking;
2874fi
2875
2876if test "x$enable_dependency_tracking" != xno; then
2877  am_depcomp="$ac_aux_dir/depcomp"
2878  AMDEPBACKSLASH='\'
2879fi
2880 if test "x$enable_dependency_tracking" != xno; then
2881  AMDEP_TRUE=
2882  AMDEP_FALSE='#'
2883else
2884  AMDEP_TRUE='#'
2885  AMDEP_FALSE=
2886fi
2887
2888
2889ac_ext=c
2890ac_cpp='$CPP $CPPFLAGS'
2891ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2892ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2893ac_compiler_gnu=$ac_cv_c_compiler_gnu
2894if test -n "$ac_tool_prefix"; then
2895  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2896set dummy ${ac_tool_prefix}gcc; ac_word=$2
2897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2898$as_echo_n "checking for $ac_word... " >&6; }
2899if ${ac_cv_prog_CC+:} false; then :
2900  $as_echo_n "(cached) " >&6
2901else
2902  if test -n "$CC"; then
2903  ac_cv_prog_CC="$CC" # Let the user override the test.
2904else
2905as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2906for as_dir in $PATH
2907do
2908  IFS=$as_save_IFS
2909  test -z "$as_dir" && as_dir=.
2910    for ac_exec_ext in '' $ac_executable_extensions; do
2911  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2912    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2913    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2914    break 2
2915  fi
2916done
2917  done
2918IFS=$as_save_IFS
2919
2920fi
2921fi
2922CC=$ac_cv_prog_CC
2923if test -n "$CC"; then
2924  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2925$as_echo "$CC" >&6; }
2926else
2927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2928$as_echo "no" >&6; }
2929fi
2930
2931
2932fi
2933if test -z "$ac_cv_prog_CC"; then
2934  ac_ct_CC=$CC
2935  # Extract the first word of "gcc", so it can be a program name with args.
2936set dummy gcc; ac_word=$2
2937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2938$as_echo_n "checking for $ac_word... " >&6; }
2939if ${ac_cv_prog_ac_ct_CC+:} false; then :
2940  $as_echo_n "(cached) " >&6
2941else
2942  if test -n "$ac_ct_CC"; then
2943  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2944else
2945as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2946for as_dir in $PATH
2947do
2948  IFS=$as_save_IFS
2949  test -z "$as_dir" && as_dir=.
2950    for ac_exec_ext in '' $ac_executable_extensions; do
2951  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2952    ac_cv_prog_ac_ct_CC="gcc"
2953    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2954    break 2
2955  fi
2956done
2957  done
2958IFS=$as_save_IFS
2959
2960fi
2961fi
2962ac_ct_CC=$ac_cv_prog_ac_ct_CC
2963if test -n "$ac_ct_CC"; then
2964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2965$as_echo "$ac_ct_CC" >&6; }
2966else
2967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968$as_echo "no" >&6; }
2969fi
2970
2971  if test "x$ac_ct_CC" = x; then
2972    CC=""
2973  else
2974    case $cross_compiling:$ac_tool_warned in
2975yes:)
2976{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2977$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2978ac_tool_warned=yes ;;
2979esac
2980    CC=$ac_ct_CC
2981  fi
2982else
2983  CC="$ac_cv_prog_CC"
2984fi
2985
2986if test -z "$CC"; then
2987          if test -n "$ac_tool_prefix"; then
2988    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2989set dummy ${ac_tool_prefix}cc; ac_word=$2
2990{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2991$as_echo_n "checking for $ac_word... " >&6; }
2992if ${ac_cv_prog_CC+:} false; then :
2993  $as_echo_n "(cached) " >&6
2994else
2995  if test -n "$CC"; then
2996  ac_cv_prog_CC="$CC" # Let the user override the test.
2997else
2998as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2999for as_dir in $PATH
3000do
3001  IFS=$as_save_IFS
3002  test -z "$as_dir" && as_dir=.
3003    for ac_exec_ext in '' $ac_executable_extensions; do
3004  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3005    ac_cv_prog_CC="${ac_tool_prefix}cc"
3006    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3007    break 2
3008  fi
3009done
3010  done
3011IFS=$as_save_IFS
3012
3013fi
3014fi
3015CC=$ac_cv_prog_CC
3016if test -n "$CC"; then
3017  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3018$as_echo "$CC" >&6; }
3019else
3020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3021$as_echo "no" >&6; }
3022fi
3023
3024
3025  fi
3026fi
3027if test -z "$CC"; then
3028  # Extract the first word of "cc", so it can be a program name with args.
3029set dummy cc; ac_word=$2
3030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031$as_echo_n "checking for $ac_word... " >&6; }
3032if ${ac_cv_prog_CC+:} false; then :
3033  $as_echo_n "(cached) " >&6
3034else
3035  if test -n "$CC"; then
3036  ac_cv_prog_CC="$CC" # Let the user override the test.
3037else
3038  ac_prog_rejected=no
3039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3040for as_dir in $PATH
3041do
3042  IFS=$as_save_IFS
3043  test -z "$as_dir" && as_dir=.
3044    for ac_exec_ext in '' $ac_executable_extensions; do
3045  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3046    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3047       ac_prog_rejected=yes
3048       continue
3049     fi
3050    ac_cv_prog_CC="cc"
3051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052    break 2
3053  fi
3054done
3055  done
3056IFS=$as_save_IFS
3057
3058if test $ac_prog_rejected = yes; then
3059  # We found a bogon in the path, so make sure we never use it.
3060  set dummy $ac_cv_prog_CC
3061  shift
3062  if test $# != 0; then
3063    # We chose a different compiler from the bogus one.
3064    # However, it has the same basename, so the bogon will be chosen
3065    # first if we set CC to just the basename; use the full file name.
3066    shift
3067    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3068  fi
3069fi
3070fi
3071fi
3072CC=$ac_cv_prog_CC
3073if test -n "$CC"; then
3074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3075$as_echo "$CC" >&6; }
3076else
3077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3078$as_echo "no" >&6; }
3079fi
3080
3081
3082fi
3083if test -z "$CC"; then
3084  if test -n "$ac_tool_prefix"; then
3085  for ac_prog in cl.exe
3086  do
3087    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3088set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3090$as_echo_n "checking for $ac_word... " >&6; }
3091if ${ac_cv_prog_CC+:} false; then :
3092  $as_echo_n "(cached) " >&6
3093else
3094  if test -n "$CC"; then
3095  ac_cv_prog_CC="$CC" # Let the user override the test.
3096else
3097as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098for as_dir in $PATH
3099do
3100  IFS=$as_save_IFS
3101  test -z "$as_dir" && as_dir=.
3102    for ac_exec_ext in '' $ac_executable_extensions; do
3103  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3104    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106    break 2
3107  fi
3108done
3109  done
3110IFS=$as_save_IFS
3111
3112fi
3113fi
3114CC=$ac_cv_prog_CC
3115if test -n "$CC"; then
3116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3117$as_echo "$CC" >&6; }
3118else
3119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3120$as_echo "no" >&6; }
3121fi
3122
3123
3124    test -n "$CC" && break
3125  done
3126fi
3127if test -z "$CC"; then
3128  ac_ct_CC=$CC
3129  for ac_prog in cl.exe
3130do
3131  # Extract the first word of "$ac_prog", so it can be a program name with args.
3132set dummy $ac_prog; ac_word=$2
3133{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3134$as_echo_n "checking for $ac_word... " >&6; }
3135if ${ac_cv_prog_ac_ct_CC+:} false; then :
3136  $as_echo_n "(cached) " >&6
3137else
3138  if test -n "$ac_ct_CC"; then
3139  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3140else
3141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3142for as_dir in $PATH
3143do
3144  IFS=$as_save_IFS
3145  test -z "$as_dir" && as_dir=.
3146    for ac_exec_ext in '' $ac_executable_extensions; do
3147  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148    ac_cv_prog_ac_ct_CC="$ac_prog"
3149    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150    break 2
3151  fi
3152done
3153  done
3154IFS=$as_save_IFS
3155
3156fi
3157fi
3158ac_ct_CC=$ac_cv_prog_ac_ct_CC
3159if test -n "$ac_ct_CC"; then
3160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3161$as_echo "$ac_ct_CC" >&6; }
3162else
3163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164$as_echo "no" >&6; }
3165fi
3166
3167
3168  test -n "$ac_ct_CC" && break
3169done
3170
3171  if test "x$ac_ct_CC" = x; then
3172    CC=""
3173  else
3174    case $cross_compiling:$ac_tool_warned in
3175yes:)
3176{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3177$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3178ac_tool_warned=yes ;;
3179esac
3180    CC=$ac_ct_CC
3181  fi
3182fi
3183
3184fi
3185
3186
3187test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3189as_fn_error $? "no acceptable C compiler found in \$PATH
3190See \`config.log' for more details" "$LINENO" 5; }
3191
3192# Provide some information about the compiler.
3193$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3194set X $ac_compile
3195ac_compiler=$2
3196for ac_option in --version -v -V -qversion; do
3197  { { ac_try="$ac_compiler $ac_option >&5"
3198case "(($ac_try" in
3199  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3200  *) ac_try_echo=$ac_try;;
3201esac
3202eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3203$as_echo "$ac_try_echo"; } >&5
3204  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3205  ac_status=$?
3206  if test -s conftest.err; then
3207    sed '10a\
3208... rest of stderr output deleted ...
3209         10q' conftest.err >conftest.er1
3210    cat conftest.er1 >&5
3211  fi
3212  rm -f conftest.er1 conftest.err
3213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3214  test $ac_status = 0; }
3215done
3216
3217cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3218/* end confdefs.h.  */
3219
3220int
3221main ()
3222{
3223
3224  ;
3225  return 0;
3226}
3227_ACEOF
3228ac_clean_files_save=$ac_clean_files
3229ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3230# Try to create an executable without -o first, disregard a.out.
3231# It will help us diagnose broken compilers, and finding out an intuition
3232# of exeext.
3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3234$as_echo_n "checking whether the C compiler works... " >&6; }
3235ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3236
3237# The possible output files:
3238ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3239
3240ac_rmfiles=
3241for ac_file in $ac_files
3242do
3243  case $ac_file in
3244    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3245    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3246  esac
3247done
3248rm -f $ac_rmfiles
3249
3250if { { ac_try="$ac_link_default"
3251case "(($ac_try" in
3252  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3253  *) ac_try_echo=$ac_try;;
3254esac
3255eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3256$as_echo "$ac_try_echo"; } >&5
3257  (eval "$ac_link_default") 2>&5
3258  ac_status=$?
3259  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3260  test $ac_status = 0; }; then :
3261  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3262# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3263# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3264# so that the user can short-circuit this test for compilers unknown to
3265# Autoconf.
3266for ac_file in $ac_files ''
3267do
3268  test -f "$ac_file" || continue
3269  case $ac_file in
3270    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3271	;;
3272    [ab].out )
3273	# We found the default executable, but exeext='' is most
3274	# certainly right.
3275	break;;
3276    *.* )
3277	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3278	then :; else
3279	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3280	fi
3281	# We set ac_cv_exeext here because the later test for it is not
3282	# safe: cross compilers may not add the suffix if given an `-o'
3283	# argument, so we may need to know it at that point already.
3284	# Even if this section looks crufty: it has the advantage of
3285	# actually working.
3286	break;;
3287    * )
3288	break;;
3289  esac
3290done
3291test "$ac_cv_exeext" = no && ac_cv_exeext=
3292
3293else
3294  ac_file=''
3295fi
3296if test -z "$ac_file"; then :
3297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298$as_echo "no" >&6; }
3299$as_echo "$as_me: failed program was:" >&5
3300sed 's/^/| /' conftest.$ac_ext >&5
3301
3302{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3303$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3304as_fn_error 77 "C compiler cannot create executables
3305See \`config.log' for more details" "$LINENO" 5; }
3306else
3307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3308$as_echo "yes" >&6; }
3309fi
3310{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3311$as_echo_n "checking for C compiler default output file name... " >&6; }
3312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3313$as_echo "$ac_file" >&6; }
3314ac_exeext=$ac_cv_exeext
3315
3316rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3317ac_clean_files=$ac_clean_files_save
3318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3319$as_echo_n "checking for suffix of executables... " >&6; }
3320if { { ac_try="$ac_link"
3321case "(($ac_try" in
3322  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3323  *) ac_try_echo=$ac_try;;
3324esac
3325eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3326$as_echo "$ac_try_echo"; } >&5
3327  (eval "$ac_link") 2>&5
3328  ac_status=$?
3329  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3330  test $ac_status = 0; }; then :
3331  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3332# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3333# work properly (i.e., refer to `conftest.exe'), while it won't with
3334# `rm'.
3335for ac_file in conftest.exe conftest conftest.*; do
3336  test -f "$ac_file" || continue
3337  case $ac_file in
3338    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3339    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3340	  break;;
3341    * ) break;;
3342  esac
3343done
3344else
3345  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3348See \`config.log' for more details" "$LINENO" 5; }
3349fi
3350rm -f conftest conftest$ac_cv_exeext
3351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3352$as_echo "$ac_cv_exeext" >&6; }
3353
3354rm -f conftest.$ac_ext
3355EXEEXT=$ac_cv_exeext
3356ac_exeext=$EXEEXT
3357cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358/* end confdefs.h.  */
3359#include <stdio.h>
3360int
3361main ()
3362{
3363FILE *f = fopen ("conftest.out", "w");
3364 return ferror (f) || fclose (f) != 0;
3365
3366  ;
3367  return 0;
3368}
3369_ACEOF
3370ac_clean_files="$ac_clean_files conftest.out"
3371# Check that the compiler produces executables we can run.  If not, either
3372# the compiler is broken, or we cross compile.
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3374$as_echo_n "checking whether we are cross compiling... " >&6; }
3375if test "$cross_compiling" != yes; then
3376  { { ac_try="$ac_link"
3377case "(($ac_try" in
3378  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3379  *) ac_try_echo=$ac_try;;
3380esac
3381eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3382$as_echo "$ac_try_echo"; } >&5
3383  (eval "$ac_link") 2>&5
3384  ac_status=$?
3385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3386  test $ac_status = 0; }
3387  if { ac_try='./conftest$ac_cv_exeext'
3388  { { case "(($ac_try" in
3389  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3390  *) ac_try_echo=$ac_try;;
3391esac
3392eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3393$as_echo "$ac_try_echo"; } >&5
3394  (eval "$ac_try") 2>&5
3395  ac_status=$?
3396  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3397  test $ac_status = 0; }; }; then
3398    cross_compiling=no
3399  else
3400    if test "$cross_compiling" = maybe; then
3401	cross_compiling=yes
3402    else
3403	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3404$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3405as_fn_error $? "cannot run C compiled programs.
3406If you meant to cross compile, use \`--host'.
3407See \`config.log' for more details" "$LINENO" 5; }
3408    fi
3409  fi
3410fi
3411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3412$as_echo "$cross_compiling" >&6; }
3413
3414rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3415ac_clean_files=$ac_clean_files_save
3416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3417$as_echo_n "checking for suffix of object files... " >&6; }
3418if ${ac_cv_objext+:} false; then :
3419  $as_echo_n "(cached) " >&6
3420else
3421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422/* end confdefs.h.  */
3423
3424int
3425main ()
3426{
3427
3428  ;
3429  return 0;
3430}
3431_ACEOF
3432rm -f conftest.o conftest.obj
3433if { { ac_try="$ac_compile"
3434case "(($ac_try" in
3435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3436  *) ac_try_echo=$ac_try;;
3437esac
3438eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3439$as_echo "$ac_try_echo"; } >&5
3440  (eval "$ac_compile") 2>&5
3441  ac_status=$?
3442  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3443  test $ac_status = 0; }; then :
3444  for ac_file in conftest.o conftest.obj conftest.*; do
3445  test -f "$ac_file" || continue;
3446  case $ac_file in
3447    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3448    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3449       break;;
3450  esac
3451done
3452else
3453  $as_echo "$as_me: failed program was:" >&5
3454sed 's/^/| /' conftest.$ac_ext >&5
3455
3456{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3457$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3458as_fn_error $? "cannot compute suffix of object files: cannot compile
3459See \`config.log' for more details" "$LINENO" 5; }
3460fi
3461rm -f conftest.$ac_cv_objext conftest.$ac_ext
3462fi
3463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3464$as_echo "$ac_cv_objext" >&6; }
3465OBJEXT=$ac_cv_objext
3466ac_objext=$OBJEXT
3467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3468$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3469if ${ac_cv_c_compiler_gnu+:} false; then :
3470  $as_echo_n "(cached) " >&6
3471else
3472  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473/* end confdefs.h.  */
3474
3475int
3476main ()
3477{
3478#ifndef __GNUC__
3479       choke me
3480#endif
3481
3482  ;
3483  return 0;
3484}
3485_ACEOF
3486if ac_fn_c_try_compile "$LINENO"; then :
3487  ac_compiler_gnu=yes
3488else
3489  ac_compiler_gnu=no
3490fi
3491rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3492ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493
3494fi
3495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3496$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3497if test $ac_compiler_gnu = yes; then
3498  GCC=yes
3499else
3500  GCC=
3501fi
3502ac_test_CFLAGS=${CFLAGS+set}
3503ac_save_CFLAGS=$CFLAGS
3504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3505$as_echo_n "checking whether $CC accepts -g... " >&6; }
3506if ${ac_cv_prog_cc_g+:} false; then :
3507  $as_echo_n "(cached) " >&6
3508else
3509  ac_save_c_werror_flag=$ac_c_werror_flag
3510   ac_c_werror_flag=yes
3511   ac_cv_prog_cc_g=no
3512   CFLAGS="-g"
3513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3514/* end confdefs.h.  */
3515
3516int
3517main ()
3518{
3519
3520  ;
3521  return 0;
3522}
3523_ACEOF
3524if ac_fn_c_try_compile "$LINENO"; then :
3525  ac_cv_prog_cc_g=yes
3526else
3527  CFLAGS=""
3528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529/* end confdefs.h.  */
3530
3531int
3532main ()
3533{
3534
3535  ;
3536  return 0;
3537}
3538_ACEOF
3539if ac_fn_c_try_compile "$LINENO"; then :
3540
3541else
3542  ac_c_werror_flag=$ac_save_c_werror_flag
3543	 CFLAGS="-g"
3544	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3545/* end confdefs.h.  */
3546
3547int
3548main ()
3549{
3550
3551  ;
3552  return 0;
3553}
3554_ACEOF
3555if ac_fn_c_try_compile "$LINENO"; then :
3556  ac_cv_prog_cc_g=yes
3557fi
3558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559fi
3560rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561fi
3562rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563   ac_c_werror_flag=$ac_save_c_werror_flag
3564fi
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3566$as_echo "$ac_cv_prog_cc_g" >&6; }
3567if test "$ac_test_CFLAGS" = set; then
3568  CFLAGS=$ac_save_CFLAGS
3569elif test $ac_cv_prog_cc_g = yes; then
3570  if test "$GCC" = yes; then
3571    CFLAGS="-g -O2"
3572  else
3573    CFLAGS="-g"
3574  fi
3575else
3576  if test "$GCC" = yes; then
3577    CFLAGS="-O2"
3578  else
3579    CFLAGS=
3580  fi
3581fi
3582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3583$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3584if ${ac_cv_prog_cc_c89+:} false; then :
3585  $as_echo_n "(cached) " >&6
3586else
3587  ac_cv_prog_cc_c89=no
3588ac_save_CC=$CC
3589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590/* end confdefs.h.  */
3591#include <stdarg.h>
3592#include <stdio.h>
3593#include <sys/types.h>
3594#include <sys/stat.h>
3595/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3596struct buf { int x; };
3597FILE * (*rcsopen) (struct buf *, struct stat *, int);
3598static char *e (p, i)
3599     char **p;
3600     int i;
3601{
3602  return p[i];
3603}
3604static char *f (char * (*g) (char **, int), char **p, ...)
3605{
3606  char *s;
3607  va_list v;
3608  va_start (v,p);
3609  s = g (p, va_arg (v,int));
3610  va_end (v);
3611  return s;
3612}
3613
3614/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3615   function prototypes and stuff, but not '\xHH' hex character constants.
3616   These don't provoke an error unfortunately, instead are silently treated
3617   as 'x'.  The following induces an error, until -std is added to get
3618   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3619   array size at least.  It's necessary to write '\x00'==0 to get something
3620   that's true only with -std.  */
3621int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3622
3623/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3624   inside strings and character constants.  */
3625#define FOO(x) 'x'
3626int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3627
3628int test (int i, double x);
3629struct s1 {int (*f) (int a);};
3630struct s2 {int (*f) (double a);};
3631int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3632int argc;
3633char **argv;
3634int
3635main ()
3636{
3637return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3638  ;
3639  return 0;
3640}
3641_ACEOF
3642for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3643	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3644do
3645  CC="$ac_save_CC $ac_arg"
3646  if ac_fn_c_try_compile "$LINENO"; then :
3647  ac_cv_prog_cc_c89=$ac_arg
3648fi
3649rm -f core conftest.err conftest.$ac_objext
3650  test "x$ac_cv_prog_cc_c89" != "xno" && break
3651done
3652rm -f conftest.$ac_ext
3653CC=$ac_save_CC
3654
3655fi
3656# AC_CACHE_VAL
3657case "x$ac_cv_prog_cc_c89" in
3658  x)
3659    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3660$as_echo "none needed" >&6; } ;;
3661  xno)
3662    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3663$as_echo "unsupported" >&6; } ;;
3664  *)
3665    CC="$CC $ac_cv_prog_cc_c89"
3666    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3667$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3668esac
3669if test "x$ac_cv_prog_cc_c89" != xno; then :
3670
3671fi
3672
3673ac_ext=c
3674ac_cpp='$CPP $CPPFLAGS'
3675ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678
3679depcc="$CC"   am_compiler_list=
3680
3681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3682$as_echo_n "checking dependency style of $depcc... " >&6; }
3683if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3684  $as_echo_n "(cached) " >&6
3685else
3686  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3687  # We make a subdir and do the tests there.  Otherwise we can end up
3688  # making bogus files that we don't know about and never remove.  For
3689  # instance it was reported that on HP-UX the gcc test will end up
3690  # making a dummy file named `D' -- because `-MD' means `put the output
3691  # in D'.
3692  mkdir conftest.dir
3693  # Copy depcomp to subdir because otherwise we won't find it if we're
3694  # using a relative directory.
3695  cp "$am_depcomp" conftest.dir
3696  cd conftest.dir
3697  # We will build objects and dependencies in a subdirectory because
3698  # it helps to detect inapplicable dependency modes.  For instance
3699  # both Tru64's cc and ICC support -MD to output dependencies as a
3700  # side effect of compilation, but ICC will put the dependencies in
3701  # the current directory while Tru64 will put them in the object
3702  # directory.
3703  mkdir sub
3704
3705  am_cv_CC_dependencies_compiler_type=none
3706  if test "$am_compiler_list" = ""; then
3707     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3708  fi
3709  am__universal=false
3710  case " $depcc " in #(
3711     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3712     esac
3713
3714  for depmode in $am_compiler_list; do
3715    # Setup a source with many dependencies, because some compilers
3716    # like to wrap large dependency lists on column 80 (with \), and
3717    # we should not choose a depcomp mode which is confused by this.
3718    #
3719    # We need to recreate these files for each test, as the compiler may
3720    # overwrite some of them when testing with obscure command lines.
3721    # This happens at least with the AIX C compiler.
3722    : > sub/conftest.c
3723    for i in 1 2 3 4 5 6; do
3724      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3725      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3726      # Solaris 8's {/usr,}/bin/sh.
3727      touch sub/conftst$i.h
3728    done
3729    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3730
3731    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3732    # mode.  It turns out that the SunPro C++ compiler does not properly
3733    # handle `-M -o', and we need to detect this.  Also, some Intel
3734    # versions had trouble with output in subdirs
3735    am__obj=sub/conftest.${OBJEXT-o}
3736    am__minus_obj="-o $am__obj"
3737    case $depmode in
3738    gcc)
3739      # This depmode causes a compiler race in universal mode.
3740      test "$am__universal" = false || continue
3741      ;;
3742    nosideeffect)
3743      # after this tag, mechanisms are not by side-effect, so they'll
3744      # only be used when explicitly requested
3745      if test "x$enable_dependency_tracking" = xyes; then
3746	continue
3747      else
3748	break
3749      fi
3750      ;;
3751    msvisualcpp | msvcmsys)
3752      # This compiler won't grok `-c -o', but also, the minuso test has
3753      # not run yet.  These depmodes are late enough in the game, and
3754      # so weak that their functioning should not be impacted.
3755      am__obj=conftest.${OBJEXT-o}
3756      am__minus_obj=
3757      ;;
3758    none) break ;;
3759    esac
3760    if depmode=$depmode \
3761       source=sub/conftest.c object=$am__obj \
3762       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3763       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3764         >/dev/null 2>conftest.err &&
3765       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3766       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3767       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3768       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3769      # icc doesn't choke on unknown options, it will just issue warnings
3770      # or remarks (even with -Werror).  So we grep stderr for any message
3771      # that says an option was ignored or not supported.
3772      # When given -MP, icc 7.0 and 7.1 complain thusly:
3773      #   icc: Command line warning: ignoring option '-M'; no argument required
3774      # The diagnosis changed in icc 8.0:
3775      #   icc: Command line remark: option '-MP' not supported
3776      if (grep 'ignoring option' conftest.err ||
3777          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3778        am_cv_CC_dependencies_compiler_type=$depmode
3779        break
3780      fi
3781    fi
3782  done
3783
3784  cd ..
3785  rm -rf conftest.dir
3786else
3787  am_cv_CC_dependencies_compiler_type=none
3788fi
3789
3790fi
3791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3792$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3793CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3794
3795 if
3796  test "x$enable_dependency_tracking" != xno \
3797  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3798  am__fastdepCC_TRUE=
3799  am__fastdepCC_FALSE='#'
3800else
3801  am__fastdepCC_TRUE='#'
3802  am__fastdepCC_FALSE=
3803fi
3804
3805
3806if test "x$CC" != xcc; then
3807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3808$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3809else
3810  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3811$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3812fi
3813set dummy $CC; ac_cc=`$as_echo "$2" |
3814		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3815if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3816  $as_echo_n "(cached) " >&6
3817else
3818  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3819/* end confdefs.h.  */
3820
3821int
3822main ()
3823{
3824
3825  ;
3826  return 0;
3827}
3828_ACEOF
3829# Make sure it works both with $CC and with simple cc.
3830# We do the test twice because some compilers refuse to overwrite an
3831# existing .o file with -o, though they will create one.
3832ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3833rm -f conftest2.*
3834if { { case "(($ac_try" in
3835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3836  *) ac_try_echo=$ac_try;;
3837esac
3838eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3839$as_echo "$ac_try_echo"; } >&5
3840  (eval "$ac_try") 2>&5
3841  ac_status=$?
3842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3843  test $ac_status = 0; } &&
3844   test -f conftest2.$ac_objext && { { case "(($ac_try" in
3845  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846  *) ac_try_echo=$ac_try;;
3847esac
3848eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3849$as_echo "$ac_try_echo"; } >&5
3850  (eval "$ac_try") 2>&5
3851  ac_status=$?
3852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3853  test $ac_status = 0; };
3854then
3855  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3856  if test "x$CC" != xcc; then
3857    # Test first that cc exists at all.
3858    if { ac_try='cc -c conftest.$ac_ext >&5'
3859  { { case "(($ac_try" in
3860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3861  *) ac_try_echo=$ac_try;;
3862esac
3863eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3864$as_echo "$ac_try_echo"; } >&5
3865  (eval "$ac_try") 2>&5
3866  ac_status=$?
3867  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3868  test $ac_status = 0; }; }; then
3869      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3870      rm -f conftest2.*
3871      if { { case "(($ac_try" in
3872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3873  *) ac_try_echo=$ac_try;;
3874esac
3875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3876$as_echo "$ac_try_echo"; } >&5
3877  (eval "$ac_try") 2>&5
3878  ac_status=$?
3879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3880  test $ac_status = 0; } &&
3881	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3883  *) ac_try_echo=$ac_try;;
3884esac
3885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886$as_echo "$ac_try_echo"; } >&5
3887  (eval "$ac_try") 2>&5
3888  ac_status=$?
3889  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3890  test $ac_status = 0; };
3891      then
3892	# cc works too.
3893	:
3894      else
3895	# cc exists but doesn't like -o.
3896	eval ac_cv_prog_cc_${ac_cc}_c_o=no
3897      fi
3898    fi
3899  fi
3900else
3901  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3902fi
3903rm -f core conftest*
3904
3905fi
3906if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3908$as_echo "yes" >&6; }
3909else
3910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3911$as_echo "no" >&6; }
3912
3913$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3914
3915fi
3916
3917
3918
3919# Check whether --enable-glibtest was given.
3920if test "${enable_glibtest+set}" = set; then :
3921  enableval=$enable_glibtest;
3922else
3923  enable_glibtest=yes
3924fi
3925
3926
3927  pkg_config_args=glib-2.0
3928  for module in .
3929  do
3930      case "$module" in
3931         gmodule)
3932             pkg_config_args="$pkg_config_args gmodule-2.0"
3933         ;;
3934         gmodule-no-export)
3935             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
3936         ;;
3937         gobject)
3938             pkg_config_args="$pkg_config_args gobject-2.0"
3939         ;;
3940         gthread)
3941             pkg_config_args="$pkg_config_args gthread-2.0"
3942         ;;
3943         gio*)
3944             pkg_config_args="$pkg_config_args $module-2.0"
3945         ;;
3946      esac
3947  done
3948
3949
3950
3951
3952
3953
3954
3955if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
3956	if test -n "$ac_tool_prefix"; then
3957  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
3958set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3960$as_echo_n "checking for $ac_word... " >&6; }
3961if ${ac_cv_path_PKG_CONFIG+:} false; then :
3962  $as_echo_n "(cached) " >&6
3963else
3964  case $PKG_CONFIG in
3965  [\\/]* | ?:[\\/]*)
3966  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
3967  ;;
3968  *)
3969  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970for as_dir in $PATH
3971do
3972  IFS=$as_save_IFS
3973  test -z "$as_dir" && as_dir=.
3974    for ac_exec_ext in '' $ac_executable_extensions; do
3975  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3976    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3977    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978    break 2
3979  fi
3980done
3981  done
3982IFS=$as_save_IFS
3983
3984  ;;
3985esac
3986fi
3987PKG_CONFIG=$ac_cv_path_PKG_CONFIG
3988if test -n "$PKG_CONFIG"; then
3989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3990$as_echo "$PKG_CONFIG" >&6; }
3991else
3992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3993$as_echo "no" >&6; }
3994fi
3995
3996
3997fi
3998if test -z "$ac_cv_path_PKG_CONFIG"; then
3999  ac_pt_PKG_CONFIG=$PKG_CONFIG
4000  # Extract the first word of "pkg-config", so it can be a program name with args.
4001set dummy pkg-config; ac_word=$2
4002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4003$as_echo_n "checking for $ac_word... " >&6; }
4004if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4005  $as_echo_n "(cached) " >&6
4006else
4007  case $ac_pt_PKG_CONFIG in
4008  [\\/]* | ?:[\\/]*)
4009  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4010  ;;
4011  *)
4012  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4013for as_dir in $PATH
4014do
4015  IFS=$as_save_IFS
4016  test -z "$as_dir" && as_dir=.
4017    for ac_exec_ext in '' $ac_executable_extensions; do
4018  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4019    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
4020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4021    break 2
4022  fi
4023done
4024  done
4025IFS=$as_save_IFS
4026
4027  ;;
4028esac
4029fi
4030ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
4031if test -n "$ac_pt_PKG_CONFIG"; then
4032  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4033$as_echo "$ac_pt_PKG_CONFIG" >&6; }
4034else
4035  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4036$as_echo "no" >&6; }
4037fi
4038
4039  if test "x$ac_pt_PKG_CONFIG" = x; then
4040    PKG_CONFIG=""
4041  else
4042    case $cross_compiling:$ac_tool_warned in
4043yes:)
4044{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4045$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4046ac_tool_warned=yes ;;
4047esac
4048    PKG_CONFIG=$ac_pt_PKG_CONFIG
4049  fi
4050else
4051  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
4052fi
4053
4054fi
4055if test -n "$PKG_CONFIG"; then
4056	_pkg_min_version=0.16
4057	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4058$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4059	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4060		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4061$as_echo "yes" >&6; }
4062	else
4063		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064$as_echo "no" >&6; }
4065		PKG_CONFIG=""
4066	fi
4067fi
4068
4069  no_glib=""
4070
4071  if test "x$PKG_CONFIG" = x ; then
4072    no_glib=yes
4073    PKG_CONFIG=no
4074  fi
4075
4076  min_glib_version=2.0.0
4077  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
4078$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
4079
4080  if test x$PKG_CONFIG != xno ; then
4081    ## don't try to run the test against uninstalled libtool libs
4082    if $PKG_CONFIG --uninstalled $pkg_config_args; then
4083	  echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
4084	  enable_glibtest=no
4085    fi
4086
4087    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
4088	  :
4089    else
4090	  no_glib=yes
4091    fi
4092  fi
4093
4094  if test x"$no_glib" = x ; then
4095    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
4096    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
4097    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
4098
4099    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
4100    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
4101    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
4102           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
4103    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
4104           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
4105    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
4106           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
4107    if test "x$enable_glibtest" = "xyes" ; then
4108      ac_save_CFLAGS="$CFLAGS"
4109      ac_save_LIBS="$LIBS"
4110      CFLAGS="$CFLAGS $GLIB_CFLAGS"
4111      LIBS="$GLIB_LIBS $LIBS"
4112      rm -f conf.glibtest
4113      if test "$cross_compiling" = yes; then :
4114  echo $ac_n "cross compiling; assumed OK... $ac_c"
4115else
4116  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4117/* end confdefs.h.  */
4118
4119#include <glib.h>
4120#include <stdio.h>
4121#include <stdlib.h>
4122
4123int
4124main ()
4125{
4126  unsigned int major, minor, micro;
4127  char *tmp_version;
4128
4129  fclose (fopen ("conf.glibtest", "w"));
4130
4131  /* HP/UX 9 (%@#!) writes to sscanf strings */
4132  tmp_version = g_strdup("$min_glib_version");
4133  if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
4134     printf("%s, bad version string\n", "$min_glib_version");
4135     exit(1);
4136   }
4137
4138  if ((glib_major_version != $glib_config_major_version) ||
4139      (glib_minor_version != $glib_config_minor_version) ||
4140      (glib_micro_version != $glib_config_micro_version))
4141    {
4142      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
4143             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
4144             glib_major_version, glib_minor_version, glib_micro_version);
4145      printf ("*** was found! If pkg-config was correct, then it is best\n");
4146      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
4147      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4148      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4149      printf("*** required on your system.\n");
4150      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
4151      printf("*** to point to the correct configuration files\n");
4152    }
4153  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
4154	   (glib_minor_version != GLIB_MINOR_VERSION) ||
4155           (glib_micro_version != GLIB_MICRO_VERSION))
4156    {
4157      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
4158	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
4159      printf("*** library (version %d.%d.%d)\n",
4160	     glib_major_version, glib_minor_version, glib_micro_version);
4161    }
4162  else
4163    {
4164      if ((glib_major_version > major) ||
4165        ((glib_major_version == major) && (glib_minor_version > minor)) ||
4166        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
4167      {
4168        return 0;
4169       }
4170     else
4171      {
4172        printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
4173               glib_major_version, glib_minor_version, glib_micro_version);
4174        printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
4175	       major, minor, micro);
4176        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
4177        printf("***\n");
4178        printf("*** If you have already installed a sufficiently new version, this error\n");
4179        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
4180        printf("*** being found. The easiest way to fix this is to remove the old version\n");
4181        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
4182        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
4183        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4184        printf("*** so that the correct libraries are found at run-time))\n");
4185      }
4186    }
4187  return 1;
4188}
4189
4190_ACEOF
4191if ac_fn_c_try_run "$LINENO"; then :
4192
4193else
4194  no_glib=yes
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
4200       CFLAGS="$ac_save_CFLAGS"
4201       LIBS="$ac_save_LIBS"
4202     fi
4203  fi
4204  if test "x$no_glib" = x ; then
4205     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
4206$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
4207     :
4208  else
4209     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4210$as_echo "no" >&6; }
4211     if test "$PKG_CONFIG" = "no" ; then
4212       echo "*** A new enough version of pkg-config was not found."
4213       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
4214     else
4215       if test -f conf.glibtest ; then
4216        :
4217       else
4218          echo "*** Could not run GLIB test program, checking why..."
4219          ac_save_CFLAGS="$CFLAGS"
4220          ac_save_LIBS="$LIBS"
4221          CFLAGS="$CFLAGS $GLIB_CFLAGS"
4222          LIBS="$LIBS $GLIB_LIBS"
4223          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224/* end confdefs.h.  */
4225
4226#include <glib.h>
4227#include <stdio.h>
4228
4229int
4230main ()
4231{
4232 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
4233  ;
4234  return 0;
4235}
4236_ACEOF
4237if ac_fn_c_try_link "$LINENO"; then :
4238   echo "*** The test program compiled, but did not run. This usually means"
4239          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
4240          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
4241          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4242          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
4243          echo "*** is required on your system"
4244	  echo "***"
4245          echo "*** If you have an old version installed, it is best to remove it, although"
4246          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4247else
4248   echo "*** The test program failed to compile or link. See the file config.log for the"
4249          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
4250fi
4251rm -f core conftest.err conftest.$ac_objext \
4252    conftest$ac_exeext conftest.$ac_ext
4253          CFLAGS="$ac_save_CFLAGS"
4254          LIBS="$ac_save_LIBS"
4255       fi
4256     fi
4257     GLIB_CFLAGS=""
4258     GLIB_LIBS=""
4259     GLIB_GENMARSHAL=""
4260     GOBJECT_QUERY=""
4261     GLIB_MKENUMS=""
4262     :
4263  fi
4264
4265
4266
4267
4268
4269  rm -f conf.glibtest
4270
4271
4272
4273case `pwd` in
4274  *\ * | *\	*)
4275    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4276$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4277esac
4278
4279
4280
4281macro_version='2.4'
4282macro_revision='1.3293'
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296ltmain="$ac_aux_dir/ltmain.sh"
4297
4298# Make sure we can run config.sub.
4299$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4300  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4301
4302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4303$as_echo_n "checking build system type... " >&6; }
4304if ${ac_cv_build+:} false; then :
4305  $as_echo_n "(cached) " >&6
4306else
4307  ac_build_alias=$build_alias
4308test "x$ac_build_alias" = x &&
4309  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4310test "x$ac_build_alias" = x &&
4311  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4312ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4313  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4314
4315fi
4316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4317$as_echo "$ac_cv_build" >&6; }
4318case $ac_cv_build in
4319*-*-*) ;;
4320*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4321esac
4322build=$ac_cv_build
4323ac_save_IFS=$IFS; IFS='-'
4324set x $ac_cv_build
4325shift
4326build_cpu=$1
4327build_vendor=$2
4328shift; shift
4329# Remember, the first character of IFS is used to create $*,
4330# except with old shells:
4331build_os=$*
4332IFS=$ac_save_IFS
4333case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4334
4335
4336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4337$as_echo_n "checking host system type... " >&6; }
4338if ${ac_cv_host+:} false; then :
4339  $as_echo_n "(cached) " >&6
4340else
4341  if test "x$host_alias" = x; then
4342  ac_cv_host=$ac_cv_build
4343else
4344  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4345    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4346fi
4347
4348fi
4349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4350$as_echo "$ac_cv_host" >&6; }
4351case $ac_cv_host in
4352*-*-*) ;;
4353*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4354esac
4355host=$ac_cv_host
4356ac_save_IFS=$IFS; IFS='-'
4357set x $ac_cv_host
4358shift
4359host_cpu=$1
4360host_vendor=$2
4361shift; shift
4362# Remember, the first character of IFS is used to create $*,
4363# except with old shells:
4364host_os=$*
4365IFS=$ac_save_IFS
4366case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4367
4368
4369# Backslashify metacharacters that are still active within
4370# double-quoted strings.
4371sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4372
4373# Same as above, but do not quote variable references.
4374double_quote_subst='s/\(["`\\]\)/\\\1/g'
4375
4376# Sed substitution to delay expansion of an escaped shell variable in a
4377# double_quote_subst'ed string.
4378delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4379
4380# Sed substitution to delay expansion of an escaped single quote.
4381delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4382
4383# Sed substitution to avoid accidental globbing in evaled expressions
4384no_glob_subst='s/\*/\\\*/g'
4385
4386ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4387ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4388ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4389
4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4391$as_echo_n "checking how to print strings... " >&6; }
4392# Test print first, because it will be a builtin if present.
4393if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4394   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4395  ECHO='print -r --'
4396elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4397  ECHO='printf %s\n'
4398else
4399  # Use this function as a fallback that always works.
4400  func_fallback_echo ()
4401  {
4402    eval 'cat <<_LTECHO_EOF
4403$1
4404_LTECHO_EOF'
4405  }
4406  ECHO='func_fallback_echo'
4407fi
4408
4409# func_echo_all arg...
4410# Invoke $ECHO with all args, space-separated.
4411func_echo_all ()
4412{
4413    $ECHO ""
4414}
4415
4416case "$ECHO" in
4417  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4418$as_echo "printf" >&6; } ;;
4419  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4420$as_echo "print -r" >&6; } ;;
4421  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4422$as_echo "cat" >&6; } ;;
4423esac
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4439$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4440if ${ac_cv_path_SED+:} false; then :
4441  $as_echo_n "(cached) " >&6
4442else
4443            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4444     for ac_i in 1 2 3 4 5 6 7; do
4445       ac_script="$ac_script$as_nl$ac_script"
4446     done
4447     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4448     { ac_script=; unset ac_script;}
4449     if test -z "$SED"; then
4450  ac_path_SED_found=false
4451  # Loop through the user's path and test for each of PROGNAME-LIST
4452  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4453for as_dir in $PATH
4454do
4455  IFS=$as_save_IFS
4456  test -z "$as_dir" && as_dir=.
4457    for ac_prog in sed gsed; do
4458    for ac_exec_ext in '' $ac_executable_extensions; do
4459      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4460      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4461# Check for GNU ac_path_SED and select it if it is found.
4462  # Check for GNU $ac_path_SED
4463case `"$ac_path_SED" --version 2>&1` in
4464*GNU*)
4465  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4466*)
4467  ac_count=0
4468  $as_echo_n 0123456789 >"conftest.in"
4469  while :
4470  do
4471    cat "conftest.in" "conftest.in" >"conftest.tmp"
4472    mv "conftest.tmp" "conftest.in"
4473    cp "conftest.in" "conftest.nl"
4474    $as_echo '' >> "conftest.nl"
4475    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4476    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4477    as_fn_arith $ac_count + 1 && ac_count=$as_val
4478    if test $ac_count -gt ${ac_path_SED_max-0}; then
4479      # Best one so far, save it but keep looking for a better one
4480      ac_cv_path_SED="$ac_path_SED"
4481      ac_path_SED_max=$ac_count
4482    fi
4483    # 10*(2^10) chars as input seems more than enough
4484    test $ac_count -gt 10 && break
4485  done
4486  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4487esac
4488
4489      $ac_path_SED_found && break 3
4490    done
4491  done
4492  done
4493IFS=$as_save_IFS
4494  if test -z "$ac_cv_path_SED"; then
4495    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4496  fi
4497else
4498  ac_cv_path_SED=$SED
4499fi
4500
4501fi
4502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4503$as_echo "$ac_cv_path_SED" >&6; }
4504 SED="$ac_cv_path_SED"
4505  rm -f conftest.sed
4506
4507test -z "$SED" && SED=sed
4508Xsed="$SED -e 1s/^X//"
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4521$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4522if ${ac_cv_path_GREP+:} false; then :
4523  $as_echo_n "(cached) " >&6
4524else
4525  if test -z "$GREP"; then
4526  ac_path_GREP_found=false
4527  # Loop through the user's path and test for each of PROGNAME-LIST
4528  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4530do
4531  IFS=$as_save_IFS
4532  test -z "$as_dir" && as_dir=.
4533    for ac_prog in grep ggrep; do
4534    for ac_exec_ext in '' $ac_executable_extensions; do
4535      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4536      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4537# Check for GNU ac_path_GREP and select it if it is found.
4538  # Check for GNU $ac_path_GREP
4539case `"$ac_path_GREP" --version 2>&1` in
4540*GNU*)
4541  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4542*)
4543  ac_count=0
4544  $as_echo_n 0123456789 >"conftest.in"
4545  while :
4546  do
4547    cat "conftest.in" "conftest.in" >"conftest.tmp"
4548    mv "conftest.tmp" "conftest.in"
4549    cp "conftest.in" "conftest.nl"
4550    $as_echo 'GREP' >> "conftest.nl"
4551    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4552    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4553    as_fn_arith $ac_count + 1 && ac_count=$as_val
4554    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4555      # Best one so far, save it but keep looking for a better one
4556      ac_cv_path_GREP="$ac_path_GREP"
4557      ac_path_GREP_max=$ac_count
4558    fi
4559    # 10*(2^10) chars as input seems more than enough
4560    test $ac_count -gt 10 && break
4561  done
4562  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4563esac
4564
4565      $ac_path_GREP_found && break 3
4566    done
4567  done
4568  done
4569IFS=$as_save_IFS
4570  if test -z "$ac_cv_path_GREP"; then
4571    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4572  fi
4573else
4574  ac_cv_path_GREP=$GREP
4575fi
4576
4577fi
4578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4579$as_echo "$ac_cv_path_GREP" >&6; }
4580 GREP="$ac_cv_path_GREP"
4581
4582
4583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4584$as_echo_n "checking for egrep... " >&6; }
4585if ${ac_cv_path_EGREP+:} false; then :
4586  $as_echo_n "(cached) " >&6
4587else
4588  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4589   then ac_cv_path_EGREP="$GREP -E"
4590   else
4591     if test -z "$EGREP"; then
4592  ac_path_EGREP_found=false
4593  # Loop through the user's path and test for each of PROGNAME-LIST
4594  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4595for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4596do
4597  IFS=$as_save_IFS
4598  test -z "$as_dir" && as_dir=.
4599    for ac_prog in egrep; do
4600    for ac_exec_ext in '' $ac_executable_extensions; do
4601      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4602      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4603# Check for GNU ac_path_EGREP and select it if it is found.
4604  # Check for GNU $ac_path_EGREP
4605case `"$ac_path_EGREP" --version 2>&1` in
4606*GNU*)
4607  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4608*)
4609  ac_count=0
4610  $as_echo_n 0123456789 >"conftest.in"
4611  while :
4612  do
4613    cat "conftest.in" "conftest.in" >"conftest.tmp"
4614    mv "conftest.tmp" "conftest.in"
4615    cp "conftest.in" "conftest.nl"
4616    $as_echo 'EGREP' >> "conftest.nl"
4617    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4618    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4619    as_fn_arith $ac_count + 1 && ac_count=$as_val
4620    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4621      # Best one so far, save it but keep looking for a better one
4622      ac_cv_path_EGREP="$ac_path_EGREP"
4623      ac_path_EGREP_max=$ac_count
4624    fi
4625    # 10*(2^10) chars as input seems more than enough
4626    test $ac_count -gt 10 && break
4627  done
4628  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4629esac
4630
4631      $ac_path_EGREP_found && break 3
4632    done
4633  done
4634  done
4635IFS=$as_save_IFS
4636  if test -z "$ac_cv_path_EGREP"; then
4637    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4638  fi
4639else
4640  ac_cv_path_EGREP=$EGREP
4641fi
4642
4643   fi
4644fi
4645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4646$as_echo "$ac_cv_path_EGREP" >&6; }
4647 EGREP="$ac_cv_path_EGREP"
4648
4649
4650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4651$as_echo_n "checking for fgrep... " >&6; }
4652if ${ac_cv_path_FGREP+:} false; then :
4653  $as_echo_n "(cached) " >&6
4654else
4655  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4656   then ac_cv_path_FGREP="$GREP -F"
4657   else
4658     if test -z "$FGREP"; then
4659  ac_path_FGREP_found=false
4660  # Loop through the user's path and test for each of PROGNAME-LIST
4661  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4662for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4663do
4664  IFS=$as_save_IFS
4665  test -z "$as_dir" && as_dir=.
4666    for ac_prog in fgrep; do
4667    for ac_exec_ext in '' $ac_executable_extensions; do
4668      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4669      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4670# Check for GNU ac_path_FGREP and select it if it is found.
4671  # Check for GNU $ac_path_FGREP
4672case `"$ac_path_FGREP" --version 2>&1` in
4673*GNU*)
4674  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4675*)
4676  ac_count=0
4677  $as_echo_n 0123456789 >"conftest.in"
4678  while :
4679  do
4680    cat "conftest.in" "conftest.in" >"conftest.tmp"
4681    mv "conftest.tmp" "conftest.in"
4682    cp "conftest.in" "conftest.nl"
4683    $as_echo 'FGREP' >> "conftest.nl"
4684    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4685    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4686    as_fn_arith $ac_count + 1 && ac_count=$as_val
4687    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4688      # Best one so far, save it but keep looking for a better one
4689      ac_cv_path_FGREP="$ac_path_FGREP"
4690      ac_path_FGREP_max=$ac_count
4691    fi
4692    # 10*(2^10) chars as input seems more than enough
4693    test $ac_count -gt 10 && break
4694  done
4695  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4696esac
4697
4698      $ac_path_FGREP_found && break 3
4699    done
4700  done
4701  done
4702IFS=$as_save_IFS
4703  if test -z "$ac_cv_path_FGREP"; then
4704    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4705  fi
4706else
4707  ac_cv_path_FGREP=$FGREP
4708fi
4709
4710   fi
4711fi
4712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4713$as_echo "$ac_cv_path_FGREP" >&6; }
4714 FGREP="$ac_cv_path_FGREP"
4715
4716
4717test -z "$GREP" && GREP=grep
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737# Check whether --with-gnu-ld was given.
4738if test "${with_gnu_ld+set}" = set; then :
4739  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4740else
4741  with_gnu_ld=no
4742fi
4743
4744ac_prog=ld
4745if test "$GCC" = yes; then
4746  # Check if gcc -print-prog-name=ld gives a path.
4747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4748$as_echo_n "checking for ld used by $CC... " >&6; }
4749  case $host in
4750  *-*-mingw*)
4751    # gcc leaves a trailing carriage return which upsets mingw
4752    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4753  *)
4754    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4755  esac
4756  case $ac_prog in
4757    # Accept absolute paths.
4758    [\\/]* | ?:[\\/]*)
4759      re_direlt='/[^/][^/]*/\.\./'
4760      # Canonicalize the pathname of ld
4761      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4762      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4763	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4764      done
4765      test -z "$LD" && LD="$ac_prog"
4766      ;;
4767  "")
4768    # If it fails, then pretend we aren't using GCC.
4769    ac_prog=ld
4770    ;;
4771  *)
4772    # If it is relative, then search for the first ld in PATH.
4773    with_gnu_ld=unknown
4774    ;;
4775  esac
4776elif test "$with_gnu_ld" = yes; then
4777  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4778$as_echo_n "checking for GNU ld... " >&6; }
4779else
4780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4781$as_echo_n "checking for non-GNU ld... " >&6; }
4782fi
4783if ${lt_cv_path_LD+:} false; then :
4784  $as_echo_n "(cached) " >&6
4785else
4786  if test -z "$LD"; then
4787  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4788  for ac_dir in $PATH; do
4789    IFS="$lt_save_ifs"
4790    test -z "$ac_dir" && ac_dir=.
4791    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4792      lt_cv_path_LD="$ac_dir/$ac_prog"
4793      # Check to see if the program is GNU ld.  I'd rather use --version,
4794      # but apparently some variants of GNU ld only accept -v.
4795      # Break only if it was the GNU/non-GNU ld that we prefer.
4796      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4797      *GNU* | *'with BFD'*)
4798	test "$with_gnu_ld" != no && break
4799	;;
4800      *)
4801	test "$with_gnu_ld" != yes && break
4802	;;
4803      esac
4804    fi
4805  done
4806  IFS="$lt_save_ifs"
4807else
4808  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4809fi
4810fi
4811
4812LD="$lt_cv_path_LD"
4813if test -n "$LD"; then
4814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4815$as_echo "$LD" >&6; }
4816else
4817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818$as_echo "no" >&6; }
4819fi
4820test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4822$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4823if ${lt_cv_prog_gnu_ld+:} false; then :
4824  $as_echo_n "(cached) " >&6
4825else
4826  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4827case `$LD -v 2>&1 </dev/null` in
4828*GNU* | *'with BFD'*)
4829  lt_cv_prog_gnu_ld=yes
4830  ;;
4831*)
4832  lt_cv_prog_gnu_ld=no
4833  ;;
4834esac
4835fi
4836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4837$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4838with_gnu_ld=$lt_cv_prog_gnu_ld
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4849$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4850if ${lt_cv_path_NM+:} false; then :
4851  $as_echo_n "(cached) " >&6
4852else
4853  if test -n "$NM"; then
4854  # Let the user override the test.
4855  lt_cv_path_NM="$NM"
4856else
4857  lt_nm_to_check="${ac_tool_prefix}nm"
4858  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4859    lt_nm_to_check="$lt_nm_to_check nm"
4860  fi
4861  for lt_tmp_nm in $lt_nm_to_check; do
4862    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4863    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4864      IFS="$lt_save_ifs"
4865      test -z "$ac_dir" && ac_dir=.
4866      tmp_nm="$ac_dir/$lt_tmp_nm"
4867      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4868	# Check to see if the nm accepts a BSD-compat flag.
4869	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4870	#   nm: unknown option "B" ignored
4871	# Tru64's nm complains that /dev/null is an invalid object file
4872	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4873	*/dev/null* | *'Invalid file or object type'*)
4874	  lt_cv_path_NM="$tmp_nm -B"
4875	  break
4876	  ;;
4877	*)
4878	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4879	  */dev/null*)
4880	    lt_cv_path_NM="$tmp_nm -p"
4881	    break
4882	    ;;
4883	  *)
4884	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4885	    continue # so that we can try to find one that supports BSD flags
4886	    ;;
4887	  esac
4888	  ;;
4889	esac
4890      fi
4891    done
4892    IFS="$lt_save_ifs"
4893  done
4894  : ${lt_cv_path_NM=no}
4895fi
4896fi
4897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4898$as_echo "$lt_cv_path_NM" >&6; }
4899if test "$lt_cv_path_NM" != "no"; then
4900  NM="$lt_cv_path_NM"
4901else
4902  # Didn't find any BSD compatible name lister, look for dumpbin.
4903  if test -n "$DUMPBIN"; then :
4904    # Let the user override the test.
4905  else
4906    if test -n "$ac_tool_prefix"; then
4907  for ac_prog in dumpbin "link -dump"
4908  do
4909    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4910set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4912$as_echo_n "checking for $ac_word... " >&6; }
4913if ${ac_cv_prog_DUMPBIN+:} false; then :
4914  $as_echo_n "(cached) " >&6
4915else
4916  if test -n "$DUMPBIN"; then
4917  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4918else
4919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4920for as_dir in $PATH
4921do
4922  IFS=$as_save_IFS
4923  test -z "$as_dir" && as_dir=.
4924    for ac_exec_ext in '' $ac_executable_extensions; do
4925  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4926    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4928    break 2
4929  fi
4930done
4931  done
4932IFS=$as_save_IFS
4933
4934fi
4935fi
4936DUMPBIN=$ac_cv_prog_DUMPBIN
4937if test -n "$DUMPBIN"; then
4938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4939$as_echo "$DUMPBIN" >&6; }
4940else
4941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4942$as_echo "no" >&6; }
4943fi
4944
4945
4946    test -n "$DUMPBIN" && break
4947  done
4948fi
4949if test -z "$DUMPBIN"; then
4950  ac_ct_DUMPBIN=$DUMPBIN
4951  for ac_prog in dumpbin "link -dump"
4952do
4953  # Extract the first word of "$ac_prog", so it can be a program name with args.
4954set dummy $ac_prog; ac_word=$2
4955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4956$as_echo_n "checking for $ac_word... " >&6; }
4957if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4958  $as_echo_n "(cached) " >&6
4959else
4960  if test -n "$ac_ct_DUMPBIN"; then
4961  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4962else
4963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964for as_dir in $PATH
4965do
4966  IFS=$as_save_IFS
4967  test -z "$as_dir" && as_dir=.
4968    for ac_exec_ext in '' $ac_executable_extensions; do
4969  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4970    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972    break 2
4973  fi
4974done
4975  done
4976IFS=$as_save_IFS
4977
4978fi
4979fi
4980ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4981if test -n "$ac_ct_DUMPBIN"; then
4982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4983$as_echo "$ac_ct_DUMPBIN" >&6; }
4984else
4985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4986$as_echo "no" >&6; }
4987fi
4988
4989
4990  test -n "$ac_ct_DUMPBIN" && break
4991done
4992
4993  if test "x$ac_ct_DUMPBIN" = x; then
4994    DUMPBIN=":"
4995  else
4996    case $cross_compiling:$ac_tool_warned in
4997yes:)
4998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5000ac_tool_warned=yes ;;
5001esac
5002    DUMPBIN=$ac_ct_DUMPBIN
5003  fi
5004fi
5005
5006    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5007    *COFF*)
5008      DUMPBIN="$DUMPBIN -symbols"
5009      ;;
5010    *)
5011      DUMPBIN=:
5012      ;;
5013    esac
5014  fi
5015
5016  if test "$DUMPBIN" != ":"; then
5017    NM="$DUMPBIN"
5018  fi
5019fi
5020test -z "$NM" && NM=nm
5021
5022
5023
5024
5025
5026
5027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5028$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5029if ${lt_cv_nm_interface+:} false; then :
5030  $as_echo_n "(cached) " >&6
5031else
5032  lt_cv_nm_interface="BSD nm"
5033  echo "int some_variable = 0;" > conftest.$ac_ext
5034  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5035  (eval "$ac_compile" 2>conftest.err)
5036  cat conftest.err >&5
5037  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5038  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5039  cat conftest.err >&5
5040  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5041  cat conftest.out >&5
5042  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5043    lt_cv_nm_interface="MS dumpbin"
5044  fi
5045  rm -f conftest*
5046fi
5047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5048$as_echo "$lt_cv_nm_interface" >&6; }
5049
5050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5051$as_echo_n "checking whether ln -s works... " >&6; }
5052LN_S=$as_ln_s
5053if test "$LN_S" = "ln -s"; then
5054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5055$as_echo "yes" >&6; }
5056else
5057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5058$as_echo "no, using $LN_S" >&6; }
5059fi
5060
5061# find the maximum length of command line arguments
5062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5063$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5064if ${lt_cv_sys_max_cmd_len+:} false; then :
5065  $as_echo_n "(cached) " >&6
5066else
5067    i=0
5068  teststring="ABCD"
5069
5070  case $build_os in
5071  msdosdjgpp*)
5072    # On DJGPP, this test can blow up pretty badly due to problems in libc
5073    # (any single argument exceeding 2000 bytes causes a buffer overrun
5074    # during glob expansion).  Even if it were fixed, the result of this
5075    # check would be larger than it should be.
5076    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5077    ;;
5078
5079  gnu*)
5080    # Under GNU Hurd, this test is not required because there is
5081    # no limit to the length of command line arguments.
5082    # Libtool will interpret -1 as no limit whatsoever
5083    lt_cv_sys_max_cmd_len=-1;
5084    ;;
5085
5086  cygwin* | mingw* | cegcc*)
5087    # On Win9x/ME, this test blows up -- it succeeds, but takes
5088    # about 5 minutes as the teststring grows exponentially.
5089    # Worse, since 9x/ME are not pre-emptively multitasking,
5090    # you end up with a "frozen" computer, even though with patience
5091    # the test eventually succeeds (with a max line length of 256k).
5092    # Instead, let's just punt: use the minimum linelength reported by
5093    # all of the supported platforms: 8192 (on NT/2K/XP).
5094    lt_cv_sys_max_cmd_len=8192;
5095    ;;
5096
5097  mint*)
5098    # On MiNT this can take a long time and run out of memory.
5099    lt_cv_sys_max_cmd_len=8192;
5100    ;;
5101
5102  amigaos*)
5103    # On AmigaOS with pdksh, this test takes hours, literally.
5104    # So we just punt and use a minimum line length of 8192.
5105    lt_cv_sys_max_cmd_len=8192;
5106    ;;
5107
5108  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5109    # This has been around since 386BSD, at least.  Likely further.
5110    if test -x /sbin/sysctl; then
5111      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5112    elif test -x /usr/sbin/sysctl; then
5113      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5114    else
5115      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5116    fi
5117    # And add a safety zone
5118    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5119    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5120    ;;
5121
5122  interix*)
5123    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5124    lt_cv_sys_max_cmd_len=196608
5125    ;;
5126
5127  osf*)
5128    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5129    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5130    # nice to cause kernel panics so lets avoid the loop below.
5131    # First set a reasonable default.
5132    lt_cv_sys_max_cmd_len=16384
5133    #
5134    if test -x /sbin/sysconfig; then
5135      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5136        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5137      esac
5138    fi
5139    ;;
5140  sco3.2v5*)
5141    lt_cv_sys_max_cmd_len=102400
5142    ;;
5143  sysv5* | sco5v6* | sysv4.2uw2*)
5144    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5145    if test -n "$kargmax"; then
5146      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5147    else
5148      lt_cv_sys_max_cmd_len=32768
5149    fi
5150    ;;
5151  *)
5152    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5153    if test -n "$lt_cv_sys_max_cmd_len"; then
5154      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5155      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5156    else
5157      # Make teststring a little bigger before we do anything with it.
5158      # a 1K string should be a reasonable start.
5159      for i in 1 2 3 4 5 6 7 8 ; do
5160        teststring=$teststring$teststring
5161      done
5162      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5163      # If test is not a shell built-in, we'll probably end up computing a
5164      # maximum length that is only half of the actual maximum length, but
5165      # we can't tell.
5166      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5167	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5168	      test $i != 17 # 1/2 MB should be enough
5169      do
5170        i=`expr $i + 1`
5171        teststring=$teststring$teststring
5172      done
5173      # Only check the string length outside the loop.
5174      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5175      teststring=
5176      # Add a significant safety factor because C++ compilers can tack on
5177      # massive amounts of additional arguments before passing them to the
5178      # linker.  It appears as though 1/2 is a usable value.
5179      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5180    fi
5181    ;;
5182  esac
5183
5184fi
5185
5186if test -n $lt_cv_sys_max_cmd_len ; then
5187  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5188$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5189else
5190  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5191$as_echo "none" >&6; }
5192fi
5193max_cmd_len=$lt_cv_sys_max_cmd_len
5194
5195
5196
5197
5198
5199
5200: ${CP="cp -f"}
5201: ${MV="mv -f"}
5202: ${RM="rm -f"}
5203
5204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5205$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5206# Try some XSI features
5207xsi_shell=no
5208( _lt_dummy="a/b/c"
5209  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5210      = c,a/b,b/c, \
5211    && eval 'test $(( 1 + 1 )) -eq 2 \
5212    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5213  && xsi_shell=yes
5214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5215$as_echo "$xsi_shell" >&6; }
5216
5217
5218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5219$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5220lt_shell_append=no
5221( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5222    >/dev/null 2>&1 \
5223  && lt_shell_append=yes
5224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5225$as_echo "$lt_shell_append" >&6; }
5226
5227
5228if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5229  lt_unset=unset
5230else
5231  lt_unset=false
5232fi
5233
5234
5235
5236
5237
5238# test EBCDIC or ASCII
5239case `echo X|tr X '\101'` in
5240 A) # ASCII based system
5241    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5242  lt_SP2NL='tr \040 \012'
5243  lt_NL2SP='tr \015\012 \040\040'
5244  ;;
5245 *) # EBCDIC based system
5246  lt_SP2NL='tr \100 \n'
5247  lt_NL2SP='tr \r\n \100\100'
5248  ;;
5249esac
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5260$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5261if ${lt_cv_to_host_file_cmd+:} false; then :
5262  $as_echo_n "(cached) " >&6
5263else
5264  case $host in
5265  *-*-mingw* )
5266    case $build in
5267      *-*-mingw* ) # actually msys
5268        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5269        ;;
5270      *-*-cygwin* )
5271        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5272        ;;
5273      * ) # otherwise, assume *nix
5274        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5275        ;;
5276    esac
5277    ;;
5278  *-*-cygwin* )
5279    case $build in
5280      *-*-mingw* ) # actually msys
5281        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5282        ;;
5283      *-*-cygwin* )
5284        lt_cv_to_host_file_cmd=func_convert_file_noop
5285        ;;
5286      * ) # otherwise, assume *nix
5287        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5288        ;;
5289    esac
5290    ;;
5291  * ) # unhandled hosts (and "normal" native builds)
5292    lt_cv_to_host_file_cmd=func_convert_file_noop
5293    ;;
5294esac
5295
5296fi
5297
5298to_host_file_cmd=$lt_cv_to_host_file_cmd
5299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5300$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5301
5302
5303
5304
5305
5306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5307$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5308if ${lt_cv_to_tool_file_cmd+:} false; then :
5309  $as_echo_n "(cached) " >&6
5310else
5311  #assume ordinary cross tools, or native build.
5312lt_cv_to_tool_file_cmd=func_convert_file_noop
5313case $host in
5314  *-*-mingw* )
5315    case $build in
5316      *-*-mingw* ) # actually msys
5317        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5318        ;;
5319    esac
5320    ;;
5321esac
5322
5323fi
5324
5325to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5327$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5328
5329
5330
5331
5332
5333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5334$as_echo_n "checking for $LD option to reload object files... " >&6; }
5335if ${lt_cv_ld_reload_flag+:} false; then :
5336  $as_echo_n "(cached) " >&6
5337else
5338  lt_cv_ld_reload_flag='-r'
5339fi
5340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5341$as_echo "$lt_cv_ld_reload_flag" >&6; }
5342reload_flag=$lt_cv_ld_reload_flag
5343case $reload_flag in
5344"" | " "*) ;;
5345*) reload_flag=" $reload_flag" ;;
5346esac
5347reload_cmds='$LD$reload_flag -o $output$reload_objs'
5348case $host_os in
5349  cygwin* | mingw* | pw32* | cegcc*)
5350    if test "$GCC" != yes; then
5351      reload_cmds=false
5352    fi
5353    ;;
5354  darwin*)
5355    if test "$GCC" = yes; then
5356      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5357    else
5358      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5359    fi
5360    ;;
5361esac
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371if test -n "$ac_tool_prefix"; then
5372  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5373set dummy ${ac_tool_prefix}objdump; ac_word=$2
5374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5375$as_echo_n "checking for $ac_word... " >&6; }
5376if ${ac_cv_prog_OBJDUMP+:} false; then :
5377  $as_echo_n "(cached) " >&6
5378else
5379  if test -n "$OBJDUMP"; then
5380  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5381else
5382as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5383for as_dir in $PATH
5384do
5385  IFS=$as_save_IFS
5386  test -z "$as_dir" && as_dir=.
5387    for ac_exec_ext in '' $ac_executable_extensions; do
5388  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5389    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5390    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5391    break 2
5392  fi
5393done
5394  done
5395IFS=$as_save_IFS
5396
5397fi
5398fi
5399OBJDUMP=$ac_cv_prog_OBJDUMP
5400if test -n "$OBJDUMP"; then
5401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5402$as_echo "$OBJDUMP" >&6; }
5403else
5404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5405$as_echo "no" >&6; }
5406fi
5407
5408
5409fi
5410if test -z "$ac_cv_prog_OBJDUMP"; then
5411  ac_ct_OBJDUMP=$OBJDUMP
5412  # Extract the first word of "objdump", so it can be a program name with args.
5413set dummy objdump; ac_word=$2
5414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5415$as_echo_n "checking for $ac_word... " >&6; }
5416if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5417  $as_echo_n "(cached) " >&6
5418else
5419  if test -n "$ac_ct_OBJDUMP"; then
5420  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5421else
5422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5423for as_dir in $PATH
5424do
5425  IFS=$as_save_IFS
5426  test -z "$as_dir" && as_dir=.
5427    for ac_exec_ext in '' $ac_executable_extensions; do
5428  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5429    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5430    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5431    break 2
5432  fi
5433done
5434  done
5435IFS=$as_save_IFS
5436
5437fi
5438fi
5439ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5440if test -n "$ac_ct_OBJDUMP"; then
5441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5442$as_echo "$ac_ct_OBJDUMP" >&6; }
5443else
5444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5445$as_echo "no" >&6; }
5446fi
5447
5448  if test "x$ac_ct_OBJDUMP" = x; then
5449    OBJDUMP="false"
5450  else
5451    case $cross_compiling:$ac_tool_warned in
5452yes:)
5453{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5454$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5455ac_tool_warned=yes ;;
5456esac
5457    OBJDUMP=$ac_ct_OBJDUMP
5458  fi
5459else
5460  OBJDUMP="$ac_cv_prog_OBJDUMP"
5461fi
5462
5463test -z "$OBJDUMP" && OBJDUMP=objdump
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5474$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5475if ${lt_cv_deplibs_check_method+:} false; then :
5476  $as_echo_n "(cached) " >&6
5477else
5478  lt_cv_file_magic_cmd='$MAGIC_CMD'
5479lt_cv_file_magic_test_file=
5480lt_cv_deplibs_check_method='unknown'
5481# Need to set the preceding variable on all platforms that support
5482# interlibrary dependencies.
5483# 'none' -- dependencies not supported.
5484# `unknown' -- same as none, but documents that we really don't know.
5485# 'pass_all' -- all dependencies passed with no checks.
5486# 'test_compile' -- check by making test program.
5487# 'file_magic [[regex]]' -- check by looking for files in library path
5488# which responds to the $file_magic_cmd with a given extended regex.
5489# If you have `file' or equivalent on your system and you're not sure
5490# whether `pass_all' will *always* work, you probably want this one.
5491
5492case $host_os in
5493aix[4-9]*)
5494  lt_cv_deplibs_check_method=pass_all
5495  ;;
5496
5497beos*)
5498  lt_cv_deplibs_check_method=pass_all
5499  ;;
5500
5501bsdi[45]*)
5502  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5503  lt_cv_file_magic_cmd='/usr/bin/file -L'
5504  lt_cv_file_magic_test_file=/shlib/libc.so
5505  ;;
5506
5507cygwin*)
5508  # func_win32_libid is a shell function defined in ltmain.sh
5509  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5510  lt_cv_file_magic_cmd='func_win32_libid'
5511  ;;
5512
5513mingw* | pw32*)
5514  # Base MSYS/MinGW do not provide the 'file' command needed by
5515  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5516  # unless we find 'file', for example because we are cross-compiling.
5517  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5518  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5519    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5520    lt_cv_file_magic_cmd='func_win32_libid'
5521  else
5522    # Keep this pattern in sync with the one in func_win32_libid.
5523    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5524    lt_cv_file_magic_cmd='$OBJDUMP -f'
5525  fi
5526  ;;
5527
5528cegcc*)
5529  # use the weaker test based on 'objdump'. See mingw*.
5530  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5531  lt_cv_file_magic_cmd='$OBJDUMP -f'
5532  ;;
5533
5534darwin* | rhapsody*)
5535  lt_cv_deplibs_check_method=pass_all
5536  ;;
5537
5538freebsd* | dragonfly*)
5539  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5540    case $host_cpu in
5541    i*86 )
5542      # Not sure whether the presence of OpenBSD here was a mistake.
5543      # Let's accept both of them until this is cleared up.
5544      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5545      lt_cv_file_magic_cmd=/usr/bin/file
5546      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5547      ;;
5548    esac
5549  else
5550    lt_cv_deplibs_check_method=pass_all
5551  fi
5552  ;;
5553
5554gnu*)
5555  lt_cv_deplibs_check_method=pass_all
5556  ;;
5557
5558haiku*)
5559  lt_cv_deplibs_check_method=pass_all
5560  ;;
5561
5562hpux10.20* | hpux11*)
5563  lt_cv_file_magic_cmd=/usr/bin/file
5564  case $host_cpu in
5565  ia64*)
5566    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5567    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5568    ;;
5569  hppa*64*)
5570    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]'
5571    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5572    ;;
5573  *)
5574    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5575    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5576    ;;
5577  esac
5578  ;;
5579
5580interix[3-9]*)
5581  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5582  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5583  ;;
5584
5585irix5* | irix6* | nonstopux*)
5586  case $LD in
5587  *-32|*"-32 ") libmagic=32-bit;;
5588  *-n32|*"-n32 ") libmagic=N32;;
5589  *-64|*"-64 ") libmagic=64-bit;;
5590  *) libmagic=never-match;;
5591  esac
5592  lt_cv_deplibs_check_method=pass_all
5593  ;;
5594
5595# This must be Linux ELF.
5596linux* | k*bsd*-gnu | kopensolaris*-gnu)
5597  lt_cv_deplibs_check_method=pass_all
5598  ;;
5599
5600netbsd*)
5601  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5602    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5603  else
5604    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5605  fi
5606  ;;
5607
5608newos6*)
5609  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5610  lt_cv_file_magic_cmd=/usr/bin/file
5611  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5612  ;;
5613
5614*nto* | *qnx*)
5615  lt_cv_deplibs_check_method=pass_all
5616  ;;
5617
5618openbsd*)
5619  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5620    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5621  else
5622    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5623  fi
5624  ;;
5625
5626osf3* | osf4* | osf5*)
5627  lt_cv_deplibs_check_method=pass_all
5628  ;;
5629
5630rdos*)
5631  lt_cv_deplibs_check_method=pass_all
5632  ;;
5633
5634solaris*)
5635  lt_cv_deplibs_check_method=pass_all
5636  ;;
5637
5638sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5639  lt_cv_deplibs_check_method=pass_all
5640  ;;
5641
5642sysv4 | sysv4.3*)
5643  case $host_vendor in
5644  motorola)
5645    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]'
5646    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5647    ;;
5648  ncr)
5649    lt_cv_deplibs_check_method=pass_all
5650    ;;
5651  sequent)
5652    lt_cv_file_magic_cmd='/bin/file'
5653    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5654    ;;
5655  sni)
5656    lt_cv_file_magic_cmd='/bin/file'
5657    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5658    lt_cv_file_magic_test_file=/lib/libc.so
5659    ;;
5660  siemens)
5661    lt_cv_deplibs_check_method=pass_all
5662    ;;
5663  pc)
5664    lt_cv_deplibs_check_method=pass_all
5665    ;;
5666  esac
5667  ;;
5668
5669tpf*)
5670  lt_cv_deplibs_check_method=pass_all
5671  ;;
5672esac
5673
5674fi
5675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5676$as_echo "$lt_cv_deplibs_check_method" >&6; }
5677
5678file_magic_glob=
5679want_nocaseglob=no
5680if test "$build" = "$host"; then
5681  case $host_os in
5682  mingw* | pw32*)
5683    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5684      want_nocaseglob=yes
5685    else
5686      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5687    fi
5688    ;;
5689  esac
5690fi
5691
5692file_magic_cmd=$lt_cv_file_magic_cmd
5693deplibs_check_method=$lt_cv_deplibs_check_method
5694test -z "$deplibs_check_method" && deplibs_check_method=unknown
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717if test -n "$ac_tool_prefix"; then
5718  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5719set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5721$as_echo_n "checking for $ac_word... " >&6; }
5722if ${ac_cv_prog_DLLTOOL+:} false; then :
5723  $as_echo_n "(cached) " >&6
5724else
5725  if test -n "$DLLTOOL"; then
5726  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5727else
5728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5729for as_dir in $PATH
5730do
5731  IFS=$as_save_IFS
5732  test -z "$as_dir" && as_dir=.
5733    for ac_exec_ext in '' $ac_executable_extensions; do
5734  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5735    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5737    break 2
5738  fi
5739done
5740  done
5741IFS=$as_save_IFS
5742
5743fi
5744fi
5745DLLTOOL=$ac_cv_prog_DLLTOOL
5746if test -n "$DLLTOOL"; then
5747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5748$as_echo "$DLLTOOL" >&6; }
5749else
5750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5751$as_echo "no" >&6; }
5752fi
5753
5754
5755fi
5756if test -z "$ac_cv_prog_DLLTOOL"; then
5757  ac_ct_DLLTOOL=$DLLTOOL
5758  # Extract the first word of "dlltool", so it can be a program name with args.
5759set dummy dlltool; ac_word=$2
5760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5761$as_echo_n "checking for $ac_word... " >&6; }
5762if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5763  $as_echo_n "(cached) " >&6
5764else
5765  if test -n "$ac_ct_DLLTOOL"; then
5766  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5767else
5768as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5769for as_dir in $PATH
5770do
5771  IFS=$as_save_IFS
5772  test -z "$as_dir" && as_dir=.
5773    for ac_exec_ext in '' $ac_executable_extensions; do
5774  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5775    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5776    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5777    break 2
5778  fi
5779done
5780  done
5781IFS=$as_save_IFS
5782
5783fi
5784fi
5785ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5786if test -n "$ac_ct_DLLTOOL"; then
5787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5788$as_echo "$ac_ct_DLLTOOL" >&6; }
5789else
5790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5791$as_echo "no" >&6; }
5792fi
5793
5794  if test "x$ac_ct_DLLTOOL" = x; then
5795    DLLTOOL="false"
5796  else
5797    case $cross_compiling:$ac_tool_warned in
5798yes:)
5799{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5800$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5801ac_tool_warned=yes ;;
5802esac
5803    DLLTOOL=$ac_ct_DLLTOOL
5804  fi
5805else
5806  DLLTOOL="$ac_cv_prog_DLLTOOL"
5807fi
5808
5809test -z "$DLLTOOL" && DLLTOOL=dlltool
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5821$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5822if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5823  $as_echo_n "(cached) " >&6
5824else
5825  lt_cv_sharedlib_from_linklib_cmd='unknown'
5826
5827case $host_os in
5828cygwin* | mingw* | pw32* | cegcc*)
5829  # two different shell functions defined in ltmain.sh
5830  # decide which to use based on capabilities of $DLLTOOL
5831  case `$DLLTOOL --help 2>&1` in
5832  *--identify-strict*)
5833    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5834    ;;
5835  *)
5836    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5837    ;;
5838  esac
5839  ;;
5840*)
5841  # fallback: assume linklib IS sharedlib
5842  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5843  ;;
5844esac
5845
5846fi
5847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5848$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5849sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5850test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5851
5852
5853
5854
5855
5856
5857
5858if test -n "$ac_tool_prefix"; then
5859  for ac_prog in ar
5860  do
5861    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5862set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5864$as_echo_n "checking for $ac_word... " >&6; }
5865if ${ac_cv_prog_AR+:} false; then :
5866  $as_echo_n "(cached) " >&6
5867else
5868  if test -n "$AR"; then
5869  ac_cv_prog_AR="$AR" # Let the user override the test.
5870else
5871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872for as_dir in $PATH
5873do
5874  IFS=$as_save_IFS
5875  test -z "$as_dir" && as_dir=.
5876    for ac_exec_ext in '' $ac_executable_extensions; do
5877  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5878    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5880    break 2
5881  fi
5882done
5883  done
5884IFS=$as_save_IFS
5885
5886fi
5887fi
5888AR=$ac_cv_prog_AR
5889if test -n "$AR"; then
5890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5891$as_echo "$AR" >&6; }
5892else
5893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5894$as_echo "no" >&6; }
5895fi
5896
5897
5898    test -n "$AR" && break
5899  done
5900fi
5901if test -z "$AR"; then
5902  ac_ct_AR=$AR
5903  for ac_prog in ar
5904do
5905  # Extract the first word of "$ac_prog", so it can be a program name with args.
5906set dummy $ac_prog; ac_word=$2
5907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5908$as_echo_n "checking for $ac_word... " >&6; }
5909if ${ac_cv_prog_ac_ct_AR+:} false; then :
5910  $as_echo_n "(cached) " >&6
5911else
5912  if test -n "$ac_ct_AR"; then
5913  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5914else
5915as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5916for as_dir in $PATH
5917do
5918  IFS=$as_save_IFS
5919  test -z "$as_dir" && as_dir=.
5920    for ac_exec_ext in '' $ac_executable_extensions; do
5921  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5922    ac_cv_prog_ac_ct_AR="$ac_prog"
5923    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5924    break 2
5925  fi
5926done
5927  done
5928IFS=$as_save_IFS
5929
5930fi
5931fi
5932ac_ct_AR=$ac_cv_prog_ac_ct_AR
5933if test -n "$ac_ct_AR"; then
5934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5935$as_echo "$ac_ct_AR" >&6; }
5936else
5937  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5938$as_echo "no" >&6; }
5939fi
5940
5941
5942  test -n "$ac_ct_AR" && break
5943done
5944
5945  if test "x$ac_ct_AR" = x; then
5946    AR="false"
5947  else
5948    case $cross_compiling:$ac_tool_warned in
5949yes:)
5950{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5951$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5952ac_tool_warned=yes ;;
5953esac
5954    AR=$ac_ct_AR
5955  fi
5956fi
5957
5958: ${AR=ar}
5959: ${AR_FLAGS=cru}
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5972$as_echo_n "checking for archiver @FILE support... " >&6; }
5973if ${lt_cv_ar_at_file+:} false; then :
5974  $as_echo_n "(cached) " >&6
5975else
5976  lt_cv_ar_at_file=no
5977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5978/* end confdefs.h.  */
5979
5980int
5981main ()
5982{
5983
5984  ;
5985  return 0;
5986}
5987_ACEOF
5988if ac_fn_c_try_compile "$LINENO"; then :
5989  echo conftest.$ac_objext > conftest.lst
5990      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5991      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5992  (eval $lt_ar_try) 2>&5
5993  ac_status=$?
5994  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5995  test $ac_status = 0; }
5996      if test "$ac_status" -eq 0; then
5997	# Ensure the archiver fails upon bogus file names.
5998	rm -f conftest.$ac_objext libconftest.a
5999	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6000  (eval $lt_ar_try) 2>&5
6001  ac_status=$?
6002  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6003  test $ac_status = 0; }
6004	if test "$ac_status" -ne 0; then
6005          lt_cv_ar_at_file=@
6006        fi
6007      fi
6008      rm -f conftest.* libconftest.a
6009
6010fi
6011rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012
6013fi
6014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6015$as_echo "$lt_cv_ar_at_file" >&6; }
6016
6017if test "x$lt_cv_ar_at_file" = xno; then
6018  archiver_list_spec=
6019else
6020  archiver_list_spec=$lt_cv_ar_at_file
6021fi
6022
6023
6024
6025
6026
6027
6028
6029if test -n "$ac_tool_prefix"; then
6030  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6031set dummy ${ac_tool_prefix}strip; ac_word=$2
6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033$as_echo_n "checking for $ac_word... " >&6; }
6034if ${ac_cv_prog_STRIP+:} false; then :
6035  $as_echo_n "(cached) " >&6
6036else
6037  if test -n "$STRIP"; then
6038  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6039else
6040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6041for as_dir in $PATH
6042do
6043  IFS=$as_save_IFS
6044  test -z "$as_dir" && as_dir=.
6045    for ac_exec_ext in '' $ac_executable_extensions; do
6046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6047    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6049    break 2
6050  fi
6051done
6052  done
6053IFS=$as_save_IFS
6054
6055fi
6056fi
6057STRIP=$ac_cv_prog_STRIP
6058if test -n "$STRIP"; then
6059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6060$as_echo "$STRIP" >&6; }
6061else
6062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6063$as_echo "no" >&6; }
6064fi
6065
6066
6067fi
6068if test -z "$ac_cv_prog_STRIP"; then
6069  ac_ct_STRIP=$STRIP
6070  # Extract the first word of "strip", so it can be a program name with args.
6071set dummy strip; ac_word=$2
6072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6073$as_echo_n "checking for $ac_word... " >&6; }
6074if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6075  $as_echo_n "(cached) " >&6
6076else
6077  if test -n "$ac_ct_STRIP"; then
6078  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6079else
6080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6081for as_dir in $PATH
6082do
6083  IFS=$as_save_IFS
6084  test -z "$as_dir" && as_dir=.
6085    for ac_exec_ext in '' $ac_executable_extensions; do
6086  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6087    ac_cv_prog_ac_ct_STRIP="strip"
6088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6089    break 2
6090  fi
6091done
6092  done
6093IFS=$as_save_IFS
6094
6095fi
6096fi
6097ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6098if test -n "$ac_ct_STRIP"; then
6099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6100$as_echo "$ac_ct_STRIP" >&6; }
6101else
6102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6103$as_echo "no" >&6; }
6104fi
6105
6106  if test "x$ac_ct_STRIP" = x; then
6107    STRIP=":"
6108  else
6109    case $cross_compiling:$ac_tool_warned in
6110yes:)
6111{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6112$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6113ac_tool_warned=yes ;;
6114esac
6115    STRIP=$ac_ct_STRIP
6116  fi
6117else
6118  STRIP="$ac_cv_prog_STRIP"
6119fi
6120
6121test -z "$STRIP" && STRIP=:
6122
6123
6124
6125
6126
6127
6128if test -n "$ac_tool_prefix"; then
6129  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6130set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6131{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6132$as_echo_n "checking for $ac_word... " >&6; }
6133if ${ac_cv_prog_RANLIB+:} false; then :
6134  $as_echo_n "(cached) " >&6
6135else
6136  if test -n "$RANLIB"; then
6137  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6138else
6139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6140for as_dir in $PATH
6141do
6142  IFS=$as_save_IFS
6143  test -z "$as_dir" && as_dir=.
6144    for ac_exec_ext in '' $ac_executable_extensions; do
6145  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6146    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6147    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6148    break 2
6149  fi
6150done
6151  done
6152IFS=$as_save_IFS
6153
6154fi
6155fi
6156RANLIB=$ac_cv_prog_RANLIB
6157if test -n "$RANLIB"; then
6158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6159$as_echo "$RANLIB" >&6; }
6160else
6161  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6162$as_echo "no" >&6; }
6163fi
6164
6165
6166fi
6167if test -z "$ac_cv_prog_RANLIB"; then
6168  ac_ct_RANLIB=$RANLIB
6169  # Extract the first word of "ranlib", so it can be a program name with args.
6170set dummy ranlib; ac_word=$2
6171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6172$as_echo_n "checking for $ac_word... " >&6; }
6173if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6174  $as_echo_n "(cached) " >&6
6175else
6176  if test -n "$ac_ct_RANLIB"; then
6177  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6178else
6179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6180for as_dir in $PATH
6181do
6182  IFS=$as_save_IFS
6183  test -z "$as_dir" && as_dir=.
6184    for ac_exec_ext in '' $ac_executable_extensions; do
6185  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186    ac_cv_prog_ac_ct_RANLIB="ranlib"
6187    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6188    break 2
6189  fi
6190done
6191  done
6192IFS=$as_save_IFS
6193
6194fi
6195fi
6196ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6197if test -n "$ac_ct_RANLIB"; then
6198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6199$as_echo "$ac_ct_RANLIB" >&6; }
6200else
6201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6202$as_echo "no" >&6; }
6203fi
6204
6205  if test "x$ac_ct_RANLIB" = x; then
6206    RANLIB=":"
6207  else
6208    case $cross_compiling:$ac_tool_warned in
6209yes:)
6210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6212ac_tool_warned=yes ;;
6213esac
6214    RANLIB=$ac_ct_RANLIB
6215  fi
6216else
6217  RANLIB="$ac_cv_prog_RANLIB"
6218fi
6219
6220test -z "$RANLIB" && RANLIB=:
6221
6222
6223
6224
6225
6226
6227# Determine commands to create old-style static archives.
6228old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6229old_postinstall_cmds='chmod 644 $oldlib'
6230old_postuninstall_cmds=
6231
6232if test -n "$RANLIB"; then
6233  case $host_os in
6234  openbsd*)
6235    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6236    ;;
6237  *)
6238    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6239    ;;
6240  esac
6241  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6242fi
6243
6244case $host_os in
6245  darwin*)
6246    lock_old_archive_extraction=yes ;;
6247  *)
6248    lock_old_archive_extraction=no ;;
6249esac
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289# If no C compiler was specified, use CC.
6290LTCC=${LTCC-"$CC"}
6291
6292# If no C compiler flags were specified, use CFLAGS.
6293LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6294
6295# Allow CC to be a program name with arguments.
6296compiler=$CC
6297
6298
6299# Check for command to grab the raw symbol name followed by C symbol from nm.
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6301$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6302if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6303  $as_echo_n "(cached) " >&6
6304else
6305
6306# These are sane defaults that work on at least a few old systems.
6307# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6308
6309# Character class describing NM global symbol codes.
6310symcode='[BCDEGRST]'
6311
6312# Regexp to match symbols that can be accessed directly from C.
6313sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6314
6315# Define system-specific variables.
6316case $host_os in
6317aix*)
6318  symcode='[BCDT]'
6319  ;;
6320cygwin* | mingw* | pw32* | cegcc*)
6321  symcode='[ABCDGISTW]'
6322  ;;
6323hpux*)
6324  if test "$host_cpu" = ia64; then
6325    symcode='[ABCDEGRST]'
6326  fi
6327  ;;
6328irix* | nonstopux*)
6329  symcode='[BCDEGRST]'
6330  ;;
6331osf*)
6332  symcode='[BCDEGQRST]'
6333  ;;
6334solaris*)
6335  symcode='[BDRT]'
6336  ;;
6337sco3.2v5*)
6338  symcode='[DT]'
6339  ;;
6340sysv4.2uw2*)
6341  symcode='[DT]'
6342  ;;
6343sysv5* | sco5v6* | unixware* | OpenUNIX*)
6344  symcode='[ABDT]'
6345  ;;
6346sysv4)
6347  symcode='[DFNSTU]'
6348  ;;
6349esac
6350
6351# If we're using GNU nm, then use its standard symbol codes.
6352case `$NM -V 2>&1` in
6353*GNU* | *'with BFD'*)
6354  symcode='[ABCDGIRSTW]' ;;
6355esac
6356
6357# Transform an extracted symbol line into a proper C declaration.
6358# Some systems (esp. on ia64) link data and code symbols differently,
6359# so use this general approach.
6360lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6361
6362# Transform an extracted symbol line into symbol name and symbol address
6363lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6364lt_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'"
6365
6366# Handle CRLF in mingw tool chain
6367opt_cr=
6368case $build_os in
6369mingw*)
6370  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6371  ;;
6372esac
6373
6374# Try without a prefix underscore, then with it.
6375for ac_symprfx in "" "_"; do
6376
6377  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6378  symxfrm="\\1 $ac_symprfx\\2 \\2"
6379
6380  # Write the raw and C identifiers.
6381  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6382    # Fake it for dumpbin and say T for any non-static function
6383    # and D for any global variable.
6384    # Also find C++ and __fastcall symbols from MSVC++,
6385    # which start with @ or ?.
6386    lt_cv_sys_global_symbol_pipe="$AWK '"\
6387"     {last_section=section; section=\$ 3};"\
6388"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6389"     \$ 0!~/External *\|/{next};"\
6390"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6391"     {if(hide[section]) next};"\
6392"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6393"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6394"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6395"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6396"     ' prfx=^$ac_symprfx"
6397  else
6398    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6399  fi
6400  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6401
6402  # Check to see that the pipe works correctly.
6403  pipe_works=no
6404
6405  rm -f conftest*
6406  cat > conftest.$ac_ext <<_LT_EOF
6407#ifdef __cplusplus
6408extern "C" {
6409#endif
6410char nm_test_var;
6411void nm_test_func(void);
6412void nm_test_func(void){}
6413#ifdef __cplusplus
6414}
6415#endif
6416int main(){nm_test_var='a';nm_test_func();return(0);}
6417_LT_EOF
6418
6419  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6420  (eval $ac_compile) 2>&5
6421  ac_status=$?
6422  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6423  test $ac_status = 0; }; then
6424    # Now try to grab the symbols.
6425    nlist=conftest.nm
6426    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6427  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6428  ac_status=$?
6429  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6430  test $ac_status = 0; } && test -s "$nlist"; then
6431      # Try sorting and uniquifying the output.
6432      if sort "$nlist" | uniq > "$nlist"T; then
6433	mv -f "$nlist"T "$nlist"
6434      else
6435	rm -f "$nlist"T
6436      fi
6437
6438      # Make sure that we snagged all the symbols we need.
6439      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6440	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6441	  cat <<_LT_EOF > conftest.$ac_ext
6442/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6443#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6444/* DATA imports from DLLs on WIN32 con't be const, because runtime
6445   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6446# define LT_DLSYM_CONST
6447#elif defined(__osf__)
6448/* This system does not cope well with relocations in const data.  */
6449# define LT_DLSYM_CONST
6450#else
6451# define LT_DLSYM_CONST const
6452#endif
6453
6454#ifdef __cplusplus
6455extern "C" {
6456#endif
6457
6458_LT_EOF
6459	  # Now generate the symbol file.
6460	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6461
6462	  cat <<_LT_EOF >> conftest.$ac_ext
6463
6464/* The mapping between symbol names and symbols.  */
6465LT_DLSYM_CONST struct {
6466  const char *name;
6467  void       *address;
6468}
6469lt__PROGRAM__LTX_preloaded_symbols[] =
6470{
6471  { "@PROGRAM@", (void *) 0 },
6472_LT_EOF
6473	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6474	  cat <<\_LT_EOF >> conftest.$ac_ext
6475  {0, (void *) 0}
6476};
6477
6478/* This works around a problem in FreeBSD linker */
6479#ifdef FREEBSD_WORKAROUND
6480static const void *lt_preloaded_setup() {
6481  return lt__PROGRAM__LTX_preloaded_symbols;
6482}
6483#endif
6484
6485#ifdef __cplusplus
6486}
6487#endif
6488_LT_EOF
6489	  # Now try linking the two files.
6490	  mv conftest.$ac_objext conftstm.$ac_objext
6491	  lt_globsym_save_LIBS=$LIBS
6492	  lt_globsym_save_CFLAGS=$CFLAGS
6493	  LIBS="conftstm.$ac_objext"
6494	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6495	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6496  (eval $ac_link) 2>&5
6497  ac_status=$?
6498  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6499  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6500	    pipe_works=yes
6501	  fi
6502	  LIBS=$lt_globsym_save_LIBS
6503	  CFLAGS=$lt_globsym_save_CFLAGS
6504	else
6505	  echo "cannot find nm_test_func in $nlist" >&5
6506	fi
6507      else
6508	echo "cannot find nm_test_var in $nlist" >&5
6509      fi
6510    else
6511      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6512    fi
6513  else
6514    echo "$progname: failed program was:" >&5
6515    cat conftest.$ac_ext >&5
6516  fi
6517  rm -rf conftest* conftst*
6518
6519  # Do not use the global_symbol_pipe unless it works.
6520  if test "$pipe_works" = yes; then
6521    break
6522  else
6523    lt_cv_sys_global_symbol_pipe=
6524  fi
6525done
6526
6527fi
6528
6529if test -z "$lt_cv_sys_global_symbol_pipe"; then
6530  lt_cv_sys_global_symbol_to_cdecl=
6531fi
6532if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6534$as_echo "failed" >&6; }
6535else
6536  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6537$as_echo "ok" >&6; }
6538fi
6539
6540# Response file support.
6541if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6542  nm_file_list_spec='@'
6543elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6544  nm_file_list_spec='@'
6545fi
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6574$as_echo_n "checking for sysroot... " >&6; }
6575
6576# Check whether --with-sysroot was given.
6577if test "${with_sysroot+set}" = set; then :
6578  withval=$with_sysroot;
6579else
6580  with_sysroot=no
6581fi
6582
6583
6584lt_sysroot=
6585case ${with_sysroot} in #(
6586 yes)
6587   if test "$GCC" = yes; then
6588     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6589   fi
6590   ;; #(
6591 /*)
6592   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6593   ;; #(
6594 no|'')
6595   ;; #(
6596 *)
6597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6598$as_echo "${with_sysroot}" >&6; }
6599   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6600   ;;
6601esac
6602
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6604$as_echo "${lt_sysroot:-no}" >&6; }
6605
6606
6607
6608
6609
6610# Check whether --enable-libtool-lock was given.
6611if test "${enable_libtool_lock+set}" = set; then :
6612  enableval=$enable_libtool_lock;
6613fi
6614
6615test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6616
6617# Some flags need to be propagated to the compiler or linker for good
6618# libtool support.
6619case $host in
6620ia64-*-hpux*)
6621  # Find out which ABI we are using.
6622  echo 'int i;' > conftest.$ac_ext
6623  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6624  (eval $ac_compile) 2>&5
6625  ac_status=$?
6626  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6627  test $ac_status = 0; }; then
6628    case `/usr/bin/file conftest.$ac_objext` in
6629      *ELF-32*)
6630	HPUX_IA64_MODE="32"
6631	;;
6632      *ELF-64*)
6633	HPUX_IA64_MODE="64"
6634	;;
6635    esac
6636  fi
6637  rm -rf conftest*
6638  ;;
6639*-*-irix6*)
6640  # Find out which ABI we are using.
6641  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6642  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6643  (eval $ac_compile) 2>&5
6644  ac_status=$?
6645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6646  test $ac_status = 0; }; then
6647    if test "$lt_cv_prog_gnu_ld" = yes; then
6648      case `/usr/bin/file conftest.$ac_objext` in
6649	*32-bit*)
6650	  LD="${LD-ld} -melf32bsmip"
6651	  ;;
6652	*N32*)
6653	  LD="${LD-ld} -melf32bmipn32"
6654	  ;;
6655	*64-bit*)
6656	  LD="${LD-ld} -melf64bmip"
6657	;;
6658      esac
6659    else
6660      case `/usr/bin/file conftest.$ac_objext` in
6661	*32-bit*)
6662	  LD="${LD-ld} -32"
6663	  ;;
6664	*N32*)
6665	  LD="${LD-ld} -n32"
6666	  ;;
6667	*64-bit*)
6668	  LD="${LD-ld} -64"
6669	  ;;
6670      esac
6671    fi
6672  fi
6673  rm -rf conftest*
6674  ;;
6675
6676x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6677s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6678  # Find out which ABI we are using.
6679  echo 'int i;' > conftest.$ac_ext
6680  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6681  (eval $ac_compile) 2>&5
6682  ac_status=$?
6683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6684  test $ac_status = 0; }; then
6685    case `/usr/bin/file conftest.o` in
6686      *32-bit*)
6687	case $host in
6688	  x86_64-*kfreebsd*-gnu)
6689	    LD="${LD-ld} -m elf_i386_fbsd"
6690	    ;;
6691	  x86_64-*linux*)
6692	    LD="${LD-ld} -m elf_i386"
6693	    ;;
6694	  ppc64-*linux*|powerpc64-*linux*)
6695	    LD="${LD-ld} -m elf32ppclinux"
6696	    ;;
6697	  s390x-*linux*)
6698	    LD="${LD-ld} -m elf_s390"
6699	    ;;
6700	  sparc64-*linux*)
6701	    LD="${LD-ld} -m elf32_sparc"
6702	    ;;
6703	esac
6704	;;
6705      *64-bit*)
6706	case $host in
6707	  x86_64-*kfreebsd*-gnu)
6708	    LD="${LD-ld} -m elf_x86_64_fbsd"
6709	    ;;
6710	  x86_64-*linux*)
6711	    LD="${LD-ld} -m elf_x86_64"
6712	    ;;
6713	  ppc*-*linux*|powerpc*-*linux*)
6714	    LD="${LD-ld} -m elf64ppc"
6715	    ;;
6716	  s390*-*linux*|s390*-*tpf*)
6717	    LD="${LD-ld} -m elf64_s390"
6718	    ;;
6719	  sparc*-*linux*)
6720	    LD="${LD-ld} -m elf64_sparc"
6721	    ;;
6722	esac
6723	;;
6724    esac
6725  fi
6726  rm -rf conftest*
6727  ;;
6728
6729*-*-sco3.2v5*)
6730  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6731  SAVE_CFLAGS="$CFLAGS"
6732  CFLAGS="$CFLAGS -belf"
6733  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6734$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6735if ${lt_cv_cc_needs_belf+:} false; then :
6736  $as_echo_n "(cached) " >&6
6737else
6738  ac_ext=c
6739ac_cpp='$CPP $CPPFLAGS'
6740ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6741ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6742ac_compiler_gnu=$ac_cv_c_compiler_gnu
6743
6744     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6745/* end confdefs.h.  */
6746
6747int
6748main ()
6749{
6750
6751  ;
6752  return 0;
6753}
6754_ACEOF
6755if ac_fn_c_try_link "$LINENO"; then :
6756  lt_cv_cc_needs_belf=yes
6757else
6758  lt_cv_cc_needs_belf=no
6759fi
6760rm -f core conftest.err conftest.$ac_objext \
6761    conftest$ac_exeext conftest.$ac_ext
6762     ac_ext=c
6763ac_cpp='$CPP $CPPFLAGS'
6764ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6765ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6766ac_compiler_gnu=$ac_cv_c_compiler_gnu
6767
6768fi
6769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6770$as_echo "$lt_cv_cc_needs_belf" >&6; }
6771  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6772    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6773    CFLAGS="$SAVE_CFLAGS"
6774  fi
6775  ;;
6776sparc*-*solaris*)
6777  # Find out which ABI we are using.
6778  echo 'int i;' > conftest.$ac_ext
6779  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6780  (eval $ac_compile) 2>&5
6781  ac_status=$?
6782  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6783  test $ac_status = 0; }; then
6784    case `/usr/bin/file conftest.o` in
6785    *64-bit*)
6786      case $lt_cv_prog_gnu_ld in
6787      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6788      *)
6789	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6790	  LD="${LD-ld} -64"
6791	fi
6792	;;
6793      esac
6794      ;;
6795    esac
6796  fi
6797  rm -rf conftest*
6798  ;;
6799esac
6800
6801need_locks="$enable_libtool_lock"
6802
6803if test -n "$ac_tool_prefix"; then
6804  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6805set dummy ${ac_tool_prefix}mt; ac_word=$2
6806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6807$as_echo_n "checking for $ac_word... " >&6; }
6808if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6809  $as_echo_n "(cached) " >&6
6810else
6811  if test -n "$MANIFEST_TOOL"; then
6812  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6813else
6814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6815for as_dir in $PATH
6816do
6817  IFS=$as_save_IFS
6818  test -z "$as_dir" && as_dir=.
6819    for ac_exec_ext in '' $ac_executable_extensions; do
6820  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6821    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6822    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6823    break 2
6824  fi
6825done
6826  done
6827IFS=$as_save_IFS
6828
6829fi
6830fi
6831MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6832if test -n "$MANIFEST_TOOL"; then
6833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6834$as_echo "$MANIFEST_TOOL" >&6; }
6835else
6836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6837$as_echo "no" >&6; }
6838fi
6839
6840
6841fi
6842if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6843  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6844  # Extract the first word of "mt", so it can be a program name with args.
6845set dummy mt; ac_word=$2
6846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847$as_echo_n "checking for $ac_word... " >&6; }
6848if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6849  $as_echo_n "(cached) " >&6
6850else
6851  if test -n "$ac_ct_MANIFEST_TOOL"; then
6852  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6853else
6854as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6855for as_dir in $PATH
6856do
6857  IFS=$as_save_IFS
6858  test -z "$as_dir" && as_dir=.
6859    for ac_exec_ext in '' $ac_executable_extensions; do
6860  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6861    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6862    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6863    break 2
6864  fi
6865done
6866  done
6867IFS=$as_save_IFS
6868
6869fi
6870fi
6871ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6872if test -n "$ac_ct_MANIFEST_TOOL"; then
6873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6874$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6875else
6876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877$as_echo "no" >&6; }
6878fi
6879
6880  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6881    MANIFEST_TOOL=":"
6882  else
6883    case $cross_compiling:$ac_tool_warned in
6884yes:)
6885{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6886$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6887ac_tool_warned=yes ;;
6888esac
6889    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6890  fi
6891else
6892  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6893fi
6894
6895test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6897$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6898if ${lt_cv_path_mainfest_tool+:} false; then :
6899  $as_echo_n "(cached) " >&6
6900else
6901  lt_cv_path_mainfest_tool=no
6902  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6903  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6904  cat conftest.err >&5
6905  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6906    lt_cv_path_mainfest_tool=yes
6907  fi
6908  rm -f conftest*
6909fi
6910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6911$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6912if test "x$lt_cv_path_mainfest_tool" != xyes; then
6913  MANIFEST_TOOL=:
6914fi
6915
6916
6917
6918
6919
6920
6921  case $host_os in
6922    rhapsody* | darwin*)
6923    if test -n "$ac_tool_prefix"; then
6924  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6925set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6927$as_echo_n "checking for $ac_word... " >&6; }
6928if ${ac_cv_prog_DSYMUTIL+:} false; then :
6929  $as_echo_n "(cached) " >&6
6930else
6931  if test -n "$DSYMUTIL"; then
6932  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6933else
6934as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6935for as_dir in $PATH
6936do
6937  IFS=$as_save_IFS
6938  test -z "$as_dir" && as_dir=.
6939    for ac_exec_ext in '' $ac_executable_extensions; do
6940  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6941    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6942    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6943    break 2
6944  fi
6945done
6946  done
6947IFS=$as_save_IFS
6948
6949fi
6950fi
6951DSYMUTIL=$ac_cv_prog_DSYMUTIL
6952if test -n "$DSYMUTIL"; then
6953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6954$as_echo "$DSYMUTIL" >&6; }
6955else
6956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6957$as_echo "no" >&6; }
6958fi
6959
6960
6961fi
6962if test -z "$ac_cv_prog_DSYMUTIL"; then
6963  ac_ct_DSYMUTIL=$DSYMUTIL
6964  # Extract the first word of "dsymutil", so it can be a program name with args.
6965set dummy dsymutil; ac_word=$2
6966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6967$as_echo_n "checking for $ac_word... " >&6; }
6968if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6969  $as_echo_n "(cached) " >&6
6970else
6971  if test -n "$ac_ct_DSYMUTIL"; then
6972  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6973else
6974as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6975for as_dir in $PATH
6976do
6977  IFS=$as_save_IFS
6978  test -z "$as_dir" && as_dir=.
6979    for ac_exec_ext in '' $ac_executable_extensions; do
6980  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6981    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6982    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6983    break 2
6984  fi
6985done
6986  done
6987IFS=$as_save_IFS
6988
6989fi
6990fi
6991ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6992if test -n "$ac_ct_DSYMUTIL"; then
6993  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6994$as_echo "$ac_ct_DSYMUTIL" >&6; }
6995else
6996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6997$as_echo "no" >&6; }
6998fi
6999
7000  if test "x$ac_ct_DSYMUTIL" = x; then
7001    DSYMUTIL=":"
7002  else
7003    case $cross_compiling:$ac_tool_warned in
7004yes:)
7005{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7006$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7007ac_tool_warned=yes ;;
7008esac
7009    DSYMUTIL=$ac_ct_DSYMUTIL
7010  fi
7011else
7012  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7013fi
7014
7015    if test -n "$ac_tool_prefix"; then
7016  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7017set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7019$as_echo_n "checking for $ac_word... " >&6; }
7020if ${ac_cv_prog_NMEDIT+:} false; then :
7021  $as_echo_n "(cached) " >&6
7022else
7023  if test -n "$NMEDIT"; then
7024  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7025else
7026as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7027for as_dir in $PATH
7028do
7029  IFS=$as_save_IFS
7030  test -z "$as_dir" && as_dir=.
7031    for ac_exec_ext in '' $ac_executable_extensions; do
7032  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7033    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7034    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7035    break 2
7036  fi
7037done
7038  done
7039IFS=$as_save_IFS
7040
7041fi
7042fi
7043NMEDIT=$ac_cv_prog_NMEDIT
7044if test -n "$NMEDIT"; then
7045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7046$as_echo "$NMEDIT" >&6; }
7047else
7048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7049$as_echo "no" >&6; }
7050fi
7051
7052
7053fi
7054if test -z "$ac_cv_prog_NMEDIT"; then
7055  ac_ct_NMEDIT=$NMEDIT
7056  # Extract the first word of "nmedit", so it can be a program name with args.
7057set dummy nmedit; ac_word=$2
7058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7059$as_echo_n "checking for $ac_word... " >&6; }
7060if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7061  $as_echo_n "(cached) " >&6
7062else
7063  if test -n "$ac_ct_NMEDIT"; then
7064  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7065else
7066as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7067for as_dir in $PATH
7068do
7069  IFS=$as_save_IFS
7070  test -z "$as_dir" && as_dir=.
7071    for ac_exec_ext in '' $ac_executable_extensions; do
7072  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7073    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7074    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7075    break 2
7076  fi
7077done
7078  done
7079IFS=$as_save_IFS
7080
7081fi
7082fi
7083ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7084if test -n "$ac_ct_NMEDIT"; then
7085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7086$as_echo "$ac_ct_NMEDIT" >&6; }
7087else
7088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7089$as_echo "no" >&6; }
7090fi
7091
7092  if test "x$ac_ct_NMEDIT" = x; then
7093    NMEDIT=":"
7094  else
7095    case $cross_compiling:$ac_tool_warned in
7096yes:)
7097{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7098$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7099ac_tool_warned=yes ;;
7100esac
7101    NMEDIT=$ac_ct_NMEDIT
7102  fi
7103else
7104  NMEDIT="$ac_cv_prog_NMEDIT"
7105fi
7106
7107    if test -n "$ac_tool_prefix"; then
7108  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7109set dummy ${ac_tool_prefix}lipo; ac_word=$2
7110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7111$as_echo_n "checking for $ac_word... " >&6; }
7112if ${ac_cv_prog_LIPO+:} false; then :
7113  $as_echo_n "(cached) " >&6
7114else
7115  if test -n "$LIPO"; then
7116  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7117else
7118as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7119for as_dir in $PATH
7120do
7121  IFS=$as_save_IFS
7122  test -z "$as_dir" && as_dir=.
7123    for ac_exec_ext in '' $ac_executable_extensions; do
7124  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7125    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7127    break 2
7128  fi
7129done
7130  done
7131IFS=$as_save_IFS
7132
7133fi
7134fi
7135LIPO=$ac_cv_prog_LIPO
7136if test -n "$LIPO"; then
7137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7138$as_echo "$LIPO" >&6; }
7139else
7140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7141$as_echo "no" >&6; }
7142fi
7143
7144
7145fi
7146if test -z "$ac_cv_prog_LIPO"; then
7147  ac_ct_LIPO=$LIPO
7148  # Extract the first word of "lipo", so it can be a program name with args.
7149set dummy lipo; ac_word=$2
7150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7151$as_echo_n "checking for $ac_word... " >&6; }
7152if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7153  $as_echo_n "(cached) " >&6
7154else
7155  if test -n "$ac_ct_LIPO"; then
7156  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7157else
7158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159for as_dir in $PATH
7160do
7161  IFS=$as_save_IFS
7162  test -z "$as_dir" && as_dir=.
7163    for ac_exec_ext in '' $ac_executable_extensions; do
7164  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7165    ac_cv_prog_ac_ct_LIPO="lipo"
7166    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7167    break 2
7168  fi
7169done
7170  done
7171IFS=$as_save_IFS
7172
7173fi
7174fi
7175ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7176if test -n "$ac_ct_LIPO"; then
7177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7178$as_echo "$ac_ct_LIPO" >&6; }
7179else
7180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7181$as_echo "no" >&6; }
7182fi
7183
7184  if test "x$ac_ct_LIPO" = x; then
7185    LIPO=":"
7186  else
7187    case $cross_compiling:$ac_tool_warned in
7188yes:)
7189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7191ac_tool_warned=yes ;;
7192esac
7193    LIPO=$ac_ct_LIPO
7194  fi
7195else
7196  LIPO="$ac_cv_prog_LIPO"
7197fi
7198
7199    if test -n "$ac_tool_prefix"; then
7200  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7201set dummy ${ac_tool_prefix}otool; ac_word=$2
7202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7203$as_echo_n "checking for $ac_word... " >&6; }
7204if ${ac_cv_prog_OTOOL+:} false; then :
7205  $as_echo_n "(cached) " >&6
7206else
7207  if test -n "$OTOOL"; then
7208  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7209else
7210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7211for as_dir in $PATH
7212do
7213  IFS=$as_save_IFS
7214  test -z "$as_dir" && as_dir=.
7215    for ac_exec_ext in '' $ac_executable_extensions; do
7216  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7217    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7218    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7219    break 2
7220  fi
7221done
7222  done
7223IFS=$as_save_IFS
7224
7225fi
7226fi
7227OTOOL=$ac_cv_prog_OTOOL
7228if test -n "$OTOOL"; then
7229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7230$as_echo "$OTOOL" >&6; }
7231else
7232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7233$as_echo "no" >&6; }
7234fi
7235
7236
7237fi
7238if test -z "$ac_cv_prog_OTOOL"; then
7239  ac_ct_OTOOL=$OTOOL
7240  # Extract the first word of "otool", so it can be a program name with args.
7241set dummy otool; ac_word=$2
7242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7243$as_echo_n "checking for $ac_word... " >&6; }
7244if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7245  $as_echo_n "(cached) " >&6
7246else
7247  if test -n "$ac_ct_OTOOL"; then
7248  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7249else
7250as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7251for as_dir in $PATH
7252do
7253  IFS=$as_save_IFS
7254  test -z "$as_dir" && as_dir=.
7255    for ac_exec_ext in '' $ac_executable_extensions; do
7256  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7257    ac_cv_prog_ac_ct_OTOOL="otool"
7258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7259    break 2
7260  fi
7261done
7262  done
7263IFS=$as_save_IFS
7264
7265fi
7266fi
7267ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7268if test -n "$ac_ct_OTOOL"; then
7269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7270$as_echo "$ac_ct_OTOOL" >&6; }
7271else
7272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7273$as_echo "no" >&6; }
7274fi
7275
7276  if test "x$ac_ct_OTOOL" = x; then
7277    OTOOL=":"
7278  else
7279    case $cross_compiling:$ac_tool_warned in
7280yes:)
7281{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7282$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7283ac_tool_warned=yes ;;
7284esac
7285    OTOOL=$ac_ct_OTOOL
7286  fi
7287else
7288  OTOOL="$ac_cv_prog_OTOOL"
7289fi
7290
7291    if test -n "$ac_tool_prefix"; then
7292  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7293set dummy ${ac_tool_prefix}otool64; ac_word=$2
7294{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7295$as_echo_n "checking for $ac_word... " >&6; }
7296if ${ac_cv_prog_OTOOL64+:} false; then :
7297  $as_echo_n "(cached) " >&6
7298else
7299  if test -n "$OTOOL64"; then
7300  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7301else
7302as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7303for as_dir in $PATH
7304do
7305  IFS=$as_save_IFS
7306  test -z "$as_dir" && as_dir=.
7307    for ac_exec_ext in '' $ac_executable_extensions; do
7308  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7309    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7311    break 2
7312  fi
7313done
7314  done
7315IFS=$as_save_IFS
7316
7317fi
7318fi
7319OTOOL64=$ac_cv_prog_OTOOL64
7320if test -n "$OTOOL64"; then
7321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7322$as_echo "$OTOOL64" >&6; }
7323else
7324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7325$as_echo "no" >&6; }
7326fi
7327
7328
7329fi
7330if test -z "$ac_cv_prog_OTOOL64"; then
7331  ac_ct_OTOOL64=$OTOOL64
7332  # Extract the first word of "otool64", so it can be a program name with args.
7333set dummy otool64; ac_word=$2
7334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335$as_echo_n "checking for $ac_word... " >&6; }
7336if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7337  $as_echo_n "(cached) " >&6
7338else
7339  if test -n "$ac_ct_OTOOL64"; then
7340  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7341else
7342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7343for as_dir in $PATH
7344do
7345  IFS=$as_save_IFS
7346  test -z "$as_dir" && as_dir=.
7347    for ac_exec_ext in '' $ac_executable_extensions; do
7348  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7349    ac_cv_prog_ac_ct_OTOOL64="otool64"
7350    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7351    break 2
7352  fi
7353done
7354  done
7355IFS=$as_save_IFS
7356
7357fi
7358fi
7359ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7360if test -n "$ac_ct_OTOOL64"; then
7361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7362$as_echo "$ac_ct_OTOOL64" >&6; }
7363else
7364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7365$as_echo "no" >&6; }
7366fi
7367
7368  if test "x$ac_ct_OTOOL64" = x; then
7369    OTOOL64=":"
7370  else
7371    case $cross_compiling:$ac_tool_warned in
7372yes:)
7373{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7374$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7375ac_tool_warned=yes ;;
7376esac
7377    OTOOL64=$ac_ct_OTOOL64
7378  fi
7379else
7380  OTOOL64="$ac_cv_prog_OTOOL64"
7381fi
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7410$as_echo_n "checking for -single_module linker flag... " >&6; }
7411if ${lt_cv_apple_cc_single_mod+:} false; then :
7412  $as_echo_n "(cached) " >&6
7413else
7414  lt_cv_apple_cc_single_mod=no
7415      if test -z "${LT_MULTI_MODULE}"; then
7416	# By default we will add the -single_module flag. You can override
7417	# by either setting the environment variable LT_MULTI_MODULE
7418	# non-empty at configure time, or by adding -multi_module to the
7419	# link flags.
7420	rm -rf libconftest.dylib*
7421	echo "int foo(void){return 1;}" > conftest.c
7422	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7423-dynamiclib -Wl,-single_module conftest.c" >&5
7424	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7425	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7426        _lt_result=$?
7427	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7428	  lt_cv_apple_cc_single_mod=yes
7429	else
7430	  cat conftest.err >&5
7431	fi
7432	rm -rf libconftest.dylib*
7433	rm -f conftest.*
7434      fi
7435fi
7436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7437$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7438    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7439$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7440if ${lt_cv_ld_exported_symbols_list+:} false; then :
7441  $as_echo_n "(cached) " >&6
7442else
7443  lt_cv_ld_exported_symbols_list=no
7444      save_LDFLAGS=$LDFLAGS
7445      echo "_main" > conftest.sym
7446      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7447      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7448/* end confdefs.h.  */
7449
7450int
7451main ()
7452{
7453
7454  ;
7455  return 0;
7456}
7457_ACEOF
7458if ac_fn_c_try_link "$LINENO"; then :
7459  lt_cv_ld_exported_symbols_list=yes
7460else
7461  lt_cv_ld_exported_symbols_list=no
7462fi
7463rm -f core conftest.err conftest.$ac_objext \
7464    conftest$ac_exeext conftest.$ac_ext
7465	LDFLAGS="$save_LDFLAGS"
7466
7467fi
7468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7469$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7470    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7471$as_echo_n "checking for -force_load linker flag... " >&6; }
7472if ${lt_cv_ld_force_load+:} false; then :
7473  $as_echo_n "(cached) " >&6
7474else
7475  lt_cv_ld_force_load=no
7476      cat > conftest.c << _LT_EOF
7477int forced_loaded() { return 2;}
7478_LT_EOF
7479      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7480      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7481      echo "$AR cru libconftest.a conftest.o" >&5
7482      $AR cru libconftest.a conftest.o 2>&5
7483      echo "$RANLIB libconftest.a" >&5
7484      $RANLIB libconftest.a 2>&5
7485      cat > conftest.c << _LT_EOF
7486int main() { return 0;}
7487_LT_EOF
7488      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7489      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7490      _lt_result=$?
7491      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7492	lt_cv_ld_force_load=yes
7493      else
7494	cat conftest.err >&5
7495      fi
7496        rm -f conftest.err libconftest.a conftest conftest.c
7497        rm -rf conftest.dSYM
7498
7499fi
7500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7501$as_echo "$lt_cv_ld_force_load" >&6; }
7502    case $host_os in
7503    rhapsody* | darwin1.[012])
7504      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7505    darwin1.*)
7506      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7507    darwin*) # darwin 5.x on
7508      # if running on 10.5 or later, the deployment target defaults
7509      # to the OS version, if on x86, and 10.4, the deployment
7510      # target defaults to 10.4. Don't you love it?
7511      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7512	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7513	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7514	10.[012]*)
7515	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7516	10.*)
7517	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7518      esac
7519    ;;
7520  esac
7521    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7522      _lt_dar_single_mod='$single_module'
7523    fi
7524    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7525      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7526    else
7527      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7528    fi
7529    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7530      _lt_dsymutil='~$DSYMUTIL $lib || :'
7531    else
7532      _lt_dsymutil=
7533    fi
7534    ;;
7535  esac
7536
7537ac_ext=c
7538ac_cpp='$CPP $CPPFLAGS'
7539ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7540ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7541ac_compiler_gnu=$ac_cv_c_compiler_gnu
7542{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7543$as_echo_n "checking how to run the C preprocessor... " >&6; }
7544# On Suns, sometimes $CPP names a directory.
7545if test -n "$CPP" && test -d "$CPP"; then
7546  CPP=
7547fi
7548if test -z "$CPP"; then
7549  if ${ac_cv_prog_CPP+:} false; then :
7550  $as_echo_n "(cached) " >&6
7551else
7552      # Double quotes because CPP needs to be expanded
7553    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7554    do
7555      ac_preproc_ok=false
7556for ac_c_preproc_warn_flag in '' yes
7557do
7558  # Use a header file that comes with gcc, so configuring glibc
7559  # with a fresh cross-compiler works.
7560  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7561  # <limits.h> exists even on freestanding compilers.
7562  # On the NeXT, cc -E runs the code through the compiler's parser,
7563  # not just through cpp. "Syntax error" is here to catch this case.
7564  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7565/* end confdefs.h.  */
7566#ifdef __STDC__
7567# include <limits.h>
7568#else
7569# include <assert.h>
7570#endif
7571		     Syntax error
7572_ACEOF
7573if ac_fn_c_try_cpp "$LINENO"; then :
7574
7575else
7576  # Broken: fails on valid input.
7577continue
7578fi
7579rm -f conftest.err conftest.i conftest.$ac_ext
7580
7581  # OK, works on sane cases.  Now check whether nonexistent headers
7582  # can be detected and how.
7583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7584/* end confdefs.h.  */
7585#include <ac_nonexistent.h>
7586_ACEOF
7587if ac_fn_c_try_cpp "$LINENO"; then :
7588  # Broken: success on invalid input.
7589continue
7590else
7591  # Passes both tests.
7592ac_preproc_ok=:
7593break
7594fi
7595rm -f conftest.err conftest.i conftest.$ac_ext
7596
7597done
7598# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7599rm -f conftest.i conftest.err conftest.$ac_ext
7600if $ac_preproc_ok; then :
7601  break
7602fi
7603
7604    done
7605    ac_cv_prog_CPP=$CPP
7606
7607fi
7608  CPP=$ac_cv_prog_CPP
7609else
7610  ac_cv_prog_CPP=$CPP
7611fi
7612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7613$as_echo "$CPP" >&6; }
7614ac_preproc_ok=false
7615for ac_c_preproc_warn_flag in '' yes
7616do
7617  # Use a header file that comes with gcc, so configuring glibc
7618  # with a fresh cross-compiler works.
7619  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7620  # <limits.h> exists even on freestanding compilers.
7621  # On the NeXT, cc -E runs the code through the compiler's parser,
7622  # not just through cpp. "Syntax error" is here to catch this case.
7623  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7624/* end confdefs.h.  */
7625#ifdef __STDC__
7626# include <limits.h>
7627#else
7628# include <assert.h>
7629#endif
7630		     Syntax error
7631_ACEOF
7632if ac_fn_c_try_cpp "$LINENO"; then :
7633
7634else
7635  # Broken: fails on valid input.
7636continue
7637fi
7638rm -f conftest.err conftest.i conftest.$ac_ext
7639
7640  # OK, works on sane cases.  Now check whether nonexistent headers
7641  # can be detected and how.
7642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7643/* end confdefs.h.  */
7644#include <ac_nonexistent.h>
7645_ACEOF
7646if ac_fn_c_try_cpp "$LINENO"; then :
7647  # Broken: success on invalid input.
7648continue
7649else
7650  # Passes both tests.
7651ac_preproc_ok=:
7652break
7653fi
7654rm -f conftest.err conftest.i conftest.$ac_ext
7655
7656done
7657# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7658rm -f conftest.i conftest.err conftest.$ac_ext
7659if $ac_preproc_ok; then :
7660
7661else
7662  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7663$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7664as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7665See \`config.log' for more details" "$LINENO" 5; }
7666fi
7667
7668ac_ext=c
7669ac_cpp='$CPP $CPPFLAGS'
7670ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7671ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7672ac_compiler_gnu=$ac_cv_c_compiler_gnu
7673
7674
7675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7676$as_echo_n "checking for ANSI C header files... " >&6; }
7677if ${ac_cv_header_stdc+:} false; then :
7678  $as_echo_n "(cached) " >&6
7679else
7680  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681/* end confdefs.h.  */
7682#include <stdlib.h>
7683#include <stdarg.h>
7684#include <string.h>
7685#include <float.h>
7686
7687int
7688main ()
7689{
7690
7691  ;
7692  return 0;
7693}
7694_ACEOF
7695if ac_fn_c_try_compile "$LINENO"; then :
7696  ac_cv_header_stdc=yes
7697else
7698  ac_cv_header_stdc=no
7699fi
7700rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7701
7702if test $ac_cv_header_stdc = yes; then
7703  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7704  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7705/* end confdefs.h.  */
7706#include <string.h>
7707
7708_ACEOF
7709if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7710  $EGREP "memchr" >/dev/null 2>&1; then :
7711
7712else
7713  ac_cv_header_stdc=no
7714fi
7715rm -f conftest*
7716
7717fi
7718
7719if test $ac_cv_header_stdc = yes; then
7720  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7721  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7722/* end confdefs.h.  */
7723#include <stdlib.h>
7724
7725_ACEOF
7726if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7727  $EGREP "free" >/dev/null 2>&1; then :
7728
7729else
7730  ac_cv_header_stdc=no
7731fi
7732rm -f conftest*
7733
7734fi
7735
7736if test $ac_cv_header_stdc = yes; then
7737  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7738  if test "$cross_compiling" = yes; then :
7739  :
7740else
7741  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7742/* end confdefs.h.  */
7743#include <ctype.h>
7744#include <stdlib.h>
7745#if ((' ' & 0x0FF) == 0x020)
7746# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7747# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7748#else
7749# define ISLOWER(c) \
7750		   (('a' <= (c) && (c) <= 'i') \
7751		     || ('j' <= (c) && (c) <= 'r') \
7752		     || ('s' <= (c) && (c) <= 'z'))
7753# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7754#endif
7755
7756#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7757int
7758main ()
7759{
7760  int i;
7761  for (i = 0; i < 256; i++)
7762    if (XOR (islower (i), ISLOWER (i))
7763	|| toupper (i) != TOUPPER (i))
7764      return 2;
7765  return 0;
7766}
7767_ACEOF
7768if ac_fn_c_try_run "$LINENO"; then :
7769
7770else
7771  ac_cv_header_stdc=no
7772fi
7773rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7774  conftest.$ac_objext conftest.beam conftest.$ac_ext
7775fi
7776
7777fi
7778fi
7779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7780$as_echo "$ac_cv_header_stdc" >&6; }
7781if test $ac_cv_header_stdc = yes; then
7782
7783$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7784
7785fi
7786
7787# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7788for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7789		  inttypes.h stdint.h unistd.h
7790do :
7791  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7792ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7793"
7794if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7795  cat >>confdefs.h <<_ACEOF
7796#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7797_ACEOF
7798
7799fi
7800
7801done
7802
7803
7804for ac_header in dlfcn.h
7805do :
7806  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7807"
7808if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7809  cat >>confdefs.h <<_ACEOF
7810#define HAVE_DLFCN_H 1
7811_ACEOF
7812
7813fi
7814
7815done
7816
7817
7818
7819
7820
7821# Set options
7822# Check whether --enable-static was given.
7823if test "${enable_static+set}" = set; then :
7824  enableval=$enable_static; p=${PACKAGE-default}
7825    case $enableval in
7826    yes) enable_static=yes ;;
7827    no) enable_static=no ;;
7828    *)
7829     enable_static=no
7830      # Look at the argument we got.  We use all the common list separators.
7831      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7832      for pkg in $enableval; do
7833	IFS="$lt_save_ifs"
7834	if test "X$pkg" = "X$p"; then
7835	  enable_static=yes
7836	fi
7837      done
7838      IFS="$lt_save_ifs"
7839      ;;
7840    esac
7841else
7842  enable_static=no
7843fi
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854        enable_dlopen=no
7855
7856
7857  enable_win32_dll=no
7858
7859
7860            # Check whether --enable-shared was given.
7861if test "${enable_shared+set}" = set; then :
7862  enableval=$enable_shared; p=${PACKAGE-default}
7863    case $enableval in
7864    yes) enable_shared=yes ;;
7865    no) enable_shared=no ;;
7866    *)
7867      enable_shared=no
7868      # Look at the argument we got.  We use all the common list separators.
7869      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7870      for pkg in $enableval; do
7871	IFS="$lt_save_ifs"
7872	if test "X$pkg" = "X$p"; then
7873	  enable_shared=yes
7874	fi
7875      done
7876      IFS="$lt_save_ifs"
7877      ;;
7878    esac
7879else
7880  enable_shared=yes
7881fi
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893# Check whether --with-pic was given.
7894if test "${with_pic+set}" = set; then :
7895  withval=$with_pic; pic_mode="$withval"
7896else
7897  pic_mode=default
7898fi
7899
7900
7901test -z "$pic_mode" && pic_mode=default
7902
7903
7904
7905
7906
7907
7908
7909  # Check whether --enable-fast-install was given.
7910if test "${enable_fast_install+set}" = set; then :
7911  enableval=$enable_fast_install; p=${PACKAGE-default}
7912    case $enableval in
7913    yes) enable_fast_install=yes ;;
7914    no) enable_fast_install=no ;;
7915    *)
7916      enable_fast_install=no
7917      # Look at the argument we got.  We use all the common list separators.
7918      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7919      for pkg in $enableval; do
7920	IFS="$lt_save_ifs"
7921	if test "X$pkg" = "X$p"; then
7922	  enable_fast_install=yes
7923	fi
7924      done
7925      IFS="$lt_save_ifs"
7926      ;;
7927    esac
7928else
7929  enable_fast_install=yes
7930fi
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942# This can be used to rebuild libtool when needed
7943LIBTOOL_DEPS="$ltmain"
7944
7945# Always use our own libtool.
7946LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973test -z "$LN_S" && LN_S="ln -s"
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988if test -n "${ZSH_VERSION+set}" ; then
7989   setopt NO_GLOB_SUBST
7990fi
7991
7992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7993$as_echo_n "checking for objdir... " >&6; }
7994if ${lt_cv_objdir+:} false; then :
7995  $as_echo_n "(cached) " >&6
7996else
7997  rm -f .libs 2>/dev/null
7998mkdir .libs 2>/dev/null
7999if test -d .libs; then
8000  lt_cv_objdir=.libs
8001else
8002  # MS-DOS does not allow filenames that begin with a dot.
8003  lt_cv_objdir=_libs
8004fi
8005rmdir .libs 2>/dev/null
8006fi
8007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8008$as_echo "$lt_cv_objdir" >&6; }
8009objdir=$lt_cv_objdir
8010
8011
8012
8013
8014
8015cat >>confdefs.h <<_ACEOF
8016#define LT_OBJDIR "$lt_cv_objdir/"
8017_ACEOF
8018
8019
8020
8021
8022case $host_os in
8023aix3*)
8024  # AIX sometimes has problems with the GCC collect2 program.  For some
8025  # reason, if we set the COLLECT_NAMES environment variable, the problems
8026  # vanish in a puff of smoke.
8027  if test "X${COLLECT_NAMES+set}" != Xset; then
8028    COLLECT_NAMES=
8029    export COLLECT_NAMES
8030  fi
8031  ;;
8032esac
8033
8034# Global variables:
8035ofile=libtool
8036can_build_shared=yes
8037
8038# All known linkers require a `.a' archive for static linking (except MSVC,
8039# which needs '.lib').
8040libext=a
8041
8042with_gnu_ld="$lt_cv_prog_gnu_ld"
8043
8044old_CC="$CC"
8045old_CFLAGS="$CFLAGS"
8046
8047# Set sane defaults for various variables
8048test -z "$CC" && CC=cc
8049test -z "$LTCC" && LTCC=$CC
8050test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8051test -z "$LD" && LD=ld
8052test -z "$ac_objext" && ac_objext=o
8053
8054for cc_temp in $compiler""; do
8055  case $cc_temp in
8056    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8057    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8058    \-*) ;;
8059    *) break;;
8060  esac
8061done
8062cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8063
8064
8065# Only perform the check for file, if the check method requires it
8066test -z "$MAGIC_CMD" && MAGIC_CMD=file
8067case $deplibs_check_method in
8068file_magic*)
8069  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8070    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8071$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8072if ${lt_cv_path_MAGIC_CMD+:} false; then :
8073  $as_echo_n "(cached) " >&6
8074else
8075  case $MAGIC_CMD in
8076[\\/*] |  ?:[\\/]*)
8077  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8078  ;;
8079*)
8080  lt_save_MAGIC_CMD="$MAGIC_CMD"
8081  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8082  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8083  for ac_dir in $ac_dummy; do
8084    IFS="$lt_save_ifs"
8085    test -z "$ac_dir" && ac_dir=.
8086    if test -f $ac_dir/${ac_tool_prefix}file; then
8087      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8088      if test -n "$file_magic_test_file"; then
8089	case $deplibs_check_method in
8090	"file_magic "*)
8091	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8092	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8093	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8094	    $EGREP "$file_magic_regex" > /dev/null; then
8095	    :
8096	  else
8097	    cat <<_LT_EOF 1>&2
8098
8099*** Warning: the command libtool uses to detect shared libraries,
8100*** $file_magic_cmd, produces output that libtool cannot recognize.
8101*** The result is that libtool may fail to recognize shared libraries
8102*** as such.  This will affect the creation of libtool libraries that
8103*** depend on shared libraries, but programs linked with such libtool
8104*** libraries will work regardless of this problem.  Nevertheless, you
8105*** may want to report the problem to your system manager and/or to
8106*** bug-libtool@gnu.org
8107
8108_LT_EOF
8109	  fi ;;
8110	esac
8111      fi
8112      break
8113    fi
8114  done
8115  IFS="$lt_save_ifs"
8116  MAGIC_CMD="$lt_save_MAGIC_CMD"
8117  ;;
8118esac
8119fi
8120
8121MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8122if test -n "$MAGIC_CMD"; then
8123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8124$as_echo "$MAGIC_CMD" >&6; }
8125else
8126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127$as_echo "no" >&6; }
8128fi
8129
8130
8131
8132
8133
8134if test -z "$lt_cv_path_MAGIC_CMD"; then
8135  if test -n "$ac_tool_prefix"; then
8136    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8137$as_echo_n "checking for file... " >&6; }
8138if ${lt_cv_path_MAGIC_CMD+:} false; then :
8139  $as_echo_n "(cached) " >&6
8140else
8141  case $MAGIC_CMD in
8142[\\/*] |  ?:[\\/]*)
8143  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8144  ;;
8145*)
8146  lt_save_MAGIC_CMD="$MAGIC_CMD"
8147  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8148  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8149  for ac_dir in $ac_dummy; do
8150    IFS="$lt_save_ifs"
8151    test -z "$ac_dir" && ac_dir=.
8152    if test -f $ac_dir/file; then
8153      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8154      if test -n "$file_magic_test_file"; then
8155	case $deplibs_check_method in
8156	"file_magic "*)
8157	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8158	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8159	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8160	    $EGREP "$file_magic_regex" > /dev/null; then
8161	    :
8162	  else
8163	    cat <<_LT_EOF 1>&2
8164
8165*** Warning: the command libtool uses to detect shared libraries,
8166*** $file_magic_cmd, produces output that libtool cannot recognize.
8167*** The result is that libtool may fail to recognize shared libraries
8168*** as such.  This will affect the creation of libtool libraries that
8169*** depend on shared libraries, but programs linked with such libtool
8170*** libraries will work regardless of this problem.  Nevertheless, you
8171*** may want to report the problem to your system manager and/or to
8172*** bug-libtool@gnu.org
8173
8174_LT_EOF
8175	  fi ;;
8176	esac
8177      fi
8178      break
8179    fi
8180  done
8181  IFS="$lt_save_ifs"
8182  MAGIC_CMD="$lt_save_MAGIC_CMD"
8183  ;;
8184esac
8185fi
8186
8187MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8188if test -n "$MAGIC_CMD"; then
8189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8190$as_echo "$MAGIC_CMD" >&6; }
8191else
8192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8193$as_echo "no" >&6; }
8194fi
8195
8196
8197  else
8198    MAGIC_CMD=:
8199  fi
8200fi
8201
8202  fi
8203  ;;
8204esac
8205
8206# Use C for the default configuration in the libtool script
8207
8208lt_save_CC="$CC"
8209ac_ext=c
8210ac_cpp='$CPP $CPPFLAGS'
8211ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8212ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8213ac_compiler_gnu=$ac_cv_c_compiler_gnu
8214
8215
8216# Source file extension for C test sources.
8217ac_ext=c
8218
8219# Object file extension for compiled C test sources.
8220objext=o
8221objext=$objext
8222
8223# Code to be used in simple compile tests
8224lt_simple_compile_test_code="int some_variable = 0;"
8225
8226# Code to be used in simple link tests
8227lt_simple_link_test_code='int main(){return(0);}'
8228
8229
8230
8231
8232
8233
8234
8235# If no C compiler was specified, use CC.
8236LTCC=${LTCC-"$CC"}
8237
8238# If no C compiler flags were specified, use CFLAGS.
8239LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8240
8241# Allow CC to be a program name with arguments.
8242compiler=$CC
8243
8244# Save the default compiler, since it gets overwritten when the other
8245# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8246compiler_DEFAULT=$CC
8247
8248# save warnings/boilerplate of simple test code
8249ac_outfile=conftest.$ac_objext
8250echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8251eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8252_lt_compiler_boilerplate=`cat conftest.err`
8253$RM conftest*
8254
8255ac_outfile=conftest.$ac_objext
8256echo "$lt_simple_link_test_code" >conftest.$ac_ext
8257eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8258_lt_linker_boilerplate=`cat conftest.err`
8259$RM -r conftest*
8260
8261
8262## CAVEAT EMPTOR:
8263## There is no encapsulation within the following macros, do not change
8264## the running order or otherwise move them around unless you know exactly
8265## what you are doing...
8266if test -n "$compiler"; then
8267
8268lt_prog_compiler_no_builtin_flag=
8269
8270if test "$GCC" = yes; then
8271  case $cc_basename in
8272  nvcc*)
8273    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8274  *)
8275    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8276  esac
8277
8278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8279$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8280if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8281  $as_echo_n "(cached) " >&6
8282else
8283  lt_cv_prog_compiler_rtti_exceptions=no
8284   ac_outfile=conftest.$ac_objext
8285   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8286   lt_compiler_flag="-fno-rtti -fno-exceptions"
8287   # Insert the option either (1) after the last *FLAGS variable, or
8288   # (2) before a word containing "conftest.", or (3) at the end.
8289   # Note that $ac_compile itself does not contain backslashes and begins
8290   # with a dollar sign (not a hyphen), so the echo should work correctly.
8291   # The option is referenced via a variable to avoid confusing sed.
8292   lt_compile=`echo "$ac_compile" | $SED \
8293   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8294   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8295   -e 's:$: $lt_compiler_flag:'`
8296   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8297   (eval "$lt_compile" 2>conftest.err)
8298   ac_status=$?
8299   cat conftest.err >&5
8300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8301   if (exit $ac_status) && test -s "$ac_outfile"; then
8302     # The compiler can only warn and ignore the option if not recognized
8303     # So say no if there are warnings other than the usual output.
8304     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8305     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8306     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8307       lt_cv_prog_compiler_rtti_exceptions=yes
8308     fi
8309   fi
8310   $RM conftest*
8311
8312fi
8313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8314$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8315
8316if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8317    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8318else
8319    :
8320fi
8321
8322fi
8323
8324
8325
8326
8327
8328
8329  lt_prog_compiler_wl=
8330lt_prog_compiler_pic=
8331lt_prog_compiler_static=
8332
8333
8334  if test "$GCC" = yes; then
8335    lt_prog_compiler_wl='-Wl,'
8336    lt_prog_compiler_static='-static'
8337
8338    case $host_os in
8339      aix*)
8340      # All AIX code is PIC.
8341      if test "$host_cpu" = ia64; then
8342	# AIX 5 now supports IA64 processor
8343	lt_prog_compiler_static='-Bstatic'
8344      fi
8345      ;;
8346
8347    amigaos*)
8348      case $host_cpu in
8349      powerpc)
8350            # see comment about AmigaOS4 .so support
8351            lt_prog_compiler_pic='-fPIC'
8352        ;;
8353      m68k)
8354            # FIXME: we need at least 68020 code to build shared libraries, but
8355            # adding the `-m68020' flag to GCC prevents building anything better,
8356            # like `-m68040'.
8357            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8358        ;;
8359      esac
8360      ;;
8361
8362    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8363      # PIC is the default for these OSes.
8364      ;;
8365
8366    mingw* | cygwin* | pw32* | os2* | cegcc*)
8367      # This hack is so that the source file can tell whether it is being
8368      # built for inclusion in a dll (and should export symbols for example).
8369      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8370      # (--disable-auto-import) libraries
8371      lt_prog_compiler_pic='-DDLL_EXPORT'
8372      ;;
8373
8374    darwin* | rhapsody*)
8375      # PIC is the default on this platform
8376      # Common symbols not allowed in MH_DYLIB files
8377      lt_prog_compiler_pic='-fno-common'
8378      ;;
8379
8380    haiku*)
8381      # PIC is the default for Haiku.
8382      # The "-static" flag exists, but is broken.
8383      lt_prog_compiler_static=
8384      ;;
8385
8386    hpux*)
8387      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8388      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8389      # sets the default TLS model and affects inlining.
8390      case $host_cpu in
8391      hppa*64*)
8392	# +Z the default
8393	;;
8394      *)
8395	lt_prog_compiler_pic='-fPIC'
8396	;;
8397      esac
8398      ;;
8399
8400    interix[3-9]*)
8401      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8402      # Instead, we relocate shared libraries at runtime.
8403      ;;
8404
8405    msdosdjgpp*)
8406      # Just because we use GCC doesn't mean we suddenly get shared libraries
8407      # on systems that don't support them.
8408      lt_prog_compiler_can_build_shared=no
8409      enable_shared=no
8410      ;;
8411
8412    *nto* | *qnx*)
8413      # QNX uses GNU C++, but need to define -shared option too, otherwise
8414      # it will coredump.
8415      lt_prog_compiler_pic='-fPIC -shared'
8416      ;;
8417
8418    sysv4*MP*)
8419      if test -d /usr/nec; then
8420	lt_prog_compiler_pic=-Kconform_pic
8421      fi
8422      ;;
8423
8424    *)
8425      lt_prog_compiler_pic='-fPIC'
8426      ;;
8427    esac
8428
8429    case $cc_basename in
8430    nvcc*) # Cuda Compiler Driver 2.2
8431      lt_prog_compiler_wl='-Xlinker '
8432      lt_prog_compiler_pic='-Xcompiler -fPIC'
8433      ;;
8434    esac
8435  else
8436    # PORTME Check for flag to pass linker flags through the system compiler.
8437    case $host_os in
8438    aix*)
8439      lt_prog_compiler_wl='-Wl,'
8440      if test "$host_cpu" = ia64; then
8441	# AIX 5 now supports IA64 processor
8442	lt_prog_compiler_static='-Bstatic'
8443      else
8444	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8445      fi
8446      ;;
8447
8448    mingw* | cygwin* | pw32* | os2* | cegcc*)
8449      # This hack is so that the source file can tell whether it is being
8450      # built for inclusion in a dll (and should export symbols for example).
8451      lt_prog_compiler_pic='-DDLL_EXPORT'
8452      ;;
8453
8454    hpux9* | hpux10* | hpux11*)
8455      lt_prog_compiler_wl='-Wl,'
8456      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8457      # not for PA HP-UX.
8458      case $host_cpu in
8459      hppa*64*|ia64*)
8460	# +Z the default
8461	;;
8462      *)
8463	lt_prog_compiler_pic='+Z'
8464	;;
8465      esac
8466      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8467      lt_prog_compiler_static='${wl}-a ${wl}archive'
8468      ;;
8469
8470    irix5* | irix6* | nonstopux*)
8471      lt_prog_compiler_wl='-Wl,'
8472      # PIC (with -KPIC) is the default.
8473      lt_prog_compiler_static='-non_shared'
8474      ;;
8475
8476    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8477      case $cc_basename in
8478      # old Intel for x86_64 which still supported -KPIC.
8479      ecc*)
8480	lt_prog_compiler_wl='-Wl,'
8481	lt_prog_compiler_pic='-KPIC'
8482	lt_prog_compiler_static='-static'
8483        ;;
8484      # icc used to be incompatible with GCC.
8485      # ICC 10 doesn't accept -KPIC any more.
8486      icc* | ifort*)
8487	lt_prog_compiler_wl='-Wl,'
8488	lt_prog_compiler_pic='-fPIC'
8489	lt_prog_compiler_static='-static'
8490        ;;
8491      # Lahey Fortran 8.1.
8492      lf95*)
8493	lt_prog_compiler_wl='-Wl,'
8494	lt_prog_compiler_pic='--shared'
8495	lt_prog_compiler_static='--static'
8496	;;
8497      nagfor*)
8498	# NAG Fortran compiler
8499	lt_prog_compiler_wl='-Wl,-Wl,,'
8500	lt_prog_compiler_pic='-PIC'
8501	lt_prog_compiler_static='-Bstatic'
8502	;;
8503      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8504        # Portland Group compilers (*not* the Pentium gcc compiler,
8505	# which looks to be a dead project)
8506	lt_prog_compiler_wl='-Wl,'
8507	lt_prog_compiler_pic='-fpic'
8508	lt_prog_compiler_static='-Bstatic'
8509        ;;
8510      ccc*)
8511        lt_prog_compiler_wl='-Wl,'
8512        # All Alpha code is PIC.
8513        lt_prog_compiler_static='-non_shared'
8514        ;;
8515      xl* | bgxl* | bgf* | mpixl*)
8516	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8517	lt_prog_compiler_wl='-Wl,'
8518	lt_prog_compiler_pic='-qpic'
8519	lt_prog_compiler_static='-qstaticlink'
8520	;;
8521      *)
8522	case `$CC -V 2>&1 | sed 5q` in
8523	*Sun\ F* | *Sun*Fortran*)
8524	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8525	  lt_prog_compiler_pic='-KPIC'
8526	  lt_prog_compiler_static='-Bstatic'
8527	  lt_prog_compiler_wl=''
8528	  ;;
8529	*Sun\ C*)
8530	  # Sun C 5.9
8531	  lt_prog_compiler_pic='-KPIC'
8532	  lt_prog_compiler_static='-Bstatic'
8533	  lt_prog_compiler_wl='-Wl,'
8534	  ;;
8535	esac
8536	;;
8537      esac
8538      ;;
8539
8540    newsos6)
8541      lt_prog_compiler_pic='-KPIC'
8542      lt_prog_compiler_static='-Bstatic'
8543      ;;
8544
8545    *nto* | *qnx*)
8546      # QNX uses GNU C++, but need to define -shared option too, otherwise
8547      # it will coredump.
8548      lt_prog_compiler_pic='-fPIC -shared'
8549      ;;
8550
8551    osf3* | osf4* | osf5*)
8552      lt_prog_compiler_wl='-Wl,'
8553      # All OSF/1 code is PIC.
8554      lt_prog_compiler_static='-non_shared'
8555      ;;
8556
8557    rdos*)
8558      lt_prog_compiler_static='-non_shared'
8559      ;;
8560
8561    solaris*)
8562      lt_prog_compiler_pic='-KPIC'
8563      lt_prog_compiler_static='-Bstatic'
8564      case $cc_basename in
8565      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8566	lt_prog_compiler_wl='-Qoption ld ';;
8567      *)
8568	lt_prog_compiler_wl='-Wl,';;
8569      esac
8570      ;;
8571
8572    sunos4*)
8573      lt_prog_compiler_wl='-Qoption ld '
8574      lt_prog_compiler_pic='-PIC'
8575      lt_prog_compiler_static='-Bstatic'
8576      ;;
8577
8578    sysv4 | sysv4.2uw2* | sysv4.3*)
8579      lt_prog_compiler_wl='-Wl,'
8580      lt_prog_compiler_pic='-KPIC'
8581      lt_prog_compiler_static='-Bstatic'
8582      ;;
8583
8584    sysv4*MP*)
8585      if test -d /usr/nec ;then
8586	lt_prog_compiler_pic='-Kconform_pic'
8587	lt_prog_compiler_static='-Bstatic'
8588      fi
8589      ;;
8590
8591    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8592      lt_prog_compiler_wl='-Wl,'
8593      lt_prog_compiler_pic='-KPIC'
8594      lt_prog_compiler_static='-Bstatic'
8595      ;;
8596
8597    unicos*)
8598      lt_prog_compiler_wl='-Wl,'
8599      lt_prog_compiler_can_build_shared=no
8600      ;;
8601
8602    uts4*)
8603      lt_prog_compiler_pic='-pic'
8604      lt_prog_compiler_static='-Bstatic'
8605      ;;
8606
8607    *)
8608      lt_prog_compiler_can_build_shared=no
8609      ;;
8610    esac
8611  fi
8612
8613case $host_os in
8614  # For platforms which do not support PIC, -DPIC is meaningless:
8615  *djgpp*)
8616    lt_prog_compiler_pic=
8617    ;;
8618  *)
8619    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8620    ;;
8621esac
8622
8623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8624$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8625if ${lt_cv_prog_compiler_pic+:} false; then :
8626  $as_echo_n "(cached) " >&6
8627else
8628  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8629fi
8630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8631$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8632lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8633
8634#
8635# Check to make sure the PIC flag actually works.
8636#
8637if test -n "$lt_prog_compiler_pic"; then
8638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8639$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8640if ${lt_cv_prog_compiler_pic_works+:} false; then :
8641  $as_echo_n "(cached) " >&6
8642else
8643  lt_cv_prog_compiler_pic_works=no
8644   ac_outfile=conftest.$ac_objext
8645   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8646   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8647   # Insert the option either (1) after the last *FLAGS variable, or
8648   # (2) before a word containing "conftest.", or (3) at the end.
8649   # Note that $ac_compile itself does not contain backslashes and begins
8650   # with a dollar sign (not a hyphen), so the echo should work correctly.
8651   # The option is referenced via a variable to avoid confusing sed.
8652   lt_compile=`echo "$ac_compile" | $SED \
8653   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8654   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8655   -e 's:$: $lt_compiler_flag:'`
8656   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8657   (eval "$lt_compile" 2>conftest.err)
8658   ac_status=$?
8659   cat conftest.err >&5
8660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661   if (exit $ac_status) && test -s "$ac_outfile"; then
8662     # The compiler can only warn and ignore the option if not recognized
8663     # So say no if there are warnings other than the usual output.
8664     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8665     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8666     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8667       lt_cv_prog_compiler_pic_works=yes
8668     fi
8669   fi
8670   $RM conftest*
8671
8672fi
8673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8674$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8675
8676if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8677    case $lt_prog_compiler_pic in
8678     "" | " "*) ;;
8679     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8680     esac
8681else
8682    lt_prog_compiler_pic=
8683     lt_prog_compiler_can_build_shared=no
8684fi
8685
8686fi
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698#
8699# Check to make sure the static flag actually works.
8700#
8701wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8702{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8703$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8704if ${lt_cv_prog_compiler_static_works+:} false; then :
8705  $as_echo_n "(cached) " >&6
8706else
8707  lt_cv_prog_compiler_static_works=no
8708   save_LDFLAGS="$LDFLAGS"
8709   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8710   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8711   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8712     # The linker can only warn and ignore the option if not recognized
8713     # So say no if there are warnings
8714     if test -s conftest.err; then
8715       # Append any errors to the config.log.
8716       cat conftest.err 1>&5
8717       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8718       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8719       if diff conftest.exp conftest.er2 >/dev/null; then
8720         lt_cv_prog_compiler_static_works=yes
8721       fi
8722     else
8723       lt_cv_prog_compiler_static_works=yes
8724     fi
8725   fi
8726   $RM -r conftest*
8727   LDFLAGS="$save_LDFLAGS"
8728
8729fi
8730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8731$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8732
8733if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8734    :
8735else
8736    lt_prog_compiler_static=
8737fi
8738
8739
8740
8741
8742
8743
8744
8745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8746$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8747if ${lt_cv_prog_compiler_c_o+:} false; then :
8748  $as_echo_n "(cached) " >&6
8749else
8750  lt_cv_prog_compiler_c_o=no
8751   $RM -r conftest 2>/dev/null
8752   mkdir conftest
8753   cd conftest
8754   mkdir out
8755   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8756
8757   lt_compiler_flag="-o out/conftest2.$ac_objext"
8758   # Insert the option either (1) after the last *FLAGS variable, or
8759   # (2) before a word containing "conftest.", or (3) at the end.
8760   # Note that $ac_compile itself does not contain backslashes and begins
8761   # with a dollar sign (not a hyphen), so the echo should work correctly.
8762   lt_compile=`echo "$ac_compile" | $SED \
8763   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8764   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8765   -e 's:$: $lt_compiler_flag:'`
8766   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8767   (eval "$lt_compile" 2>out/conftest.err)
8768   ac_status=$?
8769   cat out/conftest.err >&5
8770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8771   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8772   then
8773     # The compiler can only warn and ignore the option if not recognized
8774     # So say no if there are warnings
8775     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8776     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8777     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8778       lt_cv_prog_compiler_c_o=yes
8779     fi
8780   fi
8781   chmod u+w . 2>&5
8782   $RM conftest*
8783   # SGI C++ compiler will create directory out/ii_files/ for
8784   # template instantiation
8785   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8786   $RM out/* && rmdir out
8787   cd ..
8788   $RM -r conftest
8789   $RM conftest*
8790
8791fi
8792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8793$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8794
8795
8796
8797
8798
8799
8800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8801$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8802if ${lt_cv_prog_compiler_c_o+:} false; then :
8803  $as_echo_n "(cached) " >&6
8804else
8805  lt_cv_prog_compiler_c_o=no
8806   $RM -r conftest 2>/dev/null
8807   mkdir conftest
8808   cd conftest
8809   mkdir out
8810   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8811
8812   lt_compiler_flag="-o out/conftest2.$ac_objext"
8813   # Insert the option either (1) after the last *FLAGS variable, or
8814   # (2) before a word containing "conftest.", or (3) at the end.
8815   # Note that $ac_compile itself does not contain backslashes and begins
8816   # with a dollar sign (not a hyphen), so the echo should work correctly.
8817   lt_compile=`echo "$ac_compile" | $SED \
8818   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8819   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8820   -e 's:$: $lt_compiler_flag:'`
8821   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8822   (eval "$lt_compile" 2>out/conftest.err)
8823   ac_status=$?
8824   cat out/conftest.err >&5
8825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8827   then
8828     # The compiler can only warn and ignore the option if not recognized
8829     # So say no if there are warnings
8830     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8831     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8832     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8833       lt_cv_prog_compiler_c_o=yes
8834     fi
8835   fi
8836   chmod u+w . 2>&5
8837   $RM conftest*
8838   # SGI C++ compiler will create directory out/ii_files/ for
8839   # template instantiation
8840   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8841   $RM out/* && rmdir out
8842   cd ..
8843   $RM -r conftest
8844   $RM conftest*
8845
8846fi
8847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8848$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8849
8850
8851
8852
8853hard_links="nottested"
8854if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8855  # do not overwrite the value of need_locks provided by the user
8856  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8857$as_echo_n "checking if we can lock with hard links... " >&6; }
8858  hard_links=yes
8859  $RM conftest*
8860  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8861  touch conftest.a
8862  ln conftest.a conftest.b 2>&5 || hard_links=no
8863  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8865$as_echo "$hard_links" >&6; }
8866  if test "$hard_links" = no; then
8867    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8868$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8869    need_locks=warn
8870  fi
8871else
8872  need_locks=no
8873fi
8874
8875
8876
8877
8878
8879
8880  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8881$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8882
8883  runpath_var=
8884  allow_undefined_flag=
8885  always_export_symbols=no
8886  archive_cmds=
8887  archive_expsym_cmds=
8888  compiler_needs_object=no
8889  enable_shared_with_static_runtimes=no
8890  export_dynamic_flag_spec=
8891  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8892  hardcode_automatic=no
8893  hardcode_direct=no
8894  hardcode_direct_absolute=no
8895  hardcode_libdir_flag_spec=
8896  hardcode_libdir_flag_spec_ld=
8897  hardcode_libdir_separator=
8898  hardcode_minus_L=no
8899  hardcode_shlibpath_var=unsupported
8900  inherit_rpath=no
8901  link_all_deplibs=unknown
8902  module_cmds=
8903  module_expsym_cmds=
8904  old_archive_from_new_cmds=
8905  old_archive_from_expsyms_cmds=
8906  thread_safe_flag_spec=
8907  whole_archive_flag_spec=
8908  # include_expsyms should be a list of space-separated symbols to be *always*
8909  # included in the symbol list
8910  include_expsyms=
8911  # exclude_expsyms can be an extended regexp of symbols to exclude
8912  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8913  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8914  # as well as any symbol that contains `d'.
8915  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8916  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8917  # platforms (ab)use it in PIC code, but their linkers get confused if
8918  # the symbol is explicitly referenced.  Since portable code cannot
8919  # rely on this symbol name, it's probably fine to never include it in
8920  # preloaded symbol tables.
8921  # Exclude shared library initialization/finalization symbols.
8922  extract_expsyms_cmds=
8923
8924  case $host_os in
8925  cygwin* | mingw* | pw32* | cegcc*)
8926    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8927    # When not using gcc, we currently assume that we are using
8928    # Microsoft Visual C++.
8929    if test "$GCC" != yes; then
8930      with_gnu_ld=no
8931    fi
8932    ;;
8933  interix*)
8934    # we just hope/assume this is gcc and not c89 (= MSVC++)
8935    with_gnu_ld=yes
8936    ;;
8937  openbsd*)
8938    with_gnu_ld=no
8939    ;;
8940  esac
8941
8942  ld_shlibs=yes
8943
8944  # On some targets, GNU ld is compatible enough with the native linker
8945  # that we're better off using the native interface for both.
8946  lt_use_gnu_ld_interface=no
8947  if test "$with_gnu_ld" = yes; then
8948    case $host_os in
8949      aix*)
8950	# The AIX port of GNU ld has always aspired to compatibility
8951	# with the native linker.  However, as the warning in the GNU ld
8952	# block says, versions before 2.19.5* couldn't really create working
8953	# shared libraries, regardless of the interface used.
8954	case `$LD -v 2>&1` in
8955	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8956	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8957	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8958	  *)
8959	    lt_use_gnu_ld_interface=yes
8960	    ;;
8961	esac
8962	;;
8963      *)
8964	lt_use_gnu_ld_interface=yes
8965	;;
8966    esac
8967  fi
8968
8969  if test "$lt_use_gnu_ld_interface" = yes; then
8970    # If archive_cmds runs LD, not CC, wlarc should be empty
8971    wlarc='${wl}'
8972
8973    # Set some defaults for GNU ld with shared library support. These
8974    # are reset later if shared libraries are not supported. Putting them
8975    # here allows them to be overridden if necessary.
8976    runpath_var=LD_RUN_PATH
8977    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8978    export_dynamic_flag_spec='${wl}--export-dynamic'
8979    # ancient GNU ld didn't support --whole-archive et. al.
8980    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8981      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8982    else
8983      whole_archive_flag_spec=
8984    fi
8985    supports_anon_versioning=no
8986    case `$LD -v 2>&1` in
8987      *GNU\ gold*) supports_anon_versioning=yes ;;
8988      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8989      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8990      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8991      *\ 2.11.*) ;; # other 2.11 versions
8992      *) supports_anon_versioning=yes ;;
8993    esac
8994
8995    # See if GNU ld supports shared libraries.
8996    case $host_os in
8997    aix[3-9]*)
8998      # On AIX/PPC, the GNU linker is very broken
8999      if test "$host_cpu" != ia64; then
9000	ld_shlibs=no
9001	cat <<_LT_EOF 1>&2
9002
9003*** Warning: the GNU linker, at least up to release 2.19, is reported
9004*** to be unable to reliably create shared libraries on AIX.
9005*** Therefore, libtool is disabling shared libraries support.  If you
9006*** really care for shared libraries, you may want to install binutils
9007*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9008*** You will then need to restart the configuration process.
9009
9010_LT_EOF
9011      fi
9012      ;;
9013
9014    amigaos*)
9015      case $host_cpu in
9016      powerpc)
9017            # see comment about AmigaOS4 .so support
9018            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9019            archive_expsym_cmds=''
9020        ;;
9021      m68k)
9022            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)'
9023            hardcode_libdir_flag_spec='-L$libdir'
9024            hardcode_minus_L=yes
9025        ;;
9026      esac
9027      ;;
9028
9029    beos*)
9030      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9031	allow_undefined_flag=unsupported
9032	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9033	# support --undefined.  This deserves some investigation.  FIXME
9034	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035      else
9036	ld_shlibs=no
9037      fi
9038      ;;
9039
9040    cygwin* | mingw* | pw32* | cegcc*)
9041      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9042      # as there is no search path for DLLs.
9043      hardcode_libdir_flag_spec='-L$libdir'
9044      export_dynamic_flag_spec='${wl}--export-all-symbols'
9045      allow_undefined_flag=unsupported
9046      always_export_symbols=no
9047      enable_shared_with_static_runtimes=yes
9048      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'
9049      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9050
9051      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9052        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9053	# If the export-symbols file already is a .def file (1st line
9054	# is EXPORTS), use it as is; otherwise, prepend...
9055	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9056	  cp $export_symbols $output_objdir/$soname.def;
9057	else
9058	  echo EXPORTS > $output_objdir/$soname.def;
9059	  cat $export_symbols >> $output_objdir/$soname.def;
9060	fi~
9061	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9062      else
9063	ld_shlibs=no
9064      fi
9065      ;;
9066
9067    haiku*)
9068      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9069      link_all_deplibs=yes
9070      ;;
9071
9072    interix[3-9]*)
9073      hardcode_direct=no
9074      hardcode_shlibpath_var=no
9075      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9076      export_dynamic_flag_spec='${wl}-E'
9077      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9078      # Instead, shared libraries are loaded at an image base (0x10000000 by
9079      # default) and relocated if they conflict, which is a slow very memory
9080      # consuming and fragmenting process.  To avoid this, we pick a random,
9081      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9082      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9083      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9084      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'
9085      ;;
9086
9087    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9088      tmp_diet=no
9089      if test "$host_os" = linux-dietlibc; then
9090	case $cc_basename in
9091	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9092	esac
9093      fi
9094      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9095	 && test "$tmp_diet" = no
9096      then
9097	tmp_addflag=' $pic_flag'
9098	tmp_sharedflag='-shared'
9099	case $cc_basename,$host_cpu in
9100        pgcc*)				# Portland Group C compiler
9101	  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'
9102	  tmp_addflag=' $pic_flag'
9103	  ;;
9104	pgf77* | pgf90* | pgf95* | pgfortran*)
9105					# Portland Group f77 and f90 compilers
9106	  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'
9107	  tmp_addflag=' $pic_flag -Mnomain' ;;
9108	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9109	  tmp_addflag=' -i_dynamic' ;;
9110	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9111	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9112	ifc* | ifort*)			# Intel Fortran compiler
9113	  tmp_addflag=' -nofor_main' ;;
9114	lf95*)				# Lahey Fortran 8.1
9115	  whole_archive_flag_spec=
9116	  tmp_sharedflag='--shared' ;;
9117	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9118	  tmp_sharedflag='-qmkshrobj'
9119	  tmp_addflag= ;;
9120	nvcc*)	# Cuda Compiler Driver 2.2
9121	  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'
9122	  compiler_needs_object=yes
9123	  ;;
9124	esac
9125	case `$CC -V 2>&1 | sed 5q` in
9126	*Sun\ C*)			# Sun C 5.9
9127	  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'
9128	  compiler_needs_object=yes
9129	  tmp_sharedflag='-G' ;;
9130	*Sun\ F*)			# Sun Fortran 8.3
9131	  tmp_sharedflag='-G' ;;
9132	esac
9133	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9134
9135        if test "x$supports_anon_versioning" = xyes; then
9136          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9137	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9138	    echo "local: *; };" >> $output_objdir/$libname.ver~
9139	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9140        fi
9141
9142	case $cc_basename in
9143	xlf* | bgf* | bgxlf* | mpixlf*)
9144	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9145	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9146	  hardcode_libdir_flag_spec=
9147	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
9148	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9149	  if test "x$supports_anon_versioning" = xyes; then
9150	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9151	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9152	      echo "local: *; };" >> $output_objdir/$libname.ver~
9153	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9154	  fi
9155	  ;;
9156	esac
9157      else
9158        ld_shlibs=no
9159      fi
9160      ;;
9161
9162    netbsd*)
9163      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9164	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9165	wlarc=
9166      else
9167	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9168	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9169      fi
9170      ;;
9171
9172    solaris*)
9173      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9174	ld_shlibs=no
9175	cat <<_LT_EOF 1>&2
9176
9177*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9178*** create shared libraries on Solaris systems.  Therefore, libtool
9179*** is disabling shared libraries support.  We urge you to upgrade GNU
9180*** binutils to release 2.9.1 or newer.  Another option is to modify
9181*** your PATH or compiler configuration so that the native linker is
9182*** used, and then restart.
9183
9184_LT_EOF
9185      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9186	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9187	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9188      else
9189	ld_shlibs=no
9190      fi
9191      ;;
9192
9193    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9194      case `$LD -v 2>&1` in
9195        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9196	ld_shlibs=no
9197	cat <<_LT_EOF 1>&2
9198
9199*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9200*** reliably create shared libraries on SCO systems.  Therefore, libtool
9201*** is disabling shared libraries support.  We urge you to upgrade GNU
9202*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9203*** your PATH or compiler configuration so that the native linker is
9204*** used, and then restart.
9205
9206_LT_EOF
9207	;;
9208	*)
9209	  # For security reasons, it is highly recommended that you always
9210	  # use absolute paths for naming shared libraries, and exclude the
9211	  # DT_RUNPATH tag from executables and libraries.  But doing so
9212	  # requires that you compile everything twice, which is a pain.
9213	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9215	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9216	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9217	  else
9218	    ld_shlibs=no
9219	  fi
9220	;;
9221      esac
9222      ;;
9223
9224    sunos4*)
9225      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9226      wlarc=
9227      hardcode_direct=yes
9228      hardcode_shlibpath_var=no
9229      ;;
9230
9231    *)
9232      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9233	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9234	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9235      else
9236	ld_shlibs=no
9237      fi
9238      ;;
9239    esac
9240
9241    if test "$ld_shlibs" = no; then
9242      runpath_var=
9243      hardcode_libdir_flag_spec=
9244      export_dynamic_flag_spec=
9245      whole_archive_flag_spec=
9246    fi
9247  else
9248    # PORTME fill in a description of your system's linker (not GNU ld)
9249    case $host_os in
9250    aix3*)
9251      allow_undefined_flag=unsupported
9252      always_export_symbols=yes
9253      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'
9254      # Note: this linker hardcodes the directories in LIBPATH if there
9255      # are no directories specified by -L.
9256      hardcode_minus_L=yes
9257      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9258	# Neither direct hardcoding nor static linking is supported with a
9259	# broken collect2.
9260	hardcode_direct=unsupported
9261      fi
9262      ;;
9263
9264    aix[4-9]*)
9265      if test "$host_cpu" = ia64; then
9266	# On IA64, the linker does run time linking by default, so we don't
9267	# have to do anything special.
9268	aix_use_runtimelinking=no
9269	exp_sym_flag='-Bexport'
9270	no_entry_flag=""
9271      else
9272	# If we're using GNU nm, then we don't want the "-C" option.
9273	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9274	# Also, AIX nm treats weak defined symbols like other global
9275	# defined symbols, whereas GNU nm marks them as "W".
9276	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9277	  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'
9278	else
9279	  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'
9280	fi
9281	aix_use_runtimelinking=no
9282
9283	# Test if we are trying to use run time linking or normal
9284	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9285	# need to do runtime linking.
9286	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9287	  for ld_flag in $LDFLAGS; do
9288	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9289	    aix_use_runtimelinking=yes
9290	    break
9291	  fi
9292	  done
9293	  ;;
9294	esac
9295
9296	exp_sym_flag='-bexport'
9297	no_entry_flag='-bnoentry'
9298      fi
9299
9300      # When large executables or shared objects are built, AIX ld can
9301      # have problems creating the table of contents.  If linking a library
9302      # or program results in "error TOC overflow" add -mminimal-toc to
9303      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9304      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9305
9306      archive_cmds=''
9307      hardcode_direct=yes
9308      hardcode_direct_absolute=yes
9309      hardcode_libdir_separator=':'
9310      link_all_deplibs=yes
9311      file_list_spec='${wl}-f,'
9312
9313      if test "$GCC" = yes; then
9314	case $host_os in aix4.[012]|aix4.[012].*)
9315	# We only want to do this on AIX 4.2 and lower, the check
9316	# below for broken collect2 doesn't work under 4.3+
9317	  collect2name=`${CC} -print-prog-name=collect2`
9318	  if test -f "$collect2name" &&
9319	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9320	  then
9321	  # We have reworked collect2
9322	  :
9323	  else
9324	  # We have old collect2
9325	  hardcode_direct=unsupported
9326	  # It fails to find uninstalled libraries when the uninstalled
9327	  # path is not listed in the libpath.  Setting hardcode_minus_L
9328	  # to unsupported forces relinking
9329	  hardcode_minus_L=yes
9330	  hardcode_libdir_flag_spec='-L$libdir'
9331	  hardcode_libdir_separator=
9332	  fi
9333	  ;;
9334	esac
9335	shared_flag='-shared'
9336	if test "$aix_use_runtimelinking" = yes; then
9337	  shared_flag="$shared_flag "'${wl}-G'
9338	fi
9339      else
9340	# not using gcc
9341	if test "$host_cpu" = ia64; then
9342	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9343	# chokes on -Wl,-G. The following line is correct:
9344	  shared_flag='-G'
9345	else
9346	  if test "$aix_use_runtimelinking" = yes; then
9347	    shared_flag='${wl}-G'
9348	  else
9349	    shared_flag='${wl}-bM:SRE'
9350	  fi
9351	fi
9352      fi
9353
9354      export_dynamic_flag_spec='${wl}-bexpall'
9355      # It seems that -bexpall does not export symbols beginning with
9356      # underscore (_), so it is better to generate a list of symbols to export.
9357      always_export_symbols=yes
9358      if test "$aix_use_runtimelinking" = yes; then
9359	# Warning - without using the other runtime loading flags (-brtl),
9360	# -berok will link without error, but may produce a broken library.
9361	allow_undefined_flag='-berok'
9362        # Determine the default libpath from the value encoded in an
9363        # empty executable.
9364        if test "${lt_cv_aix_libpath+set}" = set; then
9365  aix_libpath=$lt_cv_aix_libpath
9366else
9367  if ${lt_cv_aix_libpath_+:} false; then :
9368  $as_echo_n "(cached) " >&6
9369else
9370  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371/* end confdefs.h.  */
9372
9373int
9374main ()
9375{
9376
9377  ;
9378  return 0;
9379}
9380_ACEOF
9381if ac_fn_c_try_link "$LINENO"; then :
9382
9383  lt_aix_libpath_sed='
9384      /Import File Strings/,/^$/ {
9385	  /^0/ {
9386	      s/^0  *\([^ ]*\) *$/\1/
9387	      p
9388	  }
9389      }'
9390  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9391  # Check for a 64-bit object if we didn't find anything.
9392  if test -z "$lt_cv_aix_libpath_"; then
9393    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9394  fi
9395fi
9396rm -f core conftest.err conftest.$ac_objext \
9397    conftest$ac_exeext conftest.$ac_ext
9398  if test -z "$lt_cv_aix_libpath_"; then
9399    lt_cv_aix_libpath_="/usr/lib:/lib"
9400  fi
9401
9402fi
9403
9404  aix_libpath=$lt_cv_aix_libpath_
9405fi
9406
9407        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9408        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"
9409      else
9410	if test "$host_cpu" = ia64; then
9411	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9412	  allow_undefined_flag="-z nodefs"
9413	  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"
9414	else
9415	 # Determine the default libpath from the value encoded in an
9416	 # empty executable.
9417	 if test "${lt_cv_aix_libpath+set}" = set; then
9418  aix_libpath=$lt_cv_aix_libpath
9419else
9420  if ${lt_cv_aix_libpath_+:} false; then :
9421  $as_echo_n "(cached) " >&6
9422else
9423  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9424/* end confdefs.h.  */
9425
9426int
9427main ()
9428{
9429
9430  ;
9431  return 0;
9432}
9433_ACEOF
9434if ac_fn_c_try_link "$LINENO"; then :
9435
9436  lt_aix_libpath_sed='
9437      /Import File Strings/,/^$/ {
9438	  /^0/ {
9439	      s/^0  *\([^ ]*\) *$/\1/
9440	      p
9441	  }
9442      }'
9443  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9444  # Check for a 64-bit object if we didn't find anything.
9445  if test -z "$lt_cv_aix_libpath_"; then
9446    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9447  fi
9448fi
9449rm -f core conftest.err conftest.$ac_objext \
9450    conftest$ac_exeext conftest.$ac_ext
9451  if test -z "$lt_cv_aix_libpath_"; then
9452    lt_cv_aix_libpath_="/usr/lib:/lib"
9453  fi
9454
9455fi
9456
9457  aix_libpath=$lt_cv_aix_libpath_
9458fi
9459
9460	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9461	  # Warning - without using the other run time loading flags,
9462	  # -berok will link without error, but may produce a broken library.
9463	  no_undefined_flag=' ${wl}-bernotok'
9464	  allow_undefined_flag=' ${wl}-berok'
9465	  if test "$with_gnu_ld" = yes; then
9466	    # We only use this code for GNU lds that support --whole-archive.
9467	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9468	  else
9469	    # Exported symbols can be pulled into shared objects from archives
9470	    whole_archive_flag_spec='$convenience'
9471	  fi
9472	  archive_cmds_need_lc=yes
9473	  # This is similar to how AIX traditionally builds its shared libraries.
9474	  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'
9475	fi
9476      fi
9477      ;;
9478
9479    amigaos*)
9480      case $host_cpu in
9481      powerpc)
9482            # see comment about AmigaOS4 .so support
9483            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9484            archive_expsym_cmds=''
9485        ;;
9486      m68k)
9487            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)'
9488            hardcode_libdir_flag_spec='-L$libdir'
9489            hardcode_minus_L=yes
9490        ;;
9491      esac
9492      ;;
9493
9494    bsdi[45]*)
9495      export_dynamic_flag_spec=-rdynamic
9496      ;;
9497
9498    cygwin* | mingw* | pw32* | cegcc*)
9499      # When not using gcc, we currently assume that we are using
9500      # Microsoft Visual C++.
9501      # hardcode_libdir_flag_spec is actually meaningless, as there is
9502      # no search path for DLLs.
9503      case $cc_basename in
9504      cl*)
9505	# Native MSVC
9506	hardcode_libdir_flag_spec=' '
9507	allow_undefined_flag=unsupported
9508	always_export_symbols=yes
9509	file_list_spec='@'
9510	# Tell ltmain to make .lib files, not .a files.
9511	libext=lib
9512	# Tell ltmain to make .dll files, not .so files.
9513	shrext_cmds=".dll"
9514	# FIXME: Setting linknames here is a bad hack.
9515	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9516	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9517	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9518	  else
9519	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9520	  fi~
9521	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9522	  linknames='
9523	# The linker will not automatically build a static lib if we build a DLL.
9524	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9525	enable_shared_with_static_runtimes=yes
9526	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9527	# Don't use ranlib
9528	old_postinstall_cmds='chmod 644 $oldlib'
9529	postlink_cmds='lt_outputfile="@OUTPUT@"~
9530	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9531	  case $lt_outputfile in
9532	    *.exe|*.EXE) ;;
9533	    *)
9534	      lt_outputfile="$lt_outputfile.exe"
9535	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9536	      ;;
9537	  esac~
9538	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9539	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9540	    $RM "$lt_outputfile.manifest";
9541	  fi'
9542	;;
9543      *)
9544	# Assume MSVC wrapper
9545	hardcode_libdir_flag_spec=' '
9546	allow_undefined_flag=unsupported
9547	# Tell ltmain to make .lib files, not .a files.
9548	libext=lib
9549	# Tell ltmain to make .dll files, not .so files.
9550	shrext_cmds=".dll"
9551	# FIXME: Setting linknames here is a bad hack.
9552	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9553	# The linker will automatically build a .lib file if we build a DLL.
9554	old_archive_from_new_cmds='true'
9555	# FIXME: Should let the user specify the lib program.
9556	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9557	enable_shared_with_static_runtimes=yes
9558	;;
9559      esac
9560      ;;
9561
9562    darwin* | rhapsody*)
9563
9564
9565  archive_cmds_need_lc=no
9566  hardcode_direct=no
9567  hardcode_automatic=yes
9568  hardcode_shlibpath_var=unsupported
9569  if test "$lt_cv_ld_force_load" = "yes"; then
9570    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\"`'
9571  else
9572    whole_archive_flag_spec=''
9573  fi
9574  link_all_deplibs=yes
9575  allow_undefined_flag="$_lt_dar_allow_undefined"
9576  case $cc_basename in
9577     ifort*) _lt_dar_can_shared=yes ;;
9578     *) _lt_dar_can_shared=$GCC ;;
9579  esac
9580  if test "$_lt_dar_can_shared" = "yes"; then
9581    output_verbose_link_cmd=func_echo_all
9582    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9583    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9584    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}"
9585    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}"
9586
9587  else
9588  ld_shlibs=no
9589  fi
9590
9591      ;;
9592
9593    dgux*)
9594      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9595      hardcode_libdir_flag_spec='-L$libdir'
9596      hardcode_shlibpath_var=no
9597      ;;
9598
9599    freebsd1*)
9600      ld_shlibs=no
9601      ;;
9602
9603    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9604    # support.  Future versions do this automatically, but an explicit c++rt0.o
9605    # does not break anything, and helps significantly (at the cost of a little
9606    # extra space).
9607    freebsd2.2*)
9608      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9609      hardcode_libdir_flag_spec='-R$libdir'
9610      hardcode_direct=yes
9611      hardcode_shlibpath_var=no
9612      ;;
9613
9614    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9615    freebsd2*)
9616      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9617      hardcode_direct=yes
9618      hardcode_minus_L=yes
9619      hardcode_shlibpath_var=no
9620      ;;
9621
9622    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9623    freebsd* | dragonfly*)
9624      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9625      hardcode_libdir_flag_spec='-R$libdir'
9626      hardcode_direct=yes
9627      hardcode_shlibpath_var=no
9628      ;;
9629
9630    hpux9*)
9631      if test "$GCC" = yes; then
9632	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'
9633      else
9634	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'
9635      fi
9636      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9637      hardcode_libdir_separator=:
9638      hardcode_direct=yes
9639
9640      # hardcode_minus_L: Not really in the search PATH,
9641      # but as the default location of the library.
9642      hardcode_minus_L=yes
9643      export_dynamic_flag_spec='${wl}-E'
9644      ;;
9645
9646    hpux10*)
9647      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9648	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9649      else
9650	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9651      fi
9652      if test "$with_gnu_ld" = no; then
9653	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9654	hardcode_libdir_flag_spec_ld='+b $libdir'
9655	hardcode_libdir_separator=:
9656	hardcode_direct=yes
9657	hardcode_direct_absolute=yes
9658	export_dynamic_flag_spec='${wl}-E'
9659	# hardcode_minus_L: Not really in the search PATH,
9660	# but as the default location of the library.
9661	hardcode_minus_L=yes
9662      fi
9663      ;;
9664
9665    hpux11*)
9666      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9667	case $host_cpu in
9668	hppa*64*)
9669	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9670	  ;;
9671	ia64*)
9672	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9673	  ;;
9674	*)
9675	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9676	  ;;
9677	esac
9678      else
9679	case $host_cpu in
9680	hppa*64*)
9681	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9682	  ;;
9683	ia64*)
9684	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9685	  ;;
9686	*)
9687
9688	  # Older versions of the 11.00 compiler do not understand -b yet
9689	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9690	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9691$as_echo_n "checking if $CC understands -b... " >&6; }
9692if ${lt_cv_prog_compiler__b+:} false; then :
9693  $as_echo_n "(cached) " >&6
9694else
9695  lt_cv_prog_compiler__b=no
9696   save_LDFLAGS="$LDFLAGS"
9697   LDFLAGS="$LDFLAGS -b"
9698   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9699   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9700     # The linker can only warn and ignore the option if not recognized
9701     # So say no if there are warnings
9702     if test -s conftest.err; then
9703       # Append any errors to the config.log.
9704       cat conftest.err 1>&5
9705       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9706       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9707       if diff conftest.exp conftest.er2 >/dev/null; then
9708         lt_cv_prog_compiler__b=yes
9709       fi
9710     else
9711       lt_cv_prog_compiler__b=yes
9712     fi
9713   fi
9714   $RM -r conftest*
9715   LDFLAGS="$save_LDFLAGS"
9716
9717fi
9718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9719$as_echo "$lt_cv_prog_compiler__b" >&6; }
9720
9721if test x"$lt_cv_prog_compiler__b" = xyes; then
9722    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9723else
9724    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9725fi
9726
9727	  ;;
9728	esac
9729      fi
9730      if test "$with_gnu_ld" = no; then
9731	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9732	hardcode_libdir_separator=:
9733
9734	case $host_cpu in
9735	hppa*64*|ia64*)
9736	  hardcode_direct=no
9737	  hardcode_shlibpath_var=no
9738	  ;;
9739	*)
9740	  hardcode_direct=yes
9741	  hardcode_direct_absolute=yes
9742	  export_dynamic_flag_spec='${wl}-E'
9743
9744	  # hardcode_minus_L: Not really in the search PATH,
9745	  # but as the default location of the library.
9746	  hardcode_minus_L=yes
9747	  ;;
9748	esac
9749      fi
9750      ;;
9751
9752    irix5* | irix6* | nonstopux*)
9753      if test "$GCC" = yes; then
9754	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'
9755	# Try to use the -exported_symbol ld option, if it does not
9756	# work, assume that -exports_file does not work either and
9757	# implicitly export all symbols.
9758	# This should be the same for all languages, so no per-tag cache variable.
9759	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9760$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9761if ${lt_cv_irix_exported_symbol+:} false; then :
9762  $as_echo_n "(cached) " >&6
9763else
9764  save_LDFLAGS="$LDFLAGS"
9765	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9766	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9767/* end confdefs.h.  */
9768int foo (void) { return 0; }
9769_ACEOF
9770if ac_fn_c_try_link "$LINENO"; then :
9771  lt_cv_irix_exported_symbol=yes
9772else
9773  lt_cv_irix_exported_symbol=no
9774fi
9775rm -f core conftest.err conftest.$ac_objext \
9776    conftest$ac_exeext conftest.$ac_ext
9777           LDFLAGS="$save_LDFLAGS"
9778fi
9779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9780$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9781	if test "$lt_cv_irix_exported_symbol" = yes; then
9782          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'
9783	fi
9784      else
9785	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'
9786	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'
9787      fi
9788      archive_cmds_need_lc='no'
9789      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9790      hardcode_libdir_separator=:
9791      inherit_rpath=yes
9792      link_all_deplibs=yes
9793      ;;
9794
9795    netbsd*)
9796      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9797	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9798      else
9799	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9800      fi
9801      hardcode_libdir_flag_spec='-R$libdir'
9802      hardcode_direct=yes
9803      hardcode_shlibpath_var=no
9804      ;;
9805
9806    newsos6)
9807      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9808      hardcode_direct=yes
9809      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9810      hardcode_libdir_separator=:
9811      hardcode_shlibpath_var=no
9812      ;;
9813
9814    *nto* | *qnx*)
9815      ;;
9816
9817    openbsd*)
9818      if test -f /usr/libexec/ld.so; then
9819	hardcode_direct=yes
9820	hardcode_shlibpath_var=no
9821	hardcode_direct_absolute=yes
9822	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9823	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9824	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9825	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9826	  export_dynamic_flag_spec='${wl}-E'
9827	else
9828	  case $host_os in
9829	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9830	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9831	     hardcode_libdir_flag_spec='-R$libdir'
9832	     ;;
9833	   *)
9834	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9835	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9836	     ;;
9837	  esac
9838	fi
9839      else
9840	ld_shlibs=no
9841      fi
9842      ;;
9843
9844    os2*)
9845      hardcode_libdir_flag_spec='-L$libdir'
9846      hardcode_minus_L=yes
9847      allow_undefined_flag=unsupported
9848      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'
9849      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9850      ;;
9851
9852    osf3*)
9853      if test "$GCC" = yes; then
9854	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9855	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'
9856      else
9857	allow_undefined_flag=' -expect_unresolved \*'
9858	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'
9859      fi
9860      archive_cmds_need_lc='no'
9861      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9862      hardcode_libdir_separator=:
9863      ;;
9864
9865    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9866      if test "$GCC" = yes; then
9867	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9868	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'
9869	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870      else
9871	allow_undefined_flag=' -expect_unresolved \*'
9872	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'
9873	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~
9874	$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'
9875
9876	# Both c and cxx compiler support -rpath directly
9877	hardcode_libdir_flag_spec='-rpath $libdir'
9878      fi
9879      archive_cmds_need_lc='no'
9880      hardcode_libdir_separator=:
9881      ;;
9882
9883    solaris*)
9884      no_undefined_flag=' -z defs'
9885      if test "$GCC" = yes; then
9886	wlarc='${wl}'
9887	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9888	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9889	  $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'
9890      else
9891	case `$CC -V 2>&1` in
9892	*"Compilers 5.0"*)
9893	  wlarc=''
9894	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9895	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9896	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9897	  ;;
9898	*)
9899	  wlarc='${wl}'
9900	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9901	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9902	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9903	  ;;
9904	esac
9905      fi
9906      hardcode_libdir_flag_spec='-R$libdir'
9907      hardcode_shlibpath_var=no
9908      case $host_os in
9909      solaris2.[0-5] | solaris2.[0-5].*) ;;
9910      *)
9911	# The compiler driver will combine and reorder linker options,
9912	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9913	# but is careful enough not to reorder.
9914	# Supported since Solaris 2.6 (maybe 2.5.1?)
9915	if test "$GCC" = yes; then
9916	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9917	else
9918	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9919	fi
9920	;;
9921      esac
9922      link_all_deplibs=yes
9923      ;;
9924
9925    sunos4*)
9926      if test "x$host_vendor" = xsequent; then
9927	# Use $CC to link under sequent, because it throws in some extra .o
9928	# files that make .init and .fini sections work.
9929	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9930      else
9931	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9932      fi
9933      hardcode_libdir_flag_spec='-L$libdir'
9934      hardcode_direct=yes
9935      hardcode_minus_L=yes
9936      hardcode_shlibpath_var=no
9937      ;;
9938
9939    sysv4)
9940      case $host_vendor in
9941	sni)
9942	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9943	  hardcode_direct=yes # is this really true???
9944	;;
9945	siemens)
9946	  ## LD is ld it makes a PLAMLIB
9947	  ## CC just makes a GrossModule.
9948	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9949	  reload_cmds='$CC -r -o $output$reload_objs'
9950	  hardcode_direct=no
9951        ;;
9952	motorola)
9953	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9954	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9955	;;
9956      esac
9957      runpath_var='LD_RUN_PATH'
9958      hardcode_shlibpath_var=no
9959      ;;
9960
9961    sysv4.3*)
9962      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9963      hardcode_shlibpath_var=no
9964      export_dynamic_flag_spec='-Bexport'
9965      ;;
9966
9967    sysv4*MP*)
9968      if test -d /usr/nec; then
9969	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9970	hardcode_shlibpath_var=no
9971	runpath_var=LD_RUN_PATH
9972	hardcode_runpath_var=yes
9973	ld_shlibs=yes
9974      fi
9975      ;;
9976
9977    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9978      no_undefined_flag='${wl}-z,text'
9979      archive_cmds_need_lc=no
9980      hardcode_shlibpath_var=no
9981      runpath_var='LD_RUN_PATH'
9982
9983      if test "$GCC" = yes; then
9984	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9985	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9986      else
9987	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9988	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9989      fi
9990      ;;
9991
9992    sysv5* | sco3.2v5* | sco5v6*)
9993      # Note: We can NOT use -z defs as we might desire, because we do not
9994      # link with -lc, and that would cause any symbols used from libc to
9995      # always be unresolved, which means just about no library would
9996      # ever link correctly.  If we're not using GNU ld we use -z text
9997      # though, which does catch some bad symbols but isn't as heavy-handed
9998      # as -z defs.
9999      no_undefined_flag='${wl}-z,text'
10000      allow_undefined_flag='${wl}-z,nodefs'
10001      archive_cmds_need_lc=no
10002      hardcode_shlibpath_var=no
10003      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10004      hardcode_libdir_separator=':'
10005      link_all_deplibs=yes
10006      export_dynamic_flag_spec='${wl}-Bexport'
10007      runpath_var='LD_RUN_PATH'
10008
10009      if test "$GCC" = yes; then
10010	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10011	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10012      else
10013	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10014	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10015      fi
10016      ;;
10017
10018    uts4*)
10019      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10020      hardcode_libdir_flag_spec='-L$libdir'
10021      hardcode_shlibpath_var=no
10022      ;;
10023
10024    *)
10025      ld_shlibs=no
10026      ;;
10027    esac
10028
10029    if test x$host_vendor = xsni; then
10030      case $host in
10031      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10032	export_dynamic_flag_spec='${wl}-Blargedynsym'
10033	;;
10034      esac
10035    fi
10036  fi
10037
10038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10039$as_echo "$ld_shlibs" >&6; }
10040test "$ld_shlibs" = no && can_build_shared=no
10041
10042with_gnu_ld=$with_gnu_ld
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058#
10059# Do we need to explicitly link libc?
10060#
10061case "x$archive_cmds_need_lc" in
10062x|xyes)
10063  # Assume -lc should be added
10064  archive_cmds_need_lc=yes
10065
10066  if test "$enable_shared" = yes && test "$GCC" = yes; then
10067    case $archive_cmds in
10068    *'~'*)
10069      # FIXME: we may have to deal with multi-command sequences.
10070      ;;
10071    '$CC '*)
10072      # Test whether the compiler implicitly links with -lc since on some
10073      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10074      # to ld, don't add -lc before -lgcc.
10075      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10076$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10077if ${lt_cv_archive_cmds_need_lc+:} false; then :
10078  $as_echo_n "(cached) " >&6
10079else
10080  $RM conftest*
10081	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10082
10083	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10084  (eval $ac_compile) 2>&5
10085  ac_status=$?
10086  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10087  test $ac_status = 0; } 2>conftest.err; then
10088	  soname=conftest
10089	  lib=conftest
10090	  libobjs=conftest.$ac_objext
10091	  deplibs=
10092	  wl=$lt_prog_compiler_wl
10093	  pic_flag=$lt_prog_compiler_pic
10094	  compiler_flags=-v
10095	  linker_flags=-v
10096	  verstring=
10097	  output_objdir=.
10098	  libname=conftest
10099	  lt_save_allow_undefined_flag=$allow_undefined_flag
10100	  allow_undefined_flag=
10101	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10102  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10103  ac_status=$?
10104  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10105  test $ac_status = 0; }
10106	  then
10107	    lt_cv_archive_cmds_need_lc=no
10108	  else
10109	    lt_cv_archive_cmds_need_lc=yes
10110	  fi
10111	  allow_undefined_flag=$lt_save_allow_undefined_flag
10112	else
10113	  cat conftest.err 1>&5
10114	fi
10115	$RM conftest*
10116
10117fi
10118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10119$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10120      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10121      ;;
10122    esac
10123  fi
10124  ;;
10125esac
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10284$as_echo_n "checking dynamic linker characteristics... " >&6; }
10285
10286if test "$GCC" = yes; then
10287  case $host_os in
10288    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10289    *) lt_awk_arg="/^libraries:/" ;;
10290  esac
10291  case $host_os in
10292    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10293    *) lt_sed_strip_eq="s,=/,/,g" ;;
10294  esac
10295  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10296  case $lt_search_path_spec in
10297  *\;*)
10298    # if the path contains ";" then we assume it to be the separator
10299    # otherwise default to the standard path separator (i.e. ":") - it is
10300    # assumed that no part of a normal pathname contains ";" but that should
10301    # okay in the real world where ";" in dirpaths is itself problematic.
10302    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10303    ;;
10304  *)
10305    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10306    ;;
10307  esac
10308  # Ok, now we have the path, separated by spaces, we can step through it
10309  # and add multilib dir if necessary.
10310  lt_tmp_lt_search_path_spec=
10311  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10312  for lt_sys_path in $lt_search_path_spec; do
10313    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10314      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10315    else
10316      test -d "$lt_sys_path" && \
10317	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10318    fi
10319  done
10320  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10321BEGIN {RS=" "; FS="/|\n";} {
10322  lt_foo="";
10323  lt_count=0;
10324  for (lt_i = NF; lt_i > 0; lt_i--) {
10325    if ($lt_i != "" && $lt_i != ".") {
10326      if ($lt_i == "..") {
10327        lt_count++;
10328      } else {
10329        if (lt_count == 0) {
10330          lt_foo="/" $lt_i lt_foo;
10331        } else {
10332          lt_count--;
10333        }
10334      }
10335    }
10336  }
10337  if (lt_foo != "") { lt_freq[lt_foo]++; }
10338  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10339}'`
10340  # AWK program above erroneously prepends '/' to C:/dos/paths
10341  # for these hosts.
10342  case $host_os in
10343    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10344      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10345  esac
10346  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10347else
10348  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10349fi
10350library_names_spec=
10351libname_spec='lib$name'
10352soname_spec=
10353shrext_cmds=".so"
10354postinstall_cmds=
10355postuninstall_cmds=
10356finish_cmds=
10357finish_eval=
10358shlibpath_var=
10359shlibpath_overrides_runpath=unknown
10360version_type=none
10361dynamic_linker="$host_os ld.so"
10362sys_lib_dlsearch_path_spec="/lib /usr/lib"
10363need_lib_prefix=unknown
10364hardcode_into_libs=no
10365
10366# when you set need_version to no, make sure it does not cause -set_version
10367# flags to be left without arguments
10368need_version=unknown
10369
10370case $host_os in
10371aix3*)
10372  version_type=linux
10373  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10374  shlibpath_var=LIBPATH
10375
10376  # AIX 3 has no versioning support, so we append a major version to the name.
10377  soname_spec='${libname}${release}${shared_ext}$major'
10378  ;;
10379
10380aix[4-9]*)
10381  version_type=linux
10382  need_lib_prefix=no
10383  need_version=no
10384  hardcode_into_libs=yes
10385  if test "$host_cpu" = ia64; then
10386    # AIX 5 supports IA64
10387    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10388    shlibpath_var=LD_LIBRARY_PATH
10389  else
10390    # With GCC up to 2.95.x, collect2 would create an import file
10391    # for dependence libraries.  The import file would start with
10392    # the line `#! .'.  This would cause the generated library to
10393    # depend on `.', always an invalid library.  This was fixed in
10394    # development snapshots of GCC prior to 3.0.
10395    case $host_os in
10396      aix4 | aix4.[01] | aix4.[01].*)
10397      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10398	   echo ' yes '
10399	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10400	:
10401      else
10402	can_build_shared=no
10403      fi
10404      ;;
10405    esac
10406    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10407    # soname into executable. Probably we can add versioning support to
10408    # collect2, so additional links can be useful in future.
10409    if test "$aix_use_runtimelinking" = yes; then
10410      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10411      # instead of lib<name>.a to let people know that these are not
10412      # typical AIX shared libraries.
10413      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10414    else
10415      # We preserve .a as extension for shared libraries through AIX4.2
10416      # and later when we are not doing run time linking.
10417      library_names_spec='${libname}${release}.a $libname.a'
10418      soname_spec='${libname}${release}${shared_ext}$major'
10419    fi
10420    shlibpath_var=LIBPATH
10421  fi
10422  ;;
10423
10424amigaos*)
10425  case $host_cpu in
10426  powerpc)
10427    # Since July 2007 AmigaOS4 officially supports .so libraries.
10428    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10429    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10430    ;;
10431  m68k)
10432    library_names_spec='$libname.ixlibrary $libname.a'
10433    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10434    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'
10435    ;;
10436  esac
10437  ;;
10438
10439beos*)
10440  library_names_spec='${libname}${shared_ext}'
10441  dynamic_linker="$host_os ld.so"
10442  shlibpath_var=LIBRARY_PATH
10443  ;;
10444
10445bsdi[45]*)
10446  version_type=linux
10447  need_version=no
10448  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10449  soname_spec='${libname}${release}${shared_ext}$major'
10450  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10451  shlibpath_var=LD_LIBRARY_PATH
10452  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10453  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10454  # the default ld.so.conf also contains /usr/contrib/lib and
10455  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10456  # libtool to hard-code these into programs
10457  ;;
10458
10459cygwin* | mingw* | pw32* | cegcc*)
10460  version_type=windows
10461  shrext_cmds=".dll"
10462  need_version=no
10463  need_lib_prefix=no
10464
10465  case $GCC,$cc_basename in
10466  yes,*)
10467    # gcc
10468    library_names_spec='$libname.dll.a'
10469    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10470    postinstall_cmds='base_file=`basename \${file}`~
10471      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10472      dldir=$destdir/`dirname \$dlpath`~
10473      test -d \$dldir || mkdir -p \$dldir~
10474      $install_prog $dir/$dlname \$dldir/$dlname~
10475      chmod a+x \$dldir/$dlname~
10476      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10477        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10478      fi'
10479    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10480      dlpath=$dir/\$dldll~
10481       $RM \$dlpath'
10482    shlibpath_overrides_runpath=yes
10483
10484    case $host_os in
10485    cygwin*)
10486      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10487      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10488
10489      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10490      ;;
10491    mingw* | cegcc*)
10492      # MinGW DLLs use traditional 'lib' prefix
10493      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10494      ;;
10495    pw32*)
10496      # pw32 DLLs use 'pw' prefix rather than 'lib'
10497      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10498      ;;
10499    esac
10500    dynamic_linker='Win32 ld.exe'
10501    ;;
10502
10503  *,cl*)
10504    # Native MSVC
10505    libname_spec='$name'
10506    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10507    library_names_spec='${libname}.dll.lib'
10508
10509    case $build_os in
10510    mingw*)
10511      sys_lib_search_path_spec=
10512      lt_save_ifs=$IFS
10513      IFS=';'
10514      for lt_path in $LIB
10515      do
10516        IFS=$lt_save_ifs
10517        # Let DOS variable expansion print the short 8.3 style file name.
10518        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10519        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10520      done
10521      IFS=$lt_save_ifs
10522      # Convert to MSYS style.
10523      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10524      ;;
10525    cygwin*)
10526      # Convert to unix form, then to dos form, then back to unix form
10527      # but this time dos style (no spaces!) so that the unix form looks
10528      # like /cygdrive/c/PROGRA~1:/cygdr...
10529      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10530      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10531      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10532      ;;
10533    *)
10534      sys_lib_search_path_spec="$LIB"
10535      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10536        # It is most probably a Windows format PATH.
10537        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10538      else
10539        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10540      fi
10541      # FIXME: find the short name or the path components, as spaces are
10542      # common. (e.g. "Program Files" -> "PROGRA~1")
10543      ;;
10544    esac
10545
10546    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10547    postinstall_cmds='base_file=`basename \${file}`~
10548      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10549      dldir=$destdir/`dirname \$dlpath`~
10550      test -d \$dldir || mkdir -p \$dldir~
10551      $install_prog $dir/$dlname \$dldir/$dlname'
10552    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10553      dlpath=$dir/\$dldll~
10554       $RM \$dlpath'
10555    shlibpath_overrides_runpath=yes
10556    dynamic_linker='Win32 link.exe'
10557    ;;
10558
10559  *)
10560    # Assume MSVC wrapper
10561    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10562    dynamic_linker='Win32 ld.exe'
10563    ;;
10564  esac
10565  # FIXME: first we should search . and the directory the executable is in
10566  shlibpath_var=PATH
10567  ;;
10568
10569darwin* | rhapsody*)
10570  dynamic_linker="$host_os dyld"
10571  version_type=darwin
10572  need_lib_prefix=no
10573  need_version=no
10574  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10575  soname_spec='${libname}${release}${major}$shared_ext'
10576  shlibpath_overrides_runpath=yes
10577  shlibpath_var=DYLD_LIBRARY_PATH
10578  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10579
10580  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10581  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10582  ;;
10583
10584dgux*)
10585  version_type=linux
10586  need_lib_prefix=no
10587  need_version=no
10588  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10589  soname_spec='${libname}${release}${shared_ext}$major'
10590  shlibpath_var=LD_LIBRARY_PATH
10591  ;;
10592
10593freebsd1*)
10594  dynamic_linker=no
10595  ;;
10596
10597freebsd* | dragonfly*)
10598  # DragonFly does not have aout.  When/if they implement a new
10599  # versioning mechanism, adjust this.
10600  if test -x /usr/bin/objformat; then
10601    objformat=`/usr/bin/objformat`
10602  else
10603    case $host_os in
10604    freebsd[123]*) objformat=aout ;;
10605    *) objformat=elf ;;
10606    esac
10607  fi
10608  version_type=freebsd-$objformat
10609  case $version_type in
10610    freebsd-elf*)
10611      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10612      need_version=no
10613      need_lib_prefix=no
10614      ;;
10615    freebsd-*)
10616      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10617      need_version=yes
10618      ;;
10619  esac
10620  shlibpath_var=LD_LIBRARY_PATH
10621  case $host_os in
10622  freebsd2*)
10623    shlibpath_overrides_runpath=yes
10624    ;;
10625  freebsd3.[01]* | freebsdelf3.[01]*)
10626    shlibpath_overrides_runpath=yes
10627    hardcode_into_libs=yes
10628    ;;
10629  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10630  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10631    shlibpath_overrides_runpath=no
10632    hardcode_into_libs=yes
10633    ;;
10634  *) # from 4.6 on, and DragonFly
10635    shlibpath_overrides_runpath=yes
10636    hardcode_into_libs=yes
10637    ;;
10638  esac
10639  ;;
10640
10641gnu*)
10642  version_type=linux
10643  need_lib_prefix=no
10644  need_version=no
10645  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10646  soname_spec='${libname}${release}${shared_ext}$major'
10647  shlibpath_var=LD_LIBRARY_PATH
10648  hardcode_into_libs=yes
10649  ;;
10650
10651haiku*)
10652  version_type=linux
10653  need_lib_prefix=no
10654  need_version=no
10655  dynamic_linker="$host_os runtime_loader"
10656  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10657  soname_spec='${libname}${release}${shared_ext}$major'
10658  shlibpath_var=LIBRARY_PATH
10659  shlibpath_overrides_runpath=yes
10660  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10661  hardcode_into_libs=yes
10662  ;;
10663
10664hpux9* | hpux10* | hpux11*)
10665  # Give a soname corresponding to the major version so that dld.sl refuses to
10666  # link against other versions.
10667  version_type=sunos
10668  need_lib_prefix=no
10669  need_version=no
10670  case $host_cpu in
10671  ia64*)
10672    shrext_cmds='.so'
10673    hardcode_into_libs=yes
10674    dynamic_linker="$host_os dld.so"
10675    shlibpath_var=LD_LIBRARY_PATH
10676    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10677    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10678    soname_spec='${libname}${release}${shared_ext}$major'
10679    if test "X$HPUX_IA64_MODE" = X32; then
10680      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10681    else
10682      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10683    fi
10684    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10685    ;;
10686  hppa*64*)
10687    shrext_cmds='.sl'
10688    hardcode_into_libs=yes
10689    dynamic_linker="$host_os dld.sl"
10690    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10691    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10692    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10693    soname_spec='${libname}${release}${shared_ext}$major'
10694    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10695    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10696    ;;
10697  *)
10698    shrext_cmds='.sl'
10699    dynamic_linker="$host_os dld.sl"
10700    shlibpath_var=SHLIB_PATH
10701    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10702    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10703    soname_spec='${libname}${release}${shared_ext}$major'
10704    ;;
10705  esac
10706  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10707  postinstall_cmds='chmod 555 $lib'
10708  # or fails outright, so override atomically:
10709  install_override_mode=555
10710  ;;
10711
10712interix[3-9]*)
10713  version_type=linux
10714  need_lib_prefix=no
10715  need_version=no
10716  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10717  soname_spec='${libname}${release}${shared_ext}$major'
10718  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10719  shlibpath_var=LD_LIBRARY_PATH
10720  shlibpath_overrides_runpath=no
10721  hardcode_into_libs=yes
10722  ;;
10723
10724irix5* | irix6* | nonstopux*)
10725  case $host_os in
10726    nonstopux*) version_type=nonstopux ;;
10727    *)
10728	if test "$lt_cv_prog_gnu_ld" = yes; then
10729		version_type=linux
10730	else
10731		version_type=irix
10732	fi ;;
10733  esac
10734  need_lib_prefix=no
10735  need_version=no
10736  soname_spec='${libname}${release}${shared_ext}$major'
10737  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10738  case $host_os in
10739  irix5* | nonstopux*)
10740    libsuff= shlibsuff=
10741    ;;
10742  *)
10743    case $LD in # libtool.m4 will add one of these switches to LD
10744    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10745      libsuff= shlibsuff= libmagic=32-bit;;
10746    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10747      libsuff=32 shlibsuff=N32 libmagic=N32;;
10748    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10749      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10750    *) libsuff= shlibsuff= libmagic=never-match;;
10751    esac
10752    ;;
10753  esac
10754  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10755  shlibpath_overrides_runpath=no
10756  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10757  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10758  hardcode_into_libs=yes
10759  ;;
10760
10761# No shared lib support for Linux oldld, aout, or coff.
10762linux*oldld* | linux*aout* | linux*coff*)
10763  dynamic_linker=no
10764  ;;
10765
10766# This must be Linux ELF.
10767linux* | k*bsd*-gnu | kopensolaris*-gnu)
10768  version_type=linux
10769  need_lib_prefix=no
10770  need_version=no
10771  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10772  soname_spec='${libname}${release}${shared_ext}$major'
10773  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10774  shlibpath_var=LD_LIBRARY_PATH
10775  shlibpath_overrides_runpath=no
10776
10777  # Some binutils ld are patched to set DT_RUNPATH
10778  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10779  $as_echo_n "(cached) " >&6
10780else
10781  lt_cv_shlibpath_overrides_runpath=no
10782    save_LDFLAGS=$LDFLAGS
10783    save_libdir=$libdir
10784    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10785	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10786    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10787/* end confdefs.h.  */
10788
10789int
10790main ()
10791{
10792
10793  ;
10794  return 0;
10795}
10796_ACEOF
10797if ac_fn_c_try_link "$LINENO"; then :
10798  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10799  lt_cv_shlibpath_overrides_runpath=yes
10800fi
10801fi
10802rm -f core conftest.err conftest.$ac_objext \
10803    conftest$ac_exeext conftest.$ac_ext
10804    LDFLAGS=$save_LDFLAGS
10805    libdir=$save_libdir
10806
10807fi
10808
10809  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10810
10811  # This implies no fast_install, which is unacceptable.
10812  # Some rework will be needed to allow for fast_install
10813  # before this can be enabled.
10814  hardcode_into_libs=yes
10815
10816  # Add ABI-specific directories to the system library path.
10817  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10818
10819  # Append ld.so.conf contents to the search path
10820  if test -f /etc/ld.so.conf; then
10821    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' ' '`
10822    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10823
10824  fi
10825
10826  # We used to test for /lib/ld.so.1 and disable shared libraries on
10827  # powerpc, because MkLinux only supported shared libraries with the
10828  # GNU dynamic linker.  Since this was broken with cross compilers,
10829  # most powerpc-linux boxes support dynamic linking these days and
10830  # people can always --disable-shared, the test was removed, and we
10831  # assume the GNU/Linux dynamic linker is in use.
10832  dynamic_linker='GNU/Linux ld.so'
10833  ;;
10834
10835netbsd*)
10836  version_type=sunos
10837  need_lib_prefix=no
10838  need_version=no
10839  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10840    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10841    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10842    dynamic_linker='NetBSD (a.out) ld.so'
10843  else
10844    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10845    soname_spec='${libname}${release}${shared_ext}$major'
10846    dynamic_linker='NetBSD ld.elf_so'
10847  fi
10848  shlibpath_var=LD_LIBRARY_PATH
10849  shlibpath_overrides_runpath=yes
10850  hardcode_into_libs=yes
10851  ;;
10852
10853newsos6)
10854  version_type=linux
10855  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10856  shlibpath_var=LD_LIBRARY_PATH
10857  shlibpath_overrides_runpath=yes
10858  ;;
10859
10860*nto* | *qnx*)
10861  version_type=qnx
10862  need_lib_prefix=no
10863  need_version=no
10864  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10865  soname_spec='${libname}${release}${shared_ext}$major'
10866  shlibpath_var=LD_LIBRARY_PATH
10867  shlibpath_overrides_runpath=no
10868  hardcode_into_libs=yes
10869  dynamic_linker='ldqnx.so'
10870  ;;
10871
10872openbsd*)
10873  version_type=sunos
10874  sys_lib_dlsearch_path_spec="/usr/lib"
10875  need_lib_prefix=no
10876  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10877  case $host_os in
10878    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10879    *)				need_version=no  ;;
10880  esac
10881  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883  shlibpath_var=LD_LIBRARY_PATH
10884  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10885    case $host_os in
10886      openbsd2.[89] | openbsd2.[89].*)
10887	shlibpath_overrides_runpath=no
10888	;;
10889      *)
10890	shlibpath_overrides_runpath=yes
10891	;;
10892      esac
10893  else
10894    shlibpath_overrides_runpath=yes
10895  fi
10896  ;;
10897
10898os2*)
10899  libname_spec='$name'
10900  shrext_cmds=".dll"
10901  need_lib_prefix=no
10902  library_names_spec='$libname${shared_ext} $libname.a'
10903  dynamic_linker='OS/2 ld.exe'
10904  shlibpath_var=LIBPATH
10905  ;;
10906
10907osf3* | osf4* | osf5*)
10908  version_type=osf
10909  need_lib_prefix=no
10910  need_version=no
10911  soname_spec='${libname}${release}${shared_ext}$major'
10912  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10913  shlibpath_var=LD_LIBRARY_PATH
10914  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10915  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10916  ;;
10917
10918rdos*)
10919  dynamic_linker=no
10920  ;;
10921
10922solaris*)
10923  version_type=linux
10924  need_lib_prefix=no
10925  need_version=no
10926  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10927  soname_spec='${libname}${release}${shared_ext}$major'
10928  shlibpath_var=LD_LIBRARY_PATH
10929  shlibpath_overrides_runpath=yes
10930  hardcode_into_libs=yes
10931  # ldd complains unless libraries are executable
10932  postinstall_cmds='chmod +x $lib'
10933  ;;
10934
10935sunos4*)
10936  version_type=sunos
10937  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10938  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10939  shlibpath_var=LD_LIBRARY_PATH
10940  shlibpath_overrides_runpath=yes
10941  if test "$with_gnu_ld" = yes; then
10942    need_lib_prefix=no
10943  fi
10944  need_version=yes
10945  ;;
10946
10947sysv4 | sysv4.3*)
10948  version_type=linux
10949  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10950  soname_spec='${libname}${release}${shared_ext}$major'
10951  shlibpath_var=LD_LIBRARY_PATH
10952  case $host_vendor in
10953    sni)
10954      shlibpath_overrides_runpath=no
10955      need_lib_prefix=no
10956      runpath_var=LD_RUN_PATH
10957      ;;
10958    siemens)
10959      need_lib_prefix=no
10960      ;;
10961    motorola)
10962      need_lib_prefix=no
10963      need_version=no
10964      shlibpath_overrides_runpath=no
10965      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10966      ;;
10967  esac
10968  ;;
10969
10970sysv4*MP*)
10971  if test -d /usr/nec ;then
10972    version_type=linux
10973    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10974    soname_spec='$libname${shared_ext}.$major'
10975    shlibpath_var=LD_LIBRARY_PATH
10976  fi
10977  ;;
10978
10979sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10980  version_type=freebsd-elf
10981  need_lib_prefix=no
10982  need_version=no
10983  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10984  soname_spec='${libname}${release}${shared_ext}$major'
10985  shlibpath_var=LD_LIBRARY_PATH
10986  shlibpath_overrides_runpath=yes
10987  hardcode_into_libs=yes
10988  if test "$with_gnu_ld" = yes; then
10989    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10990  else
10991    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10992    case $host_os in
10993      sco3.2v5*)
10994        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10995	;;
10996    esac
10997  fi
10998  sys_lib_dlsearch_path_spec='/usr/lib'
10999  ;;
11000
11001tpf*)
11002  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11003  version_type=linux
11004  need_lib_prefix=no
11005  need_version=no
11006  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11007  shlibpath_var=LD_LIBRARY_PATH
11008  shlibpath_overrides_runpath=no
11009  hardcode_into_libs=yes
11010  ;;
11011
11012uts4*)
11013  version_type=linux
11014  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015  soname_spec='${libname}${release}${shared_ext}$major'
11016  shlibpath_var=LD_LIBRARY_PATH
11017  ;;
11018
11019*)
11020  dynamic_linker=no
11021  ;;
11022esac
11023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11024$as_echo "$dynamic_linker" >&6; }
11025test "$dynamic_linker" = no && can_build_shared=no
11026
11027variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11028if test "$GCC" = yes; then
11029  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11030fi
11031
11032if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11033  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11034fi
11035if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11036  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11037fi
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11131$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11132hardcode_action=
11133if test -n "$hardcode_libdir_flag_spec" ||
11134   test -n "$runpath_var" ||
11135   test "X$hardcode_automatic" = "Xyes" ; then
11136
11137  # We can hardcode non-existent directories.
11138  if test "$hardcode_direct" != no &&
11139     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11140     # have to relink, otherwise we might link with an installed library
11141     # when we should be linking with a yet-to-be-installed one
11142     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11143     test "$hardcode_minus_L" != no; then
11144    # Linking always hardcodes the temporary library directory.
11145    hardcode_action=relink
11146  else
11147    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11148    hardcode_action=immediate
11149  fi
11150else
11151  # We cannot hardcode anything, or else we can only hardcode existing
11152  # directories.
11153  hardcode_action=unsupported
11154fi
11155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11156$as_echo "$hardcode_action" >&6; }
11157
11158if test "$hardcode_action" = relink ||
11159   test "$inherit_rpath" = yes; then
11160  # Fast installation is not supported
11161  enable_fast_install=no
11162elif test "$shlibpath_overrides_runpath" = yes ||
11163     test "$enable_shared" = no; then
11164  # Fast installation is not necessary
11165  enable_fast_install=needless
11166fi
11167
11168
11169
11170
11171
11172
11173  if test "x$enable_dlopen" != xyes; then
11174  enable_dlopen=unknown
11175  enable_dlopen_self=unknown
11176  enable_dlopen_self_static=unknown
11177else
11178  lt_cv_dlopen=no
11179  lt_cv_dlopen_libs=
11180
11181  case $host_os in
11182  beos*)
11183    lt_cv_dlopen="load_add_on"
11184    lt_cv_dlopen_libs=
11185    lt_cv_dlopen_self=yes
11186    ;;
11187
11188  mingw* | pw32* | cegcc*)
11189    lt_cv_dlopen="LoadLibrary"
11190    lt_cv_dlopen_libs=
11191    ;;
11192
11193  cygwin*)
11194    lt_cv_dlopen="dlopen"
11195    lt_cv_dlopen_libs=
11196    ;;
11197
11198  darwin*)
11199  # if libdl is installed we need to link against it
11200    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11201$as_echo_n "checking for dlopen in -ldl... " >&6; }
11202if ${ac_cv_lib_dl_dlopen+:} false; then :
11203  $as_echo_n "(cached) " >&6
11204else
11205  ac_check_lib_save_LIBS=$LIBS
11206LIBS="-ldl  $LIBS"
11207cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11208/* end confdefs.h.  */
11209
11210/* Override any GCC internal prototype to avoid an error.
11211   Use char because int might match the return type of a GCC
11212   builtin and then its argument prototype would still apply.  */
11213#ifdef __cplusplus
11214extern "C"
11215#endif
11216char dlopen ();
11217int
11218main ()
11219{
11220return dlopen ();
11221  ;
11222  return 0;
11223}
11224_ACEOF
11225if ac_fn_c_try_link "$LINENO"; then :
11226  ac_cv_lib_dl_dlopen=yes
11227else
11228  ac_cv_lib_dl_dlopen=no
11229fi
11230rm -f core conftest.err conftest.$ac_objext \
11231    conftest$ac_exeext conftest.$ac_ext
11232LIBS=$ac_check_lib_save_LIBS
11233fi
11234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11235$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11236if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11237  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11238else
11239
11240    lt_cv_dlopen="dyld"
11241    lt_cv_dlopen_libs=
11242    lt_cv_dlopen_self=yes
11243
11244fi
11245
11246    ;;
11247
11248  *)
11249    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11250if test "x$ac_cv_func_shl_load" = xyes; then :
11251  lt_cv_dlopen="shl_load"
11252else
11253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11254$as_echo_n "checking for shl_load in -ldld... " >&6; }
11255if ${ac_cv_lib_dld_shl_load+:} false; then :
11256  $as_echo_n "(cached) " >&6
11257else
11258  ac_check_lib_save_LIBS=$LIBS
11259LIBS="-ldld  $LIBS"
11260cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11261/* end confdefs.h.  */
11262
11263/* Override any GCC internal prototype to avoid an error.
11264   Use char because int might match the return type of a GCC
11265   builtin and then its argument prototype would still apply.  */
11266#ifdef __cplusplus
11267extern "C"
11268#endif
11269char shl_load ();
11270int
11271main ()
11272{
11273return shl_load ();
11274  ;
11275  return 0;
11276}
11277_ACEOF
11278if ac_fn_c_try_link "$LINENO"; then :
11279  ac_cv_lib_dld_shl_load=yes
11280else
11281  ac_cv_lib_dld_shl_load=no
11282fi
11283rm -f core conftest.err conftest.$ac_objext \
11284    conftest$ac_exeext conftest.$ac_ext
11285LIBS=$ac_check_lib_save_LIBS
11286fi
11287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11288$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11289if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11290  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11291else
11292  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11293if test "x$ac_cv_func_dlopen" = xyes; then :
11294  lt_cv_dlopen="dlopen"
11295else
11296  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11297$as_echo_n "checking for dlopen in -ldl... " >&6; }
11298if ${ac_cv_lib_dl_dlopen+:} false; then :
11299  $as_echo_n "(cached) " >&6
11300else
11301  ac_check_lib_save_LIBS=$LIBS
11302LIBS="-ldl  $LIBS"
11303cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11304/* end confdefs.h.  */
11305
11306/* Override any GCC internal prototype to avoid an error.
11307   Use char because int might match the return type of a GCC
11308   builtin and then its argument prototype would still apply.  */
11309#ifdef __cplusplus
11310extern "C"
11311#endif
11312char dlopen ();
11313int
11314main ()
11315{
11316return dlopen ();
11317  ;
11318  return 0;
11319}
11320_ACEOF
11321if ac_fn_c_try_link "$LINENO"; then :
11322  ac_cv_lib_dl_dlopen=yes
11323else
11324  ac_cv_lib_dl_dlopen=no
11325fi
11326rm -f core conftest.err conftest.$ac_objext \
11327    conftest$ac_exeext conftest.$ac_ext
11328LIBS=$ac_check_lib_save_LIBS
11329fi
11330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11331$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11332if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11333  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11334else
11335  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11336$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11337if ${ac_cv_lib_svld_dlopen+:} false; then :
11338  $as_echo_n "(cached) " >&6
11339else
11340  ac_check_lib_save_LIBS=$LIBS
11341LIBS="-lsvld  $LIBS"
11342cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11343/* end confdefs.h.  */
11344
11345/* Override any GCC internal prototype to avoid an error.
11346   Use char because int might match the return type of a GCC
11347   builtin and then its argument prototype would still apply.  */
11348#ifdef __cplusplus
11349extern "C"
11350#endif
11351char dlopen ();
11352int
11353main ()
11354{
11355return dlopen ();
11356  ;
11357  return 0;
11358}
11359_ACEOF
11360if ac_fn_c_try_link "$LINENO"; then :
11361  ac_cv_lib_svld_dlopen=yes
11362else
11363  ac_cv_lib_svld_dlopen=no
11364fi
11365rm -f core conftest.err conftest.$ac_objext \
11366    conftest$ac_exeext conftest.$ac_ext
11367LIBS=$ac_check_lib_save_LIBS
11368fi
11369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11370$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11371if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11372  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11373else
11374  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11375$as_echo_n "checking for dld_link in -ldld... " >&6; }
11376if ${ac_cv_lib_dld_dld_link+:} false; then :
11377  $as_echo_n "(cached) " >&6
11378else
11379  ac_check_lib_save_LIBS=$LIBS
11380LIBS="-ldld  $LIBS"
11381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11382/* end confdefs.h.  */
11383
11384/* Override any GCC internal prototype to avoid an error.
11385   Use char because int might match the return type of a GCC
11386   builtin and then its argument prototype would still apply.  */
11387#ifdef __cplusplus
11388extern "C"
11389#endif
11390char dld_link ();
11391int
11392main ()
11393{
11394return dld_link ();
11395  ;
11396  return 0;
11397}
11398_ACEOF
11399if ac_fn_c_try_link "$LINENO"; then :
11400  ac_cv_lib_dld_dld_link=yes
11401else
11402  ac_cv_lib_dld_dld_link=no
11403fi
11404rm -f core conftest.err conftest.$ac_objext \
11405    conftest$ac_exeext conftest.$ac_ext
11406LIBS=$ac_check_lib_save_LIBS
11407fi
11408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11409$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11410if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11411  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11412fi
11413
11414
11415fi
11416
11417
11418fi
11419
11420
11421fi
11422
11423
11424fi
11425
11426
11427fi
11428
11429    ;;
11430  esac
11431
11432  if test "x$lt_cv_dlopen" != xno; then
11433    enable_dlopen=yes
11434  else
11435    enable_dlopen=no
11436  fi
11437
11438  case $lt_cv_dlopen in
11439  dlopen)
11440    save_CPPFLAGS="$CPPFLAGS"
11441    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11442
11443    save_LDFLAGS="$LDFLAGS"
11444    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11445
11446    save_LIBS="$LIBS"
11447    LIBS="$lt_cv_dlopen_libs $LIBS"
11448
11449    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11450$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11451if ${lt_cv_dlopen_self+:} false; then :
11452  $as_echo_n "(cached) " >&6
11453else
11454  	  if test "$cross_compiling" = yes; then :
11455  lt_cv_dlopen_self=cross
11456else
11457  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11458  lt_status=$lt_dlunknown
11459  cat > conftest.$ac_ext <<_LT_EOF
11460#line $LINENO "configure"
11461#include "confdefs.h"
11462
11463#if HAVE_DLFCN_H
11464#include <dlfcn.h>
11465#endif
11466
11467#include <stdio.h>
11468
11469#ifdef RTLD_GLOBAL
11470#  define LT_DLGLOBAL		RTLD_GLOBAL
11471#else
11472#  ifdef DL_GLOBAL
11473#    define LT_DLGLOBAL		DL_GLOBAL
11474#  else
11475#    define LT_DLGLOBAL		0
11476#  endif
11477#endif
11478
11479/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11480   find out it does not work in some platform. */
11481#ifndef LT_DLLAZY_OR_NOW
11482#  ifdef RTLD_LAZY
11483#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11484#  else
11485#    ifdef DL_LAZY
11486#      define LT_DLLAZY_OR_NOW		DL_LAZY
11487#    else
11488#      ifdef RTLD_NOW
11489#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11490#      else
11491#        ifdef DL_NOW
11492#          define LT_DLLAZY_OR_NOW	DL_NOW
11493#        else
11494#          define LT_DLLAZY_OR_NOW	0
11495#        endif
11496#      endif
11497#    endif
11498#  endif
11499#endif
11500
11501/* When -fvisbility=hidden is used, assume the code has been annotated
11502   correspondingly for the symbols needed.  */
11503#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11504int fnord () __attribute__((visibility("default")));
11505#endif
11506
11507int fnord () { return 42; }
11508int main ()
11509{
11510  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11511  int status = $lt_dlunknown;
11512
11513  if (self)
11514    {
11515      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11516      else
11517        {
11518	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11519          else puts (dlerror ());
11520	}
11521      /* dlclose (self); */
11522    }
11523  else
11524    puts (dlerror ());
11525
11526  return status;
11527}
11528_LT_EOF
11529  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11530  (eval $ac_link) 2>&5
11531  ac_status=$?
11532  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11533  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11534    (./conftest; exit; ) >&5 2>/dev/null
11535    lt_status=$?
11536    case x$lt_status in
11537      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11538      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11539      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11540    esac
11541  else :
11542    # compilation failed
11543    lt_cv_dlopen_self=no
11544  fi
11545fi
11546rm -fr conftest*
11547
11548
11549fi
11550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11551$as_echo "$lt_cv_dlopen_self" >&6; }
11552
11553    if test "x$lt_cv_dlopen_self" = xyes; then
11554      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11555      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11556$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11557if ${lt_cv_dlopen_self_static+:} false; then :
11558  $as_echo_n "(cached) " >&6
11559else
11560  	  if test "$cross_compiling" = yes; then :
11561  lt_cv_dlopen_self_static=cross
11562else
11563  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11564  lt_status=$lt_dlunknown
11565  cat > conftest.$ac_ext <<_LT_EOF
11566#line $LINENO "configure"
11567#include "confdefs.h"
11568
11569#if HAVE_DLFCN_H
11570#include <dlfcn.h>
11571#endif
11572
11573#include <stdio.h>
11574
11575#ifdef RTLD_GLOBAL
11576#  define LT_DLGLOBAL		RTLD_GLOBAL
11577#else
11578#  ifdef DL_GLOBAL
11579#    define LT_DLGLOBAL		DL_GLOBAL
11580#  else
11581#    define LT_DLGLOBAL		0
11582#  endif
11583#endif
11584
11585/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11586   find out it does not work in some platform. */
11587#ifndef LT_DLLAZY_OR_NOW
11588#  ifdef RTLD_LAZY
11589#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11590#  else
11591#    ifdef DL_LAZY
11592#      define LT_DLLAZY_OR_NOW		DL_LAZY
11593#    else
11594#      ifdef RTLD_NOW
11595#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11596#      else
11597#        ifdef DL_NOW
11598#          define LT_DLLAZY_OR_NOW	DL_NOW
11599#        else
11600#          define LT_DLLAZY_OR_NOW	0
11601#        endif
11602#      endif
11603#    endif
11604#  endif
11605#endif
11606
11607/* When -fvisbility=hidden is used, assume the code has been annotated
11608   correspondingly for the symbols needed.  */
11609#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11610int fnord () __attribute__((visibility("default")));
11611#endif
11612
11613int fnord () { return 42; }
11614int main ()
11615{
11616  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11617  int status = $lt_dlunknown;
11618
11619  if (self)
11620    {
11621      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11622      else
11623        {
11624	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11625          else puts (dlerror ());
11626	}
11627      /* dlclose (self); */
11628    }
11629  else
11630    puts (dlerror ());
11631
11632  return status;
11633}
11634_LT_EOF
11635  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11636  (eval $ac_link) 2>&5
11637  ac_status=$?
11638  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11639  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11640    (./conftest; exit; ) >&5 2>/dev/null
11641    lt_status=$?
11642    case x$lt_status in
11643      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11644      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11645      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11646    esac
11647  else :
11648    # compilation failed
11649    lt_cv_dlopen_self_static=no
11650  fi
11651fi
11652rm -fr conftest*
11653
11654
11655fi
11656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11657$as_echo "$lt_cv_dlopen_self_static" >&6; }
11658    fi
11659
11660    CPPFLAGS="$save_CPPFLAGS"
11661    LDFLAGS="$save_LDFLAGS"
11662    LIBS="$save_LIBS"
11663    ;;
11664  esac
11665
11666  case $lt_cv_dlopen_self in
11667  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11668  *) enable_dlopen_self=unknown ;;
11669  esac
11670
11671  case $lt_cv_dlopen_self_static in
11672  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11673  *) enable_dlopen_self_static=unknown ;;
11674  esac
11675fi
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693striplib=
11694old_striplib=
11695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11696$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11697if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11698  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11699  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11700  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11701$as_echo "yes" >&6; }
11702else
11703# FIXME - insert some real tests, host_os isn't really good enough
11704  case $host_os in
11705  darwin*)
11706    if test -n "$STRIP" ; then
11707      striplib="$STRIP -x"
11708      old_striplib="$STRIP -S"
11709      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11710$as_echo "yes" >&6; }
11711    else
11712      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11713$as_echo "no" >&6; }
11714    fi
11715    ;;
11716  *)
11717    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11718$as_echo "no" >&6; }
11719    ;;
11720  esac
11721fi
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734  # Report which library types will actually be built
11735  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11736$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11737  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11738$as_echo "$can_build_shared" >&6; }
11739
11740  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11741$as_echo_n "checking whether to build shared libraries... " >&6; }
11742  test "$can_build_shared" = "no" && enable_shared=no
11743
11744  # On AIX, shared libraries and static libraries use the same namespace, and
11745  # are all built from PIC.
11746  case $host_os in
11747  aix3*)
11748    test "$enable_shared" = yes && enable_static=no
11749    if test -n "$RANLIB"; then
11750      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11751      postinstall_cmds='$RANLIB $lib'
11752    fi
11753    ;;
11754
11755  aix[4-9]*)
11756    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11757      test "$enable_shared" = yes && enable_static=no
11758    fi
11759    ;;
11760  esac
11761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11762$as_echo "$enable_shared" >&6; }
11763
11764  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11765$as_echo_n "checking whether to build static libraries... " >&6; }
11766  # Make sure either enable_shared or enable_static is yes.
11767  test "$enable_shared" = yes || enable_static=yes
11768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11769$as_echo "$enable_static" >&6; }
11770
11771
11772
11773
11774fi
11775ac_ext=c
11776ac_cpp='$CPP $CPPFLAGS'
11777ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11778ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11779ac_compiler_gnu=$ac_cv_c_compiler_gnu
11780
11781CC="$lt_save_CC"
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795        ac_config_commands="$ac_config_commands libtool"
11796
11797
11798
11799
11800# Only expand once:
11801
11802
11803
11804# Honor aclocal flags
11805ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
11806
11807# version symbols
11808UNIQUE_MAJOR_VERSION=3
11809UNIQUE_MINOR_VERSION=0
11810UNIQUE_MICRO_VERSION=2
11811UNIQUE_VERSION=3.0.2
11812UNIQUE_API_VERSION=3.0
11813UNIQUE_PROTOCOL_VERSION=1.0
11814
11815
11816
11817
11818
11819
11820
11821# libtool
11822
11823
11824
11825UNIQUE_LT_VERSION_INFO="0:2:0"
11826UNIQUE_LT_CURRENT_MINUS_AGE=0
11827
11828
11829
11830
11831
11832
11833
11834
11835pkg_failed=no
11836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE" >&5
11837$as_echo_n "checking for UNIQUE... " >&6; }
11838
11839if test -n "$UNIQUE_CFLAGS"; then
11840    pkg_cv_UNIQUE_CFLAGS="$UNIQUE_CFLAGS"
11841 elif test -n "$PKG_CONFIG"; then
11842    if test -n "$PKG_CONFIG" && \
11843    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0\""; } >&5
11844  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0") 2>&5
11845  ac_status=$?
11846  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11847  test $ac_status = 0; }; then
11848  pkg_cv_UNIQUE_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0" 2>/dev/null`
11849else
11850  pkg_failed=yes
11851fi
11852 else
11853    pkg_failed=untried
11854fi
11855if test -n "$UNIQUE_LIBS"; then
11856    pkg_cv_UNIQUE_LIBS="$UNIQUE_LIBS"
11857 elif test -n "$PKG_CONFIG"; then
11858    if test -n "$PKG_CONFIG" && \
11859    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0\""; } >&5
11860  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0") 2>&5
11861  ac_status=$?
11862  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11863  test $ac_status = 0; }; then
11864  pkg_cv_UNIQUE_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0" 2>/dev/null`
11865else
11866  pkg_failed=yes
11867fi
11868 else
11869    pkg_failed=untried
11870fi
11871
11872
11873
11874if test $pkg_failed = yes; then
11875   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11876$as_echo "no" >&6; }
11877
11878if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
11879        _pkg_short_errors_supported=yes
11880else
11881        _pkg_short_errors_supported=no
11882fi
11883        if test $_pkg_short_errors_supported = yes; then
11884	        UNIQUE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0" 2>&1`
11885        else
11886	        UNIQUE_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0" 2>&1`
11887        fi
11888	# Put the nasty error message in config.log where it belongs
11889	echo "$UNIQUE_PKG_ERRORS" >&5
11890
11891	as_fn_error $? "Package requirements (glib-2.0 >= 2.12.0                           gtk+-3.0 >= 2.90.0) were not met:
11892
11893$UNIQUE_PKG_ERRORS
11894
11895Consider adjusting the PKG_CONFIG_PATH environment variable if you
11896installed software in a non-standard prefix.
11897
11898Alternatively, you may set the environment variables UNIQUE_CFLAGS
11899and UNIQUE_LIBS to avoid the need to call pkg-config.
11900See the pkg-config man page for more details." "$LINENO" 5
11901
11902elif test $pkg_failed = untried; then
11903     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11904$as_echo "no" >&6; }
11905	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11907as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
11908is in your PATH or set the PKG_CONFIG environment variable to the full
11909path to pkg-config.
11910
11911Alternatively, you may set the environment variables UNIQUE_CFLAGS
11912and UNIQUE_LIBS to avoid the need to call pkg-config.
11913See the pkg-config man page for more details.
11914
11915To get pkg-config, see <http://pkg-config.freedesktop.org/>.
11916See \`config.log' for more details" "$LINENO" 5; }
11917
11918else
11919	UNIQUE_CFLAGS=$pkg_cv_UNIQUE_CFLAGS
11920	UNIQUE_LIBS=$pkg_cv_UNIQUE_LIBS
11921        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11922$as_echo "yes" >&6; }
11923
11924fi
11925
11926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11927$as_echo_n "checking for X... " >&6; }
11928
11929
11930# Check whether --with-x was given.
11931if test "${with_x+set}" = set; then :
11932  withval=$with_x;
11933fi
11934
11935# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11936if test "x$with_x" = xno; then
11937  # The user explicitly disabled X.
11938  have_x=disabled
11939else
11940  case $x_includes,$x_libraries in #(
11941    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
11942    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
11943  $as_echo_n "(cached) " >&6
11944else
11945  # One or both of the vars are not set, and there is no cached value.
11946ac_x_includes=no ac_x_libraries=no
11947rm -f -r conftest.dir
11948if mkdir conftest.dir; then
11949  cd conftest.dir
11950  cat >Imakefile <<'_ACEOF'
11951incroot:
11952	@echo incroot='${INCROOT}'
11953usrlibdir:
11954	@echo usrlibdir='${USRLIBDIR}'
11955libdir:
11956	@echo libdir='${LIBDIR}'
11957_ACEOF
11958  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
11959    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11960    for ac_var in incroot usrlibdir libdir; do
11961      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11962    done
11963    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11964    for ac_extension in a so sl dylib la dll; do
11965      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11966	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11967	ac_im_usrlibdir=$ac_im_libdir; break
11968      fi
11969    done
11970    # Screen out bogus values from the imake configuration.  They are
11971    # bogus both because they are the default anyway, and because
11972    # using them would break gcc on systems where it needs fixed includes.
11973    case $ac_im_incroot in
11974	/usr/include) ac_x_includes= ;;
11975	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
11976    esac
11977    case $ac_im_usrlibdir in
11978	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
11979	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
11980    esac
11981  fi
11982  cd ..
11983  rm -f -r conftest.dir
11984fi
11985
11986# Standard set of common directories for X headers.
11987# Check X11 before X11Rn because it is often a symlink to the current release.
11988ac_x_header_dirs='
11989/usr/X11/include
11990/usr/X11R7/include
11991/usr/X11R6/include
11992/usr/X11R5/include
11993/usr/X11R4/include
11994
11995/usr/include/X11
11996/usr/include/X11R7
11997/usr/include/X11R6
11998/usr/include/X11R5
11999/usr/include/X11R4
12000
12001/usr/local/X11/include
12002/usr/local/X11R7/include
12003/usr/local/X11R6/include
12004/usr/local/X11R5/include
12005/usr/local/X11R4/include
12006
12007/usr/local/include/X11
12008/usr/local/include/X11R7
12009/usr/local/include/X11R6
12010/usr/local/include/X11R5
12011/usr/local/include/X11R4
12012
12013/usr/X386/include
12014/usr/x386/include
12015/usr/XFree86/include/X11
12016
12017/usr/include
12018/usr/local/include
12019/usr/unsupported/include
12020/usr/athena/include
12021/usr/local/x11r5/include
12022/usr/lpp/Xamples/include
12023
12024/usr/openwin/include
12025/usr/openwin/share/include'
12026
12027if test "$ac_x_includes" = no; then
12028  # Guess where to find include files, by looking for Xlib.h.
12029  # First, try using that file with no special directory specified.
12030  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12031/* end confdefs.h.  */
12032#include <X11/Xlib.h>
12033_ACEOF
12034if ac_fn_c_try_cpp "$LINENO"; then :
12035  # We can compile using X headers with no special include directory.
12036ac_x_includes=
12037else
12038  for ac_dir in $ac_x_header_dirs; do
12039  if test -r "$ac_dir/X11/Xlib.h"; then
12040    ac_x_includes=$ac_dir
12041    break
12042  fi
12043done
12044fi
12045rm -f conftest.err conftest.i conftest.$ac_ext
12046fi # $ac_x_includes = no
12047
12048if test "$ac_x_libraries" = no; then
12049  # Check for the libraries.
12050  # See if we find them without any special options.
12051  # Don't add to $LIBS permanently.
12052  ac_save_LIBS=$LIBS
12053  LIBS="-lX11 $LIBS"
12054  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055/* end confdefs.h.  */
12056#include <X11/Xlib.h>
12057int
12058main ()
12059{
12060XrmInitialize ()
12061  ;
12062  return 0;
12063}
12064_ACEOF
12065if ac_fn_c_try_link "$LINENO"; then :
12066  LIBS=$ac_save_LIBS
12067# We can link X programs with no special library path.
12068ac_x_libraries=
12069else
12070  LIBS=$ac_save_LIBS
12071for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
12072do
12073  # Don't even attempt the hair of trying to link an X program!
12074  for ac_extension in a so sl dylib la dll; do
12075    if test -r "$ac_dir/libX11.$ac_extension"; then
12076      ac_x_libraries=$ac_dir
12077      break 2
12078    fi
12079  done
12080done
12081fi
12082rm -f core conftest.err conftest.$ac_objext \
12083    conftest$ac_exeext conftest.$ac_ext
12084fi # $ac_x_libraries = no
12085
12086case $ac_x_includes,$ac_x_libraries in #(
12087  no,* | *,no | *\'*)
12088    # Didn't find X, or a directory has "'" in its name.
12089    ac_cv_have_x="have_x=no";; #(
12090  *)
12091    # Record where we found X for the cache.
12092    ac_cv_have_x="have_x=yes\
12093	ac_x_includes='$ac_x_includes'\
12094	ac_x_libraries='$ac_x_libraries'"
12095esac
12096fi
12097;; #(
12098    *) have_x=yes;;
12099  esac
12100  eval "$ac_cv_have_x"
12101fi # $with_x != no
12102
12103if test "$have_x" != yes; then
12104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
12105$as_echo "$have_x" >&6; }
12106  no_x=yes
12107else
12108  # If each of the values was on the command line, it overrides each guess.
12109  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
12110  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
12111  # Update the cache value to reflect the command line values.
12112  ac_cv_have_x="have_x=yes\
12113	ac_x_includes='$x_includes'\
12114	ac_x_libraries='$x_libraries'"
12115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
12116$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
12117fi
12118
12119
12120  pkg_config_args=gtk+-x11-3.0
12121  min_gtk_version=2.90.0
12122
12123  # Extract the first word of "pkg-config", so it can be a program name with args.
12124set dummy pkg-config; ac_word=$2
12125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12126$as_echo_n "checking for $ac_word... " >&6; }
12127if ${ac_cv_path_PKG_CONFIG+:} false; then :
12128  $as_echo_n "(cached) " >&6
12129else
12130  case $PKG_CONFIG in
12131  [\\/]* | ?:[\\/]*)
12132  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12133  ;;
12134  *)
12135  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12136for as_dir in $PATH
12137do
12138  IFS=$as_save_IFS
12139  test -z "$as_dir" && as_dir=.
12140    for ac_exec_ext in '' $ac_executable_extensions; do
12141  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12142    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12144    break 2
12145  fi
12146done
12147  done
12148IFS=$as_save_IFS
12149
12150  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="as_fn_error $? "No pkg-config found" "$LINENO" 5"
12151  ;;
12152esac
12153fi
12154PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12155if test -n "$PKG_CONFIG"; then
12156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12157$as_echo "$PKG_CONFIG" >&6; }
12158else
12159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12160$as_echo "no" >&6; }
12161fi
12162
12163
12164
12165  if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args ; then
12166    target_found=yes
12167  else
12168    target_found=no
12169  fi
12170
12171  if test "x$target_found" = "xno"; then
12172    as_fn_error $? "Backend $backend not found." "$LINENO" 5
12173  else
12174
12175                    if test "$no_x" = yes; then
12176  # Not all programs may use this symbol, but it does not hurt to define it.
12177
12178$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
12179
12180  X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
12181else
12182  if test -n "$x_includes"; then
12183    X_CFLAGS="$X_CFLAGS -I$x_includes"
12184  fi
12185
12186  # It would also be nice to do this for all -L options, not just this one.
12187  if test -n "$x_libraries"; then
12188    X_LIBS="$X_LIBS -L$x_libraries"
12189    # For Solaris; some versions of Sun CC require a space after -R and
12190    # others require no space.  Words are not sufficient . . . .
12191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
12192$as_echo_n "checking whether -R must be followed by a space... " >&6; }
12193    ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
12194    ac_xsave_c_werror_flag=$ac_c_werror_flag
12195    ac_c_werror_flag=yes
12196    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12197/* end confdefs.h.  */
12198
12199int
12200main ()
12201{
12202
12203  ;
12204  return 0;
12205}
12206_ACEOF
12207if ac_fn_c_try_link "$LINENO"; then :
12208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12209$as_echo "no" >&6; }
12210       X_LIBS="$X_LIBS -R$x_libraries"
12211else
12212  LIBS="$ac_xsave_LIBS -R $x_libraries"
12213       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214/* end confdefs.h.  */
12215
12216int
12217main ()
12218{
12219
12220  ;
12221  return 0;
12222}
12223_ACEOF
12224if ac_fn_c_try_link "$LINENO"; then :
12225  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12226$as_echo "yes" >&6; }
12227	  X_LIBS="$X_LIBS -R $x_libraries"
12228else
12229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
12230$as_echo "neither works" >&6; }
12231fi
12232rm -f core conftest.err conftest.$ac_objext \
12233    conftest$ac_exeext conftest.$ac_ext
12234fi
12235rm -f core conftest.err conftest.$ac_objext \
12236    conftest$ac_exeext conftest.$ac_ext
12237    ac_c_werror_flag=$ac_xsave_c_werror_flag
12238    LIBS=$ac_xsave_LIBS
12239  fi
12240
12241  # Check for system-dependent libraries X programs must link with.
12242  # Do this before checking for the system-independent R6 libraries
12243  # (-lICE), since we may need -lsocket or whatever for X linking.
12244
12245  if test "$ISC" = yes; then
12246    X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
12247  else
12248    # Martyn Johnson says this is needed for Ultrix, if the X
12249    # libraries were built with DECnet support.  And Karl Berry says
12250    # the Alpha needs dnet_stub (dnet does not exist).
12251    ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
12252    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253/* end confdefs.h.  */
12254
12255/* Override any GCC internal prototype to avoid an error.
12256   Use char because int might match the return type of a GCC
12257   builtin and then its argument prototype would still apply.  */
12258#ifdef __cplusplus
12259extern "C"
12260#endif
12261char XOpenDisplay ();
12262int
12263main ()
12264{
12265return XOpenDisplay ();
12266  ;
12267  return 0;
12268}
12269_ACEOF
12270if ac_fn_c_try_link "$LINENO"; then :
12271
12272else
12273  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
12274$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
12275if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
12276  $as_echo_n "(cached) " >&6
12277else
12278  ac_check_lib_save_LIBS=$LIBS
12279LIBS="-ldnet  $LIBS"
12280cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12281/* end confdefs.h.  */
12282
12283/* Override any GCC internal prototype to avoid an error.
12284   Use char because int might match the return type of a GCC
12285   builtin and then its argument prototype would still apply.  */
12286#ifdef __cplusplus
12287extern "C"
12288#endif
12289char dnet_ntoa ();
12290int
12291main ()
12292{
12293return dnet_ntoa ();
12294  ;
12295  return 0;
12296}
12297_ACEOF
12298if ac_fn_c_try_link "$LINENO"; then :
12299  ac_cv_lib_dnet_dnet_ntoa=yes
12300else
12301  ac_cv_lib_dnet_dnet_ntoa=no
12302fi
12303rm -f core conftest.err conftest.$ac_objext \
12304    conftest$ac_exeext conftest.$ac_ext
12305LIBS=$ac_check_lib_save_LIBS
12306fi
12307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
12308$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
12309if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
12310  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
12311fi
12312
12313    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
12314      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
12315$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
12316if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
12317  $as_echo_n "(cached) " >&6
12318else
12319  ac_check_lib_save_LIBS=$LIBS
12320LIBS="-ldnet_stub  $LIBS"
12321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12322/* end confdefs.h.  */
12323
12324/* Override any GCC internal prototype to avoid an error.
12325   Use char because int might match the return type of a GCC
12326   builtin and then its argument prototype would still apply.  */
12327#ifdef __cplusplus
12328extern "C"
12329#endif
12330char dnet_ntoa ();
12331int
12332main ()
12333{
12334return dnet_ntoa ();
12335  ;
12336  return 0;
12337}
12338_ACEOF
12339if ac_fn_c_try_link "$LINENO"; then :
12340  ac_cv_lib_dnet_stub_dnet_ntoa=yes
12341else
12342  ac_cv_lib_dnet_stub_dnet_ntoa=no
12343fi
12344rm -f core conftest.err conftest.$ac_objext \
12345    conftest$ac_exeext conftest.$ac_ext
12346LIBS=$ac_check_lib_save_LIBS
12347fi
12348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
12349$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
12350if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
12351  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
12352fi
12353
12354    fi
12355fi
12356rm -f core conftest.err conftest.$ac_objext \
12357    conftest$ac_exeext conftest.$ac_ext
12358    LIBS="$ac_xsave_LIBS"
12359
12360    # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
12361    # to get the SysV transport functions.
12362    # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
12363    # needs -lnsl.
12364    # The nsl library prevents programs from opening the X display
12365    # on Irix 5.2, according to T.E. Dickey.
12366    # The functions gethostbyname, getservbyname, and inet_addr are
12367    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
12368    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
12369if test "x$ac_cv_func_gethostbyname" = xyes; then :
12370
12371fi
12372
12373    if test $ac_cv_func_gethostbyname = no; then
12374      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
12375$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
12376if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
12377  $as_echo_n "(cached) " >&6
12378else
12379  ac_check_lib_save_LIBS=$LIBS
12380LIBS="-lnsl  $LIBS"
12381cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382/* end confdefs.h.  */
12383
12384/* Override any GCC internal prototype to avoid an error.
12385   Use char because int might match the return type of a GCC
12386   builtin and then its argument prototype would still apply.  */
12387#ifdef __cplusplus
12388extern "C"
12389#endif
12390char gethostbyname ();
12391int
12392main ()
12393{
12394return gethostbyname ();
12395  ;
12396  return 0;
12397}
12398_ACEOF
12399if ac_fn_c_try_link "$LINENO"; then :
12400  ac_cv_lib_nsl_gethostbyname=yes
12401else
12402  ac_cv_lib_nsl_gethostbyname=no
12403fi
12404rm -f core conftest.err conftest.$ac_objext \
12405    conftest$ac_exeext conftest.$ac_ext
12406LIBS=$ac_check_lib_save_LIBS
12407fi
12408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
12409$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
12410if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
12411  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
12412fi
12413
12414      if test $ac_cv_lib_nsl_gethostbyname = no; then
12415	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
12416$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
12417if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
12418  $as_echo_n "(cached) " >&6
12419else
12420  ac_check_lib_save_LIBS=$LIBS
12421LIBS="-lbsd  $LIBS"
12422cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12423/* end confdefs.h.  */
12424
12425/* Override any GCC internal prototype to avoid an error.
12426   Use char because int might match the return type of a GCC
12427   builtin and then its argument prototype would still apply.  */
12428#ifdef __cplusplus
12429extern "C"
12430#endif
12431char gethostbyname ();
12432int
12433main ()
12434{
12435return gethostbyname ();
12436  ;
12437  return 0;
12438}
12439_ACEOF
12440if ac_fn_c_try_link "$LINENO"; then :
12441  ac_cv_lib_bsd_gethostbyname=yes
12442else
12443  ac_cv_lib_bsd_gethostbyname=no
12444fi
12445rm -f core conftest.err conftest.$ac_objext \
12446    conftest$ac_exeext conftest.$ac_ext
12447LIBS=$ac_check_lib_save_LIBS
12448fi
12449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
12450$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
12451if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
12452  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
12453fi
12454
12455      fi
12456    fi
12457
12458    # lieder@skyler.mavd.honeywell.com says without -lsocket,
12459    # socket/setsockopt and other routines are undefined under SCO ODT
12460    # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
12461    # on later versions), says Simon Leinen: it contains gethostby*
12462    # variants that don't use the name server (or something).  -lsocket
12463    # must be given before -lnsl if both are needed.  We assume that
12464    # if connect needs -lnsl, so does gethostbyname.
12465    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
12466if test "x$ac_cv_func_connect" = xyes; then :
12467
12468fi
12469
12470    if test $ac_cv_func_connect = no; then
12471      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
12472$as_echo_n "checking for connect in -lsocket... " >&6; }
12473if ${ac_cv_lib_socket_connect+:} false; then :
12474  $as_echo_n "(cached) " >&6
12475else
12476  ac_check_lib_save_LIBS=$LIBS
12477LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
12478cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479/* end confdefs.h.  */
12480
12481/* Override any GCC internal prototype to avoid an error.
12482   Use char because int might match the return type of a GCC
12483   builtin and then its argument prototype would still apply.  */
12484#ifdef __cplusplus
12485extern "C"
12486#endif
12487char connect ();
12488int
12489main ()
12490{
12491return connect ();
12492  ;
12493  return 0;
12494}
12495_ACEOF
12496if ac_fn_c_try_link "$LINENO"; then :
12497  ac_cv_lib_socket_connect=yes
12498else
12499  ac_cv_lib_socket_connect=no
12500fi
12501rm -f core conftest.err conftest.$ac_objext \
12502    conftest$ac_exeext conftest.$ac_ext
12503LIBS=$ac_check_lib_save_LIBS
12504fi
12505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
12506$as_echo "$ac_cv_lib_socket_connect" >&6; }
12507if test "x$ac_cv_lib_socket_connect" = xyes; then :
12508  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
12509fi
12510
12511    fi
12512
12513    # Guillermo Gomez says -lposix is necessary on A/UX.
12514    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
12515if test "x$ac_cv_func_remove" = xyes; then :
12516
12517fi
12518
12519    if test $ac_cv_func_remove = no; then
12520      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
12521$as_echo_n "checking for remove in -lposix... " >&6; }
12522if ${ac_cv_lib_posix_remove+:} false; then :
12523  $as_echo_n "(cached) " >&6
12524else
12525  ac_check_lib_save_LIBS=$LIBS
12526LIBS="-lposix  $LIBS"
12527cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12528/* end confdefs.h.  */
12529
12530/* Override any GCC internal prototype to avoid an error.
12531   Use char because int might match the return type of a GCC
12532   builtin and then its argument prototype would still apply.  */
12533#ifdef __cplusplus
12534extern "C"
12535#endif
12536char remove ();
12537int
12538main ()
12539{
12540return remove ();
12541  ;
12542  return 0;
12543}
12544_ACEOF
12545if ac_fn_c_try_link "$LINENO"; then :
12546  ac_cv_lib_posix_remove=yes
12547else
12548  ac_cv_lib_posix_remove=no
12549fi
12550rm -f core conftest.err conftest.$ac_objext \
12551    conftest$ac_exeext conftest.$ac_ext
12552LIBS=$ac_check_lib_save_LIBS
12553fi
12554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
12555$as_echo "$ac_cv_lib_posix_remove" >&6; }
12556if test "x$ac_cv_lib_posix_remove" = xyes; then :
12557  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
12558fi
12559
12560    fi
12561
12562    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12563    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
12564if test "x$ac_cv_func_shmat" = xyes; then :
12565
12566fi
12567
12568    if test $ac_cv_func_shmat = no; then
12569      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
12570$as_echo_n "checking for shmat in -lipc... " >&6; }
12571if ${ac_cv_lib_ipc_shmat+:} false; then :
12572  $as_echo_n "(cached) " >&6
12573else
12574  ac_check_lib_save_LIBS=$LIBS
12575LIBS="-lipc  $LIBS"
12576cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12577/* end confdefs.h.  */
12578
12579/* Override any GCC internal prototype to avoid an error.
12580   Use char because int might match the return type of a GCC
12581   builtin and then its argument prototype would still apply.  */
12582#ifdef __cplusplus
12583extern "C"
12584#endif
12585char shmat ();
12586int
12587main ()
12588{
12589return shmat ();
12590  ;
12591  return 0;
12592}
12593_ACEOF
12594if ac_fn_c_try_link "$LINENO"; then :
12595  ac_cv_lib_ipc_shmat=yes
12596else
12597  ac_cv_lib_ipc_shmat=no
12598fi
12599rm -f core conftest.err conftest.$ac_objext \
12600    conftest$ac_exeext conftest.$ac_ext
12601LIBS=$ac_check_lib_save_LIBS
12602fi
12603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
12604$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
12605if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
12606  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
12607fi
12608
12609    fi
12610  fi
12611
12612  # Check for libraries that X11R6 Xt/Xaw programs need.
12613  ac_save_LDFLAGS=$LDFLAGS
12614  test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
12615  # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12616  # check for ICE first), but we must link in the order -lSM -lICE or
12617  # we get undefined symbols.  So assume we have SM if we have ICE.
12618  # These have to be linked with before -lX11, unlike the other
12619  # libraries we check for below, so use a different variable.
12620  # John Interrante, Karl Berry
12621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
12622$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
12623if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
12624  $as_echo_n "(cached) " >&6
12625else
12626  ac_check_lib_save_LIBS=$LIBS
12627LIBS="-lICE $X_EXTRA_LIBS $LIBS"
12628cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12629/* end confdefs.h.  */
12630
12631/* Override any GCC internal prototype to avoid an error.
12632   Use char because int might match the return type of a GCC
12633   builtin and then its argument prototype would still apply.  */
12634#ifdef __cplusplus
12635extern "C"
12636#endif
12637char IceConnectionNumber ();
12638int
12639main ()
12640{
12641return IceConnectionNumber ();
12642  ;
12643  return 0;
12644}
12645_ACEOF
12646if ac_fn_c_try_link "$LINENO"; then :
12647  ac_cv_lib_ICE_IceConnectionNumber=yes
12648else
12649  ac_cv_lib_ICE_IceConnectionNumber=no
12650fi
12651rm -f core conftest.err conftest.$ac_objext \
12652    conftest$ac_exeext conftest.$ac_ext
12653LIBS=$ac_check_lib_save_LIBS
12654fi
12655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
12656$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
12657if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
12658  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
12659fi
12660
12661  LDFLAGS=$ac_save_LDFLAGS
12662
12663fi
12664
12665
12666
12667pkg_failed=no
12668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UNIQUE_X11" >&5
12669$as_echo_n "checking for UNIQUE_X11... " >&6; }
12670
12671if test -n "$UNIQUE_X11_CFLAGS"; then
12672    pkg_cv_UNIQUE_X11_CFLAGS="$UNIQUE_X11_CFLAGS"
12673 elif test -n "$PKG_CONFIG"; then
12674    if test -n "$PKG_CONFIG" && \
12675    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
12676  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
12677  ac_status=$?
12678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12679  test $ac_status = 0; }; then
12680  pkg_cv_UNIQUE_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
12681else
12682  pkg_failed=yes
12683fi
12684 else
12685    pkg_failed=untried
12686fi
12687if test -n "$UNIQUE_X11_LIBS"; then
12688    pkg_cv_UNIQUE_X11_LIBS="$UNIQUE_X11_LIBS"
12689 elif test -n "$PKG_CONFIG"; then
12690    if test -n "$PKG_CONFIG" && \
12691    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
12692  ($PKG_CONFIG --exists --print-errors "x11") 2>&5
12693  ac_status=$?
12694  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12695  test $ac_status = 0; }; then
12696  pkg_cv_UNIQUE_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
12697else
12698  pkg_failed=yes
12699fi
12700 else
12701    pkg_failed=untried
12702fi
12703
12704
12705
12706if test $pkg_failed = yes; then
12707   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12708$as_echo "no" >&6; }
12709
12710if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12711        _pkg_short_errors_supported=yes
12712else
12713        _pkg_short_errors_supported=no
12714fi
12715        if test $_pkg_short_errors_supported = yes; then
12716	        UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
12717        else
12718	        UNIQUE_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
12719        fi
12720	# Put the nasty error message in config.log where it belongs
12721	echo "$UNIQUE_X11_PKG_ERRORS" >&5
12722
12723	as_fn_error $? "Package requirements (x11) were not met:
12724
12725$UNIQUE_X11_PKG_ERRORS
12726
12727Consider adjusting the PKG_CONFIG_PATH environment variable if you
12728installed software in a non-standard prefix.
12729
12730Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
12731and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
12732See the pkg-config man page for more details." "$LINENO" 5
12733
12734elif test $pkg_failed = untried; then
12735     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12736$as_echo "no" >&6; }
12737	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12738$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12739as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12740is in your PATH or set the PKG_CONFIG environment variable to the full
12741path to pkg-config.
12742
12743Alternatively, you may set the environment variables UNIQUE_X11_CFLAGS
12744and UNIQUE_X11_LIBS to avoid the need to call pkg-config.
12745See the pkg-config man page for more details.
12746
12747To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12748See \`config.log' for more details" "$LINENO" 5; }
12749
12750else
12751	UNIQUE_X11_CFLAGS=$pkg_cv_UNIQUE_X11_CFLAGS
12752	UNIQUE_X11_LIBS=$pkg_cv_UNIQUE_X11_LIBS
12753        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12754$as_echo "yes" >&6; }
12755
12756fi
12757
12758                    UNIQUE_CFLAGS="$UNIQUE_CFLAGS $UNIQUE_X11_CFLAGS"
12759                    UNIQUE_LIBS="$UNIQUE_LIBS $UNIQUE_X11_LIBS"
12760
12761
12762  fi
12763
12764
12765
12766
12767
12768
12769# Check whether --enable-dbus was given.
12770if test "${enable_dbus+set}" = set; then :
12771  enableval=$enable_dbus;
12772else
12773  enable_dbus=yes
12774fi
12775
12776
12777case $enable_dbus in #(
12778  yes) :
12779
12780
12781pkg_failed=no
12782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5
12783$as_echo_n "checking for DBUS... " >&6; }
12784
12785if test -n "$DBUS_CFLAGS"; then
12786    pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS"
12787 elif test -n "$PKG_CONFIG"; then
12788    if test -n "$PKG_CONFIG" && \
12789    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\""; } >&5
12790  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
12791  ac_status=$?
12792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12793  test $ac_status = 0; }; then
12794  pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1 >= 0.70" 2>/dev/null`
12795else
12796  pkg_failed=yes
12797fi
12798 else
12799    pkg_failed=untried
12800fi
12801if test -n "$DBUS_LIBS"; then
12802    pkg_cv_DBUS_LIBS="$DBUS_LIBS"
12803 elif test -n "$PKG_CONFIG"; then
12804    if test -n "$PKG_CONFIG" && \
12805    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1 >= 0.70\""; } >&5
12806  ($PKG_CONFIG --exists --print-errors "dbus-glib-1 >= 0.70") 2>&5
12807  ac_status=$?
12808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12809  test $ac_status = 0; }; then
12810  pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-glib-1 >= 0.70" 2>/dev/null`
12811else
12812  pkg_failed=yes
12813fi
12814 else
12815    pkg_failed=untried
12816fi
12817
12818
12819
12820if test $pkg_failed = yes; then
12821   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12822$as_echo "no" >&6; }
12823
12824if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12825        _pkg_short_errors_supported=yes
12826else
12827        _pkg_short_errors_supported=no
12828fi
12829        if test $_pkg_short_errors_supported = yes; then
12830	        DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "dbus-glib-1 >= 0.70" 2>&1`
12831        else
12832	        DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "dbus-glib-1 >= 0.70" 2>&1`
12833        fi
12834	# Put the nasty error message in config.log where it belongs
12835	echo "$DBUS_PKG_ERRORS" >&5
12836
12837	have_dbus=no
12838elif test $pkg_failed = untried; then
12839     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12840$as_echo "no" >&6; }
12841	have_dbus=no
12842else
12843	DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS
12844	DBUS_LIBS=$pkg_cv_DBUS_LIBS
12845        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12846$as_echo "yes" >&6; }
12847	have_dbus=yes
12848fi
12849         ;; #(
12850  no) :
12851    have_dbus=no ;; #(
12852  *) :
12853    as_fn_error $? "Unknown argument to --enable-dbus" "$LINENO" 5
12854 ;;
12855esac
12856
12857if test "x$have_dbus" = "xyes"; then :
12858
12859
12860
12861
12862$as_echo "#define HAVE_DBUS 1" >>confdefs.h
12863
12864        # Extract the first word of "dbus-binding-tool", so it can be a program name with args.
12865set dummy dbus-binding-tool; ac_word=$2
12866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12867$as_echo_n "checking for $ac_word... " >&6; }
12868if ${ac_cv_path_DBUS_BINDING_TOOL+:} false; then :
12869  $as_echo_n "(cached) " >&6
12870else
12871  case $DBUS_BINDING_TOOL in
12872  [\\/]* | ?:[\\/]*)
12873  ac_cv_path_DBUS_BINDING_TOOL="$DBUS_BINDING_TOOL" # Let the user override the test with a path.
12874  ;;
12875  *)
12876  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877for as_dir in $PATH
12878do
12879  IFS=$as_save_IFS
12880  test -z "$as_dir" && as_dir=.
12881    for ac_exec_ext in '' $ac_executable_extensions; do
12882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12883    ac_cv_path_DBUS_BINDING_TOOL="$as_dir/$ac_word$ac_exec_ext"
12884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12885    break 2
12886  fi
12887done
12888  done
12889IFS=$as_save_IFS
12890
12891  ;;
12892esac
12893fi
12894DBUS_BINDING_TOOL=$ac_cv_path_DBUS_BINDING_TOOL
12895if test -n "$DBUS_BINDING_TOOL"; then
12896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_BINDING_TOOL" >&5
12897$as_echo "$DBUS_BINDING_TOOL" >&6; }
12898else
12899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12900$as_echo "no" >&6; }
12901fi
12902
12903
12904
12905
12906fi
12907
12908 if test "x$have_dbus" = "xyes"; then
12909  HAVE_DBUS_TRUE=
12910  HAVE_DBUS_FALSE='#'
12911else
12912  HAVE_DBUS_TRUE='#'
12913  HAVE_DBUS_FALSE=
12914fi
12915
12916
12917
12918
12919pkg_failed=no
12920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDBUS" >&5
12921$as_echo_n "checking for GDBUS... " >&6; }
12922
12923if test -n "$GDBUS_CFLAGS"; then
12924    pkg_cv_GDBUS_CFLAGS="$GDBUS_CFLAGS"
12925 elif test -n "$PKG_CONFIG"; then
12926    if test -n "$PKG_CONFIG" && \
12927    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.25.7\""; } >&5
12928  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.25.7") 2>&5
12929  ac_status=$?
12930  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12931  test $ac_status = 0; }; then
12932  pkg_cv_GDBUS_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.25.7" 2>/dev/null`
12933else
12934  pkg_failed=yes
12935fi
12936 else
12937    pkg_failed=untried
12938fi
12939if test -n "$GDBUS_LIBS"; then
12940    pkg_cv_GDBUS_LIBS="$GDBUS_LIBS"
12941 elif test -n "$PKG_CONFIG"; then
12942    if test -n "$PKG_CONFIG" && \
12943    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.25.7\""; } >&5
12944  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.25.7") 2>&5
12945  ac_status=$?
12946  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12947  test $ac_status = 0; }; then
12948  pkg_cv_GDBUS_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.25.7" 2>/dev/null`
12949else
12950  pkg_failed=yes
12951fi
12952 else
12953    pkg_failed=untried
12954fi
12955
12956
12957
12958if test $pkg_failed = yes; then
12959   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12960$as_echo "no" >&6; }
12961
12962if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12963        _pkg_short_errors_supported=yes
12964else
12965        _pkg_short_errors_supported=no
12966fi
12967        if test $_pkg_short_errors_supported = yes; then
12968	        GDBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.25.7" 2>&1`
12969        else
12970	        GDBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0 >= 2.25.7" 2>&1`
12971        fi
12972	# Put the nasty error message in config.log where it belongs
12973	echo "$GDBUS_PKG_ERRORS" >&5
12974
12975	have_gdbus=no
12976elif test $pkg_failed = untried; then
12977     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12978$as_echo "no" >&6; }
12979	have_gdbus=no
12980else
12981	GDBUS_CFLAGS=$pkg_cv_GDBUS_CFLAGS
12982	GDBUS_LIBS=$pkg_cv_GDBUS_LIBS
12983        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12984$as_echo "yes" >&6; }
12985	have_gdbus=yes
12986fi
12987
12988if test "x$have_gdbus" = "xyes"; then :
12989
12990
12991$as_echo "#define HAVE_GDBUS 1" >>confdefs.h
12992
12993
12994
12995fi
12996
12997 if test "$have_gdbus" = "yes"; then
12998  HAVE_GDBUS_TRUE=
12999  HAVE_GDBUS_FALSE='#'
13000else
13001  HAVE_GDBUS_TRUE='#'
13002  HAVE_GDBUS_FALSE=
13003fi
13004
13005
13006
13007# Check whether --enable-bacon was given.
13008if test "${enable_bacon+set}" = set; then :
13009  enableval=$enable_bacon;
13010else
13011  enable_bacon=yes
13012fi
13013
13014
13015if test "x$enable_bacon" = "xyes"; then :
13016
13017        for ac_header in fcntl.h sys/types.h sys/socket.h sys/un.h
13018do :
13019  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13020ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13021if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13022  cat >>confdefs.h <<_ACEOF
13023#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13024_ACEOF
13025 have_bacon=yes
13026else
13027  have_bacon=no
13028fi
13029
13030done
13031
13032
13033else
13034  have_bacon=no
13035
13036fi
13037
13038if test "x$have_bacon" = "xyes"; then :
13039
13040
13041$as_echo "#define HAVE_BACON 1" >>confdefs.h
13042
13043
13044
13045fi
13046
13047 if test "x$have_bacon" = "xyes"; then
13048  HAVE_BACON_TRUE=
13049  HAVE_BACON_FALSE='#'
13050else
13051  HAVE_BACON_TRUE='#'
13052  HAVE_BACON_FALSE=
13053fi
13054
13055
13056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for default IPC mechanism" >&5
13057$as_echo_n "checking for default IPC mechanism... " >&6; }
13058if test "x$have_gdbus" = "xyes"; then :
13059
13060        UNIQUE_DEFAULT_BACKEND=gdbus
13061        { $as_echo "$as_me:${as_lineno-$LINENO}: result: GDBus" >&5
13062$as_echo "GDBus" >&6; }
13063
13064elif test "x$have_dbus" = "xyes"; then :
13065
13066        UNIQUE_DEFAULT_BACKEND=dbus
13067        { $as_echo "$as_me:${as_lineno-$LINENO}: result: D-Bus" >&5
13068$as_echo "D-Bus" >&6; }
13069
13070elif test "x$have_bacon" = "xyes"; then :
13071
13072        UNIQUE_DEFAULT_BACKEND=bacon
13073        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Unix domain sockets" >&5
13074$as_echo "Unix domain sockets" >&6; }
13075
13076else
13077  as_fn_error $? "No IPC backend enabled." "$LINENO" 5
13078
13079fi
13080
13081
13082
13083# use strict compiler flags only during development cycles
13084
13085# Check whether --enable-maintainer-flags was given.
13086if test "${enable_maintainer_flags+set}" = set; then :
13087  enableval=$enable_maintainer_flags;
13088else
13089  enable_maintainer_flags=no
13090fi
13091
13092
13093if test "x$enable_maintainer_flags" = "xyes" && test "x$GCC" = "xyes"; then :
13094
13095
13096  list="-Wall -Wshadow -Wcast-align -Wuninitialized
13097                            -Wno-strict-aliasing -Wempty-body -Wformat
13098                            -Wformat-security -Winit-self
13099                            -Wdeclaration-after-statement -Wvla"
13100  flags_supported=""
13101  flags_unsupported=""
13102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for supported compiler flags" >&5
13103$as_echo_n "checking for supported compiler flags... " >&6; }
13104  for each in $list
13105  do
13106    save_CFLAGS="$CFLAGS"
13107    CFLAGS="$CFLAGS $each"
13108    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13109/* end confdefs.h.  */
13110
13111int
13112main ()
13113{
13114
13115  ;
13116  return 0;
13117}
13118_ACEOF
13119if ac_fn_c_try_compile "$LINENO"; then :
13120  flag_ok=yes
13121else
13122  flag_ok=no
13123fi
13124rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13125    CFLAGS="$save_CFLAGS"
13126
13127    if test "X$flag_ok" = Xyes ; then
13128      flags_supported="$flags_supported $each"
13129    else
13130      flags_unsupported="$flags_unsupported $each"
13131    fi
13132  done
13133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flags_supported" >&5
13134$as_echo "$flags_supported" >&6; }
13135  if test "X$flags_unsupported" != X ; then
13136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unsupported compiler flags: $flags_unsupported" >&5
13137$as_echo "$as_me: WARNING: unsupported compiler flags: $flags_unsupported" >&2;}
13138  fi
13139  MAINTAINER_CFLAGS="$MAINTAINER_CFLAGS $flags_supported"
13140
13141
13142
13143fi
13144
13145
13146
13147# enable debug flags and symbols
13148
13149# Check whether --enable-debug was given.
13150if test "${enable_debug+set}" = set; then :
13151  enableval=$enable_debug;
13152else
13153  enable_debug=minimum
13154fi
13155
13156
13157case $enable_debug in #(
13158  yes) :
13159
13160          test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
13161          UNIQUE_DEBUG_CFLAGS="-DUNIQUE_ENABLE_DEBUG"
13162         ;; #(
13163  no) :
13164
13165          UNIQUE_DEBUG_CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS"
13166         ;; #(
13167  minimum) :
13168
13169          UNIQUE_DEBUG_CFLAGS="-DG_DISABLE_CAST_CHECKS"
13170         ;; #(
13171  *) :
13172    as_fn_error $? "Unknown argument to --enable-debug" "$LINENO" 5
13173 ;;
13174esac
13175
13176
13177
13178# introspection
13179
13180
13181
13182                # Check whether --enable-introspection was given.
13183if test "${enable_introspection+set}" = set; then :
13184  enableval=$enable_introspection;
13185else
13186  enable_introspection=auto
13187fi
13188
13189
13190    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
13191$as_echo_n "checking for gobject-introspection... " >&6; }
13192
13193        case $enable_introspection in #(
13194  no) :
13195            found_introspection="no (disabled, use --enable-introspection to enable)"
13196     ;; #(
13197      yes) :
13198            if test -n "$PKG_CONFIG" && \
13199    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
13200  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
13201  ac_status=$?
13202  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13203  test $ac_status = 0; }; then
13204  :
13205else
13206  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
13207fi
13208        if test -n "$PKG_CONFIG" && \
13209    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
13210  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
13211  ac_status=$?
13212  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13213  test $ac_status = 0; }; then
13214  found_introspection=yes
13215else
13216  as_fn_error $? "You need to have gobject-introspection >= 0.9.0 installed to build unique" "$LINENO" 5
13217fi
13218     ;; #(
13219      auto) :
13220            if test -n "$PKG_CONFIG" && \
13221    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.9.0\""; } >&5
13222  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.0") 2>&5
13223  ac_status=$?
13224  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13225  test $ac_status = 0; }; then
13226  found_introspection=yes
13227else
13228  found_introspection=no
13229fi
13230     ;; #(
13231  *) :
13232                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
13233     ;;
13234esac
13235    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
13236$as_echo "$found_introspection" >&6; }
13237
13238    INTROSPECTION_SCANNER=
13239    INTROSPECTION_COMPILER=
13240    INTROSPECTION_GENERATE=
13241    INTROSPECTION_GIRDIR=
13242    INTROSPECTION_TYPELIBDIR=
13243    if test "x$found_introspection" = "xyes"; then
13244       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
13245       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
13246       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
13247       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
13248       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
13249       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
13250       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
13251       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
13252    fi
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262     if test "x$found_introspection" = "xyes"; then
13263  HAVE_INTROSPECTION_TRUE=
13264  HAVE_INTROSPECTION_FALSE='#'
13265else
13266  HAVE_INTROSPECTION_TRUE='#'
13267  HAVE_INTROSPECTION_FALSE=
13268fi
13269
13270
13271
13272
13273# gtk-doc
13274GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
13275GDK_PREFIX="`$PKG_CONFIG --variable=prefix gtk+-3.0`"
13276GTK_PREFIX="`$PKG_CONFIG --variable=prefix gdk-3.0`"
13277
13278
13279
13280
13281
13282
13283    # Extract the first word of "gtkdoc-check", so it can be a program name with args.
13284set dummy gtkdoc-check; ac_word=$2
13285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13286$as_echo_n "checking for $ac_word... " >&6; }
13287if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
13288  $as_echo_n "(cached) " >&6
13289else
13290  case $GTKDOC_CHECK in
13291  [\\/]* | ?:[\\/]*)
13292  ac_cv_path_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test with a path.
13293  ;;
13294  *)
13295  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13296for as_dir in $PATH
13297do
13298  IFS=$as_save_IFS
13299  test -z "$as_dir" && as_dir=.
13300    for ac_exec_ext in '' $ac_executable_extensions; do
13301  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13302    ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext"
13303    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13304    break 2
13305  fi
13306done
13307  done
13308IFS=$as_save_IFS
13309
13310  ;;
13311esac
13312fi
13313GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK
13314if test -n "$GTKDOC_CHECK"; then
13315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
13316$as_echo "$GTKDOC_CHECK" >&6; }
13317else
13318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13319$as_echo "no" >&6; }
13320fi
13321
13322
13323  for ac_prog in gtkdoc-rebase
13324do
13325  # Extract the first word of "$ac_prog", so it can be a program name with args.
13326set dummy $ac_prog; ac_word=$2
13327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13328$as_echo_n "checking for $ac_word... " >&6; }
13329if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
13330  $as_echo_n "(cached) " >&6
13331else
13332  case $GTKDOC_REBASE in
13333  [\\/]* | ?:[\\/]*)
13334  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
13335  ;;
13336  *)
13337  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13338for as_dir in $PATH
13339do
13340  IFS=$as_save_IFS
13341  test -z "$as_dir" && as_dir=.
13342    for ac_exec_ext in '' $ac_executable_extensions; do
13343  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13344    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
13345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13346    break 2
13347  fi
13348done
13349  done
13350IFS=$as_save_IFS
13351
13352  ;;
13353esac
13354fi
13355GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
13356if test -n "$GTKDOC_REBASE"; then
13357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
13358$as_echo "$GTKDOC_REBASE" >&6; }
13359else
13360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13361$as_echo "no" >&6; }
13362fi
13363
13364
13365  test -n "$GTKDOC_REBASE" && break
13366done
13367test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
13368
13369  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
13370set dummy gtkdoc-mkpdf; ac_word=$2
13371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13372$as_echo_n "checking for $ac_word... " >&6; }
13373if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
13374  $as_echo_n "(cached) " >&6
13375else
13376  case $GTKDOC_MKPDF in
13377  [\\/]* | ?:[\\/]*)
13378  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
13379  ;;
13380  *)
13381  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13382for as_dir in $PATH
13383do
13384  IFS=$as_save_IFS
13385  test -z "$as_dir" && as_dir=.
13386    for ac_exec_ext in '' $ac_executable_extensions; do
13387  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13388    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
13389    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13390    break 2
13391  fi
13392done
13393  done
13394IFS=$as_save_IFS
13395
13396  ;;
13397esac
13398fi
13399GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
13400if test -n "$GTKDOC_MKPDF"; then
13401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
13402$as_echo "$GTKDOC_MKPDF" >&6; }
13403else
13404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13405$as_echo "no" >&6; }
13406fi
13407
13408
13409
13410
13411# Check whether --with-html-dir was given.
13412if test "${with_html_dir+set}" = set; then :
13413  withval=$with_html_dir;
13414else
13415  with_html_dir='${datadir}/gtk-doc/html'
13416fi
13417
13418  HTML_DIR="$with_html_dir"
13419
13420
13421    # Check whether --enable-gtk-doc was given.
13422if test "${enable_gtk_doc+set}" = set; then :
13423  enableval=$enable_gtk_doc;
13424else
13425  enable_gtk_doc=no
13426fi
13427
13428
13429  if test x$enable_gtk_doc = xyes; then
13430    if test -n "$PKG_CONFIG" && \
13431    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.13\""; } >&5
13432  ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.13") 2>&5
13433  ac_status=$?
13434  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13435  test $ac_status = 0; }; then
13436  :
13437else
13438  as_fn_error $? "You need to have gtk-doc >= 1.13 installed to build $PACKAGE_NAME" "$LINENO" 5
13439fi
13440  fi
13441
13442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
13443$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
13444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
13445$as_echo "$enable_gtk_doc" >&6; }
13446
13447    # Check whether --enable-gtk-doc-html was given.
13448if test "${enable_gtk_doc_html+set}" = set; then :
13449  enableval=$enable_gtk_doc_html;
13450else
13451  enable_gtk_doc_html=yes
13452fi
13453
13454    # Check whether --enable-gtk-doc-pdf was given.
13455if test "${enable_gtk_doc_pdf+set}" = set; then :
13456  enableval=$enable_gtk_doc_pdf;
13457else
13458  enable_gtk_doc_pdf=no
13459fi
13460
13461
13462  if test -z "$GTKDOC_MKPDF"; then
13463    enable_gtk_doc_pdf=no
13464  fi
13465
13466
13467   if test x$enable_gtk_doc = xyes; then
13468  ENABLE_GTK_DOC_TRUE=
13469  ENABLE_GTK_DOC_FALSE='#'
13470else
13471  ENABLE_GTK_DOC_TRUE='#'
13472  ENABLE_GTK_DOC_FALSE=
13473fi
13474
13475   if test x$enable_gtk_doc_html = xyes; then
13476  GTK_DOC_BUILD_HTML_TRUE=
13477  GTK_DOC_BUILD_HTML_FALSE='#'
13478else
13479  GTK_DOC_BUILD_HTML_TRUE='#'
13480  GTK_DOC_BUILD_HTML_FALSE=
13481fi
13482
13483   if test x$enable_gtk_doc_pdf = xyes; then
13484  GTK_DOC_BUILD_PDF_TRUE=
13485  GTK_DOC_BUILD_PDF_FALSE='#'
13486else
13487  GTK_DOC_BUILD_PDF_TRUE='#'
13488  GTK_DOC_BUILD_PDF_FALSE=
13489fi
13490
13491   if test -n "$LIBTOOL"; then
13492  GTK_DOC_USE_LIBTOOL_TRUE=
13493  GTK_DOC_USE_LIBTOOL_FALSE='#'
13494else
13495  GTK_DOC_USE_LIBTOOL_TRUE='#'
13496  GTK_DOC_USE_LIBTOOL_FALSE=
13497fi
13498
13499   if test -n "$GTKDOC_REBASE"; then
13500  GTK_DOC_USE_REBASE_TRUE=
13501  GTK_DOC_USE_REBASE_FALSE='#'
13502else
13503  GTK_DOC_USE_REBASE_TRUE='#'
13504  GTK_DOC_USE_REBASE_FALSE=
13505fi
13506
13507
13508
13509ac_config_files="$ac_config_files Makefile unique.pc build/Makefile build/autotools/Makefile doc/Makefile doc/reference/Makefile doc/reference/version.xml unique/Makefile unique/uniqueversion.h unique/bacon/Makefile unique/dbus/Makefile unique/gdbus/Makefile tests/Makefile"
13510
13511
13512cat >confcache <<\_ACEOF
13513# This file is a shell script that caches the results of configure
13514# tests run on this system so they can be shared between configure
13515# scripts and configure runs, see configure's option --config-cache.
13516# It is not useful on other systems.  If it contains results you don't
13517# want to keep, you may remove or edit it.
13518#
13519# config.status only pays attention to the cache file if you give it
13520# the --recheck option to rerun configure.
13521#
13522# `ac_cv_env_foo' variables (set or unset) will be overridden when
13523# loading this file, other *unset* `ac_cv_foo' will be assigned the
13524# following values.
13525
13526_ACEOF
13527
13528# The following way of writing the cache mishandles newlines in values,
13529# but we know of no workaround that is simple, portable, and efficient.
13530# So, we kill variables containing newlines.
13531# Ultrix sh set writes to stderr and can't be redirected directly,
13532# and sets the high bit in the cache file unless we assign to the vars.
13533(
13534  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13535    eval ac_val=\$$ac_var
13536    case $ac_val in #(
13537    *${as_nl}*)
13538      case $ac_var in #(
13539      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13540$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13541      esac
13542      case $ac_var in #(
13543      _ | IFS | as_nl) ;; #(
13544      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13545      *) { eval $ac_var=; unset $ac_var;} ;;
13546      esac ;;
13547    esac
13548  done
13549
13550  (set) 2>&1 |
13551    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13552    *${as_nl}ac_space=\ *)
13553      # `set' does not quote correctly, so add quotes: double-quote
13554      # substitution turns \\\\ into \\, and sed turns \\ into \.
13555      sed -n \
13556	"s/'/'\\\\''/g;
13557	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13558      ;; #(
13559    *)
13560      # `set' quotes correctly as required by POSIX, so do not add quotes.
13561      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13562      ;;
13563    esac |
13564    sort
13565) |
13566  sed '
13567     /^ac_cv_env_/b end
13568     t clear
13569     :clear
13570     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13571     t end
13572     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13573     :end' >>confcache
13574if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13575  if test -w "$cache_file"; then
13576    if test "x$cache_file" != "x/dev/null"; then
13577      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13578$as_echo "$as_me: updating cache $cache_file" >&6;}
13579      if test ! -f "$cache_file" || test -h "$cache_file"; then
13580	cat confcache >"$cache_file"
13581      else
13582        case $cache_file in #(
13583        */* | ?:*)
13584	  mv -f confcache "$cache_file"$$ &&
13585	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13586        *)
13587	  mv -f confcache "$cache_file" ;;
13588	esac
13589      fi
13590    fi
13591  else
13592    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13593$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13594  fi
13595fi
13596rm -f confcache
13597
13598test "x$prefix" = xNONE && prefix=$ac_default_prefix
13599# Let make expand exec_prefix.
13600test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13601
13602DEFS=-DHAVE_CONFIG_H
13603
13604ac_libobjs=
13605ac_ltlibobjs=
13606U=
13607for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13608  # 1. Remove the extension, and $U if already installed.
13609  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13610  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13611  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13612  #    will be set to the directory where LIBOBJS objects are built.
13613  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13614  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13615done
13616LIBOBJS=$ac_libobjs
13617
13618LTLIBOBJS=$ac_ltlibobjs
13619
13620
13621 if test -n "$EXEEXT"; then
13622  am__EXEEXT_TRUE=
13623  am__EXEEXT_FALSE='#'
13624else
13625  am__EXEEXT_TRUE='#'
13626  am__EXEEXT_FALSE=
13627fi
13628
13629if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13630  as_fn_error $? "conditional \"AMDEP\" was never defined.
13631Usually this means the macro was only invoked conditionally." "$LINENO" 5
13632fi
13633if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13634  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13635Usually this means the macro was only invoked conditionally." "$LINENO" 5
13636fi
13637if test -z "${HAVE_DBUS_TRUE}" && test -z "${HAVE_DBUS_FALSE}"; then
13638  as_fn_error $? "conditional \"HAVE_DBUS\" was never defined.
13639Usually this means the macro was only invoked conditionally." "$LINENO" 5
13640fi
13641if test -z "${HAVE_GDBUS_TRUE}" && test -z "${HAVE_GDBUS_FALSE}"; then
13642  as_fn_error $? "conditional \"HAVE_GDBUS\" was never defined.
13643Usually this means the macro was only invoked conditionally." "$LINENO" 5
13644fi
13645if test -z "${HAVE_BACON_TRUE}" && test -z "${HAVE_BACON_FALSE}"; then
13646  as_fn_error $? "conditional \"HAVE_BACON\" was never defined.
13647Usually this means the macro was only invoked conditionally." "$LINENO" 5
13648fi
13649if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
13650  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
13651Usually this means the macro was only invoked conditionally." "$LINENO" 5
13652fi
13653if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
13654  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
13655Usually this means the macro was only invoked conditionally." "$LINENO" 5
13656fi
13657if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
13658  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
13659Usually this means the macro was only invoked conditionally." "$LINENO" 5
13660fi
13661if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
13662  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
13663Usually this means the macro was only invoked conditionally." "$LINENO" 5
13664fi
13665if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
13666  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
13667Usually this means the macro was only invoked conditionally." "$LINENO" 5
13668fi
13669if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
13670  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
13671Usually this means the macro was only invoked conditionally." "$LINENO" 5
13672fi
13673
13674: "${CONFIG_STATUS=./config.status}"
13675ac_write_fail=0
13676ac_clean_files_save=$ac_clean_files
13677ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13678{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13679$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13680as_write_fail=0
13681cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13682#! $SHELL
13683# Generated by $as_me.
13684# Run this file to recreate the current configuration.
13685# Compiler output produced by configure, useful for debugging
13686# configure, is in config.log if it exists.
13687
13688debug=false
13689ac_cs_recheck=false
13690ac_cs_silent=false
13691
13692SHELL=\${CONFIG_SHELL-$SHELL}
13693export SHELL
13694_ASEOF
13695cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13696## -------------------- ##
13697## M4sh Initialization. ##
13698## -------------------- ##
13699
13700# Be more Bourne compatible
13701DUALCASE=1; export DUALCASE # for MKS sh
13702if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13703  emulate sh
13704  NULLCMD=:
13705  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13706  # is contrary to our usage.  Disable this feature.
13707  alias -g '${1+"$@"}'='"$@"'
13708  setopt NO_GLOB_SUBST
13709else
13710  case `(set -o) 2>/dev/null` in #(
13711  *posix*) :
13712    set -o posix ;; #(
13713  *) :
13714     ;;
13715esac
13716fi
13717
13718
13719as_nl='
13720'
13721export as_nl
13722# Printing a long string crashes Solaris 7 /usr/bin/printf.
13723as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13724as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13725as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13726# Prefer a ksh shell builtin over an external printf program on Solaris,
13727# but without wasting forks for bash or zsh.
13728if test -z "$BASH_VERSION$ZSH_VERSION" \
13729    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13730  as_echo='print -r --'
13731  as_echo_n='print -rn --'
13732elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13733  as_echo='printf %s\n'
13734  as_echo_n='printf %s'
13735else
13736  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13737    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13738    as_echo_n='/usr/ucb/echo -n'
13739  else
13740    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13741    as_echo_n_body='eval
13742      arg=$1;
13743      case $arg in #(
13744      *"$as_nl"*)
13745	expr "X$arg" : "X\\(.*\\)$as_nl";
13746	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13747      esac;
13748      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13749    '
13750    export as_echo_n_body
13751    as_echo_n='sh -c $as_echo_n_body as_echo'
13752  fi
13753  export as_echo_body
13754  as_echo='sh -c $as_echo_body as_echo'
13755fi
13756
13757# The user is always right.
13758if test "${PATH_SEPARATOR+set}" != set; then
13759  PATH_SEPARATOR=:
13760  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13761    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13762      PATH_SEPARATOR=';'
13763  }
13764fi
13765
13766
13767# IFS
13768# We need space, tab and new line, in precisely that order.  Quoting is
13769# there to prevent editors from complaining about space-tab.
13770# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13771# splitting by setting IFS to empty value.)
13772IFS=" ""	$as_nl"
13773
13774# Find who we are.  Look in the path if we contain no directory separator.
13775as_myself=
13776case $0 in #((
13777  *[\\/]* ) as_myself=$0 ;;
13778  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13779for as_dir in $PATH
13780do
13781  IFS=$as_save_IFS
13782  test -z "$as_dir" && as_dir=.
13783    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13784  done
13785IFS=$as_save_IFS
13786
13787     ;;
13788esac
13789# We did not find ourselves, most probably we were run as `sh COMMAND'
13790# in which case we are not to be found in the path.
13791if test "x$as_myself" = x; then
13792  as_myself=$0
13793fi
13794if test ! -f "$as_myself"; then
13795  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13796  exit 1
13797fi
13798
13799# Unset variables that we do not need and which cause bugs (e.g. in
13800# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13801# suppresses any "Segmentation fault" message there.  '((' could
13802# trigger a bug in pdksh 5.2.14.
13803for as_var in BASH_ENV ENV MAIL MAILPATH
13804do eval test x\${$as_var+set} = xset \
13805  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13806done
13807PS1='$ '
13808PS2='> '
13809PS4='+ '
13810
13811# NLS nuisances.
13812LC_ALL=C
13813export LC_ALL
13814LANGUAGE=C
13815export LANGUAGE
13816
13817# CDPATH.
13818(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13819
13820
13821# as_fn_error STATUS ERROR [LINENO LOG_FD]
13822# ----------------------------------------
13823# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13824# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13825# script with STATUS, using 1 if that was 0.
13826as_fn_error ()
13827{
13828  as_status=$1; test $as_status -eq 0 && as_status=1
13829  if test "$4"; then
13830    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13831    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13832  fi
13833  $as_echo "$as_me: error: $2" >&2
13834  as_fn_exit $as_status
13835} # as_fn_error
13836
13837
13838# as_fn_set_status STATUS
13839# -----------------------
13840# Set $? to STATUS, without forking.
13841as_fn_set_status ()
13842{
13843  return $1
13844} # as_fn_set_status
13845
13846# as_fn_exit STATUS
13847# -----------------
13848# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13849as_fn_exit ()
13850{
13851  set +e
13852  as_fn_set_status $1
13853  exit $1
13854} # as_fn_exit
13855
13856# as_fn_unset VAR
13857# ---------------
13858# Portably unset VAR.
13859as_fn_unset ()
13860{
13861  { eval $1=; unset $1;}
13862}
13863as_unset=as_fn_unset
13864# as_fn_append VAR VALUE
13865# ----------------------
13866# Append the text in VALUE to the end of the definition contained in VAR. Take
13867# advantage of any shell optimizations that allow amortized linear growth over
13868# repeated appends, instead of the typical quadratic growth present in naive
13869# implementations.
13870if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13871  eval 'as_fn_append ()
13872  {
13873    eval $1+=\$2
13874  }'
13875else
13876  as_fn_append ()
13877  {
13878    eval $1=\$$1\$2
13879  }
13880fi # as_fn_append
13881
13882# as_fn_arith ARG...
13883# ------------------
13884# Perform arithmetic evaluation on the ARGs, and store the result in the
13885# global $as_val. Take advantage of shells that can avoid forks. The arguments
13886# must be portable across $(()) and expr.
13887if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13888  eval 'as_fn_arith ()
13889  {
13890    as_val=$(( $* ))
13891  }'
13892else
13893  as_fn_arith ()
13894  {
13895    as_val=`expr "$@" || test $? -eq 1`
13896  }
13897fi # as_fn_arith
13898
13899
13900if expr a : '\(a\)' >/dev/null 2>&1 &&
13901   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13902  as_expr=expr
13903else
13904  as_expr=false
13905fi
13906
13907if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13908  as_basename=basename
13909else
13910  as_basename=false
13911fi
13912
13913if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13914  as_dirname=dirname
13915else
13916  as_dirname=false
13917fi
13918
13919as_me=`$as_basename -- "$0" ||
13920$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13921	 X"$0" : 'X\(//\)$' \| \
13922	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13923$as_echo X/"$0" |
13924    sed '/^.*\/\([^/][^/]*\)\/*$/{
13925	    s//\1/
13926	    q
13927	  }
13928	  /^X\/\(\/\/\)$/{
13929	    s//\1/
13930	    q
13931	  }
13932	  /^X\/\(\/\).*/{
13933	    s//\1/
13934	    q
13935	  }
13936	  s/.*/./; q'`
13937
13938# Avoid depending upon Character Ranges.
13939as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13940as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13941as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13942as_cr_digits='0123456789'
13943as_cr_alnum=$as_cr_Letters$as_cr_digits
13944
13945ECHO_C= ECHO_N= ECHO_T=
13946case `echo -n x` in #(((((
13947-n*)
13948  case `echo 'xy\c'` in
13949  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13950  xy)  ECHO_C='\c';;
13951  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13952       ECHO_T='	';;
13953  esac;;
13954*)
13955  ECHO_N='-n';;
13956esac
13957
13958rm -f conf$$ conf$$.exe conf$$.file
13959if test -d conf$$.dir; then
13960  rm -f conf$$.dir/conf$$.file
13961else
13962  rm -f conf$$.dir
13963  mkdir conf$$.dir 2>/dev/null
13964fi
13965if (echo >conf$$.file) 2>/dev/null; then
13966  if ln -s conf$$.file conf$$ 2>/dev/null; then
13967    as_ln_s='ln -s'
13968    # ... but there are two gotchas:
13969    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13970    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13971    # In both cases, we have to default to `cp -p'.
13972    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13973      as_ln_s='cp -p'
13974  elif ln conf$$.file conf$$ 2>/dev/null; then
13975    as_ln_s=ln
13976  else
13977    as_ln_s='cp -p'
13978  fi
13979else
13980  as_ln_s='cp -p'
13981fi
13982rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13983rmdir conf$$.dir 2>/dev/null
13984
13985
13986# as_fn_mkdir_p
13987# -------------
13988# Create "$as_dir" as a directory, including parents if necessary.
13989as_fn_mkdir_p ()
13990{
13991
13992  case $as_dir in #(
13993  -*) as_dir=./$as_dir;;
13994  esac
13995  test -d "$as_dir" || eval $as_mkdir_p || {
13996    as_dirs=
13997    while :; do
13998      case $as_dir in #(
13999      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14000      *) as_qdir=$as_dir;;
14001      esac
14002      as_dirs="'$as_qdir' $as_dirs"
14003      as_dir=`$as_dirname -- "$as_dir" ||
14004$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14005	 X"$as_dir" : 'X\(//\)[^/]' \| \
14006	 X"$as_dir" : 'X\(//\)$' \| \
14007	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14008$as_echo X"$as_dir" |
14009    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14010	    s//\1/
14011	    q
14012	  }
14013	  /^X\(\/\/\)[^/].*/{
14014	    s//\1/
14015	    q
14016	  }
14017	  /^X\(\/\/\)$/{
14018	    s//\1/
14019	    q
14020	  }
14021	  /^X\(\/\).*/{
14022	    s//\1/
14023	    q
14024	  }
14025	  s/.*/./; q'`
14026      test -d "$as_dir" && break
14027    done
14028    test -z "$as_dirs" || eval "mkdir $as_dirs"
14029  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14030
14031
14032} # as_fn_mkdir_p
14033if mkdir -p . 2>/dev/null; then
14034  as_mkdir_p='mkdir -p "$as_dir"'
14035else
14036  test -d ./-p && rmdir ./-p
14037  as_mkdir_p=false
14038fi
14039
14040if test -x / >/dev/null 2>&1; then
14041  as_test_x='test -x'
14042else
14043  if ls -dL / >/dev/null 2>&1; then
14044    as_ls_L_option=L
14045  else
14046    as_ls_L_option=
14047  fi
14048  as_test_x='
14049    eval sh -c '\''
14050      if test -d "$1"; then
14051	test -d "$1/.";
14052      else
14053	case $1 in #(
14054	-*)set "./$1";;
14055	esac;
14056	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
14057	???[sx]*):;;*)false;;esac;fi
14058    '\'' sh
14059  '
14060fi
14061as_executable_p=$as_test_x
14062
14063# Sed expression to map a string onto a valid CPP name.
14064as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14065
14066# Sed expression to map a string onto a valid variable name.
14067as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14068
14069
14070exec 6>&1
14071## ----------------------------------- ##
14072## Main body of $CONFIG_STATUS script. ##
14073## ----------------------------------- ##
14074_ASEOF
14075test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14076
14077cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14078# Save the log message, to keep $0 and so on meaningful, and to
14079# report actual input values of CONFIG_FILES etc. instead of their
14080# values after options handling.
14081ac_log="
14082This file was extended by unique $as_me 3.0.2, which was
14083generated by GNU Autoconf 2.68.  Invocation command line was
14084
14085  CONFIG_FILES    = $CONFIG_FILES
14086  CONFIG_HEADERS  = $CONFIG_HEADERS
14087  CONFIG_LINKS    = $CONFIG_LINKS
14088  CONFIG_COMMANDS = $CONFIG_COMMANDS
14089  $ $0 $@
14090
14091on `(hostname || uname -n) 2>/dev/null | sed 1q`
14092"
14093
14094_ACEOF
14095
14096case $ac_config_files in *"
14097"*) set x $ac_config_files; shift; ac_config_files=$*;;
14098esac
14099
14100case $ac_config_headers in *"
14101"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14102esac
14103
14104
14105cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14106# Files that config.status was made for.
14107config_files="$ac_config_files"
14108config_headers="$ac_config_headers"
14109config_commands="$ac_config_commands"
14110
14111_ACEOF
14112
14113cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14114ac_cs_usage="\
14115\`$as_me' instantiates files and other configuration actions
14116from templates according to the current configuration.  Unless the files
14117and actions are specified as TAGs, all are instantiated by default.
14118
14119Usage: $0 [OPTION]... [TAG]...
14120
14121  -h, --help       print this help, then exit
14122  -V, --version    print version number and configuration settings, then exit
14123      --config     print configuration, then exit
14124  -q, --quiet, --silent
14125                   do not print progress messages
14126  -d, --debug      don't remove temporary files
14127      --recheck    update $as_me by reconfiguring in the same conditions
14128      --file=FILE[:TEMPLATE]
14129                   instantiate the configuration file FILE
14130      --header=FILE[:TEMPLATE]
14131                   instantiate the configuration header FILE
14132
14133Configuration files:
14134$config_files
14135
14136Configuration headers:
14137$config_headers
14138
14139Configuration commands:
14140$config_commands
14141
14142Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=libunique>."
14143
14144_ACEOF
14145cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14146ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14147ac_cs_version="\\
14148unique config.status 3.0.2
14149configured by $0, generated by GNU Autoconf 2.68,
14150  with options \\"\$ac_cs_config\\"
14151
14152Copyright (C) 2010 Free Software Foundation, Inc.
14153This config.status script is free software; the Free Software Foundation
14154gives unlimited permission to copy, distribute and modify it."
14155
14156ac_pwd='$ac_pwd'
14157srcdir='$srcdir'
14158INSTALL='$INSTALL'
14159MKDIR_P='$MKDIR_P'
14160AWK='$AWK'
14161test -n "\$AWK" || AWK=awk
14162_ACEOF
14163
14164cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14165# The default lists apply if the user does not specify any file.
14166ac_need_defaults=:
14167while test $# != 0
14168do
14169  case $1 in
14170  --*=?*)
14171    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14172    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14173    ac_shift=:
14174    ;;
14175  --*=)
14176    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14177    ac_optarg=
14178    ac_shift=:
14179    ;;
14180  *)
14181    ac_option=$1
14182    ac_optarg=$2
14183    ac_shift=shift
14184    ;;
14185  esac
14186
14187  case $ac_option in
14188  # Handling of the options.
14189  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14190    ac_cs_recheck=: ;;
14191  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14192    $as_echo "$ac_cs_version"; exit ;;
14193  --config | --confi | --conf | --con | --co | --c )
14194    $as_echo "$ac_cs_config"; exit ;;
14195  --debug | --debu | --deb | --de | --d | -d )
14196    debug=: ;;
14197  --file | --fil | --fi | --f )
14198    $ac_shift
14199    case $ac_optarg in
14200    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14201    '') as_fn_error $? "missing file argument" ;;
14202    esac
14203    as_fn_append CONFIG_FILES " '$ac_optarg'"
14204    ac_need_defaults=false;;
14205  --header | --heade | --head | --hea )
14206    $ac_shift
14207    case $ac_optarg in
14208    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14209    esac
14210    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14211    ac_need_defaults=false;;
14212  --he | --h)
14213    # Conflict between --help and --header
14214    as_fn_error $? "ambiguous option: \`$1'
14215Try \`$0 --help' for more information.";;
14216  --help | --hel | -h )
14217    $as_echo "$ac_cs_usage"; exit ;;
14218  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14219  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14220    ac_cs_silent=: ;;
14221
14222  # This is an error.
14223  -*) as_fn_error $? "unrecognized option: \`$1'
14224Try \`$0 --help' for more information." ;;
14225
14226  *) as_fn_append ac_config_targets " $1"
14227     ac_need_defaults=false ;;
14228
14229  esac
14230  shift
14231done
14232
14233ac_configure_extra_args=
14234
14235if $ac_cs_silent; then
14236  exec 6>/dev/null
14237  ac_configure_extra_args="$ac_configure_extra_args --silent"
14238fi
14239
14240_ACEOF
14241cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14242if \$ac_cs_recheck; then
14243  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14244  shift
14245  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14246  CONFIG_SHELL='$SHELL'
14247  export CONFIG_SHELL
14248  exec "\$@"
14249fi
14250
14251_ACEOF
14252cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14253exec 5>>config.log
14254{
14255  echo
14256  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14257## Running $as_me. ##
14258_ASBOX
14259  $as_echo "$ac_log"
14260} >&5
14261
14262_ACEOF
14263cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14264#
14265# INIT-COMMANDS
14266#
14267AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14268
14269
14270# The HP-UX ksh and POSIX shell print the target directory to stdout
14271# if CDPATH is set.
14272(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14273
14274sed_quote_subst='$sed_quote_subst'
14275double_quote_subst='$double_quote_subst'
14276delay_variable_subst='$delay_variable_subst'
14277macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14278macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14279enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14280enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14281pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14282enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14283SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14284ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14285host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14286host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14287host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14288build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14289build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14290build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14291SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14292Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14293GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14294EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14295FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14296LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14297NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14298LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14299max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14300ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14301exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14302lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14303lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14304lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14305lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14306lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14307reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14308reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14309OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14310deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14311file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14312file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14313want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14314DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14315sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14316AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14317AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14318archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14319STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14320RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14321old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14322old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14323old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14324lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14325CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14326CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14327compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14328GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14329lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14330lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14331lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14332lt_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"`'
14333nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14334lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14335objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14336MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14337lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14338lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14339lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14340lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14341lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14342need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14343MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14344DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14345NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14346LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14347OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14348OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14349libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14350shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14351extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14352archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14353enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14354export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14355whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14356compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14357old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14358old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14359archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14360archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14361module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14362module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14363with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14364allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14365no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14366hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14367hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
14368hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14369hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14370hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14371hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14372hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14373hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14374inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14375link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14376always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14377export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14378exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14379include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14380prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14381postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14382file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14383variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14384need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14385need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14386version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14387runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14388shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14389shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14390libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14391library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14392soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14393install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14394postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14395postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14396finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14397finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14398hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14399sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14400sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
14401hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14402enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14403enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14404enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14405old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14406striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14407
14408LTCC='$LTCC'
14409LTCFLAGS='$LTCFLAGS'
14410compiler='$compiler_DEFAULT'
14411
14412# A function that is used when there is no print builtin or printf.
14413func_fallback_echo ()
14414{
14415  eval 'cat <<_LTECHO_EOF
14416\$1
14417_LTECHO_EOF'
14418}
14419
14420# Quote evaled strings.
14421for var in SHELL \
14422ECHO \
14423SED \
14424GREP \
14425EGREP \
14426FGREP \
14427LD \
14428NM \
14429LN_S \
14430lt_SP2NL \
14431lt_NL2SP \
14432reload_flag \
14433OBJDUMP \
14434deplibs_check_method \
14435file_magic_cmd \
14436file_magic_glob \
14437want_nocaseglob \
14438DLLTOOL \
14439sharedlib_from_linklib_cmd \
14440AR \
14441AR_FLAGS \
14442archiver_list_spec \
14443STRIP \
14444RANLIB \
14445CC \
14446CFLAGS \
14447compiler \
14448lt_cv_sys_global_symbol_pipe \
14449lt_cv_sys_global_symbol_to_cdecl \
14450lt_cv_sys_global_symbol_to_c_name_address \
14451lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14452nm_file_list_spec \
14453lt_prog_compiler_no_builtin_flag \
14454lt_prog_compiler_pic \
14455lt_prog_compiler_wl \
14456lt_prog_compiler_static \
14457lt_cv_prog_compiler_c_o \
14458need_locks \
14459MANIFEST_TOOL \
14460DSYMUTIL \
14461NMEDIT \
14462LIPO \
14463OTOOL \
14464OTOOL64 \
14465shrext_cmds \
14466export_dynamic_flag_spec \
14467whole_archive_flag_spec \
14468compiler_needs_object \
14469with_gnu_ld \
14470allow_undefined_flag \
14471no_undefined_flag \
14472hardcode_libdir_flag_spec \
14473hardcode_libdir_flag_spec_ld \
14474hardcode_libdir_separator \
14475exclude_expsyms \
14476include_expsyms \
14477file_list_spec \
14478variables_saved_for_relink \
14479libname_spec \
14480library_names_spec \
14481soname_spec \
14482install_override_mode \
14483finish_eval \
14484old_striplib \
14485striplib; do
14486    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14487    *[\\\\\\\`\\"\\\$]*)
14488      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14489      ;;
14490    *)
14491      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14492      ;;
14493    esac
14494done
14495
14496# Double-quote double-evaled strings.
14497for var in reload_cmds \
14498old_postinstall_cmds \
14499old_postuninstall_cmds \
14500old_archive_cmds \
14501extract_expsyms_cmds \
14502old_archive_from_new_cmds \
14503old_archive_from_expsyms_cmds \
14504archive_cmds \
14505archive_expsym_cmds \
14506module_cmds \
14507module_expsym_cmds \
14508export_symbols_cmds \
14509prelink_cmds \
14510postlink_cmds \
14511postinstall_cmds \
14512postuninstall_cmds \
14513finish_cmds \
14514sys_lib_search_path_spec \
14515sys_lib_dlsearch_path_spec; do
14516    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14517    *[\\\\\\\`\\"\\\$]*)
14518      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14519      ;;
14520    *)
14521      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14522      ;;
14523    esac
14524done
14525
14526ac_aux_dir='$ac_aux_dir'
14527xsi_shell='$xsi_shell'
14528lt_shell_append='$lt_shell_append'
14529
14530# See if we are running on zsh, and set the options which allow our
14531# commands through without removal of \ escapes INIT.
14532if test -n "\${ZSH_VERSION+set}" ; then
14533   setopt NO_GLOB_SUBST
14534fi
14535
14536
14537    PACKAGE='$PACKAGE'
14538    VERSION='$VERSION'
14539    TIMESTAMP='$TIMESTAMP'
14540    RM='$RM'
14541    ofile='$ofile'
14542
14543
14544
14545
14546_ACEOF
14547
14548cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14549
14550# Handling of arguments.
14551for ac_config_target in $ac_config_targets
14552do
14553  case $ac_config_target in
14554    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14555    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14556    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14557    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14558    "unique.pc") CONFIG_FILES="$CONFIG_FILES unique.pc" ;;
14559    "build/Makefile") CONFIG_FILES="$CONFIG_FILES build/Makefile" ;;
14560    "build/autotools/Makefile") CONFIG_FILES="$CONFIG_FILES build/autotools/Makefile" ;;
14561    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14562    "doc/reference/Makefile") CONFIG_FILES="$CONFIG_FILES doc/reference/Makefile" ;;
14563    "doc/reference/version.xml") CONFIG_FILES="$CONFIG_FILES doc/reference/version.xml" ;;
14564    "unique/Makefile") CONFIG_FILES="$CONFIG_FILES unique/Makefile" ;;
14565    "unique/uniqueversion.h") CONFIG_FILES="$CONFIG_FILES unique/uniqueversion.h" ;;
14566    "unique/bacon/Makefile") CONFIG_FILES="$CONFIG_FILES unique/bacon/Makefile" ;;
14567    "unique/dbus/Makefile") CONFIG_FILES="$CONFIG_FILES unique/dbus/Makefile" ;;
14568    "unique/gdbus/Makefile") CONFIG_FILES="$CONFIG_FILES unique/gdbus/Makefile" ;;
14569    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
14570
14571  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14572  esac
14573done
14574
14575
14576# If the user did not use the arguments to specify the items to instantiate,
14577# then the envvar interface is used.  Set only those that are not.
14578# We use the long form for the default assignment because of an extremely
14579# bizarre bug on SunOS 4.1.3.
14580if $ac_need_defaults; then
14581  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14582  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14583  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14584fi
14585
14586# Have a temporary directory for convenience.  Make it in the build tree
14587# simply because there is no reason against having it here, and in addition,
14588# creating and moving files from /tmp can sometimes cause problems.
14589# Hook for its removal unless debugging.
14590# Note that there is a small window in which the directory will not be cleaned:
14591# after its creation but before its name has been assigned to `$tmp'.
14592$debug ||
14593{
14594  tmp= ac_tmp=
14595  trap 'exit_status=$?
14596  : "${ac_tmp:=$tmp}"
14597  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14598' 0
14599  trap 'as_fn_exit 1' 1 2 13 15
14600}
14601# Create a (secure) tmp directory for tmp files.
14602
14603{
14604  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14605  test -d "$tmp"
14606}  ||
14607{
14608  tmp=./conf$$-$RANDOM
14609  (umask 077 && mkdir "$tmp")
14610} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14611ac_tmp=$tmp
14612
14613# Set up the scripts for CONFIG_FILES section.
14614# No need to generate them if there are no CONFIG_FILES.
14615# This happens for instance with `./config.status config.h'.
14616if test -n "$CONFIG_FILES"; then
14617
14618
14619ac_cr=`echo X | tr X '\015'`
14620# On cygwin, bash can eat \r inside `` if the user requested igncr.
14621# But we know of no other shell where ac_cr would be empty at this
14622# point, so we can use a bashism as a fallback.
14623if test "x$ac_cr" = x; then
14624  eval ac_cr=\$\'\\r\'
14625fi
14626ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14627if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14628  ac_cs_awk_cr='\\r'
14629else
14630  ac_cs_awk_cr=$ac_cr
14631fi
14632
14633echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14634_ACEOF
14635
14636
14637{
14638  echo "cat >conf$$subs.awk <<_ACEOF" &&
14639  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14640  echo "_ACEOF"
14641} >conf$$subs.sh ||
14642  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14643ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14644ac_delim='%!_!# '
14645for ac_last_try in false false false false false :; do
14646  . ./conf$$subs.sh ||
14647    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14648
14649  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14650  if test $ac_delim_n = $ac_delim_num; then
14651    break
14652  elif $ac_last_try; then
14653    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14654  else
14655    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14656  fi
14657done
14658rm -f conf$$subs.sh
14659
14660cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14661cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14662_ACEOF
14663sed -n '
14664h
14665s/^/S["/; s/!.*/"]=/
14666p
14667g
14668s/^[^!]*!//
14669:repl
14670t repl
14671s/'"$ac_delim"'$//
14672t delim
14673:nl
14674h
14675s/\(.\{148\}\)..*/\1/
14676t more1
14677s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14678p
14679n
14680b repl
14681:more1
14682s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14683p
14684g
14685s/.\{148\}//
14686t nl
14687:delim
14688h
14689s/\(.\{148\}\)..*/\1/
14690t more2
14691s/["\\]/\\&/g; s/^/"/; s/$/"/
14692p
14693b
14694:more2
14695s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14696p
14697g
14698s/.\{148\}//
14699t delim
14700' <conf$$subs.awk | sed '
14701/^[^""]/{
14702  N
14703  s/\n//
14704}
14705' >>$CONFIG_STATUS || ac_write_fail=1
14706rm -f conf$$subs.awk
14707cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14708_ACAWK
14709cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14710  for (key in S) S_is_set[key] = 1
14711  FS = ""
14712
14713}
14714{
14715  line = $ 0
14716  nfields = split(line, field, "@")
14717  substed = 0
14718  len = length(field[1])
14719  for (i = 2; i < nfields; i++) {
14720    key = field[i]
14721    keylen = length(key)
14722    if (S_is_set[key]) {
14723      value = S[key]
14724      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14725      len += length(value) + length(field[++i])
14726      substed = 1
14727    } else
14728      len += 1 + keylen
14729  }
14730
14731  print line
14732}
14733
14734_ACAWK
14735_ACEOF
14736cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14737if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14738  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14739else
14740  cat
14741fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14742  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14743_ACEOF
14744
14745# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14746# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14747# trailing colons and then remove the whole line if VPATH becomes empty
14748# (actually we leave an empty line to preserve line numbers).
14749if test "x$srcdir" = x.; then
14750  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14751h
14752s///
14753s/^/:/
14754s/[	 ]*$/:/
14755s/:\$(srcdir):/:/g
14756s/:\${srcdir}:/:/g
14757s/:@srcdir@:/:/g
14758s/^:*//
14759s/:*$//
14760x
14761s/\(=[	 ]*\).*/\1/
14762G
14763s/\n//
14764s/^[^=]*=[	 ]*$//
14765}'
14766fi
14767
14768cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14769fi # test -n "$CONFIG_FILES"
14770
14771# Set up the scripts for CONFIG_HEADERS section.
14772# No need to generate them if there are no CONFIG_HEADERS.
14773# This happens for instance with `./config.status Makefile'.
14774if test -n "$CONFIG_HEADERS"; then
14775cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14776BEGIN {
14777_ACEOF
14778
14779# Transform confdefs.h into an awk script `defines.awk', embedded as
14780# here-document in config.status, that substitutes the proper values into
14781# config.h.in to produce config.h.
14782
14783# Create a delimiter string that does not exist in confdefs.h, to ease
14784# handling of long lines.
14785ac_delim='%!_!# '
14786for ac_last_try in false false :; do
14787  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14788  if test -z "$ac_tt"; then
14789    break
14790  elif $ac_last_try; then
14791    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14792  else
14793    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14794  fi
14795done
14796
14797# For the awk script, D is an array of macro values keyed by name,
14798# likewise P contains macro parameters if any.  Preserve backslash
14799# newline sequences.
14800
14801ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14802sed -n '
14803s/.\{148\}/&'"$ac_delim"'/g
14804t rset
14805:rset
14806s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14807t def
14808d
14809:def
14810s/\\$//
14811t bsnl
14812s/["\\]/\\&/g
14813s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14814D["\1"]=" \3"/p
14815s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14816d
14817:bsnl
14818s/["\\]/\\&/g
14819s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14820D["\1"]=" \3\\\\\\n"\\/p
14821t cont
14822s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14823t cont
14824d
14825:cont
14826n
14827s/.\{148\}/&'"$ac_delim"'/g
14828t clear
14829:clear
14830s/\\$//
14831t bsnlc
14832s/["\\]/\\&/g; s/^/"/; s/$/"/p
14833d
14834:bsnlc
14835s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14836b cont
14837' <confdefs.h | sed '
14838s/'"$ac_delim"'/"\\\
14839"/g' >>$CONFIG_STATUS || ac_write_fail=1
14840
14841cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14842  for (key in D) D_is_set[key] = 1
14843  FS = ""
14844}
14845/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14846  line = \$ 0
14847  split(line, arg, " ")
14848  if (arg[1] == "#") {
14849    defundef = arg[2]
14850    mac1 = arg[3]
14851  } else {
14852    defundef = substr(arg[1], 2)
14853    mac1 = arg[2]
14854  }
14855  split(mac1, mac2, "(") #)
14856  macro = mac2[1]
14857  prefix = substr(line, 1, index(line, defundef) - 1)
14858  if (D_is_set[macro]) {
14859    # Preserve the white space surrounding the "#".
14860    print prefix "define", macro P[macro] D[macro]
14861    next
14862  } else {
14863    # Replace #undef with comments.  This is necessary, for example,
14864    # in the case of _POSIX_SOURCE, which is predefined and required
14865    # on some systems where configure will not decide to define it.
14866    if (defundef == "undef") {
14867      print "/*", prefix defundef, macro, "*/"
14868      next
14869    }
14870  }
14871}
14872{ print }
14873_ACAWK
14874_ACEOF
14875cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14876  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14877fi # test -n "$CONFIG_HEADERS"
14878
14879
14880eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14881shift
14882for ac_tag
14883do
14884  case $ac_tag in
14885  :[FHLC]) ac_mode=$ac_tag; continue;;
14886  esac
14887  case $ac_mode$ac_tag in
14888  :[FHL]*:*);;
14889  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14890  :[FH]-) ac_tag=-:-;;
14891  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14892  esac
14893  ac_save_IFS=$IFS
14894  IFS=:
14895  set x $ac_tag
14896  IFS=$ac_save_IFS
14897  shift
14898  ac_file=$1
14899  shift
14900
14901  case $ac_mode in
14902  :L) ac_source=$1;;
14903  :[FH])
14904    ac_file_inputs=
14905    for ac_f
14906    do
14907      case $ac_f in
14908      -) ac_f="$ac_tmp/stdin";;
14909      *) # Look for the file first in the build tree, then in the source tree
14910	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14911	 # because $ac_f cannot contain `:'.
14912	 test -f "$ac_f" ||
14913	   case $ac_f in
14914	   [\\/$]*) false;;
14915	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14916	   esac ||
14917	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14918      esac
14919      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14920      as_fn_append ac_file_inputs " '$ac_f'"
14921    done
14922
14923    # Let's still pretend it is `configure' which instantiates (i.e., don't
14924    # use $as_me), people would be surprised to read:
14925    #    /* config.h.  Generated by config.status.  */
14926    configure_input='Generated from '`
14927	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14928	`' by configure.'
14929    if test x"$ac_file" != x-; then
14930      configure_input="$ac_file.  $configure_input"
14931      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14932$as_echo "$as_me: creating $ac_file" >&6;}
14933    fi
14934    # Neutralize special characters interpreted by sed in replacement strings.
14935    case $configure_input in #(
14936    *\&* | *\|* | *\\* )
14937       ac_sed_conf_input=`$as_echo "$configure_input" |
14938       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14939    *) ac_sed_conf_input=$configure_input;;
14940    esac
14941
14942    case $ac_tag in
14943    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14944      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14945    esac
14946    ;;
14947  esac
14948
14949  ac_dir=`$as_dirname -- "$ac_file" ||
14950$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14951	 X"$ac_file" : 'X\(//\)[^/]' \| \
14952	 X"$ac_file" : 'X\(//\)$' \| \
14953	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14954$as_echo X"$ac_file" |
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'`
14972  as_dir="$ac_dir"; as_fn_mkdir_p
14973  ac_builddir=.
14974
14975case "$ac_dir" in
14976.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14977*)
14978  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14979  # A ".." for each directory in $ac_dir_suffix.
14980  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14981  case $ac_top_builddir_sub in
14982  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14983  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14984  esac ;;
14985esac
14986ac_abs_top_builddir=$ac_pwd
14987ac_abs_builddir=$ac_pwd$ac_dir_suffix
14988# for backward compatibility:
14989ac_top_builddir=$ac_top_build_prefix
14990
14991case $srcdir in
14992  .)  # We are building in place.
14993    ac_srcdir=.
14994    ac_top_srcdir=$ac_top_builddir_sub
14995    ac_abs_top_srcdir=$ac_pwd ;;
14996  [\\/]* | ?:[\\/]* )  # Absolute name.
14997    ac_srcdir=$srcdir$ac_dir_suffix;
14998    ac_top_srcdir=$srcdir
14999    ac_abs_top_srcdir=$srcdir ;;
15000  *) # Relative name.
15001    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15002    ac_top_srcdir=$ac_top_build_prefix$srcdir
15003    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15004esac
15005ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15006
15007
15008  case $ac_mode in
15009  :F)
15010  #
15011  # CONFIG_FILE
15012  #
15013
15014  case $INSTALL in
15015  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15016  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15017  esac
15018  ac_MKDIR_P=$MKDIR_P
15019  case $MKDIR_P in
15020  [\\/$]* | ?:[\\/]* ) ;;
15021  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15022  esac
15023_ACEOF
15024
15025cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15026# If the template does not know about datarootdir, expand it.
15027# FIXME: This hack should be removed a few years after 2.60.
15028ac_datarootdir_hack=; ac_datarootdir_seen=
15029ac_sed_dataroot='
15030/datarootdir/ {
15031  p
15032  q
15033}
15034/@datadir@/p
15035/@docdir@/p
15036/@infodir@/p
15037/@localedir@/p
15038/@mandir@/p'
15039case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15040*datarootdir*) ac_datarootdir_seen=yes;;
15041*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15042  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15043$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15044_ACEOF
15045cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15046  ac_datarootdir_hack='
15047  s&@datadir@&$datadir&g
15048  s&@docdir@&$docdir&g
15049  s&@infodir@&$infodir&g
15050  s&@localedir@&$localedir&g
15051  s&@mandir@&$mandir&g
15052  s&\\\${datarootdir}&$datarootdir&g' ;;
15053esac
15054_ACEOF
15055
15056# Neutralize VPATH when `$srcdir' = `.'.
15057# Shell code in configure.ac might set extrasub.
15058# FIXME: do we really want to maintain this feature?
15059cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15060ac_sed_extra="$ac_vpsub
15061$extrasub
15062_ACEOF
15063cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15064:t
15065/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15066s|@configure_input@|$ac_sed_conf_input|;t t
15067s&@top_builddir@&$ac_top_builddir_sub&;t t
15068s&@top_build_prefix@&$ac_top_build_prefix&;t t
15069s&@srcdir@&$ac_srcdir&;t t
15070s&@abs_srcdir@&$ac_abs_srcdir&;t t
15071s&@top_srcdir@&$ac_top_srcdir&;t t
15072s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15073s&@builddir@&$ac_builddir&;t t
15074s&@abs_builddir@&$ac_abs_builddir&;t t
15075s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15076s&@INSTALL@&$ac_INSTALL&;t t
15077s&@MKDIR_P@&$ac_MKDIR_P&;t t
15078$ac_datarootdir_hack
15079"
15080eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15081  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15082
15083test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15084  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15085  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15086      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15087  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15088which seems to be undefined.  Please make sure it is defined" >&5
15089$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15090which seems to be undefined.  Please make sure it is defined" >&2;}
15091
15092  rm -f "$ac_tmp/stdin"
15093  case $ac_file in
15094  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15095  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15096  esac \
15097  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15098 ;;
15099  :H)
15100  #
15101  # CONFIG_HEADER
15102  #
15103  if test x"$ac_file" != x-; then
15104    {
15105      $as_echo "/* $configure_input  */" \
15106      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15107    } >"$ac_tmp/config.h" \
15108      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15109    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15110      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15111$as_echo "$as_me: $ac_file is unchanged" >&6;}
15112    else
15113      rm -f "$ac_file"
15114      mv "$ac_tmp/config.h" "$ac_file" \
15115	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15116    fi
15117  else
15118    $as_echo "/* $configure_input  */" \
15119      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15120      || as_fn_error $? "could not create -" "$LINENO" 5
15121  fi
15122# Compute "$ac_file"'s index in $config_headers.
15123_am_arg="$ac_file"
15124_am_stamp_count=1
15125for _am_header in $config_headers :; do
15126  case $_am_header in
15127    $_am_arg | $_am_arg:* )
15128      break ;;
15129    * )
15130      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15131  esac
15132done
15133echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15134$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15135	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15136	 X"$_am_arg" : 'X\(//\)$' \| \
15137	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15138$as_echo X"$_am_arg" |
15139    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15140	    s//\1/
15141	    q
15142	  }
15143	  /^X\(\/\/\)[^/].*/{
15144	    s//\1/
15145	    q
15146	  }
15147	  /^X\(\/\/\)$/{
15148	    s//\1/
15149	    q
15150	  }
15151	  /^X\(\/\).*/{
15152	    s//\1/
15153	    q
15154	  }
15155	  s/.*/./; q'`/stamp-h$_am_stamp_count
15156 ;;
15157
15158  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15159$as_echo "$as_me: executing $ac_file commands" >&6;}
15160 ;;
15161  esac
15162
15163
15164  case $ac_file$ac_mode in
15165    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15166  # Autoconf 2.62 quotes --file arguments for eval, but not when files
15167  # are listed without --file.  Let's play safe and only enable the eval
15168  # if we detect the quoting.
15169  case $CONFIG_FILES in
15170  *\'*) eval set x "$CONFIG_FILES" ;;
15171  *)   set x $CONFIG_FILES ;;
15172  esac
15173  shift
15174  for mf
15175  do
15176    # Strip MF so we end up with the name of the file.
15177    mf=`echo "$mf" | sed -e 's/:.*$//'`
15178    # Check whether this is an Automake generated Makefile or not.
15179    # We used to match only the files named `Makefile.in', but
15180    # some people rename them; so instead we look at the file content.
15181    # Grep'ing the first line is not enough: some people post-process
15182    # each Makefile.in and add a new line on top of each file to say so.
15183    # Grep'ing the whole file is not good either: AIX grep has a line
15184    # limit of 2048, but all sed's we know have understand at least 4000.
15185    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15186      dirpart=`$as_dirname -- "$mf" ||
15187$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15188	 X"$mf" : 'X\(//\)[^/]' \| \
15189	 X"$mf" : 'X\(//\)$' \| \
15190	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15191$as_echo X"$mf" |
15192    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15193	    s//\1/
15194	    q
15195	  }
15196	  /^X\(\/\/\)[^/].*/{
15197	    s//\1/
15198	    q
15199	  }
15200	  /^X\(\/\/\)$/{
15201	    s//\1/
15202	    q
15203	  }
15204	  /^X\(\/\).*/{
15205	    s//\1/
15206	    q
15207	  }
15208	  s/.*/./; q'`
15209    else
15210      continue
15211    fi
15212    # Extract the definition of DEPDIR, am__include, and am__quote
15213    # from the Makefile without running `make'.
15214    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15215    test -z "$DEPDIR" && continue
15216    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15217    test -z "am__include" && continue
15218    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15219    # When using ansi2knr, U may be empty or an underscore; expand it
15220    U=`sed -n 's/^U = //p' < "$mf"`
15221    # Find all dependency output files, they are included files with
15222    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15223    # simplest approach to changing $(DEPDIR) to its actual value in the
15224    # expansion.
15225    for file in `sed -n "
15226      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15227	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
15228      # Make sure the directory exists.
15229      test -f "$dirpart/$file" && continue
15230      fdir=`$as_dirname -- "$file" ||
15231$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15232	 X"$file" : 'X\(//\)[^/]' \| \
15233	 X"$file" : 'X\(//\)$' \| \
15234	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15235$as_echo X"$file" |
15236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15237	    s//\1/
15238	    q
15239	  }
15240	  /^X\(\/\/\)[^/].*/{
15241	    s//\1/
15242	    q
15243	  }
15244	  /^X\(\/\/\)$/{
15245	    s//\1/
15246	    q
15247	  }
15248	  /^X\(\/\).*/{
15249	    s//\1/
15250	    q
15251	  }
15252	  s/.*/./; q'`
15253      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15254      # echo "creating $dirpart/$file"
15255      echo '# dummy' > "$dirpart/$file"
15256    done
15257  done
15258}
15259 ;;
15260    "libtool":C)
15261
15262    # See if we are running on zsh, and set the options which allow our
15263    # commands through without removal of \ escapes.
15264    if test -n "${ZSH_VERSION+set}" ; then
15265      setopt NO_GLOB_SUBST
15266    fi
15267
15268    cfgfile="${ofile}T"
15269    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15270    $RM "$cfgfile"
15271
15272    cat <<_LT_EOF >> "$cfgfile"
15273#! $SHELL
15274
15275# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15276# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15277# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15278# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15279#
15280#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15281#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
15282#                 Inc.
15283#   Written by Gordon Matzigkeit, 1996
15284#
15285#   This file is part of GNU Libtool.
15286#
15287# GNU Libtool is free software; you can redistribute it and/or
15288# modify it under the terms of the GNU General Public License as
15289# published by the Free Software Foundation; either version 2 of
15290# the License, or (at your option) any later version.
15291#
15292# As a special exception to the GNU General Public License,
15293# if you distribute this file as part of a program or library that
15294# is built using GNU Libtool, you may include this file under the
15295# same distribution terms that you use for the rest of that program.
15296#
15297# GNU Libtool is distributed in the hope that it will be useful,
15298# but WITHOUT ANY WARRANTY; without even the implied warranty of
15299# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15300# GNU General Public License for more details.
15301#
15302# You should have received a copy of the GNU General Public License
15303# along with GNU Libtool; see the file COPYING.  If not, a copy
15304# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15305# obtained by writing to the Free Software Foundation, Inc.,
15306# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15307
15308
15309# The names of the tagged configurations supported by this script.
15310available_tags=""
15311
15312# ### BEGIN LIBTOOL CONFIG
15313
15314# Which release of libtool.m4 was used?
15315macro_version=$macro_version
15316macro_revision=$macro_revision
15317
15318# Whether or not to build static libraries.
15319build_old_libs=$enable_static
15320
15321# Whether or not to build shared libraries.
15322build_libtool_libs=$enable_shared
15323
15324# What type of objects to build.
15325pic_mode=$pic_mode
15326
15327# Whether or not to optimize for fast installation.
15328fast_install=$enable_fast_install
15329
15330# Shell to use when invoking shell scripts.
15331SHELL=$lt_SHELL
15332
15333# An echo program that protects backslashes.
15334ECHO=$lt_ECHO
15335
15336# The host system.
15337host_alias=$host_alias
15338host=$host
15339host_os=$host_os
15340
15341# The build system.
15342build_alias=$build_alias
15343build=$build
15344build_os=$build_os
15345
15346# A sed program that does not truncate output.
15347SED=$lt_SED
15348
15349# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15350Xsed="\$SED -e 1s/^X//"
15351
15352# A grep program that handles long lines.
15353GREP=$lt_GREP
15354
15355# An ERE matcher.
15356EGREP=$lt_EGREP
15357
15358# A literal string matcher.
15359FGREP=$lt_FGREP
15360
15361# A BSD- or MS-compatible name lister.
15362NM=$lt_NM
15363
15364# Whether we need soft or hard links.
15365LN_S=$lt_LN_S
15366
15367# What is the maximum length of a command?
15368max_cmd_len=$max_cmd_len
15369
15370# Object file suffix (normally "o").
15371objext=$ac_objext
15372
15373# Executable file suffix (normally "").
15374exeext=$exeext
15375
15376# whether the shell understands "unset".
15377lt_unset=$lt_unset
15378
15379# turn spaces into newlines.
15380SP2NL=$lt_lt_SP2NL
15381
15382# turn newlines into spaces.
15383NL2SP=$lt_lt_NL2SP
15384
15385# convert \$build file names to \$host format.
15386to_host_file_cmd=$lt_cv_to_host_file_cmd
15387
15388# convert \$build files to toolchain format.
15389to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15390
15391# An object symbol dumper.
15392OBJDUMP=$lt_OBJDUMP
15393
15394# Method to check whether dependent libraries are shared objects.
15395deplibs_check_method=$lt_deplibs_check_method
15396
15397# Command to use when deplibs_check_method = "file_magic".
15398file_magic_cmd=$lt_file_magic_cmd
15399
15400# How to find potential files when deplibs_check_method = "file_magic".
15401file_magic_glob=$lt_file_magic_glob
15402
15403# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15404want_nocaseglob=$lt_want_nocaseglob
15405
15406# DLL creation program.
15407DLLTOOL=$lt_DLLTOOL
15408
15409# Command to associate shared and link libraries.
15410sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15411
15412# The archiver.
15413AR=$lt_AR
15414
15415# Flags to create an archive.
15416AR_FLAGS=$lt_AR_FLAGS
15417
15418# How to feed a file listing to the archiver.
15419archiver_list_spec=$lt_archiver_list_spec
15420
15421# A symbol stripping program.
15422STRIP=$lt_STRIP
15423
15424# Commands used to install an old-style archive.
15425RANLIB=$lt_RANLIB
15426old_postinstall_cmds=$lt_old_postinstall_cmds
15427old_postuninstall_cmds=$lt_old_postuninstall_cmds
15428
15429# Whether to use a lock for old archive extraction.
15430lock_old_archive_extraction=$lock_old_archive_extraction
15431
15432# A C compiler.
15433LTCC=$lt_CC
15434
15435# LTCC compiler flags.
15436LTCFLAGS=$lt_CFLAGS
15437
15438# Take the output of nm and produce a listing of raw symbols and C names.
15439global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15440
15441# Transform the output of nm in a proper C declaration.
15442global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15443
15444# Transform the output of nm in a C name address pair.
15445global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15446
15447# Transform the output of nm in a C name address pair when lib prefix is needed.
15448global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15449
15450# Specify filename containing input files for \$NM.
15451nm_file_list_spec=$lt_nm_file_list_spec
15452
15453# The root where to search for dependent libraries,and in which our libraries should be installed.
15454lt_sysroot=$lt_sysroot
15455
15456# The name of the directory that contains temporary libtool files.
15457objdir=$objdir
15458
15459# Used to examine libraries when file_magic_cmd begins with "file".
15460MAGIC_CMD=$MAGIC_CMD
15461
15462# Must we lock files when doing compilation?
15463need_locks=$lt_need_locks
15464
15465# Manifest tool.
15466MANIFEST_TOOL=$lt_MANIFEST_TOOL
15467
15468# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15469DSYMUTIL=$lt_DSYMUTIL
15470
15471# Tool to change global to local symbols on Mac OS X.
15472NMEDIT=$lt_NMEDIT
15473
15474# Tool to manipulate fat objects and archives on Mac OS X.
15475LIPO=$lt_LIPO
15476
15477# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15478OTOOL=$lt_OTOOL
15479
15480# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15481OTOOL64=$lt_OTOOL64
15482
15483# Old archive suffix (normally "a").
15484libext=$libext
15485
15486# Shared library suffix (normally ".so").
15487shrext_cmds=$lt_shrext_cmds
15488
15489# The commands to extract the exported symbol list from a shared archive.
15490extract_expsyms_cmds=$lt_extract_expsyms_cmds
15491
15492# Variables whose values should be saved in libtool wrapper scripts and
15493# restored at link time.
15494variables_saved_for_relink=$lt_variables_saved_for_relink
15495
15496# Do we need the "lib" prefix for modules?
15497need_lib_prefix=$need_lib_prefix
15498
15499# Do we need a version for libraries?
15500need_version=$need_version
15501
15502# Library versioning type.
15503version_type=$version_type
15504
15505# Shared library runtime path variable.
15506runpath_var=$runpath_var
15507
15508# Shared library path variable.
15509shlibpath_var=$shlibpath_var
15510
15511# Is shlibpath searched before the hard-coded library search path?
15512shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15513
15514# Format of library name prefix.
15515libname_spec=$lt_libname_spec
15516
15517# List of archive names.  First name is the real one, the rest are links.
15518# The last name is the one that the linker finds with -lNAME
15519library_names_spec=$lt_library_names_spec
15520
15521# The coded name of the library, if different from the real name.
15522soname_spec=$lt_soname_spec
15523
15524# Permission mode override for installation of shared libraries.
15525install_override_mode=$lt_install_override_mode
15526
15527# Command to use after installation of a shared archive.
15528postinstall_cmds=$lt_postinstall_cmds
15529
15530# Command to use after uninstallation of a shared archive.
15531postuninstall_cmds=$lt_postuninstall_cmds
15532
15533# Commands used to finish a libtool library installation in a directory.
15534finish_cmds=$lt_finish_cmds
15535
15536# As "finish_cmds", except a single script fragment to be evaled but
15537# not shown.
15538finish_eval=$lt_finish_eval
15539
15540# Whether we should hardcode library paths into libraries.
15541hardcode_into_libs=$hardcode_into_libs
15542
15543# Compile-time system search path for libraries.
15544sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15545
15546# Run-time system search path for libraries.
15547sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15548
15549# Whether dlopen is supported.
15550dlopen_support=$enable_dlopen
15551
15552# Whether dlopen of programs is supported.
15553dlopen_self=$enable_dlopen_self
15554
15555# Whether dlopen of statically linked programs is supported.
15556dlopen_self_static=$enable_dlopen_self_static
15557
15558# Commands to strip libraries.
15559old_striplib=$lt_old_striplib
15560striplib=$lt_striplib
15561
15562
15563# The linker used to build libraries.
15564LD=$lt_LD
15565
15566# How to create reloadable object files.
15567reload_flag=$lt_reload_flag
15568reload_cmds=$lt_reload_cmds
15569
15570# Commands used to build an old-style archive.
15571old_archive_cmds=$lt_old_archive_cmds
15572
15573# A language specific compiler.
15574CC=$lt_compiler
15575
15576# Is the compiler the GNU compiler?
15577with_gcc=$GCC
15578
15579# Compiler flag to turn off builtin functions.
15580no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15581
15582# Additional compiler flags for building library objects.
15583pic_flag=$lt_lt_prog_compiler_pic
15584
15585# How to pass a linker flag through the compiler.
15586wl=$lt_lt_prog_compiler_wl
15587
15588# Compiler flag to prevent dynamic linking.
15589link_static_flag=$lt_lt_prog_compiler_static
15590
15591# Does compiler simultaneously support -c and -o options?
15592compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15593
15594# Whether or not to add -lc for building shared libraries.
15595build_libtool_need_lc=$archive_cmds_need_lc
15596
15597# Whether or not to disallow shared libs when runtime libs are static.
15598allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15599
15600# Compiler flag to allow reflexive dlopens.
15601export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15602
15603# Compiler flag to generate shared objects directly from archives.
15604whole_archive_flag_spec=$lt_whole_archive_flag_spec
15605
15606# Whether the compiler copes with passing no objects directly.
15607compiler_needs_object=$lt_compiler_needs_object
15608
15609# Create an old-style archive from a shared archive.
15610old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15611
15612# Create a temporary old-style archive to link instead of a shared archive.
15613old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15614
15615# Commands used to build a shared archive.
15616archive_cmds=$lt_archive_cmds
15617archive_expsym_cmds=$lt_archive_expsym_cmds
15618
15619# Commands used to build a loadable module if different from building
15620# a shared archive.
15621module_cmds=$lt_module_cmds
15622module_expsym_cmds=$lt_module_expsym_cmds
15623
15624# Whether we are building with GNU ld or not.
15625with_gnu_ld=$lt_with_gnu_ld
15626
15627# Flag that allows shared libraries with undefined symbols to be built.
15628allow_undefined_flag=$lt_allow_undefined_flag
15629
15630# Flag that enforces no undefined symbols.
15631no_undefined_flag=$lt_no_undefined_flag
15632
15633# Flag to hardcode \$libdir into a binary during linking.
15634# This must work even if \$libdir does not exist
15635hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15636
15637# If ld is used when linking, flag to hardcode \$libdir into a binary
15638# during linking.  This must work even if \$libdir does not exist.
15639hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15640
15641# Whether we need a single "-rpath" flag with a separated argument.
15642hardcode_libdir_separator=$lt_hardcode_libdir_separator
15643
15644# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15645# DIR into the resulting binary.
15646hardcode_direct=$hardcode_direct
15647
15648# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15649# DIR into the resulting binary and the resulting library dependency is
15650# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15651# library is relocated.
15652hardcode_direct_absolute=$hardcode_direct_absolute
15653
15654# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15655# into the resulting binary.
15656hardcode_minus_L=$hardcode_minus_L
15657
15658# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15659# into the resulting binary.
15660hardcode_shlibpath_var=$hardcode_shlibpath_var
15661
15662# Set to "yes" if building a shared library automatically hardcodes DIR
15663# into the library and all subsequent libraries and executables linked
15664# against it.
15665hardcode_automatic=$hardcode_automatic
15666
15667# Set to yes if linker adds runtime paths of dependent libraries
15668# to runtime path list.
15669inherit_rpath=$inherit_rpath
15670
15671# Whether libtool must link a program against all its dependency libraries.
15672link_all_deplibs=$link_all_deplibs
15673
15674# Set to "yes" if exported symbols are required.
15675always_export_symbols=$always_export_symbols
15676
15677# The commands to list exported symbols.
15678export_symbols_cmds=$lt_export_symbols_cmds
15679
15680# Symbols that should not be listed in the preloaded symbols.
15681exclude_expsyms=$lt_exclude_expsyms
15682
15683# Symbols that must always be exported.
15684include_expsyms=$lt_include_expsyms
15685
15686# Commands necessary for linking programs (against libraries) with templates.
15687prelink_cmds=$lt_prelink_cmds
15688
15689# Commands necessary for finishing linking programs.
15690postlink_cmds=$lt_postlink_cmds
15691
15692# Specify filename containing input files.
15693file_list_spec=$lt_file_list_spec
15694
15695# How to hardcode a shared library path into an executable.
15696hardcode_action=$hardcode_action
15697
15698# ### END LIBTOOL CONFIG
15699
15700_LT_EOF
15701
15702  case $host_os in
15703  aix3*)
15704    cat <<\_LT_EOF >> "$cfgfile"
15705# AIX sometimes has problems with the GCC collect2 program.  For some
15706# reason, if we set the COLLECT_NAMES environment variable, the problems
15707# vanish in a puff of smoke.
15708if test "X${COLLECT_NAMES+set}" != Xset; then
15709  COLLECT_NAMES=
15710  export COLLECT_NAMES
15711fi
15712_LT_EOF
15713    ;;
15714  esac
15715
15716
15717ltmain="$ac_aux_dir/ltmain.sh"
15718
15719
15720  # We use sed instead of cat because bash on DJGPP gets confused if
15721  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15722  # text mode, it properly converts lines to CR/LF.  This bash problem
15723  # is reportedly fixed, but why not run on old versions too?
15724  sed '$q' "$ltmain" >> "$cfgfile" \
15725     || (rm -f "$cfgfile"; exit 1)
15726
15727  if test x"$xsi_shell" = xyes; then
15728  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
15729func_dirname ()\
15730{\
15731\    case ${1} in\
15732\      */*) func_dirname_result="${1%/*}${2}" ;;\
15733\      *  ) func_dirname_result="${3}" ;;\
15734\    esac\
15735} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
15736  && mv -f "$cfgfile.tmp" "$cfgfile" \
15737    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15738test 0 -eq $? || _lt_function_replace_fail=:
15739
15740
15741  sed -e '/^func_basename ()$/,/^} # func_basename /c\
15742func_basename ()\
15743{\
15744\    func_basename_result="${1##*/}"\
15745} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
15746  && mv -f "$cfgfile.tmp" "$cfgfile" \
15747    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15748test 0 -eq $? || _lt_function_replace_fail=:
15749
15750
15751  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
15752func_dirname_and_basename ()\
15753{\
15754\    case ${1} in\
15755\      */*) func_dirname_result="${1%/*}${2}" ;;\
15756\      *  ) func_dirname_result="${3}" ;;\
15757\    esac\
15758\    func_basename_result="${1##*/}"\
15759} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
15760  && mv -f "$cfgfile.tmp" "$cfgfile" \
15761    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15762test 0 -eq $? || _lt_function_replace_fail=:
15763
15764
15765  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
15766func_stripname ()\
15767{\
15768\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
15769\    # positional parameters, so assign one to ordinary parameter first.\
15770\    func_stripname_result=${3}\
15771\    func_stripname_result=${func_stripname_result#"${1}"}\
15772\    func_stripname_result=${func_stripname_result%"${2}"}\
15773} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
15774  && mv -f "$cfgfile.tmp" "$cfgfile" \
15775    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15776test 0 -eq $? || _lt_function_replace_fail=:
15777
15778
15779  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
15780func_split_long_opt ()\
15781{\
15782\    func_split_long_opt_name=${1%%=*}\
15783\    func_split_long_opt_arg=${1#*=}\
15784} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
15785  && mv -f "$cfgfile.tmp" "$cfgfile" \
15786    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15787test 0 -eq $? || _lt_function_replace_fail=:
15788
15789
15790  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
15791func_split_short_opt ()\
15792{\
15793\    func_split_short_opt_arg=${1#??}\
15794\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
15795} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
15796  && mv -f "$cfgfile.tmp" "$cfgfile" \
15797    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15798test 0 -eq $? || _lt_function_replace_fail=:
15799
15800
15801  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
15802func_lo2o ()\
15803{\
15804\    case ${1} in\
15805\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
15806\      *)    func_lo2o_result=${1} ;;\
15807\    esac\
15808} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
15809  && mv -f "$cfgfile.tmp" "$cfgfile" \
15810    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15811test 0 -eq $? || _lt_function_replace_fail=:
15812
15813
15814  sed -e '/^func_xform ()$/,/^} # func_xform /c\
15815func_xform ()\
15816{\
15817    func_xform_result=${1%.*}.lo\
15818} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
15819  && mv -f "$cfgfile.tmp" "$cfgfile" \
15820    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15821test 0 -eq $? || _lt_function_replace_fail=:
15822
15823
15824  sed -e '/^func_arith ()$/,/^} # func_arith /c\
15825func_arith ()\
15826{\
15827    func_arith_result=$(( $* ))\
15828} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
15829  && mv -f "$cfgfile.tmp" "$cfgfile" \
15830    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15831test 0 -eq $? || _lt_function_replace_fail=:
15832
15833
15834  sed -e '/^func_len ()$/,/^} # func_len /c\
15835func_len ()\
15836{\
15837    func_len_result=${#1}\
15838} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
15839  && mv -f "$cfgfile.tmp" "$cfgfile" \
15840    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15841test 0 -eq $? || _lt_function_replace_fail=:
15842
15843fi
15844
15845if test x"$lt_shell_append" = xyes; then
15846  sed -e '/^func_append ()$/,/^} # func_append /c\
15847func_append ()\
15848{\
15849    eval "${1}+=\\${2}"\
15850} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
15851  && mv -f "$cfgfile.tmp" "$cfgfile" \
15852    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15853test 0 -eq $? || _lt_function_replace_fail=:
15854
15855
15856  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
15857func_append_quoted ()\
15858{\
15859\    func_quote_for_eval "${2}"\
15860\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
15861} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
15862  && mv -f "$cfgfile.tmp" "$cfgfile" \
15863    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15864test 0 -eq $? || _lt_function_replace_fail=:
15865
15866
15867  # Save a `func_append' function call where possible by direct use of '+='
15868  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
15869    && mv -f "$cfgfile.tmp" "$cfgfile" \
15870      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15871  test 0 -eq $? || _lt_function_replace_fail=:
15872else
15873  # Save a `func_append' function call even when '+=' is not available
15874  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
15875    && mv -f "$cfgfile.tmp" "$cfgfile" \
15876      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
15877  test 0 -eq $? || _lt_function_replace_fail=:
15878fi
15879
15880if test x"$_lt_function_replace_fail" = x":"; then
15881  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
15882$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
15883fi
15884
15885
15886   mv -f "$cfgfile" "$ofile" ||
15887    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15888  chmod +x "$ofile"
15889
15890 ;;
15891
15892  esac
15893done # for ac_tag
15894
15895
15896as_fn_exit 0
15897_ACEOF
15898ac_clean_files=$ac_clean_files_save
15899
15900test $ac_write_fail = 0 ||
15901  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15902
15903
15904# configure is writing to config.log, and then calls config.status.
15905# config.status does its own redirection, appending to config.log.
15906# Unfortunately, on DOS this fails, as config.log is still kept open
15907# by configure, so config.status won't be able to write to it; its
15908# output is simply discarded.  So we exec the FD to /dev/null,
15909# effectively closing config.log, so it can be properly (re)opened and
15910# appended to by config.status.  When coming back to configure, we
15911# need to make the FD available again.
15912if test "$no_create" != yes; then
15913  ac_cs_success=:
15914  ac_config_status_args=
15915  test "$silent" = yes &&
15916    ac_config_status_args="$ac_config_status_args --quiet"
15917  exec 5>/dev/null
15918  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15919  exec 5>>config.log
15920  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15921  # would make configure fail if this is the last instruction.
15922  $ac_cs_success || as_fn_exit 1
15923fi
15924if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15925  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15926$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15927fi
15928
15929
15930echo "
15931Unique $UNIQUE_VERSION
15932
15933Configuration:
15934            Maintainer flags: $enable_maintainer_flags
15935                 Debug level: $enable_debug
15936         Build documentation: $enable_gtk_doc
15937    Build introspection data: $enable_introspection
15938
15939Backends:
15940          Unix Domain Socket: $have_bacon
15941                       D-BUS: $have_dbus
15942                       GDBus: $have_gdbus
15943
15944             Default backend: $UNIQUE_DEFAULT_BACKEND
15945"
15946