1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for pylgobject 2.28.6.
4#
5# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pylgobject>.
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=pylgobject
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='pylgobject'
573PACKAGE_TARNAME='pylgobject'
574PACKAGE_VERSION='2.28.6'
575PACKAGE_STRING='pylgobject 2.28.6'
576PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=pylgobject'
577PACKAGE_URL=''
578
579ac_unique_file="gobject/gobjectmodule.c"
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
583#ifdef HAVE_SYS_TYPES_H
584# include <sys/types.h>
585#endif
586#ifdef HAVE_SYS_STAT_H
587# include <sys/stat.h>
588#endif
589#ifdef STDC_HEADERS
590# include <stdlib.h>
591# include <stddef.h>
592#else
593# ifdef HAVE_STDLIB_H
594#  include <stdlib.h>
595# endif
596#endif
597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599#  include <memory.h>
600# endif
601# include <string.h>
602#endif
603#ifdef HAVE_STRINGS_H
604# include <strings.h>
605#endif
606#ifdef HAVE_INTTYPES_H
607# include <inttypes.h>
608#endif
609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
613# include <unistd.h>
614#endif"
615
616ac_subst_vars='am__EXEEXT_FALSE
617am__EXEEXT_TRUE
618LTLIBOBJS
619LIBOBJS
620INTROSPECTION_COMPILER
621INTROSPECTION_SCANNER
622ENABLE_CAIRO_FALSE
623ENABLE_CAIRO_TRUE
624ENABLE_INTROSPECTION_FALSE
625ENABLE_INTROSPECTION_TRUE
626PYCAIRO_LIBS
627PYCAIRO_CFLAGS
628GI_DATADIR
629GI_LIBS
630GI_CFLAGS
631BUILD_GIOUNIX_FALSE
632BUILD_GIOUNIX_TRUE
633GIOUNIX_LIBS
634GIOUNIX_CFLAGS
635BUILD_GIO_FALSE
636BUILD_GIO_TRUE
637GIO_LIBS
638GIO_CFLAGS
639LIBFFI_PC
640HAVE_LIBFFI_FALSE
641HAVE_LIBFFI_TRUE
642FFI_LIBS
643FFI_CFLAGS
644DATADIR
645pylgobject_CODEGEN_DEFINES
646PYTHON_BASENAME
647GLIB_MKENUMS
648GOBJECT_QUERY
649GLIB_GENMARSHAL
650GLIB_LIBS
651GLIB_CFLAGS
652PKG_CONFIG_LIBDIR
653PKG_CONFIG_PATH
654PKG_CONFIG
655THREADING_CFLAGS
656ENABLE_DOCS_FALSE
657ENABLE_DOCS_TRUE
658XSLTPROC
659PLATFORM
660PYTHON_INCLUDES
661pkgpyexecdir
662pyexecdir
663pkgpythondir
664pythondir
665PYTHON_PLATFORM
666PYTHON_EXEC_PREFIX
667PYTHON_PREFIX
668PYTHON_VERSION
669PYTHON
670CPP
671OTOOL64
672OTOOL
673LIPO
674NMEDIT
675DSYMUTIL
676MANIFEST_TOOL
677RANLIB
678ac_ct_AR
679AR
680LN_S
681NM
682ac_ct_DUMPBIN
683DUMPBIN
684LD
685FGREP
686EGREP
687GREP
688SED
689am__fastdepCC_FALSE
690am__fastdepCC_TRUE
691CCDEPMODE
692AMDEPBACKSLASH
693AMDEP_FALSE
694AMDEP_TRUE
695am__quote
696am__include
697DEPDIR
698OBJEXT
699EXEEXT
700ac_ct_CC
701CPPFLAGS
702LDFLAGS
703CFLAGS
704CC
705LIBTOOL
706OBJDUMP
707DLLTOOL
708AS
709OS_WIN32_FALSE
710OS_WIN32_TRUE
711PLATFORM_WIN32_FALSE
712PLATFORM_WIN32_TRUE
713host_os
714host_vendor
715host_cpu
716host
717build_os
718build_vendor
719build_cpu
720build
721MAINT
722MAINTAINER_MODE_FALSE
723MAINTAINER_MODE_TRUE
724am__untar
725am__tar
726AMTAR
727am__leading_dot
728SET_MAKE
729AWK
730mkdir_p
731MKDIR_P
732INSTALL_STRIP_PROGRAM
733STRIP
734install_sh
735MAKEINFO
736AUTOHEADER
737AUTOMAKE
738AUTOCONF
739ACLOCAL
740VERSION
741PACKAGE
742CYGPATH_W
743am__isrc
744INSTALL_DATA
745INSTALL_SCRIPT
746INSTALL_PROGRAM
747AM_BACKSLASH
748AM_DEFAULT_VERBOSITY
749PYGOBJECT_MICRO_VERSION
750PYGOBJECT_MINOR_VERSION
751PYGOBJECT_MAJOR_VERSION
752ACLOCAL_AMFLAGS
753target_alias
754host_alias
755build_alias
756LIBS
757ECHO_T
758ECHO_N
759ECHO_C
760DEFS
761mandir
762localedir
763libdir
764psdir
765pdfdir
766dvidir
767htmldir
768infodir
769docdir
770oldincludedir
771includedir
772localstatedir
773sharedstatedir
774sysconfdir
775datadir
776datarootdir
777libexecdir
778sbindir
779bindir
780program_transform_name
781prefix
782exec_prefix
783PACKAGE_URL
784PACKAGE_BUGREPORT
785PACKAGE_STRING
786PACKAGE_VERSION
787PACKAGE_TARNAME
788PACKAGE_NAME
789PATH_SEPARATOR
790SHELL'
791ac_subst_files=''
792ac_user_opts='
793enable_option_checking
794enable_silent_rules
795enable_maintainer_mode
796enable_static
797enable_shared
798with_pic
799enable_fast_install
800enable_dependency_tracking
801with_gnu_ld
802with_sysroot
803enable_libtool_lock
804enable_thread
805enable_docs
806enable_glibtest
807with_ffi
808enable_cairo
809enable_introspection
810'
811      ac_precious_vars='build_alias
812host_alias
813target_alias
814CC
815CFLAGS
816LDFLAGS
817LIBS
818CPPFLAGS
819CPP
820PKG_CONFIG
821PKG_CONFIG_PATH
822PKG_CONFIG_LIBDIR
823FFI_CFLAGS
824FFI_LIBS
825GIO_CFLAGS
826GIO_LIBS
827GIOUNIX_CFLAGS
828GIOUNIX_LIBS
829GI_CFLAGS
830GI_LIBS
831PYCAIRO_CFLAGS
832PYCAIRO_LIBS'
833
834
835# Initialize some variables set by options.
836ac_init_help=
837ac_init_version=false
838ac_unrecognized_opts=
839ac_unrecognized_sep=
840# The variables have the same names as the options, with
841# dashes changed to underlines.
842cache_file=/dev/null
843exec_prefix=NONE
844no_create=
845no_recursion=
846prefix=NONE
847program_prefix=NONE
848program_suffix=NONE
849program_transform_name=s,x,x,
850silent=
851site=
852srcdir=
853verbose=
854x_includes=NONE
855x_libraries=NONE
856
857# Installation directory options.
858# These are left unexpanded so users can "make install exec_prefix=/foo"
859# and all the variables that are supposed to be based on exec_prefix
860# by default will actually change.
861# Use braces instead of parens because sh, perl, etc. also accept them.
862# (The list follows the same order as the GNU Coding Standards.)
863bindir='${exec_prefix}/bin'
864sbindir='${exec_prefix}/sbin'
865libexecdir='${exec_prefix}/libexec'
866datarootdir='${prefix}/share'
867datadir='${datarootdir}'
868sysconfdir='${prefix}/etc'
869sharedstatedir='${prefix}/com'
870localstatedir='${prefix}/var'
871includedir='${prefix}/include'
872oldincludedir='/usr/include'
873docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
874infodir='${datarootdir}/info'
875htmldir='${docdir}'
876dvidir='${docdir}'
877pdfdir='${docdir}'
878psdir='${docdir}'
879libdir='${exec_prefix}/lib'
880localedir='${datarootdir}/locale'
881mandir='${datarootdir}/man'
882
883ac_prev=
884ac_dashdash=
885for ac_option
886do
887  # If the previous option needs an argument, assign it.
888  if test -n "$ac_prev"; then
889    eval $ac_prev=\$ac_option
890    ac_prev=
891    continue
892  fi
893
894  case $ac_option in
895  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
896  *=)   ac_optarg= ;;
897  *)    ac_optarg=yes ;;
898  esac
899
900  # Accept the important Cygnus configure options, so we can diagnose typos.
901
902  case $ac_dashdash$ac_option in
903  --)
904    ac_dashdash=yes ;;
905
906  -bindir | --bindir | --bindi | --bind | --bin | --bi)
907    ac_prev=bindir ;;
908  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
909    bindir=$ac_optarg ;;
910
911  -build | --build | --buil | --bui | --bu)
912    ac_prev=build_alias ;;
913  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
914    build_alias=$ac_optarg ;;
915
916  -cache-file | --cache-file | --cache-fil | --cache-fi \
917  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
918    ac_prev=cache_file ;;
919  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
920  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
921    cache_file=$ac_optarg ;;
922
923  --config-cache | -C)
924    cache_file=config.cache ;;
925
926  -datadir | --datadir | --datadi | --datad)
927    ac_prev=datadir ;;
928  -datadir=* | --datadir=* | --datadi=* | --datad=*)
929    datadir=$ac_optarg ;;
930
931  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
932  | --dataroo | --dataro | --datar)
933    ac_prev=datarootdir ;;
934  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
935  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
936    datarootdir=$ac_optarg ;;
937
938  -disable-* | --disable-*)
939    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940    # Reject names that are not valid shell variable names.
941    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
942      as_fn_error $? "invalid feature name: $ac_useropt"
943    ac_useropt_orig=$ac_useropt
944    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
945    case $ac_user_opts in
946      *"
947"enable_$ac_useropt"
948"*) ;;
949      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
950	 ac_unrecognized_sep=', ';;
951    esac
952    eval enable_$ac_useropt=no ;;
953
954  -docdir | --docdir | --docdi | --doc | --do)
955    ac_prev=docdir ;;
956  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
957    docdir=$ac_optarg ;;
958
959  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
960    ac_prev=dvidir ;;
961  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
962    dvidir=$ac_optarg ;;
963
964  -enable-* | --enable-*)
965    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
966    # Reject names that are not valid shell variable names.
967    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
968      as_fn_error $? "invalid feature name: $ac_useropt"
969    ac_useropt_orig=$ac_useropt
970    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
971    case $ac_user_opts in
972      *"
973"enable_$ac_useropt"
974"*) ;;
975      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
976	 ac_unrecognized_sep=', ';;
977    esac
978    eval enable_$ac_useropt=\$ac_optarg ;;
979
980  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
981  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
982  | --exec | --exe | --ex)
983    ac_prev=exec_prefix ;;
984  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
985  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
986  | --exec=* | --exe=* | --ex=*)
987    exec_prefix=$ac_optarg ;;
988
989  -gas | --gas | --ga | --g)
990    # Obsolete; use --with-gas.
991    with_gas=yes ;;
992
993  -help | --help | --hel | --he | -h)
994    ac_init_help=long ;;
995  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
996    ac_init_help=recursive ;;
997  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
998    ac_init_help=short ;;
999
1000  -host | --host | --hos | --ho)
1001    ac_prev=host_alias ;;
1002  -host=* | --host=* | --hos=* | --ho=*)
1003    host_alias=$ac_optarg ;;
1004
1005  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1006    ac_prev=htmldir ;;
1007  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1008  | --ht=*)
1009    htmldir=$ac_optarg ;;
1010
1011  -includedir | --includedir | --includedi | --included | --include \
1012  | --includ | --inclu | --incl | --inc)
1013    ac_prev=includedir ;;
1014  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1015  | --includ=* | --inclu=* | --incl=* | --inc=*)
1016    includedir=$ac_optarg ;;
1017
1018  -infodir | --infodir | --infodi | --infod | --info | --inf)
1019    ac_prev=infodir ;;
1020  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1021    infodir=$ac_optarg ;;
1022
1023  -libdir | --libdir | --libdi | --libd)
1024    ac_prev=libdir ;;
1025  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1026    libdir=$ac_optarg ;;
1027
1028  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1029  | --libexe | --libex | --libe)
1030    ac_prev=libexecdir ;;
1031  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1032  | --libexe=* | --libex=* | --libe=*)
1033    libexecdir=$ac_optarg ;;
1034
1035  -localedir | --localedir | --localedi | --localed | --locale)
1036    ac_prev=localedir ;;
1037  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1038    localedir=$ac_optarg ;;
1039
1040  -localstatedir | --localstatedir | --localstatedi | --localstated \
1041  | --localstate | --localstat | --localsta | --localst | --locals)
1042    ac_prev=localstatedir ;;
1043  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1044  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1045    localstatedir=$ac_optarg ;;
1046
1047  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1048    ac_prev=mandir ;;
1049  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1050    mandir=$ac_optarg ;;
1051
1052  -nfp | --nfp | --nf)
1053    # Obsolete; use --without-fp.
1054    with_fp=no ;;
1055
1056  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1057  | --no-cr | --no-c | -n)
1058    no_create=yes ;;
1059
1060  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1061  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1062    no_recursion=yes ;;
1063
1064  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1065  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1066  | --oldin | --oldi | --old | --ol | --o)
1067    ac_prev=oldincludedir ;;
1068  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1069  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1070  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1071    oldincludedir=$ac_optarg ;;
1072
1073  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1074    ac_prev=prefix ;;
1075  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1076    prefix=$ac_optarg ;;
1077
1078  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1079  | --program-pre | --program-pr | --program-p)
1080    ac_prev=program_prefix ;;
1081  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1082  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1083    program_prefix=$ac_optarg ;;
1084
1085  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1086  | --program-suf | --program-su | --program-s)
1087    ac_prev=program_suffix ;;
1088  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1089  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1090    program_suffix=$ac_optarg ;;
1091
1092  -program-transform-name | --program-transform-name \
1093  | --program-transform-nam | --program-transform-na \
1094  | --program-transform-n | --program-transform- \
1095  | --program-transform | --program-transfor \
1096  | --program-transfo | --program-transf \
1097  | --program-trans | --program-tran \
1098  | --progr-tra | --program-tr | --program-t)
1099    ac_prev=program_transform_name ;;
1100  -program-transform-name=* | --program-transform-name=* \
1101  | --program-transform-nam=* | --program-transform-na=* \
1102  | --program-transform-n=* | --program-transform-=* \
1103  | --program-transform=* | --program-transfor=* \
1104  | --program-transfo=* | --program-transf=* \
1105  | --program-trans=* | --program-tran=* \
1106  | --progr-tra=* | --program-tr=* | --program-t=*)
1107    program_transform_name=$ac_optarg ;;
1108
1109  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1110    ac_prev=pdfdir ;;
1111  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1112    pdfdir=$ac_optarg ;;
1113
1114  -psdir | --psdir | --psdi | --psd | --ps)
1115    ac_prev=psdir ;;
1116  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1117    psdir=$ac_optarg ;;
1118
1119  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1120  | -silent | --silent | --silen | --sile | --sil)
1121    silent=yes ;;
1122
1123  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1124    ac_prev=sbindir ;;
1125  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1126  | --sbi=* | --sb=*)
1127    sbindir=$ac_optarg ;;
1128
1129  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1130  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1131  | --sharedst | --shareds | --shared | --share | --shar \
1132  | --sha | --sh)
1133    ac_prev=sharedstatedir ;;
1134  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1135  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1136  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1137  | --sha=* | --sh=*)
1138    sharedstatedir=$ac_optarg ;;
1139
1140  -site | --site | --sit)
1141    ac_prev=site ;;
1142  -site=* | --site=* | --sit=*)
1143    site=$ac_optarg ;;
1144
1145  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1146    ac_prev=srcdir ;;
1147  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1148    srcdir=$ac_optarg ;;
1149
1150  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1151  | --syscon | --sysco | --sysc | --sys | --sy)
1152    ac_prev=sysconfdir ;;
1153  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1154  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1155    sysconfdir=$ac_optarg ;;
1156
1157  -target | --target | --targe | --targ | --tar | --ta | --t)
1158    ac_prev=target_alias ;;
1159  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1160    target_alias=$ac_optarg ;;
1161
1162  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1163    verbose=yes ;;
1164
1165  -version | --version | --versio | --versi | --vers | -V)
1166    ac_init_version=: ;;
1167
1168  -with-* | --with-*)
1169    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1170    # Reject names that are not valid shell variable names.
1171    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172      as_fn_error $? "invalid package name: $ac_useropt"
1173    ac_useropt_orig=$ac_useropt
1174    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175    case $ac_user_opts in
1176      *"
1177"with_$ac_useropt"
1178"*) ;;
1179      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1180	 ac_unrecognized_sep=', ';;
1181    esac
1182    eval with_$ac_useropt=\$ac_optarg ;;
1183
1184  -without-* | --without-*)
1185    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1186    # Reject names that are not valid shell variable names.
1187    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1188      as_fn_error $? "invalid package name: $ac_useropt"
1189    ac_useropt_orig=$ac_useropt
1190    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1191    case $ac_user_opts in
1192      *"
1193"with_$ac_useropt"
1194"*) ;;
1195      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1196	 ac_unrecognized_sep=', ';;
1197    esac
1198    eval with_$ac_useropt=no ;;
1199
1200  --x)
1201    # Obsolete; use --with-x.
1202    with_x=yes ;;
1203
1204  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1205  | --x-incl | --x-inc | --x-in | --x-i)
1206    ac_prev=x_includes ;;
1207  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1208  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1209    x_includes=$ac_optarg ;;
1210
1211  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1212  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1213    ac_prev=x_libraries ;;
1214  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1215  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1216    x_libraries=$ac_optarg ;;
1217
1218  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1219Try \`$0 --help' for more information"
1220    ;;
1221
1222  *=*)
1223    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1224    # Reject names that are not valid shell variable names.
1225    case $ac_envvar in #(
1226      '' | [0-9]* | *[!_$as_cr_alnum]* )
1227      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1228    esac
1229    eval $ac_envvar=\$ac_optarg
1230    export $ac_envvar ;;
1231
1232  *)
1233    # FIXME: should be removed in autoconf 3.0.
1234    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1235    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1236      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1237    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1238    ;;
1239
1240  esac
1241done
1242
1243if test -n "$ac_prev"; then
1244  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1245  as_fn_error $? "missing argument to $ac_option"
1246fi
1247
1248if test -n "$ac_unrecognized_opts"; then
1249  case $enable_option_checking in
1250    no) ;;
1251    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1252    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253  esac
1254fi
1255
1256# Check all directory arguments for consistency.
1257for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1258		datadir sysconfdir sharedstatedir localstatedir includedir \
1259		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1260		libdir localedir mandir
1261do
1262  eval ac_val=\$$ac_var
1263  # Remove trailing slashes.
1264  case $ac_val in
1265    */ )
1266      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1267      eval $ac_var=\$ac_val;;
1268  esac
1269  # Be sure to have absolute directory names.
1270  case $ac_val in
1271    [\\/$]* | ?:[\\/]* )  continue;;
1272    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1273  esac
1274  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1275done
1276
1277# There might be people who depend on the old broken behavior: `$host'
1278# used to hold the argument of --host etc.
1279# FIXME: To remove some day.
1280build=$build_alias
1281host=$host_alias
1282target=$target_alias
1283
1284# FIXME: To remove some day.
1285if test "x$host_alias" != x; then
1286  if test "x$build_alias" = x; then
1287    cross_compiling=maybe
1288    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1289    If a cross compiler is detected then cross compile mode will be used" >&2
1290  elif test "x$build_alias" != "x$host_alias"; then
1291    cross_compiling=yes
1292  fi
1293fi
1294
1295ac_tool_prefix=
1296test -n "$host_alias" && ac_tool_prefix=$host_alias-
1297
1298test "$silent" = yes && exec 6>/dev/null
1299
1300
1301ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302ac_ls_di=`ls -di .` &&
1303ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304  as_fn_error $? "working directory cannot be determined"
1305test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306  as_fn_error $? "pwd does not report name of working directory"
1307
1308
1309# Find the source files, if location was not specified.
1310if test -z "$srcdir"; then
1311  ac_srcdir_defaulted=yes
1312  # Try the directory containing this script, then the parent directory.
1313  ac_confdir=`$as_dirname -- "$as_myself" ||
1314$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315	 X"$as_myself" : 'X\(//\)[^/]' \| \
1316	 X"$as_myself" : 'X\(//\)$' \| \
1317	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318$as_echo X"$as_myself" |
1319    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1320	    s//\1/
1321	    q
1322	  }
1323	  /^X\(\/\/\)[^/].*/{
1324	    s//\1/
1325	    q
1326	  }
1327	  /^X\(\/\/\)$/{
1328	    s//\1/
1329	    q
1330	  }
1331	  /^X\(\/\).*/{
1332	    s//\1/
1333	    q
1334	  }
1335	  s/.*/./; q'`
1336  srcdir=$ac_confdir
1337  if test ! -r "$srcdir/$ac_unique_file"; then
1338    srcdir=..
1339  fi
1340else
1341  ac_srcdir_defaulted=no
1342fi
1343if test ! -r "$srcdir/$ac_unique_file"; then
1344  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1346fi
1347ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1348ac_abs_confdir=`(
1349	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1350	pwd)`
1351# When building in place, set srcdir=.
1352if test "$ac_abs_confdir" = "$ac_pwd"; then
1353  srcdir=.
1354fi
1355# Remove unnecessary trailing slashes from srcdir.
1356# Double slashes in file names in object file debugging info
1357# mess up M-x gdb in Emacs.
1358case $srcdir in
1359*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1360esac
1361for ac_var in $ac_precious_vars; do
1362  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363  eval ac_env_${ac_var}_value=\$${ac_var}
1364  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1366done
1367
1368#
1369# Report the --help message.
1370#
1371if test "$ac_init_help" = "long"; then
1372  # Omit some internal or obsolete options to make the list less imposing.
1373  # This message is too long to be a string in the A/UX 3.1 sh.
1374  cat <<_ACEOF
1375\`configure' configures pylgobject 2.28.6 to adapt to many kinds of systems.
1376
1377Usage: $0 [OPTION]... [VAR=VALUE]...
1378
1379To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380VAR=VALUE.  See below for descriptions of some of the useful variables.
1381
1382Defaults for the options are specified in brackets.
1383
1384Configuration:
1385  -h, --help              display this help and exit
1386      --help=short        display options specific to this package
1387      --help=recursive    display the short help of all the included packages
1388  -V, --version           display version information and exit
1389  -q, --quiet, --silent   do not print \`checking ...' messages
1390      --cache-file=FILE   cache test results in FILE [disabled]
1391  -C, --config-cache      alias for \`--cache-file=config.cache'
1392  -n, --no-create         do not create output files
1393      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1394
1395Installation directories:
1396  --prefix=PREFIX         install architecture-independent files in PREFIX
1397                          [$ac_default_prefix]
1398  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1399                          [PREFIX]
1400
1401By default, \`make install' will install all the files in
1402\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1403an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404for instance \`--prefix=\$HOME'.
1405
1406For better control, use the options below.
1407
1408Fine tuning of the installation directories:
1409  --bindir=DIR            user executables [EPREFIX/bin]
1410  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1411  --libexecdir=DIR        program executables [EPREFIX/libexec]
1412  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1413  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1414  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1415  --libdir=DIR            object code libraries [EPREFIX/lib]
1416  --includedir=DIR        C header files [PREFIX/include]
1417  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1418  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1419  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1420  --infodir=DIR           info documentation [DATAROOTDIR/info]
1421  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1422  --mandir=DIR            man documentation [DATAROOTDIR/man]
1423  --docdir=DIR            documentation root [DATAROOTDIR/doc/pylgobject]
1424  --htmldir=DIR           html documentation [DOCDIR]
1425  --dvidir=DIR            dvi documentation [DOCDIR]
1426  --pdfdir=DIR            pdf documentation [DOCDIR]
1427  --psdir=DIR             ps documentation [DOCDIR]
1428_ACEOF
1429
1430  cat <<\_ACEOF
1431
1432Program names:
1433  --program-prefix=PREFIX            prepend PREFIX to installed program names
1434  --program-suffix=SUFFIX            append SUFFIX to installed program names
1435  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1436
1437System types:
1438  --build=BUILD     configure for building on BUILD [guessed]
1439  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1440_ACEOF
1441fi
1442
1443if test -n "$ac_init_help"; then
1444  case $ac_init_help in
1445     short | recursive ) echo "Configuration of pylgobject 2.28.6:";;
1446   esac
1447  cat <<\_ACEOF
1448
1449Optional Features:
1450  --disable-option-checking  ignore unrecognized --enable/--with options
1451  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1452  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1453  --enable-silent-rules          less verbose build output (undo: `make V=1')
1454  --disable-silent-rules         verbose build output (undo: `make V=0')
1455  --enable-maintainer-mode  enable make rules and dependencies not useful
1456			  (and sometimes confusing) to the casual installer
1457  --enable-static[=PKGS]  build static libraries [default=no]
1458  --enable-shared[=PKGS]  build shared libraries [default=yes]
1459  --enable-fast-install[=PKGS]
1460                          optimize for fast installation [default=yes]
1461  --disable-dependency-tracking  speeds up one-time build
1462  --enable-dependency-tracking   do not reject slow dependency extractors
1463  --disable-libtool-lock  avoid locking (might break parallel builds)
1464  --disable-thread        Disable pylgobject threading support
1465  --enable-docs           Enable documentation building
1466  --disable-glibtest      do not try to compile and run a test GLIB program
1467  --enable-cairo          Enable Cairo bindings using introspection
1468                          information
1469  --enable-introspection  Use introspection information
1470
1471Optional Packages:
1472  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1473  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1474  --with-pic              try to use only PIC/non-PIC objects [default=use
1475                          both]
1476  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1477  --with-sysroot=DIR Search for dependent libraries within DIR
1478                        (or the compiler's sysroot if not specified).
1479  --without-ffi           Disable libffi support
1480
1481Some influential environment variables:
1482  CC          C compiler command
1483  CFLAGS      C compiler flags
1484  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1485              nonstandard directory <lib dir>
1486  LIBS        libraries to pass to the linker, e.g. -l<library>
1487  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1488              you have headers in a nonstandard directory <include dir>
1489  CPP         C preprocessor
1490  PKG_CONFIG  path to pkg-config utility
1491  PKG_CONFIG_PATH
1492              directories to add to pkg-config's search path
1493  PKG_CONFIG_LIBDIR
1494              path overriding pkg-config's built-in search path
1495  FFI_CFLAGS  C compiler flags for FFI, overriding pkg-config
1496  FFI_LIBS    linker flags for FFI, overriding pkg-config
1497  GIO_CFLAGS  C compiler flags for GIO, overriding pkg-config
1498  GIO_LIBS    linker flags for GIO, overriding pkg-config
1499  GIOUNIX_CFLAGS
1500              C compiler flags for GIOUNIX, overriding pkg-config
1501  GIOUNIX_LIBS
1502              linker flags for GIOUNIX, overriding pkg-config
1503  GI_CFLAGS   C compiler flags for GI, overriding pkg-config
1504  GI_LIBS     linker flags for GI, overriding pkg-config
1505  PYCAIRO_CFLAGS
1506              C compiler flags for PYCAIRO, overriding pkg-config
1507  PYCAIRO_LIBS
1508              linker flags for PYCAIRO, overriding pkg-config
1509
1510Use these variables to override the choices made by `configure' or to help
1511it to find libraries and programs with nonstandard names/locations.
1512
1513Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pylgobject>.
1514_ACEOF
1515ac_status=$?
1516fi
1517
1518if test "$ac_init_help" = "recursive"; then
1519  # If there are subdirs, report their specific --help.
1520  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1521    test -d "$ac_dir" ||
1522      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1523      continue
1524    ac_builddir=.
1525
1526case "$ac_dir" in
1527.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1528*)
1529  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1530  # A ".." for each directory in $ac_dir_suffix.
1531  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1532  case $ac_top_builddir_sub in
1533  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1534  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1535  esac ;;
1536esac
1537ac_abs_top_builddir=$ac_pwd
1538ac_abs_builddir=$ac_pwd$ac_dir_suffix
1539# for backward compatibility:
1540ac_top_builddir=$ac_top_build_prefix
1541
1542case $srcdir in
1543  .)  # We are building in place.
1544    ac_srcdir=.
1545    ac_top_srcdir=$ac_top_builddir_sub
1546    ac_abs_top_srcdir=$ac_pwd ;;
1547  [\\/]* | ?:[\\/]* )  # Absolute name.
1548    ac_srcdir=$srcdir$ac_dir_suffix;
1549    ac_top_srcdir=$srcdir
1550    ac_abs_top_srcdir=$srcdir ;;
1551  *) # Relative name.
1552    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1553    ac_top_srcdir=$ac_top_build_prefix$srcdir
1554    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1555esac
1556ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1557
1558    cd "$ac_dir" || { ac_status=$?; continue; }
1559    # Check for guested configure.
1560    if test -f "$ac_srcdir/configure.gnu"; then
1561      echo &&
1562      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1563    elif test -f "$ac_srcdir/configure"; then
1564      echo &&
1565      $SHELL "$ac_srcdir/configure" --help=recursive
1566    else
1567      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1568    fi || ac_status=$?
1569    cd "$ac_pwd" || { ac_status=$?; break; }
1570  done
1571fi
1572
1573test -n "$ac_init_help" && exit $ac_status
1574if $ac_init_version; then
1575  cat <<\_ACEOF
1576pylgobject configure 2.28.6
1577generated by GNU Autoconf 2.68
1578
1579Copyright (C) 2010 Free Software Foundation, Inc.
1580This configure script is free software; the Free Software Foundation
1581gives unlimited permission to copy, distribute and modify it.
1582_ACEOF
1583  exit
1584fi
1585
1586## ------------------------ ##
1587## Autoconf initialization. ##
1588## ------------------------ ##
1589
1590# ac_fn_c_try_compile LINENO
1591# --------------------------
1592# Try to compile conftest.$ac_ext, and return whether this succeeded.
1593ac_fn_c_try_compile ()
1594{
1595  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596  rm -f conftest.$ac_objext
1597  if { { ac_try="$ac_compile"
1598case "(($ac_try" in
1599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1600  *) ac_try_echo=$ac_try;;
1601esac
1602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1603$as_echo "$ac_try_echo"; } >&5
1604  (eval "$ac_compile") 2>conftest.err
1605  ac_status=$?
1606  if test -s conftest.err; then
1607    grep -v '^ *+' conftest.err >conftest.er1
1608    cat conftest.er1 >&5
1609    mv -f conftest.er1 conftest.err
1610  fi
1611  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612  test $ac_status = 0; } && {
1613	 test -z "$ac_c_werror_flag" ||
1614	 test ! -s conftest.err
1615       } && test -s conftest.$ac_objext; then :
1616  ac_retval=0
1617else
1618  $as_echo "$as_me: failed program was:" >&5
1619sed 's/^/| /' conftest.$ac_ext >&5
1620
1621	ac_retval=1
1622fi
1623  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1624  as_fn_set_status $ac_retval
1625
1626} # ac_fn_c_try_compile
1627
1628# ac_fn_c_try_link LINENO
1629# -----------------------
1630# Try to link conftest.$ac_ext, and return whether this succeeded.
1631ac_fn_c_try_link ()
1632{
1633  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634  rm -f conftest.$ac_objext conftest$ac_exeext
1635  if { { ac_try="$ac_link"
1636case "(($ac_try" in
1637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1638  *) ac_try_echo=$ac_try;;
1639esac
1640eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1641$as_echo "$ac_try_echo"; } >&5
1642  (eval "$ac_link") 2>conftest.err
1643  ac_status=$?
1644  if test -s conftest.err; then
1645    grep -v '^ *+' conftest.err >conftest.er1
1646    cat conftest.er1 >&5
1647    mv -f conftest.er1 conftest.err
1648  fi
1649  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1650  test $ac_status = 0; } && {
1651	 test -z "$ac_c_werror_flag" ||
1652	 test ! -s conftest.err
1653       } && test -s conftest$ac_exeext && {
1654	 test "$cross_compiling" = yes ||
1655	 $as_test_x conftest$ac_exeext
1656       }; then :
1657  ac_retval=0
1658else
1659  $as_echo "$as_me: failed program was:" >&5
1660sed 's/^/| /' conftest.$ac_ext >&5
1661
1662	ac_retval=1
1663fi
1664  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1665  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1666  # interfere with the next link command; also delete a directory that is
1667  # left behind by Apple's compiler.  We do this before executing the actions.
1668  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1669  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1670  as_fn_set_status $ac_retval
1671
1672} # ac_fn_c_try_link
1673
1674# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1675# -------------------------------------------------------
1676# Tests whether HEADER exists and can be compiled using the include files in
1677# INCLUDES, setting the cache variable VAR accordingly.
1678ac_fn_c_check_header_compile ()
1679{
1680  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1682$as_echo_n "checking for $2... " >&6; }
1683if eval \${$3+:} false; then :
1684  $as_echo_n "(cached) " >&6
1685else
1686  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1687/* end confdefs.h.  */
1688$4
1689#include <$2>
1690_ACEOF
1691if ac_fn_c_try_compile "$LINENO"; then :
1692  eval "$3=yes"
1693else
1694  eval "$3=no"
1695fi
1696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1697fi
1698eval ac_res=\$$3
1699	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1700$as_echo "$ac_res" >&6; }
1701  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1702
1703} # ac_fn_c_check_header_compile
1704
1705# ac_fn_c_try_cpp LINENO
1706# ----------------------
1707# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1708ac_fn_c_try_cpp ()
1709{
1710  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1711  if { { ac_try="$ac_cpp conftest.$ac_ext"
1712case "(($ac_try" in
1713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1714  *) ac_try_echo=$ac_try;;
1715esac
1716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1717$as_echo "$ac_try_echo"; } >&5
1718  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1719  ac_status=$?
1720  if test -s conftest.err; then
1721    grep -v '^ *+' conftest.err >conftest.er1
1722    cat conftest.er1 >&5
1723    mv -f conftest.er1 conftest.err
1724  fi
1725  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1726  test $ac_status = 0; } > conftest.i && {
1727	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1728	 test ! -s conftest.err
1729       }; then :
1730  ac_retval=0
1731else
1732  $as_echo "$as_me: failed program was:" >&5
1733sed 's/^/| /' conftest.$ac_ext >&5
1734
1735    ac_retval=1
1736fi
1737  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738  as_fn_set_status $ac_retval
1739
1740} # ac_fn_c_try_cpp
1741
1742# ac_fn_c_try_run LINENO
1743# ----------------------
1744# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1745# that executables *can* be run.
1746ac_fn_c_try_run ()
1747{
1748  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749  if { { ac_try="$ac_link"
1750case "(($ac_try" in
1751  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1752  *) ac_try_echo=$ac_try;;
1753esac
1754eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1755$as_echo "$ac_try_echo"; } >&5
1756  (eval "$ac_link") 2>&5
1757  ac_status=$?
1758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1759  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1760  { { case "(($ac_try" in
1761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762  *) ac_try_echo=$ac_try;;
1763esac
1764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765$as_echo "$ac_try_echo"; } >&5
1766  (eval "$ac_try") 2>&5
1767  ac_status=$?
1768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769  test $ac_status = 0; }; }; then :
1770  ac_retval=0
1771else
1772  $as_echo "$as_me: program exited with status $ac_status" >&5
1773       $as_echo "$as_me: failed program was:" >&5
1774sed 's/^/| /' conftest.$ac_ext >&5
1775
1776       ac_retval=$ac_status
1777fi
1778  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1779  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1780  as_fn_set_status $ac_retval
1781
1782} # ac_fn_c_try_run
1783
1784# ac_fn_c_check_func LINENO FUNC VAR
1785# ----------------------------------
1786# Tests whether FUNC exists, setting the cache variable VAR accordingly
1787ac_fn_c_check_func ()
1788{
1789  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1790  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791$as_echo_n "checking for $2... " >&6; }
1792if eval \${$3+:} false; then :
1793  $as_echo_n "(cached) " >&6
1794else
1795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1796/* end confdefs.h.  */
1797/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1798   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1799#define $2 innocuous_$2
1800
1801/* System header to define __stub macros and hopefully few prototypes,
1802    which can conflict with char $2 (); below.
1803    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1804    <limits.h> exists even on freestanding compilers.  */
1805
1806#ifdef __STDC__
1807# include <limits.h>
1808#else
1809# include <assert.h>
1810#endif
1811
1812#undef $2
1813
1814/* Override any GCC internal prototype to avoid an error.
1815   Use char because int might match the return type of a GCC
1816   builtin and then its argument prototype would still apply.  */
1817#ifdef __cplusplus
1818extern "C"
1819#endif
1820char $2 ();
1821/* The GNU C library defines this for functions which it implements
1822    to always fail with ENOSYS.  Some functions are actually named
1823    something starting with __ and the normal name is an alias.  */
1824#if defined __stub_$2 || defined __stub___$2
1825choke me
1826#endif
1827
1828int
1829main ()
1830{
1831return $2 ();
1832  ;
1833  return 0;
1834}
1835_ACEOF
1836if ac_fn_c_try_link "$LINENO"; then :
1837  eval "$3=yes"
1838else
1839  eval "$3=no"
1840fi
1841rm -f core conftest.err conftest.$ac_objext \
1842    conftest$ac_exeext conftest.$ac_ext
1843fi
1844eval ac_res=\$$3
1845	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846$as_echo "$ac_res" >&6; }
1847  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848
1849} # ac_fn_c_check_func
1850cat >config.log <<_ACEOF
1851This file contains any messages produced by compilers while
1852running configure, to aid debugging if configure makes a mistake.
1853
1854It was created by pylgobject $as_me 2.28.6, which was
1855generated by GNU Autoconf 2.68.  Invocation command line was
1856
1857  $ $0 $@
1858
1859_ACEOF
1860exec 5>>config.log
1861{
1862cat <<_ASUNAME
1863## --------- ##
1864## Platform. ##
1865## --------- ##
1866
1867hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1868uname -m = `(uname -m) 2>/dev/null || echo unknown`
1869uname -r = `(uname -r) 2>/dev/null || echo unknown`
1870uname -s = `(uname -s) 2>/dev/null || echo unknown`
1871uname -v = `(uname -v) 2>/dev/null || echo unknown`
1872
1873/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1874/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1875
1876/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1877/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1878/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1879/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1880/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1881/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1882/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1883
1884_ASUNAME
1885
1886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1887for as_dir in $PATH
1888do
1889  IFS=$as_save_IFS
1890  test -z "$as_dir" && as_dir=.
1891    $as_echo "PATH: $as_dir"
1892  done
1893IFS=$as_save_IFS
1894
1895} >&5
1896
1897cat >&5 <<_ACEOF
1898
1899
1900## ----------- ##
1901## Core tests. ##
1902## ----------- ##
1903
1904_ACEOF
1905
1906
1907# Keep a trace of the command line.
1908# Strip out --no-create and --no-recursion so they do not pile up.
1909# Strip out --silent because we don't want to record it for future runs.
1910# Also quote any args containing shell meta-characters.
1911# Make two passes to allow for proper duplicate-argument suppression.
1912ac_configure_args=
1913ac_configure_args0=
1914ac_configure_args1=
1915ac_must_keep_next=false
1916for ac_pass in 1 2
1917do
1918  for ac_arg
1919  do
1920    case $ac_arg in
1921    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1922    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1923    | -silent | --silent | --silen | --sile | --sil)
1924      continue ;;
1925    *\'*)
1926      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1927    esac
1928    case $ac_pass in
1929    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1930    2)
1931      as_fn_append ac_configure_args1 " '$ac_arg'"
1932      if test $ac_must_keep_next = true; then
1933	ac_must_keep_next=false # Got value, back to normal.
1934      else
1935	case $ac_arg in
1936	  *=* | --config-cache | -C | -disable-* | --disable-* \
1937	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1938	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1939	  | -with-* | --with-* | -without-* | --without-* | --x)
1940	    case "$ac_configure_args0 " in
1941	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1942	    esac
1943	    ;;
1944	  -* ) ac_must_keep_next=true ;;
1945	esac
1946      fi
1947      as_fn_append ac_configure_args " '$ac_arg'"
1948      ;;
1949    esac
1950  done
1951done
1952{ ac_configure_args0=; unset ac_configure_args0;}
1953{ ac_configure_args1=; unset ac_configure_args1;}
1954
1955# When interrupted or exit'd, cleanup temporary files, and complete
1956# config.log.  We remove comments because anyway the quotes in there
1957# would cause problems or look ugly.
1958# WARNING: Use '\'' to represent an apostrophe within the trap.
1959# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1960trap 'exit_status=$?
1961  # Save into config.log some information that might help in debugging.
1962  {
1963    echo
1964
1965    $as_echo "## ---------------- ##
1966## Cache variables. ##
1967## ---------------- ##"
1968    echo
1969    # The following way of writing the cache mishandles newlines in values,
1970(
1971  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1972    eval ac_val=\$$ac_var
1973    case $ac_val in #(
1974    *${as_nl}*)
1975      case $ac_var in #(
1976      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1977$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1978      esac
1979      case $ac_var in #(
1980      _ | IFS | as_nl) ;; #(
1981      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1982      *) { eval $ac_var=; unset $ac_var;} ;;
1983      esac ;;
1984    esac
1985  done
1986  (set) 2>&1 |
1987    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1988    *${as_nl}ac_space=\ *)
1989      sed -n \
1990	"s/'\''/'\''\\\\'\'''\''/g;
1991	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1992      ;; #(
1993    *)
1994      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1995      ;;
1996    esac |
1997    sort
1998)
1999    echo
2000
2001    $as_echo "## ----------------- ##
2002## Output variables. ##
2003## ----------------- ##"
2004    echo
2005    for ac_var in $ac_subst_vars
2006    do
2007      eval ac_val=\$$ac_var
2008      case $ac_val in
2009      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2010      esac
2011      $as_echo "$ac_var='\''$ac_val'\''"
2012    done | sort
2013    echo
2014
2015    if test -n "$ac_subst_files"; then
2016      $as_echo "## ------------------- ##
2017## File substitutions. ##
2018## ------------------- ##"
2019      echo
2020      for ac_var in $ac_subst_files
2021      do
2022	eval ac_val=\$$ac_var
2023	case $ac_val in
2024	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2025	esac
2026	$as_echo "$ac_var='\''$ac_val'\''"
2027      done | sort
2028      echo
2029    fi
2030
2031    if test -s confdefs.h; then
2032      $as_echo "## ----------- ##
2033## confdefs.h. ##
2034## ----------- ##"
2035      echo
2036      cat confdefs.h
2037      echo
2038    fi
2039    test "$ac_signal" != 0 &&
2040      $as_echo "$as_me: caught signal $ac_signal"
2041    $as_echo "$as_me: exit $exit_status"
2042  } >&5
2043  rm -f core *.core core.conftest.* &&
2044    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2045    exit $exit_status
2046' 0
2047for ac_signal in 1 2 13 15; do
2048  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2049done
2050ac_signal=0
2051
2052# confdefs.h avoids OS command line length limits that DEFS can exceed.
2053rm -f -r conftest* confdefs.h
2054
2055$as_echo "/* confdefs.h */" > confdefs.h
2056
2057# Predefined preprocessor variables.
2058
2059cat >>confdefs.h <<_ACEOF
2060#define PACKAGE_NAME "$PACKAGE_NAME"
2061_ACEOF
2062
2063cat >>confdefs.h <<_ACEOF
2064#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2065_ACEOF
2066
2067cat >>confdefs.h <<_ACEOF
2068#define PACKAGE_VERSION "$PACKAGE_VERSION"
2069_ACEOF
2070
2071cat >>confdefs.h <<_ACEOF
2072#define PACKAGE_STRING "$PACKAGE_STRING"
2073_ACEOF
2074
2075cat >>confdefs.h <<_ACEOF
2076#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2077_ACEOF
2078
2079cat >>confdefs.h <<_ACEOF
2080#define PACKAGE_URL "$PACKAGE_URL"
2081_ACEOF
2082
2083
2084# Let the site file select an alternate cache file if it wants to.
2085# Prefer an explicitly selected file to automatically selected ones.
2086ac_site_file1=NONE
2087ac_site_file2=NONE
2088if test -n "$CONFIG_SITE"; then
2089  # We do not want a PATH search for config.site.
2090  case $CONFIG_SITE in #((
2091    -*)  ac_site_file1=./$CONFIG_SITE;;
2092    */*) ac_site_file1=$CONFIG_SITE;;
2093    *)   ac_site_file1=./$CONFIG_SITE;;
2094  esac
2095elif test "x$prefix" != xNONE; then
2096  ac_site_file1=$prefix/share/config.site
2097  ac_site_file2=$prefix/etc/config.site
2098else
2099  ac_site_file1=$ac_default_prefix/share/config.site
2100  ac_site_file2=$ac_default_prefix/etc/config.site
2101fi
2102for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2103do
2104  test "x$ac_site_file" = xNONE && continue
2105  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2106    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2107$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2108    sed 's/^/| /' "$ac_site_file" >&5
2109    . "$ac_site_file" \
2110      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2111$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2112as_fn_error $? "failed to load site script $ac_site_file
2113See \`config.log' for more details" "$LINENO" 5; }
2114  fi
2115done
2116
2117if test -r "$cache_file"; then
2118  # Some versions of bash will fail to source /dev/null (special files
2119  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2120  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2121    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2122$as_echo "$as_me: loading cache $cache_file" >&6;}
2123    case $cache_file in
2124      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2125      *)                      . "./$cache_file";;
2126    esac
2127  fi
2128else
2129  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2130$as_echo "$as_me: creating cache $cache_file" >&6;}
2131  >$cache_file
2132fi
2133
2134# Check that the precious variables saved in the cache have kept the same
2135# value.
2136ac_cache_corrupted=false
2137for ac_var in $ac_precious_vars; do
2138  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2139  eval ac_new_set=\$ac_env_${ac_var}_set
2140  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2141  eval ac_new_val=\$ac_env_${ac_var}_value
2142  case $ac_old_set,$ac_new_set in
2143    set,)
2144      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2145$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2146      ac_cache_corrupted=: ;;
2147    ,set)
2148      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2149$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2150      ac_cache_corrupted=: ;;
2151    ,);;
2152    *)
2153      if test "x$ac_old_val" != "x$ac_new_val"; then
2154	# differences in whitespace do not lead to failure.
2155	ac_old_val_w=`echo x $ac_old_val`
2156	ac_new_val_w=`echo x $ac_new_val`
2157	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2158	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2159$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2160	  ac_cache_corrupted=:
2161	else
2162	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2163$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2164	  eval $ac_var=\$ac_old_val
2165	fi
2166	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2167$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2168	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2169$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2170      fi;;
2171  esac
2172  # Pass precious variables to config.status.
2173  if test "$ac_new_set" = set; then
2174    case $ac_new_val in
2175    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2176    *) ac_arg=$ac_var=$ac_new_val ;;
2177    esac
2178    case " $ac_configure_args " in
2179      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2180      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2181    esac
2182  fi
2183done
2184if $ac_cache_corrupted; then
2185  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2187  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2188$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2189  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2190fi
2191## -------------------- ##
2192## Main body of script. ##
2193## -------------------- ##
2194
2195ac_ext=c
2196ac_cpp='$CPP $CPPFLAGS'
2197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2199ac_compiler_gnu=$ac_cv_c_compiler_gnu
2200
2201
2202ACLOCAL_AMFLAGS="-I m4 -I ."
2203
2204
2205
2206
2207
2208$as_echo "#define PYGOBJECT_MAJOR_VERSION 2" >>confdefs.h
2209
2210PYGOBJECT_MAJOR_VERSION=2
2211
2212
2213$as_echo "#define PYGOBJECT_MINOR_VERSION 28" >>confdefs.h
2214
2215PYGOBJECT_MINOR_VERSION=28
2216
2217
2218$as_echo "#define PYGOBJECT_MICRO_VERSION 6" >>confdefs.h
2219
2220PYGOBJECT_MICRO_VERSION=6
2221
2222
2223ac_config_headers="$ac_config_headers config.h"
2224
2225# Check whether --enable-silent-rules was given.
2226if test "${enable_silent_rules+set}" = set; then :
2227  enableval=$enable_silent_rules;
2228fi
2229
2230case $enable_silent_rules in
2231yes) AM_DEFAULT_VERBOSITY=0;;
2232no)  AM_DEFAULT_VERBOSITY=1;;
2233*)   AM_DEFAULT_VERBOSITY=0;;
2234esac
2235AM_BACKSLASH='\'
2236
2237am__api_version='1.11'
2238
2239ac_aux_dir=
2240for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2241  if test -f "$ac_dir/install-sh"; then
2242    ac_aux_dir=$ac_dir
2243    ac_install_sh="$ac_aux_dir/install-sh -c"
2244    break
2245  elif test -f "$ac_dir/install.sh"; then
2246    ac_aux_dir=$ac_dir
2247    ac_install_sh="$ac_aux_dir/install.sh -c"
2248    break
2249  elif test -f "$ac_dir/shtool"; then
2250    ac_aux_dir=$ac_dir
2251    ac_install_sh="$ac_aux_dir/shtool install -c"
2252    break
2253  fi
2254done
2255if test -z "$ac_aux_dir"; then
2256  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2257fi
2258
2259# These three variables are undocumented and unsupported,
2260# and are intended to be withdrawn in a future Autoconf release.
2261# They can cause serious problems if a builder's source tree is in a directory
2262# whose full name contains unusual characters.
2263ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2264ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2265ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2266
2267
2268# Find a good install program.  We prefer a C program (faster),
2269# so one script is as good as another.  But avoid the broken or
2270# incompatible versions:
2271# SysV /etc/install, /usr/sbin/install
2272# SunOS /usr/etc/install
2273# IRIX /sbin/install
2274# AIX /bin/install
2275# AmigaOS /C/install, which installs bootblocks on floppy discs
2276# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2277# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2278# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2279# OS/2's system install, which has a completely different semantic
2280# ./install, which can be erroneously created by make from ./install.sh.
2281# Reject install programs that cannot install multiple files.
2282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2283$as_echo_n "checking for a BSD-compatible install... " >&6; }
2284if test -z "$INSTALL"; then
2285if ${ac_cv_path_install+:} false; then :
2286  $as_echo_n "(cached) " >&6
2287else
2288  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289for as_dir in $PATH
2290do
2291  IFS=$as_save_IFS
2292  test -z "$as_dir" && as_dir=.
2293    # Account for people who put trailing slashes in PATH elements.
2294case $as_dir/ in #((
2295  ./ | .// | /[cC]/* | \
2296  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2297  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2298  /usr/ucb/* ) ;;
2299  *)
2300    # OSF1 and SCO ODT 3.0 have their own names for install.
2301    # Don't use installbsd from OSF since it installs stuff as root
2302    # by default.
2303    for ac_prog in ginstall scoinst install; do
2304      for ac_exec_ext in '' $ac_executable_extensions; do
2305	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2306	  if test $ac_prog = install &&
2307	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2308	    # AIX install.  It has an incompatible calling convention.
2309	    :
2310	  elif test $ac_prog = install &&
2311	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2312	    # program-specific install script used by HP pwplus--don't use.
2313	    :
2314	  else
2315	    rm -rf conftest.one conftest.two conftest.dir
2316	    echo one > conftest.one
2317	    echo two > conftest.two
2318	    mkdir conftest.dir
2319	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2320	      test -s conftest.one && test -s conftest.two &&
2321	      test -s conftest.dir/conftest.one &&
2322	      test -s conftest.dir/conftest.two
2323	    then
2324	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2325	      break 3
2326	    fi
2327	  fi
2328	fi
2329      done
2330    done
2331    ;;
2332esac
2333
2334  done
2335IFS=$as_save_IFS
2336
2337rm -rf conftest.one conftest.two conftest.dir
2338
2339fi
2340  if test "${ac_cv_path_install+set}" = set; then
2341    INSTALL=$ac_cv_path_install
2342  else
2343    # As a last resort, use the slow shell script.  Don't cache a
2344    # value for INSTALL within a source directory, because that will
2345    # break other packages using the cache if that directory is
2346    # removed, or if the value is a relative name.
2347    INSTALL=$ac_install_sh
2348  fi
2349fi
2350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2351$as_echo "$INSTALL" >&6; }
2352
2353# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2354# It thinks the first close brace ends the variable substitution.
2355test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2356
2357test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2358
2359test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2360
2361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2362$as_echo_n "checking whether build environment is sane... " >&6; }
2363# Just in case
2364sleep 1
2365echo timestamp > conftest.file
2366# Reject unsafe characters in $srcdir or the absolute working directory
2367# name.  Accept space and tab only in the latter.
2368am_lf='
2369'
2370case `pwd` in
2371  *[\\\"\#\$\&\'\`$am_lf]*)
2372    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2373esac
2374case $srcdir in
2375  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2376    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2377esac
2378
2379# Do `set' in a subshell so we don't clobber the current shell's
2380# arguments.  Must try -L first in case configure is actually a
2381# symlink; some systems play weird games with the mod time of symlinks
2382# (eg FreeBSD returns the mod time of the symlink's containing
2383# directory).
2384if (
2385   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2386   if test "$*" = "X"; then
2387      # -L didn't work.
2388      set X `ls -t "$srcdir/configure" conftest.file`
2389   fi
2390   rm -f conftest.file
2391   if test "$*" != "X $srcdir/configure conftest.file" \
2392      && test "$*" != "X conftest.file $srcdir/configure"; then
2393
2394      # If neither matched, then we have a broken ls.  This can happen
2395      # if, for instance, CONFIG_SHELL is bash and it inherits a
2396      # broken ls alias from the environment.  This has actually
2397      # happened.  Such a system could not be considered "sane".
2398      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2399alias in your environment" "$LINENO" 5
2400   fi
2401
2402   test "$2" = conftest.file
2403   )
2404then
2405   # Ok.
2406   :
2407else
2408   as_fn_error $? "newly created file is older than distributed files!
2409Check your system clock" "$LINENO" 5
2410fi
2411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2412$as_echo "yes" >&6; }
2413test "$program_prefix" != NONE &&
2414  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2415# Use a double $ so make ignores it.
2416test "$program_suffix" != NONE &&
2417  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2418# Double any \ or $.
2419# By default was `s,x,x', remove it if useless.
2420ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2421program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2422
2423# expand $ac_aux_dir to an absolute path
2424am_aux_dir=`cd $ac_aux_dir && pwd`
2425
2426if test x"${MISSING+set}" != xset; then
2427  case $am_aux_dir in
2428  *\ * | *\	*)
2429    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2430  *)
2431    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2432  esac
2433fi
2434# Use eval to expand $SHELL
2435if eval "$MISSING --run true"; then
2436  am_missing_run="$MISSING --run "
2437else
2438  am_missing_run=
2439  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2440$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2441fi
2442
2443if test x"${install_sh}" != xset; then
2444  case $am_aux_dir in
2445  *\ * | *\	*)
2446    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2447  *)
2448    install_sh="\${SHELL} $am_aux_dir/install-sh"
2449  esac
2450fi
2451
2452# Installed binaries are usually stripped using `strip' when the user
2453# run `make install-strip'.  However `strip' might not be the right
2454# tool to use in cross-compilation environments, therefore Automake
2455# will honor the `STRIP' environment variable to overrule this program.
2456if test "$cross_compiling" != no; then
2457  if test -n "$ac_tool_prefix"; then
2458  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2459set dummy ${ac_tool_prefix}strip; ac_word=$2
2460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461$as_echo_n "checking for $ac_word... " >&6; }
2462if ${ac_cv_prog_STRIP+:} false; then :
2463  $as_echo_n "(cached) " >&6
2464else
2465  if test -n "$STRIP"; then
2466  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2467else
2468as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2469for as_dir in $PATH
2470do
2471  IFS=$as_save_IFS
2472  test -z "$as_dir" && as_dir=.
2473    for ac_exec_ext in '' $ac_executable_extensions; do
2474  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2475    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2476    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477    break 2
2478  fi
2479done
2480  done
2481IFS=$as_save_IFS
2482
2483fi
2484fi
2485STRIP=$ac_cv_prog_STRIP
2486if test -n "$STRIP"; then
2487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2488$as_echo "$STRIP" >&6; }
2489else
2490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491$as_echo "no" >&6; }
2492fi
2493
2494
2495fi
2496if test -z "$ac_cv_prog_STRIP"; then
2497  ac_ct_STRIP=$STRIP
2498  # Extract the first word of "strip", so it can be a program name with args.
2499set dummy strip; ac_word=$2
2500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501$as_echo_n "checking for $ac_word... " >&6; }
2502if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2503  $as_echo_n "(cached) " >&6
2504else
2505  if test -n "$ac_ct_STRIP"; then
2506  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2507else
2508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2509for as_dir in $PATH
2510do
2511  IFS=$as_save_IFS
2512  test -z "$as_dir" && as_dir=.
2513    for ac_exec_ext in '' $ac_executable_extensions; do
2514  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2515    ac_cv_prog_ac_ct_STRIP="strip"
2516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2517    break 2
2518  fi
2519done
2520  done
2521IFS=$as_save_IFS
2522
2523fi
2524fi
2525ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2526if test -n "$ac_ct_STRIP"; then
2527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2528$as_echo "$ac_ct_STRIP" >&6; }
2529else
2530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2531$as_echo "no" >&6; }
2532fi
2533
2534  if test "x$ac_ct_STRIP" = x; then
2535    STRIP=":"
2536  else
2537    case $cross_compiling:$ac_tool_warned in
2538yes:)
2539{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2540$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2541ac_tool_warned=yes ;;
2542esac
2543    STRIP=$ac_ct_STRIP
2544  fi
2545else
2546  STRIP="$ac_cv_prog_STRIP"
2547fi
2548
2549fi
2550INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2551
2552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2553$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2554if test -z "$MKDIR_P"; then
2555  if ${ac_cv_path_mkdir+:} false; then :
2556  $as_echo_n "(cached) " >&6
2557else
2558  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2560do
2561  IFS=$as_save_IFS
2562  test -z "$as_dir" && as_dir=.
2563    for ac_prog in mkdir gmkdir; do
2564	 for ac_exec_ext in '' $ac_executable_extensions; do
2565	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2566	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2567	     'mkdir (GNU coreutils) '* | \
2568	     'mkdir (coreutils) '* | \
2569	     'mkdir (fileutils) '4.1*)
2570	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2571	       break 3;;
2572	   esac
2573	 done
2574       done
2575  done
2576IFS=$as_save_IFS
2577
2578fi
2579
2580  test -d ./--version && rmdir ./--version
2581  if test "${ac_cv_path_mkdir+set}" = set; then
2582    MKDIR_P="$ac_cv_path_mkdir -p"
2583  else
2584    # As a last resort, use the slow shell script.  Don't cache a
2585    # value for MKDIR_P within a source directory, because that will
2586    # break other packages using the cache if that directory is
2587    # removed, or if the value is a relative name.
2588    MKDIR_P="$ac_install_sh -d"
2589  fi
2590fi
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2592$as_echo "$MKDIR_P" >&6; }
2593
2594mkdir_p="$MKDIR_P"
2595case $mkdir_p in
2596  [\\/$]* | ?:[\\/]*) ;;
2597  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2598esac
2599
2600for ac_prog in gawk mawk nawk awk
2601do
2602  # Extract the first word of "$ac_prog", so it can be a program name with args.
2603set dummy $ac_prog; ac_word=$2
2604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2605$as_echo_n "checking for $ac_word... " >&6; }
2606if ${ac_cv_prog_AWK+:} false; then :
2607  $as_echo_n "(cached) " >&6
2608else
2609  if test -n "$AWK"; then
2610  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2611else
2612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613for as_dir in $PATH
2614do
2615  IFS=$as_save_IFS
2616  test -z "$as_dir" && as_dir=.
2617    for ac_exec_ext in '' $ac_executable_extensions; do
2618  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2619    ac_cv_prog_AWK="$ac_prog"
2620    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2621    break 2
2622  fi
2623done
2624  done
2625IFS=$as_save_IFS
2626
2627fi
2628fi
2629AWK=$ac_cv_prog_AWK
2630if test -n "$AWK"; then
2631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2632$as_echo "$AWK" >&6; }
2633else
2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2635$as_echo "no" >&6; }
2636fi
2637
2638
2639  test -n "$AWK" && break
2640done
2641
2642{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2643$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2644set x ${MAKE-make}
2645ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2646if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2647  $as_echo_n "(cached) " >&6
2648else
2649  cat >conftest.make <<\_ACEOF
2650SHELL = /bin/sh
2651all:
2652	@echo '@@@%%%=$(MAKE)=@@@%%%'
2653_ACEOF
2654# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2655case `${MAKE-make} -f conftest.make 2>/dev/null` in
2656  *@@@%%%=?*=@@@%%%*)
2657    eval ac_cv_prog_make_${ac_make}_set=yes;;
2658  *)
2659    eval ac_cv_prog_make_${ac_make}_set=no;;
2660esac
2661rm -f conftest.make
2662fi
2663if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2665$as_echo "yes" >&6; }
2666  SET_MAKE=
2667else
2668  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669$as_echo "no" >&6; }
2670  SET_MAKE="MAKE=${MAKE-make}"
2671fi
2672
2673rm -rf .tst 2>/dev/null
2674mkdir .tst 2>/dev/null
2675if test -d .tst; then
2676  am__leading_dot=.
2677else
2678  am__leading_dot=_
2679fi
2680rmdir .tst 2>/dev/null
2681
2682if test "`cd $srcdir && pwd`" != "`pwd`"; then
2683  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2684  # is not polluted with repeated "-I."
2685  am__isrc=' -I$(srcdir)'
2686  # test to see if srcdir already configured
2687  if test -f $srcdir/config.status; then
2688    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2689  fi
2690fi
2691
2692# test whether we have cygpath
2693if test -z "$CYGPATH_W"; then
2694  if (cygpath --version) >/dev/null 2>/dev/null; then
2695    CYGPATH_W='cygpath -w'
2696  else
2697    CYGPATH_W=echo
2698  fi
2699fi
2700
2701
2702# Define the identity of the package.
2703 PACKAGE='pylgobject'
2704 VERSION='2.28.6'
2705
2706
2707cat >>confdefs.h <<_ACEOF
2708#define PACKAGE "$PACKAGE"
2709_ACEOF
2710
2711
2712cat >>confdefs.h <<_ACEOF
2713#define VERSION "$VERSION"
2714_ACEOF
2715
2716# Some tools Automake needs.
2717
2718ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2719
2720
2721AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2722
2723
2724AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2725
2726
2727AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2728
2729
2730MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2731
2732# We need awk for the "check" target.  The system "awk" is bad on
2733# some platforms.
2734# Always define AMTAR for backward compatibility.
2735
2736AMTAR=${AMTAR-"${am_missing_run}tar"}
2737
2738am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2739
2740
2741
2742
2743
2744
2745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2746$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2747    # Check whether --enable-maintainer-mode was given.
2748if test "${enable_maintainer_mode+set}" = set; then :
2749  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2750else
2751  USE_MAINTAINER_MODE=no
2752fi
2753
2754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2755$as_echo "$USE_MAINTAINER_MODE" >&6; }
2756   if test $USE_MAINTAINER_MODE = yes; then
2757  MAINTAINER_MODE_TRUE=
2758  MAINTAINER_MODE_FALSE='#'
2759else
2760  MAINTAINER_MODE_TRUE='#'
2761  MAINTAINER_MODE_FALSE=
2762fi
2763
2764  MAINT=$MAINTAINER_MODE_TRUE
2765
2766
2767
2768ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
2769
2770# Make sure we can run config.sub.
2771$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2772  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2773
2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2775$as_echo_n "checking build system type... " >&6; }
2776if ${ac_cv_build+:} false; then :
2777  $as_echo_n "(cached) " >&6
2778else
2779  ac_build_alias=$build_alias
2780test "x$ac_build_alias" = x &&
2781  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2782test "x$ac_build_alias" = x &&
2783  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2784ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2785  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2786
2787fi
2788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2789$as_echo "$ac_cv_build" >&6; }
2790case $ac_cv_build in
2791*-*-*) ;;
2792*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2793esac
2794build=$ac_cv_build
2795ac_save_IFS=$IFS; IFS='-'
2796set x $ac_cv_build
2797shift
2798build_cpu=$1
2799build_vendor=$2
2800shift; shift
2801# Remember, the first character of IFS is used to create $*,
2802# except with old shells:
2803build_os=$*
2804IFS=$ac_save_IFS
2805case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2806
2807
2808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2809$as_echo_n "checking host system type... " >&6; }
2810if ${ac_cv_host+:} false; then :
2811  $as_echo_n "(cached) " >&6
2812else
2813  if test "x$host_alias" = x; then
2814  ac_cv_host=$ac_cv_build
2815else
2816  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2817    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2818fi
2819
2820fi
2821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2822$as_echo "$ac_cv_host" >&6; }
2823case $ac_cv_host in
2824*-*-*) ;;
2825*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2826esac
2827host=$ac_cv_host
2828ac_save_IFS=$IFS; IFS='-'
2829set x $ac_cv_host
2830shift
2831host_cpu=$1
2832host_vendor=$2
2833shift; shift
2834# Remember, the first character of IFS is used to create $*,
2835# except with old shells:
2836host_os=$*
2837IFS=$ac_save_IFS
2838case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2839
2840
2841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for some Win32 platform" >&5
2842$as_echo_n "checking for some Win32 platform... " >&6; }
2843case "$host" in
2844  *-*-mingw*|*-*-cygwin*)
2845    platform_win32=yes
2846    ;;
2847  *)
2848    platform_win32=no
2849    ;;
2850esac
2851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $platform_win32" >&5
2852$as_echo "$platform_win32" >&6; }
2853 if test "$platform_win32" = "yes"; then
2854  PLATFORM_WIN32_TRUE=
2855  PLATFORM_WIN32_FALSE='#'
2856else
2857  PLATFORM_WIN32_TRUE='#'
2858  PLATFORM_WIN32_FALSE=
2859fi
2860
2861
2862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
2863$as_echo_n "checking for native Win32... " >&6; }
2864case "$host" in
2865  *-*-mingw*)
2866    os_win32=yes
2867    ;;
2868  *)
2869    os_win32=no
2870    ;;
2871esac
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_win32" >&5
2873$as_echo "$os_win32" >&6; }
2874 if test "$os_win32" = "yes"; then
2875  OS_WIN32_TRUE=
2876  OS_WIN32_FALSE='#'
2877else
2878  OS_WIN32_TRUE='#'
2879  OS_WIN32_FALSE=
2880fi
2881
2882
2883# Check whether --enable-static was given.
2884if test "${enable_static+set}" = set; then :
2885  enableval=$enable_static; p=${PACKAGE-default}
2886    case $enableval in
2887    yes) enable_static=yes ;;
2888    no) enable_static=no ;;
2889    *)
2890     enable_static=no
2891      # Look at the argument we got.  We use all the common list separators.
2892      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
2893      for pkg in $enableval; do
2894	IFS="$lt_save_ifs"
2895	if test "X$pkg" = "X$p"; then
2896	  enable_static=yes
2897	fi
2898      done
2899      IFS="$lt_save_ifs"
2900      ;;
2901    esac
2902else
2903  enable_static=no
2904fi
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917enable_win32_dll=yes
2918
2919case $host in
2920*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
2921  if test -n "$ac_tool_prefix"; then
2922  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2923set dummy ${ac_tool_prefix}as; ac_word=$2
2924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925$as_echo_n "checking for $ac_word... " >&6; }
2926if ${ac_cv_prog_AS+:} false; then :
2927  $as_echo_n "(cached) " >&6
2928else
2929  if test -n "$AS"; then
2930  ac_cv_prog_AS="$AS" # Let the user override the test.
2931else
2932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933for as_dir in $PATH
2934do
2935  IFS=$as_save_IFS
2936  test -z "$as_dir" && as_dir=.
2937    for ac_exec_ext in '' $ac_executable_extensions; do
2938  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939    ac_cv_prog_AS="${ac_tool_prefix}as"
2940    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2941    break 2
2942  fi
2943done
2944  done
2945IFS=$as_save_IFS
2946
2947fi
2948fi
2949AS=$ac_cv_prog_AS
2950if test -n "$AS"; then
2951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
2952$as_echo "$AS" >&6; }
2953else
2954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955$as_echo "no" >&6; }
2956fi
2957
2958
2959fi
2960if test -z "$ac_cv_prog_AS"; then
2961  ac_ct_AS=$AS
2962  # Extract the first word of "as", so it can be a program name with args.
2963set dummy as; ac_word=$2
2964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965$as_echo_n "checking for $ac_word... " >&6; }
2966if ${ac_cv_prog_ac_ct_AS+:} false; then :
2967  $as_echo_n "(cached) " >&6
2968else
2969  if test -n "$ac_ct_AS"; then
2970  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
2971else
2972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2973for as_dir in $PATH
2974do
2975  IFS=$as_save_IFS
2976  test -z "$as_dir" && as_dir=.
2977    for ac_exec_ext in '' $ac_executable_extensions; do
2978  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2979    ac_cv_prog_ac_ct_AS="as"
2980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2981    break 2
2982  fi
2983done
2984  done
2985IFS=$as_save_IFS
2986
2987fi
2988fi
2989ac_ct_AS=$ac_cv_prog_ac_ct_AS
2990if test -n "$ac_ct_AS"; then
2991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
2992$as_echo "$ac_ct_AS" >&6; }
2993else
2994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995$as_echo "no" >&6; }
2996fi
2997
2998  if test "x$ac_ct_AS" = x; then
2999    AS="false"
3000  else
3001    case $cross_compiling:$ac_tool_warned in
3002yes:)
3003{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3004$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3005ac_tool_warned=yes ;;
3006esac
3007    AS=$ac_ct_AS
3008  fi
3009else
3010  AS="$ac_cv_prog_AS"
3011fi
3012
3013  if test -n "$ac_tool_prefix"; then
3014  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3015set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3017$as_echo_n "checking for $ac_word... " >&6; }
3018if ${ac_cv_prog_DLLTOOL+:} false; then :
3019  $as_echo_n "(cached) " >&6
3020else
3021  if test -n "$DLLTOOL"; then
3022  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3023else
3024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025for as_dir in $PATH
3026do
3027  IFS=$as_save_IFS
3028  test -z "$as_dir" && as_dir=.
3029    for ac_exec_ext in '' $ac_executable_extensions; do
3030  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3032    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3033    break 2
3034  fi
3035done
3036  done
3037IFS=$as_save_IFS
3038
3039fi
3040fi
3041DLLTOOL=$ac_cv_prog_DLLTOOL
3042if test -n "$DLLTOOL"; then
3043  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3044$as_echo "$DLLTOOL" >&6; }
3045else
3046  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3047$as_echo "no" >&6; }
3048fi
3049
3050
3051fi
3052if test -z "$ac_cv_prog_DLLTOOL"; then
3053  ac_ct_DLLTOOL=$DLLTOOL
3054  # Extract the first word of "dlltool", so it can be a program name with args.
3055set dummy dlltool; ac_word=$2
3056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3057$as_echo_n "checking for $ac_word... " >&6; }
3058if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3059  $as_echo_n "(cached) " >&6
3060else
3061  if test -n "$ac_ct_DLLTOOL"; then
3062  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3063else
3064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3065for as_dir in $PATH
3066do
3067  IFS=$as_save_IFS
3068  test -z "$as_dir" && as_dir=.
3069    for ac_exec_ext in '' $ac_executable_extensions; do
3070  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3071    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3073    break 2
3074  fi
3075done
3076  done
3077IFS=$as_save_IFS
3078
3079fi
3080fi
3081ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3082if test -n "$ac_ct_DLLTOOL"; then
3083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3084$as_echo "$ac_ct_DLLTOOL" >&6; }
3085else
3086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3087$as_echo "no" >&6; }
3088fi
3089
3090  if test "x$ac_ct_DLLTOOL" = x; then
3091    DLLTOOL="false"
3092  else
3093    case $cross_compiling:$ac_tool_warned in
3094yes:)
3095{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3096$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3097ac_tool_warned=yes ;;
3098esac
3099    DLLTOOL=$ac_ct_DLLTOOL
3100  fi
3101else
3102  DLLTOOL="$ac_cv_prog_DLLTOOL"
3103fi
3104
3105  if test -n "$ac_tool_prefix"; then
3106  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3107set dummy ${ac_tool_prefix}objdump; ac_word=$2
3108{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3109$as_echo_n "checking for $ac_word... " >&6; }
3110if ${ac_cv_prog_OBJDUMP+:} false; then :
3111  $as_echo_n "(cached) " >&6
3112else
3113  if test -n "$OBJDUMP"; then
3114  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3115else
3116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3117for as_dir in $PATH
3118do
3119  IFS=$as_save_IFS
3120  test -z "$as_dir" && as_dir=.
3121    for ac_exec_ext in '' $ac_executable_extensions; do
3122  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3123    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
3124    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125    break 2
3126  fi
3127done
3128  done
3129IFS=$as_save_IFS
3130
3131fi
3132fi
3133OBJDUMP=$ac_cv_prog_OBJDUMP
3134if test -n "$OBJDUMP"; then
3135  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
3136$as_echo "$OBJDUMP" >&6; }
3137else
3138  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3139$as_echo "no" >&6; }
3140fi
3141
3142
3143fi
3144if test -z "$ac_cv_prog_OBJDUMP"; then
3145  ac_ct_OBJDUMP=$OBJDUMP
3146  # Extract the first word of "objdump", so it can be a program name with args.
3147set dummy objdump; ac_word=$2
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149$as_echo_n "checking for $ac_word... " >&6; }
3150if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
3151  $as_echo_n "(cached) " >&6
3152else
3153  if test -n "$ac_ct_OBJDUMP"; then
3154  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
3155else
3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157for as_dir in $PATH
3158do
3159  IFS=$as_save_IFS
3160  test -z "$as_dir" && as_dir=.
3161    for ac_exec_ext in '' $ac_executable_extensions; do
3162  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3163    ac_cv_prog_ac_ct_OBJDUMP="objdump"
3164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165    break 2
3166  fi
3167done
3168  done
3169IFS=$as_save_IFS
3170
3171fi
3172fi
3173ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
3174if test -n "$ac_ct_OBJDUMP"; then
3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
3176$as_echo "$ac_ct_OBJDUMP" >&6; }
3177else
3178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179$as_echo "no" >&6; }
3180fi
3181
3182  if test "x$ac_ct_OBJDUMP" = x; then
3183    OBJDUMP="false"
3184  else
3185    case $cross_compiling:$ac_tool_warned in
3186yes:)
3187{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3188$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3189ac_tool_warned=yes ;;
3190esac
3191    OBJDUMP=$ac_ct_OBJDUMP
3192  fi
3193else
3194  OBJDUMP="$ac_cv_prog_OBJDUMP"
3195fi
3196
3197  ;;
3198esac
3199
3200test -z "$AS" && AS=as
3201
3202
3203
3204
3205
3206test -z "$DLLTOOL" && DLLTOOL=dlltool
3207
3208
3209
3210
3211
3212test -z "$OBJDUMP" && OBJDUMP=objdump
3213
3214
3215
3216
3217
3218
3219
3220case `pwd` in
3221  *\ * | *\	*)
3222    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3223$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3224esac
3225
3226
3227
3228macro_version='2.4'
3229macro_revision='1.3293'
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243ltmain="$ac_aux_dir/ltmain.sh"
3244
3245# Backslashify metacharacters that are still active within
3246# double-quoted strings.
3247sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3248
3249# Same as above, but do not quote variable references.
3250double_quote_subst='s/\(["`\\]\)/\\\1/g'
3251
3252# Sed substitution to delay expansion of an escaped shell variable in a
3253# double_quote_subst'ed string.
3254delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3255
3256# Sed substitution to delay expansion of an escaped single quote.
3257delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3258
3259# Sed substitution to avoid accidental globbing in evaled expressions
3260no_glob_subst='s/\*/\\\*/g'
3261
3262ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3263ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3264ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3265
3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3267$as_echo_n "checking how to print strings... " >&6; }
3268# Test print first, because it will be a builtin if present.
3269if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3270   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3271  ECHO='print -r --'
3272elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3273  ECHO='printf %s\n'
3274else
3275  # Use this function as a fallback that always works.
3276  func_fallback_echo ()
3277  {
3278    eval 'cat <<_LTECHO_EOF
3279$1
3280_LTECHO_EOF'
3281  }
3282  ECHO='func_fallback_echo'
3283fi
3284
3285# func_echo_all arg...
3286# Invoke $ECHO with all args, space-separated.
3287func_echo_all ()
3288{
3289    $ECHO ""
3290}
3291
3292case "$ECHO" in
3293  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3294$as_echo "printf" >&6; } ;;
3295  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3296$as_echo "print -r" >&6; } ;;
3297  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3298$as_echo "cat" >&6; } ;;
3299esac
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314DEPDIR="${am__leading_dot}deps"
3315
3316ac_config_commands="$ac_config_commands depfiles"
3317
3318
3319am_make=${MAKE-make}
3320cat > confinc << 'END'
3321am__doit:
3322	@echo this is the am__doit target
3323.PHONY: am__doit
3324END
3325# If we don't find an include directive, just comment out the code.
3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3327$as_echo_n "checking for style of include used by $am_make... " >&6; }
3328am__include="#"
3329am__quote=
3330_am_result=none
3331# First try GNU make style include.
3332echo "include confinc" > confmf
3333# Ignore all kinds of additional output from `make'.
3334case `$am_make -s -f confmf 2> /dev/null` in #(
3335*the\ am__doit\ target*)
3336  am__include=include
3337  am__quote=
3338  _am_result=GNU
3339  ;;
3340esac
3341# Now try BSD make style include.
3342if test "$am__include" = "#"; then
3343   echo '.include "confinc"' > confmf
3344   case `$am_make -s -f confmf 2> /dev/null` in #(
3345   *the\ am__doit\ target*)
3346     am__include=.include
3347     am__quote="\""
3348     _am_result=BSD
3349     ;;
3350   esac
3351fi
3352
3353
3354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3355$as_echo "$_am_result" >&6; }
3356rm -f confinc confmf
3357
3358# Check whether --enable-dependency-tracking was given.
3359if test "${enable_dependency_tracking+set}" = set; then :
3360  enableval=$enable_dependency_tracking;
3361fi
3362
3363if test "x$enable_dependency_tracking" != xno; then
3364  am_depcomp="$ac_aux_dir/depcomp"
3365  AMDEPBACKSLASH='\'
3366fi
3367 if test "x$enable_dependency_tracking" != xno; then
3368  AMDEP_TRUE=
3369  AMDEP_FALSE='#'
3370else
3371  AMDEP_TRUE='#'
3372  AMDEP_FALSE=
3373fi
3374
3375
3376ac_ext=c
3377ac_cpp='$CPP $CPPFLAGS'
3378ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3379ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3380ac_compiler_gnu=$ac_cv_c_compiler_gnu
3381if test -n "$ac_tool_prefix"; then
3382  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3383set dummy ${ac_tool_prefix}gcc; ac_word=$2
3384{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3385$as_echo_n "checking for $ac_word... " >&6; }
3386if ${ac_cv_prog_CC+:} false; then :
3387  $as_echo_n "(cached) " >&6
3388else
3389  if test -n "$CC"; then
3390  ac_cv_prog_CC="$CC" # Let the user override the test.
3391else
3392as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3393for as_dir in $PATH
3394do
3395  IFS=$as_save_IFS
3396  test -z "$as_dir" && as_dir=.
3397    for ac_exec_ext in '' $ac_executable_extensions; do
3398  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3399    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3400    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3401    break 2
3402  fi
3403done
3404  done
3405IFS=$as_save_IFS
3406
3407fi
3408fi
3409CC=$ac_cv_prog_CC
3410if test -n "$CC"; then
3411  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3412$as_echo "$CC" >&6; }
3413else
3414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3415$as_echo "no" >&6; }
3416fi
3417
3418
3419fi
3420if test -z "$ac_cv_prog_CC"; then
3421  ac_ct_CC=$CC
3422  # Extract the first word of "gcc", so it can be a program name with args.
3423set dummy gcc; ac_word=$2
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425$as_echo_n "checking for $ac_word... " >&6; }
3426if ${ac_cv_prog_ac_ct_CC+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  if test -n "$ac_ct_CC"; then
3430  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3431else
3432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433for as_dir in $PATH
3434do
3435  IFS=$as_save_IFS
3436  test -z "$as_dir" && as_dir=.
3437    for ac_exec_ext in '' $ac_executable_extensions; do
3438  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439    ac_cv_prog_ac_ct_CC="gcc"
3440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441    break 2
3442  fi
3443done
3444  done
3445IFS=$as_save_IFS
3446
3447fi
3448fi
3449ac_ct_CC=$ac_cv_prog_ac_ct_CC
3450if test -n "$ac_ct_CC"; then
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3452$as_echo "$ac_ct_CC" >&6; }
3453else
3454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455$as_echo "no" >&6; }
3456fi
3457
3458  if test "x$ac_ct_CC" = x; then
3459    CC=""
3460  else
3461    case $cross_compiling:$ac_tool_warned in
3462yes:)
3463{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3464$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3465ac_tool_warned=yes ;;
3466esac
3467    CC=$ac_ct_CC
3468  fi
3469else
3470  CC="$ac_cv_prog_CC"
3471fi
3472
3473if test -z "$CC"; then
3474          if test -n "$ac_tool_prefix"; then
3475    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3476set dummy ${ac_tool_prefix}cc; ac_word=$2
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478$as_echo_n "checking for $ac_word... " >&6; }
3479if ${ac_cv_prog_CC+:} false; then :
3480  $as_echo_n "(cached) " >&6
3481else
3482  if test -n "$CC"; then
3483  ac_cv_prog_CC="$CC" # Let the user override the test.
3484else
3485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486for as_dir in $PATH
3487do
3488  IFS=$as_save_IFS
3489  test -z "$as_dir" && as_dir=.
3490    for ac_exec_ext in '' $ac_executable_extensions; do
3491  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3492    ac_cv_prog_CC="${ac_tool_prefix}cc"
3493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494    break 2
3495  fi
3496done
3497  done
3498IFS=$as_save_IFS
3499
3500fi
3501fi
3502CC=$ac_cv_prog_CC
3503if test -n "$CC"; then
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3505$as_echo "$CC" >&6; }
3506else
3507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508$as_echo "no" >&6; }
3509fi
3510
3511
3512  fi
3513fi
3514if test -z "$CC"; then
3515  # Extract the first word of "cc", so it can be a program name with args.
3516set dummy cc; ac_word=$2
3517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3518$as_echo_n "checking for $ac_word... " >&6; }
3519if ${ac_cv_prog_CC+:} false; then :
3520  $as_echo_n "(cached) " >&6
3521else
3522  if test -n "$CC"; then
3523  ac_cv_prog_CC="$CC" # Let the user override the test.
3524else
3525  ac_prog_rejected=no
3526as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527for as_dir in $PATH
3528do
3529  IFS=$as_save_IFS
3530  test -z "$as_dir" && as_dir=.
3531    for ac_exec_ext in '' $ac_executable_extensions; do
3532  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3534       ac_prog_rejected=yes
3535       continue
3536     fi
3537    ac_cv_prog_CC="cc"
3538    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3539    break 2
3540  fi
3541done
3542  done
3543IFS=$as_save_IFS
3544
3545if test $ac_prog_rejected = yes; then
3546  # We found a bogon in the path, so make sure we never use it.
3547  set dummy $ac_cv_prog_CC
3548  shift
3549  if test $# != 0; then
3550    # We chose a different compiler from the bogus one.
3551    # However, it has the same basename, so the bogon will be chosen
3552    # first if we set CC to just the basename; use the full file name.
3553    shift
3554    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3555  fi
3556fi
3557fi
3558fi
3559CC=$ac_cv_prog_CC
3560if test -n "$CC"; then
3561  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3562$as_echo "$CC" >&6; }
3563else
3564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3565$as_echo "no" >&6; }
3566fi
3567
3568
3569fi
3570if test -z "$CC"; then
3571  if test -n "$ac_tool_prefix"; then
3572  for ac_prog in cl.exe
3573  do
3574    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3575set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3577$as_echo_n "checking for $ac_word... " >&6; }
3578if ${ac_cv_prog_CC+:} false; then :
3579  $as_echo_n "(cached) " >&6
3580else
3581  if test -n "$CC"; then
3582  ac_cv_prog_CC="$CC" # Let the user override the test.
3583else
3584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585for as_dir in $PATH
3586do
3587  IFS=$as_save_IFS
3588  test -z "$as_dir" && as_dir=.
3589    for ac_exec_ext in '' $ac_executable_extensions; do
3590  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3591    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3592    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593    break 2
3594  fi
3595done
3596  done
3597IFS=$as_save_IFS
3598
3599fi
3600fi
3601CC=$ac_cv_prog_CC
3602if test -n "$CC"; then
3603  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3604$as_echo "$CC" >&6; }
3605else
3606  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3607$as_echo "no" >&6; }
3608fi
3609
3610
3611    test -n "$CC" && break
3612  done
3613fi
3614if test -z "$CC"; then
3615  ac_ct_CC=$CC
3616  for ac_prog in cl.exe
3617do
3618  # Extract the first word of "$ac_prog", so it can be a program name with args.
3619set dummy $ac_prog; ac_word=$2
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621$as_echo_n "checking for $ac_word... " >&6; }
3622if ${ac_cv_prog_ac_ct_CC+:} false; then :
3623  $as_echo_n "(cached) " >&6
3624else
3625  if test -n "$ac_ct_CC"; then
3626  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3627else
3628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629for as_dir in $PATH
3630do
3631  IFS=$as_save_IFS
3632  test -z "$as_dir" && as_dir=.
3633    for ac_exec_ext in '' $ac_executable_extensions; do
3634  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3635    ac_cv_prog_ac_ct_CC="$ac_prog"
3636    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3637    break 2
3638  fi
3639done
3640  done
3641IFS=$as_save_IFS
3642
3643fi
3644fi
3645ac_ct_CC=$ac_cv_prog_ac_ct_CC
3646if test -n "$ac_ct_CC"; then
3647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3648$as_echo "$ac_ct_CC" >&6; }
3649else
3650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651$as_echo "no" >&6; }
3652fi
3653
3654
3655  test -n "$ac_ct_CC" && break
3656done
3657
3658  if test "x$ac_ct_CC" = x; then
3659    CC=""
3660  else
3661    case $cross_compiling:$ac_tool_warned in
3662yes:)
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3664$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3665ac_tool_warned=yes ;;
3666esac
3667    CC=$ac_ct_CC
3668  fi
3669fi
3670
3671fi
3672
3673
3674test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3675$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3676as_fn_error $? "no acceptable C compiler found in \$PATH
3677See \`config.log' for more details" "$LINENO" 5; }
3678
3679# Provide some information about the compiler.
3680$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3681set X $ac_compile
3682ac_compiler=$2
3683for ac_option in --version -v -V -qversion; do
3684  { { ac_try="$ac_compiler $ac_option >&5"
3685case "(($ac_try" in
3686  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687  *) ac_try_echo=$ac_try;;
3688esac
3689eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690$as_echo "$ac_try_echo"; } >&5
3691  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3692  ac_status=$?
3693  if test -s conftest.err; then
3694    sed '10a\
3695... rest of stderr output deleted ...
3696         10q' conftest.err >conftest.er1
3697    cat conftest.er1 >&5
3698  fi
3699  rm -f conftest.er1 conftest.err
3700  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3701  test $ac_status = 0; }
3702done
3703
3704cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3705/* end confdefs.h.  */
3706
3707int
3708main ()
3709{
3710
3711  ;
3712  return 0;
3713}
3714_ACEOF
3715ac_clean_files_save=$ac_clean_files
3716ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3717# Try to create an executable without -o first, disregard a.out.
3718# It will help us diagnose broken compilers, and finding out an intuition
3719# of exeext.
3720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3721$as_echo_n "checking whether the C compiler works... " >&6; }
3722ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3723
3724# The possible output files:
3725ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3726
3727ac_rmfiles=
3728for ac_file in $ac_files
3729do
3730  case $ac_file in
3731    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3732    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3733  esac
3734done
3735rm -f $ac_rmfiles
3736
3737if { { ac_try="$ac_link_default"
3738case "(($ac_try" in
3739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740  *) ac_try_echo=$ac_try;;
3741esac
3742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743$as_echo "$ac_try_echo"; } >&5
3744  (eval "$ac_link_default") 2>&5
3745  ac_status=$?
3746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3747  test $ac_status = 0; }; then :
3748  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3749# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3750# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3751# so that the user can short-circuit this test for compilers unknown to
3752# Autoconf.
3753for ac_file in $ac_files ''
3754do
3755  test -f "$ac_file" || continue
3756  case $ac_file in
3757    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3758	;;
3759    [ab].out )
3760	# We found the default executable, but exeext='' is most
3761	# certainly right.
3762	break;;
3763    *.* )
3764	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3765	then :; else
3766	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3767	fi
3768	# We set ac_cv_exeext here because the later test for it is not
3769	# safe: cross compilers may not add the suffix if given an `-o'
3770	# argument, so we may need to know it at that point already.
3771	# Even if this section looks crufty: it has the advantage of
3772	# actually working.
3773	break;;
3774    * )
3775	break;;
3776  esac
3777done
3778test "$ac_cv_exeext" = no && ac_cv_exeext=
3779
3780else
3781  ac_file=''
3782fi
3783if test -z "$ac_file"; then :
3784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785$as_echo "no" >&6; }
3786$as_echo "$as_me: failed program was:" >&5
3787sed 's/^/| /' conftest.$ac_ext >&5
3788
3789{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3790$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3791as_fn_error 77 "C compiler cannot create executables
3792See \`config.log' for more details" "$LINENO" 5; }
3793else
3794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3795$as_echo "yes" >&6; }
3796fi
3797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3798$as_echo_n "checking for C compiler default output file name... " >&6; }
3799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3800$as_echo "$ac_file" >&6; }
3801ac_exeext=$ac_cv_exeext
3802
3803rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3804ac_clean_files=$ac_clean_files_save
3805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3806$as_echo_n "checking for suffix of executables... " >&6; }
3807if { { ac_try="$ac_link"
3808case "(($ac_try" in
3809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3810  *) ac_try_echo=$ac_try;;
3811esac
3812eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3813$as_echo "$ac_try_echo"; } >&5
3814  (eval "$ac_link") 2>&5
3815  ac_status=$?
3816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3817  test $ac_status = 0; }; then :
3818  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3819# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3820# work properly (i.e., refer to `conftest.exe'), while it won't with
3821# `rm'.
3822for ac_file in conftest.exe conftest conftest.*; do
3823  test -f "$ac_file" || continue
3824  case $ac_file in
3825    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3826    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3827	  break;;
3828    * ) break;;
3829  esac
3830done
3831else
3832  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3833$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3834as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3835See \`config.log' for more details" "$LINENO" 5; }
3836fi
3837rm -f conftest conftest$ac_cv_exeext
3838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3839$as_echo "$ac_cv_exeext" >&6; }
3840
3841rm -f conftest.$ac_ext
3842EXEEXT=$ac_cv_exeext
3843ac_exeext=$EXEEXT
3844cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3845/* end confdefs.h.  */
3846#include <stdio.h>
3847int
3848main ()
3849{
3850FILE *f = fopen ("conftest.out", "w");
3851 return ferror (f) || fclose (f) != 0;
3852
3853  ;
3854  return 0;
3855}
3856_ACEOF
3857ac_clean_files="$ac_clean_files conftest.out"
3858# Check that the compiler produces executables we can run.  If not, either
3859# the compiler is broken, or we cross compile.
3860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3861$as_echo_n "checking whether we are cross compiling... " >&6; }
3862if test "$cross_compiling" != yes; then
3863  { { ac_try="$ac_link"
3864case "(($ac_try" in
3865  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3866  *) ac_try_echo=$ac_try;;
3867esac
3868eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3869$as_echo "$ac_try_echo"; } >&5
3870  (eval "$ac_link") 2>&5
3871  ac_status=$?
3872  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3873  test $ac_status = 0; }
3874  if { ac_try='./conftest$ac_cv_exeext'
3875  { { case "(($ac_try" in
3876  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3877  *) ac_try_echo=$ac_try;;
3878esac
3879eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3880$as_echo "$ac_try_echo"; } >&5
3881  (eval "$ac_try") 2>&5
3882  ac_status=$?
3883  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3884  test $ac_status = 0; }; }; then
3885    cross_compiling=no
3886  else
3887    if test "$cross_compiling" = maybe; then
3888	cross_compiling=yes
3889    else
3890	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892as_fn_error $? "cannot run C compiled programs.
3893If you meant to cross compile, use \`--host'.
3894See \`config.log' for more details" "$LINENO" 5; }
3895    fi
3896  fi
3897fi
3898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3899$as_echo "$cross_compiling" >&6; }
3900
3901rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3902ac_clean_files=$ac_clean_files_save
3903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3904$as_echo_n "checking for suffix of object files... " >&6; }
3905if ${ac_cv_objext+:} false; then :
3906  $as_echo_n "(cached) " >&6
3907else
3908  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909/* end confdefs.h.  */
3910
3911int
3912main ()
3913{
3914
3915  ;
3916  return 0;
3917}
3918_ACEOF
3919rm -f conftest.o conftest.obj
3920if { { ac_try="$ac_compile"
3921case "(($ac_try" in
3922  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923  *) ac_try_echo=$ac_try;;
3924esac
3925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3926$as_echo "$ac_try_echo"; } >&5
3927  (eval "$ac_compile") 2>&5
3928  ac_status=$?
3929  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3930  test $ac_status = 0; }; then :
3931  for ac_file in conftest.o conftest.obj conftest.*; do
3932  test -f "$ac_file" || continue;
3933  case $ac_file in
3934    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3935    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3936       break;;
3937  esac
3938done
3939else
3940  $as_echo "$as_me: failed program was:" >&5
3941sed 's/^/| /' conftest.$ac_ext >&5
3942
3943{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3944$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3945as_fn_error $? "cannot compute suffix of object files: cannot compile
3946See \`config.log' for more details" "$LINENO" 5; }
3947fi
3948rm -f conftest.$ac_cv_objext conftest.$ac_ext
3949fi
3950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3951$as_echo "$ac_cv_objext" >&6; }
3952OBJEXT=$ac_cv_objext
3953ac_objext=$OBJEXT
3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3955$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3956if ${ac_cv_c_compiler_gnu+:} false; then :
3957  $as_echo_n "(cached) " >&6
3958else
3959  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3960/* end confdefs.h.  */
3961
3962int
3963main ()
3964{
3965#ifndef __GNUC__
3966       choke me
3967#endif
3968
3969  ;
3970  return 0;
3971}
3972_ACEOF
3973if ac_fn_c_try_compile "$LINENO"; then :
3974  ac_compiler_gnu=yes
3975else
3976  ac_compiler_gnu=no
3977fi
3978rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3979ac_cv_c_compiler_gnu=$ac_compiler_gnu
3980
3981fi
3982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3983$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3984if test $ac_compiler_gnu = yes; then
3985  GCC=yes
3986else
3987  GCC=
3988fi
3989ac_test_CFLAGS=${CFLAGS+set}
3990ac_save_CFLAGS=$CFLAGS
3991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3992$as_echo_n "checking whether $CC accepts -g... " >&6; }
3993if ${ac_cv_prog_cc_g+:} false; then :
3994  $as_echo_n "(cached) " >&6
3995else
3996  ac_save_c_werror_flag=$ac_c_werror_flag
3997   ac_c_werror_flag=yes
3998   ac_cv_prog_cc_g=no
3999   CFLAGS="-g"
4000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4001/* end confdefs.h.  */
4002
4003int
4004main ()
4005{
4006
4007  ;
4008  return 0;
4009}
4010_ACEOF
4011if ac_fn_c_try_compile "$LINENO"; then :
4012  ac_cv_prog_cc_g=yes
4013else
4014  CFLAGS=""
4015      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016/* end confdefs.h.  */
4017
4018int
4019main ()
4020{
4021
4022  ;
4023  return 0;
4024}
4025_ACEOF
4026if ac_fn_c_try_compile "$LINENO"; then :
4027
4028else
4029  ac_c_werror_flag=$ac_save_c_werror_flag
4030	 CFLAGS="-g"
4031	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4032/* end confdefs.h.  */
4033
4034int
4035main ()
4036{
4037
4038  ;
4039  return 0;
4040}
4041_ACEOF
4042if ac_fn_c_try_compile "$LINENO"; then :
4043  ac_cv_prog_cc_g=yes
4044fi
4045rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4046fi
4047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4048fi
4049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4050   ac_c_werror_flag=$ac_save_c_werror_flag
4051fi
4052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4053$as_echo "$ac_cv_prog_cc_g" >&6; }
4054if test "$ac_test_CFLAGS" = set; then
4055  CFLAGS=$ac_save_CFLAGS
4056elif test $ac_cv_prog_cc_g = yes; then
4057  if test "$GCC" = yes; then
4058    CFLAGS="-g -O2"
4059  else
4060    CFLAGS="-g"
4061  fi
4062else
4063  if test "$GCC" = yes; then
4064    CFLAGS="-O2"
4065  else
4066    CFLAGS=
4067  fi
4068fi
4069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4070$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4071if ${ac_cv_prog_cc_c89+:} false; then :
4072  $as_echo_n "(cached) " >&6
4073else
4074  ac_cv_prog_cc_c89=no
4075ac_save_CC=$CC
4076cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4077/* end confdefs.h.  */
4078#include <stdarg.h>
4079#include <stdio.h>
4080#include <sys/types.h>
4081#include <sys/stat.h>
4082/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4083struct buf { int x; };
4084FILE * (*rcsopen) (struct buf *, struct stat *, int);
4085static char *e (p, i)
4086     char **p;
4087     int i;
4088{
4089  return p[i];
4090}
4091static char *f (char * (*g) (char **, int), char **p, ...)
4092{
4093  char *s;
4094  va_list v;
4095  va_start (v,p);
4096  s = g (p, va_arg (v,int));
4097  va_end (v);
4098  return s;
4099}
4100
4101/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4102   function prototypes and stuff, but not '\xHH' hex character constants.
4103   These don't provoke an error unfortunately, instead are silently treated
4104   as 'x'.  The following induces an error, until -std is added to get
4105   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4106   array size at least.  It's necessary to write '\x00'==0 to get something
4107   that's true only with -std.  */
4108int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4109
4110/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4111   inside strings and character constants.  */
4112#define FOO(x) 'x'
4113int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4114
4115int test (int i, double x);
4116struct s1 {int (*f) (int a);};
4117struct s2 {int (*f) (double a);};
4118int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4119int argc;
4120char **argv;
4121int
4122main ()
4123{
4124return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4125  ;
4126  return 0;
4127}
4128_ACEOF
4129for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4130	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4131do
4132  CC="$ac_save_CC $ac_arg"
4133  if ac_fn_c_try_compile "$LINENO"; then :
4134  ac_cv_prog_cc_c89=$ac_arg
4135fi
4136rm -f core conftest.err conftest.$ac_objext
4137  test "x$ac_cv_prog_cc_c89" != "xno" && break
4138done
4139rm -f conftest.$ac_ext
4140CC=$ac_save_CC
4141
4142fi
4143# AC_CACHE_VAL
4144case "x$ac_cv_prog_cc_c89" in
4145  x)
4146    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4147$as_echo "none needed" >&6; } ;;
4148  xno)
4149    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4150$as_echo "unsupported" >&6; } ;;
4151  *)
4152    CC="$CC $ac_cv_prog_cc_c89"
4153    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4154$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4155esac
4156if test "x$ac_cv_prog_cc_c89" != xno; then :
4157
4158fi
4159
4160ac_ext=c
4161ac_cpp='$CPP $CPPFLAGS'
4162ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4163ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4164ac_compiler_gnu=$ac_cv_c_compiler_gnu
4165
4166depcc="$CC"   am_compiler_list=
4167
4168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4169$as_echo_n "checking dependency style of $depcc... " >&6; }
4170if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4171  $as_echo_n "(cached) " >&6
4172else
4173  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4174  # We make a subdir and do the tests there.  Otherwise we can end up
4175  # making bogus files that we don't know about and never remove.  For
4176  # instance it was reported that on HP-UX the gcc test will end up
4177  # making a dummy file named `D' -- because `-MD' means `put the output
4178  # in D'.
4179  mkdir conftest.dir
4180  # Copy depcomp to subdir because otherwise we won't find it if we're
4181  # using a relative directory.
4182  cp "$am_depcomp" conftest.dir
4183  cd conftest.dir
4184  # We will build objects and dependencies in a subdirectory because
4185  # it helps to detect inapplicable dependency modes.  For instance
4186  # both Tru64's cc and ICC support -MD to output dependencies as a
4187  # side effect of compilation, but ICC will put the dependencies in
4188  # the current directory while Tru64 will put them in the object
4189  # directory.
4190  mkdir sub
4191
4192  am_cv_CC_dependencies_compiler_type=none
4193  if test "$am_compiler_list" = ""; then
4194     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4195  fi
4196  am__universal=false
4197  case " $depcc " in #(
4198     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4199     esac
4200
4201  for depmode in $am_compiler_list; do
4202    # Setup a source with many dependencies, because some compilers
4203    # like to wrap large dependency lists on column 80 (with \), and
4204    # we should not choose a depcomp mode which is confused by this.
4205    #
4206    # We need to recreate these files for each test, as the compiler may
4207    # overwrite some of them when testing with obscure command lines.
4208    # This happens at least with the AIX C compiler.
4209    : > sub/conftest.c
4210    for i in 1 2 3 4 5 6; do
4211      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4212      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4213      # Solaris 8's {/usr,}/bin/sh.
4214      touch sub/conftst$i.h
4215    done
4216    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4217
4218    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4219    # mode.  It turns out that the SunPro C++ compiler does not properly
4220    # handle `-M -o', and we need to detect this.  Also, some Intel
4221    # versions had trouble with output in subdirs
4222    am__obj=sub/conftest.${OBJEXT-o}
4223    am__minus_obj="-o $am__obj"
4224    case $depmode in
4225    gcc)
4226      # This depmode causes a compiler race in universal mode.
4227      test "$am__universal" = false || continue
4228      ;;
4229    nosideeffect)
4230      # after this tag, mechanisms are not by side-effect, so they'll
4231      # only be used when explicitly requested
4232      if test "x$enable_dependency_tracking" = xyes; then
4233	continue
4234      else
4235	break
4236      fi
4237      ;;
4238    msvisualcpp | msvcmsys)
4239      # This compiler won't grok `-c -o', but also, the minuso test has
4240      # not run yet.  These depmodes are late enough in the game, and
4241      # so weak that their functioning should not be impacted.
4242      am__obj=conftest.${OBJEXT-o}
4243      am__minus_obj=
4244      ;;
4245    none) break ;;
4246    esac
4247    if depmode=$depmode \
4248       source=sub/conftest.c object=$am__obj \
4249       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4250       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4251         >/dev/null 2>conftest.err &&
4252       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4253       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4254       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4255       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4256      # icc doesn't choke on unknown options, it will just issue warnings
4257      # or remarks (even with -Werror).  So we grep stderr for any message
4258      # that says an option was ignored or not supported.
4259      # When given -MP, icc 7.0 and 7.1 complain thusly:
4260      #   icc: Command line warning: ignoring option '-M'; no argument required
4261      # The diagnosis changed in icc 8.0:
4262      #   icc: Command line remark: option '-MP' not supported
4263      if (grep 'ignoring option' conftest.err ||
4264          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4265        am_cv_CC_dependencies_compiler_type=$depmode
4266        break
4267      fi
4268    fi
4269  done
4270
4271  cd ..
4272  rm -rf conftest.dir
4273else
4274  am_cv_CC_dependencies_compiler_type=none
4275fi
4276
4277fi
4278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4279$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4280CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4281
4282 if
4283  test "x$enable_dependency_tracking" != xno \
4284  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4285  am__fastdepCC_TRUE=
4286  am__fastdepCC_FALSE='#'
4287else
4288  am__fastdepCC_TRUE='#'
4289  am__fastdepCC_FALSE=
4290fi
4291
4292
4293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4294$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4295if ${ac_cv_path_SED+:} false; then :
4296  $as_echo_n "(cached) " >&6
4297else
4298            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4299     for ac_i in 1 2 3 4 5 6 7; do
4300       ac_script="$ac_script$as_nl$ac_script"
4301     done
4302     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4303     { ac_script=; unset ac_script;}
4304     if test -z "$SED"; then
4305  ac_path_SED_found=false
4306  # Loop through the user's path and test for each of PROGNAME-LIST
4307  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308for as_dir in $PATH
4309do
4310  IFS=$as_save_IFS
4311  test -z "$as_dir" && as_dir=.
4312    for ac_prog in sed gsed; do
4313    for ac_exec_ext in '' $ac_executable_extensions; do
4314      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4315      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4316# Check for GNU ac_path_SED and select it if it is found.
4317  # Check for GNU $ac_path_SED
4318case `"$ac_path_SED" --version 2>&1` in
4319*GNU*)
4320  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4321*)
4322  ac_count=0
4323  $as_echo_n 0123456789 >"conftest.in"
4324  while :
4325  do
4326    cat "conftest.in" "conftest.in" >"conftest.tmp"
4327    mv "conftest.tmp" "conftest.in"
4328    cp "conftest.in" "conftest.nl"
4329    $as_echo '' >> "conftest.nl"
4330    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4331    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4332    as_fn_arith $ac_count + 1 && ac_count=$as_val
4333    if test $ac_count -gt ${ac_path_SED_max-0}; then
4334      # Best one so far, save it but keep looking for a better one
4335      ac_cv_path_SED="$ac_path_SED"
4336      ac_path_SED_max=$ac_count
4337    fi
4338    # 10*(2^10) chars as input seems more than enough
4339    test $ac_count -gt 10 && break
4340  done
4341  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4342esac
4343
4344      $ac_path_SED_found && break 3
4345    done
4346  done
4347  done
4348IFS=$as_save_IFS
4349  if test -z "$ac_cv_path_SED"; then
4350    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4351  fi
4352else
4353  ac_cv_path_SED=$SED
4354fi
4355
4356fi
4357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4358$as_echo "$ac_cv_path_SED" >&6; }
4359 SED="$ac_cv_path_SED"
4360  rm -f conftest.sed
4361
4362test -z "$SED" && SED=sed
4363Xsed="$SED -e 1s/^X//"
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4376$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4377if ${ac_cv_path_GREP+:} false; then :
4378  $as_echo_n "(cached) " >&6
4379else
4380  if test -z "$GREP"; then
4381  ac_path_GREP_found=false
4382  # Loop through the user's path and test for each of PROGNAME-LIST
4383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4385do
4386  IFS=$as_save_IFS
4387  test -z "$as_dir" && as_dir=.
4388    for ac_prog in grep ggrep; do
4389    for ac_exec_ext in '' $ac_executable_extensions; do
4390      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4391      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4392# Check for GNU ac_path_GREP and select it if it is found.
4393  # Check for GNU $ac_path_GREP
4394case `"$ac_path_GREP" --version 2>&1` in
4395*GNU*)
4396  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4397*)
4398  ac_count=0
4399  $as_echo_n 0123456789 >"conftest.in"
4400  while :
4401  do
4402    cat "conftest.in" "conftest.in" >"conftest.tmp"
4403    mv "conftest.tmp" "conftest.in"
4404    cp "conftest.in" "conftest.nl"
4405    $as_echo 'GREP' >> "conftest.nl"
4406    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4407    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4408    as_fn_arith $ac_count + 1 && ac_count=$as_val
4409    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4410      # Best one so far, save it but keep looking for a better one
4411      ac_cv_path_GREP="$ac_path_GREP"
4412      ac_path_GREP_max=$ac_count
4413    fi
4414    # 10*(2^10) chars as input seems more than enough
4415    test $ac_count -gt 10 && break
4416  done
4417  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4418esac
4419
4420      $ac_path_GREP_found && break 3
4421    done
4422  done
4423  done
4424IFS=$as_save_IFS
4425  if test -z "$ac_cv_path_GREP"; then
4426    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4427  fi
4428else
4429  ac_cv_path_GREP=$GREP
4430fi
4431
4432fi
4433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4434$as_echo "$ac_cv_path_GREP" >&6; }
4435 GREP="$ac_cv_path_GREP"
4436
4437
4438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4439$as_echo_n "checking for egrep... " >&6; }
4440if ${ac_cv_path_EGREP+:} false; then :
4441  $as_echo_n "(cached) " >&6
4442else
4443  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4444   then ac_cv_path_EGREP="$GREP -E"
4445   else
4446     if test -z "$EGREP"; then
4447  ac_path_EGREP_found=false
4448  # Loop through the user's path and test for each of PROGNAME-LIST
4449  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4450for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4451do
4452  IFS=$as_save_IFS
4453  test -z "$as_dir" && as_dir=.
4454    for ac_prog in egrep; do
4455    for ac_exec_ext in '' $ac_executable_extensions; do
4456      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4457      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4458# Check for GNU ac_path_EGREP and select it if it is found.
4459  # Check for GNU $ac_path_EGREP
4460case `"$ac_path_EGREP" --version 2>&1` in
4461*GNU*)
4462  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4463*)
4464  ac_count=0
4465  $as_echo_n 0123456789 >"conftest.in"
4466  while :
4467  do
4468    cat "conftest.in" "conftest.in" >"conftest.tmp"
4469    mv "conftest.tmp" "conftest.in"
4470    cp "conftest.in" "conftest.nl"
4471    $as_echo 'EGREP' >> "conftest.nl"
4472    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4473    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4474    as_fn_arith $ac_count + 1 && ac_count=$as_val
4475    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4476      # Best one so far, save it but keep looking for a better one
4477      ac_cv_path_EGREP="$ac_path_EGREP"
4478      ac_path_EGREP_max=$ac_count
4479    fi
4480    # 10*(2^10) chars as input seems more than enough
4481    test $ac_count -gt 10 && break
4482  done
4483  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4484esac
4485
4486      $ac_path_EGREP_found && break 3
4487    done
4488  done
4489  done
4490IFS=$as_save_IFS
4491  if test -z "$ac_cv_path_EGREP"; then
4492    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4493  fi
4494else
4495  ac_cv_path_EGREP=$EGREP
4496fi
4497
4498   fi
4499fi
4500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4501$as_echo "$ac_cv_path_EGREP" >&6; }
4502 EGREP="$ac_cv_path_EGREP"
4503
4504
4505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4506$as_echo_n "checking for fgrep... " >&6; }
4507if ${ac_cv_path_FGREP+:} false; then :
4508  $as_echo_n "(cached) " >&6
4509else
4510  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4511   then ac_cv_path_FGREP="$GREP -F"
4512   else
4513     if test -z "$FGREP"; then
4514  ac_path_FGREP_found=false
4515  # Loop through the user's path and test for each of PROGNAME-LIST
4516  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4517for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4518do
4519  IFS=$as_save_IFS
4520  test -z "$as_dir" && as_dir=.
4521    for ac_prog in fgrep; do
4522    for ac_exec_ext in '' $ac_executable_extensions; do
4523      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4524      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4525# Check for GNU ac_path_FGREP and select it if it is found.
4526  # Check for GNU $ac_path_FGREP
4527case `"$ac_path_FGREP" --version 2>&1` in
4528*GNU*)
4529  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4530*)
4531  ac_count=0
4532  $as_echo_n 0123456789 >"conftest.in"
4533  while :
4534  do
4535    cat "conftest.in" "conftest.in" >"conftest.tmp"
4536    mv "conftest.tmp" "conftest.in"
4537    cp "conftest.in" "conftest.nl"
4538    $as_echo 'FGREP' >> "conftest.nl"
4539    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4540    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4541    as_fn_arith $ac_count + 1 && ac_count=$as_val
4542    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4543      # Best one so far, save it but keep looking for a better one
4544      ac_cv_path_FGREP="$ac_path_FGREP"
4545      ac_path_FGREP_max=$ac_count
4546    fi
4547    # 10*(2^10) chars as input seems more than enough
4548    test $ac_count -gt 10 && break
4549  done
4550  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4551esac
4552
4553      $ac_path_FGREP_found && break 3
4554    done
4555  done
4556  done
4557IFS=$as_save_IFS
4558  if test -z "$ac_cv_path_FGREP"; then
4559    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4560  fi
4561else
4562  ac_cv_path_FGREP=$FGREP
4563fi
4564
4565   fi
4566fi
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4568$as_echo "$ac_cv_path_FGREP" >&6; }
4569 FGREP="$ac_cv_path_FGREP"
4570
4571
4572test -z "$GREP" && GREP=grep
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592# Check whether --with-gnu-ld was given.
4593if test "${with_gnu_ld+set}" = set; then :
4594  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4595else
4596  with_gnu_ld=no
4597fi
4598
4599ac_prog=ld
4600if test "$GCC" = yes; then
4601  # Check if gcc -print-prog-name=ld gives a path.
4602  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4603$as_echo_n "checking for ld used by $CC... " >&6; }
4604  case $host in
4605  *-*-mingw*)
4606    # gcc leaves a trailing carriage return which upsets mingw
4607    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4608  *)
4609    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4610  esac
4611  case $ac_prog in
4612    # Accept absolute paths.
4613    [\\/]* | ?:[\\/]*)
4614      re_direlt='/[^/][^/]*/\.\./'
4615      # Canonicalize the pathname of ld
4616      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4617      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4618	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4619      done
4620      test -z "$LD" && LD="$ac_prog"
4621      ;;
4622  "")
4623    # If it fails, then pretend we aren't using GCC.
4624    ac_prog=ld
4625    ;;
4626  *)
4627    # If it is relative, then search for the first ld in PATH.
4628    with_gnu_ld=unknown
4629    ;;
4630  esac
4631elif test "$with_gnu_ld" = yes; then
4632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4633$as_echo_n "checking for GNU ld... " >&6; }
4634else
4635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4636$as_echo_n "checking for non-GNU ld... " >&6; }
4637fi
4638if ${lt_cv_path_LD+:} false; then :
4639  $as_echo_n "(cached) " >&6
4640else
4641  if test -z "$LD"; then
4642  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4643  for ac_dir in $PATH; do
4644    IFS="$lt_save_ifs"
4645    test -z "$ac_dir" && ac_dir=.
4646    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4647      lt_cv_path_LD="$ac_dir/$ac_prog"
4648      # Check to see if the program is GNU ld.  I'd rather use --version,
4649      # but apparently some variants of GNU ld only accept -v.
4650      # Break only if it was the GNU/non-GNU ld that we prefer.
4651      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4652      *GNU* | *'with BFD'*)
4653	test "$with_gnu_ld" != no && break
4654	;;
4655      *)
4656	test "$with_gnu_ld" != yes && break
4657	;;
4658      esac
4659    fi
4660  done
4661  IFS="$lt_save_ifs"
4662else
4663  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4664fi
4665fi
4666
4667LD="$lt_cv_path_LD"
4668if test -n "$LD"; then
4669  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4670$as_echo "$LD" >&6; }
4671else
4672  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4673$as_echo "no" >&6; }
4674fi
4675test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4677$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4678if ${lt_cv_prog_gnu_ld+:} false; then :
4679  $as_echo_n "(cached) " >&6
4680else
4681  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4682case `$LD -v 2>&1 </dev/null` in
4683*GNU* | *'with BFD'*)
4684  lt_cv_prog_gnu_ld=yes
4685  ;;
4686*)
4687  lt_cv_prog_gnu_ld=no
4688  ;;
4689esac
4690fi
4691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4692$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4693with_gnu_ld=$lt_cv_prog_gnu_ld
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4704$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4705if ${lt_cv_path_NM+:} false; then :
4706  $as_echo_n "(cached) " >&6
4707else
4708  if test -n "$NM"; then
4709  # Let the user override the test.
4710  lt_cv_path_NM="$NM"
4711else
4712  lt_nm_to_check="${ac_tool_prefix}nm"
4713  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4714    lt_nm_to_check="$lt_nm_to_check nm"
4715  fi
4716  for lt_tmp_nm in $lt_nm_to_check; do
4717    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4718    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4719      IFS="$lt_save_ifs"
4720      test -z "$ac_dir" && ac_dir=.
4721      tmp_nm="$ac_dir/$lt_tmp_nm"
4722      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4723	# Check to see if the nm accepts a BSD-compat flag.
4724	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4725	#   nm: unknown option "B" ignored
4726	# Tru64's nm complains that /dev/null is an invalid object file
4727	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4728	*/dev/null* | *'Invalid file or object type'*)
4729	  lt_cv_path_NM="$tmp_nm -B"
4730	  break
4731	  ;;
4732	*)
4733	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4734	  */dev/null*)
4735	    lt_cv_path_NM="$tmp_nm -p"
4736	    break
4737	    ;;
4738	  *)
4739	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4740	    continue # so that we can try to find one that supports BSD flags
4741	    ;;
4742	  esac
4743	  ;;
4744	esac
4745      fi
4746    done
4747    IFS="$lt_save_ifs"
4748  done
4749  : ${lt_cv_path_NM=no}
4750fi
4751fi
4752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4753$as_echo "$lt_cv_path_NM" >&6; }
4754if test "$lt_cv_path_NM" != "no"; then
4755  NM="$lt_cv_path_NM"
4756else
4757  # Didn't find any BSD compatible name lister, look for dumpbin.
4758  if test -n "$DUMPBIN"; then :
4759    # Let the user override the test.
4760  else
4761    if test -n "$ac_tool_prefix"; then
4762  for ac_prog in dumpbin "link -dump"
4763  do
4764    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4765set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4767$as_echo_n "checking for $ac_word... " >&6; }
4768if ${ac_cv_prog_DUMPBIN+:} false; then :
4769  $as_echo_n "(cached) " >&6
4770else
4771  if test -n "$DUMPBIN"; then
4772  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4773else
4774as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775for as_dir in $PATH
4776do
4777  IFS=$as_save_IFS
4778  test -z "$as_dir" && as_dir=.
4779    for ac_exec_ext in '' $ac_executable_extensions; do
4780  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4781    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4782    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783    break 2
4784  fi
4785done
4786  done
4787IFS=$as_save_IFS
4788
4789fi
4790fi
4791DUMPBIN=$ac_cv_prog_DUMPBIN
4792if test -n "$DUMPBIN"; then
4793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4794$as_echo "$DUMPBIN" >&6; }
4795else
4796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4797$as_echo "no" >&6; }
4798fi
4799
4800
4801    test -n "$DUMPBIN" && break
4802  done
4803fi
4804if test -z "$DUMPBIN"; then
4805  ac_ct_DUMPBIN=$DUMPBIN
4806  for ac_prog in dumpbin "link -dump"
4807do
4808  # Extract the first word of "$ac_prog", so it can be a program name with args.
4809set dummy $ac_prog; ac_word=$2
4810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811$as_echo_n "checking for $ac_word... " >&6; }
4812if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4813  $as_echo_n "(cached) " >&6
4814else
4815  if test -n "$ac_ct_DUMPBIN"; then
4816  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4817else
4818as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819for as_dir in $PATH
4820do
4821  IFS=$as_save_IFS
4822  test -z "$as_dir" && as_dir=.
4823    for ac_exec_ext in '' $ac_executable_extensions; do
4824  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4825    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4826    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4827    break 2
4828  fi
4829done
4830  done
4831IFS=$as_save_IFS
4832
4833fi
4834fi
4835ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4836if test -n "$ac_ct_DUMPBIN"; then
4837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4838$as_echo "$ac_ct_DUMPBIN" >&6; }
4839else
4840  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841$as_echo "no" >&6; }
4842fi
4843
4844
4845  test -n "$ac_ct_DUMPBIN" && break
4846done
4847
4848  if test "x$ac_ct_DUMPBIN" = x; then
4849    DUMPBIN=":"
4850  else
4851    case $cross_compiling:$ac_tool_warned in
4852yes:)
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4854$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4855ac_tool_warned=yes ;;
4856esac
4857    DUMPBIN=$ac_ct_DUMPBIN
4858  fi
4859fi
4860
4861    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4862    *COFF*)
4863      DUMPBIN="$DUMPBIN -symbols"
4864      ;;
4865    *)
4866      DUMPBIN=:
4867      ;;
4868    esac
4869  fi
4870
4871  if test "$DUMPBIN" != ":"; then
4872    NM="$DUMPBIN"
4873  fi
4874fi
4875test -z "$NM" && NM=nm
4876
4877
4878
4879
4880
4881
4882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4883$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4884if ${lt_cv_nm_interface+:} false; then :
4885  $as_echo_n "(cached) " >&6
4886else
4887  lt_cv_nm_interface="BSD nm"
4888  echo "int some_variable = 0;" > conftest.$ac_ext
4889  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4890  (eval "$ac_compile" 2>conftest.err)
4891  cat conftest.err >&5
4892  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4893  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4894  cat conftest.err >&5
4895  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4896  cat conftest.out >&5
4897  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4898    lt_cv_nm_interface="MS dumpbin"
4899  fi
4900  rm -f conftest*
4901fi
4902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4903$as_echo "$lt_cv_nm_interface" >&6; }
4904
4905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4906$as_echo_n "checking whether ln -s works... " >&6; }
4907LN_S=$as_ln_s
4908if test "$LN_S" = "ln -s"; then
4909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4910$as_echo "yes" >&6; }
4911else
4912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4913$as_echo "no, using $LN_S" >&6; }
4914fi
4915
4916# find the maximum length of command line arguments
4917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4918$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4919if ${lt_cv_sys_max_cmd_len+:} false; then :
4920  $as_echo_n "(cached) " >&6
4921else
4922    i=0
4923  teststring="ABCD"
4924
4925  case $build_os in
4926  msdosdjgpp*)
4927    # On DJGPP, this test can blow up pretty badly due to problems in libc
4928    # (any single argument exceeding 2000 bytes causes a buffer overrun
4929    # during glob expansion).  Even if it were fixed, the result of this
4930    # check would be larger than it should be.
4931    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4932    ;;
4933
4934  gnu*)
4935    # Under GNU Hurd, this test is not required because there is
4936    # no limit to the length of command line arguments.
4937    # Libtool will interpret -1 as no limit whatsoever
4938    lt_cv_sys_max_cmd_len=-1;
4939    ;;
4940
4941  cygwin* | mingw* | cegcc*)
4942    # On Win9x/ME, this test blows up -- it succeeds, but takes
4943    # about 5 minutes as the teststring grows exponentially.
4944    # Worse, since 9x/ME are not pre-emptively multitasking,
4945    # you end up with a "frozen" computer, even though with patience
4946    # the test eventually succeeds (with a max line length of 256k).
4947    # Instead, let's just punt: use the minimum linelength reported by
4948    # all of the supported platforms: 8192 (on NT/2K/XP).
4949    lt_cv_sys_max_cmd_len=8192;
4950    ;;
4951
4952  mint*)
4953    # On MiNT this can take a long time and run out of memory.
4954    lt_cv_sys_max_cmd_len=8192;
4955    ;;
4956
4957  amigaos*)
4958    # On AmigaOS with pdksh, this test takes hours, literally.
4959    # So we just punt and use a minimum line length of 8192.
4960    lt_cv_sys_max_cmd_len=8192;
4961    ;;
4962
4963  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4964    # This has been around since 386BSD, at least.  Likely further.
4965    if test -x /sbin/sysctl; then
4966      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4967    elif test -x /usr/sbin/sysctl; then
4968      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4969    else
4970      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4971    fi
4972    # And add a safety zone
4973    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4974    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4975    ;;
4976
4977  interix*)
4978    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4979    lt_cv_sys_max_cmd_len=196608
4980    ;;
4981
4982  osf*)
4983    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4984    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4985    # nice to cause kernel panics so lets avoid the loop below.
4986    # First set a reasonable default.
4987    lt_cv_sys_max_cmd_len=16384
4988    #
4989    if test -x /sbin/sysconfig; then
4990      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4991        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4992      esac
4993    fi
4994    ;;
4995  sco3.2v5*)
4996    lt_cv_sys_max_cmd_len=102400
4997    ;;
4998  sysv5* | sco5v6* | sysv4.2uw2*)
4999    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5000    if test -n "$kargmax"; then
5001      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5002    else
5003      lt_cv_sys_max_cmd_len=32768
5004    fi
5005    ;;
5006  *)
5007    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5008    if test -n "$lt_cv_sys_max_cmd_len"; then
5009      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5010      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5011    else
5012      # Make teststring a little bigger before we do anything with it.
5013      # a 1K string should be a reasonable start.
5014      for i in 1 2 3 4 5 6 7 8 ; do
5015        teststring=$teststring$teststring
5016      done
5017      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5018      # If test is not a shell built-in, we'll probably end up computing a
5019      # maximum length that is only half of the actual maximum length, but
5020      # we can't tell.
5021      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5022	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5023	      test $i != 17 # 1/2 MB should be enough
5024      do
5025        i=`expr $i + 1`
5026        teststring=$teststring$teststring
5027      done
5028      # Only check the string length outside the loop.
5029      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5030      teststring=
5031      # Add a significant safety factor because C++ compilers can tack on
5032      # massive amounts of additional arguments before passing them to the
5033      # linker.  It appears as though 1/2 is a usable value.
5034      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5035    fi
5036    ;;
5037  esac
5038
5039fi
5040
5041if test -n $lt_cv_sys_max_cmd_len ; then
5042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5043$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5044else
5045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5046$as_echo "none" >&6; }
5047fi
5048max_cmd_len=$lt_cv_sys_max_cmd_len
5049
5050
5051
5052
5053
5054
5055: ${CP="cp -f"}
5056: ${MV="mv -f"}
5057: ${RM="rm -f"}
5058
5059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5060$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5061# Try some XSI features
5062xsi_shell=no
5063( _lt_dummy="a/b/c"
5064  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5065      = c,a/b,b/c, \
5066    && eval 'test $(( 1 + 1 )) -eq 2 \
5067    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5068  && xsi_shell=yes
5069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5070$as_echo "$xsi_shell" >&6; }
5071
5072
5073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5074$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5075lt_shell_append=no
5076( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5077    >/dev/null 2>&1 \
5078  && lt_shell_append=yes
5079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5080$as_echo "$lt_shell_append" >&6; }
5081
5082
5083if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5084  lt_unset=unset
5085else
5086  lt_unset=false
5087fi
5088
5089
5090
5091
5092
5093# test EBCDIC or ASCII
5094case `echo X|tr X '\101'` in
5095 A) # ASCII based system
5096    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5097  lt_SP2NL='tr \040 \012'
5098  lt_NL2SP='tr \015\012 \040\040'
5099  ;;
5100 *) # EBCDIC based system
5101  lt_SP2NL='tr \100 \n'
5102  lt_NL2SP='tr \r\n \100\100'
5103  ;;
5104esac
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5115$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5116if ${lt_cv_to_host_file_cmd+:} false; then :
5117  $as_echo_n "(cached) " >&6
5118else
5119  case $host in
5120  *-*-mingw* )
5121    case $build in
5122      *-*-mingw* ) # actually msys
5123        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5124        ;;
5125      *-*-cygwin* )
5126        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5127        ;;
5128      * ) # otherwise, assume *nix
5129        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5130        ;;
5131    esac
5132    ;;
5133  *-*-cygwin* )
5134    case $build in
5135      *-*-mingw* ) # actually msys
5136        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5137        ;;
5138      *-*-cygwin* )
5139        lt_cv_to_host_file_cmd=func_convert_file_noop
5140        ;;
5141      * ) # otherwise, assume *nix
5142        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5143        ;;
5144    esac
5145    ;;
5146  * ) # unhandled hosts (and "normal" native builds)
5147    lt_cv_to_host_file_cmd=func_convert_file_noop
5148    ;;
5149esac
5150
5151fi
5152
5153to_host_file_cmd=$lt_cv_to_host_file_cmd
5154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5155$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5156
5157
5158
5159
5160
5161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5162$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5163if ${lt_cv_to_tool_file_cmd+:} false; then :
5164  $as_echo_n "(cached) " >&6
5165else
5166  #assume ordinary cross tools, or native build.
5167lt_cv_to_tool_file_cmd=func_convert_file_noop
5168case $host in
5169  *-*-mingw* )
5170    case $build in
5171      *-*-mingw* ) # actually msys
5172        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5173        ;;
5174    esac
5175    ;;
5176esac
5177
5178fi
5179
5180to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5182$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5183
5184
5185
5186
5187
5188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5189$as_echo_n "checking for $LD option to reload object files... " >&6; }
5190if ${lt_cv_ld_reload_flag+:} false; then :
5191  $as_echo_n "(cached) " >&6
5192else
5193  lt_cv_ld_reload_flag='-r'
5194fi
5195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5196$as_echo "$lt_cv_ld_reload_flag" >&6; }
5197reload_flag=$lt_cv_ld_reload_flag
5198case $reload_flag in
5199"" | " "*) ;;
5200*) reload_flag=" $reload_flag" ;;
5201esac
5202reload_cmds='$LD$reload_flag -o $output$reload_objs'
5203case $host_os in
5204  cygwin* | mingw* | pw32* | cegcc*)
5205    if test "$GCC" != yes; then
5206      reload_cmds=false
5207    fi
5208    ;;
5209  darwin*)
5210    if test "$GCC" = yes; then
5211      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5212    else
5213      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5214    fi
5215    ;;
5216esac
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226if test -n "$ac_tool_prefix"; then
5227  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5228set dummy ${ac_tool_prefix}objdump; ac_word=$2
5229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5230$as_echo_n "checking for $ac_word... " >&6; }
5231if ${ac_cv_prog_OBJDUMP+:} false; then :
5232  $as_echo_n "(cached) " >&6
5233else
5234  if test -n "$OBJDUMP"; then
5235  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5236else
5237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5238for as_dir in $PATH
5239do
5240  IFS=$as_save_IFS
5241  test -z "$as_dir" && as_dir=.
5242    for ac_exec_ext in '' $ac_executable_extensions; do
5243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5244    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5245    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5246    break 2
5247  fi
5248done
5249  done
5250IFS=$as_save_IFS
5251
5252fi
5253fi
5254OBJDUMP=$ac_cv_prog_OBJDUMP
5255if test -n "$OBJDUMP"; then
5256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5257$as_echo "$OBJDUMP" >&6; }
5258else
5259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5260$as_echo "no" >&6; }
5261fi
5262
5263
5264fi
5265if test -z "$ac_cv_prog_OBJDUMP"; then
5266  ac_ct_OBJDUMP=$OBJDUMP
5267  # Extract the first word of "objdump", so it can be a program name with args.
5268set dummy objdump; ac_word=$2
5269{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5270$as_echo_n "checking for $ac_word... " >&6; }
5271if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5272  $as_echo_n "(cached) " >&6
5273else
5274  if test -n "$ac_ct_OBJDUMP"; then
5275  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5276else
5277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5278for as_dir in $PATH
5279do
5280  IFS=$as_save_IFS
5281  test -z "$as_dir" && as_dir=.
5282    for ac_exec_ext in '' $ac_executable_extensions; do
5283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5284    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5285    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5286    break 2
5287  fi
5288done
5289  done
5290IFS=$as_save_IFS
5291
5292fi
5293fi
5294ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5295if test -n "$ac_ct_OBJDUMP"; then
5296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5297$as_echo "$ac_ct_OBJDUMP" >&6; }
5298else
5299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5300$as_echo "no" >&6; }
5301fi
5302
5303  if test "x$ac_ct_OBJDUMP" = x; then
5304    OBJDUMP="false"
5305  else
5306    case $cross_compiling:$ac_tool_warned in
5307yes:)
5308{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5309$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5310ac_tool_warned=yes ;;
5311esac
5312    OBJDUMP=$ac_ct_OBJDUMP
5313  fi
5314else
5315  OBJDUMP="$ac_cv_prog_OBJDUMP"
5316fi
5317
5318test -z "$OBJDUMP" && OBJDUMP=objdump
5319
5320
5321
5322
5323
5324
5325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5326$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5327if ${lt_cv_deplibs_check_method+:} false; then :
5328  $as_echo_n "(cached) " >&6
5329else
5330  lt_cv_file_magic_cmd='$MAGIC_CMD'
5331lt_cv_file_magic_test_file=
5332lt_cv_deplibs_check_method='unknown'
5333# Need to set the preceding variable on all platforms that support
5334# interlibrary dependencies.
5335# 'none' -- dependencies not supported.
5336# `unknown' -- same as none, but documents that we really don't know.
5337# 'pass_all' -- all dependencies passed with no checks.
5338# 'test_compile' -- check by making test program.
5339# 'file_magic [[regex]]' -- check by looking for files in library path
5340# which responds to the $file_magic_cmd with a given extended regex.
5341# If you have `file' or equivalent on your system and you're not sure
5342# whether `pass_all' will *always* work, you probably want this one.
5343
5344case $host_os in
5345aix[4-9]*)
5346  lt_cv_deplibs_check_method=pass_all
5347  ;;
5348
5349beos*)
5350  lt_cv_deplibs_check_method=pass_all
5351  ;;
5352
5353bsdi[45]*)
5354  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5355  lt_cv_file_magic_cmd='/usr/bin/file -L'
5356  lt_cv_file_magic_test_file=/shlib/libc.so
5357  ;;
5358
5359cygwin*)
5360  # func_win32_libid is a shell function defined in ltmain.sh
5361  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5362  lt_cv_file_magic_cmd='func_win32_libid'
5363  ;;
5364
5365mingw* | pw32*)
5366  # Base MSYS/MinGW do not provide the 'file' command needed by
5367  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5368  # unless we find 'file', for example because we are cross-compiling.
5369  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5370  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5371    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5372    lt_cv_file_magic_cmd='func_win32_libid'
5373  else
5374    # Keep this pattern in sync with the one in func_win32_libid.
5375    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5376    lt_cv_file_magic_cmd='$OBJDUMP -f'
5377  fi
5378  ;;
5379
5380cegcc*)
5381  # use the weaker test based on 'objdump'. See mingw*.
5382  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5383  lt_cv_file_magic_cmd='$OBJDUMP -f'
5384  ;;
5385
5386darwin* | rhapsody*)
5387  lt_cv_deplibs_check_method=pass_all
5388  ;;
5389
5390freebsd* | dragonfly*)
5391  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5392    case $host_cpu in
5393    i*86 )
5394      # Not sure whether the presence of OpenBSD here was a mistake.
5395      # Let's accept both of them until this is cleared up.
5396      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5397      lt_cv_file_magic_cmd=/usr/bin/file
5398      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5399      ;;
5400    esac
5401  else
5402    lt_cv_deplibs_check_method=pass_all
5403  fi
5404  ;;
5405
5406gnu*)
5407  lt_cv_deplibs_check_method=pass_all
5408  ;;
5409
5410haiku*)
5411  lt_cv_deplibs_check_method=pass_all
5412  ;;
5413
5414hpux10.20* | hpux11*)
5415  lt_cv_file_magic_cmd=/usr/bin/file
5416  case $host_cpu in
5417  ia64*)
5418    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5419    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5420    ;;
5421  hppa*64*)
5422    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]'
5423    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5424    ;;
5425  *)
5426    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5427    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5428    ;;
5429  esac
5430  ;;
5431
5432interix[3-9]*)
5433  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5434  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5435  ;;
5436
5437irix5* | irix6* | nonstopux*)
5438  case $LD in
5439  *-32|*"-32 ") libmagic=32-bit;;
5440  *-n32|*"-n32 ") libmagic=N32;;
5441  *-64|*"-64 ") libmagic=64-bit;;
5442  *) libmagic=never-match;;
5443  esac
5444  lt_cv_deplibs_check_method=pass_all
5445  ;;
5446
5447# This must be Linux ELF.
5448linux* | k*bsd*-gnu | kopensolaris*-gnu)
5449  lt_cv_deplibs_check_method=pass_all
5450  ;;
5451
5452netbsd*)
5453  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5454    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5455  else
5456    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5457  fi
5458  ;;
5459
5460newos6*)
5461  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5462  lt_cv_file_magic_cmd=/usr/bin/file
5463  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5464  ;;
5465
5466*nto* | *qnx*)
5467  lt_cv_deplibs_check_method=pass_all
5468  ;;
5469
5470openbsd*)
5471  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5472    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5473  else
5474    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5475  fi
5476  ;;
5477
5478osf3* | osf4* | osf5*)
5479  lt_cv_deplibs_check_method=pass_all
5480  ;;
5481
5482rdos*)
5483  lt_cv_deplibs_check_method=pass_all
5484  ;;
5485
5486solaris*)
5487  lt_cv_deplibs_check_method=pass_all
5488  ;;
5489
5490sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5491  lt_cv_deplibs_check_method=pass_all
5492  ;;
5493
5494sysv4 | sysv4.3*)
5495  case $host_vendor in
5496  motorola)
5497    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]'
5498    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5499    ;;
5500  ncr)
5501    lt_cv_deplibs_check_method=pass_all
5502    ;;
5503  sequent)
5504    lt_cv_file_magic_cmd='/bin/file'
5505    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5506    ;;
5507  sni)
5508    lt_cv_file_magic_cmd='/bin/file'
5509    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5510    lt_cv_file_magic_test_file=/lib/libc.so
5511    ;;
5512  siemens)
5513    lt_cv_deplibs_check_method=pass_all
5514    ;;
5515  pc)
5516    lt_cv_deplibs_check_method=pass_all
5517    ;;
5518  esac
5519  ;;
5520
5521tpf*)
5522  lt_cv_deplibs_check_method=pass_all
5523  ;;
5524esac
5525
5526fi
5527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5528$as_echo "$lt_cv_deplibs_check_method" >&6; }
5529
5530file_magic_glob=
5531want_nocaseglob=no
5532if test "$build" = "$host"; then
5533  case $host_os in
5534  mingw* | pw32*)
5535    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5536      want_nocaseglob=yes
5537    else
5538      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5539    fi
5540    ;;
5541  esac
5542fi
5543
5544file_magic_cmd=$lt_cv_file_magic_cmd
5545deplibs_check_method=$lt_cv_deplibs_check_method
5546test -z "$deplibs_check_method" && deplibs_check_method=unknown
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569if test -n "$ac_tool_prefix"; then
5570  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5571set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5573$as_echo_n "checking for $ac_word... " >&6; }
5574if ${ac_cv_prog_DLLTOOL+:} false; then :
5575  $as_echo_n "(cached) " >&6
5576else
5577  if test -n "$DLLTOOL"; then
5578  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5579else
5580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5581for as_dir in $PATH
5582do
5583  IFS=$as_save_IFS
5584  test -z "$as_dir" && as_dir=.
5585    for ac_exec_ext in '' $ac_executable_extensions; do
5586  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5588    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5589    break 2
5590  fi
5591done
5592  done
5593IFS=$as_save_IFS
5594
5595fi
5596fi
5597DLLTOOL=$ac_cv_prog_DLLTOOL
5598if test -n "$DLLTOOL"; then
5599  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5600$as_echo "$DLLTOOL" >&6; }
5601else
5602  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5603$as_echo "no" >&6; }
5604fi
5605
5606
5607fi
5608if test -z "$ac_cv_prog_DLLTOOL"; then
5609  ac_ct_DLLTOOL=$DLLTOOL
5610  # Extract the first word of "dlltool", so it can be a program name with args.
5611set dummy dlltool; ac_word=$2
5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613$as_echo_n "checking for $ac_word... " >&6; }
5614if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5615  $as_echo_n "(cached) " >&6
5616else
5617  if test -n "$ac_ct_DLLTOOL"; then
5618  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5619else
5620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621for as_dir in $PATH
5622do
5623  IFS=$as_save_IFS
5624  test -z "$as_dir" && as_dir=.
5625    for ac_exec_ext in '' $ac_executable_extensions; do
5626  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5628    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629    break 2
5630  fi
5631done
5632  done
5633IFS=$as_save_IFS
5634
5635fi
5636fi
5637ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5638if test -n "$ac_ct_DLLTOOL"; then
5639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5640$as_echo "$ac_ct_DLLTOOL" >&6; }
5641else
5642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643$as_echo "no" >&6; }
5644fi
5645
5646  if test "x$ac_ct_DLLTOOL" = x; then
5647    DLLTOOL="false"
5648  else
5649    case $cross_compiling:$ac_tool_warned in
5650yes:)
5651{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5652$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5653ac_tool_warned=yes ;;
5654esac
5655    DLLTOOL=$ac_ct_DLLTOOL
5656  fi
5657else
5658  DLLTOOL="$ac_cv_prog_DLLTOOL"
5659fi
5660
5661test -z "$DLLTOOL" && DLLTOOL=dlltool
5662
5663
5664
5665
5666
5667
5668
5669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5670$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5671if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5672  $as_echo_n "(cached) " >&6
5673else
5674  lt_cv_sharedlib_from_linklib_cmd='unknown'
5675
5676case $host_os in
5677cygwin* | mingw* | pw32* | cegcc*)
5678  # two different shell functions defined in ltmain.sh
5679  # decide which to use based on capabilities of $DLLTOOL
5680  case `$DLLTOOL --help 2>&1` in
5681  *--identify-strict*)
5682    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5683    ;;
5684  *)
5685    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5686    ;;
5687  esac
5688  ;;
5689*)
5690  # fallback: assume linklib IS sharedlib
5691  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5692  ;;
5693esac
5694
5695fi
5696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5697$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5698sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5699test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5700
5701
5702
5703
5704
5705
5706
5707
5708if test -n "$ac_tool_prefix"; then
5709  for ac_prog in ar
5710  do
5711    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5712set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5714$as_echo_n "checking for $ac_word... " >&6; }
5715if ${ac_cv_prog_AR+:} false; then :
5716  $as_echo_n "(cached) " >&6
5717else
5718  if test -n "$AR"; then
5719  ac_cv_prog_AR="$AR" # Let the user override the test.
5720else
5721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722for as_dir in $PATH
5723do
5724  IFS=$as_save_IFS
5725  test -z "$as_dir" && as_dir=.
5726    for ac_exec_ext in '' $ac_executable_extensions; do
5727  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5728    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5729    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5730    break 2
5731  fi
5732done
5733  done
5734IFS=$as_save_IFS
5735
5736fi
5737fi
5738AR=$ac_cv_prog_AR
5739if test -n "$AR"; then
5740  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5741$as_echo "$AR" >&6; }
5742else
5743  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5744$as_echo "no" >&6; }
5745fi
5746
5747
5748    test -n "$AR" && break
5749  done
5750fi
5751if test -z "$AR"; then
5752  ac_ct_AR=$AR
5753  for ac_prog in ar
5754do
5755  # Extract the first word of "$ac_prog", so it can be a program name with args.
5756set dummy $ac_prog; ac_word=$2
5757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5758$as_echo_n "checking for $ac_word... " >&6; }
5759if ${ac_cv_prog_ac_ct_AR+:} false; then :
5760  $as_echo_n "(cached) " >&6
5761else
5762  if test -n "$ac_ct_AR"; then
5763  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5764else
5765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5766for as_dir in $PATH
5767do
5768  IFS=$as_save_IFS
5769  test -z "$as_dir" && as_dir=.
5770    for ac_exec_ext in '' $ac_executable_extensions; do
5771  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5772    ac_cv_prog_ac_ct_AR="$ac_prog"
5773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5774    break 2
5775  fi
5776done
5777  done
5778IFS=$as_save_IFS
5779
5780fi
5781fi
5782ac_ct_AR=$ac_cv_prog_ac_ct_AR
5783if test -n "$ac_ct_AR"; then
5784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5785$as_echo "$ac_ct_AR" >&6; }
5786else
5787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788$as_echo "no" >&6; }
5789fi
5790
5791
5792  test -n "$ac_ct_AR" && break
5793done
5794
5795  if test "x$ac_ct_AR" = x; then
5796    AR="false"
5797  else
5798    case $cross_compiling:$ac_tool_warned in
5799yes:)
5800{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5801$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5802ac_tool_warned=yes ;;
5803esac
5804    AR=$ac_ct_AR
5805  fi
5806fi
5807
5808: ${AR=ar}
5809: ${AR_FLAGS=cru}
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5822$as_echo_n "checking for archiver @FILE support... " >&6; }
5823if ${lt_cv_ar_at_file+:} false; then :
5824  $as_echo_n "(cached) " >&6
5825else
5826  lt_cv_ar_at_file=no
5827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5828/* end confdefs.h.  */
5829
5830int
5831main ()
5832{
5833
5834  ;
5835  return 0;
5836}
5837_ACEOF
5838if ac_fn_c_try_compile "$LINENO"; then :
5839  echo conftest.$ac_objext > conftest.lst
5840      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5841      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5842  (eval $lt_ar_try) 2>&5
5843  ac_status=$?
5844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5845  test $ac_status = 0; }
5846      if test "$ac_status" -eq 0; then
5847	# Ensure the archiver fails upon bogus file names.
5848	rm -f conftest.$ac_objext libconftest.a
5849	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5850  (eval $lt_ar_try) 2>&5
5851  ac_status=$?
5852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5853  test $ac_status = 0; }
5854	if test "$ac_status" -ne 0; then
5855          lt_cv_ar_at_file=@
5856        fi
5857      fi
5858      rm -f conftest.* libconftest.a
5859
5860fi
5861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5862
5863fi
5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5865$as_echo "$lt_cv_ar_at_file" >&6; }
5866
5867if test "x$lt_cv_ar_at_file" = xno; then
5868  archiver_list_spec=
5869else
5870  archiver_list_spec=$lt_cv_ar_at_file
5871fi
5872
5873
5874
5875
5876
5877
5878
5879if test -n "$ac_tool_prefix"; then
5880  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5881set dummy ${ac_tool_prefix}strip; ac_word=$2
5882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5883$as_echo_n "checking for $ac_word... " >&6; }
5884if ${ac_cv_prog_STRIP+:} false; then :
5885  $as_echo_n "(cached) " >&6
5886else
5887  if test -n "$STRIP"; then
5888  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5889else
5890as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891for as_dir in $PATH
5892do
5893  IFS=$as_save_IFS
5894  test -z "$as_dir" && as_dir=.
5895    for ac_exec_ext in '' $ac_executable_extensions; do
5896  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5897    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5899    break 2
5900  fi
5901done
5902  done
5903IFS=$as_save_IFS
5904
5905fi
5906fi
5907STRIP=$ac_cv_prog_STRIP
5908if test -n "$STRIP"; then
5909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5910$as_echo "$STRIP" >&6; }
5911else
5912  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913$as_echo "no" >&6; }
5914fi
5915
5916
5917fi
5918if test -z "$ac_cv_prog_STRIP"; then
5919  ac_ct_STRIP=$STRIP
5920  # Extract the first word of "strip", so it can be a program name with args.
5921set dummy strip; ac_word=$2
5922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5923$as_echo_n "checking for $ac_word... " >&6; }
5924if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5925  $as_echo_n "(cached) " >&6
5926else
5927  if test -n "$ac_ct_STRIP"; then
5928  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5929else
5930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931for as_dir in $PATH
5932do
5933  IFS=$as_save_IFS
5934  test -z "$as_dir" && as_dir=.
5935    for ac_exec_ext in '' $ac_executable_extensions; do
5936  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5937    ac_cv_prog_ac_ct_STRIP="strip"
5938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5939    break 2
5940  fi
5941done
5942  done
5943IFS=$as_save_IFS
5944
5945fi
5946fi
5947ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5948if test -n "$ac_ct_STRIP"; then
5949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5950$as_echo "$ac_ct_STRIP" >&6; }
5951else
5952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5953$as_echo "no" >&6; }
5954fi
5955
5956  if test "x$ac_ct_STRIP" = x; then
5957    STRIP=":"
5958  else
5959    case $cross_compiling:$ac_tool_warned in
5960yes:)
5961{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5962$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5963ac_tool_warned=yes ;;
5964esac
5965    STRIP=$ac_ct_STRIP
5966  fi
5967else
5968  STRIP="$ac_cv_prog_STRIP"
5969fi
5970
5971test -z "$STRIP" && STRIP=:
5972
5973
5974
5975
5976
5977
5978if test -n "$ac_tool_prefix"; then
5979  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5980set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982$as_echo_n "checking for $ac_word... " >&6; }
5983if ${ac_cv_prog_RANLIB+:} false; then :
5984  $as_echo_n "(cached) " >&6
5985else
5986  if test -n "$RANLIB"; then
5987  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5988else
5989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990for as_dir in $PATH
5991do
5992  IFS=$as_save_IFS
5993  test -z "$as_dir" && as_dir=.
5994    for ac_exec_ext in '' $ac_executable_extensions; do
5995  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5996    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998    break 2
5999  fi
6000done
6001  done
6002IFS=$as_save_IFS
6003
6004fi
6005fi
6006RANLIB=$ac_cv_prog_RANLIB
6007if test -n "$RANLIB"; then
6008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6009$as_echo "$RANLIB" >&6; }
6010else
6011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012$as_echo "no" >&6; }
6013fi
6014
6015
6016fi
6017if test -z "$ac_cv_prog_RANLIB"; then
6018  ac_ct_RANLIB=$RANLIB
6019  # Extract the first word of "ranlib", so it can be a program name with args.
6020set dummy ranlib; ac_word=$2
6021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6022$as_echo_n "checking for $ac_word... " >&6; }
6023if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6024  $as_echo_n "(cached) " >&6
6025else
6026  if test -n "$ac_ct_RANLIB"; then
6027  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6028else
6029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030for as_dir in $PATH
6031do
6032  IFS=$as_save_IFS
6033  test -z "$as_dir" && as_dir=.
6034    for ac_exec_ext in '' $ac_executable_extensions; do
6035  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6036    ac_cv_prog_ac_ct_RANLIB="ranlib"
6037    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6038    break 2
6039  fi
6040done
6041  done
6042IFS=$as_save_IFS
6043
6044fi
6045fi
6046ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6047if test -n "$ac_ct_RANLIB"; then
6048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6049$as_echo "$ac_ct_RANLIB" >&6; }
6050else
6051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6052$as_echo "no" >&6; }
6053fi
6054
6055  if test "x$ac_ct_RANLIB" = x; then
6056    RANLIB=":"
6057  else
6058    case $cross_compiling:$ac_tool_warned in
6059yes:)
6060{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6061$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6062ac_tool_warned=yes ;;
6063esac
6064    RANLIB=$ac_ct_RANLIB
6065  fi
6066else
6067  RANLIB="$ac_cv_prog_RANLIB"
6068fi
6069
6070test -z "$RANLIB" && RANLIB=:
6071
6072
6073
6074
6075
6076
6077# Determine commands to create old-style static archives.
6078old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6079old_postinstall_cmds='chmod 644 $oldlib'
6080old_postuninstall_cmds=
6081
6082if test -n "$RANLIB"; then
6083  case $host_os in
6084  openbsd*)
6085    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6086    ;;
6087  *)
6088    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6089    ;;
6090  esac
6091  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6092fi
6093
6094case $host_os in
6095  darwin*)
6096    lock_old_archive_extraction=yes ;;
6097  *)
6098    lock_old_archive_extraction=no ;;
6099esac
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139# If no C compiler was specified, use CC.
6140LTCC=${LTCC-"$CC"}
6141
6142# If no C compiler flags were specified, use CFLAGS.
6143LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6144
6145# Allow CC to be a program name with arguments.
6146compiler=$CC
6147
6148
6149# Check for command to grab the raw symbol name followed by C symbol from nm.
6150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6151$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6152if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6153  $as_echo_n "(cached) " >&6
6154else
6155
6156# These are sane defaults that work on at least a few old systems.
6157# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6158
6159# Character class describing NM global symbol codes.
6160symcode='[BCDEGRST]'
6161
6162# Regexp to match symbols that can be accessed directly from C.
6163sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6164
6165# Define system-specific variables.
6166case $host_os in
6167aix*)
6168  symcode='[BCDT]'
6169  ;;
6170cygwin* | mingw* | pw32* | cegcc*)
6171  symcode='[ABCDGISTW]'
6172  ;;
6173hpux*)
6174  if test "$host_cpu" = ia64; then
6175    symcode='[ABCDEGRST]'
6176  fi
6177  ;;
6178irix* | nonstopux*)
6179  symcode='[BCDEGRST]'
6180  ;;
6181osf*)
6182  symcode='[BCDEGQRST]'
6183  ;;
6184solaris*)
6185  symcode='[BDRT]'
6186  ;;
6187sco3.2v5*)
6188  symcode='[DT]'
6189  ;;
6190sysv4.2uw2*)
6191  symcode='[DT]'
6192  ;;
6193sysv5* | sco5v6* | unixware* | OpenUNIX*)
6194  symcode='[ABDT]'
6195  ;;
6196sysv4)
6197  symcode='[DFNSTU]'
6198  ;;
6199esac
6200
6201# If we're using GNU nm, then use its standard symbol codes.
6202case `$NM -V 2>&1` in
6203*GNU* | *'with BFD'*)
6204  symcode='[ABCDGIRSTW]' ;;
6205esac
6206
6207# Transform an extracted symbol line into a proper C declaration.
6208# Some systems (esp. on ia64) link data and code symbols differently,
6209# so use this general approach.
6210lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6211
6212# Transform an extracted symbol line into symbol name and symbol address
6213lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6214lt_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'"
6215
6216# Handle CRLF in mingw tool chain
6217opt_cr=
6218case $build_os in
6219mingw*)
6220  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6221  ;;
6222esac
6223
6224# Try without a prefix underscore, then with it.
6225for ac_symprfx in "" "_"; do
6226
6227  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6228  symxfrm="\\1 $ac_symprfx\\2 \\2"
6229
6230  # Write the raw and C identifiers.
6231  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6232    # Fake it for dumpbin and say T for any non-static function
6233    # and D for any global variable.
6234    # Also find C++ and __fastcall symbols from MSVC++,
6235    # which start with @ or ?.
6236    lt_cv_sys_global_symbol_pipe="$AWK '"\
6237"     {last_section=section; section=\$ 3};"\
6238"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6239"     \$ 0!~/External *\|/{next};"\
6240"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6241"     {if(hide[section]) next};"\
6242"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6243"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6244"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6245"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6246"     ' prfx=^$ac_symprfx"
6247  else
6248    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6249  fi
6250  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6251
6252  # Check to see that the pipe works correctly.
6253  pipe_works=no
6254
6255  rm -f conftest*
6256  cat > conftest.$ac_ext <<_LT_EOF
6257#ifdef __cplusplus
6258extern "C" {
6259#endif
6260char nm_test_var;
6261void nm_test_func(void);
6262void nm_test_func(void){}
6263#ifdef __cplusplus
6264}
6265#endif
6266int main(){nm_test_var='a';nm_test_func();return(0);}
6267_LT_EOF
6268
6269  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6270  (eval $ac_compile) 2>&5
6271  ac_status=$?
6272  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6273  test $ac_status = 0; }; then
6274    # Now try to grab the symbols.
6275    nlist=conftest.nm
6276    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6277  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6278  ac_status=$?
6279  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6280  test $ac_status = 0; } && test -s "$nlist"; then
6281      # Try sorting and uniquifying the output.
6282      if sort "$nlist" | uniq > "$nlist"T; then
6283	mv -f "$nlist"T "$nlist"
6284      else
6285	rm -f "$nlist"T
6286      fi
6287
6288      # Make sure that we snagged all the symbols we need.
6289      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6290	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6291	  cat <<_LT_EOF > conftest.$ac_ext
6292/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6293#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6294/* DATA imports from DLLs on WIN32 con't be const, because runtime
6295   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6296# define LT_DLSYM_CONST
6297#elif defined(__osf__)
6298/* This system does not cope well with relocations in const data.  */
6299# define LT_DLSYM_CONST
6300#else
6301# define LT_DLSYM_CONST const
6302#endif
6303
6304#ifdef __cplusplus
6305extern "C" {
6306#endif
6307
6308_LT_EOF
6309	  # Now generate the symbol file.
6310	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6311
6312	  cat <<_LT_EOF >> conftest.$ac_ext
6313
6314/* The mapping between symbol names and symbols.  */
6315LT_DLSYM_CONST struct {
6316  const char *name;
6317  void       *address;
6318}
6319lt__PROGRAM__LTX_preloaded_symbols[] =
6320{
6321  { "@PROGRAM@", (void *) 0 },
6322_LT_EOF
6323	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6324	  cat <<\_LT_EOF >> conftest.$ac_ext
6325  {0, (void *) 0}
6326};
6327
6328/* This works around a problem in FreeBSD linker */
6329#ifdef FREEBSD_WORKAROUND
6330static const void *lt_preloaded_setup() {
6331  return lt__PROGRAM__LTX_preloaded_symbols;
6332}
6333#endif
6334
6335#ifdef __cplusplus
6336}
6337#endif
6338_LT_EOF
6339	  # Now try linking the two files.
6340	  mv conftest.$ac_objext conftstm.$ac_objext
6341	  lt_globsym_save_LIBS=$LIBS
6342	  lt_globsym_save_CFLAGS=$CFLAGS
6343	  LIBS="conftstm.$ac_objext"
6344	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6345	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6346  (eval $ac_link) 2>&5
6347  ac_status=$?
6348  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6349  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6350	    pipe_works=yes
6351	  fi
6352	  LIBS=$lt_globsym_save_LIBS
6353	  CFLAGS=$lt_globsym_save_CFLAGS
6354	else
6355	  echo "cannot find nm_test_func in $nlist" >&5
6356	fi
6357      else
6358	echo "cannot find nm_test_var in $nlist" >&5
6359      fi
6360    else
6361      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6362    fi
6363  else
6364    echo "$progname: failed program was:" >&5
6365    cat conftest.$ac_ext >&5
6366  fi
6367  rm -rf conftest* conftst*
6368
6369  # Do not use the global_symbol_pipe unless it works.
6370  if test "$pipe_works" = yes; then
6371    break
6372  else
6373    lt_cv_sys_global_symbol_pipe=
6374  fi
6375done
6376
6377fi
6378
6379if test -z "$lt_cv_sys_global_symbol_pipe"; then
6380  lt_cv_sys_global_symbol_to_cdecl=
6381fi
6382if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6384$as_echo "failed" >&6; }
6385else
6386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6387$as_echo "ok" >&6; }
6388fi
6389
6390# Response file support.
6391if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6392  nm_file_list_spec='@'
6393elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6394  nm_file_list_spec='@'
6395fi
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6424$as_echo_n "checking for sysroot... " >&6; }
6425
6426# Check whether --with-sysroot was given.
6427if test "${with_sysroot+set}" = set; then :
6428  withval=$with_sysroot;
6429else
6430  with_sysroot=no
6431fi
6432
6433
6434lt_sysroot=
6435case ${with_sysroot} in #(
6436 yes)
6437   if test "$GCC" = yes; then
6438     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6439   fi
6440   ;; #(
6441 /*)
6442   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6443   ;; #(
6444 no|'')
6445   ;; #(
6446 *)
6447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6448$as_echo "${with_sysroot}" >&6; }
6449   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6450   ;;
6451esac
6452
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6454$as_echo "${lt_sysroot:-no}" >&6; }
6455
6456
6457
6458
6459
6460# Check whether --enable-libtool-lock was given.
6461if test "${enable_libtool_lock+set}" = set; then :
6462  enableval=$enable_libtool_lock;
6463fi
6464
6465test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6466
6467# Some flags need to be propagated to the compiler or linker for good
6468# libtool support.
6469case $host in
6470ia64-*-hpux*)
6471  # Find out which ABI we are using.
6472  echo 'int i;' > conftest.$ac_ext
6473  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6474  (eval $ac_compile) 2>&5
6475  ac_status=$?
6476  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6477  test $ac_status = 0; }; then
6478    case `/usr/bin/file conftest.$ac_objext` in
6479      *ELF-32*)
6480	HPUX_IA64_MODE="32"
6481	;;
6482      *ELF-64*)
6483	HPUX_IA64_MODE="64"
6484	;;
6485    esac
6486  fi
6487  rm -rf conftest*
6488  ;;
6489*-*-irix6*)
6490  # Find out which ABI we are using.
6491  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6492  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6493  (eval $ac_compile) 2>&5
6494  ac_status=$?
6495  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6496  test $ac_status = 0; }; then
6497    if test "$lt_cv_prog_gnu_ld" = yes; then
6498      case `/usr/bin/file conftest.$ac_objext` in
6499	*32-bit*)
6500	  LD="${LD-ld} -melf32bsmip"
6501	  ;;
6502	*N32*)
6503	  LD="${LD-ld} -melf32bmipn32"
6504	  ;;
6505	*64-bit*)
6506	  LD="${LD-ld} -melf64bmip"
6507	;;
6508      esac
6509    else
6510      case `/usr/bin/file conftest.$ac_objext` in
6511	*32-bit*)
6512	  LD="${LD-ld} -32"
6513	  ;;
6514	*N32*)
6515	  LD="${LD-ld} -n32"
6516	  ;;
6517	*64-bit*)
6518	  LD="${LD-ld} -64"
6519	  ;;
6520      esac
6521    fi
6522  fi
6523  rm -rf conftest*
6524  ;;
6525
6526x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6527s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6528  # Find out which ABI we are using.
6529  echo 'int i;' > conftest.$ac_ext
6530  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6531  (eval $ac_compile) 2>&5
6532  ac_status=$?
6533  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6534  test $ac_status = 0; }; then
6535    case `/usr/bin/file conftest.o` in
6536      *32-bit*)
6537	case $host in
6538	  x86_64-*kfreebsd*-gnu)
6539	    LD="${LD-ld} -m elf_i386_fbsd"
6540	    ;;
6541	  x86_64-*linux*)
6542	    LD="${LD-ld} -m elf_i386"
6543	    ;;
6544	  ppc64-*linux*|powerpc64-*linux*)
6545	    LD="${LD-ld} -m elf32ppclinux"
6546	    ;;
6547	  s390x-*linux*)
6548	    LD="${LD-ld} -m elf_s390"
6549	    ;;
6550	  sparc64-*linux*)
6551	    LD="${LD-ld} -m elf32_sparc"
6552	    ;;
6553	esac
6554	;;
6555      *64-bit*)
6556	case $host in
6557	  x86_64-*kfreebsd*-gnu)
6558	    LD="${LD-ld} -m elf_x86_64_fbsd"
6559	    ;;
6560	  x86_64-*linux*)
6561	    LD="${LD-ld} -m elf_x86_64"
6562	    ;;
6563	  ppc*-*linux*|powerpc*-*linux*)
6564	    LD="${LD-ld} -m elf64ppc"
6565	    ;;
6566	  s390*-*linux*|s390*-*tpf*)
6567	    LD="${LD-ld} -m elf64_s390"
6568	    ;;
6569	  sparc*-*linux*)
6570	    LD="${LD-ld} -m elf64_sparc"
6571	    ;;
6572	esac
6573	;;
6574    esac
6575  fi
6576  rm -rf conftest*
6577  ;;
6578
6579*-*-sco3.2v5*)
6580  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6581  SAVE_CFLAGS="$CFLAGS"
6582  CFLAGS="$CFLAGS -belf"
6583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6584$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6585if ${lt_cv_cc_needs_belf+:} false; then :
6586  $as_echo_n "(cached) " >&6
6587else
6588  ac_ext=c
6589ac_cpp='$CPP $CPPFLAGS'
6590ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6591ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6592ac_compiler_gnu=$ac_cv_c_compiler_gnu
6593
6594     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6595/* end confdefs.h.  */
6596
6597int
6598main ()
6599{
6600
6601  ;
6602  return 0;
6603}
6604_ACEOF
6605if ac_fn_c_try_link "$LINENO"; then :
6606  lt_cv_cc_needs_belf=yes
6607else
6608  lt_cv_cc_needs_belf=no
6609fi
6610rm -f core conftest.err conftest.$ac_objext \
6611    conftest$ac_exeext conftest.$ac_ext
6612     ac_ext=c
6613ac_cpp='$CPP $CPPFLAGS'
6614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6616ac_compiler_gnu=$ac_cv_c_compiler_gnu
6617
6618fi
6619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6620$as_echo "$lt_cv_cc_needs_belf" >&6; }
6621  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6622    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6623    CFLAGS="$SAVE_CFLAGS"
6624  fi
6625  ;;
6626sparc*-*solaris*)
6627  # Find out which ABI we are using.
6628  echo 'int i;' > conftest.$ac_ext
6629  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6630  (eval $ac_compile) 2>&5
6631  ac_status=$?
6632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6633  test $ac_status = 0; }; then
6634    case `/usr/bin/file conftest.o` in
6635    *64-bit*)
6636      case $lt_cv_prog_gnu_ld in
6637      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6638      *)
6639	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6640	  LD="${LD-ld} -64"
6641	fi
6642	;;
6643      esac
6644      ;;
6645    esac
6646  fi
6647  rm -rf conftest*
6648  ;;
6649esac
6650
6651need_locks="$enable_libtool_lock"
6652
6653if test -n "$ac_tool_prefix"; then
6654  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6655set dummy ${ac_tool_prefix}mt; ac_word=$2
6656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6657$as_echo_n "checking for $ac_word... " >&6; }
6658if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6659  $as_echo_n "(cached) " >&6
6660else
6661  if test -n "$MANIFEST_TOOL"; then
6662  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6663else
6664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6665for as_dir in $PATH
6666do
6667  IFS=$as_save_IFS
6668  test -z "$as_dir" && as_dir=.
6669    for ac_exec_ext in '' $ac_executable_extensions; do
6670  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6671    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6672    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6673    break 2
6674  fi
6675done
6676  done
6677IFS=$as_save_IFS
6678
6679fi
6680fi
6681MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6682if test -n "$MANIFEST_TOOL"; then
6683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6684$as_echo "$MANIFEST_TOOL" >&6; }
6685else
6686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6687$as_echo "no" >&6; }
6688fi
6689
6690
6691fi
6692if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6693  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6694  # Extract the first word of "mt", so it can be a program name with args.
6695set dummy mt; ac_word=$2
6696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6697$as_echo_n "checking for $ac_word... " >&6; }
6698if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6699  $as_echo_n "(cached) " >&6
6700else
6701  if test -n "$ac_ct_MANIFEST_TOOL"; then
6702  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6703else
6704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6705for as_dir in $PATH
6706do
6707  IFS=$as_save_IFS
6708  test -z "$as_dir" && as_dir=.
6709    for ac_exec_ext in '' $ac_executable_extensions; do
6710  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6711    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6712    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6713    break 2
6714  fi
6715done
6716  done
6717IFS=$as_save_IFS
6718
6719fi
6720fi
6721ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6722if test -n "$ac_ct_MANIFEST_TOOL"; then
6723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6724$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6725else
6726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6727$as_echo "no" >&6; }
6728fi
6729
6730  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6731    MANIFEST_TOOL=":"
6732  else
6733    case $cross_compiling:$ac_tool_warned in
6734yes:)
6735{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6736$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6737ac_tool_warned=yes ;;
6738esac
6739    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6740  fi
6741else
6742  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6743fi
6744
6745test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6747$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6748if ${lt_cv_path_mainfest_tool+:} false; then :
6749  $as_echo_n "(cached) " >&6
6750else
6751  lt_cv_path_mainfest_tool=no
6752  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6753  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6754  cat conftest.err >&5
6755  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6756    lt_cv_path_mainfest_tool=yes
6757  fi
6758  rm -f conftest*
6759fi
6760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6761$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6762if test "x$lt_cv_path_mainfest_tool" != xyes; then
6763  MANIFEST_TOOL=:
6764fi
6765
6766
6767
6768
6769
6770
6771  case $host_os in
6772    rhapsody* | darwin*)
6773    if test -n "$ac_tool_prefix"; then
6774  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6775set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6777$as_echo_n "checking for $ac_word... " >&6; }
6778if ${ac_cv_prog_DSYMUTIL+:} false; then :
6779  $as_echo_n "(cached) " >&6
6780else
6781  if test -n "$DSYMUTIL"; then
6782  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6783else
6784as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6785for as_dir in $PATH
6786do
6787  IFS=$as_save_IFS
6788  test -z "$as_dir" && as_dir=.
6789    for ac_exec_ext in '' $ac_executable_extensions; do
6790  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6791    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6792    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6793    break 2
6794  fi
6795done
6796  done
6797IFS=$as_save_IFS
6798
6799fi
6800fi
6801DSYMUTIL=$ac_cv_prog_DSYMUTIL
6802if test -n "$DSYMUTIL"; then
6803  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6804$as_echo "$DSYMUTIL" >&6; }
6805else
6806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6807$as_echo "no" >&6; }
6808fi
6809
6810
6811fi
6812if test -z "$ac_cv_prog_DSYMUTIL"; then
6813  ac_ct_DSYMUTIL=$DSYMUTIL
6814  # Extract the first word of "dsymutil", so it can be a program name with args.
6815set dummy dsymutil; ac_word=$2
6816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6817$as_echo_n "checking for $ac_word... " >&6; }
6818if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6819  $as_echo_n "(cached) " >&6
6820else
6821  if test -n "$ac_ct_DSYMUTIL"; then
6822  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6823else
6824as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6825for as_dir in $PATH
6826do
6827  IFS=$as_save_IFS
6828  test -z "$as_dir" && as_dir=.
6829    for ac_exec_ext in '' $ac_executable_extensions; do
6830  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6831    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6832    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6833    break 2
6834  fi
6835done
6836  done
6837IFS=$as_save_IFS
6838
6839fi
6840fi
6841ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6842if test -n "$ac_ct_DSYMUTIL"; then
6843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6844$as_echo "$ac_ct_DSYMUTIL" >&6; }
6845else
6846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847$as_echo "no" >&6; }
6848fi
6849
6850  if test "x$ac_ct_DSYMUTIL" = x; then
6851    DSYMUTIL=":"
6852  else
6853    case $cross_compiling:$ac_tool_warned in
6854yes:)
6855{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6856$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6857ac_tool_warned=yes ;;
6858esac
6859    DSYMUTIL=$ac_ct_DSYMUTIL
6860  fi
6861else
6862  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6863fi
6864
6865    if test -n "$ac_tool_prefix"; then
6866  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6867set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6869$as_echo_n "checking for $ac_word... " >&6; }
6870if ${ac_cv_prog_NMEDIT+:} false; then :
6871  $as_echo_n "(cached) " >&6
6872else
6873  if test -n "$NMEDIT"; then
6874  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6875else
6876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6877for as_dir in $PATH
6878do
6879  IFS=$as_save_IFS
6880  test -z "$as_dir" && as_dir=.
6881    for ac_exec_ext in '' $ac_executable_extensions; do
6882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6883    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6884    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885    break 2
6886  fi
6887done
6888  done
6889IFS=$as_save_IFS
6890
6891fi
6892fi
6893NMEDIT=$ac_cv_prog_NMEDIT
6894if test -n "$NMEDIT"; then
6895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6896$as_echo "$NMEDIT" >&6; }
6897else
6898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899$as_echo "no" >&6; }
6900fi
6901
6902
6903fi
6904if test -z "$ac_cv_prog_NMEDIT"; then
6905  ac_ct_NMEDIT=$NMEDIT
6906  # Extract the first word of "nmedit", so it can be a program name with args.
6907set dummy nmedit; ac_word=$2
6908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909$as_echo_n "checking for $ac_word... " >&6; }
6910if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6911  $as_echo_n "(cached) " >&6
6912else
6913  if test -n "$ac_ct_NMEDIT"; then
6914  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6915else
6916as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6917for as_dir in $PATH
6918do
6919  IFS=$as_save_IFS
6920  test -z "$as_dir" && as_dir=.
6921    for ac_exec_ext in '' $ac_executable_extensions; do
6922  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6924    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6925    break 2
6926  fi
6927done
6928  done
6929IFS=$as_save_IFS
6930
6931fi
6932fi
6933ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6934if test -n "$ac_ct_NMEDIT"; then
6935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6936$as_echo "$ac_ct_NMEDIT" >&6; }
6937else
6938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6939$as_echo "no" >&6; }
6940fi
6941
6942  if test "x$ac_ct_NMEDIT" = x; then
6943    NMEDIT=":"
6944  else
6945    case $cross_compiling:$ac_tool_warned in
6946yes:)
6947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6949ac_tool_warned=yes ;;
6950esac
6951    NMEDIT=$ac_ct_NMEDIT
6952  fi
6953else
6954  NMEDIT="$ac_cv_prog_NMEDIT"
6955fi
6956
6957    if test -n "$ac_tool_prefix"; then
6958  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6959set dummy ${ac_tool_prefix}lipo; ac_word=$2
6960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6961$as_echo_n "checking for $ac_word... " >&6; }
6962if ${ac_cv_prog_LIPO+:} false; then :
6963  $as_echo_n "(cached) " >&6
6964else
6965  if test -n "$LIPO"; then
6966  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6967else
6968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6969for as_dir in $PATH
6970do
6971  IFS=$as_save_IFS
6972  test -z "$as_dir" && as_dir=.
6973    for ac_exec_ext in '' $ac_executable_extensions; do
6974  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6975    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6976    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6977    break 2
6978  fi
6979done
6980  done
6981IFS=$as_save_IFS
6982
6983fi
6984fi
6985LIPO=$ac_cv_prog_LIPO
6986if test -n "$LIPO"; then
6987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6988$as_echo "$LIPO" >&6; }
6989else
6990  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991$as_echo "no" >&6; }
6992fi
6993
6994
6995fi
6996if test -z "$ac_cv_prog_LIPO"; then
6997  ac_ct_LIPO=$LIPO
6998  # Extract the first word of "lipo", so it can be a program name with args.
6999set dummy lipo; ac_word=$2
7000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7001$as_echo_n "checking for $ac_word... " >&6; }
7002if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7003  $as_echo_n "(cached) " >&6
7004else
7005  if test -n "$ac_ct_LIPO"; then
7006  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7007else
7008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7009for as_dir in $PATH
7010do
7011  IFS=$as_save_IFS
7012  test -z "$as_dir" && as_dir=.
7013    for ac_exec_ext in '' $ac_executable_extensions; do
7014  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7015    ac_cv_prog_ac_ct_LIPO="lipo"
7016    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7017    break 2
7018  fi
7019done
7020  done
7021IFS=$as_save_IFS
7022
7023fi
7024fi
7025ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7026if test -n "$ac_ct_LIPO"; then
7027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7028$as_echo "$ac_ct_LIPO" >&6; }
7029else
7030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7031$as_echo "no" >&6; }
7032fi
7033
7034  if test "x$ac_ct_LIPO" = x; then
7035    LIPO=":"
7036  else
7037    case $cross_compiling:$ac_tool_warned in
7038yes:)
7039{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7040$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7041ac_tool_warned=yes ;;
7042esac
7043    LIPO=$ac_ct_LIPO
7044  fi
7045else
7046  LIPO="$ac_cv_prog_LIPO"
7047fi
7048
7049    if test -n "$ac_tool_prefix"; then
7050  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7051set dummy ${ac_tool_prefix}otool; ac_word=$2
7052{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7053$as_echo_n "checking for $ac_word... " >&6; }
7054if ${ac_cv_prog_OTOOL+:} false; then :
7055  $as_echo_n "(cached) " >&6
7056else
7057  if test -n "$OTOOL"; then
7058  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7059else
7060as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061for as_dir in $PATH
7062do
7063  IFS=$as_save_IFS
7064  test -z "$as_dir" && as_dir=.
7065    for ac_exec_ext in '' $ac_executable_extensions; do
7066  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7067    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7068    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7069    break 2
7070  fi
7071done
7072  done
7073IFS=$as_save_IFS
7074
7075fi
7076fi
7077OTOOL=$ac_cv_prog_OTOOL
7078if test -n "$OTOOL"; then
7079  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7080$as_echo "$OTOOL" >&6; }
7081else
7082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7083$as_echo "no" >&6; }
7084fi
7085
7086
7087fi
7088if test -z "$ac_cv_prog_OTOOL"; then
7089  ac_ct_OTOOL=$OTOOL
7090  # Extract the first word of "otool", so it can be a program name with args.
7091set dummy otool; ac_word=$2
7092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7093$as_echo_n "checking for $ac_word... " >&6; }
7094if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7095  $as_echo_n "(cached) " >&6
7096else
7097  if test -n "$ac_ct_OTOOL"; then
7098  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7099else
7100as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101for as_dir in $PATH
7102do
7103  IFS=$as_save_IFS
7104  test -z "$as_dir" && as_dir=.
7105    for ac_exec_ext in '' $ac_executable_extensions; do
7106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7107    ac_cv_prog_ac_ct_OTOOL="otool"
7108    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7109    break 2
7110  fi
7111done
7112  done
7113IFS=$as_save_IFS
7114
7115fi
7116fi
7117ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7118if test -n "$ac_ct_OTOOL"; then
7119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7120$as_echo "$ac_ct_OTOOL" >&6; }
7121else
7122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7123$as_echo "no" >&6; }
7124fi
7125
7126  if test "x$ac_ct_OTOOL" = x; then
7127    OTOOL=":"
7128  else
7129    case $cross_compiling:$ac_tool_warned in
7130yes:)
7131{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7132$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7133ac_tool_warned=yes ;;
7134esac
7135    OTOOL=$ac_ct_OTOOL
7136  fi
7137else
7138  OTOOL="$ac_cv_prog_OTOOL"
7139fi
7140
7141    if test -n "$ac_tool_prefix"; then
7142  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7143set dummy ${ac_tool_prefix}otool64; ac_word=$2
7144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7145$as_echo_n "checking for $ac_word... " >&6; }
7146if ${ac_cv_prog_OTOOL64+:} false; then :
7147  $as_echo_n "(cached) " >&6
7148else
7149  if test -n "$OTOOL64"; then
7150  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7151else
7152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7153for as_dir in $PATH
7154do
7155  IFS=$as_save_IFS
7156  test -z "$as_dir" && as_dir=.
7157    for ac_exec_ext in '' $ac_executable_extensions; do
7158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7159    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7161    break 2
7162  fi
7163done
7164  done
7165IFS=$as_save_IFS
7166
7167fi
7168fi
7169OTOOL64=$ac_cv_prog_OTOOL64
7170if test -n "$OTOOL64"; then
7171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7172$as_echo "$OTOOL64" >&6; }
7173else
7174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7175$as_echo "no" >&6; }
7176fi
7177
7178
7179fi
7180if test -z "$ac_cv_prog_OTOOL64"; then
7181  ac_ct_OTOOL64=$OTOOL64
7182  # Extract the first word of "otool64", so it can be a program name with args.
7183set dummy otool64; ac_word=$2
7184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7185$as_echo_n "checking for $ac_word... " >&6; }
7186if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7187  $as_echo_n "(cached) " >&6
7188else
7189  if test -n "$ac_ct_OTOOL64"; then
7190  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7191else
7192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7193for as_dir in $PATH
7194do
7195  IFS=$as_save_IFS
7196  test -z "$as_dir" && as_dir=.
7197    for ac_exec_ext in '' $ac_executable_extensions; do
7198  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7199    ac_cv_prog_ac_ct_OTOOL64="otool64"
7200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7201    break 2
7202  fi
7203done
7204  done
7205IFS=$as_save_IFS
7206
7207fi
7208fi
7209ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7210if test -n "$ac_ct_OTOOL64"; then
7211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7212$as_echo "$ac_ct_OTOOL64" >&6; }
7213else
7214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7215$as_echo "no" >&6; }
7216fi
7217
7218  if test "x$ac_ct_OTOOL64" = x; then
7219    OTOOL64=":"
7220  else
7221    case $cross_compiling:$ac_tool_warned in
7222yes:)
7223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7225ac_tool_warned=yes ;;
7226esac
7227    OTOOL64=$ac_ct_OTOOL64
7228  fi
7229else
7230  OTOOL64="$ac_cv_prog_OTOOL64"
7231fi
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7260$as_echo_n "checking for -single_module linker flag... " >&6; }
7261if ${lt_cv_apple_cc_single_mod+:} false; then :
7262  $as_echo_n "(cached) " >&6
7263else
7264  lt_cv_apple_cc_single_mod=no
7265      if test -z "${LT_MULTI_MODULE}"; then
7266	# By default we will add the -single_module flag. You can override
7267	# by either setting the environment variable LT_MULTI_MODULE
7268	# non-empty at configure time, or by adding -multi_module to the
7269	# link flags.
7270	rm -rf libconftest.dylib*
7271	echo "int foo(void){return 1;}" > conftest.c
7272	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7273-dynamiclib -Wl,-single_module conftest.c" >&5
7274	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7275	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7276        _lt_result=$?
7277	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7278	  lt_cv_apple_cc_single_mod=yes
7279	else
7280	  cat conftest.err >&5
7281	fi
7282	rm -rf libconftest.dylib*
7283	rm -f conftest.*
7284      fi
7285fi
7286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7287$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7288    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7289$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7290if ${lt_cv_ld_exported_symbols_list+:} false; then :
7291  $as_echo_n "(cached) " >&6
7292else
7293  lt_cv_ld_exported_symbols_list=no
7294      save_LDFLAGS=$LDFLAGS
7295      echo "_main" > conftest.sym
7296      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7297      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7298/* end confdefs.h.  */
7299
7300int
7301main ()
7302{
7303
7304  ;
7305  return 0;
7306}
7307_ACEOF
7308if ac_fn_c_try_link "$LINENO"; then :
7309  lt_cv_ld_exported_symbols_list=yes
7310else
7311  lt_cv_ld_exported_symbols_list=no
7312fi
7313rm -f core conftest.err conftest.$ac_objext \
7314    conftest$ac_exeext conftest.$ac_ext
7315	LDFLAGS="$save_LDFLAGS"
7316
7317fi
7318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7319$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7320    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7321$as_echo_n "checking for -force_load linker flag... " >&6; }
7322if ${lt_cv_ld_force_load+:} false; then :
7323  $as_echo_n "(cached) " >&6
7324else
7325  lt_cv_ld_force_load=no
7326      cat > conftest.c << _LT_EOF
7327int forced_loaded() { return 2;}
7328_LT_EOF
7329      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7330      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7331      echo "$AR cru libconftest.a conftest.o" >&5
7332      $AR cru libconftest.a conftest.o 2>&5
7333      echo "$RANLIB libconftest.a" >&5
7334      $RANLIB libconftest.a 2>&5
7335      cat > conftest.c << _LT_EOF
7336int main() { return 0;}
7337_LT_EOF
7338      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7339      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7340      _lt_result=$?
7341      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7342	lt_cv_ld_force_load=yes
7343      else
7344	cat conftest.err >&5
7345      fi
7346        rm -f conftest.err libconftest.a conftest conftest.c
7347        rm -rf conftest.dSYM
7348
7349fi
7350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7351$as_echo "$lt_cv_ld_force_load" >&6; }
7352    case $host_os in
7353    rhapsody* | darwin1.[012])
7354      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7355    darwin1.*)
7356      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7357    darwin*) # darwin 5.x on
7358      # if running on 10.5 or later, the deployment target defaults
7359      # to the OS version, if on x86, and 10.4, the deployment
7360      # target defaults to 10.4. Don't you love it?
7361      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7362	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7363	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7364	10.[012]*)
7365	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7366	10.*)
7367	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7368      esac
7369    ;;
7370  esac
7371    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7372      _lt_dar_single_mod='$single_module'
7373    fi
7374    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7375      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7376    else
7377      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7378    fi
7379    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7380      _lt_dsymutil='~$DSYMUTIL $lib || :'
7381    else
7382      _lt_dsymutil=
7383    fi
7384    ;;
7385  esac
7386
7387ac_ext=c
7388ac_cpp='$CPP $CPPFLAGS'
7389ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7390ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7391ac_compiler_gnu=$ac_cv_c_compiler_gnu
7392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7393$as_echo_n "checking how to run the C preprocessor... " >&6; }
7394# On Suns, sometimes $CPP names a directory.
7395if test -n "$CPP" && test -d "$CPP"; then
7396  CPP=
7397fi
7398if test -z "$CPP"; then
7399  if ${ac_cv_prog_CPP+:} false; then :
7400  $as_echo_n "(cached) " >&6
7401else
7402      # Double quotes because CPP needs to be expanded
7403    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7404    do
7405      ac_preproc_ok=false
7406for ac_c_preproc_warn_flag in '' yes
7407do
7408  # Use a header file that comes with gcc, so configuring glibc
7409  # with a fresh cross-compiler works.
7410  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7411  # <limits.h> exists even on freestanding compilers.
7412  # On the NeXT, cc -E runs the code through the compiler's parser,
7413  # not just through cpp. "Syntax error" is here to catch this case.
7414  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7415/* end confdefs.h.  */
7416#ifdef __STDC__
7417# include <limits.h>
7418#else
7419# include <assert.h>
7420#endif
7421		     Syntax error
7422_ACEOF
7423if ac_fn_c_try_cpp "$LINENO"; then :
7424
7425else
7426  # Broken: fails on valid input.
7427continue
7428fi
7429rm -f conftest.err conftest.i conftest.$ac_ext
7430
7431  # OK, works on sane cases.  Now check whether nonexistent headers
7432  # can be detected and how.
7433  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7434/* end confdefs.h.  */
7435#include <ac_nonexistent.h>
7436_ACEOF
7437if ac_fn_c_try_cpp "$LINENO"; then :
7438  # Broken: success on invalid input.
7439continue
7440else
7441  # Passes both tests.
7442ac_preproc_ok=:
7443break
7444fi
7445rm -f conftest.err conftest.i conftest.$ac_ext
7446
7447done
7448# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7449rm -f conftest.i conftest.err conftest.$ac_ext
7450if $ac_preproc_ok; then :
7451  break
7452fi
7453
7454    done
7455    ac_cv_prog_CPP=$CPP
7456
7457fi
7458  CPP=$ac_cv_prog_CPP
7459else
7460  ac_cv_prog_CPP=$CPP
7461fi
7462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7463$as_echo "$CPP" >&6; }
7464ac_preproc_ok=false
7465for ac_c_preproc_warn_flag in '' yes
7466do
7467  # Use a header file that comes with gcc, so configuring glibc
7468  # with a fresh cross-compiler works.
7469  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7470  # <limits.h> exists even on freestanding compilers.
7471  # On the NeXT, cc -E runs the code through the compiler's parser,
7472  # not just through cpp. "Syntax error" is here to catch this case.
7473  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7474/* end confdefs.h.  */
7475#ifdef __STDC__
7476# include <limits.h>
7477#else
7478# include <assert.h>
7479#endif
7480		     Syntax error
7481_ACEOF
7482if ac_fn_c_try_cpp "$LINENO"; then :
7483
7484else
7485  # Broken: fails on valid input.
7486continue
7487fi
7488rm -f conftest.err conftest.i conftest.$ac_ext
7489
7490  # OK, works on sane cases.  Now check whether nonexistent headers
7491  # can be detected and how.
7492  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7493/* end confdefs.h.  */
7494#include <ac_nonexistent.h>
7495_ACEOF
7496if ac_fn_c_try_cpp "$LINENO"; then :
7497  # Broken: success on invalid input.
7498continue
7499else
7500  # Passes both tests.
7501ac_preproc_ok=:
7502break
7503fi
7504rm -f conftest.err conftest.i conftest.$ac_ext
7505
7506done
7507# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7508rm -f conftest.i conftest.err conftest.$ac_ext
7509if $ac_preproc_ok; then :
7510
7511else
7512  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7513$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7514as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7515See \`config.log' for more details" "$LINENO" 5; }
7516fi
7517
7518ac_ext=c
7519ac_cpp='$CPP $CPPFLAGS'
7520ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7521ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7522ac_compiler_gnu=$ac_cv_c_compiler_gnu
7523
7524
7525{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7526$as_echo_n "checking for ANSI C header files... " >&6; }
7527if ${ac_cv_header_stdc+:} false; then :
7528  $as_echo_n "(cached) " >&6
7529else
7530  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7531/* end confdefs.h.  */
7532#include <stdlib.h>
7533#include <stdarg.h>
7534#include <string.h>
7535#include <float.h>
7536
7537int
7538main ()
7539{
7540
7541  ;
7542  return 0;
7543}
7544_ACEOF
7545if ac_fn_c_try_compile "$LINENO"; then :
7546  ac_cv_header_stdc=yes
7547else
7548  ac_cv_header_stdc=no
7549fi
7550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7551
7552if test $ac_cv_header_stdc = yes; then
7553  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555/* end confdefs.h.  */
7556#include <string.h>
7557
7558_ACEOF
7559if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7560  $EGREP "memchr" >/dev/null 2>&1; then :
7561
7562else
7563  ac_cv_header_stdc=no
7564fi
7565rm -f conftest*
7566
7567fi
7568
7569if test $ac_cv_header_stdc = yes; then
7570  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7571  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7572/* end confdefs.h.  */
7573#include <stdlib.h>
7574
7575_ACEOF
7576if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7577  $EGREP "free" >/dev/null 2>&1; then :
7578
7579else
7580  ac_cv_header_stdc=no
7581fi
7582rm -f conftest*
7583
7584fi
7585
7586if test $ac_cv_header_stdc = yes; then
7587  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7588  if test "$cross_compiling" = yes; then :
7589  :
7590else
7591  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7592/* end confdefs.h.  */
7593#include <ctype.h>
7594#include <stdlib.h>
7595#if ((' ' & 0x0FF) == 0x020)
7596# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7597# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7598#else
7599# define ISLOWER(c) \
7600		   (('a' <= (c) && (c) <= 'i') \
7601		     || ('j' <= (c) && (c) <= 'r') \
7602		     || ('s' <= (c) && (c) <= 'z'))
7603# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7604#endif
7605
7606#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7607int
7608main ()
7609{
7610  int i;
7611  for (i = 0; i < 256; i++)
7612    if (XOR (islower (i), ISLOWER (i))
7613	|| toupper (i) != TOUPPER (i))
7614      return 2;
7615  return 0;
7616}
7617_ACEOF
7618if ac_fn_c_try_run "$LINENO"; then :
7619
7620else
7621  ac_cv_header_stdc=no
7622fi
7623rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7624  conftest.$ac_objext conftest.beam conftest.$ac_ext
7625fi
7626
7627fi
7628fi
7629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7630$as_echo "$ac_cv_header_stdc" >&6; }
7631if test $ac_cv_header_stdc = yes; then
7632
7633$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7634
7635fi
7636
7637# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7638for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7639		  inttypes.h stdint.h unistd.h
7640do :
7641  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7642ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7643"
7644if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7645  cat >>confdefs.h <<_ACEOF
7646#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7647_ACEOF
7648
7649fi
7650
7651done
7652
7653
7654for ac_header in dlfcn.h
7655do :
7656  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7657"
7658if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7659  cat >>confdefs.h <<_ACEOF
7660#define HAVE_DLFCN_H 1
7661_ACEOF
7662
7663fi
7664
7665done
7666
7667
7668
7669
7670
7671# Set options
7672
7673
7674
7675        enable_dlopen=no
7676
7677
7678
7679            # Check whether --enable-shared was given.
7680if test "${enable_shared+set}" = set; then :
7681  enableval=$enable_shared; p=${PACKAGE-default}
7682    case $enableval in
7683    yes) enable_shared=yes ;;
7684    no) enable_shared=no ;;
7685    *)
7686      enable_shared=no
7687      # Look at the argument we got.  We use all the common list separators.
7688      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7689      for pkg in $enableval; do
7690	IFS="$lt_save_ifs"
7691	if test "X$pkg" = "X$p"; then
7692	  enable_shared=yes
7693	fi
7694      done
7695      IFS="$lt_save_ifs"
7696      ;;
7697    esac
7698else
7699  enable_shared=yes
7700fi
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712# Check whether --with-pic was given.
7713if test "${with_pic+set}" = set; then :
7714  withval=$with_pic; pic_mode="$withval"
7715else
7716  pic_mode=default
7717fi
7718
7719
7720test -z "$pic_mode" && pic_mode=default
7721
7722
7723
7724
7725
7726
7727
7728  # Check whether --enable-fast-install was given.
7729if test "${enable_fast_install+set}" = set; then :
7730  enableval=$enable_fast_install; p=${PACKAGE-default}
7731    case $enableval in
7732    yes) enable_fast_install=yes ;;
7733    no) enable_fast_install=no ;;
7734    *)
7735      enable_fast_install=no
7736      # Look at the argument we got.  We use all the common list separators.
7737      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7738      for pkg in $enableval; do
7739	IFS="$lt_save_ifs"
7740	if test "X$pkg" = "X$p"; then
7741	  enable_fast_install=yes
7742	fi
7743      done
7744      IFS="$lt_save_ifs"
7745      ;;
7746    esac
7747else
7748  enable_fast_install=yes
7749fi
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761# This can be used to rebuild libtool when needed
7762LIBTOOL_DEPS="$ltmain"
7763
7764# Always use our own libtool.
7765LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792test -z "$LN_S" && LN_S="ln -s"
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807if test -n "${ZSH_VERSION+set}" ; then
7808   setopt NO_GLOB_SUBST
7809fi
7810
7811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7812$as_echo_n "checking for objdir... " >&6; }
7813if ${lt_cv_objdir+:} false; then :
7814  $as_echo_n "(cached) " >&6
7815else
7816  rm -f .libs 2>/dev/null
7817mkdir .libs 2>/dev/null
7818if test -d .libs; then
7819  lt_cv_objdir=.libs
7820else
7821  # MS-DOS does not allow filenames that begin with a dot.
7822  lt_cv_objdir=_libs
7823fi
7824rmdir .libs 2>/dev/null
7825fi
7826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7827$as_echo "$lt_cv_objdir" >&6; }
7828objdir=$lt_cv_objdir
7829
7830
7831
7832
7833
7834cat >>confdefs.h <<_ACEOF
7835#define LT_OBJDIR "$lt_cv_objdir/"
7836_ACEOF
7837
7838
7839
7840
7841case $host_os in
7842aix3*)
7843  # AIX sometimes has problems with the GCC collect2 program.  For some
7844  # reason, if we set the COLLECT_NAMES environment variable, the problems
7845  # vanish in a puff of smoke.
7846  if test "X${COLLECT_NAMES+set}" != Xset; then
7847    COLLECT_NAMES=
7848    export COLLECT_NAMES
7849  fi
7850  ;;
7851esac
7852
7853# Global variables:
7854ofile=libtool
7855can_build_shared=yes
7856
7857# All known linkers require a `.a' archive for static linking (except MSVC,
7858# which needs '.lib').
7859libext=a
7860
7861with_gnu_ld="$lt_cv_prog_gnu_ld"
7862
7863old_CC="$CC"
7864old_CFLAGS="$CFLAGS"
7865
7866# Set sane defaults for various variables
7867test -z "$CC" && CC=cc
7868test -z "$LTCC" && LTCC=$CC
7869test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7870test -z "$LD" && LD=ld
7871test -z "$ac_objext" && ac_objext=o
7872
7873for cc_temp in $compiler""; do
7874  case $cc_temp in
7875    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7876    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7877    \-*) ;;
7878    *) break;;
7879  esac
7880done
7881cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7882
7883
7884# Only perform the check for file, if the check method requires it
7885test -z "$MAGIC_CMD" && MAGIC_CMD=file
7886case $deplibs_check_method in
7887file_magic*)
7888  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7889    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7890$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7891if ${lt_cv_path_MAGIC_CMD+:} false; then :
7892  $as_echo_n "(cached) " >&6
7893else
7894  case $MAGIC_CMD in
7895[\\/*] |  ?:[\\/]*)
7896  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7897  ;;
7898*)
7899  lt_save_MAGIC_CMD="$MAGIC_CMD"
7900  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7901  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7902  for ac_dir in $ac_dummy; do
7903    IFS="$lt_save_ifs"
7904    test -z "$ac_dir" && ac_dir=.
7905    if test -f $ac_dir/${ac_tool_prefix}file; then
7906      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7907      if test -n "$file_magic_test_file"; then
7908	case $deplibs_check_method in
7909	"file_magic "*)
7910	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7911	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7912	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7913	    $EGREP "$file_magic_regex" > /dev/null; then
7914	    :
7915	  else
7916	    cat <<_LT_EOF 1>&2
7917
7918*** Warning: the command libtool uses to detect shared libraries,
7919*** $file_magic_cmd, produces output that libtool cannot recognize.
7920*** The result is that libtool may fail to recognize shared libraries
7921*** as such.  This will affect the creation of libtool libraries that
7922*** depend on shared libraries, but programs linked with such libtool
7923*** libraries will work regardless of this problem.  Nevertheless, you
7924*** may want to report the problem to your system manager and/or to
7925*** bug-libtool@gnu.org
7926
7927_LT_EOF
7928	  fi ;;
7929	esac
7930      fi
7931      break
7932    fi
7933  done
7934  IFS="$lt_save_ifs"
7935  MAGIC_CMD="$lt_save_MAGIC_CMD"
7936  ;;
7937esac
7938fi
7939
7940MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7941if test -n "$MAGIC_CMD"; then
7942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7943$as_echo "$MAGIC_CMD" >&6; }
7944else
7945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7946$as_echo "no" >&6; }
7947fi
7948
7949
7950
7951
7952
7953if test -z "$lt_cv_path_MAGIC_CMD"; then
7954  if test -n "$ac_tool_prefix"; then
7955    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7956$as_echo_n "checking for file... " >&6; }
7957if ${lt_cv_path_MAGIC_CMD+:} false; then :
7958  $as_echo_n "(cached) " >&6
7959else
7960  case $MAGIC_CMD in
7961[\\/*] |  ?:[\\/]*)
7962  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7963  ;;
7964*)
7965  lt_save_MAGIC_CMD="$MAGIC_CMD"
7966  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7967  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7968  for ac_dir in $ac_dummy; do
7969    IFS="$lt_save_ifs"
7970    test -z "$ac_dir" && ac_dir=.
7971    if test -f $ac_dir/file; then
7972      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7973      if test -n "$file_magic_test_file"; then
7974	case $deplibs_check_method in
7975	"file_magic "*)
7976	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7977	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7978	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7979	    $EGREP "$file_magic_regex" > /dev/null; then
7980	    :
7981	  else
7982	    cat <<_LT_EOF 1>&2
7983
7984*** Warning: the command libtool uses to detect shared libraries,
7985*** $file_magic_cmd, produces output that libtool cannot recognize.
7986*** The result is that libtool may fail to recognize shared libraries
7987*** as such.  This will affect the creation of libtool libraries that
7988*** depend on shared libraries, but programs linked with such libtool
7989*** libraries will work regardless of this problem.  Nevertheless, you
7990*** may want to report the problem to your system manager and/or to
7991*** bug-libtool@gnu.org
7992
7993_LT_EOF
7994	  fi ;;
7995	esac
7996      fi
7997      break
7998    fi
7999  done
8000  IFS="$lt_save_ifs"
8001  MAGIC_CMD="$lt_save_MAGIC_CMD"
8002  ;;
8003esac
8004fi
8005
8006MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8007if test -n "$MAGIC_CMD"; then
8008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8009$as_echo "$MAGIC_CMD" >&6; }
8010else
8011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8012$as_echo "no" >&6; }
8013fi
8014
8015
8016  else
8017    MAGIC_CMD=:
8018  fi
8019fi
8020
8021  fi
8022  ;;
8023esac
8024
8025# Use C for the default configuration in the libtool script
8026
8027lt_save_CC="$CC"
8028ac_ext=c
8029ac_cpp='$CPP $CPPFLAGS'
8030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8032ac_compiler_gnu=$ac_cv_c_compiler_gnu
8033
8034
8035# Source file extension for C test sources.
8036ac_ext=c
8037
8038# Object file extension for compiled C test sources.
8039objext=o
8040objext=$objext
8041
8042# Code to be used in simple compile tests
8043lt_simple_compile_test_code="int some_variable = 0;"
8044
8045# Code to be used in simple link tests
8046lt_simple_link_test_code='int main(){return(0);}'
8047
8048
8049
8050
8051
8052
8053
8054# If no C compiler was specified, use CC.
8055LTCC=${LTCC-"$CC"}
8056
8057# If no C compiler flags were specified, use CFLAGS.
8058LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8059
8060# Allow CC to be a program name with arguments.
8061compiler=$CC
8062
8063# Save the default compiler, since it gets overwritten when the other
8064# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8065compiler_DEFAULT=$CC
8066
8067# save warnings/boilerplate of simple test code
8068ac_outfile=conftest.$ac_objext
8069echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8070eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8071_lt_compiler_boilerplate=`cat conftest.err`
8072$RM conftest*
8073
8074ac_outfile=conftest.$ac_objext
8075echo "$lt_simple_link_test_code" >conftest.$ac_ext
8076eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8077_lt_linker_boilerplate=`cat conftest.err`
8078$RM -r conftest*
8079
8080
8081## CAVEAT EMPTOR:
8082## There is no encapsulation within the following macros, do not change
8083## the running order or otherwise move them around unless you know exactly
8084## what you are doing...
8085if test -n "$compiler"; then
8086
8087lt_prog_compiler_no_builtin_flag=
8088
8089if test "$GCC" = yes; then
8090  case $cc_basename in
8091  nvcc*)
8092    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8093  *)
8094    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8095  esac
8096
8097  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8098$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8099if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8100  $as_echo_n "(cached) " >&6
8101else
8102  lt_cv_prog_compiler_rtti_exceptions=no
8103   ac_outfile=conftest.$ac_objext
8104   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8105   lt_compiler_flag="-fno-rtti -fno-exceptions"
8106   # Insert the option either (1) after the last *FLAGS variable, or
8107   # (2) before a word containing "conftest.", or (3) at the end.
8108   # Note that $ac_compile itself does not contain backslashes and begins
8109   # with a dollar sign (not a hyphen), so the echo should work correctly.
8110   # The option is referenced via a variable to avoid confusing sed.
8111   lt_compile=`echo "$ac_compile" | $SED \
8112   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8113   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8114   -e 's:$: $lt_compiler_flag:'`
8115   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8116   (eval "$lt_compile" 2>conftest.err)
8117   ac_status=$?
8118   cat conftest.err >&5
8119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120   if (exit $ac_status) && test -s "$ac_outfile"; then
8121     # The compiler can only warn and ignore the option if not recognized
8122     # So say no if there are warnings other than the usual output.
8123     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8124     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8125     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8126       lt_cv_prog_compiler_rtti_exceptions=yes
8127     fi
8128   fi
8129   $RM conftest*
8130
8131fi
8132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8133$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8134
8135if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8136    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8137else
8138    :
8139fi
8140
8141fi
8142
8143
8144
8145
8146
8147
8148  lt_prog_compiler_wl=
8149lt_prog_compiler_pic=
8150lt_prog_compiler_static=
8151
8152
8153  if test "$GCC" = yes; then
8154    lt_prog_compiler_wl='-Wl,'
8155    lt_prog_compiler_static='-static'
8156
8157    case $host_os in
8158      aix*)
8159      # All AIX code is PIC.
8160      if test "$host_cpu" = ia64; then
8161	# AIX 5 now supports IA64 processor
8162	lt_prog_compiler_static='-Bstatic'
8163      fi
8164      ;;
8165
8166    amigaos*)
8167      case $host_cpu in
8168      powerpc)
8169            # see comment about AmigaOS4 .so support
8170            lt_prog_compiler_pic='-fPIC'
8171        ;;
8172      m68k)
8173            # FIXME: we need at least 68020 code to build shared libraries, but
8174            # adding the `-m68020' flag to GCC prevents building anything better,
8175            # like `-m68040'.
8176            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8177        ;;
8178      esac
8179      ;;
8180
8181    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8182      # PIC is the default for these OSes.
8183      ;;
8184
8185    mingw* | cygwin* | pw32* | os2* | cegcc*)
8186      # This hack is so that the source file can tell whether it is being
8187      # built for inclusion in a dll (and should export symbols for example).
8188      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8189      # (--disable-auto-import) libraries
8190      lt_prog_compiler_pic='-DDLL_EXPORT'
8191      ;;
8192
8193    darwin* | rhapsody*)
8194      # PIC is the default on this platform
8195      # Common symbols not allowed in MH_DYLIB files
8196      lt_prog_compiler_pic='-fno-common'
8197      ;;
8198
8199    haiku*)
8200      # PIC is the default for Haiku.
8201      # The "-static" flag exists, but is broken.
8202      lt_prog_compiler_static=
8203      ;;
8204
8205    hpux*)
8206      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8207      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8208      # sets the default TLS model and affects inlining.
8209      case $host_cpu in
8210      hppa*64*)
8211	# +Z the default
8212	;;
8213      *)
8214	lt_prog_compiler_pic='-fPIC'
8215	;;
8216      esac
8217      ;;
8218
8219    interix[3-9]*)
8220      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8221      # Instead, we relocate shared libraries at runtime.
8222      ;;
8223
8224    msdosdjgpp*)
8225      # Just because we use GCC doesn't mean we suddenly get shared libraries
8226      # on systems that don't support them.
8227      lt_prog_compiler_can_build_shared=no
8228      enable_shared=no
8229      ;;
8230
8231    *nto* | *qnx*)
8232      # QNX uses GNU C++, but need to define -shared option too, otherwise
8233      # it will coredump.
8234      lt_prog_compiler_pic='-fPIC -shared'
8235      ;;
8236
8237    sysv4*MP*)
8238      if test -d /usr/nec; then
8239	lt_prog_compiler_pic=-Kconform_pic
8240      fi
8241      ;;
8242
8243    *)
8244      lt_prog_compiler_pic='-fPIC'
8245      ;;
8246    esac
8247
8248    case $cc_basename in
8249    nvcc*) # Cuda Compiler Driver 2.2
8250      lt_prog_compiler_wl='-Xlinker '
8251      lt_prog_compiler_pic='-Xcompiler -fPIC'
8252      ;;
8253    esac
8254  else
8255    # PORTME Check for flag to pass linker flags through the system compiler.
8256    case $host_os in
8257    aix*)
8258      lt_prog_compiler_wl='-Wl,'
8259      if test "$host_cpu" = ia64; then
8260	# AIX 5 now supports IA64 processor
8261	lt_prog_compiler_static='-Bstatic'
8262      else
8263	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8264      fi
8265      ;;
8266
8267    mingw* | cygwin* | pw32* | os2* | cegcc*)
8268      # This hack is so that the source file can tell whether it is being
8269      # built for inclusion in a dll (and should export symbols for example).
8270      lt_prog_compiler_pic='-DDLL_EXPORT'
8271      ;;
8272
8273    hpux9* | hpux10* | hpux11*)
8274      lt_prog_compiler_wl='-Wl,'
8275      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8276      # not for PA HP-UX.
8277      case $host_cpu in
8278      hppa*64*|ia64*)
8279	# +Z the default
8280	;;
8281      *)
8282	lt_prog_compiler_pic='+Z'
8283	;;
8284      esac
8285      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8286      lt_prog_compiler_static='${wl}-a ${wl}archive'
8287      ;;
8288
8289    irix5* | irix6* | nonstopux*)
8290      lt_prog_compiler_wl='-Wl,'
8291      # PIC (with -KPIC) is the default.
8292      lt_prog_compiler_static='-non_shared'
8293      ;;
8294
8295    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8296      case $cc_basename in
8297      # old Intel for x86_64 which still supported -KPIC.
8298      ecc*)
8299	lt_prog_compiler_wl='-Wl,'
8300	lt_prog_compiler_pic='-KPIC'
8301	lt_prog_compiler_static='-static'
8302        ;;
8303      # icc used to be incompatible with GCC.
8304      # ICC 10 doesn't accept -KPIC any more.
8305      icc* | ifort*)
8306	lt_prog_compiler_wl='-Wl,'
8307	lt_prog_compiler_pic='-fPIC'
8308	lt_prog_compiler_static='-static'
8309        ;;
8310      # Lahey Fortran 8.1.
8311      lf95*)
8312	lt_prog_compiler_wl='-Wl,'
8313	lt_prog_compiler_pic='--shared'
8314	lt_prog_compiler_static='--static'
8315	;;
8316      nagfor*)
8317	# NAG Fortran compiler
8318	lt_prog_compiler_wl='-Wl,-Wl,,'
8319	lt_prog_compiler_pic='-PIC'
8320	lt_prog_compiler_static='-Bstatic'
8321	;;
8322      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8323        # Portland Group compilers (*not* the Pentium gcc compiler,
8324	# which looks to be a dead project)
8325	lt_prog_compiler_wl='-Wl,'
8326	lt_prog_compiler_pic='-fpic'
8327	lt_prog_compiler_static='-Bstatic'
8328        ;;
8329      ccc*)
8330        lt_prog_compiler_wl='-Wl,'
8331        # All Alpha code is PIC.
8332        lt_prog_compiler_static='-non_shared'
8333        ;;
8334      xl* | bgxl* | bgf* | mpixl*)
8335	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8336	lt_prog_compiler_wl='-Wl,'
8337	lt_prog_compiler_pic='-qpic'
8338	lt_prog_compiler_static='-qstaticlink'
8339	;;
8340      *)
8341	case `$CC -V 2>&1 | sed 5q` in
8342	*Sun\ F* | *Sun*Fortran*)
8343	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8344	  lt_prog_compiler_pic='-KPIC'
8345	  lt_prog_compiler_static='-Bstatic'
8346	  lt_prog_compiler_wl=''
8347	  ;;
8348	*Sun\ C*)
8349	  # Sun C 5.9
8350	  lt_prog_compiler_pic='-KPIC'
8351	  lt_prog_compiler_static='-Bstatic'
8352	  lt_prog_compiler_wl='-Wl,'
8353	  ;;
8354	esac
8355	;;
8356      esac
8357      ;;
8358
8359    newsos6)
8360      lt_prog_compiler_pic='-KPIC'
8361      lt_prog_compiler_static='-Bstatic'
8362      ;;
8363
8364    *nto* | *qnx*)
8365      # QNX uses GNU C++, but need to define -shared option too, otherwise
8366      # it will coredump.
8367      lt_prog_compiler_pic='-fPIC -shared'
8368      ;;
8369
8370    osf3* | osf4* | osf5*)
8371      lt_prog_compiler_wl='-Wl,'
8372      # All OSF/1 code is PIC.
8373      lt_prog_compiler_static='-non_shared'
8374      ;;
8375
8376    rdos*)
8377      lt_prog_compiler_static='-non_shared'
8378      ;;
8379
8380    solaris*)
8381      lt_prog_compiler_pic='-KPIC'
8382      lt_prog_compiler_static='-Bstatic'
8383      case $cc_basename in
8384      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8385	lt_prog_compiler_wl='-Qoption ld ';;
8386      *)
8387	lt_prog_compiler_wl='-Wl,';;
8388      esac
8389      ;;
8390
8391    sunos4*)
8392      lt_prog_compiler_wl='-Qoption ld '
8393      lt_prog_compiler_pic='-PIC'
8394      lt_prog_compiler_static='-Bstatic'
8395      ;;
8396
8397    sysv4 | sysv4.2uw2* | sysv4.3*)
8398      lt_prog_compiler_wl='-Wl,'
8399      lt_prog_compiler_pic='-KPIC'
8400      lt_prog_compiler_static='-Bstatic'
8401      ;;
8402
8403    sysv4*MP*)
8404      if test -d /usr/nec ;then
8405	lt_prog_compiler_pic='-Kconform_pic'
8406	lt_prog_compiler_static='-Bstatic'
8407      fi
8408      ;;
8409
8410    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8411      lt_prog_compiler_wl='-Wl,'
8412      lt_prog_compiler_pic='-KPIC'
8413      lt_prog_compiler_static='-Bstatic'
8414      ;;
8415
8416    unicos*)
8417      lt_prog_compiler_wl='-Wl,'
8418      lt_prog_compiler_can_build_shared=no
8419      ;;
8420
8421    uts4*)
8422      lt_prog_compiler_pic='-pic'
8423      lt_prog_compiler_static='-Bstatic'
8424      ;;
8425
8426    *)
8427      lt_prog_compiler_can_build_shared=no
8428      ;;
8429    esac
8430  fi
8431
8432case $host_os in
8433  # For platforms which do not support PIC, -DPIC is meaningless:
8434  *djgpp*)
8435    lt_prog_compiler_pic=
8436    ;;
8437  *)
8438    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8439    ;;
8440esac
8441
8442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8443$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8444if ${lt_cv_prog_compiler_pic+:} false; then :
8445  $as_echo_n "(cached) " >&6
8446else
8447  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8448fi
8449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8450$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8451lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8452
8453#
8454# Check to make sure the PIC flag actually works.
8455#
8456if test -n "$lt_prog_compiler_pic"; then
8457  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8458$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8459if ${lt_cv_prog_compiler_pic_works+:} false; then :
8460  $as_echo_n "(cached) " >&6
8461else
8462  lt_cv_prog_compiler_pic_works=no
8463   ac_outfile=conftest.$ac_objext
8464   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8465   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8466   # Insert the option either (1) after the last *FLAGS variable, or
8467   # (2) before a word containing "conftest.", or (3) at the end.
8468   # Note that $ac_compile itself does not contain backslashes and begins
8469   # with a dollar sign (not a hyphen), so the echo should work correctly.
8470   # The option is referenced via a variable to avoid confusing sed.
8471   lt_compile=`echo "$ac_compile" | $SED \
8472   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8473   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8474   -e 's:$: $lt_compiler_flag:'`
8475   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8476   (eval "$lt_compile" 2>conftest.err)
8477   ac_status=$?
8478   cat conftest.err >&5
8479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8480   if (exit $ac_status) && test -s "$ac_outfile"; then
8481     # The compiler can only warn and ignore the option if not recognized
8482     # So say no if there are warnings other than the usual output.
8483     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8484     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8485     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8486       lt_cv_prog_compiler_pic_works=yes
8487     fi
8488   fi
8489   $RM conftest*
8490
8491fi
8492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8493$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8494
8495if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8496    case $lt_prog_compiler_pic in
8497     "" | " "*) ;;
8498     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8499     esac
8500else
8501    lt_prog_compiler_pic=
8502     lt_prog_compiler_can_build_shared=no
8503fi
8504
8505fi
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517#
8518# Check to make sure the static flag actually works.
8519#
8520wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8521{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8522$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8523if ${lt_cv_prog_compiler_static_works+:} false; then :
8524  $as_echo_n "(cached) " >&6
8525else
8526  lt_cv_prog_compiler_static_works=no
8527   save_LDFLAGS="$LDFLAGS"
8528   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8529   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8530   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8531     # The linker can only warn and ignore the option if not recognized
8532     # So say no if there are warnings
8533     if test -s conftest.err; then
8534       # Append any errors to the config.log.
8535       cat conftest.err 1>&5
8536       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8537       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8538       if diff conftest.exp conftest.er2 >/dev/null; then
8539         lt_cv_prog_compiler_static_works=yes
8540       fi
8541     else
8542       lt_cv_prog_compiler_static_works=yes
8543     fi
8544   fi
8545   $RM -r conftest*
8546   LDFLAGS="$save_LDFLAGS"
8547
8548fi
8549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8550$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8551
8552if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8553    :
8554else
8555    lt_prog_compiler_static=
8556fi
8557
8558
8559
8560
8561
8562
8563
8564  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8565$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8566if ${lt_cv_prog_compiler_c_o+:} false; then :
8567  $as_echo_n "(cached) " >&6
8568else
8569  lt_cv_prog_compiler_c_o=no
8570   $RM -r conftest 2>/dev/null
8571   mkdir conftest
8572   cd conftest
8573   mkdir out
8574   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8575
8576   lt_compiler_flag="-o out/conftest2.$ac_objext"
8577   # Insert the option either (1) after the last *FLAGS variable, or
8578   # (2) before a word containing "conftest.", or (3) at the end.
8579   # Note that $ac_compile itself does not contain backslashes and begins
8580   # with a dollar sign (not a hyphen), so the echo should work correctly.
8581   lt_compile=`echo "$ac_compile" | $SED \
8582   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8583   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8584   -e 's:$: $lt_compiler_flag:'`
8585   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8586   (eval "$lt_compile" 2>out/conftest.err)
8587   ac_status=$?
8588   cat out/conftest.err >&5
8589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8591   then
8592     # The compiler can only warn and ignore the option if not recognized
8593     # So say no if there are warnings
8594     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8595     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8596     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8597       lt_cv_prog_compiler_c_o=yes
8598     fi
8599   fi
8600   chmod u+w . 2>&5
8601   $RM conftest*
8602   # SGI C++ compiler will create directory out/ii_files/ for
8603   # template instantiation
8604   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8605   $RM out/* && rmdir out
8606   cd ..
8607   $RM -r conftest
8608   $RM conftest*
8609
8610fi
8611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8612$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8613
8614
8615
8616
8617
8618
8619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8620$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8621if ${lt_cv_prog_compiler_c_o+:} false; then :
8622  $as_echo_n "(cached) " >&6
8623else
8624  lt_cv_prog_compiler_c_o=no
8625   $RM -r conftest 2>/dev/null
8626   mkdir conftest
8627   cd conftest
8628   mkdir out
8629   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8630
8631   lt_compiler_flag="-o out/conftest2.$ac_objext"
8632   # Insert the option either (1) after the last *FLAGS variable, or
8633   # (2) before a word containing "conftest.", or (3) at the end.
8634   # Note that $ac_compile itself does not contain backslashes and begins
8635   # with a dollar sign (not a hyphen), so the echo should work correctly.
8636   lt_compile=`echo "$ac_compile" | $SED \
8637   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8638   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8639   -e 's:$: $lt_compiler_flag:'`
8640   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8641   (eval "$lt_compile" 2>out/conftest.err)
8642   ac_status=$?
8643   cat out/conftest.err >&5
8644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8646   then
8647     # The compiler can only warn and ignore the option if not recognized
8648     # So say no if there are warnings
8649     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8650     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8651     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8652       lt_cv_prog_compiler_c_o=yes
8653     fi
8654   fi
8655   chmod u+w . 2>&5
8656   $RM conftest*
8657   # SGI C++ compiler will create directory out/ii_files/ for
8658   # template instantiation
8659   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8660   $RM out/* && rmdir out
8661   cd ..
8662   $RM -r conftest
8663   $RM conftest*
8664
8665fi
8666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8667$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8668
8669
8670
8671
8672hard_links="nottested"
8673if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8674  # do not overwrite the value of need_locks provided by the user
8675  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8676$as_echo_n "checking if we can lock with hard links... " >&6; }
8677  hard_links=yes
8678  $RM conftest*
8679  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8680  touch conftest.a
8681  ln conftest.a conftest.b 2>&5 || hard_links=no
8682  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8684$as_echo "$hard_links" >&6; }
8685  if test "$hard_links" = no; then
8686    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8687$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8688    need_locks=warn
8689  fi
8690else
8691  need_locks=no
8692fi
8693
8694
8695
8696
8697
8698
8699  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8700$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8701
8702  runpath_var=
8703  allow_undefined_flag=
8704  always_export_symbols=no
8705  archive_cmds=
8706  archive_expsym_cmds=
8707  compiler_needs_object=no
8708  enable_shared_with_static_runtimes=no
8709  export_dynamic_flag_spec=
8710  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8711  hardcode_automatic=no
8712  hardcode_direct=no
8713  hardcode_direct_absolute=no
8714  hardcode_libdir_flag_spec=
8715  hardcode_libdir_flag_spec_ld=
8716  hardcode_libdir_separator=
8717  hardcode_minus_L=no
8718  hardcode_shlibpath_var=unsupported
8719  inherit_rpath=no
8720  link_all_deplibs=unknown
8721  module_cmds=
8722  module_expsym_cmds=
8723  old_archive_from_new_cmds=
8724  old_archive_from_expsyms_cmds=
8725  thread_safe_flag_spec=
8726  whole_archive_flag_spec=
8727  # include_expsyms should be a list of space-separated symbols to be *always*
8728  # included in the symbol list
8729  include_expsyms=
8730  # exclude_expsyms can be an extended regexp of symbols to exclude
8731  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8732  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8733  # as well as any symbol that contains `d'.
8734  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8735  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8736  # platforms (ab)use it in PIC code, but their linkers get confused if
8737  # the symbol is explicitly referenced.  Since portable code cannot
8738  # rely on this symbol name, it's probably fine to never include it in
8739  # preloaded symbol tables.
8740  # Exclude shared library initialization/finalization symbols.
8741  extract_expsyms_cmds=
8742
8743  case $host_os in
8744  cygwin* | mingw* | pw32* | cegcc*)
8745    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8746    # When not using gcc, we currently assume that we are using
8747    # Microsoft Visual C++.
8748    if test "$GCC" != yes; then
8749      with_gnu_ld=no
8750    fi
8751    ;;
8752  interix*)
8753    # we just hope/assume this is gcc and not c89 (= MSVC++)
8754    with_gnu_ld=yes
8755    ;;
8756  openbsd*)
8757    with_gnu_ld=no
8758    ;;
8759  esac
8760
8761  ld_shlibs=yes
8762
8763  # On some targets, GNU ld is compatible enough with the native linker
8764  # that we're better off using the native interface for both.
8765  lt_use_gnu_ld_interface=no
8766  if test "$with_gnu_ld" = yes; then
8767    case $host_os in
8768      aix*)
8769	# The AIX port of GNU ld has always aspired to compatibility
8770	# with the native linker.  However, as the warning in the GNU ld
8771	# block says, versions before 2.19.5* couldn't really create working
8772	# shared libraries, regardless of the interface used.
8773	case `$LD -v 2>&1` in
8774	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8775	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8776	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8777	  *)
8778	    lt_use_gnu_ld_interface=yes
8779	    ;;
8780	esac
8781	;;
8782      *)
8783	lt_use_gnu_ld_interface=yes
8784	;;
8785    esac
8786  fi
8787
8788  if test "$lt_use_gnu_ld_interface" = yes; then
8789    # If archive_cmds runs LD, not CC, wlarc should be empty
8790    wlarc='${wl}'
8791
8792    # Set some defaults for GNU ld with shared library support. These
8793    # are reset later if shared libraries are not supported. Putting them
8794    # here allows them to be overridden if necessary.
8795    runpath_var=LD_RUN_PATH
8796    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8797    export_dynamic_flag_spec='${wl}--export-dynamic'
8798    # ancient GNU ld didn't support --whole-archive et. al.
8799    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8800      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8801    else
8802      whole_archive_flag_spec=
8803    fi
8804    supports_anon_versioning=no
8805    case `$LD -v 2>&1` in
8806      *GNU\ gold*) supports_anon_versioning=yes ;;
8807      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8808      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8809      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8810      *\ 2.11.*) ;; # other 2.11 versions
8811      *) supports_anon_versioning=yes ;;
8812    esac
8813
8814    # See if GNU ld supports shared libraries.
8815    case $host_os in
8816    aix[3-9]*)
8817      # On AIX/PPC, the GNU linker is very broken
8818      if test "$host_cpu" != ia64; then
8819	ld_shlibs=no
8820	cat <<_LT_EOF 1>&2
8821
8822*** Warning: the GNU linker, at least up to release 2.19, is reported
8823*** to be unable to reliably create shared libraries on AIX.
8824*** Therefore, libtool is disabling shared libraries support.  If you
8825*** really care for shared libraries, you may want to install binutils
8826*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8827*** You will then need to restart the configuration process.
8828
8829_LT_EOF
8830      fi
8831      ;;
8832
8833    amigaos*)
8834      case $host_cpu in
8835      powerpc)
8836            # see comment about AmigaOS4 .so support
8837            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8838            archive_expsym_cmds=''
8839        ;;
8840      m68k)
8841            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)'
8842            hardcode_libdir_flag_spec='-L$libdir'
8843            hardcode_minus_L=yes
8844        ;;
8845      esac
8846      ;;
8847
8848    beos*)
8849      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8850	allow_undefined_flag=unsupported
8851	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8852	# support --undefined.  This deserves some investigation.  FIXME
8853	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8854      else
8855	ld_shlibs=no
8856      fi
8857      ;;
8858
8859    cygwin* | mingw* | pw32* | cegcc*)
8860      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8861      # as there is no search path for DLLs.
8862      hardcode_libdir_flag_spec='-L$libdir'
8863      export_dynamic_flag_spec='${wl}--export-all-symbols'
8864      allow_undefined_flag=unsupported
8865      always_export_symbols=no
8866      enable_shared_with_static_runtimes=yes
8867      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'
8868      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8869
8870      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8871        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8872	# If the export-symbols file already is a .def file (1st line
8873	# is EXPORTS), use it as is; otherwise, prepend...
8874	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8875	  cp $export_symbols $output_objdir/$soname.def;
8876	else
8877	  echo EXPORTS > $output_objdir/$soname.def;
8878	  cat $export_symbols >> $output_objdir/$soname.def;
8879	fi~
8880	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8881      else
8882	ld_shlibs=no
8883      fi
8884      ;;
8885
8886    haiku*)
8887      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8888      link_all_deplibs=yes
8889      ;;
8890
8891    interix[3-9]*)
8892      hardcode_direct=no
8893      hardcode_shlibpath_var=no
8894      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8895      export_dynamic_flag_spec='${wl}-E'
8896      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8897      # Instead, shared libraries are loaded at an image base (0x10000000 by
8898      # default) and relocated if they conflict, which is a slow very memory
8899      # consuming and fragmenting process.  To avoid this, we pick a random,
8900      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8901      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8902      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8903      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'
8904      ;;
8905
8906    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8907      tmp_diet=no
8908      if test "$host_os" = linux-dietlibc; then
8909	case $cc_basename in
8910	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8911	esac
8912      fi
8913      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8914	 && test "$tmp_diet" = no
8915      then
8916	tmp_addflag=' $pic_flag'
8917	tmp_sharedflag='-shared'
8918	case $cc_basename,$host_cpu in
8919        pgcc*)				# Portland Group C compiler
8920	  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'
8921	  tmp_addflag=' $pic_flag'
8922	  ;;
8923	pgf77* | pgf90* | pgf95* | pgfortran*)
8924					# Portland Group f77 and f90 compilers
8925	  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'
8926	  tmp_addflag=' $pic_flag -Mnomain' ;;
8927	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8928	  tmp_addflag=' -i_dynamic' ;;
8929	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8930	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8931	ifc* | ifort*)			# Intel Fortran compiler
8932	  tmp_addflag=' -nofor_main' ;;
8933	lf95*)				# Lahey Fortran 8.1
8934	  whole_archive_flag_spec=
8935	  tmp_sharedflag='--shared' ;;
8936	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8937	  tmp_sharedflag='-qmkshrobj'
8938	  tmp_addflag= ;;
8939	nvcc*)	# Cuda Compiler Driver 2.2
8940	  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'
8941	  compiler_needs_object=yes
8942	  ;;
8943	esac
8944	case `$CC -V 2>&1 | sed 5q` in
8945	*Sun\ C*)			# Sun C 5.9
8946	  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'
8947	  compiler_needs_object=yes
8948	  tmp_sharedflag='-G' ;;
8949	*Sun\ F*)			# Sun Fortran 8.3
8950	  tmp_sharedflag='-G' ;;
8951	esac
8952	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8953
8954        if test "x$supports_anon_versioning" = xyes; then
8955          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8956	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8957	    echo "local: *; };" >> $output_objdir/$libname.ver~
8958	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8959        fi
8960
8961	case $cc_basename in
8962	xlf* | bgf* | bgxlf* | mpixlf*)
8963	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8964	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8965	  hardcode_libdir_flag_spec=
8966	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8967	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8968	  if test "x$supports_anon_versioning" = xyes; then
8969	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8970	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8971	      echo "local: *; };" >> $output_objdir/$libname.ver~
8972	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8973	  fi
8974	  ;;
8975	esac
8976      else
8977        ld_shlibs=no
8978      fi
8979      ;;
8980
8981    netbsd*)
8982      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8983	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8984	wlarc=
8985      else
8986	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8987	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8988      fi
8989      ;;
8990
8991    solaris*)
8992      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8993	ld_shlibs=no
8994	cat <<_LT_EOF 1>&2
8995
8996*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8997*** create shared libraries on Solaris systems.  Therefore, libtool
8998*** is disabling shared libraries support.  We urge you to upgrade GNU
8999*** binutils to release 2.9.1 or newer.  Another option is to modify
9000*** your PATH or compiler configuration so that the native linker is
9001*** used, and then restart.
9002
9003_LT_EOF
9004      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9005	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9006	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9007      else
9008	ld_shlibs=no
9009      fi
9010      ;;
9011
9012    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9013      case `$LD -v 2>&1` in
9014        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9015	ld_shlibs=no
9016	cat <<_LT_EOF 1>&2
9017
9018*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9019*** reliably create shared libraries on SCO systems.  Therefore, libtool
9020*** is disabling shared libraries support.  We urge you to upgrade GNU
9021*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9022*** your PATH or compiler configuration so that the native linker is
9023*** used, and then restart.
9024
9025_LT_EOF
9026	;;
9027	*)
9028	  # For security reasons, it is highly recommended that you always
9029	  # use absolute paths for naming shared libraries, and exclude the
9030	  # DT_RUNPATH tag from executables and libraries.  But doing so
9031	  # requires that you compile everything twice, which is a pain.
9032	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9033	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9034	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9035	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9036	  else
9037	    ld_shlibs=no
9038	  fi
9039	;;
9040      esac
9041      ;;
9042
9043    sunos4*)
9044      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9045      wlarc=
9046      hardcode_direct=yes
9047      hardcode_shlibpath_var=no
9048      ;;
9049
9050    *)
9051      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9052	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9053	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9054      else
9055	ld_shlibs=no
9056      fi
9057      ;;
9058    esac
9059
9060    if test "$ld_shlibs" = no; then
9061      runpath_var=
9062      hardcode_libdir_flag_spec=
9063      export_dynamic_flag_spec=
9064      whole_archive_flag_spec=
9065    fi
9066  else
9067    # PORTME fill in a description of your system's linker (not GNU ld)
9068    case $host_os in
9069    aix3*)
9070      allow_undefined_flag=unsupported
9071      always_export_symbols=yes
9072      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'
9073      # Note: this linker hardcodes the directories in LIBPATH if there
9074      # are no directories specified by -L.
9075      hardcode_minus_L=yes
9076      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9077	# Neither direct hardcoding nor static linking is supported with a
9078	# broken collect2.
9079	hardcode_direct=unsupported
9080      fi
9081      ;;
9082
9083    aix[4-9]*)
9084      if test "$host_cpu" = ia64; then
9085	# On IA64, the linker does run time linking by default, so we don't
9086	# have to do anything special.
9087	aix_use_runtimelinking=no
9088	exp_sym_flag='-Bexport'
9089	no_entry_flag=""
9090      else
9091	# If we're using GNU nm, then we don't want the "-C" option.
9092	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9093	# Also, AIX nm treats weak defined symbols like other global
9094	# defined symbols, whereas GNU nm marks them as "W".
9095	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9096	  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'
9097	else
9098	  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'
9099	fi
9100	aix_use_runtimelinking=no
9101
9102	# Test if we are trying to use run time linking or normal
9103	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9104	# need to do runtime linking.
9105	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9106	  for ld_flag in $LDFLAGS; do
9107	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9108	    aix_use_runtimelinking=yes
9109	    break
9110	  fi
9111	  done
9112	  ;;
9113	esac
9114
9115	exp_sym_flag='-bexport'
9116	no_entry_flag='-bnoentry'
9117      fi
9118
9119      # When large executables or shared objects are built, AIX ld can
9120      # have problems creating the table of contents.  If linking a library
9121      # or program results in "error TOC overflow" add -mminimal-toc to
9122      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9123      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9124
9125      archive_cmds=''
9126      hardcode_direct=yes
9127      hardcode_direct_absolute=yes
9128      hardcode_libdir_separator=':'
9129      link_all_deplibs=yes
9130      file_list_spec='${wl}-f,'
9131
9132      if test "$GCC" = yes; then
9133	case $host_os in aix4.[012]|aix4.[012].*)
9134	# We only want to do this on AIX 4.2 and lower, the check
9135	# below for broken collect2 doesn't work under 4.3+
9136	  collect2name=`${CC} -print-prog-name=collect2`
9137	  if test -f "$collect2name" &&
9138	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9139	  then
9140	  # We have reworked collect2
9141	  :
9142	  else
9143	  # We have old collect2
9144	  hardcode_direct=unsupported
9145	  # It fails to find uninstalled libraries when the uninstalled
9146	  # path is not listed in the libpath.  Setting hardcode_minus_L
9147	  # to unsupported forces relinking
9148	  hardcode_minus_L=yes
9149	  hardcode_libdir_flag_spec='-L$libdir'
9150	  hardcode_libdir_separator=
9151	  fi
9152	  ;;
9153	esac
9154	shared_flag='-shared'
9155	if test "$aix_use_runtimelinking" = yes; then
9156	  shared_flag="$shared_flag "'${wl}-G'
9157	fi
9158      else
9159	# not using gcc
9160	if test "$host_cpu" = ia64; then
9161	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9162	# chokes on -Wl,-G. The following line is correct:
9163	  shared_flag='-G'
9164	else
9165	  if test "$aix_use_runtimelinking" = yes; then
9166	    shared_flag='${wl}-G'
9167	  else
9168	    shared_flag='${wl}-bM:SRE'
9169	  fi
9170	fi
9171      fi
9172
9173      export_dynamic_flag_spec='${wl}-bexpall'
9174      # It seems that -bexpall does not export symbols beginning with
9175      # underscore (_), so it is better to generate a list of symbols to export.
9176      always_export_symbols=yes
9177      if test "$aix_use_runtimelinking" = yes; then
9178	# Warning - without using the other runtime loading flags (-brtl),
9179	# -berok will link without error, but may produce a broken library.
9180	allow_undefined_flag='-berok'
9181        # Determine the default libpath from the value encoded in an
9182        # empty executable.
9183        if test "${lt_cv_aix_libpath+set}" = set; then
9184  aix_libpath=$lt_cv_aix_libpath
9185else
9186  if ${lt_cv_aix_libpath_+:} false; then :
9187  $as_echo_n "(cached) " >&6
9188else
9189  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9190/* end confdefs.h.  */
9191
9192int
9193main ()
9194{
9195
9196  ;
9197  return 0;
9198}
9199_ACEOF
9200if ac_fn_c_try_link "$LINENO"; then :
9201
9202  lt_aix_libpath_sed='
9203      /Import File Strings/,/^$/ {
9204	  /^0/ {
9205	      s/^0  *\([^ ]*\) *$/\1/
9206	      p
9207	  }
9208      }'
9209  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9210  # Check for a 64-bit object if we didn't find anything.
9211  if test -z "$lt_cv_aix_libpath_"; then
9212    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9213  fi
9214fi
9215rm -f core conftest.err conftest.$ac_objext \
9216    conftest$ac_exeext conftest.$ac_ext
9217  if test -z "$lt_cv_aix_libpath_"; then
9218    lt_cv_aix_libpath_="/usr/lib:/lib"
9219  fi
9220
9221fi
9222
9223  aix_libpath=$lt_cv_aix_libpath_
9224fi
9225
9226        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9227        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"
9228      else
9229	if test "$host_cpu" = ia64; then
9230	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9231	  allow_undefined_flag="-z nodefs"
9232	  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"
9233	else
9234	 # Determine the default libpath from the value encoded in an
9235	 # empty executable.
9236	 if test "${lt_cv_aix_libpath+set}" = set; then
9237  aix_libpath=$lt_cv_aix_libpath
9238else
9239  if ${lt_cv_aix_libpath_+:} false; then :
9240  $as_echo_n "(cached) " >&6
9241else
9242  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243/* end confdefs.h.  */
9244
9245int
9246main ()
9247{
9248
9249  ;
9250  return 0;
9251}
9252_ACEOF
9253if ac_fn_c_try_link "$LINENO"; then :
9254
9255  lt_aix_libpath_sed='
9256      /Import File Strings/,/^$/ {
9257	  /^0/ {
9258	      s/^0  *\([^ ]*\) *$/\1/
9259	      p
9260	  }
9261      }'
9262  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9263  # Check for a 64-bit object if we didn't find anything.
9264  if test -z "$lt_cv_aix_libpath_"; then
9265    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9266  fi
9267fi
9268rm -f core conftest.err conftest.$ac_objext \
9269    conftest$ac_exeext conftest.$ac_ext
9270  if test -z "$lt_cv_aix_libpath_"; then
9271    lt_cv_aix_libpath_="/usr/lib:/lib"
9272  fi
9273
9274fi
9275
9276  aix_libpath=$lt_cv_aix_libpath_
9277fi
9278
9279	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9280	  # Warning - without using the other run time loading flags,
9281	  # -berok will link without error, but may produce a broken library.
9282	  no_undefined_flag=' ${wl}-bernotok'
9283	  allow_undefined_flag=' ${wl}-berok'
9284	  if test "$with_gnu_ld" = yes; then
9285	    # We only use this code for GNU lds that support --whole-archive.
9286	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9287	  else
9288	    # Exported symbols can be pulled into shared objects from archives
9289	    whole_archive_flag_spec='$convenience'
9290	  fi
9291	  archive_cmds_need_lc=yes
9292	  # This is similar to how AIX traditionally builds its shared libraries.
9293	  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'
9294	fi
9295      fi
9296      ;;
9297
9298    amigaos*)
9299      case $host_cpu in
9300      powerpc)
9301            # see comment about AmigaOS4 .so support
9302            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9303            archive_expsym_cmds=''
9304        ;;
9305      m68k)
9306            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)'
9307            hardcode_libdir_flag_spec='-L$libdir'
9308            hardcode_minus_L=yes
9309        ;;
9310      esac
9311      ;;
9312
9313    bsdi[45]*)
9314      export_dynamic_flag_spec=-rdynamic
9315      ;;
9316
9317    cygwin* | mingw* | pw32* | cegcc*)
9318      # When not using gcc, we currently assume that we are using
9319      # Microsoft Visual C++.
9320      # hardcode_libdir_flag_spec is actually meaningless, as there is
9321      # no search path for DLLs.
9322      case $cc_basename in
9323      cl*)
9324	# Native MSVC
9325	hardcode_libdir_flag_spec=' '
9326	allow_undefined_flag=unsupported
9327	always_export_symbols=yes
9328	file_list_spec='@'
9329	# Tell ltmain to make .lib files, not .a files.
9330	libext=lib
9331	# Tell ltmain to make .dll files, not .so files.
9332	shrext_cmds=".dll"
9333	# FIXME: Setting linknames here is a bad hack.
9334	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9335	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9336	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9337	  else
9338	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9339	  fi~
9340	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9341	  linknames='
9342	# The linker will not automatically build a static lib if we build a DLL.
9343	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9344	enable_shared_with_static_runtimes=yes
9345	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9346	# Don't use ranlib
9347	old_postinstall_cmds='chmod 644 $oldlib'
9348	postlink_cmds='lt_outputfile="@OUTPUT@"~
9349	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9350	  case $lt_outputfile in
9351	    *.exe|*.EXE) ;;
9352	    *)
9353	      lt_outputfile="$lt_outputfile.exe"
9354	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9355	      ;;
9356	  esac~
9357	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9358	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9359	    $RM "$lt_outputfile.manifest";
9360	  fi'
9361	;;
9362      *)
9363	# Assume MSVC wrapper
9364	hardcode_libdir_flag_spec=' '
9365	allow_undefined_flag=unsupported
9366	# Tell ltmain to make .lib files, not .a files.
9367	libext=lib
9368	# Tell ltmain to make .dll files, not .so files.
9369	shrext_cmds=".dll"
9370	# FIXME: Setting linknames here is a bad hack.
9371	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9372	# The linker will automatically build a .lib file if we build a DLL.
9373	old_archive_from_new_cmds='true'
9374	# FIXME: Should let the user specify the lib program.
9375	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9376	enable_shared_with_static_runtimes=yes
9377	;;
9378      esac
9379      ;;
9380
9381    darwin* | rhapsody*)
9382
9383
9384  archive_cmds_need_lc=no
9385  hardcode_direct=no
9386  hardcode_automatic=yes
9387  hardcode_shlibpath_var=unsupported
9388  if test "$lt_cv_ld_force_load" = "yes"; then
9389    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\"`'
9390  else
9391    whole_archive_flag_spec=''
9392  fi
9393  link_all_deplibs=yes
9394  allow_undefined_flag="$_lt_dar_allow_undefined"
9395  case $cc_basename in
9396     ifort*) _lt_dar_can_shared=yes ;;
9397     *) _lt_dar_can_shared=$GCC ;;
9398  esac
9399  if test "$_lt_dar_can_shared" = "yes"; then
9400    output_verbose_link_cmd=func_echo_all
9401    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9402    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9403    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}"
9404    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}"
9405
9406  else
9407  ld_shlibs=no
9408  fi
9409
9410      ;;
9411
9412    dgux*)
9413      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9414      hardcode_libdir_flag_spec='-L$libdir'
9415      hardcode_shlibpath_var=no
9416      ;;
9417
9418    freebsd1*)
9419      ld_shlibs=no
9420      ;;
9421
9422    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9423    # support.  Future versions do this automatically, but an explicit c++rt0.o
9424    # does not break anything, and helps significantly (at the cost of a little
9425    # extra space).
9426    freebsd2.2*)
9427      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9428      hardcode_libdir_flag_spec='-R$libdir'
9429      hardcode_direct=yes
9430      hardcode_shlibpath_var=no
9431      ;;
9432
9433    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9434    freebsd2*)
9435      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9436      hardcode_direct=yes
9437      hardcode_minus_L=yes
9438      hardcode_shlibpath_var=no
9439      ;;
9440
9441    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9442    freebsd* | dragonfly*)
9443      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9444      hardcode_libdir_flag_spec='-R$libdir'
9445      hardcode_direct=yes
9446      hardcode_shlibpath_var=no
9447      ;;
9448
9449    hpux9*)
9450      if test "$GCC" = yes; then
9451	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'
9452      else
9453	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'
9454      fi
9455      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9456      hardcode_libdir_separator=:
9457      hardcode_direct=yes
9458
9459      # hardcode_minus_L: Not really in the search PATH,
9460      # but as the default location of the library.
9461      hardcode_minus_L=yes
9462      export_dynamic_flag_spec='${wl}-E'
9463      ;;
9464
9465    hpux10*)
9466      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9467	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9468      else
9469	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9470      fi
9471      if test "$with_gnu_ld" = no; then
9472	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9473	hardcode_libdir_flag_spec_ld='+b $libdir'
9474	hardcode_libdir_separator=:
9475	hardcode_direct=yes
9476	hardcode_direct_absolute=yes
9477	export_dynamic_flag_spec='${wl}-E'
9478	# hardcode_minus_L: Not really in the search PATH,
9479	# but as the default location of the library.
9480	hardcode_minus_L=yes
9481      fi
9482      ;;
9483
9484    hpux11*)
9485      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9486	case $host_cpu in
9487	hppa*64*)
9488	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9489	  ;;
9490	ia64*)
9491	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9492	  ;;
9493	*)
9494	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9495	  ;;
9496	esac
9497      else
9498	case $host_cpu in
9499	hppa*64*)
9500	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9501	  ;;
9502	ia64*)
9503	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9504	  ;;
9505	*)
9506
9507	  # Older versions of the 11.00 compiler do not understand -b yet
9508	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9509	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9510$as_echo_n "checking if $CC understands -b... " >&6; }
9511if ${lt_cv_prog_compiler__b+:} false; then :
9512  $as_echo_n "(cached) " >&6
9513else
9514  lt_cv_prog_compiler__b=no
9515   save_LDFLAGS="$LDFLAGS"
9516   LDFLAGS="$LDFLAGS -b"
9517   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9518   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9519     # The linker can only warn and ignore the option if not recognized
9520     # So say no if there are warnings
9521     if test -s conftest.err; then
9522       # Append any errors to the config.log.
9523       cat conftest.err 1>&5
9524       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9525       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9526       if diff conftest.exp conftest.er2 >/dev/null; then
9527         lt_cv_prog_compiler__b=yes
9528       fi
9529     else
9530       lt_cv_prog_compiler__b=yes
9531     fi
9532   fi
9533   $RM -r conftest*
9534   LDFLAGS="$save_LDFLAGS"
9535
9536fi
9537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9538$as_echo "$lt_cv_prog_compiler__b" >&6; }
9539
9540if test x"$lt_cv_prog_compiler__b" = xyes; then
9541    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9542else
9543    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9544fi
9545
9546	  ;;
9547	esac
9548      fi
9549      if test "$with_gnu_ld" = no; then
9550	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9551	hardcode_libdir_separator=:
9552
9553	case $host_cpu in
9554	hppa*64*|ia64*)
9555	  hardcode_direct=no
9556	  hardcode_shlibpath_var=no
9557	  ;;
9558	*)
9559	  hardcode_direct=yes
9560	  hardcode_direct_absolute=yes
9561	  export_dynamic_flag_spec='${wl}-E'
9562
9563	  # hardcode_minus_L: Not really in the search PATH,
9564	  # but as the default location of the library.
9565	  hardcode_minus_L=yes
9566	  ;;
9567	esac
9568      fi
9569      ;;
9570
9571    irix5* | irix6* | nonstopux*)
9572      if test "$GCC" = yes; then
9573	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'
9574	# Try to use the -exported_symbol ld option, if it does not
9575	# work, assume that -exports_file does not work either and
9576	# implicitly export all symbols.
9577	# This should be the same for all languages, so no per-tag cache variable.
9578	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9579$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9580if ${lt_cv_irix_exported_symbol+:} false; then :
9581  $as_echo_n "(cached) " >&6
9582else
9583  save_LDFLAGS="$LDFLAGS"
9584	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9585	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9586/* end confdefs.h.  */
9587int foo (void) { return 0; }
9588_ACEOF
9589if ac_fn_c_try_link "$LINENO"; then :
9590  lt_cv_irix_exported_symbol=yes
9591else
9592  lt_cv_irix_exported_symbol=no
9593fi
9594rm -f core conftest.err conftest.$ac_objext \
9595    conftest$ac_exeext conftest.$ac_ext
9596           LDFLAGS="$save_LDFLAGS"
9597fi
9598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9599$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9600	if test "$lt_cv_irix_exported_symbol" = yes; then
9601          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'
9602	fi
9603      else
9604	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'
9605	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'
9606      fi
9607      archive_cmds_need_lc='no'
9608      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9609      hardcode_libdir_separator=:
9610      inherit_rpath=yes
9611      link_all_deplibs=yes
9612      ;;
9613
9614    netbsd*)
9615      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9616	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9617      else
9618	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9619      fi
9620      hardcode_libdir_flag_spec='-R$libdir'
9621      hardcode_direct=yes
9622      hardcode_shlibpath_var=no
9623      ;;
9624
9625    newsos6)
9626      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9627      hardcode_direct=yes
9628      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9629      hardcode_libdir_separator=:
9630      hardcode_shlibpath_var=no
9631      ;;
9632
9633    *nto* | *qnx*)
9634      ;;
9635
9636    openbsd*)
9637      if test -f /usr/libexec/ld.so; then
9638	hardcode_direct=yes
9639	hardcode_shlibpath_var=no
9640	hardcode_direct_absolute=yes
9641	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9642	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9643	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9644	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9645	  export_dynamic_flag_spec='${wl}-E'
9646	else
9647	  case $host_os in
9648	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9649	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9650	     hardcode_libdir_flag_spec='-R$libdir'
9651	     ;;
9652	   *)
9653	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9654	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9655	     ;;
9656	  esac
9657	fi
9658      else
9659	ld_shlibs=no
9660      fi
9661      ;;
9662
9663    os2*)
9664      hardcode_libdir_flag_spec='-L$libdir'
9665      hardcode_minus_L=yes
9666      allow_undefined_flag=unsupported
9667      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'
9668      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9669      ;;
9670
9671    osf3*)
9672      if test "$GCC" = yes; then
9673	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9674	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'
9675      else
9676	allow_undefined_flag=' -expect_unresolved \*'
9677	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'
9678      fi
9679      archive_cmds_need_lc='no'
9680      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9681      hardcode_libdir_separator=:
9682      ;;
9683
9684    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9685      if test "$GCC" = yes; then
9686	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9687	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'
9688	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9689      else
9690	allow_undefined_flag=' -expect_unresolved \*'
9691	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'
9692	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~
9693	$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'
9694
9695	# Both c and cxx compiler support -rpath directly
9696	hardcode_libdir_flag_spec='-rpath $libdir'
9697      fi
9698      archive_cmds_need_lc='no'
9699      hardcode_libdir_separator=:
9700      ;;
9701
9702    solaris*)
9703      no_undefined_flag=' -z defs'
9704      if test "$GCC" = yes; then
9705	wlarc='${wl}'
9706	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9707	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9708	  $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'
9709      else
9710	case `$CC -V 2>&1` in
9711	*"Compilers 5.0"*)
9712	  wlarc=''
9713	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9715	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9716	  ;;
9717	*)
9718	  wlarc='${wl}'
9719	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9720	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9721	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9722	  ;;
9723	esac
9724      fi
9725      hardcode_libdir_flag_spec='-R$libdir'
9726      hardcode_shlibpath_var=no
9727      case $host_os in
9728      solaris2.[0-5] | solaris2.[0-5].*) ;;
9729      *)
9730	# The compiler driver will combine and reorder linker options,
9731	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9732	# but is careful enough not to reorder.
9733	# Supported since Solaris 2.6 (maybe 2.5.1?)
9734	if test "$GCC" = yes; then
9735	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9736	else
9737	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9738	fi
9739	;;
9740      esac
9741      link_all_deplibs=yes
9742      ;;
9743
9744    sunos4*)
9745      if test "x$host_vendor" = xsequent; then
9746	# Use $CC to link under sequent, because it throws in some extra .o
9747	# files that make .init and .fini sections work.
9748	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9749      else
9750	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9751      fi
9752      hardcode_libdir_flag_spec='-L$libdir'
9753      hardcode_direct=yes
9754      hardcode_minus_L=yes
9755      hardcode_shlibpath_var=no
9756      ;;
9757
9758    sysv4)
9759      case $host_vendor in
9760	sni)
9761	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9762	  hardcode_direct=yes # is this really true???
9763	;;
9764	siemens)
9765	  ## LD is ld it makes a PLAMLIB
9766	  ## CC just makes a GrossModule.
9767	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9768	  reload_cmds='$CC -r -o $output$reload_objs'
9769	  hardcode_direct=no
9770        ;;
9771	motorola)
9772	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9773	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9774	;;
9775      esac
9776      runpath_var='LD_RUN_PATH'
9777      hardcode_shlibpath_var=no
9778      ;;
9779
9780    sysv4.3*)
9781      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9782      hardcode_shlibpath_var=no
9783      export_dynamic_flag_spec='-Bexport'
9784      ;;
9785
9786    sysv4*MP*)
9787      if test -d /usr/nec; then
9788	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789	hardcode_shlibpath_var=no
9790	runpath_var=LD_RUN_PATH
9791	hardcode_runpath_var=yes
9792	ld_shlibs=yes
9793      fi
9794      ;;
9795
9796    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9797      no_undefined_flag='${wl}-z,text'
9798      archive_cmds_need_lc=no
9799      hardcode_shlibpath_var=no
9800      runpath_var='LD_RUN_PATH'
9801
9802      if test "$GCC" = yes; then
9803	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9804	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9805      else
9806	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9807	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9808      fi
9809      ;;
9810
9811    sysv5* | sco3.2v5* | sco5v6*)
9812      # Note: We can NOT use -z defs as we might desire, because we do not
9813      # link with -lc, and that would cause any symbols used from libc to
9814      # always be unresolved, which means just about no library would
9815      # ever link correctly.  If we're not using GNU ld we use -z text
9816      # though, which does catch some bad symbols but isn't as heavy-handed
9817      # as -z defs.
9818      no_undefined_flag='${wl}-z,text'
9819      allow_undefined_flag='${wl}-z,nodefs'
9820      archive_cmds_need_lc=no
9821      hardcode_shlibpath_var=no
9822      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9823      hardcode_libdir_separator=':'
9824      link_all_deplibs=yes
9825      export_dynamic_flag_spec='${wl}-Bexport'
9826      runpath_var='LD_RUN_PATH'
9827
9828      if test "$GCC" = yes; then
9829	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9830	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9831      else
9832	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9833	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9834      fi
9835      ;;
9836
9837    uts4*)
9838      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9839      hardcode_libdir_flag_spec='-L$libdir'
9840      hardcode_shlibpath_var=no
9841      ;;
9842
9843    *)
9844      ld_shlibs=no
9845      ;;
9846    esac
9847
9848    if test x$host_vendor = xsni; then
9849      case $host in
9850      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9851	export_dynamic_flag_spec='${wl}-Blargedynsym'
9852	;;
9853      esac
9854    fi
9855  fi
9856
9857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9858$as_echo "$ld_shlibs" >&6; }
9859test "$ld_shlibs" = no && can_build_shared=no
9860
9861with_gnu_ld=$with_gnu_ld
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877#
9878# Do we need to explicitly link libc?
9879#
9880case "x$archive_cmds_need_lc" in
9881x|xyes)
9882  # Assume -lc should be added
9883  archive_cmds_need_lc=yes
9884
9885  if test "$enable_shared" = yes && test "$GCC" = yes; then
9886    case $archive_cmds in
9887    *'~'*)
9888      # FIXME: we may have to deal with multi-command sequences.
9889      ;;
9890    '$CC '*)
9891      # Test whether the compiler implicitly links with -lc since on some
9892      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9893      # to ld, don't add -lc before -lgcc.
9894      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9895$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9896if ${lt_cv_archive_cmds_need_lc+:} false; then :
9897  $as_echo_n "(cached) " >&6
9898else
9899  $RM conftest*
9900	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9901
9902	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9903  (eval $ac_compile) 2>&5
9904  ac_status=$?
9905  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9906  test $ac_status = 0; } 2>conftest.err; then
9907	  soname=conftest
9908	  lib=conftest
9909	  libobjs=conftest.$ac_objext
9910	  deplibs=
9911	  wl=$lt_prog_compiler_wl
9912	  pic_flag=$lt_prog_compiler_pic
9913	  compiler_flags=-v
9914	  linker_flags=-v
9915	  verstring=
9916	  output_objdir=.
9917	  libname=conftest
9918	  lt_save_allow_undefined_flag=$allow_undefined_flag
9919	  allow_undefined_flag=
9920	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9921  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9922  ac_status=$?
9923  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9924  test $ac_status = 0; }
9925	  then
9926	    lt_cv_archive_cmds_need_lc=no
9927	  else
9928	    lt_cv_archive_cmds_need_lc=yes
9929	  fi
9930	  allow_undefined_flag=$lt_save_allow_undefined_flag
9931	else
9932	  cat conftest.err 1>&5
9933	fi
9934	$RM conftest*
9935
9936fi
9937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9938$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9939      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9940      ;;
9941    esac
9942  fi
9943  ;;
9944esac
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10103$as_echo_n "checking dynamic linker characteristics... " >&6; }
10104
10105if test "$GCC" = yes; then
10106  case $host_os in
10107    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10108    *) lt_awk_arg="/^libraries:/" ;;
10109  esac
10110  case $host_os in
10111    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10112    *) lt_sed_strip_eq="s,=/,/,g" ;;
10113  esac
10114  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10115  case $lt_search_path_spec in
10116  *\;*)
10117    # if the path contains ";" then we assume it to be the separator
10118    # otherwise default to the standard path separator (i.e. ":") - it is
10119    # assumed that no part of a normal pathname contains ";" but that should
10120    # okay in the real world where ";" in dirpaths is itself problematic.
10121    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10122    ;;
10123  *)
10124    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10125    ;;
10126  esac
10127  # Ok, now we have the path, separated by spaces, we can step through it
10128  # and add multilib dir if necessary.
10129  lt_tmp_lt_search_path_spec=
10130  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10131  for lt_sys_path in $lt_search_path_spec; do
10132    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10133      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10134    else
10135      test -d "$lt_sys_path" && \
10136	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10137    fi
10138  done
10139  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10140BEGIN {RS=" "; FS="/|\n";} {
10141  lt_foo="";
10142  lt_count=0;
10143  for (lt_i = NF; lt_i > 0; lt_i--) {
10144    if ($lt_i != "" && $lt_i != ".") {
10145      if ($lt_i == "..") {
10146        lt_count++;
10147      } else {
10148        if (lt_count == 0) {
10149          lt_foo="/" $lt_i lt_foo;
10150        } else {
10151          lt_count--;
10152        }
10153      }
10154    }
10155  }
10156  if (lt_foo != "") { lt_freq[lt_foo]++; }
10157  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10158}'`
10159  # AWK program above erroneously prepends '/' to C:/dos/paths
10160  # for these hosts.
10161  case $host_os in
10162    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10163      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10164  esac
10165  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10166else
10167  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10168fi
10169library_names_spec=
10170libname_spec='lib$name'
10171soname_spec=
10172shrext_cmds=".so"
10173postinstall_cmds=
10174postuninstall_cmds=
10175finish_cmds=
10176finish_eval=
10177shlibpath_var=
10178shlibpath_overrides_runpath=unknown
10179version_type=none
10180dynamic_linker="$host_os ld.so"
10181sys_lib_dlsearch_path_spec="/lib /usr/lib"
10182need_lib_prefix=unknown
10183hardcode_into_libs=no
10184
10185# when you set need_version to no, make sure it does not cause -set_version
10186# flags to be left without arguments
10187need_version=unknown
10188
10189case $host_os in
10190aix3*)
10191  version_type=linux
10192  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10193  shlibpath_var=LIBPATH
10194
10195  # AIX 3 has no versioning support, so we append a major version to the name.
10196  soname_spec='${libname}${release}${shared_ext}$major'
10197  ;;
10198
10199aix[4-9]*)
10200  version_type=linux
10201  need_lib_prefix=no
10202  need_version=no
10203  hardcode_into_libs=yes
10204  if test "$host_cpu" = ia64; then
10205    # AIX 5 supports IA64
10206    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10207    shlibpath_var=LD_LIBRARY_PATH
10208  else
10209    # With GCC up to 2.95.x, collect2 would create an import file
10210    # for dependence libraries.  The import file would start with
10211    # the line `#! .'.  This would cause the generated library to
10212    # depend on `.', always an invalid library.  This was fixed in
10213    # development snapshots of GCC prior to 3.0.
10214    case $host_os in
10215      aix4 | aix4.[01] | aix4.[01].*)
10216      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10217	   echo ' yes '
10218	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10219	:
10220      else
10221	can_build_shared=no
10222      fi
10223      ;;
10224    esac
10225    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10226    # soname into executable. Probably we can add versioning support to
10227    # collect2, so additional links can be useful in future.
10228    if test "$aix_use_runtimelinking" = yes; then
10229      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10230      # instead of lib<name>.a to let people know that these are not
10231      # typical AIX shared libraries.
10232      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10233    else
10234      # We preserve .a as extension for shared libraries through AIX4.2
10235      # and later when we are not doing run time linking.
10236      library_names_spec='${libname}${release}.a $libname.a'
10237      soname_spec='${libname}${release}${shared_ext}$major'
10238    fi
10239    shlibpath_var=LIBPATH
10240  fi
10241  ;;
10242
10243amigaos*)
10244  case $host_cpu in
10245  powerpc)
10246    # Since July 2007 AmigaOS4 officially supports .so libraries.
10247    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10248    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249    ;;
10250  m68k)
10251    library_names_spec='$libname.ixlibrary $libname.a'
10252    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10253    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'
10254    ;;
10255  esac
10256  ;;
10257
10258beos*)
10259  library_names_spec='${libname}${shared_ext}'
10260  dynamic_linker="$host_os ld.so"
10261  shlibpath_var=LIBRARY_PATH
10262  ;;
10263
10264bsdi[45]*)
10265  version_type=linux
10266  need_version=no
10267  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10268  soname_spec='${libname}${release}${shared_ext}$major'
10269  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10270  shlibpath_var=LD_LIBRARY_PATH
10271  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10272  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10273  # the default ld.so.conf also contains /usr/contrib/lib and
10274  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10275  # libtool to hard-code these into programs
10276  ;;
10277
10278cygwin* | mingw* | pw32* | cegcc*)
10279  version_type=windows
10280  shrext_cmds=".dll"
10281  need_version=no
10282  need_lib_prefix=no
10283
10284  case $GCC,$cc_basename in
10285  yes,*)
10286    # gcc
10287    library_names_spec='$libname.dll.a'
10288    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10289    postinstall_cmds='base_file=`basename \${file}`~
10290      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10291      dldir=$destdir/`dirname \$dlpath`~
10292      test -d \$dldir || mkdir -p \$dldir~
10293      $install_prog $dir/$dlname \$dldir/$dlname~
10294      chmod a+x \$dldir/$dlname~
10295      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10296        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10297      fi'
10298    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10299      dlpath=$dir/\$dldll~
10300       $RM \$dlpath'
10301    shlibpath_overrides_runpath=yes
10302
10303    case $host_os in
10304    cygwin*)
10305      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10306      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10307
10308      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10309      ;;
10310    mingw* | cegcc*)
10311      # MinGW DLLs use traditional 'lib' prefix
10312      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10313      ;;
10314    pw32*)
10315      # pw32 DLLs use 'pw' prefix rather than 'lib'
10316      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10317      ;;
10318    esac
10319    dynamic_linker='Win32 ld.exe'
10320    ;;
10321
10322  *,cl*)
10323    # Native MSVC
10324    libname_spec='$name'
10325    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10326    library_names_spec='${libname}.dll.lib'
10327
10328    case $build_os in
10329    mingw*)
10330      sys_lib_search_path_spec=
10331      lt_save_ifs=$IFS
10332      IFS=';'
10333      for lt_path in $LIB
10334      do
10335        IFS=$lt_save_ifs
10336        # Let DOS variable expansion print the short 8.3 style file name.
10337        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10338        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10339      done
10340      IFS=$lt_save_ifs
10341      # Convert to MSYS style.
10342      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10343      ;;
10344    cygwin*)
10345      # Convert to unix form, then to dos form, then back to unix form
10346      # but this time dos style (no spaces!) so that the unix form looks
10347      # like /cygdrive/c/PROGRA~1:/cygdr...
10348      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10349      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10350      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10351      ;;
10352    *)
10353      sys_lib_search_path_spec="$LIB"
10354      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10355        # It is most probably a Windows format PATH.
10356        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10357      else
10358        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10359      fi
10360      # FIXME: find the short name or the path components, as spaces are
10361      # common. (e.g. "Program Files" -> "PROGRA~1")
10362      ;;
10363    esac
10364
10365    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10366    postinstall_cmds='base_file=`basename \${file}`~
10367      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10368      dldir=$destdir/`dirname \$dlpath`~
10369      test -d \$dldir || mkdir -p \$dldir~
10370      $install_prog $dir/$dlname \$dldir/$dlname'
10371    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10372      dlpath=$dir/\$dldll~
10373       $RM \$dlpath'
10374    shlibpath_overrides_runpath=yes
10375    dynamic_linker='Win32 link.exe'
10376    ;;
10377
10378  *)
10379    # Assume MSVC wrapper
10380    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10381    dynamic_linker='Win32 ld.exe'
10382    ;;
10383  esac
10384  # FIXME: first we should search . and the directory the executable is in
10385  shlibpath_var=PATH
10386  ;;
10387
10388darwin* | rhapsody*)
10389  dynamic_linker="$host_os dyld"
10390  version_type=darwin
10391  need_lib_prefix=no
10392  need_version=no
10393  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10394  soname_spec='${libname}${release}${major}$shared_ext'
10395  shlibpath_overrides_runpath=yes
10396  shlibpath_var=DYLD_LIBRARY_PATH
10397  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10398
10399  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10400  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10401  ;;
10402
10403dgux*)
10404  version_type=linux
10405  need_lib_prefix=no
10406  need_version=no
10407  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10408  soname_spec='${libname}${release}${shared_ext}$major'
10409  shlibpath_var=LD_LIBRARY_PATH
10410  ;;
10411
10412freebsd1*)
10413  dynamic_linker=no
10414  ;;
10415
10416freebsd* | dragonfly*)
10417  # DragonFly does not have aout.  When/if they implement a new
10418  # versioning mechanism, adjust this.
10419  if test -x /usr/bin/objformat; then
10420    objformat=`/usr/bin/objformat`
10421  else
10422    case $host_os in
10423    freebsd[123]*) objformat=aout ;;
10424    *) objformat=elf ;;
10425    esac
10426  fi
10427  version_type=freebsd-$objformat
10428  case $version_type in
10429    freebsd-elf*)
10430      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10431      need_version=no
10432      need_lib_prefix=no
10433      ;;
10434    freebsd-*)
10435      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10436      need_version=yes
10437      ;;
10438  esac
10439  shlibpath_var=LD_LIBRARY_PATH
10440  case $host_os in
10441  freebsd2*)
10442    shlibpath_overrides_runpath=yes
10443    ;;
10444  freebsd3.[01]* | freebsdelf3.[01]*)
10445    shlibpath_overrides_runpath=yes
10446    hardcode_into_libs=yes
10447    ;;
10448  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10449  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10450    shlibpath_overrides_runpath=no
10451    hardcode_into_libs=yes
10452    ;;
10453  *) # from 4.6 on, and DragonFly
10454    shlibpath_overrides_runpath=yes
10455    hardcode_into_libs=yes
10456    ;;
10457  esac
10458  ;;
10459
10460gnu*)
10461  version_type=linux
10462  need_lib_prefix=no
10463  need_version=no
10464  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10465  soname_spec='${libname}${release}${shared_ext}$major'
10466  shlibpath_var=LD_LIBRARY_PATH
10467  hardcode_into_libs=yes
10468  ;;
10469
10470haiku*)
10471  version_type=linux
10472  need_lib_prefix=no
10473  need_version=no
10474  dynamic_linker="$host_os runtime_loader"
10475  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10476  soname_spec='${libname}${release}${shared_ext}$major'
10477  shlibpath_var=LIBRARY_PATH
10478  shlibpath_overrides_runpath=yes
10479  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10480  hardcode_into_libs=yes
10481  ;;
10482
10483hpux9* | hpux10* | hpux11*)
10484  # Give a soname corresponding to the major version so that dld.sl refuses to
10485  # link against other versions.
10486  version_type=sunos
10487  need_lib_prefix=no
10488  need_version=no
10489  case $host_cpu in
10490  ia64*)
10491    shrext_cmds='.so'
10492    hardcode_into_libs=yes
10493    dynamic_linker="$host_os dld.so"
10494    shlibpath_var=LD_LIBRARY_PATH
10495    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10496    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10497    soname_spec='${libname}${release}${shared_ext}$major'
10498    if test "X$HPUX_IA64_MODE" = X32; then
10499      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10500    else
10501      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10502    fi
10503    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10504    ;;
10505  hppa*64*)
10506    shrext_cmds='.sl'
10507    hardcode_into_libs=yes
10508    dynamic_linker="$host_os dld.sl"
10509    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10510    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10511    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10512    soname_spec='${libname}${release}${shared_ext}$major'
10513    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10514    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10515    ;;
10516  *)
10517    shrext_cmds='.sl'
10518    dynamic_linker="$host_os dld.sl"
10519    shlibpath_var=SHLIB_PATH
10520    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10521    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10522    soname_spec='${libname}${release}${shared_ext}$major'
10523    ;;
10524  esac
10525  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10526  postinstall_cmds='chmod 555 $lib'
10527  # or fails outright, so override atomically:
10528  install_override_mode=555
10529  ;;
10530
10531interix[3-9]*)
10532  version_type=linux
10533  need_lib_prefix=no
10534  need_version=no
10535  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10536  soname_spec='${libname}${release}${shared_ext}$major'
10537  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10538  shlibpath_var=LD_LIBRARY_PATH
10539  shlibpath_overrides_runpath=no
10540  hardcode_into_libs=yes
10541  ;;
10542
10543irix5* | irix6* | nonstopux*)
10544  case $host_os in
10545    nonstopux*) version_type=nonstopux ;;
10546    *)
10547	if test "$lt_cv_prog_gnu_ld" = yes; then
10548		version_type=linux
10549	else
10550		version_type=irix
10551	fi ;;
10552  esac
10553  need_lib_prefix=no
10554  need_version=no
10555  soname_spec='${libname}${release}${shared_ext}$major'
10556  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10557  case $host_os in
10558  irix5* | nonstopux*)
10559    libsuff= shlibsuff=
10560    ;;
10561  *)
10562    case $LD in # libtool.m4 will add one of these switches to LD
10563    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10564      libsuff= shlibsuff= libmagic=32-bit;;
10565    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10566      libsuff=32 shlibsuff=N32 libmagic=N32;;
10567    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10568      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10569    *) libsuff= shlibsuff= libmagic=never-match;;
10570    esac
10571    ;;
10572  esac
10573  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10574  shlibpath_overrides_runpath=no
10575  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10576  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10577  hardcode_into_libs=yes
10578  ;;
10579
10580# No shared lib support for Linux oldld, aout, or coff.
10581linux*oldld* | linux*aout* | linux*coff*)
10582  dynamic_linker=no
10583  ;;
10584
10585# This must be Linux ELF.
10586linux* | k*bsd*-gnu | kopensolaris*-gnu)
10587  version_type=linux
10588  need_lib_prefix=no
10589  need_version=no
10590  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10591  soname_spec='${libname}${release}${shared_ext}$major'
10592  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10593  shlibpath_var=LD_LIBRARY_PATH
10594  shlibpath_overrides_runpath=no
10595
10596  # Some binutils ld are patched to set DT_RUNPATH
10597  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10598  $as_echo_n "(cached) " >&6
10599else
10600  lt_cv_shlibpath_overrides_runpath=no
10601    save_LDFLAGS=$LDFLAGS
10602    save_libdir=$libdir
10603    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10604	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10605    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10606/* end confdefs.h.  */
10607
10608int
10609main ()
10610{
10611
10612  ;
10613  return 0;
10614}
10615_ACEOF
10616if ac_fn_c_try_link "$LINENO"; then :
10617  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10618  lt_cv_shlibpath_overrides_runpath=yes
10619fi
10620fi
10621rm -f core conftest.err conftest.$ac_objext \
10622    conftest$ac_exeext conftest.$ac_ext
10623    LDFLAGS=$save_LDFLAGS
10624    libdir=$save_libdir
10625
10626fi
10627
10628  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10629
10630  # This implies no fast_install, which is unacceptable.
10631  # Some rework will be needed to allow for fast_install
10632  # before this can be enabled.
10633  hardcode_into_libs=yes
10634
10635  # Add ABI-specific directories to the system library path.
10636  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
10637
10638  # Append ld.so.conf contents to the search path
10639  if test -f /etc/ld.so.conf; then
10640    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' ' '`
10641    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10642
10643  fi
10644
10645  # We used to test for /lib/ld.so.1 and disable shared libraries on
10646  # powerpc, because MkLinux only supported shared libraries with the
10647  # GNU dynamic linker.  Since this was broken with cross compilers,
10648  # most powerpc-linux boxes support dynamic linking these days and
10649  # people can always --disable-shared, the test was removed, and we
10650  # assume the GNU/Linux dynamic linker is in use.
10651  dynamic_linker='GNU/Linux ld.so'
10652  ;;
10653
10654netbsd*)
10655  version_type=sunos
10656  need_lib_prefix=no
10657  need_version=no
10658  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10659    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10660    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10661    dynamic_linker='NetBSD (a.out) ld.so'
10662  else
10663    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10664    soname_spec='${libname}${release}${shared_ext}$major'
10665    dynamic_linker='NetBSD ld.elf_so'
10666  fi
10667  shlibpath_var=LD_LIBRARY_PATH
10668  shlibpath_overrides_runpath=yes
10669  hardcode_into_libs=yes
10670  ;;
10671
10672newsos6)
10673  version_type=linux
10674  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10675  shlibpath_var=LD_LIBRARY_PATH
10676  shlibpath_overrides_runpath=yes
10677  ;;
10678
10679*nto* | *qnx*)
10680  version_type=qnx
10681  need_lib_prefix=no
10682  need_version=no
10683  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10684  soname_spec='${libname}${release}${shared_ext}$major'
10685  shlibpath_var=LD_LIBRARY_PATH
10686  shlibpath_overrides_runpath=no
10687  hardcode_into_libs=yes
10688  dynamic_linker='ldqnx.so'
10689  ;;
10690
10691openbsd*)
10692  version_type=sunos
10693  sys_lib_dlsearch_path_spec="/usr/lib"
10694  need_lib_prefix=no
10695  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10696  case $host_os in
10697    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10698    *)				need_version=no  ;;
10699  esac
10700  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10701  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10702  shlibpath_var=LD_LIBRARY_PATH
10703  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10704    case $host_os in
10705      openbsd2.[89] | openbsd2.[89].*)
10706	shlibpath_overrides_runpath=no
10707	;;
10708      *)
10709	shlibpath_overrides_runpath=yes
10710	;;
10711      esac
10712  else
10713    shlibpath_overrides_runpath=yes
10714  fi
10715  ;;
10716
10717os2*)
10718  libname_spec='$name'
10719  shrext_cmds=".dll"
10720  need_lib_prefix=no
10721  library_names_spec='$libname${shared_ext} $libname.a'
10722  dynamic_linker='OS/2 ld.exe'
10723  shlibpath_var=LIBPATH
10724  ;;
10725
10726osf3* | osf4* | osf5*)
10727  version_type=osf
10728  need_lib_prefix=no
10729  need_version=no
10730  soname_spec='${libname}${release}${shared_ext}$major'
10731  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10732  shlibpath_var=LD_LIBRARY_PATH
10733  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10734  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10735  ;;
10736
10737rdos*)
10738  dynamic_linker=no
10739  ;;
10740
10741solaris*)
10742  version_type=linux
10743  need_lib_prefix=no
10744  need_version=no
10745  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746  soname_spec='${libname}${release}${shared_ext}$major'
10747  shlibpath_var=LD_LIBRARY_PATH
10748  shlibpath_overrides_runpath=yes
10749  hardcode_into_libs=yes
10750  # ldd complains unless libraries are executable
10751  postinstall_cmds='chmod +x $lib'
10752  ;;
10753
10754sunos4*)
10755  version_type=sunos
10756  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10757  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10758  shlibpath_var=LD_LIBRARY_PATH
10759  shlibpath_overrides_runpath=yes
10760  if test "$with_gnu_ld" = yes; then
10761    need_lib_prefix=no
10762  fi
10763  need_version=yes
10764  ;;
10765
10766sysv4 | sysv4.3*)
10767  version_type=linux
10768  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769  soname_spec='${libname}${release}${shared_ext}$major'
10770  shlibpath_var=LD_LIBRARY_PATH
10771  case $host_vendor in
10772    sni)
10773      shlibpath_overrides_runpath=no
10774      need_lib_prefix=no
10775      runpath_var=LD_RUN_PATH
10776      ;;
10777    siemens)
10778      need_lib_prefix=no
10779      ;;
10780    motorola)
10781      need_lib_prefix=no
10782      need_version=no
10783      shlibpath_overrides_runpath=no
10784      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10785      ;;
10786  esac
10787  ;;
10788
10789sysv4*MP*)
10790  if test -d /usr/nec ;then
10791    version_type=linux
10792    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10793    soname_spec='$libname${shared_ext}.$major'
10794    shlibpath_var=LD_LIBRARY_PATH
10795  fi
10796  ;;
10797
10798sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10799  version_type=freebsd-elf
10800  need_lib_prefix=no
10801  need_version=no
10802  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10803  soname_spec='${libname}${release}${shared_ext}$major'
10804  shlibpath_var=LD_LIBRARY_PATH
10805  shlibpath_overrides_runpath=yes
10806  hardcode_into_libs=yes
10807  if test "$with_gnu_ld" = yes; then
10808    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10809  else
10810    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10811    case $host_os in
10812      sco3.2v5*)
10813        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10814	;;
10815    esac
10816  fi
10817  sys_lib_dlsearch_path_spec='/usr/lib'
10818  ;;
10819
10820tpf*)
10821  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10822  version_type=linux
10823  need_lib_prefix=no
10824  need_version=no
10825  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826  shlibpath_var=LD_LIBRARY_PATH
10827  shlibpath_overrides_runpath=no
10828  hardcode_into_libs=yes
10829  ;;
10830
10831uts4*)
10832  version_type=linux
10833  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10834  soname_spec='${libname}${release}${shared_ext}$major'
10835  shlibpath_var=LD_LIBRARY_PATH
10836  ;;
10837
10838*)
10839  dynamic_linker=no
10840  ;;
10841esac
10842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10843$as_echo "$dynamic_linker" >&6; }
10844test "$dynamic_linker" = no && can_build_shared=no
10845
10846variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10847if test "$GCC" = yes; then
10848  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10849fi
10850
10851if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10852  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10853fi
10854if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10855  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10856fi
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10950$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10951hardcode_action=
10952if test -n "$hardcode_libdir_flag_spec" ||
10953   test -n "$runpath_var" ||
10954   test "X$hardcode_automatic" = "Xyes" ; then
10955
10956  # We can hardcode non-existent directories.
10957  if test "$hardcode_direct" != no &&
10958     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10959     # have to relink, otherwise we might link with an installed library
10960     # when we should be linking with a yet-to-be-installed one
10961     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10962     test "$hardcode_minus_L" != no; then
10963    # Linking always hardcodes the temporary library directory.
10964    hardcode_action=relink
10965  else
10966    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10967    hardcode_action=immediate
10968  fi
10969else
10970  # We cannot hardcode anything, or else we can only hardcode existing
10971  # directories.
10972  hardcode_action=unsupported
10973fi
10974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10975$as_echo "$hardcode_action" >&6; }
10976
10977if test "$hardcode_action" = relink ||
10978   test "$inherit_rpath" = yes; then
10979  # Fast installation is not supported
10980  enable_fast_install=no
10981elif test "$shlibpath_overrides_runpath" = yes ||
10982     test "$enable_shared" = no; then
10983  # Fast installation is not necessary
10984  enable_fast_install=needless
10985fi
10986
10987
10988
10989
10990
10991
10992  if test "x$enable_dlopen" != xyes; then
10993  enable_dlopen=unknown
10994  enable_dlopen_self=unknown
10995  enable_dlopen_self_static=unknown
10996else
10997  lt_cv_dlopen=no
10998  lt_cv_dlopen_libs=
10999
11000  case $host_os in
11001  beos*)
11002    lt_cv_dlopen="load_add_on"
11003    lt_cv_dlopen_libs=
11004    lt_cv_dlopen_self=yes
11005    ;;
11006
11007  mingw* | pw32* | cegcc*)
11008    lt_cv_dlopen="LoadLibrary"
11009    lt_cv_dlopen_libs=
11010    ;;
11011
11012  cygwin*)
11013    lt_cv_dlopen="dlopen"
11014    lt_cv_dlopen_libs=
11015    ;;
11016
11017  darwin*)
11018  # if libdl is installed we need to link against it
11019    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11020$as_echo_n "checking for dlopen in -ldl... " >&6; }
11021if ${ac_cv_lib_dl_dlopen+:} false; then :
11022  $as_echo_n "(cached) " >&6
11023else
11024  ac_check_lib_save_LIBS=$LIBS
11025LIBS="-ldl  $LIBS"
11026cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11027/* end confdefs.h.  */
11028
11029/* Override any GCC internal prototype to avoid an error.
11030   Use char because int might match the return type of a GCC
11031   builtin and then its argument prototype would still apply.  */
11032#ifdef __cplusplus
11033extern "C"
11034#endif
11035char dlopen ();
11036int
11037main ()
11038{
11039return dlopen ();
11040  ;
11041  return 0;
11042}
11043_ACEOF
11044if ac_fn_c_try_link "$LINENO"; then :
11045  ac_cv_lib_dl_dlopen=yes
11046else
11047  ac_cv_lib_dl_dlopen=no
11048fi
11049rm -f core conftest.err conftest.$ac_objext \
11050    conftest$ac_exeext conftest.$ac_ext
11051LIBS=$ac_check_lib_save_LIBS
11052fi
11053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11054$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11055if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11056  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11057else
11058
11059    lt_cv_dlopen="dyld"
11060    lt_cv_dlopen_libs=
11061    lt_cv_dlopen_self=yes
11062
11063fi
11064
11065    ;;
11066
11067  *)
11068    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11069if test "x$ac_cv_func_shl_load" = xyes; then :
11070  lt_cv_dlopen="shl_load"
11071else
11072  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11073$as_echo_n "checking for shl_load in -ldld... " >&6; }
11074if ${ac_cv_lib_dld_shl_load+:} false; then :
11075  $as_echo_n "(cached) " >&6
11076else
11077  ac_check_lib_save_LIBS=$LIBS
11078LIBS="-ldld  $LIBS"
11079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11080/* end confdefs.h.  */
11081
11082/* Override any GCC internal prototype to avoid an error.
11083   Use char because int might match the return type of a GCC
11084   builtin and then its argument prototype would still apply.  */
11085#ifdef __cplusplus
11086extern "C"
11087#endif
11088char shl_load ();
11089int
11090main ()
11091{
11092return shl_load ();
11093  ;
11094  return 0;
11095}
11096_ACEOF
11097if ac_fn_c_try_link "$LINENO"; then :
11098  ac_cv_lib_dld_shl_load=yes
11099else
11100  ac_cv_lib_dld_shl_load=no
11101fi
11102rm -f core conftest.err conftest.$ac_objext \
11103    conftest$ac_exeext conftest.$ac_ext
11104LIBS=$ac_check_lib_save_LIBS
11105fi
11106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11107$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11108if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11109  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11110else
11111  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11112if test "x$ac_cv_func_dlopen" = xyes; then :
11113  lt_cv_dlopen="dlopen"
11114else
11115  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11116$as_echo_n "checking for dlopen in -ldl... " >&6; }
11117if ${ac_cv_lib_dl_dlopen+:} false; then :
11118  $as_echo_n "(cached) " >&6
11119else
11120  ac_check_lib_save_LIBS=$LIBS
11121LIBS="-ldl  $LIBS"
11122cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123/* end confdefs.h.  */
11124
11125/* Override any GCC internal prototype to avoid an error.
11126   Use char because int might match the return type of a GCC
11127   builtin and then its argument prototype would still apply.  */
11128#ifdef __cplusplus
11129extern "C"
11130#endif
11131char dlopen ();
11132int
11133main ()
11134{
11135return dlopen ();
11136  ;
11137  return 0;
11138}
11139_ACEOF
11140if ac_fn_c_try_link "$LINENO"; then :
11141  ac_cv_lib_dl_dlopen=yes
11142else
11143  ac_cv_lib_dl_dlopen=no
11144fi
11145rm -f core conftest.err conftest.$ac_objext \
11146    conftest$ac_exeext conftest.$ac_ext
11147LIBS=$ac_check_lib_save_LIBS
11148fi
11149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11150$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11151if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11152  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11153else
11154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11155$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11156if ${ac_cv_lib_svld_dlopen+:} false; then :
11157  $as_echo_n "(cached) " >&6
11158else
11159  ac_check_lib_save_LIBS=$LIBS
11160LIBS="-lsvld  $LIBS"
11161cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162/* end confdefs.h.  */
11163
11164/* Override any GCC internal prototype to avoid an error.
11165   Use char because int might match the return type of a GCC
11166   builtin and then its argument prototype would still apply.  */
11167#ifdef __cplusplus
11168extern "C"
11169#endif
11170char dlopen ();
11171int
11172main ()
11173{
11174return dlopen ();
11175  ;
11176  return 0;
11177}
11178_ACEOF
11179if ac_fn_c_try_link "$LINENO"; then :
11180  ac_cv_lib_svld_dlopen=yes
11181else
11182  ac_cv_lib_svld_dlopen=no
11183fi
11184rm -f core conftest.err conftest.$ac_objext \
11185    conftest$ac_exeext conftest.$ac_ext
11186LIBS=$ac_check_lib_save_LIBS
11187fi
11188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11189$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11190if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11191  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11192else
11193  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11194$as_echo_n "checking for dld_link in -ldld... " >&6; }
11195if ${ac_cv_lib_dld_dld_link+:} false; then :
11196  $as_echo_n "(cached) " >&6
11197else
11198  ac_check_lib_save_LIBS=$LIBS
11199LIBS="-ldld  $LIBS"
11200cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11201/* end confdefs.h.  */
11202
11203/* Override any GCC internal prototype to avoid an error.
11204   Use char because int might match the return type of a GCC
11205   builtin and then its argument prototype would still apply.  */
11206#ifdef __cplusplus
11207extern "C"
11208#endif
11209char dld_link ();
11210int
11211main ()
11212{
11213return dld_link ();
11214  ;
11215  return 0;
11216}
11217_ACEOF
11218if ac_fn_c_try_link "$LINENO"; then :
11219  ac_cv_lib_dld_dld_link=yes
11220else
11221  ac_cv_lib_dld_dld_link=no
11222fi
11223rm -f core conftest.err conftest.$ac_objext \
11224    conftest$ac_exeext conftest.$ac_ext
11225LIBS=$ac_check_lib_save_LIBS
11226fi
11227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11228$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11229if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11230  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11231fi
11232
11233
11234fi
11235
11236
11237fi
11238
11239
11240fi
11241
11242
11243fi
11244
11245
11246fi
11247
11248    ;;
11249  esac
11250
11251  if test "x$lt_cv_dlopen" != xno; then
11252    enable_dlopen=yes
11253  else
11254    enable_dlopen=no
11255  fi
11256
11257  case $lt_cv_dlopen in
11258  dlopen)
11259    save_CPPFLAGS="$CPPFLAGS"
11260    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11261
11262    save_LDFLAGS="$LDFLAGS"
11263    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11264
11265    save_LIBS="$LIBS"
11266    LIBS="$lt_cv_dlopen_libs $LIBS"
11267
11268    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11269$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11270if ${lt_cv_dlopen_self+:} false; then :
11271  $as_echo_n "(cached) " >&6
11272else
11273  	  if test "$cross_compiling" = yes; then :
11274  lt_cv_dlopen_self=cross
11275else
11276  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11277  lt_status=$lt_dlunknown
11278  cat > conftest.$ac_ext <<_LT_EOF
11279#line $LINENO "configure"
11280#include "confdefs.h"
11281
11282#if HAVE_DLFCN_H
11283#include <dlfcn.h>
11284#endif
11285
11286#include <stdio.h>
11287
11288#ifdef RTLD_GLOBAL
11289#  define LT_DLGLOBAL		RTLD_GLOBAL
11290#else
11291#  ifdef DL_GLOBAL
11292#    define LT_DLGLOBAL		DL_GLOBAL
11293#  else
11294#    define LT_DLGLOBAL		0
11295#  endif
11296#endif
11297
11298/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11299   find out it does not work in some platform. */
11300#ifndef LT_DLLAZY_OR_NOW
11301#  ifdef RTLD_LAZY
11302#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11303#  else
11304#    ifdef DL_LAZY
11305#      define LT_DLLAZY_OR_NOW		DL_LAZY
11306#    else
11307#      ifdef RTLD_NOW
11308#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11309#      else
11310#        ifdef DL_NOW
11311#          define LT_DLLAZY_OR_NOW	DL_NOW
11312#        else
11313#          define LT_DLLAZY_OR_NOW	0
11314#        endif
11315#      endif
11316#    endif
11317#  endif
11318#endif
11319
11320/* When -fvisbility=hidden is used, assume the code has been annotated
11321   correspondingly for the symbols needed.  */
11322#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11323int fnord () __attribute__((visibility("default")));
11324#endif
11325
11326int fnord () { return 42; }
11327int main ()
11328{
11329  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11330  int status = $lt_dlunknown;
11331
11332  if (self)
11333    {
11334      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11335      else
11336        {
11337	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11338          else puts (dlerror ());
11339	}
11340      /* dlclose (self); */
11341    }
11342  else
11343    puts (dlerror ());
11344
11345  return status;
11346}
11347_LT_EOF
11348  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11349  (eval $ac_link) 2>&5
11350  ac_status=$?
11351  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11352  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11353    (./conftest; exit; ) >&5 2>/dev/null
11354    lt_status=$?
11355    case x$lt_status in
11356      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11357      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11358      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11359    esac
11360  else :
11361    # compilation failed
11362    lt_cv_dlopen_self=no
11363  fi
11364fi
11365rm -fr conftest*
11366
11367
11368fi
11369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11370$as_echo "$lt_cv_dlopen_self" >&6; }
11371
11372    if test "x$lt_cv_dlopen_self" = xyes; then
11373      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11374      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11375$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11376if ${lt_cv_dlopen_self_static+:} false; then :
11377  $as_echo_n "(cached) " >&6
11378else
11379  	  if test "$cross_compiling" = yes; then :
11380  lt_cv_dlopen_self_static=cross
11381else
11382  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11383  lt_status=$lt_dlunknown
11384  cat > conftest.$ac_ext <<_LT_EOF
11385#line $LINENO "configure"
11386#include "confdefs.h"
11387
11388#if HAVE_DLFCN_H
11389#include <dlfcn.h>
11390#endif
11391
11392#include <stdio.h>
11393
11394#ifdef RTLD_GLOBAL
11395#  define LT_DLGLOBAL		RTLD_GLOBAL
11396#else
11397#  ifdef DL_GLOBAL
11398#    define LT_DLGLOBAL		DL_GLOBAL
11399#  else
11400#    define LT_DLGLOBAL		0
11401#  endif
11402#endif
11403
11404/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11405   find out it does not work in some platform. */
11406#ifndef LT_DLLAZY_OR_NOW
11407#  ifdef RTLD_LAZY
11408#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11409#  else
11410#    ifdef DL_LAZY
11411#      define LT_DLLAZY_OR_NOW		DL_LAZY
11412#    else
11413#      ifdef RTLD_NOW
11414#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11415#      else
11416#        ifdef DL_NOW
11417#          define LT_DLLAZY_OR_NOW	DL_NOW
11418#        else
11419#          define LT_DLLAZY_OR_NOW	0
11420#        endif
11421#      endif
11422#    endif
11423#  endif
11424#endif
11425
11426/* When -fvisbility=hidden is used, assume the code has been annotated
11427   correspondingly for the symbols needed.  */
11428#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11429int fnord () __attribute__((visibility("default")));
11430#endif
11431
11432int fnord () { return 42; }
11433int main ()
11434{
11435  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11436  int status = $lt_dlunknown;
11437
11438  if (self)
11439    {
11440      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11441      else
11442        {
11443	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11444          else puts (dlerror ());
11445	}
11446      /* dlclose (self); */
11447    }
11448  else
11449    puts (dlerror ());
11450
11451  return status;
11452}
11453_LT_EOF
11454  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11455  (eval $ac_link) 2>&5
11456  ac_status=$?
11457  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11458  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11459    (./conftest; exit; ) >&5 2>/dev/null
11460    lt_status=$?
11461    case x$lt_status in
11462      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11463      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11464      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11465    esac
11466  else :
11467    # compilation failed
11468    lt_cv_dlopen_self_static=no
11469  fi
11470fi
11471rm -fr conftest*
11472
11473
11474fi
11475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11476$as_echo "$lt_cv_dlopen_self_static" >&6; }
11477    fi
11478
11479    CPPFLAGS="$save_CPPFLAGS"
11480    LDFLAGS="$save_LDFLAGS"
11481    LIBS="$save_LIBS"
11482    ;;
11483  esac
11484
11485  case $lt_cv_dlopen_self in
11486  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11487  *) enable_dlopen_self=unknown ;;
11488  esac
11489
11490  case $lt_cv_dlopen_self_static in
11491  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11492  *) enable_dlopen_self_static=unknown ;;
11493  esac
11494fi
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512striplib=
11513old_striplib=
11514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11515$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11516if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11517  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11518  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11519  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11520$as_echo "yes" >&6; }
11521else
11522# FIXME - insert some real tests, host_os isn't really good enough
11523  case $host_os in
11524  darwin*)
11525    if test -n "$STRIP" ; then
11526      striplib="$STRIP -x"
11527      old_striplib="$STRIP -S"
11528      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11529$as_echo "yes" >&6; }
11530    else
11531      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11532$as_echo "no" >&6; }
11533    fi
11534    ;;
11535  *)
11536    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11537$as_echo "no" >&6; }
11538    ;;
11539  esac
11540fi
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553  # Report which library types will actually be built
11554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11555$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11556  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11557$as_echo "$can_build_shared" >&6; }
11558
11559  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11560$as_echo_n "checking whether to build shared libraries... " >&6; }
11561  test "$can_build_shared" = "no" && enable_shared=no
11562
11563  # On AIX, shared libraries and static libraries use the same namespace, and
11564  # are all built from PIC.
11565  case $host_os in
11566  aix3*)
11567    test "$enable_shared" = yes && enable_static=no
11568    if test -n "$RANLIB"; then
11569      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11570      postinstall_cmds='$RANLIB $lib'
11571    fi
11572    ;;
11573
11574  aix[4-9]*)
11575    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11576      test "$enable_shared" = yes && enable_static=no
11577    fi
11578    ;;
11579  esac
11580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11581$as_echo "$enable_shared" >&6; }
11582
11583  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11584$as_echo_n "checking whether to build static libraries... " >&6; }
11585  # Make sure either enable_shared or enable_static is yes.
11586  test "$enable_shared" = yes || enable_static=yes
11587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11588$as_echo "$enable_static" >&6; }
11589
11590
11591
11592
11593fi
11594ac_ext=c
11595ac_cpp='$CPP $CPPFLAGS'
11596ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11597ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11598ac_compiler_gnu=$ac_cv_c_compiler_gnu
11599
11600CC="$lt_save_CC"
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614        ac_config_commands="$ac_config_commands libtool"
11615
11616
11617
11618
11619# Only expand once:
11620
11621
11622: ${CONFIG_LT=./config.lt}
11623{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_LT" >&5
11624$as_echo "$as_me: creating $CONFIG_LT" >&6;}
11625as_write_fail=0
11626cat >"$CONFIG_LT" <<_ASEOF || as_write_fail=1
11627#! $SHELL
11628# Generated by $as_me.
11629# Run this file to recreate a libtool stub with the current configuration.
11630SHELL=\${CONFIG_SHELL-$SHELL}
11631export SHELL
11632_ASEOF
11633cat >>"$CONFIG_LT" <<\_ASEOF || as_write_fail=1
11634## -------------------- ##
11635## M4sh Initialization. ##
11636## -------------------- ##
11637
11638# Be more Bourne compatible
11639DUALCASE=1; export DUALCASE # for MKS sh
11640if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
11641  emulate sh
11642  NULLCMD=:
11643  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11644  # is contrary to our usage.  Disable this feature.
11645  alias -g '${1+"$@"}'='"$@"'
11646  setopt NO_GLOB_SUBST
11647else
11648  case `(set -o) 2>/dev/null` in #(
11649  *posix*) :
11650    set -o posix ;; #(
11651  *) :
11652     ;;
11653esac
11654fi
11655
11656
11657as_nl='
11658'
11659export as_nl
11660# Printing a long string crashes Solaris 7 /usr/bin/printf.
11661as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11662as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11663as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11664# Prefer a ksh shell builtin over an external printf program on Solaris,
11665# but without wasting forks for bash or zsh.
11666if test -z "$BASH_VERSION$ZSH_VERSION" \
11667    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11668  as_echo='print -r --'
11669  as_echo_n='print -rn --'
11670elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11671  as_echo='printf %s\n'
11672  as_echo_n='printf %s'
11673else
11674  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11675    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
11676    as_echo_n='/usr/ucb/echo -n'
11677  else
11678    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11679    as_echo_n_body='eval
11680      arg=$1;
11681      case $arg in #(
11682      *"$as_nl"*)
11683	expr "X$arg" : "X\\(.*\\)$as_nl";
11684	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11685      esac;
11686      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
11687    '
11688    export as_echo_n_body
11689    as_echo_n='sh -c $as_echo_n_body as_echo'
11690  fi
11691  export as_echo_body
11692  as_echo='sh -c $as_echo_body as_echo'
11693fi
11694
11695# The user is always right.
11696if test "${PATH_SEPARATOR+set}" != set; then
11697  PATH_SEPARATOR=:
11698  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11699    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11700      PATH_SEPARATOR=';'
11701  }
11702fi
11703
11704
11705# IFS
11706# We need space, tab and new line, in precisely that order.  Quoting is
11707# there to prevent editors from complaining about space-tab.
11708# (If _AS_PATH_WALK were called with IFS unset, it would disable word
11709# splitting by setting IFS to empty value.)
11710IFS=" ""	$as_nl"
11711
11712# Find who we are.  Look in the path if we contain no directory separator.
11713as_myself=
11714case $0 in #((
11715  *[\\/]* ) as_myself=$0 ;;
11716  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11717for as_dir in $PATH
11718do
11719  IFS=$as_save_IFS
11720  test -z "$as_dir" && as_dir=.
11721    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11722  done
11723IFS=$as_save_IFS
11724
11725     ;;
11726esac
11727# We did not find ourselves, most probably we were run as `sh COMMAND'
11728# in which case we are not to be found in the path.
11729if test "x$as_myself" = x; then
11730  as_myself=$0
11731fi
11732if test ! -f "$as_myself"; then
11733  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11734  exit 1
11735fi
11736
11737# Unset variables that we do not need and which cause bugs (e.g. in
11738# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
11739# suppresses any "Segmentation fault" message there.  '((' could
11740# trigger a bug in pdksh 5.2.14.
11741for as_var in BASH_ENV ENV MAIL MAILPATH
11742do eval test x\${$as_var+set} = xset \
11743  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
11744done
11745PS1='$ '
11746PS2='> '
11747PS4='+ '
11748
11749# NLS nuisances.
11750LC_ALL=C
11751export LC_ALL
11752LANGUAGE=C
11753export LANGUAGE
11754
11755# CDPATH.
11756(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
11757
11758
11759# as_fn_error STATUS ERROR [LINENO LOG_FD]
11760# ----------------------------------------
11761# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11762# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11763# script with STATUS, using 1 if that was 0.
11764as_fn_error ()
11765{
11766  as_status=$1; test $as_status -eq 0 && as_status=1
11767  if test "$4"; then
11768    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
11769    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11770  fi
11771  $as_echo "$as_me: error: $2" >&2
11772  as_fn_exit $as_status
11773} # as_fn_error
11774
11775
11776# as_fn_set_status STATUS
11777# -----------------------
11778# Set $? to STATUS, without forking.
11779as_fn_set_status ()
11780{
11781  return $1
11782} # as_fn_set_status
11783
11784# as_fn_exit STATUS
11785# -----------------
11786# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11787as_fn_exit ()
11788{
11789  set +e
11790  as_fn_set_status $1
11791  exit $1
11792} # as_fn_exit
11793
11794# as_fn_unset VAR
11795# ---------------
11796# Portably unset VAR.
11797as_fn_unset ()
11798{
11799  { eval $1=; unset $1;}
11800}
11801as_unset=as_fn_unset
11802# as_fn_append VAR VALUE
11803# ----------------------
11804# Append the text in VALUE to the end of the definition contained in VAR. Take
11805# advantage of any shell optimizations that allow amortized linear growth over
11806# repeated appends, instead of the typical quadratic growth present in naive
11807# implementations.
11808if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
11809  eval 'as_fn_append ()
11810  {
11811    eval $1+=\$2
11812  }'
11813else
11814  as_fn_append ()
11815  {
11816    eval $1=\$$1\$2
11817  }
11818fi # as_fn_append
11819
11820# as_fn_arith ARG...
11821# ------------------
11822# Perform arithmetic evaluation on the ARGs, and store the result in the
11823# global $as_val. Take advantage of shells that can avoid forks. The arguments
11824# must be portable across $(()) and expr.
11825if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
11826  eval 'as_fn_arith ()
11827  {
11828    as_val=$(( $* ))
11829  }'
11830else
11831  as_fn_arith ()
11832  {
11833    as_val=`expr "$@" || test $? -eq 1`
11834  }
11835fi # as_fn_arith
11836
11837
11838if expr a : '\(a\)' >/dev/null 2>&1 &&
11839   test "X`expr 00001 : '.*\(...\)'`" = X001; then
11840  as_expr=expr
11841else
11842  as_expr=false
11843fi
11844
11845if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11846  as_basename=basename
11847else
11848  as_basename=false
11849fi
11850
11851if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
11852  as_dirname=dirname
11853else
11854  as_dirname=false
11855fi
11856
11857as_me=`$as_basename -- "$0" ||
11858$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11859	 X"$0" : 'X\(//\)$' \| \
11860	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11861$as_echo X/"$0" |
11862    sed '/^.*\/\([^/][^/]*\)\/*$/{
11863	    s//\1/
11864	    q
11865	  }
11866	  /^X\/\(\/\/\)$/{
11867	    s//\1/
11868	    q
11869	  }
11870	  /^X\/\(\/\).*/{
11871	    s//\1/
11872	    q
11873	  }
11874	  s/.*/./; q'`
11875
11876# Avoid depending upon Character Ranges.
11877as_cr_letters='abcdefghijklmnopqrstuvwxyz'
11878as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11879as_cr_Letters=$as_cr_letters$as_cr_LETTERS
11880as_cr_digits='0123456789'
11881as_cr_alnum=$as_cr_Letters$as_cr_digits
11882
11883ECHO_C= ECHO_N= ECHO_T=
11884case `echo -n x` in #(((((
11885-n*)
11886  case `echo 'xy\c'` in
11887  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
11888  xy)  ECHO_C='\c';;
11889  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
11890       ECHO_T='	';;
11891  esac;;
11892*)
11893  ECHO_N='-n';;
11894esac
11895
11896rm -f conf$$ conf$$.exe conf$$.file
11897if test -d conf$$.dir; then
11898  rm -f conf$$.dir/conf$$.file
11899else
11900  rm -f conf$$.dir
11901  mkdir conf$$.dir 2>/dev/null
11902fi
11903if (echo >conf$$.file) 2>/dev/null; then
11904  if ln -s conf$$.file conf$$ 2>/dev/null; then
11905    as_ln_s='ln -s'
11906    # ... but there are two gotchas:
11907    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11908    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11909    # In both cases, we have to default to `cp -p'.
11910    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
11911      as_ln_s='cp -p'
11912  elif ln conf$$.file conf$$ 2>/dev/null; then
11913    as_ln_s=ln
11914  else
11915    as_ln_s='cp -p'
11916  fi
11917else
11918  as_ln_s='cp -p'
11919fi
11920rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
11921rmdir conf$$.dir 2>/dev/null
11922
11923
11924# as_fn_mkdir_p
11925# -------------
11926# Create "$as_dir" as a directory, including parents if necessary.
11927as_fn_mkdir_p ()
11928{
11929
11930  case $as_dir in #(
11931  -*) as_dir=./$as_dir;;
11932  esac
11933  test -d "$as_dir" || eval $as_mkdir_p || {
11934    as_dirs=
11935    while :; do
11936      case $as_dir in #(
11937      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11938      *) as_qdir=$as_dir;;
11939      esac
11940      as_dirs="'$as_qdir' $as_dirs"
11941      as_dir=`$as_dirname -- "$as_dir" ||
11942$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11943	 X"$as_dir" : 'X\(//\)[^/]' \| \
11944	 X"$as_dir" : 'X\(//\)$' \| \
11945	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11946$as_echo X"$as_dir" |
11947    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11948	    s//\1/
11949	    q
11950	  }
11951	  /^X\(\/\/\)[^/].*/{
11952	    s//\1/
11953	    q
11954	  }
11955	  /^X\(\/\/\)$/{
11956	    s//\1/
11957	    q
11958	  }
11959	  /^X\(\/\).*/{
11960	    s//\1/
11961	    q
11962	  }
11963	  s/.*/./; q'`
11964      test -d "$as_dir" && break
11965    done
11966    test -z "$as_dirs" || eval "mkdir $as_dirs"
11967  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
11968
11969
11970} # as_fn_mkdir_p
11971if mkdir -p . 2>/dev/null; then
11972  as_mkdir_p='mkdir -p "$as_dir"'
11973else
11974  test -d ./-p && rmdir ./-p
11975  as_mkdir_p=false
11976fi
11977
11978if test -x / >/dev/null 2>&1; then
11979  as_test_x='test -x'
11980else
11981  if ls -dL / >/dev/null 2>&1; then
11982    as_ls_L_option=L
11983  else
11984    as_ls_L_option=
11985  fi
11986  as_test_x='
11987    eval sh -c '\''
11988      if test -d "$1"; then
11989	test -d "$1/.";
11990      else
11991	case $1 in #(
11992	-*)set "./$1";;
11993	esac;
11994	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11995	???[sx]*):;;*)false;;esac;fi
11996    '\'' sh
11997  '
11998fi
11999as_executable_p=$as_test_x
12000
12001# Sed expression to map a string onto a valid CPP name.
12002as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12003
12004# Sed expression to map a string onto a valid variable name.
12005as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12006
12007
12008exec 6>&1
12009## --------------------------------- ##
12010## Main body of "$CONFIG_LT" script. ##
12011## --------------------------------- ##
12012_ASEOF
12013test $as_write_fail = 0 && chmod +x "$CONFIG_LT"
12014
12015cat >>"$CONFIG_LT" <<\_LTEOF
12016lt_cl_silent=false
12017exec 5>>config.log
12018{
12019  echo
12020  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12021## Running $as_me. ##
12022_ASBOX
12023} >&5
12024
12025lt_cl_help="\
12026\`$as_me' creates a local libtool stub from the current configuration,
12027for use in further configure time tests before the real libtool is
12028generated.
12029
12030Usage: $0 [OPTIONS]
12031
12032  -h, --help      print this help, then exit
12033  -V, --version   print version number, then exit
12034  -q, --quiet     do not print progress messages
12035  -d, --debug     don't remove temporary files
12036
12037Report bugs to <bug-libtool@gnu.org>."
12038
12039lt_cl_version="\
12040pylgobject config.lt 2.28.6
12041configured by $0, generated by GNU Autoconf 2.68.
12042
12043Copyright (C) 2010 Free Software Foundation, Inc.
12044This config.lt script is free software; the Free Software Foundation
12045gives unlimited permision to copy, distribute and modify it."
12046
12047while test $# != 0
12048do
12049  case $1 in
12050    --version | --v* | -V )
12051      echo "$lt_cl_version"; exit 0 ;;
12052    --help | --h* | -h )
12053      echo "$lt_cl_help"; exit 0 ;;
12054    --debug | --d* | -d )
12055      debug=: ;;
12056    --quiet | --q* | --silent | --s* | -q )
12057      lt_cl_silent=: ;;
12058
12059    -*) as_fn_error $? "unrecognized option: $1
12060Try \`$0 --help' for more information." "$LINENO" 5 ;;
12061
12062    *) as_fn_error $? "unrecognized argument: $1
12063Try \`$0 --help' for more information." "$LINENO" 5 ;;
12064  esac
12065  shift
12066done
12067
12068if $lt_cl_silent; then
12069  exec 6>/dev/null
12070fi
12071_LTEOF
12072
12073cat >>"$CONFIG_LT" <<_LTEOF
12074
12075
12076# The HP-UX ksh and POSIX shell print the target directory to stdout
12077# if CDPATH is set.
12078(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12079
12080sed_quote_subst='$sed_quote_subst'
12081double_quote_subst='$double_quote_subst'
12082delay_variable_subst='$delay_variable_subst'
12083enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
12084AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
12085DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
12086OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
12087macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
12088macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
12089enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
12090pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
12091enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
12092SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
12093ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
12094host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
12095host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
12096host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
12097build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
12098build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
12099build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
12100SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
12101Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
12102GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
12103EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
12104FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
12105LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
12106NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
12107LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
12108max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
12109ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
12110exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
12111lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
12112lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
12113lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
12114lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
12115lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
12116reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
12117reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
12118deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
12119file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
12120file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
12121want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
12122sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
12123AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
12124AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
12125archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
12126STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
12127RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
12128old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12129old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12130old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
12131lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
12132CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
12133CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
12134compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
12135GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
12136lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
12137lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
12138lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
12139lt_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"`'
12140nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
12141lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
12142objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
12143MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
12144lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
12145lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
12146lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
12147lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
12148lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
12149need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
12150MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
12151DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
12152NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
12153LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
12154OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
12155OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
12156libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
12157shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
12158extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12159archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
12160enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
12161export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
12162whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
12163compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
12164old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
12165old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
12166archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
12167archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12168module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
12169module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
12170with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
12171allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
12172no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
12173hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
12174hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
12175hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
12176hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
12177hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
12178hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
12179hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
12180hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
12181inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
12182link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
12183always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
12184export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
12185exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
12186include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
12187prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
12188postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
12189file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
12190variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
12191need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
12192need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
12193version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
12194runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
12195shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
12196shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
12197libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
12198library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
12199soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
12200install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
12201postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
12202postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
12203finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
12204finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
12205hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
12206sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
12207sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
12208hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
12209enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
12210enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
12211enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
12212old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
12213striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
12214
12215LTCC='$LTCC'
12216LTCFLAGS='$LTCFLAGS'
12217compiler='$compiler_DEFAULT'
12218
12219# A function that is used when there is no print builtin or printf.
12220func_fallback_echo ()
12221{
12222  eval 'cat <<_LTECHO_EOF
12223\$1
12224_LTECHO_EOF'
12225}
12226
12227# Quote evaled strings.
12228for var in AS \
12229DLLTOOL \
12230OBJDUMP \
12231SHELL \
12232ECHO \
12233SED \
12234GREP \
12235EGREP \
12236FGREP \
12237LD \
12238NM \
12239LN_S \
12240lt_SP2NL \
12241lt_NL2SP \
12242reload_flag \
12243deplibs_check_method \
12244file_magic_cmd \
12245file_magic_glob \
12246want_nocaseglob \
12247sharedlib_from_linklib_cmd \
12248AR \
12249AR_FLAGS \
12250archiver_list_spec \
12251STRIP \
12252RANLIB \
12253CC \
12254CFLAGS \
12255compiler \
12256lt_cv_sys_global_symbol_pipe \
12257lt_cv_sys_global_symbol_to_cdecl \
12258lt_cv_sys_global_symbol_to_c_name_address \
12259lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
12260nm_file_list_spec \
12261lt_prog_compiler_no_builtin_flag \
12262lt_prog_compiler_pic \
12263lt_prog_compiler_wl \
12264lt_prog_compiler_static \
12265lt_cv_prog_compiler_c_o \
12266need_locks \
12267MANIFEST_TOOL \
12268DSYMUTIL \
12269NMEDIT \
12270LIPO \
12271OTOOL \
12272OTOOL64 \
12273shrext_cmds \
12274export_dynamic_flag_spec \
12275whole_archive_flag_spec \
12276compiler_needs_object \
12277with_gnu_ld \
12278allow_undefined_flag \
12279no_undefined_flag \
12280hardcode_libdir_flag_spec \
12281hardcode_libdir_flag_spec_ld \
12282hardcode_libdir_separator \
12283exclude_expsyms \
12284include_expsyms \
12285file_list_spec \
12286variables_saved_for_relink \
12287libname_spec \
12288library_names_spec \
12289soname_spec \
12290install_override_mode \
12291finish_eval \
12292old_striplib \
12293striplib; do
12294    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12295    *[\\\\\\\`\\"\\\$]*)
12296      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
12297      ;;
12298    *)
12299      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12300      ;;
12301    esac
12302done
12303
12304# Double-quote double-evaled strings.
12305for var in reload_cmds \
12306old_postinstall_cmds \
12307old_postuninstall_cmds \
12308old_archive_cmds \
12309extract_expsyms_cmds \
12310old_archive_from_new_cmds \
12311old_archive_from_expsyms_cmds \
12312archive_cmds \
12313archive_expsym_cmds \
12314module_cmds \
12315module_expsym_cmds \
12316export_symbols_cmds \
12317prelink_cmds \
12318postlink_cmds \
12319postinstall_cmds \
12320postuninstall_cmds \
12321finish_cmds \
12322sys_lib_search_path_spec \
12323sys_lib_dlsearch_path_spec; do
12324    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
12325    *[\\\\\\\`\\"\\\$]*)
12326      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
12327      ;;
12328    *)
12329      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
12330      ;;
12331    esac
12332done
12333
12334ac_aux_dir='$ac_aux_dir'
12335xsi_shell='$xsi_shell'
12336lt_shell_append='$lt_shell_append'
12337
12338# See if we are running on zsh, and set the options which allow our
12339# commands through without removal of \ escapes INIT.
12340if test -n "\${ZSH_VERSION+set}" ; then
12341   setopt NO_GLOB_SUBST
12342fi
12343
12344
12345    PACKAGE='$PACKAGE'
12346    VERSION='$VERSION'
12347    TIMESTAMP='$TIMESTAMP'
12348    RM='$RM'
12349    ofile='$ofile'
12350
12351
12352
12353_LTEOF
12354
12355cat >>"$CONFIG_LT" <<\_LTEOF
12356{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ofile" >&5
12357$as_echo "$as_me: creating $ofile" >&6;}
12358
12359
12360    # See if we are running on zsh, and set the options which allow our
12361    # commands through without removal of \ escapes.
12362    if test -n "${ZSH_VERSION+set}" ; then
12363      setopt NO_GLOB_SUBST
12364    fi
12365
12366    cfgfile="${ofile}T"
12367    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
12368    $RM "$cfgfile"
12369
12370    cat <<_LT_EOF >> "$cfgfile"
12371#! $SHELL
12372
12373# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
12374# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
12375# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12376# NOTE: Changes made to this file will be lost: look at ltmain.sh.
12377#
12378#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
12379#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
12380#                 Inc.
12381#   Written by Gordon Matzigkeit, 1996
12382#
12383#   This file is part of GNU Libtool.
12384#
12385# GNU Libtool is free software; you can redistribute it and/or
12386# modify it under the terms of the GNU General Public License as
12387# published by the Free Software Foundation; either version 2 of
12388# the License, or (at your option) any later version.
12389#
12390# As a special exception to the GNU General Public License,
12391# if you distribute this file as part of a program or library that
12392# is built using GNU Libtool, you may include this file under the
12393# same distribution terms that you use for the rest of that program.
12394#
12395# GNU Libtool is distributed in the hope that it will be useful,
12396# but WITHOUT ANY WARRANTY; without even the implied warranty of
12397# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12398# GNU General Public License for more details.
12399#
12400# You should have received a copy of the GNU General Public License
12401# along with GNU Libtool; see the file COPYING.  If not, a copy
12402# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
12403# obtained by writing to the Free Software Foundation, Inc.,
12404# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12405
12406
12407# The names of the tagged configurations supported by this script.
12408available_tags=""
12409
12410# ### BEGIN LIBTOOL CONFIG
12411
12412# Whether or not to build static libraries.
12413build_old_libs=$enable_static
12414
12415# Assembler program.
12416AS=$lt_AS
12417
12418# DLL creation program.
12419DLLTOOL=$lt_DLLTOOL
12420
12421# Object dumper program.
12422OBJDUMP=$lt_OBJDUMP
12423
12424# Which release of libtool.m4 was used?
12425macro_version=$macro_version
12426macro_revision=$macro_revision
12427
12428# Whether or not to build shared libraries.
12429build_libtool_libs=$enable_shared
12430
12431# What type of objects to build.
12432pic_mode=$pic_mode
12433
12434# Whether or not to optimize for fast installation.
12435fast_install=$enable_fast_install
12436
12437# Shell to use when invoking shell scripts.
12438SHELL=$lt_SHELL
12439
12440# An echo program that protects backslashes.
12441ECHO=$lt_ECHO
12442
12443# The host system.
12444host_alias=$host_alias
12445host=$host
12446host_os=$host_os
12447
12448# The build system.
12449build_alias=$build_alias
12450build=$build
12451build_os=$build_os
12452
12453# A sed program that does not truncate output.
12454SED=$lt_SED
12455
12456# Sed that helps us avoid accidentally triggering echo(1) options like -n.
12457Xsed="\$SED -e 1s/^X//"
12458
12459# A grep program that handles long lines.
12460GREP=$lt_GREP
12461
12462# An ERE matcher.
12463EGREP=$lt_EGREP
12464
12465# A literal string matcher.
12466FGREP=$lt_FGREP
12467
12468# A BSD- or MS-compatible name lister.
12469NM=$lt_NM
12470
12471# Whether we need soft or hard links.
12472LN_S=$lt_LN_S
12473
12474# What is the maximum length of a command?
12475max_cmd_len=$max_cmd_len
12476
12477# Object file suffix (normally "o").
12478objext=$ac_objext
12479
12480# Executable file suffix (normally "").
12481exeext=$exeext
12482
12483# whether the shell understands "unset".
12484lt_unset=$lt_unset
12485
12486# turn spaces into newlines.
12487SP2NL=$lt_lt_SP2NL
12488
12489# turn newlines into spaces.
12490NL2SP=$lt_lt_NL2SP
12491
12492# convert \$build file names to \$host format.
12493to_host_file_cmd=$lt_cv_to_host_file_cmd
12494
12495# convert \$build files to toolchain format.
12496to_tool_file_cmd=$lt_cv_to_tool_file_cmd
12497
12498# Method to check whether dependent libraries are shared objects.
12499deplibs_check_method=$lt_deplibs_check_method
12500
12501# Command to use when deplibs_check_method = "file_magic".
12502file_magic_cmd=$lt_file_magic_cmd
12503
12504# How to find potential files when deplibs_check_method = "file_magic".
12505file_magic_glob=$lt_file_magic_glob
12506
12507# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
12508want_nocaseglob=$lt_want_nocaseglob
12509
12510# Command to associate shared and link libraries.
12511sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
12512
12513# The archiver.
12514AR=$lt_AR
12515
12516# Flags to create an archive.
12517AR_FLAGS=$lt_AR_FLAGS
12518
12519# How to feed a file listing to the archiver.
12520archiver_list_spec=$lt_archiver_list_spec
12521
12522# A symbol stripping program.
12523STRIP=$lt_STRIP
12524
12525# Commands used to install an old-style archive.
12526RANLIB=$lt_RANLIB
12527old_postinstall_cmds=$lt_old_postinstall_cmds
12528old_postuninstall_cmds=$lt_old_postuninstall_cmds
12529
12530# Whether to use a lock for old archive extraction.
12531lock_old_archive_extraction=$lock_old_archive_extraction
12532
12533# A C compiler.
12534LTCC=$lt_CC
12535
12536# LTCC compiler flags.
12537LTCFLAGS=$lt_CFLAGS
12538
12539# Take the output of nm and produce a listing of raw symbols and C names.
12540global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12541
12542# Transform the output of nm in a proper C declaration.
12543global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12544
12545# Transform the output of nm in a C name address pair.
12546global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12547
12548# Transform the output of nm in a C name address pair when lib prefix is needed.
12549global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
12550
12551# Specify filename containing input files for \$NM.
12552nm_file_list_spec=$lt_nm_file_list_spec
12553
12554# The root where to search for dependent libraries,and in which our libraries should be installed.
12555lt_sysroot=$lt_sysroot
12556
12557# The name of the directory that contains temporary libtool files.
12558objdir=$objdir
12559
12560# Used to examine libraries when file_magic_cmd begins with "file".
12561MAGIC_CMD=$MAGIC_CMD
12562
12563# Must we lock files when doing compilation?
12564need_locks=$lt_need_locks
12565
12566# Manifest tool.
12567MANIFEST_TOOL=$lt_MANIFEST_TOOL
12568
12569# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
12570DSYMUTIL=$lt_DSYMUTIL
12571
12572# Tool to change global to local symbols on Mac OS X.
12573NMEDIT=$lt_NMEDIT
12574
12575# Tool to manipulate fat objects and archives on Mac OS X.
12576LIPO=$lt_LIPO
12577
12578# ldd/readelf like tool for Mach-O binaries on Mac OS X.
12579OTOOL=$lt_OTOOL
12580
12581# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
12582OTOOL64=$lt_OTOOL64
12583
12584# Old archive suffix (normally "a").
12585libext=$libext
12586
12587# Shared library suffix (normally ".so").
12588shrext_cmds=$lt_shrext_cmds
12589
12590# The commands to extract the exported symbol list from a shared archive.
12591extract_expsyms_cmds=$lt_extract_expsyms_cmds
12592
12593# Variables whose values should be saved in libtool wrapper scripts and
12594# restored at link time.
12595variables_saved_for_relink=$lt_variables_saved_for_relink
12596
12597# Do we need the "lib" prefix for modules?
12598need_lib_prefix=$need_lib_prefix
12599
12600# Do we need a version for libraries?
12601need_version=$need_version
12602
12603# Library versioning type.
12604version_type=$version_type
12605
12606# Shared library runtime path variable.
12607runpath_var=$runpath_var
12608
12609# Shared library path variable.
12610shlibpath_var=$shlibpath_var
12611
12612# Is shlibpath searched before the hard-coded library search path?
12613shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12614
12615# Format of library name prefix.
12616libname_spec=$lt_libname_spec
12617
12618# List of archive names.  First name is the real one, the rest are links.
12619# The last name is the one that the linker finds with -lNAME
12620library_names_spec=$lt_library_names_spec
12621
12622# The coded name of the library, if different from the real name.
12623soname_spec=$lt_soname_spec
12624
12625# Permission mode override for installation of shared libraries.
12626install_override_mode=$lt_install_override_mode
12627
12628# Command to use after installation of a shared archive.
12629postinstall_cmds=$lt_postinstall_cmds
12630
12631# Command to use after uninstallation of a shared archive.
12632postuninstall_cmds=$lt_postuninstall_cmds
12633
12634# Commands used to finish a libtool library installation in a directory.
12635finish_cmds=$lt_finish_cmds
12636
12637# As "finish_cmds", except a single script fragment to be evaled but
12638# not shown.
12639finish_eval=$lt_finish_eval
12640
12641# Whether we should hardcode library paths into libraries.
12642hardcode_into_libs=$hardcode_into_libs
12643
12644# Compile-time system search path for libraries.
12645sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12646
12647# Run-time system search path for libraries.
12648sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12649
12650# Whether dlopen is supported.
12651dlopen_support=$enable_dlopen
12652
12653# Whether dlopen of programs is supported.
12654dlopen_self=$enable_dlopen_self
12655
12656# Whether dlopen of statically linked programs is supported.
12657dlopen_self_static=$enable_dlopen_self_static
12658
12659# Commands to strip libraries.
12660old_striplib=$lt_old_striplib
12661striplib=$lt_striplib
12662
12663
12664# The linker used to build libraries.
12665LD=$lt_LD
12666
12667# How to create reloadable object files.
12668reload_flag=$lt_reload_flag
12669reload_cmds=$lt_reload_cmds
12670
12671# Commands used to build an old-style archive.
12672old_archive_cmds=$lt_old_archive_cmds
12673
12674# A language specific compiler.
12675CC=$lt_compiler
12676
12677# Is the compiler the GNU compiler?
12678with_gcc=$GCC
12679
12680# Compiler flag to turn off builtin functions.
12681no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
12682
12683# Additional compiler flags for building library objects.
12684pic_flag=$lt_lt_prog_compiler_pic
12685
12686# How to pass a linker flag through the compiler.
12687wl=$lt_lt_prog_compiler_wl
12688
12689# Compiler flag to prevent dynamic linking.
12690link_static_flag=$lt_lt_prog_compiler_static
12691
12692# Does compiler simultaneously support -c and -o options?
12693compiler_c_o=$lt_lt_cv_prog_compiler_c_o
12694
12695# Whether or not to add -lc for building shared libraries.
12696build_libtool_need_lc=$archive_cmds_need_lc
12697
12698# Whether or not to disallow shared libs when runtime libs are static.
12699allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
12700
12701# Compiler flag to allow reflexive dlopens.
12702export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
12703
12704# Compiler flag to generate shared objects directly from archives.
12705whole_archive_flag_spec=$lt_whole_archive_flag_spec
12706
12707# Whether the compiler copes with passing no objects directly.
12708compiler_needs_object=$lt_compiler_needs_object
12709
12710# Create an old-style archive from a shared archive.
12711old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
12712
12713# Create a temporary old-style archive to link instead of a shared archive.
12714old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
12715
12716# Commands used to build a shared archive.
12717archive_cmds=$lt_archive_cmds
12718archive_expsym_cmds=$lt_archive_expsym_cmds
12719
12720# Commands used to build a loadable module if different from building
12721# a shared archive.
12722module_cmds=$lt_module_cmds
12723module_expsym_cmds=$lt_module_expsym_cmds
12724
12725# Whether we are building with GNU ld or not.
12726with_gnu_ld=$lt_with_gnu_ld
12727
12728# Flag that allows shared libraries with undefined symbols to be built.
12729allow_undefined_flag=$lt_allow_undefined_flag
12730
12731# Flag that enforces no undefined symbols.
12732no_undefined_flag=$lt_no_undefined_flag
12733
12734# Flag to hardcode \$libdir into a binary during linking.
12735# This must work even if \$libdir does not exist
12736hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
12737
12738# If ld is used when linking, flag to hardcode \$libdir into a binary
12739# during linking.  This must work even if \$libdir does not exist.
12740hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
12741
12742# Whether we need a single "-rpath" flag with a separated argument.
12743hardcode_libdir_separator=$lt_hardcode_libdir_separator
12744
12745# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12746# DIR into the resulting binary.
12747hardcode_direct=$hardcode_direct
12748
12749# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
12750# DIR into the resulting binary and the resulting library dependency is
12751# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
12752# library is relocated.
12753hardcode_direct_absolute=$hardcode_direct_absolute
12754
12755# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
12756# into the resulting binary.
12757hardcode_minus_L=$hardcode_minus_L
12758
12759# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
12760# into the resulting binary.
12761hardcode_shlibpath_var=$hardcode_shlibpath_var
12762
12763# Set to "yes" if building a shared library automatically hardcodes DIR
12764# into the library and all subsequent libraries and executables linked
12765# against it.
12766hardcode_automatic=$hardcode_automatic
12767
12768# Set to yes if linker adds runtime paths of dependent libraries
12769# to runtime path list.
12770inherit_rpath=$inherit_rpath
12771
12772# Whether libtool must link a program against all its dependency libraries.
12773link_all_deplibs=$link_all_deplibs
12774
12775# Set to "yes" if exported symbols are required.
12776always_export_symbols=$always_export_symbols
12777
12778# The commands to list exported symbols.
12779export_symbols_cmds=$lt_export_symbols_cmds
12780
12781# Symbols that should not be listed in the preloaded symbols.
12782exclude_expsyms=$lt_exclude_expsyms
12783
12784# Symbols that must always be exported.
12785include_expsyms=$lt_include_expsyms
12786
12787# Commands necessary for linking programs (against libraries) with templates.
12788prelink_cmds=$lt_prelink_cmds
12789
12790# Commands necessary for finishing linking programs.
12791postlink_cmds=$lt_postlink_cmds
12792
12793# Specify filename containing input files.
12794file_list_spec=$lt_file_list_spec
12795
12796# How to hardcode a shared library path into an executable.
12797hardcode_action=$hardcode_action
12798
12799# ### END LIBTOOL CONFIG
12800
12801_LT_EOF
12802
12803  case $host_os in
12804  aix3*)
12805    cat <<\_LT_EOF >> "$cfgfile"
12806# AIX sometimes has problems with the GCC collect2 program.  For some
12807# reason, if we set the COLLECT_NAMES environment variable, the problems
12808# vanish in a puff of smoke.
12809if test "X${COLLECT_NAMES+set}" != Xset; then
12810  COLLECT_NAMES=
12811  export COLLECT_NAMES
12812fi
12813_LT_EOF
12814    ;;
12815  esac
12816
12817
12818ltmain="$ac_aux_dir/ltmain.sh"
12819
12820
12821  # We use sed instead of cat because bash on DJGPP gets confused if
12822  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
12823  # text mode, it properly converts lines to CR/LF.  This bash problem
12824  # is reportedly fixed, but why not run on old versions too?
12825  sed '$q' "$ltmain" >> "$cfgfile" \
12826     || (rm -f "$cfgfile"; exit 1)
12827
12828  if test x"$xsi_shell" = xyes; then
12829  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
12830func_dirname ()\
12831{\
12832\    case ${1} in\
12833\      */*) func_dirname_result="${1%/*}${2}" ;;\
12834\      *  ) func_dirname_result="${3}" ;;\
12835\    esac\
12836} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
12837  && mv -f "$cfgfile.tmp" "$cfgfile" \
12838    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12839test 0 -eq $? || _lt_function_replace_fail=:
12840
12841
12842  sed -e '/^func_basename ()$/,/^} # func_basename /c\
12843func_basename ()\
12844{\
12845\    func_basename_result="${1##*/}"\
12846} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
12847  && mv -f "$cfgfile.tmp" "$cfgfile" \
12848    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12849test 0 -eq $? || _lt_function_replace_fail=:
12850
12851
12852  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
12853func_dirname_and_basename ()\
12854{\
12855\    case ${1} in\
12856\      */*) func_dirname_result="${1%/*}${2}" ;;\
12857\      *  ) func_dirname_result="${3}" ;;\
12858\    esac\
12859\    func_basename_result="${1##*/}"\
12860} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
12861  && mv -f "$cfgfile.tmp" "$cfgfile" \
12862    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12863test 0 -eq $? || _lt_function_replace_fail=:
12864
12865
12866  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
12867func_stripname ()\
12868{\
12869\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
12870\    # positional parameters, so assign one to ordinary parameter first.\
12871\    func_stripname_result=${3}\
12872\    func_stripname_result=${func_stripname_result#"${1}"}\
12873\    func_stripname_result=${func_stripname_result%"${2}"}\
12874} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
12875  && mv -f "$cfgfile.tmp" "$cfgfile" \
12876    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12877test 0 -eq $? || _lt_function_replace_fail=:
12878
12879
12880  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
12881func_split_long_opt ()\
12882{\
12883\    func_split_long_opt_name=${1%%=*}\
12884\    func_split_long_opt_arg=${1#*=}\
12885} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
12886  && mv -f "$cfgfile.tmp" "$cfgfile" \
12887    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12888test 0 -eq $? || _lt_function_replace_fail=:
12889
12890
12891  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
12892func_split_short_opt ()\
12893{\
12894\    func_split_short_opt_arg=${1#??}\
12895\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
12896} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
12897  && mv -f "$cfgfile.tmp" "$cfgfile" \
12898    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12899test 0 -eq $? || _lt_function_replace_fail=:
12900
12901
12902  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
12903func_lo2o ()\
12904{\
12905\    case ${1} in\
12906\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
12907\      *)    func_lo2o_result=${1} ;;\
12908\    esac\
12909} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
12910  && mv -f "$cfgfile.tmp" "$cfgfile" \
12911    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12912test 0 -eq $? || _lt_function_replace_fail=:
12913
12914
12915  sed -e '/^func_xform ()$/,/^} # func_xform /c\
12916func_xform ()\
12917{\
12918    func_xform_result=${1%.*}.lo\
12919} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
12920  && mv -f "$cfgfile.tmp" "$cfgfile" \
12921    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12922test 0 -eq $? || _lt_function_replace_fail=:
12923
12924
12925  sed -e '/^func_arith ()$/,/^} # func_arith /c\
12926func_arith ()\
12927{\
12928    func_arith_result=$(( $* ))\
12929} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
12930  && mv -f "$cfgfile.tmp" "$cfgfile" \
12931    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12932test 0 -eq $? || _lt_function_replace_fail=:
12933
12934
12935  sed -e '/^func_len ()$/,/^} # func_len /c\
12936func_len ()\
12937{\
12938    func_len_result=${#1}\
12939} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
12940  && mv -f "$cfgfile.tmp" "$cfgfile" \
12941    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12942test 0 -eq $? || _lt_function_replace_fail=:
12943
12944fi
12945
12946if test x"$lt_shell_append" = xyes; then
12947  sed -e '/^func_append ()$/,/^} # func_append /c\
12948func_append ()\
12949{\
12950    eval "${1}+=\\${2}"\
12951} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
12952  && mv -f "$cfgfile.tmp" "$cfgfile" \
12953    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12954test 0 -eq $? || _lt_function_replace_fail=:
12955
12956
12957  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
12958func_append_quoted ()\
12959{\
12960\    func_quote_for_eval "${2}"\
12961\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
12962} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
12963  && mv -f "$cfgfile.tmp" "$cfgfile" \
12964    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12965test 0 -eq $? || _lt_function_replace_fail=:
12966
12967
12968  # Save a `func_append' function call where possible by direct use of '+='
12969  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
12970    && mv -f "$cfgfile.tmp" "$cfgfile" \
12971      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12972  test 0 -eq $? || _lt_function_replace_fail=:
12973else
12974  # Save a `func_append' function call even when '+=' is not available
12975  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
12976    && mv -f "$cfgfile.tmp" "$cfgfile" \
12977      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
12978  test 0 -eq $? || _lt_function_replace_fail=:
12979fi
12980
12981if test x"$_lt_function_replace_fail" = x":"; then
12982  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
12983$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
12984fi
12985
12986
12987   mv -f "$cfgfile" "$ofile" ||
12988    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
12989  chmod +x "$ofile"
12990
12991
12992as_fn_exit 0
12993_LTEOF
12994chmod +x "$CONFIG_LT"
12995
12996# configure is writing to config.log, but config.lt does its own redirection,
12997# appending to config.log, which fails on DOS, as config.log is still kept
12998# open by configure.  Here we exec the FD to /dev/null, effectively closing
12999# config.log, so it can be properly (re)opened and appended to by config.lt.
13000lt_cl_success=:
13001test "$silent" = yes &&
13002  lt_config_lt_args="$lt_config_lt_args --quiet"
13003exec 5>/dev/null
13004$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
13005exec 5>>config.log
13006$lt_cl_success || as_fn_exit 1
13007
13008{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
13009$as_echo_n "checking for library containing strerror... " >&6; }
13010if ${ac_cv_search_strerror+:} false; then :
13011  $as_echo_n "(cached) " >&6
13012else
13013  ac_func_search_save_LIBS=$LIBS
13014cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015/* end confdefs.h.  */
13016
13017/* Override any GCC internal prototype to avoid an error.
13018   Use char because int might match the return type of a GCC
13019   builtin and then its argument prototype would still apply.  */
13020#ifdef __cplusplus
13021extern "C"
13022#endif
13023char strerror ();
13024int
13025main ()
13026{
13027return strerror ();
13028  ;
13029  return 0;
13030}
13031_ACEOF
13032for ac_lib in '' cposix; do
13033  if test -z "$ac_lib"; then
13034    ac_res="none required"
13035  else
13036    ac_res=-l$ac_lib
13037    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13038  fi
13039  if ac_fn_c_try_link "$LINENO"; then :
13040  ac_cv_search_strerror=$ac_res
13041fi
13042rm -f core conftest.err conftest.$ac_objext \
13043    conftest$ac_exeext
13044  if ${ac_cv_search_strerror+:} false; then :
13045  break
13046fi
13047done
13048if ${ac_cv_search_strerror+:} false; then :
13049
13050else
13051  ac_cv_search_strerror=no
13052fi
13053rm conftest.$ac_ext
13054LIBS=$ac_func_search_save_LIBS
13055fi
13056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
13057$as_echo "$ac_cv_search_strerror" >&6; }
13058ac_res=$ac_cv_search_strerror
13059if test "$ac_res" != no; then :
13060  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13061
13062fi
13063
13064ac_ext=c
13065ac_cpp='$CPP $CPPFLAGS'
13066ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13067ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13068ac_compiler_gnu=$ac_cv_c_compiler_gnu
13069if test -n "$ac_tool_prefix"; then
13070  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13071set dummy ${ac_tool_prefix}gcc; ac_word=$2
13072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13073$as_echo_n "checking for $ac_word... " >&6; }
13074if ${ac_cv_prog_CC+:} false; then :
13075  $as_echo_n "(cached) " >&6
13076else
13077  if test -n "$CC"; then
13078  ac_cv_prog_CC="$CC" # Let the user override the test.
13079else
13080as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13081for as_dir in $PATH
13082do
13083  IFS=$as_save_IFS
13084  test -z "$as_dir" && as_dir=.
13085    for ac_exec_ext in '' $ac_executable_extensions; do
13086  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13087    ac_cv_prog_CC="${ac_tool_prefix}gcc"
13088    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13089    break 2
13090  fi
13091done
13092  done
13093IFS=$as_save_IFS
13094
13095fi
13096fi
13097CC=$ac_cv_prog_CC
13098if test -n "$CC"; then
13099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13100$as_echo "$CC" >&6; }
13101else
13102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13103$as_echo "no" >&6; }
13104fi
13105
13106
13107fi
13108if test -z "$ac_cv_prog_CC"; then
13109  ac_ct_CC=$CC
13110  # Extract the first word of "gcc", so it can be a program name with args.
13111set dummy gcc; ac_word=$2
13112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13113$as_echo_n "checking for $ac_word... " >&6; }
13114if ${ac_cv_prog_ac_ct_CC+:} false; then :
13115  $as_echo_n "(cached) " >&6
13116else
13117  if test -n "$ac_ct_CC"; then
13118  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13119else
13120as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13121for as_dir in $PATH
13122do
13123  IFS=$as_save_IFS
13124  test -z "$as_dir" && as_dir=.
13125    for ac_exec_ext in '' $ac_executable_extensions; do
13126  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13127    ac_cv_prog_ac_ct_CC="gcc"
13128    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13129    break 2
13130  fi
13131done
13132  done
13133IFS=$as_save_IFS
13134
13135fi
13136fi
13137ac_ct_CC=$ac_cv_prog_ac_ct_CC
13138if test -n "$ac_ct_CC"; then
13139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13140$as_echo "$ac_ct_CC" >&6; }
13141else
13142  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13143$as_echo "no" >&6; }
13144fi
13145
13146  if test "x$ac_ct_CC" = x; then
13147    CC=""
13148  else
13149    case $cross_compiling:$ac_tool_warned in
13150yes:)
13151{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13152$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13153ac_tool_warned=yes ;;
13154esac
13155    CC=$ac_ct_CC
13156  fi
13157else
13158  CC="$ac_cv_prog_CC"
13159fi
13160
13161if test -z "$CC"; then
13162          if test -n "$ac_tool_prefix"; then
13163    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13164set dummy ${ac_tool_prefix}cc; ac_word=$2
13165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13166$as_echo_n "checking for $ac_word... " >&6; }
13167if ${ac_cv_prog_CC+:} false; then :
13168  $as_echo_n "(cached) " >&6
13169else
13170  if test -n "$CC"; then
13171  ac_cv_prog_CC="$CC" # Let the user override the test.
13172else
13173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13174for as_dir in $PATH
13175do
13176  IFS=$as_save_IFS
13177  test -z "$as_dir" && as_dir=.
13178    for ac_exec_ext in '' $ac_executable_extensions; do
13179  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13180    ac_cv_prog_CC="${ac_tool_prefix}cc"
13181    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13182    break 2
13183  fi
13184done
13185  done
13186IFS=$as_save_IFS
13187
13188fi
13189fi
13190CC=$ac_cv_prog_CC
13191if test -n "$CC"; then
13192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13193$as_echo "$CC" >&6; }
13194else
13195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13196$as_echo "no" >&6; }
13197fi
13198
13199
13200  fi
13201fi
13202if test -z "$CC"; then
13203  # Extract the first word of "cc", so it can be a program name with args.
13204set dummy cc; ac_word=$2
13205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13206$as_echo_n "checking for $ac_word... " >&6; }
13207if ${ac_cv_prog_CC+:} false; then :
13208  $as_echo_n "(cached) " >&6
13209else
13210  if test -n "$CC"; then
13211  ac_cv_prog_CC="$CC" # Let the user override the test.
13212else
13213  ac_prog_rejected=no
13214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13215for as_dir in $PATH
13216do
13217  IFS=$as_save_IFS
13218  test -z "$as_dir" && as_dir=.
13219    for ac_exec_ext in '' $ac_executable_extensions; do
13220  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13221    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13222       ac_prog_rejected=yes
13223       continue
13224     fi
13225    ac_cv_prog_CC="cc"
13226    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13227    break 2
13228  fi
13229done
13230  done
13231IFS=$as_save_IFS
13232
13233if test $ac_prog_rejected = yes; then
13234  # We found a bogon in the path, so make sure we never use it.
13235  set dummy $ac_cv_prog_CC
13236  shift
13237  if test $# != 0; then
13238    # We chose a different compiler from the bogus one.
13239    # However, it has the same basename, so the bogon will be chosen
13240    # first if we set CC to just the basename; use the full file name.
13241    shift
13242    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13243  fi
13244fi
13245fi
13246fi
13247CC=$ac_cv_prog_CC
13248if test -n "$CC"; then
13249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13250$as_echo "$CC" >&6; }
13251else
13252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13253$as_echo "no" >&6; }
13254fi
13255
13256
13257fi
13258if test -z "$CC"; then
13259  if test -n "$ac_tool_prefix"; then
13260  for ac_prog in cl.exe
13261  do
13262    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13263set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13265$as_echo_n "checking for $ac_word... " >&6; }
13266if ${ac_cv_prog_CC+:} false; then :
13267  $as_echo_n "(cached) " >&6
13268else
13269  if test -n "$CC"; then
13270  ac_cv_prog_CC="$CC" # Let the user override the test.
13271else
13272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13273for as_dir in $PATH
13274do
13275  IFS=$as_save_IFS
13276  test -z "$as_dir" && as_dir=.
13277    for ac_exec_ext in '' $ac_executable_extensions; do
13278  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13279    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13280    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13281    break 2
13282  fi
13283done
13284  done
13285IFS=$as_save_IFS
13286
13287fi
13288fi
13289CC=$ac_cv_prog_CC
13290if test -n "$CC"; then
13291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13292$as_echo "$CC" >&6; }
13293else
13294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13295$as_echo "no" >&6; }
13296fi
13297
13298
13299    test -n "$CC" && break
13300  done
13301fi
13302if test -z "$CC"; then
13303  ac_ct_CC=$CC
13304  for ac_prog in cl.exe
13305do
13306  # Extract the first word of "$ac_prog", so it can be a program name with args.
13307set dummy $ac_prog; ac_word=$2
13308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13309$as_echo_n "checking for $ac_word... " >&6; }
13310if ${ac_cv_prog_ac_ct_CC+:} false; then :
13311  $as_echo_n "(cached) " >&6
13312else
13313  if test -n "$ac_ct_CC"; then
13314  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13315else
13316as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13317for as_dir in $PATH
13318do
13319  IFS=$as_save_IFS
13320  test -z "$as_dir" && as_dir=.
13321    for ac_exec_ext in '' $ac_executable_extensions; do
13322  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13323    ac_cv_prog_ac_ct_CC="$ac_prog"
13324    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13325    break 2
13326  fi
13327done
13328  done
13329IFS=$as_save_IFS
13330
13331fi
13332fi
13333ac_ct_CC=$ac_cv_prog_ac_ct_CC
13334if test -n "$ac_ct_CC"; then
13335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13336$as_echo "$ac_ct_CC" >&6; }
13337else
13338  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13339$as_echo "no" >&6; }
13340fi
13341
13342
13343  test -n "$ac_ct_CC" && break
13344done
13345
13346  if test "x$ac_ct_CC" = x; then
13347    CC=""
13348  else
13349    case $cross_compiling:$ac_tool_warned in
13350yes:)
13351{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13352$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13353ac_tool_warned=yes ;;
13354esac
13355    CC=$ac_ct_CC
13356  fi
13357fi
13358
13359fi
13360
13361
13362test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13363$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13364as_fn_error $? "no acceptable C compiler found in \$PATH
13365See \`config.log' for more details" "$LINENO" 5; }
13366
13367# Provide some information about the compiler.
13368$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
13369set X $ac_compile
13370ac_compiler=$2
13371for ac_option in --version -v -V -qversion; do
13372  { { ac_try="$ac_compiler $ac_option >&5"
13373case "(($ac_try" in
13374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13375  *) ac_try_echo=$ac_try;;
13376esac
13377eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13378$as_echo "$ac_try_echo"; } >&5
13379  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13380  ac_status=$?
13381  if test -s conftest.err; then
13382    sed '10a\
13383... rest of stderr output deleted ...
13384         10q' conftest.err >conftest.er1
13385    cat conftest.er1 >&5
13386  fi
13387  rm -f conftest.er1 conftest.err
13388  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13389  test $ac_status = 0; }
13390done
13391
13392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
13393$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
13394if ${ac_cv_c_compiler_gnu+:} false; then :
13395  $as_echo_n "(cached) " >&6
13396else
13397  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398/* end confdefs.h.  */
13399
13400int
13401main ()
13402{
13403#ifndef __GNUC__
13404       choke me
13405#endif
13406
13407  ;
13408  return 0;
13409}
13410_ACEOF
13411if ac_fn_c_try_compile "$LINENO"; then :
13412  ac_compiler_gnu=yes
13413else
13414  ac_compiler_gnu=no
13415fi
13416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13417ac_cv_c_compiler_gnu=$ac_compiler_gnu
13418
13419fi
13420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
13421$as_echo "$ac_cv_c_compiler_gnu" >&6; }
13422if test $ac_compiler_gnu = yes; then
13423  GCC=yes
13424else
13425  GCC=
13426fi
13427ac_test_CFLAGS=${CFLAGS+set}
13428ac_save_CFLAGS=$CFLAGS
13429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
13430$as_echo_n "checking whether $CC accepts -g... " >&6; }
13431if ${ac_cv_prog_cc_g+:} false; then :
13432  $as_echo_n "(cached) " >&6
13433else
13434  ac_save_c_werror_flag=$ac_c_werror_flag
13435   ac_c_werror_flag=yes
13436   ac_cv_prog_cc_g=no
13437   CFLAGS="-g"
13438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13439/* end confdefs.h.  */
13440
13441int
13442main ()
13443{
13444
13445  ;
13446  return 0;
13447}
13448_ACEOF
13449if ac_fn_c_try_compile "$LINENO"; then :
13450  ac_cv_prog_cc_g=yes
13451else
13452  CFLAGS=""
13453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454/* end confdefs.h.  */
13455
13456int
13457main ()
13458{
13459
13460  ;
13461  return 0;
13462}
13463_ACEOF
13464if ac_fn_c_try_compile "$LINENO"; then :
13465
13466else
13467  ac_c_werror_flag=$ac_save_c_werror_flag
13468	 CFLAGS="-g"
13469	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470/* end confdefs.h.  */
13471
13472int
13473main ()
13474{
13475
13476  ;
13477  return 0;
13478}
13479_ACEOF
13480if ac_fn_c_try_compile "$LINENO"; then :
13481  ac_cv_prog_cc_g=yes
13482fi
13483rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13484fi
13485rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13486fi
13487rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13488   ac_c_werror_flag=$ac_save_c_werror_flag
13489fi
13490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
13491$as_echo "$ac_cv_prog_cc_g" >&6; }
13492if test "$ac_test_CFLAGS" = set; then
13493  CFLAGS=$ac_save_CFLAGS
13494elif test $ac_cv_prog_cc_g = yes; then
13495  if test "$GCC" = yes; then
13496    CFLAGS="-g -O2"
13497  else
13498    CFLAGS="-g"
13499  fi
13500else
13501  if test "$GCC" = yes; then
13502    CFLAGS="-O2"
13503  else
13504    CFLAGS=
13505  fi
13506fi
13507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
13508$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
13509if ${ac_cv_prog_cc_c89+:} false; then :
13510  $as_echo_n "(cached) " >&6
13511else
13512  ac_cv_prog_cc_c89=no
13513ac_save_CC=$CC
13514cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13515/* end confdefs.h.  */
13516#include <stdarg.h>
13517#include <stdio.h>
13518#include <sys/types.h>
13519#include <sys/stat.h>
13520/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
13521struct buf { int x; };
13522FILE * (*rcsopen) (struct buf *, struct stat *, int);
13523static char *e (p, i)
13524     char **p;
13525     int i;
13526{
13527  return p[i];
13528}
13529static char *f (char * (*g) (char **, int), char **p, ...)
13530{
13531  char *s;
13532  va_list v;
13533  va_start (v,p);
13534  s = g (p, va_arg (v,int));
13535  va_end (v);
13536  return s;
13537}
13538
13539/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
13540   function prototypes and stuff, but not '\xHH' hex character constants.
13541   These don't provoke an error unfortunately, instead are silently treated
13542   as 'x'.  The following induces an error, until -std is added to get
13543   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
13544   array size at least.  It's necessary to write '\x00'==0 to get something
13545   that's true only with -std.  */
13546int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13547
13548/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13549   inside strings and character constants.  */
13550#define FOO(x) 'x'
13551int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13552
13553int test (int i, double x);
13554struct s1 {int (*f) (int a);};
13555struct s2 {int (*f) (double a);};
13556int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13557int argc;
13558char **argv;
13559int
13560main ()
13561{
13562return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
13563  ;
13564  return 0;
13565}
13566_ACEOF
13567for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13568	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13569do
13570  CC="$ac_save_CC $ac_arg"
13571  if ac_fn_c_try_compile "$LINENO"; then :
13572  ac_cv_prog_cc_c89=$ac_arg
13573fi
13574rm -f core conftest.err conftest.$ac_objext
13575  test "x$ac_cv_prog_cc_c89" != "xno" && break
13576done
13577rm -f conftest.$ac_ext
13578CC=$ac_save_CC
13579
13580fi
13581# AC_CACHE_VAL
13582case "x$ac_cv_prog_cc_c89" in
13583  x)
13584    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
13585$as_echo "none needed" >&6; } ;;
13586  xno)
13587    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
13588$as_echo "unsupported" >&6; } ;;
13589  *)
13590    CC="$CC $ac_cv_prog_cc_c89"
13591    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
13592$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
13593esac
13594if test "x$ac_cv_prog_cc_c89" != xno; then :
13595
13596fi
13597
13598ac_ext=c
13599ac_cpp='$CPP $CPPFLAGS'
13600ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13601ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13602ac_compiler_gnu=$ac_cv_c_compiler_gnu
13603
13604depcc="$CC"   am_compiler_list=
13605
13606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
13607$as_echo_n "checking dependency style of $depcc... " >&6; }
13608if ${am_cv_CC_dependencies_compiler_type+:} false; then :
13609  $as_echo_n "(cached) " >&6
13610else
13611  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
13612  # We make a subdir and do the tests there.  Otherwise we can end up
13613  # making bogus files that we don't know about and never remove.  For
13614  # instance it was reported that on HP-UX the gcc test will end up
13615  # making a dummy file named `D' -- because `-MD' means `put the output
13616  # in D'.
13617  mkdir conftest.dir
13618  # Copy depcomp to subdir because otherwise we won't find it if we're
13619  # using a relative directory.
13620  cp "$am_depcomp" conftest.dir
13621  cd conftest.dir
13622  # We will build objects and dependencies in a subdirectory because
13623  # it helps to detect inapplicable dependency modes.  For instance
13624  # both Tru64's cc and ICC support -MD to output dependencies as a
13625  # side effect of compilation, but ICC will put the dependencies in
13626  # the current directory while Tru64 will put them in the object
13627  # directory.
13628  mkdir sub
13629
13630  am_cv_CC_dependencies_compiler_type=none
13631  if test "$am_compiler_list" = ""; then
13632     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
13633  fi
13634  am__universal=false
13635  case " $depcc " in #(
13636     *\ -arch\ *\ -arch\ *) am__universal=true ;;
13637     esac
13638
13639  for depmode in $am_compiler_list; do
13640    # Setup a source with many dependencies, because some compilers
13641    # like to wrap large dependency lists on column 80 (with \), and
13642    # we should not choose a depcomp mode which is confused by this.
13643    #
13644    # We need to recreate these files for each test, as the compiler may
13645    # overwrite some of them when testing with obscure command lines.
13646    # This happens at least with the AIX C compiler.
13647    : > sub/conftest.c
13648    for i in 1 2 3 4 5 6; do
13649      echo '#include "conftst'$i'.h"' >> sub/conftest.c
13650      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
13651      # Solaris 8's {/usr,}/bin/sh.
13652      touch sub/conftst$i.h
13653    done
13654    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
13655
13656    # We check with `-c' and `-o' for the sake of the "dashmstdout"
13657    # mode.  It turns out that the SunPro C++ compiler does not properly
13658    # handle `-M -o', and we need to detect this.  Also, some Intel
13659    # versions had trouble with output in subdirs
13660    am__obj=sub/conftest.${OBJEXT-o}
13661    am__minus_obj="-o $am__obj"
13662    case $depmode in
13663    gcc)
13664      # This depmode causes a compiler race in universal mode.
13665      test "$am__universal" = false || continue
13666      ;;
13667    nosideeffect)
13668      # after this tag, mechanisms are not by side-effect, so they'll
13669      # only be used when explicitly requested
13670      if test "x$enable_dependency_tracking" = xyes; then
13671	continue
13672      else
13673	break
13674      fi
13675      ;;
13676    msvisualcpp | msvcmsys)
13677      # This compiler won't grok `-c -o', but also, the minuso test has
13678      # not run yet.  These depmodes are late enough in the game, and
13679      # so weak that their functioning should not be impacted.
13680      am__obj=conftest.${OBJEXT-o}
13681      am__minus_obj=
13682      ;;
13683    none) break ;;
13684    esac
13685    if depmode=$depmode \
13686       source=sub/conftest.c object=$am__obj \
13687       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
13688       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
13689         >/dev/null 2>conftest.err &&
13690       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
13691       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
13692       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
13693       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
13694      # icc doesn't choke on unknown options, it will just issue warnings
13695      # or remarks (even with -Werror).  So we grep stderr for any message
13696      # that says an option was ignored or not supported.
13697      # When given -MP, icc 7.0 and 7.1 complain thusly:
13698      #   icc: Command line warning: ignoring option '-M'; no argument required
13699      # The diagnosis changed in icc 8.0:
13700      #   icc: Command line remark: option '-MP' not supported
13701      if (grep 'ignoring option' conftest.err ||
13702          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
13703        am_cv_CC_dependencies_compiler_type=$depmode
13704        break
13705      fi
13706    fi
13707  done
13708
13709  cd ..
13710  rm -rf conftest.dir
13711else
13712  am_cv_CC_dependencies_compiler_type=none
13713fi
13714
13715fi
13716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
13717$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
13718CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
13719
13720 if
13721  test "x$enable_dependency_tracking" != xno \
13722  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
13723  am__fastdepCC_TRUE=
13724  am__fastdepCC_FALSE='#'
13725else
13726  am__fastdepCC_TRUE='#'
13727  am__fastdepCC_FALSE=
13728fi
13729
13730
13731ac_ext=c
13732ac_cpp='$CPP $CPPFLAGS'
13733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13735ac_compiler_gnu=$ac_cv_c_compiler_gnu
13736if test -n "$ac_tool_prefix"; then
13737  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13738set dummy ${ac_tool_prefix}gcc; ac_word=$2
13739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13740$as_echo_n "checking for $ac_word... " >&6; }
13741if ${ac_cv_prog_CC+:} false; then :
13742  $as_echo_n "(cached) " >&6
13743else
13744  if test -n "$CC"; then
13745  ac_cv_prog_CC="$CC" # Let the user override the test.
13746else
13747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13748for as_dir in $PATH
13749do
13750  IFS=$as_save_IFS
13751  test -z "$as_dir" && as_dir=.
13752    for ac_exec_ext in '' $ac_executable_extensions; do
13753  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13754    ac_cv_prog_CC="${ac_tool_prefix}gcc"
13755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13756    break 2
13757  fi
13758done
13759  done
13760IFS=$as_save_IFS
13761
13762fi
13763fi
13764CC=$ac_cv_prog_CC
13765if test -n "$CC"; then
13766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13767$as_echo "$CC" >&6; }
13768else
13769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13770$as_echo "no" >&6; }
13771fi
13772
13773
13774fi
13775if test -z "$ac_cv_prog_CC"; then
13776  ac_ct_CC=$CC
13777  # Extract the first word of "gcc", so it can be a program name with args.
13778set dummy gcc; ac_word=$2
13779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13780$as_echo_n "checking for $ac_word... " >&6; }
13781if ${ac_cv_prog_ac_ct_CC+:} false; then :
13782  $as_echo_n "(cached) " >&6
13783else
13784  if test -n "$ac_ct_CC"; then
13785  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13786else
13787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13788for as_dir in $PATH
13789do
13790  IFS=$as_save_IFS
13791  test -z "$as_dir" && as_dir=.
13792    for ac_exec_ext in '' $ac_executable_extensions; do
13793  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13794    ac_cv_prog_ac_ct_CC="gcc"
13795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13796    break 2
13797  fi
13798done
13799  done
13800IFS=$as_save_IFS
13801
13802fi
13803fi
13804ac_ct_CC=$ac_cv_prog_ac_ct_CC
13805if test -n "$ac_ct_CC"; then
13806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
13807$as_echo "$ac_ct_CC" >&6; }
13808else
13809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13810$as_echo "no" >&6; }
13811fi
13812
13813  if test "x$ac_ct_CC" = x; then
13814    CC=""
13815  else
13816    case $cross_compiling:$ac_tool_warned in
13817yes:)
13818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13820ac_tool_warned=yes ;;
13821esac
13822    CC=$ac_ct_CC
13823  fi
13824else
13825  CC="$ac_cv_prog_CC"
13826fi
13827
13828if test -z "$CC"; then
13829          if test -n "$ac_tool_prefix"; then
13830    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13831set dummy ${ac_tool_prefix}cc; ac_word=$2
13832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13833$as_echo_n "checking for $ac_word... " >&6; }
13834if ${ac_cv_prog_CC+:} false; then :
13835  $as_echo_n "(cached) " >&6
13836else
13837  if test -n "$CC"; then
13838  ac_cv_prog_CC="$CC" # Let the user override the test.
13839else
13840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13841for as_dir in $PATH
13842do
13843  IFS=$as_save_IFS
13844  test -z "$as_dir" && as_dir=.
13845    for ac_exec_ext in '' $ac_executable_extensions; do
13846  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13847    ac_cv_prog_CC="${ac_tool_prefix}cc"
13848    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13849    break 2
13850  fi
13851done
13852  done
13853IFS=$as_save_IFS
13854
13855fi
13856fi
13857CC=$ac_cv_prog_CC
13858if test -n "$CC"; then
13859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13860$as_echo "$CC" >&6; }
13861else
13862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13863$as_echo "no" >&6; }
13864fi
13865
13866
13867  fi
13868fi
13869if test -z "$CC"; then
13870  # Extract the first word of "cc", so it can be a program name with args.
13871set dummy cc; ac_word=$2
13872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13873$as_echo_n "checking for $ac_word... " >&6; }
13874if ${ac_cv_prog_CC+:} false; then :
13875  $as_echo_n "(cached) " >&6
13876else
13877  if test -n "$CC"; then
13878  ac_cv_prog_CC="$CC" # Let the user override the test.
13879else
13880  ac_prog_rejected=no
13881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13882for as_dir in $PATH
13883do
13884  IFS=$as_save_IFS
13885  test -z "$as_dir" && as_dir=.
13886    for ac_exec_ext in '' $ac_executable_extensions; do
13887  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13888    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13889       ac_prog_rejected=yes
13890       continue
13891     fi
13892    ac_cv_prog_CC="cc"
13893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13894    break 2
13895  fi
13896done
13897  done
13898IFS=$as_save_IFS
13899
13900if test $ac_prog_rejected = yes; then
13901  # We found a bogon in the path, so make sure we never use it.
13902  set dummy $ac_cv_prog_CC
13903  shift
13904  if test $# != 0; then
13905    # We chose a different compiler from the bogus one.
13906    # However, it has the same basename, so the bogon will be chosen
13907    # first if we set CC to just the basename; use the full file name.
13908    shift
13909    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13910  fi
13911fi
13912fi
13913fi
13914CC=$ac_cv_prog_CC
13915if test -n "$CC"; then
13916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13917$as_echo "$CC" >&6; }
13918else
13919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13920$as_echo "no" >&6; }
13921fi
13922
13923
13924fi
13925if test -z "$CC"; then
13926  if test -n "$ac_tool_prefix"; then
13927  for ac_prog in cl.exe
13928  do
13929    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13930set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13932$as_echo_n "checking for $ac_word... " >&6; }
13933if ${ac_cv_prog_CC+:} false; then :
13934  $as_echo_n "(cached) " >&6
13935else
13936  if test -n "$CC"; then
13937  ac_cv_prog_CC="$CC" # Let the user override the test.
13938else
13939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13940for as_dir in $PATH
13941do
13942  IFS=$as_save_IFS
13943  test -z "$as_dir" && as_dir=.
13944    for ac_exec_ext in '' $ac_executable_extensions; do
13945  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13946    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13947    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13948    break 2
13949  fi
13950done
13951  done
13952IFS=$as_save_IFS
13953
13954fi
13955fi
13956CC=$ac_cv_prog_CC
13957if test -n "$CC"; then
13958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
13959$as_echo "$CC" >&6; }
13960else
13961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13962$as_echo "no" >&6; }
13963fi
13964
13965
13966    test -n "$CC" && break
13967  done
13968fi
13969if test -z "$CC"; then
13970  ac_ct_CC=$CC
13971  for ac_prog in cl.exe
13972do
13973  # Extract the first word of "$ac_prog", so it can be a program name with args.
13974set dummy $ac_prog; ac_word=$2
13975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13976$as_echo_n "checking for $ac_word... " >&6; }
13977if ${ac_cv_prog_ac_ct_CC+:} false; then :
13978  $as_echo_n "(cached) " >&6
13979else
13980  if test -n "$ac_ct_CC"; then
13981  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13982else
13983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13984for as_dir in $PATH
13985do
13986  IFS=$as_save_IFS
13987  test -z "$as_dir" && as_dir=.
13988    for ac_exec_ext in '' $ac_executable_extensions; do
13989  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13990    ac_cv_prog_ac_ct_CC="$ac_prog"
13991    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13992    break 2
13993  fi
13994done
13995  done
13996IFS=$as_save_IFS
13997
13998fi
13999fi
14000ac_ct_CC=$ac_cv_prog_ac_ct_CC
14001if test -n "$ac_ct_CC"; then
14002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
14003$as_echo "$ac_ct_CC" >&6; }
14004else
14005  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14006$as_echo "no" >&6; }
14007fi
14008
14009
14010  test -n "$ac_ct_CC" && break
14011done
14012
14013  if test "x$ac_ct_CC" = x; then
14014    CC=""
14015  else
14016    case $cross_compiling:$ac_tool_warned in
14017yes:)
14018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14020ac_tool_warned=yes ;;
14021esac
14022    CC=$ac_ct_CC
14023  fi
14024fi
14025
14026fi
14027
14028
14029test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14031as_fn_error $? "no acceptable C compiler found in \$PATH
14032See \`config.log' for more details" "$LINENO" 5; }
14033
14034# Provide some information about the compiler.
14035$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
14036set X $ac_compile
14037ac_compiler=$2
14038for ac_option in --version -v -V -qversion; do
14039  { { ac_try="$ac_compiler $ac_option >&5"
14040case "(($ac_try" in
14041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14042  *) ac_try_echo=$ac_try;;
14043esac
14044eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14045$as_echo "$ac_try_echo"; } >&5
14046  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
14047  ac_status=$?
14048  if test -s conftest.err; then
14049    sed '10a\
14050... rest of stderr output deleted ...
14051         10q' conftest.err >conftest.er1
14052    cat conftest.er1 >&5
14053  fi
14054  rm -f conftest.er1 conftest.err
14055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14056  test $ac_status = 0; }
14057done
14058
14059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
14060$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
14061if ${ac_cv_c_compiler_gnu+:} false; then :
14062  $as_echo_n "(cached) " >&6
14063else
14064  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14065/* end confdefs.h.  */
14066
14067int
14068main ()
14069{
14070#ifndef __GNUC__
14071       choke me
14072#endif
14073
14074  ;
14075  return 0;
14076}
14077_ACEOF
14078if ac_fn_c_try_compile "$LINENO"; then :
14079  ac_compiler_gnu=yes
14080else
14081  ac_compiler_gnu=no
14082fi
14083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14084ac_cv_c_compiler_gnu=$ac_compiler_gnu
14085
14086fi
14087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
14088$as_echo "$ac_cv_c_compiler_gnu" >&6; }
14089if test $ac_compiler_gnu = yes; then
14090  GCC=yes
14091else
14092  GCC=
14093fi
14094ac_test_CFLAGS=${CFLAGS+set}
14095ac_save_CFLAGS=$CFLAGS
14096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
14097$as_echo_n "checking whether $CC accepts -g... " >&6; }
14098if ${ac_cv_prog_cc_g+:} false; then :
14099  $as_echo_n "(cached) " >&6
14100else
14101  ac_save_c_werror_flag=$ac_c_werror_flag
14102   ac_c_werror_flag=yes
14103   ac_cv_prog_cc_g=no
14104   CFLAGS="-g"
14105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14106/* end confdefs.h.  */
14107
14108int
14109main ()
14110{
14111
14112  ;
14113  return 0;
14114}
14115_ACEOF
14116if ac_fn_c_try_compile "$LINENO"; then :
14117  ac_cv_prog_cc_g=yes
14118else
14119  CFLAGS=""
14120      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14121/* end confdefs.h.  */
14122
14123int
14124main ()
14125{
14126
14127  ;
14128  return 0;
14129}
14130_ACEOF
14131if ac_fn_c_try_compile "$LINENO"; then :
14132
14133else
14134  ac_c_werror_flag=$ac_save_c_werror_flag
14135	 CFLAGS="-g"
14136	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14137/* end confdefs.h.  */
14138
14139int
14140main ()
14141{
14142
14143  ;
14144  return 0;
14145}
14146_ACEOF
14147if ac_fn_c_try_compile "$LINENO"; then :
14148  ac_cv_prog_cc_g=yes
14149fi
14150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14151fi
14152rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14153fi
14154rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14155   ac_c_werror_flag=$ac_save_c_werror_flag
14156fi
14157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
14158$as_echo "$ac_cv_prog_cc_g" >&6; }
14159if test "$ac_test_CFLAGS" = set; then
14160  CFLAGS=$ac_save_CFLAGS
14161elif test $ac_cv_prog_cc_g = yes; then
14162  if test "$GCC" = yes; then
14163    CFLAGS="-g -O2"
14164  else
14165    CFLAGS="-g"
14166  fi
14167else
14168  if test "$GCC" = yes; then
14169    CFLAGS="-O2"
14170  else
14171    CFLAGS=
14172  fi
14173fi
14174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
14175$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
14176if ${ac_cv_prog_cc_c89+:} false; then :
14177  $as_echo_n "(cached) " >&6
14178else
14179  ac_cv_prog_cc_c89=no
14180ac_save_CC=$CC
14181cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14182/* end confdefs.h.  */
14183#include <stdarg.h>
14184#include <stdio.h>
14185#include <sys/types.h>
14186#include <sys/stat.h>
14187/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
14188struct buf { int x; };
14189FILE * (*rcsopen) (struct buf *, struct stat *, int);
14190static char *e (p, i)
14191     char **p;
14192     int i;
14193{
14194  return p[i];
14195}
14196static char *f (char * (*g) (char **, int), char **p, ...)
14197{
14198  char *s;
14199  va_list v;
14200  va_start (v,p);
14201  s = g (p, va_arg (v,int));
14202  va_end (v);
14203  return s;
14204}
14205
14206/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
14207   function prototypes and stuff, but not '\xHH' hex character constants.
14208   These don't provoke an error unfortunately, instead are silently treated
14209   as 'x'.  The following induces an error, until -std is added to get
14210   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
14211   array size at least.  It's necessary to write '\x00'==0 to get something
14212   that's true only with -std.  */
14213int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14214
14215/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14216   inside strings and character constants.  */
14217#define FOO(x) 'x'
14218int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14219
14220int test (int i, double x);
14221struct s1 {int (*f) (int a);};
14222struct s2 {int (*f) (double a);};
14223int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14224int argc;
14225char **argv;
14226int
14227main ()
14228{
14229return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
14230  ;
14231  return 0;
14232}
14233_ACEOF
14234for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14235	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14236do
14237  CC="$ac_save_CC $ac_arg"
14238  if ac_fn_c_try_compile "$LINENO"; then :
14239  ac_cv_prog_cc_c89=$ac_arg
14240fi
14241rm -f core conftest.err conftest.$ac_objext
14242  test "x$ac_cv_prog_cc_c89" != "xno" && break
14243done
14244rm -f conftest.$ac_ext
14245CC=$ac_save_CC
14246
14247fi
14248# AC_CACHE_VAL
14249case "x$ac_cv_prog_cc_c89" in
14250  x)
14251    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
14252$as_echo "none needed" >&6; } ;;
14253  xno)
14254    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
14255$as_echo "unsupported" >&6; } ;;
14256  *)
14257    CC="$CC $ac_cv_prog_cc_c89"
14258    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
14259$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
14260esac
14261if test "x$ac_cv_prog_cc_c89" != xno; then :
14262
14263fi
14264
14265ac_ext=c
14266ac_cpp='$CPP $CPPFLAGS'
14267ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14268ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14269ac_compiler_gnu=$ac_cv_c_compiler_gnu
14270
14271depcc="$CC"   am_compiler_list=
14272
14273{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
14274$as_echo_n "checking dependency style of $depcc... " >&6; }
14275if ${am_cv_CC_dependencies_compiler_type+:} false; then :
14276  $as_echo_n "(cached) " >&6
14277else
14278  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
14279  # We make a subdir and do the tests there.  Otherwise we can end up
14280  # making bogus files that we don't know about and never remove.  For
14281  # instance it was reported that on HP-UX the gcc test will end up
14282  # making a dummy file named `D' -- because `-MD' means `put the output
14283  # in D'.
14284  mkdir conftest.dir
14285  # Copy depcomp to subdir because otherwise we won't find it if we're
14286  # using a relative directory.
14287  cp "$am_depcomp" conftest.dir
14288  cd conftest.dir
14289  # We will build objects and dependencies in a subdirectory because
14290  # it helps to detect inapplicable dependency modes.  For instance
14291  # both Tru64's cc and ICC support -MD to output dependencies as a
14292  # side effect of compilation, but ICC will put the dependencies in
14293  # the current directory while Tru64 will put them in the object
14294  # directory.
14295  mkdir sub
14296
14297  am_cv_CC_dependencies_compiler_type=none
14298  if test "$am_compiler_list" = ""; then
14299     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
14300  fi
14301  am__universal=false
14302  case " $depcc " in #(
14303     *\ -arch\ *\ -arch\ *) am__universal=true ;;
14304     esac
14305
14306  for depmode in $am_compiler_list; do
14307    # Setup a source with many dependencies, because some compilers
14308    # like to wrap large dependency lists on column 80 (with \), and
14309    # we should not choose a depcomp mode which is confused by this.
14310    #
14311    # We need to recreate these files for each test, as the compiler may
14312    # overwrite some of them when testing with obscure command lines.
14313    # This happens at least with the AIX C compiler.
14314    : > sub/conftest.c
14315    for i in 1 2 3 4 5 6; do
14316      echo '#include "conftst'$i'.h"' >> sub/conftest.c
14317      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
14318      # Solaris 8's {/usr,}/bin/sh.
14319      touch sub/conftst$i.h
14320    done
14321    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
14322
14323    # We check with `-c' and `-o' for the sake of the "dashmstdout"
14324    # mode.  It turns out that the SunPro C++ compiler does not properly
14325    # handle `-M -o', and we need to detect this.  Also, some Intel
14326    # versions had trouble with output in subdirs
14327    am__obj=sub/conftest.${OBJEXT-o}
14328    am__minus_obj="-o $am__obj"
14329    case $depmode in
14330    gcc)
14331      # This depmode causes a compiler race in universal mode.
14332      test "$am__universal" = false || continue
14333      ;;
14334    nosideeffect)
14335      # after this tag, mechanisms are not by side-effect, so they'll
14336      # only be used when explicitly requested
14337      if test "x$enable_dependency_tracking" = xyes; then
14338	continue
14339      else
14340	break
14341      fi
14342      ;;
14343    msvisualcpp | msvcmsys)
14344      # This compiler won't grok `-c -o', but also, the minuso test has
14345      # not run yet.  These depmodes are late enough in the game, and
14346      # so weak that their functioning should not be impacted.
14347      am__obj=conftest.${OBJEXT-o}
14348      am__minus_obj=
14349      ;;
14350    none) break ;;
14351    esac
14352    if depmode=$depmode \
14353       source=sub/conftest.c object=$am__obj \
14354       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
14355       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
14356         >/dev/null 2>conftest.err &&
14357       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
14358       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
14359       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
14360       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
14361      # icc doesn't choke on unknown options, it will just issue warnings
14362      # or remarks (even with -Werror).  So we grep stderr for any message
14363      # that says an option was ignored or not supported.
14364      # When given -MP, icc 7.0 and 7.1 complain thusly:
14365      #   icc: Command line warning: ignoring option '-M'; no argument required
14366      # The diagnosis changed in icc 8.0:
14367      #   icc: Command line remark: option '-MP' not supported
14368      if (grep 'ignoring option' conftest.err ||
14369          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
14370        am_cv_CC_dependencies_compiler_type=$depmode
14371        break
14372      fi
14373    fi
14374  done
14375
14376  cd ..
14377  rm -rf conftest.dir
14378else
14379  am_cv_CC_dependencies_compiler_type=none
14380fi
14381
14382fi
14383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
14384$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
14385CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
14386
14387 if
14388  test "x$enable_dependency_tracking" != xno \
14389  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
14390  am__fastdepCC_TRUE=
14391  am__fastdepCC_FALSE='#'
14392else
14393  am__fastdepCC_TRUE='#'
14394  am__fastdepCC_FALSE=
14395fi
14396
14397
14398
14399am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
14400
14401if test "x$CC" != xcc; then
14402  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
14403$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
14404else
14405  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
14406$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
14407fi
14408set dummy $CC; ac_cc=`$as_echo "$2" |
14409		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14410if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
14411  $as_echo_n "(cached) " >&6
14412else
14413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14414/* end confdefs.h.  */
14415
14416int
14417main ()
14418{
14419
14420  ;
14421  return 0;
14422}
14423_ACEOF
14424# Make sure it works both with $CC and with simple cc.
14425# We do the test twice because some compilers refuse to overwrite an
14426# existing .o file with -o, though they will create one.
14427ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14428rm -f conftest2.*
14429if { { case "(($ac_try" in
14430  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14431  *) ac_try_echo=$ac_try;;
14432esac
14433eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14434$as_echo "$ac_try_echo"; } >&5
14435  (eval "$ac_try") 2>&5
14436  ac_status=$?
14437  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14438  test $ac_status = 0; } &&
14439   test -f conftest2.$ac_objext && { { case "(($ac_try" in
14440  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14441  *) ac_try_echo=$ac_try;;
14442esac
14443eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14444$as_echo "$ac_try_echo"; } >&5
14445  (eval "$ac_try") 2>&5
14446  ac_status=$?
14447  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14448  test $ac_status = 0; };
14449then
14450  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
14451  if test "x$CC" != xcc; then
14452    # Test first that cc exists at all.
14453    if { ac_try='cc -c conftest.$ac_ext >&5'
14454  { { case "(($ac_try" in
14455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456  *) ac_try_echo=$ac_try;;
14457esac
14458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14459$as_echo "$ac_try_echo"; } >&5
14460  (eval "$ac_try") 2>&5
14461  ac_status=$?
14462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14463  test $ac_status = 0; }; }; then
14464      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
14465      rm -f conftest2.*
14466      if { { case "(($ac_try" in
14467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14468  *) ac_try_echo=$ac_try;;
14469esac
14470eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14471$as_echo "$ac_try_echo"; } >&5
14472  (eval "$ac_try") 2>&5
14473  ac_status=$?
14474  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14475  test $ac_status = 0; } &&
14476	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
14477  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14478  *) ac_try_echo=$ac_try;;
14479esac
14480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
14481$as_echo "$ac_try_echo"; } >&5
14482  (eval "$ac_try") 2>&5
14483  ac_status=$?
14484  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14485  test $ac_status = 0; };
14486      then
14487	# cc works too.
14488	:
14489      else
14490	# cc exists but doesn't like -o.
14491	eval ac_cv_prog_cc_${ac_cc}_c_o=no
14492      fi
14493    fi
14494  fi
14495else
14496  eval ac_cv_prog_cc_${ac_cc}_c_o=no
14497fi
14498rm -f core conftest*
14499
14500fi
14501if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
14502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14503$as_echo "yes" >&6; }
14504else
14505  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14506$as_echo "no" >&6; }
14507
14508$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
14509
14510fi
14511
14512# FIXME: we rely on the cache variable name because
14513# there is no other way.
14514set dummy $CC
14515am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
14516eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
14517if test "$am_t" != yes; then
14518   # Losing compiler, so override with the script.
14519   # FIXME: It is wrong to rewrite CC.
14520   # But if we don't then we get into trouble of one sort or another.
14521   # A longer-term fix would be to have automake use am__CC in this case,
14522   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
14523   CC="$am_aux_dir/compile $CC"
14524fi
14525
14526
14527
14528# check that we have the minimum version of python necisary to build
14529
14530
14531
14532
14533        if test -n "$PYTHON"; then
14534      # If the user set $PYTHON, use it and don't search something else.
14535      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5.2" >&5
14536$as_echo_n "checking whether $PYTHON version >= 2.5.2... " >&6; }
14537      prog="import sys
14538# split strings by '.' and convert to numeric.  Append some zeros
14539# because we need at least 4 digits for the hex conversion.
14540# map returns an iterator in Python 3.0 and a list in 2.x
14541minver = list(map(int, '2.5.2'.split('.'))) + [0, 0, 0]
14542minverhex = 0
14543# xrange is not present in Python 3.0 and range returns an iterator
14544for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14545sys.exit(sys.hexversion < minverhex)"
14546  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14547   ($PYTHON -c "$prog") >&5 2>&5
14548   ac_status=$?
14549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550   (exit $ac_status); }; then :
14551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14552$as_echo "yes" >&6; }
14553else
14554  as_fn_error $? "too old" "$LINENO" 5
14555fi
14556      am_display_PYTHON=$PYTHON
14557    else
14558      # Otherwise, try each interpreter until we find one that satisfies
14559      # VERSION.
14560      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5.2" >&5
14561$as_echo_n "checking for a Python interpreter with version >= 2.5.2... " >&6; }
14562if ${am_cv_pathless_PYTHON+:} false; then :
14563  $as_echo_n "(cached) " >&6
14564else
14565
14566	for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
14567	  test "$am_cv_pathless_PYTHON" = none && break
14568	  prog="import sys
14569# split strings by '.' and convert to numeric.  Append some zeros
14570# because we need at least 4 digits for the hex conversion.
14571# map returns an iterator in Python 3.0 and a list in 2.x
14572minver = list(map(int, '2.5.2'.split('.'))) + [0, 0, 0]
14573minverhex = 0
14574# xrange is not present in Python 3.0 and range returns an iterator
14575for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14576sys.exit(sys.hexversion < minverhex)"
14577  if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
14578   ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
14579   ac_status=$?
14580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581   (exit $ac_status); }; then :
14582  break
14583fi
14584	done
14585fi
14586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
14587$as_echo "$am_cv_pathless_PYTHON" >&6; }
14588      # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
14589      if test "$am_cv_pathless_PYTHON" = none; then
14590	PYTHON=:
14591      else
14592        # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
14593set dummy $am_cv_pathless_PYTHON; ac_word=$2
14594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14595$as_echo_n "checking for $ac_word... " >&6; }
14596if ${ac_cv_path_PYTHON+:} false; then :
14597  $as_echo_n "(cached) " >&6
14598else
14599  case $PYTHON in
14600  [\\/]* | ?:[\\/]*)
14601  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14602  ;;
14603  *)
14604  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14605for as_dir in $PATH
14606do
14607  IFS=$as_save_IFS
14608  test -z "$as_dir" && as_dir=.
14609    for ac_exec_ext in '' $ac_executable_extensions; do
14610  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14611    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14612    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14613    break 2
14614  fi
14615done
14616  done
14617IFS=$as_save_IFS
14618
14619  ;;
14620esac
14621fi
14622PYTHON=$ac_cv_path_PYTHON
14623if test -n "$PYTHON"; then
14624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14625$as_echo "$PYTHON" >&6; }
14626else
14627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14628$as_echo "no" >&6; }
14629fi
14630
14631
14632      fi
14633      am_display_PYTHON=$am_cv_pathless_PYTHON
14634    fi
14635
14636
14637  if test "$PYTHON" = :; then
14638      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14639  else
14640
14641
14642  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14643$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14644if ${am_cv_python_version+:} false; then :
14645  $as_echo_n "(cached) " >&6
14646else
14647  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14648fi
14649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14650$as_echo "$am_cv_python_version" >&6; }
14651  PYTHON_VERSION=$am_cv_python_version
14652
14653
14654
14655  PYTHON_PREFIX='${prefix}'
14656
14657  PYTHON_EXEC_PREFIX='${exec_prefix}'
14658
14659
14660
14661  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14662$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14663if ${am_cv_python_platform+:} false; then :
14664  $as_echo_n "(cached) " >&6
14665else
14666  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14667fi
14668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14669$as_echo "$am_cv_python_platform" >&6; }
14670  PYTHON_PLATFORM=$am_cv_python_platform
14671
14672
14673
14674
14675                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14676$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14677if ${am_cv_python_pythondir+:} false; then :
14678  $as_echo_n "(cached) " >&6
14679else
14680  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX'))" 2>/dev/null ||
14681     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14682fi
14683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14684$as_echo "$am_cv_python_pythondir" >&6; }
14685  pythondir=$am_cv_python_pythondir
14686
14687
14688
14689  pkgpythondir=\${pythondir}/$PACKAGE
14690
14691
14692            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14693$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14694if ${am_cv_python_pyexecdir+:} false; then :
14695  $as_echo_n "(cached) " >&6
14696else
14697  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print(sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX'))" 2>/dev/null ||
14698     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
14699fi
14700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14701$as_echo "$am_cv_python_pyexecdir" >&6; }
14702  pyexecdir=$am_cv_python_pyexecdir
14703
14704
14705
14706  pkgpyexecdir=\${pyexecdir}/$PACKAGE
14707
14708
14709
14710  fi
14711
14712
14713
14714# check if we are building for python 3
14715prog="import sys
14716# split strings by '.' and convert to numeric.  Append some zeros
14717# because we need at least 4 digits for the hex conversion.
14718# map returns an iterator in Python 3.0 and a list in 2.x
14719minver = list(map(int, '3.0'.split('.'))) + [0, 0, 0]
14720minverhex = 0
14721# xrange is not present in Python 3.0 and range returns an iterator
14722for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14723sys.exit(sys.hexversion < minverhex)"
14724  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14725   ($PYTHON -c "$prog") >&5 2>&5
14726   ac_status=$?
14727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14728   (exit $ac_status); }; then :
14729  build_py3k=true
14730else
14731  build_py3k=false
14732fi
14733
14734# if building for python 3 make sure we have the minimum version supported
14735if test $build_py3k = true ; then
14736  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $PYTHON >= 3.1" >&5
14737$as_echo_n "checking for $PYTHON >= 3.1... " >&6; }
14738  prog="import sys
14739# split strings by '.' and convert to numeric.  Append some zeros
14740# because we need at least 4 digits for the hex conversion.
14741# map returns an iterator in Python 3.0 and a list in 2.x
14742minver = list(map(int, '3.1'.split('.'))) + [0, 0, 0]
14743minverhex = 0
14744# xrange is not present in Python 3.0 and range returns an iterator
14745for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
14746sys.exit(sys.hexversion < minverhex)"
14747  if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
14748   ($PYTHON -c "$prog") >&5 2>&5
14749   ac_status=$?
14750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751   (exit $ac_status); }; then :
14752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14753$as_echo "yes" >&6; }
14754else
14755  as_fn_error $? "too old" "$LINENO" 5
14756fi
14757fi
14758
14759
14760
14761
14762
14763        # Find any Python interpreter.
14764    if test -z "$PYTHON"; then
14765      for ac_prog in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0
14766do
14767  # Extract the first word of "$ac_prog", so it can be a program name with args.
14768set dummy $ac_prog; ac_word=$2
14769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14770$as_echo_n "checking for $ac_word... " >&6; }
14771if ${ac_cv_path_PYTHON+:} false; then :
14772  $as_echo_n "(cached) " >&6
14773else
14774  case $PYTHON in
14775  [\\/]* | ?:[\\/]*)
14776  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
14777  ;;
14778  *)
14779  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14780for as_dir in $PATH
14781do
14782  IFS=$as_save_IFS
14783  test -z "$as_dir" && as_dir=.
14784    for ac_exec_ext in '' $ac_executable_extensions; do
14785  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14786    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
14787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14788    break 2
14789  fi
14790done
14791  done
14792IFS=$as_save_IFS
14793
14794  ;;
14795esac
14796fi
14797PYTHON=$ac_cv_path_PYTHON
14798if test -n "$PYTHON"; then
14799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
14800$as_echo "$PYTHON" >&6; }
14801else
14802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14803$as_echo "no" >&6; }
14804fi
14805
14806
14807  test -n "$PYTHON" && break
14808done
14809test -n "$PYTHON" || PYTHON=":"
14810
14811    fi
14812    am_display_PYTHON=python
14813
14814
14815  if test "$PYTHON" = :; then
14816      as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
14817  else
14818
14819
14820  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
14821$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
14822if ${am_cv_python_version+:} false; then :
14823  $as_echo_n "(cached) " >&6
14824else
14825  am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
14826fi
14827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
14828$as_echo "$am_cv_python_version" >&6; }
14829  PYTHON_VERSION=$am_cv_python_version
14830
14831
14832
14833  PYTHON_PREFIX='${prefix}'
14834
14835  PYTHON_EXEC_PREFIX='${exec_prefix}'
14836
14837
14838
14839  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
14840$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
14841if ${am_cv_python_platform+:} false; then :
14842  $as_echo_n "(cached) " >&6
14843else
14844  am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
14845fi
14846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
14847$as_echo "$am_cv_python_platform" >&6; }
14848  PYTHON_PLATFORM=$am_cv_python_platform
14849
14850
14851
14852
14853                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
14854$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
14855if ${am_cv_python_pythondir+:} false; then :
14856  $as_echo_n "(cached) " >&6
14857else
14858  if test "x$prefix" = xNONE
14859     then
14860       am_py_prefix=$ac_default_prefix
14861     else
14862       am_py_prefix=$prefix
14863     fi
14864     am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
14865     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14866     case $am_cv_python_pythondir in
14867     $am_py_prefix*)
14868       am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
14869       am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
14870       ;;
14871     *)
14872       case $am_py_prefix in
14873         /usr|/System*) ;;
14874         *)
14875	  am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
14876	  ;;
14877       esac
14878       ;;
14879     esac
14880
14881fi
14882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
14883$as_echo "$am_cv_python_pythondir" >&6; }
14884  pythondir=$am_cv_python_pythondir
14885
14886
14887
14888  pkgpythondir=\${pythondir}/$PACKAGE
14889
14890
14891            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
14892$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
14893if ${am_cv_python_pyexecdir+:} false; then :
14894  $as_echo_n "(cached) " >&6
14895else
14896  if test "x$exec_prefix" = xNONE
14897     then
14898       am_py_exec_prefix=$am_py_prefix
14899     else
14900       am_py_exec_prefix=$exec_prefix
14901     fi
14902     am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null ||
14903     echo "$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
14904     case $am_cv_python_pyexecdir in
14905     $am_py_exec_prefix*)
14906       am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
14907       am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
14908       ;;
14909     *)
14910       case $am_py_exec_prefix in
14911         /usr|/System*) ;;
14912         *)
14913	   am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
14914	   ;;
14915       esac
14916       ;;
14917     esac
14918
14919fi
14920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
14921$as_echo "$am_cv_python_pyexecdir" >&6; }
14922  pyexecdir=$am_cv_python_pyexecdir
14923
14924
14925
14926  pkgpyexecdir=\${pyexecdir}/$PACKAGE
14927
14928
14929
14930  fi
14931
14932
14933
14934{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5
14935$as_echo_n "checking for headers required to compile python extensions... " >&6; }
14936py_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.prefix)"`
14937py_exec_prefix=`$PYTHON -c "import sys; sys.stdout.write(sys.exec_prefix)"`
14938PYTHON_CONFIG=`which $PYTHON`-config
14939if test -x "$PYTHON_CONFIG"; then
14940PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null`
14941else
14942PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
14943if test "$py_prefix" != "$py_exec_prefix"; then
14944  PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
14945fi
14946fi
14947
14948save_CPPFLAGS="$CPPFLAGS"
14949CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES"
14950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951/* end confdefs.h.  */
14952#include <Python.h>
14953_ACEOF
14954if ac_fn_c_try_cpp "$LINENO"; then :
14955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
14956$as_echo "found" >&6; }
14957
14958else
14959  { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14960$as_echo "not found" >&6; }
14961as_fn_error $? "could not find Python headers" "$LINENO" 5
14962fi
14963rm -f conftest.err conftest.i conftest.$ac_ext
14964CPPFLAGS="$save_CPPFLAGS"
14965
14966
14967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PySignal_SetWakeupFd in Python.h" >&5
14968$as_echo_n "checking for PySignal_SetWakeupFd in Python.h... " >&6; }
14969old_CPPFLAGS=$CPPFLAGS
14970CPPFLAGS="-Wall -Werror $PYTHON_INCLUDES"
14971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14972/* end confdefs.h.  */
14973#include <Python.h>
14974int
14975main ()
14976{
14977PySignal_SetWakeupFd(0);
14978  ;
14979  return 0;
14980}
14981_ACEOF
14982if ac_fn_c_try_compile "$LINENO"; then :
14983  setwakeupfd_ok=yes
14984else
14985  setwakeupfd_ok=no
14986fi
14987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $setwakeupfd_ok" >&5
14989$as_echo "$setwakeupfd_ok" >&6; }
14990if test "x$setwakeupfd_ok" != xno; then
14991
14992$as_echo "#define HAVE_PYSIGNAL_SETWAKEUPFD 1" >>confdefs.h
14993
14994fi
14995CPPFLAGS=$old_CPPFLAGS
14996
14997PLATFORM=`$PYTHON -c "import sys; from distutils import util; sys.stdout.write(util.get_platform())"`
14998
14999
15000# Check whether --enable-thread was given.
15001if test "${enable_thread+set}" = set; then :
15002  enableval=$enable_thread;
15003else
15004  enable_thread=yes
15005fi
15006
15007
15008# Check whether --enable-docs was given.
15009if test "${enable_docs+set}" = set; then :
15010  enableval=$enable_docs; enable_docs=$enableval
15011else
15012  enable_docs=no
15013fi
15014
15015if test "${enable_docs}" != no; then
15016        # Extract the first word of "xsltproc", so it can be a program name with args.
15017set dummy xsltproc; ac_word=$2
15018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15019$as_echo_n "checking for $ac_word... " >&6; }
15020if ${ac_cv_path_XSLTPROC+:} false; then :
15021  $as_echo_n "(cached) " >&6
15022else
15023  case $XSLTPROC in
15024  [\\/]* | ?:[\\/]*)
15025  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15026  ;;
15027  *)
15028  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15029for as_dir in $PATH
15030do
15031  IFS=$as_save_IFS
15032  test -z "$as_dir" && as_dir=.
15033    for ac_exec_ext in '' $ac_executable_extensions; do
15034  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15035    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15036    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15037    break 2
15038  fi
15039done
15040  done
15041IFS=$as_save_IFS
15042
15043  ;;
15044esac
15045fi
15046XSLTPROC=$ac_cv_path_XSLTPROC
15047if test -n "$XSLTPROC"; then
15048  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15049$as_echo "$XSLTPROC" >&6; }
15050else
15051  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15052$as_echo "no" >&6; }
15053fi
15054
15055
15056  if test -z "$XSLTPROC"; then
15057    enable_docs=no
15058  fi
15059
15060          fi
15061
15062 if test x$enable_docs != xno; then
15063  ENABLE_DOCS_TRUE=
15064  ENABLE_DOCS_FALSE='#'
15065else
15066  ENABLE_DOCS_TRUE='#'
15067  ENABLE_DOCS_FALSE=
15068fi
15069
15070
15071
15072py_mod_var=`echo thread'_' | sed 'y%./+-%__p_%'`
15073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module thread" >&5
15074$as_echo_n "checking for python module thread... " >&6; }
15075if eval \${py_cv_mod_$py_mod_var+:} false; then :
15076  $as_echo_n "(cached) " >&6
15077else
15078
15079prog="
15080import sys
15081try:
15082        import thread
15083except ImportError:
15084        sys.exit(1)
15085except:
15086        sys.exit(0)
15087sys.exit(0)"
15088if $PYTHON -c "$prog" 1>&5 2>&5
15089  then
15090    eval "py_cv_mod_$py_mod_var=yes"
15091  else
15092    eval "py_cv_mod_$py_mod_var=no"
15093  fi
15094
15095fi
15096
15097py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
15098if test "x$py_val" != xno; then
15099  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15100$as_echo "yes" >&6; }
15101  else
15102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15103$as_echo "no" >&6; }
15104  enable_thread=check_for_py3_module
15105fi
15106
15107if test "x$enable_thread" = xcheck_for_py3_module; then
15108
15109py_mod_var=`echo _thread'_' | sed 'y%./+-%__p_%'`
15110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for python module _thread" >&5
15111$as_echo_n "checking for python module _thread... " >&6; }
15112if eval \${py_cv_mod_$py_mod_var+:} false; then :
15113  $as_echo_n "(cached) " >&6
15114else
15115
15116prog="
15117import sys
15118try:
15119        import _thread
15120except ImportError:
15121        sys.exit(1)
15122except:
15123        sys.exit(0)
15124sys.exit(0)"
15125if $PYTHON -c "$prog" 1>&5 2>&5
15126  then
15127    eval "py_cv_mod_$py_mod_var=yes"
15128  else
15129    eval "py_cv_mod_$py_mod_var=no"
15130  fi
15131
15132fi
15133
15134py_val=`eval "echo \`echo '$py_cv_mod_'$py_mod_var\`"`
15135if test "x$py_val" != xno; then
15136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15137$as_echo "yes" >&6; }
15138  else
15139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15140$as_echo "no" >&6; }
15141  enable_thread=no
15142fi
15143
15144fi
15145
15146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable threading in pylgobject" >&5
15147$as_echo_n "checking whether to enable threading in pylgobject... " >&6; }
15148if test "x$enable_thread" != xno; then
15149  extra_mods=gthread
15150  THREADING_CFLAGS=
15151  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15152$as_echo "yes" >&6; }
15153else
15154  extra_mods=
15155  THREADING_CFLAGS="-DDISABLE_THREADING"
15156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15157$as_echo "no" >&6; }
15158fi
15159
15160CPPFLAGS="${CPPFLAGS} $THREADING_CFLAGS"
15161
15162export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh`
15163
15164# Check whether --enable-glibtest was given.
15165if test "${enable_glibtest+set}" = set; then :
15166  enableval=$enable_glibtest;
15167else
15168  enable_glibtest=yes
15169fi
15170
15171
15172  pkg_config_args=glib-2.0
15173  for module in . gobject $extra_mods
15174  do
15175      case "$module" in
15176         gmodule)
15177             pkg_config_args="$pkg_config_args gmodule-2.0"
15178         ;;
15179         gmodule-no-export)
15180             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
15181         ;;
15182         gobject)
15183             pkg_config_args="$pkg_config_args gobject-2.0"
15184         ;;
15185         gthread)
15186             pkg_config_args="$pkg_config_args gthread-2.0"
15187         ;;
15188         gio*)
15189             pkg_config_args="$pkg_config_args $module-2.0"
15190         ;;
15191      esac
15192  done
15193
15194
15195
15196
15197
15198
15199
15200if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15201	if test -n "$ac_tool_prefix"; then
15202  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15203set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15205$as_echo_n "checking for $ac_word... " >&6; }
15206if ${ac_cv_path_PKG_CONFIG+:} false; then :
15207  $as_echo_n "(cached) " >&6
15208else
15209  case $PKG_CONFIG in
15210  [\\/]* | ?:[\\/]*)
15211  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15212  ;;
15213  *)
15214  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15215for as_dir in $PATH
15216do
15217  IFS=$as_save_IFS
15218  test -z "$as_dir" && as_dir=.
15219    for ac_exec_ext in '' $ac_executable_extensions; do
15220  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15221    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15222    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15223    break 2
15224  fi
15225done
15226  done
15227IFS=$as_save_IFS
15228
15229  ;;
15230esac
15231fi
15232PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15233if test -n "$PKG_CONFIG"; then
15234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15235$as_echo "$PKG_CONFIG" >&6; }
15236else
15237  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15238$as_echo "no" >&6; }
15239fi
15240
15241
15242fi
15243if test -z "$ac_cv_path_PKG_CONFIG"; then
15244  ac_pt_PKG_CONFIG=$PKG_CONFIG
15245  # Extract the first word of "pkg-config", so it can be a program name with args.
15246set dummy pkg-config; ac_word=$2
15247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15248$as_echo_n "checking for $ac_word... " >&6; }
15249if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15250  $as_echo_n "(cached) " >&6
15251else
15252  case $ac_pt_PKG_CONFIG in
15253  [\\/]* | ?:[\\/]*)
15254  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15255  ;;
15256  *)
15257  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15258for as_dir in $PATH
15259do
15260  IFS=$as_save_IFS
15261  test -z "$as_dir" && as_dir=.
15262    for ac_exec_ext in '' $ac_executable_extensions; do
15263  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15264    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15265    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15266    break 2
15267  fi
15268done
15269  done
15270IFS=$as_save_IFS
15271
15272  ;;
15273esac
15274fi
15275ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15276if test -n "$ac_pt_PKG_CONFIG"; then
15277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15278$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15279else
15280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15281$as_echo "no" >&6; }
15282fi
15283
15284  if test "x$ac_pt_PKG_CONFIG" = x; then
15285    PKG_CONFIG=""
15286  else
15287    case $cross_compiling:$ac_tool_warned in
15288yes:)
15289{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15290$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15291ac_tool_warned=yes ;;
15292esac
15293    PKG_CONFIG=$ac_pt_PKG_CONFIG
15294  fi
15295else
15296  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15297fi
15298
15299fi
15300if test -n "$PKG_CONFIG"; then
15301	_pkg_min_version=0.16
15302	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15303$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15304	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15305		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15306$as_echo "yes" >&6; }
15307	else
15308		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15309$as_echo "no" >&6; }
15310		PKG_CONFIG=""
15311	fi
15312fi
15313
15314  no_glib=""
15315
15316  if test "x$PKG_CONFIG" = x ; then
15317    no_glib=yes
15318    PKG_CONFIG=no
15319  fi
15320
15321  min_glib_version=2.24.0
15322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
15323$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
15324
15325  if test x$PKG_CONFIG != xno ; then
15326    ## don't try to run the test against uninstalled libtool libs
15327    if $PKG_CONFIG --uninstalled $pkg_config_args; then
15328	  echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
15329	  enable_glibtest=no
15330    fi
15331
15332    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
15333	  :
15334    else
15335	  no_glib=yes
15336    fi
15337  fi
15338
15339  if test x"$no_glib" = x ; then
15340    GLIB_GENMARSHAL=`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`
15341    GOBJECT_QUERY=`$PKG_CONFIG --variable=gobject_query glib-2.0`
15342    GLIB_MKENUMS=`$PKG_CONFIG --variable=glib_mkenums glib-2.0`
15343
15344    GLIB_CFLAGS=`$PKG_CONFIG --cflags $pkg_config_args`
15345    GLIB_LIBS=`$PKG_CONFIG --libs $pkg_config_args`
15346    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
15347           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
15348    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
15349           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
15350    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
15351           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
15352    if test "x$enable_glibtest" = "xyes" ; then
15353      ac_save_CFLAGS="$CFLAGS"
15354      ac_save_LIBS="$LIBS"
15355      CFLAGS="$CFLAGS $GLIB_CFLAGS"
15356      LIBS="$GLIB_LIBS $LIBS"
15357      rm -f conf.glibtest
15358      if test "$cross_compiling" = yes; then :
15359  echo $ac_n "cross compiling; assumed OK... $ac_c"
15360else
15361  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15362/* end confdefs.h.  */
15363
15364#include <glib.h>
15365#include <stdio.h>
15366#include <stdlib.h>
15367
15368int
15369main ()
15370{
15371  unsigned int major, minor, micro;
15372  char *tmp_version;
15373
15374  fclose (fopen ("conf.glibtest", "w"));
15375
15376  /* HP/UX 9 (%@#!) writes to sscanf strings */
15377  tmp_version = g_strdup("$min_glib_version");
15378  if (sscanf(tmp_version, "%u.%u.%u", &major, &minor, &micro) != 3) {
15379     printf("%s, bad version string\n", "$min_glib_version");
15380     exit(1);
15381   }
15382
15383  if ((glib_major_version != $glib_config_major_version) ||
15384      (glib_minor_version != $glib_config_minor_version) ||
15385      (glib_micro_version != $glib_config_micro_version))
15386    {
15387      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
15388             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
15389             glib_major_version, glib_minor_version, glib_micro_version);
15390      printf ("*** was found! If pkg-config was correct, then it is best\n");
15391      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
15392      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
15393      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
15394      printf("*** required on your system.\n");
15395      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
15396      printf("*** to point to the correct configuration files\n");
15397    }
15398  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
15399	   (glib_minor_version != GLIB_MINOR_VERSION) ||
15400           (glib_micro_version != GLIB_MICRO_VERSION))
15401    {
15402      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
15403	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
15404      printf("*** library (version %d.%d.%d)\n",
15405	     glib_major_version, glib_minor_version, glib_micro_version);
15406    }
15407  else
15408    {
15409      if ((glib_major_version > major) ||
15410        ((glib_major_version == major) && (glib_minor_version > minor)) ||
15411        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
15412      {
15413        return 0;
15414       }
15415     else
15416      {
15417        printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
15418               glib_major_version, glib_minor_version, glib_micro_version);
15419        printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
15420	       major, minor, micro);
15421        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
15422        printf("***\n");
15423        printf("*** If you have already installed a sufficiently new version, this error\n");
15424        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
15425        printf("*** being found. The easiest way to fix this is to remove the old version\n");
15426        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
15427        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
15428        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
15429        printf("*** so that the correct libraries are found at run-time))\n");
15430      }
15431    }
15432  return 1;
15433}
15434
15435_ACEOF
15436if ac_fn_c_try_run "$LINENO"; then :
15437
15438else
15439  no_glib=yes
15440fi
15441rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15442  conftest.$ac_objext conftest.beam conftest.$ac_ext
15443fi
15444
15445       CFLAGS="$ac_save_CFLAGS"
15446       LIBS="$ac_save_LIBS"
15447     fi
15448  fi
15449  if test "x$no_glib" = x ; then
15450     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
15451$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
15452     :
15453  else
15454     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15455$as_echo "no" >&6; }
15456     if test "$PKG_CONFIG" = "no" ; then
15457       echo "*** A new enough version of pkg-config was not found."
15458       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
15459     else
15460       if test -f conf.glibtest ; then
15461        :
15462       else
15463          echo "*** Could not run GLIB test program, checking why..."
15464          ac_save_CFLAGS="$CFLAGS"
15465          ac_save_LIBS="$LIBS"
15466          CFLAGS="$CFLAGS $GLIB_CFLAGS"
15467          LIBS="$LIBS $GLIB_LIBS"
15468          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15469/* end confdefs.h.  */
15470
15471#include <glib.h>
15472#include <stdio.h>
15473
15474int
15475main ()
15476{
15477 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
15478  ;
15479  return 0;
15480}
15481_ACEOF
15482if ac_fn_c_try_link "$LINENO"; then :
15483   echo "*** The test program compiled, but did not run. This usually means"
15484          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
15485          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
15486          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
15487          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
15488          echo "*** is required on your system"
15489	  echo "***"
15490          echo "*** If you have an old version installed, it is best to remove it, although"
15491          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
15492else
15493   echo "*** The test program failed to compile or link. See the file config.log for the"
15494          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
15495fi
15496rm -f core conftest.err conftest.$ac_objext \
15497    conftest$ac_exeext conftest.$ac_ext
15498          CFLAGS="$ac_save_CFLAGS"
15499          LIBS="$ac_save_LIBS"
15500       fi
15501     fi
15502     GLIB_CFLAGS=""
15503     GLIB_LIBS=""
15504     GLIB_GENMARSHAL=""
15505     GOBJECT_QUERY=""
15506     GLIB_MKENUMS=""
15507     as_fn_error $? "maybe you want the pylgobject-2-4 branch?" "$LINENO" 5
15508  fi
15509
15510
15511
15512
15513
15514  rm -f conf.glibtest
15515
15516if test -n "$export_dynamic"; then
15517  GLIB_LIBS=`echo $GLIB_LIBS | sed -e "s/$export_dynamic//"`
15518fi
15519PYTHON_BASENAME=`basename $PYTHON`
15520
15521
15522pylgobject_CODEGEN_DEFINES=""
15523
15524
15525
15526  EXP_VAR=DATADIR
15527  FROM_VAR=$datadir
15528
15529    prefix_save=$prefix
15530  exec_prefix_save=$exec_prefix
15531
15532    if test "x$prefix" = "xNONE"; then
15533    prefix=$ac_default_prefix
15534  fi
15535    if test "x$exec_prefix" = "xNONE"; then
15536    exec_prefix=$prefix
15537  fi
15538
15539  full_var="$FROM_VAR"
15540    while true; do
15541    new_full_var="`eval echo $full_var`"
15542    if test "x$new_full_var"="x$full_var"; then break; fi
15543    full_var=$new_full_var
15544  done
15545
15546    full_var=$new_full_var
15547  DATADIR="$full_var"
15548
15549
15550    prefix=$prefix_save
15551  exec_prefix=$exec_prefix_save
15552
15553
15554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ffi" >&5
15555$as_echo_n "checking for ffi... " >&6; }
15556
15557# Check whether --with-ffi was given.
15558if test "${with_ffi+set}" = set; then :
15559  withval=$with_ffi; with_libffi=$withval
15560else
15561  with_libffi=auto
15562fi
15563
15564if test x"$with_libffi" = xno ; then
15565  have_libffi=false
15566else
15567
15568pkg_failed=no
15569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FFI" >&5
15570$as_echo_n "checking for FFI... " >&6; }
15571
15572if test -n "$FFI_CFLAGS"; then
15573    pkg_cv_FFI_CFLAGS="$FFI_CFLAGS"
15574 elif test -n "$PKG_CONFIG"; then
15575    if test -n "$PKG_CONFIG" && \
15576    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
15577  ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
15578  ac_status=$?
15579  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15580  test $ac_status = 0; }; then
15581  pkg_cv_FFI_CFLAGS=`$PKG_CONFIG --cflags "libffi >= 3.0" 2>/dev/null`
15582else
15583  pkg_failed=yes
15584fi
15585 else
15586    pkg_failed=untried
15587fi
15588if test -n "$FFI_LIBS"; then
15589    pkg_cv_FFI_LIBS="$FFI_LIBS"
15590 elif test -n "$PKG_CONFIG"; then
15591    if test -n "$PKG_CONFIG" && \
15592    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libffi >= 3.0\""; } >&5
15593  ($PKG_CONFIG --exists --print-errors "libffi >= 3.0") 2>&5
15594  ac_status=$?
15595  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15596  test $ac_status = 0; }; then
15597  pkg_cv_FFI_LIBS=`$PKG_CONFIG --libs "libffi >= 3.0" 2>/dev/null`
15598else
15599  pkg_failed=yes
15600fi
15601 else
15602    pkg_failed=untried
15603fi
15604
15605
15606
15607if test $pkg_failed = yes; then
15608   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15609$as_echo "no" >&6; }
15610
15611if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15612        _pkg_short_errors_supported=yes
15613else
15614        _pkg_short_errors_supported=no
15615fi
15616        if test $_pkg_short_errors_supported = yes; then
15617	        FFI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libffi >= 3.0" 2>&1`
15618        else
15619	        FFI_PKG_ERRORS=`$PKG_CONFIG --print-errors "libffi >= 3.0" 2>&1`
15620        fi
15621	# Put the nasty error message in config.log where it belongs
15622	echo "$FFI_PKG_ERRORS" >&5
15623
15624	have_libffi=no
15625elif test $pkg_failed = untried; then
15626     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627$as_echo "no" >&6; }
15628	have_libffi=no
15629else
15630	FFI_CFLAGS=$pkg_cv_FFI_CFLAGS
15631	FFI_LIBS=$pkg_cv_FFI_LIBS
15632        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15633$as_echo "yes" >&6; }
15634	have_libffi=yes
15635fi
15636fi
15637if test x"$with_libffi" = xyes && test x"$have_libffi" = xno ; then
15638  as_fn_error $? "ffi requested, but not found" "$LINENO" 5
15639fi
15640if test x"$have_libffi" = xyes; then
15641
15642$as_echo "#define HAVE_FFI_H 1" >>confdefs.h
15643
15644  LIBFFI_PC=libffi
15645fi
15646 if test "$have_libffi" = "yes"; then
15647  HAVE_LIBFFI_TRUE=
15648  HAVE_LIBFFI_FALSE='#'
15649else
15650  HAVE_LIBFFI_TRUE='#'
15651  HAVE_LIBFFI_FALSE=
15652fi
15653
15654
15655
15656
15657
15658
15659pkg_failed=no
15660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5
15661$as_echo_n "checking for GIO... " >&6; }
15662
15663if test -n "$GIO_CFLAGS"; then
15664    pkg_cv_GIO_CFLAGS="$GIO_CFLAGS"
15665 elif test -n "$PKG_CONFIG"; then
15666    if test -n "$PKG_CONFIG" && \
15667    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.24.0\""; } >&5
15668  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.24.0") 2>&5
15669  ac_status=$?
15670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671  test $ac_status = 0; }; then
15672  pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.24.0" 2>/dev/null`
15673else
15674  pkg_failed=yes
15675fi
15676 else
15677    pkg_failed=untried
15678fi
15679if test -n "$GIO_LIBS"; then
15680    pkg_cv_GIO_LIBS="$GIO_LIBS"
15681 elif test -n "$PKG_CONFIG"; then
15682    if test -n "$PKG_CONFIG" && \
15683    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.24.0\""; } >&5
15684  ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.24.0") 2>&5
15685  ac_status=$?
15686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15687  test $ac_status = 0; }; then
15688  pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.24.0" 2>/dev/null`
15689else
15690  pkg_failed=yes
15691fi
15692 else
15693    pkg_failed=untried
15694fi
15695
15696
15697
15698if test $pkg_failed = yes; then
15699   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15700$as_echo "no" >&6; }
15701
15702if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15703        _pkg_short_errors_supported=yes
15704else
15705        _pkg_short_errors_supported=no
15706fi
15707        if test $_pkg_short_errors_supported = yes; then
15708	        GIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-2.0 >= 2.24.0" 2>&1`
15709        else
15710	        GIO_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-2.0 >= 2.24.0" 2>&1`
15711        fi
15712	# Put the nasty error message in config.log where it belongs
15713	echo "$GIO_PKG_ERRORS" >&5
15714
15715	have_gio=false
15716elif test $pkg_failed = untried; then
15717     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15718$as_echo "no" >&6; }
15719	have_gio=false
15720else
15721	GIO_CFLAGS=$pkg_cv_GIO_CFLAGS
15722	GIO_LIBS=$pkg_cv_GIO_LIBS
15723        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15724$as_echo "yes" >&6; }
15725	have_gio=true
15726fi
15727
15728
15729
15730# Do not build GIO if the python version >= 3.0
15731# We use GI to access GIO in python 3
15732 if test $have_gio = true -a $build_py3k = false; then
15733  BUILD_GIO_TRUE=
15734  BUILD_GIO_FALSE='#'
15735else
15736  BUILD_GIO_TRUE='#'
15737  BUILD_GIO_FALSE=
15738fi
15739
15740
15741if test -n "$export_dynamic"; then
15742  GIO_LIBS=`echo $GIO_LIBS | sed -e "s/$export_dynamic//"`
15743fi
15744
15745
15746pkg_failed=no
15747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIOUNIX" >&5
15748$as_echo_n "checking for GIOUNIX... " >&6; }
15749
15750if test -n "$GIOUNIX_CFLAGS"; then
15751    pkg_cv_GIOUNIX_CFLAGS="$GIOUNIX_CFLAGS"
15752 elif test -n "$PKG_CONFIG"; then
15753    if test -n "$PKG_CONFIG" && \
15754    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.22.4\""; } >&5
15755  ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.22.4") 2>&5
15756  ac_status=$?
15757  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15758  test $ac_status = 0; }; then
15759  pkg_cv_GIOUNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0 >= 2.22.4" 2>/dev/null`
15760else
15761  pkg_failed=yes
15762fi
15763 else
15764    pkg_failed=untried
15765fi
15766if test -n "$GIOUNIX_LIBS"; then
15767    pkg_cv_GIOUNIX_LIBS="$GIOUNIX_LIBS"
15768 elif test -n "$PKG_CONFIG"; then
15769    if test -n "$PKG_CONFIG" && \
15770    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-unix-2.0 >= 2.22.4\""; } >&5
15771  ($PKG_CONFIG --exists --print-errors "gio-unix-2.0 >= 2.22.4") 2>&5
15772  ac_status=$?
15773  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15774  test $ac_status = 0; }; then
15775  pkg_cv_GIOUNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0 >= 2.22.4" 2>/dev/null`
15776else
15777  pkg_failed=yes
15778fi
15779 else
15780    pkg_failed=untried
15781fi
15782
15783
15784
15785if test $pkg_failed = yes; then
15786   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15787$as_echo "no" >&6; }
15788
15789if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15790        _pkg_short_errors_supported=yes
15791else
15792        _pkg_short_errors_supported=no
15793fi
15794        if test $_pkg_short_errors_supported = yes; then
15795	        GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gio-unix-2.0 >= 2.22.4" 2>&1`
15796        else
15797	        GIOUNIX_PKG_ERRORS=`$PKG_CONFIG --print-errors "gio-unix-2.0 >= 2.22.4" 2>&1`
15798        fi
15799	# Put the nasty error message in config.log where it belongs
15800	echo "$GIOUNIX_PKG_ERRORS" >&5
15801
15802	have_giounix=false
15803elif test $pkg_failed = untried; then
15804     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15805$as_echo "no" >&6; }
15806	have_giounix=false
15807else
15808	GIOUNIX_CFLAGS=$pkg_cv_GIOUNIX_CFLAGS
15809	GIOUNIX_LIBS=$pkg_cv_GIOUNIX_LIBS
15810        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15811$as_echo "yes" >&6; }
15812	have_giounix=true
15813fi
15814
15815
15816 if test $have_giounix = true -a $build_py3k = false; then
15817  BUILD_GIOUNIX_TRUE=
15818  BUILD_GIOUNIX_FALSE='#'
15819else
15820  BUILD_GIOUNIX_TRUE='#'
15821  BUILD_GIOUNIX_FALSE=
15822fi
15823
15824if test -n "$export_dynamic"; then
15825  GIOUNIX_LIBS=`echo $GIOUNIX_LIBS | sed -e "s/$export_dynamic//"`
15826fi
15827
15828# Check whether --enable-cairo was given.
15829if test "${enable_cairo+set}" = set; then :
15830  enableval=$enable_cairo; enable_cairo=$enableval
15831else
15832  enable_cairo=yes
15833fi
15834
15835
15836# Check whether --enable-introspection was given.
15837if test "${enable_introspection+set}" = set; then :
15838  enableval=$enable_introspection; enable_introspection=$enableval
15839else
15840  enable_introspection=yes
15841fi
15842
15843if test "$enable_introspection" != no; then
15844
15845$as_echo "#define ENABLE_INTROSPECTION 1" >>confdefs.h
15846
15847
15848pkg_failed=no
15849{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GI" >&5
15850$as_echo_n "checking for GI... " >&6; }
15851
15852if test -n "$GI_CFLAGS"; then
15853    pkg_cv_GI_CFLAGS="$GI_CFLAGS"
15854 elif test -n "$PKG_CONFIG"; then
15855    if test -n "$PKG_CONFIG" && \
15856    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0
15857        gobject-introspection-1.0 >= 0.10.2
15858    \""; } >&5
15859  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0
15860        gobject-introspection-1.0 >= 0.10.2
15861    ") 2>&5
15862  ac_status=$?
15863  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15864  test $ac_status = 0; }; then
15865  pkg_cv_GI_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.24.0
15866        gobject-introspection-1.0 >= 0.10.2
15867    " 2>/dev/null`
15868else
15869  pkg_failed=yes
15870fi
15871 else
15872    pkg_failed=untried
15873fi
15874if test -n "$GI_LIBS"; then
15875    pkg_cv_GI_LIBS="$GI_LIBS"
15876 elif test -n "$PKG_CONFIG"; then
15877    if test -n "$PKG_CONFIG" && \
15878    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.24.0
15879        gobject-introspection-1.0 >= 0.10.2
15880    \""; } >&5
15881  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.24.0
15882        gobject-introspection-1.0 >= 0.10.2
15883    ") 2>&5
15884  ac_status=$?
15885  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15886  test $ac_status = 0; }; then
15887  pkg_cv_GI_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.24.0
15888        gobject-introspection-1.0 >= 0.10.2
15889    " 2>/dev/null`
15890else
15891  pkg_failed=yes
15892fi
15893 else
15894    pkg_failed=untried
15895fi
15896
15897
15898
15899if test $pkg_failed = yes; then
15900   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15901$as_echo "no" >&6; }
15902
15903if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15904        _pkg_short_errors_supported=yes
15905else
15906        _pkg_short_errors_supported=no
15907fi
15908        if test $_pkg_short_errors_supported = yes; then
15909	        GI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.24.0
15910        gobject-introspection-1.0 >= 0.10.2
15911    " 2>&1`
15912        else
15913	        GI_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.24.0
15914        gobject-introspection-1.0 >= 0.10.2
15915    " 2>&1`
15916        fi
15917	# Put the nasty error message in config.log where it belongs
15918	echo "$GI_PKG_ERRORS" >&5
15919
15920	as_fn_error $? "Package requirements (glib-2.0 >= 2.24.0
15921        gobject-introspection-1.0 >= 0.10.2
15922    ) were not met:
15923
15924$GI_PKG_ERRORS
15925
15926Consider adjusting the PKG_CONFIG_PATH environment variable if you
15927installed software in a non-standard prefix.
15928
15929Alternatively, you may set the environment variables GI_CFLAGS
15930and GI_LIBS to avoid the need to call pkg-config.
15931See the pkg-config man page for more details." "$LINENO" 5
15932
15933elif test $pkg_failed = untried; then
15934     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15935$as_echo "no" >&6; }
15936	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15937$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15938as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15939is in your PATH or set the PKG_CONFIG environment variable to the full
15940path to pkg-config.
15941
15942Alternatively, you may set the environment variables GI_CFLAGS
15943and GI_LIBS to avoid the need to call pkg-config.
15944See the pkg-config man page for more details.
15945
15946To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15947See \`config.log' for more details" "$LINENO" 5; }
15948
15949else
15950	GI_CFLAGS=$pkg_cv_GI_CFLAGS
15951	GI_LIBS=$pkg_cv_GI_LIBS
15952        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15953$as_echo "yes" >&6; }
15954
15955fi
15956
15957    GI_DATADIR=$($PKG_CONFIG --variable=gidatadir gobject-introspection-1.0)
15958
15959
15960    if test "$enable_cairo" != no; then
15961
15962pkg_failed=no
15963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PYCAIRO" >&5
15964$as_echo_n "checking for PYCAIRO... " >&6; }
15965
15966if test -n "$PYCAIRO_CFLAGS"; then
15967    pkg_cv_PYCAIRO_CFLAGS="$PYCAIRO_CFLAGS"
15968 elif test -n "$PKG_CONFIG"; then
15969    if test -n "$PKG_CONFIG" && \
15970    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
15971        \""; } >&5
15972  ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
15973        ") 2>&5
15974  ac_status=$?
15975  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15976  test $ac_status = 0; }; then
15977  pkg_cv_PYCAIRO_CFLAGS=`$PKG_CONFIG --cflags "pycairo >= 1.2.0
15978        " 2>/dev/null`
15979else
15980  pkg_failed=yes
15981fi
15982 else
15983    pkg_failed=untried
15984fi
15985if test -n "$PYCAIRO_LIBS"; then
15986    pkg_cv_PYCAIRO_LIBS="$PYCAIRO_LIBS"
15987 elif test -n "$PKG_CONFIG"; then
15988    if test -n "$PKG_CONFIG" && \
15989    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pycairo >= 1.2.0
15990        \""; } >&5
15991  ($PKG_CONFIG --exists --print-errors "pycairo >= 1.2.0
15992        ") 2>&5
15993  ac_status=$?
15994  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15995  test $ac_status = 0; }; then
15996  pkg_cv_PYCAIRO_LIBS=`$PKG_CONFIG --libs "pycairo >= 1.2.0
15997        " 2>/dev/null`
15998else
15999  pkg_failed=yes
16000fi
16001 else
16002    pkg_failed=untried
16003fi
16004
16005
16006
16007if test $pkg_failed = yes; then
16008   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16009$as_echo "no" >&6; }
16010
16011if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16012        _pkg_short_errors_supported=yes
16013else
16014        _pkg_short_errors_supported=no
16015fi
16016        if test $_pkg_short_errors_supported = yes; then
16017	        PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "pycairo >= 1.2.0
16018        " 2>&1`
16019        else
16020	        PYCAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors "pycairo >= 1.2.0
16021        " 2>&1`
16022        fi
16023	# Put the nasty error message in config.log where it belongs
16024	echo "$PYCAIRO_PKG_ERRORS" >&5
16025
16026	as_fn_error $? "Package requirements (pycairo >= 1.2.0
16027        ) were not met:
16028
16029$PYCAIRO_PKG_ERRORS
16030
16031Consider adjusting the PKG_CONFIG_PATH environment variable if you
16032installed software in a non-standard prefix.
16033
16034Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16035and PYCAIRO_LIBS to avoid the need to call pkg-config.
16036See the pkg-config man page for more details." "$LINENO" 5
16037
16038elif test $pkg_failed = untried; then
16039     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16040$as_echo "no" >&6; }
16041	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16043as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
16044is in your PATH or set the PKG_CONFIG environment variable to the full
16045path to pkg-config.
16046
16047Alternatively, you may set the environment variables PYCAIRO_CFLAGS
16048and PYCAIRO_LIBS to avoid the need to call pkg-config.
16049See the pkg-config man page for more details.
16050
16051To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16052See \`config.log' for more details" "$LINENO" 5; }
16053
16054else
16055	PYCAIRO_CFLAGS=$pkg_cv_PYCAIRO_CFLAGS
16056	PYCAIRO_LIBS=$pkg_cv_PYCAIRO_LIBS
16057        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16058$as_echo "yes" >&6; }
16059
16060fi
16061    fi
16062fi
16063 if test "$enable_introspection" = "yes"; then
16064  ENABLE_INTROSPECTION_TRUE=
16065  ENABLE_INTROSPECTION_FALSE='#'
16066else
16067  ENABLE_INTROSPECTION_TRUE='#'
16068  ENABLE_INTROSPECTION_FALSE=
16069fi
16070
16071 if test "$enable_cairo" = "yes"; then
16072  ENABLE_CAIRO_TRUE=
16073  ENABLE_CAIRO_FALSE='#'
16074else
16075  ENABLE_CAIRO_TRUE='#'
16076  ENABLE_CAIRO_FALSE=
16077fi
16078
16079
16080INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
16081INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
16082
16083
16084
16085
16086if test "x$GCC" = "xyes"; then
16087
16088case " $CFLAGS " in
16089*[\	\ ]-Wall[\	\ ]*)
16090  ;;
16091*)
16092  save_CFLAGS="$CFLAGS"
16093  CFLAGS="$CFLAGS -Wall"
16094  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -Wall" >&5
16095$as_echo_n "checking whether $CC understands -Wall... " >&6; }
16096  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16097/* end confdefs.h.  */
16098
16099int
16100main ()
16101{
16102
16103  ;
16104  return 0;
16105}
16106_ACEOF
16107if ac_fn_c_try_compile "$LINENO"; then :
16108  jh_has_option=yes
16109else
16110  jh_has_option=no
16111fi
16112rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16114$as_echo "$jh_has_option" >&6; }
16115  if test $jh_has_option = no; then
16116    CFLAGS="$save_CFLAGS"
16117  fi
16118  ;;
16119esac
16120
16121case " $CFLAGS " in
16122*[\	\ ]-fno-strict-aliasing[\	\ ]*)
16123  ;;
16124*)
16125  save_CFLAGS="$CFLAGS"
16126  CFLAGS="$CFLAGS -fno-strict-aliasing"
16127  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -fno-strict-aliasing" >&5
16128$as_echo_n "checking whether $CC understands -fno-strict-aliasing... " >&6; }
16129  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16130/* end confdefs.h.  */
16131
16132int
16133main ()
16134{
16135
16136  ;
16137  return 0;
16138}
16139_ACEOF
16140if ac_fn_c_try_compile "$LINENO"; then :
16141  jh_has_option=yes
16142else
16143  jh_has_option=no
16144fi
16145rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16147$as_echo "$jh_has_option" >&6; }
16148  if test $jh_has_option = no; then
16149    CFLAGS="$save_CFLAGS"
16150  fi
16151  ;;
16152esac
16153
16154  case $host_os in
16155  solaris*)
16156    ;;
16157  *)
16158
16159case " $CFLAGS " in
16160*[\	\ ]-std=c9x[\	\ ]*)
16161  ;;
16162*)
16163  save_CFLAGS="$CFLAGS"
16164  CFLAGS="$CFLAGS -std=c9x"
16165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -std=c9x" >&5
16166$as_echo_n "checking whether $CC understands -std=c9x... " >&6; }
16167  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168/* end confdefs.h.  */
16169
16170int
16171main ()
16172{
16173
16174  ;
16175  return 0;
16176}
16177_ACEOF
16178if ac_fn_c_try_compile "$LINENO"; then :
16179  jh_has_option=yes
16180else
16181  jh_has_option=no
16182fi
16183rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16184  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jh_has_option" >&5
16185$as_echo "$jh_has_option" >&6; }
16186  if test $jh_has_option = no; then
16187    CFLAGS="$save_CFLAGS"
16188  fi
16189  ;;
16190esac
16191    ;;
16192  esac
16193
16194fi
16195
16196ac_config_files="$ac_config_files Makefile pylgobject-2.0.pc pylgobject-2.0-uninstalled.pc codegen/Makefile codegen/pylgobject-codegen-2.0 docs/Makefile docs/reference/entities.docbook docs/xsl/fixxref.py gi/Makefile gi/repository/Makefile gi/overrides/Makefile glib/Makefile gobject/Makefile gio/Makefile examples/Makefile tests/Makefile PKG-INFO"
16197
16198cat >confcache <<\_ACEOF
16199# This file is a shell script that caches the results of configure
16200# tests run on this system so they can be shared between configure
16201# scripts and configure runs, see configure's option --config-cache.
16202# It is not useful on other systems.  If it contains results you don't
16203# want to keep, you may remove or edit it.
16204#
16205# config.status only pays attention to the cache file if you give it
16206# the --recheck option to rerun configure.
16207#
16208# `ac_cv_env_foo' variables (set or unset) will be overridden when
16209# loading this file, other *unset* `ac_cv_foo' will be assigned the
16210# following values.
16211
16212_ACEOF
16213
16214# The following way of writing the cache mishandles newlines in values,
16215# but we know of no workaround that is simple, portable, and efficient.
16216# So, we kill variables containing newlines.
16217# Ultrix sh set writes to stderr and can't be redirected directly,
16218# and sets the high bit in the cache file unless we assign to the vars.
16219(
16220  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16221    eval ac_val=\$$ac_var
16222    case $ac_val in #(
16223    *${as_nl}*)
16224      case $ac_var in #(
16225      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16226$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16227      esac
16228      case $ac_var in #(
16229      _ | IFS | as_nl) ;; #(
16230      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16231      *) { eval $ac_var=; unset $ac_var;} ;;
16232      esac ;;
16233    esac
16234  done
16235
16236  (set) 2>&1 |
16237    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16238    *${as_nl}ac_space=\ *)
16239      # `set' does not quote correctly, so add quotes: double-quote
16240      # substitution turns \\\\ into \\, and sed turns \\ into \.
16241      sed -n \
16242	"s/'/'\\\\''/g;
16243	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16244      ;; #(
16245    *)
16246      # `set' quotes correctly as required by POSIX, so do not add quotes.
16247      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16248      ;;
16249    esac |
16250    sort
16251) |
16252  sed '
16253     /^ac_cv_env_/b end
16254     t clear
16255     :clear
16256     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16257     t end
16258     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16259     :end' >>confcache
16260if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16261  if test -w "$cache_file"; then
16262    if test "x$cache_file" != "x/dev/null"; then
16263      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16264$as_echo "$as_me: updating cache $cache_file" >&6;}
16265      if test ! -f "$cache_file" || test -h "$cache_file"; then
16266	cat confcache >"$cache_file"
16267      else
16268        case $cache_file in #(
16269        */* | ?:*)
16270	  mv -f confcache "$cache_file"$$ &&
16271	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16272        *)
16273	  mv -f confcache "$cache_file" ;;
16274	esac
16275      fi
16276    fi
16277  else
16278    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16279$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16280  fi
16281fi
16282rm -f confcache
16283
16284test "x$prefix" = xNONE && prefix=$ac_default_prefix
16285# Let make expand exec_prefix.
16286test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16287
16288DEFS=-DHAVE_CONFIG_H
16289
16290ac_libobjs=
16291ac_ltlibobjs=
16292U=
16293for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16294  # 1. Remove the extension, and $U if already installed.
16295  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16296  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16297  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16298  #    will be set to the directory where LIBOBJS objects are built.
16299  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16300  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16301done
16302LIBOBJS=$ac_libobjs
16303
16304LTLIBOBJS=$ac_ltlibobjs
16305
16306
16307 if test -n "$EXEEXT"; then
16308  am__EXEEXT_TRUE=
16309  am__EXEEXT_FALSE='#'
16310else
16311  am__EXEEXT_TRUE='#'
16312  am__EXEEXT_FALSE=
16313fi
16314
16315if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16316  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16317Usually this means the macro was only invoked conditionally." "$LINENO" 5
16318fi
16319if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
16320  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
16321Usually this means the macro was only invoked conditionally." "$LINENO" 5
16322fi
16323if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
16324  as_fn_error $? "conditional \"OS_WIN32\" was never defined.
16325Usually this means the macro was only invoked conditionally." "$LINENO" 5
16326fi
16327if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16328  as_fn_error $? "conditional \"AMDEP\" was never defined.
16329Usually this means the macro was only invoked conditionally." "$LINENO" 5
16330fi
16331if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16332  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16333Usually this means the macro was only invoked conditionally." "$LINENO" 5
16334fi
16335if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16336  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16337Usually this means the macro was only invoked conditionally." "$LINENO" 5
16338fi
16339if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16340  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16341Usually this means the macro was only invoked conditionally." "$LINENO" 5
16342fi
16343if test -z "${ENABLE_DOCS_TRUE}" && test -z "${ENABLE_DOCS_FALSE}"; then
16344  as_fn_error $? "conditional \"ENABLE_DOCS\" was never defined.
16345Usually this means the macro was only invoked conditionally." "$LINENO" 5
16346fi
16347if test -z "${HAVE_LIBFFI_TRUE}" && test -z "${HAVE_LIBFFI_FALSE}"; then
16348  as_fn_error $? "conditional \"HAVE_LIBFFI\" was never defined.
16349Usually this means the macro was only invoked conditionally." "$LINENO" 5
16350fi
16351if test -z "${BUILD_GIO_TRUE}" && test -z "${BUILD_GIO_FALSE}"; then
16352  as_fn_error $? "conditional \"BUILD_GIO\" was never defined.
16353Usually this means the macro was only invoked conditionally." "$LINENO" 5
16354fi
16355if test -z "${BUILD_GIOUNIX_TRUE}" && test -z "${BUILD_GIOUNIX_FALSE}"; then
16356  as_fn_error $? "conditional \"BUILD_GIOUNIX\" was never defined.
16357Usually this means the macro was only invoked conditionally." "$LINENO" 5
16358fi
16359if test -z "${ENABLE_INTROSPECTION_TRUE}" && test -z "${ENABLE_INTROSPECTION_FALSE}"; then
16360  as_fn_error $? "conditional \"ENABLE_INTROSPECTION\" was never defined.
16361Usually this means the macro was only invoked conditionally." "$LINENO" 5
16362fi
16363if test -z "${ENABLE_CAIRO_TRUE}" && test -z "${ENABLE_CAIRO_FALSE}"; then
16364  as_fn_error $? "conditional \"ENABLE_CAIRO\" was never defined.
16365Usually this means the macro was only invoked conditionally." "$LINENO" 5
16366fi
16367
16368: "${CONFIG_STATUS=./config.status}"
16369ac_write_fail=0
16370ac_clean_files_save=$ac_clean_files
16371ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16372{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16373$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16374as_write_fail=0
16375cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16376#! $SHELL
16377# Generated by $as_me.
16378# Run this file to recreate the current configuration.
16379# Compiler output produced by configure, useful for debugging
16380# configure, is in config.log if it exists.
16381
16382debug=false
16383ac_cs_recheck=false
16384ac_cs_silent=false
16385
16386SHELL=\${CONFIG_SHELL-$SHELL}
16387export SHELL
16388_ASEOF
16389cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16390## -------------------- ##
16391## M4sh Initialization. ##
16392## -------------------- ##
16393
16394# Be more Bourne compatible
16395DUALCASE=1; export DUALCASE # for MKS sh
16396if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16397  emulate sh
16398  NULLCMD=:
16399  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16400  # is contrary to our usage.  Disable this feature.
16401  alias -g '${1+"$@"}'='"$@"'
16402  setopt NO_GLOB_SUBST
16403else
16404  case `(set -o) 2>/dev/null` in #(
16405  *posix*) :
16406    set -o posix ;; #(
16407  *) :
16408     ;;
16409esac
16410fi
16411
16412
16413as_nl='
16414'
16415export as_nl
16416# Printing a long string crashes Solaris 7 /usr/bin/printf.
16417as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16418as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16419as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16420# Prefer a ksh shell builtin over an external printf program on Solaris,
16421# but without wasting forks for bash or zsh.
16422if test -z "$BASH_VERSION$ZSH_VERSION" \
16423    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16424  as_echo='print -r --'
16425  as_echo_n='print -rn --'
16426elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16427  as_echo='printf %s\n'
16428  as_echo_n='printf %s'
16429else
16430  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16431    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16432    as_echo_n='/usr/ucb/echo -n'
16433  else
16434    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16435    as_echo_n_body='eval
16436      arg=$1;
16437      case $arg in #(
16438      *"$as_nl"*)
16439	expr "X$arg" : "X\\(.*\\)$as_nl";
16440	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16441      esac;
16442      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16443    '
16444    export as_echo_n_body
16445    as_echo_n='sh -c $as_echo_n_body as_echo'
16446  fi
16447  export as_echo_body
16448  as_echo='sh -c $as_echo_body as_echo'
16449fi
16450
16451# The user is always right.
16452if test "${PATH_SEPARATOR+set}" != set; then
16453  PATH_SEPARATOR=:
16454  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16455    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16456      PATH_SEPARATOR=';'
16457  }
16458fi
16459
16460
16461# IFS
16462# We need space, tab and new line, in precisely that order.  Quoting is
16463# there to prevent editors from complaining about space-tab.
16464# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16465# splitting by setting IFS to empty value.)
16466IFS=" ""	$as_nl"
16467
16468# Find who we are.  Look in the path if we contain no directory separator.
16469as_myself=
16470case $0 in #((
16471  *[\\/]* ) as_myself=$0 ;;
16472  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16473for as_dir in $PATH
16474do
16475  IFS=$as_save_IFS
16476  test -z "$as_dir" && as_dir=.
16477    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16478  done
16479IFS=$as_save_IFS
16480
16481     ;;
16482esac
16483# We did not find ourselves, most probably we were run as `sh COMMAND'
16484# in which case we are not to be found in the path.
16485if test "x$as_myself" = x; then
16486  as_myself=$0
16487fi
16488if test ! -f "$as_myself"; then
16489  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16490  exit 1
16491fi
16492
16493# Unset variables that we do not need and which cause bugs (e.g. in
16494# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16495# suppresses any "Segmentation fault" message there.  '((' could
16496# trigger a bug in pdksh 5.2.14.
16497for as_var in BASH_ENV ENV MAIL MAILPATH
16498do eval test x\${$as_var+set} = xset \
16499  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16500done
16501PS1='$ '
16502PS2='> '
16503PS4='+ '
16504
16505# NLS nuisances.
16506LC_ALL=C
16507export LC_ALL
16508LANGUAGE=C
16509export LANGUAGE
16510
16511# CDPATH.
16512(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16513
16514
16515# as_fn_error STATUS ERROR [LINENO LOG_FD]
16516# ----------------------------------------
16517# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16518# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16519# script with STATUS, using 1 if that was 0.
16520as_fn_error ()
16521{
16522  as_status=$1; test $as_status -eq 0 && as_status=1
16523  if test "$4"; then
16524    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16525    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16526  fi
16527  $as_echo "$as_me: error: $2" >&2
16528  as_fn_exit $as_status
16529} # as_fn_error
16530
16531
16532# as_fn_set_status STATUS
16533# -----------------------
16534# Set $? to STATUS, without forking.
16535as_fn_set_status ()
16536{
16537  return $1
16538} # as_fn_set_status
16539
16540# as_fn_exit STATUS
16541# -----------------
16542# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16543as_fn_exit ()
16544{
16545  set +e
16546  as_fn_set_status $1
16547  exit $1
16548} # as_fn_exit
16549
16550# as_fn_unset VAR
16551# ---------------
16552# Portably unset VAR.
16553as_fn_unset ()
16554{
16555  { eval $1=; unset $1;}
16556}
16557as_unset=as_fn_unset
16558# as_fn_append VAR VALUE
16559# ----------------------
16560# Append the text in VALUE to the end of the definition contained in VAR. Take
16561# advantage of any shell optimizations that allow amortized linear growth over
16562# repeated appends, instead of the typical quadratic growth present in naive
16563# implementations.
16564if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16565  eval 'as_fn_append ()
16566  {
16567    eval $1+=\$2
16568  }'
16569else
16570  as_fn_append ()
16571  {
16572    eval $1=\$$1\$2
16573  }
16574fi # as_fn_append
16575
16576# as_fn_arith ARG...
16577# ------------------
16578# Perform arithmetic evaluation on the ARGs, and store the result in the
16579# global $as_val. Take advantage of shells that can avoid forks. The arguments
16580# must be portable across $(()) and expr.
16581if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16582  eval 'as_fn_arith ()
16583  {
16584    as_val=$(( $* ))
16585  }'
16586else
16587  as_fn_arith ()
16588  {
16589    as_val=`expr "$@" || test $? -eq 1`
16590  }
16591fi # as_fn_arith
16592
16593
16594if expr a : '\(a\)' >/dev/null 2>&1 &&
16595   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16596  as_expr=expr
16597else
16598  as_expr=false
16599fi
16600
16601if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16602  as_basename=basename
16603else
16604  as_basename=false
16605fi
16606
16607if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16608  as_dirname=dirname
16609else
16610  as_dirname=false
16611fi
16612
16613as_me=`$as_basename -- "$0" ||
16614$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16615	 X"$0" : 'X\(//\)$' \| \
16616	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16617$as_echo X/"$0" |
16618    sed '/^.*\/\([^/][^/]*\)\/*$/{
16619	    s//\1/
16620	    q
16621	  }
16622	  /^X\/\(\/\/\)$/{
16623	    s//\1/
16624	    q
16625	  }
16626	  /^X\/\(\/\).*/{
16627	    s//\1/
16628	    q
16629	  }
16630	  s/.*/./; q'`
16631
16632# Avoid depending upon Character Ranges.
16633as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16634as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16635as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16636as_cr_digits='0123456789'
16637as_cr_alnum=$as_cr_Letters$as_cr_digits
16638
16639ECHO_C= ECHO_N= ECHO_T=
16640case `echo -n x` in #(((((
16641-n*)
16642  case `echo 'xy\c'` in
16643  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16644  xy)  ECHO_C='\c';;
16645  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16646       ECHO_T='	';;
16647  esac;;
16648*)
16649  ECHO_N='-n';;
16650esac
16651
16652rm -f conf$$ conf$$.exe conf$$.file
16653if test -d conf$$.dir; then
16654  rm -f conf$$.dir/conf$$.file
16655else
16656  rm -f conf$$.dir
16657  mkdir conf$$.dir 2>/dev/null
16658fi
16659if (echo >conf$$.file) 2>/dev/null; then
16660  if ln -s conf$$.file conf$$ 2>/dev/null; then
16661    as_ln_s='ln -s'
16662    # ... but there are two gotchas:
16663    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16664    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16665    # In both cases, we have to default to `cp -p'.
16666    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16667      as_ln_s='cp -p'
16668  elif ln conf$$.file conf$$ 2>/dev/null; then
16669    as_ln_s=ln
16670  else
16671    as_ln_s='cp -p'
16672  fi
16673else
16674  as_ln_s='cp -p'
16675fi
16676rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16677rmdir conf$$.dir 2>/dev/null
16678
16679
16680# as_fn_mkdir_p
16681# -------------
16682# Create "$as_dir" as a directory, including parents if necessary.
16683as_fn_mkdir_p ()
16684{
16685
16686  case $as_dir in #(
16687  -*) as_dir=./$as_dir;;
16688  esac
16689  test -d "$as_dir" || eval $as_mkdir_p || {
16690    as_dirs=
16691    while :; do
16692      case $as_dir in #(
16693      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16694      *) as_qdir=$as_dir;;
16695      esac
16696      as_dirs="'$as_qdir' $as_dirs"
16697      as_dir=`$as_dirname -- "$as_dir" ||
16698$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16699	 X"$as_dir" : 'X\(//\)[^/]' \| \
16700	 X"$as_dir" : 'X\(//\)$' \| \
16701	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16702$as_echo X"$as_dir" |
16703    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16704	    s//\1/
16705	    q
16706	  }
16707	  /^X\(\/\/\)[^/].*/{
16708	    s//\1/
16709	    q
16710	  }
16711	  /^X\(\/\/\)$/{
16712	    s//\1/
16713	    q
16714	  }
16715	  /^X\(\/\).*/{
16716	    s//\1/
16717	    q
16718	  }
16719	  s/.*/./; q'`
16720      test -d "$as_dir" && break
16721    done
16722    test -z "$as_dirs" || eval "mkdir $as_dirs"
16723  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16724
16725
16726} # as_fn_mkdir_p
16727if mkdir -p . 2>/dev/null; then
16728  as_mkdir_p='mkdir -p "$as_dir"'
16729else
16730  test -d ./-p && rmdir ./-p
16731  as_mkdir_p=false
16732fi
16733
16734if test -x / >/dev/null 2>&1; then
16735  as_test_x='test -x'
16736else
16737  if ls -dL / >/dev/null 2>&1; then
16738    as_ls_L_option=L
16739  else
16740    as_ls_L_option=
16741  fi
16742  as_test_x='
16743    eval sh -c '\''
16744      if test -d "$1"; then
16745	test -d "$1/.";
16746      else
16747	case $1 in #(
16748	-*)set "./$1";;
16749	esac;
16750	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16751	???[sx]*):;;*)false;;esac;fi
16752    '\'' sh
16753  '
16754fi
16755as_executable_p=$as_test_x
16756
16757# Sed expression to map a string onto a valid CPP name.
16758as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16759
16760# Sed expression to map a string onto a valid variable name.
16761as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16762
16763
16764exec 6>&1
16765## ----------------------------------- ##
16766## Main body of $CONFIG_STATUS script. ##
16767## ----------------------------------- ##
16768_ASEOF
16769test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16770
16771cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16772# Save the log message, to keep $0 and so on meaningful, and to
16773# report actual input values of CONFIG_FILES etc. instead of their
16774# values after options handling.
16775ac_log="
16776This file was extended by pylgobject $as_me 2.28.6, which was
16777generated by GNU Autoconf 2.68.  Invocation command line was
16778
16779  CONFIG_FILES    = $CONFIG_FILES
16780  CONFIG_HEADERS  = $CONFIG_HEADERS
16781  CONFIG_LINKS    = $CONFIG_LINKS
16782  CONFIG_COMMANDS = $CONFIG_COMMANDS
16783  $ $0 $@
16784
16785on `(hostname || uname -n) 2>/dev/null | sed 1q`
16786"
16787
16788_ACEOF
16789
16790case $ac_config_files in *"
16791"*) set x $ac_config_files; shift; ac_config_files=$*;;
16792esac
16793
16794case $ac_config_headers in *"
16795"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
16796esac
16797
16798
16799cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16800# Files that config.status was made for.
16801config_files="$ac_config_files"
16802config_headers="$ac_config_headers"
16803config_commands="$ac_config_commands"
16804
16805_ACEOF
16806
16807cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16808ac_cs_usage="\
16809\`$as_me' instantiates files and other configuration actions
16810from templates according to the current configuration.  Unless the files
16811and actions are specified as TAGs, all are instantiated by default.
16812
16813Usage: $0 [OPTION]... [TAG]...
16814
16815  -h, --help       print this help, then exit
16816  -V, --version    print version number and configuration settings, then exit
16817      --config     print configuration, then exit
16818  -q, --quiet, --silent
16819                   do not print progress messages
16820  -d, --debug      don't remove temporary files
16821      --recheck    update $as_me by reconfiguring in the same conditions
16822      --file=FILE[:TEMPLATE]
16823                   instantiate the configuration file FILE
16824      --header=FILE[:TEMPLATE]
16825                   instantiate the configuration header FILE
16826
16827Configuration files:
16828$config_files
16829
16830Configuration headers:
16831$config_headers
16832
16833Configuration commands:
16834$config_commands
16835
16836Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=pylgobject>."
16837
16838_ACEOF
16839cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16840ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16841ac_cs_version="\\
16842pylgobject config.status 2.28.6
16843configured by $0, generated by GNU Autoconf 2.68,
16844  with options \\"\$ac_cs_config\\"
16845
16846Copyright (C) 2010 Free Software Foundation, Inc.
16847This config.status script is free software; the Free Software Foundation
16848gives unlimited permission to copy, distribute and modify it."
16849
16850ac_pwd='$ac_pwd'
16851srcdir='$srcdir'
16852INSTALL='$INSTALL'
16853MKDIR_P='$MKDIR_P'
16854AWK='$AWK'
16855test -n "\$AWK" || AWK=awk
16856_ACEOF
16857
16858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16859# The default lists apply if the user does not specify any file.
16860ac_need_defaults=:
16861while test $# != 0
16862do
16863  case $1 in
16864  --*=?*)
16865    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16866    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
16867    ac_shift=:
16868    ;;
16869  --*=)
16870    ac_option=`expr "X$1" : 'X\([^=]*\)='`
16871    ac_optarg=
16872    ac_shift=:
16873    ;;
16874  *)
16875    ac_option=$1
16876    ac_optarg=$2
16877    ac_shift=shift
16878    ;;
16879  esac
16880
16881  case $ac_option in
16882  # Handling of the options.
16883  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
16884    ac_cs_recheck=: ;;
16885  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
16886    $as_echo "$ac_cs_version"; exit ;;
16887  --config | --confi | --conf | --con | --co | --c )
16888    $as_echo "$ac_cs_config"; exit ;;
16889  --debug | --debu | --deb | --de | --d | -d )
16890    debug=: ;;
16891  --file | --fil | --fi | --f )
16892    $ac_shift
16893    case $ac_optarg in
16894    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16895    '') as_fn_error $? "missing file argument" ;;
16896    esac
16897    as_fn_append CONFIG_FILES " '$ac_optarg'"
16898    ac_need_defaults=false;;
16899  --header | --heade | --head | --hea )
16900    $ac_shift
16901    case $ac_optarg in
16902    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16903    esac
16904    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
16905    ac_need_defaults=false;;
16906  --he | --h)
16907    # Conflict between --help and --header
16908    as_fn_error $? "ambiguous option: \`$1'
16909Try \`$0 --help' for more information.";;
16910  --help | --hel | -h )
16911    $as_echo "$ac_cs_usage"; exit ;;
16912  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
16913  | -silent | --silent | --silen | --sile | --sil | --si | --s)
16914    ac_cs_silent=: ;;
16915
16916  # This is an error.
16917  -*) as_fn_error $? "unrecognized option: \`$1'
16918Try \`$0 --help' for more information." ;;
16919
16920  *) as_fn_append ac_config_targets " $1"
16921     ac_need_defaults=false ;;
16922
16923  esac
16924  shift
16925done
16926
16927ac_configure_extra_args=
16928
16929if $ac_cs_silent; then
16930  exec 6>/dev/null
16931  ac_configure_extra_args="$ac_configure_extra_args --silent"
16932fi
16933
16934_ACEOF
16935cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16936if \$ac_cs_recheck; then
16937  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16938  shift
16939  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16940  CONFIG_SHELL='$SHELL'
16941  export CONFIG_SHELL
16942  exec "\$@"
16943fi
16944
16945_ACEOF
16946cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16947exec 5>>config.log
16948{
16949  echo
16950  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16951## Running $as_me. ##
16952_ASBOX
16953  $as_echo "$ac_log"
16954} >&5
16955
16956_ACEOF
16957cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16958#
16959# INIT-COMMANDS
16960#
16961AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
16962
16963
16964# The HP-UX ksh and POSIX shell print the target directory to stdout
16965# if CDPATH is set.
16966(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16967
16968sed_quote_subst='$sed_quote_subst'
16969double_quote_subst='$double_quote_subst'
16970delay_variable_subst='$delay_variable_subst'
16971enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
16972AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
16973DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
16974OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
16975macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
16976macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
16977enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
16978pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
16979enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
16980SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
16981ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
16982host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
16983host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
16984host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
16985build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
16986build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
16987build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
16988SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
16989Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
16990GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
16991EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
16992FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
16993LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
16994NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
16995LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
16996max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
16997ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
16998exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
16999lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17000lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17001lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17002lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17003lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17004reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17005reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17006deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17007file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17008file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17009want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17010sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17011AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17012AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17013archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17014STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17015RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17016old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17017old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17018old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17019lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17020CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17021CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17022compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17023GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17024lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17025lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17026lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17027lt_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"`'
17028nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17029lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17030objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17031MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17032lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17033lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17034lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17035lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17036lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17037need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17038MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17039DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17040NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17041LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17042OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17043OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17044libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17045shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17046extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17047archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17048enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17049export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17050whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17051compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17052old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17053old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17054archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17055archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17056module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17057module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17058with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17059allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17060no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17061hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17062hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
17063hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17064hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17065hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17066hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17067hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17068hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17069inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17070link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17071always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17072export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17073exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17074include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17075prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17076postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17077file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17078variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17079need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17080need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17081version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17082runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17083shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17084shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17085libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17086library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17087soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17088install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17089postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17090postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17091finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17092finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17093hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17094sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17095sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17096hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17097enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17098enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17099enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17100old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17101striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17102
17103LTCC='$LTCC'
17104LTCFLAGS='$LTCFLAGS'
17105compiler='$compiler_DEFAULT'
17106
17107# A function that is used when there is no print builtin or printf.
17108func_fallback_echo ()
17109{
17110  eval 'cat <<_LTECHO_EOF
17111\$1
17112_LTECHO_EOF'
17113}
17114
17115# Quote evaled strings.
17116for var in AS \
17117DLLTOOL \
17118OBJDUMP \
17119SHELL \
17120ECHO \
17121SED \
17122GREP \
17123EGREP \
17124FGREP \
17125LD \
17126NM \
17127LN_S \
17128lt_SP2NL \
17129lt_NL2SP \
17130reload_flag \
17131deplibs_check_method \
17132file_magic_cmd \
17133file_magic_glob \
17134want_nocaseglob \
17135sharedlib_from_linklib_cmd \
17136AR \
17137AR_FLAGS \
17138archiver_list_spec \
17139STRIP \
17140RANLIB \
17141CC \
17142CFLAGS \
17143compiler \
17144lt_cv_sys_global_symbol_pipe \
17145lt_cv_sys_global_symbol_to_cdecl \
17146lt_cv_sys_global_symbol_to_c_name_address \
17147lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17148nm_file_list_spec \
17149lt_prog_compiler_no_builtin_flag \
17150lt_prog_compiler_pic \
17151lt_prog_compiler_wl \
17152lt_prog_compiler_static \
17153lt_cv_prog_compiler_c_o \
17154need_locks \
17155MANIFEST_TOOL \
17156DSYMUTIL \
17157NMEDIT \
17158LIPO \
17159OTOOL \
17160OTOOL64 \
17161shrext_cmds \
17162export_dynamic_flag_spec \
17163whole_archive_flag_spec \
17164compiler_needs_object \
17165with_gnu_ld \
17166allow_undefined_flag \
17167no_undefined_flag \
17168hardcode_libdir_flag_spec \
17169hardcode_libdir_flag_spec_ld \
17170hardcode_libdir_separator \
17171exclude_expsyms \
17172include_expsyms \
17173file_list_spec \
17174variables_saved_for_relink \
17175libname_spec \
17176library_names_spec \
17177soname_spec \
17178install_override_mode \
17179finish_eval \
17180old_striplib \
17181striplib; do
17182    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17183    *[\\\\\\\`\\"\\\$]*)
17184      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17185      ;;
17186    *)
17187      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17188      ;;
17189    esac
17190done
17191
17192# Double-quote double-evaled strings.
17193for var in reload_cmds \
17194old_postinstall_cmds \
17195old_postuninstall_cmds \
17196old_archive_cmds \
17197extract_expsyms_cmds \
17198old_archive_from_new_cmds \
17199old_archive_from_expsyms_cmds \
17200archive_cmds \
17201archive_expsym_cmds \
17202module_cmds \
17203module_expsym_cmds \
17204export_symbols_cmds \
17205prelink_cmds \
17206postlink_cmds \
17207postinstall_cmds \
17208postuninstall_cmds \
17209finish_cmds \
17210sys_lib_search_path_spec \
17211sys_lib_dlsearch_path_spec; do
17212    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17213    *[\\\\\\\`\\"\\\$]*)
17214      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17215      ;;
17216    *)
17217      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17218      ;;
17219    esac
17220done
17221
17222ac_aux_dir='$ac_aux_dir'
17223xsi_shell='$xsi_shell'
17224lt_shell_append='$lt_shell_append'
17225
17226# See if we are running on zsh, and set the options which allow our
17227# commands through without removal of \ escapes INIT.
17228if test -n "\${ZSH_VERSION+set}" ; then
17229   setopt NO_GLOB_SUBST
17230fi
17231
17232
17233    PACKAGE='$PACKAGE'
17234    VERSION='$VERSION'
17235    TIMESTAMP='$TIMESTAMP'
17236    RM='$RM'
17237    ofile='$ofile'
17238
17239ac_aux_dir='$ac_aux_dir'
17240
17241
17242
17243_ACEOF
17244
17245cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17246
17247# Handling of arguments.
17248for ac_config_target in $ac_config_targets
17249do
17250  case $ac_config_target in
17251    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17252    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17253    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17254    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17255    "pylgobject-2.0.pc") CONFIG_FILES="$CONFIG_FILES pylgobject-2.0.pc" ;;
17256    "pylgobject-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES pylgobject-2.0-uninstalled.pc" ;;
17257    "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
17258    "codegen/pylgobject-codegen-2.0") CONFIG_FILES="$CONFIG_FILES codegen/pylgobject-codegen-2.0" ;;
17259    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
17260    "docs/reference/entities.docbook") CONFIG_FILES="$CONFIG_FILES docs/reference/entities.docbook" ;;
17261    "docs/xsl/fixxref.py") CONFIG_FILES="$CONFIG_FILES docs/xsl/fixxref.py" ;;
17262    "gi/Makefile") CONFIG_FILES="$CONFIG_FILES gi/Makefile" ;;
17263    "gi/repository/Makefile") CONFIG_FILES="$CONFIG_FILES gi/repository/Makefile" ;;
17264    "gi/overrides/Makefile") CONFIG_FILES="$CONFIG_FILES gi/overrides/Makefile" ;;
17265    "glib/Makefile") CONFIG_FILES="$CONFIG_FILES glib/Makefile" ;;
17266    "gobject/Makefile") CONFIG_FILES="$CONFIG_FILES gobject/Makefile" ;;
17267    "gio/Makefile") CONFIG_FILES="$CONFIG_FILES gio/Makefile" ;;
17268    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17269    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17270    "PKG-INFO") CONFIG_FILES="$CONFIG_FILES PKG-INFO" ;;
17271
17272  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17273  esac
17274done
17275
17276
17277# If the user did not use the arguments to specify the items to instantiate,
17278# then the envvar interface is used.  Set only those that are not.
17279# We use the long form for the default assignment because of an extremely
17280# bizarre bug on SunOS 4.1.3.
17281if $ac_need_defaults; then
17282  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17283  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17284  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17285fi
17286
17287# Have a temporary directory for convenience.  Make it in the build tree
17288# simply because there is no reason against having it here, and in addition,
17289# creating and moving files from /tmp can sometimes cause problems.
17290# Hook for its removal unless debugging.
17291# Note that there is a small window in which the directory will not be cleaned:
17292# after its creation but before its name has been assigned to `$tmp'.
17293$debug ||
17294{
17295  tmp= ac_tmp=
17296  trap 'exit_status=$?
17297  : "${ac_tmp:=$tmp}"
17298  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17299' 0
17300  trap 'as_fn_exit 1' 1 2 13 15
17301}
17302# Create a (secure) tmp directory for tmp files.
17303
17304{
17305  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17306  test -d "$tmp"
17307}  ||
17308{
17309  tmp=./conf$$-$RANDOM
17310  (umask 077 && mkdir "$tmp")
17311} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17312ac_tmp=$tmp
17313
17314# Set up the scripts for CONFIG_FILES section.
17315# No need to generate them if there are no CONFIG_FILES.
17316# This happens for instance with `./config.status config.h'.
17317if test -n "$CONFIG_FILES"; then
17318
17319
17320ac_cr=`echo X | tr X '\015'`
17321# On cygwin, bash can eat \r inside `` if the user requested igncr.
17322# But we know of no other shell where ac_cr would be empty at this
17323# point, so we can use a bashism as a fallback.
17324if test "x$ac_cr" = x; then
17325  eval ac_cr=\$\'\\r\'
17326fi
17327ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17328if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17329  ac_cs_awk_cr='\\r'
17330else
17331  ac_cs_awk_cr=$ac_cr
17332fi
17333
17334echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17335_ACEOF
17336
17337
17338{
17339  echo "cat >conf$$subs.awk <<_ACEOF" &&
17340  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17341  echo "_ACEOF"
17342} >conf$$subs.sh ||
17343  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17344ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17345ac_delim='%!_!# '
17346for ac_last_try in false false false false false :; do
17347  . ./conf$$subs.sh ||
17348    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17349
17350  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17351  if test $ac_delim_n = $ac_delim_num; then
17352    break
17353  elif $ac_last_try; then
17354    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17355  else
17356    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17357  fi
17358done
17359rm -f conf$$subs.sh
17360
17361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17362cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17363_ACEOF
17364sed -n '
17365h
17366s/^/S["/; s/!.*/"]=/
17367p
17368g
17369s/^[^!]*!//
17370:repl
17371t repl
17372s/'"$ac_delim"'$//
17373t delim
17374:nl
17375h
17376s/\(.\{148\}\)..*/\1/
17377t more1
17378s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17379p
17380n
17381b repl
17382:more1
17383s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17384p
17385g
17386s/.\{148\}//
17387t nl
17388:delim
17389h
17390s/\(.\{148\}\)..*/\1/
17391t more2
17392s/["\\]/\\&/g; s/^/"/; s/$/"/
17393p
17394b
17395:more2
17396s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17397p
17398g
17399s/.\{148\}//
17400t delim
17401' <conf$$subs.awk | sed '
17402/^[^""]/{
17403  N
17404  s/\n//
17405}
17406' >>$CONFIG_STATUS || ac_write_fail=1
17407rm -f conf$$subs.awk
17408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17409_ACAWK
17410cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17411  for (key in S) S_is_set[key] = 1
17412  FS = ""
17413
17414}
17415{
17416  line = $ 0
17417  nfields = split(line, field, "@")
17418  substed = 0
17419  len = length(field[1])
17420  for (i = 2; i < nfields; i++) {
17421    key = field[i]
17422    keylen = length(key)
17423    if (S_is_set[key]) {
17424      value = S[key]
17425      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17426      len += length(value) + length(field[++i])
17427      substed = 1
17428    } else
17429      len += 1 + keylen
17430  }
17431
17432  print line
17433}
17434
17435_ACAWK
17436_ACEOF
17437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17438if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17439  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17440else
17441  cat
17442fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17443  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17444_ACEOF
17445
17446# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17447# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17448# trailing colons and then remove the whole line if VPATH becomes empty
17449# (actually we leave an empty line to preserve line numbers).
17450if test "x$srcdir" = x.; then
17451  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17452h
17453s///
17454s/^/:/
17455s/[	 ]*$/:/
17456s/:\$(srcdir):/:/g
17457s/:\${srcdir}:/:/g
17458s/:@srcdir@:/:/g
17459s/^:*//
17460s/:*$//
17461x
17462s/\(=[	 ]*\).*/\1/
17463G
17464s/\n//
17465s/^[^=]*=[	 ]*$//
17466}'
17467fi
17468
17469cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17470fi # test -n "$CONFIG_FILES"
17471
17472# Set up the scripts for CONFIG_HEADERS section.
17473# No need to generate them if there are no CONFIG_HEADERS.
17474# This happens for instance with `./config.status Makefile'.
17475if test -n "$CONFIG_HEADERS"; then
17476cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17477BEGIN {
17478_ACEOF
17479
17480# Transform confdefs.h into an awk script `defines.awk', embedded as
17481# here-document in config.status, that substitutes the proper values into
17482# config.h.in to produce config.h.
17483
17484# Create a delimiter string that does not exist in confdefs.h, to ease
17485# handling of long lines.
17486ac_delim='%!_!# '
17487for ac_last_try in false false :; do
17488  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17489  if test -z "$ac_tt"; then
17490    break
17491  elif $ac_last_try; then
17492    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17493  else
17494    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17495  fi
17496done
17497
17498# For the awk script, D is an array of macro values keyed by name,
17499# likewise P contains macro parameters if any.  Preserve backslash
17500# newline sequences.
17501
17502ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17503sed -n '
17504s/.\{148\}/&'"$ac_delim"'/g
17505t rset
17506:rset
17507s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17508t def
17509d
17510:def
17511s/\\$//
17512t bsnl
17513s/["\\]/\\&/g
17514s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17515D["\1"]=" \3"/p
17516s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17517d
17518:bsnl
17519s/["\\]/\\&/g
17520s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17521D["\1"]=" \3\\\\\\n"\\/p
17522t cont
17523s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17524t cont
17525d
17526:cont
17527n
17528s/.\{148\}/&'"$ac_delim"'/g
17529t clear
17530:clear
17531s/\\$//
17532t bsnlc
17533s/["\\]/\\&/g; s/^/"/; s/$/"/p
17534d
17535:bsnlc
17536s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17537b cont
17538' <confdefs.h | sed '
17539s/'"$ac_delim"'/"\\\
17540"/g' >>$CONFIG_STATUS || ac_write_fail=1
17541
17542cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17543  for (key in D) D_is_set[key] = 1
17544  FS = ""
17545}
17546/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17547  line = \$ 0
17548  split(line, arg, " ")
17549  if (arg[1] == "#") {
17550    defundef = arg[2]
17551    mac1 = arg[3]
17552  } else {
17553    defundef = substr(arg[1], 2)
17554    mac1 = arg[2]
17555  }
17556  split(mac1, mac2, "(") #)
17557  macro = mac2[1]
17558  prefix = substr(line, 1, index(line, defundef) - 1)
17559  if (D_is_set[macro]) {
17560    # Preserve the white space surrounding the "#".
17561    print prefix "define", macro P[macro] D[macro]
17562    next
17563  } else {
17564    # Replace #undef with comments.  This is necessary, for example,
17565    # in the case of _POSIX_SOURCE, which is predefined and required
17566    # on some systems where configure will not decide to define it.
17567    if (defundef == "undef") {
17568      print "/*", prefix defundef, macro, "*/"
17569      next
17570    }
17571  }
17572}
17573{ print }
17574_ACAWK
17575_ACEOF
17576cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17577  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17578fi # test -n "$CONFIG_HEADERS"
17579
17580
17581eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17582shift
17583for ac_tag
17584do
17585  case $ac_tag in
17586  :[FHLC]) ac_mode=$ac_tag; continue;;
17587  esac
17588  case $ac_mode$ac_tag in
17589  :[FHL]*:*);;
17590  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17591  :[FH]-) ac_tag=-:-;;
17592  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17593  esac
17594  ac_save_IFS=$IFS
17595  IFS=:
17596  set x $ac_tag
17597  IFS=$ac_save_IFS
17598  shift
17599  ac_file=$1
17600  shift
17601
17602  case $ac_mode in
17603  :L) ac_source=$1;;
17604  :[FH])
17605    ac_file_inputs=
17606    for ac_f
17607    do
17608      case $ac_f in
17609      -) ac_f="$ac_tmp/stdin";;
17610      *) # Look for the file first in the build tree, then in the source tree
17611	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17612	 # because $ac_f cannot contain `:'.
17613	 test -f "$ac_f" ||
17614	   case $ac_f in
17615	   [\\/$]*) false;;
17616	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17617	   esac ||
17618	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17619      esac
17620      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17621      as_fn_append ac_file_inputs " '$ac_f'"
17622    done
17623
17624    # Let's still pretend it is `configure' which instantiates (i.e., don't
17625    # use $as_me), people would be surprised to read:
17626    #    /* config.h.  Generated by config.status.  */
17627    configure_input='Generated from '`
17628	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17629	`' by configure.'
17630    if test x"$ac_file" != x-; then
17631      configure_input="$ac_file.  $configure_input"
17632      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17633$as_echo "$as_me: creating $ac_file" >&6;}
17634    fi
17635    # Neutralize special characters interpreted by sed in replacement strings.
17636    case $configure_input in #(
17637    *\&* | *\|* | *\\* )
17638       ac_sed_conf_input=`$as_echo "$configure_input" |
17639       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17640    *) ac_sed_conf_input=$configure_input;;
17641    esac
17642
17643    case $ac_tag in
17644    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17645      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17646    esac
17647    ;;
17648  esac
17649
17650  ac_dir=`$as_dirname -- "$ac_file" ||
17651$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17652	 X"$ac_file" : 'X\(//\)[^/]' \| \
17653	 X"$ac_file" : 'X\(//\)$' \| \
17654	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17655$as_echo X"$ac_file" |
17656    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17657	    s//\1/
17658	    q
17659	  }
17660	  /^X\(\/\/\)[^/].*/{
17661	    s//\1/
17662	    q
17663	  }
17664	  /^X\(\/\/\)$/{
17665	    s//\1/
17666	    q
17667	  }
17668	  /^X\(\/\).*/{
17669	    s//\1/
17670	    q
17671	  }
17672	  s/.*/./; q'`
17673  as_dir="$ac_dir"; as_fn_mkdir_p
17674  ac_builddir=.
17675
17676case "$ac_dir" in
17677.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17678*)
17679  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17680  # A ".." for each directory in $ac_dir_suffix.
17681  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17682  case $ac_top_builddir_sub in
17683  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17684  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17685  esac ;;
17686esac
17687ac_abs_top_builddir=$ac_pwd
17688ac_abs_builddir=$ac_pwd$ac_dir_suffix
17689# for backward compatibility:
17690ac_top_builddir=$ac_top_build_prefix
17691
17692case $srcdir in
17693  .)  # We are building in place.
17694    ac_srcdir=.
17695    ac_top_srcdir=$ac_top_builddir_sub
17696    ac_abs_top_srcdir=$ac_pwd ;;
17697  [\\/]* | ?:[\\/]* )  # Absolute name.
17698    ac_srcdir=$srcdir$ac_dir_suffix;
17699    ac_top_srcdir=$srcdir
17700    ac_abs_top_srcdir=$srcdir ;;
17701  *) # Relative name.
17702    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17703    ac_top_srcdir=$ac_top_build_prefix$srcdir
17704    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17705esac
17706ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17707
17708
17709  case $ac_mode in
17710  :F)
17711  #
17712  # CONFIG_FILE
17713  #
17714
17715  case $INSTALL in
17716  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17717  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17718  esac
17719  ac_MKDIR_P=$MKDIR_P
17720  case $MKDIR_P in
17721  [\\/$]* | ?:[\\/]* ) ;;
17722  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17723  esac
17724_ACEOF
17725
17726cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17727# If the template does not know about datarootdir, expand it.
17728# FIXME: This hack should be removed a few years after 2.60.
17729ac_datarootdir_hack=; ac_datarootdir_seen=
17730ac_sed_dataroot='
17731/datarootdir/ {
17732  p
17733  q
17734}
17735/@datadir@/p
17736/@docdir@/p
17737/@infodir@/p
17738/@localedir@/p
17739/@mandir@/p'
17740case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17741*datarootdir*) ac_datarootdir_seen=yes;;
17742*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17743  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17744$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17745_ACEOF
17746cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17747  ac_datarootdir_hack='
17748  s&@datadir@&$datadir&g
17749  s&@docdir@&$docdir&g
17750  s&@infodir@&$infodir&g
17751  s&@localedir@&$localedir&g
17752  s&@mandir@&$mandir&g
17753  s&\\\${datarootdir}&$datarootdir&g' ;;
17754esac
17755_ACEOF
17756
17757# Neutralize VPATH when `$srcdir' = `.'.
17758# Shell code in configure.ac might set extrasub.
17759# FIXME: do we really want to maintain this feature?
17760cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17761ac_sed_extra="$ac_vpsub
17762$extrasub
17763_ACEOF
17764cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17765:t
17766/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17767s|@configure_input@|$ac_sed_conf_input|;t t
17768s&@top_builddir@&$ac_top_builddir_sub&;t t
17769s&@top_build_prefix@&$ac_top_build_prefix&;t t
17770s&@srcdir@&$ac_srcdir&;t t
17771s&@abs_srcdir@&$ac_abs_srcdir&;t t
17772s&@top_srcdir@&$ac_top_srcdir&;t t
17773s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17774s&@builddir@&$ac_builddir&;t t
17775s&@abs_builddir@&$ac_abs_builddir&;t t
17776s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17777s&@INSTALL@&$ac_INSTALL&;t t
17778s&@MKDIR_P@&$ac_MKDIR_P&;t t
17779$ac_datarootdir_hack
17780"
17781eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17782  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17783
17784test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17785  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17786  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17787      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17788  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17789which seems to be undefined.  Please make sure it is defined" >&5
17790$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17791which seems to be undefined.  Please make sure it is defined" >&2;}
17792
17793  rm -f "$ac_tmp/stdin"
17794  case $ac_file in
17795  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17796  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17797  esac \
17798  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17799 ;;
17800  :H)
17801  #
17802  # CONFIG_HEADER
17803  #
17804  if test x"$ac_file" != x-; then
17805    {
17806      $as_echo "/* $configure_input  */" \
17807      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17808    } >"$ac_tmp/config.h" \
17809      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17810    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17811      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17812$as_echo "$as_me: $ac_file is unchanged" >&6;}
17813    else
17814      rm -f "$ac_file"
17815      mv "$ac_tmp/config.h" "$ac_file" \
17816	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
17817    fi
17818  else
17819    $as_echo "/* $configure_input  */" \
17820      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17821      || as_fn_error $? "could not create -" "$LINENO" 5
17822  fi
17823# Compute "$ac_file"'s index in $config_headers.
17824_am_arg="$ac_file"
17825_am_stamp_count=1
17826for _am_header in $config_headers :; do
17827  case $_am_header in
17828    $_am_arg | $_am_arg:* )
17829      break ;;
17830    * )
17831      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
17832  esac
17833done
17834echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
17835$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17836	 X"$_am_arg" : 'X\(//\)[^/]' \| \
17837	 X"$_am_arg" : 'X\(//\)$' \| \
17838	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
17839$as_echo X"$_am_arg" |
17840    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17841	    s//\1/
17842	    q
17843	  }
17844	  /^X\(\/\/\)[^/].*/{
17845	    s//\1/
17846	    q
17847	  }
17848	  /^X\(\/\/\)$/{
17849	    s//\1/
17850	    q
17851	  }
17852	  /^X\(\/\).*/{
17853	    s//\1/
17854	    q
17855	  }
17856	  s/.*/./; q'`/stamp-h$_am_stamp_count
17857 ;;
17858
17859  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17860$as_echo "$as_me: executing $ac_file commands" >&6;}
17861 ;;
17862  esac
17863
17864
17865  case $ac_file$ac_mode in
17866    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
17867  # Autoconf 2.62 quotes --file arguments for eval, but not when files
17868  # are listed without --file.  Let's play safe and only enable the eval
17869  # if we detect the quoting.
17870  case $CONFIG_FILES in
17871  *\'*) eval set x "$CONFIG_FILES" ;;
17872  *)   set x $CONFIG_FILES ;;
17873  esac
17874  shift
17875  for mf
17876  do
17877    # Strip MF so we end up with the name of the file.
17878    mf=`echo "$mf" | sed -e 's/:.*$//'`
17879    # Check whether this is an Automake generated Makefile or not.
17880    # We used to match only the files named `Makefile.in', but
17881    # some people rename them; so instead we look at the file content.
17882    # Grep'ing the first line is not enough: some people post-process
17883    # each Makefile.in and add a new line on top of each file to say so.
17884    # Grep'ing the whole file is not good either: AIX grep has a line
17885    # limit of 2048, but all sed's we know have understand at least 4000.
17886    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
17887      dirpart=`$as_dirname -- "$mf" ||
17888$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17889	 X"$mf" : 'X\(//\)[^/]' \| \
17890	 X"$mf" : 'X\(//\)$' \| \
17891	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
17892$as_echo X"$mf" |
17893    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17894	    s//\1/
17895	    q
17896	  }
17897	  /^X\(\/\/\)[^/].*/{
17898	    s//\1/
17899	    q
17900	  }
17901	  /^X\(\/\/\)$/{
17902	    s//\1/
17903	    q
17904	  }
17905	  /^X\(\/\).*/{
17906	    s//\1/
17907	    q
17908	  }
17909	  s/.*/./; q'`
17910    else
17911      continue
17912    fi
17913    # Extract the definition of DEPDIR, am__include, and am__quote
17914    # from the Makefile without running `make'.
17915    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
17916    test -z "$DEPDIR" && continue
17917    am__include=`sed -n 's/^am__include = //p' < "$mf"`
17918    test -z "am__include" && continue
17919    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
17920    # When using ansi2knr, U may be empty or an underscore; expand it
17921    U=`sed -n 's/^U = //p' < "$mf"`
17922    # Find all dependency output files, they are included files with
17923    # $(DEPDIR) in their names.  We invoke sed twice because it is the
17924    # simplest approach to changing $(DEPDIR) to its actual value in the
17925    # expansion.
17926    for file in `sed -n "
17927      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
17928	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
17929      # Make sure the directory exists.
17930      test -f "$dirpart/$file" && continue
17931      fdir=`$as_dirname -- "$file" ||
17932$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17933	 X"$file" : 'X\(//\)[^/]' \| \
17934	 X"$file" : 'X\(//\)$' \| \
17935	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
17936$as_echo X"$file" |
17937    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17938	    s//\1/
17939	    q
17940	  }
17941	  /^X\(\/\/\)[^/].*/{
17942	    s//\1/
17943	    q
17944	  }
17945	  /^X\(\/\/\)$/{
17946	    s//\1/
17947	    q
17948	  }
17949	  /^X\(\/\).*/{
17950	    s//\1/
17951	    q
17952	  }
17953	  s/.*/./; q'`
17954      as_dir=$dirpart/$fdir; as_fn_mkdir_p
17955      # echo "creating $dirpart/$file"
17956      echo '# dummy' > "$dirpart/$file"
17957    done
17958  done
17959}
17960 ;;
17961    "libtool":C)
17962
17963    # See if we are running on zsh, and set the options which allow our
17964    # commands through without removal of \ escapes.
17965    if test -n "${ZSH_VERSION+set}" ; then
17966      setopt NO_GLOB_SUBST
17967    fi
17968
17969    cfgfile="${ofile}T"
17970    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
17971    $RM "$cfgfile"
17972
17973    cat <<_LT_EOF >> "$cfgfile"
17974#! $SHELL
17975
17976# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
17977# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
17978# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17979# NOTE: Changes made to this file will be lost: look at ltmain.sh.
17980#
17981#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
17982#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
17983#                 Inc.
17984#   Written by Gordon Matzigkeit, 1996
17985#
17986#   This file is part of GNU Libtool.
17987#
17988# GNU Libtool is free software; you can redistribute it and/or
17989# modify it under the terms of the GNU General Public License as
17990# published by the Free Software Foundation; either version 2 of
17991# the License, or (at your option) any later version.
17992#
17993# As a special exception to the GNU General Public License,
17994# if you distribute this file as part of a program or library that
17995# is built using GNU Libtool, you may include this file under the
17996# same distribution terms that you use for the rest of that program.
17997#
17998# GNU Libtool is distributed in the hope that it will be useful,
17999# but WITHOUT ANY WARRANTY; without even the implied warranty of
18000# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18001# GNU General Public License for more details.
18002#
18003# You should have received a copy of the GNU General Public License
18004# along with GNU Libtool; see the file COPYING.  If not, a copy
18005# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18006# obtained by writing to the Free Software Foundation, Inc.,
18007# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18008
18009
18010# The names of the tagged configurations supported by this script.
18011available_tags=""
18012
18013# ### BEGIN LIBTOOL CONFIG
18014
18015# Whether or not to build static libraries.
18016build_old_libs=$enable_static
18017
18018# Assembler program.
18019AS=$lt_AS
18020
18021# DLL creation program.
18022DLLTOOL=$lt_DLLTOOL
18023
18024# Object dumper program.
18025OBJDUMP=$lt_OBJDUMP
18026
18027# Which release of libtool.m4 was used?
18028macro_version=$macro_version
18029macro_revision=$macro_revision
18030
18031# Whether or not to build shared libraries.
18032build_libtool_libs=$enable_shared
18033
18034# What type of objects to build.
18035pic_mode=$pic_mode
18036
18037# Whether or not to optimize for fast installation.
18038fast_install=$enable_fast_install
18039
18040# Shell to use when invoking shell scripts.
18041SHELL=$lt_SHELL
18042
18043# An echo program that protects backslashes.
18044ECHO=$lt_ECHO
18045
18046# The host system.
18047host_alias=$host_alias
18048host=$host
18049host_os=$host_os
18050
18051# The build system.
18052build_alias=$build_alias
18053build=$build
18054build_os=$build_os
18055
18056# A sed program that does not truncate output.
18057SED=$lt_SED
18058
18059# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18060Xsed="\$SED -e 1s/^X//"
18061
18062# A grep program that handles long lines.
18063GREP=$lt_GREP
18064
18065# An ERE matcher.
18066EGREP=$lt_EGREP
18067
18068# A literal string matcher.
18069FGREP=$lt_FGREP
18070
18071# A BSD- or MS-compatible name lister.
18072NM=$lt_NM
18073
18074# Whether we need soft or hard links.
18075LN_S=$lt_LN_S
18076
18077# What is the maximum length of a command?
18078max_cmd_len=$max_cmd_len
18079
18080# Object file suffix (normally "o").
18081objext=$ac_objext
18082
18083# Executable file suffix (normally "").
18084exeext=$exeext
18085
18086# whether the shell understands "unset".
18087lt_unset=$lt_unset
18088
18089# turn spaces into newlines.
18090SP2NL=$lt_lt_SP2NL
18091
18092# turn newlines into spaces.
18093NL2SP=$lt_lt_NL2SP
18094
18095# convert \$build file names to \$host format.
18096to_host_file_cmd=$lt_cv_to_host_file_cmd
18097
18098# convert \$build files to toolchain format.
18099to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18100
18101# Method to check whether dependent libraries are shared objects.
18102deplibs_check_method=$lt_deplibs_check_method
18103
18104# Command to use when deplibs_check_method = "file_magic".
18105file_magic_cmd=$lt_file_magic_cmd
18106
18107# How to find potential files when deplibs_check_method = "file_magic".
18108file_magic_glob=$lt_file_magic_glob
18109
18110# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18111want_nocaseglob=$lt_want_nocaseglob
18112
18113# Command to associate shared and link libraries.
18114sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18115
18116# The archiver.
18117AR=$lt_AR
18118
18119# Flags to create an archive.
18120AR_FLAGS=$lt_AR_FLAGS
18121
18122# How to feed a file listing to the archiver.
18123archiver_list_spec=$lt_archiver_list_spec
18124
18125# A symbol stripping program.
18126STRIP=$lt_STRIP
18127
18128# Commands used to install an old-style archive.
18129RANLIB=$lt_RANLIB
18130old_postinstall_cmds=$lt_old_postinstall_cmds
18131old_postuninstall_cmds=$lt_old_postuninstall_cmds
18132
18133# Whether to use a lock for old archive extraction.
18134lock_old_archive_extraction=$lock_old_archive_extraction
18135
18136# A C compiler.
18137LTCC=$lt_CC
18138
18139# LTCC compiler flags.
18140LTCFLAGS=$lt_CFLAGS
18141
18142# Take the output of nm and produce a listing of raw symbols and C names.
18143global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18144
18145# Transform the output of nm in a proper C declaration.
18146global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18147
18148# Transform the output of nm in a C name address pair.
18149global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18150
18151# Transform the output of nm in a C name address pair when lib prefix is needed.
18152global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18153
18154# Specify filename containing input files for \$NM.
18155nm_file_list_spec=$lt_nm_file_list_spec
18156
18157# The root where to search for dependent libraries,and in which our libraries should be installed.
18158lt_sysroot=$lt_sysroot
18159
18160# The name of the directory that contains temporary libtool files.
18161objdir=$objdir
18162
18163# Used to examine libraries when file_magic_cmd begins with "file".
18164MAGIC_CMD=$MAGIC_CMD
18165
18166# Must we lock files when doing compilation?
18167need_locks=$lt_need_locks
18168
18169# Manifest tool.
18170MANIFEST_TOOL=$lt_MANIFEST_TOOL
18171
18172# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18173DSYMUTIL=$lt_DSYMUTIL
18174
18175# Tool to change global to local symbols on Mac OS X.
18176NMEDIT=$lt_NMEDIT
18177
18178# Tool to manipulate fat objects and archives on Mac OS X.
18179LIPO=$lt_LIPO
18180
18181# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18182OTOOL=$lt_OTOOL
18183
18184# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18185OTOOL64=$lt_OTOOL64
18186
18187# Old archive suffix (normally "a").
18188libext=$libext
18189
18190# Shared library suffix (normally ".so").
18191shrext_cmds=$lt_shrext_cmds
18192
18193# The commands to extract the exported symbol list from a shared archive.
18194extract_expsyms_cmds=$lt_extract_expsyms_cmds
18195
18196# Variables whose values should be saved in libtool wrapper scripts and
18197# restored at link time.
18198variables_saved_for_relink=$lt_variables_saved_for_relink
18199
18200# Do we need the "lib" prefix for modules?
18201need_lib_prefix=$need_lib_prefix
18202
18203# Do we need a version for libraries?
18204need_version=$need_version
18205
18206# Library versioning type.
18207version_type=$version_type
18208
18209# Shared library runtime path variable.
18210runpath_var=$runpath_var
18211
18212# Shared library path variable.
18213shlibpath_var=$shlibpath_var
18214
18215# Is shlibpath searched before the hard-coded library search path?
18216shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18217
18218# Format of library name prefix.
18219libname_spec=$lt_libname_spec
18220
18221# List of archive names.  First name is the real one, the rest are links.
18222# The last name is the one that the linker finds with -lNAME
18223library_names_spec=$lt_library_names_spec
18224
18225# The coded name of the library, if different from the real name.
18226soname_spec=$lt_soname_spec
18227
18228# Permission mode override for installation of shared libraries.
18229install_override_mode=$lt_install_override_mode
18230
18231# Command to use after installation of a shared archive.
18232postinstall_cmds=$lt_postinstall_cmds
18233
18234# Command to use after uninstallation of a shared archive.
18235postuninstall_cmds=$lt_postuninstall_cmds
18236
18237# Commands used to finish a libtool library installation in a directory.
18238finish_cmds=$lt_finish_cmds
18239
18240# As "finish_cmds", except a single script fragment to be evaled but
18241# not shown.
18242finish_eval=$lt_finish_eval
18243
18244# Whether we should hardcode library paths into libraries.
18245hardcode_into_libs=$hardcode_into_libs
18246
18247# Compile-time system search path for libraries.
18248sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18249
18250# Run-time system search path for libraries.
18251sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18252
18253# Whether dlopen is supported.
18254dlopen_support=$enable_dlopen
18255
18256# Whether dlopen of programs is supported.
18257dlopen_self=$enable_dlopen_self
18258
18259# Whether dlopen of statically linked programs is supported.
18260dlopen_self_static=$enable_dlopen_self_static
18261
18262# Commands to strip libraries.
18263old_striplib=$lt_old_striplib
18264striplib=$lt_striplib
18265
18266
18267# The linker used to build libraries.
18268LD=$lt_LD
18269
18270# How to create reloadable object files.
18271reload_flag=$lt_reload_flag
18272reload_cmds=$lt_reload_cmds
18273
18274# Commands used to build an old-style archive.
18275old_archive_cmds=$lt_old_archive_cmds
18276
18277# A language specific compiler.
18278CC=$lt_compiler
18279
18280# Is the compiler the GNU compiler?
18281with_gcc=$GCC
18282
18283# Compiler flag to turn off builtin functions.
18284no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18285
18286# Additional compiler flags for building library objects.
18287pic_flag=$lt_lt_prog_compiler_pic
18288
18289# How to pass a linker flag through the compiler.
18290wl=$lt_lt_prog_compiler_wl
18291
18292# Compiler flag to prevent dynamic linking.
18293link_static_flag=$lt_lt_prog_compiler_static
18294
18295# Does compiler simultaneously support -c and -o options?
18296compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18297
18298# Whether or not to add -lc for building shared libraries.
18299build_libtool_need_lc=$archive_cmds_need_lc
18300
18301# Whether or not to disallow shared libs when runtime libs are static.
18302allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18303
18304# Compiler flag to allow reflexive dlopens.
18305export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18306
18307# Compiler flag to generate shared objects directly from archives.
18308whole_archive_flag_spec=$lt_whole_archive_flag_spec
18309
18310# Whether the compiler copes with passing no objects directly.
18311compiler_needs_object=$lt_compiler_needs_object
18312
18313# Create an old-style archive from a shared archive.
18314old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18315
18316# Create a temporary old-style archive to link instead of a shared archive.
18317old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18318
18319# Commands used to build a shared archive.
18320archive_cmds=$lt_archive_cmds
18321archive_expsym_cmds=$lt_archive_expsym_cmds
18322
18323# Commands used to build a loadable module if different from building
18324# a shared archive.
18325module_cmds=$lt_module_cmds
18326module_expsym_cmds=$lt_module_expsym_cmds
18327
18328# Whether we are building with GNU ld or not.
18329with_gnu_ld=$lt_with_gnu_ld
18330
18331# Flag that allows shared libraries with undefined symbols to be built.
18332allow_undefined_flag=$lt_allow_undefined_flag
18333
18334# Flag that enforces no undefined symbols.
18335no_undefined_flag=$lt_no_undefined_flag
18336
18337# Flag to hardcode \$libdir into a binary during linking.
18338# This must work even if \$libdir does not exist
18339hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18340
18341# If ld is used when linking, flag to hardcode \$libdir into a binary
18342# during linking.  This must work even if \$libdir does not exist.
18343hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
18344
18345# Whether we need a single "-rpath" flag with a separated argument.
18346hardcode_libdir_separator=$lt_hardcode_libdir_separator
18347
18348# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18349# DIR into the resulting binary.
18350hardcode_direct=$hardcode_direct
18351
18352# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18353# DIR into the resulting binary and the resulting library dependency is
18354# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18355# library is relocated.
18356hardcode_direct_absolute=$hardcode_direct_absolute
18357
18358# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18359# into the resulting binary.
18360hardcode_minus_L=$hardcode_minus_L
18361
18362# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18363# into the resulting binary.
18364hardcode_shlibpath_var=$hardcode_shlibpath_var
18365
18366# Set to "yes" if building a shared library automatically hardcodes DIR
18367# into the library and all subsequent libraries and executables linked
18368# against it.
18369hardcode_automatic=$hardcode_automatic
18370
18371# Set to yes if linker adds runtime paths of dependent libraries
18372# to runtime path list.
18373inherit_rpath=$inherit_rpath
18374
18375# Whether libtool must link a program against all its dependency libraries.
18376link_all_deplibs=$link_all_deplibs
18377
18378# Set to "yes" if exported symbols are required.
18379always_export_symbols=$always_export_symbols
18380
18381# The commands to list exported symbols.
18382export_symbols_cmds=$lt_export_symbols_cmds
18383
18384# Symbols that should not be listed in the preloaded symbols.
18385exclude_expsyms=$lt_exclude_expsyms
18386
18387# Symbols that must always be exported.
18388include_expsyms=$lt_include_expsyms
18389
18390# Commands necessary for linking programs (against libraries) with templates.
18391prelink_cmds=$lt_prelink_cmds
18392
18393# Commands necessary for finishing linking programs.
18394postlink_cmds=$lt_postlink_cmds
18395
18396# Specify filename containing input files.
18397file_list_spec=$lt_file_list_spec
18398
18399# How to hardcode a shared library path into an executable.
18400hardcode_action=$hardcode_action
18401
18402# ### END LIBTOOL CONFIG
18403
18404_LT_EOF
18405
18406  case $host_os in
18407  aix3*)
18408    cat <<\_LT_EOF >> "$cfgfile"
18409# AIX sometimes has problems with the GCC collect2 program.  For some
18410# reason, if we set the COLLECT_NAMES environment variable, the problems
18411# vanish in a puff of smoke.
18412if test "X${COLLECT_NAMES+set}" != Xset; then
18413  COLLECT_NAMES=
18414  export COLLECT_NAMES
18415fi
18416_LT_EOF
18417    ;;
18418  esac
18419
18420
18421ltmain="$ac_aux_dir/ltmain.sh"
18422
18423
18424  # We use sed instead of cat because bash on DJGPP gets confused if
18425  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18426  # text mode, it properly converts lines to CR/LF.  This bash problem
18427  # is reportedly fixed, but why not run on old versions too?
18428  sed '$q' "$ltmain" >> "$cfgfile" \
18429     || (rm -f "$cfgfile"; exit 1)
18430
18431  if test x"$xsi_shell" = xyes; then
18432  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18433func_dirname ()\
18434{\
18435\    case ${1} in\
18436\      */*) func_dirname_result="${1%/*}${2}" ;;\
18437\      *  ) func_dirname_result="${3}" ;;\
18438\    esac\
18439} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18440  && mv -f "$cfgfile.tmp" "$cfgfile" \
18441    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18442test 0 -eq $? || _lt_function_replace_fail=:
18443
18444
18445  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18446func_basename ()\
18447{\
18448\    func_basename_result="${1##*/}"\
18449} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18450  && mv -f "$cfgfile.tmp" "$cfgfile" \
18451    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18452test 0 -eq $? || _lt_function_replace_fail=:
18453
18454
18455  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18456func_dirname_and_basename ()\
18457{\
18458\    case ${1} in\
18459\      */*) func_dirname_result="${1%/*}${2}" ;;\
18460\      *  ) func_dirname_result="${3}" ;;\
18461\    esac\
18462\    func_basename_result="${1##*/}"\
18463} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18464  && mv -f "$cfgfile.tmp" "$cfgfile" \
18465    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18466test 0 -eq $? || _lt_function_replace_fail=:
18467
18468
18469  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18470func_stripname ()\
18471{\
18472\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18473\    # positional parameters, so assign one to ordinary parameter first.\
18474\    func_stripname_result=${3}\
18475\    func_stripname_result=${func_stripname_result#"${1}"}\
18476\    func_stripname_result=${func_stripname_result%"${2}"}\
18477} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18478  && mv -f "$cfgfile.tmp" "$cfgfile" \
18479    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18480test 0 -eq $? || _lt_function_replace_fail=:
18481
18482
18483  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18484func_split_long_opt ()\
18485{\
18486\    func_split_long_opt_name=${1%%=*}\
18487\    func_split_long_opt_arg=${1#*=}\
18488} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18489  && mv -f "$cfgfile.tmp" "$cfgfile" \
18490    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18491test 0 -eq $? || _lt_function_replace_fail=:
18492
18493
18494  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18495func_split_short_opt ()\
18496{\
18497\    func_split_short_opt_arg=${1#??}\
18498\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18499} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18500  && mv -f "$cfgfile.tmp" "$cfgfile" \
18501    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18502test 0 -eq $? || _lt_function_replace_fail=:
18503
18504
18505  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18506func_lo2o ()\
18507{\
18508\    case ${1} in\
18509\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18510\      *)    func_lo2o_result=${1} ;;\
18511\    esac\
18512} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18513  && mv -f "$cfgfile.tmp" "$cfgfile" \
18514    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18515test 0 -eq $? || _lt_function_replace_fail=:
18516
18517
18518  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18519func_xform ()\
18520{\
18521    func_xform_result=${1%.*}.lo\
18522} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18523  && mv -f "$cfgfile.tmp" "$cfgfile" \
18524    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18525test 0 -eq $? || _lt_function_replace_fail=:
18526
18527
18528  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18529func_arith ()\
18530{\
18531    func_arith_result=$(( $* ))\
18532} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18533  && mv -f "$cfgfile.tmp" "$cfgfile" \
18534    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18535test 0 -eq $? || _lt_function_replace_fail=:
18536
18537
18538  sed -e '/^func_len ()$/,/^} # func_len /c\
18539func_len ()\
18540{\
18541    func_len_result=${#1}\
18542} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18543  && mv -f "$cfgfile.tmp" "$cfgfile" \
18544    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18545test 0 -eq $? || _lt_function_replace_fail=:
18546
18547fi
18548
18549if test x"$lt_shell_append" = xyes; then
18550  sed -e '/^func_append ()$/,/^} # func_append /c\
18551func_append ()\
18552{\
18553    eval "${1}+=\\${2}"\
18554} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18555  && mv -f "$cfgfile.tmp" "$cfgfile" \
18556    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18557test 0 -eq $? || _lt_function_replace_fail=:
18558
18559
18560  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18561func_append_quoted ()\
18562{\
18563\    func_quote_for_eval "${2}"\
18564\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18565} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18566  && mv -f "$cfgfile.tmp" "$cfgfile" \
18567    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18568test 0 -eq $? || _lt_function_replace_fail=:
18569
18570
18571  # Save a `func_append' function call where possible by direct use of '+='
18572  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18573    && mv -f "$cfgfile.tmp" "$cfgfile" \
18574      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18575  test 0 -eq $? || _lt_function_replace_fail=:
18576else
18577  # Save a `func_append' function call even when '+=' is not available
18578  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18579    && mv -f "$cfgfile.tmp" "$cfgfile" \
18580      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18581  test 0 -eq $? || _lt_function_replace_fail=:
18582fi
18583
18584if test x"$_lt_function_replace_fail" = x":"; then
18585  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18586$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18587fi
18588
18589
18590   mv -f "$cfgfile" "$ofile" ||
18591    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18592  chmod +x "$ofile"
18593
18594 ;;
18595
18596  esac
18597done # for ac_tag
18598
18599
18600as_fn_exit 0
18601_ACEOF
18602ac_clean_files=$ac_clean_files_save
18603
18604test $ac_write_fail = 0 ||
18605  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18606
18607
18608# configure is writing to config.log, and then calls config.status.
18609# config.status does its own redirection, appending to config.log.
18610# Unfortunately, on DOS this fails, as config.log is still kept open
18611# by configure, so config.status won't be able to write to it; its
18612# output is simply discarded.  So we exec the FD to /dev/null,
18613# effectively closing config.log, so it can be properly (re)opened and
18614# appended to by config.status.  When coming back to configure, we
18615# need to make the FD available again.
18616if test "$no_create" != yes; then
18617  ac_cs_success=:
18618  ac_config_status_args=
18619  test "$silent" = yes &&
18620    ac_config_status_args="$ac_config_status_args --quiet"
18621  exec 5>/dev/null
18622  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18623  exec 5>>config.log
18624  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18625  # would make configure fail if this is the last instruction.
18626  $ac_cs_success || as_fn_exit 1
18627fi
18628if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18629  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18630$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18631fi
18632
18633
18634echo
18635echo "libffi support: $have_libffi"
18636echo "introspection support: $enable_introspection"
18637echo
18638