1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libgdiplus 6.0.4.
4#
5# Report bugs to <https://github.com/mono/mono/issues/new>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: https://github.com/mono/mono/issues/new about your
279$0: system, including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='libgdiplus'
592PACKAGE_TARNAME='libgdiplus'
593PACKAGE_VERSION='6.0.4'
594PACKAGE_STRING='libgdiplus 6.0.4'
595PACKAGE_BUGREPORT='https://github.com/mono/mono/issues/new'
596PACKAGE_URL=''
597
598ac_unique_file="README.md"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639GDIPLUS_PKG_REQ
640GDIPLUS_PKG_CFLAGS
641GDIPLUS_PKG_LIBS
642GDIPLUS_CFLAGS
643GDIPLUS_LIBS
644HAVE_LIBEXIF_FALSE
645HAVE_LIBEXIF_TRUE
646LIBEXIF_LIBS
647LIBEXIF_CFLAGS
648HAVE_X11_FALSE
649HAVE_X11_TRUE
650FREETYPE_CONFIG
651FREETYPE2_LIBS
652FREETYPE2_CFLAGS
653FONTCONFIG_CONFIG
654FONTCONFIG_LIBS
655FONTCONFIG_CFLAGS
656USE_PANGO_RENDERING_FALSE
657USE_PANGO_RENDERING_TRUE
658PANGO_LIBS
659PANGO_CFLAGS
660CAIRO_LIBS
661CAIRO_CFLAGS
662BASE_DEPENDENCIES_LIBS
663BASE_DEPENDENCIES_CFLAGS
664PKG_CONFIG_LIBDIR
665PKG_CONFIG_PATH
666PKG_CONFIG
667CPP
668LT_SYS_LIBRARY_PATH
669OTOOL64
670OTOOL
671LIPO
672NMEDIT
673DSYMUTIL
674MANIFEST_TOOL
675RANLIB
676ac_ct_AR
677AR
678DLLTOOL
679OBJDUMP
680LN_S
681NM
682ac_ct_DUMPBIN
683DUMPBIN
684LD
685FGREP
686EGREP
687GREP
688SED
689am__fastdepCC_FALSE
690am__fastdepCC_TRUE
691CCDEPMODE
692am__nodep
693AMDEPBACKSLASH
694AMDEP_FALSE
695AMDEP_TRUE
696am__quote
697am__include
698DEPDIR
699OBJEXT
700EXEEXT
701ac_ct_CC
702CPPFLAGS
703LDFLAGS
704CFLAGS
705CC
706LIBTOOL
707MAINT
708MAINTAINER_MODE_FALSE
709MAINTAINER_MODE_TRUE
710AM_BACKSLASH
711AM_DEFAULT_VERBOSITY
712AM_DEFAULT_V
713AM_V
714am__untar
715am__tar
716AMTAR
717am__leading_dot
718SET_MAKE
719AWK
720mkdir_p
721MKDIR_P
722INSTALL_STRIP_PROGRAM
723STRIP
724install_sh
725MAKEINFO
726AUTOHEADER
727AUTOMAKE
728AUTOCONF
729ACLOCAL
730VERSION
731PACKAGE
732CYGPATH_W
733am__isrc
734INSTALL_DATA
735INSTALL_SCRIPT
736INSTALL_PROGRAM
737target_os
738target_vendor
739target_cpu
740target
741host_os
742host_vendor
743host_cpu
744host
745build_os
746build_vendor
747build_cpu
748build
749target_alias
750host_alias
751build_alias
752LIBS
753ECHO_T
754ECHO_N
755ECHO_C
756DEFS
757mandir
758localedir
759libdir
760psdir
761pdfdir
762dvidir
763htmldir
764infodir
765docdir
766oldincludedir
767includedir
768runstatedir
769localstatedir
770sharedstatedir
771sysconfdir
772datadir
773datarootdir
774libexecdir
775sbindir
776bindir
777program_transform_name
778prefix
779exec_prefix
780PACKAGE_URL
781PACKAGE_BUGREPORT
782PACKAGE_STRING
783PACKAGE_VERSION
784PACKAGE_TARNAME
785PACKAGE_NAME
786PATH_SEPARATOR
787SHELL'
788ac_subst_files=''
789ac_user_opts='
790enable_option_checking
791enable_silent_rules
792enable_maintainer_mode
793enable_shared
794enable_static
795with_pic
796enable_fast_install
797with_aix_soname
798enable_dependency_tracking
799with_gnu_ld
800with_sysroot
801enable_libtool_lock
802with_pango
803enable_warnaserror
804enable_asan
805enable_coverage
806with_libexif
807with_libjpeg
808with_libtiff
809with_libgif
810with_x11
811'
812      ac_precious_vars='build_alias
813host_alias
814target_alias
815CC
816CFLAGS
817LDFLAGS
818LIBS
819CPPFLAGS
820LT_SYS_LIBRARY_PATH
821CPP
822PKG_CONFIG
823PKG_CONFIG_PATH
824PKG_CONFIG_LIBDIR
825BASE_DEPENDENCIES_CFLAGS
826BASE_DEPENDENCIES_LIBS
827CAIRO_CFLAGS
828CAIRO_LIBS
829PANGO_CFLAGS
830PANGO_LIBS
831FONTCONFIG_CFLAGS
832FONTCONFIG_LIBS
833FREETYPE2_CFLAGS
834FREETYPE2_LIBS
835LIBEXIF_CFLAGS
836LIBEXIF_LIBS'
837
838
839# Initialize some variables set by options.
840ac_init_help=
841ac_init_version=false
842ac_unrecognized_opts=
843ac_unrecognized_sep=
844# The variables have the same names as the options, with
845# dashes changed to underlines.
846cache_file=/dev/null
847exec_prefix=NONE
848no_create=
849no_recursion=
850prefix=NONE
851program_prefix=NONE
852program_suffix=NONE
853program_transform_name=s,x,x,
854silent=
855site=
856srcdir=
857verbose=
858x_includes=NONE
859x_libraries=NONE
860
861# Installation directory options.
862# These are left unexpanded so users can "make install exec_prefix=/foo"
863# and all the variables that are supposed to be based on exec_prefix
864# by default will actually change.
865# Use braces instead of parens because sh, perl, etc. also accept them.
866# (The list follows the same order as the GNU Coding Standards.)
867bindir='${exec_prefix}/bin'
868sbindir='${exec_prefix}/sbin'
869libexecdir='${exec_prefix}/libexec'
870datarootdir='${prefix}/share'
871datadir='${datarootdir}'
872sysconfdir='${prefix}/etc'
873sharedstatedir='${prefix}/com'
874localstatedir='${prefix}/var'
875runstatedir='${localstatedir}/run'
876includedir='${prefix}/include'
877oldincludedir='/usr/include'
878docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
879infodir='${datarootdir}/info'
880htmldir='${docdir}'
881dvidir='${docdir}'
882pdfdir='${docdir}'
883psdir='${docdir}'
884libdir='${exec_prefix}/lib'
885localedir='${datarootdir}/locale'
886mandir='${datarootdir}/man'
887
888ac_prev=
889ac_dashdash=
890for ac_option
891do
892  # If the previous option needs an argument, assign it.
893  if test -n "$ac_prev"; then
894    eval $ac_prev=\$ac_option
895    ac_prev=
896    continue
897  fi
898
899  case $ac_option in
900  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901  *=)   ac_optarg= ;;
902  *)    ac_optarg=yes ;;
903  esac
904
905  # Accept the important Cygnus configure options, so we can diagnose typos.
906
907  case $ac_dashdash$ac_option in
908  --)
909    ac_dashdash=yes ;;
910
911  -bindir | --bindir | --bindi | --bind | --bin | --bi)
912    ac_prev=bindir ;;
913  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
914    bindir=$ac_optarg ;;
915
916  -build | --build | --buil | --bui | --bu)
917    ac_prev=build_alias ;;
918  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
919    build_alias=$ac_optarg ;;
920
921  -cache-file | --cache-file | --cache-fil | --cache-fi \
922  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
923    ac_prev=cache_file ;;
924  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
925  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
926    cache_file=$ac_optarg ;;
927
928  --config-cache | -C)
929    cache_file=config.cache ;;
930
931  -datadir | --datadir | --datadi | --datad)
932    ac_prev=datadir ;;
933  -datadir=* | --datadir=* | --datadi=* | --datad=*)
934    datadir=$ac_optarg ;;
935
936  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
937  | --dataroo | --dataro | --datar)
938    ac_prev=datarootdir ;;
939  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
940  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
941    datarootdir=$ac_optarg ;;
942
943  -disable-* | --disable-*)
944    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945    # Reject names that are not valid shell variable names.
946    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
947      as_fn_error $? "invalid feature name: $ac_useropt"
948    ac_useropt_orig=$ac_useropt
949    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
950    case $ac_user_opts in
951      *"
952"enable_$ac_useropt"
953"*) ;;
954      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
955	 ac_unrecognized_sep=', ';;
956    esac
957    eval enable_$ac_useropt=no ;;
958
959  -docdir | --docdir | --docdi | --doc | --do)
960    ac_prev=docdir ;;
961  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
962    docdir=$ac_optarg ;;
963
964  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
965    ac_prev=dvidir ;;
966  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
967    dvidir=$ac_optarg ;;
968
969  -enable-* | --enable-*)
970    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
971    # Reject names that are not valid shell variable names.
972    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
973      as_fn_error $? "invalid feature name: $ac_useropt"
974    ac_useropt_orig=$ac_useropt
975    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976    case $ac_user_opts in
977      *"
978"enable_$ac_useropt"
979"*) ;;
980      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
981	 ac_unrecognized_sep=', ';;
982    esac
983    eval enable_$ac_useropt=\$ac_optarg ;;
984
985  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
986  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
987  | --exec | --exe | --ex)
988    ac_prev=exec_prefix ;;
989  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
990  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
991  | --exec=* | --exe=* | --ex=*)
992    exec_prefix=$ac_optarg ;;
993
994  -gas | --gas | --ga | --g)
995    # Obsolete; use --with-gas.
996    with_gas=yes ;;
997
998  -help | --help | --hel | --he | -h)
999    ac_init_help=long ;;
1000  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1001    ac_init_help=recursive ;;
1002  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1003    ac_init_help=short ;;
1004
1005  -host | --host | --hos | --ho)
1006    ac_prev=host_alias ;;
1007  -host=* | --host=* | --hos=* | --ho=*)
1008    host_alias=$ac_optarg ;;
1009
1010  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1011    ac_prev=htmldir ;;
1012  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1013  | --ht=*)
1014    htmldir=$ac_optarg ;;
1015
1016  -includedir | --includedir | --includedi | --included | --include \
1017  | --includ | --inclu | --incl | --inc)
1018    ac_prev=includedir ;;
1019  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1020  | --includ=* | --inclu=* | --incl=* | --inc=*)
1021    includedir=$ac_optarg ;;
1022
1023  -infodir | --infodir | --infodi | --infod | --info | --inf)
1024    ac_prev=infodir ;;
1025  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1026    infodir=$ac_optarg ;;
1027
1028  -libdir | --libdir | --libdi | --libd)
1029    ac_prev=libdir ;;
1030  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1031    libdir=$ac_optarg ;;
1032
1033  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1034  | --libexe | --libex | --libe)
1035    ac_prev=libexecdir ;;
1036  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1037  | --libexe=* | --libex=* | --libe=*)
1038    libexecdir=$ac_optarg ;;
1039
1040  -localedir | --localedir | --localedi | --localed | --locale)
1041    ac_prev=localedir ;;
1042  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1043    localedir=$ac_optarg ;;
1044
1045  -localstatedir | --localstatedir | --localstatedi | --localstated \
1046  | --localstate | --localstat | --localsta | --localst | --locals)
1047    ac_prev=localstatedir ;;
1048  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1049  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1050    localstatedir=$ac_optarg ;;
1051
1052  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1053    ac_prev=mandir ;;
1054  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1055    mandir=$ac_optarg ;;
1056
1057  -nfp | --nfp | --nf)
1058    # Obsolete; use --without-fp.
1059    with_fp=no ;;
1060
1061  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1062  | --no-cr | --no-c | -n)
1063    no_create=yes ;;
1064
1065  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1066  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1067    no_recursion=yes ;;
1068
1069  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1070  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1071  | --oldin | --oldi | --old | --ol | --o)
1072    ac_prev=oldincludedir ;;
1073  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1074  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1075  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1076    oldincludedir=$ac_optarg ;;
1077
1078  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1079    ac_prev=prefix ;;
1080  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1081    prefix=$ac_optarg ;;
1082
1083  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1084  | --program-pre | --program-pr | --program-p)
1085    ac_prev=program_prefix ;;
1086  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1087  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1088    program_prefix=$ac_optarg ;;
1089
1090  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1091  | --program-suf | --program-su | --program-s)
1092    ac_prev=program_suffix ;;
1093  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1094  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1095    program_suffix=$ac_optarg ;;
1096
1097  -program-transform-name | --program-transform-name \
1098  | --program-transform-nam | --program-transform-na \
1099  | --program-transform-n | --program-transform- \
1100  | --program-transform | --program-transfor \
1101  | --program-transfo | --program-transf \
1102  | --program-trans | --program-tran \
1103  | --progr-tra | --program-tr | --program-t)
1104    ac_prev=program_transform_name ;;
1105  -program-transform-name=* | --program-transform-name=* \
1106  | --program-transform-nam=* | --program-transform-na=* \
1107  | --program-transform-n=* | --program-transform-=* \
1108  | --program-transform=* | --program-transfor=* \
1109  | --program-transfo=* | --program-transf=* \
1110  | --program-trans=* | --program-tran=* \
1111  | --progr-tra=* | --program-tr=* | --program-t=*)
1112    program_transform_name=$ac_optarg ;;
1113
1114  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1115    ac_prev=pdfdir ;;
1116  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1117    pdfdir=$ac_optarg ;;
1118
1119  -psdir | --psdir | --psdi | --psd | --ps)
1120    ac_prev=psdir ;;
1121  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1122    psdir=$ac_optarg ;;
1123
1124  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1125  | -silent | --silent | --silen | --sile | --sil)
1126    silent=yes ;;
1127
1128  -runstatedir | --runstatedir | --runstatedi | --runstated \
1129  | --runstate | --runstat | --runsta | --runst | --runs \
1130  | --run | --ru | --r)
1131    ac_prev=runstatedir ;;
1132  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1133  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1134  | --run=* | --ru=* | --r=*)
1135    runstatedir=$ac_optarg ;;
1136
1137  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1138    ac_prev=sbindir ;;
1139  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1140  | --sbi=* | --sb=*)
1141    sbindir=$ac_optarg ;;
1142
1143  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1144  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1145  | --sharedst | --shareds | --shared | --share | --shar \
1146  | --sha | --sh)
1147    ac_prev=sharedstatedir ;;
1148  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1149  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1150  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1151  | --sha=* | --sh=*)
1152    sharedstatedir=$ac_optarg ;;
1153
1154  -site | --site | --sit)
1155    ac_prev=site ;;
1156  -site=* | --site=* | --sit=*)
1157    site=$ac_optarg ;;
1158
1159  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1160    ac_prev=srcdir ;;
1161  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1162    srcdir=$ac_optarg ;;
1163
1164  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1165  | --syscon | --sysco | --sysc | --sys | --sy)
1166    ac_prev=sysconfdir ;;
1167  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1168  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1169    sysconfdir=$ac_optarg ;;
1170
1171  -target | --target | --targe | --targ | --tar | --ta | --t)
1172    ac_prev=target_alias ;;
1173  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1174    target_alias=$ac_optarg ;;
1175
1176  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1177    verbose=yes ;;
1178
1179  -version | --version | --versio | --versi | --vers | -V)
1180    ac_init_version=: ;;
1181
1182  -with-* | --with-*)
1183    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1184    # Reject names that are not valid shell variable names.
1185    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186      as_fn_error $? "invalid package name: $ac_useropt"
1187    ac_useropt_orig=$ac_useropt
1188    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189    case $ac_user_opts in
1190      *"
1191"with_$ac_useropt"
1192"*) ;;
1193      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1194	 ac_unrecognized_sep=', ';;
1195    esac
1196    eval with_$ac_useropt=\$ac_optarg ;;
1197
1198  -without-* | --without-*)
1199    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1200    # Reject names that are not valid shell variable names.
1201    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1202      as_fn_error $? "invalid package name: $ac_useropt"
1203    ac_useropt_orig=$ac_useropt
1204    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205    case $ac_user_opts in
1206      *"
1207"with_$ac_useropt"
1208"*) ;;
1209      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1210	 ac_unrecognized_sep=', ';;
1211    esac
1212    eval with_$ac_useropt=no ;;
1213
1214  --x)
1215    # Obsolete; use --with-x.
1216    with_x=yes ;;
1217
1218  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1219  | --x-incl | --x-inc | --x-in | --x-i)
1220    ac_prev=x_includes ;;
1221  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1222  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1223    x_includes=$ac_optarg ;;
1224
1225  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1226  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1227    ac_prev=x_libraries ;;
1228  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1229  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1230    x_libraries=$ac_optarg ;;
1231
1232  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1233Try \`$0 --help' for more information"
1234    ;;
1235
1236  *=*)
1237    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1238    # Reject names that are not valid shell variable names.
1239    case $ac_envvar in #(
1240      '' | [0-9]* | *[!_$as_cr_alnum]* )
1241      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1242    esac
1243    eval $ac_envvar=\$ac_optarg
1244    export $ac_envvar ;;
1245
1246  *)
1247    # FIXME: should be removed in autoconf 3.0.
1248    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1249    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1250      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1251    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1252    ;;
1253
1254  esac
1255done
1256
1257if test -n "$ac_prev"; then
1258  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1259  as_fn_error $? "missing argument to $ac_option"
1260fi
1261
1262if test -n "$ac_unrecognized_opts"; then
1263  case $enable_option_checking in
1264    no) ;;
1265    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1266    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267  esac
1268fi
1269
1270# Check all directory arguments for consistency.
1271for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1272		datadir sysconfdir sharedstatedir localstatedir includedir \
1273		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1274		libdir localedir mandir runstatedir
1275do
1276  eval ac_val=\$$ac_var
1277  # Remove trailing slashes.
1278  case $ac_val in
1279    */ )
1280      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1281      eval $ac_var=\$ac_val;;
1282  esac
1283  # Be sure to have absolute directory names.
1284  case $ac_val in
1285    [\\/$]* | ?:[\\/]* )  continue;;
1286    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1287  esac
1288  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1289done
1290
1291# There might be people who depend on the old broken behavior: `$host'
1292# used to hold the argument of --host etc.
1293# FIXME: To remove some day.
1294build=$build_alias
1295host=$host_alias
1296target=$target_alias
1297
1298# FIXME: To remove some day.
1299if test "x$host_alias" != x; then
1300  if test "x$build_alias" = x; then
1301    cross_compiling=maybe
1302  elif test "x$build_alias" != "x$host_alias"; then
1303    cross_compiling=yes
1304  fi
1305fi
1306
1307ac_tool_prefix=
1308test -n "$host_alias" && ac_tool_prefix=$host_alias-
1309
1310test "$silent" = yes && exec 6>/dev/null
1311
1312
1313ac_pwd=`pwd` && test -n "$ac_pwd" &&
1314ac_ls_di=`ls -di .` &&
1315ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1316  as_fn_error $? "working directory cannot be determined"
1317test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1318  as_fn_error $? "pwd does not report name of working directory"
1319
1320
1321# Find the source files, if location was not specified.
1322if test -z "$srcdir"; then
1323  ac_srcdir_defaulted=yes
1324  # Try the directory containing this script, then the parent directory.
1325  ac_confdir=`$as_dirname -- "$as_myself" ||
1326$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1327	 X"$as_myself" : 'X\(//\)[^/]' \| \
1328	 X"$as_myself" : 'X\(//\)$' \| \
1329	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1330$as_echo X"$as_myself" |
1331    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332	    s//\1/
1333	    q
1334	  }
1335	  /^X\(\/\/\)[^/].*/{
1336	    s//\1/
1337	    q
1338	  }
1339	  /^X\(\/\/\)$/{
1340	    s//\1/
1341	    q
1342	  }
1343	  /^X\(\/\).*/{
1344	    s//\1/
1345	    q
1346	  }
1347	  s/.*/./; q'`
1348  srcdir=$ac_confdir
1349  if test ! -r "$srcdir/$ac_unique_file"; then
1350    srcdir=..
1351  fi
1352else
1353  ac_srcdir_defaulted=no
1354fi
1355if test ! -r "$srcdir/$ac_unique_file"; then
1356  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1357  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1358fi
1359ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1360ac_abs_confdir=`(
1361	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1362	pwd)`
1363# When building in place, set srcdir=.
1364if test "$ac_abs_confdir" = "$ac_pwd"; then
1365  srcdir=.
1366fi
1367# Remove unnecessary trailing slashes from srcdir.
1368# Double slashes in file names in object file debugging info
1369# mess up M-x gdb in Emacs.
1370case $srcdir in
1371*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372esac
1373for ac_var in $ac_precious_vars; do
1374  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1375  eval ac_env_${ac_var}_value=\$${ac_var}
1376  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1377  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1378done
1379
1380#
1381# Report the --help message.
1382#
1383if test "$ac_init_help" = "long"; then
1384  # Omit some internal or obsolete options to make the list less imposing.
1385  # This message is too long to be a string in the A/UX 3.1 sh.
1386  cat <<_ACEOF
1387\`configure' configures libgdiplus 6.0.4 to adapt to many kinds of systems.
1388
1389Usage: $0 [OPTION]... [VAR=VALUE]...
1390
1391To assign environment variables (e.g., CC, CFLAGS...), specify them as
1392VAR=VALUE.  See below for descriptions of some of the useful variables.
1393
1394Defaults for the options are specified in brackets.
1395
1396Configuration:
1397  -h, --help              display this help and exit
1398      --help=short        display options specific to this package
1399      --help=recursive    display the short help of all the included packages
1400  -V, --version           display version information and exit
1401  -q, --quiet, --silent   do not print \`checking ...' messages
1402      --cache-file=FILE   cache test results in FILE [disabled]
1403  -C, --config-cache      alias for \`--cache-file=config.cache'
1404  -n, --no-create         do not create output files
1405      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1406
1407Installation directories:
1408  --prefix=PREFIX         install architecture-independent files in PREFIX
1409                          [$ac_default_prefix]
1410  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1411                          [PREFIX]
1412
1413By default, \`make install' will install all the files in
1414\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1415an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1416for instance \`--prefix=\$HOME'.
1417
1418For better control, use the options below.
1419
1420Fine tuning of the installation directories:
1421  --bindir=DIR            user executables [EPREFIX/bin]
1422  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1423  --libexecdir=DIR        program executables [EPREFIX/libexec]
1424  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1425  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1426  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1427  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1428  --libdir=DIR            object code libraries [EPREFIX/lib]
1429  --includedir=DIR        C header files [PREFIX/include]
1430  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1431  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1432  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1433  --infodir=DIR           info documentation [DATAROOTDIR/info]
1434  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1435  --mandir=DIR            man documentation [DATAROOTDIR/man]
1436  --docdir=DIR            documentation root [DATAROOTDIR/doc/libgdiplus]
1437  --htmldir=DIR           html documentation [DOCDIR]
1438  --dvidir=DIR            dvi documentation [DOCDIR]
1439  --pdfdir=DIR            pdf documentation [DOCDIR]
1440  --psdir=DIR             ps documentation [DOCDIR]
1441_ACEOF
1442
1443  cat <<\_ACEOF
1444
1445Program names:
1446  --program-prefix=PREFIX            prepend PREFIX to installed program names
1447  --program-suffix=SUFFIX            append SUFFIX to installed program names
1448  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1449
1450System types:
1451  --build=BUILD     configure for building on BUILD [guessed]
1452  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1453  --target=TARGET   configure for building compilers for TARGET [HOST]
1454_ACEOF
1455fi
1456
1457if test -n "$ac_init_help"; then
1458  case $ac_init_help in
1459     short | recursive ) echo "Configuration of libgdiplus 6.0.4:";;
1460   esac
1461  cat <<\_ACEOF
1462
1463Optional Features:
1464  --disable-option-checking  ignore unrecognized --enable/--with options
1465  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1466  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1467  --enable-silent-rules   less verbose build output (undo: "make V=1")
1468  --disable-silent-rules  verbose build output (undo: "make V=0")
1469  --enable-maintainer-mode
1470                          enable make rules and dependencies not useful (and
1471                          sometimes confusing) to the casual installer
1472  --enable-shared[=PKGS]  build shared libraries [default=yes]
1473  --enable-static[=PKGS]  build static libraries [default=yes]
1474  --enable-fast-install[=PKGS]
1475                          optimize for fast installation [default=yes]
1476  --enable-dependency-tracking
1477                          do not reject slow dependency extractors
1478  --disable-dependency-tracking
1479                          speeds up one-time build
1480  --disable-libtool-lock  avoid locking (might break parallel builds)
1481  --enable-warnaserror    Enable treating warnings as errors.
1482  --enable-asan           Enable address sanitizer.
1483  --enable-coverage       Enable code coverage.
1484
1485Optional Packages:
1486  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1487  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1488  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1489                          both]
1490  --with-aix-soname=aix|svr4|both
1491                          shared library versioning (aka "SONAME") variant to
1492                          provide on AIX, [default=aix].
1493  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1494  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1495                          compiler's sysroot if not specified).
1496  --with-pango            use Pango to measure and draw text
1497  --without-libexif       disable EXIF support
1498  --with-libjpeg=PREFIX   Prefix where libjpeg is installed, or 'no' to
1499                          disable
1500  --with-libtiff=PREFIX   Prefix where libtiff is installed, or 'no' to
1501                          disable
1502  --with-libgif=PREFIX    Prefix where libgif is installed, or 'no' to disable
1503  --without-x11           Disable X11 support
1504
1505Some influential environment variables:
1506  CC          C compiler command
1507  CFLAGS      C compiler flags
1508  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1509              nonstandard directory <lib dir>
1510  LIBS        libraries to pass to the linker, e.g. -l<library>
1511  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1512              you have headers in a nonstandard directory <include dir>
1513  LT_SYS_LIBRARY_PATH
1514              User-defined run-time library search path.
1515  CPP         C preprocessor
1516  PKG_CONFIG  path to pkg-config utility
1517  PKG_CONFIG_PATH
1518              directories to add to pkg-config's search path
1519  PKG_CONFIG_LIBDIR
1520              path overriding pkg-config's built-in search path
1521  BASE_DEPENDENCIES_CFLAGS
1522              C compiler flags for BASE_DEPENDENCIES, overriding pkg-config
1523  BASE_DEPENDENCIES_LIBS
1524              linker flags for BASE_DEPENDENCIES, overriding pkg-config
1525  CAIRO_CFLAGS
1526              C compiler flags for CAIRO, overriding pkg-config
1527  CAIRO_LIBS  linker flags for CAIRO, overriding pkg-config
1528  PANGO_CFLAGS
1529              C compiler flags for PANGO, overriding pkg-config
1530  PANGO_LIBS  linker flags for PANGO, overriding pkg-config
1531  FONTCONFIG_CFLAGS
1532              C compiler flags for FONTCONFIG, overriding pkg-config
1533  FONTCONFIG_LIBS
1534              linker flags for FONTCONFIG, overriding pkg-config
1535  FREETYPE2_CFLAGS
1536              C compiler flags for FREETYPE2, overriding pkg-config
1537  FREETYPE2_LIBS
1538              linker flags for FREETYPE2, overriding pkg-config
1539  LIBEXIF_CFLAGS
1540              C compiler flags for LIBEXIF, overriding pkg-config
1541  LIBEXIF_LIBS
1542              linker flags for LIBEXIF, overriding pkg-config
1543
1544Use these variables to override the choices made by `configure' or to help
1545it to find libraries and programs with nonstandard names/locations.
1546
1547Report bugs to <https://github.com/mono/mono/issues/new>.
1548_ACEOF
1549ac_status=$?
1550fi
1551
1552if test "$ac_init_help" = "recursive"; then
1553  # If there are subdirs, report their specific --help.
1554  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1555    test -d "$ac_dir" ||
1556      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1557      continue
1558    ac_builddir=.
1559
1560case "$ac_dir" in
1561.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1562*)
1563  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1564  # A ".." for each directory in $ac_dir_suffix.
1565  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1566  case $ac_top_builddir_sub in
1567  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1568  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1569  esac ;;
1570esac
1571ac_abs_top_builddir=$ac_pwd
1572ac_abs_builddir=$ac_pwd$ac_dir_suffix
1573# for backward compatibility:
1574ac_top_builddir=$ac_top_build_prefix
1575
1576case $srcdir in
1577  .)  # We are building in place.
1578    ac_srcdir=.
1579    ac_top_srcdir=$ac_top_builddir_sub
1580    ac_abs_top_srcdir=$ac_pwd ;;
1581  [\\/]* | ?:[\\/]* )  # Absolute name.
1582    ac_srcdir=$srcdir$ac_dir_suffix;
1583    ac_top_srcdir=$srcdir
1584    ac_abs_top_srcdir=$srcdir ;;
1585  *) # Relative name.
1586    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1587    ac_top_srcdir=$ac_top_build_prefix$srcdir
1588    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1589esac
1590ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1591
1592    cd "$ac_dir" || { ac_status=$?; continue; }
1593    # Check for guested configure.
1594    if test -f "$ac_srcdir/configure.gnu"; then
1595      echo &&
1596      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1597    elif test -f "$ac_srcdir/configure"; then
1598      echo &&
1599      $SHELL "$ac_srcdir/configure" --help=recursive
1600    else
1601      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1602    fi || ac_status=$?
1603    cd "$ac_pwd" || { ac_status=$?; break; }
1604  done
1605fi
1606
1607test -n "$ac_init_help" && exit $ac_status
1608if $ac_init_version; then
1609  cat <<\_ACEOF
1610libgdiplus configure 6.0.4
1611generated by GNU Autoconf 2.69
1612
1613Copyright (C) 2012 Free Software Foundation, Inc.
1614This configure script is free software; the Free Software Foundation
1615gives unlimited permission to copy, distribute and modify it.
1616_ACEOF
1617  exit
1618fi
1619
1620## ------------------------ ##
1621## Autoconf initialization. ##
1622## ------------------------ ##
1623
1624# ac_fn_c_try_compile LINENO
1625# --------------------------
1626# Try to compile conftest.$ac_ext, and return whether this succeeded.
1627ac_fn_c_try_compile ()
1628{
1629  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1630  rm -f conftest.$ac_objext
1631  if { { ac_try="$ac_compile"
1632case "(($ac_try" in
1633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1634  *) ac_try_echo=$ac_try;;
1635esac
1636eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637$as_echo "$ac_try_echo"; } >&5
1638  (eval "$ac_compile") 2>conftest.err
1639  ac_status=$?
1640  if test -s conftest.err; then
1641    grep -v '^ *+' conftest.err >conftest.er1
1642    cat conftest.er1 >&5
1643    mv -f conftest.er1 conftest.err
1644  fi
1645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646  test $ac_status = 0; } && {
1647	 test -z "$ac_c_werror_flag" ||
1648	 test ! -s conftest.err
1649       } && test -s conftest.$ac_objext; then :
1650  ac_retval=0
1651else
1652  $as_echo "$as_me: failed program was:" >&5
1653sed 's/^/| /' conftest.$ac_ext >&5
1654
1655	ac_retval=1
1656fi
1657  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658  as_fn_set_status $ac_retval
1659
1660} # ac_fn_c_try_compile
1661
1662# ac_fn_c_try_link LINENO
1663# -----------------------
1664# Try to link conftest.$ac_ext, and return whether this succeeded.
1665ac_fn_c_try_link ()
1666{
1667  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668  rm -f conftest.$ac_objext conftest$ac_exeext
1669  if { { ac_try="$ac_link"
1670case "(($ac_try" in
1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672  *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676  (eval "$ac_link") 2>conftest.err
1677  ac_status=$?
1678  if test -s conftest.err; then
1679    grep -v '^ *+' conftest.err >conftest.er1
1680    cat conftest.er1 >&5
1681    mv -f conftest.er1 conftest.err
1682  fi
1683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684  test $ac_status = 0; } && {
1685	 test -z "$ac_c_werror_flag" ||
1686	 test ! -s conftest.err
1687       } && test -s conftest$ac_exeext && {
1688	 test "$cross_compiling" = yes ||
1689	 test -x conftest$ac_exeext
1690       }; then :
1691  ac_retval=0
1692else
1693  $as_echo "$as_me: failed program was:" >&5
1694sed 's/^/| /' conftest.$ac_ext >&5
1695
1696	ac_retval=1
1697fi
1698  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1699  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1700  # interfere with the next link command; also delete a directory that is
1701  # left behind by Apple's compiler.  We do this before executing the actions.
1702  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1703  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704  as_fn_set_status $ac_retval
1705
1706} # ac_fn_c_try_link
1707
1708# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1709# -------------------------------------------------------
1710# Tests whether HEADER exists and can be compiled using the include files in
1711# INCLUDES, setting the cache variable VAR accordingly.
1712ac_fn_c_check_header_compile ()
1713{
1714  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716$as_echo_n "checking for $2... " >&6; }
1717if eval \${$3+:} false; then :
1718  $as_echo_n "(cached) " >&6
1719else
1720  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1721/* end confdefs.h.  */
1722$4
1723#include <$2>
1724_ACEOF
1725if ac_fn_c_try_compile "$LINENO"; then :
1726  eval "$3=yes"
1727else
1728  eval "$3=no"
1729fi
1730rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1731fi
1732eval ac_res=\$$3
1733	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734$as_echo "$ac_res" >&6; }
1735  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1736
1737} # ac_fn_c_check_header_compile
1738
1739# ac_fn_c_try_cpp LINENO
1740# ----------------------
1741# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1742ac_fn_c_try_cpp ()
1743{
1744  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745  if { { ac_try="$ac_cpp conftest.$ac_ext"
1746case "(($ac_try" in
1747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1748  *) ac_try_echo=$ac_try;;
1749esac
1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751$as_echo "$ac_try_echo"; } >&5
1752  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753  ac_status=$?
1754  if test -s conftest.err; then
1755    grep -v '^ *+' conftest.err >conftest.er1
1756    cat conftest.er1 >&5
1757    mv -f conftest.er1 conftest.err
1758  fi
1759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760  test $ac_status = 0; } > conftest.i && {
1761	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1762	 test ! -s conftest.err
1763       }; then :
1764  ac_retval=0
1765else
1766  $as_echo "$as_me: failed program was:" >&5
1767sed 's/^/| /' conftest.$ac_ext >&5
1768
1769    ac_retval=1
1770fi
1771  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772  as_fn_set_status $ac_retval
1773
1774} # ac_fn_c_try_cpp
1775
1776# ac_fn_c_try_run LINENO
1777# ----------------------
1778# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1779# that executables *can* be run.
1780ac_fn_c_try_run ()
1781{
1782  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783  if { { ac_try="$ac_link"
1784case "(($ac_try" in
1785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1786  *) ac_try_echo=$ac_try;;
1787esac
1788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1789$as_echo "$ac_try_echo"; } >&5
1790  (eval "$ac_link") 2>&5
1791  ac_status=$?
1792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1793  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1794  { { case "(($ac_try" in
1795  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1796  *) ac_try_echo=$ac_try;;
1797esac
1798eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1799$as_echo "$ac_try_echo"; } >&5
1800  (eval "$ac_try") 2>&5
1801  ac_status=$?
1802  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1803  test $ac_status = 0; }; }; then :
1804  ac_retval=0
1805else
1806  $as_echo "$as_me: program exited with status $ac_status" >&5
1807       $as_echo "$as_me: failed program was:" >&5
1808sed 's/^/| /' conftest.$ac_ext >&5
1809
1810       ac_retval=$ac_status
1811fi
1812  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1813  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814  as_fn_set_status $ac_retval
1815
1816} # ac_fn_c_try_run
1817
1818# ac_fn_c_check_func LINENO FUNC VAR
1819# ----------------------------------
1820# Tests whether FUNC exists, setting the cache variable VAR accordingly
1821ac_fn_c_check_func ()
1822{
1823  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1825$as_echo_n "checking for $2... " >&6; }
1826if eval \${$3+:} false; then :
1827  $as_echo_n "(cached) " >&6
1828else
1829  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1830/* end confdefs.h.  */
1831/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1832   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1833#define $2 innocuous_$2
1834
1835/* System header to define __stub macros and hopefully few prototypes,
1836    which can conflict with char $2 (); below.
1837    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1838    <limits.h> exists even on freestanding compilers.  */
1839
1840#ifdef __STDC__
1841# include <limits.h>
1842#else
1843# include <assert.h>
1844#endif
1845
1846#undef $2
1847
1848/* Override any GCC internal prototype to avoid an error.
1849   Use char because int might match the return type of a GCC
1850   builtin and then its argument prototype would still apply.  */
1851#ifdef __cplusplus
1852extern "C"
1853#endif
1854char $2 ();
1855/* The GNU C library defines this for functions which it implements
1856    to always fail with ENOSYS.  Some functions are actually named
1857    something starting with __ and the normal name is an alias.  */
1858#if defined __stub_$2 || defined __stub___$2
1859choke me
1860#endif
1861
1862int
1863main ()
1864{
1865return $2 ();
1866  ;
1867  return 0;
1868}
1869_ACEOF
1870if ac_fn_c_try_link "$LINENO"; then :
1871  eval "$3=yes"
1872else
1873  eval "$3=no"
1874fi
1875rm -f core conftest.err conftest.$ac_objext \
1876    conftest$ac_exeext conftest.$ac_ext
1877fi
1878eval ac_res=\$$3
1879	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; }
1881  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882
1883} # ac_fn_c_check_func
1884
1885# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1886# -------------------------------------------------------
1887# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1888# the include files in INCLUDES and setting the cache variable VAR
1889# accordingly.
1890ac_fn_c_check_header_mongrel ()
1891{
1892  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893  if eval \${$3+:} false; then :
1894  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1895$as_echo_n "checking for $2... " >&6; }
1896if eval \${$3+:} false; then :
1897  $as_echo_n "(cached) " >&6
1898fi
1899eval ac_res=\$$3
1900	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901$as_echo "$ac_res" >&6; }
1902else
1903  # Is the header compilable?
1904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1905$as_echo_n "checking $2 usability... " >&6; }
1906cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907/* end confdefs.h.  */
1908$4
1909#include <$2>
1910_ACEOF
1911if ac_fn_c_try_compile "$LINENO"; then :
1912  ac_header_compiler=yes
1913else
1914  ac_header_compiler=no
1915fi
1916rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1918$as_echo "$ac_header_compiler" >&6; }
1919
1920# Is the header present?
1921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1922$as_echo_n "checking $2 presence... " >&6; }
1923cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1924/* end confdefs.h.  */
1925#include <$2>
1926_ACEOF
1927if ac_fn_c_try_cpp "$LINENO"; then :
1928  ac_header_preproc=yes
1929else
1930  ac_header_preproc=no
1931fi
1932rm -f conftest.err conftest.i conftest.$ac_ext
1933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1934$as_echo "$ac_header_preproc" >&6; }
1935
1936# So?  What about this header?
1937case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1938  yes:no: )
1939    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1940$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1942$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1943    ;;
1944  no:yes:* )
1945    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1946$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1947    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1948$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1949    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1950$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1951    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1952$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1953    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1954$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1955( $as_echo "## ------------------------------------------------------ ##
1956## Report this to https://github.com/mono/mono/issues/new ##
1957## ------------------------------------------------------ ##"
1958     ) | sed "s/^/$as_me: WARNING:     /" >&2
1959    ;;
1960esac
1961  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962$as_echo_n "checking for $2... " >&6; }
1963if eval \${$3+:} false; then :
1964  $as_echo_n "(cached) " >&6
1965else
1966  eval "$3=\$ac_header_compiler"
1967fi
1968eval ac_res=\$$3
1969	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970$as_echo "$ac_res" >&6; }
1971fi
1972  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1973
1974} # ac_fn_c_check_header_mongrel
1975cat >config.log <<_ACEOF
1976This file contains any messages produced by compilers while
1977running configure, to aid debugging if configure makes a mistake.
1978
1979It was created by libgdiplus $as_me 6.0.4, which was
1980generated by GNU Autoconf 2.69.  Invocation command line was
1981
1982  $ $0 $@
1983
1984_ACEOF
1985exec 5>>config.log
1986{
1987cat <<_ASUNAME
1988## --------- ##
1989## Platform. ##
1990## --------- ##
1991
1992hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1993uname -m = `(uname -m) 2>/dev/null || echo unknown`
1994uname -r = `(uname -r) 2>/dev/null || echo unknown`
1995uname -s = `(uname -s) 2>/dev/null || echo unknown`
1996uname -v = `(uname -v) 2>/dev/null || echo unknown`
1997
1998/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1999/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2000
2001/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2002/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2003/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2004/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2005/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2006/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2007/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2008
2009_ASUNAME
2010
2011as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2012for as_dir in $PATH
2013do
2014  IFS=$as_save_IFS
2015  test -z "$as_dir" && as_dir=.
2016    $as_echo "PATH: $as_dir"
2017  done
2018IFS=$as_save_IFS
2019
2020} >&5
2021
2022cat >&5 <<_ACEOF
2023
2024
2025## ----------- ##
2026## Core tests. ##
2027## ----------- ##
2028
2029_ACEOF
2030
2031
2032# Keep a trace of the command line.
2033# Strip out --no-create and --no-recursion so they do not pile up.
2034# Strip out --silent because we don't want to record it for future runs.
2035# Also quote any args containing shell meta-characters.
2036# Make two passes to allow for proper duplicate-argument suppression.
2037ac_configure_args=
2038ac_configure_args0=
2039ac_configure_args1=
2040ac_must_keep_next=false
2041for ac_pass in 1 2
2042do
2043  for ac_arg
2044  do
2045    case $ac_arg in
2046    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2047    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2048    | -silent | --silent | --silen | --sile | --sil)
2049      continue ;;
2050    *\'*)
2051      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2052    esac
2053    case $ac_pass in
2054    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2055    2)
2056      as_fn_append ac_configure_args1 " '$ac_arg'"
2057      if test $ac_must_keep_next = true; then
2058	ac_must_keep_next=false # Got value, back to normal.
2059      else
2060	case $ac_arg in
2061	  *=* | --config-cache | -C | -disable-* | --disable-* \
2062	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2063	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2064	  | -with-* | --with-* | -without-* | --without-* | --x)
2065	    case "$ac_configure_args0 " in
2066	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2067	    esac
2068	    ;;
2069	  -* ) ac_must_keep_next=true ;;
2070	esac
2071      fi
2072      as_fn_append ac_configure_args " '$ac_arg'"
2073      ;;
2074    esac
2075  done
2076done
2077{ ac_configure_args0=; unset ac_configure_args0;}
2078{ ac_configure_args1=; unset ac_configure_args1;}
2079
2080# When interrupted or exit'd, cleanup temporary files, and complete
2081# config.log.  We remove comments because anyway the quotes in there
2082# would cause problems or look ugly.
2083# WARNING: Use '\'' to represent an apostrophe within the trap.
2084# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2085trap 'exit_status=$?
2086  # Save into config.log some information that might help in debugging.
2087  {
2088    echo
2089
2090    $as_echo "## ---------------- ##
2091## Cache variables. ##
2092## ---------------- ##"
2093    echo
2094    # The following way of writing the cache mishandles newlines in values,
2095(
2096  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2097    eval ac_val=\$$ac_var
2098    case $ac_val in #(
2099    *${as_nl}*)
2100      case $ac_var in #(
2101      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2102$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2103      esac
2104      case $ac_var in #(
2105      _ | IFS | as_nl) ;; #(
2106      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2107      *) { eval $ac_var=; unset $ac_var;} ;;
2108      esac ;;
2109    esac
2110  done
2111  (set) 2>&1 |
2112    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2113    *${as_nl}ac_space=\ *)
2114      sed -n \
2115	"s/'\''/'\''\\\\'\'''\''/g;
2116	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2117      ;; #(
2118    *)
2119      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2120      ;;
2121    esac |
2122    sort
2123)
2124    echo
2125
2126    $as_echo "## ----------------- ##
2127## Output variables. ##
2128## ----------------- ##"
2129    echo
2130    for ac_var in $ac_subst_vars
2131    do
2132      eval ac_val=\$$ac_var
2133      case $ac_val in
2134      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2135      esac
2136      $as_echo "$ac_var='\''$ac_val'\''"
2137    done | sort
2138    echo
2139
2140    if test -n "$ac_subst_files"; then
2141      $as_echo "## ------------------- ##
2142## File substitutions. ##
2143## ------------------- ##"
2144      echo
2145      for ac_var in $ac_subst_files
2146      do
2147	eval ac_val=\$$ac_var
2148	case $ac_val in
2149	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2150	esac
2151	$as_echo "$ac_var='\''$ac_val'\''"
2152      done | sort
2153      echo
2154    fi
2155
2156    if test -s confdefs.h; then
2157      $as_echo "## ----------- ##
2158## confdefs.h. ##
2159## ----------- ##"
2160      echo
2161      cat confdefs.h
2162      echo
2163    fi
2164    test "$ac_signal" != 0 &&
2165      $as_echo "$as_me: caught signal $ac_signal"
2166    $as_echo "$as_me: exit $exit_status"
2167  } >&5
2168  rm -f core *.core core.conftest.* &&
2169    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2170    exit $exit_status
2171' 0
2172for ac_signal in 1 2 13 15; do
2173  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2174done
2175ac_signal=0
2176
2177# confdefs.h avoids OS command line length limits that DEFS can exceed.
2178rm -f -r conftest* confdefs.h
2179
2180$as_echo "/* confdefs.h */" > confdefs.h
2181
2182# Predefined preprocessor variables.
2183
2184cat >>confdefs.h <<_ACEOF
2185#define PACKAGE_NAME "$PACKAGE_NAME"
2186_ACEOF
2187
2188cat >>confdefs.h <<_ACEOF
2189#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2190_ACEOF
2191
2192cat >>confdefs.h <<_ACEOF
2193#define PACKAGE_VERSION "$PACKAGE_VERSION"
2194_ACEOF
2195
2196cat >>confdefs.h <<_ACEOF
2197#define PACKAGE_STRING "$PACKAGE_STRING"
2198_ACEOF
2199
2200cat >>confdefs.h <<_ACEOF
2201#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2202_ACEOF
2203
2204cat >>confdefs.h <<_ACEOF
2205#define PACKAGE_URL "$PACKAGE_URL"
2206_ACEOF
2207
2208
2209# Let the site file select an alternate cache file if it wants to.
2210# Prefer an explicitly selected file to automatically selected ones.
2211ac_site_file1=NONE
2212ac_site_file2=NONE
2213if test -n "$CONFIG_SITE"; then
2214  # We do not want a PATH search for config.site.
2215  case $CONFIG_SITE in #((
2216    -*)  ac_site_file1=./$CONFIG_SITE;;
2217    */*) ac_site_file1=$CONFIG_SITE;;
2218    *)   ac_site_file1=./$CONFIG_SITE;;
2219  esac
2220elif test "x$prefix" != xNONE; then
2221  ac_site_file1=$prefix/share/config.site
2222  ac_site_file2=$prefix/etc/config.site
2223else
2224  ac_site_file1=$ac_default_prefix/share/config.site
2225  ac_site_file2=$ac_default_prefix/etc/config.site
2226fi
2227for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2228do
2229  test "x$ac_site_file" = xNONE && continue
2230  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2231    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2232$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2233    sed 's/^/| /' "$ac_site_file" >&5
2234    . "$ac_site_file" \
2235      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2236$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2237as_fn_error $? "failed to load site script $ac_site_file
2238See \`config.log' for more details" "$LINENO" 5; }
2239  fi
2240done
2241
2242if test -r "$cache_file"; then
2243  # Some versions of bash will fail to source /dev/null (special files
2244  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2245  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2246    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2247$as_echo "$as_me: loading cache $cache_file" >&6;}
2248    case $cache_file in
2249      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2250      *)                      . "./$cache_file";;
2251    esac
2252  fi
2253else
2254  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2255$as_echo "$as_me: creating cache $cache_file" >&6;}
2256  >$cache_file
2257fi
2258
2259# Check that the precious variables saved in the cache have kept the same
2260# value.
2261ac_cache_corrupted=false
2262for ac_var in $ac_precious_vars; do
2263  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2264  eval ac_new_set=\$ac_env_${ac_var}_set
2265  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2266  eval ac_new_val=\$ac_env_${ac_var}_value
2267  case $ac_old_set,$ac_new_set in
2268    set,)
2269      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2270$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2271      ac_cache_corrupted=: ;;
2272    ,set)
2273      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2274$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2275      ac_cache_corrupted=: ;;
2276    ,);;
2277    *)
2278      if test "x$ac_old_val" != "x$ac_new_val"; then
2279	# differences in whitespace do not lead to failure.
2280	ac_old_val_w=`echo x $ac_old_val`
2281	ac_new_val_w=`echo x $ac_new_val`
2282	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2283	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2284$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2285	  ac_cache_corrupted=:
2286	else
2287	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2288$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2289	  eval $ac_var=\$ac_old_val
2290	fi
2291	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2292$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2293	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2294$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2295      fi;;
2296  esac
2297  # Pass precious variables to config.status.
2298  if test "$ac_new_set" = set; then
2299    case $ac_new_val in
2300    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2301    *) ac_arg=$ac_var=$ac_new_val ;;
2302    esac
2303    case " $ac_configure_args " in
2304      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2305      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2306    esac
2307  fi
2308done
2309if $ac_cache_corrupted; then
2310  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2311$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2312  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2313$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2314  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2315fi
2316## -------------------- ##
2317## Main body of script. ##
2318## -------------------- ##
2319
2320ac_ext=c
2321ac_cpp='$CPP $CPPFLAGS'
2322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2324ac_compiler_gnu=$ac_cv_c_compiler_gnu
2325
2326
2327
2328
2329
2330ac_aux_dir=
2331for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2332  if test -f "$ac_dir/install-sh"; then
2333    ac_aux_dir=$ac_dir
2334    ac_install_sh="$ac_aux_dir/install-sh -c"
2335    break
2336  elif test -f "$ac_dir/install.sh"; then
2337    ac_aux_dir=$ac_dir
2338    ac_install_sh="$ac_aux_dir/install.sh -c"
2339    break
2340  elif test -f "$ac_dir/shtool"; then
2341    ac_aux_dir=$ac_dir
2342    ac_install_sh="$ac_aux_dir/shtool install -c"
2343    break
2344  fi
2345done
2346if test -z "$ac_aux_dir"; then
2347  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2348fi
2349
2350# These three variables are undocumented and unsupported,
2351# and are intended to be withdrawn in a future Autoconf release.
2352# They can cause serious problems if a builder's source tree is in a directory
2353# whose full name contains unusual characters.
2354ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2355ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2356ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2357
2358
2359# Make sure we can run config.sub.
2360$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2361  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2362
2363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2364$as_echo_n "checking build system type... " >&6; }
2365if ${ac_cv_build+:} false; then :
2366  $as_echo_n "(cached) " >&6
2367else
2368  ac_build_alias=$build_alias
2369test "x$ac_build_alias" = x &&
2370  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2371test "x$ac_build_alias" = x &&
2372  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2373ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2374  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2375
2376fi
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2378$as_echo "$ac_cv_build" >&6; }
2379case $ac_cv_build in
2380*-*-*) ;;
2381*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2382esac
2383build=$ac_cv_build
2384ac_save_IFS=$IFS; IFS='-'
2385set x $ac_cv_build
2386shift
2387build_cpu=$1
2388build_vendor=$2
2389shift; shift
2390# Remember, the first character of IFS is used to create $*,
2391# except with old shells:
2392build_os=$*
2393IFS=$ac_save_IFS
2394case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2395
2396
2397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2398$as_echo_n "checking host system type... " >&6; }
2399if ${ac_cv_host+:} false; then :
2400  $as_echo_n "(cached) " >&6
2401else
2402  if test "x$host_alias" = x; then
2403  ac_cv_host=$ac_cv_build
2404else
2405  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2406    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2407fi
2408
2409fi
2410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2411$as_echo "$ac_cv_host" >&6; }
2412case $ac_cv_host in
2413*-*-*) ;;
2414*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2415esac
2416host=$ac_cv_host
2417ac_save_IFS=$IFS; IFS='-'
2418set x $ac_cv_host
2419shift
2420host_cpu=$1
2421host_vendor=$2
2422shift; shift
2423# Remember, the first character of IFS is used to create $*,
2424# except with old shells:
2425host_os=$*
2426IFS=$ac_save_IFS
2427case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2428
2429
2430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2431$as_echo_n "checking target system type... " >&6; }
2432if ${ac_cv_target+:} false; then :
2433  $as_echo_n "(cached) " >&6
2434else
2435  if test "x$target_alias" = x; then
2436  ac_cv_target=$ac_cv_host
2437else
2438  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2439    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2440fi
2441
2442fi
2443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2444$as_echo "$ac_cv_target" >&6; }
2445case $ac_cv_target in
2446*-*-*) ;;
2447*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2448esac
2449target=$ac_cv_target
2450ac_save_IFS=$IFS; IFS='-'
2451set x $ac_cv_target
2452shift
2453target_cpu=$1
2454target_vendor=$2
2455shift; shift
2456# Remember, the first character of IFS is used to create $*,
2457# except with old shells:
2458target_os=$*
2459IFS=$ac_save_IFS
2460case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2461
2462
2463# The aliases save the names the user supplied, while $host etc.
2464# will get canonicalized.
2465test -n "$target_alias" &&
2466  test "$program_prefix$program_suffix$program_transform_name" = \
2467    NONENONEs,x,x, &&
2468  program_prefix=${target_alias}-
2469
2470
2471
2472am__api_version='1.15'
2473
2474# Find a good install program.  We prefer a C program (faster),
2475# so one script is as good as another.  But avoid the broken or
2476# incompatible versions:
2477# SysV /etc/install, /usr/sbin/install
2478# SunOS /usr/etc/install
2479# IRIX /sbin/install
2480# AIX /bin/install
2481# AmigaOS /C/install, which installs bootblocks on floppy discs
2482# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2483# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2484# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2485# OS/2's system install, which has a completely different semantic
2486# ./install, which can be erroneously created by make from ./install.sh.
2487# Reject install programs that cannot install multiple files.
2488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2489$as_echo_n "checking for a BSD-compatible install... " >&6; }
2490if test -z "$INSTALL"; then
2491if ${ac_cv_path_install+:} false; then :
2492  $as_echo_n "(cached) " >&6
2493else
2494  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495for as_dir in $PATH
2496do
2497  IFS=$as_save_IFS
2498  test -z "$as_dir" && as_dir=.
2499    # Account for people who put trailing slashes in PATH elements.
2500case $as_dir/ in #((
2501  ./ | .// | /[cC]/* | \
2502  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2503  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2504  /usr/ucb/* ) ;;
2505  *)
2506    # OSF1 and SCO ODT 3.0 have their own names for install.
2507    # Don't use installbsd from OSF since it installs stuff as root
2508    # by default.
2509    for ac_prog in ginstall scoinst install; do
2510      for ac_exec_ext in '' $ac_executable_extensions; do
2511	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2512	  if test $ac_prog = install &&
2513	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2514	    # AIX install.  It has an incompatible calling convention.
2515	    :
2516	  elif test $ac_prog = install &&
2517	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2518	    # program-specific install script used by HP pwplus--don't use.
2519	    :
2520	  else
2521	    rm -rf conftest.one conftest.two conftest.dir
2522	    echo one > conftest.one
2523	    echo two > conftest.two
2524	    mkdir conftest.dir
2525	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2526	      test -s conftest.one && test -s conftest.two &&
2527	      test -s conftest.dir/conftest.one &&
2528	      test -s conftest.dir/conftest.two
2529	    then
2530	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2531	      break 3
2532	    fi
2533	  fi
2534	fi
2535      done
2536    done
2537    ;;
2538esac
2539
2540  done
2541IFS=$as_save_IFS
2542
2543rm -rf conftest.one conftest.two conftest.dir
2544
2545fi
2546  if test "${ac_cv_path_install+set}" = set; then
2547    INSTALL=$ac_cv_path_install
2548  else
2549    # As a last resort, use the slow shell script.  Don't cache a
2550    # value for INSTALL within a source directory, because that will
2551    # break other packages using the cache if that directory is
2552    # removed, or if the value is a relative name.
2553    INSTALL=$ac_install_sh
2554  fi
2555fi
2556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2557$as_echo "$INSTALL" >&6; }
2558
2559# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2560# It thinks the first close brace ends the variable substitution.
2561test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2562
2563test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2564
2565test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2566
2567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2568$as_echo_n "checking whether build environment is sane... " >&6; }
2569# Reject unsafe characters in $srcdir or the absolute working directory
2570# name.  Accept space and tab only in the latter.
2571am_lf='
2572'
2573case `pwd` in
2574  *[\\\"\#\$\&\'\`$am_lf]*)
2575    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2576esac
2577case $srcdir in
2578  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2579    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2580esac
2581
2582# Do 'set' in a subshell so we don't clobber the current shell's
2583# arguments.  Must try -L first in case configure is actually a
2584# symlink; some systems play weird games with the mod time of symlinks
2585# (eg FreeBSD returns the mod time of the symlink's containing
2586# directory).
2587if (
2588   am_has_slept=no
2589   for am_try in 1 2; do
2590     echo "timestamp, slept: $am_has_slept" > conftest.file
2591     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2592     if test "$*" = "X"; then
2593	# -L didn't work.
2594	set X `ls -t "$srcdir/configure" conftest.file`
2595     fi
2596     if test "$*" != "X $srcdir/configure conftest.file" \
2597	&& test "$*" != "X conftest.file $srcdir/configure"; then
2598
2599	# If neither matched, then we have a broken ls.  This can happen
2600	# if, for instance, CONFIG_SHELL is bash and it inherits a
2601	# broken ls alias from the environment.  This has actually
2602	# happened.  Such a system could not be considered "sane".
2603	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2604  alias in your environment" "$LINENO" 5
2605     fi
2606     if test "$2" = conftest.file || test $am_try -eq 2; then
2607       break
2608     fi
2609     # Just in case.
2610     sleep 1
2611     am_has_slept=yes
2612   done
2613   test "$2" = conftest.file
2614   )
2615then
2616   # Ok.
2617   :
2618else
2619   as_fn_error $? "newly created file is older than distributed files!
2620Check your system clock" "$LINENO" 5
2621fi
2622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2623$as_echo "yes" >&6; }
2624# If we didn't sleep, we still need to ensure time stamps of config.status and
2625# generated files are strictly newer.
2626am_sleep_pid=
2627if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2628  ( sleep 1 ) &
2629  am_sleep_pid=$!
2630fi
2631
2632rm -f conftest.file
2633
2634test "$program_prefix" != NONE &&
2635  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2636# Use a double $ so make ignores it.
2637test "$program_suffix" != NONE &&
2638  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2639# Double any \ or $.
2640# By default was `s,x,x', remove it if useless.
2641ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2642program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2643
2644# Expand $ac_aux_dir to an absolute path.
2645am_aux_dir=`cd "$ac_aux_dir" && pwd`
2646
2647if test x"${MISSING+set}" != xset; then
2648  case $am_aux_dir in
2649  *\ * | *\	*)
2650    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2651  *)
2652    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2653  esac
2654fi
2655# Use eval to expand $SHELL
2656if eval "$MISSING --is-lightweight"; then
2657  am_missing_run="$MISSING "
2658else
2659  am_missing_run=
2660  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2661$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2662fi
2663
2664if test x"${install_sh+set}" != xset; then
2665  case $am_aux_dir in
2666  *\ * | *\	*)
2667    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2668  *)
2669    install_sh="\${SHELL} $am_aux_dir/install-sh"
2670  esac
2671fi
2672
2673# Installed binaries are usually stripped using 'strip' when the user
2674# run "make install-strip".  However 'strip' might not be the right
2675# tool to use in cross-compilation environments, therefore Automake
2676# will honor the 'STRIP' environment variable to overrule this program.
2677if test "$cross_compiling" != no; then
2678  if test -n "$ac_tool_prefix"; then
2679  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2680set dummy ${ac_tool_prefix}strip; ac_word=$2
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2682$as_echo_n "checking for $ac_word... " >&6; }
2683if ${ac_cv_prog_STRIP+:} false; then :
2684  $as_echo_n "(cached) " >&6
2685else
2686  if test -n "$STRIP"; then
2687  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2688else
2689as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2690for as_dir in $PATH
2691do
2692  IFS=$as_save_IFS
2693  test -z "$as_dir" && as_dir=.
2694    for ac_exec_ext in '' $ac_executable_extensions; do
2695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2696    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698    break 2
2699  fi
2700done
2701  done
2702IFS=$as_save_IFS
2703
2704fi
2705fi
2706STRIP=$ac_cv_prog_STRIP
2707if test -n "$STRIP"; then
2708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2709$as_echo "$STRIP" >&6; }
2710else
2711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712$as_echo "no" >&6; }
2713fi
2714
2715
2716fi
2717if test -z "$ac_cv_prog_STRIP"; then
2718  ac_ct_STRIP=$STRIP
2719  # Extract the first word of "strip", so it can be a program name with args.
2720set dummy strip; ac_word=$2
2721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2722$as_echo_n "checking for $ac_word... " >&6; }
2723if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2724  $as_echo_n "(cached) " >&6
2725else
2726  if test -n "$ac_ct_STRIP"; then
2727  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2728else
2729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730for as_dir in $PATH
2731do
2732  IFS=$as_save_IFS
2733  test -z "$as_dir" && as_dir=.
2734    for ac_exec_ext in '' $ac_executable_extensions; do
2735  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736    ac_cv_prog_ac_ct_STRIP="strip"
2737    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2738    break 2
2739  fi
2740done
2741  done
2742IFS=$as_save_IFS
2743
2744fi
2745fi
2746ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2747if test -n "$ac_ct_STRIP"; then
2748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2749$as_echo "$ac_ct_STRIP" >&6; }
2750else
2751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2752$as_echo "no" >&6; }
2753fi
2754
2755  if test "x$ac_ct_STRIP" = x; then
2756    STRIP=":"
2757  else
2758    case $cross_compiling:$ac_tool_warned in
2759yes:)
2760{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2761$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2762ac_tool_warned=yes ;;
2763esac
2764    STRIP=$ac_ct_STRIP
2765  fi
2766else
2767  STRIP="$ac_cv_prog_STRIP"
2768fi
2769
2770fi
2771INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2772
2773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2774$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2775if test -z "$MKDIR_P"; then
2776  if ${ac_cv_path_mkdir+:} false; then :
2777  $as_echo_n "(cached) " >&6
2778else
2779  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2781do
2782  IFS=$as_save_IFS
2783  test -z "$as_dir" && as_dir=.
2784    for ac_prog in mkdir gmkdir; do
2785	 for ac_exec_ext in '' $ac_executable_extensions; do
2786	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2787	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2788	     'mkdir (GNU coreutils) '* | \
2789	     'mkdir (coreutils) '* | \
2790	     'mkdir (fileutils) '4.1*)
2791	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2792	       break 3;;
2793	   esac
2794	 done
2795       done
2796  done
2797IFS=$as_save_IFS
2798
2799fi
2800
2801  test -d ./--version && rmdir ./--version
2802  if test "${ac_cv_path_mkdir+set}" = set; then
2803    MKDIR_P="$ac_cv_path_mkdir -p"
2804  else
2805    # As a last resort, use the slow shell script.  Don't cache a
2806    # value for MKDIR_P within a source directory, because that will
2807    # break other packages using the cache if that directory is
2808    # removed, or if the value is a relative name.
2809    MKDIR_P="$ac_install_sh -d"
2810  fi
2811fi
2812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2813$as_echo "$MKDIR_P" >&6; }
2814
2815for ac_prog in gawk mawk nawk awk
2816do
2817  # Extract the first word of "$ac_prog", so it can be a program name with args.
2818set dummy $ac_prog; ac_word=$2
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2820$as_echo_n "checking for $ac_word... " >&6; }
2821if ${ac_cv_prog_AWK+:} false; then :
2822  $as_echo_n "(cached) " >&6
2823else
2824  if test -n "$AWK"; then
2825  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2826else
2827as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828for as_dir in $PATH
2829do
2830  IFS=$as_save_IFS
2831  test -z "$as_dir" && as_dir=.
2832    for ac_exec_ext in '' $ac_executable_extensions; do
2833  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2834    ac_cv_prog_AWK="$ac_prog"
2835    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2836    break 2
2837  fi
2838done
2839  done
2840IFS=$as_save_IFS
2841
2842fi
2843fi
2844AWK=$ac_cv_prog_AWK
2845if test -n "$AWK"; then
2846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2847$as_echo "$AWK" >&6; }
2848else
2849  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2850$as_echo "no" >&6; }
2851fi
2852
2853
2854  test -n "$AWK" && break
2855done
2856
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2858$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2859set x ${MAKE-make}
2860ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2861if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2862  $as_echo_n "(cached) " >&6
2863else
2864  cat >conftest.make <<\_ACEOF
2865SHELL = /bin/sh
2866all:
2867	@echo '@@@%%%=$(MAKE)=@@@%%%'
2868_ACEOF
2869# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2870case `${MAKE-make} -f conftest.make 2>/dev/null` in
2871  *@@@%%%=?*=@@@%%%*)
2872    eval ac_cv_prog_make_${ac_make}_set=yes;;
2873  *)
2874    eval ac_cv_prog_make_${ac_make}_set=no;;
2875esac
2876rm -f conftest.make
2877fi
2878if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2880$as_echo "yes" >&6; }
2881  SET_MAKE=
2882else
2883  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2884$as_echo "no" >&6; }
2885  SET_MAKE="MAKE=${MAKE-make}"
2886fi
2887
2888rm -rf .tst 2>/dev/null
2889mkdir .tst 2>/dev/null
2890if test -d .tst; then
2891  am__leading_dot=.
2892else
2893  am__leading_dot=_
2894fi
2895rmdir .tst 2>/dev/null
2896
2897# Check whether --enable-silent-rules was given.
2898if test "${enable_silent_rules+set}" = set; then :
2899  enableval=$enable_silent_rules;
2900fi
2901
2902case $enable_silent_rules in # (((
2903  yes) AM_DEFAULT_VERBOSITY=0;;
2904   no) AM_DEFAULT_VERBOSITY=1;;
2905    *) AM_DEFAULT_VERBOSITY=1;;
2906esac
2907am_make=${MAKE-make}
2908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2909$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2910if ${am_cv_make_support_nested_variables+:} false; then :
2911  $as_echo_n "(cached) " >&6
2912else
2913  if $as_echo 'TRUE=$(BAR$(V))
2914BAR0=false
2915BAR1=true
2916V=1
2917am__doit:
2918	@$(TRUE)
2919.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2920  am_cv_make_support_nested_variables=yes
2921else
2922  am_cv_make_support_nested_variables=no
2923fi
2924fi
2925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2926$as_echo "$am_cv_make_support_nested_variables" >&6; }
2927if test $am_cv_make_support_nested_variables = yes; then
2928    AM_V='$(V)'
2929  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2930else
2931  AM_V=$AM_DEFAULT_VERBOSITY
2932  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2933fi
2934AM_BACKSLASH='\'
2935
2936if test "`cd $srcdir && pwd`" != "`pwd`"; then
2937  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2938  # is not polluted with repeated "-I."
2939  am__isrc=' -I$(srcdir)'
2940  # test to see if srcdir already configured
2941  if test -f $srcdir/config.status; then
2942    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2943  fi
2944fi
2945
2946# test whether we have cygpath
2947if test -z "$CYGPATH_W"; then
2948  if (cygpath --version) >/dev/null 2>/dev/null; then
2949    CYGPATH_W='cygpath -w'
2950  else
2951    CYGPATH_W=echo
2952  fi
2953fi
2954
2955
2956# Define the identity of the package.
2957 PACKAGE='libgdiplus'
2958 VERSION='6.0.4'
2959
2960
2961cat >>confdefs.h <<_ACEOF
2962#define PACKAGE "$PACKAGE"
2963_ACEOF
2964
2965
2966cat >>confdefs.h <<_ACEOF
2967#define VERSION "$VERSION"
2968_ACEOF
2969
2970# Some tools Automake needs.
2971
2972ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2973
2974
2975AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2976
2977
2978AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2979
2980
2981AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2982
2983
2984MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2985
2986# For better backward compatibility.  To be removed once Automake 1.9.x
2987# dies out for good.  For more background, see:
2988# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2989# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2990mkdir_p='$(MKDIR_P)'
2991
2992# We need awk for the "check" target (and possibly the TAP driver).  The
2993# system "awk" is bad on some platforms.
2994# Always define AMTAR for backward compatibility.  Yes, it's still used
2995# in the wild :-(  We should find a proper way to deprecate it ...
2996AMTAR='$${TAR-tar}'
2997
2998
2999# We'll loop over all known methods to create a tar archive until one works.
3000_am_tools='gnutar  pax cpio none'
3001
3002am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3003
3004
3005
3006
3007
3008
3009# POSIX will say in a future version that running "rm -f" with no argument
3010# is OK; and we want to be able to make that assumption in our Makefile
3011# recipes.  So use an aggressive probe to check that the usage we want is
3012# actually supported "in the wild" to an acceptable degree.
3013# See automake bug#10828.
3014# To make any issue more visible, cause the running configure to be aborted
3015# by default if the 'rm' program in use doesn't match our expectations; the
3016# user can still override this though.
3017if rm -f && rm -fr && rm -rf; then : OK; else
3018  cat >&2 <<'END'
3019Oops!
3020
3021Your 'rm' program seems unable to run without file operands specified
3022on the command line, even when the '-f' option is present.  This is contrary
3023to the behaviour of most rm programs out there, and not conforming with
3024the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3025
3026Please tell bug-automake@gnu.org about your system, including the value
3027of your $PATH and any error possibly output before this message.  This
3028can help us improve future automake versions.
3029
3030END
3031  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3032    echo 'Configuration will proceed anyway, since you have set the' >&2
3033    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3034    echo >&2
3035  else
3036    cat >&2 <<'END'
3037Aborting the configuration process, to ensure you take notice of the issue.
3038
3039You can download and install GNU coreutils to get an 'rm' implementation
3040that behaves properly: <http://www.gnu.org/software/coreutils/>.
3041
3042If you want to complete the configuration process using your problematic
3043'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3044to "yes", and re-run configure.
3045
3046END
3047    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3048  fi
3049fi
3050
3051ac_config_headers="$ac_config_headers config.h"
3052
3053
3054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3055$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3056    # Check whether --enable-maintainer-mode was given.
3057if test "${enable_maintainer_mode+set}" = set; then :
3058  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3059else
3060  USE_MAINTAINER_MODE=no
3061fi
3062
3063  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3064$as_echo "$USE_MAINTAINER_MODE" >&6; }
3065   if test $USE_MAINTAINER_MODE = yes; then
3066  MAINTAINER_MODE_TRUE=
3067  MAINTAINER_MODE_FALSE='#'
3068else
3069  MAINTAINER_MODE_TRUE='#'
3070  MAINTAINER_MODE_FALSE=
3071fi
3072
3073  MAINT=$MAINTAINER_MODE_TRUE
3074
3075
3076case `pwd` in
3077  *\ * | *\	*)
3078    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3079$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3080esac
3081
3082
3083
3084macro_version='2.4.6'
3085macro_revision='2.4.6'
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099ltmain=$ac_aux_dir/ltmain.sh
3100
3101# Backslashify metacharacters that are still active within
3102# double-quoted strings.
3103sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3104
3105# Same as above, but do not quote variable references.
3106double_quote_subst='s/\(["`\\]\)/\\\1/g'
3107
3108# Sed substitution to delay expansion of an escaped shell variable in a
3109# double_quote_subst'ed string.
3110delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3111
3112# Sed substitution to delay expansion of an escaped single quote.
3113delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3114
3115# Sed substitution to avoid accidental globbing in evaled expressions
3116no_glob_subst='s/\*/\\\*/g'
3117
3118ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3119ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3120ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3121
3122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3123$as_echo_n "checking how to print strings... " >&6; }
3124# Test print first, because it will be a builtin if present.
3125if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3126   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3127  ECHO='print -r --'
3128elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3129  ECHO='printf %s\n'
3130else
3131  # Use this function as a fallback that always works.
3132  func_fallback_echo ()
3133  {
3134    eval 'cat <<_LTECHO_EOF
3135$1
3136_LTECHO_EOF'
3137  }
3138  ECHO='func_fallback_echo'
3139fi
3140
3141# func_echo_all arg...
3142# Invoke $ECHO with all args, space-separated.
3143func_echo_all ()
3144{
3145    $ECHO ""
3146}
3147
3148case $ECHO in
3149  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3150$as_echo "printf" >&6; } ;;
3151  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3152$as_echo "print -r" >&6; } ;;
3153  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3154$as_echo "cat" >&6; } ;;
3155esac
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170DEPDIR="${am__leading_dot}deps"
3171
3172ac_config_commands="$ac_config_commands depfiles"
3173
3174
3175am_make=${MAKE-make}
3176cat > confinc << 'END'
3177am__doit:
3178	@echo this is the am__doit target
3179.PHONY: am__doit
3180END
3181# If we don't find an include directive, just comment out the code.
3182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3183$as_echo_n "checking for style of include used by $am_make... " >&6; }
3184am__include="#"
3185am__quote=
3186_am_result=none
3187# First try GNU make style include.
3188echo "include confinc" > confmf
3189# Ignore all kinds of additional output from 'make'.
3190case `$am_make -s -f confmf 2> /dev/null` in #(
3191*the\ am__doit\ target*)
3192  am__include=include
3193  am__quote=
3194  _am_result=GNU
3195  ;;
3196esac
3197# Now try BSD make style include.
3198if test "$am__include" = "#"; then
3199   echo '.include "confinc"' > confmf
3200   case `$am_make -s -f confmf 2> /dev/null` in #(
3201   *the\ am__doit\ target*)
3202     am__include=.include
3203     am__quote="\""
3204     _am_result=BSD
3205     ;;
3206   esac
3207fi
3208
3209
3210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3211$as_echo "$_am_result" >&6; }
3212rm -f confinc confmf
3213
3214# Check whether --enable-dependency-tracking was given.
3215if test "${enable_dependency_tracking+set}" = set; then :
3216  enableval=$enable_dependency_tracking;
3217fi
3218
3219if test "x$enable_dependency_tracking" != xno; then
3220  am_depcomp="$ac_aux_dir/depcomp"
3221  AMDEPBACKSLASH='\'
3222  am__nodep='_no'
3223fi
3224 if test "x$enable_dependency_tracking" != xno; then
3225  AMDEP_TRUE=
3226  AMDEP_FALSE='#'
3227else
3228  AMDEP_TRUE='#'
3229  AMDEP_FALSE=
3230fi
3231
3232
3233ac_ext=c
3234ac_cpp='$CPP $CPPFLAGS'
3235ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3236ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3237ac_compiler_gnu=$ac_cv_c_compiler_gnu
3238if test -n "$ac_tool_prefix"; then
3239  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3240set dummy ${ac_tool_prefix}gcc; ac_word=$2
3241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3242$as_echo_n "checking for $ac_word... " >&6; }
3243if ${ac_cv_prog_CC+:} false; then :
3244  $as_echo_n "(cached) " >&6
3245else
3246  if test -n "$CC"; then
3247  ac_cv_prog_CC="$CC" # Let the user override the test.
3248else
3249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3250for as_dir in $PATH
3251do
3252  IFS=$as_save_IFS
3253  test -z "$as_dir" && as_dir=.
3254    for ac_exec_ext in '' $ac_executable_extensions; do
3255  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3256    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258    break 2
3259  fi
3260done
3261  done
3262IFS=$as_save_IFS
3263
3264fi
3265fi
3266CC=$ac_cv_prog_CC
3267if test -n "$CC"; then
3268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3269$as_echo "$CC" >&6; }
3270else
3271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3272$as_echo "no" >&6; }
3273fi
3274
3275
3276fi
3277if test -z "$ac_cv_prog_CC"; then
3278  ac_ct_CC=$CC
3279  # Extract the first word of "gcc", so it can be a program name with args.
3280set dummy gcc; ac_word=$2
3281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3282$as_echo_n "checking for $ac_word... " >&6; }
3283if ${ac_cv_prog_ac_ct_CC+:} false; then :
3284  $as_echo_n "(cached) " >&6
3285else
3286  if test -n "$ac_ct_CC"; then
3287  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3288else
3289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3290for as_dir in $PATH
3291do
3292  IFS=$as_save_IFS
3293  test -z "$as_dir" && as_dir=.
3294    for ac_exec_ext in '' $ac_executable_extensions; do
3295  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3296    ac_cv_prog_ac_ct_CC="gcc"
3297    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298    break 2
3299  fi
3300done
3301  done
3302IFS=$as_save_IFS
3303
3304fi
3305fi
3306ac_ct_CC=$ac_cv_prog_ac_ct_CC
3307if test -n "$ac_ct_CC"; then
3308  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3309$as_echo "$ac_ct_CC" >&6; }
3310else
3311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3312$as_echo "no" >&6; }
3313fi
3314
3315  if test "x$ac_ct_CC" = x; then
3316    CC=""
3317  else
3318    case $cross_compiling:$ac_tool_warned in
3319yes:)
3320{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3321$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3322ac_tool_warned=yes ;;
3323esac
3324    CC=$ac_ct_CC
3325  fi
3326else
3327  CC="$ac_cv_prog_CC"
3328fi
3329
3330if test -z "$CC"; then
3331          if test -n "$ac_tool_prefix"; then
3332    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3333set dummy ${ac_tool_prefix}cc; ac_word=$2
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3335$as_echo_n "checking for $ac_word... " >&6; }
3336if ${ac_cv_prog_CC+:} false; then :
3337  $as_echo_n "(cached) " >&6
3338else
3339  if test -n "$CC"; then
3340  ac_cv_prog_CC="$CC" # Let the user override the test.
3341else
3342as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343for as_dir in $PATH
3344do
3345  IFS=$as_save_IFS
3346  test -z "$as_dir" && as_dir=.
3347    for ac_exec_ext in '' $ac_executable_extensions; do
3348  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3349    ac_cv_prog_CC="${ac_tool_prefix}cc"
3350    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351    break 2
3352  fi
3353done
3354  done
3355IFS=$as_save_IFS
3356
3357fi
3358fi
3359CC=$ac_cv_prog_CC
3360if test -n "$CC"; then
3361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3362$as_echo "$CC" >&6; }
3363else
3364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3365$as_echo "no" >&6; }
3366fi
3367
3368
3369  fi
3370fi
3371if test -z "$CC"; then
3372  # Extract the first word of "cc", so it can be a program name with args.
3373set dummy cc; ac_word=$2
3374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3375$as_echo_n "checking for $ac_word... " >&6; }
3376if ${ac_cv_prog_CC+:} false; then :
3377  $as_echo_n "(cached) " >&6
3378else
3379  if test -n "$CC"; then
3380  ac_cv_prog_CC="$CC" # Let the user override the test.
3381else
3382  ac_prog_rejected=no
3383as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3384for as_dir in $PATH
3385do
3386  IFS=$as_save_IFS
3387  test -z "$as_dir" && as_dir=.
3388    for ac_exec_ext in '' $ac_executable_extensions; do
3389  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3390    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3391       ac_prog_rejected=yes
3392       continue
3393     fi
3394    ac_cv_prog_CC="cc"
3395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3396    break 2
3397  fi
3398done
3399  done
3400IFS=$as_save_IFS
3401
3402if test $ac_prog_rejected = yes; then
3403  # We found a bogon in the path, so make sure we never use it.
3404  set dummy $ac_cv_prog_CC
3405  shift
3406  if test $# != 0; then
3407    # We chose a different compiler from the bogus one.
3408    # However, it has the same basename, so the bogon will be chosen
3409    # first if we set CC to just the basename; use the full file name.
3410    shift
3411    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3412  fi
3413fi
3414fi
3415fi
3416CC=$ac_cv_prog_CC
3417if test -n "$CC"; then
3418  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3419$as_echo "$CC" >&6; }
3420else
3421  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3422$as_echo "no" >&6; }
3423fi
3424
3425
3426fi
3427if test -z "$CC"; then
3428  if test -n "$ac_tool_prefix"; then
3429  for ac_prog in cl.exe
3430  do
3431    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3432set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3434$as_echo_n "checking for $ac_word... " >&6; }
3435if ${ac_cv_prog_CC+:} false; then :
3436  $as_echo_n "(cached) " >&6
3437else
3438  if test -n "$CC"; then
3439  ac_cv_prog_CC="$CC" # Let the user override the test.
3440else
3441as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442for as_dir in $PATH
3443do
3444  IFS=$as_save_IFS
3445  test -z "$as_dir" && as_dir=.
3446    for ac_exec_ext in '' $ac_executable_extensions; do
3447  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3448    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3449    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3450    break 2
3451  fi
3452done
3453  done
3454IFS=$as_save_IFS
3455
3456fi
3457fi
3458CC=$ac_cv_prog_CC
3459if test -n "$CC"; then
3460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3461$as_echo "$CC" >&6; }
3462else
3463  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3464$as_echo "no" >&6; }
3465fi
3466
3467
3468    test -n "$CC" && break
3469  done
3470fi
3471if test -z "$CC"; then
3472  ac_ct_CC=$CC
3473  for ac_prog in cl.exe
3474do
3475  # Extract the first word of "$ac_prog", so it can be a program name with args.
3476set dummy $ac_prog; ac_word=$2
3477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3478$as_echo_n "checking for $ac_word... " >&6; }
3479if ${ac_cv_prog_ac_ct_CC+:} false; then :
3480  $as_echo_n "(cached) " >&6
3481else
3482  if test -n "$ac_ct_CC"; then
3483  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3484else
3485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3486for as_dir in $PATH
3487do
3488  IFS=$as_save_IFS
3489  test -z "$as_dir" && as_dir=.
3490    for ac_exec_ext in '' $ac_executable_extensions; do
3491  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3492    ac_cv_prog_ac_ct_CC="$ac_prog"
3493    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494    break 2
3495  fi
3496done
3497  done
3498IFS=$as_save_IFS
3499
3500fi
3501fi
3502ac_ct_CC=$ac_cv_prog_ac_ct_CC
3503if test -n "$ac_ct_CC"; then
3504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3505$as_echo "$ac_ct_CC" >&6; }
3506else
3507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3508$as_echo "no" >&6; }
3509fi
3510
3511
3512  test -n "$ac_ct_CC" && break
3513done
3514
3515  if test "x$ac_ct_CC" = x; then
3516    CC=""
3517  else
3518    case $cross_compiling:$ac_tool_warned in
3519yes:)
3520{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3521$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3522ac_tool_warned=yes ;;
3523esac
3524    CC=$ac_ct_CC
3525  fi
3526fi
3527
3528fi
3529
3530
3531test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3532$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3533as_fn_error $? "no acceptable C compiler found in \$PATH
3534See \`config.log' for more details" "$LINENO" 5; }
3535
3536# Provide some information about the compiler.
3537$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3538set X $ac_compile
3539ac_compiler=$2
3540for ac_option in --version -v -V -qversion; do
3541  { { ac_try="$ac_compiler $ac_option >&5"
3542case "(($ac_try" in
3543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544  *) ac_try_echo=$ac_try;;
3545esac
3546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547$as_echo "$ac_try_echo"; } >&5
3548  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3549  ac_status=$?
3550  if test -s conftest.err; then
3551    sed '10a\
3552... rest of stderr output deleted ...
3553         10q' conftest.err >conftest.er1
3554    cat conftest.er1 >&5
3555  fi
3556  rm -f conftest.er1 conftest.err
3557  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3558  test $ac_status = 0; }
3559done
3560
3561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3562/* end confdefs.h.  */
3563
3564int
3565main ()
3566{
3567
3568  ;
3569  return 0;
3570}
3571_ACEOF
3572ac_clean_files_save=$ac_clean_files
3573ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3574# Try to create an executable without -o first, disregard a.out.
3575# It will help us diagnose broken compilers, and finding out an intuition
3576# of exeext.
3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3578$as_echo_n "checking whether the C compiler works... " >&6; }
3579ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3580
3581# The possible output files:
3582ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3583
3584ac_rmfiles=
3585for ac_file in $ac_files
3586do
3587  case $ac_file in
3588    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3589    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3590  esac
3591done
3592rm -f $ac_rmfiles
3593
3594if { { ac_try="$ac_link_default"
3595case "(($ac_try" in
3596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597  *) ac_try_echo=$ac_try;;
3598esac
3599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3600$as_echo "$ac_try_echo"; } >&5
3601  (eval "$ac_link_default") 2>&5
3602  ac_status=$?
3603  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604  test $ac_status = 0; }; then :
3605  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3606# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3607# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3608# so that the user can short-circuit this test for compilers unknown to
3609# Autoconf.
3610for ac_file in $ac_files ''
3611do
3612  test -f "$ac_file" || continue
3613  case $ac_file in
3614    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3615	;;
3616    [ab].out )
3617	# We found the default executable, but exeext='' is most
3618	# certainly right.
3619	break;;
3620    *.* )
3621	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3622	then :; else
3623	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3624	fi
3625	# We set ac_cv_exeext here because the later test for it is not
3626	# safe: cross compilers may not add the suffix if given an `-o'
3627	# argument, so we may need to know it at that point already.
3628	# Even if this section looks crufty: it has the advantage of
3629	# actually working.
3630	break;;
3631    * )
3632	break;;
3633  esac
3634done
3635test "$ac_cv_exeext" = no && ac_cv_exeext=
3636
3637else
3638  ac_file=''
3639fi
3640if test -z "$ac_file"; then :
3641  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642$as_echo "no" >&6; }
3643$as_echo "$as_me: failed program was:" >&5
3644sed 's/^/| /' conftest.$ac_ext >&5
3645
3646{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3647$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3648as_fn_error 77 "C compiler cannot create executables
3649See \`config.log' for more details" "$LINENO" 5; }
3650else
3651  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3652$as_echo "yes" >&6; }
3653fi
3654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3655$as_echo_n "checking for C compiler default output file name... " >&6; }
3656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3657$as_echo "$ac_file" >&6; }
3658ac_exeext=$ac_cv_exeext
3659
3660rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3661ac_clean_files=$ac_clean_files_save
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3663$as_echo_n "checking for suffix of executables... " >&6; }
3664if { { ac_try="$ac_link"
3665case "(($ac_try" in
3666  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3667  *) ac_try_echo=$ac_try;;
3668esac
3669eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3670$as_echo "$ac_try_echo"; } >&5
3671  (eval "$ac_link") 2>&5
3672  ac_status=$?
3673  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3674  test $ac_status = 0; }; then :
3675  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3676# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3677# work properly (i.e., refer to `conftest.exe'), while it won't with
3678# `rm'.
3679for ac_file in conftest.exe conftest conftest.*; do
3680  test -f "$ac_file" || continue
3681  case $ac_file in
3682    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3683    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3684	  break;;
3685    * ) break;;
3686  esac
3687done
3688else
3689  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3690$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3691as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3692See \`config.log' for more details" "$LINENO" 5; }
3693fi
3694rm -f conftest conftest$ac_cv_exeext
3695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3696$as_echo "$ac_cv_exeext" >&6; }
3697
3698rm -f conftest.$ac_ext
3699EXEEXT=$ac_cv_exeext
3700ac_exeext=$EXEEXT
3701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3702/* end confdefs.h.  */
3703#include <stdio.h>
3704int
3705main ()
3706{
3707FILE *f = fopen ("conftest.out", "w");
3708 return ferror (f) || fclose (f) != 0;
3709
3710  ;
3711  return 0;
3712}
3713_ACEOF
3714ac_clean_files="$ac_clean_files conftest.out"
3715# Check that the compiler produces executables we can run.  If not, either
3716# the compiler is broken, or we cross compile.
3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3718$as_echo_n "checking whether we are cross compiling... " >&6; }
3719if test "$cross_compiling" != yes; then
3720  { { ac_try="$ac_link"
3721case "(($ac_try" in
3722  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3723  *) ac_try_echo=$ac_try;;
3724esac
3725eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3726$as_echo "$ac_try_echo"; } >&5
3727  (eval "$ac_link") 2>&5
3728  ac_status=$?
3729  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3730  test $ac_status = 0; }
3731  if { ac_try='./conftest$ac_cv_exeext'
3732  { { case "(($ac_try" in
3733  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3734  *) ac_try_echo=$ac_try;;
3735esac
3736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3737$as_echo "$ac_try_echo"; } >&5
3738  (eval "$ac_try") 2>&5
3739  ac_status=$?
3740  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3741  test $ac_status = 0; }; }; then
3742    cross_compiling=no
3743  else
3744    if test "$cross_compiling" = maybe; then
3745	cross_compiling=yes
3746    else
3747	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3748$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3749as_fn_error $? "cannot run C compiled programs.
3750If you meant to cross compile, use \`--host'.
3751See \`config.log' for more details" "$LINENO" 5; }
3752    fi
3753  fi
3754fi
3755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3756$as_echo "$cross_compiling" >&6; }
3757
3758rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3759ac_clean_files=$ac_clean_files_save
3760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3761$as_echo_n "checking for suffix of object files... " >&6; }
3762if ${ac_cv_objext+:} false; then :
3763  $as_echo_n "(cached) " >&6
3764else
3765  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3766/* end confdefs.h.  */
3767
3768int
3769main ()
3770{
3771
3772  ;
3773  return 0;
3774}
3775_ACEOF
3776rm -f conftest.o conftest.obj
3777if { { ac_try="$ac_compile"
3778case "(($ac_try" in
3779  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780  *) ac_try_echo=$ac_try;;
3781esac
3782eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783$as_echo "$ac_try_echo"; } >&5
3784  (eval "$ac_compile") 2>&5
3785  ac_status=$?
3786  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787  test $ac_status = 0; }; then :
3788  for ac_file in conftest.o conftest.obj conftest.*; do
3789  test -f "$ac_file" || continue;
3790  case $ac_file in
3791    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3792    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3793       break;;
3794  esac
3795done
3796else
3797  $as_echo "$as_me: failed program was:" >&5
3798sed 's/^/| /' conftest.$ac_ext >&5
3799
3800{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3801$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3802as_fn_error $? "cannot compute suffix of object files: cannot compile
3803See \`config.log' for more details" "$LINENO" 5; }
3804fi
3805rm -f conftest.$ac_cv_objext conftest.$ac_ext
3806fi
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3808$as_echo "$ac_cv_objext" >&6; }
3809OBJEXT=$ac_cv_objext
3810ac_objext=$OBJEXT
3811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3812$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3813if ${ac_cv_c_compiler_gnu+:} false; then :
3814  $as_echo_n "(cached) " >&6
3815else
3816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3817/* end confdefs.h.  */
3818
3819int
3820main ()
3821{
3822#ifndef __GNUC__
3823       choke me
3824#endif
3825
3826  ;
3827  return 0;
3828}
3829_ACEOF
3830if ac_fn_c_try_compile "$LINENO"; then :
3831  ac_compiler_gnu=yes
3832else
3833  ac_compiler_gnu=no
3834fi
3835rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3836ac_cv_c_compiler_gnu=$ac_compiler_gnu
3837
3838fi
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3840$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3841if test $ac_compiler_gnu = yes; then
3842  GCC=yes
3843else
3844  GCC=
3845fi
3846ac_test_CFLAGS=${CFLAGS+set}
3847ac_save_CFLAGS=$CFLAGS
3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3849$as_echo_n "checking whether $CC accepts -g... " >&6; }
3850if ${ac_cv_prog_cc_g+:} false; then :
3851  $as_echo_n "(cached) " >&6
3852else
3853  ac_save_c_werror_flag=$ac_c_werror_flag
3854   ac_c_werror_flag=yes
3855   ac_cv_prog_cc_g=no
3856   CFLAGS="-g"
3857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3858/* end confdefs.h.  */
3859
3860int
3861main ()
3862{
3863
3864  ;
3865  return 0;
3866}
3867_ACEOF
3868if ac_fn_c_try_compile "$LINENO"; then :
3869  ac_cv_prog_cc_g=yes
3870else
3871  CFLAGS=""
3872      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873/* end confdefs.h.  */
3874
3875int
3876main ()
3877{
3878
3879  ;
3880  return 0;
3881}
3882_ACEOF
3883if ac_fn_c_try_compile "$LINENO"; then :
3884
3885else
3886  ac_c_werror_flag=$ac_save_c_werror_flag
3887	 CFLAGS="-g"
3888	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3889/* end confdefs.h.  */
3890
3891int
3892main ()
3893{
3894
3895  ;
3896  return 0;
3897}
3898_ACEOF
3899if ac_fn_c_try_compile "$LINENO"; then :
3900  ac_cv_prog_cc_g=yes
3901fi
3902rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3903fi
3904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3905fi
3906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3907   ac_c_werror_flag=$ac_save_c_werror_flag
3908fi
3909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3910$as_echo "$ac_cv_prog_cc_g" >&6; }
3911if test "$ac_test_CFLAGS" = set; then
3912  CFLAGS=$ac_save_CFLAGS
3913elif test $ac_cv_prog_cc_g = yes; then
3914  if test "$GCC" = yes; then
3915    CFLAGS="-g -O2"
3916  else
3917    CFLAGS="-g"
3918  fi
3919else
3920  if test "$GCC" = yes; then
3921    CFLAGS="-O2"
3922  else
3923    CFLAGS=
3924  fi
3925fi
3926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3927$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3928if ${ac_cv_prog_cc_c89+:} false; then :
3929  $as_echo_n "(cached) " >&6
3930else
3931  ac_cv_prog_cc_c89=no
3932ac_save_CC=$CC
3933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934/* end confdefs.h.  */
3935#include <stdarg.h>
3936#include <stdio.h>
3937struct stat;
3938/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3939struct buf { int x; };
3940FILE * (*rcsopen) (struct buf *, struct stat *, int);
3941static char *e (p, i)
3942     char **p;
3943     int i;
3944{
3945  return p[i];
3946}
3947static char *f (char * (*g) (char **, int), char **p, ...)
3948{
3949  char *s;
3950  va_list v;
3951  va_start (v,p);
3952  s = g (p, va_arg (v,int));
3953  va_end (v);
3954  return s;
3955}
3956
3957/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3958   function prototypes and stuff, but not '\xHH' hex character constants.
3959   These don't provoke an error unfortunately, instead are silently treated
3960   as 'x'.  The following induces an error, until -std is added to get
3961   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3962   array size at least.  It's necessary to write '\x00'==0 to get something
3963   that's true only with -std.  */
3964int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3965
3966/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3967   inside strings and character constants.  */
3968#define FOO(x) 'x'
3969int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3970
3971int test (int i, double x);
3972struct s1 {int (*f) (int a);};
3973struct s2 {int (*f) (double a);};
3974int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3975int argc;
3976char **argv;
3977int
3978main ()
3979{
3980return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3981  ;
3982  return 0;
3983}
3984_ACEOF
3985for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3986	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3987do
3988  CC="$ac_save_CC $ac_arg"
3989  if ac_fn_c_try_compile "$LINENO"; then :
3990  ac_cv_prog_cc_c89=$ac_arg
3991fi
3992rm -f core conftest.err conftest.$ac_objext
3993  test "x$ac_cv_prog_cc_c89" != "xno" && break
3994done
3995rm -f conftest.$ac_ext
3996CC=$ac_save_CC
3997
3998fi
3999# AC_CACHE_VAL
4000case "x$ac_cv_prog_cc_c89" in
4001  x)
4002    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4003$as_echo "none needed" >&6; } ;;
4004  xno)
4005    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4006$as_echo "unsupported" >&6; } ;;
4007  *)
4008    CC="$CC $ac_cv_prog_cc_c89"
4009    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4010$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4011esac
4012if test "x$ac_cv_prog_cc_c89" != xno; then :
4013
4014fi
4015
4016ac_ext=c
4017ac_cpp='$CPP $CPPFLAGS'
4018ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4019ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4020ac_compiler_gnu=$ac_cv_c_compiler_gnu
4021
4022ac_ext=c
4023ac_cpp='$CPP $CPPFLAGS'
4024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4028$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4029if ${am_cv_prog_cc_c_o+:} false; then :
4030  $as_echo_n "(cached) " >&6
4031else
4032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4033/* end confdefs.h.  */
4034
4035int
4036main ()
4037{
4038
4039  ;
4040  return 0;
4041}
4042_ACEOF
4043  # Make sure it works both with $CC and with simple cc.
4044  # Following AC_PROG_CC_C_O, we do the test twice because some
4045  # compilers refuse to overwrite an existing .o file with -o,
4046  # though they will create one.
4047  am_cv_prog_cc_c_o=yes
4048  for am_i in 1 2; do
4049    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4050   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4051   ac_status=$?
4052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4053   (exit $ac_status); } \
4054         && test -f conftest2.$ac_objext; then
4055      : OK
4056    else
4057      am_cv_prog_cc_c_o=no
4058      break
4059    fi
4060  done
4061  rm -f core conftest*
4062  unset am_i
4063fi
4064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4065$as_echo "$am_cv_prog_cc_c_o" >&6; }
4066if test "$am_cv_prog_cc_c_o" != yes; then
4067   # Losing compiler, so override with the script.
4068   # FIXME: It is wrong to rewrite CC.
4069   # But if we don't then we get into trouble of one sort or another.
4070   # A longer-term fix would be to have automake use am__CC in this case,
4071   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4072   CC="$am_aux_dir/compile $CC"
4073fi
4074ac_ext=c
4075ac_cpp='$CPP $CPPFLAGS'
4076ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4077ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4078ac_compiler_gnu=$ac_cv_c_compiler_gnu
4079
4080
4081depcc="$CC"   am_compiler_list=
4082
4083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4084$as_echo_n "checking dependency style of $depcc... " >&6; }
4085if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4086  $as_echo_n "(cached) " >&6
4087else
4088  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4089  # We make a subdir and do the tests there.  Otherwise we can end up
4090  # making bogus files that we don't know about and never remove.  For
4091  # instance it was reported that on HP-UX the gcc test will end up
4092  # making a dummy file named 'D' -- because '-MD' means "put the output
4093  # in D".
4094  rm -rf conftest.dir
4095  mkdir conftest.dir
4096  # Copy depcomp to subdir because otherwise we won't find it if we're
4097  # using a relative directory.
4098  cp "$am_depcomp" conftest.dir
4099  cd conftest.dir
4100  # We will build objects and dependencies in a subdirectory because
4101  # it helps to detect inapplicable dependency modes.  For instance
4102  # both Tru64's cc and ICC support -MD to output dependencies as a
4103  # side effect of compilation, but ICC will put the dependencies in
4104  # the current directory while Tru64 will put them in the object
4105  # directory.
4106  mkdir sub
4107
4108  am_cv_CC_dependencies_compiler_type=none
4109  if test "$am_compiler_list" = ""; then
4110     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4111  fi
4112  am__universal=false
4113  case " $depcc " in #(
4114     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4115     esac
4116
4117  for depmode in $am_compiler_list; do
4118    # Setup a source with many dependencies, because some compilers
4119    # like to wrap large dependency lists on column 80 (with \), and
4120    # we should not choose a depcomp mode which is confused by this.
4121    #
4122    # We need to recreate these files for each test, as the compiler may
4123    # overwrite some of them when testing with obscure command lines.
4124    # This happens at least with the AIX C compiler.
4125    : > sub/conftest.c
4126    for i in 1 2 3 4 5 6; do
4127      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4128      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4129      # Solaris 10 /bin/sh.
4130      echo '/* dummy */' > sub/conftst$i.h
4131    done
4132    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4133
4134    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4135    # mode.  It turns out that the SunPro C++ compiler does not properly
4136    # handle '-M -o', and we need to detect this.  Also, some Intel
4137    # versions had trouble with output in subdirs.
4138    am__obj=sub/conftest.${OBJEXT-o}
4139    am__minus_obj="-o $am__obj"
4140    case $depmode in
4141    gcc)
4142      # This depmode causes a compiler race in universal mode.
4143      test "$am__universal" = false || continue
4144      ;;
4145    nosideeffect)
4146      # After this tag, mechanisms are not by side-effect, so they'll
4147      # only be used when explicitly requested.
4148      if test "x$enable_dependency_tracking" = xyes; then
4149	continue
4150      else
4151	break
4152      fi
4153      ;;
4154    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4155      # This compiler won't grok '-c -o', but also, the minuso test has
4156      # not run yet.  These depmodes are late enough in the game, and
4157      # so weak that their functioning should not be impacted.
4158      am__obj=conftest.${OBJEXT-o}
4159      am__minus_obj=
4160      ;;
4161    none) break ;;
4162    esac
4163    if depmode=$depmode \
4164       source=sub/conftest.c object=$am__obj \
4165       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4166       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4167         >/dev/null 2>conftest.err &&
4168       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4169       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4170       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4171       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4172      # icc doesn't choke on unknown options, it will just issue warnings
4173      # or remarks (even with -Werror).  So we grep stderr for any message
4174      # that says an option was ignored or not supported.
4175      # When given -MP, icc 7.0 and 7.1 complain thusly:
4176      #   icc: Command line warning: ignoring option '-M'; no argument required
4177      # The diagnosis changed in icc 8.0:
4178      #   icc: Command line remark: option '-MP' not supported
4179      if (grep 'ignoring option' conftest.err ||
4180          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4181        am_cv_CC_dependencies_compiler_type=$depmode
4182        break
4183      fi
4184    fi
4185  done
4186
4187  cd ..
4188  rm -rf conftest.dir
4189else
4190  am_cv_CC_dependencies_compiler_type=none
4191fi
4192
4193fi
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4195$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4196CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4197
4198 if
4199  test "x$enable_dependency_tracking" != xno \
4200  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4201  am__fastdepCC_TRUE=
4202  am__fastdepCC_FALSE='#'
4203else
4204  am__fastdepCC_TRUE='#'
4205  am__fastdepCC_FALSE=
4206fi
4207
4208
4209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4210$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4211if ${ac_cv_path_SED+:} false; then :
4212  $as_echo_n "(cached) " >&6
4213else
4214            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4215     for ac_i in 1 2 3 4 5 6 7; do
4216       ac_script="$ac_script$as_nl$ac_script"
4217     done
4218     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4219     { ac_script=; unset ac_script;}
4220     if test -z "$SED"; then
4221  ac_path_SED_found=false
4222  # Loop through the user's path and test for each of PROGNAME-LIST
4223  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4224for as_dir in $PATH
4225do
4226  IFS=$as_save_IFS
4227  test -z "$as_dir" && as_dir=.
4228    for ac_prog in sed gsed; do
4229    for ac_exec_ext in '' $ac_executable_extensions; do
4230      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4231      as_fn_executable_p "$ac_path_SED" || continue
4232# Check for GNU ac_path_SED and select it if it is found.
4233  # Check for GNU $ac_path_SED
4234case `"$ac_path_SED" --version 2>&1` in
4235*GNU*)
4236  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4237*)
4238  ac_count=0
4239  $as_echo_n 0123456789 >"conftest.in"
4240  while :
4241  do
4242    cat "conftest.in" "conftest.in" >"conftest.tmp"
4243    mv "conftest.tmp" "conftest.in"
4244    cp "conftest.in" "conftest.nl"
4245    $as_echo '' >> "conftest.nl"
4246    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4247    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4248    as_fn_arith $ac_count + 1 && ac_count=$as_val
4249    if test $ac_count -gt ${ac_path_SED_max-0}; then
4250      # Best one so far, save it but keep looking for a better one
4251      ac_cv_path_SED="$ac_path_SED"
4252      ac_path_SED_max=$ac_count
4253    fi
4254    # 10*(2^10) chars as input seems more than enough
4255    test $ac_count -gt 10 && break
4256  done
4257  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4258esac
4259
4260      $ac_path_SED_found && break 3
4261    done
4262  done
4263  done
4264IFS=$as_save_IFS
4265  if test -z "$ac_cv_path_SED"; then
4266    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4267  fi
4268else
4269  ac_cv_path_SED=$SED
4270fi
4271
4272fi
4273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4274$as_echo "$ac_cv_path_SED" >&6; }
4275 SED="$ac_cv_path_SED"
4276  rm -f conftest.sed
4277
4278test -z "$SED" && SED=sed
4279Xsed="$SED -e 1s/^X//"
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4292$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4293if ${ac_cv_path_GREP+:} false; then :
4294  $as_echo_n "(cached) " >&6
4295else
4296  if test -z "$GREP"; then
4297  ac_path_GREP_found=false
4298  # Loop through the user's path and test for each of PROGNAME-LIST
4299  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4300for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4301do
4302  IFS=$as_save_IFS
4303  test -z "$as_dir" && as_dir=.
4304    for ac_prog in grep ggrep; do
4305    for ac_exec_ext in '' $ac_executable_extensions; do
4306      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4307      as_fn_executable_p "$ac_path_GREP" || continue
4308# Check for GNU ac_path_GREP and select it if it is found.
4309  # Check for GNU $ac_path_GREP
4310case `"$ac_path_GREP" --version 2>&1` in
4311*GNU*)
4312  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4313*)
4314  ac_count=0
4315  $as_echo_n 0123456789 >"conftest.in"
4316  while :
4317  do
4318    cat "conftest.in" "conftest.in" >"conftest.tmp"
4319    mv "conftest.tmp" "conftest.in"
4320    cp "conftest.in" "conftest.nl"
4321    $as_echo 'GREP' >> "conftest.nl"
4322    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4323    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4324    as_fn_arith $ac_count + 1 && ac_count=$as_val
4325    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4326      # Best one so far, save it but keep looking for a better one
4327      ac_cv_path_GREP="$ac_path_GREP"
4328      ac_path_GREP_max=$ac_count
4329    fi
4330    # 10*(2^10) chars as input seems more than enough
4331    test $ac_count -gt 10 && break
4332  done
4333  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4334esac
4335
4336      $ac_path_GREP_found && break 3
4337    done
4338  done
4339  done
4340IFS=$as_save_IFS
4341  if test -z "$ac_cv_path_GREP"; then
4342    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4343  fi
4344else
4345  ac_cv_path_GREP=$GREP
4346fi
4347
4348fi
4349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4350$as_echo "$ac_cv_path_GREP" >&6; }
4351 GREP="$ac_cv_path_GREP"
4352
4353
4354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4355$as_echo_n "checking for egrep... " >&6; }
4356if ${ac_cv_path_EGREP+:} false; then :
4357  $as_echo_n "(cached) " >&6
4358else
4359  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4360   then ac_cv_path_EGREP="$GREP -E"
4361   else
4362     if test -z "$EGREP"; then
4363  ac_path_EGREP_found=false
4364  # Loop through the user's path and test for each of PROGNAME-LIST
4365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4366for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4367do
4368  IFS=$as_save_IFS
4369  test -z "$as_dir" && as_dir=.
4370    for ac_prog in egrep; do
4371    for ac_exec_ext in '' $ac_executable_extensions; do
4372      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4373      as_fn_executable_p "$ac_path_EGREP" || continue
4374# Check for GNU ac_path_EGREP and select it if it is found.
4375  # Check for GNU $ac_path_EGREP
4376case `"$ac_path_EGREP" --version 2>&1` in
4377*GNU*)
4378  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4379*)
4380  ac_count=0
4381  $as_echo_n 0123456789 >"conftest.in"
4382  while :
4383  do
4384    cat "conftest.in" "conftest.in" >"conftest.tmp"
4385    mv "conftest.tmp" "conftest.in"
4386    cp "conftest.in" "conftest.nl"
4387    $as_echo 'EGREP' >> "conftest.nl"
4388    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4389    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4390    as_fn_arith $ac_count + 1 && ac_count=$as_val
4391    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4392      # Best one so far, save it but keep looking for a better one
4393      ac_cv_path_EGREP="$ac_path_EGREP"
4394      ac_path_EGREP_max=$ac_count
4395    fi
4396    # 10*(2^10) chars as input seems more than enough
4397    test $ac_count -gt 10 && break
4398  done
4399  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4400esac
4401
4402      $ac_path_EGREP_found && break 3
4403    done
4404  done
4405  done
4406IFS=$as_save_IFS
4407  if test -z "$ac_cv_path_EGREP"; then
4408    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4409  fi
4410else
4411  ac_cv_path_EGREP=$EGREP
4412fi
4413
4414   fi
4415fi
4416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4417$as_echo "$ac_cv_path_EGREP" >&6; }
4418 EGREP="$ac_cv_path_EGREP"
4419
4420
4421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4422$as_echo_n "checking for fgrep... " >&6; }
4423if ${ac_cv_path_FGREP+:} false; then :
4424  $as_echo_n "(cached) " >&6
4425else
4426  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4427   then ac_cv_path_FGREP="$GREP -F"
4428   else
4429     if test -z "$FGREP"; then
4430  ac_path_FGREP_found=false
4431  # Loop through the user's path and test for each of PROGNAME-LIST
4432  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4433for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4434do
4435  IFS=$as_save_IFS
4436  test -z "$as_dir" && as_dir=.
4437    for ac_prog in fgrep; do
4438    for ac_exec_ext in '' $ac_executable_extensions; do
4439      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4440      as_fn_executable_p "$ac_path_FGREP" || continue
4441# Check for GNU ac_path_FGREP and select it if it is found.
4442  # Check for GNU $ac_path_FGREP
4443case `"$ac_path_FGREP" --version 2>&1` in
4444*GNU*)
4445  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4446*)
4447  ac_count=0
4448  $as_echo_n 0123456789 >"conftest.in"
4449  while :
4450  do
4451    cat "conftest.in" "conftest.in" >"conftest.tmp"
4452    mv "conftest.tmp" "conftest.in"
4453    cp "conftest.in" "conftest.nl"
4454    $as_echo 'FGREP' >> "conftest.nl"
4455    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4456    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4457    as_fn_arith $ac_count + 1 && ac_count=$as_val
4458    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4459      # Best one so far, save it but keep looking for a better one
4460      ac_cv_path_FGREP="$ac_path_FGREP"
4461      ac_path_FGREP_max=$ac_count
4462    fi
4463    # 10*(2^10) chars as input seems more than enough
4464    test $ac_count -gt 10 && break
4465  done
4466  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4467esac
4468
4469      $ac_path_FGREP_found && break 3
4470    done
4471  done
4472  done
4473IFS=$as_save_IFS
4474  if test -z "$ac_cv_path_FGREP"; then
4475    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4476  fi
4477else
4478  ac_cv_path_FGREP=$FGREP
4479fi
4480
4481   fi
4482fi
4483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4484$as_echo "$ac_cv_path_FGREP" >&6; }
4485 FGREP="$ac_cv_path_FGREP"
4486
4487
4488test -z "$GREP" && GREP=grep
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508# Check whether --with-gnu-ld was given.
4509if test "${with_gnu_ld+set}" = set; then :
4510  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4511else
4512  with_gnu_ld=no
4513fi
4514
4515ac_prog=ld
4516if test yes = "$GCC"; then
4517  # Check if gcc -print-prog-name=ld gives a path.
4518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4519$as_echo_n "checking for ld used by $CC... " >&6; }
4520  case $host in
4521  *-*-mingw*)
4522    # gcc leaves a trailing carriage return, which upsets mingw
4523    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4524  *)
4525    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4526  esac
4527  case $ac_prog in
4528    # Accept absolute paths.
4529    [\\/]* | ?:[\\/]*)
4530      re_direlt='/[^/][^/]*/\.\./'
4531      # Canonicalize the pathname of ld
4532      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4533      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4534	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4535      done
4536      test -z "$LD" && LD=$ac_prog
4537      ;;
4538  "")
4539    # If it fails, then pretend we aren't using GCC.
4540    ac_prog=ld
4541    ;;
4542  *)
4543    # If it is relative, then search for the first ld in PATH.
4544    with_gnu_ld=unknown
4545    ;;
4546  esac
4547elif test yes = "$with_gnu_ld"; then
4548  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4549$as_echo_n "checking for GNU ld... " >&6; }
4550else
4551  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4552$as_echo_n "checking for non-GNU ld... " >&6; }
4553fi
4554if ${lt_cv_path_LD+:} false; then :
4555  $as_echo_n "(cached) " >&6
4556else
4557  if test -z "$LD"; then
4558  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4559  for ac_dir in $PATH; do
4560    IFS=$lt_save_ifs
4561    test -z "$ac_dir" && ac_dir=.
4562    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4563      lt_cv_path_LD=$ac_dir/$ac_prog
4564      # Check to see if the program is GNU ld.  I'd rather use --version,
4565      # but apparently some variants of GNU ld only accept -v.
4566      # Break only if it was the GNU/non-GNU ld that we prefer.
4567      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4568      *GNU* | *'with BFD'*)
4569	test no != "$with_gnu_ld" && break
4570	;;
4571      *)
4572	test yes != "$with_gnu_ld" && break
4573	;;
4574      esac
4575    fi
4576  done
4577  IFS=$lt_save_ifs
4578else
4579  lt_cv_path_LD=$LD # Let the user override the test with a path.
4580fi
4581fi
4582
4583LD=$lt_cv_path_LD
4584if test -n "$LD"; then
4585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4586$as_echo "$LD" >&6; }
4587else
4588  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4589$as_echo "no" >&6; }
4590fi
4591test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4593$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4594if ${lt_cv_prog_gnu_ld+:} false; then :
4595  $as_echo_n "(cached) " >&6
4596else
4597  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4598case `$LD -v 2>&1 </dev/null` in
4599*GNU* | *'with BFD'*)
4600  lt_cv_prog_gnu_ld=yes
4601  ;;
4602*)
4603  lt_cv_prog_gnu_ld=no
4604  ;;
4605esac
4606fi
4607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4608$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4609with_gnu_ld=$lt_cv_prog_gnu_ld
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4620$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4621if ${lt_cv_path_NM+:} false; then :
4622  $as_echo_n "(cached) " >&6
4623else
4624  if test -n "$NM"; then
4625  # Let the user override the test.
4626  lt_cv_path_NM=$NM
4627else
4628  lt_nm_to_check=${ac_tool_prefix}nm
4629  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4630    lt_nm_to_check="$lt_nm_to_check nm"
4631  fi
4632  for lt_tmp_nm in $lt_nm_to_check; do
4633    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4634    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4635      IFS=$lt_save_ifs
4636      test -z "$ac_dir" && ac_dir=.
4637      tmp_nm=$ac_dir/$lt_tmp_nm
4638      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4639	# Check to see if the nm accepts a BSD-compat flag.
4640	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4641	#   nm: unknown option "B" ignored
4642	# Tru64's nm complains that /dev/null is an invalid object file
4643	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4644	case $build_os in
4645	mingw*) lt_bad_file=conftest.nm/nofile ;;
4646	*) lt_bad_file=/dev/null ;;
4647	esac
4648	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4649	*$lt_bad_file* | *'Invalid file or object type'*)
4650	  lt_cv_path_NM="$tmp_nm -B"
4651	  break 2
4652	  ;;
4653	*)
4654	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4655	  */dev/null*)
4656	    lt_cv_path_NM="$tmp_nm -p"
4657	    break 2
4658	    ;;
4659	  *)
4660	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4661	    continue # so that we can try to find one that supports BSD flags
4662	    ;;
4663	  esac
4664	  ;;
4665	esac
4666      fi
4667    done
4668    IFS=$lt_save_ifs
4669  done
4670  : ${lt_cv_path_NM=no}
4671fi
4672fi
4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4674$as_echo "$lt_cv_path_NM" >&6; }
4675if test no != "$lt_cv_path_NM"; then
4676  NM=$lt_cv_path_NM
4677else
4678  # Didn't find any BSD compatible name lister, look for dumpbin.
4679  if test -n "$DUMPBIN"; then :
4680    # Let the user override the test.
4681  else
4682    if test -n "$ac_tool_prefix"; then
4683  for ac_prog in dumpbin "link -dump"
4684  do
4685    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4686set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688$as_echo_n "checking for $ac_word... " >&6; }
4689if ${ac_cv_prog_DUMPBIN+:} false; then :
4690  $as_echo_n "(cached) " >&6
4691else
4692  if test -n "$DUMPBIN"; then
4693  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4694else
4695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4696for as_dir in $PATH
4697do
4698  IFS=$as_save_IFS
4699  test -z "$as_dir" && as_dir=.
4700    for ac_exec_ext in '' $ac_executable_extensions; do
4701  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4702    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4704    break 2
4705  fi
4706done
4707  done
4708IFS=$as_save_IFS
4709
4710fi
4711fi
4712DUMPBIN=$ac_cv_prog_DUMPBIN
4713if test -n "$DUMPBIN"; then
4714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4715$as_echo "$DUMPBIN" >&6; }
4716else
4717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718$as_echo "no" >&6; }
4719fi
4720
4721
4722    test -n "$DUMPBIN" && break
4723  done
4724fi
4725if test -z "$DUMPBIN"; then
4726  ac_ct_DUMPBIN=$DUMPBIN
4727  for ac_prog in dumpbin "link -dump"
4728do
4729  # Extract the first word of "$ac_prog", so it can be a program name with args.
4730set dummy $ac_prog; ac_word=$2
4731{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732$as_echo_n "checking for $ac_word... " >&6; }
4733if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4734  $as_echo_n "(cached) " >&6
4735else
4736  if test -n "$ac_ct_DUMPBIN"; then
4737  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4738else
4739as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740for as_dir in $PATH
4741do
4742  IFS=$as_save_IFS
4743  test -z "$as_dir" && as_dir=.
4744    for ac_exec_ext in '' $ac_executable_extensions; do
4745  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4746    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4747    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4748    break 2
4749  fi
4750done
4751  done
4752IFS=$as_save_IFS
4753
4754fi
4755fi
4756ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4757if test -n "$ac_ct_DUMPBIN"; then
4758  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4759$as_echo "$ac_ct_DUMPBIN" >&6; }
4760else
4761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762$as_echo "no" >&6; }
4763fi
4764
4765
4766  test -n "$ac_ct_DUMPBIN" && break
4767done
4768
4769  if test "x$ac_ct_DUMPBIN" = x; then
4770    DUMPBIN=":"
4771  else
4772    case $cross_compiling:$ac_tool_warned in
4773yes:)
4774{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4775$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4776ac_tool_warned=yes ;;
4777esac
4778    DUMPBIN=$ac_ct_DUMPBIN
4779  fi
4780fi
4781
4782    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4783    *COFF*)
4784      DUMPBIN="$DUMPBIN -symbols -headers"
4785      ;;
4786    *)
4787      DUMPBIN=:
4788      ;;
4789    esac
4790  fi
4791
4792  if test : != "$DUMPBIN"; then
4793    NM=$DUMPBIN
4794  fi
4795fi
4796test -z "$NM" && NM=nm
4797
4798
4799
4800
4801
4802
4803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4804$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4805if ${lt_cv_nm_interface+:} false; then :
4806  $as_echo_n "(cached) " >&6
4807else
4808  lt_cv_nm_interface="BSD nm"
4809  echo "int some_variable = 0;" > conftest.$ac_ext
4810  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4811  (eval "$ac_compile" 2>conftest.err)
4812  cat conftest.err >&5
4813  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4814  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4815  cat conftest.err >&5
4816  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4817  cat conftest.out >&5
4818  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4819    lt_cv_nm_interface="MS dumpbin"
4820  fi
4821  rm -f conftest*
4822fi
4823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4824$as_echo "$lt_cv_nm_interface" >&6; }
4825
4826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4827$as_echo_n "checking whether ln -s works... " >&6; }
4828LN_S=$as_ln_s
4829if test "$LN_S" = "ln -s"; then
4830  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4831$as_echo "yes" >&6; }
4832else
4833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4834$as_echo "no, using $LN_S" >&6; }
4835fi
4836
4837# find the maximum length of command line arguments
4838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4839$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4840if ${lt_cv_sys_max_cmd_len+:} false; then :
4841  $as_echo_n "(cached) " >&6
4842else
4843    i=0
4844  teststring=ABCD
4845
4846  case $build_os in
4847  msdosdjgpp*)
4848    # On DJGPP, this test can blow up pretty badly due to problems in libc
4849    # (any single argument exceeding 2000 bytes causes a buffer overrun
4850    # during glob expansion).  Even if it were fixed, the result of this
4851    # check would be larger than it should be.
4852    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4853    ;;
4854
4855  gnu*)
4856    # Under GNU Hurd, this test is not required because there is
4857    # no limit to the length of command line arguments.
4858    # Libtool will interpret -1 as no limit whatsoever
4859    lt_cv_sys_max_cmd_len=-1;
4860    ;;
4861
4862  cygwin* | mingw* | cegcc*)
4863    # On Win9x/ME, this test blows up -- it succeeds, but takes
4864    # about 5 minutes as the teststring grows exponentially.
4865    # Worse, since 9x/ME are not pre-emptively multitasking,
4866    # you end up with a "frozen" computer, even though with patience
4867    # the test eventually succeeds (with a max line length of 256k).
4868    # Instead, let's just punt: use the minimum linelength reported by
4869    # all of the supported platforms: 8192 (on NT/2K/XP).
4870    lt_cv_sys_max_cmd_len=8192;
4871    ;;
4872
4873  mint*)
4874    # On MiNT this can take a long time and run out of memory.
4875    lt_cv_sys_max_cmd_len=8192;
4876    ;;
4877
4878  amigaos*)
4879    # On AmigaOS with pdksh, this test takes hours, literally.
4880    # So we just punt and use a minimum line length of 8192.
4881    lt_cv_sys_max_cmd_len=8192;
4882    ;;
4883
4884  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4885    # This has been around since 386BSD, at least.  Likely further.
4886    if test -x /sbin/sysctl; then
4887      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4888    elif test -x /usr/sbin/sysctl; then
4889      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4890    else
4891      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4892    fi
4893    # And add a safety zone
4894    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4895    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4896    ;;
4897
4898  interix*)
4899    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4900    lt_cv_sys_max_cmd_len=196608
4901    ;;
4902
4903  os2*)
4904    # The test takes a long time on OS/2.
4905    lt_cv_sys_max_cmd_len=8192
4906    ;;
4907
4908  osf*)
4909    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4910    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4911    # nice to cause kernel panics so lets avoid the loop below.
4912    # First set a reasonable default.
4913    lt_cv_sys_max_cmd_len=16384
4914    #
4915    if test -x /sbin/sysconfig; then
4916      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4917        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4918      esac
4919    fi
4920    ;;
4921  sco3.2v5*)
4922    lt_cv_sys_max_cmd_len=102400
4923    ;;
4924  sysv5* | sco5v6* | sysv4.2uw2*)
4925    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4926    if test -n "$kargmax"; then
4927      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4928    else
4929      lt_cv_sys_max_cmd_len=32768
4930    fi
4931    ;;
4932  *)
4933    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4934    if test -n "$lt_cv_sys_max_cmd_len" && \
4935       test undefined != "$lt_cv_sys_max_cmd_len"; then
4936      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4937      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4938    else
4939      # Make teststring a little bigger before we do anything with it.
4940      # a 1K string should be a reasonable start.
4941      for i in 1 2 3 4 5 6 7 8; do
4942        teststring=$teststring$teststring
4943      done
4944      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4945      # If test is not a shell built-in, we'll probably end up computing a
4946      # maximum length that is only half of the actual maximum length, but
4947      # we can't tell.
4948      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4949	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4950	      test 17 != "$i" # 1/2 MB should be enough
4951      do
4952        i=`expr $i + 1`
4953        teststring=$teststring$teststring
4954      done
4955      # Only check the string length outside the loop.
4956      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4957      teststring=
4958      # Add a significant safety factor because C++ compilers can tack on
4959      # massive amounts of additional arguments before passing them to the
4960      # linker.  It appears as though 1/2 is a usable value.
4961      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4962    fi
4963    ;;
4964  esac
4965
4966fi
4967
4968if test -n "$lt_cv_sys_max_cmd_len"; then
4969  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4970$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4971else
4972  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4973$as_echo "none" >&6; }
4974fi
4975max_cmd_len=$lt_cv_sys_max_cmd_len
4976
4977
4978
4979
4980
4981
4982: ${CP="cp -f"}
4983: ${MV="mv -f"}
4984: ${RM="rm -f"}
4985
4986if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4987  lt_unset=unset
4988else
4989  lt_unset=false
4990fi
4991
4992
4993
4994
4995
4996# test EBCDIC or ASCII
4997case `echo X|tr X '\101'` in
4998 A) # ASCII based system
4999    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5000  lt_SP2NL='tr \040 \012'
5001  lt_NL2SP='tr \015\012 \040\040'
5002  ;;
5003 *) # EBCDIC based system
5004  lt_SP2NL='tr \100 \n'
5005  lt_NL2SP='tr \r\n \100\100'
5006  ;;
5007esac
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5018$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5019if ${lt_cv_to_host_file_cmd+:} false; then :
5020  $as_echo_n "(cached) " >&6
5021else
5022  case $host in
5023  *-*-mingw* )
5024    case $build in
5025      *-*-mingw* ) # actually msys
5026        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5027        ;;
5028      *-*-cygwin* )
5029        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5030        ;;
5031      * ) # otherwise, assume *nix
5032        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5033        ;;
5034    esac
5035    ;;
5036  *-*-cygwin* )
5037    case $build in
5038      *-*-mingw* ) # actually msys
5039        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5040        ;;
5041      *-*-cygwin* )
5042        lt_cv_to_host_file_cmd=func_convert_file_noop
5043        ;;
5044      * ) # otherwise, assume *nix
5045        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5046        ;;
5047    esac
5048    ;;
5049  * ) # unhandled hosts (and "normal" native builds)
5050    lt_cv_to_host_file_cmd=func_convert_file_noop
5051    ;;
5052esac
5053
5054fi
5055
5056to_host_file_cmd=$lt_cv_to_host_file_cmd
5057{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5058$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5059
5060
5061
5062
5063
5064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5065$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5066if ${lt_cv_to_tool_file_cmd+:} false; then :
5067  $as_echo_n "(cached) " >&6
5068else
5069  #assume ordinary cross tools, or native build.
5070lt_cv_to_tool_file_cmd=func_convert_file_noop
5071case $host in
5072  *-*-mingw* )
5073    case $build in
5074      *-*-mingw* ) # actually msys
5075        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5076        ;;
5077    esac
5078    ;;
5079esac
5080
5081fi
5082
5083to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5085$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5086
5087
5088
5089
5090
5091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5092$as_echo_n "checking for $LD option to reload object files... " >&6; }
5093if ${lt_cv_ld_reload_flag+:} false; then :
5094  $as_echo_n "(cached) " >&6
5095else
5096  lt_cv_ld_reload_flag='-r'
5097fi
5098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5099$as_echo "$lt_cv_ld_reload_flag" >&6; }
5100reload_flag=$lt_cv_ld_reload_flag
5101case $reload_flag in
5102"" | " "*) ;;
5103*) reload_flag=" $reload_flag" ;;
5104esac
5105reload_cmds='$LD$reload_flag -o $output$reload_objs'
5106case $host_os in
5107  cygwin* | mingw* | pw32* | cegcc*)
5108    if test yes != "$GCC"; then
5109      reload_cmds=false
5110    fi
5111    ;;
5112  darwin*)
5113    if test yes = "$GCC"; then
5114      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5115    else
5116      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5117    fi
5118    ;;
5119esac
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129if test -n "$ac_tool_prefix"; then
5130  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5131set dummy ${ac_tool_prefix}objdump; ac_word=$2
5132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133$as_echo_n "checking for $ac_word... " >&6; }
5134if ${ac_cv_prog_OBJDUMP+:} false; then :
5135  $as_echo_n "(cached) " >&6
5136else
5137  if test -n "$OBJDUMP"; then
5138  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5139else
5140as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141for as_dir in $PATH
5142do
5143  IFS=$as_save_IFS
5144  test -z "$as_dir" && as_dir=.
5145    for ac_exec_ext in '' $ac_executable_extensions; do
5146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149    break 2
5150  fi
5151done
5152  done
5153IFS=$as_save_IFS
5154
5155fi
5156fi
5157OBJDUMP=$ac_cv_prog_OBJDUMP
5158if test -n "$OBJDUMP"; then
5159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5160$as_echo "$OBJDUMP" >&6; }
5161else
5162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163$as_echo "no" >&6; }
5164fi
5165
5166
5167fi
5168if test -z "$ac_cv_prog_OBJDUMP"; then
5169  ac_ct_OBJDUMP=$OBJDUMP
5170  # Extract the first word of "objdump", so it can be a program name with args.
5171set dummy objdump; ac_word=$2
5172{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5173$as_echo_n "checking for $ac_word... " >&6; }
5174if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5175  $as_echo_n "(cached) " >&6
5176else
5177  if test -n "$ac_ct_OBJDUMP"; then
5178  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5179else
5180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5181for as_dir in $PATH
5182do
5183  IFS=$as_save_IFS
5184  test -z "$as_dir" && as_dir=.
5185    for ac_exec_ext in '' $ac_executable_extensions; do
5186  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5188    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5189    break 2
5190  fi
5191done
5192  done
5193IFS=$as_save_IFS
5194
5195fi
5196fi
5197ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5198if test -n "$ac_ct_OBJDUMP"; then
5199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5200$as_echo "$ac_ct_OBJDUMP" >&6; }
5201else
5202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5203$as_echo "no" >&6; }
5204fi
5205
5206  if test "x$ac_ct_OBJDUMP" = x; then
5207    OBJDUMP="false"
5208  else
5209    case $cross_compiling:$ac_tool_warned in
5210yes:)
5211{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5212$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5213ac_tool_warned=yes ;;
5214esac
5215    OBJDUMP=$ac_ct_OBJDUMP
5216  fi
5217else
5218  OBJDUMP="$ac_cv_prog_OBJDUMP"
5219fi
5220
5221test -z "$OBJDUMP" && OBJDUMP=objdump
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5232$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5233if ${lt_cv_deplibs_check_method+:} false; then :
5234  $as_echo_n "(cached) " >&6
5235else
5236  lt_cv_file_magic_cmd='$MAGIC_CMD'
5237lt_cv_file_magic_test_file=
5238lt_cv_deplibs_check_method='unknown'
5239# Need to set the preceding variable on all platforms that support
5240# interlibrary dependencies.
5241# 'none' -- dependencies not supported.
5242# 'unknown' -- same as none, but documents that we really don't know.
5243# 'pass_all' -- all dependencies passed with no checks.
5244# 'test_compile' -- check by making test program.
5245# 'file_magic [[regex]]' -- check by looking for files in library path
5246# that responds to the $file_magic_cmd with a given extended regex.
5247# If you have 'file' or equivalent on your system and you're not sure
5248# whether 'pass_all' will *always* work, you probably want this one.
5249
5250case $host_os in
5251aix[4-9]*)
5252  lt_cv_deplibs_check_method=pass_all
5253  ;;
5254
5255beos*)
5256  lt_cv_deplibs_check_method=pass_all
5257  ;;
5258
5259bsdi[45]*)
5260  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5261  lt_cv_file_magic_cmd='/usr/bin/file -L'
5262  lt_cv_file_magic_test_file=/shlib/libc.so
5263  ;;
5264
5265cygwin*)
5266  # func_win32_libid is a shell function defined in ltmain.sh
5267  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5268  lt_cv_file_magic_cmd='func_win32_libid'
5269  ;;
5270
5271mingw* | pw32*)
5272  # Base MSYS/MinGW do not provide the 'file' command needed by
5273  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5274  # unless we find 'file', for example because we are cross-compiling.
5275  if ( file / ) >/dev/null 2>&1; then
5276    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5277    lt_cv_file_magic_cmd='func_win32_libid'
5278  else
5279    # Keep this pattern in sync with the one in func_win32_libid.
5280    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5281    lt_cv_file_magic_cmd='$OBJDUMP -f'
5282  fi
5283  ;;
5284
5285cegcc*)
5286  # use the weaker test based on 'objdump'. See mingw*.
5287  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5288  lt_cv_file_magic_cmd='$OBJDUMP -f'
5289  ;;
5290
5291darwin* | rhapsody*)
5292  lt_cv_deplibs_check_method=pass_all
5293  ;;
5294
5295freebsd* | dragonfly*)
5296  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5297    case $host_cpu in
5298    i*86 )
5299      # Not sure whether the presence of OpenBSD here was a mistake.
5300      # Let's accept both of them until this is cleared up.
5301      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5302      lt_cv_file_magic_cmd=/usr/bin/file
5303      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5304      ;;
5305    esac
5306  else
5307    lt_cv_deplibs_check_method=pass_all
5308  fi
5309  ;;
5310
5311haiku*)
5312  lt_cv_deplibs_check_method=pass_all
5313  ;;
5314
5315hpux10.20* | hpux11*)
5316  lt_cv_file_magic_cmd=/usr/bin/file
5317  case $host_cpu in
5318  ia64*)
5319    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5320    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5321    ;;
5322  hppa*64*)
5323    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]'
5324    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5325    ;;
5326  *)
5327    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5328    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5329    ;;
5330  esac
5331  ;;
5332
5333interix[3-9]*)
5334  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5335  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5336  ;;
5337
5338irix5* | irix6* | nonstopux*)
5339  case $LD in
5340  *-32|*"-32 ") libmagic=32-bit;;
5341  *-n32|*"-n32 ") libmagic=N32;;
5342  *-64|*"-64 ") libmagic=64-bit;;
5343  *) libmagic=never-match;;
5344  esac
5345  lt_cv_deplibs_check_method=pass_all
5346  ;;
5347
5348# This must be glibc/ELF.
5349linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5350  lt_cv_deplibs_check_method=pass_all
5351  ;;
5352
5353netbsd* | netbsdelf*-gnu)
5354  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5355    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5356  else
5357    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5358  fi
5359  ;;
5360
5361newos6*)
5362  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5363  lt_cv_file_magic_cmd=/usr/bin/file
5364  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5365  ;;
5366
5367*nto* | *qnx*)
5368  lt_cv_deplibs_check_method=pass_all
5369  ;;
5370
5371openbsd* | bitrig*)
5372  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5373    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5374  else
5375    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5376  fi
5377  ;;
5378
5379osf3* | osf4* | osf5*)
5380  lt_cv_deplibs_check_method=pass_all
5381  ;;
5382
5383rdos*)
5384  lt_cv_deplibs_check_method=pass_all
5385  ;;
5386
5387solaris*)
5388  lt_cv_deplibs_check_method=pass_all
5389  ;;
5390
5391sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5392  lt_cv_deplibs_check_method=pass_all
5393  ;;
5394
5395sysv4 | sysv4.3*)
5396  case $host_vendor in
5397  motorola)
5398    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]'
5399    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5400    ;;
5401  ncr)
5402    lt_cv_deplibs_check_method=pass_all
5403    ;;
5404  sequent)
5405    lt_cv_file_magic_cmd='/bin/file'
5406    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5407    ;;
5408  sni)
5409    lt_cv_file_magic_cmd='/bin/file'
5410    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5411    lt_cv_file_magic_test_file=/lib/libc.so
5412    ;;
5413  siemens)
5414    lt_cv_deplibs_check_method=pass_all
5415    ;;
5416  pc)
5417    lt_cv_deplibs_check_method=pass_all
5418    ;;
5419  esac
5420  ;;
5421
5422tpf*)
5423  lt_cv_deplibs_check_method=pass_all
5424  ;;
5425os2*)
5426  lt_cv_deplibs_check_method=pass_all
5427  ;;
5428esac
5429
5430fi
5431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5432$as_echo "$lt_cv_deplibs_check_method" >&6; }
5433
5434file_magic_glob=
5435want_nocaseglob=no
5436if test "$build" = "$host"; then
5437  case $host_os in
5438  mingw* | pw32*)
5439    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5440      want_nocaseglob=yes
5441    else
5442      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5443    fi
5444    ;;
5445  esac
5446fi
5447
5448file_magic_cmd=$lt_cv_file_magic_cmd
5449deplibs_check_method=$lt_cv_deplibs_check_method
5450test -z "$deplibs_check_method" && deplibs_check_method=unknown
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473if test -n "$ac_tool_prefix"; then
5474  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5475set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5477$as_echo_n "checking for $ac_word... " >&6; }
5478if ${ac_cv_prog_DLLTOOL+:} false; then :
5479  $as_echo_n "(cached) " >&6
5480else
5481  if test -n "$DLLTOOL"; then
5482  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5483else
5484as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485for as_dir in $PATH
5486do
5487  IFS=$as_save_IFS
5488  test -z "$as_dir" && as_dir=.
5489    for ac_exec_ext in '' $ac_executable_extensions; do
5490  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5491    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5492    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5493    break 2
5494  fi
5495done
5496  done
5497IFS=$as_save_IFS
5498
5499fi
5500fi
5501DLLTOOL=$ac_cv_prog_DLLTOOL
5502if test -n "$DLLTOOL"; then
5503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5504$as_echo "$DLLTOOL" >&6; }
5505else
5506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5507$as_echo "no" >&6; }
5508fi
5509
5510
5511fi
5512if test -z "$ac_cv_prog_DLLTOOL"; then
5513  ac_ct_DLLTOOL=$DLLTOOL
5514  # Extract the first word of "dlltool", so it can be a program name with args.
5515set dummy dlltool; ac_word=$2
5516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5517$as_echo_n "checking for $ac_word... " >&6; }
5518if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5519  $as_echo_n "(cached) " >&6
5520else
5521  if test -n "$ac_ct_DLLTOOL"; then
5522  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5523else
5524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525for as_dir in $PATH
5526do
5527  IFS=$as_save_IFS
5528  test -z "$as_dir" && as_dir=.
5529    for ac_exec_ext in '' $ac_executable_extensions; do
5530  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5531    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5533    break 2
5534  fi
5535done
5536  done
5537IFS=$as_save_IFS
5538
5539fi
5540fi
5541ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5542if test -n "$ac_ct_DLLTOOL"; then
5543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5544$as_echo "$ac_ct_DLLTOOL" >&6; }
5545else
5546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5547$as_echo "no" >&6; }
5548fi
5549
5550  if test "x$ac_ct_DLLTOOL" = x; then
5551    DLLTOOL="false"
5552  else
5553    case $cross_compiling:$ac_tool_warned in
5554yes:)
5555{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5556$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5557ac_tool_warned=yes ;;
5558esac
5559    DLLTOOL=$ac_ct_DLLTOOL
5560  fi
5561else
5562  DLLTOOL="$ac_cv_prog_DLLTOOL"
5563fi
5564
5565test -z "$DLLTOOL" && DLLTOOL=dlltool
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5577$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5578if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5579  $as_echo_n "(cached) " >&6
5580else
5581  lt_cv_sharedlib_from_linklib_cmd='unknown'
5582
5583case $host_os in
5584cygwin* | mingw* | pw32* | cegcc*)
5585  # two different shell functions defined in ltmain.sh;
5586  # decide which one to use based on capabilities of $DLLTOOL
5587  case `$DLLTOOL --help 2>&1` in
5588  *--identify-strict*)
5589    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5590    ;;
5591  *)
5592    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5593    ;;
5594  esac
5595  ;;
5596*)
5597  # fallback: assume linklib IS sharedlib
5598  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5599  ;;
5600esac
5601
5602fi
5603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5604$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5605sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5606test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5607
5608
5609
5610
5611
5612
5613
5614
5615if test -n "$ac_tool_prefix"; then
5616  for ac_prog in ar
5617  do
5618    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5619set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5621$as_echo_n "checking for $ac_word... " >&6; }
5622if ${ac_cv_prog_AR+:} false; then :
5623  $as_echo_n "(cached) " >&6
5624else
5625  if test -n "$AR"; then
5626  ac_cv_prog_AR="$AR" # Let the user override the test.
5627else
5628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5629for as_dir in $PATH
5630do
5631  IFS=$as_save_IFS
5632  test -z "$as_dir" && as_dir=.
5633    for ac_exec_ext in '' $ac_executable_extensions; do
5634  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5635    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5636    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5637    break 2
5638  fi
5639done
5640  done
5641IFS=$as_save_IFS
5642
5643fi
5644fi
5645AR=$ac_cv_prog_AR
5646if test -n "$AR"; then
5647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5648$as_echo "$AR" >&6; }
5649else
5650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5651$as_echo "no" >&6; }
5652fi
5653
5654
5655    test -n "$AR" && break
5656  done
5657fi
5658if test -z "$AR"; then
5659  ac_ct_AR=$AR
5660  for ac_prog in ar
5661do
5662  # Extract the first word of "$ac_prog", so it can be a program name with args.
5663set dummy $ac_prog; ac_word=$2
5664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5665$as_echo_n "checking for $ac_word... " >&6; }
5666if ${ac_cv_prog_ac_ct_AR+:} false; then :
5667  $as_echo_n "(cached) " >&6
5668else
5669  if test -n "$ac_ct_AR"; then
5670  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5671else
5672as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5673for as_dir in $PATH
5674do
5675  IFS=$as_save_IFS
5676  test -z "$as_dir" && as_dir=.
5677    for ac_exec_ext in '' $ac_executable_extensions; do
5678  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5679    ac_cv_prog_ac_ct_AR="$ac_prog"
5680    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5681    break 2
5682  fi
5683done
5684  done
5685IFS=$as_save_IFS
5686
5687fi
5688fi
5689ac_ct_AR=$ac_cv_prog_ac_ct_AR
5690if test -n "$ac_ct_AR"; then
5691  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5692$as_echo "$ac_ct_AR" >&6; }
5693else
5694  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5695$as_echo "no" >&6; }
5696fi
5697
5698
5699  test -n "$ac_ct_AR" && break
5700done
5701
5702  if test "x$ac_ct_AR" = x; then
5703    AR="false"
5704  else
5705    case $cross_compiling:$ac_tool_warned in
5706yes:)
5707{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5708$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5709ac_tool_warned=yes ;;
5710esac
5711    AR=$ac_ct_AR
5712  fi
5713fi
5714
5715: ${AR=ar}
5716: ${AR_FLAGS=cru}
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5729$as_echo_n "checking for archiver @FILE support... " >&6; }
5730if ${lt_cv_ar_at_file+:} false; then :
5731  $as_echo_n "(cached) " >&6
5732else
5733  lt_cv_ar_at_file=no
5734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735/* end confdefs.h.  */
5736
5737int
5738main ()
5739{
5740
5741  ;
5742  return 0;
5743}
5744_ACEOF
5745if ac_fn_c_try_compile "$LINENO"; then :
5746  echo conftest.$ac_objext > conftest.lst
5747      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5748      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5749  (eval $lt_ar_try) 2>&5
5750  ac_status=$?
5751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5752  test $ac_status = 0; }
5753      if test 0 -eq "$ac_status"; then
5754	# Ensure the archiver fails upon bogus file names.
5755	rm -f conftest.$ac_objext libconftest.a
5756	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5757  (eval $lt_ar_try) 2>&5
5758  ac_status=$?
5759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5760  test $ac_status = 0; }
5761	if test 0 -ne "$ac_status"; then
5762          lt_cv_ar_at_file=@
5763        fi
5764      fi
5765      rm -f conftest.* libconftest.a
5766
5767fi
5768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5769
5770fi
5771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5772$as_echo "$lt_cv_ar_at_file" >&6; }
5773
5774if test no = "$lt_cv_ar_at_file"; then
5775  archiver_list_spec=
5776else
5777  archiver_list_spec=$lt_cv_ar_at_file
5778fi
5779
5780
5781
5782
5783
5784
5785
5786if test -n "$ac_tool_prefix"; then
5787  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5788set dummy ${ac_tool_prefix}strip; ac_word=$2
5789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5790$as_echo_n "checking for $ac_word... " >&6; }
5791if ${ac_cv_prog_STRIP+:} false; then :
5792  $as_echo_n "(cached) " >&6
5793else
5794  if test -n "$STRIP"; then
5795  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5796else
5797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5798for as_dir in $PATH
5799do
5800  IFS=$as_save_IFS
5801  test -z "$as_dir" && as_dir=.
5802    for ac_exec_ext in '' $ac_executable_extensions; do
5803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5804    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5806    break 2
5807  fi
5808done
5809  done
5810IFS=$as_save_IFS
5811
5812fi
5813fi
5814STRIP=$ac_cv_prog_STRIP
5815if test -n "$STRIP"; then
5816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5817$as_echo "$STRIP" >&6; }
5818else
5819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5820$as_echo "no" >&6; }
5821fi
5822
5823
5824fi
5825if test -z "$ac_cv_prog_STRIP"; then
5826  ac_ct_STRIP=$STRIP
5827  # Extract the first word of "strip", so it can be a program name with args.
5828set dummy strip; ac_word=$2
5829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5830$as_echo_n "checking for $ac_word... " >&6; }
5831if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5832  $as_echo_n "(cached) " >&6
5833else
5834  if test -n "$ac_ct_STRIP"; then
5835  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5836else
5837as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5838for as_dir in $PATH
5839do
5840  IFS=$as_save_IFS
5841  test -z "$as_dir" && as_dir=.
5842    for ac_exec_ext in '' $ac_executable_extensions; do
5843  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5844    ac_cv_prog_ac_ct_STRIP="strip"
5845    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5846    break 2
5847  fi
5848done
5849  done
5850IFS=$as_save_IFS
5851
5852fi
5853fi
5854ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5855if test -n "$ac_ct_STRIP"; then
5856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5857$as_echo "$ac_ct_STRIP" >&6; }
5858else
5859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5860$as_echo "no" >&6; }
5861fi
5862
5863  if test "x$ac_ct_STRIP" = x; then
5864    STRIP=":"
5865  else
5866    case $cross_compiling:$ac_tool_warned in
5867yes:)
5868{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5869$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5870ac_tool_warned=yes ;;
5871esac
5872    STRIP=$ac_ct_STRIP
5873  fi
5874else
5875  STRIP="$ac_cv_prog_STRIP"
5876fi
5877
5878test -z "$STRIP" && STRIP=:
5879
5880
5881
5882
5883
5884
5885if test -n "$ac_tool_prefix"; then
5886  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5887set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5889$as_echo_n "checking for $ac_word... " >&6; }
5890if ${ac_cv_prog_RANLIB+:} false; then :
5891  $as_echo_n "(cached) " >&6
5892else
5893  if test -n "$RANLIB"; then
5894  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5895else
5896as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5897for as_dir in $PATH
5898do
5899  IFS=$as_save_IFS
5900  test -z "$as_dir" && as_dir=.
5901    for ac_exec_ext in '' $ac_executable_extensions; do
5902  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5903    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5904    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5905    break 2
5906  fi
5907done
5908  done
5909IFS=$as_save_IFS
5910
5911fi
5912fi
5913RANLIB=$ac_cv_prog_RANLIB
5914if test -n "$RANLIB"; then
5915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5916$as_echo "$RANLIB" >&6; }
5917else
5918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5919$as_echo "no" >&6; }
5920fi
5921
5922
5923fi
5924if test -z "$ac_cv_prog_RANLIB"; then
5925  ac_ct_RANLIB=$RANLIB
5926  # Extract the first word of "ranlib", so it can be a program name with args.
5927set dummy ranlib; ac_word=$2
5928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5929$as_echo_n "checking for $ac_word... " >&6; }
5930if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5931  $as_echo_n "(cached) " >&6
5932else
5933  if test -n "$ac_ct_RANLIB"; then
5934  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5935else
5936as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5937for as_dir in $PATH
5938do
5939  IFS=$as_save_IFS
5940  test -z "$as_dir" && as_dir=.
5941    for ac_exec_ext in '' $ac_executable_extensions; do
5942  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5943    ac_cv_prog_ac_ct_RANLIB="ranlib"
5944    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5945    break 2
5946  fi
5947done
5948  done
5949IFS=$as_save_IFS
5950
5951fi
5952fi
5953ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5954if test -n "$ac_ct_RANLIB"; then
5955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5956$as_echo "$ac_ct_RANLIB" >&6; }
5957else
5958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5959$as_echo "no" >&6; }
5960fi
5961
5962  if test "x$ac_ct_RANLIB" = x; then
5963    RANLIB=":"
5964  else
5965    case $cross_compiling:$ac_tool_warned in
5966yes:)
5967{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5968$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5969ac_tool_warned=yes ;;
5970esac
5971    RANLIB=$ac_ct_RANLIB
5972  fi
5973else
5974  RANLIB="$ac_cv_prog_RANLIB"
5975fi
5976
5977test -z "$RANLIB" && RANLIB=:
5978
5979
5980
5981
5982
5983
5984# Determine commands to create old-style static archives.
5985old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5986old_postinstall_cmds='chmod 644 $oldlib'
5987old_postuninstall_cmds=
5988
5989if test -n "$RANLIB"; then
5990  case $host_os in
5991  bitrig* | openbsd*)
5992    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5993    ;;
5994  *)
5995    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5996    ;;
5997  esac
5998  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5999fi
6000
6001case $host_os in
6002  darwin*)
6003    lock_old_archive_extraction=yes ;;
6004  *)
6005    lock_old_archive_extraction=no ;;
6006esac
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046# If no C compiler was specified, use CC.
6047LTCC=${LTCC-"$CC"}
6048
6049# If no C compiler flags were specified, use CFLAGS.
6050LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6051
6052# Allow CC to be a program name with arguments.
6053compiler=$CC
6054
6055
6056# Check for command to grab the raw symbol name followed by C symbol from nm.
6057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6058$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6059if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6060  $as_echo_n "(cached) " >&6
6061else
6062
6063# These are sane defaults that work on at least a few old systems.
6064# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6065
6066# Character class describing NM global symbol codes.
6067symcode='[BCDEGRST]'
6068
6069# Regexp to match symbols that can be accessed directly from C.
6070sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6071
6072# Define system-specific variables.
6073case $host_os in
6074aix*)
6075  symcode='[BCDT]'
6076  ;;
6077cygwin* | mingw* | pw32* | cegcc*)
6078  symcode='[ABCDGISTW]'
6079  ;;
6080hpux*)
6081  if test ia64 = "$host_cpu"; then
6082    symcode='[ABCDEGRST]'
6083  fi
6084  ;;
6085irix* | nonstopux*)
6086  symcode='[BCDEGRST]'
6087  ;;
6088osf*)
6089  symcode='[BCDEGQRST]'
6090  ;;
6091solaris*)
6092  symcode='[BDRT]'
6093  ;;
6094sco3.2v5*)
6095  symcode='[DT]'
6096  ;;
6097sysv4.2uw2*)
6098  symcode='[DT]'
6099  ;;
6100sysv5* | sco5v6* | unixware* | OpenUNIX*)
6101  symcode='[ABDT]'
6102  ;;
6103sysv4)
6104  symcode='[DFNSTU]'
6105  ;;
6106esac
6107
6108# If we're using GNU nm, then use its standard symbol codes.
6109case `$NM -V 2>&1` in
6110*GNU* | *'with BFD'*)
6111  symcode='[ABCDGIRSTW]' ;;
6112esac
6113
6114if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6115  # Gets list of data symbols to import.
6116  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6117  # Adjust the below global symbol transforms to fixup imported variables.
6118  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6119  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6120  lt_c_name_lib_hook="\
6121  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6122  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6123else
6124  # Disable hooks by default.
6125  lt_cv_sys_global_symbol_to_import=
6126  lt_cdecl_hook=
6127  lt_c_name_hook=
6128  lt_c_name_lib_hook=
6129fi
6130
6131# Transform an extracted symbol line into a proper C declaration.
6132# Some systems (esp. on ia64) link data and code symbols differently,
6133# so use this general approach.
6134lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6135$lt_cdecl_hook\
6136" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6137" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6138
6139# Transform an extracted symbol line into symbol name and symbol address
6140lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6141$lt_c_name_hook\
6142" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6143" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6144
6145# Transform an extracted symbol line into symbol name with lib prefix and
6146# symbol address.
6147lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6148$lt_c_name_lib_hook\
6149" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6150" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6151" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6152
6153# Handle CRLF in mingw tool chain
6154opt_cr=
6155case $build_os in
6156mingw*)
6157  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6158  ;;
6159esac
6160
6161# Try without a prefix underscore, then with it.
6162for ac_symprfx in "" "_"; do
6163
6164  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6165  symxfrm="\\1 $ac_symprfx\\2 \\2"
6166
6167  # Write the raw and C identifiers.
6168  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6169    # Fake it for dumpbin and say T for any non-static function,
6170    # D for any global variable and I for any imported variable.
6171    # Also find C++ and __fastcall symbols from MSVC++,
6172    # which start with @ or ?.
6173    lt_cv_sys_global_symbol_pipe="$AWK '"\
6174"     {last_section=section; section=\$ 3};"\
6175"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6176"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6177"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6178"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6179"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6180"     \$ 0!~/External *\|/{next};"\
6181"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6182"     {if(hide[section]) next};"\
6183"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6184"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6185"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6186"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6187"     ' prfx=^$ac_symprfx"
6188  else
6189    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6190  fi
6191  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6192
6193  # Check to see that the pipe works correctly.
6194  pipe_works=no
6195
6196  rm -f conftest*
6197  cat > conftest.$ac_ext <<_LT_EOF
6198#ifdef __cplusplus
6199extern "C" {
6200#endif
6201char nm_test_var;
6202void nm_test_func(void);
6203void nm_test_func(void){}
6204#ifdef __cplusplus
6205}
6206#endif
6207int main(){nm_test_var='a';nm_test_func();return(0);}
6208_LT_EOF
6209
6210  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6211  (eval $ac_compile) 2>&5
6212  ac_status=$?
6213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6214  test $ac_status = 0; }; then
6215    # Now try to grab the symbols.
6216    nlist=conftest.nm
6217    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6218  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6219  ac_status=$?
6220  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6221  test $ac_status = 0; } && test -s "$nlist"; then
6222      # Try sorting and uniquifying the output.
6223      if sort "$nlist" | uniq > "$nlist"T; then
6224	mv -f "$nlist"T "$nlist"
6225      else
6226	rm -f "$nlist"T
6227      fi
6228
6229      # Make sure that we snagged all the symbols we need.
6230      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6231	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6232	  cat <<_LT_EOF > conftest.$ac_ext
6233/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6234#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6235/* DATA imports from DLLs on WIN32 can't be const, because runtime
6236   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6237# define LT_DLSYM_CONST
6238#elif defined __osf__
6239/* This system does not cope well with relocations in const data.  */
6240# define LT_DLSYM_CONST
6241#else
6242# define LT_DLSYM_CONST const
6243#endif
6244
6245#ifdef __cplusplus
6246extern "C" {
6247#endif
6248
6249_LT_EOF
6250	  # Now generate the symbol file.
6251	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6252
6253	  cat <<_LT_EOF >> conftest.$ac_ext
6254
6255/* The mapping between symbol names and symbols.  */
6256LT_DLSYM_CONST struct {
6257  const char *name;
6258  void       *address;
6259}
6260lt__PROGRAM__LTX_preloaded_symbols[] =
6261{
6262  { "@PROGRAM@", (void *) 0 },
6263_LT_EOF
6264	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6265	  cat <<\_LT_EOF >> conftest.$ac_ext
6266  {0, (void *) 0}
6267};
6268
6269/* This works around a problem in FreeBSD linker */
6270#ifdef FREEBSD_WORKAROUND
6271static const void *lt_preloaded_setup() {
6272  return lt__PROGRAM__LTX_preloaded_symbols;
6273}
6274#endif
6275
6276#ifdef __cplusplus
6277}
6278#endif
6279_LT_EOF
6280	  # Now try linking the two files.
6281	  mv conftest.$ac_objext conftstm.$ac_objext
6282	  lt_globsym_save_LIBS=$LIBS
6283	  lt_globsym_save_CFLAGS=$CFLAGS
6284	  LIBS=conftstm.$ac_objext
6285	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6286	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6287  (eval $ac_link) 2>&5
6288  ac_status=$?
6289  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6290  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6291	    pipe_works=yes
6292	  fi
6293	  LIBS=$lt_globsym_save_LIBS
6294	  CFLAGS=$lt_globsym_save_CFLAGS
6295	else
6296	  echo "cannot find nm_test_func in $nlist" >&5
6297	fi
6298      else
6299	echo "cannot find nm_test_var in $nlist" >&5
6300      fi
6301    else
6302      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6303    fi
6304  else
6305    echo "$progname: failed program was:" >&5
6306    cat conftest.$ac_ext >&5
6307  fi
6308  rm -rf conftest* conftst*
6309
6310  # Do not use the global_symbol_pipe unless it works.
6311  if test yes = "$pipe_works"; then
6312    break
6313  else
6314    lt_cv_sys_global_symbol_pipe=
6315  fi
6316done
6317
6318fi
6319
6320if test -z "$lt_cv_sys_global_symbol_pipe"; then
6321  lt_cv_sys_global_symbol_to_cdecl=
6322fi
6323if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6325$as_echo "failed" >&6; }
6326else
6327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6328$as_echo "ok" >&6; }
6329fi
6330
6331# Response file support.
6332if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6333  nm_file_list_spec='@'
6334elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6335  nm_file_list_spec='@'
6336fi
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6375$as_echo_n "checking for sysroot... " >&6; }
6376
6377# Check whether --with-sysroot was given.
6378if test "${with_sysroot+set}" = set; then :
6379  withval=$with_sysroot;
6380else
6381  with_sysroot=no
6382fi
6383
6384
6385lt_sysroot=
6386case $with_sysroot in #(
6387 yes)
6388   if test yes = "$GCC"; then
6389     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6390   fi
6391   ;; #(
6392 /*)
6393   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6394   ;; #(
6395 no|'')
6396   ;; #(
6397 *)
6398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6399$as_echo "$with_sysroot" >&6; }
6400   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6401   ;;
6402esac
6403
6404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6405$as_echo "${lt_sysroot:-no}" >&6; }
6406
6407
6408
6409
6410
6411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6412$as_echo_n "checking for a working dd... " >&6; }
6413if ${ac_cv_path_lt_DD+:} false; then :
6414  $as_echo_n "(cached) " >&6
6415else
6416  printf 0123456789abcdef0123456789abcdef >conftest.i
6417cat conftest.i conftest.i >conftest2.i
6418: ${lt_DD:=$DD}
6419if test -z "$lt_DD"; then
6420  ac_path_lt_DD_found=false
6421  # Loop through the user's path and test for each of PROGNAME-LIST
6422  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6423for as_dir in $PATH
6424do
6425  IFS=$as_save_IFS
6426  test -z "$as_dir" && as_dir=.
6427    for ac_prog in dd; do
6428    for ac_exec_ext in '' $ac_executable_extensions; do
6429      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6430      as_fn_executable_p "$ac_path_lt_DD" || continue
6431if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6432  cmp -s conftest.i conftest.out \
6433  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6434fi
6435      $ac_path_lt_DD_found && break 3
6436    done
6437  done
6438  done
6439IFS=$as_save_IFS
6440  if test -z "$ac_cv_path_lt_DD"; then
6441    :
6442  fi
6443else
6444  ac_cv_path_lt_DD=$lt_DD
6445fi
6446
6447rm -f conftest.i conftest2.i conftest.out
6448fi
6449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6450$as_echo "$ac_cv_path_lt_DD" >&6; }
6451
6452
6453{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6454$as_echo_n "checking how to truncate binary pipes... " >&6; }
6455if ${lt_cv_truncate_bin+:} false; then :
6456  $as_echo_n "(cached) " >&6
6457else
6458  printf 0123456789abcdef0123456789abcdef >conftest.i
6459cat conftest.i conftest.i >conftest2.i
6460lt_cv_truncate_bin=
6461if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6462  cmp -s conftest.i conftest.out \
6463  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6464fi
6465rm -f conftest.i conftest2.i conftest.out
6466test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6467fi
6468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6469$as_echo "$lt_cv_truncate_bin" >&6; }
6470
6471
6472
6473
6474
6475
6476
6477# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6478func_cc_basename ()
6479{
6480    for cc_temp in $*""; do
6481      case $cc_temp in
6482        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6483        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6484        \-*) ;;
6485        *) break;;
6486      esac
6487    done
6488    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6489}
6490
6491# Check whether --enable-libtool-lock was given.
6492if test "${enable_libtool_lock+set}" = set; then :
6493  enableval=$enable_libtool_lock;
6494fi
6495
6496test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6497
6498# Some flags need to be propagated to the compiler or linker for good
6499# libtool support.
6500case $host in
6501ia64-*-hpux*)
6502  # Find out what ABI is being produced by ac_compile, and set mode
6503  # options accordingly.
6504  echo 'int i;' > conftest.$ac_ext
6505  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6506  (eval $ac_compile) 2>&5
6507  ac_status=$?
6508  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6509  test $ac_status = 0; }; then
6510    case `/usr/bin/file conftest.$ac_objext` in
6511      *ELF-32*)
6512	HPUX_IA64_MODE=32
6513	;;
6514      *ELF-64*)
6515	HPUX_IA64_MODE=64
6516	;;
6517    esac
6518  fi
6519  rm -rf conftest*
6520  ;;
6521*-*-irix6*)
6522  # Find out what ABI is being produced by ac_compile, and set linker
6523  # options accordingly.
6524  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6525  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6526  (eval $ac_compile) 2>&5
6527  ac_status=$?
6528  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6529  test $ac_status = 0; }; then
6530    if test yes = "$lt_cv_prog_gnu_ld"; then
6531      case `/usr/bin/file conftest.$ac_objext` in
6532	*32-bit*)
6533	  LD="${LD-ld} -melf32bsmip"
6534	  ;;
6535	*N32*)
6536	  LD="${LD-ld} -melf32bmipn32"
6537	  ;;
6538	*64-bit*)
6539	  LD="${LD-ld} -melf64bmip"
6540	;;
6541      esac
6542    else
6543      case `/usr/bin/file conftest.$ac_objext` in
6544	*32-bit*)
6545	  LD="${LD-ld} -32"
6546	  ;;
6547	*N32*)
6548	  LD="${LD-ld} -n32"
6549	  ;;
6550	*64-bit*)
6551	  LD="${LD-ld} -64"
6552	  ;;
6553      esac
6554    fi
6555  fi
6556  rm -rf conftest*
6557  ;;
6558
6559mips64*-*linux*)
6560  # Find out what ABI is being produced by ac_compile, and set linker
6561  # options accordingly.
6562  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6563  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6564  (eval $ac_compile) 2>&5
6565  ac_status=$?
6566  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6567  test $ac_status = 0; }; then
6568    emul=elf
6569    case `/usr/bin/file conftest.$ac_objext` in
6570      *32-bit*)
6571	emul="${emul}32"
6572	;;
6573      *64-bit*)
6574	emul="${emul}64"
6575	;;
6576    esac
6577    case `/usr/bin/file conftest.$ac_objext` in
6578      *MSB*)
6579	emul="${emul}btsmip"
6580	;;
6581      *LSB*)
6582	emul="${emul}ltsmip"
6583	;;
6584    esac
6585    case `/usr/bin/file conftest.$ac_objext` in
6586      *N32*)
6587	emul="${emul}n32"
6588	;;
6589    esac
6590    LD="${LD-ld} -m $emul"
6591  fi
6592  rm -rf conftest*
6593  ;;
6594
6595x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6596s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6597  # Find out what ABI is being produced by ac_compile, and set linker
6598  # options accordingly.  Note that the listed cases only cover the
6599  # situations where additional linker options are needed (such as when
6600  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6601  # vice versa); the common cases where no linker options are needed do
6602  # not appear in the list.
6603  echo 'int i;' > conftest.$ac_ext
6604  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6605  (eval $ac_compile) 2>&5
6606  ac_status=$?
6607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6608  test $ac_status = 0; }; then
6609    case `/usr/bin/file conftest.o` in
6610      *32-bit*)
6611	case $host in
6612	  x86_64-*kfreebsd*-gnu)
6613	    LD="${LD-ld} -m elf_i386_fbsd"
6614	    ;;
6615	  x86_64-*linux*)
6616	    case `/usr/bin/file conftest.o` in
6617	      *x86-64*)
6618		LD="${LD-ld} -m elf32_x86_64"
6619		;;
6620	      *)
6621		LD="${LD-ld} -m elf_i386"
6622		;;
6623	    esac
6624	    ;;
6625	  powerpc64le-*linux*)
6626	    LD="${LD-ld} -m elf32lppclinux"
6627	    ;;
6628	  powerpc64-*linux*)
6629	    LD="${LD-ld} -m elf32ppclinux"
6630	    ;;
6631	  s390x-*linux*)
6632	    LD="${LD-ld} -m elf_s390"
6633	    ;;
6634	  sparc64-*linux*)
6635	    LD="${LD-ld} -m elf32_sparc"
6636	    ;;
6637	esac
6638	;;
6639      *64-bit*)
6640	case $host in
6641	  x86_64-*kfreebsd*-gnu)
6642	    LD="${LD-ld} -m elf_x86_64_fbsd"
6643	    ;;
6644	  x86_64-*linux*)
6645	    LD="${LD-ld} -m elf_x86_64"
6646	    ;;
6647	  powerpcle-*linux*)
6648	    LD="${LD-ld} -m elf64lppc"
6649	    ;;
6650	  powerpc-*linux*)
6651	    LD="${LD-ld} -m elf64ppc"
6652	    ;;
6653	  s390*-*linux*|s390*-*tpf*)
6654	    LD="${LD-ld} -m elf64_s390"
6655	    ;;
6656	  sparc*-*linux*)
6657	    LD="${LD-ld} -m elf64_sparc"
6658	    ;;
6659	esac
6660	;;
6661    esac
6662  fi
6663  rm -rf conftest*
6664  ;;
6665
6666*-*-sco3.2v5*)
6667  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6668  SAVE_CFLAGS=$CFLAGS
6669  CFLAGS="$CFLAGS -belf"
6670  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6671$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6672if ${lt_cv_cc_needs_belf+:} false; then :
6673  $as_echo_n "(cached) " >&6
6674else
6675  ac_ext=c
6676ac_cpp='$CPP $CPPFLAGS'
6677ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6678ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6679ac_compiler_gnu=$ac_cv_c_compiler_gnu
6680
6681     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682/* end confdefs.h.  */
6683
6684int
6685main ()
6686{
6687
6688  ;
6689  return 0;
6690}
6691_ACEOF
6692if ac_fn_c_try_link "$LINENO"; then :
6693  lt_cv_cc_needs_belf=yes
6694else
6695  lt_cv_cc_needs_belf=no
6696fi
6697rm -f core conftest.err conftest.$ac_objext \
6698    conftest$ac_exeext conftest.$ac_ext
6699     ac_ext=c
6700ac_cpp='$CPP $CPPFLAGS'
6701ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6702ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6703ac_compiler_gnu=$ac_cv_c_compiler_gnu
6704
6705fi
6706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6707$as_echo "$lt_cv_cc_needs_belf" >&6; }
6708  if test yes != "$lt_cv_cc_needs_belf"; then
6709    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6710    CFLAGS=$SAVE_CFLAGS
6711  fi
6712  ;;
6713*-*solaris*)
6714  # Find out what ABI is being produced by ac_compile, and set linker
6715  # options accordingly.
6716  echo 'int i;' > conftest.$ac_ext
6717  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6718  (eval $ac_compile) 2>&5
6719  ac_status=$?
6720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6721  test $ac_status = 0; }; then
6722    case `/usr/bin/file conftest.o` in
6723    *64-bit*)
6724      case $lt_cv_prog_gnu_ld in
6725      yes*)
6726        case $host in
6727        i?86-*-solaris*|x86_64-*-solaris*)
6728          LD="${LD-ld} -m elf_x86_64"
6729          ;;
6730        sparc*-*-solaris*)
6731          LD="${LD-ld} -m elf64_sparc"
6732          ;;
6733        esac
6734        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6735        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6736          LD=${LD-ld}_sol2
6737        fi
6738        ;;
6739      *)
6740	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6741	  LD="${LD-ld} -64"
6742	fi
6743	;;
6744      esac
6745      ;;
6746    esac
6747  fi
6748  rm -rf conftest*
6749  ;;
6750esac
6751
6752need_locks=$enable_libtool_lock
6753
6754if test -n "$ac_tool_prefix"; then
6755  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6756set dummy ${ac_tool_prefix}mt; ac_word=$2
6757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6758$as_echo_n "checking for $ac_word... " >&6; }
6759if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6760  $as_echo_n "(cached) " >&6
6761else
6762  if test -n "$MANIFEST_TOOL"; then
6763  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6764else
6765as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766for as_dir in $PATH
6767do
6768  IFS=$as_save_IFS
6769  test -z "$as_dir" && as_dir=.
6770    for ac_exec_ext in '' $ac_executable_extensions; do
6771  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6772    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6773    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6774    break 2
6775  fi
6776done
6777  done
6778IFS=$as_save_IFS
6779
6780fi
6781fi
6782MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6783if test -n "$MANIFEST_TOOL"; then
6784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6785$as_echo "$MANIFEST_TOOL" >&6; }
6786else
6787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6788$as_echo "no" >&6; }
6789fi
6790
6791
6792fi
6793if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6794  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6795  # Extract the first word of "mt", so it can be a program name with args.
6796set dummy mt; ac_word=$2
6797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6798$as_echo_n "checking for $ac_word... " >&6; }
6799if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6800  $as_echo_n "(cached) " >&6
6801else
6802  if test -n "$ac_ct_MANIFEST_TOOL"; then
6803  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6804else
6805as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806for as_dir in $PATH
6807do
6808  IFS=$as_save_IFS
6809  test -z "$as_dir" && as_dir=.
6810    for ac_exec_ext in '' $ac_executable_extensions; do
6811  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6813    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814    break 2
6815  fi
6816done
6817  done
6818IFS=$as_save_IFS
6819
6820fi
6821fi
6822ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6823if test -n "$ac_ct_MANIFEST_TOOL"; then
6824  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6825$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6826else
6827  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6828$as_echo "no" >&6; }
6829fi
6830
6831  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6832    MANIFEST_TOOL=":"
6833  else
6834    case $cross_compiling:$ac_tool_warned in
6835yes:)
6836{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6837$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6838ac_tool_warned=yes ;;
6839esac
6840    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6841  fi
6842else
6843  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6844fi
6845
6846test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6848$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6849if ${lt_cv_path_mainfest_tool+:} false; then :
6850  $as_echo_n "(cached) " >&6
6851else
6852  lt_cv_path_mainfest_tool=no
6853  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6854  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6855  cat conftest.err >&5
6856  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6857    lt_cv_path_mainfest_tool=yes
6858  fi
6859  rm -f conftest*
6860fi
6861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6862$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6863if test yes != "$lt_cv_path_mainfest_tool"; then
6864  MANIFEST_TOOL=:
6865fi
6866
6867
6868
6869
6870
6871
6872  case $host_os in
6873    rhapsody* | darwin*)
6874    if test -n "$ac_tool_prefix"; then
6875  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6876set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878$as_echo_n "checking for $ac_word... " >&6; }
6879if ${ac_cv_prog_DSYMUTIL+:} false; then :
6880  $as_echo_n "(cached) " >&6
6881else
6882  if test -n "$DSYMUTIL"; then
6883  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6884else
6885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6886for as_dir in $PATH
6887do
6888  IFS=$as_save_IFS
6889  test -z "$as_dir" && as_dir=.
6890    for ac_exec_ext in '' $ac_executable_extensions; do
6891  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6892    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6893    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6894    break 2
6895  fi
6896done
6897  done
6898IFS=$as_save_IFS
6899
6900fi
6901fi
6902DSYMUTIL=$ac_cv_prog_DSYMUTIL
6903if test -n "$DSYMUTIL"; then
6904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6905$as_echo "$DSYMUTIL" >&6; }
6906else
6907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908$as_echo "no" >&6; }
6909fi
6910
6911
6912fi
6913if test -z "$ac_cv_prog_DSYMUTIL"; then
6914  ac_ct_DSYMUTIL=$DSYMUTIL
6915  # Extract the first word of "dsymutil", so it can be a program name with args.
6916set dummy dsymutil; ac_word=$2
6917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6918$as_echo_n "checking for $ac_word... " >&6; }
6919if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6920  $as_echo_n "(cached) " >&6
6921else
6922  if test -n "$ac_ct_DSYMUTIL"; then
6923  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6924else
6925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6926for as_dir in $PATH
6927do
6928  IFS=$as_save_IFS
6929  test -z "$as_dir" && as_dir=.
6930    for ac_exec_ext in '' $ac_executable_extensions; do
6931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6932    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6934    break 2
6935  fi
6936done
6937  done
6938IFS=$as_save_IFS
6939
6940fi
6941fi
6942ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6943if test -n "$ac_ct_DSYMUTIL"; then
6944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6945$as_echo "$ac_ct_DSYMUTIL" >&6; }
6946else
6947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6948$as_echo "no" >&6; }
6949fi
6950
6951  if test "x$ac_ct_DSYMUTIL" = x; then
6952    DSYMUTIL=":"
6953  else
6954    case $cross_compiling:$ac_tool_warned in
6955yes:)
6956{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6957$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6958ac_tool_warned=yes ;;
6959esac
6960    DSYMUTIL=$ac_ct_DSYMUTIL
6961  fi
6962else
6963  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6964fi
6965
6966    if test -n "$ac_tool_prefix"; then
6967  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6968set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6970$as_echo_n "checking for $ac_word... " >&6; }
6971if ${ac_cv_prog_NMEDIT+:} false; then :
6972  $as_echo_n "(cached) " >&6
6973else
6974  if test -n "$NMEDIT"; then
6975  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6976else
6977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6978for as_dir in $PATH
6979do
6980  IFS=$as_save_IFS
6981  test -z "$as_dir" && as_dir=.
6982    for ac_exec_ext in '' $ac_executable_extensions; do
6983  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6984    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6986    break 2
6987  fi
6988done
6989  done
6990IFS=$as_save_IFS
6991
6992fi
6993fi
6994NMEDIT=$ac_cv_prog_NMEDIT
6995if test -n "$NMEDIT"; then
6996  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6997$as_echo "$NMEDIT" >&6; }
6998else
6999  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000$as_echo "no" >&6; }
7001fi
7002
7003
7004fi
7005if test -z "$ac_cv_prog_NMEDIT"; then
7006  ac_ct_NMEDIT=$NMEDIT
7007  # Extract the first word of "nmedit", so it can be a program name with args.
7008set dummy nmedit; ac_word=$2
7009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7010$as_echo_n "checking for $ac_word... " >&6; }
7011if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7012  $as_echo_n "(cached) " >&6
7013else
7014  if test -n "$ac_ct_NMEDIT"; then
7015  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7016else
7017as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7018for as_dir in $PATH
7019do
7020  IFS=$as_save_IFS
7021  test -z "$as_dir" && as_dir=.
7022    for ac_exec_ext in '' $ac_executable_extensions; do
7023  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7024    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7025    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7026    break 2
7027  fi
7028done
7029  done
7030IFS=$as_save_IFS
7031
7032fi
7033fi
7034ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7035if test -n "$ac_ct_NMEDIT"; then
7036  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7037$as_echo "$ac_ct_NMEDIT" >&6; }
7038else
7039  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7040$as_echo "no" >&6; }
7041fi
7042
7043  if test "x$ac_ct_NMEDIT" = x; then
7044    NMEDIT=":"
7045  else
7046    case $cross_compiling:$ac_tool_warned in
7047yes:)
7048{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7049$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7050ac_tool_warned=yes ;;
7051esac
7052    NMEDIT=$ac_ct_NMEDIT
7053  fi
7054else
7055  NMEDIT="$ac_cv_prog_NMEDIT"
7056fi
7057
7058    if test -n "$ac_tool_prefix"; then
7059  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7060set dummy ${ac_tool_prefix}lipo; ac_word=$2
7061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7062$as_echo_n "checking for $ac_word... " >&6; }
7063if ${ac_cv_prog_LIPO+:} false; then :
7064  $as_echo_n "(cached) " >&6
7065else
7066  if test -n "$LIPO"; then
7067  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7068else
7069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7070for as_dir in $PATH
7071do
7072  IFS=$as_save_IFS
7073  test -z "$as_dir" && as_dir=.
7074    for ac_exec_ext in '' $ac_executable_extensions; do
7075  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7076    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7077    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7078    break 2
7079  fi
7080done
7081  done
7082IFS=$as_save_IFS
7083
7084fi
7085fi
7086LIPO=$ac_cv_prog_LIPO
7087if test -n "$LIPO"; then
7088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7089$as_echo "$LIPO" >&6; }
7090else
7091  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7092$as_echo "no" >&6; }
7093fi
7094
7095
7096fi
7097if test -z "$ac_cv_prog_LIPO"; then
7098  ac_ct_LIPO=$LIPO
7099  # Extract the first word of "lipo", so it can be a program name with args.
7100set dummy lipo; ac_word=$2
7101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102$as_echo_n "checking for $ac_word... " >&6; }
7103if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7104  $as_echo_n "(cached) " >&6
7105else
7106  if test -n "$ac_ct_LIPO"; then
7107  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7108else
7109as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7110for as_dir in $PATH
7111do
7112  IFS=$as_save_IFS
7113  test -z "$as_dir" && as_dir=.
7114    for ac_exec_ext in '' $ac_executable_extensions; do
7115  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7116    ac_cv_prog_ac_ct_LIPO="lipo"
7117    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7118    break 2
7119  fi
7120done
7121  done
7122IFS=$as_save_IFS
7123
7124fi
7125fi
7126ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7127if test -n "$ac_ct_LIPO"; then
7128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7129$as_echo "$ac_ct_LIPO" >&6; }
7130else
7131  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132$as_echo "no" >&6; }
7133fi
7134
7135  if test "x$ac_ct_LIPO" = x; then
7136    LIPO=":"
7137  else
7138    case $cross_compiling:$ac_tool_warned in
7139yes:)
7140{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7141$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7142ac_tool_warned=yes ;;
7143esac
7144    LIPO=$ac_ct_LIPO
7145  fi
7146else
7147  LIPO="$ac_cv_prog_LIPO"
7148fi
7149
7150    if test -n "$ac_tool_prefix"; then
7151  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7152set dummy ${ac_tool_prefix}otool; ac_word=$2
7153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7154$as_echo_n "checking for $ac_word... " >&6; }
7155if ${ac_cv_prog_OTOOL+:} false; then :
7156  $as_echo_n "(cached) " >&6
7157else
7158  if test -n "$OTOOL"; then
7159  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7160else
7161as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7162for as_dir in $PATH
7163do
7164  IFS=$as_save_IFS
7165  test -z "$as_dir" && as_dir=.
7166    for ac_exec_ext in '' $ac_executable_extensions; do
7167  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7168    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7169    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7170    break 2
7171  fi
7172done
7173  done
7174IFS=$as_save_IFS
7175
7176fi
7177fi
7178OTOOL=$ac_cv_prog_OTOOL
7179if test -n "$OTOOL"; then
7180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7181$as_echo "$OTOOL" >&6; }
7182else
7183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7184$as_echo "no" >&6; }
7185fi
7186
7187
7188fi
7189if test -z "$ac_cv_prog_OTOOL"; then
7190  ac_ct_OTOOL=$OTOOL
7191  # Extract the first word of "otool", so it can be a program name with args.
7192set dummy otool; ac_word=$2
7193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7194$as_echo_n "checking for $ac_word... " >&6; }
7195if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7196  $as_echo_n "(cached) " >&6
7197else
7198  if test -n "$ac_ct_OTOOL"; then
7199  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7200else
7201as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7202for as_dir in $PATH
7203do
7204  IFS=$as_save_IFS
7205  test -z "$as_dir" && as_dir=.
7206    for ac_exec_ext in '' $ac_executable_extensions; do
7207  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7208    ac_cv_prog_ac_ct_OTOOL="otool"
7209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7210    break 2
7211  fi
7212done
7213  done
7214IFS=$as_save_IFS
7215
7216fi
7217fi
7218ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7219if test -n "$ac_ct_OTOOL"; then
7220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7221$as_echo "$ac_ct_OTOOL" >&6; }
7222else
7223  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224$as_echo "no" >&6; }
7225fi
7226
7227  if test "x$ac_ct_OTOOL" = x; then
7228    OTOOL=":"
7229  else
7230    case $cross_compiling:$ac_tool_warned in
7231yes:)
7232{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7233$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7234ac_tool_warned=yes ;;
7235esac
7236    OTOOL=$ac_ct_OTOOL
7237  fi
7238else
7239  OTOOL="$ac_cv_prog_OTOOL"
7240fi
7241
7242    if test -n "$ac_tool_prefix"; then
7243  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7244set dummy ${ac_tool_prefix}otool64; ac_word=$2
7245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7246$as_echo_n "checking for $ac_word... " >&6; }
7247if ${ac_cv_prog_OTOOL64+:} false; then :
7248  $as_echo_n "(cached) " >&6
7249else
7250  if test -n "$OTOOL64"; then
7251  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7252else
7253as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7254for as_dir in $PATH
7255do
7256  IFS=$as_save_IFS
7257  test -z "$as_dir" && as_dir=.
7258    for ac_exec_ext in '' $ac_executable_extensions; do
7259  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7260    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7261    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262    break 2
7263  fi
7264done
7265  done
7266IFS=$as_save_IFS
7267
7268fi
7269fi
7270OTOOL64=$ac_cv_prog_OTOOL64
7271if test -n "$OTOOL64"; then
7272  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7273$as_echo "$OTOOL64" >&6; }
7274else
7275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7276$as_echo "no" >&6; }
7277fi
7278
7279
7280fi
7281if test -z "$ac_cv_prog_OTOOL64"; then
7282  ac_ct_OTOOL64=$OTOOL64
7283  # Extract the first word of "otool64", so it can be a program name with args.
7284set dummy otool64; ac_word=$2
7285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7286$as_echo_n "checking for $ac_word... " >&6; }
7287if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7288  $as_echo_n "(cached) " >&6
7289else
7290  if test -n "$ac_ct_OTOOL64"; then
7291  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7292else
7293as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7294for as_dir in $PATH
7295do
7296  IFS=$as_save_IFS
7297  test -z "$as_dir" && as_dir=.
7298    for ac_exec_ext in '' $ac_executable_extensions; do
7299  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7300    ac_cv_prog_ac_ct_OTOOL64="otool64"
7301    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7302    break 2
7303  fi
7304done
7305  done
7306IFS=$as_save_IFS
7307
7308fi
7309fi
7310ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7311if test -n "$ac_ct_OTOOL64"; then
7312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7313$as_echo "$ac_ct_OTOOL64" >&6; }
7314else
7315  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7316$as_echo "no" >&6; }
7317fi
7318
7319  if test "x$ac_ct_OTOOL64" = x; then
7320    OTOOL64=":"
7321  else
7322    case $cross_compiling:$ac_tool_warned in
7323yes:)
7324{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7325$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7326ac_tool_warned=yes ;;
7327esac
7328    OTOOL64=$ac_ct_OTOOL64
7329  fi
7330else
7331  OTOOL64="$ac_cv_prog_OTOOL64"
7332fi
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7361$as_echo_n "checking for -single_module linker flag... " >&6; }
7362if ${lt_cv_apple_cc_single_mod+:} false; then :
7363  $as_echo_n "(cached) " >&6
7364else
7365  lt_cv_apple_cc_single_mod=no
7366      if test -z "$LT_MULTI_MODULE"; then
7367	# By default we will add the -single_module flag. You can override
7368	# by either setting the environment variable LT_MULTI_MODULE
7369	# non-empty at configure time, or by adding -multi_module to the
7370	# link flags.
7371	rm -rf libconftest.dylib*
7372	echo "int foo(void){return 1;}" > conftest.c
7373	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7374-dynamiclib -Wl,-single_module conftest.c" >&5
7375	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7376	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7377        _lt_result=$?
7378	# If there is a non-empty error log, and "single_module"
7379	# appears in it, assume the flag caused a linker warning
7380        if test -s conftest.err && $GREP single_module conftest.err; then
7381	  cat conftest.err >&5
7382	# Otherwise, if the output was created with a 0 exit code from
7383	# the compiler, it worked.
7384	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7385	  lt_cv_apple_cc_single_mod=yes
7386	else
7387	  cat conftest.err >&5
7388	fi
7389	rm -rf libconftest.dylib*
7390	rm -f conftest.*
7391      fi
7392fi
7393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7394$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7395
7396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7397$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7398if ${lt_cv_ld_exported_symbols_list+:} false; then :
7399  $as_echo_n "(cached) " >&6
7400else
7401  lt_cv_ld_exported_symbols_list=no
7402      save_LDFLAGS=$LDFLAGS
7403      echo "_main" > conftest.sym
7404      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7405      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7406/* end confdefs.h.  */
7407
7408int
7409main ()
7410{
7411
7412  ;
7413  return 0;
7414}
7415_ACEOF
7416if ac_fn_c_try_link "$LINENO"; then :
7417  lt_cv_ld_exported_symbols_list=yes
7418else
7419  lt_cv_ld_exported_symbols_list=no
7420fi
7421rm -f core conftest.err conftest.$ac_objext \
7422    conftest$ac_exeext conftest.$ac_ext
7423	LDFLAGS=$save_LDFLAGS
7424
7425fi
7426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7427$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7428
7429    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7430$as_echo_n "checking for -force_load linker flag... " >&6; }
7431if ${lt_cv_ld_force_load+:} false; then :
7432  $as_echo_n "(cached) " >&6
7433else
7434  lt_cv_ld_force_load=no
7435      cat > conftest.c << _LT_EOF
7436int forced_loaded() { return 2;}
7437_LT_EOF
7438      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7439      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7440      echo "$AR cru libconftest.a conftest.o" >&5
7441      $AR cru libconftest.a conftest.o 2>&5
7442      echo "$RANLIB libconftest.a" >&5
7443      $RANLIB libconftest.a 2>&5
7444      cat > conftest.c << _LT_EOF
7445int main() { return 0;}
7446_LT_EOF
7447      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7448      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7449      _lt_result=$?
7450      if test -s conftest.err && $GREP force_load conftest.err; then
7451	cat conftest.err >&5
7452      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7453	lt_cv_ld_force_load=yes
7454      else
7455	cat conftest.err >&5
7456      fi
7457        rm -f conftest.err libconftest.a conftest conftest.c
7458        rm -rf conftest.dSYM
7459
7460fi
7461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7462$as_echo "$lt_cv_ld_force_load" >&6; }
7463    case $host_os in
7464    rhapsody* | darwin1.[012])
7465      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7466    darwin1.*)
7467      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7468    darwin*) # darwin 5.x on
7469      # if running on 10.5 or later, the deployment target defaults
7470      # to the OS version, if on x86, and 10.4, the deployment
7471      # target defaults to 10.4. Don't you love it?
7472      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7473	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7474	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7475	10.[012][,.]*)
7476	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7477	10.*)
7478	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7479      esac
7480    ;;
7481  esac
7482    if test yes = "$lt_cv_apple_cc_single_mod"; then
7483      _lt_dar_single_mod='$single_module'
7484    fi
7485    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7486      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7487    else
7488      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7489    fi
7490    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7491      _lt_dsymutil='~$DSYMUTIL $lib || :'
7492    else
7493      _lt_dsymutil=
7494    fi
7495    ;;
7496  esac
7497
7498# func_munge_path_list VARIABLE PATH
7499# -----------------------------------
7500# VARIABLE is name of variable containing _space_ separated list of
7501# directories to be munged by the contents of PATH, which is string
7502# having a format:
7503# "DIR[:DIR]:"
7504#       string "DIR[ DIR]" will be prepended to VARIABLE
7505# ":DIR[:DIR]"
7506#       string "DIR[ DIR]" will be appended to VARIABLE
7507# "DIRP[:DIRP]::[DIRA:]DIRA"
7508#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7509#       "DIRA[ DIRA]" will be appended to VARIABLE
7510# "DIR[:DIR]"
7511#       VARIABLE will be replaced by "DIR[ DIR]"
7512func_munge_path_list ()
7513{
7514    case x$2 in
7515    x)
7516        ;;
7517    *:)
7518        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7519        ;;
7520    x:*)
7521        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7522        ;;
7523    *::*)
7524        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7525        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7526        ;;
7527    *)
7528        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7529        ;;
7530    esac
7531}
7532
7533ac_ext=c
7534ac_cpp='$CPP $CPPFLAGS'
7535ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7536ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7537ac_compiler_gnu=$ac_cv_c_compiler_gnu
7538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7539$as_echo_n "checking how to run the C preprocessor... " >&6; }
7540# On Suns, sometimes $CPP names a directory.
7541if test -n "$CPP" && test -d "$CPP"; then
7542  CPP=
7543fi
7544if test -z "$CPP"; then
7545  if ${ac_cv_prog_CPP+:} false; then :
7546  $as_echo_n "(cached) " >&6
7547else
7548      # Double quotes because CPP needs to be expanded
7549    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7550    do
7551      ac_preproc_ok=false
7552for ac_c_preproc_warn_flag in '' yes
7553do
7554  # Use a header file that comes with gcc, so configuring glibc
7555  # with a fresh cross-compiler works.
7556  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7557  # <limits.h> exists even on freestanding compilers.
7558  # On the NeXT, cc -E runs the code through the compiler's parser,
7559  # not just through cpp. "Syntax error" is here to catch this case.
7560  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7561/* end confdefs.h.  */
7562#ifdef __STDC__
7563# include <limits.h>
7564#else
7565# include <assert.h>
7566#endif
7567		     Syntax error
7568_ACEOF
7569if ac_fn_c_try_cpp "$LINENO"; then :
7570
7571else
7572  # Broken: fails on valid input.
7573continue
7574fi
7575rm -f conftest.err conftest.i conftest.$ac_ext
7576
7577  # OK, works on sane cases.  Now check whether nonexistent headers
7578  # can be detected and how.
7579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580/* end confdefs.h.  */
7581#include <ac_nonexistent.h>
7582_ACEOF
7583if ac_fn_c_try_cpp "$LINENO"; then :
7584  # Broken: success on invalid input.
7585continue
7586else
7587  # Passes both tests.
7588ac_preproc_ok=:
7589break
7590fi
7591rm -f conftest.err conftest.i conftest.$ac_ext
7592
7593done
7594# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7595rm -f conftest.i conftest.err conftest.$ac_ext
7596if $ac_preproc_ok; then :
7597  break
7598fi
7599
7600    done
7601    ac_cv_prog_CPP=$CPP
7602
7603fi
7604  CPP=$ac_cv_prog_CPP
7605else
7606  ac_cv_prog_CPP=$CPP
7607fi
7608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7609$as_echo "$CPP" >&6; }
7610ac_preproc_ok=false
7611for ac_c_preproc_warn_flag in '' yes
7612do
7613  # Use a header file that comes with gcc, so configuring glibc
7614  # with a fresh cross-compiler works.
7615  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7616  # <limits.h> exists even on freestanding compilers.
7617  # On the NeXT, cc -E runs the code through the compiler's parser,
7618  # not just through cpp. "Syntax error" is here to catch this case.
7619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620/* end confdefs.h.  */
7621#ifdef __STDC__
7622# include <limits.h>
7623#else
7624# include <assert.h>
7625#endif
7626		     Syntax error
7627_ACEOF
7628if ac_fn_c_try_cpp "$LINENO"; then :
7629
7630else
7631  # Broken: fails on valid input.
7632continue
7633fi
7634rm -f conftest.err conftest.i conftest.$ac_ext
7635
7636  # OK, works on sane cases.  Now check whether nonexistent headers
7637  # can be detected and how.
7638  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7639/* end confdefs.h.  */
7640#include <ac_nonexistent.h>
7641_ACEOF
7642if ac_fn_c_try_cpp "$LINENO"; then :
7643  # Broken: success on invalid input.
7644continue
7645else
7646  # Passes both tests.
7647ac_preproc_ok=:
7648break
7649fi
7650rm -f conftest.err conftest.i conftest.$ac_ext
7651
7652done
7653# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7654rm -f conftest.i conftest.err conftest.$ac_ext
7655if $ac_preproc_ok; then :
7656
7657else
7658  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7659$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7660as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7661See \`config.log' for more details" "$LINENO" 5; }
7662fi
7663
7664ac_ext=c
7665ac_cpp='$CPP $CPPFLAGS'
7666ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7667ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7668ac_compiler_gnu=$ac_cv_c_compiler_gnu
7669
7670
7671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7672$as_echo_n "checking for ANSI C header files... " >&6; }
7673if ${ac_cv_header_stdc+:} false; then :
7674  $as_echo_n "(cached) " >&6
7675else
7676  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7677/* end confdefs.h.  */
7678#include <stdlib.h>
7679#include <stdarg.h>
7680#include <string.h>
7681#include <float.h>
7682
7683int
7684main ()
7685{
7686
7687  ;
7688  return 0;
7689}
7690_ACEOF
7691if ac_fn_c_try_compile "$LINENO"; then :
7692  ac_cv_header_stdc=yes
7693else
7694  ac_cv_header_stdc=no
7695fi
7696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7697
7698if test $ac_cv_header_stdc = yes; then
7699  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7700  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7701/* end confdefs.h.  */
7702#include <string.h>
7703
7704_ACEOF
7705if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7706  $EGREP "memchr" >/dev/null 2>&1; then :
7707
7708else
7709  ac_cv_header_stdc=no
7710fi
7711rm -f conftest*
7712
7713fi
7714
7715if test $ac_cv_header_stdc = yes; then
7716  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7717  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7718/* end confdefs.h.  */
7719#include <stdlib.h>
7720
7721_ACEOF
7722if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7723  $EGREP "free" >/dev/null 2>&1; then :
7724
7725else
7726  ac_cv_header_stdc=no
7727fi
7728rm -f conftest*
7729
7730fi
7731
7732if test $ac_cv_header_stdc = yes; then
7733  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7734  if test "$cross_compiling" = yes; then :
7735  :
7736else
7737  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738/* end confdefs.h.  */
7739#include <ctype.h>
7740#include <stdlib.h>
7741#if ((' ' & 0x0FF) == 0x020)
7742# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7743# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7744#else
7745# define ISLOWER(c) \
7746		   (('a' <= (c) && (c) <= 'i') \
7747		     || ('j' <= (c) && (c) <= 'r') \
7748		     || ('s' <= (c) && (c) <= 'z'))
7749# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7750#endif
7751
7752#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7753int
7754main ()
7755{
7756  int i;
7757  for (i = 0; i < 256; i++)
7758    if (XOR (islower (i), ISLOWER (i))
7759	|| toupper (i) != TOUPPER (i))
7760      return 2;
7761  return 0;
7762}
7763_ACEOF
7764if ac_fn_c_try_run "$LINENO"; then :
7765
7766else
7767  ac_cv_header_stdc=no
7768fi
7769rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7770  conftest.$ac_objext conftest.beam conftest.$ac_ext
7771fi
7772
7773fi
7774fi
7775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7776$as_echo "$ac_cv_header_stdc" >&6; }
7777if test $ac_cv_header_stdc = yes; then
7778
7779$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7780
7781fi
7782
7783# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7784for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7785		  inttypes.h stdint.h unistd.h
7786do :
7787  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7788ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7789"
7790if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7791  cat >>confdefs.h <<_ACEOF
7792#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7793_ACEOF
7794
7795fi
7796
7797done
7798
7799
7800for ac_header in dlfcn.h
7801do :
7802  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7803"
7804if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7805  cat >>confdefs.h <<_ACEOF
7806#define HAVE_DLFCN_H 1
7807_ACEOF
7808
7809fi
7810
7811done
7812
7813
7814
7815
7816
7817# Set options
7818
7819
7820
7821        enable_dlopen=no
7822
7823
7824  enable_win32_dll=no
7825
7826
7827            # Check whether --enable-shared was given.
7828if test "${enable_shared+set}" = set; then :
7829  enableval=$enable_shared; p=${PACKAGE-default}
7830    case $enableval in
7831    yes) enable_shared=yes ;;
7832    no) enable_shared=no ;;
7833    *)
7834      enable_shared=no
7835      # Look at the argument we got.  We use all the common list separators.
7836      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7837      for pkg in $enableval; do
7838	IFS=$lt_save_ifs
7839	if test "X$pkg" = "X$p"; then
7840	  enable_shared=yes
7841	fi
7842      done
7843      IFS=$lt_save_ifs
7844      ;;
7845    esac
7846else
7847  enable_shared=yes
7848fi
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858  # Check whether --enable-static was given.
7859if test "${enable_static+set}" = set; then :
7860  enableval=$enable_static; p=${PACKAGE-default}
7861    case $enableval in
7862    yes) enable_static=yes ;;
7863    no) enable_static=no ;;
7864    *)
7865     enable_static=no
7866      # Look at the argument we got.  We use all the common list separators.
7867      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7868      for pkg in $enableval; do
7869	IFS=$lt_save_ifs
7870	if test "X$pkg" = "X$p"; then
7871	  enable_static=yes
7872	fi
7873      done
7874      IFS=$lt_save_ifs
7875      ;;
7876    esac
7877else
7878  enable_static=yes
7879fi
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890# Check whether --with-pic was given.
7891if test "${with_pic+set}" = set; then :
7892  withval=$with_pic; lt_p=${PACKAGE-default}
7893    case $withval in
7894    yes|no) pic_mode=$withval ;;
7895    *)
7896      pic_mode=default
7897      # Look at the argument we got.  We use all the common list separators.
7898      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7899      for lt_pkg in $withval; do
7900	IFS=$lt_save_ifs
7901	if test "X$lt_pkg" = "X$lt_p"; then
7902	  pic_mode=yes
7903	fi
7904      done
7905      IFS=$lt_save_ifs
7906      ;;
7907    esac
7908else
7909  pic_mode=default
7910fi
7911
7912
7913
7914
7915
7916
7917
7918
7919  # Check whether --enable-fast-install was given.
7920if test "${enable_fast_install+set}" = set; then :
7921  enableval=$enable_fast_install; p=${PACKAGE-default}
7922    case $enableval in
7923    yes) enable_fast_install=yes ;;
7924    no) enable_fast_install=no ;;
7925    *)
7926      enable_fast_install=no
7927      # Look at the argument we got.  We use all the common list separators.
7928      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7929      for pkg in $enableval; do
7930	IFS=$lt_save_ifs
7931	if test "X$pkg" = "X$p"; then
7932	  enable_fast_install=yes
7933	fi
7934      done
7935      IFS=$lt_save_ifs
7936      ;;
7937    esac
7938else
7939  enable_fast_install=yes
7940fi
7941
7942
7943
7944
7945
7946
7947
7948
7949  shared_archive_member_spec=
7950case $host,$enable_shared in
7951power*-*-aix[5-9]*,yes)
7952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7953$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7954
7955# Check whether --with-aix-soname was given.
7956if test "${with_aix_soname+set}" = set; then :
7957  withval=$with_aix_soname; case $withval in
7958    aix|svr4|both)
7959      ;;
7960    *)
7961      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7962      ;;
7963    esac
7964    lt_cv_with_aix_soname=$with_aix_soname
7965else
7966  if ${lt_cv_with_aix_soname+:} false; then :
7967  $as_echo_n "(cached) " >&6
7968else
7969  lt_cv_with_aix_soname=aix
7970fi
7971
7972    with_aix_soname=$lt_cv_with_aix_soname
7973fi
7974
7975  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7976$as_echo "$with_aix_soname" >&6; }
7977  if test aix != "$with_aix_soname"; then
7978    # For the AIX way of multilib, we name the shared archive member
7979    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7980    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7981    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7982    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7983    if test 64 = "${OBJECT_MODE-32}"; then
7984      shared_archive_member_spec=shr_64
7985    else
7986      shared_archive_member_spec=shr
7987    fi
7988  fi
7989  ;;
7990*)
7991  with_aix_soname=aix
7992  ;;
7993esac
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004# This can be used to rebuild libtool when needed
8005LIBTOOL_DEPS=$ltmain
8006
8007# Always use our own libtool.
8008LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039test -z "$LN_S" && LN_S="ln -s"
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054if test -n "${ZSH_VERSION+set}"; then
8055   setopt NO_GLOB_SUBST
8056fi
8057
8058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8059$as_echo_n "checking for objdir... " >&6; }
8060if ${lt_cv_objdir+:} false; then :
8061  $as_echo_n "(cached) " >&6
8062else
8063  rm -f .libs 2>/dev/null
8064mkdir .libs 2>/dev/null
8065if test -d .libs; then
8066  lt_cv_objdir=.libs
8067else
8068  # MS-DOS does not allow filenames that begin with a dot.
8069  lt_cv_objdir=_libs
8070fi
8071rmdir .libs 2>/dev/null
8072fi
8073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8074$as_echo "$lt_cv_objdir" >&6; }
8075objdir=$lt_cv_objdir
8076
8077
8078
8079
8080
8081cat >>confdefs.h <<_ACEOF
8082#define LT_OBJDIR "$lt_cv_objdir/"
8083_ACEOF
8084
8085
8086
8087
8088case $host_os in
8089aix3*)
8090  # AIX sometimes has problems with the GCC collect2 program.  For some
8091  # reason, if we set the COLLECT_NAMES environment variable, the problems
8092  # vanish in a puff of smoke.
8093  if test set != "${COLLECT_NAMES+set}"; then
8094    COLLECT_NAMES=
8095    export COLLECT_NAMES
8096  fi
8097  ;;
8098esac
8099
8100# Global variables:
8101ofile=libtool
8102can_build_shared=yes
8103
8104# All known linkers require a '.a' archive for static linking (except MSVC,
8105# which needs '.lib').
8106libext=a
8107
8108with_gnu_ld=$lt_cv_prog_gnu_ld
8109
8110old_CC=$CC
8111old_CFLAGS=$CFLAGS
8112
8113# Set sane defaults for various variables
8114test -z "$CC" && CC=cc
8115test -z "$LTCC" && LTCC=$CC
8116test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8117test -z "$LD" && LD=ld
8118test -z "$ac_objext" && ac_objext=o
8119
8120func_cc_basename $compiler
8121cc_basename=$func_cc_basename_result
8122
8123
8124# Only perform the check for file, if the check method requires it
8125test -z "$MAGIC_CMD" && MAGIC_CMD=file
8126case $deplibs_check_method in
8127file_magic*)
8128  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8129    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8130$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8131if ${lt_cv_path_MAGIC_CMD+:} false; then :
8132  $as_echo_n "(cached) " >&6
8133else
8134  case $MAGIC_CMD in
8135[\\/*] |  ?:[\\/]*)
8136  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8137  ;;
8138*)
8139  lt_save_MAGIC_CMD=$MAGIC_CMD
8140  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8141  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8142  for ac_dir in $ac_dummy; do
8143    IFS=$lt_save_ifs
8144    test -z "$ac_dir" && ac_dir=.
8145    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8146      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8147      if test -n "$file_magic_test_file"; then
8148	case $deplibs_check_method in
8149	"file_magic "*)
8150	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8151	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8152	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8153	    $EGREP "$file_magic_regex" > /dev/null; then
8154	    :
8155	  else
8156	    cat <<_LT_EOF 1>&2
8157
8158*** Warning: the command libtool uses to detect shared libraries,
8159*** $file_magic_cmd, produces output that libtool cannot recognize.
8160*** The result is that libtool may fail to recognize shared libraries
8161*** as such.  This will affect the creation of libtool libraries that
8162*** depend on shared libraries, but programs linked with such libtool
8163*** libraries will work regardless of this problem.  Nevertheless, you
8164*** may want to report the problem to your system manager and/or to
8165*** bug-libtool@gnu.org
8166
8167_LT_EOF
8168	  fi ;;
8169	esac
8170      fi
8171      break
8172    fi
8173  done
8174  IFS=$lt_save_ifs
8175  MAGIC_CMD=$lt_save_MAGIC_CMD
8176  ;;
8177esac
8178fi
8179
8180MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8181if test -n "$MAGIC_CMD"; then
8182  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8183$as_echo "$MAGIC_CMD" >&6; }
8184else
8185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8186$as_echo "no" >&6; }
8187fi
8188
8189
8190
8191
8192
8193if test -z "$lt_cv_path_MAGIC_CMD"; then
8194  if test -n "$ac_tool_prefix"; then
8195    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8196$as_echo_n "checking for file... " >&6; }
8197if ${lt_cv_path_MAGIC_CMD+:} false; then :
8198  $as_echo_n "(cached) " >&6
8199else
8200  case $MAGIC_CMD in
8201[\\/*] |  ?:[\\/]*)
8202  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8203  ;;
8204*)
8205  lt_save_MAGIC_CMD=$MAGIC_CMD
8206  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8207  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8208  for ac_dir in $ac_dummy; do
8209    IFS=$lt_save_ifs
8210    test -z "$ac_dir" && ac_dir=.
8211    if test -f "$ac_dir/file"; then
8212      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8213      if test -n "$file_magic_test_file"; then
8214	case $deplibs_check_method in
8215	"file_magic "*)
8216	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8217	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8218	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8219	    $EGREP "$file_magic_regex" > /dev/null; then
8220	    :
8221	  else
8222	    cat <<_LT_EOF 1>&2
8223
8224*** Warning: the command libtool uses to detect shared libraries,
8225*** $file_magic_cmd, produces output that libtool cannot recognize.
8226*** The result is that libtool may fail to recognize shared libraries
8227*** as such.  This will affect the creation of libtool libraries that
8228*** depend on shared libraries, but programs linked with such libtool
8229*** libraries will work regardless of this problem.  Nevertheless, you
8230*** may want to report the problem to your system manager and/or to
8231*** bug-libtool@gnu.org
8232
8233_LT_EOF
8234	  fi ;;
8235	esac
8236      fi
8237      break
8238    fi
8239  done
8240  IFS=$lt_save_ifs
8241  MAGIC_CMD=$lt_save_MAGIC_CMD
8242  ;;
8243esac
8244fi
8245
8246MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8247if test -n "$MAGIC_CMD"; then
8248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8249$as_echo "$MAGIC_CMD" >&6; }
8250else
8251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8252$as_echo "no" >&6; }
8253fi
8254
8255
8256  else
8257    MAGIC_CMD=:
8258  fi
8259fi
8260
8261  fi
8262  ;;
8263esac
8264
8265# Use C for the default configuration in the libtool script
8266
8267lt_save_CC=$CC
8268ac_ext=c
8269ac_cpp='$CPP $CPPFLAGS'
8270ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8271ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8272ac_compiler_gnu=$ac_cv_c_compiler_gnu
8273
8274
8275# Source file extension for C test sources.
8276ac_ext=c
8277
8278# Object file extension for compiled C test sources.
8279objext=o
8280objext=$objext
8281
8282# Code to be used in simple compile tests
8283lt_simple_compile_test_code="int some_variable = 0;"
8284
8285# Code to be used in simple link tests
8286lt_simple_link_test_code='int main(){return(0);}'
8287
8288
8289
8290
8291
8292
8293
8294# If no C compiler was specified, use CC.
8295LTCC=${LTCC-"$CC"}
8296
8297# If no C compiler flags were specified, use CFLAGS.
8298LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8299
8300# Allow CC to be a program name with arguments.
8301compiler=$CC
8302
8303# Save the default compiler, since it gets overwritten when the other
8304# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8305compiler_DEFAULT=$CC
8306
8307# save warnings/boilerplate of simple test code
8308ac_outfile=conftest.$ac_objext
8309echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8310eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8311_lt_compiler_boilerplate=`cat conftest.err`
8312$RM conftest*
8313
8314ac_outfile=conftest.$ac_objext
8315echo "$lt_simple_link_test_code" >conftest.$ac_ext
8316eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8317_lt_linker_boilerplate=`cat conftest.err`
8318$RM -r conftest*
8319
8320
8321## CAVEAT EMPTOR:
8322## There is no encapsulation within the following macros, do not change
8323## the running order or otherwise move them around unless you know exactly
8324## what you are doing...
8325if test -n "$compiler"; then
8326
8327lt_prog_compiler_no_builtin_flag=
8328
8329if test yes = "$GCC"; then
8330  case $cc_basename in
8331  nvcc*)
8332    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8333  *)
8334    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8335  esac
8336
8337  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8338$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8339if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8340  $as_echo_n "(cached) " >&6
8341else
8342  lt_cv_prog_compiler_rtti_exceptions=no
8343   ac_outfile=conftest.$ac_objext
8344   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8345   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8346   # Insert the option either (1) after the last *FLAGS variable, or
8347   # (2) before a word containing "conftest.", or (3) at the end.
8348   # Note that $ac_compile itself does not contain backslashes and begins
8349   # with a dollar sign (not a hyphen), so the echo should work correctly.
8350   # The option is referenced via a variable to avoid confusing sed.
8351   lt_compile=`echo "$ac_compile" | $SED \
8352   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8353   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8354   -e 's:$: $lt_compiler_flag:'`
8355   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8356   (eval "$lt_compile" 2>conftest.err)
8357   ac_status=$?
8358   cat conftest.err >&5
8359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360   if (exit $ac_status) && test -s "$ac_outfile"; then
8361     # The compiler can only warn and ignore the option if not recognized
8362     # So say no if there are warnings other than the usual output.
8363     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8364     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8365     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8366       lt_cv_prog_compiler_rtti_exceptions=yes
8367     fi
8368   fi
8369   $RM conftest*
8370
8371fi
8372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8373$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8374
8375if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8376    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8377else
8378    :
8379fi
8380
8381fi
8382
8383
8384
8385
8386
8387
8388  lt_prog_compiler_wl=
8389lt_prog_compiler_pic=
8390lt_prog_compiler_static=
8391
8392
8393  if test yes = "$GCC"; then
8394    lt_prog_compiler_wl='-Wl,'
8395    lt_prog_compiler_static='-static'
8396
8397    case $host_os in
8398      aix*)
8399      # All AIX code is PIC.
8400      if test ia64 = "$host_cpu"; then
8401	# AIX 5 now supports IA64 processor
8402	lt_prog_compiler_static='-Bstatic'
8403      fi
8404      lt_prog_compiler_pic='-fPIC'
8405      ;;
8406
8407    amigaos*)
8408      case $host_cpu in
8409      powerpc)
8410            # see comment about AmigaOS4 .so support
8411            lt_prog_compiler_pic='-fPIC'
8412        ;;
8413      m68k)
8414            # FIXME: we need at least 68020 code to build shared libraries, but
8415            # adding the '-m68020' flag to GCC prevents building anything better,
8416            # like '-m68040'.
8417            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8418        ;;
8419      esac
8420      ;;
8421
8422    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8423      # PIC is the default for these OSes.
8424      ;;
8425
8426    mingw* | cygwin* | pw32* | os2* | cegcc*)
8427      # This hack is so that the source file can tell whether it is being
8428      # built for inclusion in a dll (and should export symbols for example).
8429      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8430      # (--disable-auto-import) libraries
8431      lt_prog_compiler_pic='-DDLL_EXPORT'
8432      case $host_os in
8433      os2*)
8434	lt_prog_compiler_static='$wl-static'
8435	;;
8436      esac
8437      ;;
8438
8439    darwin* | rhapsody*)
8440      # PIC is the default on this platform
8441      # Common symbols not allowed in MH_DYLIB files
8442      lt_prog_compiler_pic='-fno-common'
8443      ;;
8444
8445    haiku*)
8446      # PIC is the default for Haiku.
8447      # The "-static" flag exists, but is broken.
8448      lt_prog_compiler_static=
8449      ;;
8450
8451    hpux*)
8452      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8453      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8454      # sets the default TLS model and affects inlining.
8455      case $host_cpu in
8456      hppa*64*)
8457	# +Z the default
8458	;;
8459      *)
8460	lt_prog_compiler_pic='-fPIC'
8461	;;
8462      esac
8463      ;;
8464
8465    interix[3-9]*)
8466      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8467      # Instead, we relocate shared libraries at runtime.
8468      ;;
8469
8470    msdosdjgpp*)
8471      # Just because we use GCC doesn't mean we suddenly get shared libraries
8472      # on systems that don't support them.
8473      lt_prog_compiler_can_build_shared=no
8474      enable_shared=no
8475      ;;
8476
8477    *nto* | *qnx*)
8478      # QNX uses GNU C++, but need to define -shared option too, otherwise
8479      # it will coredump.
8480      lt_prog_compiler_pic='-fPIC -shared'
8481      ;;
8482
8483    sysv4*MP*)
8484      if test -d /usr/nec; then
8485	lt_prog_compiler_pic=-Kconform_pic
8486      fi
8487      ;;
8488
8489    *)
8490      lt_prog_compiler_pic='-fPIC'
8491      ;;
8492    esac
8493
8494    case $cc_basename in
8495    nvcc*) # Cuda Compiler Driver 2.2
8496      lt_prog_compiler_wl='-Xlinker '
8497      if test -n "$lt_prog_compiler_pic"; then
8498        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8499      fi
8500      ;;
8501    esac
8502  else
8503    # PORTME Check for flag to pass linker flags through the system compiler.
8504    case $host_os in
8505    aix*)
8506      lt_prog_compiler_wl='-Wl,'
8507      if test ia64 = "$host_cpu"; then
8508	# AIX 5 now supports IA64 processor
8509	lt_prog_compiler_static='-Bstatic'
8510      else
8511	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8512      fi
8513      ;;
8514
8515    darwin* | rhapsody*)
8516      # PIC is the default on this platform
8517      # Common symbols not allowed in MH_DYLIB files
8518      lt_prog_compiler_pic='-fno-common'
8519      case $cc_basename in
8520      nagfor*)
8521        # NAG Fortran compiler
8522        lt_prog_compiler_wl='-Wl,-Wl,,'
8523        lt_prog_compiler_pic='-PIC'
8524        lt_prog_compiler_static='-Bstatic'
8525        ;;
8526      esac
8527      ;;
8528
8529    mingw* | cygwin* | pw32* | os2* | cegcc*)
8530      # This hack is so that the source file can tell whether it is being
8531      # built for inclusion in a dll (and should export symbols for example).
8532      lt_prog_compiler_pic='-DDLL_EXPORT'
8533      case $host_os in
8534      os2*)
8535	lt_prog_compiler_static='$wl-static'
8536	;;
8537      esac
8538      ;;
8539
8540    hpux9* | hpux10* | hpux11*)
8541      lt_prog_compiler_wl='-Wl,'
8542      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8543      # not for PA HP-UX.
8544      case $host_cpu in
8545      hppa*64*|ia64*)
8546	# +Z the default
8547	;;
8548      *)
8549	lt_prog_compiler_pic='+Z'
8550	;;
8551      esac
8552      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8553      lt_prog_compiler_static='$wl-a ${wl}archive'
8554      ;;
8555
8556    irix5* | irix6* | nonstopux*)
8557      lt_prog_compiler_wl='-Wl,'
8558      # PIC (with -KPIC) is the default.
8559      lt_prog_compiler_static='-non_shared'
8560      ;;
8561
8562    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8563      case $cc_basename in
8564      # old Intel for x86_64, which still supported -KPIC.
8565      ecc*)
8566	lt_prog_compiler_wl='-Wl,'
8567	lt_prog_compiler_pic='-KPIC'
8568	lt_prog_compiler_static='-static'
8569        ;;
8570      # icc used to be incompatible with GCC.
8571      # ICC 10 doesn't accept -KPIC any more.
8572      icc* | ifort*)
8573	lt_prog_compiler_wl='-Wl,'
8574	lt_prog_compiler_pic='-fPIC'
8575	lt_prog_compiler_static='-static'
8576        ;;
8577      # Lahey Fortran 8.1.
8578      lf95*)
8579	lt_prog_compiler_wl='-Wl,'
8580	lt_prog_compiler_pic='--shared'
8581	lt_prog_compiler_static='--static'
8582	;;
8583      nagfor*)
8584	# NAG Fortran compiler
8585	lt_prog_compiler_wl='-Wl,-Wl,,'
8586	lt_prog_compiler_pic='-PIC'
8587	lt_prog_compiler_static='-Bstatic'
8588	;;
8589      tcc*)
8590	# Fabrice Bellard et al's Tiny C Compiler
8591	lt_prog_compiler_wl='-Wl,'
8592	lt_prog_compiler_pic='-fPIC'
8593	lt_prog_compiler_static='-static'
8594	;;
8595      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8596        # Portland Group compilers (*not* the Pentium gcc compiler,
8597	# which looks to be a dead project)
8598	lt_prog_compiler_wl='-Wl,'
8599	lt_prog_compiler_pic='-fpic'
8600	lt_prog_compiler_static='-Bstatic'
8601        ;;
8602      ccc*)
8603        lt_prog_compiler_wl='-Wl,'
8604        # All Alpha code is PIC.
8605        lt_prog_compiler_static='-non_shared'
8606        ;;
8607      xl* | bgxl* | bgf* | mpixl*)
8608	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8609	lt_prog_compiler_wl='-Wl,'
8610	lt_prog_compiler_pic='-qpic'
8611	lt_prog_compiler_static='-qstaticlink'
8612	;;
8613      *)
8614	case `$CC -V 2>&1 | sed 5q` in
8615	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8616	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8617	  lt_prog_compiler_pic='-KPIC'
8618	  lt_prog_compiler_static='-Bstatic'
8619	  lt_prog_compiler_wl=''
8620	  ;;
8621	*Sun\ F* | *Sun*Fortran*)
8622	  lt_prog_compiler_pic='-KPIC'
8623	  lt_prog_compiler_static='-Bstatic'
8624	  lt_prog_compiler_wl='-Qoption ld '
8625	  ;;
8626	*Sun\ C*)
8627	  # Sun C 5.9
8628	  lt_prog_compiler_pic='-KPIC'
8629	  lt_prog_compiler_static='-Bstatic'
8630	  lt_prog_compiler_wl='-Wl,'
8631	  ;;
8632        *Intel*\ [CF]*Compiler*)
8633	  lt_prog_compiler_wl='-Wl,'
8634	  lt_prog_compiler_pic='-fPIC'
8635	  lt_prog_compiler_static='-static'
8636	  ;;
8637	*Portland\ Group*)
8638	  lt_prog_compiler_wl='-Wl,'
8639	  lt_prog_compiler_pic='-fpic'
8640	  lt_prog_compiler_static='-Bstatic'
8641	  ;;
8642	esac
8643	;;
8644      esac
8645      ;;
8646
8647    newsos6)
8648      lt_prog_compiler_pic='-KPIC'
8649      lt_prog_compiler_static='-Bstatic'
8650      ;;
8651
8652    *nto* | *qnx*)
8653      # QNX uses GNU C++, but need to define -shared option too, otherwise
8654      # it will coredump.
8655      lt_prog_compiler_pic='-fPIC -shared'
8656      ;;
8657
8658    osf3* | osf4* | osf5*)
8659      lt_prog_compiler_wl='-Wl,'
8660      # All OSF/1 code is PIC.
8661      lt_prog_compiler_static='-non_shared'
8662      ;;
8663
8664    rdos*)
8665      lt_prog_compiler_static='-non_shared'
8666      ;;
8667
8668    solaris*)
8669      lt_prog_compiler_pic='-KPIC'
8670      lt_prog_compiler_static='-Bstatic'
8671      case $cc_basename in
8672      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8673	lt_prog_compiler_wl='-Qoption ld ';;
8674      *)
8675	lt_prog_compiler_wl='-Wl,';;
8676      esac
8677      ;;
8678
8679    sunos4*)
8680      lt_prog_compiler_wl='-Qoption ld '
8681      lt_prog_compiler_pic='-PIC'
8682      lt_prog_compiler_static='-Bstatic'
8683      ;;
8684
8685    sysv4 | sysv4.2uw2* | sysv4.3*)
8686      lt_prog_compiler_wl='-Wl,'
8687      lt_prog_compiler_pic='-KPIC'
8688      lt_prog_compiler_static='-Bstatic'
8689      ;;
8690
8691    sysv4*MP*)
8692      if test -d /usr/nec; then
8693	lt_prog_compiler_pic='-Kconform_pic'
8694	lt_prog_compiler_static='-Bstatic'
8695      fi
8696      ;;
8697
8698    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8699      lt_prog_compiler_wl='-Wl,'
8700      lt_prog_compiler_pic='-KPIC'
8701      lt_prog_compiler_static='-Bstatic'
8702      ;;
8703
8704    unicos*)
8705      lt_prog_compiler_wl='-Wl,'
8706      lt_prog_compiler_can_build_shared=no
8707      ;;
8708
8709    uts4*)
8710      lt_prog_compiler_pic='-pic'
8711      lt_prog_compiler_static='-Bstatic'
8712      ;;
8713
8714    *)
8715      lt_prog_compiler_can_build_shared=no
8716      ;;
8717    esac
8718  fi
8719
8720case $host_os in
8721  # For platforms that do not support PIC, -DPIC is meaningless:
8722  *djgpp*)
8723    lt_prog_compiler_pic=
8724    ;;
8725  *)
8726    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8727    ;;
8728esac
8729
8730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8731$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8732if ${lt_cv_prog_compiler_pic+:} false; then :
8733  $as_echo_n "(cached) " >&6
8734else
8735  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8736fi
8737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8738$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8739lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8740
8741#
8742# Check to make sure the PIC flag actually works.
8743#
8744if test -n "$lt_prog_compiler_pic"; then
8745  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8746$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8747if ${lt_cv_prog_compiler_pic_works+:} false; then :
8748  $as_echo_n "(cached) " >&6
8749else
8750  lt_cv_prog_compiler_pic_works=no
8751   ac_outfile=conftest.$ac_objext
8752   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8753   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8754   # Insert the option either (1) after the last *FLAGS variable, or
8755   # (2) before a word containing "conftest.", or (3) at the end.
8756   # Note that $ac_compile itself does not contain backslashes and begins
8757   # with a dollar sign (not a hyphen), so the echo should work correctly.
8758   # The option is referenced via a variable to avoid confusing sed.
8759   lt_compile=`echo "$ac_compile" | $SED \
8760   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8761   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8762   -e 's:$: $lt_compiler_flag:'`
8763   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8764   (eval "$lt_compile" 2>conftest.err)
8765   ac_status=$?
8766   cat conftest.err >&5
8767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8768   if (exit $ac_status) && test -s "$ac_outfile"; then
8769     # The compiler can only warn and ignore the option if not recognized
8770     # So say no if there are warnings other than the usual output.
8771     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8772     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8773     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8774       lt_cv_prog_compiler_pic_works=yes
8775     fi
8776   fi
8777   $RM conftest*
8778
8779fi
8780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8781$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8782
8783if test yes = "$lt_cv_prog_compiler_pic_works"; then
8784    case $lt_prog_compiler_pic in
8785     "" | " "*) ;;
8786     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8787     esac
8788else
8789    lt_prog_compiler_pic=
8790     lt_prog_compiler_can_build_shared=no
8791fi
8792
8793fi
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805#
8806# Check to make sure the static flag actually works.
8807#
8808wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8810$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8811if ${lt_cv_prog_compiler_static_works+:} false; then :
8812  $as_echo_n "(cached) " >&6
8813else
8814  lt_cv_prog_compiler_static_works=no
8815   save_LDFLAGS=$LDFLAGS
8816   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8817   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8818   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8819     # The linker can only warn and ignore the option if not recognized
8820     # So say no if there are warnings
8821     if test -s conftest.err; then
8822       # Append any errors to the config.log.
8823       cat conftest.err 1>&5
8824       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8825       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8826       if diff conftest.exp conftest.er2 >/dev/null; then
8827         lt_cv_prog_compiler_static_works=yes
8828       fi
8829     else
8830       lt_cv_prog_compiler_static_works=yes
8831     fi
8832   fi
8833   $RM -r conftest*
8834   LDFLAGS=$save_LDFLAGS
8835
8836fi
8837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8838$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8839
8840if test yes = "$lt_cv_prog_compiler_static_works"; then
8841    :
8842else
8843    lt_prog_compiler_static=
8844fi
8845
8846
8847
8848
8849
8850
8851
8852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8853$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8854if ${lt_cv_prog_compiler_c_o+:} false; then :
8855  $as_echo_n "(cached) " >&6
8856else
8857  lt_cv_prog_compiler_c_o=no
8858   $RM -r conftest 2>/dev/null
8859   mkdir conftest
8860   cd conftest
8861   mkdir out
8862   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8863
8864   lt_compiler_flag="-o out/conftest2.$ac_objext"
8865   # Insert the option either (1) after the last *FLAGS variable, or
8866   # (2) before a word containing "conftest.", or (3) at the end.
8867   # Note that $ac_compile itself does not contain backslashes and begins
8868   # with a dollar sign (not a hyphen), so the echo should work correctly.
8869   lt_compile=`echo "$ac_compile" | $SED \
8870   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872   -e 's:$: $lt_compiler_flag:'`
8873   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8874   (eval "$lt_compile" 2>out/conftest.err)
8875   ac_status=$?
8876   cat out/conftest.err >&5
8877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8879   then
8880     # The compiler can only warn and ignore the option if not recognized
8881     # So say no if there are warnings
8882     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8883     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8884     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8885       lt_cv_prog_compiler_c_o=yes
8886     fi
8887   fi
8888   chmod u+w . 2>&5
8889   $RM conftest*
8890   # SGI C++ compiler will create directory out/ii_files/ for
8891   # template instantiation
8892   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8893   $RM out/* && rmdir out
8894   cd ..
8895   $RM -r conftest
8896   $RM conftest*
8897
8898fi
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8900$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8901
8902
8903
8904
8905
8906
8907  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8908$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8909if ${lt_cv_prog_compiler_c_o+:} false; then :
8910  $as_echo_n "(cached) " >&6
8911else
8912  lt_cv_prog_compiler_c_o=no
8913   $RM -r conftest 2>/dev/null
8914   mkdir conftest
8915   cd conftest
8916   mkdir out
8917   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918
8919   lt_compiler_flag="-o out/conftest2.$ac_objext"
8920   # Insert the option either (1) after the last *FLAGS variable, or
8921   # (2) before a word containing "conftest.", or (3) at the end.
8922   # Note that $ac_compile itself does not contain backslashes and begins
8923   # with a dollar sign (not a hyphen), so the echo should work correctly.
8924   lt_compile=`echo "$ac_compile" | $SED \
8925   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927   -e 's:$: $lt_compiler_flag:'`
8928   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929   (eval "$lt_compile" 2>out/conftest.err)
8930   ac_status=$?
8931   cat out/conftest.err >&5
8932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8934   then
8935     # The compiler can only warn and ignore the option if not recognized
8936     # So say no if there are warnings
8937     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8938     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8939     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8940       lt_cv_prog_compiler_c_o=yes
8941     fi
8942   fi
8943   chmod u+w . 2>&5
8944   $RM conftest*
8945   # SGI C++ compiler will create directory out/ii_files/ for
8946   # template instantiation
8947   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8948   $RM out/* && rmdir out
8949   cd ..
8950   $RM -r conftest
8951   $RM conftest*
8952
8953fi
8954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8955$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8956
8957
8958
8959
8960hard_links=nottested
8961if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8962  # do not overwrite the value of need_locks provided by the user
8963  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8964$as_echo_n "checking if we can lock with hard links... " >&6; }
8965  hard_links=yes
8966  $RM conftest*
8967  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8968  touch conftest.a
8969  ln conftest.a conftest.b 2>&5 || hard_links=no
8970  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8972$as_echo "$hard_links" >&6; }
8973  if test no = "$hard_links"; then
8974    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8975$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8976    need_locks=warn
8977  fi
8978else
8979  need_locks=no
8980fi
8981
8982
8983
8984
8985
8986
8987  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8988$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8989
8990  runpath_var=
8991  allow_undefined_flag=
8992  always_export_symbols=no
8993  archive_cmds=
8994  archive_expsym_cmds=
8995  compiler_needs_object=no
8996  enable_shared_with_static_runtimes=no
8997  export_dynamic_flag_spec=
8998  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8999  hardcode_automatic=no
9000  hardcode_direct=no
9001  hardcode_direct_absolute=no
9002  hardcode_libdir_flag_spec=
9003  hardcode_libdir_separator=
9004  hardcode_minus_L=no
9005  hardcode_shlibpath_var=unsupported
9006  inherit_rpath=no
9007  link_all_deplibs=unknown
9008  module_cmds=
9009  module_expsym_cmds=
9010  old_archive_from_new_cmds=
9011  old_archive_from_expsyms_cmds=
9012  thread_safe_flag_spec=
9013  whole_archive_flag_spec=
9014  # include_expsyms should be a list of space-separated symbols to be *always*
9015  # included in the symbol list
9016  include_expsyms=
9017  # exclude_expsyms can be an extended regexp of symbols to exclude
9018  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9019  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9020  # as well as any symbol that contains 'd'.
9021  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9022  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9023  # platforms (ab)use it in PIC code, but their linkers get confused if
9024  # the symbol is explicitly referenced.  Since portable code cannot
9025  # rely on this symbol name, it's probably fine to never include it in
9026  # preloaded symbol tables.
9027  # Exclude shared library initialization/finalization symbols.
9028  extract_expsyms_cmds=
9029
9030  case $host_os in
9031  cygwin* | mingw* | pw32* | cegcc*)
9032    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9033    # When not using gcc, we currently assume that we are using
9034    # Microsoft Visual C++.
9035    if test yes != "$GCC"; then
9036      with_gnu_ld=no
9037    fi
9038    ;;
9039  interix*)
9040    # we just hope/assume this is gcc and not c89 (= MSVC++)
9041    with_gnu_ld=yes
9042    ;;
9043  openbsd* | bitrig*)
9044    with_gnu_ld=no
9045    ;;
9046  linux* | k*bsd*-gnu | gnu*)
9047    link_all_deplibs=no
9048    ;;
9049  esac
9050
9051  ld_shlibs=yes
9052
9053  # On some targets, GNU ld is compatible enough with the native linker
9054  # that we're better off using the native interface for both.
9055  lt_use_gnu_ld_interface=no
9056  if test yes = "$with_gnu_ld"; then
9057    case $host_os in
9058      aix*)
9059	# The AIX port of GNU ld has always aspired to compatibility
9060	# with the native linker.  However, as the warning in the GNU ld
9061	# block says, versions before 2.19.5* couldn't really create working
9062	# shared libraries, regardless of the interface used.
9063	case `$LD -v 2>&1` in
9064	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9065	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9066	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9067	  *)
9068	    lt_use_gnu_ld_interface=yes
9069	    ;;
9070	esac
9071	;;
9072      *)
9073	lt_use_gnu_ld_interface=yes
9074	;;
9075    esac
9076  fi
9077
9078  if test yes = "$lt_use_gnu_ld_interface"; then
9079    # If archive_cmds runs LD, not CC, wlarc should be empty
9080    wlarc='$wl'
9081
9082    # Set some defaults for GNU ld with shared library support. These
9083    # are reset later if shared libraries are not supported. Putting them
9084    # here allows them to be overridden if necessary.
9085    runpath_var=LD_RUN_PATH
9086    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9087    export_dynamic_flag_spec='$wl--export-dynamic'
9088    # ancient GNU ld didn't support --whole-archive et. al.
9089    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9090      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9091    else
9092      whole_archive_flag_spec=
9093    fi
9094    supports_anon_versioning=no
9095    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9096      *GNU\ gold*) supports_anon_versioning=yes ;;
9097      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9098      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9099      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9100      *\ 2.11.*) ;; # other 2.11 versions
9101      *) supports_anon_versioning=yes ;;
9102    esac
9103
9104    # See if GNU ld supports shared libraries.
9105    case $host_os in
9106    aix[3-9]*)
9107      # On AIX/PPC, the GNU linker is very broken
9108      if test ia64 != "$host_cpu"; then
9109	ld_shlibs=no
9110	cat <<_LT_EOF 1>&2
9111
9112*** Warning: the GNU linker, at least up to release 2.19, is reported
9113*** to be unable to reliably create shared libraries on AIX.
9114*** Therefore, libtool is disabling shared libraries support.  If you
9115*** really care for shared libraries, you may want to install binutils
9116*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9117*** You will then need to restart the configuration process.
9118
9119_LT_EOF
9120      fi
9121      ;;
9122
9123    amigaos*)
9124      case $host_cpu in
9125      powerpc)
9126            # see comment about AmigaOS4 .so support
9127            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9128            archive_expsym_cmds=''
9129        ;;
9130      m68k)
9131            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)'
9132            hardcode_libdir_flag_spec='-L$libdir'
9133            hardcode_minus_L=yes
9134        ;;
9135      esac
9136      ;;
9137
9138    beos*)
9139      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9140	allow_undefined_flag=unsupported
9141	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9142	# support --undefined.  This deserves some investigation.  FIXME
9143	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9144      else
9145	ld_shlibs=no
9146      fi
9147      ;;
9148
9149    cygwin* | mingw* | pw32* | cegcc*)
9150      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9151      # as there is no search path for DLLs.
9152      hardcode_libdir_flag_spec='-L$libdir'
9153      export_dynamic_flag_spec='$wl--export-all-symbols'
9154      allow_undefined_flag=unsupported
9155      always_export_symbols=no
9156      enable_shared_with_static_runtimes=yes
9157      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'
9158      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9159
9160      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9161        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9162	# If the export-symbols file already is a .def file, use it as
9163	# is; otherwise, prepend EXPORTS...
9164	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9165          cp $export_symbols $output_objdir/$soname.def;
9166        else
9167          echo EXPORTS > $output_objdir/$soname.def;
9168          cat $export_symbols >> $output_objdir/$soname.def;
9169        fi~
9170        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9171      else
9172	ld_shlibs=no
9173      fi
9174      ;;
9175
9176    haiku*)
9177      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9178      link_all_deplibs=yes
9179      ;;
9180
9181    os2*)
9182      hardcode_libdir_flag_spec='-L$libdir'
9183      hardcode_minus_L=yes
9184      allow_undefined_flag=unsupported
9185      shrext_cmds=.dll
9186      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9187	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9188	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9189	$ECHO EXPORTS >> $output_objdir/$libname.def~
9190	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9191	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9192	emximp -o $lib $output_objdir/$libname.def'
9193      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9194	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9195	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9196	$ECHO EXPORTS >> $output_objdir/$libname.def~
9197	prefix_cmds="$SED"~
9198	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9199	  prefix_cmds="$prefix_cmds -e 1d";
9200	fi~
9201	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9202	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9203	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9204	emximp -o $lib $output_objdir/$libname.def'
9205      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9206      enable_shared_with_static_runtimes=yes
9207      ;;
9208
9209    interix[3-9]*)
9210      hardcode_direct=no
9211      hardcode_shlibpath_var=no
9212      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9213      export_dynamic_flag_spec='$wl-E'
9214      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9215      # Instead, shared libraries are loaded at an image base (0x10000000 by
9216      # default) and relocated if they conflict, which is a slow very memory
9217      # consuming and fragmenting process.  To avoid this, we pick a random,
9218      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9219      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9220      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9221      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'
9222      ;;
9223
9224    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9225      tmp_diet=no
9226      if test linux-dietlibc = "$host_os"; then
9227	case $cc_basename in
9228	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9229	esac
9230      fi
9231      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9232	 && test no = "$tmp_diet"
9233      then
9234	tmp_addflag=' $pic_flag'
9235	tmp_sharedflag='-shared'
9236	case $cc_basename,$host_cpu in
9237        pgcc*)				# Portland Group C compiler
9238	  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'
9239	  tmp_addflag=' $pic_flag'
9240	  ;;
9241	pgf77* | pgf90* | pgf95* | pgfortran*)
9242					# Portland Group f77 and f90 compilers
9243	  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'
9244	  tmp_addflag=' $pic_flag -Mnomain' ;;
9245	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9246	  tmp_addflag=' -i_dynamic' ;;
9247	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9248	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9249	ifc* | ifort*)			# Intel Fortran compiler
9250	  tmp_addflag=' -nofor_main' ;;
9251	lf95*)				# Lahey Fortran 8.1
9252	  whole_archive_flag_spec=
9253	  tmp_sharedflag='--shared' ;;
9254        nagfor*)                        # NAGFOR 5.3
9255          tmp_sharedflag='-Wl,-shared' ;;
9256	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9257	  tmp_sharedflag='-qmkshrobj'
9258	  tmp_addflag= ;;
9259	nvcc*)	# Cuda Compiler Driver 2.2
9260	  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'
9261	  compiler_needs_object=yes
9262	  ;;
9263	esac
9264	case `$CC -V 2>&1 | sed 5q` in
9265	*Sun\ C*)			# Sun C 5.9
9266	  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'
9267	  compiler_needs_object=yes
9268	  tmp_sharedflag='-G' ;;
9269	*Sun\ F*)			# Sun Fortran 8.3
9270	  tmp_sharedflag='-G' ;;
9271	esac
9272	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9273
9274        if test yes = "$supports_anon_versioning"; then
9275          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9276            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9277            echo "local: *; };" >> $output_objdir/$libname.ver~
9278            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9279        fi
9280
9281	case $cc_basename in
9282	tcc*)
9283	  export_dynamic_flag_spec='-rdynamic'
9284	  ;;
9285	xlf* | bgf* | bgxlf* | mpixlf*)
9286	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9287	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9288	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9289	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9290	  if test yes = "$supports_anon_versioning"; then
9291	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9292              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9293              echo "local: *; };" >> $output_objdir/$libname.ver~
9294              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9295	  fi
9296	  ;;
9297	esac
9298      else
9299        ld_shlibs=no
9300      fi
9301      ;;
9302
9303    netbsd* | netbsdelf*-gnu)
9304      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9305	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9306	wlarc=
9307      else
9308	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9309	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9310      fi
9311      ;;
9312
9313    solaris*)
9314      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9315	ld_shlibs=no
9316	cat <<_LT_EOF 1>&2
9317
9318*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9319*** create shared libraries on Solaris systems.  Therefore, libtool
9320*** is disabling shared libraries support.  We urge you to upgrade GNU
9321*** binutils to release 2.9.1 or newer.  Another option is to modify
9322*** your PATH or compiler configuration so that the native linker is
9323*** used, and then restart.
9324
9325_LT_EOF
9326      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9327	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9328	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9329      else
9330	ld_shlibs=no
9331      fi
9332      ;;
9333
9334    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9335      case `$LD -v 2>&1` in
9336        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9337	ld_shlibs=no
9338	cat <<_LT_EOF 1>&2
9339
9340*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9341*** reliably create shared libraries on SCO systems.  Therefore, libtool
9342*** is disabling shared libraries support.  We urge you to upgrade GNU
9343*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9344*** your PATH or compiler configuration so that the native linker is
9345*** used, and then restart.
9346
9347_LT_EOF
9348	;;
9349	*)
9350	  # For security reasons, it is highly recommended that you always
9351	  # use absolute paths for naming shared libraries, and exclude the
9352	  # DT_RUNPATH tag from executables and libraries.  But doing so
9353	  # requires that you compile everything twice, which is a pain.
9354	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9355	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9356	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9357	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9358	  else
9359	    ld_shlibs=no
9360	  fi
9361	;;
9362      esac
9363      ;;
9364
9365    sunos4*)
9366      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9367      wlarc=
9368      hardcode_direct=yes
9369      hardcode_shlibpath_var=no
9370      ;;
9371
9372    *)
9373      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9374	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9375	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9376      else
9377	ld_shlibs=no
9378      fi
9379      ;;
9380    esac
9381
9382    if test no = "$ld_shlibs"; then
9383      runpath_var=
9384      hardcode_libdir_flag_spec=
9385      export_dynamic_flag_spec=
9386      whole_archive_flag_spec=
9387    fi
9388  else
9389    # PORTME fill in a description of your system's linker (not GNU ld)
9390    case $host_os in
9391    aix3*)
9392      allow_undefined_flag=unsupported
9393      always_export_symbols=yes
9394      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'
9395      # Note: this linker hardcodes the directories in LIBPATH if there
9396      # are no directories specified by -L.
9397      hardcode_minus_L=yes
9398      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9399	# Neither direct hardcoding nor static linking is supported with a
9400	# broken collect2.
9401	hardcode_direct=unsupported
9402      fi
9403      ;;
9404
9405    aix[4-9]*)
9406      if test ia64 = "$host_cpu"; then
9407	# On IA64, the linker does run time linking by default, so we don't
9408	# have to do anything special.
9409	aix_use_runtimelinking=no
9410	exp_sym_flag='-Bexport'
9411	no_entry_flag=
9412      else
9413	# If we're using GNU nm, then we don't want the "-C" option.
9414	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9415	# Without the "-l" option, or with the "-B" option, AIX nm treats
9416	# weak defined symbols like other global defined symbols, whereas
9417	# GNU nm marks them as "W".
9418	# While the 'weak' keyword is ignored in the Export File, we need
9419	# it in the Import File for the 'aix-soname' feature, so we have
9420	# to replace the "-B" option with "-P" for AIX nm.
9421	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9422	  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'
9423	else
9424	  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'
9425	fi
9426	aix_use_runtimelinking=no
9427
9428	# Test if we are trying to use run time linking or normal
9429	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9430	# have runtime linking enabled, and use it for executables.
9431	# For shared libraries, we enable/disable runtime linking
9432	# depending on the kind of the shared library created -
9433	# when "with_aix_soname,aix_use_runtimelinking" is:
9434	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9435	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9436	#            lib.a           static archive
9437	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9438	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9439	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9440	#            lib.a(lib.so.V) shared, rtl:no
9441	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9442	#            lib.a           static archive
9443	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444	  for ld_flag in $LDFLAGS; do
9445	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9446	    aix_use_runtimelinking=yes
9447	    break
9448	  fi
9449	  done
9450	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9451	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9452	    # so we don't have lib.a shared libs to link our executables.
9453	    # We have to force runtime linking in this case.
9454	    aix_use_runtimelinking=yes
9455	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9456	  fi
9457	  ;;
9458	esac
9459
9460	exp_sym_flag='-bexport'
9461	no_entry_flag='-bnoentry'
9462      fi
9463
9464      # When large executables or shared objects are built, AIX ld can
9465      # have problems creating the table of contents.  If linking a library
9466      # or program results in "error TOC overflow" add -mminimal-toc to
9467      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9468      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9469
9470      archive_cmds=''
9471      hardcode_direct=yes
9472      hardcode_direct_absolute=yes
9473      hardcode_libdir_separator=':'
9474      link_all_deplibs=yes
9475      file_list_spec='$wl-f,'
9476      case $with_aix_soname,$aix_use_runtimelinking in
9477      aix,*) ;; # traditional, no import file
9478      svr4,* | *,yes) # use import file
9479	# The Import File defines what to hardcode.
9480	hardcode_direct=no
9481	hardcode_direct_absolute=no
9482	;;
9483      esac
9484
9485      if test yes = "$GCC"; then
9486	case $host_os in aix4.[012]|aix4.[012].*)
9487	# We only want to do this on AIX 4.2 and lower, the check
9488	# below for broken collect2 doesn't work under 4.3+
9489	  collect2name=`$CC -print-prog-name=collect2`
9490	  if test -f "$collect2name" &&
9491	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9492	  then
9493	  # We have reworked collect2
9494	  :
9495	  else
9496	  # We have old collect2
9497	  hardcode_direct=unsupported
9498	  # It fails to find uninstalled libraries when the uninstalled
9499	  # path is not listed in the libpath.  Setting hardcode_minus_L
9500	  # to unsupported forces relinking
9501	  hardcode_minus_L=yes
9502	  hardcode_libdir_flag_spec='-L$libdir'
9503	  hardcode_libdir_separator=
9504	  fi
9505	  ;;
9506	esac
9507	shared_flag='-shared'
9508	if test yes = "$aix_use_runtimelinking"; then
9509	  shared_flag="$shared_flag "'$wl-G'
9510	fi
9511	# Need to ensure runtime linking is disabled for the traditional
9512	# shared library, or the linker may eventually find shared libraries
9513	# /with/ Import File - we do not want to mix them.
9514	shared_flag_aix='-shared'
9515	shared_flag_svr4='-shared $wl-G'
9516      else
9517	# not using gcc
9518	if test ia64 = "$host_cpu"; then
9519	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9520	# chokes on -Wl,-G. The following line is correct:
9521	  shared_flag='-G'
9522	else
9523	  if test yes = "$aix_use_runtimelinking"; then
9524	    shared_flag='$wl-G'
9525	  else
9526	    shared_flag='$wl-bM:SRE'
9527	  fi
9528	  shared_flag_aix='$wl-bM:SRE'
9529	  shared_flag_svr4='$wl-G'
9530	fi
9531      fi
9532
9533      export_dynamic_flag_spec='$wl-bexpall'
9534      # It seems that -bexpall does not export symbols beginning with
9535      # underscore (_), so it is better to generate a list of symbols to export.
9536      always_export_symbols=yes
9537      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9538	# Warning - without using the other runtime loading flags (-brtl),
9539	# -berok will link without error, but may produce a broken library.
9540	allow_undefined_flag='-berok'
9541        # Determine the default libpath from the value encoded in an
9542        # empty executable.
9543        if test set = "${lt_cv_aix_libpath+set}"; then
9544  aix_libpath=$lt_cv_aix_libpath
9545else
9546  if ${lt_cv_aix_libpath_+:} false; then :
9547  $as_echo_n "(cached) " >&6
9548else
9549  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550/* end confdefs.h.  */
9551
9552int
9553main ()
9554{
9555
9556  ;
9557  return 0;
9558}
9559_ACEOF
9560if ac_fn_c_try_link "$LINENO"; then :
9561
9562  lt_aix_libpath_sed='
9563      /Import File Strings/,/^$/ {
9564	  /^0/ {
9565	      s/^0  *\([^ ]*\) *$/\1/
9566	      p
9567	  }
9568      }'
9569  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570  # Check for a 64-bit object if we didn't find anything.
9571  if test -z "$lt_cv_aix_libpath_"; then
9572    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9573  fi
9574fi
9575rm -f core conftest.err conftest.$ac_objext \
9576    conftest$ac_exeext conftest.$ac_ext
9577  if test -z "$lt_cv_aix_libpath_"; then
9578    lt_cv_aix_libpath_=/usr/lib:/lib
9579  fi
9580
9581fi
9582
9583  aix_libpath=$lt_cv_aix_libpath_
9584fi
9585
9586        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9587        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
9588      else
9589	if test ia64 = "$host_cpu"; then
9590	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9591	  allow_undefined_flag="-z nodefs"
9592	  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"
9593	else
9594	 # Determine the default libpath from the value encoded in an
9595	 # empty executable.
9596	 if test set = "${lt_cv_aix_libpath+set}"; then
9597  aix_libpath=$lt_cv_aix_libpath
9598else
9599  if ${lt_cv_aix_libpath_+:} false; then :
9600  $as_echo_n "(cached) " >&6
9601else
9602  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9603/* end confdefs.h.  */
9604
9605int
9606main ()
9607{
9608
9609  ;
9610  return 0;
9611}
9612_ACEOF
9613if ac_fn_c_try_link "$LINENO"; then :
9614
9615  lt_aix_libpath_sed='
9616      /Import File Strings/,/^$/ {
9617	  /^0/ {
9618	      s/^0  *\([^ ]*\) *$/\1/
9619	      p
9620	  }
9621      }'
9622  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9623  # Check for a 64-bit object if we didn't find anything.
9624  if test -z "$lt_cv_aix_libpath_"; then
9625    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626  fi
9627fi
9628rm -f core conftest.err conftest.$ac_objext \
9629    conftest$ac_exeext conftest.$ac_ext
9630  if test -z "$lt_cv_aix_libpath_"; then
9631    lt_cv_aix_libpath_=/usr/lib:/lib
9632  fi
9633
9634fi
9635
9636  aix_libpath=$lt_cv_aix_libpath_
9637fi
9638
9639	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9640	  # Warning - without using the other run time loading flags,
9641	  # -berok will link without error, but may produce a broken library.
9642	  no_undefined_flag=' $wl-bernotok'
9643	  allow_undefined_flag=' $wl-berok'
9644	  if test yes = "$with_gnu_ld"; then
9645	    # We only use this code for GNU lds that support --whole-archive.
9646	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9647	  else
9648	    # Exported symbols can be pulled into shared objects from archives
9649	    whole_archive_flag_spec='$convenience'
9650	  fi
9651	  archive_cmds_need_lc=yes
9652	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9653	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9654	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9655	  if test svr4 != "$with_aix_soname"; then
9656	    # This is similar to how AIX traditionally builds its shared libraries.
9657	    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'
9658	  fi
9659	  if test aix != "$with_aix_soname"; then
9660	    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'
9661	  else
9662	    # used by -dlpreopen to get the symbols
9663	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9664	  fi
9665	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9666	fi
9667      fi
9668      ;;
9669
9670    amigaos*)
9671      case $host_cpu in
9672      powerpc)
9673            # see comment about AmigaOS4 .so support
9674            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9675            archive_expsym_cmds=''
9676        ;;
9677      m68k)
9678            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)'
9679            hardcode_libdir_flag_spec='-L$libdir'
9680            hardcode_minus_L=yes
9681        ;;
9682      esac
9683      ;;
9684
9685    bsdi[45]*)
9686      export_dynamic_flag_spec=-rdynamic
9687      ;;
9688
9689    cygwin* | mingw* | pw32* | cegcc*)
9690      # When not using gcc, we currently assume that we are using
9691      # Microsoft Visual C++.
9692      # hardcode_libdir_flag_spec is actually meaningless, as there is
9693      # no search path for DLLs.
9694      case $cc_basename in
9695      cl*)
9696	# Native MSVC
9697	hardcode_libdir_flag_spec=' '
9698	allow_undefined_flag=unsupported
9699	always_export_symbols=yes
9700	file_list_spec='@'
9701	# Tell ltmain to make .lib files, not .a files.
9702	libext=lib
9703	# Tell ltmain to make .dll files, not .so files.
9704	shrext_cmds=.dll
9705	# FIXME: Setting linknames here is a bad hack.
9706	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9707	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9708            cp "$export_symbols" "$output_objdir/$soname.def";
9709            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9710          else
9711            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9712          fi~
9713          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9714          linknames='
9715	# The linker will not automatically build a static lib if we build a DLL.
9716	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9717	enable_shared_with_static_runtimes=yes
9718	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9719	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9720	# Don't use ranlib
9721	old_postinstall_cmds='chmod 644 $oldlib'
9722	postlink_cmds='lt_outputfile="@OUTPUT@"~
9723          lt_tool_outputfile="@TOOL_OUTPUT@"~
9724          case $lt_outputfile in
9725            *.exe|*.EXE) ;;
9726            *)
9727              lt_outputfile=$lt_outputfile.exe
9728              lt_tool_outputfile=$lt_tool_outputfile.exe
9729              ;;
9730          esac~
9731          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9732            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9733            $RM "$lt_outputfile.manifest";
9734          fi'
9735	;;
9736      *)
9737	# Assume MSVC wrapper
9738	hardcode_libdir_flag_spec=' '
9739	allow_undefined_flag=unsupported
9740	# Tell ltmain to make .lib files, not .a files.
9741	libext=lib
9742	# Tell ltmain to make .dll files, not .so files.
9743	shrext_cmds=.dll
9744	# FIXME: Setting linknames here is a bad hack.
9745	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9746	# The linker will automatically build a .lib file if we build a DLL.
9747	old_archive_from_new_cmds='true'
9748	# FIXME: Should let the user specify the lib program.
9749	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9750	enable_shared_with_static_runtimes=yes
9751	;;
9752      esac
9753      ;;
9754
9755    darwin* | rhapsody*)
9756
9757
9758  archive_cmds_need_lc=no
9759  hardcode_direct=no
9760  hardcode_automatic=yes
9761  hardcode_shlibpath_var=unsupported
9762  if test yes = "$lt_cv_ld_force_load"; then
9763    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\"`'
9764
9765  else
9766    whole_archive_flag_spec=''
9767  fi
9768  link_all_deplibs=yes
9769  allow_undefined_flag=$_lt_dar_allow_undefined
9770  case $cc_basename in
9771     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9772     *) _lt_dar_can_shared=$GCC ;;
9773  esac
9774  if test yes = "$_lt_dar_can_shared"; then
9775    output_verbose_link_cmd=func_echo_all
9776    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9777    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9778    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"
9779    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"
9780
9781  else
9782  ld_shlibs=no
9783  fi
9784
9785      ;;
9786
9787    dgux*)
9788      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9789      hardcode_libdir_flag_spec='-L$libdir'
9790      hardcode_shlibpath_var=no
9791      ;;
9792
9793    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9794    # support.  Future versions do this automatically, but an explicit c++rt0.o
9795    # does not break anything, and helps significantly (at the cost of a little
9796    # extra space).
9797    freebsd2.2*)
9798      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9799      hardcode_libdir_flag_spec='-R$libdir'
9800      hardcode_direct=yes
9801      hardcode_shlibpath_var=no
9802      ;;
9803
9804    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9805    freebsd2.*)
9806      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9807      hardcode_direct=yes
9808      hardcode_minus_L=yes
9809      hardcode_shlibpath_var=no
9810      ;;
9811
9812    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9813    freebsd* | dragonfly*)
9814      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9815      hardcode_libdir_flag_spec='-R$libdir'
9816      hardcode_direct=yes
9817      hardcode_shlibpath_var=no
9818      ;;
9819
9820    hpux9*)
9821      if test yes = "$GCC"; then
9822	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'
9823      else
9824	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'
9825      fi
9826      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9827      hardcode_libdir_separator=:
9828      hardcode_direct=yes
9829
9830      # hardcode_minus_L: Not really in the search PATH,
9831      # but as the default location of the library.
9832      hardcode_minus_L=yes
9833      export_dynamic_flag_spec='$wl-E'
9834      ;;
9835
9836    hpux10*)
9837      if test yes,no = "$GCC,$with_gnu_ld"; then
9838	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9839      else
9840	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9841      fi
9842      if test no = "$with_gnu_ld"; then
9843	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9844	hardcode_libdir_separator=:
9845	hardcode_direct=yes
9846	hardcode_direct_absolute=yes
9847	export_dynamic_flag_spec='$wl-E'
9848	# hardcode_minus_L: Not really in the search PATH,
9849	# but as the default location of the library.
9850	hardcode_minus_L=yes
9851      fi
9852      ;;
9853
9854    hpux11*)
9855      if test yes,no = "$GCC,$with_gnu_ld"; then
9856	case $host_cpu in
9857	hppa*64*)
9858	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9859	  ;;
9860	ia64*)
9861	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9862	  ;;
9863	*)
9864	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9865	  ;;
9866	esac
9867      else
9868	case $host_cpu in
9869	hppa*64*)
9870	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9871	  ;;
9872	ia64*)
9873	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9874	  ;;
9875	*)
9876
9877	  # Older versions of the 11.00 compiler do not understand -b yet
9878	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9879	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9880$as_echo_n "checking if $CC understands -b... " >&6; }
9881if ${lt_cv_prog_compiler__b+:} false; then :
9882  $as_echo_n "(cached) " >&6
9883else
9884  lt_cv_prog_compiler__b=no
9885   save_LDFLAGS=$LDFLAGS
9886   LDFLAGS="$LDFLAGS -b"
9887   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9888   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9889     # The linker can only warn and ignore the option if not recognized
9890     # So say no if there are warnings
9891     if test -s conftest.err; then
9892       # Append any errors to the config.log.
9893       cat conftest.err 1>&5
9894       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9895       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9896       if diff conftest.exp conftest.er2 >/dev/null; then
9897         lt_cv_prog_compiler__b=yes
9898       fi
9899     else
9900       lt_cv_prog_compiler__b=yes
9901     fi
9902   fi
9903   $RM -r conftest*
9904   LDFLAGS=$save_LDFLAGS
9905
9906fi
9907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9908$as_echo "$lt_cv_prog_compiler__b" >&6; }
9909
9910if test yes = "$lt_cv_prog_compiler__b"; then
9911    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9912else
9913    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9914fi
9915
9916	  ;;
9917	esac
9918      fi
9919      if test no = "$with_gnu_ld"; then
9920	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9921	hardcode_libdir_separator=:
9922
9923	case $host_cpu in
9924	hppa*64*|ia64*)
9925	  hardcode_direct=no
9926	  hardcode_shlibpath_var=no
9927	  ;;
9928	*)
9929	  hardcode_direct=yes
9930	  hardcode_direct_absolute=yes
9931	  export_dynamic_flag_spec='$wl-E'
9932
9933	  # hardcode_minus_L: Not really in the search PATH,
9934	  # but as the default location of the library.
9935	  hardcode_minus_L=yes
9936	  ;;
9937	esac
9938      fi
9939      ;;
9940
9941    irix5* | irix6* | nonstopux*)
9942      if test yes = "$GCC"; then
9943	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'
9944	# Try to use the -exported_symbol ld option, if it does not
9945	# work, assume that -exports_file does not work either and
9946	# implicitly export all symbols.
9947	# This should be the same for all languages, so no per-tag cache variable.
9948	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9949$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9950if ${lt_cv_irix_exported_symbol+:} false; then :
9951  $as_echo_n "(cached) " >&6
9952else
9953  save_LDFLAGS=$LDFLAGS
9954	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9955	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9956/* end confdefs.h.  */
9957int foo (void) { return 0; }
9958_ACEOF
9959if ac_fn_c_try_link "$LINENO"; then :
9960  lt_cv_irix_exported_symbol=yes
9961else
9962  lt_cv_irix_exported_symbol=no
9963fi
9964rm -f core conftest.err conftest.$ac_objext \
9965    conftest$ac_exeext conftest.$ac_ext
9966           LDFLAGS=$save_LDFLAGS
9967fi
9968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9969$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9970	if test yes = "$lt_cv_irix_exported_symbol"; then
9971          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'
9972	fi
9973	link_all_deplibs=no
9974      else
9975	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'
9976	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'
9977      fi
9978      archive_cmds_need_lc='no'
9979      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9980      hardcode_libdir_separator=:
9981      inherit_rpath=yes
9982      link_all_deplibs=yes
9983      ;;
9984
9985    linux*)
9986      case $cc_basename in
9987      tcc*)
9988	# Fabrice Bellard et al's Tiny C Compiler
9989	ld_shlibs=yes
9990	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9991	;;
9992      esac
9993      ;;
9994
9995    netbsd* | netbsdelf*-gnu)
9996      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9997	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9998      else
9999	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10000      fi
10001      hardcode_libdir_flag_spec='-R$libdir'
10002      hardcode_direct=yes
10003      hardcode_shlibpath_var=no
10004      ;;
10005
10006    newsos6)
10007      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10008      hardcode_direct=yes
10009      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10010      hardcode_libdir_separator=:
10011      hardcode_shlibpath_var=no
10012      ;;
10013
10014    *nto* | *qnx*)
10015      ;;
10016
10017    openbsd* | bitrig*)
10018      if test -f /usr/libexec/ld.so; then
10019	hardcode_direct=yes
10020	hardcode_shlibpath_var=no
10021	hardcode_direct_absolute=yes
10022	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10023	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10025	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10026	  export_dynamic_flag_spec='$wl-E'
10027	else
10028	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10029	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10030	fi
10031      else
10032	ld_shlibs=no
10033      fi
10034      ;;
10035
10036    os2*)
10037      hardcode_libdir_flag_spec='-L$libdir'
10038      hardcode_minus_L=yes
10039      allow_undefined_flag=unsupported
10040      shrext_cmds=.dll
10041      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10042	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10043	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10044	$ECHO EXPORTS >> $output_objdir/$libname.def~
10045	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10046	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10047	emximp -o $lib $output_objdir/$libname.def'
10048      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10049	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10050	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10051	$ECHO EXPORTS >> $output_objdir/$libname.def~
10052	prefix_cmds="$SED"~
10053	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10054	  prefix_cmds="$prefix_cmds -e 1d";
10055	fi~
10056	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10057	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10058	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10059	emximp -o $lib $output_objdir/$libname.def'
10060      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10061      enable_shared_with_static_runtimes=yes
10062      ;;
10063
10064    osf3*)
10065      if test yes = "$GCC"; then
10066	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10067	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'
10068      else
10069	allow_undefined_flag=' -expect_unresolved \*'
10070	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'
10071      fi
10072      archive_cmds_need_lc='no'
10073      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10074      hardcode_libdir_separator=:
10075      ;;
10076
10077    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10078      if test yes = "$GCC"; then
10079	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10080	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'
10081	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10082      else
10083	allow_undefined_flag=' -expect_unresolved \*'
10084	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'
10085	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~
10086          $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'
10087
10088	# Both c and cxx compiler support -rpath directly
10089	hardcode_libdir_flag_spec='-rpath $libdir'
10090      fi
10091      archive_cmds_need_lc='no'
10092      hardcode_libdir_separator=:
10093      ;;
10094
10095    solaris*)
10096      no_undefined_flag=' -z defs'
10097      if test yes = "$GCC"; then
10098	wlarc='$wl'
10099	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10100	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10101          $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'
10102      else
10103	case `$CC -V 2>&1` in
10104	*"Compilers 5.0"*)
10105	  wlarc=''
10106	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10107	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10108            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10109	  ;;
10110	*)
10111	  wlarc='$wl'
10112	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10113	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10114            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10115	  ;;
10116	esac
10117      fi
10118      hardcode_libdir_flag_spec='-R$libdir'
10119      hardcode_shlibpath_var=no
10120      case $host_os in
10121      solaris2.[0-5] | solaris2.[0-5].*) ;;
10122      *)
10123	# The compiler driver will combine and reorder linker options,
10124	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10125	# but is careful enough not to reorder.
10126	# Supported since Solaris 2.6 (maybe 2.5.1?)
10127	if test yes = "$GCC"; then
10128	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10129	else
10130	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10131	fi
10132	;;
10133      esac
10134      link_all_deplibs=yes
10135      ;;
10136
10137    sunos4*)
10138      if test sequent = "$host_vendor"; then
10139	# Use $CC to link under sequent, because it throws in some extra .o
10140	# files that make .init and .fini sections work.
10141	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10142      else
10143	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10144      fi
10145      hardcode_libdir_flag_spec='-L$libdir'
10146      hardcode_direct=yes
10147      hardcode_minus_L=yes
10148      hardcode_shlibpath_var=no
10149      ;;
10150
10151    sysv4)
10152      case $host_vendor in
10153	sni)
10154	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10155	  hardcode_direct=yes # is this really true???
10156	;;
10157	siemens)
10158	  ## LD is ld it makes a PLAMLIB
10159	  ## CC just makes a GrossModule.
10160	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10161	  reload_cmds='$CC -r -o $output$reload_objs'
10162	  hardcode_direct=no
10163        ;;
10164	motorola)
10165	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10166	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10167	;;
10168      esac
10169      runpath_var='LD_RUN_PATH'
10170      hardcode_shlibpath_var=no
10171      ;;
10172
10173    sysv4.3*)
10174      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10175      hardcode_shlibpath_var=no
10176      export_dynamic_flag_spec='-Bexport'
10177      ;;
10178
10179    sysv4*MP*)
10180      if test -d /usr/nec; then
10181	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10182	hardcode_shlibpath_var=no
10183	runpath_var=LD_RUN_PATH
10184	hardcode_runpath_var=yes
10185	ld_shlibs=yes
10186      fi
10187      ;;
10188
10189    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10190      no_undefined_flag='$wl-z,text'
10191      archive_cmds_need_lc=no
10192      hardcode_shlibpath_var=no
10193      runpath_var='LD_RUN_PATH'
10194
10195      if test yes = "$GCC"; then
10196	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198      else
10199	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201      fi
10202      ;;
10203
10204    sysv5* | sco3.2v5* | sco5v6*)
10205      # Note: We CANNOT use -z defs as we might desire, because we do not
10206      # link with -lc, and that would cause any symbols used from libc to
10207      # always be unresolved, which means just about no library would
10208      # ever link correctly.  If we're not using GNU ld we use -z text
10209      # though, which does catch some bad symbols but isn't as heavy-handed
10210      # as -z defs.
10211      no_undefined_flag='$wl-z,text'
10212      allow_undefined_flag='$wl-z,nodefs'
10213      archive_cmds_need_lc=no
10214      hardcode_shlibpath_var=no
10215      hardcode_libdir_flag_spec='$wl-R,$libdir'
10216      hardcode_libdir_separator=':'
10217      link_all_deplibs=yes
10218      export_dynamic_flag_spec='$wl-Bexport'
10219      runpath_var='LD_RUN_PATH'
10220
10221      if test yes = "$GCC"; then
10222	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10223	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10224      else
10225	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10226	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10227      fi
10228      ;;
10229
10230    uts4*)
10231      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10232      hardcode_libdir_flag_spec='-L$libdir'
10233      hardcode_shlibpath_var=no
10234      ;;
10235
10236    *)
10237      ld_shlibs=no
10238      ;;
10239    esac
10240
10241    if test sni = "$host_vendor"; then
10242      case $host in
10243      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10244	export_dynamic_flag_spec='$wl-Blargedynsym'
10245	;;
10246      esac
10247    fi
10248  fi
10249
10250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10251$as_echo "$ld_shlibs" >&6; }
10252test no = "$ld_shlibs" && can_build_shared=no
10253
10254with_gnu_ld=$with_gnu_ld
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270#
10271# Do we need to explicitly link libc?
10272#
10273case "x$archive_cmds_need_lc" in
10274x|xyes)
10275  # Assume -lc should be added
10276  archive_cmds_need_lc=yes
10277
10278  if test yes,yes = "$GCC,$enable_shared"; then
10279    case $archive_cmds in
10280    *'~'*)
10281      # FIXME: we may have to deal with multi-command sequences.
10282      ;;
10283    '$CC '*)
10284      # Test whether the compiler implicitly links with -lc since on some
10285      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10286      # to ld, don't add -lc before -lgcc.
10287      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10288$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10289if ${lt_cv_archive_cmds_need_lc+:} false; then :
10290  $as_echo_n "(cached) " >&6
10291else
10292  $RM conftest*
10293	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10294
10295	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10296  (eval $ac_compile) 2>&5
10297  ac_status=$?
10298  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10299  test $ac_status = 0; } 2>conftest.err; then
10300	  soname=conftest
10301	  lib=conftest
10302	  libobjs=conftest.$ac_objext
10303	  deplibs=
10304	  wl=$lt_prog_compiler_wl
10305	  pic_flag=$lt_prog_compiler_pic
10306	  compiler_flags=-v
10307	  linker_flags=-v
10308	  verstring=
10309	  output_objdir=.
10310	  libname=conftest
10311	  lt_save_allow_undefined_flag=$allow_undefined_flag
10312	  allow_undefined_flag=
10313	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10314  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10315  ac_status=$?
10316  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10317  test $ac_status = 0; }
10318	  then
10319	    lt_cv_archive_cmds_need_lc=no
10320	  else
10321	    lt_cv_archive_cmds_need_lc=yes
10322	  fi
10323	  allow_undefined_flag=$lt_save_allow_undefined_flag
10324	else
10325	  cat conftest.err 1>&5
10326	fi
10327	$RM conftest*
10328
10329fi
10330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10331$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10332      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10333      ;;
10334    esac
10335  fi
10336  ;;
10337esac
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10491$as_echo_n "checking dynamic linker characteristics... " >&6; }
10492
10493if test yes = "$GCC"; then
10494  case $host_os in
10495    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10496    *) lt_awk_arg='/^libraries:/' ;;
10497  esac
10498  case $host_os in
10499    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10500    *) lt_sed_strip_eq='s|=/|/|g' ;;
10501  esac
10502  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10503  case $lt_search_path_spec in
10504  *\;*)
10505    # if the path contains ";" then we assume it to be the separator
10506    # otherwise default to the standard path separator (i.e. ":") - it is
10507    # assumed that no part of a normal pathname contains ";" but that should
10508    # okay in the real world where ";" in dirpaths is itself problematic.
10509    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10510    ;;
10511  *)
10512    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10513    ;;
10514  esac
10515  # Ok, now we have the path, separated by spaces, we can step through it
10516  # and add multilib dir if necessary...
10517  lt_tmp_lt_search_path_spec=
10518  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10519  # ...but if some path component already ends with the multilib dir we assume
10520  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10521  case "$lt_multi_os_dir; $lt_search_path_spec " in
10522  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10523    lt_multi_os_dir=
10524    ;;
10525  esac
10526  for lt_sys_path in $lt_search_path_spec; do
10527    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10528      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10529    elif test -n "$lt_multi_os_dir"; then
10530      test -d "$lt_sys_path" && \
10531	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10532    fi
10533  done
10534  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10535BEGIN {RS = " "; FS = "/|\n";} {
10536  lt_foo = "";
10537  lt_count = 0;
10538  for (lt_i = NF; lt_i > 0; lt_i--) {
10539    if ($lt_i != "" && $lt_i != ".") {
10540      if ($lt_i == "..") {
10541        lt_count++;
10542      } else {
10543        if (lt_count == 0) {
10544          lt_foo = "/" $lt_i lt_foo;
10545        } else {
10546          lt_count--;
10547        }
10548      }
10549    }
10550  }
10551  if (lt_foo != "") { lt_freq[lt_foo]++; }
10552  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10553}'`
10554  # AWK program above erroneously prepends '/' to C:/dos/paths
10555  # for these hosts.
10556  case $host_os in
10557    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10558      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10559  esac
10560  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10561else
10562  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10563fi
10564library_names_spec=
10565libname_spec='lib$name'
10566soname_spec=
10567shrext_cmds=.so
10568postinstall_cmds=
10569postuninstall_cmds=
10570finish_cmds=
10571finish_eval=
10572shlibpath_var=
10573shlibpath_overrides_runpath=unknown
10574version_type=none
10575dynamic_linker="$host_os ld.so"
10576sys_lib_dlsearch_path_spec="/lib /usr/lib"
10577need_lib_prefix=unknown
10578hardcode_into_libs=no
10579
10580# when you set need_version to no, make sure it does not cause -set_version
10581# flags to be left without arguments
10582need_version=unknown
10583
10584
10585
10586case $host_os in
10587aix3*)
10588  version_type=linux # correct to gnu/linux during the next big refactor
10589  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10590  shlibpath_var=LIBPATH
10591
10592  # AIX 3 has no versioning support, so we append a major version to the name.
10593  soname_spec='$libname$release$shared_ext$major'
10594  ;;
10595
10596aix[4-9]*)
10597  version_type=linux # correct to gnu/linux during the next big refactor
10598  need_lib_prefix=no
10599  need_version=no
10600  hardcode_into_libs=yes
10601  if test ia64 = "$host_cpu"; then
10602    # AIX 5 supports IA64
10603    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10604    shlibpath_var=LD_LIBRARY_PATH
10605  else
10606    # With GCC up to 2.95.x, collect2 would create an import file
10607    # for dependence libraries.  The import file would start with
10608    # the line '#! .'.  This would cause the generated library to
10609    # depend on '.', always an invalid library.  This was fixed in
10610    # development snapshots of GCC prior to 3.0.
10611    case $host_os in
10612      aix4 | aix4.[01] | aix4.[01].*)
10613      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10614	   echo ' yes '
10615	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10616	:
10617      else
10618	can_build_shared=no
10619      fi
10620      ;;
10621    esac
10622    # Using Import Files as archive members, it is possible to support
10623    # filename-based versioning of shared library archives on AIX. While
10624    # this would work for both with and without runtime linking, it will
10625    # prevent static linking of such archives. So we do filename-based
10626    # shared library versioning with .so extension only, which is used
10627    # when both runtime linking and shared linking is enabled.
10628    # Unfortunately, runtime linking may impact performance, so we do
10629    # not want this to be the default eventually. Also, we use the
10630    # versioned .so libs for executables only if there is the -brtl
10631    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10632    # To allow for filename-based versioning support, we need to create
10633    # libNAME.so.V as an archive file, containing:
10634    # *) an Import File, referring to the versioned filename of the
10635    #    archive as well as the shared archive member, telling the
10636    #    bitwidth (32 or 64) of that shared object, and providing the
10637    #    list of exported symbols of that shared object, eventually
10638    #    decorated with the 'weak' keyword
10639    # *) the shared object with the F_LOADONLY flag set, to really avoid
10640    #    it being seen by the linker.
10641    # At run time we better use the real file rather than another symlink,
10642    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10643
10644    case $with_aix_soname,$aix_use_runtimelinking in
10645    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10646    # soname into executable. Probably we can add versioning support to
10647    # collect2, so additional links can be useful in future.
10648    aix,yes) # traditional libtool
10649      dynamic_linker='AIX unversionable lib.so'
10650      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10651      # instead of lib<name>.a to let people know that these are not
10652      # typical AIX shared libraries.
10653      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10654      ;;
10655    aix,no) # traditional AIX only
10656      dynamic_linker='AIX lib.a(lib.so.V)'
10657      # We preserve .a as extension for shared libraries through AIX4.2
10658      # and later when we are not doing run time linking.
10659      library_names_spec='$libname$release.a $libname.a'
10660      soname_spec='$libname$release$shared_ext$major'
10661      ;;
10662    svr4,*) # full svr4 only
10663      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10664      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10665      # We do not specify a path in Import Files, so LIBPATH fires.
10666      shlibpath_overrides_runpath=yes
10667      ;;
10668    *,yes) # both, prefer svr4
10669      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10670      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10671      # unpreferred sharedlib libNAME.a needs extra handling
10672      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"'
10673      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"'
10674      # We do not specify a path in Import Files, so LIBPATH fires.
10675      shlibpath_overrides_runpath=yes
10676      ;;
10677    *,no) # both, prefer aix
10678      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10679      library_names_spec='$libname$release.a $libname.a'
10680      soname_spec='$libname$release$shared_ext$major'
10681      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10682      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)'
10683      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"'
10684      ;;
10685    esac
10686    shlibpath_var=LIBPATH
10687  fi
10688  ;;
10689
10690amigaos*)
10691  case $host_cpu in
10692  powerpc)
10693    # Since July 2007 AmigaOS4 officially supports .so libraries.
10694    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10695    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10696    ;;
10697  m68k)
10698    library_names_spec='$libname.ixlibrary $libname.a'
10699    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10700    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'
10701    ;;
10702  esac
10703  ;;
10704
10705beos*)
10706  library_names_spec='$libname$shared_ext'
10707  dynamic_linker="$host_os ld.so"
10708  shlibpath_var=LIBRARY_PATH
10709  ;;
10710
10711bsdi[45]*)
10712  version_type=linux # correct to gnu/linux during the next big refactor
10713  need_version=no
10714  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10715  soname_spec='$libname$release$shared_ext$major'
10716  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10717  shlibpath_var=LD_LIBRARY_PATH
10718  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10719  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10720  # the default ld.so.conf also contains /usr/contrib/lib and
10721  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10722  # libtool to hard-code these into programs
10723  ;;
10724
10725cygwin* | mingw* | pw32* | cegcc*)
10726  version_type=windows
10727  shrext_cmds=.dll
10728  need_version=no
10729  need_lib_prefix=no
10730
10731  case $GCC,$cc_basename in
10732  yes,*)
10733    # gcc
10734    library_names_spec='$libname.dll.a'
10735    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10736    postinstall_cmds='base_file=`basename \$file`~
10737      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10738      dldir=$destdir/`dirname \$dlpath`~
10739      test -d \$dldir || mkdir -p \$dldir~
10740      $install_prog $dir/$dlname \$dldir/$dlname~
10741      chmod a+x \$dldir/$dlname~
10742      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10743        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10744      fi'
10745    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10746      dlpath=$dir/\$dldll~
10747       $RM \$dlpath'
10748    shlibpath_overrides_runpath=yes
10749
10750    case $host_os in
10751    cygwin*)
10752      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10753      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10754
10755      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10756      ;;
10757    mingw* | cegcc*)
10758      # MinGW DLLs use traditional 'lib' prefix
10759      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10760      ;;
10761    pw32*)
10762      # pw32 DLLs use 'pw' prefix rather than 'lib'
10763      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10764      ;;
10765    esac
10766    dynamic_linker='Win32 ld.exe'
10767    ;;
10768
10769  *,cl*)
10770    # Native MSVC
10771    libname_spec='$name'
10772    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10773    library_names_spec='$libname.dll.lib'
10774
10775    case $build_os in
10776    mingw*)
10777      sys_lib_search_path_spec=
10778      lt_save_ifs=$IFS
10779      IFS=';'
10780      for lt_path in $LIB
10781      do
10782        IFS=$lt_save_ifs
10783        # Let DOS variable expansion print the short 8.3 style file name.
10784        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10785        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10786      done
10787      IFS=$lt_save_ifs
10788      # Convert to MSYS style.
10789      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10790      ;;
10791    cygwin*)
10792      # Convert to unix form, then to dos form, then back to unix form
10793      # but this time dos style (no spaces!) so that the unix form looks
10794      # like /cygdrive/c/PROGRA~1:/cygdr...
10795      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10796      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10797      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10798      ;;
10799    *)
10800      sys_lib_search_path_spec=$LIB
10801      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10802        # It is most probably a Windows format PATH.
10803        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10804      else
10805        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10806      fi
10807      # FIXME: find the short name or the path components, as spaces are
10808      # common. (e.g. "Program Files" -> "PROGRA~1")
10809      ;;
10810    esac
10811
10812    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10813    postinstall_cmds='base_file=`basename \$file`~
10814      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10815      dldir=$destdir/`dirname \$dlpath`~
10816      test -d \$dldir || mkdir -p \$dldir~
10817      $install_prog $dir/$dlname \$dldir/$dlname'
10818    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10819      dlpath=$dir/\$dldll~
10820       $RM \$dlpath'
10821    shlibpath_overrides_runpath=yes
10822    dynamic_linker='Win32 link.exe'
10823    ;;
10824
10825  *)
10826    # Assume MSVC wrapper
10827    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10828    dynamic_linker='Win32 ld.exe'
10829    ;;
10830  esac
10831  # FIXME: first we should search . and the directory the executable is in
10832  shlibpath_var=PATH
10833  ;;
10834
10835darwin* | rhapsody*)
10836  dynamic_linker="$host_os dyld"
10837  version_type=darwin
10838  need_lib_prefix=no
10839  need_version=no
10840  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10841  soname_spec='$libname$release$major$shared_ext'
10842  shlibpath_overrides_runpath=yes
10843  shlibpath_var=DYLD_LIBRARY_PATH
10844  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10845
10846  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10847  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10848  ;;
10849
10850dgux*)
10851  version_type=linux # correct to gnu/linux during the next big refactor
10852  need_lib_prefix=no
10853  need_version=no
10854  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10855  soname_spec='$libname$release$shared_ext$major'
10856  shlibpath_var=LD_LIBRARY_PATH
10857  ;;
10858
10859freebsd* | dragonfly*)
10860  # DragonFly does not have aout.  When/if they implement a new
10861  # versioning mechanism, adjust this.
10862  if test -x /usr/bin/objformat; then
10863    objformat=`/usr/bin/objformat`
10864  else
10865    case $host_os in
10866    freebsd[23].*) objformat=aout ;;
10867    *) objformat=elf ;;
10868    esac
10869  fi
10870  version_type=freebsd-$objformat
10871  case $version_type in
10872    freebsd-elf*)
10873      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10874      soname_spec='$libname$release$shared_ext$major'
10875      need_version=no
10876      need_lib_prefix=no
10877      ;;
10878    freebsd-*)
10879      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10880      need_version=yes
10881      ;;
10882  esac
10883  shlibpath_var=LD_LIBRARY_PATH
10884  case $host_os in
10885  freebsd2.*)
10886    shlibpath_overrides_runpath=yes
10887    ;;
10888  freebsd3.[01]* | freebsdelf3.[01]*)
10889    shlibpath_overrides_runpath=yes
10890    hardcode_into_libs=yes
10891    ;;
10892  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10893  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10894    shlibpath_overrides_runpath=no
10895    hardcode_into_libs=yes
10896    ;;
10897  *) # from 4.6 on, and DragonFly
10898    shlibpath_overrides_runpath=yes
10899    hardcode_into_libs=yes
10900    ;;
10901  esac
10902  ;;
10903
10904haiku*)
10905  version_type=linux # correct to gnu/linux during the next big refactor
10906  need_lib_prefix=no
10907  need_version=no
10908  dynamic_linker="$host_os runtime_loader"
10909  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10910  soname_spec='$libname$release$shared_ext$major'
10911  shlibpath_var=LIBRARY_PATH
10912  shlibpath_overrides_runpath=no
10913  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10914  hardcode_into_libs=yes
10915  ;;
10916
10917hpux9* | hpux10* | hpux11*)
10918  # Give a soname corresponding to the major version so that dld.sl refuses to
10919  # link against other versions.
10920  version_type=sunos
10921  need_lib_prefix=no
10922  need_version=no
10923  case $host_cpu in
10924  ia64*)
10925    shrext_cmds='.so'
10926    hardcode_into_libs=yes
10927    dynamic_linker="$host_os dld.so"
10928    shlibpath_var=LD_LIBRARY_PATH
10929    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10930    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10931    soname_spec='$libname$release$shared_ext$major'
10932    if test 32 = "$HPUX_IA64_MODE"; then
10933      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10934      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10935    else
10936      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10937      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10938    fi
10939    ;;
10940  hppa*64*)
10941    shrext_cmds='.sl'
10942    hardcode_into_libs=yes
10943    dynamic_linker="$host_os dld.sl"
10944    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10945    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10946    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10947    soname_spec='$libname$release$shared_ext$major'
10948    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10949    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10950    ;;
10951  *)
10952    shrext_cmds='.sl'
10953    dynamic_linker="$host_os dld.sl"
10954    shlibpath_var=SHLIB_PATH
10955    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10956    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10957    soname_spec='$libname$release$shared_ext$major'
10958    ;;
10959  esac
10960  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10961  postinstall_cmds='chmod 555 $lib'
10962  # or fails outright, so override atomically:
10963  install_override_mode=555
10964  ;;
10965
10966interix[3-9]*)
10967  version_type=linux # correct to gnu/linux during the next big refactor
10968  need_lib_prefix=no
10969  need_version=no
10970  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10971  soname_spec='$libname$release$shared_ext$major'
10972  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10973  shlibpath_var=LD_LIBRARY_PATH
10974  shlibpath_overrides_runpath=no
10975  hardcode_into_libs=yes
10976  ;;
10977
10978irix5* | irix6* | nonstopux*)
10979  case $host_os in
10980    nonstopux*) version_type=nonstopux ;;
10981    *)
10982	if test yes = "$lt_cv_prog_gnu_ld"; then
10983		version_type=linux # correct to gnu/linux during the next big refactor
10984	else
10985		version_type=irix
10986	fi ;;
10987  esac
10988  need_lib_prefix=no
10989  need_version=no
10990  soname_spec='$libname$release$shared_ext$major'
10991  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10992  case $host_os in
10993  irix5* | nonstopux*)
10994    libsuff= shlibsuff=
10995    ;;
10996  *)
10997    case $LD in # libtool.m4 will add one of these switches to LD
10998    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10999      libsuff= shlibsuff= libmagic=32-bit;;
11000    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11001      libsuff=32 shlibsuff=N32 libmagic=N32;;
11002    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11003      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11004    *) libsuff= shlibsuff= libmagic=never-match;;
11005    esac
11006    ;;
11007  esac
11008  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11009  shlibpath_overrides_runpath=no
11010  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11011  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11012  hardcode_into_libs=yes
11013  ;;
11014
11015# No shared lib support for Linux oldld, aout, or coff.
11016linux*oldld* | linux*aout* | linux*coff*)
11017  dynamic_linker=no
11018  ;;
11019
11020linux*android*)
11021  version_type=none # Android doesn't support versioned libraries.
11022  need_lib_prefix=no
11023  need_version=no
11024  library_names_spec='$libname$release$shared_ext'
11025  soname_spec='$libname$release$shared_ext'
11026  finish_cmds=
11027  shlibpath_var=LD_LIBRARY_PATH
11028  shlibpath_overrides_runpath=yes
11029
11030  # This implies no fast_install, which is unacceptable.
11031  # Some rework will be needed to allow for fast_install
11032  # before this can be enabled.
11033  hardcode_into_libs=yes
11034
11035  dynamic_linker='Android linker'
11036  # Don't embed -rpath directories since the linker doesn't support them.
11037  hardcode_libdir_flag_spec='-L$libdir'
11038  ;;
11039
11040# This must be glibc/ELF.
11041linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11042  version_type=linux # correct to gnu/linux during the next big refactor
11043  need_lib_prefix=no
11044  need_version=no
11045  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11046  soname_spec='$libname$release$shared_ext$major'
11047  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11048  shlibpath_var=LD_LIBRARY_PATH
11049  shlibpath_overrides_runpath=no
11050
11051  # Some binutils ld are patched to set DT_RUNPATH
11052  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11053  $as_echo_n "(cached) " >&6
11054else
11055  lt_cv_shlibpath_overrides_runpath=no
11056    save_LDFLAGS=$LDFLAGS
11057    save_libdir=$libdir
11058    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11059	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11060    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11061/* end confdefs.h.  */
11062
11063int
11064main ()
11065{
11066
11067  ;
11068  return 0;
11069}
11070_ACEOF
11071if ac_fn_c_try_link "$LINENO"; then :
11072  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11073  lt_cv_shlibpath_overrides_runpath=yes
11074fi
11075fi
11076rm -f core conftest.err conftest.$ac_objext \
11077    conftest$ac_exeext conftest.$ac_ext
11078    LDFLAGS=$save_LDFLAGS
11079    libdir=$save_libdir
11080
11081fi
11082
11083  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11084
11085  # This implies no fast_install, which is unacceptable.
11086  # Some rework will be needed to allow for fast_install
11087  # before this can be enabled.
11088  hardcode_into_libs=yes
11089
11090  # Ideally, we could use ldconfig to report *all* directores which are
11091  # searched for libraries, however this is still not possible.  Aside from not
11092  # being certain /sbin/ldconfig is available, command
11093  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11094  # even though it is searched at run-time.  Try to do the best guess by
11095  # appending ld.so.conf contents (and includes) to the search path.
11096  if test -f /etc/ld.so.conf; then
11097    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' ' '`
11098    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11099  fi
11100
11101  # We used to test for /lib/ld.so.1 and disable shared libraries on
11102  # powerpc, because MkLinux only supported shared libraries with the
11103  # GNU dynamic linker.  Since this was broken with cross compilers,
11104  # most powerpc-linux boxes support dynamic linking these days and
11105  # people can always --disable-shared, the test was removed, and we
11106  # assume the GNU/Linux dynamic linker is in use.
11107  dynamic_linker='GNU/Linux ld.so'
11108  ;;
11109
11110netbsdelf*-gnu)
11111  version_type=linux
11112  need_lib_prefix=no
11113  need_version=no
11114  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11115  soname_spec='${libname}${release}${shared_ext}$major'
11116  shlibpath_var=LD_LIBRARY_PATH
11117  shlibpath_overrides_runpath=no
11118  hardcode_into_libs=yes
11119  dynamic_linker='NetBSD ld.elf_so'
11120  ;;
11121
11122netbsd*)
11123  version_type=sunos
11124  need_lib_prefix=no
11125  need_version=no
11126  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11127    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11128    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11129    dynamic_linker='NetBSD (a.out) ld.so'
11130  else
11131    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11132    soname_spec='$libname$release$shared_ext$major'
11133    dynamic_linker='NetBSD ld.elf_so'
11134  fi
11135  shlibpath_var=LD_LIBRARY_PATH
11136  shlibpath_overrides_runpath=yes
11137  hardcode_into_libs=yes
11138  ;;
11139
11140newsos6)
11141  version_type=linux # correct to gnu/linux during the next big refactor
11142  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11143  shlibpath_var=LD_LIBRARY_PATH
11144  shlibpath_overrides_runpath=yes
11145  ;;
11146
11147*nto* | *qnx*)
11148  version_type=qnx
11149  need_lib_prefix=no
11150  need_version=no
11151  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11152  soname_spec='$libname$release$shared_ext$major'
11153  shlibpath_var=LD_LIBRARY_PATH
11154  shlibpath_overrides_runpath=no
11155  hardcode_into_libs=yes
11156  dynamic_linker='ldqnx.so'
11157  ;;
11158
11159openbsd* | bitrig*)
11160  version_type=sunos
11161  sys_lib_dlsearch_path_spec=/usr/lib
11162  need_lib_prefix=no
11163  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11164    need_version=no
11165  else
11166    need_version=yes
11167  fi
11168  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11169  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11170  shlibpath_var=LD_LIBRARY_PATH
11171  shlibpath_overrides_runpath=yes
11172  ;;
11173
11174os2*)
11175  libname_spec='$name'
11176  version_type=windows
11177  shrext_cmds=.dll
11178  need_version=no
11179  need_lib_prefix=no
11180  # OS/2 can only load a DLL with a base name of 8 characters or less.
11181  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11182    v=$($ECHO $release$versuffix | tr -d .-);
11183    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11184    $ECHO $n$v`$shared_ext'
11185  library_names_spec='${libname}_dll.$libext'
11186  dynamic_linker='OS/2 ld.exe'
11187  shlibpath_var=BEGINLIBPATH
11188  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11189  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11190  postinstall_cmds='base_file=`basename \$file`~
11191    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11192    dldir=$destdir/`dirname \$dlpath`~
11193    test -d \$dldir || mkdir -p \$dldir~
11194    $install_prog $dir/$dlname \$dldir/$dlname~
11195    chmod a+x \$dldir/$dlname~
11196    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11197      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11198    fi'
11199  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11200    dlpath=$dir/\$dldll~
11201    $RM \$dlpath'
11202  ;;
11203
11204osf3* | osf4* | osf5*)
11205  version_type=osf
11206  need_lib_prefix=no
11207  need_version=no
11208  soname_spec='$libname$release$shared_ext$major'
11209  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11210  shlibpath_var=LD_LIBRARY_PATH
11211  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11212  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11213  ;;
11214
11215rdos*)
11216  dynamic_linker=no
11217  ;;
11218
11219solaris*)
11220  version_type=linux # correct to gnu/linux during the next big refactor
11221  need_lib_prefix=no
11222  need_version=no
11223  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11224  soname_spec='$libname$release$shared_ext$major'
11225  shlibpath_var=LD_LIBRARY_PATH
11226  shlibpath_overrides_runpath=yes
11227  hardcode_into_libs=yes
11228  # ldd complains unless libraries are executable
11229  postinstall_cmds='chmod +x $lib'
11230  ;;
11231
11232sunos4*)
11233  version_type=sunos
11234  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11235  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11236  shlibpath_var=LD_LIBRARY_PATH
11237  shlibpath_overrides_runpath=yes
11238  if test yes = "$with_gnu_ld"; then
11239    need_lib_prefix=no
11240  fi
11241  need_version=yes
11242  ;;
11243
11244sysv4 | sysv4.3*)
11245  version_type=linux # correct to gnu/linux during the next big refactor
11246  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11247  soname_spec='$libname$release$shared_ext$major'
11248  shlibpath_var=LD_LIBRARY_PATH
11249  case $host_vendor in
11250    sni)
11251      shlibpath_overrides_runpath=no
11252      need_lib_prefix=no
11253      runpath_var=LD_RUN_PATH
11254      ;;
11255    siemens)
11256      need_lib_prefix=no
11257      ;;
11258    motorola)
11259      need_lib_prefix=no
11260      need_version=no
11261      shlibpath_overrides_runpath=no
11262      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11263      ;;
11264  esac
11265  ;;
11266
11267sysv4*MP*)
11268  if test -d /usr/nec; then
11269    version_type=linux # correct to gnu/linux during the next big refactor
11270    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11271    soname_spec='$libname$shared_ext.$major'
11272    shlibpath_var=LD_LIBRARY_PATH
11273  fi
11274  ;;
11275
11276sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11277  version_type=sco
11278  need_lib_prefix=no
11279  need_version=no
11280  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11281  soname_spec='$libname$release$shared_ext$major'
11282  shlibpath_var=LD_LIBRARY_PATH
11283  shlibpath_overrides_runpath=yes
11284  hardcode_into_libs=yes
11285  if test yes = "$with_gnu_ld"; then
11286    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11287  else
11288    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11289    case $host_os in
11290      sco3.2v5*)
11291        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11292	;;
11293    esac
11294  fi
11295  sys_lib_dlsearch_path_spec='/usr/lib'
11296  ;;
11297
11298tpf*)
11299  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11300  version_type=linux # correct to gnu/linux during the next big refactor
11301  need_lib_prefix=no
11302  need_version=no
11303  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11304  shlibpath_var=LD_LIBRARY_PATH
11305  shlibpath_overrides_runpath=no
11306  hardcode_into_libs=yes
11307  ;;
11308
11309uts4*)
11310  version_type=linux # correct to gnu/linux during the next big refactor
11311  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11312  soname_spec='$libname$release$shared_ext$major'
11313  shlibpath_var=LD_LIBRARY_PATH
11314  ;;
11315
11316*)
11317  dynamic_linker=no
11318  ;;
11319esac
11320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11321$as_echo "$dynamic_linker" >&6; }
11322test no = "$dynamic_linker" && can_build_shared=no
11323
11324variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11325if test yes = "$GCC"; then
11326  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11327fi
11328
11329if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11330  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11331fi
11332
11333if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11334  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11335fi
11336
11337# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11338configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11339
11340# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11341func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11342
11343# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11344configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11443$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11444hardcode_action=
11445if test -n "$hardcode_libdir_flag_spec" ||
11446   test -n "$runpath_var" ||
11447   test yes = "$hardcode_automatic"; then
11448
11449  # We can hardcode non-existent directories.
11450  if test no != "$hardcode_direct" &&
11451     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11452     # have to relink, otherwise we might link with an installed library
11453     # when we should be linking with a yet-to-be-installed one
11454     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11455     test no != "$hardcode_minus_L"; then
11456    # Linking always hardcodes the temporary library directory.
11457    hardcode_action=relink
11458  else
11459    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11460    hardcode_action=immediate
11461  fi
11462else
11463  # We cannot hardcode anything, or else we can only hardcode existing
11464  # directories.
11465  hardcode_action=unsupported
11466fi
11467{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11468$as_echo "$hardcode_action" >&6; }
11469
11470if test relink = "$hardcode_action" ||
11471   test yes = "$inherit_rpath"; then
11472  # Fast installation is not supported
11473  enable_fast_install=no
11474elif test yes = "$shlibpath_overrides_runpath" ||
11475     test no = "$enable_shared"; then
11476  # Fast installation is not necessary
11477  enable_fast_install=needless
11478fi
11479
11480
11481
11482
11483
11484
11485  if test yes != "$enable_dlopen"; then
11486  enable_dlopen=unknown
11487  enable_dlopen_self=unknown
11488  enable_dlopen_self_static=unknown
11489else
11490  lt_cv_dlopen=no
11491  lt_cv_dlopen_libs=
11492
11493  case $host_os in
11494  beos*)
11495    lt_cv_dlopen=load_add_on
11496    lt_cv_dlopen_libs=
11497    lt_cv_dlopen_self=yes
11498    ;;
11499
11500  mingw* | pw32* | cegcc*)
11501    lt_cv_dlopen=LoadLibrary
11502    lt_cv_dlopen_libs=
11503    ;;
11504
11505  cygwin*)
11506    lt_cv_dlopen=dlopen
11507    lt_cv_dlopen_libs=
11508    ;;
11509
11510  darwin*)
11511    # if libdl is installed we need to link against it
11512    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11513$as_echo_n "checking for dlopen in -ldl... " >&6; }
11514if ${ac_cv_lib_dl_dlopen+:} false; then :
11515  $as_echo_n "(cached) " >&6
11516else
11517  ac_check_lib_save_LIBS=$LIBS
11518LIBS="-ldl  $LIBS"
11519cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11520/* end confdefs.h.  */
11521
11522/* Override any GCC internal prototype to avoid an error.
11523   Use char because int might match the return type of a GCC
11524   builtin and then its argument prototype would still apply.  */
11525#ifdef __cplusplus
11526extern "C"
11527#endif
11528char dlopen ();
11529int
11530main ()
11531{
11532return dlopen ();
11533  ;
11534  return 0;
11535}
11536_ACEOF
11537if ac_fn_c_try_link "$LINENO"; then :
11538  ac_cv_lib_dl_dlopen=yes
11539else
11540  ac_cv_lib_dl_dlopen=no
11541fi
11542rm -f core conftest.err conftest.$ac_objext \
11543    conftest$ac_exeext conftest.$ac_ext
11544LIBS=$ac_check_lib_save_LIBS
11545fi
11546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11547$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11548if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11549  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11550else
11551
11552    lt_cv_dlopen=dyld
11553    lt_cv_dlopen_libs=
11554    lt_cv_dlopen_self=yes
11555
11556fi
11557
11558    ;;
11559
11560  tpf*)
11561    # Don't try to run any link tests for TPF.  We know it's impossible
11562    # because TPF is a cross-compiler, and we know how we open DSOs.
11563    lt_cv_dlopen=dlopen
11564    lt_cv_dlopen_libs=
11565    lt_cv_dlopen_self=no
11566    ;;
11567
11568  *)
11569    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11570if test "x$ac_cv_func_shl_load" = xyes; then :
11571  lt_cv_dlopen=shl_load
11572else
11573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11574$as_echo_n "checking for shl_load in -ldld... " >&6; }
11575if ${ac_cv_lib_dld_shl_load+:} false; then :
11576  $as_echo_n "(cached) " >&6
11577else
11578  ac_check_lib_save_LIBS=$LIBS
11579LIBS="-ldld  $LIBS"
11580cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11581/* end confdefs.h.  */
11582
11583/* Override any GCC internal prototype to avoid an error.
11584   Use char because int might match the return type of a GCC
11585   builtin and then its argument prototype would still apply.  */
11586#ifdef __cplusplus
11587extern "C"
11588#endif
11589char shl_load ();
11590int
11591main ()
11592{
11593return shl_load ();
11594  ;
11595  return 0;
11596}
11597_ACEOF
11598if ac_fn_c_try_link "$LINENO"; then :
11599  ac_cv_lib_dld_shl_load=yes
11600else
11601  ac_cv_lib_dld_shl_load=no
11602fi
11603rm -f core conftest.err conftest.$ac_objext \
11604    conftest$ac_exeext conftest.$ac_ext
11605LIBS=$ac_check_lib_save_LIBS
11606fi
11607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11608$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11609if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11610  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11611else
11612  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11613if test "x$ac_cv_func_dlopen" = xyes; then :
11614  lt_cv_dlopen=dlopen
11615else
11616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11617$as_echo_n "checking for dlopen in -ldl... " >&6; }
11618if ${ac_cv_lib_dl_dlopen+:} false; then :
11619  $as_echo_n "(cached) " >&6
11620else
11621  ac_check_lib_save_LIBS=$LIBS
11622LIBS="-ldl  $LIBS"
11623cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11624/* end confdefs.h.  */
11625
11626/* Override any GCC internal prototype to avoid an error.
11627   Use char because int might match the return type of a GCC
11628   builtin and then its argument prototype would still apply.  */
11629#ifdef __cplusplus
11630extern "C"
11631#endif
11632char dlopen ();
11633int
11634main ()
11635{
11636return dlopen ();
11637  ;
11638  return 0;
11639}
11640_ACEOF
11641if ac_fn_c_try_link "$LINENO"; then :
11642  ac_cv_lib_dl_dlopen=yes
11643else
11644  ac_cv_lib_dl_dlopen=no
11645fi
11646rm -f core conftest.err conftest.$ac_objext \
11647    conftest$ac_exeext conftest.$ac_ext
11648LIBS=$ac_check_lib_save_LIBS
11649fi
11650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11651$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11652if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11653  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11654else
11655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11656$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11657if ${ac_cv_lib_svld_dlopen+:} false; then :
11658  $as_echo_n "(cached) " >&6
11659else
11660  ac_check_lib_save_LIBS=$LIBS
11661LIBS="-lsvld  $LIBS"
11662cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11663/* end confdefs.h.  */
11664
11665/* Override any GCC internal prototype to avoid an error.
11666   Use char because int might match the return type of a GCC
11667   builtin and then its argument prototype would still apply.  */
11668#ifdef __cplusplus
11669extern "C"
11670#endif
11671char dlopen ();
11672int
11673main ()
11674{
11675return dlopen ();
11676  ;
11677  return 0;
11678}
11679_ACEOF
11680if ac_fn_c_try_link "$LINENO"; then :
11681  ac_cv_lib_svld_dlopen=yes
11682else
11683  ac_cv_lib_svld_dlopen=no
11684fi
11685rm -f core conftest.err conftest.$ac_objext \
11686    conftest$ac_exeext conftest.$ac_ext
11687LIBS=$ac_check_lib_save_LIBS
11688fi
11689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11690$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11691if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11692  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11693else
11694  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11695$as_echo_n "checking for dld_link in -ldld... " >&6; }
11696if ${ac_cv_lib_dld_dld_link+:} false; then :
11697  $as_echo_n "(cached) " >&6
11698else
11699  ac_check_lib_save_LIBS=$LIBS
11700LIBS="-ldld  $LIBS"
11701cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11702/* end confdefs.h.  */
11703
11704/* Override any GCC internal prototype to avoid an error.
11705   Use char because int might match the return type of a GCC
11706   builtin and then its argument prototype would still apply.  */
11707#ifdef __cplusplus
11708extern "C"
11709#endif
11710char dld_link ();
11711int
11712main ()
11713{
11714return dld_link ();
11715  ;
11716  return 0;
11717}
11718_ACEOF
11719if ac_fn_c_try_link "$LINENO"; then :
11720  ac_cv_lib_dld_dld_link=yes
11721else
11722  ac_cv_lib_dld_dld_link=no
11723fi
11724rm -f core conftest.err conftest.$ac_objext \
11725    conftest$ac_exeext conftest.$ac_ext
11726LIBS=$ac_check_lib_save_LIBS
11727fi
11728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11729$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11730if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11731  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11732fi
11733
11734
11735fi
11736
11737
11738fi
11739
11740
11741fi
11742
11743
11744fi
11745
11746
11747fi
11748
11749    ;;
11750  esac
11751
11752  if test no = "$lt_cv_dlopen"; then
11753    enable_dlopen=no
11754  else
11755    enable_dlopen=yes
11756  fi
11757
11758  case $lt_cv_dlopen in
11759  dlopen)
11760    save_CPPFLAGS=$CPPFLAGS
11761    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11762
11763    save_LDFLAGS=$LDFLAGS
11764    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11765
11766    save_LIBS=$LIBS
11767    LIBS="$lt_cv_dlopen_libs $LIBS"
11768
11769    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11770$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11771if ${lt_cv_dlopen_self+:} false; then :
11772  $as_echo_n "(cached) " >&6
11773else
11774  	  if test yes = "$cross_compiling"; then :
11775  lt_cv_dlopen_self=cross
11776else
11777  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11778  lt_status=$lt_dlunknown
11779  cat > conftest.$ac_ext <<_LT_EOF
11780#line $LINENO "configure"
11781#include "confdefs.h"
11782
11783#if HAVE_DLFCN_H
11784#include <dlfcn.h>
11785#endif
11786
11787#include <stdio.h>
11788
11789#ifdef RTLD_GLOBAL
11790#  define LT_DLGLOBAL		RTLD_GLOBAL
11791#else
11792#  ifdef DL_GLOBAL
11793#    define LT_DLGLOBAL		DL_GLOBAL
11794#  else
11795#    define LT_DLGLOBAL		0
11796#  endif
11797#endif
11798
11799/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11800   find out it does not work in some platform. */
11801#ifndef LT_DLLAZY_OR_NOW
11802#  ifdef RTLD_LAZY
11803#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11804#  else
11805#    ifdef DL_LAZY
11806#      define LT_DLLAZY_OR_NOW		DL_LAZY
11807#    else
11808#      ifdef RTLD_NOW
11809#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11810#      else
11811#        ifdef DL_NOW
11812#          define LT_DLLAZY_OR_NOW	DL_NOW
11813#        else
11814#          define LT_DLLAZY_OR_NOW	0
11815#        endif
11816#      endif
11817#    endif
11818#  endif
11819#endif
11820
11821/* When -fvisibility=hidden is used, assume the code has been annotated
11822   correspondingly for the symbols needed.  */
11823#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11824int fnord () __attribute__((visibility("default")));
11825#endif
11826
11827int fnord () { return 42; }
11828int main ()
11829{
11830  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11831  int status = $lt_dlunknown;
11832
11833  if (self)
11834    {
11835      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11836      else
11837        {
11838	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11839          else puts (dlerror ());
11840	}
11841      /* dlclose (self); */
11842    }
11843  else
11844    puts (dlerror ());
11845
11846  return status;
11847}
11848_LT_EOF
11849  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11850  (eval $ac_link) 2>&5
11851  ac_status=$?
11852  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11853  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11854    (./conftest; exit; ) >&5 2>/dev/null
11855    lt_status=$?
11856    case x$lt_status in
11857      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11858      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11859      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11860    esac
11861  else :
11862    # compilation failed
11863    lt_cv_dlopen_self=no
11864  fi
11865fi
11866rm -fr conftest*
11867
11868
11869fi
11870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11871$as_echo "$lt_cv_dlopen_self" >&6; }
11872
11873    if test yes = "$lt_cv_dlopen_self"; then
11874      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11875      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11876$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11877if ${lt_cv_dlopen_self_static+:} false; then :
11878  $as_echo_n "(cached) " >&6
11879else
11880  	  if test yes = "$cross_compiling"; then :
11881  lt_cv_dlopen_self_static=cross
11882else
11883  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11884  lt_status=$lt_dlunknown
11885  cat > conftest.$ac_ext <<_LT_EOF
11886#line $LINENO "configure"
11887#include "confdefs.h"
11888
11889#if HAVE_DLFCN_H
11890#include <dlfcn.h>
11891#endif
11892
11893#include <stdio.h>
11894
11895#ifdef RTLD_GLOBAL
11896#  define LT_DLGLOBAL		RTLD_GLOBAL
11897#else
11898#  ifdef DL_GLOBAL
11899#    define LT_DLGLOBAL		DL_GLOBAL
11900#  else
11901#    define LT_DLGLOBAL		0
11902#  endif
11903#endif
11904
11905/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11906   find out it does not work in some platform. */
11907#ifndef LT_DLLAZY_OR_NOW
11908#  ifdef RTLD_LAZY
11909#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11910#  else
11911#    ifdef DL_LAZY
11912#      define LT_DLLAZY_OR_NOW		DL_LAZY
11913#    else
11914#      ifdef RTLD_NOW
11915#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11916#      else
11917#        ifdef DL_NOW
11918#          define LT_DLLAZY_OR_NOW	DL_NOW
11919#        else
11920#          define LT_DLLAZY_OR_NOW	0
11921#        endif
11922#      endif
11923#    endif
11924#  endif
11925#endif
11926
11927/* When -fvisibility=hidden is used, assume the code has been annotated
11928   correspondingly for the symbols needed.  */
11929#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11930int fnord () __attribute__((visibility("default")));
11931#endif
11932
11933int fnord () { return 42; }
11934int main ()
11935{
11936  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11937  int status = $lt_dlunknown;
11938
11939  if (self)
11940    {
11941      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11942      else
11943        {
11944	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11945          else puts (dlerror ());
11946	}
11947      /* dlclose (self); */
11948    }
11949  else
11950    puts (dlerror ());
11951
11952  return status;
11953}
11954_LT_EOF
11955  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11956  (eval $ac_link) 2>&5
11957  ac_status=$?
11958  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11959  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11960    (./conftest; exit; ) >&5 2>/dev/null
11961    lt_status=$?
11962    case x$lt_status in
11963      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11964      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11965      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11966    esac
11967  else :
11968    # compilation failed
11969    lt_cv_dlopen_self_static=no
11970  fi
11971fi
11972rm -fr conftest*
11973
11974
11975fi
11976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11977$as_echo "$lt_cv_dlopen_self_static" >&6; }
11978    fi
11979
11980    CPPFLAGS=$save_CPPFLAGS
11981    LDFLAGS=$save_LDFLAGS
11982    LIBS=$save_LIBS
11983    ;;
11984  esac
11985
11986  case $lt_cv_dlopen_self in
11987  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11988  *) enable_dlopen_self=unknown ;;
11989  esac
11990
11991  case $lt_cv_dlopen_self_static in
11992  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11993  *) enable_dlopen_self_static=unknown ;;
11994  esac
11995fi
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013striplib=
12014old_striplib=
12015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12016$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12017if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12018  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12019  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12020  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12021$as_echo "yes" >&6; }
12022else
12023# FIXME - insert some real tests, host_os isn't really good enough
12024  case $host_os in
12025  darwin*)
12026    if test -n "$STRIP"; then
12027      striplib="$STRIP -x"
12028      old_striplib="$STRIP -S"
12029      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12030$as_echo "yes" >&6; }
12031    else
12032      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12033$as_echo "no" >&6; }
12034    fi
12035    ;;
12036  *)
12037    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12038$as_echo "no" >&6; }
12039    ;;
12040  esac
12041fi
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054  # Report what library types will actually be built
12055  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12056$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12058$as_echo "$can_build_shared" >&6; }
12059
12060  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12061$as_echo_n "checking whether to build shared libraries... " >&6; }
12062  test no = "$can_build_shared" && enable_shared=no
12063
12064  # On AIX, shared libraries and static libraries use the same namespace, and
12065  # are all built from PIC.
12066  case $host_os in
12067  aix3*)
12068    test yes = "$enable_shared" && enable_static=no
12069    if test -n "$RANLIB"; then
12070      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12071      postinstall_cmds='$RANLIB $lib'
12072    fi
12073    ;;
12074
12075  aix[4-9]*)
12076    if test ia64 != "$host_cpu"; then
12077      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12078      yes,aix,yes) ;;			# shared object as lib.so file only
12079      yes,svr4,*) ;;			# shared object as lib.so archive member only
12080      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12081      esac
12082    fi
12083    ;;
12084  esac
12085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12086$as_echo "$enable_shared" >&6; }
12087
12088  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12089$as_echo_n "checking whether to build static libraries... " >&6; }
12090  # Make sure either enable_shared or enable_static is yes.
12091  test yes = "$enable_shared" || enable_static=yes
12092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12093$as_echo "$enable_static" >&6; }
12094
12095
12096
12097
12098fi
12099ac_ext=c
12100ac_cpp='$CPP $CPPFLAGS'
12101ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12102ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12103ac_compiler_gnu=$ac_cv_c_compiler_gnu
12104
12105CC=$lt_save_CC
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121        ac_config_commands="$ac_config_commands libtool"
12122
12123
12124
12125
12126# Only expand once:
12127
12128
12129
12130# Check whether --enable-silent-rules was given.
12131if test "${enable_silent_rules+set}" = set; then :
12132  enableval=$enable_silent_rules;
12133fi
12134
12135case $enable_silent_rules in # (((
12136  yes) AM_DEFAULT_VERBOSITY=0;;
12137   no) AM_DEFAULT_VERBOSITY=1;;
12138    *) AM_DEFAULT_VERBOSITY=0;;
12139esac
12140am_make=${MAKE-make}
12141{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
12142$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
12143if ${am_cv_make_support_nested_variables+:} false; then :
12144  $as_echo_n "(cached) " >&6
12145else
12146  if $as_echo 'TRUE=$(BAR$(V))
12147BAR0=false
12148BAR1=true
12149V=1
12150am__doit:
12151	@$(TRUE)
12152.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
12153  am_cv_make_support_nested_variables=yes
12154else
12155  am_cv_make_support_nested_variables=no
12156fi
12157fi
12158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
12159$as_echo "$am_cv_make_support_nested_variables" >&6; }
12160if test $am_cv_make_support_nested_variables = yes; then
12161    AM_V='$(V)'
12162  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
12163else
12164  AM_V=$AM_DEFAULT_VERBOSITY
12165  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
12166fi
12167AM_BACKSLASH='\'
12168
12169
12170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
12171$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
12172if ${ac_cv_c_bigendian+:} false; then :
12173  $as_echo_n "(cached) " >&6
12174else
12175  ac_cv_c_bigendian=unknown
12176    # See if we're dealing with a universal compiler.
12177    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12178/* end confdefs.h.  */
12179#ifndef __APPLE_CC__
12180	       not a universal capable compiler
12181	     #endif
12182	     typedef int dummy;
12183
12184_ACEOF
12185if ac_fn_c_try_compile "$LINENO"; then :
12186
12187	# Check for potential -arch flags.  It is not universal unless
12188	# there are at least two -arch flags with different values.
12189	ac_arch=
12190	ac_prev=
12191	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
12192	 if test -n "$ac_prev"; then
12193	   case $ac_word in
12194	     i?86 | x86_64 | ppc | ppc64)
12195	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
12196		 ac_arch=$ac_word
12197	       else
12198		 ac_cv_c_bigendian=universal
12199		 break
12200	       fi
12201	       ;;
12202	   esac
12203	   ac_prev=
12204	 elif test "x$ac_word" = "x-arch"; then
12205	   ac_prev=arch
12206	 fi
12207       done
12208fi
12209rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12210    if test $ac_cv_c_bigendian = unknown; then
12211      # See if sys/param.h defines the BYTE_ORDER macro.
12212      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12213/* end confdefs.h.  */
12214#include <sys/types.h>
12215	     #include <sys/param.h>
12216
12217int
12218main ()
12219{
12220#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
12221		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
12222		     && LITTLE_ENDIAN)
12223	      bogus endian macros
12224	     #endif
12225
12226  ;
12227  return 0;
12228}
12229_ACEOF
12230if ac_fn_c_try_compile "$LINENO"; then :
12231  # It does; now see whether it defined to BIG_ENDIAN or not.
12232	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233/* end confdefs.h.  */
12234#include <sys/types.h>
12235		#include <sys/param.h>
12236
12237int
12238main ()
12239{
12240#if BYTE_ORDER != BIG_ENDIAN
12241		 not big endian
12242		#endif
12243
12244  ;
12245  return 0;
12246}
12247_ACEOF
12248if ac_fn_c_try_compile "$LINENO"; then :
12249  ac_cv_c_bigendian=yes
12250else
12251  ac_cv_c_bigendian=no
12252fi
12253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254fi
12255rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12256    fi
12257    if test $ac_cv_c_bigendian = unknown; then
12258      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
12259      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260/* end confdefs.h.  */
12261#include <limits.h>
12262
12263int
12264main ()
12265{
12266#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
12267	      bogus endian macros
12268	     #endif
12269
12270  ;
12271  return 0;
12272}
12273_ACEOF
12274if ac_fn_c_try_compile "$LINENO"; then :
12275  # It does; now see whether it defined to _BIG_ENDIAN or not.
12276	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277/* end confdefs.h.  */
12278#include <limits.h>
12279
12280int
12281main ()
12282{
12283#ifndef _BIG_ENDIAN
12284		 not big endian
12285		#endif
12286
12287  ;
12288  return 0;
12289}
12290_ACEOF
12291if ac_fn_c_try_compile "$LINENO"; then :
12292  ac_cv_c_bigendian=yes
12293else
12294  ac_cv_c_bigendian=no
12295fi
12296rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12297fi
12298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12299    fi
12300    if test $ac_cv_c_bigendian = unknown; then
12301      # Compile a test program.
12302      if test "$cross_compiling" = yes; then :
12303  # Try to guess by grepping values from an object file.
12304	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305/* end confdefs.h.  */
12306short int ascii_mm[] =
12307		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
12308		short int ascii_ii[] =
12309		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
12310		int use_ascii (int i) {
12311		  return ascii_mm[i] + ascii_ii[i];
12312		}
12313		short int ebcdic_ii[] =
12314		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
12315		short int ebcdic_mm[] =
12316		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
12317		int use_ebcdic (int i) {
12318		  return ebcdic_mm[i] + ebcdic_ii[i];
12319		}
12320		extern int foo;
12321
12322int
12323main ()
12324{
12325return use_ascii (foo) == use_ebcdic (foo);
12326  ;
12327  return 0;
12328}
12329_ACEOF
12330if ac_fn_c_try_compile "$LINENO"; then :
12331  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
12332	      ac_cv_c_bigendian=yes
12333	    fi
12334	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
12335	      if test "$ac_cv_c_bigendian" = unknown; then
12336		ac_cv_c_bigendian=no
12337	      else
12338		# finding both strings is unlikely to happen, but who knows?
12339		ac_cv_c_bigendian=unknown
12340	      fi
12341	    fi
12342fi
12343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12344else
12345  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12346/* end confdefs.h.  */
12347$ac_includes_default
12348int
12349main ()
12350{
12351
12352	     /* Are we little or big endian?  From Harbison&Steele.  */
12353	     union
12354	     {
12355	       long int l;
12356	       char c[sizeof (long int)];
12357	     } u;
12358	     u.l = 1;
12359	     return u.c[sizeof (long int) - 1] == 1;
12360
12361  ;
12362  return 0;
12363}
12364_ACEOF
12365if ac_fn_c_try_run "$LINENO"; then :
12366  ac_cv_c_bigendian=no
12367else
12368  ac_cv_c_bigendian=yes
12369fi
12370rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12371  conftest.$ac_objext conftest.beam conftest.$ac_ext
12372fi
12373
12374    fi
12375fi
12376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
12377$as_echo "$ac_cv_c_bigendian" >&6; }
12378 case $ac_cv_c_bigendian in #(
12379   yes)
12380     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
12381;; #(
12382   no)
12383      ;; #(
12384   universal)
12385
12386$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
12387
12388     ;; #(
12389   *)
12390     as_fn_error $? "unknown endianness
12391 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
12392 esac
12393
12394
12395# Extract the first word of "pkg-config", so it can be a program name with args.
12396set dummy pkg-config; ac_word=$2
12397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12398$as_echo_n "checking for $ac_word... " >&6; }
12399if ${ac_cv_path_PKG_CONFIG+:} false; then :
12400  $as_echo_n "(cached) " >&6
12401else
12402  case $PKG_CONFIG in
12403  [\\/]* | ?:[\\/]*)
12404  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12405  ;;
12406  *)
12407  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12408for as_dir in $PATH
12409do
12410  IFS=$as_save_IFS
12411  test -z "$as_dir" && as_dir=.
12412    for ac_exec_ext in '' $ac_executable_extensions; do
12413  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12414    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12415    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12416    break 2
12417  fi
12418done
12419  done
12420IFS=$as_save_IFS
12421
12422  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
12423  ;;
12424esac
12425fi
12426PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12427if test -n "$PKG_CONFIG"; then
12428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12429$as_echo "$PKG_CONFIG" >&6; }
12430else
12431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12432$as_echo "no" >&6; }
12433fi
12434
12435
12436if test "x$PKG_CONFIG" = "xno"; then
12437	as_fn_error $? "You need to install pkg-config" "$LINENO" 5
12438fi
12439GLIB_REQUIRED_VERSION="2.2.3"
12440
12441
12442
12443
12444
12445
12446
12447if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12448	if test -n "$ac_tool_prefix"; then
12449  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12450set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12452$as_echo_n "checking for $ac_word... " >&6; }
12453if ${ac_cv_path_PKG_CONFIG+:} false; then :
12454  $as_echo_n "(cached) " >&6
12455else
12456  case $PKG_CONFIG in
12457  [\\/]* | ?:[\\/]*)
12458  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12459  ;;
12460  *)
12461  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12462for as_dir in $PATH
12463do
12464  IFS=$as_save_IFS
12465  test -z "$as_dir" && as_dir=.
12466    for ac_exec_ext in '' $ac_executable_extensions; do
12467  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12468    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12469    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12470    break 2
12471  fi
12472done
12473  done
12474IFS=$as_save_IFS
12475
12476  ;;
12477esac
12478fi
12479PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12480if test -n "$PKG_CONFIG"; then
12481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
12482$as_echo "$PKG_CONFIG" >&6; }
12483else
12484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485$as_echo "no" >&6; }
12486fi
12487
12488
12489fi
12490if test -z "$ac_cv_path_PKG_CONFIG"; then
12491  ac_pt_PKG_CONFIG=$PKG_CONFIG
12492  # Extract the first word of "pkg-config", so it can be a program name with args.
12493set dummy pkg-config; ac_word=$2
12494{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12495$as_echo_n "checking for $ac_word... " >&6; }
12496if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
12497  $as_echo_n "(cached) " >&6
12498else
12499  case $ac_pt_PKG_CONFIG in
12500  [\\/]* | ?:[\\/]*)
12501  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12502  ;;
12503  *)
12504  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12505for as_dir in $PATH
12506do
12507  IFS=$as_save_IFS
12508  test -z "$as_dir" && as_dir=.
12509    for ac_exec_ext in '' $ac_executable_extensions; do
12510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12511    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12513    break 2
12514  fi
12515done
12516  done
12517IFS=$as_save_IFS
12518
12519  ;;
12520esac
12521fi
12522ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12523if test -n "$ac_pt_PKG_CONFIG"; then
12524  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
12525$as_echo "$ac_pt_PKG_CONFIG" >&6; }
12526else
12527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12528$as_echo "no" >&6; }
12529fi
12530
12531  if test "x$ac_pt_PKG_CONFIG" = x; then
12532    PKG_CONFIG=""
12533  else
12534    case $cross_compiling:$ac_tool_warned in
12535yes:)
12536{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12537$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12538ac_tool_warned=yes ;;
12539esac
12540    PKG_CONFIG=$ac_pt_PKG_CONFIG
12541  fi
12542else
12543  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12544fi
12545
12546fi
12547if test -n "$PKG_CONFIG"; then
12548	_pkg_min_version=0.9.0
12549	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
12550$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
12551	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12552		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12553$as_echo "yes" >&6; }
12554	else
12555		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12556$as_echo "no" >&6; }
12557		PKG_CONFIG=""
12558	fi
12559fi
12560
12561pkg_failed=no
12562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BASE_DEPENDENCIES" >&5
12563$as_echo_n "checking for BASE_DEPENDENCIES... " >&6; }
12564
12565if test -n "$BASE_DEPENDENCIES_CFLAGS"; then
12566    pkg_cv_BASE_DEPENDENCIES_CFLAGS="$BASE_DEPENDENCIES_CFLAGS"
12567 elif test -n "$PKG_CONFIG"; then
12568    if test -n "$PKG_CONFIG" && \
12569    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
12570  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
12571  ac_status=$?
12572  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12573  test $ac_status = 0; }; then
12574  pkg_cv_BASE_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
12575		      test "x$?" != "x0" && pkg_failed=yes
12576else
12577  pkg_failed=yes
12578fi
12579 else
12580    pkg_failed=untried
12581fi
12582if test -n "$BASE_DEPENDENCIES_LIBS"; then
12583    pkg_cv_BASE_DEPENDENCIES_LIBS="$BASE_DEPENDENCIES_LIBS"
12584 elif test -n "$PKG_CONFIG"; then
12585    if test -n "$PKG_CONFIG" && \
12586    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= \$GLIB_REQUIRED_VERSION\""; } >&5
12587  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB_REQUIRED_VERSION") 2>&5
12588  ac_status=$?
12589  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12590  test $ac_status = 0; }; then
12591  pkg_cv_BASE_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>/dev/null`
12592		      test "x$?" != "x0" && pkg_failed=yes
12593else
12594  pkg_failed=yes
12595fi
12596 else
12597    pkg_failed=untried
12598fi
12599
12600
12601
12602if test $pkg_failed = yes; then
12603   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12604$as_echo "no" >&6; }
12605
12606if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12607        _pkg_short_errors_supported=yes
12608else
12609        _pkg_short_errors_supported=no
12610fi
12611        if test $_pkg_short_errors_supported = yes; then
12612	        BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
12613        else
12614	        BASE_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= $GLIB_REQUIRED_VERSION" 2>&1`
12615        fi
12616	# Put the nasty error message in config.log where it belongs
12617	echo "$BASE_DEPENDENCIES_PKG_ERRORS" >&5
12618
12619	as_fn_error $? "Package requirements (glib-2.0 >= $GLIB_REQUIRED_VERSION) were not met:
12620
12621$BASE_DEPENDENCIES_PKG_ERRORS
12622
12623Consider adjusting the PKG_CONFIG_PATH environment variable if you
12624installed software in a non-standard prefix.
12625
12626Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
12627and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
12628See the pkg-config man page for more details." "$LINENO" 5
12629elif test $pkg_failed = untried; then
12630     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12631$as_echo "no" >&6; }
12632	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12633$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12634as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12635is in your PATH or set the PKG_CONFIG environment variable to the full
12636path to pkg-config.
12637
12638Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
12639and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
12640See the pkg-config man page for more details.
12641
12642To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12643See \`config.log' for more details" "$LINENO" 5; }
12644else
12645	BASE_DEPENDENCIES_CFLAGS=$pkg_cv_BASE_DEPENDENCIES_CFLAGS
12646	BASE_DEPENDENCIES_LIBS=$pkg_cv_BASE_DEPENDENCIES_LIBS
12647        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12648$as_echo "yes" >&6; }
12649
12650fi
12651
12652GDIPLUS_LIBS="`$PKG_CONFIG --libs glib-2.0 `"
12653GDIPLUS_CFLAGS="`$PKG_CONFIG --cflags glib-2.0 `"
12654
12655CAIRO_REQUIRED_VERSION="1.6.4"
12656
12657pkg_failed=no
12658{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
12659$as_echo_n "checking for CAIRO... " >&6; }
12660
12661if test -n "$CAIRO_CFLAGS"; then
12662    pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
12663 elif test -n "$PKG_CONFIG"; then
12664    if test -n "$PKG_CONFIG" && \
12665    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
12666  ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
12667  ac_status=$?
12668  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12669  test $ac_status = 0; }; then
12670  pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
12671		      test "x$?" != "x0" && pkg_failed=yes
12672else
12673  pkg_failed=yes
12674fi
12675 else
12676    pkg_failed=untried
12677fi
12678if test -n "$CAIRO_LIBS"; then
12679    pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
12680 elif test -n "$PKG_CONFIG"; then
12681    if test -n "$PKG_CONFIG" && \
12682    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo >= \$CAIRO_REQUIRED_VERSION\""; } >&5
12683  ($PKG_CONFIG --exists --print-errors "cairo >= $CAIRO_REQUIRED_VERSION") 2>&5
12684  ac_status=$?
12685  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12686  test $ac_status = 0; }; then
12687  pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>/dev/null`
12688		      test "x$?" != "x0" && pkg_failed=yes
12689else
12690  pkg_failed=yes
12691fi
12692 else
12693    pkg_failed=untried
12694fi
12695
12696
12697
12698if test $pkg_failed = yes; then
12699   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12700$as_echo "no" >&6; }
12701
12702if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12703        _pkg_short_errors_supported=yes
12704else
12705        _pkg_short_errors_supported=no
12706fi
12707        if test $_pkg_short_errors_supported = yes; then
12708	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
12709        else
12710	        CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo >= $CAIRO_REQUIRED_VERSION" 2>&1`
12711        fi
12712	# Put the nasty error message in config.log where it belongs
12713	echo "$CAIRO_PKG_ERRORS" >&5
12714
12715	as_fn_error $? "Package requirements (cairo >= $CAIRO_REQUIRED_VERSION) were not met:
12716
12717$CAIRO_PKG_ERRORS
12718
12719Consider adjusting the PKG_CONFIG_PATH environment variable if you
12720installed software in a non-standard prefix.
12721
12722Alternatively, you may set the environment variables CAIRO_CFLAGS
12723and CAIRO_LIBS to avoid the need to call pkg-config.
12724See the pkg-config man page for more details." "$LINENO" 5
12725elif test $pkg_failed = untried; then
12726     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12727$as_echo "no" >&6; }
12728	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12729$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12730as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12731is in your PATH or set the PKG_CONFIG environment variable to the full
12732path to pkg-config.
12733
12734Alternatively, you may set the environment variables CAIRO_CFLAGS
12735and CAIRO_LIBS to avoid the need to call pkg-config.
12736See the pkg-config man page for more details.
12737
12738To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12739See \`config.log' for more details" "$LINENO" 5; }
12740else
12741	CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
12742	CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
12743        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12744$as_echo "yes" >&6; }
12745
12746fi
12747
12748# Optional use of Pango's text rendering on top of Cairo
12749
12750# Check whether --with-pango was given.
12751if test "${with_pango+set}" = set; then :
12752  withval=$with_pango; text_v=pango
12753else
12754  text_v=default
12755fi
12756
12757
12758GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -std=gnu99"
12759
12760# Check whether --enable-warnaserror was given.
12761if test "${enable_warnaserror+set}" = set; then :
12762  enableval=$enable_warnaserror; warnaserror=yes
12763else
12764  warnaserror=no
12765fi
12766
12767
12768if test $warnaserror = "yes"; then
12769  GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -Werror -Wno-unknown-warning-option -Wno-clobbered -Wno-typedef-redefinition"
12770fi
12771
12772# Check whether --enable-asan was given.
12773if test "${enable_asan+set}" = set; then :
12774  enableval=$enable_asan; asan=yes
12775else
12776  asan=no
12777fi
12778
12779
12780if test $asan = "yes"; then
12781  GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS -fsanitize=address,signed-integer-overflow,undefined -g -O1"
12782  LDFLAGS="$LDFLAGS -fsanitize=address,signed-integer-overflow,undefined"
12783fi
12784
12785# Check whether --enable-coverage was given.
12786if test "${enable_coverage+set}" = set; then :
12787  enableval=$enable_coverage; coverage=yes
12788else
12789  coverage=no
12790fi
12791
12792
12793if test $coverage = "yes"; then
12794  GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS --coverage -g"
12795  LDFLAGS="$LDFLAGS --coverage"
12796fi
12797
12798CAIRO_LIBS="`pkg-config --libs cairo `"
12799CAIRO_CFLAGS="`pkg-config --cflags cairo `"
12800cairo_info="`pkg-config --modversion cairo ` (system)"
12801GDIPLUS_PKG_REQ="cairo"
12802
12803PANGO_REQUIRED_VERSION="1.40.14"
12804PANGO_MAX_VERSION="1.43"
12805if test $text_v = "pango"; then
12806
12807pkg_failed=no
12808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
12809$as_echo_n "checking for PANGO... " >&6; }
12810
12811if test -n "$PANGO_CFLAGS"; then
12812    pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
12813 elif test -n "$PKG_CONFIG"; then
12814    if test -n "$PKG_CONFIG" && \
12815    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION\""; } >&5
12816  ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION") 2>&5
12817  ac_status=$?
12818  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12819  test $ac_status = 0; }; then
12820  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED_VERSION" 2>/dev/null`
12821		      test "x$?" != "x0" && pkg_failed=yes
12822else
12823  pkg_failed=yes
12824fi
12825 else
12826    pkg_failed=untried
12827fi
12828if test -n "$PANGO_LIBS"; then
12829    pkg_cv_PANGO_LIBS="$PANGO_LIBS"
12830 elif test -n "$PKG_CONFIG"; then
12831    if test -n "$PKG_CONFIG" && \
12832    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION\""; } >&5
12833  ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION") 2>&5
12834  ac_status=$?
12835  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12836  test $ac_status = 0; }; then
12837  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED_VERSION" 2>/dev/null`
12838		      test "x$?" != "x0" && pkg_failed=yes
12839else
12840  pkg_failed=yes
12841fi
12842 else
12843    pkg_failed=untried
12844fi
12845
12846
12847
12848if test $pkg_failed = yes; then
12849   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12850$as_echo "no" >&6; }
12851
12852if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12853        _pkg_short_errors_supported=yes
12854else
12855        _pkg_short_errors_supported=no
12856fi
12857        if test $_pkg_short_errors_supported = yes; then
12858	        PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION" 2>&1`
12859        else
12860	        PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION" 2>&1`
12861        fi
12862	# Put the nasty error message in config.log where it belongs
12863	echo "$PANGO_PKG_ERRORS" >&5
12864
12865	as_fn_error $? "Package requirements (pango >= $PANGO_REQUIRED_VERSION) were not met:
12866
12867$PANGO_PKG_ERRORS
12868
12869Consider adjusting the PKG_CONFIG_PATH environment variable if you
12870installed software in a non-standard prefix.
12871
12872Alternatively, you may set the environment variables PANGO_CFLAGS
12873and PANGO_LIBS to avoid the need to call pkg-config.
12874See the pkg-config man page for more details." "$LINENO" 5
12875elif test $pkg_failed = untried; then
12876     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12877$as_echo "no" >&6; }
12878	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12879$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12880as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
12881is in your PATH or set the PKG_CONFIG environment variable to the full
12882path to pkg-config.
12883
12884Alternatively, you may set the environment variables PANGO_CFLAGS
12885and PANGO_LIBS to avoid the need to call pkg-config.
12886See the pkg-config man page for more details.
12887
12888To get pkg-config, see <http://pkg-config.freedesktop.org/>.
12889See \`config.log' for more details" "$LINENO" 5; }
12890else
12891	PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
12892	PANGO_LIBS=$pkg_cv_PANGO_LIBS
12893        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12894$as_echo "yes" >&6; }
12895
12896fi
12897fi
12898if test $text_v = "default"; then
12899
12900pkg_failed=no
12901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5
12902$as_echo_n "checking for PANGO... " >&6; }
12903
12904if test -n "$PANGO_CFLAGS"; then
12905    pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS"
12906 elif test -n "$PKG_CONFIG"; then
12907    if test -n "$PKG_CONFIG" && \
12908    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION && pango <= \$PANGO_MAX_VERSION\""; } >&5
12909  ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION && pango <= $PANGO_MAX_VERSION") 2>&5
12910  ac_status=$?
12911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12912  test $ac_status = 0; }; then
12913  pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pango >= $PANGO_REQUIRED_VERSION && pango <= $PANGO_MAX_VERSION" 2>/dev/null`
12914		      test "x$?" != "x0" && pkg_failed=yes
12915else
12916  pkg_failed=yes
12917fi
12918 else
12919    pkg_failed=untried
12920fi
12921if test -n "$PANGO_LIBS"; then
12922    pkg_cv_PANGO_LIBS="$PANGO_LIBS"
12923 elif test -n "$PKG_CONFIG"; then
12924    if test -n "$PKG_CONFIG" && \
12925    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pango >= \$PANGO_REQUIRED_VERSION && pango <= \$PANGO_MAX_VERSION\""; } >&5
12926  ($PKG_CONFIG --exists --print-errors "pango >= $PANGO_REQUIRED_VERSION && pango <= $PANGO_MAX_VERSION") 2>&5
12927  ac_status=$?
12928  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12929  test $ac_status = 0; }; then
12930  pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pango >= $PANGO_REQUIRED_VERSION && pango <= $PANGO_MAX_VERSION" 2>/dev/null`
12931		      test "x$?" != "x0" && pkg_failed=yes
12932else
12933  pkg_failed=yes
12934fi
12935 else
12936    pkg_failed=untried
12937fi
12938
12939
12940
12941if test $pkg_failed = yes; then
12942   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12943$as_echo "no" >&6; }
12944
12945if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12946        _pkg_short_errors_supported=yes
12947else
12948        _pkg_short_errors_supported=no
12949fi
12950        if test $_pkg_short_errors_supported = yes; then
12951	        PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION && pango <= $PANGO_MAX_VERSION" 2>&1`
12952        else
12953	        PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pango >= $PANGO_REQUIRED_VERSION && pango <= $PANGO_MAX_VERSION" 2>&1`
12954        fi
12955	# Put the nasty error message in config.log where it belongs
12956	echo "$PANGO_PKG_ERRORS" >&5
12957
12958	text_v=cairo
12959elif test $pkg_failed = untried; then
12960     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12961$as_echo "no" >&6; }
12962	text_v=cairo
12963else
12964	PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS
12965	PANGO_LIBS=$pkg_cv_PANGO_LIBS
12966        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12967$as_echo "yes" >&6; }
12968	text_v=pango
12969fi
12970fi
12971if test $text_v = "pango"; then
12972	PANGO_LIBS="`pkg-config --libs pangocairo `"
12973	PANGO_CFLAGS="`pkg-config --cflags pangocairo `"
12974
12975$as_echo "#define USE_PANGO_RENDERING 1" >>confdefs.h
12976
12977	GDIPLUS_PKG_REQ="$GDIPLUS_PKG_REQ pangocairo-1.0"
12978fi
12979
12980 if test $text_v = "pango"; then
12981  USE_PANGO_RENDERING_TRUE=
12982  USE_PANGO_RENDERING_FALSE='#'
12983else
12984  USE_PANGO_RENDERING_TRUE='#'
12985  USE_PANGO_RENDERING_FALSE=
12986fi
12987
12988
12989GDIPLUS_LIBS="$GDIPLUS_LIBS $CAIRO_LIBS $PANGO_LIBS"
12990GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS $CAIRO_CFLAGS $PANGO_CFLAGS"
12991
12992# Fall back to using fontconfig/freetype-config if their .pc is not found
12993
12994pkg_failed=no
12995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
12996$as_echo_n "checking for FONTCONFIG... " >&6; }
12997
12998if test -n "$FONTCONFIG_CFLAGS"; then
12999    pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
13000 elif test -n "$PKG_CONFIG"; then
13001    if test -n "$PKG_CONFIG" && \
13002    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
13003  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
13004  ac_status=$?
13005  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13006  test $ac_status = 0; }; then
13007  pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
13008		      test "x$?" != "x0" && pkg_failed=yes
13009else
13010  pkg_failed=yes
13011fi
13012 else
13013    pkg_failed=untried
13014fi
13015if test -n "$FONTCONFIG_LIBS"; then
13016    pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
13017 elif test -n "$PKG_CONFIG"; then
13018    if test -n "$PKG_CONFIG" && \
13019    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
13020  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
13021  ac_status=$?
13022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13023  test $ac_status = 0; }; then
13024  pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
13025		      test "x$?" != "x0" && pkg_failed=yes
13026else
13027  pkg_failed=yes
13028fi
13029 else
13030    pkg_failed=untried
13031fi
13032
13033
13034
13035if test $pkg_failed = yes; then
13036   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13037$as_echo "no" >&6; }
13038
13039if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13040        _pkg_short_errors_supported=yes
13041else
13042        _pkg_short_errors_supported=no
13043fi
13044        if test $_pkg_short_errors_supported = yes; then
13045	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fontconfig" 2>&1`
13046        else
13047	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fontconfig" 2>&1`
13048        fi
13049	# Put the nasty error message in config.log where it belongs
13050	echo "$FONTCONFIG_PKG_ERRORS" >&5
13051
13052	fontconfig_pkgconfig=no
13053elif test $pkg_failed = untried; then
13054     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13055$as_echo "no" >&6; }
13056	fontconfig_pkgconfig=no
13057else
13058	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
13059	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
13060        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13061$as_echo "yes" >&6; }
13062	fontconfig_pkgconfig=yes
13063fi
13064if test "x$FONTCONFIG" = "xno"; then
13065	# Extract the first word of "fontconfig-config", so it can be a program name with args.
13066set dummy fontconfig-config; ac_word=$2
13067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13068$as_echo_n "checking for $ac_word... " >&6; }
13069if ${ac_cv_path_FONTCONFIG_CONFIG+:} false; then :
13070  $as_echo_n "(cached) " >&6
13071else
13072  case $FONTCONFIG_CONFIG in
13073  [\\/]* | ?:[\\/]*)
13074  ac_cv_path_FONTCONFIG_CONFIG="$FONTCONFIG_CONFIG" # Let the user override the test with a path.
13075  ;;
13076  *)
13077  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13078for as_dir in $PATH
13079do
13080  IFS=$as_save_IFS
13081  test -z "$as_dir" && as_dir=.
13082    for ac_exec_ext in '' $ac_executable_extensions; do
13083  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13084    ac_cv_path_FONTCONFIG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13085    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13086    break 2
13087  fi
13088done
13089  done
13090IFS=$as_save_IFS
13091
13092  test -z "$ac_cv_path_FONTCONFIG_CONFIG" && ac_cv_path_FONTCONFIG_CONFIG="no"
13093  ;;
13094esac
13095fi
13096FONTCONFIG_CONFIG=$ac_cv_path_FONTCONFIG_CONFIG
13097if test -n "$FONTCONFIG_CONFIG"; then
13098  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTCONFIG_CONFIG" >&5
13099$as_echo "$FONTCONFIG_CONFIG" >&6; }
13100else
13101  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13102$as_echo "no" >&6; }
13103fi
13104
13105
13106	if test "x$FONTCONFIG_CONFIG" = "xyes"; then
13107		FONTCONFIG_CFLAGS="`fontconfig-config --cflags`"
13108		FONTCONFIG_LIBS="`fontconfig-config --libs`"
13109	fi
13110fi
13111{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FcInit in -lfontconfig" >&5
13112$as_echo_n "checking for FcInit in -lfontconfig... " >&6; }
13113if ${ac_cv_lib_fontconfig_FcInit+:} false; then :
13114  $as_echo_n "(cached) " >&6
13115else
13116  ac_check_lib_save_LIBS=$LIBS
13117LIBS="-lfontconfig  $LIBS"
13118cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13119/* end confdefs.h.  */
13120
13121/* Override any GCC internal prototype to avoid an error.
13122   Use char because int might match the return type of a GCC
13123   builtin and then its argument prototype would still apply.  */
13124#ifdef __cplusplus
13125extern "C"
13126#endif
13127char FcInit ();
13128int
13129main ()
13130{
13131return FcInit ();
13132  ;
13133  return 0;
13134}
13135_ACEOF
13136if ac_fn_c_try_link "$LINENO"; then :
13137  ac_cv_lib_fontconfig_FcInit=yes
13138else
13139  ac_cv_lib_fontconfig_FcInit=no
13140fi
13141rm -f core conftest.err conftest.$ac_objext \
13142    conftest$ac_exeext conftest.$ac_ext
13143LIBS=$ac_check_lib_save_LIBS
13144fi
13145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fontconfig_FcInit" >&5
13146$as_echo "$ac_cv_lib_fontconfig_FcInit" >&6; }
13147if test "x$ac_cv_lib_fontconfig_FcInit" = xyes; then :
13148  cat >>confdefs.h <<_ACEOF
13149#define HAVE_LIBFONTCONFIG 1
13150_ACEOF
13151
13152  LIBS="-lfontconfig $LIBS"
13153
13154fi
13155
13156for ac_func in FcFini
13157do :
13158  ac_fn_c_check_func "$LINENO" "FcFini" "ac_cv_func_FcFini"
13159if test "x$ac_cv_func_FcFini" = xyes; then :
13160  cat >>confdefs.h <<_ACEOF
13161#define HAVE_FCFINI 1
13162_ACEOF
13163
13164fi
13165done
13166
13167
13168
13169pkg_failed=no
13170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE2" >&5
13171$as_echo_n "checking for FREETYPE2... " >&6; }
13172
13173if test -n "$FREETYPE2_CFLAGS"; then
13174    pkg_cv_FREETYPE2_CFLAGS="$FREETYPE2_CFLAGS"
13175 elif test -n "$PKG_CONFIG"; then
13176    if test -n "$PKG_CONFIG" && \
13177    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13178  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13179  ac_status=$?
13180  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13181  test $ac_status = 0; }; then
13182  pkg_cv_FREETYPE2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
13183		      test "x$?" != "x0" && pkg_failed=yes
13184else
13185  pkg_failed=yes
13186fi
13187 else
13188    pkg_failed=untried
13189fi
13190if test -n "$FREETYPE2_LIBS"; then
13191    pkg_cv_FREETYPE2_LIBS="$FREETYPE2_LIBS"
13192 elif test -n "$PKG_CONFIG"; then
13193    if test -n "$PKG_CONFIG" && \
13194    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13195  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13196  ac_status=$?
13197  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13198  test $ac_status = 0; }; then
13199  pkg_cv_FREETYPE2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
13200		      test "x$?" != "x0" && pkg_failed=yes
13201else
13202  pkg_failed=yes
13203fi
13204 else
13205    pkg_failed=untried
13206fi
13207
13208
13209
13210if test $pkg_failed = yes; then
13211   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13212$as_echo "no" >&6; }
13213
13214if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13215        _pkg_short_errors_supported=yes
13216else
13217        _pkg_short_errors_supported=no
13218fi
13219        if test $_pkg_short_errors_supported = yes; then
13220	        FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freetype2" 2>&1`
13221        else
13222	        FREETYPE2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freetype2" 2>&1`
13223        fi
13224	# Put the nasty error message in config.log where it belongs
13225	echo "$FREETYPE2_PKG_ERRORS" >&5
13226
13227	freetype2_pkgconfig=no]
13228elif test $pkg_failed = untried; then
13229     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13230$as_echo "no" >&6; }
13231	freetype2_pkgconfig=no]
13232else
13233	FREETYPE2_CFLAGS=$pkg_cv_FREETYPE2_CFLAGS
13234	FREETYPE2_LIBS=$pkg_cv_FREETYPE2_LIBS
13235        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13236$as_echo "yes" >&6; }
13237	freetype2_pkgconfig=yes
13238fi
13239if test "x$FREETYPE2" = "xno"; then
13240	# Extract the first word of "freetype-config", so it can be a program name with args.
13241set dummy freetype-config; ac_word=$2
13242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13243$as_echo_n "checking for $ac_word... " >&6; }
13244if ${ac_cv_path_FREETYPE_CONFIG+:} false; then :
13245  $as_echo_n "(cached) " >&6
13246else
13247  case $FREETYPE_CONFIG in
13248  [\\/]* | ?:[\\/]*)
13249  ac_cv_path_FREETYPE_CONFIG="$FREETYPE_CONFIG" # Let the user override the test with a path.
13250  ;;
13251  *)
13252  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13253for as_dir in $PATH
13254do
13255  IFS=$as_save_IFS
13256  test -z "$as_dir" && as_dir=.
13257    for ac_exec_ext in '' $ac_executable_extensions; do
13258  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13259    ac_cv_path_FREETYPE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13260    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13261    break 2
13262  fi
13263done
13264  done
13265IFS=$as_save_IFS
13266
13267  test -z "$ac_cv_path_FREETYPE_CONFIG" && ac_cv_path_FREETYPE_CONFIG="no"
13268  ;;
13269esac
13270fi
13271FREETYPE_CONFIG=$ac_cv_path_FREETYPE_CONFIG
13272if test -n "$FREETYPE_CONFIG"; then
13273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FREETYPE_CONFIG" >&5
13274$as_echo "$FREETYPE_CONFIG" >&6; }
13275else
13276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13277$as_echo "no" >&6; }
13278fi
13279
13280
13281	if test "x$FREETYPE_CONFIG" = "xyes"; then
13282		FREETYPE2_CFLAGS="`freetype-config --cflags`"
13283		FREETYPE2_LIBS="`freetype-config --libs`"
13284	fi
13285fi
13286
13287GDIPLUS_LIBS="$GDIPLUS_LIBS $FONTCONFIG_LIBS $FREETYPE2_LIBS"
13288GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS $FONTCONFIG_CFLAGS $FREETYPE2_CFLAGS"
13289
13290for ac_header in byteswap.h
13291do :
13292  ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
13293if test "x$ac_cv_header_byteswap_h" = xyes; then :
13294  cat >>confdefs.h <<_ACEOF
13295#define HAVE_BYTESWAP_H 1
13296_ACEOF
13297
13298fi
13299
13300done
13301
13302
13303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqrt" >&5
13304$as_echo_n "checking for library containing sqrt... " >&6; }
13305if ${ac_cv_search_sqrt+:} false; then :
13306  $as_echo_n "(cached) " >&6
13307else
13308  ac_func_search_save_LIBS=$LIBS
13309cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13310/* end confdefs.h.  */
13311
13312/* Override any GCC internal prototype to avoid an error.
13313   Use char because int might match the return type of a GCC
13314   builtin and then its argument prototype would still apply.  */
13315#ifdef __cplusplus
13316extern "C"
13317#endif
13318char sqrt ();
13319int
13320main ()
13321{
13322return sqrt ();
13323  ;
13324  return 0;
13325}
13326_ACEOF
13327for ac_lib in '' m; do
13328  if test -z "$ac_lib"; then
13329    ac_res="none required"
13330  else
13331    ac_res=-l$ac_lib
13332    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13333  fi
13334  if ac_fn_c_try_link "$LINENO"; then :
13335  ac_cv_search_sqrt=$ac_res
13336fi
13337rm -f core conftest.err conftest.$ac_objext \
13338    conftest$ac_exeext
13339  if ${ac_cv_search_sqrt+:} false; then :
13340  break
13341fi
13342done
13343if ${ac_cv_search_sqrt+:} false; then :
13344
13345else
13346  ac_cv_search_sqrt=no
13347fi
13348rm conftest.$ac_ext
13349LIBS=$ac_func_search_save_LIBS
13350fi
13351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqrt" >&5
13352$as_echo "$ac_cv_search_sqrt" >&6; }
13353ac_res=$ac_cv_search_sqrt
13354if test "$ac_res" != no; then :
13355  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13356
13357fi
13358
13359
13360{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host threading settings" >&5
13361$as_echo_n "checking host threading settings... " >&6; }
13362case "$host" in
13363	*-*-mingw*|*-*-cygwin*)
13364
13365cat >>confdefs.h <<_ACEOF
13366#define CYGWIN 1
13367_ACEOF
13368
13369		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
13370$as_echo_n "checking for gettext in -lintl... " >&6; }
13371if ${ac_cv_lib_intl_gettext+:} false; then :
13372  $as_echo_n "(cached) " >&6
13373else
13374  ac_check_lib_save_LIBS=$LIBS
13375LIBS="-lintl  $LIBS"
13376cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13377/* end confdefs.h.  */
13378
13379/* Override any GCC internal prototype to avoid an error.
13380   Use char because int might match the return type of a GCC
13381   builtin and then its argument prototype would still apply.  */
13382#ifdef __cplusplus
13383extern "C"
13384#endif
13385char gettext ();
13386int
13387main ()
13388{
13389return gettext ();
13390  ;
13391  return 0;
13392}
13393_ACEOF
13394if ac_fn_c_try_link "$LINENO"; then :
13395  ac_cv_lib_intl_gettext=yes
13396else
13397  ac_cv_lib_intl_gettext=no
13398fi
13399rm -f core conftest.err conftest.$ac_objext \
13400    conftest$ac_exeext conftest.$ac_ext
13401LIBS=$ac_check_lib_save_LIBS
13402fi
13403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
13404$as_echo "$ac_cv_lib_intl_gettext" >&6; }
13405if test "x$ac_cv_lib_intl_gettext" = xyes; then :
13406  cat >>confdefs.h <<_ACEOF
13407#define HAVE_LIBINTL 1
13408_ACEOF
13409
13410  LIBS="-lintl $LIBS"
13411
13412fi
13413
13414		;;
13415
13416	*-*-*netbsd*)
13417
13418cat >>confdefs.h <<_ACEOF
13419#define BSDOS 1
13420_ACEOF
13421
13422		;;
13423
13424	*-*-*freebsd*)
13425
13426cat >>confdefs.h <<_ACEOF
13427#define BSDOS 1
13428_ACEOF
13429
13430		CFLAGS="-D_THREAD_SAFE $CFLAGS"
13431		;;
13432
13433	*-*-*openbsd*)
13434
13435cat >>confdefs.h <<_ACEOF
13436#define BSDOS 1
13437_ACEOF
13438
13439		CFLAGS="$CFLAGS"
13440		LIBS="$LIBS"
13441		;;
13442
13443	*-*-linux*)
13444
13445cat >>confdefs.h <<_ACEOF
13446#define LINUX 1
13447_ACEOF
13448
13449		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13450$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
13451if ${ac_cv_lib_pthread_pthread_create+:} false; then :
13452  $as_echo_n "(cached) " >&6
13453else
13454  ac_check_lib_save_LIBS=$LIBS
13455LIBS="-lpthread  $LIBS"
13456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457/* end confdefs.h.  */
13458
13459/* Override any GCC internal prototype to avoid an error.
13460   Use char because int might match the return type of a GCC
13461   builtin and then its argument prototype would still apply.  */
13462#ifdef __cplusplus
13463extern "C"
13464#endif
13465char pthread_create ();
13466int
13467main ()
13468{
13469return pthread_create ();
13470  ;
13471  return 0;
13472}
13473_ACEOF
13474if ac_fn_c_try_link "$LINENO"; then :
13475  ac_cv_lib_pthread_pthread_create=yes
13476else
13477  ac_cv_lib_pthread_pthread_create=no
13478fi
13479rm -f core conftest.err conftest.$ac_objext \
13480    conftest$ac_exeext conftest.$ac_ext
13481LIBS=$ac_check_lib_save_LIBS
13482fi
13483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13484$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
13485if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
13486  cat >>confdefs.h <<_ACEOF
13487#define HAVE_LIBPTHREAD 1
13488_ACEOF
13489
13490  LIBS="-lpthread $LIBS"
13491
13492fi
13493
13494		;;
13495
13496	*-*-solaris*)
13497
13498cat >>confdefs.h <<_ACEOF
13499#define SOLARIS 1
13500_ACEOF
13501
13502
13503cat >>confdefs.h <<_ACEOF
13504#define _REENTRANT 1
13505_ACEOF
13506
13507		CFLAGS="-pthreads $CFLAGS"
13508		;;
13509
13510	*-*-aix*|*-*-os400)
13511
13512cat >>confdefs.h <<_ACEOF
13513#define AIX 1
13514_ACEOF
13515
13516		# Specify a 64-bit build via GCC, as Mono is always 64-bit on AIX/PASE
13517		CFLAGS="-D_THREAD_SAFE -maix64 $CFLAGS"
13518		LDFLAGS="-maix64 $LDFLAGS"
13519		# Like mono, don't use `OBJECT_MODE=64`, but specify 64-bit mode IBM binutils
13520		# explictly instead.
13521		AR="/usr/bin/ar -X64"
13522		NM="/usr/bin/nm -X64"
13523		;;
13524
13525	*-*-darwin*)
13526
13527cat >>confdefs.h <<_ACEOF
13528#define OSX 1
13529_ACEOF
13530
13531		no_libpng16=yes # workaround until we can upgrade the libpng used by bockbuild
13532		;;
13533
13534	*)
13535		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Unrecognized host $host" >&5
13536$as_echo "Unrecognized host $host" >&6; }
13537
13538cat >>confdefs.h <<_ACEOF
13539#define OTHEROS 1
13540_ACEOF
13541
13542		;;
13543esac
13544
13545# Apparently for BSD special handling needs to happen
13546# See http://archives/neohapsis.com/archives/openbsd/2001-11/2142.html
13547# by Miod Vallat <miod@online.fr>
13548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler recognizes -pthread" >&5
13549$as_echo_n "checking if compiler recognizes -pthread... " >&6; }
13550if ${myapp_cv_gcc_pthread+:} false; then :
13551  $as_echo_n "(cached) " >&6
13552else
13553  ac_save_CFLAGS=$CFLAGS
13554   CFLAGS="$CFLAGS -pthread"
13555
13556   ac_ext=c
13557ac_cpp='$CPP $CPPFLAGS'
13558ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13559ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13560ac_compiler_gnu=$ac_cv_c_compiler_gnu
13561
13562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13563/* end confdefs.h.  */
13564#include <pthread.h>
13565int
13566main ()
13567{
13568void *p = pthread_create;
13569  ;
13570  return 0;
13571}
13572_ACEOF
13573if ac_fn_c_try_link "$LINENO"; then :
13574  myapp_cv_gcc_pthread=yes
13575else
13576  myapp_cv_gcc_pthread=no
13577fi
13578rm -f core conftest.err conftest.$ac_objext \
13579    conftest$ac_exeext conftest.$ac_ext
13580   ac_ext=c
13581ac_cpp='$CPP $CPPFLAGS'
13582ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13583ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13584ac_compiler_gnu=$ac_cv_c_compiler_gnu
13585
13586   CFLAGS=$ac_save_CFLAGS
13587
13588fi
13589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $myapp_cv_gcc_pthread" >&5
13590$as_echo "$myapp_cv_gcc_pthread" >&6; }
13591if test $myapp_cv_gcc_pthread = yes
13592then
13593   myapp_threads=""
13594   CFLAGS="$CFLAGS -pthread"
13595else
13596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13597$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
13598if ${ac_cv_lib_pthread_pthread_create+:} false; then :
13599  $as_echo_n "(cached) " >&6
13600else
13601  ac_check_lib_save_LIBS=$LIBS
13602LIBS="-lpthread  $LIBS"
13603cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13604/* end confdefs.h.  */
13605
13606/* Override any GCC internal prototype to avoid an error.
13607   Use char because int might match the return type of a GCC
13608   builtin and then its argument prototype would still apply.  */
13609#ifdef __cplusplus
13610extern "C"
13611#endif
13612char pthread_create ();
13613int
13614main ()
13615{
13616return pthread_create ();
13617  ;
13618  return 0;
13619}
13620_ACEOF
13621if ac_fn_c_try_link "$LINENO"; then :
13622  ac_cv_lib_pthread_pthread_create=yes
13623else
13624  ac_cv_lib_pthread_pthread_create=no
13625fi
13626rm -f core conftest.err conftest.$ac_objext \
13627    conftest$ac_exeext conftest.$ac_ext
13628LIBS=$ac_check_lib_save_LIBS
13629fi
13630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13631$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
13632if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
13633  myapp_threads=-lpthread
13634else
13635  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lc_r" >&5
13636$as_echo_n "checking for pthread_create in -lc_r... " >&6; }
13637if ${ac_cv_lib_c_r_pthread_create+:} false; then :
13638  $as_echo_n "(cached) " >&6
13639else
13640  ac_check_lib_save_LIBS=$LIBS
13641LIBS="-lc_r  $LIBS"
13642cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13643/* end confdefs.h.  */
13644
13645/* Override any GCC internal prototype to avoid an error.
13646   Use char because int might match the return type of a GCC
13647   builtin and then its argument prototype would still apply.  */
13648#ifdef __cplusplus
13649extern "C"
13650#endif
13651char pthread_create ();
13652int
13653main ()
13654{
13655return pthread_create ();
13656  ;
13657  return 0;
13658}
13659_ACEOF
13660if ac_fn_c_try_link "$LINENO"; then :
13661  ac_cv_lib_c_r_pthread_create=yes
13662else
13663  ac_cv_lib_c_r_pthread_create=no
13664fi
13665rm -f core conftest.err conftest.$ac_objext \
13666    conftest$ac_exeext conftest.$ac_ext
13667LIBS=$ac_check_lib_save_LIBS
13668fi
13669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_r_pthread_create" >&5
13670$as_echo "$ac_cv_lib_c_r_pthread_create" >&6; }
13671if test "x$ac_cv_lib_c_r_pthread_create" = xyes; then :
13672  myapp_threads=-lc_r
13673fi
13674
13675fi
13676
13677fi
13678
13679
13680# sigsetjmp is a macro on some platforms, so can't use AC_CHECK_FUNCS
13681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigsetjmp" >&5
13682$as_echo_n "checking for sigsetjmp... " >&6; }
13683cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13684/* end confdefs.h.  */
13685#include <setjmp.h>
13686int
13687main ()
13688{
13689
13690sigjmp_buf env;
13691sigsetjmp(env, 0);
13692
13693  ;
13694  return 0;
13695}
13696_ACEOF
13697if ac_fn_c_try_link "$LINENO"; then :
13698  gdip_ok=yes
13699else
13700  gdip_ok=no
13701fi
13702rm -f core conftest.err conftest.$ac_objext \
13703    conftest$ac_exeext conftest.$ac_ext
13704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gdip_ok" >&5
13705$as_echo "$gdip_ok" >&6; }
13706if test "$gdip_ok" = "yes"; then
13707
13708$as_echo "#define HAVE_SIGSETJMP 1" >>confdefs.h
13709
13710fi
13711
13712
13713# when possible hide stuff we don't want to export
13714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for visibility __attribute__" >&5
13715$as_echo_n "checking for visibility __attribute__... " >&6; }
13716cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13717/* end confdefs.h.  */
13718
13719int
13720main ()
13721{
13722
13723   void __attribute__ ((visibility ("hidden"))) doit (void) {}
13724   void main () { doit (); }
13725
13726  ;
13727  return 0;
13728}
13729_ACEOF
13730if ac_fn_c_try_compile "$LINENO"; then :
13731
13732   have_visibility_hidden=yes
13733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13734$as_echo "yes" >&6; }
13735
13736else
13737
13738   have_visibility_hidden=no
13739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13740$as_echo "no" >&6; }
13741
13742fi
13743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13744
13745case "$host" in
13746	i*86-*-*)
13747		case $host_os in
13748		  solaris*)
13749			# On solaris 10 x86, gcc prints a warning saying 'visibility attribute not supported on this configuration; ignored', but linking fails.
13750			have_visibility_hidden=no
13751		esac
13752		;;
13753	powerpc-*-*)
13754		case $host_os in
13755		  aix*|os400*)
13756			# XCOFF doesn't have this, but somehow it appears anyways
13757			have_visibility_hidden=no
13758		esac
13759		;;
13760esac
13761
13762if test "x$have_visibility_hidden" = "xyes"; then
13763
13764$as_echo "#define HAVE_VISIBILITY_HIDDEN 1" >>confdefs.h
13765
13766fi
13767
13768
13769
13770# Check whether --with-libexif was given.
13771if test "${with_libexif+set}" = set; then :
13772  withval=$with_libexif;
13773fi
13774
13775
13776case $prefix in
13777NONE) prefix=$ac_default_prefix ;;
13778esac
13779
13780
13781# Check whether --with-libjpeg was given.
13782if test "${with_libjpeg+set}" = set; then :
13783  withval=$with_libjpeg; libjpeg_prefix="$withval"
13784else
13785  libjpeg_prefix="${prefix}"
13786fi
13787
13788
13789  if test x$with_libjpeg != xno && test -z "$LIBJPEG"; then
13790    JPEG_CFLAGS="-I${libjpeg_prefix}/include"
13791    JPEG_LIBS="-L${libjpeg_prefix}/lib"
13792    save_cflags=$CFLAGS; CFLAGS=$JPEG_CFLAGS
13793    save_libs=$LIBS; LIBS=$JPEG_LIBS
13794    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_destroy_decompress in -ljpeg" >&5
13795$as_echo_n "checking for jpeg_destroy_decompress in -ljpeg... " >&6; }
13796if ${ac_cv_lib_jpeg_jpeg_destroy_decompress+:} false; then :
13797  $as_echo_n "(cached) " >&6
13798else
13799  ac_check_lib_save_LIBS=$LIBS
13800LIBS="-ljpeg  $LIBS"
13801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13802/* end confdefs.h.  */
13803
13804/* Override any GCC internal prototype to avoid an error.
13805   Use char because int might match the return type of a GCC
13806   builtin and then its argument prototype would still apply.  */
13807#ifdef __cplusplus
13808extern "C"
13809#endif
13810char jpeg_destroy_decompress ();
13811int
13812main ()
13813{
13814return jpeg_destroy_decompress ();
13815  ;
13816  return 0;
13817}
13818_ACEOF
13819if ac_fn_c_try_link "$LINENO"; then :
13820  ac_cv_lib_jpeg_jpeg_destroy_decompress=yes
13821else
13822  ac_cv_lib_jpeg_jpeg_destroy_decompress=no
13823fi
13824rm -f core conftest.err conftest.$ac_objext \
13825    conftest$ac_exeext conftest.$ac_ext
13826LIBS=$ac_check_lib_save_LIBS
13827fi
13828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_destroy_decompress" >&5
13829$as_echo "$ac_cv_lib_jpeg_jpeg_destroy_decompress" >&6; }
13830if test "x$ac_cv_lib_jpeg_jpeg_destroy_decompress" = xyes; then :
13831  jpeg_ok=yes
13832else
13833  jpeg_ok=no
13834      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JPEG loader will not be built (JPEG library not found) ***" >&5
13835$as_echo "$as_me: WARNING: *** JPEG loader will not be built (JPEG library not found) ***" >&2;}
13836fi
13837
13838    if test "$jpeg_ok" = yes; then
13839      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
13840$as_echo_n "checking for jpeglib.h... " >&6; }
13841      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13842/* end confdefs.h.  */
13843#include <stdio.h>
13844#undef PACKAGE
13845#undef VERSION
13846#undef HAVE_STDLIB_H
13847#include <jpeglib.h>
13848_ACEOF
13849if ac_fn_c_try_cpp "$LINENO"; then :
13850  jpeg_ok=yes
13851else
13852  jpeg_ok=no
13853fi
13854rm -f conftest.err conftest.i conftest.$ac_ext
13855      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $jpeg_ok" >&5
13856$as_echo "$jpeg_ok" >&6; }
13857      if test "$jpeg_ok" = yes; then
13858        JPEG='jpeg'; LIBJPEG="-ljpeg"
13859
13860        if test "$libjpeg_prefix" != "NONE"; then
13861          LIBJPEG="$LIBJPEG -L$libjpeg_prefix"
13862        fi
13863
13864      else
13865        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** JPEG loader will not be built (JPEG header file not found) ***" >&5
13866$as_echo "$as_me: WARNING: *** JPEG loader will not be built (JPEG header file not found) ***" >&2;}
13867      fi
13868    fi
13869    CFLAGS=$save_cflags
13870    LIBS=$save_libs
13871  fi
13872
13873if test x$JPEG != x; then
13874  GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBJPEG"
13875
13876$as_echo "#define HAVE_LIBJPEG 1" >>confdefs.h
13877
13878else
13879  jpeg_ok="no (Get it from http://freshmeat.net/projects/libjpeg)"
13880fi
13881
13882
13883# Check whether --with-libtiff was given.
13884if test "${with_libtiff+set}" = set; then :
13885  withval=$with_libtiff; libtiff_prefix="$withval"
13886else
13887  libtiff_prefix="${prefix}"
13888fi
13889
13890
13891  if test x$with_libtiff != xno && test -z "$LIBTIFF"; then
13892    TIFF_CFLAGS="-I${libjpeg_prefix}/include -I${libtiff_prefix}/include"
13893    TIFF_LIBS="-L${libjpeg_prefix}/lib -L${libtiff_prefix}/lib"
13894    save_cflags=$CFLAGS; CFLAGS=$TIFF_CFLAGS
13895    save_libs=$LIBS; LIBS=$TIFF_LIBS
13896    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFReadScanline in -ltiff" >&5
13897$as_echo_n "checking for TIFFReadScanline in -ltiff... " >&6; }
13898if ${ac_cv_lib_tiff_TIFFReadScanline+:} false; then :
13899  $as_echo_n "(cached) " >&6
13900else
13901  ac_check_lib_save_LIBS=$LIBS
13902LIBS="-ltiff -lm $LIBS"
13903cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904/* end confdefs.h.  */
13905
13906/* Override any GCC internal prototype to avoid an error.
13907   Use char because int might match the return type of a GCC
13908   builtin and then its argument prototype would still apply.  */
13909#ifdef __cplusplus
13910extern "C"
13911#endif
13912char TIFFReadScanline ();
13913int
13914main ()
13915{
13916return TIFFReadScanline ();
13917  ;
13918  return 0;
13919}
13920_ACEOF
13921if ac_fn_c_try_link "$LINENO"; then :
13922  ac_cv_lib_tiff_TIFFReadScanline=yes
13923else
13924  ac_cv_lib_tiff_TIFFReadScanline=no
13925fi
13926rm -f core conftest.err conftest.$ac_objext \
13927    conftest$ac_exeext conftest.$ac_ext
13928LIBS=$ac_check_lib_save_LIBS
13929fi
13930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFReadScanline" >&5
13931$as_echo "$ac_cv_lib_tiff_TIFFReadScanline" >&6; }
13932if test "x$ac_cv_lib_tiff_TIFFReadScanline" = xyes; then :
13933  ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13934if test "x$ac_cv_header_tiffio_h" = xyes; then :
13935  TIFF='tiff'; LIBTIFF='-ltiff'; tiff_ok=yes
13936else
13937  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
13938$as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
13939fi
13940
13941
13942else
13943  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFWriteScanline in -ltiff" >&5
13944$as_echo_n "checking for TIFFWriteScanline in -ltiff... " >&6; }
13945if ${ac_cv_lib_tiff_TIFFWriteScanline+:} false; then :
13946  $as_echo_n "(cached) " >&6
13947else
13948  ac_check_lib_save_LIBS=$LIBS
13949LIBS="-ltiff -ljpeg -lz -lm $LIBS"
13950cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13951/* end confdefs.h.  */
13952
13953/* Override any GCC internal prototype to avoid an error.
13954   Use char because int might match the return type of a GCC
13955   builtin and then its argument prototype would still apply.  */
13956#ifdef __cplusplus
13957extern "C"
13958#endif
13959char TIFFWriteScanline ();
13960int
13961main ()
13962{
13963return TIFFWriteScanline ();
13964  ;
13965  return 0;
13966}
13967_ACEOF
13968if ac_fn_c_try_link "$LINENO"; then :
13969  ac_cv_lib_tiff_TIFFWriteScanline=yes
13970else
13971  ac_cv_lib_tiff_TIFFWriteScanline=no
13972fi
13973rm -f core conftest.err conftest.$ac_objext \
13974    conftest$ac_exeext conftest.$ac_ext
13975LIBS=$ac_check_lib_save_LIBS
13976fi
13977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFWriteScanline" >&5
13978$as_echo "$ac_cv_lib_tiff_TIFFWriteScanline" >&6; }
13979if test "x$ac_cv_lib_tiff_TIFFWriteScanline" = xyes; then :
13980  ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
13981if test "x$ac_cv_header_tiffio_h" = xyes; then :
13982  TIFF='tiff'; LIBTIFF='-ltiff -ljpeg -lz'; tiff_ok=yes
13983else
13984  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
13985$as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
13986fi
13987
13988
13989else
13990  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFFlushData in -ltiff34" >&5
13991$as_echo_n "checking for TIFFFlushData in -ltiff34... " >&6; }
13992if ${ac_cv_lib_tiff34_TIFFFlushData+:} false; then :
13993  $as_echo_n "(cached) " >&6
13994else
13995  ac_check_lib_save_LIBS=$LIBS
13996LIBS="-ltiff34 -lz -lm $LIBS"
13997cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13998/* end confdefs.h.  */
13999
14000/* Override any GCC internal prototype to avoid an error.
14001   Use char because int might match the return type of a GCC
14002   builtin and then its argument prototype would still apply.  */
14003#ifdef __cplusplus
14004extern "C"
14005#endif
14006char TIFFFlushData ();
14007int
14008main ()
14009{
14010return TIFFFlushData ();
14011  ;
14012  return 0;
14013}
14014_ACEOF
14015if ac_fn_c_try_link "$LINENO"; then :
14016  ac_cv_lib_tiff34_TIFFFlushData=yes
14017else
14018  ac_cv_lib_tiff34_TIFFFlushData=no
14019fi
14020rm -f core conftest.err conftest.$ac_objext \
14021    conftest$ac_exeext conftest.$ac_ext
14022LIBS=$ac_check_lib_save_LIBS
14023fi
14024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff34_TIFFFlushData" >&5
14025$as_echo "$ac_cv_lib_tiff34_TIFFFlushData" >&6; }
14026if test "x$ac_cv_lib_tiff34_TIFFFlushData" = xyes; then :
14027  ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14028if test "x$ac_cv_header_tiffio_h" = xyes; then :
14029  TIFF='tiff'; LIBTIFF='-ltiff34 -ljpeg -lz'; tiff_ok=yes
14030else
14031  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&5
14032$as_echo "$as_me: WARNING: *** TIFF loader will not be built (TIFF header files not found) ***" >&2;}
14033fi
14034
14035
14036else
14037  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** TIFF plug-in will not be built (TIFF library not found) ***" >&5
14038$as_echo "$as_me: WARNING: *** TIFF plug-in will not be built (TIFF library not found) ***" >&2;}
14039fi
14040
14041fi
14042
14043fi
14044
14045    CFLAGS=$save_cflags
14046    LIBS=$save_libs
14047  fi
14048
14049if test x$TIFF != x; then
14050  GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBTIFF"
14051
14052$as_echo "#define HAVE_LIBTIFF 1" >>confdefs.h
14053
14054else
14055  tiff_ok="no (Get it from http://www.libtiff.org/)"
14056fi
14057
14058
14059# Check whether --with-libgif was given.
14060if test "${with_libgif+set}" = set; then :
14061  withval=$with_libgif; libgif_prefix="$withval"
14062else
14063  libgif_prefix="${prefix}"
14064fi
14065
14066
14067  if test x$with_libgif != xno && test -z "$LIBGIF"; then
14068    GIF_CFLAGS="-I${libgif_prefix}/include"
14069    GIF_LIBS="-L${libgif_prefix}/lib"
14070    save_cflags=$CFLAGS; CFLAGS=$GIF_CFLAGS
14071    save_libs=$LIBS; LIBS=$GIF_LIBS
14072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lgif" >&5
14073$as_echo_n "checking for DGifOpenFileName in -lgif... " >&6; }
14074if ${ac_cv_lib_gif_DGifOpenFileName+:} false; then :
14075  $as_echo_n "(cached) " >&6
14076else
14077  ac_check_lib_save_LIBS=$LIBS
14078LIBS="-lgif  $LIBS"
14079cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14080/* end confdefs.h.  */
14081
14082/* Override any GCC internal prototype to avoid an error.
14083   Use char because int might match the return type of a GCC
14084   builtin and then its argument prototype would still apply.  */
14085#ifdef __cplusplus
14086extern "C"
14087#endif
14088char DGifOpenFileName ();
14089int
14090main ()
14091{
14092return DGifOpenFileName ();
14093  ;
14094  return 0;
14095}
14096_ACEOF
14097if ac_fn_c_try_link "$LINENO"; then :
14098  ac_cv_lib_gif_DGifOpenFileName=yes
14099else
14100  ac_cv_lib_gif_DGifOpenFileName=no
14101fi
14102rm -f core conftest.err conftest.$ac_objext \
14103    conftest$ac_exeext conftest.$ac_ext
14104LIBS=$ac_check_lib_save_LIBS
14105fi
14106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gif_DGifOpenFileName" >&5
14107$as_echo "$ac_cv_lib_gif_DGifOpenFileName" >&6; }
14108if test "x$ac_cv_lib_gif_DGifOpenFileName" = xyes; then :
14109  ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
14110if test "x$ac_cv_header_gif_lib_h" = xyes; then :
14111  GIF='gif'; LIBGIF='-lgif'; gif_ok=yes
14112else
14113  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** GIF loader will not be built (giflibrary not found) ***" >&5
14114$as_echo "$as_me: WARNING: *** GIF loader will not be built (giflibrary not found) ***" >&2;}
14115fi
14116
14117
14118else
14119  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** GIF loader will not be built (giflibrary not found) ***" >&5
14120$as_echo "$as_me: WARNING: *** GIF loader will not be built (giflibrary not found) ***" >&2;}
14121fi
14122
14123
14124    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DGifOpenFileName in -lungif" >&5
14125$as_echo_n "checking for DGifOpenFileName in -lungif... " >&6; }
14126if ${ac_cv_lib_ungif_DGifOpenFileName+:} false; then :
14127  $as_echo_n "(cached) " >&6
14128else
14129  ac_check_lib_save_LIBS=$LIBS
14130LIBS="-lungif  $LIBS"
14131cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14132/* end confdefs.h.  */
14133
14134/* Override any GCC internal prototype to avoid an error.
14135   Use char because int might match the return type of a GCC
14136   builtin and then its argument prototype would still apply.  */
14137#ifdef __cplusplus
14138extern "C"
14139#endif
14140char DGifOpenFileName ();
14141int
14142main ()
14143{
14144return DGifOpenFileName ();
14145  ;
14146  return 0;
14147}
14148_ACEOF
14149if ac_fn_c_try_link "$LINENO"; then :
14150  ac_cv_lib_ungif_DGifOpenFileName=yes
14151else
14152  ac_cv_lib_ungif_DGifOpenFileName=no
14153fi
14154rm -f core conftest.err conftest.$ac_objext \
14155    conftest$ac_exeext conftest.$ac_ext
14156LIBS=$ac_check_lib_save_LIBS
14157fi
14158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ungif_DGifOpenFileName" >&5
14159$as_echo "$ac_cv_lib_ungif_DGifOpenFileName" >&6; }
14160if test "x$ac_cv_lib_ungif_DGifOpenFileName" = xyes; then :
14161  ac_fn_c_check_header_mongrel "$LINENO" "gif_lib.h" "ac_cv_header_gif_lib_h" "$ac_includes_default"
14162if test "x$ac_cv_header_gif_lib_h" = xyes; then :
14163  GIF='ungif'; LIBGIF='-lungif'; gif_ok=yes
14164else
14165  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** GIF loader will not be built (ungiflibrary not found) ***" >&5
14166$as_echo "$as_me: WARNING: *** GIF loader will not be built (ungiflibrary not found) ***" >&2;}
14167fi
14168
14169
14170else
14171  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** GIF loader will not be built (ungiflibrary not found) ***" >&5
14172$as_echo "$as_me: WARNING: *** GIF loader will not be built (ungiflibrary not found) ***" >&2;}
14173fi
14174
14175    CFLAGS=$save_cflags
14176    LIBS=$save_libs
14177  fi
14178
14179if test x$GIF != x; then
14180  GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBGIF"
14181
14182$as_echo "#define HAVE_LIBGIF 1" >>confdefs.h
14183
14184else
14185  gif_ok="no (See http://sourceforge.net/projects/libgif)"
14186fi
14187
14188    libpng_found=no
14189
14190    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng16" >&5
14191$as_echo_n "checking for libpng16... " >&6; }
14192    if test "x$no_libpng16" != "x"; then
14193      { $as_echo "$as_me:${as_lineno-$LINENO}: result: skipped" >&5
14194$as_echo "skipped" >&6; }
14195    elif $PKG_CONFIG --exists libpng16 ; then
14196      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14197$as_echo "yes" >&6; }
14198      PNG='png'
14199      PNG_DEP_CFLAGS_PACKAGES=libpng16
14200      LIBPNG=`$PKG_CONFIG --libs libpng16`
14201      libpng_found=yes
14202    else
14203      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14204$as_echo "no" >&6; }
14205    fi
14206
14207    if test "x$libpng_found" != "xyes"; then
14208      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng14" >&5
14209$as_echo_n "checking for libpng14... " >&6; }
14210      if $PKG_CONFIG --exists libpng14 ; then
14211        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14212$as_echo "yes" >&6; }
14213        PNG='png'
14214        PNG_DEP_CFLAGS_PACKAGES=libpng14
14215        LIBPNG=`$PKG_CONFIG --libs libpng14`
14216        libpng_found=yes
14217      else
14218        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14219$as_echo "no" >&6; }
14220      fi
14221    fi
14222
14223    if test "x$libpng_found" != "xyes"; then
14224      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libpng12" >&5
14225$as_echo_n "checking for libpng12... " >&6; }
14226      if $PKG_CONFIG --exists libpng12 ; then
14227        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14228$as_echo "yes" >&6; }
14229        PNG='png'
14230        PNG_DEP_CFLAGS_PACKAGES=libpng12
14231        LIBPNG=`$PKG_CONFIG --libs libpng12`
14232        libpng_found=yes
14233      else
14234        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14235$as_echo "no" >&6; }
14236      fi
14237    fi
14238
14239    if test "x$libpng_found" != "xyes"; then
14240      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png" >&5
14241$as_echo_n "checking for png... " >&6; }
14242      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_read_info in -lpng" >&5
14243$as_echo_n "checking for png_read_info in -lpng... " >&6; }
14244if ${ac_cv_lib_png_png_read_info+:} false; then :
14245  $as_echo_n "(cached) " >&6
14246else
14247  ac_check_lib_save_LIBS=$LIBS
14248LIBS="-lpng -lz -lm $LIBS"
14249cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14250/* end confdefs.h.  */
14251
14252/* Override any GCC internal prototype to avoid an error.
14253   Use char because int might match the return type of a GCC
14254   builtin and then its argument prototype would still apply.  */
14255#ifdef __cplusplus
14256extern "C"
14257#endif
14258char png_read_info ();
14259int
14260main ()
14261{
14262return png_read_info ();
14263  ;
14264  return 0;
14265}
14266_ACEOF
14267if ac_fn_c_try_link "$LINENO"; then :
14268  ac_cv_lib_png_png_read_info=yes
14269else
14270  ac_cv_lib_png_png_read_info=no
14271fi
14272rm -f core conftest.err conftest.$ac_objext \
14273    conftest$ac_exeext conftest.$ac_ext
14274LIBS=$ac_check_lib_save_LIBS
14275fi
14276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_read_info" >&5
14277$as_echo "$ac_cv_lib_png_png_read_info" >&6; }
14278if test "x$ac_cv_lib_png_png_read_info" = xyes; then :
14279  ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
14280if test "x$ac_cv_header_png_h" = xyes; then :
14281  png_ok=yes
14282else
14283  png_ok=no
14284fi
14285
14286
14287else
14288  as_fn_error $? "*** libpng12 not found. See http://www.libpng.org/pub/png/libpng.html." "$LINENO" 5
14289fi
14290
14291      if test "$png_ok" = yes; then
14292        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_structp in png.h" >&5
14293$as_echo_n "checking for png_structp in png.h... " >&6; }
14294        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295/* end confdefs.h.  */
14296#include <png.h>
14297int
14298main ()
14299{
14300png_structp pp; png_infop info; png_colorp cmap; png_create_read_struct;
14301  ;
14302  return 0;
14303}
14304_ACEOF
14305if ac_fn_c_try_compile "$LINENO"; then :
14306  png_ok=yes
14307else
14308  png_ok=no
14309fi
14310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14311        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $png_ok" >&5
14312$as_echo "$png_ok" >&6; }
14313        if test "$png_ok" = yes; then
14314          PNG='png'; LIBPNG='-lpng -lz'
14315        else
14316          as_fn_error but it is too old. See http://www.libpng.org/pub/png/libpng.html. "*** libpng12 found" "$LINENO" 5
14317        fi
14318      else
14319          as_fn_error $? "*** libpng12 not found. See http://www.libpng.org/pub/png/libpng.html." "$LINENO" 5
14320      fi
14321    fi
14322
14323
14324GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBPNG"
14325
14326$as_echo "#define HAVE_LIBPNG 1" >>confdefs.h
14327
14328
14329
14330
14331# Check whether --with-x11 was given.
14332if test "${with_x11+set}" = set; then :
14333  withval=$with_x11; disable_x11=yes
14334fi
14335
14336
14337if test x$disable_x11 != xyes; then
14338  { $as_echo "$as_me:${as_lineno-$LINENO}: checking X11 support" >&5
14339$as_echo_n "checking X11 support... " >&6; }
14340  if $PKG_CONFIG --exists x11 ; then
14341    GDIPLUS_LIBS="$GDIPLUS_LIBS `$PKG_CONFIG --libs x11`"
14342    GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS `$PKG_CONFIG --cflags x11`"
14343    x11_available=yes
14344  else
14345    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14346/* end confdefs.h.  */
14347#include <X11/Xlib.h>
14348int
14349main ()
14350{
14351
14352  ;
14353  return 0;
14354}
14355_ACEOF
14356if ac_fn_c_try_compile "$LINENO"; then :
14357  x11_available=yes
14358else
14359  x11_available=no
14360fi
14361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14362  fi
14363
14364  if test "x$x11_available" != "xyes"; then
14365    as_fn_error $? " Failed to compile with X11/Xlib.h include. You must fix your compiler paths " "$LINENO" 5
14366  else
14367    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14368$as_echo "yes" >&6; }
14369  fi
14370else
14371  x11_available=no
14372fi
14373
14374if test x$x11_available = xyes; then
14375
14376$as_echo "#define HAVE_X11 1" >>confdefs.h
14377
14378fi
14379 if test x$x11_available = xyes; then
14380  HAVE_X11_TRUE=
14381  HAVE_X11_FALSE='#'
14382else
14383  HAVE_X11_TRUE='#'
14384  HAVE_X11_FALSE=
14385fi
14386
14387
14388if test x$with_libexif != xno && test -z "$LIBEXIF"; then
14389
14390pkg_failed=no
14391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBEXIF" >&5
14392$as_echo_n "checking for LIBEXIF... " >&6; }
14393
14394if test -n "$LIBEXIF_CFLAGS"; then
14395    pkg_cv_LIBEXIF_CFLAGS="$LIBEXIF_CFLAGS"
14396 elif test -n "$PKG_CONFIG"; then
14397    if test -n "$PKG_CONFIG" && \
14398    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
14399  ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
14400  ac_status=$?
14401  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14402  test $ac_status = 0; }; then
14403  pkg_cv_LIBEXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif" 2>/dev/null`
14404		      test "x$?" != "x0" && pkg_failed=yes
14405else
14406  pkg_failed=yes
14407fi
14408 else
14409    pkg_failed=untried
14410fi
14411if test -n "$LIBEXIF_LIBS"; then
14412    pkg_cv_LIBEXIF_LIBS="$LIBEXIF_LIBS"
14413 elif test -n "$PKG_CONFIG"; then
14414    if test -n "$PKG_CONFIG" && \
14415    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif\""; } >&5
14416  ($PKG_CONFIG --exists --print-errors "libexif") 2>&5
14417  ac_status=$?
14418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14419  test $ac_status = 0; }; then
14420  pkg_cv_LIBEXIF_LIBS=`$PKG_CONFIG --libs "libexif" 2>/dev/null`
14421		      test "x$?" != "x0" && pkg_failed=yes
14422else
14423  pkg_failed=yes
14424fi
14425 else
14426    pkg_failed=untried
14427fi
14428
14429
14430
14431if test $pkg_failed = yes; then
14432   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14433$as_echo "no" >&6; }
14434
14435if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14436        _pkg_short_errors_supported=yes
14437else
14438        _pkg_short_errors_supported=no
14439fi
14440        if test $_pkg_short_errors_supported = yes; then
14441	        LIBEXIF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libexif" 2>&1`
14442        else
14443	        LIBEXIF_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libexif" 2>&1`
14444        fi
14445	# Put the nasty error message in config.log where it belongs
14446	echo "$LIBEXIF_PKG_ERRORS" >&5
14447
14448	libexif_pkgconfig=no]
14449elif test $pkg_failed = untried; then
14450     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14451$as_echo "no" >&6; }
14452	libexif_pkgconfig=no]
14453else
14454	LIBEXIF_CFLAGS=$pkg_cv_LIBEXIF_CFLAGS
14455	LIBEXIF_LIBS=$pkg_cv_LIBEXIF_LIBS
14456        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14457$as_echo "yes" >&6; }
14458	libexif_pkgconfig=yes
14459fi
14460  if test x$libexif_pkgconfig = xyes ; then
14461	GDIPLUS_CFLAGS="$GDIPLUS_CFLAGS $LIBEXIF_CFLAGS"
14462	GDIPLUS_LIBS="$GDIPLUS_LIBS $LIBEXIF_LIBS"
14463
14464$as_echo "#define HAVE_LIBEXIF 1" >>confdefs.h
14465
14466  else
14467	libexif_pkgconfig="No. Get it from http://libexif.sourceforge.net/"
14468  fi
14469else
14470	libexif_pkgconfig="No. You disabled it."
14471fi
14472 if test x$libexif_pkgconfig = xyes; then
14473  HAVE_LIBEXIF_TRUE=
14474  HAVE_LIBEXIF_FALSE='#'
14475else
14476  HAVE_LIBEXIF_TRUE='#'
14477  HAVE_LIBEXIF_FALSE=
14478fi
14479
14480
14481GDIPLUS_PKG_LIBS="$GDIPLUS_LIBS"
14482GDIPLUS_PKG_CFLAGS="$GDIPLUS_CFLAGS"
14483
14484
14485
14486
14487
14488
14489
14490ac_config_files="$ac_config_files Makefile libgdiplus.pc libgdiplus0.spec src/Makefile tests/Makefile"
14491
14492cat >confcache <<\_ACEOF
14493# This file is a shell script that caches the results of configure
14494# tests run on this system so they can be shared between configure
14495# scripts and configure runs, see configure's option --config-cache.
14496# It is not useful on other systems.  If it contains results you don't
14497# want to keep, you may remove or edit it.
14498#
14499# config.status only pays attention to the cache file if you give it
14500# the --recheck option to rerun configure.
14501#
14502# `ac_cv_env_foo' variables (set or unset) will be overridden when
14503# loading this file, other *unset* `ac_cv_foo' will be assigned the
14504# following values.
14505
14506_ACEOF
14507
14508# The following way of writing the cache mishandles newlines in values,
14509# but we know of no workaround that is simple, portable, and efficient.
14510# So, we kill variables containing newlines.
14511# Ultrix sh set writes to stderr and can't be redirected directly,
14512# and sets the high bit in the cache file unless we assign to the vars.
14513(
14514  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14515    eval ac_val=\$$ac_var
14516    case $ac_val in #(
14517    *${as_nl}*)
14518      case $ac_var in #(
14519      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14520$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14521      esac
14522      case $ac_var in #(
14523      _ | IFS | as_nl) ;; #(
14524      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14525      *) { eval $ac_var=; unset $ac_var;} ;;
14526      esac ;;
14527    esac
14528  done
14529
14530  (set) 2>&1 |
14531    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14532    *${as_nl}ac_space=\ *)
14533      # `set' does not quote correctly, so add quotes: double-quote
14534      # substitution turns \\\\ into \\, and sed turns \\ into \.
14535      sed -n \
14536	"s/'/'\\\\''/g;
14537	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14538      ;; #(
14539    *)
14540      # `set' quotes correctly as required by POSIX, so do not add quotes.
14541      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14542      ;;
14543    esac |
14544    sort
14545) |
14546  sed '
14547     /^ac_cv_env_/b end
14548     t clear
14549     :clear
14550     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14551     t end
14552     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14553     :end' >>confcache
14554if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14555  if test -w "$cache_file"; then
14556    if test "x$cache_file" != "x/dev/null"; then
14557      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14558$as_echo "$as_me: updating cache $cache_file" >&6;}
14559      if test ! -f "$cache_file" || test -h "$cache_file"; then
14560	cat confcache >"$cache_file"
14561      else
14562        case $cache_file in #(
14563        */* | ?:*)
14564	  mv -f confcache "$cache_file"$$ &&
14565	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14566        *)
14567	  mv -f confcache "$cache_file" ;;
14568	esac
14569      fi
14570    fi
14571  else
14572    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14573$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14574  fi
14575fi
14576rm -f confcache
14577
14578test "x$prefix" = xNONE && prefix=$ac_default_prefix
14579# Let make expand exec_prefix.
14580test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14581
14582DEFS=-DHAVE_CONFIG_H
14583
14584ac_libobjs=
14585ac_ltlibobjs=
14586U=
14587for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14588  # 1. Remove the extension, and $U if already installed.
14589  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14590  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14591  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14592  #    will be set to the directory where LIBOBJS objects are built.
14593  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14594  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14595done
14596LIBOBJS=$ac_libobjs
14597
14598LTLIBOBJS=$ac_ltlibobjs
14599
14600
14601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14602$as_echo_n "checking that generated files are newer than configure... " >&6; }
14603   if test -n "$am_sleep_pid"; then
14604     # Hide warnings about reused PIDs.
14605     wait $am_sleep_pid 2>/dev/null
14606   fi
14607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14608$as_echo "done" >&6; }
14609 if test -n "$EXEEXT"; then
14610  am__EXEEXT_TRUE=
14611  am__EXEEXT_FALSE='#'
14612else
14613  am__EXEEXT_TRUE='#'
14614  am__EXEEXT_FALSE=
14615fi
14616
14617if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14618  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14619Usually this means the macro was only invoked conditionally." "$LINENO" 5
14620fi
14621if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14622  as_fn_error $? "conditional \"AMDEP\" was never defined.
14623Usually this means the macro was only invoked conditionally." "$LINENO" 5
14624fi
14625if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14626  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14627Usually this means the macro was only invoked conditionally." "$LINENO" 5
14628fi
14629
14630if test -z "${USE_PANGO_RENDERING_TRUE}" && test -z "${USE_PANGO_RENDERING_FALSE}"; then
14631  as_fn_error $? "conditional \"USE_PANGO_RENDERING\" was never defined.
14632Usually this means the macro was only invoked conditionally." "$LINENO" 5
14633fi
14634if test -z "${HAVE_X11_TRUE}" && test -z "${HAVE_X11_FALSE}"; then
14635  as_fn_error $? "conditional \"HAVE_X11\" was never defined.
14636Usually this means the macro was only invoked conditionally." "$LINENO" 5
14637fi
14638if test -z "${HAVE_LIBEXIF_TRUE}" && test -z "${HAVE_LIBEXIF_FALSE}"; then
14639  as_fn_error $? "conditional \"HAVE_LIBEXIF\" was never defined.
14640Usually this means the macro was only invoked conditionally." "$LINENO" 5
14641fi
14642
14643: "${CONFIG_STATUS=./config.status}"
14644ac_write_fail=0
14645ac_clean_files_save=$ac_clean_files
14646ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14647{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14648$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14649as_write_fail=0
14650cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14651#! $SHELL
14652# Generated by $as_me.
14653# Run this file to recreate the current configuration.
14654# Compiler output produced by configure, useful for debugging
14655# configure, is in config.log if it exists.
14656
14657debug=false
14658ac_cs_recheck=false
14659ac_cs_silent=false
14660
14661SHELL=\${CONFIG_SHELL-$SHELL}
14662export SHELL
14663_ASEOF
14664cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14665## -------------------- ##
14666## M4sh Initialization. ##
14667## -------------------- ##
14668
14669# Be more Bourne compatible
14670DUALCASE=1; export DUALCASE # for MKS sh
14671if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14672  emulate sh
14673  NULLCMD=:
14674  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14675  # is contrary to our usage.  Disable this feature.
14676  alias -g '${1+"$@"}'='"$@"'
14677  setopt NO_GLOB_SUBST
14678else
14679  case `(set -o) 2>/dev/null` in #(
14680  *posix*) :
14681    set -o posix ;; #(
14682  *) :
14683     ;;
14684esac
14685fi
14686
14687
14688as_nl='
14689'
14690export as_nl
14691# Printing a long string crashes Solaris 7 /usr/bin/printf.
14692as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14693as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14694as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14695# Prefer a ksh shell builtin over an external printf program on Solaris,
14696# but without wasting forks for bash or zsh.
14697if test -z "$BASH_VERSION$ZSH_VERSION" \
14698    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14699  as_echo='print -r --'
14700  as_echo_n='print -rn --'
14701elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14702  as_echo='printf %s\n'
14703  as_echo_n='printf %s'
14704else
14705  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14706    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14707    as_echo_n='/usr/ucb/echo -n'
14708  else
14709    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14710    as_echo_n_body='eval
14711      arg=$1;
14712      case $arg in #(
14713      *"$as_nl"*)
14714	expr "X$arg" : "X\\(.*\\)$as_nl";
14715	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14716      esac;
14717      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14718    '
14719    export as_echo_n_body
14720    as_echo_n='sh -c $as_echo_n_body as_echo'
14721  fi
14722  export as_echo_body
14723  as_echo='sh -c $as_echo_body as_echo'
14724fi
14725
14726# The user is always right.
14727if test "${PATH_SEPARATOR+set}" != set; then
14728  PATH_SEPARATOR=:
14729  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14730    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14731      PATH_SEPARATOR=';'
14732  }
14733fi
14734
14735
14736# IFS
14737# We need space, tab and new line, in precisely that order.  Quoting is
14738# there to prevent editors from complaining about space-tab.
14739# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14740# splitting by setting IFS to empty value.)
14741IFS=" ""	$as_nl"
14742
14743# Find who we are.  Look in the path if we contain no directory separator.
14744as_myself=
14745case $0 in #((
14746  *[\\/]* ) as_myself=$0 ;;
14747  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14748for as_dir in $PATH
14749do
14750  IFS=$as_save_IFS
14751  test -z "$as_dir" && as_dir=.
14752    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14753  done
14754IFS=$as_save_IFS
14755
14756     ;;
14757esac
14758# We did not find ourselves, most probably we were run as `sh COMMAND'
14759# in which case we are not to be found in the path.
14760if test "x$as_myself" = x; then
14761  as_myself=$0
14762fi
14763if test ! -f "$as_myself"; then
14764  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14765  exit 1
14766fi
14767
14768# Unset variables that we do not need and which cause bugs (e.g. in
14769# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14770# suppresses any "Segmentation fault" message there.  '((' could
14771# trigger a bug in pdksh 5.2.14.
14772for as_var in BASH_ENV ENV MAIL MAILPATH
14773do eval test x\${$as_var+set} = xset \
14774  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14775done
14776PS1='$ '
14777PS2='> '
14778PS4='+ '
14779
14780# NLS nuisances.
14781LC_ALL=C
14782export LC_ALL
14783LANGUAGE=C
14784export LANGUAGE
14785
14786# CDPATH.
14787(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14788
14789
14790# as_fn_error STATUS ERROR [LINENO LOG_FD]
14791# ----------------------------------------
14792# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14793# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14794# script with STATUS, using 1 if that was 0.
14795as_fn_error ()
14796{
14797  as_status=$1; test $as_status -eq 0 && as_status=1
14798  if test "$4"; then
14799    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14800    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14801  fi
14802  $as_echo "$as_me: error: $2" >&2
14803  as_fn_exit $as_status
14804} # as_fn_error
14805
14806
14807# as_fn_set_status STATUS
14808# -----------------------
14809# Set $? to STATUS, without forking.
14810as_fn_set_status ()
14811{
14812  return $1
14813} # as_fn_set_status
14814
14815# as_fn_exit STATUS
14816# -----------------
14817# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14818as_fn_exit ()
14819{
14820  set +e
14821  as_fn_set_status $1
14822  exit $1
14823} # as_fn_exit
14824
14825# as_fn_unset VAR
14826# ---------------
14827# Portably unset VAR.
14828as_fn_unset ()
14829{
14830  { eval $1=; unset $1;}
14831}
14832as_unset=as_fn_unset
14833# as_fn_append VAR VALUE
14834# ----------------------
14835# Append the text in VALUE to the end of the definition contained in VAR. Take
14836# advantage of any shell optimizations that allow amortized linear growth over
14837# repeated appends, instead of the typical quadratic growth present in naive
14838# implementations.
14839if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14840  eval 'as_fn_append ()
14841  {
14842    eval $1+=\$2
14843  }'
14844else
14845  as_fn_append ()
14846  {
14847    eval $1=\$$1\$2
14848  }
14849fi # as_fn_append
14850
14851# as_fn_arith ARG...
14852# ------------------
14853# Perform arithmetic evaluation on the ARGs, and store the result in the
14854# global $as_val. Take advantage of shells that can avoid forks. The arguments
14855# must be portable across $(()) and expr.
14856if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14857  eval 'as_fn_arith ()
14858  {
14859    as_val=$(( $* ))
14860  }'
14861else
14862  as_fn_arith ()
14863  {
14864    as_val=`expr "$@" || test $? -eq 1`
14865  }
14866fi # as_fn_arith
14867
14868
14869if expr a : '\(a\)' >/dev/null 2>&1 &&
14870   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14871  as_expr=expr
14872else
14873  as_expr=false
14874fi
14875
14876if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14877  as_basename=basename
14878else
14879  as_basename=false
14880fi
14881
14882if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14883  as_dirname=dirname
14884else
14885  as_dirname=false
14886fi
14887
14888as_me=`$as_basename -- "$0" ||
14889$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14890	 X"$0" : 'X\(//\)$' \| \
14891	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14892$as_echo X/"$0" |
14893    sed '/^.*\/\([^/][^/]*\)\/*$/{
14894	    s//\1/
14895	    q
14896	  }
14897	  /^X\/\(\/\/\)$/{
14898	    s//\1/
14899	    q
14900	  }
14901	  /^X\/\(\/\).*/{
14902	    s//\1/
14903	    q
14904	  }
14905	  s/.*/./; q'`
14906
14907# Avoid depending upon Character Ranges.
14908as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14909as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14910as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14911as_cr_digits='0123456789'
14912as_cr_alnum=$as_cr_Letters$as_cr_digits
14913
14914ECHO_C= ECHO_N= ECHO_T=
14915case `echo -n x` in #(((((
14916-n*)
14917  case `echo 'xy\c'` in
14918  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14919  xy)  ECHO_C='\c';;
14920  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14921       ECHO_T='	';;
14922  esac;;
14923*)
14924  ECHO_N='-n';;
14925esac
14926
14927rm -f conf$$ conf$$.exe conf$$.file
14928if test -d conf$$.dir; then
14929  rm -f conf$$.dir/conf$$.file
14930else
14931  rm -f conf$$.dir
14932  mkdir conf$$.dir 2>/dev/null
14933fi
14934if (echo >conf$$.file) 2>/dev/null; then
14935  if ln -s conf$$.file conf$$ 2>/dev/null; then
14936    as_ln_s='ln -s'
14937    # ... but there are two gotchas:
14938    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14939    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14940    # In both cases, we have to default to `cp -pR'.
14941    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14942      as_ln_s='cp -pR'
14943  elif ln conf$$.file conf$$ 2>/dev/null; then
14944    as_ln_s=ln
14945  else
14946    as_ln_s='cp -pR'
14947  fi
14948else
14949  as_ln_s='cp -pR'
14950fi
14951rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14952rmdir conf$$.dir 2>/dev/null
14953
14954
14955# as_fn_mkdir_p
14956# -------------
14957# Create "$as_dir" as a directory, including parents if necessary.
14958as_fn_mkdir_p ()
14959{
14960
14961  case $as_dir in #(
14962  -*) as_dir=./$as_dir;;
14963  esac
14964  test -d "$as_dir" || eval $as_mkdir_p || {
14965    as_dirs=
14966    while :; do
14967      case $as_dir in #(
14968      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14969      *) as_qdir=$as_dir;;
14970      esac
14971      as_dirs="'$as_qdir' $as_dirs"
14972      as_dir=`$as_dirname -- "$as_dir" ||
14973$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14974	 X"$as_dir" : 'X\(//\)[^/]' \| \
14975	 X"$as_dir" : 'X\(//\)$' \| \
14976	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14977$as_echo X"$as_dir" |
14978    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14979	    s//\1/
14980	    q
14981	  }
14982	  /^X\(\/\/\)[^/].*/{
14983	    s//\1/
14984	    q
14985	  }
14986	  /^X\(\/\/\)$/{
14987	    s//\1/
14988	    q
14989	  }
14990	  /^X\(\/\).*/{
14991	    s//\1/
14992	    q
14993	  }
14994	  s/.*/./; q'`
14995      test -d "$as_dir" && break
14996    done
14997    test -z "$as_dirs" || eval "mkdir $as_dirs"
14998  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14999
15000
15001} # as_fn_mkdir_p
15002if mkdir -p . 2>/dev/null; then
15003  as_mkdir_p='mkdir -p "$as_dir"'
15004else
15005  test -d ./-p && rmdir ./-p
15006  as_mkdir_p=false
15007fi
15008
15009
15010# as_fn_executable_p FILE
15011# -----------------------
15012# Test if FILE is an executable regular file.
15013as_fn_executable_p ()
15014{
15015  test -f "$1" && test -x "$1"
15016} # as_fn_executable_p
15017as_test_x='test -x'
15018as_executable_p=as_fn_executable_p
15019
15020# Sed expression to map a string onto a valid CPP name.
15021as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15022
15023# Sed expression to map a string onto a valid variable name.
15024as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15025
15026
15027exec 6>&1
15028## ----------------------------------- ##
15029## Main body of $CONFIG_STATUS script. ##
15030## ----------------------------------- ##
15031_ASEOF
15032test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15033
15034cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15035# Save the log message, to keep $0 and so on meaningful, and to
15036# report actual input values of CONFIG_FILES etc. instead of their
15037# values after options handling.
15038ac_log="
15039This file was extended by libgdiplus $as_me 6.0.4, which was
15040generated by GNU Autoconf 2.69.  Invocation command line was
15041
15042  CONFIG_FILES    = $CONFIG_FILES
15043  CONFIG_HEADERS  = $CONFIG_HEADERS
15044  CONFIG_LINKS    = $CONFIG_LINKS
15045  CONFIG_COMMANDS = $CONFIG_COMMANDS
15046  $ $0 $@
15047
15048on `(hostname || uname -n) 2>/dev/null | sed 1q`
15049"
15050
15051_ACEOF
15052
15053case $ac_config_files in *"
15054"*) set x $ac_config_files; shift; ac_config_files=$*;;
15055esac
15056
15057case $ac_config_headers in *"
15058"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
15059esac
15060
15061
15062cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15063# Files that config.status was made for.
15064config_files="$ac_config_files"
15065config_headers="$ac_config_headers"
15066config_commands="$ac_config_commands"
15067
15068_ACEOF
15069
15070cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15071ac_cs_usage="\
15072\`$as_me' instantiates files and other configuration actions
15073from templates according to the current configuration.  Unless the files
15074and actions are specified as TAGs, all are instantiated by default.
15075
15076Usage: $0 [OPTION]... [TAG]...
15077
15078  -h, --help       print this help, then exit
15079  -V, --version    print version number and configuration settings, then exit
15080      --config     print configuration, then exit
15081  -q, --quiet, --silent
15082                   do not print progress messages
15083  -d, --debug      don't remove temporary files
15084      --recheck    update $as_me by reconfiguring in the same conditions
15085      --file=FILE[:TEMPLATE]
15086                   instantiate the configuration file FILE
15087      --header=FILE[:TEMPLATE]
15088                   instantiate the configuration header FILE
15089
15090Configuration files:
15091$config_files
15092
15093Configuration headers:
15094$config_headers
15095
15096Configuration commands:
15097$config_commands
15098
15099Report bugs to <https://github.com/mono/mono/issues/new>."
15100
15101_ACEOF
15102cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15103ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15104ac_cs_version="\\
15105libgdiplus config.status 6.0.4
15106configured by $0, generated by GNU Autoconf 2.69,
15107  with options \\"\$ac_cs_config\\"
15108
15109Copyright (C) 2012 Free Software Foundation, Inc.
15110This config.status script is free software; the Free Software Foundation
15111gives unlimited permission to copy, distribute and modify it."
15112
15113ac_pwd='$ac_pwd'
15114srcdir='$srcdir'
15115INSTALL='$INSTALL'
15116MKDIR_P='$MKDIR_P'
15117AWK='$AWK'
15118test -n "\$AWK" || AWK=awk
15119_ACEOF
15120
15121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15122# The default lists apply if the user does not specify any file.
15123ac_need_defaults=:
15124while test $# != 0
15125do
15126  case $1 in
15127  --*=?*)
15128    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15129    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15130    ac_shift=:
15131    ;;
15132  --*=)
15133    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15134    ac_optarg=
15135    ac_shift=:
15136    ;;
15137  *)
15138    ac_option=$1
15139    ac_optarg=$2
15140    ac_shift=shift
15141    ;;
15142  esac
15143
15144  case $ac_option in
15145  # Handling of the options.
15146  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15147    ac_cs_recheck=: ;;
15148  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15149    $as_echo "$ac_cs_version"; exit ;;
15150  --config | --confi | --conf | --con | --co | --c )
15151    $as_echo "$ac_cs_config"; exit ;;
15152  --debug | --debu | --deb | --de | --d | -d )
15153    debug=: ;;
15154  --file | --fil | --fi | --f )
15155    $ac_shift
15156    case $ac_optarg in
15157    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15158    '') as_fn_error $? "missing file argument" ;;
15159    esac
15160    as_fn_append CONFIG_FILES " '$ac_optarg'"
15161    ac_need_defaults=false;;
15162  --header | --heade | --head | --hea )
15163    $ac_shift
15164    case $ac_optarg in
15165    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15166    esac
15167    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
15168    ac_need_defaults=false;;
15169  --he | --h)
15170    # Conflict between --help and --header
15171    as_fn_error $? "ambiguous option: \`$1'
15172Try \`$0 --help' for more information.";;
15173  --help | --hel | -h )
15174    $as_echo "$ac_cs_usage"; exit ;;
15175  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15176  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15177    ac_cs_silent=: ;;
15178
15179  # This is an error.
15180  -*) as_fn_error $? "unrecognized option: \`$1'
15181Try \`$0 --help' for more information." ;;
15182
15183  *) as_fn_append ac_config_targets " $1"
15184     ac_need_defaults=false ;;
15185
15186  esac
15187  shift
15188done
15189
15190ac_configure_extra_args=
15191
15192if $ac_cs_silent; then
15193  exec 6>/dev/null
15194  ac_configure_extra_args="$ac_configure_extra_args --silent"
15195fi
15196
15197_ACEOF
15198cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15199if \$ac_cs_recheck; then
15200  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15201  shift
15202  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15203  CONFIG_SHELL='$SHELL'
15204  export CONFIG_SHELL
15205  exec "\$@"
15206fi
15207
15208_ACEOF
15209cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15210exec 5>>config.log
15211{
15212  echo
15213  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15214## Running $as_me. ##
15215_ASBOX
15216  $as_echo "$ac_log"
15217} >&5
15218
15219_ACEOF
15220cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15221#
15222# INIT-COMMANDS
15223#
15224AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
15225
15226
15227# The HP-UX ksh and POSIX shell print the target directory to stdout
15228# if CDPATH is set.
15229(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15230
15231sed_quote_subst='$sed_quote_subst'
15232double_quote_subst='$double_quote_subst'
15233delay_variable_subst='$delay_variable_subst'
15234macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15235macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15236enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15237enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15238pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15239enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15240shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15241SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15242ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15243PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15244host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15245host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15246host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15247build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15248build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15249build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15250SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15251Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15252GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15253EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15254FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15255LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15256NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15257LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15258max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15259ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15260exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15261lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15262lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15263lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15264lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15265lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15266reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15267reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15268OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15269deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15270file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15271file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15272want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15273DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15274sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15275AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15276AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15277archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15278STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15279RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15280old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15281old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15282old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15283lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15284CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15285CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15286compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15287GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15288lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15289lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15290lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15291lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15292lt_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"`'
15293lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15294nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15295lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15296lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15297objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15298MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15299lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15300lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15301lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15302lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15303lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15304need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15305MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15306DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15307NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15308LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15309OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15310OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15311libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15312shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15313extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15314archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15315enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15316export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15317whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15318compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15319old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15320old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15321archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15322archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15323module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15324module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15325with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15326allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15327no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15328hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15329hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15330hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15331hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15332hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15333hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15334hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15335inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15336link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15337always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15338export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15339exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15340include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15341prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15342postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15343file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15344variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15345need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15346need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15347version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15348runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15349shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15350shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15351libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15352library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15353soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15354install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15355postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15356postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15357finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15358finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15359hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15360sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15361configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15362configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15363hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15364enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15365enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15366enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15367old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15368striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15369
15370LTCC='$LTCC'
15371LTCFLAGS='$LTCFLAGS'
15372compiler='$compiler_DEFAULT'
15373
15374# A function that is used when there is no print builtin or printf.
15375func_fallback_echo ()
15376{
15377  eval 'cat <<_LTECHO_EOF
15378\$1
15379_LTECHO_EOF'
15380}
15381
15382# Quote evaled strings.
15383for var in SHELL \
15384ECHO \
15385PATH_SEPARATOR \
15386SED \
15387GREP \
15388EGREP \
15389FGREP \
15390LD \
15391NM \
15392LN_S \
15393lt_SP2NL \
15394lt_NL2SP \
15395reload_flag \
15396OBJDUMP \
15397deplibs_check_method \
15398file_magic_cmd \
15399file_magic_glob \
15400want_nocaseglob \
15401DLLTOOL \
15402sharedlib_from_linklib_cmd \
15403AR \
15404AR_FLAGS \
15405archiver_list_spec \
15406STRIP \
15407RANLIB \
15408CC \
15409CFLAGS \
15410compiler \
15411lt_cv_sys_global_symbol_pipe \
15412lt_cv_sys_global_symbol_to_cdecl \
15413lt_cv_sys_global_symbol_to_import \
15414lt_cv_sys_global_symbol_to_c_name_address \
15415lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15416lt_cv_nm_interface \
15417nm_file_list_spec \
15418lt_cv_truncate_bin \
15419lt_prog_compiler_no_builtin_flag \
15420lt_prog_compiler_pic \
15421lt_prog_compiler_wl \
15422lt_prog_compiler_static \
15423lt_cv_prog_compiler_c_o \
15424need_locks \
15425MANIFEST_TOOL \
15426DSYMUTIL \
15427NMEDIT \
15428LIPO \
15429OTOOL \
15430OTOOL64 \
15431shrext_cmds \
15432export_dynamic_flag_spec \
15433whole_archive_flag_spec \
15434compiler_needs_object \
15435with_gnu_ld \
15436allow_undefined_flag \
15437no_undefined_flag \
15438hardcode_libdir_flag_spec \
15439hardcode_libdir_separator \
15440exclude_expsyms \
15441include_expsyms \
15442file_list_spec \
15443variables_saved_for_relink \
15444libname_spec \
15445library_names_spec \
15446soname_spec \
15447install_override_mode \
15448finish_eval \
15449old_striplib \
15450striplib; do
15451    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15452    *[\\\\\\\`\\"\\\$]*)
15453      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15454      ;;
15455    *)
15456      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15457      ;;
15458    esac
15459done
15460
15461# Double-quote double-evaled strings.
15462for var in reload_cmds \
15463old_postinstall_cmds \
15464old_postuninstall_cmds \
15465old_archive_cmds \
15466extract_expsyms_cmds \
15467old_archive_from_new_cmds \
15468old_archive_from_expsyms_cmds \
15469archive_cmds \
15470archive_expsym_cmds \
15471module_cmds \
15472module_expsym_cmds \
15473export_symbols_cmds \
15474prelink_cmds \
15475postlink_cmds \
15476postinstall_cmds \
15477postuninstall_cmds \
15478finish_cmds \
15479sys_lib_search_path_spec \
15480configure_time_dlsearch_path \
15481configure_time_lt_sys_library_path; do
15482    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15483    *[\\\\\\\`\\"\\\$]*)
15484      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15485      ;;
15486    *)
15487      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15488      ;;
15489    esac
15490done
15491
15492ac_aux_dir='$ac_aux_dir'
15493
15494# See if we are running on zsh, and set the options that allow our
15495# commands through without removal of \ escapes INIT.
15496if test -n "\${ZSH_VERSION+set}"; then
15497   setopt NO_GLOB_SUBST
15498fi
15499
15500
15501    PACKAGE='$PACKAGE'
15502    VERSION='$VERSION'
15503    RM='$RM'
15504    ofile='$ofile'
15505
15506
15507
15508
15509_ACEOF
15510
15511cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15512
15513# Handling of arguments.
15514for ac_config_target in $ac_config_targets
15515do
15516  case $ac_config_target in
15517    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
15518    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15519    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15520    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15521    "libgdiplus.pc") CONFIG_FILES="$CONFIG_FILES libgdiplus.pc" ;;
15522    "libgdiplus0.spec") CONFIG_FILES="$CONFIG_FILES libgdiplus0.spec" ;;
15523    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
15524    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
15525
15526  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15527  esac
15528done
15529
15530
15531# If the user did not use the arguments to specify the items to instantiate,
15532# then the envvar interface is used.  Set only those that are not.
15533# We use the long form for the default assignment because of an extremely
15534# bizarre bug on SunOS 4.1.3.
15535if $ac_need_defaults; then
15536  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15537  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
15538  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15539fi
15540
15541# Have a temporary directory for convenience.  Make it in the build tree
15542# simply because there is no reason against having it here, and in addition,
15543# creating and moving files from /tmp can sometimes cause problems.
15544# Hook for its removal unless debugging.
15545# Note that there is a small window in which the directory will not be cleaned:
15546# after its creation but before its name has been assigned to `$tmp'.
15547$debug ||
15548{
15549  tmp= ac_tmp=
15550  trap 'exit_status=$?
15551  : "${ac_tmp:=$tmp}"
15552  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15553' 0
15554  trap 'as_fn_exit 1' 1 2 13 15
15555}
15556# Create a (secure) tmp directory for tmp files.
15557
15558{
15559  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15560  test -d "$tmp"
15561}  ||
15562{
15563  tmp=./conf$$-$RANDOM
15564  (umask 077 && mkdir "$tmp")
15565} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15566ac_tmp=$tmp
15567
15568# Set up the scripts for CONFIG_FILES section.
15569# No need to generate them if there are no CONFIG_FILES.
15570# This happens for instance with `./config.status config.h'.
15571if test -n "$CONFIG_FILES"; then
15572
15573
15574ac_cr=`echo X | tr X '\015'`
15575# On cygwin, bash can eat \r inside `` if the user requested igncr.
15576# But we know of no other shell where ac_cr would be empty at this
15577# point, so we can use a bashism as a fallback.
15578if test "x$ac_cr" = x; then
15579  eval ac_cr=\$\'\\r\'
15580fi
15581ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15582if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15583  ac_cs_awk_cr='\\r'
15584else
15585  ac_cs_awk_cr=$ac_cr
15586fi
15587
15588echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15589_ACEOF
15590
15591
15592{
15593  echo "cat >conf$$subs.awk <<_ACEOF" &&
15594  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15595  echo "_ACEOF"
15596} >conf$$subs.sh ||
15597  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15598ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15599ac_delim='%!_!# '
15600for ac_last_try in false false false false false :; do
15601  . ./conf$$subs.sh ||
15602    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15603
15604  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15605  if test $ac_delim_n = $ac_delim_num; then
15606    break
15607  elif $ac_last_try; then
15608    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15609  else
15610    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15611  fi
15612done
15613rm -f conf$$subs.sh
15614
15615cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15616cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15617_ACEOF
15618sed -n '
15619h
15620s/^/S["/; s/!.*/"]=/
15621p
15622g
15623s/^[^!]*!//
15624:repl
15625t repl
15626s/'"$ac_delim"'$//
15627t delim
15628:nl
15629h
15630s/\(.\{148\}\)..*/\1/
15631t more1
15632s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15633p
15634n
15635b repl
15636:more1
15637s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15638p
15639g
15640s/.\{148\}//
15641t nl
15642:delim
15643h
15644s/\(.\{148\}\)..*/\1/
15645t more2
15646s/["\\]/\\&/g; s/^/"/; s/$/"/
15647p
15648b
15649:more2
15650s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15651p
15652g
15653s/.\{148\}//
15654t delim
15655' <conf$$subs.awk | sed '
15656/^[^""]/{
15657  N
15658  s/\n//
15659}
15660' >>$CONFIG_STATUS || ac_write_fail=1
15661rm -f conf$$subs.awk
15662cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15663_ACAWK
15664cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15665  for (key in S) S_is_set[key] = 1
15666  FS = ""
15667
15668}
15669{
15670  line = $ 0
15671  nfields = split(line, field, "@")
15672  substed = 0
15673  len = length(field[1])
15674  for (i = 2; i < nfields; i++) {
15675    key = field[i]
15676    keylen = length(key)
15677    if (S_is_set[key]) {
15678      value = S[key]
15679      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15680      len += length(value) + length(field[++i])
15681      substed = 1
15682    } else
15683      len += 1 + keylen
15684  }
15685
15686  print line
15687}
15688
15689_ACAWK
15690_ACEOF
15691cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15692if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15693  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15694else
15695  cat
15696fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15697  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15698_ACEOF
15699
15700# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15701# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15702# trailing colons and then remove the whole line if VPATH becomes empty
15703# (actually we leave an empty line to preserve line numbers).
15704if test "x$srcdir" = x.; then
15705  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15706h
15707s///
15708s/^/:/
15709s/[	 ]*$/:/
15710s/:\$(srcdir):/:/g
15711s/:\${srcdir}:/:/g
15712s/:@srcdir@:/:/g
15713s/^:*//
15714s/:*$//
15715x
15716s/\(=[	 ]*\).*/\1/
15717G
15718s/\n//
15719s/^[^=]*=[	 ]*$//
15720}'
15721fi
15722
15723cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15724fi # test -n "$CONFIG_FILES"
15725
15726# Set up the scripts for CONFIG_HEADERS section.
15727# No need to generate them if there are no CONFIG_HEADERS.
15728# This happens for instance with `./config.status Makefile'.
15729if test -n "$CONFIG_HEADERS"; then
15730cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15731BEGIN {
15732_ACEOF
15733
15734# Transform confdefs.h into an awk script `defines.awk', embedded as
15735# here-document in config.status, that substitutes the proper values into
15736# config.h.in to produce config.h.
15737
15738# Create a delimiter string that does not exist in confdefs.h, to ease
15739# handling of long lines.
15740ac_delim='%!_!# '
15741for ac_last_try in false false :; do
15742  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
15743  if test -z "$ac_tt"; then
15744    break
15745  elif $ac_last_try; then
15746    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15747  else
15748    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15749  fi
15750done
15751
15752# For the awk script, D is an array of macro values keyed by name,
15753# likewise P contains macro parameters if any.  Preserve backslash
15754# newline sequences.
15755
15756ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15757sed -n '
15758s/.\{148\}/&'"$ac_delim"'/g
15759t rset
15760:rset
15761s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
15762t def
15763d
15764:def
15765s/\\$//
15766t bsnl
15767s/["\\]/\\&/g
15768s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15769D["\1"]=" \3"/p
15770s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
15771d
15772:bsnl
15773s/["\\]/\\&/g
15774s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
15775D["\1"]=" \3\\\\\\n"\\/p
15776t cont
15777s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
15778t cont
15779d
15780:cont
15781n
15782s/.\{148\}/&'"$ac_delim"'/g
15783t clear
15784:clear
15785s/\\$//
15786t bsnlc
15787s/["\\]/\\&/g; s/^/"/; s/$/"/p
15788d
15789:bsnlc
15790s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
15791b cont
15792' <confdefs.h | sed '
15793s/'"$ac_delim"'/"\\\
15794"/g' >>$CONFIG_STATUS || ac_write_fail=1
15795
15796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15797  for (key in D) D_is_set[key] = 1
15798  FS = ""
15799}
15800/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15801  line = \$ 0
15802  split(line, arg, " ")
15803  if (arg[1] == "#") {
15804    defundef = arg[2]
15805    mac1 = arg[3]
15806  } else {
15807    defundef = substr(arg[1], 2)
15808    mac1 = arg[2]
15809  }
15810  split(mac1, mac2, "(") #)
15811  macro = mac2[1]
15812  prefix = substr(line, 1, index(line, defundef) - 1)
15813  if (D_is_set[macro]) {
15814    # Preserve the white space surrounding the "#".
15815    print prefix "define", macro P[macro] D[macro]
15816    next
15817  } else {
15818    # Replace #undef with comments.  This is necessary, for example,
15819    # in the case of _POSIX_SOURCE, which is predefined and required
15820    # on some systems where configure will not decide to define it.
15821    if (defundef == "undef") {
15822      print "/*", prefix defundef, macro, "*/"
15823      next
15824    }
15825  }
15826}
15827{ print }
15828_ACAWK
15829_ACEOF
15830cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15831  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
15832fi # test -n "$CONFIG_HEADERS"
15833
15834
15835eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
15836shift
15837for ac_tag
15838do
15839  case $ac_tag in
15840  :[FHLC]) ac_mode=$ac_tag; continue;;
15841  esac
15842  case $ac_mode$ac_tag in
15843  :[FHL]*:*);;
15844  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15845  :[FH]-) ac_tag=-:-;;
15846  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15847  esac
15848  ac_save_IFS=$IFS
15849  IFS=:
15850  set x $ac_tag
15851  IFS=$ac_save_IFS
15852  shift
15853  ac_file=$1
15854  shift
15855
15856  case $ac_mode in
15857  :L) ac_source=$1;;
15858  :[FH])
15859    ac_file_inputs=
15860    for ac_f
15861    do
15862      case $ac_f in
15863      -) ac_f="$ac_tmp/stdin";;
15864      *) # Look for the file first in the build tree, then in the source tree
15865	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15866	 # because $ac_f cannot contain `:'.
15867	 test -f "$ac_f" ||
15868	   case $ac_f in
15869	   [\\/$]*) false;;
15870	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15871	   esac ||
15872	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15873      esac
15874      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15875      as_fn_append ac_file_inputs " '$ac_f'"
15876    done
15877
15878    # Let's still pretend it is `configure' which instantiates (i.e., don't
15879    # use $as_me), people would be surprised to read:
15880    #    /* config.h.  Generated by config.status.  */
15881    configure_input='Generated from '`
15882	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15883	`' by configure.'
15884    if test x"$ac_file" != x-; then
15885      configure_input="$ac_file.  $configure_input"
15886      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15887$as_echo "$as_me: creating $ac_file" >&6;}
15888    fi
15889    # Neutralize special characters interpreted by sed in replacement strings.
15890    case $configure_input in #(
15891    *\&* | *\|* | *\\* )
15892       ac_sed_conf_input=`$as_echo "$configure_input" |
15893       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15894    *) ac_sed_conf_input=$configure_input;;
15895    esac
15896
15897    case $ac_tag in
15898    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15899      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15900    esac
15901    ;;
15902  esac
15903
15904  ac_dir=`$as_dirname -- "$ac_file" ||
15905$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15906	 X"$ac_file" : 'X\(//\)[^/]' \| \
15907	 X"$ac_file" : 'X\(//\)$' \| \
15908	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15909$as_echo X"$ac_file" |
15910    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15911	    s//\1/
15912	    q
15913	  }
15914	  /^X\(\/\/\)[^/].*/{
15915	    s//\1/
15916	    q
15917	  }
15918	  /^X\(\/\/\)$/{
15919	    s//\1/
15920	    q
15921	  }
15922	  /^X\(\/\).*/{
15923	    s//\1/
15924	    q
15925	  }
15926	  s/.*/./; q'`
15927  as_dir="$ac_dir"; as_fn_mkdir_p
15928  ac_builddir=.
15929
15930case "$ac_dir" in
15931.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15932*)
15933  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15934  # A ".." for each directory in $ac_dir_suffix.
15935  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15936  case $ac_top_builddir_sub in
15937  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15938  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15939  esac ;;
15940esac
15941ac_abs_top_builddir=$ac_pwd
15942ac_abs_builddir=$ac_pwd$ac_dir_suffix
15943# for backward compatibility:
15944ac_top_builddir=$ac_top_build_prefix
15945
15946case $srcdir in
15947  .)  # We are building in place.
15948    ac_srcdir=.
15949    ac_top_srcdir=$ac_top_builddir_sub
15950    ac_abs_top_srcdir=$ac_pwd ;;
15951  [\\/]* | ?:[\\/]* )  # Absolute name.
15952    ac_srcdir=$srcdir$ac_dir_suffix;
15953    ac_top_srcdir=$srcdir
15954    ac_abs_top_srcdir=$srcdir ;;
15955  *) # Relative name.
15956    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15957    ac_top_srcdir=$ac_top_build_prefix$srcdir
15958    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15959esac
15960ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15961
15962
15963  case $ac_mode in
15964  :F)
15965  #
15966  # CONFIG_FILE
15967  #
15968
15969  case $INSTALL in
15970  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15971  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15972  esac
15973  ac_MKDIR_P=$MKDIR_P
15974  case $MKDIR_P in
15975  [\\/$]* | ?:[\\/]* ) ;;
15976  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15977  esac
15978_ACEOF
15979
15980cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15981# If the template does not know about datarootdir, expand it.
15982# FIXME: This hack should be removed a few years after 2.60.
15983ac_datarootdir_hack=; ac_datarootdir_seen=
15984ac_sed_dataroot='
15985/datarootdir/ {
15986  p
15987  q
15988}
15989/@datadir@/p
15990/@docdir@/p
15991/@infodir@/p
15992/@localedir@/p
15993/@mandir@/p'
15994case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15995*datarootdir*) ac_datarootdir_seen=yes;;
15996*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15997  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15998$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15999_ACEOF
16000cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16001  ac_datarootdir_hack='
16002  s&@datadir@&$datadir&g
16003  s&@docdir@&$docdir&g
16004  s&@infodir@&$infodir&g
16005  s&@localedir@&$localedir&g
16006  s&@mandir@&$mandir&g
16007  s&\\\${datarootdir}&$datarootdir&g' ;;
16008esac
16009_ACEOF
16010
16011# Neutralize VPATH when `$srcdir' = `.'.
16012# Shell code in configure.ac might set extrasub.
16013# FIXME: do we really want to maintain this feature?
16014cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16015ac_sed_extra="$ac_vpsub
16016$extrasub
16017_ACEOF
16018cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16019:t
16020/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16021s|@configure_input@|$ac_sed_conf_input|;t t
16022s&@top_builddir@&$ac_top_builddir_sub&;t t
16023s&@top_build_prefix@&$ac_top_build_prefix&;t t
16024s&@srcdir@&$ac_srcdir&;t t
16025s&@abs_srcdir@&$ac_abs_srcdir&;t t
16026s&@top_srcdir@&$ac_top_srcdir&;t t
16027s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16028s&@builddir@&$ac_builddir&;t t
16029s&@abs_builddir@&$ac_abs_builddir&;t t
16030s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16031s&@INSTALL@&$ac_INSTALL&;t t
16032s&@MKDIR_P@&$ac_MKDIR_P&;t t
16033$ac_datarootdir_hack
16034"
16035eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16036  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16037
16038test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16039  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16040  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16041      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16042  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16043which seems to be undefined.  Please make sure it is defined" >&5
16044$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16045which seems to be undefined.  Please make sure it is defined" >&2;}
16046
16047  rm -f "$ac_tmp/stdin"
16048  case $ac_file in
16049  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16050  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16051  esac \
16052  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16053 ;;
16054  :H)
16055  #
16056  # CONFIG_HEADER
16057  #
16058  if test x"$ac_file" != x-; then
16059    {
16060      $as_echo "/* $configure_input  */" \
16061      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16062    } >"$ac_tmp/config.h" \
16063      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16064    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16065      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16066$as_echo "$as_me: $ac_file is unchanged" >&6;}
16067    else
16068      rm -f "$ac_file"
16069      mv "$ac_tmp/config.h" "$ac_file" \
16070	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
16071    fi
16072  else
16073    $as_echo "/* $configure_input  */" \
16074      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16075      || as_fn_error $? "could not create -" "$LINENO" 5
16076  fi
16077# Compute "$ac_file"'s index in $config_headers.
16078_am_arg="$ac_file"
16079_am_stamp_count=1
16080for _am_header in $config_headers :; do
16081  case $_am_header in
16082    $_am_arg | $_am_arg:* )
16083      break ;;
16084    * )
16085      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
16086  esac
16087done
16088echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
16089$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16090	 X"$_am_arg" : 'X\(//\)[^/]' \| \
16091	 X"$_am_arg" : 'X\(//\)$' \| \
16092	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
16093$as_echo X"$_am_arg" |
16094    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16095	    s//\1/
16096	    q
16097	  }
16098	  /^X\(\/\/\)[^/].*/{
16099	    s//\1/
16100	    q
16101	  }
16102	  /^X\(\/\/\)$/{
16103	    s//\1/
16104	    q
16105	  }
16106	  /^X\(\/\).*/{
16107	    s//\1/
16108	    q
16109	  }
16110	  s/.*/./; q'`/stamp-h$_am_stamp_count
16111 ;;
16112
16113  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16114$as_echo "$as_me: executing $ac_file commands" >&6;}
16115 ;;
16116  esac
16117
16118
16119  case $ac_file$ac_mode in
16120    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16121  # Older Autoconf quotes --file arguments for eval, but not when files
16122  # are listed without --file.  Let's play safe and only enable the eval
16123  # if we detect the quoting.
16124  case $CONFIG_FILES in
16125  *\'*) eval set x "$CONFIG_FILES" ;;
16126  *)   set x $CONFIG_FILES ;;
16127  esac
16128  shift
16129  for mf
16130  do
16131    # Strip MF so we end up with the name of the file.
16132    mf=`echo "$mf" | sed -e 's/:.*$//'`
16133    # Check whether this is an Automake generated Makefile or not.
16134    # We used to match only the files named 'Makefile.in', but
16135    # some people rename them; so instead we look at the file content.
16136    # Grep'ing the first line is not enough: some people post-process
16137    # each Makefile.in and add a new line on top of each file to say so.
16138    # Grep'ing the whole file is not good either: AIX grep has a line
16139    # limit of 2048, but all sed's we know have understand at least 4000.
16140    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
16141      dirpart=`$as_dirname -- "$mf" ||
16142$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16143	 X"$mf" : 'X\(//\)[^/]' \| \
16144	 X"$mf" : 'X\(//\)$' \| \
16145	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
16146$as_echo X"$mf" |
16147    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16148	    s//\1/
16149	    q
16150	  }
16151	  /^X\(\/\/\)[^/].*/{
16152	    s//\1/
16153	    q
16154	  }
16155	  /^X\(\/\/\)$/{
16156	    s//\1/
16157	    q
16158	  }
16159	  /^X\(\/\).*/{
16160	    s//\1/
16161	    q
16162	  }
16163	  s/.*/./; q'`
16164    else
16165      continue
16166    fi
16167    # Extract the definition of DEPDIR, am__include, and am__quote
16168    # from the Makefile without running 'make'.
16169    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
16170    test -z "$DEPDIR" && continue
16171    am__include=`sed -n 's/^am__include = //p' < "$mf"`
16172    test -z "$am__include" && continue
16173    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
16174    # Find all dependency output files, they are included files with
16175    # $(DEPDIR) in their names.  We invoke sed twice because it is the
16176    # simplest approach to changing $(DEPDIR) to its actual value in the
16177    # expansion.
16178    for file in `sed -n "
16179      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
16180	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
16181      # Make sure the directory exists.
16182      test -f "$dirpart/$file" && continue
16183      fdir=`$as_dirname -- "$file" ||
16184$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16185	 X"$file" : 'X\(//\)[^/]' \| \
16186	 X"$file" : 'X\(//\)$' \| \
16187	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
16188$as_echo X"$file" |
16189    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16190	    s//\1/
16191	    q
16192	  }
16193	  /^X\(\/\/\)[^/].*/{
16194	    s//\1/
16195	    q
16196	  }
16197	  /^X\(\/\/\)$/{
16198	    s//\1/
16199	    q
16200	  }
16201	  /^X\(\/\).*/{
16202	    s//\1/
16203	    q
16204	  }
16205	  s/.*/./; q'`
16206      as_dir=$dirpart/$fdir; as_fn_mkdir_p
16207      # echo "creating $dirpart/$file"
16208      echo '# dummy' > "$dirpart/$file"
16209    done
16210  done
16211}
16212 ;;
16213    "libtool":C)
16214
16215    # See if we are running on zsh, and set the options that allow our
16216    # commands through without removal of \ escapes.
16217    if test -n "${ZSH_VERSION+set}"; then
16218      setopt NO_GLOB_SUBST
16219    fi
16220
16221    cfgfile=${ofile}T
16222    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16223    $RM "$cfgfile"
16224
16225    cat <<_LT_EOF >> "$cfgfile"
16226#! $SHELL
16227# Generated automatically by $as_me ($PACKAGE) $VERSION
16228# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16229
16230# Provide generalized library-building support services.
16231# Written by Gordon Matzigkeit, 1996
16232
16233# Copyright (C) 2014 Free Software Foundation, Inc.
16234# This is free software; see the source for copying conditions.  There is NO
16235# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16236
16237# GNU Libtool is free software; you can redistribute it and/or modify
16238# it under the terms of the GNU General Public License as published by
16239# the Free Software Foundation; either version 2 of of the License, or
16240# (at your option) any later version.
16241#
16242# As a special exception to the GNU General Public License, if you
16243# distribute this file as part of a program or library that is built
16244# using GNU Libtool, you may include this file under the  same
16245# distribution terms that you use for the rest of that program.
16246#
16247# GNU Libtool is distributed in the hope that it will be useful, but
16248# WITHOUT ANY WARRANTY; without even the implied warranty of
16249# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16250# GNU General Public License for more details.
16251#
16252# You should have received a copy of the GNU General Public License
16253# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16254
16255
16256# The names of the tagged configurations supported by this script.
16257available_tags=''
16258
16259# Configured defaults for sys_lib_dlsearch_path munging.
16260: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16261
16262# ### BEGIN LIBTOOL CONFIG
16263
16264# Which release of libtool.m4 was used?
16265macro_version=$macro_version
16266macro_revision=$macro_revision
16267
16268# Whether or not to build shared libraries.
16269build_libtool_libs=$enable_shared
16270
16271# Whether or not to build static libraries.
16272build_old_libs=$enable_static
16273
16274# What type of objects to build.
16275pic_mode=$pic_mode
16276
16277# Whether or not to optimize for fast installation.
16278fast_install=$enable_fast_install
16279
16280# Shared archive member basename,for filename based shared library versioning on AIX.
16281shared_archive_member_spec=$shared_archive_member_spec
16282
16283# Shell to use when invoking shell scripts.
16284SHELL=$lt_SHELL
16285
16286# An echo program that protects backslashes.
16287ECHO=$lt_ECHO
16288
16289# The PATH separator for the build system.
16290PATH_SEPARATOR=$lt_PATH_SEPARATOR
16291
16292# The host system.
16293host_alias=$host_alias
16294host=$host
16295host_os=$host_os
16296
16297# The build system.
16298build_alias=$build_alias
16299build=$build
16300build_os=$build_os
16301
16302# A sed program that does not truncate output.
16303SED=$lt_SED
16304
16305# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16306Xsed="\$SED -e 1s/^X//"
16307
16308# A grep program that handles long lines.
16309GREP=$lt_GREP
16310
16311# An ERE matcher.
16312EGREP=$lt_EGREP
16313
16314# A literal string matcher.
16315FGREP=$lt_FGREP
16316
16317# A BSD- or MS-compatible name lister.
16318NM=$lt_NM
16319
16320# Whether we need soft or hard links.
16321LN_S=$lt_LN_S
16322
16323# What is the maximum length of a command?
16324max_cmd_len=$max_cmd_len
16325
16326# Object file suffix (normally "o").
16327objext=$ac_objext
16328
16329# Executable file suffix (normally "").
16330exeext=$exeext
16331
16332# whether the shell understands "unset".
16333lt_unset=$lt_unset
16334
16335# turn spaces into newlines.
16336SP2NL=$lt_lt_SP2NL
16337
16338# turn newlines into spaces.
16339NL2SP=$lt_lt_NL2SP
16340
16341# convert \$build file names to \$host format.
16342to_host_file_cmd=$lt_cv_to_host_file_cmd
16343
16344# convert \$build files to toolchain format.
16345to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16346
16347# An object symbol dumper.
16348OBJDUMP=$lt_OBJDUMP
16349
16350# Method to check whether dependent libraries are shared objects.
16351deplibs_check_method=$lt_deplibs_check_method
16352
16353# Command to use when deplibs_check_method = "file_magic".
16354file_magic_cmd=$lt_file_magic_cmd
16355
16356# How to find potential files when deplibs_check_method = "file_magic".
16357file_magic_glob=$lt_file_magic_glob
16358
16359# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16360want_nocaseglob=$lt_want_nocaseglob
16361
16362# DLL creation program.
16363DLLTOOL=$lt_DLLTOOL
16364
16365# Command to associate shared and link libraries.
16366sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16367
16368# The archiver.
16369AR=$lt_AR
16370
16371# Flags to create an archive.
16372AR_FLAGS=$lt_AR_FLAGS
16373
16374# How to feed a file listing to the archiver.
16375archiver_list_spec=$lt_archiver_list_spec
16376
16377# A symbol stripping program.
16378STRIP=$lt_STRIP
16379
16380# Commands used to install an old-style archive.
16381RANLIB=$lt_RANLIB
16382old_postinstall_cmds=$lt_old_postinstall_cmds
16383old_postuninstall_cmds=$lt_old_postuninstall_cmds
16384
16385# Whether to use a lock for old archive extraction.
16386lock_old_archive_extraction=$lock_old_archive_extraction
16387
16388# A C compiler.
16389LTCC=$lt_CC
16390
16391# LTCC compiler flags.
16392LTCFLAGS=$lt_CFLAGS
16393
16394# Take the output of nm and produce a listing of raw symbols and C names.
16395global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16396
16397# Transform the output of nm in a proper C declaration.
16398global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16399
16400# Transform the output of nm into a list of symbols to manually relocate.
16401global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16402
16403# Transform the output of nm in a C name address pair.
16404global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16405
16406# Transform the output of nm in a C name address pair when lib prefix is needed.
16407global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16408
16409# The name lister interface.
16410nm_interface=$lt_lt_cv_nm_interface
16411
16412# Specify filename containing input files for \$NM.
16413nm_file_list_spec=$lt_nm_file_list_spec
16414
16415# The root where to search for dependent libraries,and where our libraries should be installed.
16416lt_sysroot=$lt_sysroot
16417
16418# Command to truncate a binary pipe.
16419lt_truncate_bin=$lt_lt_cv_truncate_bin
16420
16421# The name of the directory that contains temporary libtool files.
16422objdir=$objdir
16423
16424# Used to examine libraries when file_magic_cmd begins with "file".
16425MAGIC_CMD=$MAGIC_CMD
16426
16427# Must we lock files when doing compilation?
16428need_locks=$lt_need_locks
16429
16430# Manifest tool.
16431MANIFEST_TOOL=$lt_MANIFEST_TOOL
16432
16433# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16434DSYMUTIL=$lt_DSYMUTIL
16435
16436# Tool to change global to local symbols on Mac OS X.
16437NMEDIT=$lt_NMEDIT
16438
16439# Tool to manipulate fat objects and archives on Mac OS X.
16440LIPO=$lt_LIPO
16441
16442# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16443OTOOL=$lt_OTOOL
16444
16445# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16446OTOOL64=$lt_OTOOL64
16447
16448# Old archive suffix (normally "a").
16449libext=$libext
16450
16451# Shared library suffix (normally ".so").
16452shrext_cmds=$lt_shrext_cmds
16453
16454# The commands to extract the exported symbol list from a shared archive.
16455extract_expsyms_cmds=$lt_extract_expsyms_cmds
16456
16457# Variables whose values should be saved in libtool wrapper scripts and
16458# restored at link time.
16459variables_saved_for_relink=$lt_variables_saved_for_relink
16460
16461# Do we need the "lib" prefix for modules?
16462need_lib_prefix=$need_lib_prefix
16463
16464# Do we need a version for libraries?
16465need_version=$need_version
16466
16467# Library versioning type.
16468version_type=$version_type
16469
16470# Shared library runtime path variable.
16471runpath_var=$runpath_var
16472
16473# Shared library path variable.
16474shlibpath_var=$shlibpath_var
16475
16476# Is shlibpath searched before the hard-coded library search path?
16477shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16478
16479# Format of library name prefix.
16480libname_spec=$lt_libname_spec
16481
16482# List of archive names.  First name is the real one, the rest are links.
16483# The last name is the one that the linker finds with -lNAME
16484library_names_spec=$lt_library_names_spec
16485
16486# The coded name of the library, if different from the real name.
16487soname_spec=$lt_soname_spec
16488
16489# Permission mode override for installation of shared libraries.
16490install_override_mode=$lt_install_override_mode
16491
16492# Command to use after installation of a shared archive.
16493postinstall_cmds=$lt_postinstall_cmds
16494
16495# Command to use after uninstallation of a shared archive.
16496postuninstall_cmds=$lt_postuninstall_cmds
16497
16498# Commands used to finish a libtool library installation in a directory.
16499finish_cmds=$lt_finish_cmds
16500
16501# As "finish_cmds", except a single script fragment to be evaled but
16502# not shown.
16503finish_eval=$lt_finish_eval
16504
16505# Whether we should hardcode library paths into libraries.
16506hardcode_into_libs=$hardcode_into_libs
16507
16508# Compile-time system search path for libraries.
16509sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16510
16511# Detected run-time system search path for libraries.
16512sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16513
16514# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16515configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16516
16517# Whether dlopen is supported.
16518dlopen_support=$enable_dlopen
16519
16520# Whether dlopen of programs is supported.
16521dlopen_self=$enable_dlopen_self
16522
16523# Whether dlopen of statically linked programs is supported.
16524dlopen_self_static=$enable_dlopen_self_static
16525
16526# Commands to strip libraries.
16527old_striplib=$lt_old_striplib
16528striplib=$lt_striplib
16529
16530
16531# The linker used to build libraries.
16532LD=$lt_LD
16533
16534# How to create reloadable object files.
16535reload_flag=$lt_reload_flag
16536reload_cmds=$lt_reload_cmds
16537
16538# Commands used to build an old-style archive.
16539old_archive_cmds=$lt_old_archive_cmds
16540
16541# A language specific compiler.
16542CC=$lt_compiler
16543
16544# Is the compiler the GNU compiler?
16545with_gcc=$GCC
16546
16547# Compiler flag to turn off builtin functions.
16548no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16549
16550# Additional compiler flags for building library objects.
16551pic_flag=$lt_lt_prog_compiler_pic
16552
16553# How to pass a linker flag through the compiler.
16554wl=$lt_lt_prog_compiler_wl
16555
16556# Compiler flag to prevent dynamic linking.
16557link_static_flag=$lt_lt_prog_compiler_static
16558
16559# Does compiler simultaneously support -c and -o options?
16560compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16561
16562# Whether or not to add -lc for building shared libraries.
16563build_libtool_need_lc=$archive_cmds_need_lc
16564
16565# Whether or not to disallow shared libs when runtime libs are static.
16566allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16567
16568# Compiler flag to allow reflexive dlopens.
16569export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16570
16571# Compiler flag to generate shared objects directly from archives.
16572whole_archive_flag_spec=$lt_whole_archive_flag_spec
16573
16574# Whether the compiler copes with passing no objects directly.
16575compiler_needs_object=$lt_compiler_needs_object
16576
16577# Create an old-style archive from a shared archive.
16578old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16579
16580# Create a temporary old-style archive to link instead of a shared archive.
16581old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16582
16583# Commands used to build a shared archive.
16584archive_cmds=$lt_archive_cmds
16585archive_expsym_cmds=$lt_archive_expsym_cmds
16586
16587# Commands used to build a loadable module if different from building
16588# a shared archive.
16589module_cmds=$lt_module_cmds
16590module_expsym_cmds=$lt_module_expsym_cmds
16591
16592# Whether we are building with GNU ld or not.
16593with_gnu_ld=$lt_with_gnu_ld
16594
16595# Flag that allows shared libraries with undefined symbols to be built.
16596allow_undefined_flag=$lt_allow_undefined_flag
16597
16598# Flag that enforces no undefined symbols.
16599no_undefined_flag=$lt_no_undefined_flag
16600
16601# Flag to hardcode \$libdir into a binary during linking.
16602# This must work even if \$libdir does not exist
16603hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16604
16605# Whether we need a single "-rpath" flag with a separated argument.
16606hardcode_libdir_separator=$lt_hardcode_libdir_separator
16607
16608# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16609# DIR into the resulting binary.
16610hardcode_direct=$hardcode_direct
16611
16612# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16613# DIR into the resulting binary and the resulting library dependency is
16614# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16615# library is relocated.
16616hardcode_direct_absolute=$hardcode_direct_absolute
16617
16618# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16619# into the resulting binary.
16620hardcode_minus_L=$hardcode_minus_L
16621
16622# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16623# into the resulting binary.
16624hardcode_shlibpath_var=$hardcode_shlibpath_var
16625
16626# Set to "yes" if building a shared library automatically hardcodes DIR
16627# into the library and all subsequent libraries and executables linked
16628# against it.
16629hardcode_automatic=$hardcode_automatic
16630
16631# Set to yes if linker adds runtime paths of dependent libraries
16632# to runtime path list.
16633inherit_rpath=$inherit_rpath
16634
16635# Whether libtool must link a program against all its dependency libraries.
16636link_all_deplibs=$link_all_deplibs
16637
16638# Set to "yes" if exported symbols are required.
16639always_export_symbols=$always_export_symbols
16640
16641# The commands to list exported symbols.
16642export_symbols_cmds=$lt_export_symbols_cmds
16643
16644# Symbols that should not be listed in the preloaded symbols.
16645exclude_expsyms=$lt_exclude_expsyms
16646
16647# Symbols that must always be exported.
16648include_expsyms=$lt_include_expsyms
16649
16650# Commands necessary for linking programs (against libraries) with templates.
16651prelink_cmds=$lt_prelink_cmds
16652
16653# Commands necessary for finishing linking programs.
16654postlink_cmds=$lt_postlink_cmds
16655
16656# Specify filename containing input files.
16657file_list_spec=$lt_file_list_spec
16658
16659# How to hardcode a shared library path into an executable.
16660hardcode_action=$hardcode_action
16661
16662# ### END LIBTOOL CONFIG
16663
16664_LT_EOF
16665
16666    cat <<'_LT_EOF' >> "$cfgfile"
16667
16668# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
16669
16670# func_munge_path_list VARIABLE PATH
16671# -----------------------------------
16672# VARIABLE is name of variable containing _space_ separated list of
16673# directories to be munged by the contents of PATH, which is string
16674# having a format:
16675# "DIR[:DIR]:"
16676#       string "DIR[ DIR]" will be prepended to VARIABLE
16677# ":DIR[:DIR]"
16678#       string "DIR[ DIR]" will be appended to VARIABLE
16679# "DIRP[:DIRP]::[DIRA:]DIRA"
16680#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
16681#       "DIRA[ DIRA]" will be appended to VARIABLE
16682# "DIR[:DIR]"
16683#       VARIABLE will be replaced by "DIR[ DIR]"
16684func_munge_path_list ()
16685{
16686    case x$2 in
16687    x)
16688        ;;
16689    *:)
16690        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
16691        ;;
16692    x:*)
16693        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
16694        ;;
16695    *::*)
16696        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
16697        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
16698        ;;
16699    *)
16700        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
16701        ;;
16702    esac
16703}
16704
16705
16706# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
16707func_cc_basename ()
16708{
16709    for cc_temp in $*""; do
16710      case $cc_temp in
16711        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
16712        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
16713        \-*) ;;
16714        *) break;;
16715      esac
16716    done
16717    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
16718}
16719
16720
16721# ### END FUNCTIONS SHARED WITH CONFIGURE
16722
16723_LT_EOF
16724
16725  case $host_os in
16726  aix3*)
16727    cat <<\_LT_EOF >> "$cfgfile"
16728# AIX sometimes has problems with the GCC collect2 program.  For some
16729# reason, if we set the COLLECT_NAMES environment variable, the problems
16730# vanish in a puff of smoke.
16731if test set != "${COLLECT_NAMES+set}"; then
16732  COLLECT_NAMES=
16733  export COLLECT_NAMES
16734fi
16735_LT_EOF
16736    ;;
16737  esac
16738
16739
16740ltmain=$ac_aux_dir/ltmain.sh
16741
16742
16743  # We use sed instead of cat because bash on DJGPP gets confused if
16744  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16745  # text mode, it properly converts lines to CR/LF.  This bash problem
16746  # is reportedly fixed, but why not run on old versions too?
16747  sed '$q' "$ltmain" >> "$cfgfile" \
16748     || (rm -f "$cfgfile"; exit 1)
16749
16750   mv -f "$cfgfile" "$ofile" ||
16751    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16752  chmod +x "$ofile"
16753
16754 ;;
16755
16756  esac
16757done # for ac_tag
16758
16759
16760as_fn_exit 0
16761_ACEOF
16762ac_clean_files=$ac_clean_files_save
16763
16764test $ac_write_fail = 0 ||
16765  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16766
16767
16768# configure is writing to config.log, and then calls config.status.
16769# config.status does its own redirection, appending to config.log.
16770# Unfortunately, on DOS this fails, as config.log is still kept open
16771# by configure, so config.status won't be able to write to it; its
16772# output is simply discarded.  So we exec the FD to /dev/null,
16773# effectively closing config.log, so it can be properly (re)opened and
16774# appended to by config.status.  When coming back to configure, we
16775# need to make the FD available again.
16776if test "$no_create" != yes; then
16777  ac_cs_success=:
16778  ac_config_status_args=
16779  test "$silent" = yes &&
16780    ac_config_status_args="$ac_config_status_args --quiet"
16781  exec 5>/dev/null
16782  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16783  exec 5>>config.log
16784  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16785  # would make configure fail if this is the last instruction.
16786  $ac_cs_success || as_fn_exit 1
16787fi
16788if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16789  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16790$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16791fi
16792
16793
16794echo "---"
16795echo "Configuration summary"
16796echo ""
16797echo "   * Installation prefix = $prefix"
16798echo "   * Cairo = $cairo_info"
16799echo "   * Text = $text_v"
16800echo "   * EXIF tags = $libexif_pkgconfig"
16801echo "   * X11 = $x11_available"
16802echo "   * Codecs supported:"
16803echo ""
16804echo "      - TIFF: $tiff_ok"
16805echo "      - JPEG: $jpeg_ok"
16806echo "      - GIF: $gif_ok"
16807echo "      - PNG: yes"
16808echo ""
16809echo "      NOTE: if any of the above say 'no' you may install the"
16810echo "            corresponding development packages for them, rerun"
16811echo "            autogen.sh to include them in the build."
16812echo ""
16813echo "---"
16814