1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for gtk-sharp 2.12.45.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='gtk-sharp'
589PACKAGE_TARNAME='gtk-sharp'
590PACKAGE_VERSION='2.12.45'
591PACKAGE_STRING='gtk-sharp 2.12.45'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595ac_unique_file="README"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636CSFLAGS
637GLIB_2_31_LIBS
638GLIB_2_31_CFLAGS
639ENABLE_MONOGETOPTIONS_FALSE
640ENABLE_MONOGETOPTIONS_TRUE
641ENABLE_MSI_FALSE
642ENABLE_MSI_TRUE
643ENABLE_MONODOC_FALSE
644ENABLE_MONODOC_TRUE
645ENABLE_DOTNET_FALSE
646ENABLE_DOTNET_TRUE
647ENABLE_GLADE_FALSE
648ENABLE_GLADE_TRUE
649ENABLE_MONO_CAIRO_FALSE
650ENABLE_MONO_CAIRO_TRUE
651MONODOCER
652MDASSEMBLER
653GDK_BACKEND
654GLADE_LIBS
655GLADE_CFLAGS
656GTK_LIBS
657GTK_CFLAGS
658ATK_LIBS
659ATK_CFLAGS
660PANGO_LIBS
661PANGO_CFLAGS
662GLIB_LIBS
663GLIB_CFLAGS
664MONO_CAIRO_LIBS
665MONO_CAIRO_CFLAGS
666GENERATED_SOURCES
667LIB_SUFFIX
668LIB_PREFIX
669GACUTIL_FLAGS
670CSC
671RUNTIME
672AL
673GACUTIL
674MONO_DEPENDENCY_LIBS
675MONO_DEPENDENCY_CFLAGS
676PKG_CONFIG_LIBDIR
677PKG_CONFIG_PATH
678OFF_T_FLAGS
679BUILD_GTK_LIBS
680BUILD_GTK_CFLAGS
681PKG_CONFIG
682GTK_SHARP_VERSION_CFLAGS
683WIX
684LT_SYS_LIBRARY_PATH
685OTOOL64
686OTOOL
687LIPO
688NMEDIT
689DSYMUTIL
690MANIFEST_TOOL
691RANLIB
692ac_ct_AR
693AR
694LN_S
695NM
696ac_ct_DUMPBIN
697DUMPBIN
698LD
699FGREP
700SED
701LIBTOOL
702OBJDUMP
703DLLTOOL
704AS
705EGREP
706GREP
707CPP
708BUILD_EXEEXT
709HOST_CC
710CC_FOR_BUILD
711am__fastdepCC_FALSE
712am__fastdepCC_TRUE
713CCDEPMODE
714am__nodep
715AMDEPBACKSLASH
716AMDEP_FALSE
717AMDEP_TRUE
718am__quote
719am__include
720DEPDIR
721OBJEXT
722EXEEXT
723ac_ct_CC
724CPPFLAGS
725LDFLAGS
726CFLAGS
727CC
728PLATFORM_WIN32_FALSE
729PLATFORM_WIN32_TRUE
730POLICY_VERSIONS
731API_VERSION
732MAINT
733MAINTAINER_MODE_FALSE
734MAINTAINER_MODE_TRUE
735AM_BACKSLASH
736AM_DEFAULT_VERBOSITY
737AM_DEFAULT_V
738AM_V
739am__untar
740am__tar
741AMTAR
742am__leading_dot
743SET_MAKE
744AWK
745mkdir_p
746MKDIR_P
747INSTALL_STRIP_PROGRAM
748STRIP
749install_sh
750MAKEINFO
751AUTOHEADER
752AUTOMAKE
753AUTOCONF
754ACLOCAL
755VERSION
756PACKAGE
757CYGPATH_W
758am__isrc
759INSTALL_DATA
760INSTALL_SCRIPT
761INSTALL_PROGRAM
762target_os
763target_vendor
764target_cpu
765target
766host_os
767host_vendor
768host_cpu
769host
770build_os
771build_vendor
772build_cpu
773build
774target_alias
775host_alias
776build_alias
777LIBS
778ECHO_T
779ECHO_N
780ECHO_C
781DEFS
782mandir
783localedir
784libdir
785psdir
786pdfdir
787dvidir
788htmldir
789infodir
790docdir
791oldincludedir
792includedir
793runstatedir
794localstatedir
795sharedstatedir
796sysconfdir
797datadir
798datarootdir
799libexecdir
800sbindir
801bindir
802program_transform_name
803prefix
804exec_prefix
805PACKAGE_URL
806PACKAGE_BUGREPORT
807PACKAGE_STRING
808PACKAGE_VERSION
809PACKAGE_TARNAME
810PACKAGE_NAME
811PATH_SEPARATOR
812SHELL'
813ac_subst_files=''
814ac_user_opts='
815enable_option_checking
816enable_silent_rules
817enable_maintainer_mode
818enable_dependency_tracking
819enable_shared
820enable_static
821with_pic
822enable_fast_install
823with_aix_soname
824with_gnu_ld
825with_sysroot
826enable_libtool_lock
827enable_debug
828'
829      ac_precious_vars='build_alias
830host_alias
831target_alias
832CC
833CFLAGS
834LDFLAGS
835LIBS
836CPPFLAGS
837CPP
838LT_SYS_LIBRARY_PATH
839PKG_CONFIG
840PKG_CONFIG_PATH
841PKG_CONFIG_LIBDIR
842MONO_DEPENDENCY_CFLAGS
843MONO_DEPENDENCY_LIBS
844MONO_CAIRO_CFLAGS
845MONO_CAIRO_LIBS
846GLIB_CFLAGS
847GLIB_LIBS
848PANGO_CFLAGS
849PANGO_LIBS
850ATK_CFLAGS
851ATK_LIBS
852GTK_CFLAGS
853GTK_LIBS
854GLADE_CFLAGS
855GLADE_LIBS
856GLIB_2_31_CFLAGS
857GLIB_2_31_LIBS'
858
859
860# Initialize some variables set by options.
861ac_init_help=
862ac_init_version=false
863ac_unrecognized_opts=
864ac_unrecognized_sep=
865# The variables have the same names as the options, with
866# dashes changed to underlines.
867cache_file=/dev/null
868exec_prefix=NONE
869no_create=
870no_recursion=
871prefix=NONE
872program_prefix=NONE
873program_suffix=NONE
874program_transform_name=s,x,x,
875silent=
876site=
877srcdir=
878verbose=
879x_includes=NONE
880x_libraries=NONE
881
882# Installation directory options.
883# These are left unexpanded so users can "make install exec_prefix=/foo"
884# and all the variables that are supposed to be based on exec_prefix
885# by default will actually change.
886# Use braces instead of parens because sh, perl, etc. also accept them.
887# (The list follows the same order as the GNU Coding Standards.)
888bindir='${exec_prefix}/bin'
889sbindir='${exec_prefix}/sbin'
890libexecdir='${exec_prefix}/libexec'
891datarootdir='${prefix}/share'
892datadir='${datarootdir}'
893sysconfdir='${prefix}/etc'
894sharedstatedir='${prefix}/com'
895localstatedir='${prefix}/var'
896runstatedir='${localstatedir}/run'
897includedir='${prefix}/include'
898oldincludedir='/usr/include'
899docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
900infodir='${datarootdir}/info'
901htmldir='${docdir}'
902dvidir='${docdir}'
903pdfdir='${docdir}'
904psdir='${docdir}'
905libdir='${exec_prefix}/lib'
906localedir='${datarootdir}/locale'
907mandir='${datarootdir}/man'
908
909ac_prev=
910ac_dashdash=
911for ac_option
912do
913  # If the previous option needs an argument, assign it.
914  if test -n "$ac_prev"; then
915    eval $ac_prev=\$ac_option
916    ac_prev=
917    continue
918  fi
919
920  case $ac_option in
921  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
922  *=)   ac_optarg= ;;
923  *)    ac_optarg=yes ;;
924  esac
925
926  # Accept the important Cygnus configure options, so we can diagnose typos.
927
928  case $ac_dashdash$ac_option in
929  --)
930    ac_dashdash=yes ;;
931
932  -bindir | --bindir | --bindi | --bind | --bin | --bi)
933    ac_prev=bindir ;;
934  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
935    bindir=$ac_optarg ;;
936
937  -build | --build | --buil | --bui | --bu)
938    ac_prev=build_alias ;;
939  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
940    build_alias=$ac_optarg ;;
941
942  -cache-file | --cache-file | --cache-fil | --cache-fi \
943  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
944    ac_prev=cache_file ;;
945  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
946  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
947    cache_file=$ac_optarg ;;
948
949  --config-cache | -C)
950    cache_file=config.cache ;;
951
952  -datadir | --datadir | --datadi | --datad)
953    ac_prev=datadir ;;
954  -datadir=* | --datadir=* | --datadi=* | --datad=*)
955    datadir=$ac_optarg ;;
956
957  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
958  | --dataroo | --dataro | --datar)
959    ac_prev=datarootdir ;;
960  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
961  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
962    datarootdir=$ac_optarg ;;
963
964  -disable-* | --disable-*)
965    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
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--disable-$ac_useropt_orig"
976	 ac_unrecognized_sep=', ';;
977    esac
978    eval enable_$ac_useropt=no ;;
979
980  -docdir | --docdir | --docdi | --doc | --do)
981    ac_prev=docdir ;;
982  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
983    docdir=$ac_optarg ;;
984
985  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
986    ac_prev=dvidir ;;
987  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
988    dvidir=$ac_optarg ;;
989
990  -enable-* | --enable-*)
991    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
992    # Reject names that are not valid shell variable names.
993    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994      as_fn_error $? "invalid feature name: $ac_useropt"
995    ac_useropt_orig=$ac_useropt
996    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997    case $ac_user_opts in
998      *"
999"enable_$ac_useropt"
1000"*) ;;
1001      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1002	 ac_unrecognized_sep=', ';;
1003    esac
1004    eval enable_$ac_useropt=\$ac_optarg ;;
1005
1006  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1007  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1008  | --exec | --exe | --ex)
1009    ac_prev=exec_prefix ;;
1010  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1011  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1012  | --exec=* | --exe=* | --ex=*)
1013    exec_prefix=$ac_optarg ;;
1014
1015  -gas | --gas | --ga | --g)
1016    # Obsolete; use --with-gas.
1017    with_gas=yes ;;
1018
1019  -help | --help | --hel | --he | -h)
1020    ac_init_help=long ;;
1021  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1022    ac_init_help=recursive ;;
1023  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1024    ac_init_help=short ;;
1025
1026  -host | --host | --hos | --ho)
1027    ac_prev=host_alias ;;
1028  -host=* | --host=* | --hos=* | --ho=*)
1029    host_alias=$ac_optarg ;;
1030
1031  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1032    ac_prev=htmldir ;;
1033  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1034  | --ht=*)
1035    htmldir=$ac_optarg ;;
1036
1037  -includedir | --includedir | --includedi | --included | --include \
1038  | --includ | --inclu | --incl | --inc)
1039    ac_prev=includedir ;;
1040  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1041  | --includ=* | --inclu=* | --incl=* | --inc=*)
1042    includedir=$ac_optarg ;;
1043
1044  -infodir | --infodir | --infodi | --infod | --info | --inf)
1045    ac_prev=infodir ;;
1046  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1047    infodir=$ac_optarg ;;
1048
1049  -libdir | --libdir | --libdi | --libd)
1050    ac_prev=libdir ;;
1051  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1052    libdir=$ac_optarg ;;
1053
1054  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1055  | --libexe | --libex | --libe)
1056    ac_prev=libexecdir ;;
1057  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1058  | --libexe=* | --libex=* | --libe=*)
1059    libexecdir=$ac_optarg ;;
1060
1061  -localedir | --localedir | --localedi | --localed | --locale)
1062    ac_prev=localedir ;;
1063  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1064    localedir=$ac_optarg ;;
1065
1066  -localstatedir | --localstatedir | --localstatedi | --localstated \
1067  | --localstate | --localstat | --localsta | --localst | --locals)
1068    ac_prev=localstatedir ;;
1069  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1070  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1071    localstatedir=$ac_optarg ;;
1072
1073  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1074    ac_prev=mandir ;;
1075  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1076    mandir=$ac_optarg ;;
1077
1078  -nfp | --nfp | --nf)
1079    # Obsolete; use --without-fp.
1080    with_fp=no ;;
1081
1082  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1083  | --no-cr | --no-c | -n)
1084    no_create=yes ;;
1085
1086  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1087  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1088    no_recursion=yes ;;
1089
1090  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1091  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1092  | --oldin | --oldi | --old | --ol | --o)
1093    ac_prev=oldincludedir ;;
1094  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1095  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1096  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1097    oldincludedir=$ac_optarg ;;
1098
1099  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1100    ac_prev=prefix ;;
1101  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1102    prefix=$ac_optarg ;;
1103
1104  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1105  | --program-pre | --program-pr | --program-p)
1106    ac_prev=program_prefix ;;
1107  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1108  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1109    program_prefix=$ac_optarg ;;
1110
1111  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1112  | --program-suf | --program-su | --program-s)
1113    ac_prev=program_suffix ;;
1114  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1115  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1116    program_suffix=$ac_optarg ;;
1117
1118  -program-transform-name | --program-transform-name \
1119  | --program-transform-nam | --program-transform-na \
1120  | --program-transform-n | --program-transform- \
1121  | --program-transform | --program-transfor \
1122  | --program-transfo | --program-transf \
1123  | --program-trans | --program-tran \
1124  | --progr-tra | --program-tr | --program-t)
1125    ac_prev=program_transform_name ;;
1126  -program-transform-name=* | --program-transform-name=* \
1127  | --program-transform-nam=* | --program-transform-na=* \
1128  | --program-transform-n=* | --program-transform-=* \
1129  | --program-transform=* | --program-transfor=* \
1130  | --program-transfo=* | --program-transf=* \
1131  | --program-trans=* | --program-tran=* \
1132  | --progr-tra=* | --program-tr=* | --program-t=*)
1133    program_transform_name=$ac_optarg ;;
1134
1135  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1136    ac_prev=pdfdir ;;
1137  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1138    pdfdir=$ac_optarg ;;
1139
1140  -psdir | --psdir | --psdi | --psd | --ps)
1141    ac_prev=psdir ;;
1142  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1143    psdir=$ac_optarg ;;
1144
1145  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1146  | -silent | --silent | --silen | --sile | --sil)
1147    silent=yes ;;
1148
1149  -runstatedir | --runstatedir | --runstatedi | --runstated \
1150  | --runstate | --runstat | --runsta | --runst | --runs \
1151  | --run | --ru | --r)
1152    ac_prev=runstatedir ;;
1153  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1154  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1155  | --run=* | --ru=* | --r=*)
1156    runstatedir=$ac_optarg ;;
1157
1158  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1159    ac_prev=sbindir ;;
1160  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1161  | --sbi=* | --sb=*)
1162    sbindir=$ac_optarg ;;
1163
1164  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1165  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1166  | --sharedst | --shareds | --shared | --share | --shar \
1167  | --sha | --sh)
1168    ac_prev=sharedstatedir ;;
1169  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1170  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1171  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1172  | --sha=* | --sh=*)
1173    sharedstatedir=$ac_optarg ;;
1174
1175  -site | --site | --sit)
1176    ac_prev=site ;;
1177  -site=* | --site=* | --sit=*)
1178    site=$ac_optarg ;;
1179
1180  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1181    ac_prev=srcdir ;;
1182  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1183    srcdir=$ac_optarg ;;
1184
1185  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1186  | --syscon | --sysco | --sysc | --sys | --sy)
1187    ac_prev=sysconfdir ;;
1188  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1189  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1190    sysconfdir=$ac_optarg ;;
1191
1192  -target | --target | --targe | --targ | --tar | --ta | --t)
1193    ac_prev=target_alias ;;
1194  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1195    target_alias=$ac_optarg ;;
1196
1197  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1198    verbose=yes ;;
1199
1200  -version | --version | --versio | --versi | --vers | -V)
1201    ac_init_version=: ;;
1202
1203  -with-* | --with-*)
1204    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1205    # Reject names that are not valid shell variable names.
1206    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1207      as_fn_error $? "invalid package name: $ac_useropt"
1208    ac_useropt_orig=$ac_useropt
1209    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1210    case $ac_user_opts in
1211      *"
1212"with_$ac_useropt"
1213"*) ;;
1214      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1215	 ac_unrecognized_sep=', ';;
1216    esac
1217    eval with_$ac_useropt=\$ac_optarg ;;
1218
1219  -without-* | --without-*)
1220    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1221    # Reject names that are not valid shell variable names.
1222    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1223      as_fn_error $? "invalid package name: $ac_useropt"
1224    ac_useropt_orig=$ac_useropt
1225    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1226    case $ac_user_opts in
1227      *"
1228"with_$ac_useropt"
1229"*) ;;
1230      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1231	 ac_unrecognized_sep=', ';;
1232    esac
1233    eval with_$ac_useropt=no ;;
1234
1235  --x)
1236    # Obsolete; use --with-x.
1237    with_x=yes ;;
1238
1239  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1240  | --x-incl | --x-inc | --x-in | --x-i)
1241    ac_prev=x_includes ;;
1242  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1243  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1244    x_includes=$ac_optarg ;;
1245
1246  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1247  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1248    ac_prev=x_libraries ;;
1249  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1250  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1251    x_libraries=$ac_optarg ;;
1252
1253  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1254Try \`$0 --help' for more information"
1255    ;;
1256
1257  *=*)
1258    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1259    # Reject names that are not valid shell variable names.
1260    case $ac_envvar in #(
1261      '' | [0-9]* | *[!_$as_cr_alnum]* )
1262      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1263    esac
1264    eval $ac_envvar=\$ac_optarg
1265    export $ac_envvar ;;
1266
1267  *)
1268    # FIXME: should be removed in autoconf 3.0.
1269    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1270    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1271      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1272    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1273    ;;
1274
1275  esac
1276done
1277
1278if test -n "$ac_prev"; then
1279  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1280  as_fn_error $? "missing argument to $ac_option"
1281fi
1282
1283if test -n "$ac_unrecognized_opts"; then
1284  case $enable_option_checking in
1285    no) ;;
1286    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1287    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288  esac
1289fi
1290
1291# Check all directory arguments for consistency.
1292for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1293		datadir sysconfdir sharedstatedir localstatedir includedir \
1294		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1295		libdir localedir mandir runstatedir
1296do
1297  eval ac_val=\$$ac_var
1298  # Remove trailing slashes.
1299  case $ac_val in
1300    */ )
1301      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1302      eval $ac_var=\$ac_val;;
1303  esac
1304  # Be sure to have absolute directory names.
1305  case $ac_val in
1306    [\\/$]* | ?:[\\/]* )  continue;;
1307    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1308  esac
1309  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1310done
1311
1312# There might be people who depend on the old broken behavior: `$host'
1313# used to hold the argument of --host etc.
1314# FIXME: To remove some day.
1315build=$build_alias
1316host=$host_alias
1317target=$target_alias
1318
1319# FIXME: To remove some day.
1320if test "x$host_alias" != x; then
1321  if test "x$build_alias" = x; then
1322    cross_compiling=maybe
1323  elif test "x$build_alias" != "x$host_alias"; then
1324    cross_compiling=yes
1325  fi
1326fi
1327
1328ac_tool_prefix=
1329test -n "$host_alias" && ac_tool_prefix=$host_alias-
1330
1331test "$silent" = yes && exec 6>/dev/null
1332
1333
1334ac_pwd=`pwd` && test -n "$ac_pwd" &&
1335ac_ls_di=`ls -di .` &&
1336ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1337  as_fn_error $? "working directory cannot be determined"
1338test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1339  as_fn_error $? "pwd does not report name of working directory"
1340
1341
1342# Find the source files, if location was not specified.
1343if test -z "$srcdir"; then
1344  ac_srcdir_defaulted=yes
1345  # Try the directory containing this script, then the parent directory.
1346  ac_confdir=`$as_dirname -- "$as_myself" ||
1347$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1348	 X"$as_myself" : 'X\(//\)[^/]' \| \
1349	 X"$as_myself" : 'X\(//\)$' \| \
1350	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1351$as_echo X"$as_myself" |
1352    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1353	    s//\1/
1354	    q
1355	  }
1356	  /^X\(\/\/\)[^/].*/{
1357	    s//\1/
1358	    q
1359	  }
1360	  /^X\(\/\/\)$/{
1361	    s//\1/
1362	    q
1363	  }
1364	  /^X\(\/\).*/{
1365	    s//\1/
1366	    q
1367	  }
1368	  s/.*/./; q'`
1369  srcdir=$ac_confdir
1370  if test ! -r "$srcdir/$ac_unique_file"; then
1371    srcdir=..
1372  fi
1373else
1374  ac_srcdir_defaulted=no
1375fi
1376if test ! -r "$srcdir/$ac_unique_file"; then
1377  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1378  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1379fi
1380ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1381ac_abs_confdir=`(
1382	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1383	pwd)`
1384# When building in place, set srcdir=.
1385if test "$ac_abs_confdir" = "$ac_pwd"; then
1386  srcdir=.
1387fi
1388# Remove unnecessary trailing slashes from srcdir.
1389# Double slashes in file names in object file debugging info
1390# mess up M-x gdb in Emacs.
1391case $srcdir in
1392*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1393esac
1394for ac_var in $ac_precious_vars; do
1395  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1396  eval ac_env_${ac_var}_value=\$${ac_var}
1397  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1398  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1399done
1400
1401#
1402# Report the --help message.
1403#
1404if test "$ac_init_help" = "long"; then
1405  # Omit some internal or obsolete options to make the list less imposing.
1406  # This message is too long to be a string in the A/UX 3.1 sh.
1407  cat <<_ACEOF
1408\`configure' configures gtk-sharp 2.12.45 to adapt to many kinds of systems.
1409
1410Usage: $0 [OPTION]... [VAR=VALUE]...
1411
1412To assign environment variables (e.g., CC, CFLAGS...), specify them as
1413VAR=VALUE.  See below for descriptions of some of the useful variables.
1414
1415Defaults for the options are specified in brackets.
1416
1417Configuration:
1418  -h, --help              display this help and exit
1419      --help=short        display options specific to this package
1420      --help=recursive    display the short help of all the included packages
1421  -V, --version           display version information and exit
1422  -q, --quiet, --silent   do not print \`checking ...' messages
1423      --cache-file=FILE   cache test results in FILE [disabled]
1424  -C, --config-cache      alias for \`--cache-file=config.cache'
1425  -n, --no-create         do not create output files
1426      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1427
1428Installation directories:
1429  --prefix=PREFIX         install architecture-independent files in PREFIX
1430                          [$ac_default_prefix]
1431  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1432                          [PREFIX]
1433
1434By default, \`make install' will install all the files in
1435\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1436an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1437for instance \`--prefix=\$HOME'.
1438
1439For better control, use the options below.
1440
1441Fine tuning of the installation directories:
1442  --bindir=DIR            user executables [EPREFIX/bin]
1443  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1444  --libexecdir=DIR        program executables [EPREFIX/libexec]
1445  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1446  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1447  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1448  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1449  --libdir=DIR            object code libraries [EPREFIX/lib]
1450  --includedir=DIR        C header files [PREFIX/include]
1451  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1452  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1453  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1454  --infodir=DIR           info documentation [DATAROOTDIR/info]
1455  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1456  --mandir=DIR            man documentation [DATAROOTDIR/man]
1457  --docdir=DIR            documentation root [DATAROOTDIR/doc/gtk-sharp]
1458  --htmldir=DIR           html documentation [DOCDIR]
1459  --dvidir=DIR            dvi documentation [DOCDIR]
1460  --pdfdir=DIR            pdf documentation [DOCDIR]
1461  --psdir=DIR             ps documentation [DOCDIR]
1462_ACEOF
1463
1464  cat <<\_ACEOF
1465
1466Program names:
1467  --program-prefix=PREFIX            prepend PREFIX to installed program names
1468  --program-suffix=SUFFIX            append SUFFIX to installed program names
1469  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1470
1471System types:
1472  --build=BUILD     configure for building on BUILD [guessed]
1473  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1474  --target=TARGET   configure for building compilers for TARGET [HOST]
1475_ACEOF
1476fi
1477
1478if test -n "$ac_init_help"; then
1479  case $ac_init_help in
1480     short | recursive ) echo "Configuration of gtk-sharp 2.12.45:";;
1481   esac
1482  cat <<\_ACEOF
1483
1484Optional Features:
1485  --disable-option-checking  ignore unrecognized --enable/--with options
1486  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1487  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1488  --enable-silent-rules   less verbose build output (undo: "make V=1")
1489  --disable-silent-rules  verbose build output (undo: "make V=0")
1490  --enable-maintainer-mode
1491                          enable make rules and dependencies not useful (and
1492                          sometimes confusing) to the casual installer
1493  --enable-dependency-tracking
1494                          do not reject slow dependency extractors
1495  --disable-dependency-tracking
1496                          speeds up one-time build
1497  --enable-shared[=PKGS]  build shared libraries [default=yes]
1498  --enable-static[=PKGS]  build static libraries [default=yes]
1499  --enable-fast-install[=PKGS]
1500                          optimize for fast installation [default=yes]
1501  --disable-libtool-lock  avoid locking (might break parallel builds)
1502  --enable-debug          Build debugger (.mdb) files for dlls
1503
1504Optional Packages:
1505  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1506  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1507  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1508                          both]
1509  --with-aix-soname=aix|svr4|both
1510                          shared library versioning (aka "SONAME") variant to
1511                          provide on AIX, [default=aix].
1512  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1513  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1514                          compiler's sysroot if not specified).
1515
1516Some influential environment variables:
1517  CC          C compiler command
1518  CFLAGS      C compiler flags
1519  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1520              nonstandard directory <lib dir>
1521  LIBS        libraries to pass to the linker, e.g. -l<library>
1522  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1523              you have headers in a nonstandard directory <include dir>
1524  CPP         C preprocessor
1525  LT_SYS_LIBRARY_PATH
1526              User-defined run-time library search path.
1527  PKG_CONFIG  path to pkg-config utility
1528  PKG_CONFIG_PATH
1529              directories to add to pkg-config's search path
1530  PKG_CONFIG_LIBDIR
1531              path overriding pkg-config's built-in search path
1532  MONO_DEPENDENCY_CFLAGS
1533              C compiler flags for MONO_DEPENDENCY, overriding pkg-config
1534  MONO_DEPENDENCY_LIBS
1535              linker flags for MONO_DEPENDENCY, overriding pkg-config
1536  MONO_CAIRO_CFLAGS
1537              C compiler flags for MONO_CAIRO, overriding pkg-config
1538  MONO_CAIRO_LIBS
1539              linker flags for MONO_CAIRO, overriding pkg-config
1540  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1541  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1542  PANGO_CFLAGS
1543              C compiler flags for PANGO, overriding pkg-config
1544  PANGO_LIBS  linker flags for PANGO, overriding pkg-config
1545  ATK_CFLAGS  C compiler flags for ATK, overriding pkg-config
1546  ATK_LIBS    linker flags for ATK, overriding pkg-config
1547  GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
1548  GTK_LIBS    linker flags for GTK, overriding pkg-config
1549  GLADE_CFLAGS
1550              C compiler flags for GLADE, overriding pkg-config
1551  GLADE_LIBS  linker flags for GLADE, overriding pkg-config
1552  GLIB_2_31_CFLAGS
1553              C compiler flags for GLIB_2_31, overriding pkg-config
1554  GLIB_2_31_LIBS
1555              linker flags for GLIB_2_31, overriding pkg-config
1556
1557Use these variables to override the choices made by `configure' or to help
1558it to find libraries and programs with nonstandard names/locations.
1559
1560Report bugs to the package provider.
1561_ACEOF
1562ac_status=$?
1563fi
1564
1565if test "$ac_init_help" = "recursive"; then
1566  # If there are subdirs, report their specific --help.
1567  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1568    test -d "$ac_dir" ||
1569      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1570      continue
1571    ac_builddir=.
1572
1573case "$ac_dir" in
1574.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575*)
1576  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1577  # A ".." for each directory in $ac_dir_suffix.
1578  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1579  case $ac_top_builddir_sub in
1580  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1582  esac ;;
1583esac
1584ac_abs_top_builddir=$ac_pwd
1585ac_abs_builddir=$ac_pwd$ac_dir_suffix
1586# for backward compatibility:
1587ac_top_builddir=$ac_top_build_prefix
1588
1589case $srcdir in
1590  .)  # We are building in place.
1591    ac_srcdir=.
1592    ac_top_srcdir=$ac_top_builddir_sub
1593    ac_abs_top_srcdir=$ac_pwd ;;
1594  [\\/]* | ?:[\\/]* )  # Absolute name.
1595    ac_srcdir=$srcdir$ac_dir_suffix;
1596    ac_top_srcdir=$srcdir
1597    ac_abs_top_srcdir=$srcdir ;;
1598  *) # Relative name.
1599    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1600    ac_top_srcdir=$ac_top_build_prefix$srcdir
1601    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602esac
1603ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604
1605    cd "$ac_dir" || { ac_status=$?; continue; }
1606    # Check for guested configure.
1607    if test -f "$ac_srcdir/configure.gnu"; then
1608      echo &&
1609      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1610    elif test -f "$ac_srcdir/configure"; then
1611      echo &&
1612      $SHELL "$ac_srcdir/configure" --help=recursive
1613    else
1614      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615    fi || ac_status=$?
1616    cd "$ac_pwd" || { ac_status=$?; break; }
1617  done
1618fi
1619
1620test -n "$ac_init_help" && exit $ac_status
1621if $ac_init_version; then
1622  cat <<\_ACEOF
1623gtk-sharp configure 2.12.45
1624generated by GNU Autoconf 2.69
1625
1626Copyright (C) 2012 Free Software Foundation, Inc.
1627This configure script is free software; the Free Software Foundation
1628gives unlimited permission to copy, distribute and modify it.
1629_ACEOF
1630  exit
1631fi
1632
1633## ------------------------ ##
1634## Autoconf initialization. ##
1635## ------------------------ ##
1636
1637# ac_fn_c_try_compile LINENO
1638# --------------------------
1639# Try to compile conftest.$ac_ext, and return whether this succeeded.
1640ac_fn_c_try_compile ()
1641{
1642  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1643  rm -f conftest.$ac_objext
1644  if { { ac_try="$ac_compile"
1645case "(($ac_try" in
1646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1647  *) ac_try_echo=$ac_try;;
1648esac
1649eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650$as_echo "$ac_try_echo"; } >&5
1651  (eval "$ac_compile") 2>conftest.err
1652  ac_status=$?
1653  if test -s conftest.err; then
1654    grep -v '^ *+' conftest.err >conftest.er1
1655    cat conftest.er1 >&5
1656    mv -f conftest.er1 conftest.err
1657  fi
1658  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659  test $ac_status = 0; } && {
1660	 test -z "$ac_c_werror_flag" ||
1661	 test ! -s conftest.err
1662       } && test -s conftest.$ac_objext; then :
1663  ac_retval=0
1664else
1665  $as_echo "$as_me: failed program was:" >&5
1666sed 's/^/| /' conftest.$ac_ext >&5
1667
1668	ac_retval=1
1669fi
1670  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1671  as_fn_set_status $ac_retval
1672
1673} # ac_fn_c_try_compile
1674
1675# ac_fn_c_try_cpp LINENO
1676# ----------------------
1677# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1678ac_fn_c_try_cpp ()
1679{
1680  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681  if { { ac_try="$ac_cpp conftest.$ac_ext"
1682case "(($ac_try" in
1683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1684  *) ac_try_echo=$ac_try;;
1685esac
1686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1687$as_echo "$ac_try_echo"; } >&5
1688  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689  ac_status=$?
1690  if test -s conftest.err; then
1691    grep -v '^ *+' conftest.err >conftest.er1
1692    cat conftest.er1 >&5
1693    mv -f conftest.er1 conftest.err
1694  fi
1695  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696  test $ac_status = 0; } > conftest.i && {
1697	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1698	 test ! -s conftest.err
1699       }; then :
1700  ac_retval=0
1701else
1702  $as_echo "$as_me: failed program was:" >&5
1703sed 's/^/| /' conftest.$ac_ext >&5
1704
1705    ac_retval=1
1706fi
1707  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1708  as_fn_set_status $ac_retval
1709
1710} # ac_fn_c_try_cpp
1711
1712# ac_fn_c_try_run LINENO
1713# ----------------------
1714# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1715# that executables *can* be run.
1716ac_fn_c_try_run ()
1717{
1718  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719  if { { ac_try="$ac_link"
1720case "(($ac_try" in
1721  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722  *) ac_try_echo=$ac_try;;
1723esac
1724eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725$as_echo "$ac_try_echo"; } >&5
1726  (eval "$ac_link") 2>&5
1727  ac_status=$?
1728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1729  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1730  { { case "(($ac_try" in
1731  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732  *) ac_try_echo=$ac_try;;
1733esac
1734eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735$as_echo "$ac_try_echo"; } >&5
1736  (eval "$ac_try") 2>&5
1737  ac_status=$?
1738  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1739  test $ac_status = 0; }; }; then :
1740  ac_retval=0
1741else
1742  $as_echo "$as_me: program exited with status $ac_status" >&5
1743       $as_echo "$as_me: failed program was:" >&5
1744sed 's/^/| /' conftest.$ac_ext >&5
1745
1746       ac_retval=$ac_status
1747fi
1748  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750  as_fn_set_status $ac_retval
1751
1752} # ac_fn_c_try_run
1753
1754# ac_fn_c_try_link LINENO
1755# -----------------------
1756# Try to link conftest.$ac_ext, and return whether this succeeded.
1757ac_fn_c_try_link ()
1758{
1759  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760  rm -f conftest.$ac_objext conftest$ac_exeext
1761  if { { ac_try="$ac_link"
1762case "(($ac_try" in
1763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764  *) ac_try_echo=$ac_try;;
1765esac
1766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767$as_echo "$ac_try_echo"; } >&5
1768  (eval "$ac_link") 2>conftest.err
1769  ac_status=$?
1770  if test -s conftest.err; then
1771    grep -v '^ *+' conftest.err >conftest.er1
1772    cat conftest.er1 >&5
1773    mv -f conftest.er1 conftest.err
1774  fi
1775  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776  test $ac_status = 0; } && {
1777	 test -z "$ac_c_werror_flag" ||
1778	 test ! -s conftest.err
1779       } && test -s conftest$ac_exeext && {
1780	 test "$cross_compiling" = yes ||
1781	 test -x conftest$ac_exeext
1782       }; then :
1783  ac_retval=0
1784else
1785  $as_echo "$as_me: failed program was:" >&5
1786sed 's/^/| /' conftest.$ac_ext >&5
1787
1788	ac_retval=1
1789fi
1790  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1791  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1792  # interfere with the next link command; also delete a directory that is
1793  # left behind by Apple's compiler.  We do this before executing the actions.
1794  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1795  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1796  as_fn_set_status $ac_retval
1797
1798} # ac_fn_c_try_link
1799
1800# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1801# -------------------------------------------------------
1802# Tests whether HEADER exists and can be compiled using the include files in
1803# INCLUDES, setting the cache variable VAR accordingly.
1804ac_fn_c_check_header_compile ()
1805{
1806  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1807  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1808$as_echo_n "checking for $2... " >&6; }
1809if eval \${$3+:} false; then :
1810  $as_echo_n "(cached) " >&6
1811else
1812  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1813/* end confdefs.h.  */
1814$4
1815#include <$2>
1816_ACEOF
1817if ac_fn_c_try_compile "$LINENO"; then :
1818  eval "$3=yes"
1819else
1820  eval "$3=no"
1821fi
1822rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823fi
1824eval ac_res=\$$3
1825	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1826$as_echo "$ac_res" >&6; }
1827  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828
1829} # ac_fn_c_check_header_compile
1830
1831# ac_fn_c_check_func LINENO FUNC VAR
1832# ----------------------------------
1833# Tests whether FUNC exists, setting the cache variable VAR accordingly
1834ac_fn_c_check_func ()
1835{
1836  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1838$as_echo_n "checking for $2... " >&6; }
1839if eval \${$3+:} false; then :
1840  $as_echo_n "(cached) " >&6
1841else
1842  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1843/* end confdefs.h.  */
1844/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1845   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1846#define $2 innocuous_$2
1847
1848/* System header to define __stub macros and hopefully few prototypes,
1849    which can conflict with char $2 (); below.
1850    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1851    <limits.h> exists even on freestanding compilers.  */
1852
1853#ifdef __STDC__
1854# include <limits.h>
1855#else
1856# include <assert.h>
1857#endif
1858
1859#undef $2
1860
1861/* Override any GCC internal prototype to avoid an error.
1862   Use char because int might match the return type of a GCC
1863   builtin and then its argument prototype would still apply.  */
1864#ifdef __cplusplus
1865extern "C"
1866#endif
1867char $2 ();
1868/* The GNU C library defines this for functions which it implements
1869    to always fail with ENOSYS.  Some functions are actually named
1870    something starting with __ and the normal name is an alias.  */
1871#if defined __stub_$2 || defined __stub___$2
1872choke me
1873#endif
1874
1875int
1876main ()
1877{
1878return $2 ();
1879  ;
1880  return 0;
1881}
1882_ACEOF
1883if ac_fn_c_try_link "$LINENO"; then :
1884  eval "$3=yes"
1885else
1886  eval "$3=no"
1887fi
1888rm -f core conftest.err conftest.$ac_objext \
1889    conftest$ac_exeext conftest.$ac_ext
1890fi
1891eval ac_res=\$$3
1892	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893$as_echo "$ac_res" >&6; }
1894  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895
1896} # ac_fn_c_check_func
1897
1898# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1899# --------------------------------------------
1900# Tries to find the compile-time value of EXPR in a program that includes
1901# INCLUDES, setting VAR accordingly. Returns whether the value could be
1902# computed
1903ac_fn_c_compute_int ()
1904{
1905  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906  if test "$cross_compiling" = yes; then
1907    # Depending upon the size, compute the lo and hi bounds.
1908cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1909/* end confdefs.h.  */
1910$4
1911int
1912main ()
1913{
1914static int test_array [1 - 2 * !(($2) >= 0)];
1915test_array [0] = 0;
1916return test_array [0];
1917
1918  ;
1919  return 0;
1920}
1921_ACEOF
1922if ac_fn_c_try_compile "$LINENO"; then :
1923  ac_lo=0 ac_mid=0
1924  while :; do
1925    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1926/* end confdefs.h.  */
1927$4
1928int
1929main ()
1930{
1931static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1932test_array [0] = 0;
1933return test_array [0];
1934
1935  ;
1936  return 0;
1937}
1938_ACEOF
1939if ac_fn_c_try_compile "$LINENO"; then :
1940  ac_hi=$ac_mid; break
1941else
1942  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1943			if test $ac_lo -le $ac_mid; then
1944			  ac_lo= ac_hi=
1945			  break
1946			fi
1947			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1948fi
1949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950  done
1951else
1952  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1953/* end confdefs.h.  */
1954$4
1955int
1956main ()
1957{
1958static int test_array [1 - 2 * !(($2) < 0)];
1959test_array [0] = 0;
1960return test_array [0];
1961
1962  ;
1963  return 0;
1964}
1965_ACEOF
1966if ac_fn_c_try_compile "$LINENO"; then :
1967  ac_hi=-1 ac_mid=-1
1968  while :; do
1969    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1970/* end confdefs.h.  */
1971$4
1972int
1973main ()
1974{
1975static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1976test_array [0] = 0;
1977return test_array [0];
1978
1979  ;
1980  return 0;
1981}
1982_ACEOF
1983if ac_fn_c_try_compile "$LINENO"; then :
1984  ac_lo=$ac_mid; break
1985else
1986  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1987			if test $ac_mid -le $ac_hi; then
1988			  ac_lo= ac_hi=
1989			  break
1990			fi
1991			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1992fi
1993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1994  done
1995else
1996  ac_lo= ac_hi=
1997fi
1998rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1999fi
2000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001# Binary search between lo and hi bounds.
2002while test "x$ac_lo" != "x$ac_hi"; do
2003  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2005/* end confdefs.h.  */
2006$4
2007int
2008main ()
2009{
2010static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2011test_array [0] = 0;
2012return test_array [0];
2013
2014  ;
2015  return 0;
2016}
2017_ACEOF
2018if ac_fn_c_try_compile "$LINENO"; then :
2019  ac_hi=$ac_mid
2020else
2021  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2022fi
2023rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2024done
2025case $ac_lo in #((
2026?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2027'') ac_retval=1 ;;
2028esac
2029  else
2030    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2031/* end confdefs.h.  */
2032$4
2033static long int longval () { return $2; }
2034static unsigned long int ulongval () { return $2; }
2035#include <stdio.h>
2036#include <stdlib.h>
2037int
2038main ()
2039{
2040
2041  FILE *f = fopen ("conftest.val", "w");
2042  if (! f)
2043    return 1;
2044  if (($2) < 0)
2045    {
2046      long int i = longval ();
2047      if (i != ($2))
2048	return 1;
2049      fprintf (f, "%ld", i);
2050    }
2051  else
2052    {
2053      unsigned long int i = ulongval ();
2054      if (i != ($2))
2055	return 1;
2056      fprintf (f, "%lu", i);
2057    }
2058  /* Do not output a trailing newline, as this causes \r\n confusion
2059     on some platforms.  */
2060  return ferror (f) || fclose (f) != 0;
2061
2062  ;
2063  return 0;
2064}
2065_ACEOF
2066if ac_fn_c_try_run "$LINENO"; then :
2067  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2068else
2069  ac_retval=1
2070fi
2071rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2072  conftest.$ac_objext conftest.beam conftest.$ac_ext
2073rm -f conftest.val
2074
2075  fi
2076  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077  as_fn_set_status $ac_retval
2078
2079} # ac_fn_c_compute_int
2080cat >config.log <<_ACEOF
2081This file contains any messages produced by compilers while
2082running configure, to aid debugging if configure makes a mistake.
2083
2084It was created by gtk-sharp $as_me 2.12.45, which was
2085generated by GNU Autoconf 2.69.  Invocation command line was
2086
2087  $ $0 $@
2088
2089_ACEOF
2090exec 5>>config.log
2091{
2092cat <<_ASUNAME
2093## --------- ##
2094## Platform. ##
2095## --------- ##
2096
2097hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2098uname -m = `(uname -m) 2>/dev/null || echo unknown`
2099uname -r = `(uname -r) 2>/dev/null || echo unknown`
2100uname -s = `(uname -s) 2>/dev/null || echo unknown`
2101uname -v = `(uname -v) 2>/dev/null || echo unknown`
2102
2103/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2104/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2105
2106/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2107/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2108/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2109/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2110/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2111/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2112/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2113
2114_ASUNAME
2115
2116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117for as_dir in $PATH
2118do
2119  IFS=$as_save_IFS
2120  test -z "$as_dir" && as_dir=.
2121    $as_echo "PATH: $as_dir"
2122  done
2123IFS=$as_save_IFS
2124
2125} >&5
2126
2127cat >&5 <<_ACEOF
2128
2129
2130## ----------- ##
2131## Core tests. ##
2132## ----------- ##
2133
2134_ACEOF
2135
2136
2137# Keep a trace of the command line.
2138# Strip out --no-create and --no-recursion so they do not pile up.
2139# Strip out --silent because we don't want to record it for future runs.
2140# Also quote any args containing shell meta-characters.
2141# Make two passes to allow for proper duplicate-argument suppression.
2142ac_configure_args=
2143ac_configure_args0=
2144ac_configure_args1=
2145ac_must_keep_next=false
2146for ac_pass in 1 2
2147do
2148  for ac_arg
2149  do
2150    case $ac_arg in
2151    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2152    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2153    | -silent | --silent | --silen | --sile | --sil)
2154      continue ;;
2155    *\'*)
2156      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2157    esac
2158    case $ac_pass in
2159    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2160    2)
2161      as_fn_append ac_configure_args1 " '$ac_arg'"
2162      if test $ac_must_keep_next = true; then
2163	ac_must_keep_next=false # Got value, back to normal.
2164      else
2165	case $ac_arg in
2166	  *=* | --config-cache | -C | -disable-* | --disable-* \
2167	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2168	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2169	  | -with-* | --with-* | -without-* | --without-* | --x)
2170	    case "$ac_configure_args0 " in
2171	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2172	    esac
2173	    ;;
2174	  -* ) ac_must_keep_next=true ;;
2175	esac
2176      fi
2177      as_fn_append ac_configure_args " '$ac_arg'"
2178      ;;
2179    esac
2180  done
2181done
2182{ ac_configure_args0=; unset ac_configure_args0;}
2183{ ac_configure_args1=; unset ac_configure_args1;}
2184
2185# When interrupted or exit'd, cleanup temporary files, and complete
2186# config.log.  We remove comments because anyway the quotes in there
2187# would cause problems or look ugly.
2188# WARNING: Use '\'' to represent an apostrophe within the trap.
2189# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2190trap 'exit_status=$?
2191  # Save into config.log some information that might help in debugging.
2192  {
2193    echo
2194
2195    $as_echo "## ---------------- ##
2196## Cache variables. ##
2197## ---------------- ##"
2198    echo
2199    # The following way of writing the cache mishandles newlines in values,
2200(
2201  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2202    eval ac_val=\$$ac_var
2203    case $ac_val in #(
2204    *${as_nl}*)
2205      case $ac_var in #(
2206      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2207$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2208      esac
2209      case $ac_var in #(
2210      _ | IFS | as_nl) ;; #(
2211      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2212      *) { eval $ac_var=; unset $ac_var;} ;;
2213      esac ;;
2214    esac
2215  done
2216  (set) 2>&1 |
2217    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2218    *${as_nl}ac_space=\ *)
2219      sed -n \
2220	"s/'\''/'\''\\\\'\'''\''/g;
2221	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2222      ;; #(
2223    *)
2224      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2225      ;;
2226    esac |
2227    sort
2228)
2229    echo
2230
2231    $as_echo "## ----------------- ##
2232## Output variables. ##
2233## ----------------- ##"
2234    echo
2235    for ac_var in $ac_subst_vars
2236    do
2237      eval ac_val=\$$ac_var
2238      case $ac_val in
2239      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2240      esac
2241      $as_echo "$ac_var='\''$ac_val'\''"
2242    done | sort
2243    echo
2244
2245    if test -n "$ac_subst_files"; then
2246      $as_echo "## ------------------- ##
2247## File substitutions. ##
2248## ------------------- ##"
2249      echo
2250      for ac_var in $ac_subst_files
2251      do
2252	eval ac_val=\$$ac_var
2253	case $ac_val in
2254	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2255	esac
2256	$as_echo "$ac_var='\''$ac_val'\''"
2257      done | sort
2258      echo
2259    fi
2260
2261    if test -s confdefs.h; then
2262      $as_echo "## ----------- ##
2263## confdefs.h. ##
2264## ----------- ##"
2265      echo
2266      cat confdefs.h
2267      echo
2268    fi
2269    test "$ac_signal" != 0 &&
2270      $as_echo "$as_me: caught signal $ac_signal"
2271    $as_echo "$as_me: exit $exit_status"
2272  } >&5
2273  rm -f core *.core core.conftest.* &&
2274    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2275    exit $exit_status
2276' 0
2277for ac_signal in 1 2 13 15; do
2278  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2279done
2280ac_signal=0
2281
2282# confdefs.h avoids OS command line length limits that DEFS can exceed.
2283rm -f -r conftest* confdefs.h
2284
2285$as_echo "/* confdefs.h */" > confdefs.h
2286
2287# Predefined preprocessor variables.
2288
2289cat >>confdefs.h <<_ACEOF
2290#define PACKAGE_NAME "$PACKAGE_NAME"
2291_ACEOF
2292
2293cat >>confdefs.h <<_ACEOF
2294#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2295_ACEOF
2296
2297cat >>confdefs.h <<_ACEOF
2298#define PACKAGE_VERSION "$PACKAGE_VERSION"
2299_ACEOF
2300
2301cat >>confdefs.h <<_ACEOF
2302#define PACKAGE_STRING "$PACKAGE_STRING"
2303_ACEOF
2304
2305cat >>confdefs.h <<_ACEOF
2306#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2307_ACEOF
2308
2309cat >>confdefs.h <<_ACEOF
2310#define PACKAGE_URL "$PACKAGE_URL"
2311_ACEOF
2312
2313
2314# Let the site file select an alternate cache file if it wants to.
2315# Prefer an explicitly selected file to automatically selected ones.
2316ac_site_file1=NONE
2317ac_site_file2=NONE
2318if test -n "$CONFIG_SITE"; then
2319  # We do not want a PATH search for config.site.
2320  case $CONFIG_SITE in #((
2321    -*)  ac_site_file1=./$CONFIG_SITE;;
2322    */*) ac_site_file1=$CONFIG_SITE;;
2323    *)   ac_site_file1=./$CONFIG_SITE;;
2324  esac
2325elif test "x$prefix" != xNONE; then
2326  ac_site_file1=$prefix/share/config.site
2327  ac_site_file2=$prefix/etc/config.site
2328else
2329  ac_site_file1=$ac_default_prefix/share/config.site
2330  ac_site_file2=$ac_default_prefix/etc/config.site
2331fi
2332for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2333do
2334  test "x$ac_site_file" = xNONE && continue
2335  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2336    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2337$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2338    sed 's/^/| /' "$ac_site_file" >&5
2339    . "$ac_site_file" \
2340      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2342as_fn_error $? "failed to load site script $ac_site_file
2343See \`config.log' for more details" "$LINENO" 5; }
2344  fi
2345done
2346
2347if test -r "$cache_file"; then
2348  # Some versions of bash will fail to source /dev/null (special files
2349  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2350  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2351    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2352$as_echo "$as_me: loading cache $cache_file" >&6;}
2353    case $cache_file in
2354      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2355      *)                      . "./$cache_file";;
2356    esac
2357  fi
2358else
2359  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2360$as_echo "$as_me: creating cache $cache_file" >&6;}
2361  >$cache_file
2362fi
2363
2364# Check that the precious variables saved in the cache have kept the same
2365# value.
2366ac_cache_corrupted=false
2367for ac_var in $ac_precious_vars; do
2368  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2369  eval ac_new_set=\$ac_env_${ac_var}_set
2370  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2371  eval ac_new_val=\$ac_env_${ac_var}_value
2372  case $ac_old_set,$ac_new_set in
2373    set,)
2374      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2375$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2376      ac_cache_corrupted=: ;;
2377    ,set)
2378      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2379$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2380      ac_cache_corrupted=: ;;
2381    ,);;
2382    *)
2383      if test "x$ac_old_val" != "x$ac_new_val"; then
2384	# differences in whitespace do not lead to failure.
2385	ac_old_val_w=`echo x $ac_old_val`
2386	ac_new_val_w=`echo x $ac_new_val`
2387	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2388	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2389$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2390	  ac_cache_corrupted=:
2391	else
2392	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2393$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2394	  eval $ac_var=\$ac_old_val
2395	fi
2396	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2397$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2398	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2399$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2400      fi;;
2401  esac
2402  # Pass precious variables to config.status.
2403  if test "$ac_new_set" = set; then
2404    case $ac_new_val in
2405    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2406    *) ac_arg=$ac_var=$ac_new_val ;;
2407    esac
2408    case " $ac_configure_args " in
2409      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2410      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2411    esac
2412  fi
2413done
2414if $ac_cache_corrupted; then
2415  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2416$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2417  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2418$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2419  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2420fi
2421## -------------------- ##
2422## Main body of script. ##
2423## -------------------- ##
2424
2425ac_ext=c
2426ac_cpp='$CPP $CPPFLAGS'
2427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2429ac_compiler_gnu=$ac_cv_c_compiler_gnu
2430
2431
2432
2433ac_aux_dir=
2434for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2435  if test -f "$ac_dir/install-sh"; then
2436    ac_aux_dir=$ac_dir
2437    ac_install_sh="$ac_aux_dir/install-sh -c"
2438    break
2439  elif test -f "$ac_dir/install.sh"; then
2440    ac_aux_dir=$ac_dir
2441    ac_install_sh="$ac_aux_dir/install.sh -c"
2442    break
2443  elif test -f "$ac_dir/shtool"; then
2444    ac_aux_dir=$ac_dir
2445    ac_install_sh="$ac_aux_dir/shtool install -c"
2446    break
2447  fi
2448done
2449if test -z "$ac_aux_dir"; then
2450  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2451fi
2452
2453# These three variables are undocumented and unsupported,
2454# and are intended to be withdrawn in a future Autoconf release.
2455# They can cause serious problems if a builder's source tree is in a directory
2456# whose full name contains unusual characters.
2457ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2458ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2459ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2460
2461
2462# Make sure we can run config.sub.
2463$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2464  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2465
2466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2467$as_echo_n "checking build system type... " >&6; }
2468if ${ac_cv_build+:} false; then :
2469  $as_echo_n "(cached) " >&6
2470else
2471  ac_build_alias=$build_alias
2472test "x$ac_build_alias" = x &&
2473  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2474test "x$ac_build_alias" = x &&
2475  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2476ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2477  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2478
2479fi
2480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2481$as_echo "$ac_cv_build" >&6; }
2482case $ac_cv_build in
2483*-*-*) ;;
2484*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2485esac
2486build=$ac_cv_build
2487ac_save_IFS=$IFS; IFS='-'
2488set x $ac_cv_build
2489shift
2490build_cpu=$1
2491build_vendor=$2
2492shift; shift
2493# Remember, the first character of IFS is used to create $*,
2494# except with old shells:
2495build_os=$*
2496IFS=$ac_save_IFS
2497case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2498
2499
2500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2501$as_echo_n "checking host system type... " >&6; }
2502if ${ac_cv_host+:} false; then :
2503  $as_echo_n "(cached) " >&6
2504else
2505  if test "x$host_alias" = x; then
2506  ac_cv_host=$ac_cv_build
2507else
2508  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2509    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2510fi
2511
2512fi
2513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2514$as_echo "$ac_cv_host" >&6; }
2515case $ac_cv_host in
2516*-*-*) ;;
2517*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2518esac
2519host=$ac_cv_host
2520ac_save_IFS=$IFS; IFS='-'
2521set x $ac_cv_host
2522shift
2523host_cpu=$1
2524host_vendor=$2
2525shift; shift
2526# Remember, the first character of IFS is used to create $*,
2527# except with old shells:
2528host_os=$*
2529IFS=$ac_save_IFS
2530case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2531
2532
2533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2534$as_echo_n "checking target system type... " >&6; }
2535if ${ac_cv_target+:} false; then :
2536  $as_echo_n "(cached) " >&6
2537else
2538  if test "x$target_alias" = x; then
2539  ac_cv_target=$ac_cv_host
2540else
2541  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2542    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2543fi
2544
2545fi
2546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2547$as_echo "$ac_cv_target" >&6; }
2548case $ac_cv_target in
2549*-*-*) ;;
2550*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2551esac
2552target=$ac_cv_target
2553ac_save_IFS=$IFS; IFS='-'
2554set x $ac_cv_target
2555shift
2556target_cpu=$1
2557target_vendor=$2
2558shift; shift
2559# Remember, the first character of IFS is used to create $*,
2560# except with old shells:
2561target_os=$*
2562IFS=$ac_save_IFS
2563case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2564
2565
2566# The aliases save the names the user supplied, while $host etc.
2567# will get canonicalized.
2568test -n "$target_alias" &&
2569  test "$program_prefix$program_suffix$program_transform_name" = \
2570    NONENONEs,x,x, &&
2571  program_prefix=${target_alias}-
2572
2573ac_config_headers="$ac_config_headers config.h"
2574
2575am__api_version='1.15'
2576
2577# Find a good install program.  We prefer a C program (faster),
2578# so one script is as good as another.  But avoid the broken or
2579# incompatible versions:
2580# SysV /etc/install, /usr/sbin/install
2581# SunOS /usr/etc/install
2582# IRIX /sbin/install
2583# AIX /bin/install
2584# AmigaOS /C/install, which installs bootblocks on floppy discs
2585# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2586# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2587# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2588# OS/2's system install, which has a completely different semantic
2589# ./install, which can be erroneously created by make from ./install.sh.
2590# Reject install programs that cannot install multiple files.
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2592$as_echo_n "checking for a BSD-compatible install... " >&6; }
2593if test -z "$INSTALL"; then
2594if ${ac_cv_path_install+:} false; then :
2595  $as_echo_n "(cached) " >&6
2596else
2597  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598for as_dir in $PATH
2599do
2600  IFS=$as_save_IFS
2601  test -z "$as_dir" && as_dir=.
2602    # Account for people who put trailing slashes in PATH elements.
2603case $as_dir/ in #((
2604  ./ | .// | /[cC]/* | \
2605  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2606  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2607  /usr/ucb/* ) ;;
2608  *)
2609    # OSF1 and SCO ODT 3.0 have their own names for install.
2610    # Don't use installbsd from OSF since it installs stuff as root
2611    # by default.
2612    for ac_prog in ginstall scoinst install; do
2613      for ac_exec_ext in '' $ac_executable_extensions; do
2614	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2615	  if test $ac_prog = install &&
2616	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2617	    # AIX install.  It has an incompatible calling convention.
2618	    :
2619	  elif test $ac_prog = install &&
2620	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2621	    # program-specific install script used by HP pwplus--don't use.
2622	    :
2623	  else
2624	    rm -rf conftest.one conftest.two conftest.dir
2625	    echo one > conftest.one
2626	    echo two > conftest.two
2627	    mkdir conftest.dir
2628	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2629	      test -s conftest.one && test -s conftest.two &&
2630	      test -s conftest.dir/conftest.one &&
2631	      test -s conftest.dir/conftest.two
2632	    then
2633	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2634	      break 3
2635	    fi
2636	  fi
2637	fi
2638      done
2639    done
2640    ;;
2641esac
2642
2643  done
2644IFS=$as_save_IFS
2645
2646rm -rf conftest.one conftest.two conftest.dir
2647
2648fi
2649  if test "${ac_cv_path_install+set}" = set; then
2650    INSTALL=$ac_cv_path_install
2651  else
2652    # As a last resort, use the slow shell script.  Don't cache a
2653    # value for INSTALL within a source directory, because that will
2654    # break other packages using the cache if that directory is
2655    # removed, or if the value is a relative name.
2656    INSTALL=$ac_install_sh
2657  fi
2658fi
2659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2660$as_echo "$INSTALL" >&6; }
2661
2662# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2663# It thinks the first close brace ends the variable substitution.
2664test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2665
2666test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2667
2668test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2669
2670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2671$as_echo_n "checking whether build environment is sane... " >&6; }
2672# Reject unsafe characters in $srcdir or the absolute working directory
2673# name.  Accept space and tab only in the latter.
2674am_lf='
2675'
2676case `pwd` in
2677  *[\\\"\#\$\&\'\`$am_lf]*)
2678    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2679esac
2680case $srcdir in
2681  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2682    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2683esac
2684
2685# Do 'set' in a subshell so we don't clobber the current shell's
2686# arguments.  Must try -L first in case configure is actually a
2687# symlink; some systems play weird games with the mod time of symlinks
2688# (eg FreeBSD returns the mod time of the symlink's containing
2689# directory).
2690if (
2691   am_has_slept=no
2692   for am_try in 1 2; do
2693     echo "timestamp, slept: $am_has_slept" > conftest.file
2694     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2695     if test "$*" = "X"; then
2696	# -L didn't work.
2697	set X `ls -t "$srcdir/configure" conftest.file`
2698     fi
2699     if test "$*" != "X $srcdir/configure conftest.file" \
2700	&& test "$*" != "X conftest.file $srcdir/configure"; then
2701
2702	# If neither matched, then we have a broken ls.  This can happen
2703	# if, for instance, CONFIG_SHELL is bash and it inherits a
2704	# broken ls alias from the environment.  This has actually
2705	# happened.  Such a system could not be considered "sane".
2706	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2707  alias in your environment" "$LINENO" 5
2708     fi
2709     if test "$2" = conftest.file || test $am_try -eq 2; then
2710       break
2711     fi
2712     # Just in case.
2713     sleep 1
2714     am_has_slept=yes
2715   done
2716   test "$2" = conftest.file
2717   )
2718then
2719   # Ok.
2720   :
2721else
2722   as_fn_error $? "newly created file is older than distributed files!
2723Check your system clock" "$LINENO" 5
2724fi
2725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2726$as_echo "yes" >&6; }
2727# If we didn't sleep, we still need to ensure time stamps of config.status and
2728# generated files are strictly newer.
2729am_sleep_pid=
2730if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2731  ( sleep 1 ) &
2732  am_sleep_pid=$!
2733fi
2734
2735rm -f conftest.file
2736
2737test "$program_prefix" != NONE &&
2738  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2739# Use a double $ so make ignores it.
2740test "$program_suffix" != NONE &&
2741  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2742# Double any \ or $.
2743# By default was `s,x,x', remove it if useless.
2744ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2745program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2746
2747# Expand $ac_aux_dir to an absolute path.
2748am_aux_dir=`cd "$ac_aux_dir" && pwd`
2749
2750if test x"${MISSING+set}" != xset; then
2751  case $am_aux_dir in
2752  *\ * | *\	*)
2753    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2754  *)
2755    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2756  esac
2757fi
2758# Use eval to expand $SHELL
2759if eval "$MISSING --is-lightweight"; then
2760  am_missing_run="$MISSING "
2761else
2762  am_missing_run=
2763  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2764$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2765fi
2766
2767if test x"${install_sh+set}" != xset; then
2768  case $am_aux_dir in
2769  *\ * | *\	*)
2770    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2771  *)
2772    install_sh="\${SHELL} $am_aux_dir/install-sh"
2773  esac
2774fi
2775
2776# Installed binaries are usually stripped using 'strip' when the user
2777# run "make install-strip".  However 'strip' might not be the right
2778# tool to use in cross-compilation environments, therefore Automake
2779# will honor the 'STRIP' environment variable to overrule this program.
2780if test "$cross_compiling" != no; then
2781  if test -n "$ac_tool_prefix"; then
2782  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2783set dummy ${ac_tool_prefix}strip; ac_word=$2
2784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785$as_echo_n "checking for $ac_word... " >&6; }
2786if ${ac_cv_prog_STRIP+:} false; then :
2787  $as_echo_n "(cached) " >&6
2788else
2789  if test -n "$STRIP"; then
2790  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2791else
2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793for as_dir in $PATH
2794do
2795  IFS=$as_save_IFS
2796  test -z "$as_dir" && as_dir=.
2797    for ac_exec_ext in '' $ac_executable_extensions; do
2798  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2799    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2800    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2801    break 2
2802  fi
2803done
2804  done
2805IFS=$as_save_IFS
2806
2807fi
2808fi
2809STRIP=$ac_cv_prog_STRIP
2810if test -n "$STRIP"; then
2811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2812$as_echo "$STRIP" >&6; }
2813else
2814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2815$as_echo "no" >&6; }
2816fi
2817
2818
2819fi
2820if test -z "$ac_cv_prog_STRIP"; then
2821  ac_ct_STRIP=$STRIP
2822  # Extract the first word of "strip", so it can be a program name with args.
2823set dummy strip; ac_word=$2
2824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825$as_echo_n "checking for $ac_word... " >&6; }
2826if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2827  $as_echo_n "(cached) " >&6
2828else
2829  if test -n "$ac_ct_STRIP"; then
2830  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2831else
2832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833for as_dir in $PATH
2834do
2835  IFS=$as_save_IFS
2836  test -z "$as_dir" && as_dir=.
2837    for ac_exec_ext in '' $ac_executable_extensions; do
2838  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839    ac_cv_prog_ac_ct_STRIP="strip"
2840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2841    break 2
2842  fi
2843done
2844  done
2845IFS=$as_save_IFS
2846
2847fi
2848fi
2849ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2850if test -n "$ac_ct_STRIP"; then
2851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2852$as_echo "$ac_ct_STRIP" >&6; }
2853else
2854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855$as_echo "no" >&6; }
2856fi
2857
2858  if test "x$ac_ct_STRIP" = x; then
2859    STRIP=":"
2860  else
2861    case $cross_compiling:$ac_tool_warned in
2862yes:)
2863{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2864$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2865ac_tool_warned=yes ;;
2866esac
2867    STRIP=$ac_ct_STRIP
2868  fi
2869else
2870  STRIP="$ac_cv_prog_STRIP"
2871fi
2872
2873fi
2874INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2875
2876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2877$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2878if test -z "$MKDIR_P"; then
2879  if ${ac_cv_path_mkdir+:} false; then :
2880  $as_echo_n "(cached) " >&6
2881else
2882  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2883for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2884do
2885  IFS=$as_save_IFS
2886  test -z "$as_dir" && as_dir=.
2887    for ac_prog in mkdir gmkdir; do
2888	 for ac_exec_ext in '' $ac_executable_extensions; do
2889	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2890	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2891	     'mkdir (GNU coreutils) '* | \
2892	     'mkdir (coreutils) '* | \
2893	     'mkdir (fileutils) '4.1*)
2894	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2895	       break 3;;
2896	   esac
2897	 done
2898       done
2899  done
2900IFS=$as_save_IFS
2901
2902fi
2903
2904  test -d ./--version && rmdir ./--version
2905  if test "${ac_cv_path_mkdir+set}" = set; then
2906    MKDIR_P="$ac_cv_path_mkdir -p"
2907  else
2908    # As a last resort, use the slow shell script.  Don't cache a
2909    # value for MKDIR_P within a source directory, because that will
2910    # break other packages using the cache if that directory is
2911    # removed, or if the value is a relative name.
2912    MKDIR_P="$ac_install_sh -d"
2913  fi
2914fi
2915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2916$as_echo "$MKDIR_P" >&6; }
2917
2918for ac_prog in gawk mawk nawk awk
2919do
2920  # Extract the first word of "$ac_prog", so it can be a program name with args.
2921set dummy $ac_prog; ac_word=$2
2922{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923$as_echo_n "checking for $ac_word... " >&6; }
2924if ${ac_cv_prog_AWK+:} false; then :
2925  $as_echo_n "(cached) " >&6
2926else
2927  if test -n "$AWK"; then
2928  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2929else
2930as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931for as_dir in $PATH
2932do
2933  IFS=$as_save_IFS
2934  test -z "$as_dir" && as_dir=.
2935    for ac_exec_ext in '' $ac_executable_extensions; do
2936  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937    ac_cv_prog_AWK="$ac_prog"
2938    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2939    break 2
2940  fi
2941done
2942  done
2943IFS=$as_save_IFS
2944
2945fi
2946fi
2947AWK=$ac_cv_prog_AWK
2948if test -n "$AWK"; then
2949  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2950$as_echo "$AWK" >&6; }
2951else
2952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953$as_echo "no" >&6; }
2954fi
2955
2956
2957  test -n "$AWK" && break
2958done
2959
2960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2961$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2962set x ${MAKE-make}
2963ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2964if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2965  $as_echo_n "(cached) " >&6
2966else
2967  cat >conftest.make <<\_ACEOF
2968SHELL = /bin/sh
2969all:
2970	@echo '@@@%%%=$(MAKE)=@@@%%%'
2971_ACEOF
2972# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2973case `${MAKE-make} -f conftest.make 2>/dev/null` in
2974  *@@@%%%=?*=@@@%%%*)
2975    eval ac_cv_prog_make_${ac_make}_set=yes;;
2976  *)
2977    eval ac_cv_prog_make_${ac_make}_set=no;;
2978esac
2979rm -f conftest.make
2980fi
2981if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2983$as_echo "yes" >&6; }
2984  SET_MAKE=
2985else
2986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2987$as_echo "no" >&6; }
2988  SET_MAKE="MAKE=${MAKE-make}"
2989fi
2990
2991rm -rf .tst 2>/dev/null
2992mkdir .tst 2>/dev/null
2993if test -d .tst; then
2994  am__leading_dot=.
2995else
2996  am__leading_dot=_
2997fi
2998rmdir .tst 2>/dev/null
2999
3000# Check whether --enable-silent-rules was given.
3001if test "${enable_silent_rules+set}" = set; then :
3002  enableval=$enable_silent_rules;
3003fi
3004
3005case $enable_silent_rules in # (((
3006  yes) AM_DEFAULT_VERBOSITY=0;;
3007   no) AM_DEFAULT_VERBOSITY=1;;
3008    *) AM_DEFAULT_VERBOSITY=1;;
3009esac
3010am_make=${MAKE-make}
3011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3012$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3013if ${am_cv_make_support_nested_variables+:} false; then :
3014  $as_echo_n "(cached) " >&6
3015else
3016  if $as_echo 'TRUE=$(BAR$(V))
3017BAR0=false
3018BAR1=true
3019V=1
3020am__doit:
3021	@$(TRUE)
3022.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3023  am_cv_make_support_nested_variables=yes
3024else
3025  am_cv_make_support_nested_variables=no
3026fi
3027fi
3028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3029$as_echo "$am_cv_make_support_nested_variables" >&6; }
3030if test $am_cv_make_support_nested_variables = yes; then
3031    AM_V='$(V)'
3032  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3033else
3034  AM_V=$AM_DEFAULT_VERBOSITY
3035  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3036fi
3037AM_BACKSLASH='\'
3038
3039if test "`cd $srcdir && pwd`" != "`pwd`"; then
3040  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3041  # is not polluted with repeated "-I."
3042  am__isrc=' -I$(srcdir)'
3043  # test to see if srcdir already configured
3044  if test -f $srcdir/config.status; then
3045    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3046  fi
3047fi
3048
3049# test whether we have cygpath
3050if test -z "$CYGPATH_W"; then
3051  if (cygpath --version) >/dev/null 2>/dev/null; then
3052    CYGPATH_W='cygpath -w'
3053  else
3054    CYGPATH_W=echo
3055  fi
3056fi
3057
3058
3059# Define the identity of the package.
3060 PACKAGE='gtk-sharp'
3061 VERSION='2.12.45'
3062
3063
3064cat >>confdefs.h <<_ACEOF
3065#define PACKAGE "$PACKAGE"
3066_ACEOF
3067
3068
3069cat >>confdefs.h <<_ACEOF
3070#define VERSION "$VERSION"
3071_ACEOF
3072
3073# Some tools Automake needs.
3074
3075ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3076
3077
3078AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3079
3080
3081AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3082
3083
3084AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3085
3086
3087MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3088
3089# For better backward compatibility.  To be removed once Automake 1.9.x
3090# dies out for good.  For more background, see:
3091# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3092# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3093mkdir_p='$(MKDIR_P)'
3094
3095# We need awk for the "check" target (and possibly the TAP driver).  The
3096# system "awk" is bad on some platforms.
3097# Always define AMTAR for backward compatibility.  Yes, it's still used
3098# in the wild :-(  We should find a proper way to deprecate it ...
3099AMTAR='$${TAR-tar}'
3100
3101
3102# We'll loop over all known methods to create a tar archive until one works.
3103_am_tools='gnutar  pax cpio none'
3104
3105am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3106
3107
3108
3109
3110
3111
3112# POSIX will say in a future version that running "rm -f" with no argument
3113# is OK; and we want to be able to make that assumption in our Makefile
3114# recipes.  So use an aggressive probe to check that the usage we want is
3115# actually supported "in the wild" to an acceptable degree.
3116# See automake bug#10828.
3117# To make any issue more visible, cause the running configure to be aborted
3118# by default if the 'rm' program in use doesn't match our expectations; the
3119# user can still override this though.
3120if rm -f && rm -fr && rm -rf; then : OK; else
3121  cat >&2 <<'END'
3122Oops!
3123
3124Your 'rm' program seems unable to run without file operands specified
3125on the command line, even when the '-f' option is present.  This is contrary
3126to the behaviour of most rm programs out there, and not conforming with
3127the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3128
3129Please tell bug-automake@gnu.org about your system, including the value
3130of your $PATH and any error possibly output before this message.  This
3131can help us improve future automake versions.
3132
3133END
3134  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3135    echo 'Configuration will proceed anyway, since you have set the' >&2
3136    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3137    echo >&2
3138  else
3139    cat >&2 <<'END'
3140Aborting the configuration process, to ensure you take notice of the issue.
3141
3142You can download and install GNU coreutils to get an 'rm' implementation
3143that behaves properly: <http://www.gnu.org/software/coreutils/>.
3144
3145If you want to complete the configuration process using your problematic
3146'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3147to "yes", and re-run configure.
3148
3149END
3150    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3151  fi
3152fi
3153
3154
3155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3156$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3157    # Check whether --enable-maintainer-mode was given.
3158if test "${enable_maintainer_mode+set}" = set; then :
3159  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3160else
3161  USE_MAINTAINER_MODE=no
3162fi
3163
3164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3165$as_echo "$USE_MAINTAINER_MODE" >&6; }
3166   if test $USE_MAINTAINER_MODE = yes; then
3167  MAINTAINER_MODE_TRUE=
3168  MAINTAINER_MODE_FALSE='#'
3169else
3170  MAINTAINER_MODE_TRUE='#'
3171  MAINTAINER_MODE_FALSE=
3172fi
3173
3174  MAINT=$MAINTAINER_MODE_TRUE
3175
3176
3177
3178API_VERSION=2.12.0.0
3179
3180POLICY_VERSIONS="2.4 2.6 2.8 2.10"
3181
3182
3183PACKAGE_VERSION=gtk-sharp-2.0
3184
3185
3186WIN64DEFINES=
3187
3188case "$host" in
3189	x86_64-*-mingw*|x86_64-*-cygwin*)
3190		WIN64DEFINES="-define:WIN64LONGS"
3191		platform_win32=yes
3192
3193$as_echo "#define PLATFORM_WIN32 1" >>confdefs.h
3194
3195		if test "x$cross_compiling" = "xno"; then
3196			CC="gcc -g"
3197			HOST_CC="gcc"
3198		fi
3199		;;
3200	*-*-mingw*|*-*-cygwin*)
3201		platform_win32=yes
3202
3203$as_echo "#define PLATFORM_WIN32 1" >>confdefs.h
3204
3205		if test "x$cross_compiling" = "xno"; then
3206			CC="gcc -g"
3207			HOST_CC="gcc"
3208		fi
3209		;;
3210	*)
3211		platform_win32=no
3212		;;
3213esac
3214
3215 if test x$platform_win32 = xyes; then
3216  PLATFORM_WIN32_TRUE=
3217  PLATFORM_WIN32_FALSE='#'
3218else
3219  PLATFORM_WIN32_TRUE='#'
3220  PLATFORM_WIN32_FALSE=
3221fi
3222
3223
3224if test -n "$ac_tool_prefix"; then
3225  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3226set dummy ${ac_tool_prefix}gcc; ac_word=$2
3227{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3228$as_echo_n "checking for $ac_word... " >&6; }
3229if ${ac_cv_prog_CC+:} false; then :
3230  $as_echo_n "(cached) " >&6
3231else
3232  if test -n "$CC"; then
3233  ac_cv_prog_CC="$CC" # Let the user override the test.
3234else
3235as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3236for as_dir in $PATH
3237do
3238  IFS=$as_save_IFS
3239  test -z "$as_dir" && as_dir=.
3240    for ac_exec_ext in '' $ac_executable_extensions; do
3241  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3242    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3243    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244    break 2
3245  fi
3246done
3247  done
3248IFS=$as_save_IFS
3249
3250fi
3251fi
3252CC=$ac_cv_prog_CC
3253if test -n "$CC"; then
3254  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3255$as_echo "$CC" >&6; }
3256else
3257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3258$as_echo "no" >&6; }
3259fi
3260
3261
3262fi
3263if test -z "$ac_cv_prog_CC"; then
3264  ac_ct_CC=$CC
3265  # Extract the first word of "gcc", so it can be a program name with args.
3266set dummy gcc; ac_word=$2
3267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3268$as_echo_n "checking for $ac_word... " >&6; }
3269if ${ac_cv_prog_ac_ct_CC+:} false; then :
3270  $as_echo_n "(cached) " >&6
3271else
3272  if test -n "$ac_ct_CC"; then
3273  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3274else
3275as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3276for as_dir in $PATH
3277do
3278  IFS=$as_save_IFS
3279  test -z "$as_dir" && as_dir=.
3280    for ac_exec_ext in '' $ac_executable_extensions; do
3281  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3282    ac_cv_prog_ac_ct_CC="gcc"
3283    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3284    break 2
3285  fi
3286done
3287  done
3288IFS=$as_save_IFS
3289
3290fi
3291fi
3292ac_ct_CC=$ac_cv_prog_ac_ct_CC
3293if test -n "$ac_ct_CC"; then
3294  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3295$as_echo "$ac_ct_CC" >&6; }
3296else
3297  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3298$as_echo "no" >&6; }
3299fi
3300
3301  if test "x$ac_ct_CC" = x; then
3302    CC="gcc"
3303  else
3304    case $cross_compiling:$ac_tool_warned in
3305yes:)
3306{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3307$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3308ac_tool_warned=yes ;;
3309esac
3310    CC=$ac_ct_CC
3311  fi
3312else
3313  CC="$ac_cv_prog_CC"
3314fi
3315
3316ac_ext=c
3317ac_cpp='$CPP $CPPFLAGS'
3318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321if test -n "$ac_tool_prefix"; then
3322  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3323set dummy ${ac_tool_prefix}gcc; ac_word=$2
3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3325$as_echo_n "checking for $ac_word... " >&6; }
3326if ${ac_cv_prog_CC+:} false; then :
3327  $as_echo_n "(cached) " >&6
3328else
3329  if test -n "$CC"; then
3330  ac_cv_prog_CC="$CC" # Let the user override the test.
3331else
3332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333for as_dir in $PATH
3334do
3335  IFS=$as_save_IFS
3336  test -z "$as_dir" && as_dir=.
3337    for ac_exec_ext in '' $ac_executable_extensions; do
3338  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3341    break 2
3342  fi
3343done
3344  done
3345IFS=$as_save_IFS
3346
3347fi
3348fi
3349CC=$ac_cv_prog_CC
3350if test -n "$CC"; then
3351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3352$as_echo "$CC" >&6; }
3353else
3354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3355$as_echo "no" >&6; }
3356fi
3357
3358
3359fi
3360if test -z "$ac_cv_prog_CC"; then
3361  ac_ct_CC=$CC
3362  # Extract the first word of "gcc", so it can be a program name with args.
3363set dummy gcc; ac_word=$2
3364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3365$as_echo_n "checking for $ac_word... " >&6; }
3366if ${ac_cv_prog_ac_ct_CC+:} false; then :
3367  $as_echo_n "(cached) " >&6
3368else
3369  if test -n "$ac_ct_CC"; then
3370  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3371else
3372as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373for as_dir in $PATH
3374do
3375  IFS=$as_save_IFS
3376  test -z "$as_dir" && as_dir=.
3377    for ac_exec_ext in '' $ac_executable_extensions; do
3378  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379    ac_cv_prog_ac_ct_CC="gcc"
3380    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3381    break 2
3382  fi
3383done
3384  done
3385IFS=$as_save_IFS
3386
3387fi
3388fi
3389ac_ct_CC=$ac_cv_prog_ac_ct_CC
3390if test -n "$ac_ct_CC"; then
3391  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3392$as_echo "$ac_ct_CC" >&6; }
3393else
3394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3395$as_echo "no" >&6; }
3396fi
3397
3398  if test "x$ac_ct_CC" = x; then
3399    CC=""
3400  else
3401    case $cross_compiling:$ac_tool_warned in
3402yes:)
3403{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3404$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3405ac_tool_warned=yes ;;
3406esac
3407    CC=$ac_ct_CC
3408  fi
3409else
3410  CC="$ac_cv_prog_CC"
3411fi
3412
3413if test -z "$CC"; then
3414          if test -n "$ac_tool_prefix"; then
3415    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3416set dummy ${ac_tool_prefix}cc; ac_word=$2
3417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3418$as_echo_n "checking for $ac_word... " >&6; }
3419if ${ac_cv_prog_CC+:} false; then :
3420  $as_echo_n "(cached) " >&6
3421else
3422  if test -n "$CC"; then
3423  ac_cv_prog_CC="$CC" # Let the user override the test.
3424else
3425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3426for as_dir in $PATH
3427do
3428  IFS=$as_save_IFS
3429  test -z "$as_dir" && as_dir=.
3430    for ac_exec_ext in '' $ac_executable_extensions; do
3431  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3432    ac_cv_prog_CC="${ac_tool_prefix}cc"
3433    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3434    break 2
3435  fi
3436done
3437  done
3438IFS=$as_save_IFS
3439
3440fi
3441fi
3442CC=$ac_cv_prog_CC
3443if test -n "$CC"; then
3444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3445$as_echo "$CC" >&6; }
3446else
3447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448$as_echo "no" >&6; }
3449fi
3450
3451
3452  fi
3453fi
3454if test -z "$CC"; then
3455  # Extract the first word of "cc", so it can be a program name with args.
3456set dummy cc; ac_word=$2
3457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3458$as_echo_n "checking for $ac_word... " >&6; }
3459if ${ac_cv_prog_CC+:} false; then :
3460  $as_echo_n "(cached) " >&6
3461else
3462  if test -n "$CC"; then
3463  ac_cv_prog_CC="$CC" # Let the user override the test.
3464else
3465  ac_prog_rejected=no
3466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3467for as_dir in $PATH
3468do
3469  IFS=$as_save_IFS
3470  test -z "$as_dir" && as_dir=.
3471    for ac_exec_ext in '' $ac_executable_extensions; do
3472  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3473    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3474       ac_prog_rejected=yes
3475       continue
3476     fi
3477    ac_cv_prog_CC="cc"
3478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479    break 2
3480  fi
3481done
3482  done
3483IFS=$as_save_IFS
3484
3485if test $ac_prog_rejected = yes; then
3486  # We found a bogon in the path, so make sure we never use it.
3487  set dummy $ac_cv_prog_CC
3488  shift
3489  if test $# != 0; then
3490    # We chose a different compiler from the bogus one.
3491    # However, it has the same basename, so the bogon will be chosen
3492    # first if we set CC to just the basename; use the full file name.
3493    shift
3494    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3495  fi
3496fi
3497fi
3498fi
3499CC=$ac_cv_prog_CC
3500if test -n "$CC"; then
3501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3502$as_echo "$CC" >&6; }
3503else
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3505$as_echo "no" >&6; }
3506fi
3507
3508
3509fi
3510if test -z "$CC"; then
3511  if test -n "$ac_tool_prefix"; then
3512  for ac_prog in cl.exe
3513  do
3514    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3515set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3517$as_echo_n "checking for $ac_word... " >&6; }
3518if ${ac_cv_prog_CC+:} false; then :
3519  $as_echo_n "(cached) " >&6
3520else
3521  if test -n "$CC"; then
3522  ac_cv_prog_CC="$CC" # Let the user override the test.
3523else
3524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525for as_dir in $PATH
3526do
3527  IFS=$as_save_IFS
3528  test -z "$as_dir" && as_dir=.
3529    for ac_exec_ext in '' $ac_executable_extensions; do
3530  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3531    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3533    break 2
3534  fi
3535done
3536  done
3537IFS=$as_save_IFS
3538
3539fi
3540fi
3541CC=$ac_cv_prog_CC
3542if test -n "$CC"; then
3543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3544$as_echo "$CC" >&6; }
3545else
3546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3547$as_echo "no" >&6; }
3548fi
3549
3550
3551    test -n "$CC" && break
3552  done
3553fi
3554if test -z "$CC"; then
3555  ac_ct_CC=$CC
3556  for ac_prog in cl.exe
3557do
3558  # Extract the first word of "$ac_prog", so it can be a program name with args.
3559set dummy $ac_prog; ac_word=$2
3560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561$as_echo_n "checking for $ac_word... " >&6; }
3562if ${ac_cv_prog_ac_ct_CC+:} false; then :
3563  $as_echo_n "(cached) " >&6
3564else
3565  if test -n "$ac_ct_CC"; then
3566  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3567else
3568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569for as_dir in $PATH
3570do
3571  IFS=$as_save_IFS
3572  test -z "$as_dir" && as_dir=.
3573    for ac_exec_ext in '' $ac_executable_extensions; do
3574  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575    ac_cv_prog_ac_ct_CC="$ac_prog"
3576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577    break 2
3578  fi
3579done
3580  done
3581IFS=$as_save_IFS
3582
3583fi
3584fi
3585ac_ct_CC=$ac_cv_prog_ac_ct_CC
3586if test -n "$ac_ct_CC"; then
3587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3588$as_echo "$ac_ct_CC" >&6; }
3589else
3590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591$as_echo "no" >&6; }
3592fi
3593
3594
3595  test -n "$ac_ct_CC" && break
3596done
3597
3598  if test "x$ac_ct_CC" = x; then
3599    CC=""
3600  else
3601    case $cross_compiling:$ac_tool_warned in
3602yes:)
3603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3605ac_tool_warned=yes ;;
3606esac
3607    CC=$ac_ct_CC
3608  fi
3609fi
3610
3611fi
3612
3613
3614test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616as_fn_error $? "no acceptable C compiler found in \$PATH
3617See \`config.log' for more details" "$LINENO" 5; }
3618
3619# Provide some information about the compiler.
3620$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3621set X $ac_compile
3622ac_compiler=$2
3623for ac_option in --version -v -V -qversion; do
3624  { { ac_try="$ac_compiler $ac_option >&5"
3625case "(($ac_try" in
3626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627  *) ac_try_echo=$ac_try;;
3628esac
3629eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3630$as_echo "$ac_try_echo"; } >&5
3631  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3632  ac_status=$?
3633  if test -s conftest.err; then
3634    sed '10a\
3635... rest of stderr output deleted ...
3636         10q' conftest.err >conftest.er1
3637    cat conftest.er1 >&5
3638  fi
3639  rm -f conftest.er1 conftest.err
3640  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3641  test $ac_status = 0; }
3642done
3643
3644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645/* end confdefs.h.  */
3646
3647int
3648main ()
3649{
3650
3651  ;
3652  return 0;
3653}
3654_ACEOF
3655ac_clean_files_save=$ac_clean_files
3656ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3657# Try to create an executable without -o first, disregard a.out.
3658# It will help us diagnose broken compilers, and finding out an intuition
3659# of exeext.
3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3661$as_echo_n "checking whether the C compiler works... " >&6; }
3662ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3663
3664# The possible output files:
3665ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3666
3667ac_rmfiles=
3668for ac_file in $ac_files
3669do
3670  case $ac_file in
3671    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3672    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3673  esac
3674done
3675rm -f $ac_rmfiles
3676
3677if { { ac_try="$ac_link_default"
3678case "(($ac_try" in
3679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680  *) ac_try_echo=$ac_try;;
3681esac
3682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3683$as_echo "$ac_try_echo"; } >&5
3684  (eval "$ac_link_default") 2>&5
3685  ac_status=$?
3686  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3687  test $ac_status = 0; }; then :
3688  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3689# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3690# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3691# so that the user can short-circuit this test for compilers unknown to
3692# Autoconf.
3693for ac_file in $ac_files ''
3694do
3695  test -f "$ac_file" || continue
3696  case $ac_file in
3697    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3698	;;
3699    [ab].out )
3700	# We found the default executable, but exeext='' is most
3701	# certainly right.
3702	break;;
3703    *.* )
3704	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3705	then :; else
3706	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3707	fi
3708	# We set ac_cv_exeext here because the later test for it is not
3709	# safe: cross compilers may not add the suffix if given an `-o'
3710	# argument, so we may need to know it at that point already.
3711	# Even if this section looks crufty: it has the advantage of
3712	# actually working.
3713	break;;
3714    * )
3715	break;;
3716  esac
3717done
3718test "$ac_cv_exeext" = no && ac_cv_exeext=
3719
3720else
3721  ac_file=''
3722fi
3723if test -z "$ac_file"; then :
3724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725$as_echo "no" >&6; }
3726$as_echo "$as_me: failed program was:" >&5
3727sed 's/^/| /' conftest.$ac_ext >&5
3728
3729{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3730$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3731as_fn_error 77 "C compiler cannot create executables
3732See \`config.log' for more details" "$LINENO" 5; }
3733else
3734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3735$as_echo "yes" >&6; }
3736fi
3737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3738$as_echo_n "checking for C compiler default output file name... " >&6; }
3739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3740$as_echo "$ac_file" >&6; }
3741ac_exeext=$ac_cv_exeext
3742
3743rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3744ac_clean_files=$ac_clean_files_save
3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3746$as_echo_n "checking for suffix of executables... " >&6; }
3747if { { ac_try="$ac_link"
3748case "(($ac_try" in
3749  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3750  *) ac_try_echo=$ac_try;;
3751esac
3752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3753$as_echo "$ac_try_echo"; } >&5
3754  (eval "$ac_link") 2>&5
3755  ac_status=$?
3756  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3757  test $ac_status = 0; }; then :
3758  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3759# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3760# work properly (i.e., refer to `conftest.exe'), while it won't with
3761# `rm'.
3762for ac_file in conftest.exe conftest conftest.*; do
3763  test -f "$ac_file" || continue
3764  case $ac_file in
3765    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3766    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3767	  break;;
3768    * ) break;;
3769  esac
3770done
3771else
3772  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3773$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3774as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3775See \`config.log' for more details" "$LINENO" 5; }
3776fi
3777rm -f conftest conftest$ac_cv_exeext
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3779$as_echo "$ac_cv_exeext" >&6; }
3780
3781rm -f conftest.$ac_ext
3782EXEEXT=$ac_cv_exeext
3783ac_exeext=$EXEEXT
3784cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3785/* end confdefs.h.  */
3786#include <stdio.h>
3787int
3788main ()
3789{
3790FILE *f = fopen ("conftest.out", "w");
3791 return ferror (f) || fclose (f) != 0;
3792
3793  ;
3794  return 0;
3795}
3796_ACEOF
3797ac_clean_files="$ac_clean_files conftest.out"
3798# Check that the compiler produces executables we can run.  If not, either
3799# the compiler is broken, or we cross compile.
3800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3801$as_echo_n "checking whether we are cross compiling... " >&6; }
3802if test "$cross_compiling" != yes; then
3803  { { ac_try="$ac_link"
3804case "(($ac_try" in
3805  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3806  *) ac_try_echo=$ac_try;;
3807esac
3808eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809$as_echo "$ac_try_echo"; } >&5
3810  (eval "$ac_link") 2>&5
3811  ac_status=$?
3812  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813  test $ac_status = 0; }
3814  if { ac_try='./conftest$ac_cv_exeext'
3815  { { case "(($ac_try" in
3816  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3817  *) ac_try_echo=$ac_try;;
3818esac
3819eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3820$as_echo "$ac_try_echo"; } >&5
3821  (eval "$ac_try") 2>&5
3822  ac_status=$?
3823  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3824  test $ac_status = 0; }; }; then
3825    cross_compiling=no
3826  else
3827    if test "$cross_compiling" = maybe; then
3828	cross_compiling=yes
3829    else
3830	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3832as_fn_error $? "cannot run C compiled programs.
3833If you meant to cross compile, use \`--host'.
3834See \`config.log' for more details" "$LINENO" 5; }
3835    fi
3836  fi
3837fi
3838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3839$as_echo "$cross_compiling" >&6; }
3840
3841rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3842ac_clean_files=$ac_clean_files_save
3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3844$as_echo_n "checking for suffix of object files... " >&6; }
3845if ${ac_cv_objext+:} false; then :
3846  $as_echo_n "(cached) " >&6
3847else
3848  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849/* end confdefs.h.  */
3850
3851int
3852main ()
3853{
3854
3855  ;
3856  return 0;
3857}
3858_ACEOF
3859rm -f conftest.o conftest.obj
3860if { { ac_try="$ac_compile"
3861case "(($ac_try" in
3862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863  *) ac_try_echo=$ac_try;;
3864esac
3865eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866$as_echo "$ac_try_echo"; } >&5
3867  (eval "$ac_compile") 2>&5
3868  ac_status=$?
3869  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3870  test $ac_status = 0; }; then :
3871  for ac_file in conftest.o conftest.obj conftest.*; do
3872  test -f "$ac_file" || continue;
3873  case $ac_file in
3874    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3875    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3876       break;;
3877  esac
3878done
3879else
3880  $as_echo "$as_me: failed program was:" >&5
3881sed 's/^/| /' conftest.$ac_ext >&5
3882
3883{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3884$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3885as_fn_error $? "cannot compute suffix of object files: cannot compile
3886See \`config.log' for more details" "$LINENO" 5; }
3887fi
3888rm -f conftest.$ac_cv_objext conftest.$ac_ext
3889fi
3890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3891$as_echo "$ac_cv_objext" >&6; }
3892OBJEXT=$ac_cv_objext
3893ac_objext=$OBJEXT
3894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3895$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3896if ${ac_cv_c_compiler_gnu+:} false; then :
3897  $as_echo_n "(cached) " >&6
3898else
3899  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900/* end confdefs.h.  */
3901
3902int
3903main ()
3904{
3905#ifndef __GNUC__
3906       choke me
3907#endif
3908
3909  ;
3910  return 0;
3911}
3912_ACEOF
3913if ac_fn_c_try_compile "$LINENO"; then :
3914  ac_compiler_gnu=yes
3915else
3916  ac_compiler_gnu=no
3917fi
3918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3919ac_cv_c_compiler_gnu=$ac_compiler_gnu
3920
3921fi
3922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3923$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3924if test $ac_compiler_gnu = yes; then
3925  GCC=yes
3926else
3927  GCC=
3928fi
3929ac_test_CFLAGS=${CFLAGS+set}
3930ac_save_CFLAGS=$CFLAGS
3931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3932$as_echo_n "checking whether $CC accepts -g... " >&6; }
3933if ${ac_cv_prog_cc_g+:} false; then :
3934  $as_echo_n "(cached) " >&6
3935else
3936  ac_save_c_werror_flag=$ac_c_werror_flag
3937   ac_c_werror_flag=yes
3938   ac_cv_prog_cc_g=no
3939   CFLAGS="-g"
3940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3941/* end confdefs.h.  */
3942
3943int
3944main ()
3945{
3946
3947  ;
3948  return 0;
3949}
3950_ACEOF
3951if ac_fn_c_try_compile "$LINENO"; then :
3952  ac_cv_prog_cc_g=yes
3953else
3954  CFLAGS=""
3955      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3956/* end confdefs.h.  */
3957
3958int
3959main ()
3960{
3961
3962  ;
3963  return 0;
3964}
3965_ACEOF
3966if ac_fn_c_try_compile "$LINENO"; then :
3967
3968else
3969  ac_c_werror_flag=$ac_save_c_werror_flag
3970	 CFLAGS="-g"
3971	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3972/* end confdefs.h.  */
3973
3974int
3975main ()
3976{
3977
3978  ;
3979  return 0;
3980}
3981_ACEOF
3982if ac_fn_c_try_compile "$LINENO"; then :
3983  ac_cv_prog_cc_g=yes
3984fi
3985rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3986fi
3987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3988fi
3989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3990   ac_c_werror_flag=$ac_save_c_werror_flag
3991fi
3992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3993$as_echo "$ac_cv_prog_cc_g" >&6; }
3994if test "$ac_test_CFLAGS" = set; then
3995  CFLAGS=$ac_save_CFLAGS
3996elif test $ac_cv_prog_cc_g = yes; then
3997  if test "$GCC" = yes; then
3998    CFLAGS="-g -O2"
3999  else
4000    CFLAGS="-g"
4001  fi
4002else
4003  if test "$GCC" = yes; then
4004    CFLAGS="-O2"
4005  else
4006    CFLAGS=
4007  fi
4008fi
4009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4010$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4011if ${ac_cv_prog_cc_c89+:} false; then :
4012  $as_echo_n "(cached) " >&6
4013else
4014  ac_cv_prog_cc_c89=no
4015ac_save_CC=$CC
4016cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4017/* end confdefs.h.  */
4018#include <stdarg.h>
4019#include <stdio.h>
4020struct stat;
4021/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4022struct buf { int x; };
4023FILE * (*rcsopen) (struct buf *, struct stat *, int);
4024static char *e (p, i)
4025     char **p;
4026     int i;
4027{
4028  return p[i];
4029}
4030static char *f (char * (*g) (char **, int), char **p, ...)
4031{
4032  char *s;
4033  va_list v;
4034  va_start (v,p);
4035  s = g (p, va_arg (v,int));
4036  va_end (v);
4037  return s;
4038}
4039
4040/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4041   function prototypes and stuff, but not '\xHH' hex character constants.
4042   These don't provoke an error unfortunately, instead are silently treated
4043   as 'x'.  The following induces an error, until -std is added to get
4044   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4045   array size at least.  It's necessary to write '\x00'==0 to get something
4046   that's true only with -std.  */
4047int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4048
4049/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4050   inside strings and character constants.  */
4051#define FOO(x) 'x'
4052int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4053
4054int test (int i, double x);
4055struct s1 {int (*f) (int a);};
4056struct s2 {int (*f) (double a);};
4057int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4058int argc;
4059char **argv;
4060int
4061main ()
4062{
4063return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4064  ;
4065  return 0;
4066}
4067_ACEOF
4068for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4069	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4070do
4071  CC="$ac_save_CC $ac_arg"
4072  if ac_fn_c_try_compile "$LINENO"; then :
4073  ac_cv_prog_cc_c89=$ac_arg
4074fi
4075rm -f core conftest.err conftest.$ac_objext
4076  test "x$ac_cv_prog_cc_c89" != "xno" && break
4077done
4078rm -f conftest.$ac_ext
4079CC=$ac_save_CC
4080
4081fi
4082# AC_CACHE_VAL
4083case "x$ac_cv_prog_cc_c89" in
4084  x)
4085    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4086$as_echo "none needed" >&6; } ;;
4087  xno)
4088    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4089$as_echo "unsupported" >&6; } ;;
4090  *)
4091    CC="$CC $ac_cv_prog_cc_c89"
4092    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4093$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4094esac
4095if test "x$ac_cv_prog_cc_c89" != xno; then :
4096
4097fi
4098
4099ac_ext=c
4100ac_cpp='$CPP $CPPFLAGS'
4101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4103ac_compiler_gnu=$ac_cv_c_compiler_gnu
4104
4105ac_ext=c
4106ac_cpp='$CPP $CPPFLAGS'
4107ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109ac_compiler_gnu=$ac_cv_c_compiler_gnu
4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4111$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4112if ${am_cv_prog_cc_c_o+:} false; then :
4113  $as_echo_n "(cached) " >&6
4114else
4115  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4116/* end confdefs.h.  */
4117
4118int
4119main ()
4120{
4121
4122  ;
4123  return 0;
4124}
4125_ACEOF
4126  # Make sure it works both with $CC and with simple cc.
4127  # Following AC_PROG_CC_C_O, we do the test twice because some
4128  # compilers refuse to overwrite an existing .o file with -o,
4129  # though they will create one.
4130  am_cv_prog_cc_c_o=yes
4131  for am_i in 1 2; do
4132    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4133   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4134   ac_status=$?
4135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136   (exit $ac_status); } \
4137         && test -f conftest2.$ac_objext; then
4138      : OK
4139    else
4140      am_cv_prog_cc_c_o=no
4141      break
4142    fi
4143  done
4144  rm -f core conftest*
4145  unset am_i
4146fi
4147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4148$as_echo "$am_cv_prog_cc_c_o" >&6; }
4149if test "$am_cv_prog_cc_c_o" != yes; then
4150   # Losing compiler, so override with the script.
4151   # FIXME: It is wrong to rewrite CC.
4152   # But if we don't then we get into trouble of one sort or another.
4153   # A longer-term fix would be to have automake use am__CC in this case,
4154   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4155   CC="$am_aux_dir/compile $CC"
4156fi
4157ac_ext=c
4158ac_cpp='$CPP $CPPFLAGS'
4159ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4160ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4161ac_compiler_gnu=$ac_cv_c_compiler_gnu
4162
4163DEPDIR="${am__leading_dot}deps"
4164
4165ac_config_commands="$ac_config_commands depfiles"
4166
4167
4168am_make=${MAKE-make}
4169cat > confinc << 'END'
4170am__doit:
4171	@echo this is the am__doit target
4172.PHONY: am__doit
4173END
4174# If we don't find an include directive, just comment out the code.
4175{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4176$as_echo_n "checking for style of include used by $am_make... " >&6; }
4177am__include="#"
4178am__quote=
4179_am_result=none
4180# First try GNU make style include.
4181echo "include confinc" > confmf
4182# Ignore all kinds of additional output from 'make'.
4183case `$am_make -s -f confmf 2> /dev/null` in #(
4184*the\ am__doit\ target*)
4185  am__include=include
4186  am__quote=
4187  _am_result=GNU
4188  ;;
4189esac
4190# Now try BSD make style include.
4191if test "$am__include" = "#"; then
4192   echo '.include "confinc"' > confmf
4193   case `$am_make -s -f confmf 2> /dev/null` in #(
4194   *the\ am__doit\ target*)
4195     am__include=.include
4196     am__quote="\""
4197     _am_result=BSD
4198     ;;
4199   esac
4200fi
4201
4202
4203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4204$as_echo "$_am_result" >&6; }
4205rm -f confinc confmf
4206
4207# Check whether --enable-dependency-tracking was given.
4208if test "${enable_dependency_tracking+set}" = set; then :
4209  enableval=$enable_dependency_tracking;
4210fi
4211
4212if test "x$enable_dependency_tracking" != xno; then
4213  am_depcomp="$ac_aux_dir/depcomp"
4214  AMDEPBACKSLASH='\'
4215  am__nodep='_no'
4216fi
4217 if test "x$enable_dependency_tracking" != xno; then
4218  AMDEP_TRUE=
4219  AMDEP_FALSE='#'
4220else
4221  AMDEP_TRUE='#'
4222  AMDEP_FALSE=
4223fi
4224
4225
4226
4227depcc="$CC"   am_compiler_list=
4228
4229{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4230$as_echo_n "checking dependency style of $depcc... " >&6; }
4231if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4232  $as_echo_n "(cached) " >&6
4233else
4234  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4235  # We make a subdir and do the tests there.  Otherwise we can end up
4236  # making bogus files that we don't know about and never remove.  For
4237  # instance it was reported that on HP-UX the gcc test will end up
4238  # making a dummy file named 'D' -- because '-MD' means "put the output
4239  # in D".
4240  rm -rf conftest.dir
4241  mkdir conftest.dir
4242  # Copy depcomp to subdir because otherwise we won't find it if we're
4243  # using a relative directory.
4244  cp "$am_depcomp" conftest.dir
4245  cd conftest.dir
4246  # We will build objects and dependencies in a subdirectory because
4247  # it helps to detect inapplicable dependency modes.  For instance
4248  # both Tru64's cc and ICC support -MD to output dependencies as a
4249  # side effect of compilation, but ICC will put the dependencies in
4250  # the current directory while Tru64 will put them in the object
4251  # directory.
4252  mkdir sub
4253
4254  am_cv_CC_dependencies_compiler_type=none
4255  if test "$am_compiler_list" = ""; then
4256     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4257  fi
4258  am__universal=false
4259  case " $depcc " in #(
4260     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4261     esac
4262
4263  for depmode in $am_compiler_list; do
4264    # Setup a source with many dependencies, because some compilers
4265    # like to wrap large dependency lists on column 80 (with \), and
4266    # we should not choose a depcomp mode which is confused by this.
4267    #
4268    # We need to recreate these files for each test, as the compiler may
4269    # overwrite some of them when testing with obscure command lines.
4270    # This happens at least with the AIX C compiler.
4271    : > sub/conftest.c
4272    for i in 1 2 3 4 5 6; do
4273      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4274      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4275      # Solaris 10 /bin/sh.
4276      echo '/* dummy */' > sub/conftst$i.h
4277    done
4278    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4279
4280    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4281    # mode.  It turns out that the SunPro C++ compiler does not properly
4282    # handle '-M -o', and we need to detect this.  Also, some Intel
4283    # versions had trouble with output in subdirs.
4284    am__obj=sub/conftest.${OBJEXT-o}
4285    am__minus_obj="-o $am__obj"
4286    case $depmode in
4287    gcc)
4288      # This depmode causes a compiler race in universal mode.
4289      test "$am__universal" = false || continue
4290      ;;
4291    nosideeffect)
4292      # After this tag, mechanisms are not by side-effect, so they'll
4293      # only be used when explicitly requested.
4294      if test "x$enable_dependency_tracking" = xyes; then
4295	continue
4296      else
4297	break
4298      fi
4299      ;;
4300    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4301      # This compiler won't grok '-c -o', but also, the minuso test has
4302      # not run yet.  These depmodes are late enough in the game, and
4303      # so weak that their functioning should not be impacted.
4304      am__obj=conftest.${OBJEXT-o}
4305      am__minus_obj=
4306      ;;
4307    none) break ;;
4308    esac
4309    if depmode=$depmode \
4310       source=sub/conftest.c object=$am__obj \
4311       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4312       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4313         >/dev/null 2>conftest.err &&
4314       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4315       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4316       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4317       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4318      # icc doesn't choke on unknown options, it will just issue warnings
4319      # or remarks (even with -Werror).  So we grep stderr for any message
4320      # that says an option was ignored or not supported.
4321      # When given -MP, icc 7.0 and 7.1 complain thusly:
4322      #   icc: Command line warning: ignoring option '-M'; no argument required
4323      # The diagnosis changed in icc 8.0:
4324      #   icc: Command line remark: option '-MP' not supported
4325      if (grep 'ignoring option' conftest.err ||
4326          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4327        am_cv_CC_dependencies_compiler_type=$depmode
4328        break
4329      fi
4330    fi
4331  done
4332
4333  cd ..
4334  rm -rf conftest.dir
4335else
4336  am_cv_CC_dependencies_compiler_type=none
4337fi
4338
4339fi
4340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4341$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4342CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4343
4344 if
4345  test "x$enable_dependency_tracking" != xno \
4346  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4347  am__fastdepCC_TRUE=
4348  am__fastdepCC_FALSE='#'
4349else
4350  am__fastdepCC_TRUE='#'
4351  am__fastdepCC_FALSE=
4352fi
4353
4354
4355
4356
4357CC_FOR_BUILD=$CC
4358BUILD_EXEEXT=
4359if test "x$cross_compiling" = "xyes"; then
4360	CC_FOR_BUILD=cc
4361	BUILD_EXEEXT=""
4362fi
4363
4364
4365
4366
4367# Set STDC_HEADERS
4368
4369ac_ext=c
4370ac_cpp='$CPP $CPPFLAGS'
4371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373ac_compiler_gnu=$ac_cv_c_compiler_gnu
4374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4375$as_echo_n "checking how to run the C preprocessor... " >&6; }
4376# On Suns, sometimes $CPP names a directory.
4377if test -n "$CPP" && test -d "$CPP"; then
4378  CPP=
4379fi
4380if test -z "$CPP"; then
4381  if ${ac_cv_prog_CPP+:} false; then :
4382  $as_echo_n "(cached) " >&6
4383else
4384      # Double quotes because CPP needs to be expanded
4385    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4386    do
4387      ac_preproc_ok=false
4388for ac_c_preproc_warn_flag in '' yes
4389do
4390  # Use a header file that comes with gcc, so configuring glibc
4391  # with a fresh cross-compiler works.
4392  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4393  # <limits.h> exists even on freestanding compilers.
4394  # On the NeXT, cc -E runs the code through the compiler's parser,
4395  # not just through cpp. "Syntax error" is here to catch this case.
4396  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397/* end confdefs.h.  */
4398#ifdef __STDC__
4399# include <limits.h>
4400#else
4401# include <assert.h>
4402#endif
4403		     Syntax error
4404_ACEOF
4405if ac_fn_c_try_cpp "$LINENO"; then :
4406
4407else
4408  # Broken: fails on valid input.
4409continue
4410fi
4411rm -f conftest.err conftest.i conftest.$ac_ext
4412
4413  # OK, works on sane cases.  Now check whether nonexistent headers
4414  # can be detected and how.
4415  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416/* end confdefs.h.  */
4417#include <ac_nonexistent.h>
4418_ACEOF
4419if ac_fn_c_try_cpp "$LINENO"; then :
4420  # Broken: success on invalid input.
4421continue
4422else
4423  # Passes both tests.
4424ac_preproc_ok=:
4425break
4426fi
4427rm -f conftest.err conftest.i conftest.$ac_ext
4428
4429done
4430# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4431rm -f conftest.i conftest.err conftest.$ac_ext
4432if $ac_preproc_ok; then :
4433  break
4434fi
4435
4436    done
4437    ac_cv_prog_CPP=$CPP
4438
4439fi
4440  CPP=$ac_cv_prog_CPP
4441else
4442  ac_cv_prog_CPP=$CPP
4443fi
4444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4445$as_echo "$CPP" >&6; }
4446ac_preproc_ok=false
4447for ac_c_preproc_warn_flag in '' yes
4448do
4449  # Use a header file that comes with gcc, so configuring glibc
4450  # with a fresh cross-compiler works.
4451  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4452  # <limits.h> exists even on freestanding compilers.
4453  # On the NeXT, cc -E runs the code through the compiler's parser,
4454  # not just through cpp. "Syntax error" is here to catch this case.
4455  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456/* end confdefs.h.  */
4457#ifdef __STDC__
4458# include <limits.h>
4459#else
4460# include <assert.h>
4461#endif
4462		     Syntax error
4463_ACEOF
4464if ac_fn_c_try_cpp "$LINENO"; then :
4465
4466else
4467  # Broken: fails on valid input.
4468continue
4469fi
4470rm -f conftest.err conftest.i conftest.$ac_ext
4471
4472  # OK, works on sane cases.  Now check whether nonexistent headers
4473  # can be detected and how.
4474  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475/* end confdefs.h.  */
4476#include <ac_nonexistent.h>
4477_ACEOF
4478if ac_fn_c_try_cpp "$LINENO"; then :
4479  # Broken: success on invalid input.
4480continue
4481else
4482  # Passes both tests.
4483ac_preproc_ok=:
4484break
4485fi
4486rm -f conftest.err conftest.i conftest.$ac_ext
4487
4488done
4489# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4490rm -f conftest.i conftest.err conftest.$ac_ext
4491if $ac_preproc_ok; then :
4492
4493else
4494  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4496as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4497See \`config.log' for more details" "$LINENO" 5; }
4498fi
4499
4500ac_ext=c
4501ac_cpp='$CPP $CPPFLAGS'
4502ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4503ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4504ac_compiler_gnu=$ac_cv_c_compiler_gnu
4505
4506
4507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4508$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4509if ${ac_cv_path_GREP+:} false; then :
4510  $as_echo_n "(cached) " >&6
4511else
4512  if test -z "$GREP"; then
4513  ac_path_GREP_found=false
4514  # Loop through the user's path and test for each of PROGNAME-LIST
4515  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4517do
4518  IFS=$as_save_IFS
4519  test -z "$as_dir" && as_dir=.
4520    for ac_prog in grep ggrep; do
4521    for ac_exec_ext in '' $ac_executable_extensions; do
4522      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4523      as_fn_executable_p "$ac_path_GREP" || continue
4524# Check for GNU ac_path_GREP and select it if it is found.
4525  # Check for GNU $ac_path_GREP
4526case `"$ac_path_GREP" --version 2>&1` in
4527*GNU*)
4528  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4529*)
4530  ac_count=0
4531  $as_echo_n 0123456789 >"conftest.in"
4532  while :
4533  do
4534    cat "conftest.in" "conftest.in" >"conftest.tmp"
4535    mv "conftest.tmp" "conftest.in"
4536    cp "conftest.in" "conftest.nl"
4537    $as_echo 'GREP' >> "conftest.nl"
4538    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4539    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4540    as_fn_arith $ac_count + 1 && ac_count=$as_val
4541    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4542      # Best one so far, save it but keep looking for a better one
4543      ac_cv_path_GREP="$ac_path_GREP"
4544      ac_path_GREP_max=$ac_count
4545    fi
4546    # 10*(2^10) chars as input seems more than enough
4547    test $ac_count -gt 10 && break
4548  done
4549  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4550esac
4551
4552      $ac_path_GREP_found && break 3
4553    done
4554  done
4555  done
4556IFS=$as_save_IFS
4557  if test -z "$ac_cv_path_GREP"; then
4558    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4559  fi
4560else
4561  ac_cv_path_GREP=$GREP
4562fi
4563
4564fi
4565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4566$as_echo "$ac_cv_path_GREP" >&6; }
4567 GREP="$ac_cv_path_GREP"
4568
4569
4570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4571$as_echo_n "checking for egrep... " >&6; }
4572if ${ac_cv_path_EGREP+:} false; then :
4573  $as_echo_n "(cached) " >&6
4574else
4575  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4576   then ac_cv_path_EGREP="$GREP -E"
4577   else
4578     if test -z "$EGREP"; then
4579  ac_path_EGREP_found=false
4580  # Loop through the user's path and test for each of PROGNAME-LIST
4581  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4583do
4584  IFS=$as_save_IFS
4585  test -z "$as_dir" && as_dir=.
4586    for ac_prog in egrep; do
4587    for ac_exec_ext in '' $ac_executable_extensions; do
4588      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4589      as_fn_executable_p "$ac_path_EGREP" || continue
4590# Check for GNU ac_path_EGREP and select it if it is found.
4591  # Check for GNU $ac_path_EGREP
4592case `"$ac_path_EGREP" --version 2>&1` in
4593*GNU*)
4594  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4595*)
4596  ac_count=0
4597  $as_echo_n 0123456789 >"conftest.in"
4598  while :
4599  do
4600    cat "conftest.in" "conftest.in" >"conftest.tmp"
4601    mv "conftest.tmp" "conftest.in"
4602    cp "conftest.in" "conftest.nl"
4603    $as_echo 'EGREP' >> "conftest.nl"
4604    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4605    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4606    as_fn_arith $ac_count + 1 && ac_count=$as_val
4607    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4608      # Best one so far, save it but keep looking for a better one
4609      ac_cv_path_EGREP="$ac_path_EGREP"
4610      ac_path_EGREP_max=$ac_count
4611    fi
4612    # 10*(2^10) chars as input seems more than enough
4613    test $ac_count -gt 10 && break
4614  done
4615  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4616esac
4617
4618      $ac_path_EGREP_found && break 3
4619    done
4620  done
4621  done
4622IFS=$as_save_IFS
4623  if test -z "$ac_cv_path_EGREP"; then
4624    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4625  fi
4626else
4627  ac_cv_path_EGREP=$EGREP
4628fi
4629
4630   fi
4631fi
4632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4633$as_echo "$ac_cv_path_EGREP" >&6; }
4634 EGREP="$ac_cv_path_EGREP"
4635
4636
4637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4638$as_echo_n "checking for ANSI C header files... " >&6; }
4639if ${ac_cv_header_stdc+:} false; then :
4640  $as_echo_n "(cached) " >&6
4641else
4642  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643/* end confdefs.h.  */
4644#include <stdlib.h>
4645#include <stdarg.h>
4646#include <string.h>
4647#include <float.h>
4648
4649int
4650main ()
4651{
4652
4653  ;
4654  return 0;
4655}
4656_ACEOF
4657if ac_fn_c_try_compile "$LINENO"; then :
4658  ac_cv_header_stdc=yes
4659else
4660  ac_cv_header_stdc=no
4661fi
4662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4663
4664if test $ac_cv_header_stdc = yes; then
4665  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4666  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667/* end confdefs.h.  */
4668#include <string.h>
4669
4670_ACEOF
4671if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4672  $EGREP "memchr" >/dev/null 2>&1; then :
4673
4674else
4675  ac_cv_header_stdc=no
4676fi
4677rm -f conftest*
4678
4679fi
4680
4681if test $ac_cv_header_stdc = yes; then
4682  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4683  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684/* end confdefs.h.  */
4685#include <stdlib.h>
4686
4687_ACEOF
4688if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4689  $EGREP "free" >/dev/null 2>&1; then :
4690
4691else
4692  ac_cv_header_stdc=no
4693fi
4694rm -f conftest*
4695
4696fi
4697
4698if test $ac_cv_header_stdc = yes; then
4699  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4700  if test "$cross_compiling" = yes; then :
4701  :
4702else
4703  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704/* end confdefs.h.  */
4705#include <ctype.h>
4706#include <stdlib.h>
4707#if ((' ' & 0x0FF) == 0x020)
4708# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4709# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4710#else
4711# define ISLOWER(c) \
4712		   (('a' <= (c) && (c) <= 'i') \
4713		     || ('j' <= (c) && (c) <= 'r') \
4714		     || ('s' <= (c) && (c) <= 'z'))
4715# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4716#endif
4717
4718#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4719int
4720main ()
4721{
4722  int i;
4723  for (i = 0; i < 256; i++)
4724    if (XOR (islower (i), ISLOWER (i))
4725	|| toupper (i) != TOUPPER (i))
4726      return 2;
4727  return 0;
4728}
4729_ACEOF
4730if ac_fn_c_try_run "$LINENO"; then :
4731
4732else
4733  ac_cv_header_stdc=no
4734fi
4735rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4736  conftest.$ac_objext conftest.beam conftest.$ac_ext
4737fi
4738
4739fi
4740fi
4741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4742$as_echo "$ac_cv_header_stdc" >&6; }
4743if test $ac_cv_header_stdc = yes; then
4744
4745$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4746
4747fi
4748
4749enable_win32_dll=yes
4750
4751case $host in
4752*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
4753  if test -n "$ac_tool_prefix"; then
4754  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4755set dummy ${ac_tool_prefix}as; ac_word=$2
4756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4757$as_echo_n "checking for $ac_word... " >&6; }
4758if ${ac_cv_prog_AS+:} false; then :
4759  $as_echo_n "(cached) " >&6
4760else
4761  if test -n "$AS"; then
4762  ac_cv_prog_AS="$AS" # Let the user override the test.
4763else
4764as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4765for as_dir in $PATH
4766do
4767  IFS=$as_save_IFS
4768  test -z "$as_dir" && as_dir=.
4769    for ac_exec_ext in '' $ac_executable_extensions; do
4770  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4771    ac_cv_prog_AS="${ac_tool_prefix}as"
4772    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773    break 2
4774  fi
4775done
4776  done
4777IFS=$as_save_IFS
4778
4779fi
4780fi
4781AS=$ac_cv_prog_AS
4782if test -n "$AS"; then
4783  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4784$as_echo "$AS" >&6; }
4785else
4786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4787$as_echo "no" >&6; }
4788fi
4789
4790
4791fi
4792if test -z "$ac_cv_prog_AS"; then
4793  ac_ct_AS=$AS
4794  # Extract the first word of "as", so it can be a program name with args.
4795set dummy as; ac_word=$2
4796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4797$as_echo_n "checking for $ac_word... " >&6; }
4798if ${ac_cv_prog_ac_ct_AS+:} false; then :
4799  $as_echo_n "(cached) " >&6
4800else
4801  if test -n "$ac_ct_AS"; then
4802  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4803else
4804as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4805for as_dir in $PATH
4806do
4807  IFS=$as_save_IFS
4808  test -z "$as_dir" && as_dir=.
4809    for ac_exec_ext in '' $ac_executable_extensions; do
4810  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4811    ac_cv_prog_ac_ct_AS="as"
4812    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4813    break 2
4814  fi
4815done
4816  done
4817IFS=$as_save_IFS
4818
4819fi
4820fi
4821ac_ct_AS=$ac_cv_prog_ac_ct_AS
4822if test -n "$ac_ct_AS"; then
4823  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4824$as_echo "$ac_ct_AS" >&6; }
4825else
4826  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4827$as_echo "no" >&6; }
4828fi
4829
4830  if test "x$ac_ct_AS" = x; then
4831    AS="false"
4832  else
4833    case $cross_compiling:$ac_tool_warned in
4834yes:)
4835{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4836$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4837ac_tool_warned=yes ;;
4838esac
4839    AS=$ac_ct_AS
4840  fi
4841else
4842  AS="$ac_cv_prog_AS"
4843fi
4844
4845  if test -n "$ac_tool_prefix"; then
4846  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4847set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849$as_echo_n "checking for $ac_word... " >&6; }
4850if ${ac_cv_prog_DLLTOOL+:} false; then :
4851  $as_echo_n "(cached) " >&6
4852else
4853  if test -n "$DLLTOOL"; then
4854  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4855else
4856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857for as_dir in $PATH
4858do
4859  IFS=$as_save_IFS
4860  test -z "$as_dir" && as_dir=.
4861    for ac_exec_ext in '' $ac_executable_extensions; do
4862  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865    break 2
4866  fi
4867done
4868  done
4869IFS=$as_save_IFS
4870
4871fi
4872fi
4873DLLTOOL=$ac_cv_prog_DLLTOOL
4874if test -n "$DLLTOOL"; then
4875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
4876$as_echo "$DLLTOOL" >&6; }
4877else
4878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879$as_echo "no" >&6; }
4880fi
4881
4882
4883fi
4884if test -z "$ac_cv_prog_DLLTOOL"; then
4885  ac_ct_DLLTOOL=$DLLTOOL
4886  # Extract the first word of "dlltool", so it can be a program name with args.
4887set dummy dlltool; ac_word=$2
4888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889$as_echo_n "checking for $ac_word... " >&6; }
4890if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4891  $as_echo_n "(cached) " >&6
4892else
4893  if test -n "$ac_ct_DLLTOOL"; then
4894  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4895else
4896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897for as_dir in $PATH
4898do
4899  IFS=$as_save_IFS
4900  test -z "$as_dir" && as_dir=.
4901    for ac_exec_ext in '' $ac_executable_extensions; do
4902  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4903    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4904    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905    break 2
4906  fi
4907done
4908  done
4909IFS=$as_save_IFS
4910
4911fi
4912fi
4913ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4914if test -n "$ac_ct_DLLTOOL"; then
4915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
4916$as_echo "$ac_ct_DLLTOOL" >&6; }
4917else
4918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919$as_echo "no" >&6; }
4920fi
4921
4922  if test "x$ac_ct_DLLTOOL" = x; then
4923    DLLTOOL="false"
4924  else
4925    case $cross_compiling:$ac_tool_warned in
4926yes:)
4927{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4928$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4929ac_tool_warned=yes ;;
4930esac
4931    DLLTOOL=$ac_ct_DLLTOOL
4932  fi
4933else
4934  DLLTOOL="$ac_cv_prog_DLLTOOL"
4935fi
4936
4937  if test -n "$ac_tool_prefix"; then
4938  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4939set dummy ${ac_tool_prefix}objdump; ac_word=$2
4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4941$as_echo_n "checking for $ac_word... " >&6; }
4942if ${ac_cv_prog_OBJDUMP+:} false; then :
4943  $as_echo_n "(cached) " >&6
4944else
4945  if test -n "$OBJDUMP"; then
4946  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4947else
4948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4949for as_dir in $PATH
4950do
4951  IFS=$as_save_IFS
4952  test -z "$as_dir" && as_dir=.
4953    for ac_exec_ext in '' $ac_executable_extensions; do
4954  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4955    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4956    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957    break 2
4958  fi
4959done
4960  done
4961IFS=$as_save_IFS
4962
4963fi
4964fi
4965OBJDUMP=$ac_cv_prog_OBJDUMP
4966if test -n "$OBJDUMP"; then
4967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4968$as_echo "$OBJDUMP" >&6; }
4969else
4970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4971$as_echo "no" >&6; }
4972fi
4973
4974
4975fi
4976if test -z "$ac_cv_prog_OBJDUMP"; then
4977  ac_ct_OBJDUMP=$OBJDUMP
4978  # Extract the first word of "objdump", so it can be a program name with args.
4979set dummy objdump; ac_word=$2
4980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4981$as_echo_n "checking for $ac_word... " >&6; }
4982if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4983  $as_echo_n "(cached) " >&6
4984else
4985  if test -n "$ac_ct_OBJDUMP"; then
4986  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4987else
4988as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4989for as_dir in $PATH
4990do
4991  IFS=$as_save_IFS
4992  test -z "$as_dir" && as_dir=.
4993    for ac_exec_ext in '' $ac_executable_extensions; do
4994  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4996    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997    break 2
4998  fi
4999done
5000  done
5001IFS=$as_save_IFS
5002
5003fi
5004fi
5005ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5006if test -n "$ac_ct_OBJDUMP"; then
5007  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5008$as_echo "$ac_ct_OBJDUMP" >&6; }
5009else
5010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5011$as_echo "no" >&6; }
5012fi
5013
5014  if test "x$ac_ct_OBJDUMP" = x; then
5015    OBJDUMP="false"
5016  else
5017    case $cross_compiling:$ac_tool_warned in
5018yes:)
5019{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5020$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5021ac_tool_warned=yes ;;
5022esac
5023    OBJDUMP=$ac_ct_OBJDUMP
5024  fi
5025else
5026  OBJDUMP="$ac_cv_prog_OBJDUMP"
5027fi
5028
5029  ;;
5030esac
5031
5032test -z "$AS" && AS=as
5033
5034
5035
5036
5037
5038test -z "$DLLTOOL" && DLLTOOL=dlltool
5039
5040
5041
5042
5043
5044test -z "$OBJDUMP" && OBJDUMP=objdump
5045
5046
5047
5048
5049
5050
5051
5052case `pwd` in
5053  *\ * | *\	*)
5054    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5055$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5056esac
5057
5058
5059
5060macro_version='2.4.6'
5061macro_revision='2.4.6'
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075ltmain=$ac_aux_dir/ltmain.sh
5076
5077# Backslashify metacharacters that are still active within
5078# double-quoted strings.
5079sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5080
5081# Same as above, but do not quote variable references.
5082double_quote_subst='s/\(["`\\]\)/\\\1/g'
5083
5084# Sed substitution to delay expansion of an escaped shell variable in a
5085# double_quote_subst'ed string.
5086delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5087
5088# Sed substitution to delay expansion of an escaped single quote.
5089delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5090
5091# Sed substitution to avoid accidental globbing in evaled expressions
5092no_glob_subst='s/\*/\\\*/g'
5093
5094ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5095ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5096ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5097
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5099$as_echo_n "checking how to print strings... " >&6; }
5100# Test print first, because it will be a builtin if present.
5101if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5102   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5103  ECHO='print -r --'
5104elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5105  ECHO='printf %s\n'
5106else
5107  # Use this function as a fallback that always works.
5108  func_fallback_echo ()
5109  {
5110    eval 'cat <<_LTECHO_EOF
5111$1
5112_LTECHO_EOF'
5113  }
5114  ECHO='func_fallback_echo'
5115fi
5116
5117# func_echo_all arg...
5118# Invoke $ECHO with all args, space-separated.
5119func_echo_all ()
5120{
5121    $ECHO ""
5122}
5123
5124case $ECHO in
5125  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5126$as_echo "printf" >&6; } ;;
5127  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5128$as_echo "print -r" >&6; } ;;
5129  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5130$as_echo "cat" >&6; } ;;
5131esac
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5147$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5148if ${ac_cv_path_SED+:} false; then :
5149  $as_echo_n "(cached) " >&6
5150else
5151            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5152     for ac_i in 1 2 3 4 5 6 7; do
5153       ac_script="$ac_script$as_nl$ac_script"
5154     done
5155     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5156     { ac_script=; unset ac_script;}
5157     if test -z "$SED"; then
5158  ac_path_SED_found=false
5159  # Loop through the user's path and test for each of PROGNAME-LIST
5160  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161for as_dir in $PATH
5162do
5163  IFS=$as_save_IFS
5164  test -z "$as_dir" && as_dir=.
5165    for ac_prog in sed gsed; do
5166    for ac_exec_ext in '' $ac_executable_extensions; do
5167      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5168      as_fn_executable_p "$ac_path_SED" || continue
5169# Check for GNU ac_path_SED and select it if it is found.
5170  # Check for GNU $ac_path_SED
5171case `"$ac_path_SED" --version 2>&1` in
5172*GNU*)
5173  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5174*)
5175  ac_count=0
5176  $as_echo_n 0123456789 >"conftest.in"
5177  while :
5178  do
5179    cat "conftest.in" "conftest.in" >"conftest.tmp"
5180    mv "conftest.tmp" "conftest.in"
5181    cp "conftest.in" "conftest.nl"
5182    $as_echo '' >> "conftest.nl"
5183    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5184    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5185    as_fn_arith $ac_count + 1 && ac_count=$as_val
5186    if test $ac_count -gt ${ac_path_SED_max-0}; then
5187      # Best one so far, save it but keep looking for a better one
5188      ac_cv_path_SED="$ac_path_SED"
5189      ac_path_SED_max=$ac_count
5190    fi
5191    # 10*(2^10) chars as input seems more than enough
5192    test $ac_count -gt 10 && break
5193  done
5194  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5195esac
5196
5197      $ac_path_SED_found && break 3
5198    done
5199  done
5200  done
5201IFS=$as_save_IFS
5202  if test -z "$ac_cv_path_SED"; then
5203    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5204  fi
5205else
5206  ac_cv_path_SED=$SED
5207fi
5208
5209fi
5210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5211$as_echo "$ac_cv_path_SED" >&6; }
5212 SED="$ac_cv_path_SED"
5213  rm -f conftest.sed
5214
5215test -z "$SED" && SED=sed
5216Xsed="$SED -e 1s/^X//"
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5229$as_echo_n "checking for fgrep... " >&6; }
5230if ${ac_cv_path_FGREP+:} false; then :
5231  $as_echo_n "(cached) " >&6
5232else
5233  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5234   then ac_cv_path_FGREP="$GREP -F"
5235   else
5236     if test -z "$FGREP"; then
5237  ac_path_FGREP_found=false
5238  # Loop through the user's path and test for each of PROGNAME-LIST
5239  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5240for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5241do
5242  IFS=$as_save_IFS
5243  test -z "$as_dir" && as_dir=.
5244    for ac_prog in fgrep; do
5245    for ac_exec_ext in '' $ac_executable_extensions; do
5246      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5247      as_fn_executable_p "$ac_path_FGREP" || continue
5248# Check for GNU ac_path_FGREP and select it if it is found.
5249  # Check for GNU $ac_path_FGREP
5250case `"$ac_path_FGREP" --version 2>&1` in
5251*GNU*)
5252  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5253*)
5254  ac_count=0
5255  $as_echo_n 0123456789 >"conftest.in"
5256  while :
5257  do
5258    cat "conftest.in" "conftest.in" >"conftest.tmp"
5259    mv "conftest.tmp" "conftest.in"
5260    cp "conftest.in" "conftest.nl"
5261    $as_echo 'FGREP' >> "conftest.nl"
5262    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5263    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5264    as_fn_arith $ac_count + 1 && ac_count=$as_val
5265    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5266      # Best one so far, save it but keep looking for a better one
5267      ac_cv_path_FGREP="$ac_path_FGREP"
5268      ac_path_FGREP_max=$ac_count
5269    fi
5270    # 10*(2^10) chars as input seems more than enough
5271    test $ac_count -gt 10 && break
5272  done
5273  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5274esac
5275
5276      $ac_path_FGREP_found && break 3
5277    done
5278  done
5279  done
5280IFS=$as_save_IFS
5281  if test -z "$ac_cv_path_FGREP"; then
5282    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5283  fi
5284else
5285  ac_cv_path_FGREP=$FGREP
5286fi
5287
5288   fi
5289fi
5290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5291$as_echo "$ac_cv_path_FGREP" >&6; }
5292 FGREP="$ac_cv_path_FGREP"
5293
5294
5295test -z "$GREP" && GREP=grep
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315# Check whether --with-gnu-ld was given.
5316if test "${with_gnu_ld+set}" = set; then :
5317  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5318else
5319  with_gnu_ld=no
5320fi
5321
5322ac_prog=ld
5323if test yes = "$GCC"; then
5324  # Check if gcc -print-prog-name=ld gives a path.
5325  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5326$as_echo_n "checking for ld used by $CC... " >&6; }
5327  case $host in
5328  *-*-mingw*)
5329    # gcc leaves a trailing carriage return, which upsets mingw
5330    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5331  *)
5332    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5333  esac
5334  case $ac_prog in
5335    # Accept absolute paths.
5336    [\\/]* | ?:[\\/]*)
5337      re_direlt='/[^/][^/]*/\.\./'
5338      # Canonicalize the pathname of ld
5339      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5340      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5341	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5342      done
5343      test -z "$LD" && LD=$ac_prog
5344      ;;
5345  "")
5346    # If it fails, then pretend we aren't using GCC.
5347    ac_prog=ld
5348    ;;
5349  *)
5350    # If it is relative, then search for the first ld in PATH.
5351    with_gnu_ld=unknown
5352    ;;
5353  esac
5354elif test yes = "$with_gnu_ld"; then
5355  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5356$as_echo_n "checking for GNU ld... " >&6; }
5357else
5358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5359$as_echo_n "checking for non-GNU ld... " >&6; }
5360fi
5361if ${lt_cv_path_LD+:} false; then :
5362  $as_echo_n "(cached) " >&6
5363else
5364  if test -z "$LD"; then
5365  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5366  for ac_dir in $PATH; do
5367    IFS=$lt_save_ifs
5368    test -z "$ac_dir" && ac_dir=.
5369    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5370      lt_cv_path_LD=$ac_dir/$ac_prog
5371      # Check to see if the program is GNU ld.  I'd rather use --version,
5372      # but apparently some variants of GNU ld only accept -v.
5373      # Break only if it was the GNU/non-GNU ld that we prefer.
5374      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5375      *GNU* | *'with BFD'*)
5376	test no != "$with_gnu_ld" && break
5377	;;
5378      *)
5379	test yes != "$with_gnu_ld" && break
5380	;;
5381      esac
5382    fi
5383  done
5384  IFS=$lt_save_ifs
5385else
5386  lt_cv_path_LD=$LD # Let the user override the test with a path.
5387fi
5388fi
5389
5390LD=$lt_cv_path_LD
5391if test -n "$LD"; then
5392  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5393$as_echo "$LD" >&6; }
5394else
5395  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5396$as_echo "no" >&6; }
5397fi
5398test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5399{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5400$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5401if ${lt_cv_prog_gnu_ld+:} false; then :
5402  $as_echo_n "(cached) " >&6
5403else
5404  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5405case `$LD -v 2>&1 </dev/null` in
5406*GNU* | *'with BFD'*)
5407  lt_cv_prog_gnu_ld=yes
5408  ;;
5409*)
5410  lt_cv_prog_gnu_ld=no
5411  ;;
5412esac
5413fi
5414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5415$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5416with_gnu_ld=$lt_cv_prog_gnu_ld
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5427$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5428if ${lt_cv_path_NM+:} false; then :
5429  $as_echo_n "(cached) " >&6
5430else
5431  if test -n "$NM"; then
5432  # Let the user override the test.
5433  lt_cv_path_NM=$NM
5434else
5435  lt_nm_to_check=${ac_tool_prefix}nm
5436  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5437    lt_nm_to_check="$lt_nm_to_check nm"
5438  fi
5439  for lt_tmp_nm in $lt_nm_to_check; do
5440    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5441    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5442      IFS=$lt_save_ifs
5443      test -z "$ac_dir" && ac_dir=.
5444      tmp_nm=$ac_dir/$lt_tmp_nm
5445      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5446	# Check to see if the nm accepts a BSD-compat flag.
5447	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5448	#   nm: unknown option "B" ignored
5449	# Tru64's nm complains that /dev/null is an invalid object file
5450	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5451	case $build_os in
5452	mingw*) lt_bad_file=conftest.nm/nofile ;;
5453	*) lt_bad_file=/dev/null ;;
5454	esac
5455	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5456	*$lt_bad_file* | *'Invalid file or object type'*)
5457	  lt_cv_path_NM="$tmp_nm -B"
5458	  break 2
5459	  ;;
5460	*)
5461	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5462	  */dev/null*)
5463	    lt_cv_path_NM="$tmp_nm -p"
5464	    break 2
5465	    ;;
5466	  *)
5467	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5468	    continue # so that we can try to find one that supports BSD flags
5469	    ;;
5470	  esac
5471	  ;;
5472	esac
5473      fi
5474    done
5475    IFS=$lt_save_ifs
5476  done
5477  : ${lt_cv_path_NM=no}
5478fi
5479fi
5480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5481$as_echo "$lt_cv_path_NM" >&6; }
5482if test no != "$lt_cv_path_NM"; then
5483  NM=$lt_cv_path_NM
5484else
5485  # Didn't find any BSD compatible name lister, look for dumpbin.
5486  if test -n "$DUMPBIN"; then :
5487    # Let the user override the test.
5488  else
5489    if test -n "$ac_tool_prefix"; then
5490  for ac_prog in dumpbin "link -dump"
5491  do
5492    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5493set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5495$as_echo_n "checking for $ac_word... " >&6; }
5496if ${ac_cv_prog_DUMPBIN+:} false; then :
5497  $as_echo_n "(cached) " >&6
5498else
5499  if test -n "$DUMPBIN"; then
5500  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5501else
5502as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503for as_dir in $PATH
5504do
5505  IFS=$as_save_IFS
5506  test -z "$as_dir" && as_dir=.
5507    for ac_exec_ext in '' $ac_executable_extensions; do
5508  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5509    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5510    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5511    break 2
5512  fi
5513done
5514  done
5515IFS=$as_save_IFS
5516
5517fi
5518fi
5519DUMPBIN=$ac_cv_prog_DUMPBIN
5520if test -n "$DUMPBIN"; then
5521  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5522$as_echo "$DUMPBIN" >&6; }
5523else
5524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5525$as_echo "no" >&6; }
5526fi
5527
5528
5529    test -n "$DUMPBIN" && break
5530  done
5531fi
5532if test -z "$DUMPBIN"; then
5533  ac_ct_DUMPBIN=$DUMPBIN
5534  for ac_prog in dumpbin "link -dump"
5535do
5536  # Extract the first word of "$ac_prog", so it can be a program name with args.
5537set dummy $ac_prog; ac_word=$2
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5539$as_echo_n "checking for $ac_word... " >&6; }
5540if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5541  $as_echo_n "(cached) " >&6
5542else
5543  if test -n "$ac_ct_DUMPBIN"; then
5544  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5545else
5546as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547for as_dir in $PATH
5548do
5549  IFS=$as_save_IFS
5550  test -z "$as_dir" && as_dir=.
5551    for ac_exec_ext in '' $ac_executable_extensions; do
5552  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5553    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5554    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5555    break 2
5556  fi
5557done
5558  done
5559IFS=$as_save_IFS
5560
5561fi
5562fi
5563ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5564if test -n "$ac_ct_DUMPBIN"; then
5565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5566$as_echo "$ac_ct_DUMPBIN" >&6; }
5567else
5568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5569$as_echo "no" >&6; }
5570fi
5571
5572
5573  test -n "$ac_ct_DUMPBIN" && break
5574done
5575
5576  if test "x$ac_ct_DUMPBIN" = x; then
5577    DUMPBIN=":"
5578  else
5579    case $cross_compiling:$ac_tool_warned in
5580yes:)
5581{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5582$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5583ac_tool_warned=yes ;;
5584esac
5585    DUMPBIN=$ac_ct_DUMPBIN
5586  fi
5587fi
5588
5589    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5590    *COFF*)
5591      DUMPBIN="$DUMPBIN -symbols -headers"
5592      ;;
5593    *)
5594      DUMPBIN=:
5595      ;;
5596    esac
5597  fi
5598
5599  if test : != "$DUMPBIN"; then
5600    NM=$DUMPBIN
5601  fi
5602fi
5603test -z "$NM" && NM=nm
5604
5605
5606
5607
5608
5609
5610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5611$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5612if ${lt_cv_nm_interface+:} false; then :
5613  $as_echo_n "(cached) " >&6
5614else
5615  lt_cv_nm_interface="BSD nm"
5616  echo "int some_variable = 0;" > conftest.$ac_ext
5617  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5618  (eval "$ac_compile" 2>conftest.err)
5619  cat conftest.err >&5
5620  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5621  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5622  cat conftest.err >&5
5623  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5624  cat conftest.out >&5
5625  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5626    lt_cv_nm_interface="MS dumpbin"
5627  fi
5628  rm -f conftest*
5629fi
5630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5631$as_echo "$lt_cv_nm_interface" >&6; }
5632
5633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5634$as_echo_n "checking whether ln -s works... " >&6; }
5635LN_S=$as_ln_s
5636if test "$LN_S" = "ln -s"; then
5637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5638$as_echo "yes" >&6; }
5639else
5640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5641$as_echo "no, using $LN_S" >&6; }
5642fi
5643
5644# find the maximum length of command line arguments
5645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5646$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5647if ${lt_cv_sys_max_cmd_len+:} false; then :
5648  $as_echo_n "(cached) " >&6
5649else
5650    i=0
5651  teststring=ABCD
5652
5653  case $build_os in
5654  msdosdjgpp*)
5655    # On DJGPP, this test can blow up pretty badly due to problems in libc
5656    # (any single argument exceeding 2000 bytes causes a buffer overrun
5657    # during glob expansion).  Even if it were fixed, the result of this
5658    # check would be larger than it should be.
5659    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5660    ;;
5661
5662  gnu*)
5663    # Under GNU Hurd, this test is not required because there is
5664    # no limit to the length of command line arguments.
5665    # Libtool will interpret -1 as no limit whatsoever
5666    lt_cv_sys_max_cmd_len=-1;
5667    ;;
5668
5669  cygwin* | mingw* | cegcc*)
5670    # On Win9x/ME, this test blows up -- it succeeds, but takes
5671    # about 5 minutes as the teststring grows exponentially.
5672    # Worse, since 9x/ME are not pre-emptively multitasking,
5673    # you end up with a "frozen" computer, even though with patience
5674    # the test eventually succeeds (with a max line length of 256k).
5675    # Instead, let's just punt: use the minimum linelength reported by
5676    # all of the supported platforms: 8192 (on NT/2K/XP).
5677    lt_cv_sys_max_cmd_len=8192;
5678    ;;
5679
5680  mint*)
5681    # On MiNT this can take a long time and run out of memory.
5682    lt_cv_sys_max_cmd_len=8192;
5683    ;;
5684
5685  amigaos*)
5686    # On AmigaOS with pdksh, this test takes hours, literally.
5687    # So we just punt and use a minimum line length of 8192.
5688    lt_cv_sys_max_cmd_len=8192;
5689    ;;
5690
5691  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5692    # This has been around since 386BSD, at least.  Likely further.
5693    if test -x /sbin/sysctl; then
5694      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5695    elif test -x /usr/sbin/sysctl; then
5696      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5697    else
5698      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5699    fi
5700    # And add a safety zone
5701    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5702    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5703    ;;
5704
5705  interix*)
5706    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5707    lt_cv_sys_max_cmd_len=196608
5708    ;;
5709
5710  os2*)
5711    # The test takes a long time on OS/2.
5712    lt_cv_sys_max_cmd_len=8192
5713    ;;
5714
5715  osf*)
5716    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5717    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5718    # nice to cause kernel panics so lets avoid the loop below.
5719    # First set a reasonable default.
5720    lt_cv_sys_max_cmd_len=16384
5721    #
5722    if test -x /sbin/sysconfig; then
5723      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5724        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5725      esac
5726    fi
5727    ;;
5728  sco3.2v5*)
5729    lt_cv_sys_max_cmd_len=102400
5730    ;;
5731  sysv5* | sco5v6* | sysv4.2uw2*)
5732    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5733    if test -n "$kargmax"; then
5734      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5735    else
5736      lt_cv_sys_max_cmd_len=32768
5737    fi
5738    ;;
5739  *)
5740    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5741    if test -n "$lt_cv_sys_max_cmd_len" && \
5742       test undefined != "$lt_cv_sys_max_cmd_len"; then
5743      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5744      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5745    else
5746      # Make teststring a little bigger before we do anything with it.
5747      # a 1K string should be a reasonable start.
5748      for i in 1 2 3 4 5 6 7 8; do
5749        teststring=$teststring$teststring
5750      done
5751      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5752      # If test is not a shell built-in, we'll probably end up computing a
5753      # maximum length that is only half of the actual maximum length, but
5754      # we can't tell.
5755      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5756	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5757	      test 17 != "$i" # 1/2 MB should be enough
5758      do
5759        i=`expr $i + 1`
5760        teststring=$teststring$teststring
5761      done
5762      # Only check the string length outside the loop.
5763      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5764      teststring=
5765      # Add a significant safety factor because C++ compilers can tack on
5766      # massive amounts of additional arguments before passing them to the
5767      # linker.  It appears as though 1/2 is a usable value.
5768      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5769    fi
5770    ;;
5771  esac
5772
5773fi
5774
5775if test -n "$lt_cv_sys_max_cmd_len"; then
5776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5777$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5778else
5779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5780$as_echo "none" >&6; }
5781fi
5782max_cmd_len=$lt_cv_sys_max_cmd_len
5783
5784
5785
5786
5787
5788
5789: ${CP="cp -f"}
5790: ${MV="mv -f"}
5791: ${RM="rm -f"}
5792
5793if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5794  lt_unset=unset
5795else
5796  lt_unset=false
5797fi
5798
5799
5800
5801
5802
5803# test EBCDIC or ASCII
5804case `echo X|tr X '\101'` in
5805 A) # ASCII based system
5806    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5807  lt_SP2NL='tr \040 \012'
5808  lt_NL2SP='tr \015\012 \040\040'
5809  ;;
5810 *) # EBCDIC based system
5811  lt_SP2NL='tr \100 \n'
5812  lt_NL2SP='tr \r\n \100\100'
5813  ;;
5814esac
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5825$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5826if ${lt_cv_to_host_file_cmd+:} false; then :
5827  $as_echo_n "(cached) " >&6
5828else
5829  case $host in
5830  *-*-mingw* )
5831    case $build in
5832      *-*-mingw* ) # actually msys
5833        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5834        ;;
5835      *-*-cygwin* )
5836        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5837        ;;
5838      * ) # otherwise, assume *nix
5839        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5840        ;;
5841    esac
5842    ;;
5843  *-*-cygwin* )
5844    case $build in
5845      *-*-mingw* ) # actually msys
5846        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5847        ;;
5848      *-*-cygwin* )
5849        lt_cv_to_host_file_cmd=func_convert_file_noop
5850        ;;
5851      * ) # otherwise, assume *nix
5852        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5853        ;;
5854    esac
5855    ;;
5856  * ) # unhandled hosts (and "normal" native builds)
5857    lt_cv_to_host_file_cmd=func_convert_file_noop
5858    ;;
5859esac
5860
5861fi
5862
5863to_host_file_cmd=$lt_cv_to_host_file_cmd
5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5865$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5866
5867
5868
5869
5870
5871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5872$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5873if ${lt_cv_to_tool_file_cmd+:} false; then :
5874  $as_echo_n "(cached) " >&6
5875else
5876  #assume ordinary cross tools, or native build.
5877lt_cv_to_tool_file_cmd=func_convert_file_noop
5878case $host in
5879  *-*-mingw* )
5880    case $build in
5881      *-*-mingw* ) # actually msys
5882        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5883        ;;
5884    esac
5885    ;;
5886esac
5887
5888fi
5889
5890to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5892$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5893
5894
5895
5896
5897
5898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5899$as_echo_n "checking for $LD option to reload object files... " >&6; }
5900if ${lt_cv_ld_reload_flag+:} false; then :
5901  $as_echo_n "(cached) " >&6
5902else
5903  lt_cv_ld_reload_flag='-r'
5904fi
5905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5906$as_echo "$lt_cv_ld_reload_flag" >&6; }
5907reload_flag=$lt_cv_ld_reload_flag
5908case $reload_flag in
5909"" | " "*) ;;
5910*) reload_flag=" $reload_flag" ;;
5911esac
5912reload_cmds='$LD$reload_flag -o $output$reload_objs'
5913case $host_os in
5914  cygwin* | mingw* | pw32* | cegcc*)
5915    if test yes != "$GCC"; then
5916      reload_cmds=false
5917    fi
5918    ;;
5919  darwin*)
5920    if test yes = "$GCC"; then
5921      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5922    else
5923      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5924    fi
5925    ;;
5926esac
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936if test -n "$ac_tool_prefix"; then
5937  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5938set dummy ${ac_tool_prefix}objdump; ac_word=$2
5939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5940$as_echo_n "checking for $ac_word... " >&6; }
5941if ${ac_cv_prog_OBJDUMP+:} false; then :
5942  $as_echo_n "(cached) " >&6
5943else
5944  if test -n "$OBJDUMP"; then
5945  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5946else
5947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948for as_dir in $PATH
5949do
5950  IFS=$as_save_IFS
5951  test -z "$as_dir" && as_dir=.
5952    for ac_exec_ext in '' $ac_executable_extensions; do
5953  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5954    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5955    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5956    break 2
5957  fi
5958done
5959  done
5960IFS=$as_save_IFS
5961
5962fi
5963fi
5964OBJDUMP=$ac_cv_prog_OBJDUMP
5965if test -n "$OBJDUMP"; then
5966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5967$as_echo "$OBJDUMP" >&6; }
5968else
5969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5970$as_echo "no" >&6; }
5971fi
5972
5973
5974fi
5975if test -z "$ac_cv_prog_OBJDUMP"; then
5976  ac_ct_OBJDUMP=$OBJDUMP
5977  # Extract the first word of "objdump", so it can be a program name with args.
5978set dummy objdump; ac_word=$2
5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5980$as_echo_n "checking for $ac_word... " >&6; }
5981if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5982  $as_echo_n "(cached) " >&6
5983else
5984  if test -n "$ac_ct_OBJDUMP"; then
5985  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5986else
5987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5988for as_dir in $PATH
5989do
5990  IFS=$as_save_IFS
5991  test -z "$as_dir" && as_dir=.
5992    for ac_exec_ext in '' $ac_executable_extensions; do
5993  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5994    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5996    break 2
5997  fi
5998done
5999  done
6000IFS=$as_save_IFS
6001
6002fi
6003fi
6004ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6005if test -n "$ac_ct_OBJDUMP"; then
6006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6007$as_echo "$ac_ct_OBJDUMP" >&6; }
6008else
6009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6010$as_echo "no" >&6; }
6011fi
6012
6013  if test "x$ac_ct_OBJDUMP" = x; then
6014    OBJDUMP="false"
6015  else
6016    case $cross_compiling:$ac_tool_warned in
6017yes:)
6018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6020ac_tool_warned=yes ;;
6021esac
6022    OBJDUMP=$ac_ct_OBJDUMP
6023  fi
6024else
6025  OBJDUMP="$ac_cv_prog_OBJDUMP"
6026fi
6027
6028test -z "$OBJDUMP" && OBJDUMP=objdump
6029
6030
6031
6032
6033
6034
6035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6036$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6037if ${lt_cv_deplibs_check_method+:} false; then :
6038  $as_echo_n "(cached) " >&6
6039else
6040  lt_cv_file_magic_cmd='$MAGIC_CMD'
6041lt_cv_file_magic_test_file=
6042lt_cv_deplibs_check_method='unknown'
6043# Need to set the preceding variable on all platforms that support
6044# interlibrary dependencies.
6045# 'none' -- dependencies not supported.
6046# 'unknown' -- same as none, but documents that we really don't know.
6047# 'pass_all' -- all dependencies passed with no checks.
6048# 'test_compile' -- check by making test program.
6049# 'file_magic [[regex]]' -- check by looking for files in library path
6050# that responds to the $file_magic_cmd with a given extended regex.
6051# If you have 'file' or equivalent on your system and you're not sure
6052# whether 'pass_all' will *always* work, you probably want this one.
6053
6054case $host_os in
6055aix[4-9]*)
6056  lt_cv_deplibs_check_method=pass_all
6057  ;;
6058
6059beos*)
6060  lt_cv_deplibs_check_method=pass_all
6061  ;;
6062
6063bsdi[45]*)
6064  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6065  lt_cv_file_magic_cmd='/usr/bin/file -L'
6066  lt_cv_file_magic_test_file=/shlib/libc.so
6067  ;;
6068
6069cygwin*)
6070  # func_win32_libid is a shell function defined in ltmain.sh
6071  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6072  lt_cv_file_magic_cmd='func_win32_libid'
6073  ;;
6074
6075mingw* | pw32*)
6076  # Base MSYS/MinGW do not provide the 'file' command needed by
6077  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6078  # unless we find 'file', for example because we are cross-compiling.
6079  if ( file / ) >/dev/null 2>&1; then
6080    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6081    lt_cv_file_magic_cmd='func_win32_libid'
6082  else
6083    # Keep this pattern in sync with the one in func_win32_libid.
6084    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6085    lt_cv_file_magic_cmd='$OBJDUMP -f'
6086  fi
6087  ;;
6088
6089cegcc*)
6090  # use the weaker test based on 'objdump'. See mingw*.
6091  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6092  lt_cv_file_magic_cmd='$OBJDUMP -f'
6093  ;;
6094
6095darwin* | rhapsody*)
6096  lt_cv_deplibs_check_method=pass_all
6097  ;;
6098
6099freebsd* | dragonfly*)
6100  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6101    case $host_cpu in
6102    i*86 )
6103      # Not sure whether the presence of OpenBSD here was a mistake.
6104      # Let's accept both of them until this is cleared up.
6105      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6106      lt_cv_file_magic_cmd=/usr/bin/file
6107      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6108      ;;
6109    esac
6110  else
6111    lt_cv_deplibs_check_method=pass_all
6112  fi
6113  ;;
6114
6115haiku*)
6116  lt_cv_deplibs_check_method=pass_all
6117  ;;
6118
6119hpux10.20* | hpux11*)
6120  lt_cv_file_magic_cmd=/usr/bin/file
6121  case $host_cpu in
6122  ia64*)
6123    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6124    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6125    ;;
6126  hppa*64*)
6127    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]'
6128    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6129    ;;
6130  *)
6131    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6132    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6133    ;;
6134  esac
6135  ;;
6136
6137interix[3-9]*)
6138  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6139  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6140  ;;
6141
6142irix5* | irix6* | nonstopux*)
6143  case $LD in
6144  *-32|*"-32 ") libmagic=32-bit;;
6145  *-n32|*"-n32 ") libmagic=N32;;
6146  *-64|*"-64 ") libmagic=64-bit;;
6147  *) libmagic=never-match;;
6148  esac
6149  lt_cv_deplibs_check_method=pass_all
6150  ;;
6151
6152# This must be glibc/ELF.
6153linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6154  lt_cv_deplibs_check_method=pass_all
6155  ;;
6156
6157netbsd* | netbsdelf*-gnu)
6158  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6159    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6160  else
6161    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6162  fi
6163  ;;
6164
6165newos6*)
6166  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6167  lt_cv_file_magic_cmd=/usr/bin/file
6168  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6169  ;;
6170
6171*nto* | *qnx*)
6172  lt_cv_deplibs_check_method=pass_all
6173  ;;
6174
6175openbsd* | bitrig*)
6176  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6177    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6178  else
6179    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6180  fi
6181  ;;
6182
6183osf3* | osf4* | osf5*)
6184  lt_cv_deplibs_check_method=pass_all
6185  ;;
6186
6187rdos*)
6188  lt_cv_deplibs_check_method=pass_all
6189  ;;
6190
6191solaris*)
6192  lt_cv_deplibs_check_method=pass_all
6193  ;;
6194
6195sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6196  lt_cv_deplibs_check_method=pass_all
6197  ;;
6198
6199sysv4 | sysv4.3*)
6200  case $host_vendor in
6201  motorola)
6202    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]'
6203    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6204    ;;
6205  ncr)
6206    lt_cv_deplibs_check_method=pass_all
6207    ;;
6208  sequent)
6209    lt_cv_file_magic_cmd='/bin/file'
6210    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6211    ;;
6212  sni)
6213    lt_cv_file_magic_cmd='/bin/file'
6214    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6215    lt_cv_file_magic_test_file=/lib/libc.so
6216    ;;
6217  siemens)
6218    lt_cv_deplibs_check_method=pass_all
6219    ;;
6220  pc)
6221    lt_cv_deplibs_check_method=pass_all
6222    ;;
6223  esac
6224  ;;
6225
6226tpf*)
6227  lt_cv_deplibs_check_method=pass_all
6228  ;;
6229os2*)
6230  lt_cv_deplibs_check_method=pass_all
6231  ;;
6232esac
6233
6234fi
6235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6236$as_echo "$lt_cv_deplibs_check_method" >&6; }
6237
6238file_magic_glob=
6239want_nocaseglob=no
6240if test "$build" = "$host"; then
6241  case $host_os in
6242  mingw* | pw32*)
6243    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6244      want_nocaseglob=yes
6245    else
6246      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6247    fi
6248    ;;
6249  esac
6250fi
6251
6252file_magic_cmd=$lt_cv_file_magic_cmd
6253deplibs_check_method=$lt_cv_deplibs_check_method
6254test -z "$deplibs_check_method" && deplibs_check_method=unknown
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277if test -n "$ac_tool_prefix"; then
6278  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6279set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6281$as_echo_n "checking for $ac_word... " >&6; }
6282if ${ac_cv_prog_DLLTOOL+:} false; then :
6283  $as_echo_n "(cached) " >&6
6284else
6285  if test -n "$DLLTOOL"; then
6286  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6287else
6288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6289for as_dir in $PATH
6290do
6291  IFS=$as_save_IFS
6292  test -z "$as_dir" && as_dir=.
6293    for ac_exec_ext in '' $ac_executable_extensions; do
6294  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6295    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6296    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6297    break 2
6298  fi
6299done
6300  done
6301IFS=$as_save_IFS
6302
6303fi
6304fi
6305DLLTOOL=$ac_cv_prog_DLLTOOL
6306if test -n "$DLLTOOL"; then
6307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6308$as_echo "$DLLTOOL" >&6; }
6309else
6310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6311$as_echo "no" >&6; }
6312fi
6313
6314
6315fi
6316if test -z "$ac_cv_prog_DLLTOOL"; then
6317  ac_ct_DLLTOOL=$DLLTOOL
6318  # Extract the first word of "dlltool", so it can be a program name with args.
6319set dummy dlltool; ac_word=$2
6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321$as_echo_n "checking for $ac_word... " >&6; }
6322if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6323  $as_echo_n "(cached) " >&6
6324else
6325  if test -n "$ac_ct_DLLTOOL"; then
6326  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6327else
6328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6329for as_dir in $PATH
6330do
6331  IFS=$as_save_IFS
6332  test -z "$as_dir" && as_dir=.
6333    for ac_exec_ext in '' $ac_executable_extensions; do
6334  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6335    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6336    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6337    break 2
6338  fi
6339done
6340  done
6341IFS=$as_save_IFS
6342
6343fi
6344fi
6345ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6346if test -n "$ac_ct_DLLTOOL"; then
6347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6348$as_echo "$ac_ct_DLLTOOL" >&6; }
6349else
6350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351$as_echo "no" >&6; }
6352fi
6353
6354  if test "x$ac_ct_DLLTOOL" = x; then
6355    DLLTOOL="false"
6356  else
6357    case $cross_compiling:$ac_tool_warned in
6358yes:)
6359{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6360$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6361ac_tool_warned=yes ;;
6362esac
6363    DLLTOOL=$ac_ct_DLLTOOL
6364  fi
6365else
6366  DLLTOOL="$ac_cv_prog_DLLTOOL"
6367fi
6368
6369test -z "$DLLTOOL" && DLLTOOL=dlltool
6370
6371
6372
6373
6374
6375
6376
6377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6378$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6379if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6380  $as_echo_n "(cached) " >&6
6381else
6382  lt_cv_sharedlib_from_linklib_cmd='unknown'
6383
6384case $host_os in
6385cygwin* | mingw* | pw32* | cegcc*)
6386  # two different shell functions defined in ltmain.sh;
6387  # decide which one to use based on capabilities of $DLLTOOL
6388  case `$DLLTOOL --help 2>&1` in
6389  *--identify-strict*)
6390    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6391    ;;
6392  *)
6393    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6394    ;;
6395  esac
6396  ;;
6397*)
6398  # fallback: assume linklib IS sharedlib
6399  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6400  ;;
6401esac
6402
6403fi
6404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6405$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6406sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6407test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6408
6409
6410
6411
6412
6413
6414
6415if test -n "$ac_tool_prefix"; then
6416  for ac_prog in ar
6417  do
6418    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6419set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6421$as_echo_n "checking for $ac_word... " >&6; }
6422if ${ac_cv_prog_AR+:} false; then :
6423  $as_echo_n "(cached) " >&6
6424else
6425  if test -n "$AR"; then
6426  ac_cv_prog_AR="$AR" # Let the user override the test.
6427else
6428as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6429for as_dir in $PATH
6430do
6431  IFS=$as_save_IFS
6432  test -z "$as_dir" && as_dir=.
6433    for ac_exec_ext in '' $ac_executable_extensions; do
6434  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6435    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6436    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437    break 2
6438  fi
6439done
6440  done
6441IFS=$as_save_IFS
6442
6443fi
6444fi
6445AR=$ac_cv_prog_AR
6446if test -n "$AR"; then
6447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6448$as_echo "$AR" >&6; }
6449else
6450  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6451$as_echo "no" >&6; }
6452fi
6453
6454
6455    test -n "$AR" && break
6456  done
6457fi
6458if test -z "$AR"; then
6459  ac_ct_AR=$AR
6460  for ac_prog in ar
6461do
6462  # Extract the first word of "$ac_prog", so it can be a program name with args.
6463set dummy $ac_prog; ac_word=$2
6464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6465$as_echo_n "checking for $ac_word... " >&6; }
6466if ${ac_cv_prog_ac_ct_AR+:} false; then :
6467  $as_echo_n "(cached) " >&6
6468else
6469  if test -n "$ac_ct_AR"; then
6470  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6471else
6472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6473for as_dir in $PATH
6474do
6475  IFS=$as_save_IFS
6476  test -z "$as_dir" && as_dir=.
6477    for ac_exec_ext in '' $ac_executable_extensions; do
6478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6479    ac_cv_prog_ac_ct_AR="$ac_prog"
6480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6481    break 2
6482  fi
6483done
6484  done
6485IFS=$as_save_IFS
6486
6487fi
6488fi
6489ac_ct_AR=$ac_cv_prog_ac_ct_AR
6490if test -n "$ac_ct_AR"; then
6491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6492$as_echo "$ac_ct_AR" >&6; }
6493else
6494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6495$as_echo "no" >&6; }
6496fi
6497
6498
6499  test -n "$ac_ct_AR" && break
6500done
6501
6502  if test "x$ac_ct_AR" = x; then
6503    AR="false"
6504  else
6505    case $cross_compiling:$ac_tool_warned in
6506yes:)
6507{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509ac_tool_warned=yes ;;
6510esac
6511    AR=$ac_ct_AR
6512  fi
6513fi
6514
6515: ${AR=ar}
6516: ${AR_FLAGS=cru}
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6529$as_echo_n "checking for archiver @FILE support... " >&6; }
6530if ${lt_cv_ar_at_file+:} false; then :
6531  $as_echo_n "(cached) " >&6
6532else
6533  lt_cv_ar_at_file=no
6534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6535/* end confdefs.h.  */
6536
6537int
6538main ()
6539{
6540
6541  ;
6542  return 0;
6543}
6544_ACEOF
6545if ac_fn_c_try_compile "$LINENO"; then :
6546  echo conftest.$ac_objext > conftest.lst
6547      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6548      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6549  (eval $lt_ar_try) 2>&5
6550  ac_status=$?
6551  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6552  test $ac_status = 0; }
6553      if test 0 -eq "$ac_status"; then
6554	# Ensure the archiver fails upon bogus file names.
6555	rm -f conftest.$ac_objext libconftest.a
6556	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6557  (eval $lt_ar_try) 2>&5
6558  ac_status=$?
6559  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6560  test $ac_status = 0; }
6561	if test 0 -ne "$ac_status"; then
6562          lt_cv_ar_at_file=@
6563        fi
6564      fi
6565      rm -f conftest.* libconftest.a
6566
6567fi
6568rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6569
6570fi
6571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6572$as_echo "$lt_cv_ar_at_file" >&6; }
6573
6574if test no = "$lt_cv_ar_at_file"; then
6575  archiver_list_spec=
6576else
6577  archiver_list_spec=$lt_cv_ar_at_file
6578fi
6579
6580
6581
6582
6583
6584
6585
6586if test -n "$ac_tool_prefix"; then
6587  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6588set dummy ${ac_tool_prefix}strip; ac_word=$2
6589{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590$as_echo_n "checking for $ac_word... " >&6; }
6591if ${ac_cv_prog_STRIP+:} false; then :
6592  $as_echo_n "(cached) " >&6
6593else
6594  if test -n "$STRIP"; then
6595  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6596else
6597as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6598for as_dir in $PATH
6599do
6600  IFS=$as_save_IFS
6601  test -z "$as_dir" && as_dir=.
6602    for ac_exec_ext in '' $ac_executable_extensions; do
6603  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6605    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6606    break 2
6607  fi
6608done
6609  done
6610IFS=$as_save_IFS
6611
6612fi
6613fi
6614STRIP=$ac_cv_prog_STRIP
6615if test -n "$STRIP"; then
6616  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6617$as_echo "$STRIP" >&6; }
6618else
6619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620$as_echo "no" >&6; }
6621fi
6622
6623
6624fi
6625if test -z "$ac_cv_prog_STRIP"; then
6626  ac_ct_STRIP=$STRIP
6627  # Extract the first word of "strip", so it can be a program name with args.
6628set dummy strip; ac_word=$2
6629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6630$as_echo_n "checking for $ac_word... " >&6; }
6631if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6632  $as_echo_n "(cached) " >&6
6633else
6634  if test -n "$ac_ct_STRIP"; then
6635  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6636else
6637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6638for as_dir in $PATH
6639do
6640  IFS=$as_save_IFS
6641  test -z "$as_dir" && as_dir=.
6642    for ac_exec_ext in '' $ac_executable_extensions; do
6643  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6644    ac_cv_prog_ac_ct_STRIP="strip"
6645    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6646    break 2
6647  fi
6648done
6649  done
6650IFS=$as_save_IFS
6651
6652fi
6653fi
6654ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6655if test -n "$ac_ct_STRIP"; then
6656  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6657$as_echo "$ac_ct_STRIP" >&6; }
6658else
6659  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6660$as_echo "no" >&6; }
6661fi
6662
6663  if test "x$ac_ct_STRIP" = x; then
6664    STRIP=":"
6665  else
6666    case $cross_compiling:$ac_tool_warned in
6667yes:)
6668{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670ac_tool_warned=yes ;;
6671esac
6672    STRIP=$ac_ct_STRIP
6673  fi
6674else
6675  STRIP="$ac_cv_prog_STRIP"
6676fi
6677
6678test -z "$STRIP" && STRIP=:
6679
6680
6681
6682
6683
6684
6685if test -n "$ac_tool_prefix"; then
6686  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6687set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6689$as_echo_n "checking for $ac_word... " >&6; }
6690if ${ac_cv_prog_RANLIB+:} false; then :
6691  $as_echo_n "(cached) " >&6
6692else
6693  if test -n "$RANLIB"; then
6694  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6695else
6696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6697for as_dir in $PATH
6698do
6699  IFS=$as_save_IFS
6700  test -z "$as_dir" && as_dir=.
6701    for ac_exec_ext in '' $ac_executable_extensions; do
6702  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6703    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6704    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6705    break 2
6706  fi
6707done
6708  done
6709IFS=$as_save_IFS
6710
6711fi
6712fi
6713RANLIB=$ac_cv_prog_RANLIB
6714if test -n "$RANLIB"; then
6715  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6716$as_echo "$RANLIB" >&6; }
6717else
6718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6719$as_echo "no" >&6; }
6720fi
6721
6722
6723fi
6724if test -z "$ac_cv_prog_RANLIB"; then
6725  ac_ct_RANLIB=$RANLIB
6726  # Extract the first word of "ranlib", so it can be a program name with args.
6727set dummy ranlib; ac_word=$2
6728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6729$as_echo_n "checking for $ac_word... " >&6; }
6730if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6731  $as_echo_n "(cached) " >&6
6732else
6733  if test -n "$ac_ct_RANLIB"; then
6734  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6735else
6736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737for as_dir in $PATH
6738do
6739  IFS=$as_save_IFS
6740  test -z "$as_dir" && as_dir=.
6741    for ac_exec_ext in '' $ac_executable_extensions; do
6742  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6743    ac_cv_prog_ac_ct_RANLIB="ranlib"
6744    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6745    break 2
6746  fi
6747done
6748  done
6749IFS=$as_save_IFS
6750
6751fi
6752fi
6753ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6754if test -n "$ac_ct_RANLIB"; then
6755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6756$as_echo "$ac_ct_RANLIB" >&6; }
6757else
6758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6759$as_echo "no" >&6; }
6760fi
6761
6762  if test "x$ac_ct_RANLIB" = x; then
6763    RANLIB=":"
6764  else
6765    case $cross_compiling:$ac_tool_warned in
6766yes:)
6767{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6768$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6769ac_tool_warned=yes ;;
6770esac
6771    RANLIB=$ac_ct_RANLIB
6772  fi
6773else
6774  RANLIB="$ac_cv_prog_RANLIB"
6775fi
6776
6777test -z "$RANLIB" && RANLIB=:
6778
6779
6780
6781
6782
6783
6784# Determine commands to create old-style static archives.
6785old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6786old_postinstall_cmds='chmod 644 $oldlib'
6787old_postuninstall_cmds=
6788
6789if test -n "$RANLIB"; then
6790  case $host_os in
6791  bitrig* | openbsd*)
6792    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6793    ;;
6794  *)
6795    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6796    ;;
6797  esac
6798  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6799fi
6800
6801case $host_os in
6802  darwin*)
6803    lock_old_archive_extraction=yes ;;
6804  *)
6805    lock_old_archive_extraction=no ;;
6806esac
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846# If no C compiler was specified, use CC.
6847LTCC=${LTCC-"$CC"}
6848
6849# If no C compiler flags were specified, use CFLAGS.
6850LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6851
6852# Allow CC to be a program name with arguments.
6853compiler=$CC
6854
6855
6856# Check for command to grab the raw symbol name followed by C symbol from nm.
6857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6858$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6859if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6860  $as_echo_n "(cached) " >&6
6861else
6862
6863# These are sane defaults that work on at least a few old systems.
6864# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6865
6866# Character class describing NM global symbol codes.
6867symcode='[BCDEGRST]'
6868
6869# Regexp to match symbols that can be accessed directly from C.
6870sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6871
6872# Define system-specific variables.
6873case $host_os in
6874aix*)
6875  symcode='[BCDT]'
6876  ;;
6877cygwin* | mingw* | pw32* | cegcc*)
6878  symcode='[ABCDGISTW]'
6879  ;;
6880hpux*)
6881  if test ia64 = "$host_cpu"; then
6882    symcode='[ABCDEGRST]'
6883  fi
6884  ;;
6885irix* | nonstopux*)
6886  symcode='[BCDEGRST]'
6887  ;;
6888osf*)
6889  symcode='[BCDEGQRST]'
6890  ;;
6891solaris*)
6892  symcode='[BDRT]'
6893  ;;
6894sco3.2v5*)
6895  symcode='[DT]'
6896  ;;
6897sysv4.2uw2*)
6898  symcode='[DT]'
6899  ;;
6900sysv5* | sco5v6* | unixware* | OpenUNIX*)
6901  symcode='[ABDT]'
6902  ;;
6903sysv4)
6904  symcode='[DFNSTU]'
6905  ;;
6906esac
6907
6908# If we're using GNU nm, then use its standard symbol codes.
6909case `$NM -V 2>&1` in
6910*GNU* | *'with BFD'*)
6911  symcode='[ABCDGIRSTW]' ;;
6912esac
6913
6914if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6915  # Gets list of data symbols to import.
6916  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6917  # Adjust the below global symbol transforms to fixup imported variables.
6918  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6919  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6920  lt_c_name_lib_hook="\
6921  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6922  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6923else
6924  # Disable hooks by default.
6925  lt_cv_sys_global_symbol_to_import=
6926  lt_cdecl_hook=
6927  lt_c_name_hook=
6928  lt_c_name_lib_hook=
6929fi
6930
6931# Transform an extracted symbol line into a proper C declaration.
6932# Some systems (esp. on ia64) link data and code symbols differently,
6933# so use this general approach.
6934lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6935$lt_cdecl_hook\
6936" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6937" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6938
6939# Transform an extracted symbol line into symbol name and symbol address
6940lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6941$lt_c_name_hook\
6942" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6943" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6944
6945# Transform an extracted symbol line into symbol name with lib prefix and
6946# symbol address.
6947lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6948$lt_c_name_lib_hook\
6949" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6950" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6951" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6952
6953# Handle CRLF in mingw tool chain
6954opt_cr=
6955case $build_os in
6956mingw*)
6957  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6958  ;;
6959esac
6960
6961# Try without a prefix underscore, then with it.
6962for ac_symprfx in "" "_"; do
6963
6964  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6965  symxfrm="\\1 $ac_symprfx\\2 \\2"
6966
6967  # Write the raw and C identifiers.
6968  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6969    # Fake it for dumpbin and say T for any non-static function,
6970    # D for any global variable and I for any imported variable.
6971    # Also find C++ and __fastcall symbols from MSVC++,
6972    # which start with @ or ?.
6973    lt_cv_sys_global_symbol_pipe="$AWK '"\
6974"     {last_section=section; section=\$ 3};"\
6975"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6976"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6977"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6978"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6979"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6980"     \$ 0!~/External *\|/{next};"\
6981"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6982"     {if(hide[section]) next};"\
6983"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6984"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6985"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6986"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6987"     ' prfx=^$ac_symprfx"
6988  else
6989    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6990  fi
6991  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6992
6993  # Check to see that the pipe works correctly.
6994  pipe_works=no
6995
6996  rm -f conftest*
6997  cat > conftest.$ac_ext <<_LT_EOF
6998#ifdef __cplusplus
6999extern "C" {
7000#endif
7001char nm_test_var;
7002void nm_test_func(void);
7003void nm_test_func(void){}
7004#ifdef __cplusplus
7005}
7006#endif
7007int main(){nm_test_var='a';nm_test_func();return(0);}
7008_LT_EOF
7009
7010  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7011  (eval $ac_compile) 2>&5
7012  ac_status=$?
7013  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7014  test $ac_status = 0; }; then
7015    # Now try to grab the symbols.
7016    nlist=conftest.nm
7017    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7018  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7019  ac_status=$?
7020  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7021  test $ac_status = 0; } && test -s "$nlist"; then
7022      # Try sorting and uniquifying the output.
7023      if sort "$nlist" | uniq > "$nlist"T; then
7024	mv -f "$nlist"T "$nlist"
7025      else
7026	rm -f "$nlist"T
7027      fi
7028
7029      # Make sure that we snagged all the symbols we need.
7030      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7031	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7032	  cat <<_LT_EOF > conftest.$ac_ext
7033/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7034#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7035/* DATA imports from DLLs on WIN32 can't be const, because runtime
7036   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7037# define LT_DLSYM_CONST
7038#elif defined __osf__
7039/* This system does not cope well with relocations in const data.  */
7040# define LT_DLSYM_CONST
7041#else
7042# define LT_DLSYM_CONST const
7043#endif
7044
7045#ifdef __cplusplus
7046extern "C" {
7047#endif
7048
7049_LT_EOF
7050	  # Now generate the symbol file.
7051	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7052
7053	  cat <<_LT_EOF >> conftest.$ac_ext
7054
7055/* The mapping between symbol names and symbols.  */
7056LT_DLSYM_CONST struct {
7057  const char *name;
7058  void       *address;
7059}
7060lt__PROGRAM__LTX_preloaded_symbols[] =
7061{
7062  { "@PROGRAM@", (void *) 0 },
7063_LT_EOF
7064	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7065	  cat <<\_LT_EOF >> conftest.$ac_ext
7066  {0, (void *) 0}
7067};
7068
7069/* This works around a problem in FreeBSD linker */
7070#ifdef FREEBSD_WORKAROUND
7071static const void *lt_preloaded_setup() {
7072  return lt__PROGRAM__LTX_preloaded_symbols;
7073}
7074#endif
7075
7076#ifdef __cplusplus
7077}
7078#endif
7079_LT_EOF
7080	  # Now try linking the two files.
7081	  mv conftest.$ac_objext conftstm.$ac_objext
7082	  lt_globsym_save_LIBS=$LIBS
7083	  lt_globsym_save_CFLAGS=$CFLAGS
7084	  LIBS=conftstm.$ac_objext
7085	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7086	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7087  (eval $ac_link) 2>&5
7088  ac_status=$?
7089  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7090  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7091	    pipe_works=yes
7092	  fi
7093	  LIBS=$lt_globsym_save_LIBS
7094	  CFLAGS=$lt_globsym_save_CFLAGS
7095	else
7096	  echo "cannot find nm_test_func in $nlist" >&5
7097	fi
7098      else
7099	echo "cannot find nm_test_var in $nlist" >&5
7100      fi
7101    else
7102      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7103    fi
7104  else
7105    echo "$progname: failed program was:" >&5
7106    cat conftest.$ac_ext >&5
7107  fi
7108  rm -rf conftest* conftst*
7109
7110  # Do not use the global_symbol_pipe unless it works.
7111  if test yes = "$pipe_works"; then
7112    break
7113  else
7114    lt_cv_sys_global_symbol_pipe=
7115  fi
7116done
7117
7118fi
7119
7120if test -z "$lt_cv_sys_global_symbol_pipe"; then
7121  lt_cv_sys_global_symbol_to_cdecl=
7122fi
7123if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7124  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7125$as_echo "failed" >&6; }
7126else
7127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7128$as_echo "ok" >&6; }
7129fi
7130
7131# Response file support.
7132if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7133  nm_file_list_spec='@'
7134elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7135  nm_file_list_spec='@'
7136fi
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7175$as_echo_n "checking for sysroot... " >&6; }
7176
7177# Check whether --with-sysroot was given.
7178if test "${with_sysroot+set}" = set; then :
7179  withval=$with_sysroot;
7180else
7181  with_sysroot=no
7182fi
7183
7184
7185lt_sysroot=
7186case $with_sysroot in #(
7187 yes)
7188   if test yes = "$GCC"; then
7189     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7190   fi
7191   ;; #(
7192 /*)
7193   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7194   ;; #(
7195 no|'')
7196   ;; #(
7197 *)
7198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7199$as_echo "$with_sysroot" >&6; }
7200   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7201   ;;
7202esac
7203
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7205$as_echo "${lt_sysroot:-no}" >&6; }
7206
7207
7208
7209
7210
7211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7212$as_echo_n "checking for a working dd... " >&6; }
7213if ${ac_cv_path_lt_DD+:} false; then :
7214  $as_echo_n "(cached) " >&6
7215else
7216  printf 0123456789abcdef0123456789abcdef >conftest.i
7217cat conftest.i conftest.i >conftest2.i
7218: ${lt_DD:=$DD}
7219if test -z "$lt_DD"; then
7220  ac_path_lt_DD_found=false
7221  # Loop through the user's path and test for each of PROGNAME-LIST
7222  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7223for as_dir in $PATH
7224do
7225  IFS=$as_save_IFS
7226  test -z "$as_dir" && as_dir=.
7227    for ac_prog in dd; do
7228    for ac_exec_ext in '' $ac_executable_extensions; do
7229      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7230      as_fn_executable_p "$ac_path_lt_DD" || continue
7231if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7232  cmp -s conftest.i conftest.out \
7233  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7234fi
7235      $ac_path_lt_DD_found && break 3
7236    done
7237  done
7238  done
7239IFS=$as_save_IFS
7240  if test -z "$ac_cv_path_lt_DD"; then
7241    :
7242  fi
7243else
7244  ac_cv_path_lt_DD=$lt_DD
7245fi
7246
7247rm -f conftest.i conftest2.i conftest.out
7248fi
7249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7250$as_echo "$ac_cv_path_lt_DD" >&6; }
7251
7252
7253{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7254$as_echo_n "checking how to truncate binary pipes... " >&6; }
7255if ${lt_cv_truncate_bin+:} false; then :
7256  $as_echo_n "(cached) " >&6
7257else
7258  printf 0123456789abcdef0123456789abcdef >conftest.i
7259cat conftest.i conftest.i >conftest2.i
7260lt_cv_truncate_bin=
7261if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7262  cmp -s conftest.i conftest.out \
7263  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7264fi
7265rm -f conftest.i conftest2.i conftest.out
7266test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7267fi
7268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7269$as_echo "$lt_cv_truncate_bin" >&6; }
7270
7271
7272
7273
7274
7275
7276
7277# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7278func_cc_basename ()
7279{
7280    for cc_temp in $*""; do
7281      case $cc_temp in
7282        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7283        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7284        \-*) ;;
7285        *) break;;
7286      esac
7287    done
7288    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7289}
7290
7291# Check whether --enable-libtool-lock was given.
7292if test "${enable_libtool_lock+set}" = set; then :
7293  enableval=$enable_libtool_lock;
7294fi
7295
7296test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7297
7298# Some flags need to be propagated to the compiler or linker for good
7299# libtool support.
7300case $host in
7301ia64-*-hpux*)
7302  # Find out what ABI is being produced by ac_compile, and set mode
7303  # options accordingly.
7304  echo 'int i;' > conftest.$ac_ext
7305  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7306  (eval $ac_compile) 2>&5
7307  ac_status=$?
7308  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7309  test $ac_status = 0; }; then
7310    case `/usr/bin/file conftest.$ac_objext` in
7311      *ELF-32*)
7312	HPUX_IA64_MODE=32
7313	;;
7314      *ELF-64*)
7315	HPUX_IA64_MODE=64
7316	;;
7317    esac
7318  fi
7319  rm -rf conftest*
7320  ;;
7321*-*-irix6*)
7322  # Find out what ABI is being produced by ac_compile, and set linker
7323  # options accordingly.
7324  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7325  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7326  (eval $ac_compile) 2>&5
7327  ac_status=$?
7328  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7329  test $ac_status = 0; }; then
7330    if test yes = "$lt_cv_prog_gnu_ld"; then
7331      case `/usr/bin/file conftest.$ac_objext` in
7332	*32-bit*)
7333	  LD="${LD-ld} -melf32bsmip"
7334	  ;;
7335	*N32*)
7336	  LD="${LD-ld} -melf32bmipn32"
7337	  ;;
7338	*64-bit*)
7339	  LD="${LD-ld} -melf64bmip"
7340	;;
7341      esac
7342    else
7343      case `/usr/bin/file conftest.$ac_objext` in
7344	*32-bit*)
7345	  LD="${LD-ld} -32"
7346	  ;;
7347	*N32*)
7348	  LD="${LD-ld} -n32"
7349	  ;;
7350	*64-bit*)
7351	  LD="${LD-ld} -64"
7352	  ;;
7353      esac
7354    fi
7355  fi
7356  rm -rf conftest*
7357  ;;
7358
7359mips64*-*linux*)
7360  # Find out what ABI is being produced by ac_compile, and set linker
7361  # options accordingly.
7362  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7363  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7364  (eval $ac_compile) 2>&5
7365  ac_status=$?
7366  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7367  test $ac_status = 0; }; then
7368    emul=elf
7369    case `/usr/bin/file conftest.$ac_objext` in
7370      *32-bit*)
7371	emul="${emul}32"
7372	;;
7373      *64-bit*)
7374	emul="${emul}64"
7375	;;
7376    esac
7377    case `/usr/bin/file conftest.$ac_objext` in
7378      *MSB*)
7379	emul="${emul}btsmip"
7380	;;
7381      *LSB*)
7382	emul="${emul}ltsmip"
7383	;;
7384    esac
7385    case `/usr/bin/file conftest.$ac_objext` in
7386      *N32*)
7387	emul="${emul}n32"
7388	;;
7389    esac
7390    LD="${LD-ld} -m $emul"
7391  fi
7392  rm -rf conftest*
7393  ;;
7394
7395x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7396s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7397  # Find out what ABI is being produced by ac_compile, and set linker
7398  # options accordingly.  Note that the listed cases only cover the
7399  # situations where additional linker options are needed (such as when
7400  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7401  # vice versa); the common cases where no linker options are needed do
7402  # not appear in the list.
7403  echo 'int i;' > conftest.$ac_ext
7404  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7405  (eval $ac_compile) 2>&5
7406  ac_status=$?
7407  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7408  test $ac_status = 0; }; then
7409    case `/usr/bin/file conftest.o` in
7410      *32-bit*)
7411	case $host in
7412	  x86_64-*kfreebsd*-gnu)
7413	    LD="${LD-ld} -m elf_i386_fbsd"
7414	    ;;
7415	  x86_64-*linux*)
7416	    case `/usr/bin/file conftest.o` in
7417	      *x86-64*)
7418		LD="${LD-ld} -m elf32_x86_64"
7419		;;
7420	      *)
7421		LD="${LD-ld} -m elf_i386"
7422		;;
7423	    esac
7424	    ;;
7425	  powerpc64le-*linux*)
7426	    LD="${LD-ld} -m elf32lppclinux"
7427	    ;;
7428	  powerpc64-*linux*)
7429	    LD="${LD-ld} -m elf32ppclinux"
7430	    ;;
7431	  s390x-*linux*)
7432	    LD="${LD-ld} -m elf_s390"
7433	    ;;
7434	  sparc64-*linux*)
7435	    LD="${LD-ld} -m elf32_sparc"
7436	    ;;
7437	esac
7438	;;
7439      *64-bit*)
7440	case $host in
7441	  x86_64-*kfreebsd*-gnu)
7442	    LD="${LD-ld} -m elf_x86_64_fbsd"
7443	    ;;
7444	  x86_64-*linux*)
7445	    LD="${LD-ld} -m elf_x86_64"
7446	    ;;
7447	  powerpcle-*linux*)
7448	    LD="${LD-ld} -m elf64lppc"
7449	    ;;
7450	  powerpc-*linux*)
7451	    LD="${LD-ld} -m elf64ppc"
7452	    ;;
7453	  s390*-*linux*|s390*-*tpf*)
7454	    LD="${LD-ld} -m elf64_s390"
7455	    ;;
7456	  sparc*-*linux*)
7457	    LD="${LD-ld} -m elf64_sparc"
7458	    ;;
7459	esac
7460	;;
7461    esac
7462  fi
7463  rm -rf conftest*
7464  ;;
7465
7466*-*-sco3.2v5*)
7467  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7468  SAVE_CFLAGS=$CFLAGS
7469  CFLAGS="$CFLAGS -belf"
7470  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7471$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7472if ${lt_cv_cc_needs_belf+:} false; then :
7473  $as_echo_n "(cached) " >&6
7474else
7475  ac_ext=c
7476ac_cpp='$CPP $CPPFLAGS'
7477ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7478ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7479ac_compiler_gnu=$ac_cv_c_compiler_gnu
7480
7481     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7482/* end confdefs.h.  */
7483
7484int
7485main ()
7486{
7487
7488  ;
7489  return 0;
7490}
7491_ACEOF
7492if ac_fn_c_try_link "$LINENO"; then :
7493  lt_cv_cc_needs_belf=yes
7494else
7495  lt_cv_cc_needs_belf=no
7496fi
7497rm -f core conftest.err conftest.$ac_objext \
7498    conftest$ac_exeext conftest.$ac_ext
7499     ac_ext=c
7500ac_cpp='$CPP $CPPFLAGS'
7501ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7502ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7503ac_compiler_gnu=$ac_cv_c_compiler_gnu
7504
7505fi
7506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7507$as_echo "$lt_cv_cc_needs_belf" >&6; }
7508  if test yes != "$lt_cv_cc_needs_belf"; then
7509    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7510    CFLAGS=$SAVE_CFLAGS
7511  fi
7512  ;;
7513*-*solaris*)
7514  # Find out what ABI is being produced by ac_compile, and set linker
7515  # options accordingly.
7516  echo 'int i;' > conftest.$ac_ext
7517  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7518  (eval $ac_compile) 2>&5
7519  ac_status=$?
7520  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7521  test $ac_status = 0; }; then
7522    case `/usr/bin/file conftest.o` in
7523    *64-bit*)
7524      case $lt_cv_prog_gnu_ld in
7525      yes*)
7526        case $host in
7527        i?86-*-solaris*|x86_64-*-solaris*)
7528          LD="${LD-ld} -m elf_x86_64"
7529          ;;
7530        sparc*-*-solaris*)
7531          LD="${LD-ld} -m elf64_sparc"
7532          ;;
7533        esac
7534        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7535        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7536          LD=${LD-ld}_sol2
7537        fi
7538        ;;
7539      *)
7540	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7541	  LD="${LD-ld} -64"
7542	fi
7543	;;
7544      esac
7545      ;;
7546    esac
7547  fi
7548  rm -rf conftest*
7549  ;;
7550esac
7551
7552need_locks=$enable_libtool_lock
7553
7554if test -n "$ac_tool_prefix"; then
7555  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7556set dummy ${ac_tool_prefix}mt; ac_word=$2
7557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558$as_echo_n "checking for $ac_word... " >&6; }
7559if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7560  $as_echo_n "(cached) " >&6
7561else
7562  if test -n "$MANIFEST_TOOL"; then
7563  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7564else
7565as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566for as_dir in $PATH
7567do
7568  IFS=$as_save_IFS
7569  test -z "$as_dir" && as_dir=.
7570    for ac_exec_ext in '' $ac_executable_extensions; do
7571  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7572    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7573    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574    break 2
7575  fi
7576done
7577  done
7578IFS=$as_save_IFS
7579
7580fi
7581fi
7582MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7583if test -n "$MANIFEST_TOOL"; then
7584  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7585$as_echo "$MANIFEST_TOOL" >&6; }
7586else
7587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588$as_echo "no" >&6; }
7589fi
7590
7591
7592fi
7593if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7594  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7595  # Extract the first word of "mt", so it can be a program name with args.
7596set dummy mt; ac_word=$2
7597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598$as_echo_n "checking for $ac_word... " >&6; }
7599if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7600  $as_echo_n "(cached) " >&6
7601else
7602  if test -n "$ac_ct_MANIFEST_TOOL"; then
7603  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7604else
7605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606for as_dir in $PATH
7607do
7608  IFS=$as_save_IFS
7609  test -z "$as_dir" && as_dir=.
7610    for ac_exec_ext in '' $ac_executable_extensions; do
7611  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7612    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7613    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614    break 2
7615  fi
7616done
7617  done
7618IFS=$as_save_IFS
7619
7620fi
7621fi
7622ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7623if test -n "$ac_ct_MANIFEST_TOOL"; then
7624  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7625$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7626else
7627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628$as_echo "no" >&6; }
7629fi
7630
7631  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7632    MANIFEST_TOOL=":"
7633  else
7634    case $cross_compiling:$ac_tool_warned in
7635yes:)
7636{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7637$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7638ac_tool_warned=yes ;;
7639esac
7640    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7641  fi
7642else
7643  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7644fi
7645
7646test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7648$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7649if ${lt_cv_path_mainfest_tool+:} false; then :
7650  $as_echo_n "(cached) " >&6
7651else
7652  lt_cv_path_mainfest_tool=no
7653  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7654  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7655  cat conftest.err >&5
7656  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7657    lt_cv_path_mainfest_tool=yes
7658  fi
7659  rm -f conftest*
7660fi
7661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7662$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7663if test yes != "$lt_cv_path_mainfest_tool"; then
7664  MANIFEST_TOOL=:
7665fi
7666
7667
7668
7669
7670
7671
7672  case $host_os in
7673    rhapsody* | darwin*)
7674    if test -n "$ac_tool_prefix"; then
7675  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7676set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7678$as_echo_n "checking for $ac_word... " >&6; }
7679if ${ac_cv_prog_DSYMUTIL+:} false; then :
7680  $as_echo_n "(cached) " >&6
7681else
7682  if test -n "$DSYMUTIL"; then
7683  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7684else
7685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7686for as_dir in $PATH
7687do
7688  IFS=$as_save_IFS
7689  test -z "$as_dir" && as_dir=.
7690    for ac_exec_ext in '' $ac_executable_extensions; do
7691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7692    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7694    break 2
7695  fi
7696done
7697  done
7698IFS=$as_save_IFS
7699
7700fi
7701fi
7702DSYMUTIL=$ac_cv_prog_DSYMUTIL
7703if test -n "$DSYMUTIL"; then
7704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7705$as_echo "$DSYMUTIL" >&6; }
7706else
7707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7708$as_echo "no" >&6; }
7709fi
7710
7711
7712fi
7713if test -z "$ac_cv_prog_DSYMUTIL"; then
7714  ac_ct_DSYMUTIL=$DSYMUTIL
7715  # Extract the first word of "dsymutil", so it can be a program name with args.
7716set dummy dsymutil; ac_word=$2
7717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7718$as_echo_n "checking for $ac_word... " >&6; }
7719if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7720  $as_echo_n "(cached) " >&6
7721else
7722  if test -n "$ac_ct_DSYMUTIL"; then
7723  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7724else
7725as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7726for as_dir in $PATH
7727do
7728  IFS=$as_save_IFS
7729  test -z "$as_dir" && as_dir=.
7730    for ac_exec_ext in '' $ac_executable_extensions; do
7731  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7732    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7733    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7734    break 2
7735  fi
7736done
7737  done
7738IFS=$as_save_IFS
7739
7740fi
7741fi
7742ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7743if test -n "$ac_ct_DSYMUTIL"; then
7744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7745$as_echo "$ac_ct_DSYMUTIL" >&6; }
7746else
7747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7748$as_echo "no" >&6; }
7749fi
7750
7751  if test "x$ac_ct_DSYMUTIL" = x; then
7752    DSYMUTIL=":"
7753  else
7754    case $cross_compiling:$ac_tool_warned in
7755yes:)
7756{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7757$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7758ac_tool_warned=yes ;;
7759esac
7760    DSYMUTIL=$ac_ct_DSYMUTIL
7761  fi
7762else
7763  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7764fi
7765
7766    if test -n "$ac_tool_prefix"; then
7767  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7768set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7770$as_echo_n "checking for $ac_word... " >&6; }
7771if ${ac_cv_prog_NMEDIT+:} false; then :
7772  $as_echo_n "(cached) " >&6
7773else
7774  if test -n "$NMEDIT"; then
7775  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7776else
7777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7778for as_dir in $PATH
7779do
7780  IFS=$as_save_IFS
7781  test -z "$as_dir" && as_dir=.
7782    for ac_exec_ext in '' $ac_executable_extensions; do
7783  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7784    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7786    break 2
7787  fi
7788done
7789  done
7790IFS=$as_save_IFS
7791
7792fi
7793fi
7794NMEDIT=$ac_cv_prog_NMEDIT
7795if test -n "$NMEDIT"; then
7796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7797$as_echo "$NMEDIT" >&6; }
7798else
7799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7800$as_echo "no" >&6; }
7801fi
7802
7803
7804fi
7805if test -z "$ac_cv_prog_NMEDIT"; then
7806  ac_ct_NMEDIT=$NMEDIT
7807  # Extract the first word of "nmedit", so it can be a program name with args.
7808set dummy nmedit; ac_word=$2
7809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810$as_echo_n "checking for $ac_word... " >&6; }
7811if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7812  $as_echo_n "(cached) " >&6
7813else
7814  if test -n "$ac_ct_NMEDIT"; then
7815  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7816else
7817as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818for as_dir in $PATH
7819do
7820  IFS=$as_save_IFS
7821  test -z "$as_dir" && as_dir=.
7822    for ac_exec_ext in '' $ac_executable_extensions; do
7823  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7825    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826    break 2
7827  fi
7828done
7829  done
7830IFS=$as_save_IFS
7831
7832fi
7833fi
7834ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7835if test -n "$ac_ct_NMEDIT"; then
7836  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7837$as_echo "$ac_ct_NMEDIT" >&6; }
7838else
7839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840$as_echo "no" >&6; }
7841fi
7842
7843  if test "x$ac_ct_NMEDIT" = x; then
7844    NMEDIT=":"
7845  else
7846    case $cross_compiling:$ac_tool_warned in
7847yes:)
7848{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7849$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7850ac_tool_warned=yes ;;
7851esac
7852    NMEDIT=$ac_ct_NMEDIT
7853  fi
7854else
7855  NMEDIT="$ac_cv_prog_NMEDIT"
7856fi
7857
7858    if test -n "$ac_tool_prefix"; then
7859  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7860set dummy ${ac_tool_prefix}lipo; ac_word=$2
7861{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7862$as_echo_n "checking for $ac_word... " >&6; }
7863if ${ac_cv_prog_LIPO+:} false; then :
7864  $as_echo_n "(cached) " >&6
7865else
7866  if test -n "$LIPO"; then
7867  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7868else
7869as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7870for as_dir in $PATH
7871do
7872  IFS=$as_save_IFS
7873  test -z "$as_dir" && as_dir=.
7874    for ac_exec_ext in '' $ac_executable_extensions; do
7875  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878    break 2
7879  fi
7880done
7881  done
7882IFS=$as_save_IFS
7883
7884fi
7885fi
7886LIPO=$ac_cv_prog_LIPO
7887if test -n "$LIPO"; then
7888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7889$as_echo "$LIPO" >&6; }
7890else
7891  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7892$as_echo "no" >&6; }
7893fi
7894
7895
7896fi
7897if test -z "$ac_cv_prog_LIPO"; then
7898  ac_ct_LIPO=$LIPO
7899  # Extract the first word of "lipo", so it can be a program name with args.
7900set dummy lipo; ac_word=$2
7901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902$as_echo_n "checking for $ac_word... " >&6; }
7903if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7904  $as_echo_n "(cached) " >&6
7905else
7906  if test -n "$ac_ct_LIPO"; then
7907  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7908else
7909as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910for as_dir in $PATH
7911do
7912  IFS=$as_save_IFS
7913  test -z "$as_dir" && as_dir=.
7914    for ac_exec_ext in '' $ac_executable_extensions; do
7915  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916    ac_cv_prog_ac_ct_LIPO="lipo"
7917    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918    break 2
7919  fi
7920done
7921  done
7922IFS=$as_save_IFS
7923
7924fi
7925fi
7926ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7927if test -n "$ac_ct_LIPO"; then
7928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7929$as_echo "$ac_ct_LIPO" >&6; }
7930else
7931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932$as_echo "no" >&6; }
7933fi
7934
7935  if test "x$ac_ct_LIPO" = x; then
7936    LIPO=":"
7937  else
7938    case $cross_compiling:$ac_tool_warned in
7939yes:)
7940{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7941$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7942ac_tool_warned=yes ;;
7943esac
7944    LIPO=$ac_ct_LIPO
7945  fi
7946else
7947  LIPO="$ac_cv_prog_LIPO"
7948fi
7949
7950    if test -n "$ac_tool_prefix"; then
7951  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7952set dummy ${ac_tool_prefix}otool; ac_word=$2
7953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954$as_echo_n "checking for $ac_word... " >&6; }
7955if ${ac_cv_prog_OTOOL+:} false; then :
7956  $as_echo_n "(cached) " >&6
7957else
7958  if test -n "$OTOOL"; then
7959  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7960else
7961as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7962for as_dir in $PATH
7963do
7964  IFS=$as_save_IFS
7965  test -z "$as_dir" && as_dir=.
7966    for ac_exec_ext in '' $ac_executable_extensions; do
7967  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7969    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7970    break 2
7971  fi
7972done
7973  done
7974IFS=$as_save_IFS
7975
7976fi
7977fi
7978OTOOL=$ac_cv_prog_OTOOL
7979if test -n "$OTOOL"; then
7980  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7981$as_echo "$OTOOL" >&6; }
7982else
7983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984$as_echo "no" >&6; }
7985fi
7986
7987
7988fi
7989if test -z "$ac_cv_prog_OTOOL"; then
7990  ac_ct_OTOOL=$OTOOL
7991  # Extract the first word of "otool", so it can be a program name with args.
7992set dummy otool; ac_word=$2
7993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994$as_echo_n "checking for $ac_word... " >&6; }
7995if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7996  $as_echo_n "(cached) " >&6
7997else
7998  if test -n "$ac_ct_OTOOL"; then
7999  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8000else
8001as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002for as_dir in $PATH
8003do
8004  IFS=$as_save_IFS
8005  test -z "$as_dir" && as_dir=.
8006    for ac_exec_ext in '' $ac_executable_extensions; do
8007  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008    ac_cv_prog_ac_ct_OTOOL="otool"
8009    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010    break 2
8011  fi
8012done
8013  done
8014IFS=$as_save_IFS
8015
8016fi
8017fi
8018ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8019if test -n "$ac_ct_OTOOL"; then
8020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8021$as_echo "$ac_ct_OTOOL" >&6; }
8022else
8023  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024$as_echo "no" >&6; }
8025fi
8026
8027  if test "x$ac_ct_OTOOL" = x; then
8028    OTOOL=":"
8029  else
8030    case $cross_compiling:$ac_tool_warned in
8031yes:)
8032{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8033$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8034ac_tool_warned=yes ;;
8035esac
8036    OTOOL=$ac_ct_OTOOL
8037  fi
8038else
8039  OTOOL="$ac_cv_prog_OTOOL"
8040fi
8041
8042    if test -n "$ac_tool_prefix"; then
8043  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8044set dummy ${ac_tool_prefix}otool64; ac_word=$2
8045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8046$as_echo_n "checking for $ac_word... " >&6; }
8047if ${ac_cv_prog_OTOOL64+:} false; then :
8048  $as_echo_n "(cached) " >&6
8049else
8050  if test -n "$OTOOL64"; then
8051  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8052else
8053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8054for as_dir in $PATH
8055do
8056  IFS=$as_save_IFS
8057  test -z "$as_dir" && as_dir=.
8058    for ac_exec_ext in '' $ac_executable_extensions; do
8059  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8060    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8062    break 2
8063  fi
8064done
8065  done
8066IFS=$as_save_IFS
8067
8068fi
8069fi
8070OTOOL64=$ac_cv_prog_OTOOL64
8071if test -n "$OTOOL64"; then
8072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8073$as_echo "$OTOOL64" >&6; }
8074else
8075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8076$as_echo "no" >&6; }
8077fi
8078
8079
8080fi
8081if test -z "$ac_cv_prog_OTOOL64"; then
8082  ac_ct_OTOOL64=$OTOOL64
8083  # Extract the first word of "otool64", so it can be a program name with args.
8084set dummy otool64; ac_word=$2
8085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8086$as_echo_n "checking for $ac_word... " >&6; }
8087if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8088  $as_echo_n "(cached) " >&6
8089else
8090  if test -n "$ac_ct_OTOOL64"; then
8091  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8092else
8093as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8094for as_dir in $PATH
8095do
8096  IFS=$as_save_IFS
8097  test -z "$as_dir" && as_dir=.
8098    for ac_exec_ext in '' $ac_executable_extensions; do
8099  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8100    ac_cv_prog_ac_ct_OTOOL64="otool64"
8101    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8102    break 2
8103  fi
8104done
8105  done
8106IFS=$as_save_IFS
8107
8108fi
8109fi
8110ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8111if test -n "$ac_ct_OTOOL64"; then
8112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8113$as_echo "$ac_ct_OTOOL64" >&6; }
8114else
8115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8116$as_echo "no" >&6; }
8117fi
8118
8119  if test "x$ac_ct_OTOOL64" = x; then
8120    OTOOL64=":"
8121  else
8122    case $cross_compiling:$ac_tool_warned in
8123yes:)
8124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8126ac_tool_warned=yes ;;
8127esac
8128    OTOOL64=$ac_ct_OTOOL64
8129  fi
8130else
8131  OTOOL64="$ac_cv_prog_OTOOL64"
8132fi
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8161$as_echo_n "checking for -single_module linker flag... " >&6; }
8162if ${lt_cv_apple_cc_single_mod+:} false; then :
8163  $as_echo_n "(cached) " >&6
8164else
8165  lt_cv_apple_cc_single_mod=no
8166      if test -z "$LT_MULTI_MODULE"; then
8167	# By default we will add the -single_module flag. You can override
8168	# by either setting the environment variable LT_MULTI_MODULE
8169	# non-empty at configure time, or by adding -multi_module to the
8170	# link flags.
8171	rm -rf libconftest.dylib*
8172	echo "int foo(void){return 1;}" > conftest.c
8173	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8174-dynamiclib -Wl,-single_module conftest.c" >&5
8175	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8176	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8177        _lt_result=$?
8178	# If there is a non-empty error log, and "single_module"
8179	# appears in it, assume the flag caused a linker warning
8180        if test -s conftest.err && $GREP single_module conftest.err; then
8181	  cat conftest.err >&5
8182	# Otherwise, if the output was created with a 0 exit code from
8183	# the compiler, it worked.
8184	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8185	  lt_cv_apple_cc_single_mod=yes
8186	else
8187	  cat conftest.err >&5
8188	fi
8189	rm -rf libconftest.dylib*
8190	rm -f conftest.*
8191      fi
8192fi
8193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8194$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8195
8196    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8197$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8198if ${lt_cv_ld_exported_symbols_list+:} false; then :
8199  $as_echo_n "(cached) " >&6
8200else
8201  lt_cv_ld_exported_symbols_list=no
8202      save_LDFLAGS=$LDFLAGS
8203      echo "_main" > conftest.sym
8204      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8205      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8206/* end confdefs.h.  */
8207
8208int
8209main ()
8210{
8211
8212  ;
8213  return 0;
8214}
8215_ACEOF
8216if ac_fn_c_try_link "$LINENO"; then :
8217  lt_cv_ld_exported_symbols_list=yes
8218else
8219  lt_cv_ld_exported_symbols_list=no
8220fi
8221rm -f core conftest.err conftest.$ac_objext \
8222    conftest$ac_exeext conftest.$ac_ext
8223	LDFLAGS=$save_LDFLAGS
8224
8225fi
8226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8227$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8228
8229    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8230$as_echo_n "checking for -force_load linker flag... " >&6; }
8231if ${lt_cv_ld_force_load+:} false; then :
8232  $as_echo_n "(cached) " >&6
8233else
8234  lt_cv_ld_force_load=no
8235      cat > conftest.c << _LT_EOF
8236int forced_loaded() { return 2;}
8237_LT_EOF
8238      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8239      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8240      echo "$AR cru libconftest.a conftest.o" >&5
8241      $AR cru libconftest.a conftest.o 2>&5
8242      echo "$RANLIB libconftest.a" >&5
8243      $RANLIB libconftest.a 2>&5
8244      cat > conftest.c << _LT_EOF
8245int main() { return 0;}
8246_LT_EOF
8247      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8248      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8249      _lt_result=$?
8250      if test -s conftest.err && $GREP force_load conftest.err; then
8251	cat conftest.err >&5
8252      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8253	lt_cv_ld_force_load=yes
8254      else
8255	cat conftest.err >&5
8256      fi
8257        rm -f conftest.err libconftest.a conftest conftest.c
8258        rm -rf conftest.dSYM
8259
8260fi
8261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8262$as_echo "$lt_cv_ld_force_load" >&6; }
8263    case $host_os in
8264    rhapsody* | darwin1.[012])
8265      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8266    darwin1.*)
8267      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8268    darwin*) # darwin 5.x on
8269      # if running on 10.5 or later, the deployment target defaults
8270      # to the OS version, if on x86, and 10.4, the deployment
8271      # target defaults to 10.4. Don't you love it?
8272      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8273	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8274	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8275	10.[012][,.]*)
8276	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8277	10.*)
8278	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8279      esac
8280    ;;
8281  esac
8282    if test yes = "$lt_cv_apple_cc_single_mod"; then
8283      _lt_dar_single_mod='$single_module'
8284    fi
8285    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8286      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8287    else
8288      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8289    fi
8290    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8291      _lt_dsymutil='~$DSYMUTIL $lib || :'
8292    else
8293      _lt_dsymutil=
8294    fi
8295    ;;
8296  esac
8297
8298# func_munge_path_list VARIABLE PATH
8299# -----------------------------------
8300# VARIABLE is name of variable containing _space_ separated list of
8301# directories to be munged by the contents of PATH, which is string
8302# having a format:
8303# "DIR[:DIR]:"
8304#       string "DIR[ DIR]" will be prepended to VARIABLE
8305# ":DIR[:DIR]"
8306#       string "DIR[ DIR]" will be appended to VARIABLE
8307# "DIRP[:DIRP]::[DIRA:]DIRA"
8308#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8309#       "DIRA[ DIRA]" will be appended to VARIABLE
8310# "DIR[:DIR]"
8311#       VARIABLE will be replaced by "DIR[ DIR]"
8312func_munge_path_list ()
8313{
8314    case x$2 in
8315    x)
8316        ;;
8317    *:)
8318        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8319        ;;
8320    x:*)
8321        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8322        ;;
8323    *::*)
8324        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8325        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8326        ;;
8327    *)
8328        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8329        ;;
8330    esac
8331}
8332
8333# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8334for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8335		  inttypes.h stdint.h unistd.h
8336do :
8337  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8338ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8339"
8340if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8341  cat >>confdefs.h <<_ACEOF
8342#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8343_ACEOF
8344
8345fi
8346
8347done
8348
8349
8350for ac_header in dlfcn.h
8351do :
8352  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8353"
8354if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8355  cat >>confdefs.h <<_ACEOF
8356#define HAVE_DLFCN_H 1
8357_ACEOF
8358
8359fi
8360
8361done
8362
8363
8364
8365
8366
8367# Set options
8368
8369
8370
8371        enable_dlopen=no
8372
8373
8374
8375            # Check whether --enable-shared was given.
8376if test "${enable_shared+set}" = set; then :
8377  enableval=$enable_shared; p=${PACKAGE-default}
8378    case $enableval in
8379    yes) enable_shared=yes ;;
8380    no) enable_shared=no ;;
8381    *)
8382      enable_shared=no
8383      # Look at the argument we got.  We use all the common list separators.
8384      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8385      for pkg in $enableval; do
8386	IFS=$lt_save_ifs
8387	if test "X$pkg" = "X$p"; then
8388	  enable_shared=yes
8389	fi
8390      done
8391      IFS=$lt_save_ifs
8392      ;;
8393    esac
8394else
8395  enable_shared=yes
8396fi
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406  # Check whether --enable-static was given.
8407if test "${enable_static+set}" = set; then :
8408  enableval=$enable_static; p=${PACKAGE-default}
8409    case $enableval in
8410    yes) enable_static=yes ;;
8411    no) enable_static=no ;;
8412    *)
8413     enable_static=no
8414      # Look at the argument we got.  We use all the common list separators.
8415      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8416      for pkg in $enableval; do
8417	IFS=$lt_save_ifs
8418	if test "X$pkg" = "X$p"; then
8419	  enable_static=yes
8420	fi
8421      done
8422      IFS=$lt_save_ifs
8423      ;;
8424    esac
8425else
8426  enable_static=yes
8427fi
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438# Check whether --with-pic was given.
8439if test "${with_pic+set}" = set; then :
8440  withval=$with_pic; lt_p=${PACKAGE-default}
8441    case $withval in
8442    yes|no) pic_mode=$withval ;;
8443    *)
8444      pic_mode=default
8445      # Look at the argument we got.  We use all the common list separators.
8446      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8447      for lt_pkg in $withval; do
8448	IFS=$lt_save_ifs
8449	if test "X$lt_pkg" = "X$lt_p"; then
8450	  pic_mode=yes
8451	fi
8452      done
8453      IFS=$lt_save_ifs
8454      ;;
8455    esac
8456else
8457  pic_mode=default
8458fi
8459
8460
8461
8462
8463
8464
8465
8466
8467  # Check whether --enable-fast-install was given.
8468if test "${enable_fast_install+set}" = set; then :
8469  enableval=$enable_fast_install; p=${PACKAGE-default}
8470    case $enableval in
8471    yes) enable_fast_install=yes ;;
8472    no) enable_fast_install=no ;;
8473    *)
8474      enable_fast_install=no
8475      # Look at the argument we got.  We use all the common list separators.
8476      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8477      for pkg in $enableval; do
8478	IFS=$lt_save_ifs
8479	if test "X$pkg" = "X$p"; then
8480	  enable_fast_install=yes
8481	fi
8482      done
8483      IFS=$lt_save_ifs
8484      ;;
8485    esac
8486else
8487  enable_fast_install=yes
8488fi
8489
8490
8491
8492
8493
8494
8495
8496
8497  shared_archive_member_spec=
8498case $host,$enable_shared in
8499power*-*-aix[5-9]*,yes)
8500  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8501$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8502
8503# Check whether --with-aix-soname was given.
8504if test "${with_aix_soname+set}" = set; then :
8505  withval=$with_aix_soname; case $withval in
8506    aix|svr4|both)
8507      ;;
8508    *)
8509      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8510      ;;
8511    esac
8512    lt_cv_with_aix_soname=$with_aix_soname
8513else
8514  if ${lt_cv_with_aix_soname+:} false; then :
8515  $as_echo_n "(cached) " >&6
8516else
8517  lt_cv_with_aix_soname=aix
8518fi
8519
8520    with_aix_soname=$lt_cv_with_aix_soname
8521fi
8522
8523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8524$as_echo "$with_aix_soname" >&6; }
8525  if test aix != "$with_aix_soname"; then
8526    # For the AIX way of multilib, we name the shared archive member
8527    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8528    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8529    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8530    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8531    if test 64 = "${OBJECT_MODE-32}"; then
8532      shared_archive_member_spec=shr_64
8533    else
8534      shared_archive_member_spec=shr
8535    fi
8536  fi
8537  ;;
8538*)
8539  with_aix_soname=aix
8540  ;;
8541esac
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552# This can be used to rebuild libtool when needed
8553LIBTOOL_DEPS=$ltmain
8554
8555# Always use our own libtool.
8556LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587test -z "$LN_S" && LN_S="ln -s"
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602if test -n "${ZSH_VERSION+set}"; then
8603   setopt NO_GLOB_SUBST
8604fi
8605
8606{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8607$as_echo_n "checking for objdir... " >&6; }
8608if ${lt_cv_objdir+:} false; then :
8609  $as_echo_n "(cached) " >&6
8610else
8611  rm -f .libs 2>/dev/null
8612mkdir .libs 2>/dev/null
8613if test -d .libs; then
8614  lt_cv_objdir=.libs
8615else
8616  # MS-DOS does not allow filenames that begin with a dot.
8617  lt_cv_objdir=_libs
8618fi
8619rmdir .libs 2>/dev/null
8620fi
8621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8622$as_echo "$lt_cv_objdir" >&6; }
8623objdir=$lt_cv_objdir
8624
8625
8626
8627
8628
8629cat >>confdefs.h <<_ACEOF
8630#define LT_OBJDIR "$lt_cv_objdir/"
8631_ACEOF
8632
8633
8634
8635
8636case $host_os in
8637aix3*)
8638  # AIX sometimes has problems with the GCC collect2 program.  For some
8639  # reason, if we set the COLLECT_NAMES environment variable, the problems
8640  # vanish in a puff of smoke.
8641  if test set != "${COLLECT_NAMES+set}"; then
8642    COLLECT_NAMES=
8643    export COLLECT_NAMES
8644  fi
8645  ;;
8646esac
8647
8648# Global variables:
8649ofile=libtool
8650can_build_shared=yes
8651
8652# All known linkers require a '.a' archive for static linking (except MSVC,
8653# which needs '.lib').
8654libext=a
8655
8656with_gnu_ld=$lt_cv_prog_gnu_ld
8657
8658old_CC=$CC
8659old_CFLAGS=$CFLAGS
8660
8661# Set sane defaults for various variables
8662test -z "$CC" && CC=cc
8663test -z "$LTCC" && LTCC=$CC
8664test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8665test -z "$LD" && LD=ld
8666test -z "$ac_objext" && ac_objext=o
8667
8668func_cc_basename $compiler
8669cc_basename=$func_cc_basename_result
8670
8671
8672# Only perform the check for file, if the check method requires it
8673test -z "$MAGIC_CMD" && MAGIC_CMD=file
8674case $deplibs_check_method in
8675file_magic*)
8676  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8677    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8678$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8679if ${lt_cv_path_MAGIC_CMD+:} false; then :
8680  $as_echo_n "(cached) " >&6
8681else
8682  case $MAGIC_CMD in
8683[\\/*] |  ?:[\\/]*)
8684  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8685  ;;
8686*)
8687  lt_save_MAGIC_CMD=$MAGIC_CMD
8688  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8689  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8690  for ac_dir in $ac_dummy; do
8691    IFS=$lt_save_ifs
8692    test -z "$ac_dir" && ac_dir=.
8693    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8694      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8695      if test -n "$file_magic_test_file"; then
8696	case $deplibs_check_method in
8697	"file_magic "*)
8698	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8699	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8700	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8701	    $EGREP "$file_magic_regex" > /dev/null; then
8702	    :
8703	  else
8704	    cat <<_LT_EOF 1>&2
8705
8706*** Warning: the command libtool uses to detect shared libraries,
8707*** $file_magic_cmd, produces output that libtool cannot recognize.
8708*** The result is that libtool may fail to recognize shared libraries
8709*** as such.  This will affect the creation of libtool libraries that
8710*** depend on shared libraries, but programs linked with such libtool
8711*** libraries will work regardless of this problem.  Nevertheless, you
8712*** may want to report the problem to your system manager and/or to
8713*** bug-libtool@gnu.org
8714
8715_LT_EOF
8716	  fi ;;
8717	esac
8718      fi
8719      break
8720    fi
8721  done
8722  IFS=$lt_save_ifs
8723  MAGIC_CMD=$lt_save_MAGIC_CMD
8724  ;;
8725esac
8726fi
8727
8728MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8729if test -n "$MAGIC_CMD"; then
8730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8731$as_echo "$MAGIC_CMD" >&6; }
8732else
8733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8734$as_echo "no" >&6; }
8735fi
8736
8737
8738
8739
8740
8741if test -z "$lt_cv_path_MAGIC_CMD"; then
8742  if test -n "$ac_tool_prefix"; then
8743    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8744$as_echo_n "checking for file... " >&6; }
8745if ${lt_cv_path_MAGIC_CMD+:} false; then :
8746  $as_echo_n "(cached) " >&6
8747else
8748  case $MAGIC_CMD in
8749[\\/*] |  ?:[\\/]*)
8750  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8751  ;;
8752*)
8753  lt_save_MAGIC_CMD=$MAGIC_CMD
8754  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8755  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8756  for ac_dir in $ac_dummy; do
8757    IFS=$lt_save_ifs
8758    test -z "$ac_dir" && ac_dir=.
8759    if test -f "$ac_dir/file"; then
8760      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8761      if test -n "$file_magic_test_file"; then
8762	case $deplibs_check_method in
8763	"file_magic "*)
8764	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8765	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8766	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8767	    $EGREP "$file_magic_regex" > /dev/null; then
8768	    :
8769	  else
8770	    cat <<_LT_EOF 1>&2
8771
8772*** Warning: the command libtool uses to detect shared libraries,
8773*** $file_magic_cmd, produces output that libtool cannot recognize.
8774*** The result is that libtool may fail to recognize shared libraries
8775*** as such.  This will affect the creation of libtool libraries that
8776*** depend on shared libraries, but programs linked with such libtool
8777*** libraries will work regardless of this problem.  Nevertheless, you
8778*** may want to report the problem to your system manager and/or to
8779*** bug-libtool@gnu.org
8780
8781_LT_EOF
8782	  fi ;;
8783	esac
8784      fi
8785      break
8786    fi
8787  done
8788  IFS=$lt_save_ifs
8789  MAGIC_CMD=$lt_save_MAGIC_CMD
8790  ;;
8791esac
8792fi
8793
8794MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8795if test -n "$MAGIC_CMD"; then
8796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8797$as_echo "$MAGIC_CMD" >&6; }
8798else
8799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8800$as_echo "no" >&6; }
8801fi
8802
8803
8804  else
8805    MAGIC_CMD=:
8806  fi
8807fi
8808
8809  fi
8810  ;;
8811esac
8812
8813# Use C for the default configuration in the libtool script
8814
8815lt_save_CC=$CC
8816ac_ext=c
8817ac_cpp='$CPP $CPPFLAGS'
8818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8820ac_compiler_gnu=$ac_cv_c_compiler_gnu
8821
8822
8823# Source file extension for C test sources.
8824ac_ext=c
8825
8826# Object file extension for compiled C test sources.
8827objext=o
8828objext=$objext
8829
8830# Code to be used in simple compile tests
8831lt_simple_compile_test_code="int some_variable = 0;"
8832
8833# Code to be used in simple link tests
8834lt_simple_link_test_code='int main(){return(0);}'
8835
8836
8837
8838
8839
8840
8841
8842# If no C compiler was specified, use CC.
8843LTCC=${LTCC-"$CC"}
8844
8845# If no C compiler flags were specified, use CFLAGS.
8846LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8847
8848# Allow CC to be a program name with arguments.
8849compiler=$CC
8850
8851# Save the default compiler, since it gets overwritten when the other
8852# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8853compiler_DEFAULT=$CC
8854
8855# save warnings/boilerplate of simple test code
8856ac_outfile=conftest.$ac_objext
8857echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8858eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8859_lt_compiler_boilerplate=`cat conftest.err`
8860$RM conftest*
8861
8862ac_outfile=conftest.$ac_objext
8863echo "$lt_simple_link_test_code" >conftest.$ac_ext
8864eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8865_lt_linker_boilerplate=`cat conftest.err`
8866$RM -r conftest*
8867
8868
8869if test -n "$compiler"; then
8870
8871lt_prog_compiler_no_builtin_flag=
8872
8873if test yes = "$GCC"; then
8874  case $cc_basename in
8875  nvcc*)
8876    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8877  *)
8878    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8879  esac
8880
8881  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8882$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8883if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8884  $as_echo_n "(cached) " >&6
8885else
8886  lt_cv_prog_compiler_rtti_exceptions=no
8887   ac_outfile=conftest.$ac_objext
8888   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8889   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8890   # Insert the option either (1) after the last *FLAGS variable, or
8891   # (2) before a word containing "conftest.", or (3) at the end.
8892   # Note that $ac_compile itself does not contain backslashes and begins
8893   # with a dollar sign (not a hyphen), so the echo should work correctly.
8894   # The option is referenced via a variable to avoid confusing sed.
8895   lt_compile=`echo "$ac_compile" | $SED \
8896   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8897   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8898   -e 's:$: $lt_compiler_flag:'`
8899   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8900   (eval "$lt_compile" 2>conftest.err)
8901   ac_status=$?
8902   cat conftest.err >&5
8903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904   if (exit $ac_status) && test -s "$ac_outfile"; then
8905     # The compiler can only warn and ignore the option if not recognized
8906     # So say no if there are warnings other than the usual output.
8907     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8908     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8909     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8910       lt_cv_prog_compiler_rtti_exceptions=yes
8911     fi
8912   fi
8913   $RM conftest*
8914
8915fi
8916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8917$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8918
8919if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8920    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8921else
8922    :
8923fi
8924
8925fi
8926
8927
8928
8929
8930
8931
8932  lt_prog_compiler_wl=
8933lt_prog_compiler_pic=
8934lt_prog_compiler_static=
8935
8936
8937  if test yes = "$GCC"; then
8938    lt_prog_compiler_wl='-Wl,'
8939    lt_prog_compiler_static='-static'
8940
8941    case $host_os in
8942      aix*)
8943      # All AIX code is PIC.
8944      if test ia64 = "$host_cpu"; then
8945	# AIX 5 now supports IA64 processor
8946	lt_prog_compiler_static='-Bstatic'
8947      fi
8948      lt_prog_compiler_pic='-fPIC'
8949      ;;
8950
8951    amigaos*)
8952      case $host_cpu in
8953      powerpc)
8954            # see comment about AmigaOS4 .so support
8955            lt_prog_compiler_pic='-fPIC'
8956        ;;
8957      m68k)
8958            # FIXME: we need at least 68020 code to build shared libraries, but
8959            # adding the '-m68020' flag to GCC prevents building anything better,
8960            # like '-m68040'.
8961            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8962        ;;
8963      esac
8964      ;;
8965
8966    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8967      # PIC is the default for these OSes.
8968      ;;
8969
8970    mingw* | cygwin* | pw32* | os2* | cegcc*)
8971      # This hack is so that the source file can tell whether it is being
8972      # built for inclusion in a dll (and should export symbols for example).
8973      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8974      # (--disable-auto-import) libraries
8975      lt_prog_compiler_pic='-DDLL_EXPORT'
8976      case $host_os in
8977      os2*)
8978	lt_prog_compiler_static='$wl-static'
8979	;;
8980      esac
8981      ;;
8982
8983    darwin* | rhapsody*)
8984      # PIC is the default on this platform
8985      # Common symbols not allowed in MH_DYLIB files
8986      lt_prog_compiler_pic='-fno-common'
8987      ;;
8988
8989    haiku*)
8990      # PIC is the default for Haiku.
8991      # The "-static" flag exists, but is broken.
8992      lt_prog_compiler_static=
8993      ;;
8994
8995    hpux*)
8996      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8997      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8998      # sets the default TLS model and affects inlining.
8999      case $host_cpu in
9000      hppa*64*)
9001	# +Z the default
9002	;;
9003      *)
9004	lt_prog_compiler_pic='-fPIC'
9005	;;
9006      esac
9007      ;;
9008
9009    interix[3-9]*)
9010      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9011      # Instead, we relocate shared libraries at runtime.
9012      ;;
9013
9014    msdosdjgpp*)
9015      # Just because we use GCC doesn't mean we suddenly get shared libraries
9016      # on systems that don't support them.
9017      lt_prog_compiler_can_build_shared=no
9018      enable_shared=no
9019      ;;
9020
9021    *nto* | *qnx*)
9022      # QNX uses GNU C++, but need to define -shared option too, otherwise
9023      # it will coredump.
9024      lt_prog_compiler_pic='-fPIC -shared'
9025      ;;
9026
9027    sysv4*MP*)
9028      if test -d /usr/nec; then
9029	lt_prog_compiler_pic=-Kconform_pic
9030      fi
9031      ;;
9032
9033    *)
9034      lt_prog_compiler_pic='-fPIC'
9035      ;;
9036    esac
9037
9038    case $cc_basename in
9039    nvcc*) # Cuda Compiler Driver 2.2
9040      lt_prog_compiler_wl='-Xlinker '
9041      if test -n "$lt_prog_compiler_pic"; then
9042        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9043      fi
9044      ;;
9045    esac
9046  else
9047    # PORTME Check for flag to pass linker flags through the system compiler.
9048    case $host_os in
9049    aix*)
9050      lt_prog_compiler_wl='-Wl,'
9051      if test ia64 = "$host_cpu"; then
9052	# AIX 5 now supports IA64 processor
9053	lt_prog_compiler_static='-Bstatic'
9054      else
9055	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9056      fi
9057      ;;
9058
9059    darwin* | rhapsody*)
9060      # PIC is the default on this platform
9061      # Common symbols not allowed in MH_DYLIB files
9062      lt_prog_compiler_pic='-fno-common'
9063      case $cc_basename in
9064      nagfor*)
9065        # NAG Fortran compiler
9066        lt_prog_compiler_wl='-Wl,-Wl,,'
9067        lt_prog_compiler_pic='-PIC'
9068        lt_prog_compiler_static='-Bstatic'
9069        ;;
9070      esac
9071      ;;
9072
9073    mingw* | cygwin* | pw32* | os2* | cegcc*)
9074      # This hack is so that the source file can tell whether it is being
9075      # built for inclusion in a dll (and should export symbols for example).
9076      lt_prog_compiler_pic='-DDLL_EXPORT'
9077      case $host_os in
9078      os2*)
9079	lt_prog_compiler_static='$wl-static'
9080	;;
9081      esac
9082      ;;
9083
9084    hpux9* | hpux10* | hpux11*)
9085      lt_prog_compiler_wl='-Wl,'
9086      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9087      # not for PA HP-UX.
9088      case $host_cpu in
9089      hppa*64*|ia64*)
9090	# +Z the default
9091	;;
9092      *)
9093	lt_prog_compiler_pic='+Z'
9094	;;
9095      esac
9096      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9097      lt_prog_compiler_static='$wl-a ${wl}archive'
9098      ;;
9099
9100    irix5* | irix6* | nonstopux*)
9101      lt_prog_compiler_wl='-Wl,'
9102      # PIC (with -KPIC) is the default.
9103      lt_prog_compiler_static='-non_shared'
9104      ;;
9105
9106    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9107      case $cc_basename in
9108      # old Intel for x86_64, which still supported -KPIC.
9109      ecc*)
9110	lt_prog_compiler_wl='-Wl,'
9111	lt_prog_compiler_pic='-KPIC'
9112	lt_prog_compiler_static='-static'
9113        ;;
9114      # icc used to be incompatible with GCC.
9115      # ICC 10 doesn't accept -KPIC any more.
9116      icc* | ifort*)
9117	lt_prog_compiler_wl='-Wl,'
9118	lt_prog_compiler_pic='-fPIC'
9119	lt_prog_compiler_static='-static'
9120        ;;
9121      # Lahey Fortran 8.1.
9122      lf95*)
9123	lt_prog_compiler_wl='-Wl,'
9124	lt_prog_compiler_pic='--shared'
9125	lt_prog_compiler_static='--static'
9126	;;
9127      nagfor*)
9128	# NAG Fortran compiler
9129	lt_prog_compiler_wl='-Wl,-Wl,,'
9130	lt_prog_compiler_pic='-PIC'
9131	lt_prog_compiler_static='-Bstatic'
9132	;;
9133      tcc*)
9134	# Fabrice Bellard et al's Tiny C Compiler
9135	lt_prog_compiler_wl='-Wl,'
9136	lt_prog_compiler_pic='-fPIC'
9137	lt_prog_compiler_static='-static'
9138	;;
9139      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9140        # Portland Group compilers (*not* the Pentium gcc compiler,
9141	# which looks to be a dead project)
9142	lt_prog_compiler_wl='-Wl,'
9143	lt_prog_compiler_pic='-fpic'
9144	lt_prog_compiler_static='-Bstatic'
9145        ;;
9146      ccc*)
9147        lt_prog_compiler_wl='-Wl,'
9148        # All Alpha code is PIC.
9149        lt_prog_compiler_static='-non_shared'
9150        ;;
9151      xl* | bgxl* | bgf* | mpixl*)
9152	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9153	lt_prog_compiler_wl='-Wl,'
9154	lt_prog_compiler_pic='-qpic'
9155	lt_prog_compiler_static='-qstaticlink'
9156	;;
9157      *)
9158	case `$CC -V 2>&1 | sed 5q` in
9159	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9160	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9161	  lt_prog_compiler_pic='-KPIC'
9162	  lt_prog_compiler_static='-Bstatic'
9163	  lt_prog_compiler_wl=''
9164	  ;;
9165	*Sun\ F* | *Sun*Fortran*)
9166	  lt_prog_compiler_pic='-KPIC'
9167	  lt_prog_compiler_static='-Bstatic'
9168	  lt_prog_compiler_wl='-Qoption ld '
9169	  ;;
9170	*Sun\ C*)
9171	  # Sun C 5.9
9172	  lt_prog_compiler_pic='-KPIC'
9173	  lt_prog_compiler_static='-Bstatic'
9174	  lt_prog_compiler_wl='-Wl,'
9175	  ;;
9176        *Intel*\ [CF]*Compiler*)
9177	  lt_prog_compiler_wl='-Wl,'
9178	  lt_prog_compiler_pic='-fPIC'
9179	  lt_prog_compiler_static='-static'
9180	  ;;
9181	*Portland\ Group*)
9182	  lt_prog_compiler_wl='-Wl,'
9183	  lt_prog_compiler_pic='-fpic'
9184	  lt_prog_compiler_static='-Bstatic'
9185	  ;;
9186	esac
9187	;;
9188      esac
9189      ;;
9190
9191    newsos6)
9192      lt_prog_compiler_pic='-KPIC'
9193      lt_prog_compiler_static='-Bstatic'
9194      ;;
9195
9196    *nto* | *qnx*)
9197      # QNX uses GNU C++, but need to define -shared option too, otherwise
9198      # it will coredump.
9199      lt_prog_compiler_pic='-fPIC -shared'
9200      ;;
9201
9202    osf3* | osf4* | osf5*)
9203      lt_prog_compiler_wl='-Wl,'
9204      # All OSF/1 code is PIC.
9205      lt_prog_compiler_static='-non_shared'
9206      ;;
9207
9208    rdos*)
9209      lt_prog_compiler_static='-non_shared'
9210      ;;
9211
9212    solaris*)
9213      lt_prog_compiler_pic='-KPIC'
9214      lt_prog_compiler_static='-Bstatic'
9215      case $cc_basename in
9216      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9217	lt_prog_compiler_wl='-Qoption ld ';;
9218      *)
9219	lt_prog_compiler_wl='-Wl,';;
9220      esac
9221      ;;
9222
9223    sunos4*)
9224      lt_prog_compiler_wl='-Qoption ld '
9225      lt_prog_compiler_pic='-PIC'
9226      lt_prog_compiler_static='-Bstatic'
9227      ;;
9228
9229    sysv4 | sysv4.2uw2* | sysv4.3*)
9230      lt_prog_compiler_wl='-Wl,'
9231      lt_prog_compiler_pic='-KPIC'
9232      lt_prog_compiler_static='-Bstatic'
9233      ;;
9234
9235    sysv4*MP*)
9236      if test -d /usr/nec; then
9237	lt_prog_compiler_pic='-Kconform_pic'
9238	lt_prog_compiler_static='-Bstatic'
9239      fi
9240      ;;
9241
9242    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9243      lt_prog_compiler_wl='-Wl,'
9244      lt_prog_compiler_pic='-KPIC'
9245      lt_prog_compiler_static='-Bstatic'
9246      ;;
9247
9248    unicos*)
9249      lt_prog_compiler_wl='-Wl,'
9250      lt_prog_compiler_can_build_shared=no
9251      ;;
9252
9253    uts4*)
9254      lt_prog_compiler_pic='-pic'
9255      lt_prog_compiler_static='-Bstatic'
9256      ;;
9257
9258    *)
9259      lt_prog_compiler_can_build_shared=no
9260      ;;
9261    esac
9262  fi
9263
9264case $host_os in
9265  # For platforms that do not support PIC, -DPIC is meaningless:
9266  *djgpp*)
9267    lt_prog_compiler_pic=
9268    ;;
9269  *)
9270    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9271    ;;
9272esac
9273
9274{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9275$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9276if ${lt_cv_prog_compiler_pic+:} false; then :
9277  $as_echo_n "(cached) " >&6
9278else
9279  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9280fi
9281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9282$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9283lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9284
9285#
9286# Check to make sure the PIC flag actually works.
9287#
9288if test -n "$lt_prog_compiler_pic"; then
9289  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9290$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9291if ${lt_cv_prog_compiler_pic_works+:} false; then :
9292  $as_echo_n "(cached) " >&6
9293else
9294  lt_cv_prog_compiler_pic_works=no
9295   ac_outfile=conftest.$ac_objext
9296   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9297   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9298   # Insert the option either (1) after the last *FLAGS variable, or
9299   # (2) before a word containing "conftest.", or (3) at the end.
9300   # Note that $ac_compile itself does not contain backslashes and begins
9301   # with a dollar sign (not a hyphen), so the echo should work correctly.
9302   # The option is referenced via a variable to avoid confusing sed.
9303   lt_compile=`echo "$ac_compile" | $SED \
9304   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9305   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9306   -e 's:$: $lt_compiler_flag:'`
9307   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9308   (eval "$lt_compile" 2>conftest.err)
9309   ac_status=$?
9310   cat conftest.err >&5
9311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312   if (exit $ac_status) && test -s "$ac_outfile"; then
9313     # The compiler can only warn and ignore the option if not recognized
9314     # So say no if there are warnings other than the usual output.
9315     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9316     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9317     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9318       lt_cv_prog_compiler_pic_works=yes
9319     fi
9320   fi
9321   $RM conftest*
9322
9323fi
9324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9325$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9326
9327if test yes = "$lt_cv_prog_compiler_pic_works"; then
9328    case $lt_prog_compiler_pic in
9329     "" | " "*) ;;
9330     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9331     esac
9332else
9333    lt_prog_compiler_pic=
9334     lt_prog_compiler_can_build_shared=no
9335fi
9336
9337fi
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349#
9350# Check to make sure the static flag actually works.
9351#
9352wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9354$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9355if ${lt_cv_prog_compiler_static_works+:} false; then :
9356  $as_echo_n "(cached) " >&6
9357else
9358  lt_cv_prog_compiler_static_works=no
9359   save_LDFLAGS=$LDFLAGS
9360   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9361   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9362   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9363     # The linker can only warn and ignore the option if not recognized
9364     # So say no if there are warnings
9365     if test -s conftest.err; then
9366       # Append any errors to the config.log.
9367       cat conftest.err 1>&5
9368       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9369       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9370       if diff conftest.exp conftest.er2 >/dev/null; then
9371         lt_cv_prog_compiler_static_works=yes
9372       fi
9373     else
9374       lt_cv_prog_compiler_static_works=yes
9375     fi
9376   fi
9377   $RM -r conftest*
9378   LDFLAGS=$save_LDFLAGS
9379
9380fi
9381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9382$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9383
9384if test yes = "$lt_cv_prog_compiler_static_works"; then
9385    :
9386else
9387    lt_prog_compiler_static=
9388fi
9389
9390
9391
9392
9393
9394
9395
9396  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9397$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9398if ${lt_cv_prog_compiler_c_o+:} false; then :
9399  $as_echo_n "(cached) " >&6
9400else
9401  lt_cv_prog_compiler_c_o=no
9402   $RM -r conftest 2>/dev/null
9403   mkdir conftest
9404   cd conftest
9405   mkdir out
9406   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9407
9408   lt_compiler_flag="-o out/conftest2.$ac_objext"
9409   # Insert the option either (1) after the last *FLAGS variable, or
9410   # (2) before a word containing "conftest.", or (3) at the end.
9411   # Note that $ac_compile itself does not contain backslashes and begins
9412   # with a dollar sign (not a hyphen), so the echo should work correctly.
9413   lt_compile=`echo "$ac_compile" | $SED \
9414   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9415   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9416   -e 's:$: $lt_compiler_flag:'`
9417   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9418   (eval "$lt_compile" 2>out/conftest.err)
9419   ac_status=$?
9420   cat out/conftest.err >&5
9421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9423   then
9424     # The compiler can only warn and ignore the option if not recognized
9425     # So say no if there are warnings
9426     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9427     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9428     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9429       lt_cv_prog_compiler_c_o=yes
9430     fi
9431   fi
9432   chmod u+w . 2>&5
9433   $RM conftest*
9434   # SGI C++ compiler will create directory out/ii_files/ for
9435   # template instantiation
9436   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9437   $RM out/* && rmdir out
9438   cd ..
9439   $RM -r conftest
9440   $RM conftest*
9441
9442fi
9443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9444$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9445
9446
9447
9448
9449
9450
9451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9452$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9453if ${lt_cv_prog_compiler_c_o+:} false; then :
9454  $as_echo_n "(cached) " >&6
9455else
9456  lt_cv_prog_compiler_c_o=no
9457   $RM -r conftest 2>/dev/null
9458   mkdir conftest
9459   cd conftest
9460   mkdir out
9461   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9462
9463   lt_compiler_flag="-o out/conftest2.$ac_objext"
9464   # Insert the option either (1) after the last *FLAGS variable, or
9465   # (2) before a word containing "conftest.", or (3) at the end.
9466   # Note that $ac_compile itself does not contain backslashes and begins
9467   # with a dollar sign (not a hyphen), so the echo should work correctly.
9468   lt_compile=`echo "$ac_compile" | $SED \
9469   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9470   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9471   -e 's:$: $lt_compiler_flag:'`
9472   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9473   (eval "$lt_compile" 2>out/conftest.err)
9474   ac_status=$?
9475   cat out/conftest.err >&5
9476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9478   then
9479     # The compiler can only warn and ignore the option if not recognized
9480     # So say no if there are warnings
9481     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9482     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9483     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9484       lt_cv_prog_compiler_c_o=yes
9485     fi
9486   fi
9487   chmod u+w . 2>&5
9488   $RM conftest*
9489   # SGI C++ compiler will create directory out/ii_files/ for
9490   # template instantiation
9491   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9492   $RM out/* && rmdir out
9493   cd ..
9494   $RM -r conftest
9495   $RM conftest*
9496
9497fi
9498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9499$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9500
9501
9502
9503
9504hard_links=nottested
9505if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9506  # do not overwrite the value of need_locks provided by the user
9507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9508$as_echo_n "checking if we can lock with hard links... " >&6; }
9509  hard_links=yes
9510  $RM conftest*
9511  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9512  touch conftest.a
9513  ln conftest.a conftest.b 2>&5 || hard_links=no
9514  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9516$as_echo "$hard_links" >&6; }
9517  if test no = "$hard_links"; then
9518    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9519$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9520    need_locks=warn
9521  fi
9522else
9523  need_locks=no
9524fi
9525
9526
9527
9528
9529
9530
9531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9532$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9533
9534  runpath_var=
9535  allow_undefined_flag=
9536  always_export_symbols=no
9537  archive_cmds=
9538  archive_expsym_cmds=
9539  compiler_needs_object=no
9540  enable_shared_with_static_runtimes=no
9541  export_dynamic_flag_spec=
9542  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9543  hardcode_automatic=no
9544  hardcode_direct=no
9545  hardcode_direct_absolute=no
9546  hardcode_libdir_flag_spec=
9547  hardcode_libdir_separator=
9548  hardcode_minus_L=no
9549  hardcode_shlibpath_var=unsupported
9550  inherit_rpath=no
9551  link_all_deplibs=unknown
9552  module_cmds=
9553  module_expsym_cmds=
9554  old_archive_from_new_cmds=
9555  old_archive_from_expsyms_cmds=
9556  thread_safe_flag_spec=
9557  whole_archive_flag_spec=
9558  # include_expsyms should be a list of space-separated symbols to be *always*
9559  # included in the symbol list
9560  include_expsyms=
9561  # exclude_expsyms can be an extended regexp of symbols to exclude
9562  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9563  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9564  # as well as any symbol that contains 'd'.
9565  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9566  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9567  # platforms (ab)use it in PIC code, but their linkers get confused if
9568  # the symbol is explicitly referenced.  Since portable code cannot
9569  # rely on this symbol name, it's probably fine to never include it in
9570  # preloaded symbol tables.
9571  # Exclude shared library initialization/finalization symbols.
9572  extract_expsyms_cmds=
9573
9574  case $host_os in
9575  cygwin* | mingw* | pw32* | cegcc*)
9576    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9577    # When not using gcc, we currently assume that we are using
9578    # Microsoft Visual C++.
9579    if test yes != "$GCC"; then
9580      with_gnu_ld=no
9581    fi
9582    ;;
9583  interix*)
9584    # we just hope/assume this is gcc and not c89 (= MSVC++)
9585    with_gnu_ld=yes
9586    ;;
9587  openbsd* | bitrig*)
9588    with_gnu_ld=no
9589    ;;
9590  linux* | k*bsd*-gnu | gnu*)
9591    link_all_deplibs=no
9592    ;;
9593  esac
9594
9595  ld_shlibs=yes
9596
9597  # On some targets, GNU ld is compatible enough with the native linker
9598  # that we're better off using the native interface for both.
9599  lt_use_gnu_ld_interface=no
9600  if test yes = "$with_gnu_ld"; then
9601    case $host_os in
9602      aix*)
9603	# The AIX port of GNU ld has always aspired to compatibility
9604	# with the native linker.  However, as the warning in the GNU ld
9605	# block says, versions before 2.19.5* couldn't really create working
9606	# shared libraries, regardless of the interface used.
9607	case `$LD -v 2>&1` in
9608	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9609	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9610	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9611	  *)
9612	    lt_use_gnu_ld_interface=yes
9613	    ;;
9614	esac
9615	;;
9616      *)
9617	lt_use_gnu_ld_interface=yes
9618	;;
9619    esac
9620  fi
9621
9622  if test yes = "$lt_use_gnu_ld_interface"; then
9623    # If archive_cmds runs LD, not CC, wlarc should be empty
9624    wlarc='$wl'
9625
9626    # Set some defaults for GNU ld with shared library support. These
9627    # are reset later if shared libraries are not supported. Putting them
9628    # here allows them to be overridden if necessary.
9629    runpath_var=LD_RUN_PATH
9630    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9631    export_dynamic_flag_spec='$wl--export-dynamic'
9632    # ancient GNU ld didn't support --whole-archive et. al.
9633    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9634      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9635    else
9636      whole_archive_flag_spec=
9637    fi
9638    supports_anon_versioning=no
9639    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9640      *GNU\ gold*) supports_anon_versioning=yes ;;
9641      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9642      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9643      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9644      *\ 2.11.*) ;; # other 2.11 versions
9645      *) supports_anon_versioning=yes ;;
9646    esac
9647
9648    # See if GNU ld supports shared libraries.
9649    case $host_os in
9650    aix[3-9]*)
9651      # On AIX/PPC, the GNU linker is very broken
9652      if test ia64 != "$host_cpu"; then
9653	ld_shlibs=no
9654	cat <<_LT_EOF 1>&2
9655
9656*** Warning: the GNU linker, at least up to release 2.19, is reported
9657*** to be unable to reliably create shared libraries on AIX.
9658*** Therefore, libtool is disabling shared libraries support.  If you
9659*** really care for shared libraries, you may want to install binutils
9660*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9661*** You will then need to restart the configuration process.
9662
9663_LT_EOF
9664      fi
9665      ;;
9666
9667    amigaos*)
9668      case $host_cpu in
9669      powerpc)
9670            # see comment about AmigaOS4 .so support
9671            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9672            archive_expsym_cmds=''
9673        ;;
9674      m68k)
9675            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)'
9676            hardcode_libdir_flag_spec='-L$libdir'
9677            hardcode_minus_L=yes
9678        ;;
9679      esac
9680      ;;
9681
9682    beos*)
9683      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9684	allow_undefined_flag=unsupported
9685	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9686	# support --undefined.  This deserves some investigation.  FIXME
9687	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9688      else
9689	ld_shlibs=no
9690      fi
9691      ;;
9692
9693    cygwin* | mingw* | pw32* | cegcc*)
9694      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9695      # as there is no search path for DLLs.
9696      hardcode_libdir_flag_spec='-L$libdir'
9697      export_dynamic_flag_spec='$wl--export-all-symbols'
9698      allow_undefined_flag=unsupported
9699      always_export_symbols=no
9700      enable_shared_with_static_runtimes=yes
9701      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'
9702      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9703
9704      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9705        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9706	# If the export-symbols file already is a .def file, use it as
9707	# is; otherwise, prepend EXPORTS...
9708	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9709          cp $export_symbols $output_objdir/$soname.def;
9710        else
9711          echo EXPORTS > $output_objdir/$soname.def;
9712          cat $export_symbols >> $output_objdir/$soname.def;
9713        fi~
9714        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9715      else
9716	ld_shlibs=no
9717      fi
9718      ;;
9719
9720    haiku*)
9721      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9722      link_all_deplibs=yes
9723      ;;
9724
9725    os2*)
9726      hardcode_libdir_flag_spec='-L$libdir'
9727      hardcode_minus_L=yes
9728      allow_undefined_flag=unsupported
9729      shrext_cmds=.dll
9730      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9731	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9732	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9733	$ECHO EXPORTS >> $output_objdir/$libname.def~
9734	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9735	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9736	emximp -o $lib $output_objdir/$libname.def'
9737      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9738	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9739	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9740	$ECHO EXPORTS >> $output_objdir/$libname.def~
9741	prefix_cmds="$SED"~
9742	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9743	  prefix_cmds="$prefix_cmds -e 1d";
9744	fi~
9745	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9746	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9747	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9748	emximp -o $lib $output_objdir/$libname.def'
9749      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9750      enable_shared_with_static_runtimes=yes
9751      ;;
9752
9753    interix[3-9]*)
9754      hardcode_direct=no
9755      hardcode_shlibpath_var=no
9756      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9757      export_dynamic_flag_spec='$wl-E'
9758      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9759      # Instead, shared libraries are loaded at an image base (0x10000000 by
9760      # default) and relocated if they conflict, which is a slow very memory
9761      # consuming and fragmenting process.  To avoid this, we pick a random,
9762      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9763      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9764      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9765      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'
9766      ;;
9767
9768    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9769      tmp_diet=no
9770      if test linux-dietlibc = "$host_os"; then
9771	case $cc_basename in
9772	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9773	esac
9774      fi
9775      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9776	 && test no = "$tmp_diet"
9777      then
9778	tmp_addflag=' $pic_flag'
9779	tmp_sharedflag='-shared'
9780	case $cc_basename,$host_cpu in
9781        pgcc*)				# Portland Group C compiler
9782	  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'
9783	  tmp_addflag=' $pic_flag'
9784	  ;;
9785	pgf77* | pgf90* | pgf95* | pgfortran*)
9786					# Portland Group f77 and f90 compilers
9787	  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'
9788	  tmp_addflag=' $pic_flag -Mnomain' ;;
9789	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9790	  tmp_addflag=' -i_dynamic' ;;
9791	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9792	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9793	ifc* | ifort*)			# Intel Fortran compiler
9794	  tmp_addflag=' -nofor_main' ;;
9795	lf95*)				# Lahey Fortran 8.1
9796	  whole_archive_flag_spec=
9797	  tmp_sharedflag='--shared' ;;
9798        nagfor*)                        # NAGFOR 5.3
9799          tmp_sharedflag='-Wl,-shared' ;;
9800	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9801	  tmp_sharedflag='-qmkshrobj'
9802	  tmp_addflag= ;;
9803	nvcc*)	# Cuda Compiler Driver 2.2
9804	  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'
9805	  compiler_needs_object=yes
9806	  ;;
9807	esac
9808	case `$CC -V 2>&1 | sed 5q` in
9809	*Sun\ C*)			# Sun C 5.9
9810	  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'
9811	  compiler_needs_object=yes
9812	  tmp_sharedflag='-G' ;;
9813	*Sun\ F*)			# Sun Fortran 8.3
9814	  tmp_sharedflag='-G' ;;
9815	esac
9816	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9817
9818        if test yes = "$supports_anon_versioning"; then
9819          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9820            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9821            echo "local: *; };" >> $output_objdir/$libname.ver~
9822            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9823        fi
9824
9825	case $cc_basename in
9826	tcc*)
9827	  export_dynamic_flag_spec='-rdynamic'
9828	  ;;
9829	xlf* | bgf* | bgxlf* | mpixlf*)
9830	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9831	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9832	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9833	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9834	  if test yes = "$supports_anon_versioning"; then
9835	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9836              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9837              echo "local: *; };" >> $output_objdir/$libname.ver~
9838              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9839	  fi
9840	  ;;
9841	esac
9842      else
9843        ld_shlibs=no
9844      fi
9845      ;;
9846
9847    netbsd* | netbsdelf*-gnu)
9848      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9849	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9850	wlarc=
9851      else
9852	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9853	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9854      fi
9855      ;;
9856
9857    solaris*)
9858      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9859	ld_shlibs=no
9860	cat <<_LT_EOF 1>&2
9861
9862*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9863*** create shared libraries on Solaris systems.  Therefore, libtool
9864*** is disabling shared libraries support.  We urge you to upgrade GNU
9865*** binutils to release 2.9.1 or newer.  Another option is to modify
9866*** your PATH or compiler configuration so that the native linker is
9867*** used, and then restart.
9868
9869_LT_EOF
9870      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9871	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9872	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9873      else
9874	ld_shlibs=no
9875      fi
9876      ;;
9877
9878    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9879      case `$LD -v 2>&1` in
9880        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9881	ld_shlibs=no
9882	cat <<_LT_EOF 1>&2
9883
9884*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9885*** reliably create shared libraries on SCO systems.  Therefore, libtool
9886*** is disabling shared libraries support.  We urge you to upgrade GNU
9887*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9888*** your PATH or compiler configuration so that the native linker is
9889*** used, and then restart.
9890
9891_LT_EOF
9892	;;
9893	*)
9894	  # For security reasons, it is highly recommended that you always
9895	  # use absolute paths for naming shared libraries, and exclude the
9896	  # DT_RUNPATH tag from executables and libraries.  But doing so
9897	  # requires that you compile everything twice, which is a pain.
9898	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9899	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9900	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9901	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9902	  else
9903	    ld_shlibs=no
9904	  fi
9905	;;
9906      esac
9907      ;;
9908
9909    sunos4*)
9910      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911      wlarc=
9912      hardcode_direct=yes
9913      hardcode_shlibpath_var=no
9914      ;;
9915
9916    *)
9917      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9918	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9919	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9920      else
9921	ld_shlibs=no
9922      fi
9923      ;;
9924    esac
9925
9926    if test no = "$ld_shlibs"; then
9927      runpath_var=
9928      hardcode_libdir_flag_spec=
9929      export_dynamic_flag_spec=
9930      whole_archive_flag_spec=
9931    fi
9932  else
9933    # PORTME fill in a description of your system's linker (not GNU ld)
9934    case $host_os in
9935    aix3*)
9936      allow_undefined_flag=unsupported
9937      always_export_symbols=yes
9938      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'
9939      # Note: this linker hardcodes the directories in LIBPATH if there
9940      # are no directories specified by -L.
9941      hardcode_minus_L=yes
9942      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9943	# Neither direct hardcoding nor static linking is supported with a
9944	# broken collect2.
9945	hardcode_direct=unsupported
9946      fi
9947      ;;
9948
9949    aix[4-9]*)
9950      if test ia64 = "$host_cpu"; then
9951	# On IA64, the linker does run time linking by default, so we don't
9952	# have to do anything special.
9953	aix_use_runtimelinking=no
9954	exp_sym_flag='-Bexport'
9955	no_entry_flag=
9956      else
9957	# If we're using GNU nm, then we don't want the "-C" option.
9958	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9959	# Without the "-l" option, or with the "-B" option, AIX nm treats
9960	# weak defined symbols like other global defined symbols, whereas
9961	# GNU nm marks them as "W".
9962	# While the 'weak' keyword is ignored in the Export File, we need
9963	# it in the Import File for the 'aix-soname' feature, so we have
9964	# to replace the "-B" option with "-P" for AIX nm.
9965	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9966	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9967	else
9968	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9969	fi
9970	aix_use_runtimelinking=no
9971
9972	# Test if we are trying to use run time linking or normal
9973	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9974	# have runtime linking enabled, and use it for executables.
9975	# For shared libraries, we enable/disable runtime linking
9976	# depending on the kind of the shared library created -
9977	# when "with_aix_soname,aix_use_runtimelinking" is:
9978	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9979	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9980	#            lib.a           static archive
9981	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9982	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9983	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9984	#            lib.a(lib.so.V) shared, rtl:no
9985	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9986	#            lib.a           static archive
9987	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9988	  for ld_flag in $LDFLAGS; do
9989	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9990	    aix_use_runtimelinking=yes
9991	    break
9992	  fi
9993	  done
9994	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9995	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9996	    # so we don't have lib.a shared libs to link our executables.
9997	    # We have to force runtime linking in this case.
9998	    aix_use_runtimelinking=yes
9999	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10000	  fi
10001	  ;;
10002	esac
10003
10004	exp_sym_flag='-bexport'
10005	no_entry_flag='-bnoentry'
10006      fi
10007
10008      # When large executables or shared objects are built, AIX ld can
10009      # have problems creating the table of contents.  If linking a library
10010      # or program results in "error TOC overflow" add -mminimal-toc to
10011      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10012      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10013
10014      archive_cmds=''
10015      hardcode_direct=yes
10016      hardcode_direct_absolute=yes
10017      hardcode_libdir_separator=':'
10018      link_all_deplibs=yes
10019      file_list_spec='$wl-f,'
10020      case $with_aix_soname,$aix_use_runtimelinking in
10021      aix,*) ;; # traditional, no import file
10022      svr4,* | *,yes) # use import file
10023	# The Import File defines what to hardcode.
10024	hardcode_direct=no
10025	hardcode_direct_absolute=no
10026	;;
10027      esac
10028
10029      if test yes = "$GCC"; then
10030	case $host_os in aix4.[012]|aix4.[012].*)
10031	# We only want to do this on AIX 4.2 and lower, the check
10032	# below for broken collect2 doesn't work under 4.3+
10033	  collect2name=`$CC -print-prog-name=collect2`
10034	  if test -f "$collect2name" &&
10035	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10036	  then
10037	  # We have reworked collect2
10038	  :
10039	  else
10040	  # We have old collect2
10041	  hardcode_direct=unsupported
10042	  # It fails to find uninstalled libraries when the uninstalled
10043	  # path is not listed in the libpath.  Setting hardcode_minus_L
10044	  # to unsupported forces relinking
10045	  hardcode_minus_L=yes
10046	  hardcode_libdir_flag_spec='-L$libdir'
10047	  hardcode_libdir_separator=
10048	  fi
10049	  ;;
10050	esac
10051	shared_flag='-shared'
10052	if test yes = "$aix_use_runtimelinking"; then
10053	  shared_flag="$shared_flag "'$wl-G'
10054	fi
10055	# Need to ensure runtime linking is disabled for the traditional
10056	# shared library, or the linker may eventually find shared libraries
10057	# /with/ Import File - we do not want to mix them.
10058	shared_flag_aix='-shared'
10059	shared_flag_svr4='-shared $wl-G'
10060      else
10061	# not using gcc
10062	if test ia64 = "$host_cpu"; then
10063	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10064	# chokes on -Wl,-G. The following line is correct:
10065	  shared_flag='-G'
10066	else
10067	  if test yes = "$aix_use_runtimelinking"; then
10068	    shared_flag='$wl-G'
10069	  else
10070	    shared_flag='$wl-bM:SRE'
10071	  fi
10072	  shared_flag_aix='$wl-bM:SRE'
10073	  shared_flag_svr4='$wl-G'
10074	fi
10075      fi
10076
10077      export_dynamic_flag_spec='$wl-bexpall'
10078      # It seems that -bexpall does not export symbols beginning with
10079      # underscore (_), so it is better to generate a list of symbols to export.
10080      always_export_symbols=yes
10081      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10082	# Warning - without using the other runtime loading flags (-brtl),
10083	# -berok will link without error, but may produce a broken library.
10084	allow_undefined_flag='-berok'
10085        # Determine the default libpath from the value encoded in an
10086        # empty executable.
10087        if test set = "${lt_cv_aix_libpath+set}"; then
10088  aix_libpath=$lt_cv_aix_libpath
10089else
10090  if ${lt_cv_aix_libpath_+:} false; then :
10091  $as_echo_n "(cached) " >&6
10092else
10093  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10094/* end confdefs.h.  */
10095
10096int
10097main ()
10098{
10099
10100  ;
10101  return 0;
10102}
10103_ACEOF
10104if ac_fn_c_try_link "$LINENO"; then :
10105
10106  lt_aix_libpath_sed='
10107      /Import File Strings/,/^$/ {
10108	  /^0/ {
10109	      s/^0  *\([^ ]*\) *$/\1/
10110	      p
10111	  }
10112      }'
10113  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10114  # Check for a 64-bit object if we didn't find anything.
10115  if test -z "$lt_cv_aix_libpath_"; then
10116    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10117  fi
10118fi
10119rm -f core conftest.err conftest.$ac_objext \
10120    conftest$ac_exeext conftest.$ac_ext
10121  if test -z "$lt_cv_aix_libpath_"; then
10122    lt_cv_aix_libpath_=/usr/lib:/lib
10123  fi
10124
10125fi
10126
10127  aix_libpath=$lt_cv_aix_libpath_
10128fi
10129
10130        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10131        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
10132      else
10133	if test ia64 = "$host_cpu"; then
10134	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10135	  allow_undefined_flag="-z nodefs"
10136	  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"
10137	else
10138	 # Determine the default libpath from the value encoded in an
10139	 # empty executable.
10140	 if test set = "${lt_cv_aix_libpath+set}"; then
10141  aix_libpath=$lt_cv_aix_libpath
10142else
10143  if ${lt_cv_aix_libpath_+:} false; then :
10144  $as_echo_n "(cached) " >&6
10145else
10146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10147/* end confdefs.h.  */
10148
10149int
10150main ()
10151{
10152
10153  ;
10154  return 0;
10155}
10156_ACEOF
10157if ac_fn_c_try_link "$LINENO"; then :
10158
10159  lt_aix_libpath_sed='
10160      /Import File Strings/,/^$/ {
10161	  /^0/ {
10162	      s/^0  *\([^ ]*\) *$/\1/
10163	      p
10164	  }
10165      }'
10166  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10167  # Check for a 64-bit object if we didn't find anything.
10168  if test -z "$lt_cv_aix_libpath_"; then
10169    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10170  fi
10171fi
10172rm -f core conftest.err conftest.$ac_objext \
10173    conftest$ac_exeext conftest.$ac_ext
10174  if test -z "$lt_cv_aix_libpath_"; then
10175    lt_cv_aix_libpath_=/usr/lib:/lib
10176  fi
10177
10178fi
10179
10180  aix_libpath=$lt_cv_aix_libpath_
10181fi
10182
10183	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10184	  # Warning - without using the other run time loading flags,
10185	  # -berok will link without error, but may produce a broken library.
10186	  no_undefined_flag=' $wl-bernotok'
10187	  allow_undefined_flag=' $wl-berok'
10188	  if test yes = "$with_gnu_ld"; then
10189	    # We only use this code for GNU lds that support --whole-archive.
10190	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10191	  else
10192	    # Exported symbols can be pulled into shared objects from archives
10193	    whole_archive_flag_spec='$convenience'
10194	  fi
10195	  archive_cmds_need_lc=yes
10196	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10197	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10198	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10199	  if test svr4 != "$with_aix_soname"; then
10200	    # This is similar to how AIX traditionally builds its shared libraries.
10201	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
10202	  fi
10203	  if test aix != "$with_aix_soname"; then
10204	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
10205	  else
10206	    # used by -dlpreopen to get the symbols
10207	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10208	  fi
10209	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10210	fi
10211      fi
10212      ;;
10213
10214    amigaos*)
10215      case $host_cpu in
10216      powerpc)
10217            # see comment about AmigaOS4 .so support
10218            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10219            archive_expsym_cmds=''
10220        ;;
10221      m68k)
10222            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)'
10223            hardcode_libdir_flag_spec='-L$libdir'
10224            hardcode_minus_L=yes
10225        ;;
10226      esac
10227      ;;
10228
10229    bsdi[45]*)
10230      export_dynamic_flag_spec=-rdynamic
10231      ;;
10232
10233    cygwin* | mingw* | pw32* | cegcc*)
10234      # When not using gcc, we currently assume that we are using
10235      # Microsoft Visual C++.
10236      # hardcode_libdir_flag_spec is actually meaningless, as there is
10237      # no search path for DLLs.
10238      case $cc_basename in
10239      cl*)
10240	# Native MSVC
10241	hardcode_libdir_flag_spec=' '
10242	allow_undefined_flag=unsupported
10243	always_export_symbols=yes
10244	file_list_spec='@'
10245	# Tell ltmain to make .lib files, not .a files.
10246	libext=lib
10247	# Tell ltmain to make .dll files, not .so files.
10248	shrext_cmds=.dll
10249	# FIXME: Setting linknames here is a bad hack.
10250	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10251	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10252            cp "$export_symbols" "$output_objdir/$soname.def";
10253            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10254          else
10255            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10256          fi~
10257          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10258          linknames='
10259	# The linker will not automatically build a static lib if we build a DLL.
10260	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10261	enable_shared_with_static_runtimes=yes
10262	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10263	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10264	# Don't use ranlib
10265	old_postinstall_cmds='chmod 644 $oldlib'
10266	postlink_cmds='lt_outputfile="@OUTPUT@"~
10267          lt_tool_outputfile="@TOOL_OUTPUT@"~
10268          case $lt_outputfile in
10269            *.exe|*.EXE) ;;
10270            *)
10271              lt_outputfile=$lt_outputfile.exe
10272              lt_tool_outputfile=$lt_tool_outputfile.exe
10273              ;;
10274          esac~
10275          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10276            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10277            $RM "$lt_outputfile.manifest";
10278          fi'
10279	;;
10280      *)
10281	# Assume MSVC wrapper
10282	hardcode_libdir_flag_spec=' '
10283	allow_undefined_flag=unsupported
10284	# Tell ltmain to make .lib files, not .a files.
10285	libext=lib
10286	# Tell ltmain to make .dll files, not .so files.
10287	shrext_cmds=.dll
10288	# FIXME: Setting linknames here is a bad hack.
10289	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10290	# The linker will automatically build a .lib file if we build a DLL.
10291	old_archive_from_new_cmds='true'
10292	# FIXME: Should let the user specify the lib program.
10293	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10294	enable_shared_with_static_runtimes=yes
10295	;;
10296      esac
10297      ;;
10298
10299    darwin* | rhapsody*)
10300
10301
10302  archive_cmds_need_lc=no
10303  hardcode_direct=no
10304  hardcode_automatic=yes
10305  hardcode_shlibpath_var=unsupported
10306  if test yes = "$lt_cv_ld_force_load"; then
10307    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\"`'
10308
10309  else
10310    whole_archive_flag_spec=''
10311  fi
10312  link_all_deplibs=yes
10313  allow_undefined_flag=$_lt_dar_allow_undefined
10314  case $cc_basename in
10315     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10316     *) _lt_dar_can_shared=$GCC ;;
10317  esac
10318  if test yes = "$_lt_dar_can_shared"; then
10319    output_verbose_link_cmd=func_echo_all
10320    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10321    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10322    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"
10323    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"
10324
10325  else
10326  ld_shlibs=no
10327  fi
10328
10329      ;;
10330
10331    dgux*)
10332      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10333      hardcode_libdir_flag_spec='-L$libdir'
10334      hardcode_shlibpath_var=no
10335      ;;
10336
10337    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10338    # support.  Future versions do this automatically, but an explicit c++rt0.o
10339    # does not break anything, and helps significantly (at the cost of a little
10340    # extra space).
10341    freebsd2.2*)
10342      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10343      hardcode_libdir_flag_spec='-R$libdir'
10344      hardcode_direct=yes
10345      hardcode_shlibpath_var=no
10346      ;;
10347
10348    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10349    freebsd2.*)
10350      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10351      hardcode_direct=yes
10352      hardcode_minus_L=yes
10353      hardcode_shlibpath_var=no
10354      ;;
10355
10356    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10357    freebsd* | dragonfly*)
10358      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10359      hardcode_libdir_flag_spec='-R$libdir'
10360      hardcode_direct=yes
10361      hardcode_shlibpath_var=no
10362      ;;
10363
10364    hpux9*)
10365      if test yes = "$GCC"; then
10366	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10367      else
10368	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
10369      fi
10370      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10371      hardcode_libdir_separator=:
10372      hardcode_direct=yes
10373
10374      # hardcode_minus_L: Not really in the search PATH,
10375      # but as the default location of the library.
10376      hardcode_minus_L=yes
10377      export_dynamic_flag_spec='$wl-E'
10378      ;;
10379
10380    hpux10*)
10381      if test yes,no = "$GCC,$with_gnu_ld"; then
10382	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10383      else
10384	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10385      fi
10386      if test no = "$with_gnu_ld"; then
10387	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10388	hardcode_libdir_separator=:
10389	hardcode_direct=yes
10390	hardcode_direct_absolute=yes
10391	export_dynamic_flag_spec='$wl-E'
10392	# hardcode_minus_L: Not really in the search PATH,
10393	# but as the default location of the library.
10394	hardcode_minus_L=yes
10395      fi
10396      ;;
10397
10398    hpux11*)
10399      if test yes,no = "$GCC,$with_gnu_ld"; then
10400	case $host_cpu in
10401	hppa*64*)
10402	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10403	  ;;
10404	ia64*)
10405	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10406	  ;;
10407	*)
10408	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10409	  ;;
10410	esac
10411      else
10412	case $host_cpu in
10413	hppa*64*)
10414	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10415	  ;;
10416	ia64*)
10417	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10418	  ;;
10419	*)
10420
10421	  # Older versions of the 11.00 compiler do not understand -b yet
10422	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10423	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10424$as_echo_n "checking if $CC understands -b... " >&6; }
10425if ${lt_cv_prog_compiler__b+:} false; then :
10426  $as_echo_n "(cached) " >&6
10427else
10428  lt_cv_prog_compiler__b=no
10429   save_LDFLAGS=$LDFLAGS
10430   LDFLAGS="$LDFLAGS -b"
10431   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10432   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10433     # The linker can only warn and ignore the option if not recognized
10434     # So say no if there are warnings
10435     if test -s conftest.err; then
10436       # Append any errors to the config.log.
10437       cat conftest.err 1>&5
10438       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10439       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10440       if diff conftest.exp conftest.er2 >/dev/null; then
10441         lt_cv_prog_compiler__b=yes
10442       fi
10443     else
10444       lt_cv_prog_compiler__b=yes
10445     fi
10446   fi
10447   $RM -r conftest*
10448   LDFLAGS=$save_LDFLAGS
10449
10450fi
10451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10452$as_echo "$lt_cv_prog_compiler__b" >&6; }
10453
10454if test yes = "$lt_cv_prog_compiler__b"; then
10455    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10456else
10457    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10458fi
10459
10460	  ;;
10461	esac
10462      fi
10463      if test no = "$with_gnu_ld"; then
10464	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10465	hardcode_libdir_separator=:
10466
10467	case $host_cpu in
10468	hppa*64*|ia64*)
10469	  hardcode_direct=no
10470	  hardcode_shlibpath_var=no
10471	  ;;
10472	*)
10473	  hardcode_direct=yes
10474	  hardcode_direct_absolute=yes
10475	  export_dynamic_flag_spec='$wl-E'
10476
10477	  # hardcode_minus_L: Not really in the search PATH,
10478	  # but as the default location of the library.
10479	  hardcode_minus_L=yes
10480	  ;;
10481	esac
10482      fi
10483      ;;
10484
10485    irix5* | irix6* | nonstopux*)
10486      if test yes = "$GCC"; then
10487	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'
10488	# Try to use the -exported_symbol ld option, if it does not
10489	# work, assume that -exports_file does not work either and
10490	# implicitly export all symbols.
10491	# This should be the same for all languages, so no per-tag cache variable.
10492	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10493$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10494if ${lt_cv_irix_exported_symbol+:} false; then :
10495  $as_echo_n "(cached) " >&6
10496else
10497  save_LDFLAGS=$LDFLAGS
10498	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10499	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10500/* end confdefs.h.  */
10501int foo (void) { return 0; }
10502_ACEOF
10503if ac_fn_c_try_link "$LINENO"; then :
10504  lt_cv_irix_exported_symbol=yes
10505else
10506  lt_cv_irix_exported_symbol=no
10507fi
10508rm -f core conftest.err conftest.$ac_objext \
10509    conftest$ac_exeext conftest.$ac_ext
10510           LDFLAGS=$save_LDFLAGS
10511fi
10512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10513$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10514	if test yes = "$lt_cv_irix_exported_symbol"; then
10515          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'
10516	fi
10517	link_all_deplibs=no
10518      else
10519	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'
10520	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'
10521      fi
10522      archive_cmds_need_lc='no'
10523      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10524      hardcode_libdir_separator=:
10525      inherit_rpath=yes
10526      link_all_deplibs=yes
10527      ;;
10528
10529    linux*)
10530      case $cc_basename in
10531      tcc*)
10532	# Fabrice Bellard et al's Tiny C Compiler
10533	ld_shlibs=yes
10534	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10535	;;
10536      esac
10537      ;;
10538
10539    netbsd* | netbsdelf*-gnu)
10540      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10541	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10542      else
10543	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10544      fi
10545      hardcode_libdir_flag_spec='-R$libdir'
10546      hardcode_direct=yes
10547      hardcode_shlibpath_var=no
10548      ;;
10549
10550    newsos6)
10551      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10552      hardcode_direct=yes
10553      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10554      hardcode_libdir_separator=:
10555      hardcode_shlibpath_var=no
10556      ;;
10557
10558    *nto* | *qnx*)
10559      ;;
10560
10561    openbsd* | bitrig*)
10562      if test -f /usr/libexec/ld.so; then
10563	hardcode_direct=yes
10564	hardcode_shlibpath_var=no
10565	hardcode_direct_absolute=yes
10566	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10567	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10568	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10569	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10570	  export_dynamic_flag_spec='$wl-E'
10571	else
10572	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10573	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10574	fi
10575      else
10576	ld_shlibs=no
10577      fi
10578      ;;
10579
10580    os2*)
10581      hardcode_libdir_flag_spec='-L$libdir'
10582      hardcode_minus_L=yes
10583      allow_undefined_flag=unsupported
10584      shrext_cmds=.dll
10585      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10586	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10587	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10588	$ECHO EXPORTS >> $output_objdir/$libname.def~
10589	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10590	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10591	emximp -o $lib $output_objdir/$libname.def'
10592      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10593	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10594	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10595	$ECHO EXPORTS >> $output_objdir/$libname.def~
10596	prefix_cmds="$SED"~
10597	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10598	  prefix_cmds="$prefix_cmds -e 1d";
10599	fi~
10600	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10601	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10602	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10603	emximp -o $lib $output_objdir/$libname.def'
10604      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10605      enable_shared_with_static_runtimes=yes
10606      ;;
10607
10608    osf3*)
10609      if test yes = "$GCC"; then
10610	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10611	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'
10612      else
10613	allow_undefined_flag=' -expect_unresolved \*'
10614	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'
10615      fi
10616      archive_cmds_need_lc='no'
10617      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10618      hardcode_libdir_separator=:
10619      ;;
10620
10621    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10622      if test yes = "$GCC"; then
10623	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10624	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'
10625	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10626      else
10627	allow_undefined_flag=' -expect_unresolved \*'
10628	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'
10629	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~
10630          $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'
10631
10632	# Both c and cxx compiler support -rpath directly
10633	hardcode_libdir_flag_spec='-rpath $libdir'
10634      fi
10635      archive_cmds_need_lc='no'
10636      hardcode_libdir_separator=:
10637      ;;
10638
10639    solaris*)
10640      no_undefined_flag=' -z defs'
10641      if test yes = "$GCC"; then
10642	wlarc='$wl'
10643	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10644	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10645          $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'
10646      else
10647	case `$CC -V 2>&1` in
10648	*"Compilers 5.0"*)
10649	  wlarc=''
10650	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10651	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10652            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10653	  ;;
10654	*)
10655	  wlarc='$wl'
10656	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10657	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10658            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10659	  ;;
10660	esac
10661      fi
10662      hardcode_libdir_flag_spec='-R$libdir'
10663      hardcode_shlibpath_var=no
10664      case $host_os in
10665      solaris2.[0-5] | solaris2.[0-5].*) ;;
10666      *)
10667	# The compiler driver will combine and reorder linker options,
10668	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10669	# but is careful enough not to reorder.
10670	# Supported since Solaris 2.6 (maybe 2.5.1?)
10671	if test yes = "$GCC"; then
10672	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10673	else
10674	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10675	fi
10676	;;
10677      esac
10678      link_all_deplibs=yes
10679      ;;
10680
10681    sunos4*)
10682      if test sequent = "$host_vendor"; then
10683	# Use $CC to link under sequent, because it throws in some extra .o
10684	# files that make .init and .fini sections work.
10685	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10686      else
10687	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10688      fi
10689      hardcode_libdir_flag_spec='-L$libdir'
10690      hardcode_direct=yes
10691      hardcode_minus_L=yes
10692      hardcode_shlibpath_var=no
10693      ;;
10694
10695    sysv4)
10696      case $host_vendor in
10697	sni)
10698	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699	  hardcode_direct=yes # is this really true???
10700	;;
10701	siemens)
10702	  ## LD is ld it makes a PLAMLIB
10703	  ## CC just makes a GrossModule.
10704	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10705	  reload_cmds='$CC -r -o $output$reload_objs'
10706	  hardcode_direct=no
10707        ;;
10708	motorola)
10709	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10710	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10711	;;
10712      esac
10713      runpath_var='LD_RUN_PATH'
10714      hardcode_shlibpath_var=no
10715      ;;
10716
10717    sysv4.3*)
10718      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10719      hardcode_shlibpath_var=no
10720      export_dynamic_flag_spec='-Bexport'
10721      ;;
10722
10723    sysv4*MP*)
10724      if test -d /usr/nec; then
10725	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10726	hardcode_shlibpath_var=no
10727	runpath_var=LD_RUN_PATH
10728	hardcode_runpath_var=yes
10729	ld_shlibs=yes
10730      fi
10731      ;;
10732
10733    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10734      no_undefined_flag='$wl-z,text'
10735      archive_cmds_need_lc=no
10736      hardcode_shlibpath_var=no
10737      runpath_var='LD_RUN_PATH'
10738
10739      if test yes = "$GCC"; then
10740	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10741	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10742      else
10743	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10744	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10745      fi
10746      ;;
10747
10748    sysv5* | sco3.2v5* | sco5v6*)
10749      # Note: We CANNOT use -z defs as we might desire, because we do not
10750      # link with -lc, and that would cause any symbols used from libc to
10751      # always be unresolved, which means just about no library would
10752      # ever link correctly.  If we're not using GNU ld we use -z text
10753      # though, which does catch some bad symbols but isn't as heavy-handed
10754      # as -z defs.
10755      no_undefined_flag='$wl-z,text'
10756      allow_undefined_flag='$wl-z,nodefs'
10757      archive_cmds_need_lc=no
10758      hardcode_shlibpath_var=no
10759      hardcode_libdir_flag_spec='$wl-R,$libdir'
10760      hardcode_libdir_separator=':'
10761      link_all_deplibs=yes
10762      export_dynamic_flag_spec='$wl-Bexport'
10763      runpath_var='LD_RUN_PATH'
10764
10765      if test yes = "$GCC"; then
10766	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10767	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10768      else
10769	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10770	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10771      fi
10772      ;;
10773
10774    uts4*)
10775      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10776      hardcode_libdir_flag_spec='-L$libdir'
10777      hardcode_shlibpath_var=no
10778      ;;
10779
10780    *)
10781      ld_shlibs=no
10782      ;;
10783    esac
10784
10785    if test sni = "$host_vendor"; then
10786      case $host in
10787      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10788	export_dynamic_flag_spec='$wl-Blargedynsym'
10789	;;
10790      esac
10791    fi
10792  fi
10793
10794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10795$as_echo "$ld_shlibs" >&6; }
10796test no = "$ld_shlibs" && can_build_shared=no
10797
10798with_gnu_ld=$with_gnu_ld
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814#
10815# Do we need to explicitly link libc?
10816#
10817case "x$archive_cmds_need_lc" in
10818x|xyes)
10819  # Assume -lc should be added
10820  archive_cmds_need_lc=yes
10821
10822  if test yes,yes = "$GCC,$enable_shared"; then
10823    case $archive_cmds in
10824    *'~'*)
10825      # FIXME: we may have to deal with multi-command sequences.
10826      ;;
10827    '$CC '*)
10828      # Test whether the compiler implicitly links with -lc since on some
10829      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10830      # to ld, don't add -lc before -lgcc.
10831      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10832$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10833if ${lt_cv_archive_cmds_need_lc+:} false; then :
10834  $as_echo_n "(cached) " >&6
10835else
10836  $RM conftest*
10837	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10838
10839	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10840  (eval $ac_compile) 2>&5
10841  ac_status=$?
10842  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10843  test $ac_status = 0; } 2>conftest.err; then
10844	  soname=conftest
10845	  lib=conftest
10846	  libobjs=conftest.$ac_objext
10847	  deplibs=
10848	  wl=$lt_prog_compiler_wl
10849	  pic_flag=$lt_prog_compiler_pic
10850	  compiler_flags=-v
10851	  linker_flags=-v
10852	  verstring=
10853	  output_objdir=.
10854	  libname=conftest
10855	  lt_save_allow_undefined_flag=$allow_undefined_flag
10856	  allow_undefined_flag=
10857	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10858  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10859  ac_status=$?
10860  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10861  test $ac_status = 0; }
10862	  then
10863	    lt_cv_archive_cmds_need_lc=no
10864	  else
10865	    lt_cv_archive_cmds_need_lc=yes
10866	  fi
10867	  allow_undefined_flag=$lt_save_allow_undefined_flag
10868	else
10869	  cat conftest.err 1>&5
10870	fi
10871	$RM conftest*
10872
10873fi
10874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10875$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10876      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10877      ;;
10878    esac
10879  fi
10880  ;;
10881esac
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
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11035$as_echo_n "checking dynamic linker characteristics... " >&6; }
11036
11037if test yes = "$GCC"; then
11038  case $host_os in
11039    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11040    *) lt_awk_arg='/^libraries:/' ;;
11041  esac
11042  case $host_os in
11043    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11044    *) lt_sed_strip_eq='s|=/|/|g' ;;
11045  esac
11046  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11047  case $lt_search_path_spec in
11048  *\;*)
11049    # if the path contains ";" then we assume it to be the separator
11050    # otherwise default to the standard path separator (i.e. ":") - it is
11051    # assumed that no part of a normal pathname contains ";" but that should
11052    # okay in the real world where ";" in dirpaths is itself problematic.
11053    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11054    ;;
11055  *)
11056    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11057    ;;
11058  esac
11059  # Ok, now we have the path, separated by spaces, we can step through it
11060  # and add multilib dir if necessary...
11061  lt_tmp_lt_search_path_spec=
11062  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11063  # ...but if some path component already ends with the multilib dir we assume
11064  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11065  case "$lt_multi_os_dir; $lt_search_path_spec " in
11066  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11067    lt_multi_os_dir=
11068    ;;
11069  esac
11070  for lt_sys_path in $lt_search_path_spec; do
11071    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11072      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11073    elif test -n "$lt_multi_os_dir"; then
11074      test -d "$lt_sys_path" && \
11075	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11076    fi
11077  done
11078  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11079BEGIN {RS = " "; FS = "/|\n";} {
11080  lt_foo = "";
11081  lt_count = 0;
11082  for (lt_i = NF; lt_i > 0; lt_i--) {
11083    if ($lt_i != "" && $lt_i != ".") {
11084      if ($lt_i == "..") {
11085        lt_count++;
11086      } else {
11087        if (lt_count == 0) {
11088          lt_foo = "/" $lt_i lt_foo;
11089        } else {
11090          lt_count--;
11091        }
11092      }
11093    }
11094  }
11095  if (lt_foo != "") { lt_freq[lt_foo]++; }
11096  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11097}'`
11098  # AWK program above erroneously prepends '/' to C:/dos/paths
11099  # for these hosts.
11100  case $host_os in
11101    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11102      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11103  esac
11104  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11105else
11106  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11107fi
11108library_names_spec=
11109libname_spec='lib$name'
11110soname_spec=
11111shrext_cmds=.so
11112postinstall_cmds=
11113postuninstall_cmds=
11114finish_cmds=
11115finish_eval=
11116shlibpath_var=
11117shlibpath_overrides_runpath=unknown
11118version_type=none
11119dynamic_linker="$host_os ld.so"
11120sys_lib_dlsearch_path_spec="/lib /usr/lib"
11121need_lib_prefix=unknown
11122hardcode_into_libs=no
11123
11124# when you set need_version to no, make sure it does not cause -set_version
11125# flags to be left without arguments
11126need_version=unknown
11127
11128
11129
11130case $host_os in
11131aix3*)
11132  version_type=linux # correct to gnu/linux during the next big refactor
11133  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11134  shlibpath_var=LIBPATH
11135
11136  # AIX 3 has no versioning support, so we append a major version to the name.
11137  soname_spec='$libname$release$shared_ext$major'
11138  ;;
11139
11140aix[4-9]*)
11141  version_type=linux # correct to gnu/linux during the next big refactor
11142  need_lib_prefix=no
11143  need_version=no
11144  hardcode_into_libs=yes
11145  if test ia64 = "$host_cpu"; then
11146    # AIX 5 supports IA64
11147    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11148    shlibpath_var=LD_LIBRARY_PATH
11149  else
11150    # With GCC up to 2.95.x, collect2 would create an import file
11151    # for dependence libraries.  The import file would start with
11152    # the line '#! .'.  This would cause the generated library to
11153    # depend on '.', always an invalid library.  This was fixed in
11154    # development snapshots of GCC prior to 3.0.
11155    case $host_os in
11156      aix4 | aix4.[01] | aix4.[01].*)
11157      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11158	   echo ' yes '
11159	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11160	:
11161      else
11162	can_build_shared=no
11163      fi
11164      ;;
11165    esac
11166    # Using Import Files as archive members, it is possible to support
11167    # filename-based versioning of shared library archives on AIX. While
11168    # this would work for both with and without runtime linking, it will
11169    # prevent static linking of such archives. So we do filename-based
11170    # shared library versioning with .so extension only, which is used
11171    # when both runtime linking and shared linking is enabled.
11172    # Unfortunately, runtime linking may impact performance, so we do
11173    # not want this to be the default eventually. Also, we use the
11174    # versioned .so libs for executables only if there is the -brtl
11175    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11176    # To allow for filename-based versioning support, we need to create
11177    # libNAME.so.V as an archive file, containing:
11178    # *) an Import File, referring to the versioned filename of the
11179    #    archive as well as the shared archive member, telling the
11180    #    bitwidth (32 or 64) of that shared object, and providing the
11181    #    list of exported symbols of that shared object, eventually
11182    #    decorated with the 'weak' keyword
11183    # *) the shared object with the F_LOADONLY flag set, to really avoid
11184    #    it being seen by the linker.
11185    # At run time we better use the real file rather than another symlink,
11186    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11187
11188    case $with_aix_soname,$aix_use_runtimelinking in
11189    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11190    # soname into executable. Probably we can add versioning support to
11191    # collect2, so additional links can be useful in future.
11192    aix,yes) # traditional libtool
11193      dynamic_linker='AIX unversionable lib.so'
11194      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11195      # instead of lib<name>.a to let people know that these are not
11196      # typical AIX shared libraries.
11197      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11198      ;;
11199    aix,no) # traditional AIX only
11200      dynamic_linker='AIX lib.a(lib.so.V)'
11201      # We preserve .a as extension for shared libraries through AIX4.2
11202      # and later when we are not doing run time linking.
11203      library_names_spec='$libname$release.a $libname.a'
11204      soname_spec='$libname$release$shared_ext$major'
11205      ;;
11206    svr4,*) # full svr4 only
11207      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11208      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11209      # We do not specify a path in Import Files, so LIBPATH fires.
11210      shlibpath_overrides_runpath=yes
11211      ;;
11212    *,yes) # both, prefer svr4
11213      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11214      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11215      # unpreferred sharedlib libNAME.a needs extra handling
11216      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
11217      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
11218      # We do not specify a path in Import Files, so LIBPATH fires.
11219      shlibpath_overrides_runpath=yes
11220      ;;
11221    *,no) # both, prefer aix
11222      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11223      library_names_spec='$libname$release.a $libname.a'
11224      soname_spec='$libname$release$shared_ext$major'
11225      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11226      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
11227      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
11228      ;;
11229    esac
11230    shlibpath_var=LIBPATH
11231  fi
11232  ;;
11233
11234amigaos*)
11235  case $host_cpu in
11236  powerpc)
11237    # Since July 2007 AmigaOS4 officially supports .so libraries.
11238    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11239    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11240    ;;
11241  m68k)
11242    library_names_spec='$libname.ixlibrary $libname.a'
11243    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11244    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
11245    ;;
11246  esac
11247  ;;
11248
11249beos*)
11250  library_names_spec='$libname$shared_ext'
11251  dynamic_linker="$host_os ld.so"
11252  shlibpath_var=LIBRARY_PATH
11253  ;;
11254
11255bsdi[45]*)
11256  version_type=linux # correct to gnu/linux during the next big refactor
11257  need_version=no
11258  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11259  soname_spec='$libname$release$shared_ext$major'
11260  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11261  shlibpath_var=LD_LIBRARY_PATH
11262  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11263  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11264  # the default ld.so.conf also contains /usr/contrib/lib and
11265  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11266  # libtool to hard-code these into programs
11267  ;;
11268
11269cygwin* | mingw* | pw32* | cegcc*)
11270  version_type=windows
11271  shrext_cmds=.dll
11272  need_version=no
11273  need_lib_prefix=no
11274
11275  case $GCC,$cc_basename in
11276  yes,*)
11277    # gcc
11278    library_names_spec='$libname.dll.a'
11279    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11280    postinstall_cmds='base_file=`basename \$file`~
11281      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11282      dldir=$destdir/`dirname \$dlpath`~
11283      test -d \$dldir || mkdir -p \$dldir~
11284      $install_prog $dir/$dlname \$dldir/$dlname~
11285      chmod a+x \$dldir/$dlname~
11286      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11287        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11288      fi'
11289    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11290      dlpath=$dir/\$dldll~
11291       $RM \$dlpath'
11292    shlibpath_overrides_runpath=yes
11293
11294    case $host_os in
11295    cygwin*)
11296      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11297      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11298
11299      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11300      ;;
11301    mingw* | cegcc*)
11302      # MinGW DLLs use traditional 'lib' prefix
11303      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11304      ;;
11305    pw32*)
11306      # pw32 DLLs use 'pw' prefix rather than 'lib'
11307      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11308      ;;
11309    esac
11310    dynamic_linker='Win32 ld.exe'
11311    ;;
11312
11313  *,cl*)
11314    # Native MSVC
11315    libname_spec='$name'
11316    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11317    library_names_spec='$libname.dll.lib'
11318
11319    case $build_os in
11320    mingw*)
11321      sys_lib_search_path_spec=
11322      lt_save_ifs=$IFS
11323      IFS=';'
11324      for lt_path in $LIB
11325      do
11326        IFS=$lt_save_ifs
11327        # Let DOS variable expansion print the short 8.3 style file name.
11328        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11329        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11330      done
11331      IFS=$lt_save_ifs
11332      # Convert to MSYS style.
11333      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11334      ;;
11335    cygwin*)
11336      # Convert to unix form, then to dos form, then back to unix form
11337      # but this time dos style (no spaces!) so that the unix form looks
11338      # like /cygdrive/c/PROGRA~1:/cygdr...
11339      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11340      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11341      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11342      ;;
11343    *)
11344      sys_lib_search_path_spec=$LIB
11345      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11346        # It is most probably a Windows format PATH.
11347        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11348      else
11349        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11350      fi
11351      # FIXME: find the short name or the path components, as spaces are
11352      # common. (e.g. "Program Files" -> "PROGRA~1")
11353      ;;
11354    esac
11355
11356    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11357    postinstall_cmds='base_file=`basename \$file`~
11358      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11359      dldir=$destdir/`dirname \$dlpath`~
11360      test -d \$dldir || mkdir -p \$dldir~
11361      $install_prog $dir/$dlname \$dldir/$dlname'
11362    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11363      dlpath=$dir/\$dldll~
11364       $RM \$dlpath'
11365    shlibpath_overrides_runpath=yes
11366    dynamic_linker='Win32 link.exe'
11367    ;;
11368
11369  *)
11370    # Assume MSVC wrapper
11371    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11372    dynamic_linker='Win32 ld.exe'
11373    ;;
11374  esac
11375  # FIXME: first we should search . and the directory the executable is in
11376  shlibpath_var=PATH
11377  ;;
11378
11379darwin* | rhapsody*)
11380  dynamic_linker="$host_os dyld"
11381  version_type=darwin
11382  need_lib_prefix=no
11383  need_version=no
11384  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11385  soname_spec='$libname$release$major$shared_ext'
11386  shlibpath_overrides_runpath=yes
11387  shlibpath_var=DYLD_LIBRARY_PATH
11388  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11389
11390  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11391  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11392  ;;
11393
11394dgux*)
11395  version_type=linux # correct to gnu/linux during the next big refactor
11396  need_lib_prefix=no
11397  need_version=no
11398  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11399  soname_spec='$libname$release$shared_ext$major'
11400  shlibpath_var=LD_LIBRARY_PATH
11401  ;;
11402
11403freebsd* | dragonfly*)
11404  # DragonFly does not have aout.  When/if they implement a new
11405  # versioning mechanism, adjust this.
11406  if test -x /usr/bin/objformat; then
11407    objformat=`/usr/bin/objformat`
11408  else
11409    case $host_os in
11410    freebsd[23].*) objformat=aout ;;
11411    *) objformat=elf ;;
11412    esac
11413  fi
11414  version_type=freebsd-$objformat
11415  case $version_type in
11416    freebsd-elf*)
11417      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11418      soname_spec='$libname$release$shared_ext$major'
11419      need_version=no
11420      need_lib_prefix=no
11421      ;;
11422    freebsd-*)
11423      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11424      need_version=yes
11425      ;;
11426  esac
11427  shlibpath_var=LD_LIBRARY_PATH
11428  case $host_os in
11429  freebsd2.*)
11430    shlibpath_overrides_runpath=yes
11431    ;;
11432  freebsd3.[01]* | freebsdelf3.[01]*)
11433    shlibpath_overrides_runpath=yes
11434    hardcode_into_libs=yes
11435    ;;
11436  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11437  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11438    shlibpath_overrides_runpath=no
11439    hardcode_into_libs=yes
11440    ;;
11441  *) # from 4.6 on, and DragonFly
11442    shlibpath_overrides_runpath=yes
11443    hardcode_into_libs=yes
11444    ;;
11445  esac
11446  ;;
11447
11448haiku*)
11449  version_type=linux # correct to gnu/linux during the next big refactor
11450  need_lib_prefix=no
11451  need_version=no
11452  dynamic_linker="$host_os runtime_loader"
11453  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11454  soname_spec='$libname$release$shared_ext$major'
11455  shlibpath_var=LIBRARY_PATH
11456  shlibpath_overrides_runpath=no
11457  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11458  hardcode_into_libs=yes
11459  ;;
11460
11461hpux9* | hpux10* | hpux11*)
11462  # Give a soname corresponding to the major version so that dld.sl refuses to
11463  # link against other versions.
11464  version_type=sunos
11465  need_lib_prefix=no
11466  need_version=no
11467  case $host_cpu in
11468  ia64*)
11469    shrext_cmds='.so'
11470    hardcode_into_libs=yes
11471    dynamic_linker="$host_os dld.so"
11472    shlibpath_var=LD_LIBRARY_PATH
11473    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11474    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11475    soname_spec='$libname$release$shared_ext$major'
11476    if test 32 = "$HPUX_IA64_MODE"; then
11477      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11478      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11479    else
11480      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11481      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11482    fi
11483    ;;
11484  hppa*64*)
11485    shrext_cmds='.sl'
11486    hardcode_into_libs=yes
11487    dynamic_linker="$host_os dld.sl"
11488    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11489    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11490    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11491    soname_spec='$libname$release$shared_ext$major'
11492    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11493    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11494    ;;
11495  *)
11496    shrext_cmds='.sl'
11497    dynamic_linker="$host_os dld.sl"
11498    shlibpath_var=SHLIB_PATH
11499    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11500    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11501    soname_spec='$libname$release$shared_ext$major'
11502    ;;
11503  esac
11504  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11505  postinstall_cmds='chmod 555 $lib'
11506  # or fails outright, so override atomically:
11507  install_override_mode=555
11508  ;;
11509
11510interix[3-9]*)
11511  version_type=linux # correct to gnu/linux during the next big refactor
11512  need_lib_prefix=no
11513  need_version=no
11514  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11515  soname_spec='$libname$release$shared_ext$major'
11516  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11517  shlibpath_var=LD_LIBRARY_PATH
11518  shlibpath_overrides_runpath=no
11519  hardcode_into_libs=yes
11520  ;;
11521
11522irix5* | irix6* | nonstopux*)
11523  case $host_os in
11524    nonstopux*) version_type=nonstopux ;;
11525    *)
11526	if test yes = "$lt_cv_prog_gnu_ld"; then
11527		version_type=linux # correct to gnu/linux during the next big refactor
11528	else
11529		version_type=irix
11530	fi ;;
11531  esac
11532  need_lib_prefix=no
11533  need_version=no
11534  soname_spec='$libname$release$shared_ext$major'
11535  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11536  case $host_os in
11537  irix5* | nonstopux*)
11538    libsuff= shlibsuff=
11539    ;;
11540  *)
11541    case $LD in # libtool.m4 will add one of these switches to LD
11542    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11543      libsuff= shlibsuff= libmagic=32-bit;;
11544    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11545      libsuff=32 shlibsuff=N32 libmagic=N32;;
11546    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11547      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11548    *) libsuff= shlibsuff= libmagic=never-match;;
11549    esac
11550    ;;
11551  esac
11552  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11553  shlibpath_overrides_runpath=no
11554  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11555  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11556  hardcode_into_libs=yes
11557  ;;
11558
11559# No shared lib support for Linux oldld, aout, or coff.
11560linux*oldld* | linux*aout* | linux*coff*)
11561  dynamic_linker=no
11562  ;;
11563
11564linux*android*)
11565  version_type=none # Android doesn't support versioned libraries.
11566  need_lib_prefix=no
11567  need_version=no
11568  library_names_spec='$libname$release$shared_ext'
11569  soname_spec='$libname$release$shared_ext'
11570  finish_cmds=
11571  shlibpath_var=LD_LIBRARY_PATH
11572  shlibpath_overrides_runpath=yes
11573
11574  # This implies no fast_install, which is unacceptable.
11575  # Some rework will be needed to allow for fast_install
11576  # before this can be enabled.
11577  hardcode_into_libs=yes
11578
11579  dynamic_linker='Android linker'
11580  # Don't embed -rpath directories since the linker doesn't support them.
11581  hardcode_libdir_flag_spec='-L$libdir'
11582  ;;
11583
11584# This must be glibc/ELF.
11585linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11586  version_type=linux # correct to gnu/linux during the next big refactor
11587  need_lib_prefix=no
11588  need_version=no
11589  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11590  soname_spec='$libname$release$shared_ext$major'
11591  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11592  shlibpath_var=LD_LIBRARY_PATH
11593  shlibpath_overrides_runpath=no
11594
11595  # Some binutils ld are patched to set DT_RUNPATH
11596  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11597  $as_echo_n "(cached) " >&6
11598else
11599  lt_cv_shlibpath_overrides_runpath=no
11600    save_LDFLAGS=$LDFLAGS
11601    save_libdir=$libdir
11602    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11603	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11605/* end confdefs.h.  */
11606
11607int
11608main ()
11609{
11610
11611  ;
11612  return 0;
11613}
11614_ACEOF
11615if ac_fn_c_try_link "$LINENO"; then :
11616  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11617  lt_cv_shlibpath_overrides_runpath=yes
11618fi
11619fi
11620rm -f core conftest.err conftest.$ac_objext \
11621    conftest$ac_exeext conftest.$ac_ext
11622    LDFLAGS=$save_LDFLAGS
11623    libdir=$save_libdir
11624
11625fi
11626
11627  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11628
11629  # This implies no fast_install, which is unacceptable.
11630  # Some rework will be needed to allow for fast_install
11631  # before this can be enabled.
11632  hardcode_into_libs=yes
11633
11634  # Ideally, we could use ldconfig to report *all* directores which are
11635  # searched for libraries, however this is still not possible.  Aside from not
11636  # being certain /sbin/ldconfig is available, command
11637  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11638  # even though it is searched at run-time.  Try to do the best guess by
11639  # appending ld.so.conf contents (and includes) to the search path.
11640  if test -f /etc/ld.so.conf; then
11641    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' ' '`
11642    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11643  fi
11644
11645  # We used to test for /lib/ld.so.1 and disable shared libraries on
11646  # powerpc, because MkLinux only supported shared libraries with the
11647  # GNU dynamic linker.  Since this was broken with cross compilers,
11648  # most powerpc-linux boxes support dynamic linking these days and
11649  # people can always --disable-shared, the test was removed, and we
11650  # assume the GNU/Linux dynamic linker is in use.
11651  dynamic_linker='GNU/Linux ld.so'
11652  ;;
11653
11654netbsdelf*-gnu)
11655  version_type=linux
11656  need_lib_prefix=no
11657  need_version=no
11658  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11659  soname_spec='${libname}${release}${shared_ext}$major'
11660  shlibpath_var=LD_LIBRARY_PATH
11661  shlibpath_overrides_runpath=no
11662  hardcode_into_libs=yes
11663  dynamic_linker='NetBSD ld.elf_so'
11664  ;;
11665
11666netbsd*)
11667  version_type=sunos
11668  need_lib_prefix=no
11669  need_version=no
11670  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11671    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11672    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11673    dynamic_linker='NetBSD (a.out) ld.so'
11674  else
11675    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11676    soname_spec='$libname$release$shared_ext$major'
11677    dynamic_linker='NetBSD ld.elf_so'
11678  fi
11679  shlibpath_var=LD_LIBRARY_PATH
11680  shlibpath_overrides_runpath=yes
11681  hardcode_into_libs=yes
11682  ;;
11683
11684newsos6)
11685  version_type=linux # correct to gnu/linux during the next big refactor
11686  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11687  shlibpath_var=LD_LIBRARY_PATH
11688  shlibpath_overrides_runpath=yes
11689  ;;
11690
11691*nto* | *qnx*)
11692  version_type=qnx
11693  need_lib_prefix=no
11694  need_version=no
11695  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11696  soname_spec='$libname$release$shared_ext$major'
11697  shlibpath_var=LD_LIBRARY_PATH
11698  shlibpath_overrides_runpath=no
11699  hardcode_into_libs=yes
11700  dynamic_linker='ldqnx.so'
11701  ;;
11702
11703openbsd* | bitrig*)
11704  version_type=sunos
11705  sys_lib_dlsearch_path_spec=/usr/lib
11706  need_lib_prefix=no
11707  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11708    need_version=no
11709  else
11710    need_version=yes
11711  fi
11712  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11713  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11714  shlibpath_var=LD_LIBRARY_PATH
11715  shlibpath_overrides_runpath=yes
11716  ;;
11717
11718os2*)
11719  libname_spec='$name'
11720  version_type=windows
11721  shrext_cmds=.dll
11722  need_version=no
11723  need_lib_prefix=no
11724  # OS/2 can only load a DLL with a base name of 8 characters or less.
11725  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11726    v=$($ECHO $release$versuffix | tr -d .-);
11727    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11728    $ECHO $n$v`$shared_ext'
11729  library_names_spec='${libname}_dll.$libext'
11730  dynamic_linker='OS/2 ld.exe'
11731  shlibpath_var=BEGINLIBPATH
11732  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11733  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11734  postinstall_cmds='base_file=`basename \$file`~
11735    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11736    dldir=$destdir/`dirname \$dlpath`~
11737    test -d \$dldir || mkdir -p \$dldir~
11738    $install_prog $dir/$dlname \$dldir/$dlname~
11739    chmod a+x \$dldir/$dlname~
11740    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11741      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11742    fi'
11743  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11744    dlpath=$dir/\$dldll~
11745    $RM \$dlpath'
11746  ;;
11747
11748osf3* | osf4* | osf5*)
11749  version_type=osf
11750  need_lib_prefix=no
11751  need_version=no
11752  soname_spec='$libname$release$shared_ext$major'
11753  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11754  shlibpath_var=LD_LIBRARY_PATH
11755  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11756  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11757  ;;
11758
11759rdos*)
11760  dynamic_linker=no
11761  ;;
11762
11763solaris*)
11764  version_type=linux # correct to gnu/linux during the next big refactor
11765  need_lib_prefix=no
11766  need_version=no
11767  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11768  soname_spec='$libname$release$shared_ext$major'
11769  shlibpath_var=LD_LIBRARY_PATH
11770  shlibpath_overrides_runpath=yes
11771  hardcode_into_libs=yes
11772  # ldd complains unless libraries are executable
11773  postinstall_cmds='chmod +x $lib'
11774  ;;
11775
11776sunos4*)
11777  version_type=sunos
11778  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11779  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11780  shlibpath_var=LD_LIBRARY_PATH
11781  shlibpath_overrides_runpath=yes
11782  if test yes = "$with_gnu_ld"; then
11783    need_lib_prefix=no
11784  fi
11785  need_version=yes
11786  ;;
11787
11788sysv4 | sysv4.3*)
11789  version_type=linux # correct to gnu/linux during the next big refactor
11790  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11791  soname_spec='$libname$release$shared_ext$major'
11792  shlibpath_var=LD_LIBRARY_PATH
11793  case $host_vendor in
11794    sni)
11795      shlibpath_overrides_runpath=no
11796      need_lib_prefix=no
11797      runpath_var=LD_RUN_PATH
11798      ;;
11799    siemens)
11800      need_lib_prefix=no
11801      ;;
11802    motorola)
11803      need_lib_prefix=no
11804      need_version=no
11805      shlibpath_overrides_runpath=no
11806      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11807      ;;
11808  esac
11809  ;;
11810
11811sysv4*MP*)
11812  if test -d /usr/nec; then
11813    version_type=linux # correct to gnu/linux during the next big refactor
11814    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11815    soname_spec='$libname$shared_ext.$major'
11816    shlibpath_var=LD_LIBRARY_PATH
11817  fi
11818  ;;
11819
11820sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11821  version_type=sco
11822  need_lib_prefix=no
11823  need_version=no
11824  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11825  soname_spec='$libname$release$shared_ext$major'
11826  shlibpath_var=LD_LIBRARY_PATH
11827  shlibpath_overrides_runpath=yes
11828  hardcode_into_libs=yes
11829  if test yes = "$with_gnu_ld"; then
11830    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11831  else
11832    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11833    case $host_os in
11834      sco3.2v5*)
11835        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11836	;;
11837    esac
11838  fi
11839  sys_lib_dlsearch_path_spec='/usr/lib'
11840  ;;
11841
11842tpf*)
11843  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11844  version_type=linux # correct to gnu/linux during the next big refactor
11845  need_lib_prefix=no
11846  need_version=no
11847  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11848  shlibpath_var=LD_LIBRARY_PATH
11849  shlibpath_overrides_runpath=no
11850  hardcode_into_libs=yes
11851  ;;
11852
11853uts4*)
11854  version_type=linux # correct to gnu/linux during the next big refactor
11855  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11856  soname_spec='$libname$release$shared_ext$major'
11857  shlibpath_var=LD_LIBRARY_PATH
11858  ;;
11859
11860*)
11861  dynamic_linker=no
11862  ;;
11863esac
11864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11865$as_echo "$dynamic_linker" >&6; }
11866test no = "$dynamic_linker" && can_build_shared=no
11867
11868variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11869if test yes = "$GCC"; then
11870  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11871fi
11872
11873if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11874  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11875fi
11876
11877if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11878  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11879fi
11880
11881# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11882configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11883
11884# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11885func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11886
11887# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11888configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11987$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11988hardcode_action=
11989if test -n "$hardcode_libdir_flag_spec" ||
11990   test -n "$runpath_var" ||
11991   test yes = "$hardcode_automatic"; then
11992
11993  # We can hardcode non-existent directories.
11994  if test no != "$hardcode_direct" &&
11995     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11996     # have to relink, otherwise we might link with an installed library
11997     # when we should be linking with a yet-to-be-installed one
11998     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11999     test no != "$hardcode_minus_L"; then
12000    # Linking always hardcodes the temporary library directory.
12001    hardcode_action=relink
12002  else
12003    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12004    hardcode_action=immediate
12005  fi
12006else
12007  # We cannot hardcode anything, or else we can only hardcode existing
12008  # directories.
12009  hardcode_action=unsupported
12010fi
12011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12012$as_echo "$hardcode_action" >&6; }
12013
12014if test relink = "$hardcode_action" ||
12015   test yes = "$inherit_rpath"; then
12016  # Fast installation is not supported
12017  enable_fast_install=no
12018elif test yes = "$shlibpath_overrides_runpath" ||
12019     test no = "$enable_shared"; then
12020  # Fast installation is not necessary
12021  enable_fast_install=needless
12022fi
12023
12024
12025
12026
12027
12028
12029  if test yes != "$enable_dlopen"; then
12030  enable_dlopen=unknown
12031  enable_dlopen_self=unknown
12032  enable_dlopen_self_static=unknown
12033else
12034  lt_cv_dlopen=no
12035  lt_cv_dlopen_libs=
12036
12037  case $host_os in
12038  beos*)
12039    lt_cv_dlopen=load_add_on
12040    lt_cv_dlopen_libs=
12041    lt_cv_dlopen_self=yes
12042    ;;
12043
12044  mingw* | pw32* | cegcc*)
12045    lt_cv_dlopen=LoadLibrary
12046    lt_cv_dlopen_libs=
12047    ;;
12048
12049  cygwin*)
12050    lt_cv_dlopen=dlopen
12051    lt_cv_dlopen_libs=
12052    ;;
12053
12054  darwin*)
12055    # if libdl is installed we need to link against it
12056    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12057$as_echo_n "checking for dlopen in -ldl... " >&6; }
12058if ${ac_cv_lib_dl_dlopen+:} false; then :
12059  $as_echo_n "(cached) " >&6
12060else
12061  ac_check_lib_save_LIBS=$LIBS
12062LIBS="-ldl  $LIBS"
12063cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12064/* end confdefs.h.  */
12065
12066/* Override any GCC internal prototype to avoid an error.
12067   Use char because int might match the return type of a GCC
12068   builtin and then its argument prototype would still apply.  */
12069#ifdef __cplusplus
12070extern "C"
12071#endif
12072char dlopen ();
12073int
12074main ()
12075{
12076return dlopen ();
12077  ;
12078  return 0;
12079}
12080_ACEOF
12081if ac_fn_c_try_link "$LINENO"; then :
12082  ac_cv_lib_dl_dlopen=yes
12083else
12084  ac_cv_lib_dl_dlopen=no
12085fi
12086rm -f core conftest.err conftest.$ac_objext \
12087    conftest$ac_exeext conftest.$ac_ext
12088LIBS=$ac_check_lib_save_LIBS
12089fi
12090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12091$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12092if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12093  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12094else
12095
12096    lt_cv_dlopen=dyld
12097    lt_cv_dlopen_libs=
12098    lt_cv_dlopen_self=yes
12099
12100fi
12101
12102    ;;
12103
12104  tpf*)
12105    # Don't try to run any link tests for TPF.  We know it's impossible
12106    # because TPF is a cross-compiler, and we know how we open DSOs.
12107    lt_cv_dlopen=dlopen
12108    lt_cv_dlopen_libs=
12109    lt_cv_dlopen_self=no
12110    ;;
12111
12112  *)
12113    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12114if test "x$ac_cv_func_shl_load" = xyes; then :
12115  lt_cv_dlopen=shl_load
12116else
12117  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12118$as_echo_n "checking for shl_load in -ldld... " >&6; }
12119if ${ac_cv_lib_dld_shl_load+:} false; then :
12120  $as_echo_n "(cached) " >&6
12121else
12122  ac_check_lib_save_LIBS=$LIBS
12123LIBS="-ldld  $LIBS"
12124cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12125/* end confdefs.h.  */
12126
12127/* Override any GCC internal prototype to avoid an error.
12128   Use char because int might match the return type of a GCC
12129   builtin and then its argument prototype would still apply.  */
12130#ifdef __cplusplus
12131extern "C"
12132#endif
12133char shl_load ();
12134int
12135main ()
12136{
12137return shl_load ();
12138  ;
12139  return 0;
12140}
12141_ACEOF
12142if ac_fn_c_try_link "$LINENO"; then :
12143  ac_cv_lib_dld_shl_load=yes
12144else
12145  ac_cv_lib_dld_shl_load=no
12146fi
12147rm -f core conftest.err conftest.$ac_objext \
12148    conftest$ac_exeext conftest.$ac_ext
12149LIBS=$ac_check_lib_save_LIBS
12150fi
12151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12152$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12153if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12154  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12155else
12156  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12157if test "x$ac_cv_func_dlopen" = xyes; then :
12158  lt_cv_dlopen=dlopen
12159else
12160  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12161$as_echo_n "checking for dlopen in -ldl... " >&6; }
12162if ${ac_cv_lib_dl_dlopen+:} false; then :
12163  $as_echo_n "(cached) " >&6
12164else
12165  ac_check_lib_save_LIBS=$LIBS
12166LIBS="-ldl  $LIBS"
12167cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12168/* end confdefs.h.  */
12169
12170/* Override any GCC internal prototype to avoid an error.
12171   Use char because int might match the return type of a GCC
12172   builtin and then its argument prototype would still apply.  */
12173#ifdef __cplusplus
12174extern "C"
12175#endif
12176char dlopen ();
12177int
12178main ()
12179{
12180return dlopen ();
12181  ;
12182  return 0;
12183}
12184_ACEOF
12185if ac_fn_c_try_link "$LINENO"; then :
12186  ac_cv_lib_dl_dlopen=yes
12187else
12188  ac_cv_lib_dl_dlopen=no
12189fi
12190rm -f core conftest.err conftest.$ac_objext \
12191    conftest$ac_exeext conftest.$ac_ext
12192LIBS=$ac_check_lib_save_LIBS
12193fi
12194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12195$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12196if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12197  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12198else
12199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12200$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12201if ${ac_cv_lib_svld_dlopen+:} false; then :
12202  $as_echo_n "(cached) " >&6
12203else
12204  ac_check_lib_save_LIBS=$LIBS
12205LIBS="-lsvld  $LIBS"
12206cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12207/* end confdefs.h.  */
12208
12209/* Override any GCC internal prototype to avoid an error.
12210   Use char because int might match the return type of a GCC
12211   builtin and then its argument prototype would still apply.  */
12212#ifdef __cplusplus
12213extern "C"
12214#endif
12215char dlopen ();
12216int
12217main ()
12218{
12219return dlopen ();
12220  ;
12221  return 0;
12222}
12223_ACEOF
12224if ac_fn_c_try_link "$LINENO"; then :
12225  ac_cv_lib_svld_dlopen=yes
12226else
12227  ac_cv_lib_svld_dlopen=no
12228fi
12229rm -f core conftest.err conftest.$ac_objext \
12230    conftest$ac_exeext conftest.$ac_ext
12231LIBS=$ac_check_lib_save_LIBS
12232fi
12233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12234$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12235if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12236  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12237else
12238  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12239$as_echo_n "checking for dld_link in -ldld... " >&6; }
12240if ${ac_cv_lib_dld_dld_link+:} false; then :
12241  $as_echo_n "(cached) " >&6
12242else
12243  ac_check_lib_save_LIBS=$LIBS
12244LIBS="-ldld  $LIBS"
12245cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12246/* end confdefs.h.  */
12247
12248/* Override any GCC internal prototype to avoid an error.
12249   Use char because int might match the return type of a GCC
12250   builtin and then its argument prototype would still apply.  */
12251#ifdef __cplusplus
12252extern "C"
12253#endif
12254char dld_link ();
12255int
12256main ()
12257{
12258return dld_link ();
12259  ;
12260  return 0;
12261}
12262_ACEOF
12263if ac_fn_c_try_link "$LINENO"; then :
12264  ac_cv_lib_dld_dld_link=yes
12265else
12266  ac_cv_lib_dld_dld_link=no
12267fi
12268rm -f core conftest.err conftest.$ac_objext \
12269    conftest$ac_exeext conftest.$ac_ext
12270LIBS=$ac_check_lib_save_LIBS
12271fi
12272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12273$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12274if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12275  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12276fi
12277
12278
12279fi
12280
12281
12282fi
12283
12284
12285fi
12286
12287
12288fi
12289
12290
12291fi
12292
12293    ;;
12294  esac
12295
12296  if test no = "$lt_cv_dlopen"; then
12297    enable_dlopen=no
12298  else
12299    enable_dlopen=yes
12300  fi
12301
12302  case $lt_cv_dlopen in
12303  dlopen)
12304    save_CPPFLAGS=$CPPFLAGS
12305    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12306
12307    save_LDFLAGS=$LDFLAGS
12308    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12309
12310    save_LIBS=$LIBS
12311    LIBS="$lt_cv_dlopen_libs $LIBS"
12312
12313    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12314$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12315if ${lt_cv_dlopen_self+:} false; then :
12316  $as_echo_n "(cached) " >&6
12317else
12318  	  if test yes = "$cross_compiling"; then :
12319  lt_cv_dlopen_self=cross
12320else
12321  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12322  lt_status=$lt_dlunknown
12323  cat > conftest.$ac_ext <<_LT_EOF
12324#line $LINENO "configure"
12325#include "confdefs.h"
12326
12327#if HAVE_DLFCN_H
12328#include <dlfcn.h>
12329#endif
12330
12331#include <stdio.h>
12332
12333#ifdef RTLD_GLOBAL
12334#  define LT_DLGLOBAL		RTLD_GLOBAL
12335#else
12336#  ifdef DL_GLOBAL
12337#    define LT_DLGLOBAL		DL_GLOBAL
12338#  else
12339#    define LT_DLGLOBAL		0
12340#  endif
12341#endif
12342
12343/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12344   find out it does not work in some platform. */
12345#ifndef LT_DLLAZY_OR_NOW
12346#  ifdef RTLD_LAZY
12347#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12348#  else
12349#    ifdef DL_LAZY
12350#      define LT_DLLAZY_OR_NOW		DL_LAZY
12351#    else
12352#      ifdef RTLD_NOW
12353#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12354#      else
12355#        ifdef DL_NOW
12356#          define LT_DLLAZY_OR_NOW	DL_NOW
12357#        else
12358#          define LT_DLLAZY_OR_NOW	0
12359#        endif
12360#      endif
12361#    endif
12362#  endif
12363#endif
12364
12365/* When -fvisibility=hidden is used, assume the code has been annotated
12366   correspondingly for the symbols needed.  */
12367#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12368int fnord () __attribute__((visibility("default")));
12369#endif
12370
12371int fnord () { return 42; }
12372int main ()
12373{
12374  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12375  int status = $lt_dlunknown;
12376
12377  if (self)
12378    {
12379      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12380      else
12381        {
12382	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12383          else puts (dlerror ());
12384	}
12385      /* dlclose (self); */
12386    }
12387  else
12388    puts (dlerror ());
12389
12390  return status;
12391}
12392_LT_EOF
12393  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12394  (eval $ac_link) 2>&5
12395  ac_status=$?
12396  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12397  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12398    (./conftest; exit; ) >&5 2>/dev/null
12399    lt_status=$?
12400    case x$lt_status in
12401      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12402      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12403      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12404    esac
12405  else :
12406    # compilation failed
12407    lt_cv_dlopen_self=no
12408  fi
12409fi
12410rm -fr conftest*
12411
12412
12413fi
12414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12415$as_echo "$lt_cv_dlopen_self" >&6; }
12416
12417    if test yes = "$lt_cv_dlopen_self"; then
12418      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12419      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12420$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12421if ${lt_cv_dlopen_self_static+:} false; then :
12422  $as_echo_n "(cached) " >&6
12423else
12424  	  if test yes = "$cross_compiling"; then :
12425  lt_cv_dlopen_self_static=cross
12426else
12427  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12428  lt_status=$lt_dlunknown
12429  cat > conftest.$ac_ext <<_LT_EOF
12430#line $LINENO "configure"
12431#include "confdefs.h"
12432
12433#if HAVE_DLFCN_H
12434#include <dlfcn.h>
12435#endif
12436
12437#include <stdio.h>
12438
12439#ifdef RTLD_GLOBAL
12440#  define LT_DLGLOBAL		RTLD_GLOBAL
12441#else
12442#  ifdef DL_GLOBAL
12443#    define LT_DLGLOBAL		DL_GLOBAL
12444#  else
12445#    define LT_DLGLOBAL		0
12446#  endif
12447#endif
12448
12449/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12450   find out it does not work in some platform. */
12451#ifndef LT_DLLAZY_OR_NOW
12452#  ifdef RTLD_LAZY
12453#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12454#  else
12455#    ifdef DL_LAZY
12456#      define LT_DLLAZY_OR_NOW		DL_LAZY
12457#    else
12458#      ifdef RTLD_NOW
12459#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12460#      else
12461#        ifdef DL_NOW
12462#          define LT_DLLAZY_OR_NOW	DL_NOW
12463#        else
12464#          define LT_DLLAZY_OR_NOW	0
12465#        endif
12466#      endif
12467#    endif
12468#  endif
12469#endif
12470
12471/* When -fvisibility=hidden is used, assume the code has been annotated
12472   correspondingly for the symbols needed.  */
12473#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12474int fnord () __attribute__((visibility("default")));
12475#endif
12476
12477int fnord () { return 42; }
12478int main ()
12479{
12480  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12481  int status = $lt_dlunknown;
12482
12483  if (self)
12484    {
12485      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12486      else
12487        {
12488	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12489          else puts (dlerror ());
12490	}
12491      /* dlclose (self); */
12492    }
12493  else
12494    puts (dlerror ());
12495
12496  return status;
12497}
12498_LT_EOF
12499  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12500  (eval $ac_link) 2>&5
12501  ac_status=$?
12502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12503  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12504    (./conftest; exit; ) >&5 2>/dev/null
12505    lt_status=$?
12506    case x$lt_status in
12507      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12508      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12509      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12510    esac
12511  else :
12512    # compilation failed
12513    lt_cv_dlopen_self_static=no
12514  fi
12515fi
12516rm -fr conftest*
12517
12518
12519fi
12520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12521$as_echo "$lt_cv_dlopen_self_static" >&6; }
12522    fi
12523
12524    CPPFLAGS=$save_CPPFLAGS
12525    LDFLAGS=$save_LDFLAGS
12526    LIBS=$save_LIBS
12527    ;;
12528  esac
12529
12530  case $lt_cv_dlopen_self in
12531  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12532  *) enable_dlopen_self=unknown ;;
12533  esac
12534
12535  case $lt_cv_dlopen_self_static in
12536  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12537  *) enable_dlopen_self_static=unknown ;;
12538  esac
12539fi
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557striplib=
12558old_striplib=
12559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12560$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12561if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12562  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12563  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12565$as_echo "yes" >&6; }
12566else
12567# FIXME - insert some real tests, host_os isn't really good enough
12568  case $host_os in
12569  darwin*)
12570    if test -n "$STRIP"; then
12571      striplib="$STRIP -x"
12572      old_striplib="$STRIP -S"
12573      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12574$as_echo "yes" >&6; }
12575    else
12576      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12577$as_echo "no" >&6; }
12578    fi
12579    ;;
12580  *)
12581    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12582$as_echo "no" >&6; }
12583    ;;
12584  esac
12585fi
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598  # Report what library types will actually be built
12599  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12600$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12602$as_echo "$can_build_shared" >&6; }
12603
12604  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12605$as_echo_n "checking whether to build shared libraries... " >&6; }
12606  test no = "$can_build_shared" && enable_shared=no
12607
12608  # On AIX, shared libraries and static libraries use the same namespace, and
12609  # are all built from PIC.
12610  case $host_os in
12611  aix3*)
12612    test yes = "$enable_shared" && enable_static=no
12613    if test -n "$RANLIB"; then
12614      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12615      postinstall_cmds='$RANLIB $lib'
12616    fi
12617    ;;
12618
12619  aix[4-9]*)
12620    if test ia64 != "$host_cpu"; then
12621      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12622      yes,aix,yes) ;;			# shared object as lib.so file only
12623      yes,svr4,*) ;;			# shared object as lib.so archive member only
12624      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12625      esac
12626    fi
12627    ;;
12628  esac
12629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12630$as_echo "$enable_shared" >&6; }
12631
12632  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12633$as_echo_n "checking whether to build static libraries... " >&6; }
12634  # Make sure either enable_shared or enable_static is yes.
12635  test yes = "$enable_shared" || enable_static=yes
12636  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12637$as_echo "$enable_static" >&6; }
12638
12639
12640
12641
12642fi
12643ac_ext=c
12644ac_cpp='$CPP $CPPFLAGS'
12645ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647ac_compiler_gnu=$ac_cv_c_compiler_gnu
12648
12649CC=$lt_save_CC
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665        ac_config_commands="$ac_config_commands libtool"
12666
12667
12668
12669
12670# Only expand once:
12671
12672
12673
12674# not 64 bit clean in cross-compile
12675# The cast to long int works around a bug in the HP C Compiler
12676# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12677# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12678# This bug is HP SR number 8606223364.
12679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
12680$as_echo_n "checking size of void *... " >&6; }
12681if ${ac_cv_sizeof_void_p+:} false; then :
12682  $as_echo_n "(cached) " >&6
12683else
12684  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
12685
12686else
12687  if test "$ac_cv_type_void_p" = yes; then
12688     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12689$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12690as_fn_error 77 "cannot compute sizeof (void *)
12691See \`config.log' for more details" "$LINENO" 5; }
12692   else
12693     ac_cv_sizeof_void_p=0
12694   fi
12695fi
12696
12697fi
12698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
12699$as_echo "$ac_cv_sizeof_void_p" >&6; }
12700
12701
12702
12703cat >>confdefs.h <<_ACEOF
12704#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
12705_ACEOF
12706
12707
12708
12709CFLAGS="${CFLAGS} -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs  -Wshadow -Wpointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings"
12710
12711if test "x$enable_maintainer_mode" = "xyes"; then
12712DEBUG_FLAGS='-debug:pdbonly'
12713else
12714DEBUG_FLAGS=
12715# Check whether --enable-debug was given.
12716if test "${enable_debug+set}" = set; then :
12717  enableval=$enable_debug; DEBUG_FLAGS='-debug'
12718
12719fi
12720
12721fi
12722
12723enable_msi="no"
12724if test "x$platform_win32" = "xyes"; then
12725	# Extract the first word of "candle", so it can be a program name with args.
12726set dummy candle; ac_word=$2
12727{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12728$as_echo_n "checking for $ac_word... " >&6; }
12729if ${ac_cv_path_WIX+:} false; then :
12730  $as_echo_n "(cached) " >&6
12731else
12732  case $WIX in
12733  [\\/]* | ?:[\\/]*)
12734  ac_cv_path_WIX="$WIX" # Let the user override the test with a path.
12735  ;;
12736  *)
12737  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12738for as_dir in $PATH
12739do
12740  IFS=$as_save_IFS
12741  test -z "$as_dir" && as_dir=.
12742    for ac_exec_ext in '' $ac_executable_extensions; do
12743  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12744    ac_cv_path_WIX="$as_dir/$ac_word$ac_exec_ext"
12745    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12746    break 2
12747  fi
12748done
12749  done
12750IFS=$as_save_IFS
12751
12752  test -z "$ac_cv_path_WIX" && ac_cv_path_WIX="no"
12753  ;;
12754esac
12755fi
12756WIX=$ac_cv_path_WIX
12757if test -n "$WIX"; then
12758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WIX" >&5
12759$as_echo "$WIX" >&6; }
12760else
12761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12762$as_echo "no" >&6; }
12763fi
12764
12765
12766	if test "x$WIX" != "xno" ; then
12767		enable_msi="yes"
12768	fi
12769fi
12770
12771CSDEFINES='-define:GTK_SHARP_2_6 -define:GTK_SHARP_2_8 -define:GTK_SHARP_2_10 -define:GTK_SHARP_2_12'
12772
12773GTK_SHARP_VERSION_CFLAGS='-DGTK_SHARP_2_6 -DGTK_SHARP_2_8 -DGTK_SHARP_2_10 -DGTK_SHARP_2_12'
12774
12775
12776# Extract the first word of "pkg-config", so it can be a program name with args.
12777set dummy pkg-config; ac_word=$2
12778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12779$as_echo_n "checking for $ac_word... " >&6; }
12780if ${ac_cv_path_PKG_CONFIG+:} false; then :
12781  $as_echo_n "(cached) " >&6
12782else
12783  case $PKG_CONFIG in
12784  [\\/]* | ?:[\\/]*)
12785  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12786  ;;
12787  *)
12788  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12789for as_dir in $PATH
12790do
12791  IFS=$as_save_IFS
12792  test -z "$as_dir" && as_dir=.
12793    for ac_exec_ext in '' $ac_executable_extensions; do
12794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12795    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12797    break 2
12798  fi
12799done
12800  done
12801IFS=$as_save_IFS
12802
12803  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12804  ;;
12805esac
12806fi
12807PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12808if test -n "$PKG_CONFIG"; then
12809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12810$as_echo "$PKG_CONFIG" >&6; }
12811else
12812  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12813$as_echo "no" >&6; }
12814fi
12815
12816
12817if test "x$PKG_CONFIG" = "xno"; then
12818	as_fn_error $? "You need to install pkg-config" "$LINENO" 5
12819fi
12820
12821BUILD_GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0`
12822BUILD_GTK_LIBS=`$PKG_CONFIG --libs gtk+-2.0`
12823
12824
12825
12826# The cast to long int works around a bug in the HP C Compiler
12827# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12828# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12829# This bug is HP SR number 8606223364.
12830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5
12831$as_echo_n "checking size of off_t... " >&6; }
12832if ${ac_cv_sizeof_off_t+:} false; then :
12833  $as_echo_n "(cached) " >&6
12834else
12835  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t"        "$ac_includes_default"; then :
12836
12837else
12838  if test "$ac_cv_type_off_t" = yes; then
12839     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12841as_fn_error 77 "cannot compute sizeof (off_t)
12842See \`config.log' for more details" "$LINENO" 5; }
12843   else
12844     ac_cv_sizeof_off_t=0
12845   fi
12846fi
12847
12848fi
12849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5
12850$as_echo "$ac_cv_sizeof_off_t" >&6; }
12851
12852
12853
12854cat >>confdefs.h <<_ACEOF
12855#define SIZEOF_OFF_T $ac_cv_sizeof_off_t
12856_ACEOF
12857
12858
12859OFF_T_FLAGS="-define:OFF_T_$ac_cv_sizeof_off_t"
12860
12861
12862MONO_REQUIRED_VERSION=1.0
12863FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT=4.4
12864
12865
12866
12867
12868
12869
12870
12871if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12872	if test -n "$ac_tool_prefix"; then
12873  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12874set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12876$as_echo_n "checking for $ac_word... " >&6; }
12877if ${ac_cv_path_PKG_CONFIG+:} false; then :
12878  $as_echo_n "(cached) " >&6
12879else
12880  case $PKG_CONFIG in
12881  [\\/]* | ?:[\\/]*)
12882  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12883  ;;
12884  *)
12885  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12886for as_dir in $PATH
12887do
12888  IFS=$as_save_IFS
12889  test -z "$as_dir" && as_dir=.
12890    for ac_exec_ext in '' $ac_executable_extensions; do
12891  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12892    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12894    break 2
12895  fi
12896done
12897  done
12898IFS=$as_save_IFS
12899
12900  ;;
12901esac
12902fi
12903PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12904if test -n "$PKG_CONFIG"; then
12905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12906$as_echo "$PKG_CONFIG" >&6; }
12907else
12908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12909$as_echo "no" >&6; }
12910fi
12911
12912
12913fi
12914if test -z "$ac_cv_path_PKG_CONFIG"; then
12915  ac_pt_PKG_CONFIG=$PKG_CONFIG
12916  # Extract the first word of "pkg-config", so it can be a program name with args.
12917set dummy pkg-config; ac_word=$2
12918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12919$as_echo_n "checking for $ac_word... " >&6; }
12920if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12921  $as_echo_n "(cached) " >&6
12922else
12923  case $ac_pt_PKG_CONFIG in
12924  [\\/]* | ?:[\\/]*)
12925  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12926  ;;
12927  *)
12928  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12929for as_dir in $PATH
12930do
12931  IFS=$as_save_IFS
12932  test -z "$as_dir" && as_dir=.
12933    for ac_exec_ext in '' $ac_executable_extensions; do
12934  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12935    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12936    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12937    break 2
12938  fi
12939done
12940  done
12941IFS=$as_save_IFS
12942
12943  ;;
12944esac
12945fi
12946ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12947if test -n "$ac_pt_PKG_CONFIG"; then
12948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12949$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12950else
12951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12952$as_echo "no" >&6; }
12953fi
12954
12955  if test "x$ac_pt_PKG_CONFIG" = x; then
12956    PKG_CONFIG=""
12957  else
12958    case $cross_compiling:$ac_tool_warned in
12959yes:)
12960{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12961$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12962ac_tool_warned=yes ;;
12963esac
12964    PKG_CONFIG=$ac_pt_PKG_CONFIG
12965  fi
12966else
12967  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12968fi
12969
12970fi
12971if test -n "$PKG_CONFIG"; then
12972	_pkg_min_version=0.9.0
12973	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12974$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12975	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12976		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12977$as_echo "yes" >&6; }
12978	else
12979		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12980$as_echo "no" >&6; }
12981		PKG_CONFIG=""
12982	fi
12983fi
12984
12985pkg_failed=no
12986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5
12987$as_echo_n "checking for MONO_DEPENDENCY... " >&6; }
12988
12989if test -n "$MONO_DEPENDENCY_CFLAGS"; then
12990    pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS"
12991 elif test -n "$PKG_CONFIG"; then
12992    if test -n "$PKG_CONFIG" && \
12993    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED_VERSION\""; } >&5
12994  ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED_VERSION") 2>&5
12995  ac_status=$?
12996  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12997  test $ac_status = 0; }; then
12998  pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono >= $MONO_REQUIRED_VERSION" 2>/dev/null`
12999		      test "x$?" != "x0" && pkg_failed=yes
13000else
13001  pkg_failed=yes
13002fi
13003 else
13004    pkg_failed=untried
13005fi
13006if test -n "$MONO_DEPENDENCY_LIBS"; then
13007    pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS"
13008 elif test -n "$PKG_CONFIG"; then
13009    if test -n "$PKG_CONFIG" && \
13010    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$MONO_REQUIRED_VERSION\""; } >&5
13011  ($PKG_CONFIG --exists --print-errors "mono >= $MONO_REQUIRED_VERSION") 2>&5
13012  ac_status=$?
13013  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13014  test $ac_status = 0; }; then
13015  pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono >= $MONO_REQUIRED_VERSION" 2>/dev/null`
13016		      test "x$?" != "x0" && pkg_failed=yes
13017else
13018  pkg_failed=yes
13019fi
13020 else
13021    pkg_failed=untried
13022fi
13023
13024
13025
13026if test $pkg_failed = yes; then
13027   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13028$as_echo "no" >&6; }
13029
13030if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13031        _pkg_short_errors_supported=yes
13032else
13033        _pkg_short_errors_supported=no
13034fi
13035        if test $_pkg_short_errors_supported = yes; then
13036	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono >= $MONO_REQUIRED_VERSION" 2>&1`
13037        else
13038	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono >= $MONO_REQUIRED_VERSION" 2>&1`
13039        fi
13040	# Put the nasty error message in config.log where it belongs
13041	echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5
13042
13043	has_mono=false
13044elif test $pkg_failed = untried; then
13045     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13046$as_echo "no" >&6; }
13047	has_mono=false
13048else
13049	MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS
13050	MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS
13051        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13052$as_echo "yes" >&6; }
13053	has_mono=true
13054fi
13055if test "x$has_mono" = "xfalse" ; then
13056
13057pkg_failed=no
13058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5
13059$as_echo_n "checking for MONO_DEPENDENCY... " >&6; }
13060
13061if test -n "$MONO_DEPENDENCY_CFLAGS"; then
13062    pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS"
13063 elif test -n "$PKG_CONFIG"; then
13064    if test -n "$PKG_CONFIG" && \
13065    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$MONO_REQUIRED_VERSION\""; } >&5
13066  ($PKG_CONFIG --exists --print-errors "mono-2 >= $MONO_REQUIRED_VERSION") 2>&5
13067  ac_status=$?
13068  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13069  test $ac_status = 0; }; then
13070  pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono-2 >= $MONO_REQUIRED_VERSION" 2>/dev/null`
13071		      test "x$?" != "x0" && pkg_failed=yes
13072else
13073  pkg_failed=yes
13074fi
13075 else
13076    pkg_failed=untried
13077fi
13078if test -n "$MONO_DEPENDENCY_LIBS"; then
13079    pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS"
13080 elif test -n "$PKG_CONFIG"; then
13081    if test -n "$PKG_CONFIG" && \
13082    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$MONO_REQUIRED_VERSION\""; } >&5
13083  ($PKG_CONFIG --exists --print-errors "mono-2 >= $MONO_REQUIRED_VERSION") 2>&5
13084  ac_status=$?
13085  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13086  test $ac_status = 0; }; then
13087  pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>/dev/null`
13088		      test "x$?" != "x0" && pkg_failed=yes
13089else
13090  pkg_failed=yes
13091fi
13092 else
13093    pkg_failed=untried
13094fi
13095
13096
13097
13098if test $pkg_failed = yes; then
13099   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13100$as_echo "no" >&6; }
13101
13102if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13103        _pkg_short_errors_supported=yes
13104else
13105        _pkg_short_errors_supported=no
13106fi
13107        if test $_pkg_short_errors_supported = yes; then
13108	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>&1`
13109        else
13110	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono-2 >= $MONO_REQUIRED_VERSION" 2>&1`
13111        fi
13112	# Put the nasty error message in config.log where it belongs
13113	echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5
13114
13115	has_mono=false
13116elif test $pkg_failed = untried; then
13117     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13118$as_echo "no" >&6; }
13119	has_mono=false
13120else
13121	MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS
13122	MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS
13123        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13124$as_echo "yes" >&6; }
13125	has_mono=true
13126fi
13127	if test "x$has_mono" = "xtrue" ; then
13128
13129pkg_failed=no
13130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5
13131$as_echo_n "checking for MONO_DEPENDENCY... " >&6; }
13132
13133if test -n "$MONO_DEPENDENCY_CFLAGS"; then
13134    pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS"
13135 elif test -n "$PKG_CONFIG"; then
13136    if test -n "$PKG_CONFIG" && \
13137    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5
13138  ($PKG_CONFIG --exists --print-errors "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5
13139  ac_status=$?
13140  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13141  test $ac_status = 0; }; then
13142  pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null`
13143		      test "x$?" != "x0" && pkg_failed=yes
13144else
13145  pkg_failed=yes
13146fi
13147 else
13148    pkg_failed=untried
13149fi
13150if test -n "$MONO_DEPENDENCY_LIBS"; then
13151    pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS"
13152 elif test -n "$PKG_CONFIG"; then
13153    if test -n "$PKG_CONFIG" && \
13154    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-2 >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5
13155  ($PKG_CONFIG --exists --print-errors "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5
13156  ac_status=$?
13157  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13158  test $ac_status = 0; }; then
13159  pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null`
13160		      test "x$?" != "x0" && pkg_failed=yes
13161else
13162  pkg_failed=yes
13163fi
13164 else
13165    pkg_failed=untried
13166fi
13167
13168
13169
13170if test $pkg_failed = yes; then
13171   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13172$as_echo "no" >&6; }
13173
13174if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13175        _pkg_short_errors_supported=yes
13176else
13177        _pkg_short_errors_supported=no
13178fi
13179        if test $_pkg_short_errors_supported = yes; then
13180	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1`
13181        else
13182	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono-2 >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1`
13183        fi
13184	# Put the nasty error message in config.log where it belongs
13185	echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5
13186
13187	NET_4_6_SUPPORT=false
13188elif test $pkg_failed = untried; then
13189     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13190$as_echo "no" >&6; }
13191	NET_4_6_SUPPORT=false
13192else
13193	MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS
13194	MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS
13195        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13196$as_echo "yes" >&6; }
13197	NET_4_6_SUPPORT=true
13198fi
13199	fi
13200else
13201
13202pkg_failed=no
13203{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_DEPENDENCY" >&5
13204$as_echo_n "checking for MONO_DEPENDENCY... " >&6; }
13205
13206if test -n "$MONO_DEPENDENCY_CFLAGS"; then
13207    pkg_cv_MONO_DEPENDENCY_CFLAGS="$MONO_DEPENDENCY_CFLAGS"
13208 elif test -n "$PKG_CONFIG"; then
13209    if test -n "$PKG_CONFIG" && \
13210    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5
13211  ($PKG_CONFIG --exists --print-errors "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5
13212  ac_status=$?
13213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13214  test $ac_status = 0; }; then
13215  pkg_cv_MONO_DEPENDENCY_CFLAGS=`$PKG_CONFIG --cflags "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null`
13216		      test "x$?" != "x0" && pkg_failed=yes
13217else
13218  pkg_failed=yes
13219fi
13220 else
13221    pkg_failed=untried
13222fi
13223if test -n "$MONO_DEPENDENCY_LIBS"; then
13224    pkg_cv_MONO_DEPENDENCY_LIBS="$MONO_DEPENDENCY_LIBS"
13225 elif test -n "$PKG_CONFIG"; then
13226    if test -n "$PKG_CONFIG" && \
13227    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono >= \$FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT\""; } >&5
13228  ($PKG_CONFIG --exists --print-errors "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT") 2>&5
13229  ac_status=$?
13230  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13231  test $ac_status = 0; }; then
13232  pkg_cv_MONO_DEPENDENCY_LIBS=`$PKG_CONFIG --libs "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>/dev/null`
13233		      test "x$?" != "x0" && pkg_failed=yes
13234else
13235  pkg_failed=yes
13236fi
13237 else
13238    pkg_failed=untried
13239fi
13240
13241
13242
13243if test $pkg_failed = yes; then
13244   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13245$as_echo "no" >&6; }
13246
13247if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13248        _pkg_short_errors_supported=yes
13249else
13250        _pkg_short_errors_supported=no
13251fi
13252        if test $_pkg_short_errors_supported = yes; then
13253	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1`
13254        else
13255	        MONO_DEPENDENCY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono >= $FIRST_MONO_VERSION_WITH_NET_4_6_SUPPORT" 2>&1`
13256        fi
13257	# Put the nasty error message in config.log where it belongs
13258	echo "$MONO_DEPENDENCY_PKG_ERRORS" >&5
13259
13260	NET_4_6_SUPPORT=false
13261elif test $pkg_failed = untried; then
13262     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13263$as_echo "no" >&6; }
13264	NET_4_6_SUPPORT=false
13265else
13266	MONO_DEPENDENCY_CFLAGS=$pkg_cv_MONO_DEPENDENCY_CFLAGS
13267	MONO_DEPENDENCY_LIBS=$pkg_cv_MONO_DEPENDENCY_LIBS
13268        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13269$as_echo "yes" >&6; }
13270	NET_4_6_SUPPORT=true
13271fi
13272fi
13273
13274if test "x$platform_win32" = "xyes"; then
13275	NET_4_6_SUPPORT=true
13276fi
13277
13278# Extract the first word of "gacutil", so it can be a program name with args.
13279set dummy gacutil; ac_word=$2
13280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13281$as_echo_n "checking for $ac_word... " >&6; }
13282if ${ac_cv_path_GACUTIL+:} false; then :
13283  $as_echo_n "(cached) " >&6
13284else
13285  case $GACUTIL in
13286  [\\/]* | ?:[\\/]*)
13287  ac_cv_path_GACUTIL="$GACUTIL" # Let the user override the test with a path.
13288  ;;
13289  *)
13290  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13291for as_dir in $PATH
13292do
13293  IFS=$as_save_IFS
13294  test -z "$as_dir" && as_dir=.
13295    for ac_exec_ext in '' $ac_executable_extensions; do
13296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13297    ac_cv_path_GACUTIL="$as_dir/$ac_word$ac_exec_ext"
13298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13299    break 2
13300  fi
13301done
13302  done
13303IFS=$as_save_IFS
13304
13305  test -z "$ac_cv_path_GACUTIL" && ac_cv_path_GACUTIL="no"
13306  ;;
13307esac
13308fi
13309GACUTIL=$ac_cv_path_GACUTIL
13310if test -n "$GACUTIL"; then
13311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GACUTIL" >&5
13312$as_echo "$GACUTIL" >&6; }
13313else
13314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13315$as_echo "no" >&6; }
13316fi
13317
13318
13319if test "x$GACUTIL" = "xno" ; then
13320	as_fn_error $? "No gacutil tool found. You need to install either the mono or .Net SDK." "$LINENO" 5
13321fi
13322
13323# Extract the first word of "al", so it can be a program name with args.
13324set dummy al; ac_word=$2
13325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13326$as_echo_n "checking for $ac_word... " >&6; }
13327if ${ac_cv_path_AL+:} false; then :
13328  $as_echo_n "(cached) " >&6
13329else
13330  case $AL in
13331  [\\/]* | ?:[\\/]*)
13332  ac_cv_path_AL="$AL" # Let the user override the test with a path.
13333  ;;
13334  *)
13335  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13336for as_dir in $PATH
13337do
13338  IFS=$as_save_IFS
13339  test -z "$as_dir" && as_dir=.
13340    for ac_exec_ext in '' $ac_executable_extensions; do
13341  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13342    ac_cv_path_AL="$as_dir/$ac_word$ac_exec_ext"
13343    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13344    break 2
13345  fi
13346done
13347  done
13348IFS=$as_save_IFS
13349
13350  test -z "$ac_cv_path_AL" && ac_cv_path_AL="no"
13351  ;;
13352esac
13353fi
13354AL=$ac_cv_path_AL
13355if test -n "$AL"; then
13356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AL" >&5
13357$as_echo "$AL" >&6; }
13358else
13359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13360$as_echo "no" >&6; }
13361fi
13362
13363
13364if test "x$AL" = "xno" ; then
13365	as_fn_error $? "No al tool found. You need to install either the mono or .Net SDK." "$LINENO" 5
13366fi
13367
13368if test "x$has_mono" = "xtrue"; then
13369GACUTIL_FLAGS='-package $(PACKAGE_VERSION) -gacdir $(DESTDIR)$(prefix)/lib'
13370GENERATED_SOURCES=generated/*.cs
13371# Extract the first word of "mono", so it can be a program name with args.
13372set dummy mono; ac_word=$2
13373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13374$as_echo_n "checking for $ac_word... " >&6; }
13375if ${ac_cv_path_RUNTIME+:} false; then :
13376  $as_echo_n "(cached) " >&6
13377else
13378  case $RUNTIME in
13379  [\\/]* | ?:[\\/]*)
13380  ac_cv_path_RUNTIME="$RUNTIME" # Let the user override the test with a path.
13381  ;;
13382  *)
13383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13384for as_dir in $PATH
13385do
13386  IFS=$as_save_IFS
13387  test -z "$as_dir" && as_dir=.
13388    for ac_exec_ext in '' $ac_executable_extensions; do
13389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13390    ac_cv_path_RUNTIME="$as_dir/$ac_word$ac_exec_ext"
13391    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13392    break 2
13393  fi
13394done
13395  done
13396IFS=$as_save_IFS
13397
13398  test -z "$ac_cv_path_RUNTIME" && ac_cv_path_RUNTIME="no"
13399  ;;
13400esac
13401fi
13402RUNTIME=$ac_cv_path_RUNTIME
13403if test -n "$RUNTIME"; then
13404  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUNTIME" >&5
13405$as_echo "$RUNTIME" >&6; }
13406else
13407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13408$as_echo "no" >&6; }
13409fi
13410
13411
13412
13413# If mono is found, it's in the path.  Require it to be in the path at runtime as well
13414if test "x$RUNTIME" != "xno" ; then
13415	RUNTIME=mono
13416fi
13417
13418# Extract the first word of "mcs", so it can be a program name with args.
13419set dummy mcs; ac_word=$2
13420{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13421$as_echo_n "checking for $ac_word... " >&6; }
13422if ${ac_cv_path_CSC+:} false; then :
13423  $as_echo_n "(cached) " >&6
13424else
13425  case $CSC in
13426  [\\/]* | ?:[\\/]*)
13427  ac_cv_path_CSC="$CSC" # Let the user override the test with a path.
13428  ;;
13429  *)
13430  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13431for as_dir in $PATH
13432do
13433  IFS=$as_save_IFS
13434  test -z "$as_dir" && as_dir=.
13435    for ac_exec_ext in '' $ac_executable_extensions; do
13436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13437    ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext"
13438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13439    break 2
13440  fi
13441done
13442  done
13443IFS=$as_save_IFS
13444
13445  test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no"
13446  ;;
13447esac
13448fi
13449CSC=$ac_cv_path_CSC
13450if test -n "$CSC"; then
13451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5
13452$as_echo "$CSC" >&6; }
13453else
13454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455$as_echo "no" >&6; }
13456fi
13457
13458
13459if test `uname -s` = "Darwin"; then
13460	LIB_PREFIX=
13461	LIB_SUFFIX=.dylib
13462else
13463	LIB_PREFIX=.so
13464	LIB_SUFFIX=
13465fi
13466SDCHECK="`$GACUTIL -l |grep ^System.Drawing, | head -n1 |cut -f1 -d','`"
13467if test "x$SDCHECK" = "xSystem.Drawing"; then
13468	enable_dotnet=yes
13469else
13470	enable_dotnet=no
13471fi
13472else
13473# Extract the first word of "csc.exe", so it can be a program name with args.
13474set dummy csc.exe; ac_word=$2
13475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13476$as_echo_n "checking for $ac_word... " >&6; }
13477if ${ac_cv_path_CSC+:} false; then :
13478  $as_echo_n "(cached) " >&6
13479else
13480  case $CSC in
13481  [\\/]* | ?:[\\/]*)
13482  ac_cv_path_CSC="$CSC" # Let the user override the test with a path.
13483  ;;
13484  *)
13485  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13486for as_dir in $PATH
13487do
13488  IFS=$as_save_IFS
13489  test -z "$as_dir" && as_dir=.
13490    for ac_exec_ext in '' $ac_executable_extensions; do
13491  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13492    ac_cv_path_CSC="$as_dir/$ac_word$ac_exec_ext"
13493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13494    break 2
13495  fi
13496done
13497  done
13498IFS=$as_save_IFS
13499
13500  test -z "$ac_cv_path_CSC" && ac_cv_path_CSC="no"
13501  ;;
13502esac
13503fi
13504CSC=$ac_cv_path_CSC
13505if test -n "$CSC"; then
13506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CSC" >&5
13507$as_echo "$CSC" >&6; }
13508else
13509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13510$as_echo "no" >&6; }
13511fi
13512
13513
13514GACUTIL_FLAGS=
13515GENERATED_SOURCES=generated\\\\*.cs
13516enable_dotnet=yes
13517
13518if test x$CSC = "xno"; then
13519	as_fn_error $? "You need to install either mono or .Net" "$LINENO" 5
13520else
13521RUNTIME=
13522LIB_PREFIX=
13523LIB_SUFFIX=.dylib
13524fi
13525fi
13526
13527CS="C#"
13528if test "x$CSC" = "xno" ; then
13529	as_fn_error $? "No $CS compiler found" "$LINENO" 5
13530fi
13531
13532AL="\"$AL\""
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542pkg_failed=no
13543{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MONO_CAIRO" >&5
13544$as_echo_n "checking for MONO_CAIRO... " >&6; }
13545
13546if test -n "$MONO_CAIRO_CFLAGS"; then
13547    pkg_cv_MONO_CAIRO_CFLAGS="$MONO_CAIRO_CFLAGS"
13548 elif test -n "$PKG_CONFIG"; then
13549    if test -n "$PKG_CONFIG" && \
13550    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-cairo >= \$MONO_REQUIRED_VERSION\""; } >&5
13551  ($PKG_CONFIG --exists --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION") 2>&5
13552  ac_status=$?
13553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13554  test $ac_status = 0; }; then
13555  pkg_cv_MONO_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "mono-cairo >= $MONO_REQUIRED_VERSION" 2>/dev/null`
13556		      test "x$?" != "x0" && pkg_failed=yes
13557else
13558  pkg_failed=yes
13559fi
13560 else
13561    pkg_failed=untried
13562fi
13563if test -n "$MONO_CAIRO_LIBS"; then
13564    pkg_cv_MONO_CAIRO_LIBS="$MONO_CAIRO_LIBS"
13565 elif test -n "$PKG_CONFIG"; then
13566    if test -n "$PKG_CONFIG" && \
13567    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mono-cairo >= \$MONO_REQUIRED_VERSION\""; } >&5
13568  ($PKG_CONFIG --exists --print-errors "mono-cairo >= $MONO_REQUIRED_VERSION") 2>&5
13569  ac_status=$?
13570  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13571  test $ac_status = 0; }; then
13572  pkg_cv_MONO_CAIRO_LIBS=`$PKG_CONFIG --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>/dev/null`
13573		      test "x$?" != "x0" && pkg_failed=yes
13574else
13575  pkg_failed=yes
13576fi
13577 else
13578    pkg_failed=untried
13579fi
13580
13581
13582
13583if test $pkg_failed = yes; then
13584   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13585$as_echo "no" >&6; }
13586
13587if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13588        _pkg_short_errors_supported=yes
13589else
13590        _pkg_short_errors_supported=no
13591fi
13592        if test $_pkg_short_errors_supported = yes; then
13593	        MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>&1`
13594        else
13595	        MONO_CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "mono-cairo >= $MONO_REQUIRED_VERSION" 2>&1`
13596        fi
13597	# Put the nasty error message in config.log where it belongs
13598	echo "$MONO_CAIRO_PKG_ERRORS" >&5
13599
13600	enable_mono_cairo=yes
13601elif test $pkg_failed = untried; then
13602     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13603$as_echo "no" >&6; }
13604	enable_mono_cairo=yes
13605else
13606	MONO_CAIRO_CFLAGS=$pkg_cv_MONO_CAIRO_CFLAGS
13607	MONO_CAIRO_LIBS=$pkg_cv_MONO_CAIRO_LIBS
13608        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13609$as_echo "yes" >&6; }
13610	enable_mono_cairo=no
13611fi
13612
13613
13614GTK_REQUIRED_VERSION=2.12.0
13615
13616
13617pkg_failed=no
13618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
13619$as_echo_n "checking for GLIB... " >&6; }
13620
13621if test -n "$GLIB_CFLAGS"; then
13622    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
13623 elif test -n "$PKG_CONFIG"; then
13624    if test -n "$PKG_CONFIG" && \
13625    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
13626  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
13627  ac_status=$?
13628  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13629  test $ac_status = 0; }; then
13630  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
13631		      test "x$?" != "x0" && pkg_failed=yes
13632else
13633  pkg_failed=yes
13634fi
13635 else
13636    pkg_failed=untried
13637fi
13638if test -n "$GLIB_LIBS"; then
13639    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
13640 elif test -n "$PKG_CONFIG"; then
13641    if test -n "$PKG_CONFIG" && \
13642    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
13643  ($PKG_CONFIG --exists --print-errors "gobject-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
13644  ac_status=$?
13645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13646  test $ac_status = 0; }; then
13647  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
13648		      test "x$?" != "x0" && pkg_failed=yes
13649else
13650  pkg_failed=yes
13651fi
13652 else
13653    pkg_failed=untried
13654fi
13655
13656
13657
13658if test $pkg_failed = yes; then
13659   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13660$as_echo "no" >&6; }
13661
13662if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13663        _pkg_short_errors_supported=yes
13664else
13665        _pkg_short_errors_supported=no
13666fi
13667        if test $_pkg_short_errors_supported = yes; then
13668	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
13669        else
13670	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gobject-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
13671        fi
13672	# Put the nasty error message in config.log where it belongs
13673	echo "$GLIB_PKG_ERRORS" >&5
13674
13675	as_fn_error $? "Package requirements (gobject-2.0 >= $GTK_REQUIRED_VERSION) were not met:
13676
13677$GLIB_PKG_ERRORS
13678
13679Consider adjusting the PKG_CONFIG_PATH environment variable if you
13680installed software in a non-standard prefix.
13681
13682Alternatively, you may set the environment variables GLIB_CFLAGS
13683and GLIB_LIBS to avoid the need to call pkg-config.
13684See the pkg-config man page for more details." "$LINENO" 5
13685elif test $pkg_failed = untried; then
13686     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13687$as_echo "no" >&6; }
13688	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13689$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13690as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13691is in your PATH or set the PKG_CONFIG environment variable to the full
13692path to pkg-config.
13693
13694Alternatively, you may set the environment variables GLIB_CFLAGS
13695and GLIB_LIBS to avoid the need to call pkg-config.
13696See the pkg-config man page for more details.
13697
13698To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13699See \`config.log' for more details" "$LINENO" 5; }
13700else
13701	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13702	GLIB_LIBS=$pkg_cv_GLIB_LIBS
13703        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13704$as_echo "yes" >&6; }
13705
13706fi
13707
13708
13709
13710
13711pkg_failed=no
13712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
13713$as_echo_n "checking for PANGO... " >&6; }
13714
13715if test -n "$PANGO_CFLAGS"; then
13716    pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
13717 elif test -n "$PKG_CONFIG"; then
13718    if test -n "$PKG_CONFIG" && \
13719    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango\""; } >&5
13720  ($PKG_CONFIG --exists --print-errors "pango") 2>&5
13721  ac_status=$?
13722  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13723  test $ac_status = 0; }; then
13724  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango" 2>/dev/null`
13725		      test "x$?" != "x0" && pkg_failed=yes
13726else
13727  pkg_failed=yes
13728fi
13729 else
13730    pkg_failed=untried
13731fi
13732if test -n "$PANGO_LIBS"; then
13733    pkg_cv_PANGO_LIBS="$PANGO_LIBS"
13734 elif test -n "$PKG_CONFIG"; then
13735    if test -n "$PKG_CONFIG" && \
13736    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango\""; } >&5
13737  ($PKG_CONFIG --exists --print-errors "pango") 2>&5
13738  ac_status=$?
13739  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13740  test $ac_status = 0; }; then
13741  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango" 2>/dev/null`
13742		      test "x$?" != "x0" && pkg_failed=yes
13743else
13744  pkg_failed=yes
13745fi
13746 else
13747    pkg_failed=untried
13748fi
13749
13750
13751
13752if test $pkg_failed = yes; then
13753   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13754$as_echo "no" >&6; }
13755
13756if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13757        _pkg_short_errors_supported=yes
13758else
13759        _pkg_short_errors_supported=no
13760fi
13761        if test $_pkg_short_errors_supported = yes; then
13762	        PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango" 2>&1`
13763        else
13764	        PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango" 2>&1`
13765        fi
13766	# Put the nasty error message in config.log where it belongs
13767	echo "$PANGO_PKG_ERRORS" >&5
13768
13769	as_fn_error $? "Package requirements (pango) were not met:
13770
13771$PANGO_PKG_ERRORS
13772
13773Consider adjusting the PKG_CONFIG_PATH environment variable if you
13774installed software in a non-standard prefix.
13775
13776Alternatively, you may set the environment variables PANGO_CFLAGS
13777and PANGO_LIBS to avoid the need to call pkg-config.
13778See the pkg-config man page for more details." "$LINENO" 5
13779elif test $pkg_failed = untried; then
13780     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13781$as_echo "no" >&6; }
13782	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13783$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13784as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13785is in your PATH or set the PKG_CONFIG environment variable to the full
13786path to pkg-config.
13787
13788Alternatively, you may set the environment variables PANGO_CFLAGS
13789and PANGO_LIBS to avoid the need to call pkg-config.
13790See the pkg-config man page for more details.
13791
13792To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13793See \`config.log' for more details" "$LINENO" 5; }
13794else
13795	PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
13796	PANGO_LIBS=$pkg_cv_PANGO_LIBS
13797        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13798$as_echo "yes" >&6; }
13799
13800fi
13801
13802
13803
13804
13805pkg_failed=no
13806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ATK" >&5
13807$as_echo_n "checking for ATK... " >&6; }
13808
13809if test -n "$ATK_CFLAGS"; then
13810    pkg_cv_ATK_CFLAGS="$ATK_CFLAGS"
13811 elif test -n "$PKG_CONFIG"; then
13812    if test -n "$PKG_CONFIG" && \
13813    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk\""; } >&5
13814  ($PKG_CONFIG --exists --print-errors "atk") 2>&5
13815  ac_status=$?
13816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13817  test $ac_status = 0; }; then
13818  pkg_cv_ATK_CFLAGS=`$PKG_CONFIG --cflags "atk" 2>/dev/null`
13819		      test "x$?" != "x0" && pkg_failed=yes
13820else
13821  pkg_failed=yes
13822fi
13823 else
13824    pkg_failed=untried
13825fi
13826if test -n "$ATK_LIBS"; then
13827    pkg_cv_ATK_LIBS="$ATK_LIBS"
13828 elif test -n "$PKG_CONFIG"; then
13829    if test -n "$PKG_CONFIG" && \
13830    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"atk\""; } >&5
13831  ($PKG_CONFIG --exists --print-errors "atk") 2>&5
13832  ac_status=$?
13833  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13834  test $ac_status = 0; }; then
13835  pkg_cv_ATK_LIBS=`$PKG_CONFIG --libs "atk" 2>/dev/null`
13836		      test "x$?" != "x0" && pkg_failed=yes
13837else
13838  pkg_failed=yes
13839fi
13840 else
13841    pkg_failed=untried
13842fi
13843
13844
13845
13846if test $pkg_failed = yes; then
13847   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13848$as_echo "no" >&6; }
13849
13850if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13851        _pkg_short_errors_supported=yes
13852else
13853        _pkg_short_errors_supported=no
13854fi
13855        if test $_pkg_short_errors_supported = yes; then
13856	        ATK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "atk" 2>&1`
13857        else
13858	        ATK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "atk" 2>&1`
13859        fi
13860	# Put the nasty error message in config.log where it belongs
13861	echo "$ATK_PKG_ERRORS" >&5
13862
13863	as_fn_error $? "Package requirements (atk) were not met:
13864
13865$ATK_PKG_ERRORS
13866
13867Consider adjusting the PKG_CONFIG_PATH environment variable if you
13868installed software in a non-standard prefix.
13869
13870Alternatively, you may set the environment variables ATK_CFLAGS
13871and ATK_LIBS to avoid the need to call pkg-config.
13872See the pkg-config man page for more details." "$LINENO" 5
13873elif test $pkg_failed = untried; then
13874     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13875$as_echo "no" >&6; }
13876	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13878as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13879is in your PATH or set the PKG_CONFIG environment variable to the full
13880path to pkg-config.
13881
13882Alternatively, you may set the environment variables ATK_CFLAGS
13883and ATK_LIBS to avoid the need to call pkg-config.
13884See the pkg-config man page for more details.
13885
13886To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13887See \`config.log' for more details" "$LINENO" 5; }
13888else
13889	ATK_CFLAGS=$pkg_cv_ATK_CFLAGS
13890	ATK_LIBS=$pkg_cv_ATK_LIBS
13891        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13892$as_echo "yes" >&6; }
13893
13894fi
13895
13896
13897
13898
13899pkg_failed=no
13900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5
13901$as_echo_n "checking for GTK... " >&6; }
13902
13903if test -n "$GTK_CFLAGS"; then
13904    pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
13905 elif test -n "$PKG_CONFIG"; then
13906    if test -n "$PKG_CONFIG" && \
13907    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
13908  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
13909  ac_status=$?
13910  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13911  test $ac_status = 0; }; then
13912  pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
13913		      test "x$?" != "x0" && pkg_failed=yes
13914else
13915  pkg_failed=yes
13916fi
13917 else
13918    pkg_failed=untried
13919fi
13920if test -n "$GTK_LIBS"; then
13921    pkg_cv_GTK_LIBS="$GTK_LIBS"
13922 elif test -n "$PKG_CONFIG"; then
13923    if test -n "$PKG_CONFIG" && \
13924    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION\""; } >&5
13925  ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION") 2>&5
13926  ac_status=$?
13927  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13928  test $ac_status = 0; }; then
13929  pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>/dev/null`
13930		      test "x$?" != "x0" && pkg_failed=yes
13931else
13932  pkg_failed=yes
13933fi
13934 else
13935    pkg_failed=untried
13936fi
13937
13938
13939
13940if test $pkg_failed = yes; then
13941   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13942$as_echo "no" >&6; }
13943
13944if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13945        _pkg_short_errors_supported=yes
13946else
13947        _pkg_short_errors_supported=no
13948fi
13949        if test $_pkg_short_errors_supported = yes; then
13950	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
13951        else
13952	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION" 2>&1`
13953        fi
13954	# Put the nasty error message in config.log where it belongs
13955	echo "$GTK_PKG_ERRORS" >&5
13956
13957	as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION) were not met:
13958
13959$GTK_PKG_ERRORS
13960
13961Consider adjusting the PKG_CONFIG_PATH environment variable if you
13962installed software in a non-standard prefix.
13963
13964Alternatively, you may set the environment variables GTK_CFLAGS
13965and GTK_LIBS to avoid the need to call pkg-config.
13966See the pkg-config man page for more details." "$LINENO" 5
13967elif test $pkg_failed = untried; then
13968     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13969$as_echo "no" >&6; }
13970	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13971$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13972as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13973is in your PATH or set the PKG_CONFIG environment variable to the full
13974path to pkg-config.
13975
13976Alternatively, you may set the environment variables GTK_CFLAGS
13977and GTK_LIBS to avoid the need to call pkg-config.
13978See the pkg-config man page for more details.
13979
13980To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13981See \`config.log' for more details" "$LINENO" 5; }
13982else
13983	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
13984	GTK_LIBS=$pkg_cv_GTK_LIBS
13985        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13986$as_echo "yes" >&6; }
13987
13988fi
13989
13990
13991
13992GLADE_REQUIRED_VERSION=2.3.6
13993
13994pkg_failed=no
13995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADE" >&5
13996$as_echo_n "checking for GLADE... " >&6; }
13997
13998if test -n "$GLADE_CFLAGS"; then
13999    pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS"
14000 elif test -n "$PKG_CONFIG"; then
14001    if test -n "$PKG_CONFIG" && \
14002    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$GLADE_REQUIRED_VERSION\""; } >&5
14003  ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION") 2>&5
14004  ac_status=$?
14005  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14006  test $ac_status = 0; }; then
14007  pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>/dev/null`
14008		      test "x$?" != "x0" && pkg_failed=yes
14009else
14010  pkg_failed=yes
14011fi
14012 else
14013    pkg_failed=untried
14014fi
14015if test -n "$GLADE_LIBS"; then
14016    pkg_cv_GLADE_LIBS="$GLADE_LIBS"
14017 elif test -n "$PKG_CONFIG"; then
14018    if test -n "$PKG_CONFIG" && \
14019    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= \$GLADE_REQUIRED_VERSION\""; } >&5
14020  ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= $GLADE_REQUIRED_VERSION") 2>&5
14021  ac_status=$?
14022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14023  test $ac_status = 0; }; then
14024  pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>/dev/null`
14025		      test "x$?" != "x0" && pkg_failed=yes
14026else
14027  pkg_failed=yes
14028fi
14029 else
14030    pkg_failed=untried
14031fi
14032
14033
14034
14035if test $pkg_failed = yes; then
14036   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14037$as_echo "no" >&6; }
14038
14039if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14040        _pkg_short_errors_supported=yes
14041else
14042        _pkg_short_errors_supported=no
14043fi
14044        if test $_pkg_short_errors_supported = yes; then
14045	        GLADE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>&1`
14046        else
14047	        GLADE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libglade-2.0 >= $GLADE_REQUIRED_VERSION" 2>&1`
14048        fi
14049	# Put the nasty error message in config.log where it belongs
14050	echo "$GLADE_PKG_ERRORS" >&5
14051
14052	enable_glade=no
14053elif test $pkg_failed = untried; then
14054     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14055$as_echo "no" >&6; }
14056	enable_glade=no
14057else
14058	GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS
14059	GLADE_LIBS=$pkg_cv_GLADE_LIBS
14060        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14061$as_echo "yes" >&6; }
14062	enable_glade=yes
14063fi
14064
14065
14066
14067GDK_BACKEND=`pkg-config --variable=target gtk+-2.0`
14068
14069
14070# Extract the first word of "mdassembler", so it can be a program name with args.
14071set dummy mdassembler; ac_word=$2
14072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14073$as_echo_n "checking for $ac_word... " >&6; }
14074if ${ac_cv_path_MDASSEMBLER+:} false; then :
14075  $as_echo_n "(cached) " >&6
14076else
14077  case $MDASSEMBLER in
14078  [\\/]* | ?:[\\/]*)
14079  ac_cv_path_MDASSEMBLER="$MDASSEMBLER" # Let the user override the test with a path.
14080  ;;
14081  *)
14082  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14083for as_dir in $PATH
14084do
14085  IFS=$as_save_IFS
14086  test -z "$as_dir" && as_dir=.
14087    for ac_exec_ext in '' $ac_executable_extensions; do
14088  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14089    ac_cv_path_MDASSEMBLER="$as_dir/$ac_word$ac_exec_ext"
14090    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14091    break 2
14092  fi
14093done
14094  done
14095IFS=$as_save_IFS
14096
14097  test -z "$ac_cv_path_MDASSEMBLER" && ac_cv_path_MDASSEMBLER="no"
14098  ;;
14099esac
14100fi
14101MDASSEMBLER=$ac_cv_path_MDASSEMBLER
14102if test -n "$MDASSEMBLER"; then
14103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MDASSEMBLER" >&5
14104$as_echo "$MDASSEMBLER" >&6; }
14105else
14106  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14107$as_echo "no" >&6; }
14108fi
14109
14110
14111# Extract the first word of "monodocer", so it can be a program name with args.
14112set dummy monodocer; ac_word=$2
14113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14114$as_echo_n "checking for $ac_word... " >&6; }
14115if ${ac_cv_path_MONODOCER+:} false; then :
14116  $as_echo_n "(cached) " >&6
14117else
14118  case $MONODOCER in
14119  [\\/]* | ?:[\\/]*)
14120  ac_cv_path_MONODOCER="$MONODOCER" # Let the user override the test with a path.
14121  ;;
14122  *)
14123  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14124for as_dir in $PATH
14125do
14126  IFS=$as_save_IFS
14127  test -z "$as_dir" && as_dir=.
14128    for ac_exec_ext in '' $ac_executable_extensions; do
14129  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14130    ac_cv_path_MONODOCER="$as_dir/$ac_word$ac_exec_ext"
14131    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14132    break 2
14133  fi
14134done
14135  done
14136IFS=$as_save_IFS
14137
14138  test -z "$ac_cv_path_MONODOCER" && ac_cv_path_MONODOCER="no"
14139  ;;
14140esac
14141fi
14142MONODOCER=$ac_cv_path_MONODOCER
14143if test -n "$MONODOCER"; then
14144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MONODOCER" >&5
14145$as_echo "$MONODOCER" >&6; }
14146else
14147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14148$as_echo "no" >&6; }
14149fi
14150
14151
14152if test "x$MONODOCER" = "xno" -o "x$MDASSEMBLER" = "xno"; then
14153  enable_monodoc=no
14154  doc_sources_dir=
14155else
14156  enable_monodoc=yes
14157  doc_sources_dir="`pkg-config --variable=sourcesdir monodoc`"
14158fi
14159
14160
14161
14162 if test "x$enable_mono_cairo" = "xyes"; then
14163  ENABLE_MONO_CAIRO_TRUE=
14164  ENABLE_MONO_CAIRO_FALSE='#'
14165else
14166  ENABLE_MONO_CAIRO_TRUE='#'
14167  ENABLE_MONO_CAIRO_FALSE=
14168fi
14169
14170 if test "x$enable_glade" = "xyes"; then
14171  ENABLE_GLADE_TRUE=
14172  ENABLE_GLADE_FALSE='#'
14173else
14174  ENABLE_GLADE_TRUE='#'
14175  ENABLE_GLADE_FALSE=
14176fi
14177
14178 if test "x$enable_dotnet" = "xyes"; then
14179  ENABLE_DOTNET_TRUE=
14180  ENABLE_DOTNET_FALSE='#'
14181else
14182  ENABLE_DOTNET_TRUE='#'
14183  ENABLE_DOTNET_FALSE=
14184fi
14185
14186 if test "x$enable_monodoc" = "xyes"; then
14187  ENABLE_MONODOC_TRUE=
14188  ENABLE_MONODOC_FALSE='#'
14189else
14190  ENABLE_MONODOC_TRUE='#'
14191  ENABLE_MONODOC_FALSE=
14192fi
14193
14194 if test "x$enable_msi" = "xyes"; then
14195  ENABLE_MSI_TRUE=
14196  ENABLE_MSI_FALSE='#'
14197else
14198  ENABLE_MSI_TRUE='#'
14199  ENABLE_MSI_FALSE=
14200fi
14201
14202 if test "x$has_mono" = "xtrue"; then
14203  ENABLE_MONOGETOPTIONS_TRUE=
14204  ENABLE_MONOGETOPTIONS_FALSE='#'
14205else
14206  ENABLE_MONOGETOPTIONS_TRUE='#'
14207  ENABLE_MONOGETOPTIONS_FALSE=
14208fi
14209
14210
14211CSFLAGS="$DEBUG_FLAGS $CSDEFINES $WIN64DEFINES -unsafe"
14212
14213if test "x$NET_4_6_SUPPORT" = "xtrue" ; then
14214  CSFLAGS="$CSFLAGS -define:HAVE_NET_4_6"
14215fi
14216
14217pkg_failed=no
14218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB_2_31" >&5
14219$as_echo_n "checking for GLIB_2_31... " >&6; }
14220
14221if test -n "$GLIB_2_31_CFLAGS"; then
14222    pkg_cv_GLIB_2_31_CFLAGS="$GLIB_2_31_CFLAGS"
14223 elif test -n "$PKG_CONFIG"; then
14224    if test -n "$PKG_CONFIG" && \
14225    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31\""; } >&5
14226  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31") 2>&5
14227  ac_status=$?
14228  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14229  test $ac_status = 0; }; then
14230  pkg_cv_GLIB_2_31_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.31" 2>/dev/null`
14231		      test "x$?" != "x0" && pkg_failed=yes
14232else
14233  pkg_failed=yes
14234fi
14235 else
14236    pkg_failed=untried
14237fi
14238if test -n "$GLIB_2_31_LIBS"; then
14239    pkg_cv_GLIB_2_31_LIBS="$GLIB_2_31_LIBS"
14240 elif test -n "$PKG_CONFIG"; then
14241    if test -n "$PKG_CONFIG" && \
14242    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.31\""; } >&5
14243  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.31") 2>&5
14244  ac_status=$?
14245  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14246  test $ac_status = 0; }; then
14247  pkg_cv_GLIB_2_31_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.31" 2>/dev/null`
14248		      test "x$?" != "x0" && pkg_failed=yes
14249else
14250  pkg_failed=yes
14251fi
14252 else
14253    pkg_failed=untried
14254fi
14255
14256
14257
14258if test $pkg_failed = yes; then
14259   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14260$as_echo "no" >&6; }
14261
14262if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14263        _pkg_short_errors_supported=yes
14264else
14265        _pkg_short_errors_supported=no
14266fi
14267        if test $_pkg_short_errors_supported = yes; then
14268	        GLIB_2_31_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.31" 2>&1`
14269        else
14270	        GLIB_2_31_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.31" 2>&1`
14271        fi
14272	# Put the nasty error message in config.log where it belongs
14273	echo "$GLIB_2_31_PKG_ERRORS" >&5
14274
14275	HAVE_GLIB_2_31_OR_HIGHER=no
14276elif test $pkg_failed = untried; then
14277     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14278$as_echo "no" >&6; }
14279	HAVE_GLIB_2_31_OR_HIGHER=no
14280else
14281	GLIB_2_31_CFLAGS=$pkg_cv_GLIB_2_31_CFLAGS
14282	GLIB_2_31_LIBS=$pkg_cv_GLIB_2_31_LIBS
14283        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14284$as_echo "yes" >&6; }
14285	HAVE_GLIB_2_31_OR_HIGHER=yes
14286fi
14287
14288if test "x$HAVE_GLIB_2_31_OR_HIGHER" = "xyes" ; then
14289  CFLAGS="$CFLAGS -DDISABLE_GTHREAD_CHECK"
14290  CSFLAGS="$CSFLAGS -define:DISABLE_GTHREAD_CHECK"
14291fi
14292
14293
14294
14295
14296ac_config_files="$ac_config_files AssemblyInfo.cs Makefile policy.config msi/gtk-sharp-2.0.wxs msi/Makefile msi/unmanaged/Makefile msi/unmanaged/custom/Makefile msi/unmanaged/custom/etc/Makefile msi/unmanaged/custom/etc/gtk-2.0/Makefile msi/unmanaged/custom/share/Makefile msi/unmanaged/custom/share/icons/Makefile msi/unmanaged/custom/share/icons/hicolor/Makefile sources/Makefile parser/Makefile parser/gapi-2.0.pc parser/gapi2-fixup parser/gapi2-parser generator/Makefile generator/gapi2-codegen glib/Makefile glib/glib-sharp-2.0.pc glib/glib-sharp.dll.config glib/glue/Makefile cairo/Makefile pango/Makefile pango/pango-sharp.dll.config pango/glue/Makefile atk/Makefile atk/atk-sharp.dll.config atk/glue/Makefile gdk/Makefile gdk/gdk-sharp.dll.config gdk/glue/Makefile gtk/Makefile gtk/gtk-sharp-2.0.pc gtk/gtk-sharp.dll.config gtk/glue/Makefile glade/Makefile glade/glade-sharp.dll.config glade/glade-sharp-2.0.pc glade/glue/Makefile gtkdotnet/Makefile gtkdotnet/gtk-dotnet.dll.config gtkdotnet/gtk-dotnet-2.0.pc doc/Makefile sample/GtkDemo/Makefile sample/Makefile sample/pixmaps/Makefile sample/test/Makefile sample/valtest/Makefile sample/valtest/valtest.exe.config sample/opaquetest/Makefile sample/opaquetest/opaquetest.exe.config"
14297
14298cat >confcache <<\_ACEOF
14299# This file is a shell script that caches the results of configure
14300# tests run on this system so they can be shared between configure
14301# scripts and configure runs, see configure's option --config-cache.
14302# It is not useful on other systems.  If it contains results you don't
14303# want to keep, you may remove or edit it.
14304#
14305# config.status only pays attention to the cache file if you give it
14306# the --recheck option to rerun configure.
14307#
14308# `ac_cv_env_foo' variables (set or unset) will be overridden when
14309# loading this file, other *unset* `ac_cv_foo' will be assigned the
14310# following values.
14311
14312_ACEOF
14313
14314# The following way of writing the cache mishandles newlines in values,
14315# but we know of no workaround that is simple, portable, and efficient.
14316# So, we kill variables containing newlines.
14317# Ultrix sh set writes to stderr and can't be redirected directly,
14318# and sets the high bit in the cache file unless we assign to the vars.
14319(
14320  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14321    eval ac_val=\$$ac_var
14322    case $ac_val in #(
14323    *${as_nl}*)
14324      case $ac_var in #(
14325      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14326$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14327      esac
14328      case $ac_var in #(
14329      _ | IFS | as_nl) ;; #(
14330      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14331      *) { eval $ac_var=; unset $ac_var;} ;;
14332      esac ;;
14333    esac
14334  done
14335
14336  (set) 2>&1 |
14337    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14338    *${as_nl}ac_space=\ *)
14339      # `set' does not quote correctly, so add quotes: double-quote
14340      # substitution turns \\\\ into \\, and sed turns \\ into \.
14341      sed -n \
14342	"s/'/'\\\\''/g;
14343	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14344      ;; #(
14345    *)
14346      # `set' quotes correctly as required by POSIX, so do not add quotes.
14347      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14348      ;;
14349    esac |
14350    sort
14351) |
14352  sed '
14353     /^ac_cv_env_/b end
14354     t clear
14355     :clear
14356     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14357     t end
14358     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14359     :end' >>confcache
14360if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14361  if test -w "$cache_file"; then
14362    if test "x$cache_file" != "x/dev/null"; then
14363      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14364$as_echo "$as_me: updating cache $cache_file" >&6;}
14365      if test ! -f "$cache_file" || test -h "$cache_file"; then
14366	cat confcache >"$cache_file"
14367      else
14368        case $cache_file in #(
14369        */* | ?:*)
14370	  mv -f confcache "$cache_file"$$ &&
14371	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14372        *)
14373	  mv -f confcache "$cache_file" ;;
14374	esac
14375      fi
14376    fi
14377  else
14378    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14379$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14380  fi
14381fi
14382rm -f confcache
14383
14384test "x$prefix" = xNONE && prefix=$ac_default_prefix
14385# Let make expand exec_prefix.
14386test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14387
14388DEFS=-DHAVE_CONFIG_H
14389
14390ac_libobjs=
14391ac_ltlibobjs=
14392U=
14393for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14394  # 1. Remove the extension, and $U if already installed.
14395  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14396  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14397  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14398  #    will be set to the directory where LIBOBJS objects are built.
14399  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14400  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14401done
14402LIBOBJS=$ac_libobjs
14403
14404LTLIBOBJS=$ac_ltlibobjs
14405
14406
14407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14408$as_echo_n "checking that generated files are newer than configure... " >&6; }
14409   if test -n "$am_sleep_pid"; then
14410     # Hide warnings about reused PIDs.
14411     wait $am_sleep_pid 2>/dev/null
14412   fi
14413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14414$as_echo "done" >&6; }
14415 if test -n "$EXEEXT"; then
14416  am__EXEEXT_TRUE=
14417  am__EXEEXT_FALSE='#'
14418else
14419  am__EXEEXT_TRUE='#'
14420  am__EXEEXT_FALSE=
14421fi
14422
14423if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14424  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14425Usually this means the macro was only invoked conditionally." "$LINENO" 5
14426fi
14427if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
14428  as_fn_error $? "conditional \"PLATFORM_WIN32\" was never defined.
14429Usually this means the macro was only invoked conditionally." "$LINENO" 5
14430fi
14431if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14432  as_fn_error $? "conditional \"AMDEP\" was never defined.
14433Usually this means the macro was only invoked conditionally." "$LINENO" 5
14434fi
14435if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14436  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14437Usually this means the macro was only invoked conditionally." "$LINENO" 5
14438fi
14439if test -z "${ENABLE_MONO_CAIRO_TRUE}" && test -z "${ENABLE_MONO_CAIRO_FALSE}"; then
14440  as_fn_error $? "conditional \"ENABLE_MONO_CAIRO\" was never defined.
14441Usually this means the macro was only invoked conditionally." "$LINENO" 5
14442fi
14443if test -z "${ENABLE_GLADE_TRUE}" && test -z "${ENABLE_GLADE_FALSE}"; then
14444  as_fn_error $? "conditional \"ENABLE_GLADE\" was never defined.
14445Usually this means the macro was only invoked conditionally." "$LINENO" 5
14446fi
14447if test -z "${ENABLE_DOTNET_TRUE}" && test -z "${ENABLE_DOTNET_FALSE}"; then
14448  as_fn_error $? "conditional \"ENABLE_DOTNET\" was never defined.
14449Usually this means the macro was only invoked conditionally." "$LINENO" 5
14450fi
14451if test -z "${ENABLE_MONODOC_TRUE}" && test -z "${ENABLE_MONODOC_FALSE}"; then
14452  as_fn_error $? "conditional \"ENABLE_MONODOC\" was never defined.
14453Usually this means the macro was only invoked conditionally." "$LINENO" 5
14454fi
14455if test -z "${ENABLE_MSI_TRUE}" && test -z "${ENABLE_MSI_FALSE}"; then
14456  as_fn_error $? "conditional \"ENABLE_MSI\" was never defined.
14457Usually this means the macro was only invoked conditionally." "$LINENO" 5
14458fi
14459if test -z "${ENABLE_MONOGETOPTIONS_TRUE}" && test -z "${ENABLE_MONOGETOPTIONS_FALSE}"; then
14460  as_fn_error $? "conditional \"ENABLE_MONOGETOPTIONS\" was never defined.
14461Usually this means the macro was only invoked conditionally." "$LINENO" 5
14462fi
14463
14464: "${CONFIG_STATUS=./config.status}"
14465ac_write_fail=0
14466ac_clean_files_save=$ac_clean_files
14467ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14468{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14469$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14470as_write_fail=0
14471cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14472#! $SHELL
14473# Generated by $as_me.
14474# Run this file to recreate the current configuration.
14475# Compiler output produced by configure, useful for debugging
14476# configure, is in config.log if it exists.
14477
14478debug=false
14479ac_cs_recheck=false
14480ac_cs_silent=false
14481
14482SHELL=\${CONFIG_SHELL-$SHELL}
14483export SHELL
14484_ASEOF
14485cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14486## -------------------- ##
14487## M4sh Initialization. ##
14488## -------------------- ##
14489
14490# Be more Bourne compatible
14491DUALCASE=1; export DUALCASE # for MKS sh
14492if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14493  emulate sh
14494  NULLCMD=:
14495  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14496  # is contrary to our usage.  Disable this feature.
14497  alias -g '${1+"$@"}'='"$@"'
14498  setopt NO_GLOB_SUBST
14499else
14500  case `(set -o) 2>/dev/null` in #(
14501  *posix*) :
14502    set -o posix ;; #(
14503  *) :
14504     ;;
14505esac
14506fi
14507
14508
14509as_nl='
14510'
14511export as_nl
14512# Printing a long string crashes Solaris 7 /usr/bin/printf.
14513as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14514as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14515as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14516# Prefer a ksh shell builtin over an external printf program on Solaris,
14517# but without wasting forks for bash or zsh.
14518if test -z "$BASH_VERSION$ZSH_VERSION" \
14519    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14520  as_echo='print -r --'
14521  as_echo_n='print -rn --'
14522elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14523  as_echo='printf %s\n'
14524  as_echo_n='printf %s'
14525else
14526  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14527    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14528    as_echo_n='/usr/ucb/echo -n'
14529  else
14530    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14531    as_echo_n_body='eval
14532      arg=$1;
14533      case $arg in #(
14534      *"$as_nl"*)
14535	expr "X$arg" : "X\\(.*\\)$as_nl";
14536	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14537      esac;
14538      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14539    '
14540    export as_echo_n_body
14541    as_echo_n='sh -c $as_echo_n_body as_echo'
14542  fi
14543  export as_echo_body
14544  as_echo='sh -c $as_echo_body as_echo'
14545fi
14546
14547# The user is always right.
14548if test "${PATH_SEPARATOR+set}" != set; then
14549  PATH_SEPARATOR=:
14550  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14551    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14552      PATH_SEPARATOR=';'
14553  }
14554fi
14555
14556
14557# IFS
14558# We need space, tab and new line, in precisely that order.  Quoting is
14559# there to prevent editors from complaining about space-tab.
14560# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14561# splitting by setting IFS to empty value.)
14562IFS=" ""	$as_nl"
14563
14564# Find who we are.  Look in the path if we contain no directory separator.
14565as_myself=
14566case $0 in #((
14567  *[\\/]* ) as_myself=$0 ;;
14568  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14569for as_dir in $PATH
14570do
14571  IFS=$as_save_IFS
14572  test -z "$as_dir" && as_dir=.
14573    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14574  done
14575IFS=$as_save_IFS
14576
14577     ;;
14578esac
14579# We did not find ourselves, most probably we were run as `sh COMMAND'
14580# in which case we are not to be found in the path.
14581if test "x$as_myself" = x; then
14582  as_myself=$0
14583fi
14584if test ! -f "$as_myself"; then
14585  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14586  exit 1
14587fi
14588
14589# Unset variables that we do not need and which cause bugs (e.g. in
14590# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14591# suppresses any "Segmentation fault" message there.  '((' could
14592# trigger a bug in pdksh 5.2.14.
14593for as_var in BASH_ENV ENV MAIL MAILPATH
14594do eval test x\${$as_var+set} = xset \
14595  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14596done
14597PS1='$ '
14598PS2='> '
14599PS4='+ '
14600
14601# NLS nuisances.
14602LC_ALL=C
14603export LC_ALL
14604LANGUAGE=C
14605export LANGUAGE
14606
14607# CDPATH.
14608(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14609
14610
14611# as_fn_error STATUS ERROR [LINENO LOG_FD]
14612# ----------------------------------------
14613# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14614# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14615# script with STATUS, using 1 if that was 0.
14616as_fn_error ()
14617{
14618  as_status=$1; test $as_status -eq 0 && as_status=1
14619  if test "$4"; then
14620    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14621    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14622  fi
14623  $as_echo "$as_me: error: $2" >&2
14624  as_fn_exit $as_status
14625} # as_fn_error
14626
14627
14628# as_fn_set_status STATUS
14629# -----------------------
14630# Set $? to STATUS, without forking.
14631as_fn_set_status ()
14632{
14633  return $1
14634} # as_fn_set_status
14635
14636# as_fn_exit STATUS
14637# -----------------
14638# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14639as_fn_exit ()
14640{
14641  set +e
14642  as_fn_set_status $1
14643  exit $1
14644} # as_fn_exit
14645
14646# as_fn_unset VAR
14647# ---------------
14648# Portably unset VAR.
14649as_fn_unset ()
14650{
14651  { eval $1=; unset $1;}
14652}
14653as_unset=as_fn_unset
14654# as_fn_append VAR VALUE
14655# ----------------------
14656# Append the text in VALUE to the end of the definition contained in VAR. Take
14657# advantage of any shell optimizations that allow amortized linear growth over
14658# repeated appends, instead of the typical quadratic growth present in naive
14659# implementations.
14660if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14661  eval 'as_fn_append ()
14662  {
14663    eval $1+=\$2
14664  }'
14665else
14666  as_fn_append ()
14667  {
14668    eval $1=\$$1\$2
14669  }
14670fi # as_fn_append
14671
14672# as_fn_arith ARG...
14673# ------------------
14674# Perform arithmetic evaluation on the ARGs, and store the result in the
14675# global $as_val. Take advantage of shells that can avoid forks. The arguments
14676# must be portable across $(()) and expr.
14677if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14678  eval 'as_fn_arith ()
14679  {
14680    as_val=$(( $* ))
14681  }'
14682else
14683  as_fn_arith ()
14684  {
14685    as_val=`expr "$@" || test $? -eq 1`
14686  }
14687fi # as_fn_arith
14688
14689
14690if expr a : '\(a\)' >/dev/null 2>&1 &&
14691   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14692  as_expr=expr
14693else
14694  as_expr=false
14695fi
14696
14697if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14698  as_basename=basename
14699else
14700  as_basename=false
14701fi
14702
14703if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14704  as_dirname=dirname
14705else
14706  as_dirname=false
14707fi
14708
14709as_me=`$as_basename -- "$0" ||
14710$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14711	 X"$0" : 'X\(//\)$' \| \
14712	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14713$as_echo X/"$0" |
14714    sed '/^.*\/\([^/][^/]*\)\/*$/{
14715	    s//\1/
14716	    q
14717	  }
14718	  /^X\/\(\/\/\)$/{
14719	    s//\1/
14720	    q
14721	  }
14722	  /^X\/\(\/\).*/{
14723	    s//\1/
14724	    q
14725	  }
14726	  s/.*/./; q'`
14727
14728# Avoid depending upon Character Ranges.
14729as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14730as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14731as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14732as_cr_digits='0123456789'
14733as_cr_alnum=$as_cr_Letters$as_cr_digits
14734
14735ECHO_C= ECHO_N= ECHO_T=
14736case `echo -n x` in #(((((
14737-n*)
14738  case `echo 'xy\c'` in
14739  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14740  xy)  ECHO_C='\c';;
14741  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14742       ECHO_T='	';;
14743  esac;;
14744*)
14745  ECHO_N='-n';;
14746esac
14747
14748rm -f conf$$ conf$$.exe conf$$.file
14749if test -d conf$$.dir; then
14750  rm -f conf$$.dir/conf$$.file
14751else
14752  rm -f conf$$.dir
14753  mkdir conf$$.dir 2>/dev/null
14754fi
14755if (echo >conf$$.file) 2>/dev/null; then
14756  if ln -s conf$$.file conf$$ 2>/dev/null; then
14757    as_ln_s='ln -s'
14758    # ... but there are two gotchas:
14759    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14760    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14761    # In both cases, we have to default to `cp -pR'.
14762    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14763      as_ln_s='cp -pR'
14764  elif ln conf$$.file conf$$ 2>/dev/null; then
14765    as_ln_s=ln
14766  else
14767    as_ln_s='cp -pR'
14768  fi
14769else
14770  as_ln_s='cp -pR'
14771fi
14772rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14773rmdir conf$$.dir 2>/dev/null
14774
14775
14776# as_fn_mkdir_p
14777# -------------
14778# Create "$as_dir" as a directory, including parents if necessary.
14779as_fn_mkdir_p ()
14780{
14781
14782  case $as_dir in #(
14783  -*) as_dir=./$as_dir;;
14784  esac
14785  test -d "$as_dir" || eval $as_mkdir_p || {
14786    as_dirs=
14787    while :; do
14788      case $as_dir in #(
14789      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14790      *) as_qdir=$as_dir;;
14791      esac
14792      as_dirs="'$as_qdir' $as_dirs"
14793      as_dir=`$as_dirname -- "$as_dir" ||
14794$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14795	 X"$as_dir" : 'X\(//\)[^/]' \| \
14796	 X"$as_dir" : 'X\(//\)$' \| \
14797	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14798$as_echo X"$as_dir" |
14799    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14800	    s//\1/
14801	    q
14802	  }
14803	  /^X\(\/\/\)[^/].*/{
14804	    s//\1/
14805	    q
14806	  }
14807	  /^X\(\/\/\)$/{
14808	    s//\1/
14809	    q
14810	  }
14811	  /^X\(\/\).*/{
14812	    s//\1/
14813	    q
14814	  }
14815	  s/.*/./; q'`
14816      test -d "$as_dir" && break
14817    done
14818    test -z "$as_dirs" || eval "mkdir $as_dirs"
14819  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14820
14821
14822} # as_fn_mkdir_p
14823if mkdir -p . 2>/dev/null; then
14824  as_mkdir_p='mkdir -p "$as_dir"'
14825else
14826  test -d ./-p && rmdir ./-p
14827  as_mkdir_p=false
14828fi
14829
14830
14831# as_fn_executable_p FILE
14832# -----------------------
14833# Test if FILE is an executable regular file.
14834as_fn_executable_p ()
14835{
14836  test -f "$1" && test -x "$1"
14837} # as_fn_executable_p
14838as_test_x='test -x'
14839as_executable_p=as_fn_executable_p
14840
14841# Sed expression to map a string onto a valid CPP name.
14842as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14843
14844# Sed expression to map a string onto a valid variable name.
14845as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14846
14847
14848exec 6>&1
14849## ----------------------------------- ##
14850## Main body of $CONFIG_STATUS script. ##
14851## ----------------------------------- ##
14852_ASEOF
14853test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14854
14855cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14856# Save the log message, to keep $0 and so on meaningful, and to
14857# report actual input values of CONFIG_FILES etc. instead of their
14858# values after options handling.
14859ac_log="
14860This file was extended by gtk-sharp $as_me 2.12.45, which was
14861generated by GNU Autoconf 2.69.  Invocation command line was
14862
14863  CONFIG_FILES    = $CONFIG_FILES
14864  CONFIG_HEADERS  = $CONFIG_HEADERS
14865  CONFIG_LINKS    = $CONFIG_LINKS
14866  CONFIG_COMMANDS = $CONFIG_COMMANDS
14867  $ $0 $@
14868
14869on `(hostname || uname -n) 2>/dev/null | sed 1q`
14870"
14871
14872_ACEOF
14873
14874case $ac_config_files in *"
14875"*) set x $ac_config_files; shift; ac_config_files=$*;;
14876esac
14877
14878case $ac_config_headers in *"
14879"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14880esac
14881
14882
14883cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14884# Files that config.status was made for.
14885config_files="$ac_config_files"
14886config_headers="$ac_config_headers"
14887config_commands="$ac_config_commands"
14888
14889_ACEOF
14890
14891cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14892ac_cs_usage="\
14893\`$as_me' instantiates files and other configuration actions
14894from templates according to the current configuration.  Unless the files
14895and actions are specified as TAGs, all are instantiated by default.
14896
14897Usage: $0 [OPTION]... [TAG]...
14898
14899  -h, --help       print this help, then exit
14900  -V, --version    print version number and configuration settings, then exit
14901      --config     print configuration, then exit
14902  -q, --quiet, --silent
14903                   do not print progress messages
14904  -d, --debug      don't remove temporary files
14905      --recheck    update $as_me by reconfiguring in the same conditions
14906      --file=FILE[:TEMPLATE]
14907                   instantiate the configuration file FILE
14908      --header=FILE[:TEMPLATE]
14909                   instantiate the configuration header FILE
14910
14911Configuration files:
14912$config_files
14913
14914Configuration headers:
14915$config_headers
14916
14917Configuration commands:
14918$config_commands
14919
14920Report bugs to the package provider."
14921
14922_ACEOF
14923cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14924ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14925ac_cs_version="\\
14926gtk-sharp config.status 2.12.45
14927configured by $0, generated by GNU Autoconf 2.69,
14928  with options \\"\$ac_cs_config\\"
14929
14930Copyright (C) 2012 Free Software Foundation, Inc.
14931This config.status script is free software; the Free Software Foundation
14932gives unlimited permission to copy, distribute and modify it."
14933
14934ac_pwd='$ac_pwd'
14935srcdir='$srcdir'
14936INSTALL='$INSTALL'
14937MKDIR_P='$MKDIR_P'
14938AWK='$AWK'
14939test -n "\$AWK" || AWK=awk
14940_ACEOF
14941
14942cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14943# The default lists apply if the user does not specify any file.
14944ac_need_defaults=:
14945while test $# != 0
14946do
14947  case $1 in
14948  --*=?*)
14949    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14950    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14951    ac_shift=:
14952    ;;
14953  --*=)
14954    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14955    ac_optarg=
14956    ac_shift=:
14957    ;;
14958  *)
14959    ac_option=$1
14960    ac_optarg=$2
14961    ac_shift=shift
14962    ;;
14963  esac
14964
14965  case $ac_option in
14966  # Handling of the options.
14967  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14968    ac_cs_recheck=: ;;
14969  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14970    $as_echo "$ac_cs_version"; exit ;;
14971  --config | --confi | --conf | --con | --co | --c )
14972    $as_echo "$ac_cs_config"; exit ;;
14973  --debug | --debu | --deb | --de | --d | -d )
14974    debug=: ;;
14975  --file | --fil | --fi | --f )
14976    $ac_shift
14977    case $ac_optarg in
14978    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14979    '') as_fn_error $? "missing file argument" ;;
14980    esac
14981    as_fn_append CONFIG_FILES " '$ac_optarg'"
14982    ac_need_defaults=false;;
14983  --header | --heade | --head | --hea )
14984    $ac_shift
14985    case $ac_optarg in
14986    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14987    esac
14988    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14989    ac_need_defaults=false;;
14990  --he | --h)
14991    # Conflict between --help and --header
14992    as_fn_error $? "ambiguous option: \`$1'
14993Try \`$0 --help' for more information.";;
14994  --help | --hel | -h )
14995    $as_echo "$ac_cs_usage"; exit ;;
14996  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14997  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14998    ac_cs_silent=: ;;
14999
15000  # This is an error.
15001  -*) as_fn_error $? "unrecognized option: \`$1'
15002Try \`$0 --help' for more information." ;;
15003
15004  *) as_fn_append ac_config_targets " $1"
15005     ac_need_defaults=false ;;
15006
15007  esac
15008  shift
15009done
15010
15011ac_configure_extra_args=
15012
15013if $ac_cs_silent; then
15014  exec 6>/dev/null
15015  ac_configure_extra_args="$ac_configure_extra_args --silent"
15016fi
15017
15018_ACEOF
15019cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15020if \$ac_cs_recheck; then
15021  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15022  shift
15023  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15024  CONFIG_SHELL='$SHELL'
15025  export CONFIG_SHELL
15026  exec "\$@"
15027fi
15028
15029_ACEOF
15030cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15031exec 5>>config.log
15032{
15033  echo
15034  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15035## Running $as_me. ##
15036_ASBOX
15037  $as_echo "$ac_log"
15038} >&5
15039
15040_ACEOF
15041cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15042#
15043# INIT-COMMANDS
15044#
15045AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15046
15047
15048# The HP-UX ksh and POSIX shell print the target directory to stdout
15049# if CDPATH is set.
15050(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15051
15052sed_quote_subst='$sed_quote_subst'
15053double_quote_subst='$double_quote_subst'
15054delay_variable_subst='$delay_variable_subst'
15055AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
15056DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15057OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15058macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15059macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15060enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15061enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15062pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15063enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15064shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15065SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15066ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15067PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15068host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15069host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15070host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15071build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15072build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15073build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15074SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15075Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15076GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15077EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15078FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15079LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15080NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15081LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15082max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15083ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15084exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15085lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15086lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15087lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15088lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15089lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15090reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15091reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15092deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15093file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15094file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15095want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15096sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15097AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15098AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15099archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15100STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15101RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15102old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15103old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15104old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15105lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15106CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15107CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15108compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15109GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15110lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15111lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15112lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15113lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15114lt_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"`'
15115lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15116nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15117lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15118lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15119objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15120MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15121lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15122lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15123lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15124lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15125lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15126need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15127MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15128DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15129NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15130LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15131OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15132OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15133libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15134shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15135extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15136archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15137enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15138export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15139whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15140compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15141old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15142old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15143archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15144archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15145module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15146module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15147with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15148allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15149no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15150hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15151hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15152hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15153hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15154hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15155hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15156hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15157inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15158link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15159always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15160export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15161exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15162include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15163prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15164postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15165file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15166variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15167need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15168need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15169version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15170runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15171shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15172shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15173libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15174library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15175soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15176install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15177postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15178postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15179finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15180finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15181hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15182sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15183configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15184configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15185hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15186enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15187enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15188enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15189old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15190striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15191
15192LTCC='$LTCC'
15193LTCFLAGS='$LTCFLAGS'
15194compiler='$compiler_DEFAULT'
15195
15196# A function that is used when there is no print builtin or printf.
15197func_fallback_echo ()
15198{
15199  eval 'cat <<_LTECHO_EOF
15200\$1
15201_LTECHO_EOF'
15202}
15203
15204# Quote evaled strings.
15205for var in AS \
15206DLLTOOL \
15207OBJDUMP \
15208SHELL \
15209ECHO \
15210PATH_SEPARATOR \
15211SED \
15212GREP \
15213EGREP \
15214FGREP \
15215LD \
15216NM \
15217LN_S \
15218lt_SP2NL \
15219lt_NL2SP \
15220reload_flag \
15221deplibs_check_method \
15222file_magic_cmd \
15223file_magic_glob \
15224want_nocaseglob \
15225sharedlib_from_linklib_cmd \
15226AR \
15227AR_FLAGS \
15228archiver_list_spec \
15229STRIP \
15230RANLIB \
15231CC \
15232CFLAGS \
15233compiler \
15234lt_cv_sys_global_symbol_pipe \
15235lt_cv_sys_global_symbol_to_cdecl \
15236lt_cv_sys_global_symbol_to_import \
15237lt_cv_sys_global_symbol_to_c_name_address \
15238lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15239lt_cv_nm_interface \
15240nm_file_list_spec \
15241lt_cv_truncate_bin \
15242lt_prog_compiler_no_builtin_flag \
15243lt_prog_compiler_pic \
15244lt_prog_compiler_wl \
15245lt_prog_compiler_static \
15246lt_cv_prog_compiler_c_o \
15247need_locks \
15248MANIFEST_TOOL \
15249DSYMUTIL \
15250NMEDIT \
15251LIPO \
15252OTOOL \
15253OTOOL64 \
15254shrext_cmds \
15255export_dynamic_flag_spec \
15256whole_archive_flag_spec \
15257compiler_needs_object \
15258with_gnu_ld \
15259allow_undefined_flag \
15260no_undefined_flag \
15261hardcode_libdir_flag_spec \
15262hardcode_libdir_separator \
15263exclude_expsyms \
15264include_expsyms \
15265file_list_spec \
15266variables_saved_for_relink \
15267libname_spec \
15268library_names_spec \
15269soname_spec \
15270install_override_mode \
15271finish_eval \
15272old_striplib \
15273striplib; do
15274    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15275    *[\\\\\\\`\\"\\\$]*)
15276      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15277      ;;
15278    *)
15279      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15280      ;;
15281    esac
15282done
15283
15284# Double-quote double-evaled strings.
15285for var in reload_cmds \
15286old_postinstall_cmds \
15287old_postuninstall_cmds \
15288old_archive_cmds \
15289extract_expsyms_cmds \
15290old_archive_from_new_cmds \
15291old_archive_from_expsyms_cmds \
15292archive_cmds \
15293archive_expsym_cmds \
15294module_cmds \
15295module_expsym_cmds \
15296export_symbols_cmds \
15297prelink_cmds \
15298postlink_cmds \
15299postinstall_cmds \
15300postuninstall_cmds \
15301finish_cmds \
15302sys_lib_search_path_spec \
15303configure_time_dlsearch_path \
15304configure_time_lt_sys_library_path; do
15305    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15306    *[\\\\\\\`\\"\\\$]*)
15307      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15308      ;;
15309    *)
15310      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15311      ;;
15312    esac
15313done
15314
15315ac_aux_dir='$ac_aux_dir'
15316
15317# See if we are running on zsh, and set the options that allow our
15318# commands through without removal of \ escapes INIT.
15319if test -n "\${ZSH_VERSION+set}"; then
15320   setopt NO_GLOB_SUBST
15321fi
15322
15323
15324    PACKAGE='$PACKAGE'
15325    VERSION='$VERSION'
15326    RM='$RM'
15327    ofile='$ofile'
15328
15329
15330
15331
15332_ACEOF
15333
15334cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15335
15336# Handling of arguments.
15337for ac_config_target in $ac_config_targets
15338do
15339  case $ac_config_target in
15340    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15341    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15342    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15343    "AssemblyInfo.cs") CONFIG_FILES="$CONFIG_FILES AssemblyInfo.cs" ;;
15344    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15345    "policy.config") CONFIG_FILES="$CONFIG_FILES policy.config" ;;
15346    "msi/gtk-sharp-2.0.wxs") CONFIG_FILES="$CONFIG_FILES msi/gtk-sharp-2.0.wxs" ;;
15347    "msi/Makefile") CONFIG_FILES="$CONFIG_FILES msi/Makefile" ;;
15348    "msi/unmanaged/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/Makefile" ;;
15349    "msi/unmanaged/custom/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/Makefile" ;;
15350    "msi/unmanaged/custom/etc/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/etc/Makefile" ;;
15351    "msi/unmanaged/custom/etc/gtk-2.0/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/etc/gtk-2.0/Makefile" ;;
15352    "msi/unmanaged/custom/share/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/Makefile" ;;
15353    "msi/unmanaged/custom/share/icons/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/icons/Makefile" ;;
15354    "msi/unmanaged/custom/share/icons/hicolor/Makefile") CONFIG_FILES="$CONFIG_FILES msi/unmanaged/custom/share/icons/hicolor/Makefile" ;;
15355    "sources/Makefile") CONFIG_FILES="$CONFIG_FILES sources/Makefile" ;;
15356    "parser/Makefile") CONFIG_FILES="$CONFIG_FILES parser/Makefile" ;;
15357    "parser/gapi-2.0.pc") CONFIG_FILES="$CONFIG_FILES parser/gapi-2.0.pc" ;;
15358    "parser/gapi2-fixup") CONFIG_FILES="$CONFIG_FILES parser/gapi2-fixup" ;;
15359    "parser/gapi2-parser") CONFIG_FILES="$CONFIG_FILES parser/gapi2-parser" ;;
15360    "generator/Makefile") CONFIG_FILES="$CONFIG_FILES generator/Makefile" ;;
15361    "generator/gapi2-codegen") CONFIG_FILES="$CONFIG_FILES generator/gapi2-codegen" ;;
15362    "glib/Makefile") CONFIG_FILES="$CONFIG_FILES glib/Makefile" ;;
15363    "glib/glib-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES glib/glib-sharp-2.0.pc" ;;
15364    "glib/glib-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES glib/glib-sharp.dll.config" ;;
15365    "glib/glue/Makefile") CONFIG_FILES="$CONFIG_FILES glib/glue/Makefile" ;;
15366    "cairo/Makefile") CONFIG_FILES="$CONFIG_FILES cairo/Makefile" ;;
15367    "pango/Makefile") CONFIG_FILES="$CONFIG_FILES pango/Makefile" ;;
15368    "pango/pango-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES pango/pango-sharp.dll.config" ;;
15369    "pango/glue/Makefile") CONFIG_FILES="$CONFIG_FILES pango/glue/Makefile" ;;
15370    "atk/Makefile") CONFIG_FILES="$CONFIG_FILES atk/Makefile" ;;
15371    "atk/atk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES atk/atk-sharp.dll.config" ;;
15372    "atk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES atk/glue/Makefile" ;;
15373    "gdk/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/Makefile" ;;
15374    "gdk/gdk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES gdk/gdk-sharp.dll.config" ;;
15375    "gdk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES gdk/glue/Makefile" ;;
15376    "gtk/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/Makefile" ;;
15377    "gtk/gtk-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtk/gtk-sharp-2.0.pc" ;;
15378    "gtk/gtk-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES gtk/gtk-sharp.dll.config" ;;
15379    "gtk/glue/Makefile") CONFIG_FILES="$CONFIG_FILES gtk/glue/Makefile" ;;
15380    "glade/Makefile") CONFIG_FILES="$CONFIG_FILES glade/Makefile" ;;
15381    "glade/glade-sharp.dll.config") CONFIG_FILES="$CONFIG_FILES glade/glade-sharp.dll.config" ;;
15382    "glade/glade-sharp-2.0.pc") CONFIG_FILES="$CONFIG_FILES glade/glade-sharp-2.0.pc" ;;
15383    "glade/glue/Makefile") CONFIG_FILES="$CONFIG_FILES glade/glue/Makefile" ;;
15384    "gtkdotnet/Makefile") CONFIG_FILES="$CONFIG_FILES gtkdotnet/Makefile" ;;
15385    "gtkdotnet/gtk-dotnet.dll.config") CONFIG_FILES="$CONFIG_FILES gtkdotnet/gtk-dotnet.dll.config" ;;
15386    "gtkdotnet/gtk-dotnet-2.0.pc") CONFIG_FILES="$CONFIG_FILES gtkdotnet/gtk-dotnet-2.0.pc" ;;
15387    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
15388    "sample/GtkDemo/Makefile") CONFIG_FILES="$CONFIG_FILES sample/GtkDemo/Makefile" ;;
15389    "sample/Makefile") CONFIG_FILES="$CONFIG_FILES sample/Makefile" ;;
15390    "sample/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES sample/pixmaps/Makefile" ;;
15391    "sample/test/Makefile") CONFIG_FILES="$CONFIG_FILES sample/test/Makefile" ;;
15392    "sample/valtest/Makefile") CONFIG_FILES="$CONFIG_FILES sample/valtest/Makefile" ;;
15393    "sample/valtest/valtest.exe.config") CONFIG_FILES="$CONFIG_FILES sample/valtest/valtest.exe.config" ;;
15394    "sample/opaquetest/Makefile") CONFIG_FILES="$CONFIG_FILES sample/opaquetest/Makefile" ;;
15395    "sample/opaquetest/opaquetest.exe.config") CONFIG_FILES="$CONFIG_FILES sample/opaquetest/opaquetest.exe.config" ;;
15396
15397  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15398  esac
15399done
15400
15401
15402# If the user did not use the arguments to specify the items to instantiate,
15403# then the envvar interface is used.  Set only those that are not.
15404# We use the long form for the default assignment because of an extremely
15405# bizarre bug on SunOS 4.1.3.
15406if $ac_need_defaults; then
15407  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15408  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15409  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15410fi
15411
15412# Have a temporary directory for convenience.  Make it in the build tree
15413# simply because there is no reason against having it here, and in addition,
15414# creating and moving files from /tmp can sometimes cause problems.
15415# Hook for its removal unless debugging.
15416# Note that there is a small window in which the directory will not be cleaned:
15417# after its creation but before its name has been assigned to `$tmp'.
15418$debug ||
15419{
15420  tmp= ac_tmp=
15421  trap 'exit_status=$?
15422  : "${ac_tmp:=$tmp}"
15423  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15424' 0
15425  trap 'as_fn_exit 1' 1 2 13 15
15426}
15427# Create a (secure) tmp directory for tmp files.
15428
15429{
15430  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15431  test -d "$tmp"
15432}  ||
15433{
15434  tmp=./conf$$-$RANDOM
15435  (umask 077 && mkdir "$tmp")
15436} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15437ac_tmp=$tmp
15438
15439# Set up the scripts for CONFIG_FILES section.
15440# No need to generate them if there are no CONFIG_FILES.
15441# This happens for instance with `./config.status config.h'.
15442if test -n "$CONFIG_FILES"; then
15443
15444
15445ac_cr=`echo X | tr X '\015'`
15446# On cygwin, bash can eat \r inside `` if the user requested igncr.
15447# But we know of no other shell where ac_cr would be empty at this
15448# point, so we can use a bashism as a fallback.
15449if test "x$ac_cr" = x; then
15450  eval ac_cr=\$\'\\r\'
15451fi
15452ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15453if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15454  ac_cs_awk_cr='\\r'
15455else
15456  ac_cs_awk_cr=$ac_cr
15457fi
15458
15459echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15460_ACEOF
15461
15462
15463{
15464  echo "cat >conf$$subs.awk <<_ACEOF" &&
15465  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15466  echo "_ACEOF"
15467} >conf$$subs.sh ||
15468  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15469ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15470ac_delim='%!_!# '
15471for ac_last_try in false false false false false :; do
15472  . ./conf$$subs.sh ||
15473    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15474
15475  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15476  if test $ac_delim_n = $ac_delim_num; then
15477    break
15478  elif $ac_last_try; then
15479    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15480  else
15481    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15482  fi
15483done
15484rm -f conf$$subs.sh
15485
15486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15487cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15488_ACEOF
15489sed -n '
15490h
15491s/^/S["/; s/!.*/"]=/
15492p
15493g
15494s/^[^!]*!//
15495:repl
15496t repl
15497s/'"$ac_delim"'$//
15498t delim
15499:nl
15500h
15501s/\(.\{148\}\)..*/\1/
15502t more1
15503s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15504p
15505n
15506b repl
15507:more1
15508s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15509p
15510g
15511s/.\{148\}//
15512t nl
15513:delim
15514h
15515s/\(.\{148\}\)..*/\1/
15516t more2
15517s/["\\]/\\&/g; s/^/"/; s/$/"/
15518p
15519b
15520:more2
15521s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15522p
15523g
15524s/.\{148\}//
15525t delim
15526' <conf$$subs.awk | sed '
15527/^[^""]/{
15528  N
15529  s/\n//
15530}
15531' >>$CONFIG_STATUS || ac_write_fail=1
15532rm -f conf$$subs.awk
15533cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15534_ACAWK
15535cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15536  for (key in S) S_is_set[key] = 1
15537  FS = ""
15538
15539}
15540{
15541  line = $ 0
15542  nfields = split(line, field, "@")
15543  substed = 0
15544  len = length(field[1])
15545  for (i = 2; i < nfields; i++) {
15546    key = field[i]
15547    keylen = length(key)
15548    if (S_is_set[key]) {
15549      value = S[key]
15550      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15551      len += length(value) + length(field[++i])
15552      substed = 1
15553    } else
15554      len += 1 + keylen
15555  }
15556
15557  print line
15558}
15559
15560_ACAWK
15561_ACEOF
15562cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15563if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15564  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15565else
15566  cat
15567fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15568  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15569_ACEOF
15570
15571# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15572# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15573# trailing colons and then remove the whole line if VPATH becomes empty
15574# (actually we leave an empty line to preserve line numbers).
15575if test "x$srcdir" = x.; then
15576  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15577h
15578s///
15579s/^/:/
15580s/[	 ]*$/:/
15581s/:\$(srcdir):/:/g
15582s/:\${srcdir}:/:/g
15583s/:@srcdir@:/:/g
15584s/^:*//
15585s/:*$//
15586x
15587s/\(=[	 ]*\).*/\1/
15588G
15589s/\n//
15590s/^[^=]*=[	 ]*$//
15591}'
15592fi
15593
15594cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15595fi # test -n "$CONFIG_FILES"
15596
15597# Set up the scripts for CONFIG_HEADERS section.
15598# No need to generate them if there are no CONFIG_HEADERS.
15599# This happens for instance with `./config.status Makefile'.
15600if test -n "$CONFIG_HEADERS"; then
15601cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15602BEGIN {
15603_ACEOF
15604
15605# Transform confdefs.h into an awk script `defines.awk', embedded as
15606# here-document in config.status, that substitutes the proper values into
15607# config.h.in to produce config.h.
15608
15609# Create a delimiter string that does not exist in confdefs.h, to ease
15610# handling of long lines.
15611ac_delim='%!_!# '
15612for ac_last_try in false false :; do
15613  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15614  if test -z "$ac_tt"; then
15615    break
15616  elif $ac_last_try; then
15617    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15618  else
15619    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15620  fi
15621done
15622
15623# For the awk script, D is an array of macro values keyed by name,
15624# likewise P contains macro parameters if any.  Preserve backslash
15625# newline sequences.
15626
15627ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15628sed -n '
15629s/.\{148\}/&'"$ac_delim"'/g
15630t rset
15631:rset
15632s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15633t def
15634d
15635:def
15636s/\\$//
15637t bsnl
15638s/["\\]/\\&/g
15639s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15640D["\1"]=" \3"/p
15641s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15642d
15643:bsnl
15644s/["\\]/\\&/g
15645s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15646D["\1"]=" \3\\\\\\n"\\/p
15647t cont
15648s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15649t cont
15650d
15651:cont
15652n
15653s/.\{148\}/&'"$ac_delim"'/g
15654t clear
15655:clear
15656s/\\$//
15657t bsnlc
15658s/["\\]/\\&/g; s/^/"/; s/$/"/p
15659d
15660:bsnlc
15661s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15662b cont
15663' <confdefs.h | sed '
15664s/'"$ac_delim"'/"\\\
15665"/g' >>$CONFIG_STATUS || ac_write_fail=1
15666
15667cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15668  for (key in D) D_is_set[key] = 1
15669  FS = ""
15670}
15671/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15672  line = \$ 0
15673  split(line, arg, " ")
15674  if (arg[1] == "#") {
15675    defundef = arg[2]
15676    mac1 = arg[3]
15677  } else {
15678    defundef = substr(arg[1], 2)
15679    mac1 = arg[2]
15680  }
15681  split(mac1, mac2, "(") #)
15682  macro = mac2[1]
15683  prefix = substr(line, 1, index(line, defundef) - 1)
15684  if (D_is_set[macro]) {
15685    # Preserve the white space surrounding the "#".
15686    print prefix "define", macro P[macro] D[macro]
15687    next
15688  } else {
15689    # Replace #undef with comments.  This is necessary, for example,
15690    # in the case of _POSIX_SOURCE, which is predefined and required
15691    # on some systems where configure will not decide to define it.
15692    if (defundef == "undef") {
15693      print "/*", prefix defundef, macro, "*/"
15694      next
15695    }
15696  }
15697}
15698{ print }
15699_ACAWK
15700_ACEOF
15701cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15702  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15703fi # test -n "$CONFIG_HEADERS"
15704
15705
15706eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15707shift
15708for ac_tag
15709do
15710  case $ac_tag in
15711  :[FHLC]) ac_mode=$ac_tag; continue;;
15712  esac
15713  case $ac_mode$ac_tag in
15714  :[FHL]*:*);;
15715  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15716  :[FH]-) ac_tag=-:-;;
15717  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15718  esac
15719  ac_save_IFS=$IFS
15720  IFS=:
15721  set x $ac_tag
15722  IFS=$ac_save_IFS
15723  shift
15724  ac_file=$1
15725  shift
15726
15727  case $ac_mode in
15728  :L) ac_source=$1;;
15729  :[FH])
15730    ac_file_inputs=
15731    for ac_f
15732    do
15733      case $ac_f in
15734      -) ac_f="$ac_tmp/stdin";;
15735      *) # Look for the file first in the build tree, then in the source tree
15736	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15737	 # because $ac_f cannot contain `:'.
15738	 test -f "$ac_f" ||
15739	   case $ac_f in
15740	   [\\/$]*) false;;
15741	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15742	   esac ||
15743	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15744      esac
15745      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15746      as_fn_append ac_file_inputs " '$ac_f'"
15747    done
15748
15749    # Let's still pretend it is `configure' which instantiates (i.e., don't
15750    # use $as_me), people would be surprised to read:
15751    #    /* config.h.  Generated by config.status.  */
15752    configure_input='Generated from '`
15753	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15754	`' by configure.'
15755    if test x"$ac_file" != x-; then
15756      configure_input="$ac_file.  $configure_input"
15757      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15758$as_echo "$as_me: creating $ac_file" >&6;}
15759    fi
15760    # Neutralize special characters interpreted by sed in replacement strings.
15761    case $configure_input in #(
15762    *\&* | *\|* | *\\* )
15763       ac_sed_conf_input=`$as_echo "$configure_input" |
15764       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15765    *) ac_sed_conf_input=$configure_input;;
15766    esac
15767
15768    case $ac_tag in
15769    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15770      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15771    esac
15772    ;;
15773  esac
15774
15775  ac_dir=`$as_dirname -- "$ac_file" ||
15776$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15777	 X"$ac_file" : 'X\(//\)[^/]' \| \
15778	 X"$ac_file" : 'X\(//\)$' \| \
15779	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15780$as_echo X"$ac_file" |
15781    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15782	    s//\1/
15783	    q
15784	  }
15785	  /^X\(\/\/\)[^/].*/{
15786	    s//\1/
15787	    q
15788	  }
15789	  /^X\(\/\/\)$/{
15790	    s//\1/
15791	    q
15792	  }
15793	  /^X\(\/\).*/{
15794	    s//\1/
15795	    q
15796	  }
15797	  s/.*/./; q'`
15798  as_dir="$ac_dir"; as_fn_mkdir_p
15799  ac_builddir=.
15800
15801case "$ac_dir" in
15802.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15803*)
15804  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15805  # A ".." for each directory in $ac_dir_suffix.
15806  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15807  case $ac_top_builddir_sub in
15808  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15809  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15810  esac ;;
15811esac
15812ac_abs_top_builddir=$ac_pwd
15813ac_abs_builddir=$ac_pwd$ac_dir_suffix
15814# for backward compatibility:
15815ac_top_builddir=$ac_top_build_prefix
15816
15817case $srcdir in
15818  .)  # We are building in place.
15819    ac_srcdir=.
15820    ac_top_srcdir=$ac_top_builddir_sub
15821    ac_abs_top_srcdir=$ac_pwd ;;
15822  [\\/]* | ?:[\\/]* )  # Absolute name.
15823    ac_srcdir=$srcdir$ac_dir_suffix;
15824    ac_top_srcdir=$srcdir
15825    ac_abs_top_srcdir=$srcdir ;;
15826  *) # Relative name.
15827    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15828    ac_top_srcdir=$ac_top_build_prefix$srcdir
15829    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15830esac
15831ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15832
15833
15834  case $ac_mode in
15835  :F)
15836  #
15837  # CONFIG_FILE
15838  #
15839
15840  case $INSTALL in
15841  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15842  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15843  esac
15844  ac_MKDIR_P=$MKDIR_P
15845  case $MKDIR_P in
15846  [\\/$]* | ?:[\\/]* ) ;;
15847  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15848  esac
15849_ACEOF
15850
15851cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15852# If the template does not know about datarootdir, expand it.
15853# FIXME: This hack should be removed a few years after 2.60.
15854ac_datarootdir_hack=; ac_datarootdir_seen=
15855ac_sed_dataroot='
15856/datarootdir/ {
15857  p
15858  q
15859}
15860/@datadir@/p
15861/@docdir@/p
15862/@infodir@/p
15863/@localedir@/p
15864/@mandir@/p'
15865case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15866*datarootdir*) ac_datarootdir_seen=yes;;
15867*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15868  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15869$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15870_ACEOF
15871cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15872  ac_datarootdir_hack='
15873  s&@datadir@&$datadir&g
15874  s&@docdir@&$docdir&g
15875  s&@infodir@&$infodir&g
15876  s&@localedir@&$localedir&g
15877  s&@mandir@&$mandir&g
15878  s&\\\${datarootdir}&$datarootdir&g' ;;
15879esac
15880_ACEOF
15881
15882# Neutralize VPATH when `$srcdir' = `.'.
15883# Shell code in configure.ac might set extrasub.
15884# FIXME: do we really want to maintain this feature?
15885cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15886ac_sed_extra="$ac_vpsub
15887$extrasub
15888_ACEOF
15889cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15890:t
15891/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15892s|@configure_input@|$ac_sed_conf_input|;t t
15893s&@top_builddir@&$ac_top_builddir_sub&;t t
15894s&@top_build_prefix@&$ac_top_build_prefix&;t t
15895s&@srcdir@&$ac_srcdir&;t t
15896s&@abs_srcdir@&$ac_abs_srcdir&;t t
15897s&@top_srcdir@&$ac_top_srcdir&;t t
15898s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15899s&@builddir@&$ac_builddir&;t t
15900s&@abs_builddir@&$ac_abs_builddir&;t t
15901s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15902s&@INSTALL@&$ac_INSTALL&;t t
15903s&@MKDIR_P@&$ac_MKDIR_P&;t t
15904$ac_datarootdir_hack
15905"
15906eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15907  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15908
15909test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15910  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15911  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15912      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15913  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15914which seems to be undefined.  Please make sure it is defined" >&5
15915$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15916which seems to be undefined.  Please make sure it is defined" >&2;}
15917
15918  rm -f "$ac_tmp/stdin"
15919  case $ac_file in
15920  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15921  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15922  esac \
15923  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15924 ;;
15925  :H)
15926  #
15927  # CONFIG_HEADER
15928  #
15929  if test x"$ac_file" != x-; then
15930    {
15931      $as_echo "/* $configure_input  */" \
15932      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15933    } >"$ac_tmp/config.h" \
15934      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15935    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15936      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15937$as_echo "$as_me: $ac_file is unchanged" >&6;}
15938    else
15939      rm -f "$ac_file"
15940      mv "$ac_tmp/config.h" "$ac_file" \
15941	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15942    fi
15943  else
15944    $as_echo "/* $configure_input  */" \
15945      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15946      || as_fn_error $? "could not create -" "$LINENO" 5
15947  fi
15948# Compute "$ac_file"'s index in $config_headers.
15949_am_arg="$ac_file"
15950_am_stamp_count=1
15951for _am_header in $config_headers :; do
15952  case $_am_header in
15953    $_am_arg | $_am_arg:* )
15954      break ;;
15955    * )
15956      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15957  esac
15958done
15959echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15960$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15961	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15962	 X"$_am_arg" : 'X\(//\)$' \| \
15963	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15964$as_echo X"$_am_arg" |
15965    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15966	    s//\1/
15967	    q
15968	  }
15969	  /^X\(\/\/\)[^/].*/{
15970	    s//\1/
15971	    q
15972	  }
15973	  /^X\(\/\/\)$/{
15974	    s//\1/
15975	    q
15976	  }
15977	  /^X\(\/\).*/{
15978	    s//\1/
15979	    q
15980	  }
15981	  s/.*/./; q'`/stamp-h$_am_stamp_count
15982 ;;
15983
15984  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15985$as_echo "$as_me: executing $ac_file commands" >&6;}
15986 ;;
15987  esac
15988
15989
15990  case $ac_file$ac_mode in
15991    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15992  # Older Autoconf quotes --file arguments for eval, but not when files
15993  # are listed without --file.  Let's play safe and only enable the eval
15994  # if we detect the quoting.
15995  case $CONFIG_FILES in
15996  *\'*) eval set x "$CONFIG_FILES" ;;
15997  *)   set x $CONFIG_FILES ;;
15998  esac
15999  shift
16000  for mf
16001  do
16002    # Strip MF so we end up with the name of the file.
16003    mf=`echo "$mf" | sed -e 's/:.*$//'`
16004    # Check whether this is an Automake generated Makefile or not.
16005    # We used to match only the files named 'Makefile.in', but
16006    # some people rename them; so instead we look at the file content.
16007    # Grep'ing the first line is not enough: some people post-process
16008    # each Makefile.in and add a new line on top of each file to say so.
16009    # Grep'ing the whole file is not good either: AIX grep has a line
16010    # limit of 2048, but all sed's we know have understand at least 4000.
16011    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16012      dirpart=`$as_dirname -- "$mf" ||
16013$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16014	 X"$mf" : 'X\(//\)[^/]' \| \
16015	 X"$mf" : 'X\(//\)$' \| \
16016	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16017$as_echo X"$mf" |
16018    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16019	    s//\1/
16020	    q
16021	  }
16022	  /^X\(\/\/\)[^/].*/{
16023	    s//\1/
16024	    q
16025	  }
16026	  /^X\(\/\/\)$/{
16027	    s//\1/
16028	    q
16029	  }
16030	  /^X\(\/\).*/{
16031	    s//\1/
16032	    q
16033	  }
16034	  s/.*/./; q'`
16035    else
16036      continue
16037    fi
16038    # Extract the definition of DEPDIR, am__include, and am__quote
16039    # from the Makefile without running 'make'.
16040    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16041    test -z "$DEPDIR" && continue
16042    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16043    test -z "$am__include" && continue
16044    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16045    # Find all dependency output files, they are included files with
16046    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16047    # simplest approach to changing $(DEPDIR) to its actual value in the
16048    # expansion.
16049    for file in `sed -n "
16050      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16051	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16052      # Make sure the directory exists.
16053      test -f "$dirpart/$file" && continue
16054      fdir=`$as_dirname -- "$file" ||
16055$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16056	 X"$file" : 'X\(//\)[^/]' \| \
16057	 X"$file" : 'X\(//\)$' \| \
16058	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16059$as_echo X"$file" |
16060    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16061	    s//\1/
16062	    q
16063	  }
16064	  /^X\(\/\/\)[^/].*/{
16065	    s//\1/
16066	    q
16067	  }
16068	  /^X\(\/\/\)$/{
16069	    s//\1/
16070	    q
16071	  }
16072	  /^X\(\/\).*/{
16073	    s//\1/
16074	    q
16075	  }
16076	  s/.*/./; q'`
16077      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16078      # echo "creating $dirpart/$file"
16079      echo '# dummy' > "$dirpart/$file"
16080    done
16081  done
16082}
16083 ;;
16084    "libtool":C)
16085
16086    # See if we are running on zsh, and set the options that allow our
16087    # commands through without removal of \ escapes.
16088    if test -n "${ZSH_VERSION+set}"; then
16089      setopt NO_GLOB_SUBST
16090    fi
16091
16092    cfgfile=${ofile}T
16093    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16094    $RM "$cfgfile"
16095
16096    cat <<_LT_EOF >> "$cfgfile"
16097#! $SHELL
16098# Generated automatically by $as_me ($PACKAGE) $VERSION
16099# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16100
16101# Provide generalized library-building support services.
16102# Written by Gordon Matzigkeit, 1996
16103
16104# Copyright (C) 2014 Free Software Foundation, Inc.
16105# This is free software; see the source for copying conditions.  There is NO
16106# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16107
16108# GNU Libtool is free software; you can redistribute it and/or modify
16109# it under the terms of the GNU General Public License as published by
16110# the Free Software Foundation; either version 2 of of the License, or
16111# (at your option) any later version.
16112#
16113# As a special exception to the GNU General Public License, if you
16114# distribute this file as part of a program or library that is built
16115# using GNU Libtool, you may include this file under the  same
16116# distribution terms that you use for the rest of that program.
16117#
16118# GNU Libtool is distributed in the hope that it will be useful, but
16119# WITHOUT ANY WARRANTY; without even the implied warranty of
16120# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16121# GNU General Public License for more details.
16122#
16123# You should have received a copy of the GNU General Public License
16124# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16125
16126
16127# The names of the tagged configurations supported by this script.
16128available_tags=''
16129
16130# Configured defaults for sys_lib_dlsearch_path munging.
16131: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16132
16133# ### BEGIN LIBTOOL CONFIG
16134
16135# Assembler program.
16136AS=$lt_AS
16137
16138# DLL creation program.
16139DLLTOOL=$lt_DLLTOOL
16140
16141# Object dumper program.
16142OBJDUMP=$lt_OBJDUMP
16143
16144# Which release of libtool.m4 was used?
16145macro_version=$macro_version
16146macro_revision=$macro_revision
16147
16148# Whether or not to build shared libraries.
16149build_libtool_libs=$enable_shared
16150
16151# Whether or not to build static libraries.
16152build_old_libs=$enable_static
16153
16154# What type of objects to build.
16155pic_mode=$pic_mode
16156
16157# Whether or not to optimize for fast installation.
16158fast_install=$enable_fast_install
16159
16160# Shared archive member basename,for filename based shared library versioning on AIX.
16161shared_archive_member_spec=$shared_archive_member_spec
16162
16163# Shell to use when invoking shell scripts.
16164SHELL=$lt_SHELL
16165
16166# An echo program that protects backslashes.
16167ECHO=$lt_ECHO
16168
16169# The PATH separator for the build system.
16170PATH_SEPARATOR=$lt_PATH_SEPARATOR
16171
16172# The host system.
16173host_alias=$host_alias
16174host=$host
16175host_os=$host_os
16176
16177# The build system.
16178build_alias=$build_alias
16179build=$build
16180build_os=$build_os
16181
16182# A sed program that does not truncate output.
16183SED=$lt_SED
16184
16185# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16186Xsed="\$SED -e 1s/^X//"
16187
16188# A grep program that handles long lines.
16189GREP=$lt_GREP
16190
16191# An ERE matcher.
16192EGREP=$lt_EGREP
16193
16194# A literal string matcher.
16195FGREP=$lt_FGREP
16196
16197# A BSD- or MS-compatible name lister.
16198NM=$lt_NM
16199
16200# Whether we need soft or hard links.
16201LN_S=$lt_LN_S
16202
16203# What is the maximum length of a command?
16204max_cmd_len=$max_cmd_len
16205
16206# Object file suffix (normally "o").
16207objext=$ac_objext
16208
16209# Executable file suffix (normally "").
16210exeext=$exeext
16211
16212# whether the shell understands "unset".
16213lt_unset=$lt_unset
16214
16215# turn spaces into newlines.
16216SP2NL=$lt_lt_SP2NL
16217
16218# turn newlines into spaces.
16219NL2SP=$lt_lt_NL2SP
16220
16221# convert \$build file names to \$host format.
16222to_host_file_cmd=$lt_cv_to_host_file_cmd
16223
16224# convert \$build files to toolchain format.
16225to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16226
16227# Method to check whether dependent libraries are shared objects.
16228deplibs_check_method=$lt_deplibs_check_method
16229
16230# Command to use when deplibs_check_method = "file_magic".
16231file_magic_cmd=$lt_file_magic_cmd
16232
16233# How to find potential files when deplibs_check_method = "file_magic".
16234file_magic_glob=$lt_file_magic_glob
16235
16236# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16237want_nocaseglob=$lt_want_nocaseglob
16238
16239# Command to associate shared and link libraries.
16240sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16241
16242# The archiver.
16243AR=$lt_AR
16244
16245# Flags to create an archive.
16246AR_FLAGS=$lt_AR_FLAGS
16247
16248# How to feed a file listing to the archiver.
16249archiver_list_spec=$lt_archiver_list_spec
16250
16251# A symbol stripping program.
16252STRIP=$lt_STRIP
16253
16254# Commands used to install an old-style archive.
16255RANLIB=$lt_RANLIB
16256old_postinstall_cmds=$lt_old_postinstall_cmds
16257old_postuninstall_cmds=$lt_old_postuninstall_cmds
16258
16259# Whether to use a lock for old archive extraction.
16260lock_old_archive_extraction=$lock_old_archive_extraction
16261
16262# A C compiler.
16263LTCC=$lt_CC
16264
16265# LTCC compiler flags.
16266LTCFLAGS=$lt_CFLAGS
16267
16268# Take the output of nm and produce a listing of raw symbols and C names.
16269global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16270
16271# Transform the output of nm in a proper C declaration.
16272global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16273
16274# Transform the output of nm into a list of symbols to manually relocate.
16275global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16276
16277# Transform the output of nm in a C name address pair.
16278global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16279
16280# Transform the output of nm in a C name address pair when lib prefix is needed.
16281global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16282
16283# The name lister interface.
16284nm_interface=$lt_lt_cv_nm_interface
16285
16286# Specify filename containing input files for \$NM.
16287nm_file_list_spec=$lt_nm_file_list_spec
16288
16289# The root where to search for dependent libraries,and where our libraries should be installed.
16290lt_sysroot=$lt_sysroot
16291
16292# Command to truncate a binary pipe.
16293lt_truncate_bin=$lt_lt_cv_truncate_bin
16294
16295# The name of the directory that contains temporary libtool files.
16296objdir=$objdir
16297
16298# Used to examine libraries when file_magic_cmd begins with "file".
16299MAGIC_CMD=$MAGIC_CMD
16300
16301# Must we lock files when doing compilation?
16302need_locks=$lt_need_locks
16303
16304# Manifest tool.
16305MANIFEST_TOOL=$lt_MANIFEST_TOOL
16306
16307# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16308DSYMUTIL=$lt_DSYMUTIL
16309
16310# Tool to change global to local symbols on Mac OS X.
16311NMEDIT=$lt_NMEDIT
16312
16313# Tool to manipulate fat objects and archives on Mac OS X.
16314LIPO=$lt_LIPO
16315
16316# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16317OTOOL=$lt_OTOOL
16318
16319# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16320OTOOL64=$lt_OTOOL64
16321
16322# Old archive suffix (normally "a").
16323libext=$libext
16324
16325# Shared library suffix (normally ".so").
16326shrext_cmds=$lt_shrext_cmds
16327
16328# The commands to extract the exported symbol list from a shared archive.
16329extract_expsyms_cmds=$lt_extract_expsyms_cmds
16330
16331# Variables whose values should be saved in libtool wrapper scripts and
16332# restored at link time.
16333variables_saved_for_relink=$lt_variables_saved_for_relink
16334
16335# Do we need the "lib" prefix for modules?
16336need_lib_prefix=$need_lib_prefix
16337
16338# Do we need a version for libraries?
16339need_version=$need_version
16340
16341# Library versioning type.
16342version_type=$version_type
16343
16344# Shared library runtime path variable.
16345runpath_var=$runpath_var
16346
16347# Shared library path variable.
16348shlibpath_var=$shlibpath_var
16349
16350# Is shlibpath searched before the hard-coded library search path?
16351shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16352
16353# Format of library name prefix.
16354libname_spec=$lt_libname_spec
16355
16356# List of archive names.  First name is the real one, the rest are links.
16357# The last name is the one that the linker finds with -lNAME
16358library_names_spec=$lt_library_names_spec
16359
16360# The coded name of the library, if different from the real name.
16361soname_spec=$lt_soname_spec
16362
16363# Permission mode override for installation of shared libraries.
16364install_override_mode=$lt_install_override_mode
16365
16366# Command to use after installation of a shared archive.
16367postinstall_cmds=$lt_postinstall_cmds
16368
16369# Command to use after uninstallation of a shared archive.
16370postuninstall_cmds=$lt_postuninstall_cmds
16371
16372# Commands used to finish a libtool library installation in a directory.
16373finish_cmds=$lt_finish_cmds
16374
16375# As "finish_cmds", except a single script fragment to be evaled but
16376# not shown.
16377finish_eval=$lt_finish_eval
16378
16379# Whether we should hardcode library paths into libraries.
16380hardcode_into_libs=$hardcode_into_libs
16381
16382# Compile-time system search path for libraries.
16383sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16384
16385# Detected run-time system search path for libraries.
16386sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16387
16388# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16389configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16390
16391# Whether dlopen is supported.
16392dlopen_support=$enable_dlopen
16393
16394# Whether dlopen of programs is supported.
16395dlopen_self=$enable_dlopen_self
16396
16397# Whether dlopen of statically linked programs is supported.
16398dlopen_self_static=$enable_dlopen_self_static
16399
16400# Commands to strip libraries.
16401old_striplib=$lt_old_striplib
16402striplib=$lt_striplib
16403
16404
16405# The linker used to build libraries.
16406LD=$lt_LD
16407
16408# How to create reloadable object files.
16409reload_flag=$lt_reload_flag
16410reload_cmds=$lt_reload_cmds
16411
16412# Commands used to build an old-style archive.
16413old_archive_cmds=$lt_old_archive_cmds
16414
16415# A language specific compiler.
16416CC=$lt_compiler
16417
16418# Is the compiler the GNU compiler?
16419with_gcc=$GCC
16420
16421# Compiler flag to turn off builtin functions.
16422no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16423
16424# Additional compiler flags for building library objects.
16425pic_flag=$lt_lt_prog_compiler_pic
16426
16427# How to pass a linker flag through the compiler.
16428wl=$lt_lt_prog_compiler_wl
16429
16430# Compiler flag to prevent dynamic linking.
16431link_static_flag=$lt_lt_prog_compiler_static
16432
16433# Does compiler simultaneously support -c and -o options?
16434compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16435
16436# Whether or not to add -lc for building shared libraries.
16437build_libtool_need_lc=$archive_cmds_need_lc
16438
16439# Whether or not to disallow shared libs when runtime libs are static.
16440allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16441
16442# Compiler flag to allow reflexive dlopens.
16443export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16444
16445# Compiler flag to generate shared objects directly from archives.
16446whole_archive_flag_spec=$lt_whole_archive_flag_spec
16447
16448# Whether the compiler copes with passing no objects directly.
16449compiler_needs_object=$lt_compiler_needs_object
16450
16451# Create an old-style archive from a shared archive.
16452old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16453
16454# Create a temporary old-style archive to link instead of a shared archive.
16455old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16456
16457# Commands used to build a shared archive.
16458archive_cmds=$lt_archive_cmds
16459archive_expsym_cmds=$lt_archive_expsym_cmds
16460
16461# Commands used to build a loadable module if different from building
16462# a shared archive.
16463module_cmds=$lt_module_cmds
16464module_expsym_cmds=$lt_module_expsym_cmds
16465
16466# Whether we are building with GNU ld or not.
16467with_gnu_ld=$lt_with_gnu_ld
16468
16469# Flag that allows shared libraries with undefined symbols to be built.
16470allow_undefined_flag=$lt_allow_undefined_flag
16471
16472# Flag that enforces no undefined symbols.
16473no_undefined_flag=$lt_no_undefined_flag
16474
16475# Flag to hardcode \$libdir into a binary during linking.
16476# This must work even if \$libdir does not exist
16477hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16478
16479# Whether we need a single "-rpath" flag with a separated argument.
16480hardcode_libdir_separator=$lt_hardcode_libdir_separator
16481
16482# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16483# DIR into the resulting binary.
16484hardcode_direct=$hardcode_direct
16485
16486# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16487# DIR into the resulting binary and the resulting library dependency is
16488# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16489# library is relocated.
16490hardcode_direct_absolute=$hardcode_direct_absolute
16491
16492# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16493# into the resulting binary.
16494hardcode_minus_L=$hardcode_minus_L
16495
16496# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16497# into the resulting binary.
16498hardcode_shlibpath_var=$hardcode_shlibpath_var
16499
16500# Set to "yes" if building a shared library automatically hardcodes DIR
16501# into the library and all subsequent libraries and executables linked
16502# against it.
16503hardcode_automatic=$hardcode_automatic
16504
16505# Set to yes if linker adds runtime paths of dependent libraries
16506# to runtime path list.
16507inherit_rpath=$inherit_rpath
16508
16509# Whether libtool must link a program against all its dependency libraries.
16510link_all_deplibs=$link_all_deplibs
16511
16512# Set to "yes" if exported symbols are required.
16513always_export_symbols=$always_export_symbols
16514
16515# The commands to list exported symbols.
16516export_symbols_cmds=$lt_export_symbols_cmds
16517
16518# Symbols that should not be listed in the preloaded symbols.
16519exclude_expsyms=$lt_exclude_expsyms
16520
16521# Symbols that must always be exported.
16522include_expsyms=$lt_include_expsyms
16523
16524# Commands necessary for linking programs (against libraries) with templates.
16525prelink_cmds=$lt_prelink_cmds
16526
16527# Commands necessary for finishing linking programs.
16528postlink_cmds=$lt_postlink_cmds
16529
16530# Specify filename containing input files.
16531file_list_spec=$lt_file_list_spec
16532
16533# How to hardcode a shared library path into an executable.
16534hardcode_action=$hardcode_action
16535
16536# ### END LIBTOOL CONFIG
16537
16538_LT_EOF
16539
16540    cat <<'_LT_EOF' >> "$cfgfile"
16541
16542# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16543
16544# func_munge_path_list VARIABLE PATH
16545# -----------------------------------
16546# VARIABLE is name of variable containing _space_ separated list of
16547# directories to be munged by the contents of PATH, which is string
16548# having a format:
16549# "DIR[:DIR]:"
16550#       string "DIR[ DIR]" will be prepended to VARIABLE
16551# ":DIR[:DIR]"
16552#       string "DIR[ DIR]" will be appended to VARIABLE
16553# "DIRP[:DIRP]::[DIRA:]DIRA"
16554#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16555#       "DIRA[ DIRA]" will be appended to VARIABLE
16556# "DIR[:DIR]"
16557#       VARIABLE will be replaced by "DIR[ DIR]"
16558func_munge_path_list ()
16559{
16560    case x$2 in
16561    x)
16562        ;;
16563    *:)
16564        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16565        ;;
16566    x:*)
16567        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16568        ;;
16569    *::*)
16570        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16571        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16572        ;;
16573    *)
16574        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16575        ;;
16576    esac
16577}
16578
16579
16580# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16581func_cc_basename ()
16582{
16583    for cc_temp in $*""; do
16584      case $cc_temp in
16585        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16586        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16587        \-*) ;;
16588        *) break;;
16589      esac
16590    done
16591    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16592}
16593
16594
16595# ### END FUNCTIONS SHARED WITH CONFIGURE
16596
16597_LT_EOF
16598
16599  case $host_os in
16600  aix3*)
16601    cat <<\_LT_EOF >> "$cfgfile"
16602# AIX sometimes has problems with the GCC collect2 program.  For some
16603# reason, if we set the COLLECT_NAMES environment variable, the problems
16604# vanish in a puff of smoke.
16605if test set != "${COLLECT_NAMES+set}"; then
16606  COLLECT_NAMES=
16607  export COLLECT_NAMES
16608fi
16609_LT_EOF
16610    ;;
16611  esac
16612
16613
16614ltmain=$ac_aux_dir/ltmain.sh
16615
16616
16617  # We use sed instead of cat because bash on DJGPP gets confused if
16618  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16619  # text mode, it properly converts lines to CR/LF.  This bash problem
16620  # is reportedly fixed, but why not run on old versions too?
16621  sed '$q' "$ltmain" >> "$cfgfile" \
16622     || (rm -f "$cfgfile"; exit 1)
16623
16624   mv -f "$cfgfile" "$ofile" ||
16625    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16626  chmod +x "$ofile"
16627
16628 ;;
16629
16630  esac
16631done # for ac_tag
16632
16633
16634as_fn_exit 0
16635_ACEOF
16636ac_clean_files=$ac_clean_files_save
16637
16638test $ac_write_fail = 0 ||
16639  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16640
16641
16642# configure is writing to config.log, and then calls config.status.
16643# config.status does its own redirection, appending to config.log.
16644# Unfortunately, on DOS this fails, as config.log is still kept open
16645# by configure, so config.status won't be able to write to it; its
16646# output is simply discarded.  So we exec the FD to /dev/null,
16647# effectively closing config.log, so it can be properly (re)opened and
16648# appended to by config.status.  When coming back to configure, we
16649# need to make the FD available again.
16650if test "$no_create" != yes; then
16651  ac_cs_success=:
16652  ac_config_status_args=
16653  test "$silent" = yes &&
16654    ac_config_status_args="$ac_config_status_args --quiet"
16655  exec 5>/dev/null
16656  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16657  exec 5>>config.log
16658  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16659  # would make configure fail if this is the last instruction.
16660  $ac_cs_success || as_fn_exit 1
16661fi
16662if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16663  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16664$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16665fi
16666
16667
16668if test x$platform_win32 = xyes; then
16669   # Get rid of 'cyg' prefixes in library names
16670   sed -e "s/\/cyg\//\/\//" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
16671fi
16672
16673echo "---"
16674echo "Configuration summary"
16675echo ""
16676echo "   * Installation prefix = $prefix"
16677echo "   * $CS compiler: $CSC $CSFLAGS"
16678echo ""
16679echo "   Optional assemblies included in the build:"
16680echo ""
16681echo "      * glade-sharp.dll: $enable_glade"
16682echo "      * gtk-dotnet.dll: $enable_dotnet "
16683if test "x$enable_mono_cairo" = "xyes"; then
16684  echo "      * Mono.Cairo.dll: building local assembly"
16685else
16686  echo "      * Mono.Cairo.dll: using system assembly"
16687fi
16688echo ""
16689echo "      NOTE: if any of the above say 'no' you may install the"
16690echo "            corresponding development packages for them, rerun"
16691echo "            autogen.sh to include them in the build."
16692echo ""
16693echo "   * Documentation build enabled: $enable_monodoc "
16694if test "x$enable_monodoc" = "xyes" -a "x$doc_sources_dir" != "x$prefix/lib/monodoc/sources"; then
16695  echo "      WARNING: The install prefix is different than the monodoc prefix."
16696  echo "               Monodoc will not be able to load the documentation."
16697fi
16698echo "---"
16699