1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for goocanvasmm 1.90.9.
4#
5# Report bugs to <http://bugzilla.gnome.org/>.
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: http://bugzilla.gnome.org/ about your system, including
279$0: any error possibly output before this message. Then
280$0: install a modern shell, or manually run the script
281$0: 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='goocanvasmm'
592PACKAGE_TARNAME='goocanvasmm'
593PACKAGE_VERSION='1.90.9'
594PACKAGE_STRING='goocanvasmm 1.90.9'
595PACKAGE_BUGREPORT='http://bugzilla.gnome.org/'
596PACKAGE_URL='http://www.gtkmm.org/'
597
598ac_unique_file="goocanvas/src/canvas.hg"
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
639GOOCANVASMM_WXXFLAGS
640DOCINSTALL_FLAGS
641DOXYGEN_TAGFILES
642ENABLE_DOCUMENTATION_FALSE
643ENABLE_DOCUMENTATION_TRUE
644XSLTPROC
645DOXYGEN
646DOT
647PERL
648GMMPROC_EXTRA_M4_DIR
649GMMPROC_DIR
650GTHREAD_CFLAGS
651GOOCANVASMM_LIBS
652GOOCANVASMM_CFLAGS
653PKG_CONFIG_LIBDIR
654PKG_CONFIG_PATH
655PKG_CONFIG
656GOOCANVASMM_MODULES
657CXXCPP
658CPP
659OTOOL64
660OTOOL
661LIPO
662NMEDIT
663DSYMUTIL
664MANIFEST_TOOL
665RANLIB
666ac_ct_AR
667AR
668LN_S
669NM
670ac_ct_DUMPBIN
671DUMPBIN
672LD
673FGREP
674EGREP
675GREP
676SED
677am__fastdepCC_FALSE
678am__fastdepCC_TRUE
679CCDEPMODE
680ac_ct_CC
681CFLAGS
682CC
683LIBTOOL
684OBJDUMP
685DLLTOOL
686AS
687host_os
688host_vendor
689host_cpu
690host
691build_os
692build_vendor
693build_cpu
694build
695am__fastdepCXX_FALSE
696am__fastdepCXX_TRUE
697CXXDEPMODE
698am__nodep
699AMDEPBACKSLASH
700AMDEP_FALSE
701AMDEP_TRUE
702am__quote
703am__include
704DEPDIR
705OBJEXT
706EXEEXT
707ac_ct_CXX
708CPPFLAGS
709LDFLAGS
710CXXFLAGS
711CXX
712GOOCANVASMM_SO_VERSION
713MMDOCTOOLDIR
714DIST_DOCTOOLS_FALSE
715DIST_DOCTOOLS_TRUE
716GOOCANVASMM_MICRO_VERSION
717GOOCANVASMM_MINOR_VERSION
718GOOCANVASMM_MAJOR_VERSION
719GOOCANVASMM_API_VERSION
720GOOCANVASMM_VERSION
721GOOCANVASMM_MODULE_NAME
722ACLOCAL_FLAGS
723MAINT
724MAINTAINER_MODE_FALSE
725MAINTAINER_MODE_TRUE
726am__untar
727am__tar
728AMTAR
729am__leading_dot
730SET_MAKE
731AWK
732mkdir_p
733MKDIR_P
734INSTALL_STRIP_PROGRAM
735STRIP
736install_sh
737MAKEINFO
738AUTOHEADER
739AUTOMAKE
740AUTOCONF
741ACLOCAL
742VERSION
743PACKAGE
744CYGPATH_W
745am__isrc
746INSTALL_DATA
747INSTALL_SCRIPT
748INSTALL_PROGRAM
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
768localstatedir
769sharedstatedir
770sysconfdir
771datadir
772datarootdir
773libexecdir
774sbindir
775bindir
776program_transform_name
777prefix
778exec_prefix
779PACKAGE_URL
780PACKAGE_BUGREPORT
781PACKAGE_STRING
782PACKAGE_VERSION
783PACKAGE_TARNAME
784PACKAGE_NAME
785PATH_SEPARATOR
786SHELL'
787ac_subst_files=''
788ac_user_opts='
789enable_option_checking
790enable_maintainer_mode
791enable_dependency_tracking
792enable_static
793enable_shared
794with_pic
795enable_fast_install
796with_gnu_ld
797with_sysroot
798enable_libtool_lock
799enable_documentation
800with_libstdc_doc
801with_libsigc_doc
802with_glibmm_doc
803with_cairomm_doc
804with_pangomm_doc
805with_gtkmm_doc
806enable_warnings
807'
808      ac_precious_vars='build_alias
809host_alias
810target_alias
811ACLOCAL_FLAGS
812CXX
813CXXFLAGS
814LDFLAGS
815LIBS
816CPPFLAGS
817CCC
818CC
819CFLAGS
820CPP
821CXXCPP
822PKG_CONFIG
823PKG_CONFIG_PATH
824PKG_CONFIG_LIBDIR
825GOOCANVASMM_CFLAGS
826GOOCANVASMM_LIBS
827PERL
828DOT
829DOXYGEN
830XSLTPROC'
831
832
833# Initialize some variables set by options.
834ac_init_help=
835ac_init_version=false
836ac_unrecognized_opts=
837ac_unrecognized_sep=
838# The variables have the same names as the options, with
839# dashes changed to underlines.
840cache_file=/dev/null
841exec_prefix=NONE
842no_create=
843no_recursion=
844prefix=NONE
845program_prefix=NONE
846program_suffix=NONE
847program_transform_name=s,x,x,
848silent=
849site=
850srcdir=
851verbose=
852x_includes=NONE
853x_libraries=NONE
854
855# Installation directory options.
856# These are left unexpanded so users can "make install exec_prefix=/foo"
857# and all the variables that are supposed to be based on exec_prefix
858# by default will actually change.
859# Use braces instead of parens because sh, perl, etc. also accept them.
860# (The list follows the same order as the GNU Coding Standards.)
861bindir='${exec_prefix}/bin'
862sbindir='${exec_prefix}/sbin'
863libexecdir='${exec_prefix}/libexec'
864datarootdir='${prefix}/share'
865datadir='${datarootdir}'
866sysconfdir='${prefix}/etc'
867sharedstatedir='${prefix}/com'
868localstatedir='${prefix}/var'
869includedir='${prefix}/include'
870oldincludedir='/usr/include'
871docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
872infodir='${datarootdir}/info'
873htmldir='${docdir}'
874dvidir='${docdir}'
875pdfdir='${docdir}'
876psdir='${docdir}'
877libdir='${exec_prefix}/lib'
878localedir='${datarootdir}/locale'
879mandir='${datarootdir}/man'
880
881ac_prev=
882ac_dashdash=
883for ac_option
884do
885  # If the previous option needs an argument, assign it.
886  if test -n "$ac_prev"; then
887    eval $ac_prev=\$ac_option
888    ac_prev=
889    continue
890  fi
891
892  case $ac_option in
893  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894  *=)   ac_optarg= ;;
895  *)    ac_optarg=yes ;;
896  esac
897
898  # Accept the important Cygnus configure options, so we can diagnose typos.
899
900  case $ac_dashdash$ac_option in
901  --)
902    ac_dashdash=yes ;;
903
904  -bindir | --bindir | --bindi | --bind | --bin | --bi)
905    ac_prev=bindir ;;
906  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
907    bindir=$ac_optarg ;;
908
909  -build | --build | --buil | --bui | --bu)
910    ac_prev=build_alias ;;
911  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
912    build_alias=$ac_optarg ;;
913
914  -cache-file | --cache-file | --cache-fil | --cache-fi \
915  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
916    ac_prev=cache_file ;;
917  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
918  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
919    cache_file=$ac_optarg ;;
920
921  --config-cache | -C)
922    cache_file=config.cache ;;
923
924  -datadir | --datadir | --datadi | --datad)
925    ac_prev=datadir ;;
926  -datadir=* | --datadir=* | --datadi=* | --datad=*)
927    datadir=$ac_optarg ;;
928
929  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
930  | --dataroo | --dataro | --datar)
931    ac_prev=datarootdir ;;
932  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
933  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
934    datarootdir=$ac_optarg ;;
935
936  -disable-* | --disable-*)
937    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938    # Reject names that are not valid shell variable names.
939    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
940      as_fn_error $? "invalid feature name: $ac_useropt"
941    ac_useropt_orig=$ac_useropt
942    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943    case $ac_user_opts in
944      *"
945"enable_$ac_useropt"
946"*) ;;
947      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948	 ac_unrecognized_sep=', ';;
949    esac
950    eval enable_$ac_useropt=no ;;
951
952  -docdir | --docdir | --docdi | --doc | --do)
953    ac_prev=docdir ;;
954  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
955    docdir=$ac_optarg ;;
956
957  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
958    ac_prev=dvidir ;;
959  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
960    dvidir=$ac_optarg ;;
961
962  -enable-* | --enable-*)
963    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964    # Reject names that are not valid shell variable names.
965    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966      as_fn_error $? "invalid feature name: $ac_useropt"
967    ac_useropt_orig=$ac_useropt
968    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969    case $ac_user_opts in
970      *"
971"enable_$ac_useropt"
972"*) ;;
973      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974	 ac_unrecognized_sep=', ';;
975    esac
976    eval enable_$ac_useropt=\$ac_optarg ;;
977
978  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
979  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
980  | --exec | --exe | --ex)
981    ac_prev=exec_prefix ;;
982  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
983  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
984  | --exec=* | --exe=* | --ex=*)
985    exec_prefix=$ac_optarg ;;
986
987  -gas | --gas | --ga | --g)
988    # Obsolete; use --with-gas.
989    with_gas=yes ;;
990
991  -help | --help | --hel | --he | -h)
992    ac_init_help=long ;;
993  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
994    ac_init_help=recursive ;;
995  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
996    ac_init_help=short ;;
997
998  -host | --host | --hos | --ho)
999    ac_prev=host_alias ;;
1000  -host=* | --host=* | --hos=* | --ho=*)
1001    host_alias=$ac_optarg ;;
1002
1003  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1004    ac_prev=htmldir ;;
1005  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1006  | --ht=*)
1007    htmldir=$ac_optarg ;;
1008
1009  -includedir | --includedir | --includedi | --included | --include \
1010  | --includ | --inclu | --incl | --inc)
1011    ac_prev=includedir ;;
1012  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1013  | --includ=* | --inclu=* | --incl=* | --inc=*)
1014    includedir=$ac_optarg ;;
1015
1016  -infodir | --infodir | --infodi | --infod | --info | --inf)
1017    ac_prev=infodir ;;
1018  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1019    infodir=$ac_optarg ;;
1020
1021  -libdir | --libdir | --libdi | --libd)
1022    ac_prev=libdir ;;
1023  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1024    libdir=$ac_optarg ;;
1025
1026  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1027  | --libexe | --libex | --libe)
1028    ac_prev=libexecdir ;;
1029  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1030  | --libexe=* | --libex=* | --libe=*)
1031    libexecdir=$ac_optarg ;;
1032
1033  -localedir | --localedir | --localedi | --localed | --locale)
1034    ac_prev=localedir ;;
1035  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1036    localedir=$ac_optarg ;;
1037
1038  -localstatedir | --localstatedir | --localstatedi | --localstated \
1039  | --localstate | --localstat | --localsta | --localst | --locals)
1040    ac_prev=localstatedir ;;
1041  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1042  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1043    localstatedir=$ac_optarg ;;
1044
1045  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1046    ac_prev=mandir ;;
1047  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1048    mandir=$ac_optarg ;;
1049
1050  -nfp | --nfp | --nf)
1051    # Obsolete; use --without-fp.
1052    with_fp=no ;;
1053
1054  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1055  | --no-cr | --no-c | -n)
1056    no_create=yes ;;
1057
1058  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1059  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1060    no_recursion=yes ;;
1061
1062  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1063  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1064  | --oldin | --oldi | --old | --ol | --o)
1065    ac_prev=oldincludedir ;;
1066  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1067  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1068  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1069    oldincludedir=$ac_optarg ;;
1070
1071  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1072    ac_prev=prefix ;;
1073  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1074    prefix=$ac_optarg ;;
1075
1076  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1077  | --program-pre | --program-pr | --program-p)
1078    ac_prev=program_prefix ;;
1079  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1080  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1081    program_prefix=$ac_optarg ;;
1082
1083  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1084  | --program-suf | --program-su | --program-s)
1085    ac_prev=program_suffix ;;
1086  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1087  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1088    program_suffix=$ac_optarg ;;
1089
1090  -program-transform-name | --program-transform-name \
1091  | --program-transform-nam | --program-transform-na \
1092  | --program-transform-n | --program-transform- \
1093  | --program-transform | --program-transfor \
1094  | --program-transfo | --program-transf \
1095  | --program-trans | --program-tran \
1096  | --progr-tra | --program-tr | --program-t)
1097    ac_prev=program_transform_name ;;
1098  -program-transform-name=* | --program-transform-name=* \
1099  | --program-transform-nam=* | --program-transform-na=* \
1100  | --program-transform-n=* | --program-transform-=* \
1101  | --program-transform=* | --program-transfor=* \
1102  | --program-transfo=* | --program-transf=* \
1103  | --program-trans=* | --program-tran=* \
1104  | --progr-tra=* | --program-tr=* | --program-t=*)
1105    program_transform_name=$ac_optarg ;;
1106
1107  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1108    ac_prev=pdfdir ;;
1109  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1110    pdfdir=$ac_optarg ;;
1111
1112  -psdir | --psdir | --psdi | --psd | --ps)
1113    ac_prev=psdir ;;
1114  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1115    psdir=$ac_optarg ;;
1116
1117  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1118  | -silent | --silent | --silen | --sile | --sil)
1119    silent=yes ;;
1120
1121  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1122    ac_prev=sbindir ;;
1123  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1124  | --sbi=* | --sb=*)
1125    sbindir=$ac_optarg ;;
1126
1127  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1128  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1129  | --sharedst | --shareds | --shared | --share | --shar \
1130  | --sha | --sh)
1131    ac_prev=sharedstatedir ;;
1132  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1133  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1134  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1135  | --sha=* | --sh=*)
1136    sharedstatedir=$ac_optarg ;;
1137
1138  -site | --site | --sit)
1139    ac_prev=site ;;
1140  -site=* | --site=* | --sit=*)
1141    site=$ac_optarg ;;
1142
1143  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1144    ac_prev=srcdir ;;
1145  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1146    srcdir=$ac_optarg ;;
1147
1148  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1149  | --syscon | --sysco | --sysc | --sys | --sy)
1150    ac_prev=sysconfdir ;;
1151  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1152  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1153    sysconfdir=$ac_optarg ;;
1154
1155  -target | --target | --targe | --targ | --tar | --ta | --t)
1156    ac_prev=target_alias ;;
1157  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1158    target_alias=$ac_optarg ;;
1159
1160  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1161    verbose=yes ;;
1162
1163  -version | --version | --versio | --versi | --vers | -V)
1164    ac_init_version=: ;;
1165
1166  -with-* | --with-*)
1167    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168    # Reject names that are not valid shell variable names.
1169    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1170      as_fn_error $? "invalid package name: $ac_useropt"
1171    ac_useropt_orig=$ac_useropt
1172    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173    case $ac_user_opts in
1174      *"
1175"with_$ac_useropt"
1176"*) ;;
1177      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178	 ac_unrecognized_sep=', ';;
1179    esac
1180    eval with_$ac_useropt=\$ac_optarg ;;
1181
1182  -without-* | --without-*)
1183    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184    # Reject names that are not valid shell variable names.
1185    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1186      as_fn_error $? "invalid package name: $ac_useropt"
1187    ac_useropt_orig=$ac_useropt
1188    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189    case $ac_user_opts in
1190      *"
1191"with_$ac_useropt"
1192"*) ;;
1193      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194	 ac_unrecognized_sep=', ';;
1195    esac
1196    eval with_$ac_useropt=no ;;
1197
1198  --x)
1199    # Obsolete; use --with-x.
1200    with_x=yes ;;
1201
1202  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1203  | --x-incl | --x-inc | --x-in | --x-i)
1204    ac_prev=x_includes ;;
1205  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1206  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1207    x_includes=$ac_optarg ;;
1208
1209  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1210  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1211    ac_prev=x_libraries ;;
1212  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1213  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1214    x_libraries=$ac_optarg ;;
1215
1216  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1217Try \`$0 --help' for more information"
1218    ;;
1219
1220  *=*)
1221    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1222    # Reject names that are not valid shell variable names.
1223    case $ac_envvar in #(
1224      '' | [0-9]* | *[!_$as_cr_alnum]* )
1225      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1226    esac
1227    eval $ac_envvar=\$ac_optarg
1228    export $ac_envvar ;;
1229
1230  *)
1231    # FIXME: should be removed in autoconf 3.0.
1232    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1234      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1236    ;;
1237
1238  esac
1239done
1240
1241if test -n "$ac_prev"; then
1242  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1243  as_fn_error $? "missing argument to $ac_option"
1244fi
1245
1246if test -n "$ac_unrecognized_opts"; then
1247  case $enable_option_checking in
1248    no) ;;
1249    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1250    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251  esac
1252fi
1253
1254# Check all directory arguments for consistency.
1255for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256		datadir sysconfdir sharedstatedir localstatedir includedir \
1257		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258		libdir localedir mandir
1259do
1260  eval ac_val=\$$ac_var
1261  # Remove trailing slashes.
1262  case $ac_val in
1263    */ )
1264      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265      eval $ac_var=\$ac_val;;
1266  esac
1267  # Be sure to have absolute directory names.
1268  case $ac_val in
1269    [\\/$]* | ?:[\\/]* )  continue;;
1270    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1271  esac
1272  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1273done
1274
1275# There might be people who depend on the old broken behavior: `$host'
1276# used to hold the argument of --host etc.
1277# FIXME: To remove some day.
1278build=$build_alias
1279host=$host_alias
1280target=$target_alias
1281
1282# FIXME: To remove some day.
1283if test "x$host_alias" != x; then
1284  if test "x$build_alias" = x; then
1285    cross_compiling=maybe
1286  elif test "x$build_alias" != "x$host_alias"; then
1287    cross_compiling=yes
1288  fi
1289fi
1290
1291ac_tool_prefix=
1292test -n "$host_alias" && ac_tool_prefix=$host_alias-
1293
1294test "$silent" = yes && exec 6>/dev/null
1295
1296
1297ac_pwd=`pwd` && test -n "$ac_pwd" &&
1298ac_ls_di=`ls -di .` &&
1299ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1300  as_fn_error $? "working directory cannot be determined"
1301test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1302  as_fn_error $? "pwd does not report name of working directory"
1303
1304
1305# Find the source files, if location was not specified.
1306if test -z "$srcdir"; then
1307  ac_srcdir_defaulted=yes
1308  # Try the directory containing this script, then the parent directory.
1309  ac_confdir=`$as_dirname -- "$as_myself" ||
1310$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1311	 X"$as_myself" : 'X\(//\)[^/]' \| \
1312	 X"$as_myself" : 'X\(//\)$' \| \
1313	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1314$as_echo X"$as_myself" |
1315    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1316	    s//\1/
1317	    q
1318	  }
1319	  /^X\(\/\/\)[^/].*/{
1320	    s//\1/
1321	    q
1322	  }
1323	  /^X\(\/\/\)$/{
1324	    s//\1/
1325	    q
1326	  }
1327	  /^X\(\/\).*/{
1328	    s//\1/
1329	    q
1330	  }
1331	  s/.*/./; q'`
1332  srcdir=$ac_confdir
1333  if test ! -r "$srcdir/$ac_unique_file"; then
1334    srcdir=..
1335  fi
1336else
1337  ac_srcdir_defaulted=no
1338fi
1339if test ! -r "$srcdir/$ac_unique_file"; then
1340  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1341  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1342fi
1343ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1344ac_abs_confdir=`(
1345	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1346	pwd)`
1347# When building in place, set srcdir=.
1348if test "$ac_abs_confdir" = "$ac_pwd"; then
1349  srcdir=.
1350fi
1351# Remove unnecessary trailing slashes from srcdir.
1352# Double slashes in file names in object file debugging info
1353# mess up M-x gdb in Emacs.
1354case $srcdir in
1355*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356esac
1357for ac_var in $ac_precious_vars; do
1358  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1359  eval ac_env_${ac_var}_value=\$${ac_var}
1360  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1361  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1362done
1363
1364#
1365# Report the --help message.
1366#
1367if test "$ac_init_help" = "long"; then
1368  # Omit some internal or obsolete options to make the list less imposing.
1369  # This message is too long to be a string in the A/UX 3.1 sh.
1370  cat <<_ACEOF
1371\`configure' configures goocanvasmm 1.90.9 to adapt to many kinds of systems.
1372
1373Usage: $0 [OPTION]... [VAR=VALUE]...
1374
1375To assign environment variables (e.g., CC, CFLAGS...), specify them as
1376VAR=VALUE.  See below for descriptions of some of the useful variables.
1377
1378Defaults for the options are specified in brackets.
1379
1380Configuration:
1381  -h, --help              display this help and exit
1382      --help=short        display options specific to this package
1383      --help=recursive    display the short help of all the included packages
1384  -V, --version           display version information and exit
1385  -q, --quiet, --silent   do not print \`checking ...' messages
1386      --cache-file=FILE   cache test results in FILE [disabled]
1387  -C, --config-cache      alias for \`--cache-file=config.cache'
1388  -n, --no-create         do not create output files
1389      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1390
1391Installation directories:
1392  --prefix=PREFIX         install architecture-independent files in PREFIX
1393                          [$ac_default_prefix]
1394  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1395                          [PREFIX]
1396
1397By default, \`make install' will install all the files in
1398\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1399an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1400for instance \`--prefix=\$HOME'.
1401
1402For better control, use the options below.
1403
1404Fine tuning of the installation directories:
1405  --bindir=DIR            user executables [EPREFIX/bin]
1406  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1407  --libexecdir=DIR        program executables [EPREFIX/libexec]
1408  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1409  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1410  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1411  --libdir=DIR            object code libraries [EPREFIX/lib]
1412  --includedir=DIR        C header files [PREFIX/include]
1413  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1414  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1415  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1416  --infodir=DIR           info documentation [DATAROOTDIR/info]
1417  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1418  --mandir=DIR            man documentation [DATAROOTDIR/man]
1419  --docdir=DIR            documentation root [DATAROOTDIR/doc/goocanvasmm]
1420  --htmldir=DIR           html documentation [DOCDIR]
1421  --dvidir=DIR            dvi documentation [DOCDIR]
1422  --pdfdir=DIR            pdf documentation [DOCDIR]
1423  --psdir=DIR             ps documentation [DOCDIR]
1424_ACEOF
1425
1426  cat <<\_ACEOF
1427
1428Program names:
1429  --program-prefix=PREFIX            prepend PREFIX to installed program names
1430  --program-suffix=SUFFIX            append SUFFIX to installed program names
1431  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1432
1433System types:
1434  --build=BUILD     configure for building on BUILD [guessed]
1435  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1436_ACEOF
1437fi
1438
1439if test -n "$ac_init_help"; then
1440  case $ac_init_help in
1441     short | recursive ) echo "Configuration of goocanvasmm 1.90.9:";;
1442   esac
1443  cat <<\_ACEOF
1444
1445Optional Features:
1446  --disable-option-checking  ignore unrecognized --enable/--with options
1447  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1448  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1449  --enable-maintainer-mode  enable make rules and dependencies not useful
1450			  (and sometimes confusing) to the casual installer
1451  --disable-dependency-tracking  speeds up one-time build
1452  --enable-dependency-tracking   do not reject slow dependency extractors
1453  --enable-static[=PKGS]  build static libraries [default=no]
1454  --enable-shared[=PKGS]  build shared libraries [default=yes]
1455  --enable-fast-install[=PKGS]
1456                          optimize for fast installation [default=yes]
1457  --disable-libtool-lock  avoid locking (might break parallel builds)
1458  --disable-documentation do not build or install the documentation
1459  --enable-warnings[=min|max|fatal|no]
1460                          set compiler pedantry level [default=min]
1461
1462Optional Packages:
1463  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1464  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1465  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1466                          both]
1467  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1468  --with-sysroot=DIR Search for dependent libraries within DIR
1469                        (or the compiler's sysroot if not specified).
1470  --with-libstdc-doc=[TAGFILE@]HTMLREFDIR
1471                          Link to external libstdc documentation [auto]
1472  --with-libsigc-doc=[TAGFILE@]HTMLREFDIR
1473                          Link to external libsigc documentation [auto]
1474  --with-glibmm-doc=[TAGFILE@]HTMLREFDIR
1475                          Link to external glibmm documentation [auto]
1476  --with-cairomm-doc=[TAGFILE@]HTMLREFDIR
1477                          Link to external cairomm documentation [auto]
1478  --with-pangomm-doc=[TAGFILE@]HTMLREFDIR
1479                          Link to external pangomm documentation [auto]
1480  --with-gtkmm-doc=[TAGFILE@]HTMLREFDIR
1481                          Link to external gtkmm documentation [auto]
1482
1483Some influential environment variables:
1484  ACLOCAL_FLAGS
1485              aclocal flags, e.g. -I <macro dir>
1486  CXX         C++ compiler command
1487  CXXFLAGS    C++ compiler flags
1488  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1489              nonstandard directory <lib dir>
1490  LIBS        libraries to pass to the linker, e.g. -l<library>
1491  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1492              you have headers in a nonstandard directory <include dir>
1493  CC          C compiler command
1494  CFLAGS      C compiler flags
1495  CPP         C preprocessor
1496  CXXCPP      C++ preprocessor
1497  PKG_CONFIG  path to pkg-config utility
1498  PKG_CONFIG_PATH
1499              directories to add to pkg-config's search path
1500  PKG_CONFIG_LIBDIR
1501              path overriding pkg-config's built-in search path
1502  GOOCANVASMM_CFLAGS
1503              C compiler flags for GOOCANVASMM, overriding pkg-config
1504  GOOCANVASMM_LIBS
1505              linker flags for GOOCANVASMM, overriding pkg-config
1506  PERL        path to Perl interpreter
1507  DOT         path to dot utility
1508  DOXYGEN     path to Doxygen utility
1509  XSLTPROC    path to xsltproc utility
1510
1511Use these variables to override the choices made by `configure' or to help
1512it to find libraries and programs with nonstandard names/locations.
1513
1514Report bugs to <http://bugzilla.gnome.org/>.
1515goocanvasmm home page: <http://www.gtkmm.org/>.
1516_ACEOF
1517ac_status=$?
1518fi
1519
1520if test "$ac_init_help" = "recursive"; then
1521  # If there are subdirs, report their specific --help.
1522  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1523    test -d "$ac_dir" ||
1524      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1525      continue
1526    ac_builddir=.
1527
1528case "$ac_dir" in
1529.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1530*)
1531  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1532  # A ".." for each directory in $ac_dir_suffix.
1533  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1534  case $ac_top_builddir_sub in
1535  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1536  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1537  esac ;;
1538esac
1539ac_abs_top_builddir=$ac_pwd
1540ac_abs_builddir=$ac_pwd$ac_dir_suffix
1541# for backward compatibility:
1542ac_top_builddir=$ac_top_build_prefix
1543
1544case $srcdir in
1545  .)  # We are building in place.
1546    ac_srcdir=.
1547    ac_top_srcdir=$ac_top_builddir_sub
1548    ac_abs_top_srcdir=$ac_pwd ;;
1549  [\\/]* | ?:[\\/]* )  # Absolute name.
1550    ac_srcdir=$srcdir$ac_dir_suffix;
1551    ac_top_srcdir=$srcdir
1552    ac_abs_top_srcdir=$srcdir ;;
1553  *) # Relative name.
1554    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1555    ac_top_srcdir=$ac_top_build_prefix$srcdir
1556    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1557esac
1558ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1559
1560    cd "$ac_dir" || { ac_status=$?; continue; }
1561    # Check for guested configure.
1562    if test -f "$ac_srcdir/configure.gnu"; then
1563      echo &&
1564      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1565    elif test -f "$ac_srcdir/configure"; then
1566      echo &&
1567      $SHELL "$ac_srcdir/configure" --help=recursive
1568    else
1569      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1570    fi || ac_status=$?
1571    cd "$ac_pwd" || { ac_status=$?; break; }
1572  done
1573fi
1574
1575test -n "$ac_init_help" && exit $ac_status
1576if $ac_init_version; then
1577  cat <<\_ACEOF
1578goocanvasmm configure 1.90.9
1579generated by GNU Autoconf 2.69
1580
1581Copyright (C) 2012 Free Software Foundation, Inc.
1582This configure script is free software; the Free Software Foundation
1583gives unlimited permission to copy, distribute and modify it.
1584_ACEOF
1585  exit
1586fi
1587
1588## ------------------------ ##
1589## Autoconf initialization. ##
1590## ------------------------ ##
1591
1592# ac_fn_cxx_try_compile LINENO
1593# ----------------------------
1594# Try to compile conftest.$ac_ext, and return whether this succeeded.
1595ac_fn_cxx_try_compile ()
1596{
1597  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598  rm -f conftest.$ac_objext
1599  if { { ac_try="$ac_compile"
1600case "(($ac_try" in
1601  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1602  *) ac_try_echo=$ac_try;;
1603esac
1604eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1605$as_echo "$ac_try_echo"; } >&5
1606  (eval "$ac_compile") 2>conftest.err
1607  ac_status=$?
1608  if test -s conftest.err; then
1609    grep -v '^ *+' conftest.err >conftest.er1
1610    cat conftest.er1 >&5
1611    mv -f conftest.er1 conftest.err
1612  fi
1613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1614  test $ac_status = 0; } && {
1615	 test -z "$ac_cxx_werror_flag" ||
1616	 test ! -s conftest.err
1617       } && test -s conftest.$ac_objext; then :
1618  ac_retval=0
1619else
1620  $as_echo "$as_me: failed program was:" >&5
1621sed 's/^/| /' conftest.$ac_ext >&5
1622
1623	ac_retval=1
1624fi
1625  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1626  as_fn_set_status $ac_retval
1627
1628} # ac_fn_cxx_try_compile
1629
1630# ac_fn_c_try_compile LINENO
1631# --------------------------
1632# Try to compile conftest.$ac_ext, and return whether this succeeded.
1633ac_fn_c_try_compile ()
1634{
1635  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636  rm -f conftest.$ac_objext
1637  if { { ac_try="$ac_compile"
1638case "(($ac_try" in
1639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640  *) ac_try_echo=$ac_try;;
1641esac
1642eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643$as_echo "$ac_try_echo"; } >&5
1644  (eval "$ac_compile") 2>conftest.err
1645  ac_status=$?
1646  if test -s conftest.err; then
1647    grep -v '^ *+' conftest.err >conftest.er1
1648    cat conftest.er1 >&5
1649    mv -f conftest.er1 conftest.err
1650  fi
1651  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652  test $ac_status = 0; } && {
1653	 test -z "$ac_c_werror_flag" ||
1654	 test ! -s conftest.err
1655       } && test -s conftest.$ac_objext; then :
1656  ac_retval=0
1657else
1658  $as_echo "$as_me: failed program was:" >&5
1659sed 's/^/| /' conftest.$ac_ext >&5
1660
1661	ac_retval=1
1662fi
1663  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664  as_fn_set_status $ac_retval
1665
1666} # ac_fn_c_try_compile
1667
1668# ac_fn_c_try_link LINENO
1669# -----------------------
1670# Try to link conftest.$ac_ext, and return whether this succeeded.
1671ac_fn_c_try_link ()
1672{
1673  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674  rm -f conftest.$ac_objext conftest$ac_exeext
1675  if { { ac_try="$ac_link"
1676case "(($ac_try" in
1677  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678  *) ac_try_echo=$ac_try;;
1679esac
1680eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681$as_echo "$ac_try_echo"; } >&5
1682  (eval "$ac_link") 2>conftest.err
1683  ac_status=$?
1684  if test -s conftest.err; then
1685    grep -v '^ *+' conftest.err >conftest.er1
1686    cat conftest.er1 >&5
1687    mv -f conftest.er1 conftest.err
1688  fi
1689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690  test $ac_status = 0; } && {
1691	 test -z "$ac_c_werror_flag" ||
1692	 test ! -s conftest.err
1693       } && test -s conftest$ac_exeext && {
1694	 test "$cross_compiling" = yes ||
1695	 test -x conftest$ac_exeext
1696       }; then :
1697  ac_retval=0
1698else
1699  $as_echo "$as_me: failed program was:" >&5
1700sed 's/^/| /' conftest.$ac_ext >&5
1701
1702	ac_retval=1
1703fi
1704  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1705  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1706  # interfere with the next link command; also delete a directory that is
1707  # left behind by Apple's compiler.  We do this before executing the actions.
1708  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1709  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710  as_fn_set_status $ac_retval
1711
1712} # ac_fn_c_try_link
1713
1714# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1715# -------------------------------------------------------
1716# Tests whether HEADER exists and can be compiled using the include files in
1717# INCLUDES, setting the cache variable VAR accordingly.
1718ac_fn_c_check_header_compile ()
1719{
1720  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1722$as_echo_n "checking for $2... " >&6; }
1723if eval \${$3+:} false; then :
1724  $as_echo_n "(cached) " >&6
1725else
1726  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1727/* end confdefs.h.  */
1728$4
1729#include <$2>
1730_ACEOF
1731if ac_fn_c_try_compile "$LINENO"; then :
1732  eval "$3=yes"
1733else
1734  eval "$3=no"
1735fi
1736rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1737fi
1738eval ac_res=\$$3
1739	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1740$as_echo "$ac_res" >&6; }
1741  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1742
1743} # ac_fn_c_check_header_compile
1744
1745# ac_fn_c_try_cpp LINENO
1746# ----------------------
1747# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1748ac_fn_c_try_cpp ()
1749{
1750  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1751  if { { ac_try="$ac_cpp conftest.$ac_ext"
1752case "(($ac_try" in
1753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1754  *) ac_try_echo=$ac_try;;
1755esac
1756eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1757$as_echo "$ac_try_echo"; } >&5
1758  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1759  ac_status=$?
1760  if test -s conftest.err; then
1761    grep -v '^ *+' conftest.err >conftest.er1
1762    cat conftest.er1 >&5
1763    mv -f conftest.er1 conftest.err
1764  fi
1765  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766  test $ac_status = 0; } > conftest.i && {
1767	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1768	 test ! -s conftest.err
1769       }; then :
1770  ac_retval=0
1771else
1772  $as_echo "$as_me: failed program was:" >&5
1773sed 's/^/| /' conftest.$ac_ext >&5
1774
1775    ac_retval=1
1776fi
1777  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1778  as_fn_set_status $ac_retval
1779
1780} # ac_fn_c_try_cpp
1781
1782# ac_fn_c_try_run LINENO
1783# ----------------------
1784# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1785# that executables *can* be run.
1786ac_fn_c_try_run ()
1787{
1788  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1789  if { { ac_try="$ac_link"
1790case "(($ac_try" in
1791  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1792  *) ac_try_echo=$ac_try;;
1793esac
1794eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1795$as_echo "$ac_try_echo"; } >&5
1796  (eval "$ac_link") 2>&5
1797  ac_status=$?
1798  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1799  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1800  { { case "(($ac_try" in
1801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802  *) ac_try_echo=$ac_try;;
1803esac
1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805$as_echo "$ac_try_echo"; } >&5
1806  (eval "$ac_try") 2>&5
1807  ac_status=$?
1808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809  test $ac_status = 0; }; }; then :
1810  ac_retval=0
1811else
1812  $as_echo "$as_me: program exited with status $ac_status" >&5
1813       $as_echo "$as_me: failed program was:" >&5
1814sed 's/^/| /' conftest.$ac_ext >&5
1815
1816       ac_retval=$ac_status
1817fi
1818  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1819  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820  as_fn_set_status $ac_retval
1821
1822} # ac_fn_c_try_run
1823
1824# ac_fn_c_check_func LINENO FUNC VAR
1825# ----------------------------------
1826# Tests whether FUNC exists, setting the cache variable VAR accordingly
1827ac_fn_c_check_func ()
1828{
1829  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1831$as_echo_n "checking for $2... " >&6; }
1832if eval \${$3+:} false; then :
1833  $as_echo_n "(cached) " >&6
1834else
1835  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1836/* end confdefs.h.  */
1837/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1838   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1839#define $2 innocuous_$2
1840
1841/* System header to define __stub macros and hopefully few prototypes,
1842    which can conflict with char $2 (); below.
1843    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1844    <limits.h> exists even on freestanding compilers.  */
1845
1846#ifdef __STDC__
1847# include <limits.h>
1848#else
1849# include <assert.h>
1850#endif
1851
1852#undef $2
1853
1854/* Override any GCC internal prototype to avoid an error.
1855   Use char because int might match the return type of a GCC
1856   builtin and then its argument prototype would still apply.  */
1857#ifdef __cplusplus
1858extern "C"
1859#endif
1860char $2 ();
1861/* The GNU C library defines this for functions which it implements
1862    to always fail with ENOSYS.  Some functions are actually named
1863    something starting with __ and the normal name is an alias.  */
1864#if defined __stub_$2 || defined __stub___$2
1865choke me
1866#endif
1867
1868int
1869main ()
1870{
1871return $2 ();
1872  ;
1873  return 0;
1874}
1875_ACEOF
1876if ac_fn_c_try_link "$LINENO"; then :
1877  eval "$3=yes"
1878else
1879  eval "$3=no"
1880fi
1881rm -f core conftest.err conftest.$ac_objext \
1882    conftest$ac_exeext conftest.$ac_ext
1883fi
1884eval ac_res=\$$3
1885	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1886$as_echo "$ac_res" >&6; }
1887  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1888
1889} # ac_fn_c_check_func
1890
1891# ac_fn_cxx_try_cpp LINENO
1892# ------------------------
1893# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894ac_fn_cxx_try_cpp ()
1895{
1896  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897  if { { ac_try="$ac_cpp conftest.$ac_ext"
1898case "(($ac_try" in
1899  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900  *) ac_try_echo=$ac_try;;
1901esac
1902eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903$as_echo "$ac_try_echo"; } >&5
1904  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905  ac_status=$?
1906  if test -s conftest.err; then
1907    grep -v '^ *+' conftest.err >conftest.er1
1908    cat conftest.er1 >&5
1909    mv -f conftest.er1 conftest.err
1910  fi
1911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912  test $ac_status = 0; } > conftest.i && {
1913	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1914	 test ! -s conftest.err
1915       }; then :
1916  ac_retval=0
1917else
1918  $as_echo "$as_me: failed program was:" >&5
1919sed 's/^/| /' conftest.$ac_ext >&5
1920
1921    ac_retval=1
1922fi
1923  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924  as_fn_set_status $ac_retval
1925
1926} # ac_fn_cxx_try_cpp
1927
1928# ac_fn_cxx_try_link LINENO
1929# -------------------------
1930# Try to link conftest.$ac_ext, and return whether this succeeded.
1931ac_fn_cxx_try_link ()
1932{
1933  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934  rm -f conftest.$ac_objext conftest$ac_exeext
1935  if { { ac_try="$ac_link"
1936case "(($ac_try" in
1937  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938  *) ac_try_echo=$ac_try;;
1939esac
1940eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941$as_echo "$ac_try_echo"; } >&5
1942  (eval "$ac_link") 2>conftest.err
1943  ac_status=$?
1944  if test -s conftest.err; then
1945    grep -v '^ *+' conftest.err >conftest.er1
1946    cat conftest.er1 >&5
1947    mv -f conftest.er1 conftest.err
1948  fi
1949  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950  test $ac_status = 0; } && {
1951	 test -z "$ac_cxx_werror_flag" ||
1952	 test ! -s conftest.err
1953       } && test -s conftest$ac_exeext && {
1954	 test "$cross_compiling" = yes ||
1955	 test -x conftest$ac_exeext
1956       }; then :
1957  ac_retval=0
1958else
1959  $as_echo "$as_me: failed program was:" >&5
1960sed 's/^/| /' conftest.$ac_ext >&5
1961
1962	ac_retval=1
1963fi
1964  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966  # interfere with the next link command; also delete a directory that is
1967  # left behind by Apple's compiler.  We do this before executing the actions.
1968  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970  as_fn_set_status $ac_retval
1971
1972} # ac_fn_cxx_try_link
1973cat >config.log <<_ACEOF
1974This file contains any messages produced by compilers while
1975running configure, to aid debugging if configure makes a mistake.
1976
1977It was created by goocanvasmm $as_me 1.90.9, which was
1978generated by GNU Autoconf 2.69.  Invocation command line was
1979
1980  $ $0 $@
1981
1982_ACEOF
1983exec 5>>config.log
1984{
1985cat <<_ASUNAME
1986## --------- ##
1987## Platform. ##
1988## --------- ##
1989
1990hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1991uname -m = `(uname -m) 2>/dev/null || echo unknown`
1992uname -r = `(uname -r) 2>/dev/null || echo unknown`
1993uname -s = `(uname -s) 2>/dev/null || echo unknown`
1994uname -v = `(uname -v) 2>/dev/null || echo unknown`
1995
1996/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1997/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1998
1999/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2000/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2001/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2002/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2003/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2004/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2005/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2006
2007_ASUNAME
2008
2009as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2010for as_dir in $PATH
2011do
2012  IFS=$as_save_IFS
2013  test -z "$as_dir" && as_dir=.
2014    $as_echo "PATH: $as_dir"
2015  done
2016IFS=$as_save_IFS
2017
2018} >&5
2019
2020cat >&5 <<_ACEOF
2021
2022
2023## ----------- ##
2024## Core tests. ##
2025## ----------- ##
2026
2027_ACEOF
2028
2029
2030# Keep a trace of the command line.
2031# Strip out --no-create and --no-recursion so they do not pile up.
2032# Strip out --silent because we don't want to record it for future runs.
2033# Also quote any args containing shell meta-characters.
2034# Make two passes to allow for proper duplicate-argument suppression.
2035ac_configure_args=
2036ac_configure_args0=
2037ac_configure_args1=
2038ac_must_keep_next=false
2039for ac_pass in 1 2
2040do
2041  for ac_arg
2042  do
2043    case $ac_arg in
2044    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2045    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2046    | -silent | --silent | --silen | --sile | --sil)
2047      continue ;;
2048    *\'*)
2049      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2050    esac
2051    case $ac_pass in
2052    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2053    2)
2054      as_fn_append ac_configure_args1 " '$ac_arg'"
2055      if test $ac_must_keep_next = true; then
2056	ac_must_keep_next=false # Got value, back to normal.
2057      else
2058	case $ac_arg in
2059	  *=* | --config-cache | -C | -disable-* | --disable-* \
2060	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2061	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2062	  | -with-* | --with-* | -without-* | --without-* | --x)
2063	    case "$ac_configure_args0 " in
2064	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2065	    esac
2066	    ;;
2067	  -* ) ac_must_keep_next=true ;;
2068	esac
2069      fi
2070      as_fn_append ac_configure_args " '$ac_arg'"
2071      ;;
2072    esac
2073  done
2074done
2075{ ac_configure_args0=; unset ac_configure_args0;}
2076{ ac_configure_args1=; unset ac_configure_args1;}
2077
2078# When interrupted or exit'd, cleanup temporary files, and complete
2079# config.log.  We remove comments because anyway the quotes in there
2080# would cause problems or look ugly.
2081# WARNING: Use '\'' to represent an apostrophe within the trap.
2082# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2083trap 'exit_status=$?
2084  # Save into config.log some information that might help in debugging.
2085  {
2086    echo
2087
2088    $as_echo "## ---------------- ##
2089## Cache variables. ##
2090## ---------------- ##"
2091    echo
2092    # The following way of writing the cache mishandles newlines in values,
2093(
2094  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2095    eval ac_val=\$$ac_var
2096    case $ac_val in #(
2097    *${as_nl}*)
2098      case $ac_var in #(
2099      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2100$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2101      esac
2102      case $ac_var in #(
2103      _ | IFS | as_nl) ;; #(
2104      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2105      *) { eval $ac_var=; unset $ac_var;} ;;
2106      esac ;;
2107    esac
2108  done
2109  (set) 2>&1 |
2110    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2111    *${as_nl}ac_space=\ *)
2112      sed -n \
2113	"s/'\''/'\''\\\\'\'''\''/g;
2114	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2115      ;; #(
2116    *)
2117      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2118      ;;
2119    esac |
2120    sort
2121)
2122    echo
2123
2124    $as_echo "## ----------------- ##
2125## Output variables. ##
2126## ----------------- ##"
2127    echo
2128    for ac_var in $ac_subst_vars
2129    do
2130      eval ac_val=\$$ac_var
2131      case $ac_val in
2132      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2133      esac
2134      $as_echo "$ac_var='\''$ac_val'\''"
2135    done | sort
2136    echo
2137
2138    if test -n "$ac_subst_files"; then
2139      $as_echo "## ------------------- ##
2140## File substitutions. ##
2141## ------------------- ##"
2142      echo
2143      for ac_var in $ac_subst_files
2144      do
2145	eval ac_val=\$$ac_var
2146	case $ac_val in
2147	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2148	esac
2149	$as_echo "$ac_var='\''$ac_val'\''"
2150      done | sort
2151      echo
2152    fi
2153
2154    if test -s confdefs.h; then
2155      $as_echo "## ----------- ##
2156## confdefs.h. ##
2157## ----------- ##"
2158      echo
2159      cat confdefs.h
2160      echo
2161    fi
2162    test "$ac_signal" != 0 &&
2163      $as_echo "$as_me: caught signal $ac_signal"
2164    $as_echo "$as_me: exit $exit_status"
2165  } >&5
2166  rm -f core *.core core.conftest.* &&
2167    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2168    exit $exit_status
2169' 0
2170for ac_signal in 1 2 13 15; do
2171  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2172done
2173ac_signal=0
2174
2175# confdefs.h avoids OS command line length limits that DEFS can exceed.
2176rm -f -r conftest* confdefs.h
2177
2178$as_echo "/* confdefs.h */" > confdefs.h
2179
2180# Predefined preprocessor variables.
2181
2182cat >>confdefs.h <<_ACEOF
2183#define PACKAGE_NAME "$PACKAGE_NAME"
2184_ACEOF
2185
2186cat >>confdefs.h <<_ACEOF
2187#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2188_ACEOF
2189
2190cat >>confdefs.h <<_ACEOF
2191#define PACKAGE_VERSION "$PACKAGE_VERSION"
2192_ACEOF
2193
2194cat >>confdefs.h <<_ACEOF
2195#define PACKAGE_STRING "$PACKAGE_STRING"
2196_ACEOF
2197
2198cat >>confdefs.h <<_ACEOF
2199#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2200_ACEOF
2201
2202cat >>confdefs.h <<_ACEOF
2203#define PACKAGE_URL "$PACKAGE_URL"
2204_ACEOF
2205
2206
2207# Let the site file select an alternate cache file if it wants to.
2208# Prefer an explicitly selected file to automatically selected ones.
2209ac_site_file1=NONE
2210ac_site_file2=NONE
2211if test -n "$CONFIG_SITE"; then
2212  # We do not want a PATH search for config.site.
2213  case $CONFIG_SITE in #((
2214    -*)  ac_site_file1=./$CONFIG_SITE;;
2215    */*) ac_site_file1=$CONFIG_SITE;;
2216    *)   ac_site_file1=./$CONFIG_SITE;;
2217  esac
2218elif test "x$prefix" != xNONE; then
2219  ac_site_file1=$prefix/share/config.site
2220  ac_site_file2=$prefix/etc/config.site
2221else
2222  ac_site_file1=$ac_default_prefix/share/config.site
2223  ac_site_file2=$ac_default_prefix/etc/config.site
2224fi
2225for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2226do
2227  test "x$ac_site_file" = xNONE && continue
2228  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2229    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2230$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2231    sed 's/^/| /' "$ac_site_file" >&5
2232    . "$ac_site_file" \
2233      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2235as_fn_error $? "failed to load site script $ac_site_file
2236See \`config.log' for more details" "$LINENO" 5; }
2237  fi
2238done
2239
2240if test -r "$cache_file"; then
2241  # Some versions of bash will fail to source /dev/null (special files
2242  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2243  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2244    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2245$as_echo "$as_me: loading cache $cache_file" >&6;}
2246    case $cache_file in
2247      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2248      *)                      . "./$cache_file";;
2249    esac
2250  fi
2251else
2252  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2253$as_echo "$as_me: creating cache $cache_file" >&6;}
2254  >$cache_file
2255fi
2256
2257# Check that the precious variables saved in the cache have kept the same
2258# value.
2259ac_cache_corrupted=false
2260for ac_var in $ac_precious_vars; do
2261  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2262  eval ac_new_set=\$ac_env_${ac_var}_set
2263  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2264  eval ac_new_val=\$ac_env_${ac_var}_value
2265  case $ac_old_set,$ac_new_set in
2266    set,)
2267      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2268$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2269      ac_cache_corrupted=: ;;
2270    ,set)
2271      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2272$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2273      ac_cache_corrupted=: ;;
2274    ,);;
2275    *)
2276      if test "x$ac_old_val" != "x$ac_new_val"; then
2277	# differences in whitespace do not lead to failure.
2278	ac_old_val_w=`echo x $ac_old_val`
2279	ac_new_val_w=`echo x $ac_new_val`
2280	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2281	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2282$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2283	  ac_cache_corrupted=:
2284	else
2285	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2286$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2287	  eval $ac_var=\$ac_old_val
2288	fi
2289	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2290$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2291	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2292$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2293      fi;;
2294  esac
2295  # Pass precious variables to config.status.
2296  if test "$ac_new_set" = set; then
2297    case $ac_new_val in
2298    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2299    *) ac_arg=$ac_var=$ac_new_val ;;
2300    esac
2301    case " $ac_configure_args " in
2302      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2303      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2304    esac
2305  fi
2306done
2307if $ac_cache_corrupted; then
2308  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2311$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2312  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2313fi
2314## -------------------- ##
2315## Main body of script. ##
2316## -------------------- ##
2317
2318ac_ext=c
2319ac_cpp='$CPP $CPPFLAGS'
2320ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2321ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2322ac_compiler_gnu=$ac_cv_c_compiler_gnu
2323
2324
2325
2326
2327
2328ac_aux_dir=
2329for ac_dir in build "$srcdir"/build; do
2330  if test -f "$ac_dir/install-sh"; then
2331    ac_aux_dir=$ac_dir
2332    ac_install_sh="$ac_aux_dir/install-sh -c"
2333    break
2334  elif test -f "$ac_dir/install.sh"; then
2335    ac_aux_dir=$ac_dir
2336    ac_install_sh="$ac_aux_dir/install.sh -c"
2337    break
2338  elif test -f "$ac_dir/shtool"; then
2339    ac_aux_dir=$ac_dir
2340    ac_install_sh="$ac_aux_dir/shtool install -c"
2341    break
2342  fi
2343done
2344if test -z "$ac_aux_dir"; then
2345  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2346fi
2347
2348# These three variables are undocumented and unsupported,
2349# and are intended to be withdrawn in a future Autoconf release.
2350# They can cause serious problems if a builder's source tree is in a directory
2351# whose full name contains unusual characters.
2352ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2353ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2354ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2355
2356
2357
2358ac_config_headers="$ac_config_headers build/config.h goocanvas/goocanvasmmconfig.h"
2359
2360
2361am__api_version='1.11'
2362
2363# Find a good install program.  We prefer a C program (faster),
2364# so one script is as good as another.  But avoid the broken or
2365# incompatible versions:
2366# SysV /etc/install, /usr/sbin/install
2367# SunOS /usr/etc/install
2368# IRIX /sbin/install
2369# AIX /bin/install
2370# AmigaOS /C/install, which installs bootblocks on floppy discs
2371# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2372# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2373# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2374# OS/2's system install, which has a completely different semantic
2375# ./install, which can be erroneously created by make from ./install.sh.
2376# Reject install programs that cannot install multiple files.
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2378$as_echo_n "checking for a BSD-compatible install... " >&6; }
2379if test -z "$INSTALL"; then
2380if ${ac_cv_path_install+:} false; then :
2381  $as_echo_n "(cached) " >&6
2382else
2383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384for as_dir in $PATH
2385do
2386  IFS=$as_save_IFS
2387  test -z "$as_dir" && as_dir=.
2388    # Account for people who put trailing slashes in PATH elements.
2389case $as_dir/ in #((
2390  ./ | .// | /[cC]/* | \
2391  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2392  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2393  /usr/ucb/* ) ;;
2394  *)
2395    # OSF1 and SCO ODT 3.0 have their own names for install.
2396    # Don't use installbsd from OSF since it installs stuff as root
2397    # by default.
2398    for ac_prog in ginstall scoinst install; do
2399      for ac_exec_ext in '' $ac_executable_extensions; do
2400	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2401	  if test $ac_prog = install &&
2402	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403	    # AIX install.  It has an incompatible calling convention.
2404	    :
2405	  elif test $ac_prog = install &&
2406	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407	    # program-specific install script used by HP pwplus--don't use.
2408	    :
2409	  else
2410	    rm -rf conftest.one conftest.two conftest.dir
2411	    echo one > conftest.one
2412	    echo two > conftest.two
2413	    mkdir conftest.dir
2414	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2415	      test -s conftest.one && test -s conftest.two &&
2416	      test -s conftest.dir/conftest.one &&
2417	      test -s conftest.dir/conftest.two
2418	    then
2419	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2420	      break 3
2421	    fi
2422	  fi
2423	fi
2424      done
2425    done
2426    ;;
2427esac
2428
2429  done
2430IFS=$as_save_IFS
2431
2432rm -rf conftest.one conftest.two conftest.dir
2433
2434fi
2435  if test "${ac_cv_path_install+set}" = set; then
2436    INSTALL=$ac_cv_path_install
2437  else
2438    # As a last resort, use the slow shell script.  Don't cache a
2439    # value for INSTALL within a source directory, because that will
2440    # break other packages using the cache if that directory is
2441    # removed, or if the value is a relative name.
2442    INSTALL=$ac_install_sh
2443  fi
2444fi
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2446$as_echo "$INSTALL" >&6; }
2447
2448# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2449# It thinks the first close brace ends the variable substitution.
2450test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2451
2452test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2453
2454test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2455
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2457$as_echo_n "checking whether build environment is sane... " >&6; }
2458# Just in case
2459sleep 1
2460echo timestamp > conftest.file
2461# Reject unsafe characters in $srcdir or the absolute working directory
2462# name.  Accept space and tab only in the latter.
2463am_lf='
2464'
2465case `pwd` in
2466  *[\\\"\#\$\&\'\`$am_lf]*)
2467    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2468esac
2469case $srcdir in
2470  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2471    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2472esac
2473
2474# Do `set' in a subshell so we don't clobber the current shell's
2475# arguments.  Must try -L first in case configure is actually a
2476# symlink; some systems play weird games with the mod time of symlinks
2477# (eg FreeBSD returns the mod time of the symlink's containing
2478# directory).
2479if (
2480   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2481   if test "$*" = "X"; then
2482      # -L didn't work.
2483      set X `ls -t "$srcdir/configure" conftest.file`
2484   fi
2485   rm -f conftest.file
2486   if test "$*" != "X $srcdir/configure conftest.file" \
2487      && test "$*" != "X conftest.file $srcdir/configure"; then
2488
2489      # If neither matched, then we have a broken ls.  This can happen
2490      # if, for instance, CONFIG_SHELL is bash and it inherits a
2491      # broken ls alias from the environment.  This has actually
2492      # happened.  Such a system could not be considered "sane".
2493      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2494alias in your environment" "$LINENO" 5
2495   fi
2496
2497   test "$2" = conftest.file
2498   )
2499then
2500   # Ok.
2501   :
2502else
2503   as_fn_error $? "newly created file is older than distributed files!
2504Check your system clock" "$LINENO" 5
2505fi
2506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2507$as_echo "yes" >&6; }
2508test "$program_prefix" != NONE &&
2509  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2510# Use a double $ so make ignores it.
2511test "$program_suffix" != NONE &&
2512  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2513# Double any \ or $.
2514# By default was `s,x,x', remove it if useless.
2515ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2516program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2517
2518# expand $ac_aux_dir to an absolute path
2519am_aux_dir=`cd $ac_aux_dir && pwd`
2520
2521if test x"${MISSING+set}" != xset; then
2522  case $am_aux_dir in
2523  *\ * | *\	*)
2524    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2525  *)
2526    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2527  esac
2528fi
2529# Use eval to expand $SHELL
2530if eval "$MISSING --run true"; then
2531  am_missing_run="$MISSING --run "
2532else
2533  am_missing_run=
2534  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2535$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2536fi
2537
2538if test x"${install_sh}" != xset; then
2539  case $am_aux_dir in
2540  *\ * | *\	*)
2541    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2542  *)
2543    install_sh="\${SHELL} $am_aux_dir/install-sh"
2544  esac
2545fi
2546
2547# Installed binaries are usually stripped using `strip' when the user
2548# run `make install-strip'.  However `strip' might not be the right
2549# tool to use in cross-compilation environments, therefore Automake
2550# will honor the `STRIP' environment variable to overrule this program.
2551if test "$cross_compiling" != no; then
2552  if test -n "$ac_tool_prefix"; then
2553  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2554set dummy ${ac_tool_prefix}strip; ac_word=$2
2555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2556$as_echo_n "checking for $ac_word... " >&6; }
2557if ${ac_cv_prog_STRIP+:} false; then :
2558  $as_echo_n "(cached) " >&6
2559else
2560  if test -n "$STRIP"; then
2561  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2562else
2563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2564for as_dir in $PATH
2565do
2566  IFS=$as_save_IFS
2567  test -z "$as_dir" && as_dir=.
2568    for ac_exec_ext in '' $ac_executable_extensions; do
2569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572    break 2
2573  fi
2574done
2575  done
2576IFS=$as_save_IFS
2577
2578fi
2579fi
2580STRIP=$ac_cv_prog_STRIP
2581if test -n "$STRIP"; then
2582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2583$as_echo "$STRIP" >&6; }
2584else
2585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586$as_echo "no" >&6; }
2587fi
2588
2589
2590fi
2591if test -z "$ac_cv_prog_STRIP"; then
2592  ac_ct_STRIP=$STRIP
2593  # Extract the first word of "strip", so it can be a program name with args.
2594set dummy strip; ac_word=$2
2595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2596$as_echo_n "checking for $ac_word... " >&6; }
2597if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2598  $as_echo_n "(cached) " >&6
2599else
2600  if test -n "$ac_ct_STRIP"; then
2601  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2602else
2603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2604for as_dir in $PATH
2605do
2606  IFS=$as_save_IFS
2607  test -z "$as_dir" && as_dir=.
2608    for ac_exec_ext in '' $ac_executable_extensions; do
2609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2610    ac_cv_prog_ac_ct_STRIP="strip"
2611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2612    break 2
2613  fi
2614done
2615  done
2616IFS=$as_save_IFS
2617
2618fi
2619fi
2620ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2621if test -n "$ac_ct_STRIP"; then
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2623$as_echo "$ac_ct_STRIP" >&6; }
2624else
2625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2626$as_echo "no" >&6; }
2627fi
2628
2629  if test "x$ac_ct_STRIP" = x; then
2630    STRIP=":"
2631  else
2632    case $cross_compiling:$ac_tool_warned in
2633yes:)
2634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2636ac_tool_warned=yes ;;
2637esac
2638    STRIP=$ac_ct_STRIP
2639  fi
2640else
2641  STRIP="$ac_cv_prog_STRIP"
2642fi
2643
2644fi
2645INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2646
2647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2648$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2649if test -z "$MKDIR_P"; then
2650  if ${ac_cv_path_mkdir+:} false; then :
2651  $as_echo_n "(cached) " >&6
2652else
2653  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2655do
2656  IFS=$as_save_IFS
2657  test -z "$as_dir" && as_dir=.
2658    for ac_prog in mkdir gmkdir; do
2659	 for ac_exec_ext in '' $ac_executable_extensions; do
2660	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2661	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2662	     'mkdir (GNU coreutils) '* | \
2663	     'mkdir (coreutils) '* | \
2664	     'mkdir (fileutils) '4.1*)
2665	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2666	       break 3;;
2667	   esac
2668	 done
2669       done
2670  done
2671IFS=$as_save_IFS
2672
2673fi
2674
2675  test -d ./--version && rmdir ./--version
2676  if test "${ac_cv_path_mkdir+set}" = set; then
2677    MKDIR_P="$ac_cv_path_mkdir -p"
2678  else
2679    # As a last resort, use the slow shell script.  Don't cache a
2680    # value for MKDIR_P within a source directory, because that will
2681    # break other packages using the cache if that directory is
2682    # removed, or if the value is a relative name.
2683    MKDIR_P="$ac_install_sh -d"
2684  fi
2685fi
2686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2687$as_echo "$MKDIR_P" >&6; }
2688
2689mkdir_p="$MKDIR_P"
2690case $mkdir_p in
2691  [\\/$]* | ?:[\\/]*) ;;
2692  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2693esac
2694
2695for ac_prog in gawk mawk nawk awk
2696do
2697  # Extract the first word of "$ac_prog", so it can be a program name with args.
2698set dummy $ac_prog; ac_word=$2
2699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2700$as_echo_n "checking for $ac_word... " >&6; }
2701if ${ac_cv_prog_AWK+:} false; then :
2702  $as_echo_n "(cached) " >&6
2703else
2704  if test -n "$AWK"; then
2705  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2706else
2707as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2708for as_dir in $PATH
2709do
2710  IFS=$as_save_IFS
2711  test -z "$as_dir" && as_dir=.
2712    for ac_exec_ext in '' $ac_executable_extensions; do
2713  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2714    ac_cv_prog_AWK="$ac_prog"
2715    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716    break 2
2717  fi
2718done
2719  done
2720IFS=$as_save_IFS
2721
2722fi
2723fi
2724AWK=$ac_cv_prog_AWK
2725if test -n "$AWK"; then
2726  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2727$as_echo "$AWK" >&6; }
2728else
2729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2730$as_echo "no" >&6; }
2731fi
2732
2733
2734  test -n "$AWK" && break
2735done
2736
2737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2738$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2739set x ${MAKE-make}
2740ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2741if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2742  $as_echo_n "(cached) " >&6
2743else
2744  cat >conftest.make <<\_ACEOF
2745SHELL = /bin/sh
2746all:
2747	@echo '@@@%%%=$(MAKE)=@@@%%%'
2748_ACEOF
2749# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2750case `${MAKE-make} -f conftest.make 2>/dev/null` in
2751  *@@@%%%=?*=@@@%%%*)
2752    eval ac_cv_prog_make_${ac_make}_set=yes;;
2753  *)
2754    eval ac_cv_prog_make_${ac_make}_set=no;;
2755esac
2756rm -f conftest.make
2757fi
2758if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2760$as_echo "yes" >&6; }
2761  SET_MAKE=
2762else
2763  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2764$as_echo "no" >&6; }
2765  SET_MAKE="MAKE=${MAKE-make}"
2766fi
2767
2768rm -rf .tst 2>/dev/null
2769mkdir .tst 2>/dev/null
2770if test -d .tst; then
2771  am__leading_dot=.
2772else
2773  am__leading_dot=_
2774fi
2775rmdir .tst 2>/dev/null
2776
2777if test "`cd $srcdir && pwd`" != "`pwd`"; then
2778  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2779  # is not polluted with repeated "-I."
2780  am__isrc=' -I$(srcdir)'
2781  # test to see if srcdir already configured
2782  if test -f $srcdir/config.status; then
2783    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2784  fi
2785fi
2786
2787# test whether we have cygpath
2788if test -z "$CYGPATH_W"; then
2789  if (cygpath --version) >/dev/null 2>/dev/null; then
2790    CYGPATH_W='cygpath -w'
2791  else
2792    CYGPATH_W=echo
2793  fi
2794fi
2795
2796
2797# Define the identity of the package.
2798 PACKAGE='goocanvasmm'
2799 VERSION='1.90.9'
2800
2801
2802# Some tools Automake needs.
2803
2804ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2805
2806
2807AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2808
2809
2810AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2811
2812
2813AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2814
2815
2816MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2817
2818# We need awk for the "check" target.  The system "awk" is bad on
2819# some platforms.
2820# Always define AMTAR for backward compatibility.  Yes, it's still used
2821# in the wild :-(  We should find a proper way to deprecate it ...
2822AMTAR='$${TAR-tar}'
2823
2824
2825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
2826$as_echo_n "checking how to create a ustar tar archive... " >&6; }
2827# Loop over all known methods to create a tar archive until one works.
2828_am_tools='gnutar plaintar pax cpio none'
2829_am_tools=${am_cv_prog_tar_ustar-$_am_tools}
2830# Do not fold the above two line into one, because Tru64 sh and
2831# Solaris sh will not grok spaces in the rhs of `-'.
2832for _am_tool in $_am_tools
2833do
2834  case $_am_tool in
2835  gnutar)
2836    for _am_tar in tar gnutar gtar;
2837    do
2838      { echo "$as_me:$LINENO: $_am_tar --version" >&5
2839   ($_am_tar --version) >&5 2>&5
2840   ac_status=$?
2841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842   (exit $ac_status); } && break
2843    done
2844    am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
2845    am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
2846    am__untar="$_am_tar -xf -"
2847    ;;
2848  plaintar)
2849    # Must skip GNU tar: if it does not support --format= it doesn't create
2850    # ustar tarball either.
2851    (tar --version) >/dev/null 2>&1 && continue
2852    am__tar='tar chf - "$$tardir"'
2853    am__tar_='tar chf - "$tardir"'
2854    am__untar='tar xf -'
2855    ;;
2856  pax)
2857    am__tar='pax -L -x ustar -w "$$tardir"'
2858    am__tar_='pax -L -x ustar -w "$tardir"'
2859    am__untar='pax -r'
2860    ;;
2861  cpio)
2862    am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
2863    am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
2864    am__untar='cpio -i -H ustar -d'
2865    ;;
2866  none)
2867    am__tar=false
2868    am__tar_=false
2869    am__untar=false
2870    ;;
2871  esac
2872
2873  # If the value was cached, stop now.  We just wanted to have am__tar
2874  # and am__untar set.
2875  test -n "${am_cv_prog_tar_ustar}" && break
2876
2877  # tar/untar a dummy directory, and stop if the command works
2878  rm -rf conftest.dir
2879  mkdir conftest.dir
2880  echo GrepMe > conftest.dir/file
2881  { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2882   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2883   ac_status=$?
2884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885   (exit $ac_status); }
2886  rm -rf conftest.dir
2887  if test -s conftest.tar; then
2888    { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2889   ($am__untar <conftest.tar) >&5 2>&5
2890   ac_status=$?
2891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892   (exit $ac_status); }
2893    grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2894  fi
2895done
2896rm -rf conftest.dir
2897
2898if ${am_cv_prog_tar_ustar+:} false; then :
2899  $as_echo_n "(cached) " >&6
2900else
2901  am_cv_prog_tar_ustar=$_am_tool
2902fi
2903
2904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
2905$as_echo "$am_cv_prog_tar_ustar" >&6; }
2906
2907
2908
2909
2910
2911
2912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2913$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2914    # Check whether --enable-maintainer-mode was given.
2915if test "${enable_maintainer_mode+set}" = set; then :
2916  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2917else
2918  USE_MAINTAINER_MODE=no
2919fi
2920
2921  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2922$as_echo "$USE_MAINTAINER_MODE" >&6; }
2923   if test $USE_MAINTAINER_MODE = yes; then
2924  MAINTAINER_MODE_TRUE=
2925  MAINTAINER_MODE_FALSE='#'
2926else
2927  MAINTAINER_MODE_TRUE='#'
2928  MAINTAINER_MODE_FALSE=
2929fi
2930
2931  MAINT=$MAINTAINER_MODE_TRUE
2932
2933
2934
2935
2936
2937
2938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports GNU make features" >&5
2939$as_echo_n "checking whether ${MAKE-make} supports GNU make features... " >&6; }
2940cat >conftest.make <<'_MMEOF'
2941override reverse = $(2)$(subst ,, )$(1)
2942override result := $(word 2,$(call reverse,success,failure))
2943all: ; test '$(result)' = success
2944.PHONY: all
2945_MMEOF
2946if ${MAKE-make} -f conftest.make >&5 2>&5; then :
2947  mm_gnu_make=yes
2948else
2949  mm_gnu_make=no
2950fi
2951rm -f conftest.make
2952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_gnu_make" >&5
2953$as_echo "$mm_gnu_make" >&6; }
2954if test "x$mm_gnu_make" != xyes; then :
2955  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2957as_fn_error $? "The GNU make program is required to build $PACKAGE_NAME.
2958See \`config.log' for more details" "$LINENO" 5; }
2959fi
2960
2961GOOCANVASMM_MODULE_NAME='goocanvasmm-2.0'
2962
2963GOOCANVASMM_VERSION='1.90.9'
2964
2965GOOCANVASMM_API_VERSION='2.0'
2966
2967GOOCANVASMM_MAJOR_VERSION=1
2968
2969
2970$as_echo "#define GOOCANVASMM_MAJOR_VERSION 1" >>confdefs.h
2971
2972GOOCANVASMM_MINOR_VERSION=90
2973
2974
2975$as_echo "#define GOOCANVASMM_MINOR_VERSION 90" >>confdefs.h
2976
2977GOOCANVASMM_MICRO_VERSION=9
2978
2979
2980$as_echo "#define GOOCANVASMM_MICRO_VERSION 9" >>confdefs.h
2981
2982
2983
2984# Copy the mm-common .pl scripts into docs/,
2985# and use them from there,
2986# then dist them to avoid a tarball-build dependency.
2987MMDOCTOOLDIR='${top_srcdir}/doc'
2988 if test 'xdoc' != 'x'; then
2989  DIST_DOCTOOLS_TRUE=
2990  DIST_DOCTOOLS_FALSE='#'
2991else
2992  DIST_DOCTOOLS_TRUE='#'
2993  DIST_DOCTOOLS_FALSE=
2994fi
2995
2996
2997# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
2998GOOCANVASMM_SO_VERSION=6:0:0
2999
3000
3001ac_ext=cpp
3002ac_cpp='$CXXCPP $CPPFLAGS'
3003ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3004ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3005ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3006if test -z "$CXX"; then
3007  if test -n "$CCC"; then
3008    CXX=$CCC
3009  else
3010    if test -n "$ac_tool_prefix"; then
3011  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3012  do
3013    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3014set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3015{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3016$as_echo_n "checking for $ac_word... " >&6; }
3017if ${ac_cv_prog_CXX+:} false; then :
3018  $as_echo_n "(cached) " >&6
3019else
3020  if test -n "$CXX"; then
3021  ac_cv_prog_CXX="$CXX" # Let the user override the test.
3022else
3023as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024for as_dir in $PATH
3025do
3026  IFS=$as_save_IFS
3027  test -z "$as_dir" && as_dir=.
3028    for ac_exec_ext in '' $ac_executable_extensions; do
3029  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3030    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3031    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3032    break 2
3033  fi
3034done
3035  done
3036IFS=$as_save_IFS
3037
3038fi
3039fi
3040CXX=$ac_cv_prog_CXX
3041if test -n "$CXX"; then
3042  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3043$as_echo "$CXX" >&6; }
3044else
3045  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3046$as_echo "no" >&6; }
3047fi
3048
3049
3050    test -n "$CXX" && break
3051  done
3052fi
3053if test -z "$CXX"; then
3054  ac_ct_CXX=$CXX
3055  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3056do
3057  # Extract the first word of "$ac_prog", so it can be a program name with args.
3058set dummy $ac_prog; ac_word=$2
3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3060$as_echo_n "checking for $ac_word... " >&6; }
3061if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3062  $as_echo_n "(cached) " >&6
3063else
3064  if test -n "$ac_ct_CXX"; then
3065  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3066else
3067as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3068for as_dir in $PATH
3069do
3070  IFS=$as_save_IFS
3071  test -z "$as_dir" && as_dir=.
3072    for ac_exec_ext in '' $ac_executable_extensions; do
3073  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3074    ac_cv_prog_ac_ct_CXX="$ac_prog"
3075    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3076    break 2
3077  fi
3078done
3079  done
3080IFS=$as_save_IFS
3081
3082fi
3083fi
3084ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3085if test -n "$ac_ct_CXX"; then
3086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3087$as_echo "$ac_ct_CXX" >&6; }
3088else
3089  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090$as_echo "no" >&6; }
3091fi
3092
3093
3094  test -n "$ac_ct_CXX" && break
3095done
3096
3097  if test "x$ac_ct_CXX" = x; then
3098    CXX="g++"
3099  else
3100    case $cross_compiling:$ac_tool_warned in
3101yes:)
3102{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3103$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3104ac_tool_warned=yes ;;
3105esac
3106    CXX=$ac_ct_CXX
3107  fi
3108fi
3109
3110  fi
3111fi
3112# Provide some information about the compiler.
3113$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3114set X $ac_compile
3115ac_compiler=$2
3116for ac_option in --version -v -V -qversion; do
3117  { { ac_try="$ac_compiler $ac_option >&5"
3118case "(($ac_try" in
3119  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3120  *) ac_try_echo=$ac_try;;
3121esac
3122eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3123$as_echo "$ac_try_echo"; } >&5
3124  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3125  ac_status=$?
3126  if test -s conftest.err; then
3127    sed '10a\
3128... rest of stderr output deleted ...
3129         10q' conftest.err >conftest.er1
3130    cat conftest.er1 >&5
3131  fi
3132  rm -f conftest.er1 conftest.err
3133  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134  test $ac_status = 0; }
3135done
3136
3137cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138/* end confdefs.h.  */
3139
3140int
3141main ()
3142{
3143
3144  ;
3145  return 0;
3146}
3147_ACEOF
3148ac_clean_files_save=$ac_clean_files
3149ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3150# Try to create an executable without -o first, disregard a.out.
3151# It will help us diagnose broken compilers, and finding out an intuition
3152# of exeext.
3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3154$as_echo_n "checking whether the C++ compiler works... " >&6; }
3155ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3156
3157# The possible output files:
3158ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3159
3160ac_rmfiles=
3161for ac_file in $ac_files
3162do
3163  case $ac_file in
3164    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3165    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3166  esac
3167done
3168rm -f $ac_rmfiles
3169
3170if { { ac_try="$ac_link_default"
3171case "(($ac_try" in
3172  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3173  *) ac_try_echo=$ac_try;;
3174esac
3175eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3176$as_echo "$ac_try_echo"; } >&5
3177  (eval "$ac_link_default") 2>&5
3178  ac_status=$?
3179  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3180  test $ac_status = 0; }; then :
3181  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3182# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3183# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3184# so that the user can short-circuit this test for compilers unknown to
3185# Autoconf.
3186for ac_file in $ac_files ''
3187do
3188  test -f "$ac_file" || continue
3189  case $ac_file in
3190    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3191	;;
3192    [ab].out )
3193	# We found the default executable, but exeext='' is most
3194	# certainly right.
3195	break;;
3196    *.* )
3197	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3198	then :; else
3199	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3200	fi
3201	# We set ac_cv_exeext here because the later test for it is not
3202	# safe: cross compilers may not add the suffix if given an `-o'
3203	# argument, so we may need to know it at that point already.
3204	# Even if this section looks crufty: it has the advantage of
3205	# actually working.
3206	break;;
3207    * )
3208	break;;
3209  esac
3210done
3211test "$ac_cv_exeext" = no && ac_cv_exeext=
3212
3213else
3214  ac_file=''
3215fi
3216if test -z "$ac_file"; then :
3217  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3218$as_echo "no" >&6; }
3219$as_echo "$as_me: failed program was:" >&5
3220sed 's/^/| /' conftest.$ac_ext >&5
3221
3222{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3223$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3224as_fn_error 77 "C++ compiler cannot create executables
3225See \`config.log' for more details" "$LINENO" 5; }
3226else
3227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3228$as_echo "yes" >&6; }
3229fi
3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3231$as_echo_n "checking for C++ compiler default output file name... " >&6; }
3232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3233$as_echo "$ac_file" >&6; }
3234ac_exeext=$ac_cv_exeext
3235
3236rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3237ac_clean_files=$ac_clean_files_save
3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3239$as_echo_n "checking for suffix of executables... " >&6; }
3240if { { ac_try="$ac_link"
3241case "(($ac_try" in
3242  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3243  *) ac_try_echo=$ac_try;;
3244esac
3245eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3246$as_echo "$ac_try_echo"; } >&5
3247  (eval "$ac_link") 2>&5
3248  ac_status=$?
3249  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250  test $ac_status = 0; }; then :
3251  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3252# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3253# work properly (i.e., refer to `conftest.exe'), while it won't with
3254# `rm'.
3255for ac_file in conftest.exe conftest conftest.*; do
3256  test -f "$ac_file" || continue
3257  case $ac_file in
3258    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3259    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3260	  break;;
3261    * ) break;;
3262  esac
3263done
3264else
3265  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3266$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3267as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3268See \`config.log' for more details" "$LINENO" 5; }
3269fi
3270rm -f conftest conftest$ac_cv_exeext
3271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3272$as_echo "$ac_cv_exeext" >&6; }
3273
3274rm -f conftest.$ac_ext
3275EXEEXT=$ac_cv_exeext
3276ac_exeext=$EXEEXT
3277cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278/* end confdefs.h.  */
3279#include <stdio.h>
3280int
3281main ()
3282{
3283FILE *f = fopen ("conftest.out", "w");
3284 return ferror (f) || fclose (f) != 0;
3285
3286  ;
3287  return 0;
3288}
3289_ACEOF
3290ac_clean_files="$ac_clean_files conftest.out"
3291# Check that the compiler produces executables we can run.  If not, either
3292# the compiler is broken, or we cross compile.
3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3294$as_echo_n "checking whether we are cross compiling... " >&6; }
3295if test "$cross_compiling" != yes; then
3296  { { ac_try="$ac_link"
3297case "(($ac_try" in
3298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3299  *) ac_try_echo=$ac_try;;
3300esac
3301eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3302$as_echo "$ac_try_echo"; } >&5
3303  (eval "$ac_link") 2>&5
3304  ac_status=$?
3305  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3306  test $ac_status = 0; }
3307  if { ac_try='./conftest$ac_cv_exeext'
3308  { { case "(($ac_try" in
3309  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3310  *) ac_try_echo=$ac_try;;
3311esac
3312eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3313$as_echo "$ac_try_echo"; } >&5
3314  (eval "$ac_try") 2>&5
3315  ac_status=$?
3316  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3317  test $ac_status = 0; }; }; then
3318    cross_compiling=no
3319  else
3320    if test "$cross_compiling" = maybe; then
3321	cross_compiling=yes
3322    else
3323	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3325as_fn_error $? "cannot run C++ compiled programs.
3326If you meant to cross compile, use \`--host'.
3327See \`config.log' for more details" "$LINENO" 5; }
3328    fi
3329  fi
3330fi
3331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3332$as_echo "$cross_compiling" >&6; }
3333
3334rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3335ac_clean_files=$ac_clean_files_save
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3337$as_echo_n "checking for suffix of object files... " >&6; }
3338if ${ac_cv_objext+:} false; then :
3339  $as_echo_n "(cached) " >&6
3340else
3341  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342/* end confdefs.h.  */
3343
3344int
3345main ()
3346{
3347
3348  ;
3349  return 0;
3350}
3351_ACEOF
3352rm -f conftest.o conftest.obj
3353if { { ac_try="$ac_compile"
3354case "(($ac_try" in
3355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356  *) ac_try_echo=$ac_try;;
3357esac
3358eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3359$as_echo "$ac_try_echo"; } >&5
3360  (eval "$ac_compile") 2>&5
3361  ac_status=$?
3362  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3363  test $ac_status = 0; }; then :
3364  for ac_file in conftest.o conftest.obj conftest.*; do
3365  test -f "$ac_file" || continue;
3366  case $ac_file in
3367    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3368    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3369       break;;
3370  esac
3371done
3372else
3373  $as_echo "$as_me: failed program was:" >&5
3374sed 's/^/| /' conftest.$ac_ext >&5
3375
3376{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3378as_fn_error $? "cannot compute suffix of object files: cannot compile
3379See \`config.log' for more details" "$LINENO" 5; }
3380fi
3381rm -f conftest.$ac_cv_objext conftest.$ac_ext
3382fi
3383{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3384$as_echo "$ac_cv_objext" >&6; }
3385OBJEXT=$ac_cv_objext
3386ac_objext=$OBJEXT
3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3388$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3389if ${ac_cv_cxx_compiler_gnu+:} false; then :
3390  $as_echo_n "(cached) " >&6
3391else
3392  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3393/* end confdefs.h.  */
3394
3395int
3396main ()
3397{
3398#ifndef __GNUC__
3399       choke me
3400#endif
3401
3402  ;
3403  return 0;
3404}
3405_ACEOF
3406if ac_fn_cxx_try_compile "$LINENO"; then :
3407  ac_compiler_gnu=yes
3408else
3409  ac_compiler_gnu=no
3410fi
3411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3412ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3413
3414fi
3415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3416$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3417if test $ac_compiler_gnu = yes; then
3418  GXX=yes
3419else
3420  GXX=
3421fi
3422ac_test_CXXFLAGS=${CXXFLAGS+set}
3423ac_save_CXXFLAGS=$CXXFLAGS
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3425$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3426if ${ac_cv_prog_cxx_g+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3430   ac_cxx_werror_flag=yes
3431   ac_cv_prog_cxx_g=no
3432   CXXFLAGS="-g"
3433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3434/* end confdefs.h.  */
3435
3436int
3437main ()
3438{
3439
3440  ;
3441  return 0;
3442}
3443_ACEOF
3444if ac_fn_cxx_try_compile "$LINENO"; then :
3445  ac_cv_prog_cxx_g=yes
3446else
3447  CXXFLAGS=""
3448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3449/* end confdefs.h.  */
3450
3451int
3452main ()
3453{
3454
3455  ;
3456  return 0;
3457}
3458_ACEOF
3459if ac_fn_cxx_try_compile "$LINENO"; then :
3460
3461else
3462  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3463	 CXXFLAGS="-g"
3464	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465/* end confdefs.h.  */
3466
3467int
3468main ()
3469{
3470
3471  ;
3472  return 0;
3473}
3474_ACEOF
3475if ac_fn_cxx_try_compile "$LINENO"; then :
3476  ac_cv_prog_cxx_g=yes
3477fi
3478rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3479fi
3480rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3481fi
3482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3483   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3484fi
3485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3486$as_echo "$ac_cv_prog_cxx_g" >&6; }
3487if test "$ac_test_CXXFLAGS" = set; then
3488  CXXFLAGS=$ac_save_CXXFLAGS
3489elif test $ac_cv_prog_cxx_g = yes; then
3490  if test "$GXX" = yes; then
3491    CXXFLAGS="-g -O2"
3492  else
3493    CXXFLAGS="-g"
3494  fi
3495else
3496  if test "$GXX" = yes; then
3497    CXXFLAGS="-O2"
3498  else
3499    CXXFLAGS=
3500  fi
3501fi
3502ac_ext=c
3503ac_cpp='$CPP $CPPFLAGS'
3504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507DEPDIR="${am__leading_dot}deps"
3508
3509ac_config_commands="$ac_config_commands depfiles"
3510
3511
3512am_make=${MAKE-make}
3513cat > confinc << 'END'
3514am__doit:
3515	@echo this is the am__doit target
3516.PHONY: am__doit
3517END
3518# If we don't find an include directive, just comment out the code.
3519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3520$as_echo_n "checking for style of include used by $am_make... " >&6; }
3521am__include="#"
3522am__quote=
3523_am_result=none
3524# First try GNU make style include.
3525echo "include confinc" > confmf
3526# Ignore all kinds of additional output from `make'.
3527case `$am_make -s -f confmf 2> /dev/null` in #(
3528*the\ am__doit\ target*)
3529  am__include=include
3530  am__quote=
3531  _am_result=GNU
3532  ;;
3533esac
3534# Now try BSD make style include.
3535if test "$am__include" = "#"; then
3536   echo '.include "confinc"' > confmf
3537   case `$am_make -s -f confmf 2> /dev/null` in #(
3538   *the\ am__doit\ target*)
3539     am__include=.include
3540     am__quote="\""
3541     _am_result=BSD
3542     ;;
3543   esac
3544fi
3545
3546
3547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3548$as_echo "$_am_result" >&6; }
3549rm -f confinc confmf
3550
3551# Check whether --enable-dependency-tracking was given.
3552if test "${enable_dependency_tracking+set}" = set; then :
3553  enableval=$enable_dependency_tracking;
3554fi
3555
3556if test "x$enable_dependency_tracking" != xno; then
3557  am_depcomp="$ac_aux_dir/depcomp"
3558  AMDEPBACKSLASH='\'
3559  am__nodep='_no'
3560fi
3561 if test "x$enable_dependency_tracking" != xno; then
3562  AMDEP_TRUE=
3563  AMDEP_FALSE='#'
3564else
3565  AMDEP_TRUE='#'
3566  AMDEP_FALSE=
3567fi
3568
3569
3570
3571depcc="$CXX"  am_compiler_list=
3572
3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3574$as_echo_n "checking dependency style of $depcc... " >&6; }
3575if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3576  $as_echo_n "(cached) " >&6
3577else
3578  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3579  # We make a subdir and do the tests there.  Otherwise we can end up
3580  # making bogus files that we don't know about and never remove.  For
3581  # instance it was reported that on HP-UX the gcc test will end up
3582  # making a dummy file named `D' -- because `-MD' means `put the output
3583  # in D'.
3584  rm -rf conftest.dir
3585  mkdir conftest.dir
3586  # Copy depcomp to subdir because otherwise we won't find it if we're
3587  # using a relative directory.
3588  cp "$am_depcomp" conftest.dir
3589  cd conftest.dir
3590  # We will build objects and dependencies in a subdirectory because
3591  # it helps to detect inapplicable dependency modes.  For instance
3592  # both Tru64's cc and ICC support -MD to output dependencies as a
3593  # side effect of compilation, but ICC will put the dependencies in
3594  # the current directory while Tru64 will put them in the object
3595  # directory.
3596  mkdir sub
3597
3598  am_cv_CXX_dependencies_compiler_type=none
3599  if test "$am_compiler_list" = ""; then
3600     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3601  fi
3602  am__universal=false
3603  case " $depcc " in #(
3604     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3605     esac
3606
3607  for depmode in $am_compiler_list; do
3608    # Setup a source with many dependencies, because some compilers
3609    # like to wrap large dependency lists on column 80 (with \), and
3610    # we should not choose a depcomp mode which is confused by this.
3611    #
3612    # We need to recreate these files for each test, as the compiler may
3613    # overwrite some of them when testing with obscure command lines.
3614    # This happens at least with the AIX C compiler.
3615    : > sub/conftest.c
3616    for i in 1 2 3 4 5 6; do
3617      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3618      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3619      # Solaris 8's {/usr,}/bin/sh.
3620      touch sub/conftst$i.h
3621    done
3622    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3623
3624    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3625    # mode.  It turns out that the SunPro C++ compiler does not properly
3626    # handle `-M -o', and we need to detect this.  Also, some Intel
3627    # versions had trouble with output in subdirs
3628    am__obj=sub/conftest.${OBJEXT-o}
3629    am__minus_obj="-o $am__obj"
3630    case $depmode in
3631    gcc)
3632      # This depmode causes a compiler race in universal mode.
3633      test "$am__universal" = false || continue
3634      ;;
3635    nosideeffect)
3636      # after this tag, mechanisms are not by side-effect, so they'll
3637      # only be used when explicitly requested
3638      if test "x$enable_dependency_tracking" = xyes; then
3639	continue
3640      else
3641	break
3642      fi
3643      ;;
3644    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3645      # This compiler won't grok `-c -o', but also, the minuso test has
3646      # not run yet.  These depmodes are late enough in the game, and
3647      # so weak that their functioning should not be impacted.
3648      am__obj=conftest.${OBJEXT-o}
3649      am__minus_obj=
3650      ;;
3651    none) break ;;
3652    esac
3653    if depmode=$depmode \
3654       source=sub/conftest.c object=$am__obj \
3655       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3656       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3657         >/dev/null 2>conftest.err &&
3658       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3659       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3660       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3661       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3662      # icc doesn't choke on unknown options, it will just issue warnings
3663      # or remarks (even with -Werror).  So we grep stderr for any message
3664      # that says an option was ignored or not supported.
3665      # When given -MP, icc 7.0 and 7.1 complain thusly:
3666      #   icc: Command line warning: ignoring option '-M'; no argument required
3667      # The diagnosis changed in icc 8.0:
3668      #   icc: Command line remark: option '-MP' not supported
3669      if (grep 'ignoring option' conftest.err ||
3670          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3671        am_cv_CXX_dependencies_compiler_type=$depmode
3672        break
3673      fi
3674    fi
3675  done
3676
3677  cd ..
3678  rm -rf conftest.dir
3679else
3680  am_cv_CXX_dependencies_compiler_type=none
3681fi
3682
3683fi
3684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3685$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3686CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3687
3688 if
3689  test "x$enable_dependency_tracking" != xno \
3690  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3691  am__fastdepCXX_TRUE=
3692  am__fastdepCXX_FALSE='#'
3693else
3694  am__fastdepCXX_TRUE='#'
3695  am__fastdepCXX_FALSE=
3696fi
3697
3698
3699# Check whether --enable-static was given.
3700if test "${enable_static+set}" = set; then :
3701  enableval=$enable_static; p=${PACKAGE-default}
3702    case $enableval in
3703    yes) enable_static=yes ;;
3704    no) enable_static=no ;;
3705    *)
3706     enable_static=no
3707      # Look at the argument we got.  We use all the common list separators.
3708      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3709      for pkg in $enableval; do
3710	IFS="$lt_save_ifs"
3711	if test "X$pkg" = "X$p"; then
3712	  enable_static=yes
3713	fi
3714      done
3715      IFS="$lt_save_ifs"
3716      ;;
3717    esac
3718else
3719  enable_static=no
3720fi
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730# Make sure we can run config.sub.
3731$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3732  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3733
3734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3735$as_echo_n "checking build system type... " >&6; }
3736if ${ac_cv_build+:} false; then :
3737  $as_echo_n "(cached) " >&6
3738else
3739  ac_build_alias=$build_alias
3740test "x$ac_build_alias" = x &&
3741  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3742test "x$ac_build_alias" = x &&
3743  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3744ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3745  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3746
3747fi
3748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3749$as_echo "$ac_cv_build" >&6; }
3750case $ac_cv_build in
3751*-*-*) ;;
3752*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3753esac
3754build=$ac_cv_build
3755ac_save_IFS=$IFS; IFS='-'
3756set x $ac_cv_build
3757shift
3758build_cpu=$1
3759build_vendor=$2
3760shift; shift
3761# Remember, the first character of IFS is used to create $*,
3762# except with old shells:
3763build_os=$*
3764IFS=$ac_save_IFS
3765case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3766
3767
3768{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3769$as_echo_n "checking host system type... " >&6; }
3770if ${ac_cv_host+:} false; then :
3771  $as_echo_n "(cached) " >&6
3772else
3773  if test "x$host_alias" = x; then
3774  ac_cv_host=$ac_cv_build
3775else
3776  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3777    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3778fi
3779
3780fi
3781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3782$as_echo "$ac_cv_host" >&6; }
3783case $ac_cv_host in
3784*-*-*) ;;
3785*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3786esac
3787host=$ac_cv_host
3788ac_save_IFS=$IFS; IFS='-'
3789set x $ac_cv_host
3790shift
3791host_cpu=$1
3792host_vendor=$2
3793shift; shift
3794# Remember, the first character of IFS is used to create $*,
3795# except with old shells:
3796host_os=$*
3797IFS=$ac_save_IFS
3798case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3799
3800
3801enable_win32_dll=yes
3802
3803case $host in
3804*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
3805  if test -n "$ac_tool_prefix"; then
3806  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3807set dummy ${ac_tool_prefix}as; ac_word=$2
3808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3809$as_echo_n "checking for $ac_word... " >&6; }
3810if ${ac_cv_prog_AS+:} false; then :
3811  $as_echo_n "(cached) " >&6
3812else
3813  if test -n "$AS"; then
3814  ac_cv_prog_AS="$AS" # Let the user override the test.
3815else
3816as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817for as_dir in $PATH
3818do
3819  IFS=$as_save_IFS
3820  test -z "$as_dir" && as_dir=.
3821    for ac_exec_ext in '' $ac_executable_extensions; do
3822  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3823    ac_cv_prog_AS="${ac_tool_prefix}as"
3824    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3825    break 2
3826  fi
3827done
3828  done
3829IFS=$as_save_IFS
3830
3831fi
3832fi
3833AS=$ac_cv_prog_AS
3834if test -n "$AS"; then
3835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
3836$as_echo "$AS" >&6; }
3837else
3838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3839$as_echo "no" >&6; }
3840fi
3841
3842
3843fi
3844if test -z "$ac_cv_prog_AS"; then
3845  ac_ct_AS=$AS
3846  # Extract the first word of "as", so it can be a program name with args.
3847set dummy as; ac_word=$2
3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3849$as_echo_n "checking for $ac_word... " >&6; }
3850if ${ac_cv_prog_ac_ct_AS+:} false; then :
3851  $as_echo_n "(cached) " >&6
3852else
3853  if test -n "$ac_ct_AS"; then
3854  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3855else
3856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857for as_dir in $PATH
3858do
3859  IFS=$as_save_IFS
3860  test -z "$as_dir" && as_dir=.
3861    for ac_exec_ext in '' $ac_executable_extensions; do
3862  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3863    ac_cv_prog_ac_ct_AS="as"
3864    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3865    break 2
3866  fi
3867done
3868  done
3869IFS=$as_save_IFS
3870
3871fi
3872fi
3873ac_ct_AS=$ac_cv_prog_ac_ct_AS
3874if test -n "$ac_ct_AS"; then
3875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
3876$as_echo "$ac_ct_AS" >&6; }
3877else
3878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3879$as_echo "no" >&6; }
3880fi
3881
3882  if test "x$ac_ct_AS" = x; then
3883    AS="false"
3884  else
3885    case $cross_compiling:$ac_tool_warned in
3886yes:)
3887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3889ac_tool_warned=yes ;;
3890esac
3891    AS=$ac_ct_AS
3892  fi
3893else
3894  AS="$ac_cv_prog_AS"
3895fi
3896
3897  if test -n "$ac_tool_prefix"; then
3898  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
3899set dummy ${ac_tool_prefix}dlltool; ac_word=$2
3900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901$as_echo_n "checking for $ac_word... " >&6; }
3902if ${ac_cv_prog_DLLTOOL+:} false; then :
3903  $as_echo_n "(cached) " >&6
3904else
3905  if test -n "$DLLTOOL"; then
3906  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
3907else
3908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3909for as_dir in $PATH
3910do
3911  IFS=$as_save_IFS
3912  test -z "$as_dir" && as_dir=.
3913    for ac_exec_ext in '' $ac_executable_extensions; do
3914  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
3916    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917    break 2
3918  fi
3919done
3920  done
3921IFS=$as_save_IFS
3922
3923fi
3924fi
3925DLLTOOL=$ac_cv_prog_DLLTOOL
3926if test -n "$DLLTOOL"; then
3927  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
3928$as_echo "$DLLTOOL" >&6; }
3929else
3930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931$as_echo "no" >&6; }
3932fi
3933
3934
3935fi
3936if test -z "$ac_cv_prog_DLLTOOL"; then
3937  ac_ct_DLLTOOL=$DLLTOOL
3938  # Extract the first word of "dlltool", so it can be a program name with args.
3939set dummy dlltool; ac_word=$2
3940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941$as_echo_n "checking for $ac_word... " >&6; }
3942if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
3943  $as_echo_n "(cached) " >&6
3944else
3945  if test -n "$ac_ct_DLLTOOL"; then
3946  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
3947else
3948as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3949for as_dir in $PATH
3950do
3951  IFS=$as_save_IFS
3952  test -z "$as_dir" && as_dir=.
3953    for ac_exec_ext in '' $ac_executable_extensions; do
3954  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3955    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
3956    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957    break 2
3958  fi
3959done
3960  done
3961IFS=$as_save_IFS
3962
3963fi
3964fi
3965ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
3966if test -n "$ac_ct_DLLTOOL"; then
3967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
3968$as_echo "$ac_ct_DLLTOOL" >&6; }
3969else
3970  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971$as_echo "no" >&6; }
3972fi
3973
3974  if test "x$ac_ct_DLLTOOL" = x; then
3975    DLLTOOL="false"
3976  else
3977    case $cross_compiling:$ac_tool_warned in
3978yes:)
3979{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981ac_tool_warned=yes ;;
3982esac
3983    DLLTOOL=$ac_ct_DLLTOOL
3984  fi
3985else
3986  DLLTOOL="$ac_cv_prog_DLLTOOL"
3987fi
3988
3989  if test -n "$ac_tool_prefix"; then
3990  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
3991set dummy ${ac_tool_prefix}objdump; ac_word=$2
3992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993$as_echo_n "checking for $ac_word... " >&6; }
3994if ${ac_cv_prog_OBJDUMP+:} false; then :
3995  $as_echo_n "(cached) " >&6
3996else
3997  if test -n "$OBJDUMP"; then
3998  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
3999else
4000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4001for as_dir in $PATH
4002do
4003  IFS=$as_save_IFS
4004  test -z "$as_dir" && as_dir=.
4005    for ac_exec_ext in '' $ac_executable_extensions; do
4006  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4009    break 2
4010  fi
4011done
4012  done
4013IFS=$as_save_IFS
4014
4015fi
4016fi
4017OBJDUMP=$ac_cv_prog_OBJDUMP
4018if test -n "$OBJDUMP"; then
4019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
4020$as_echo "$OBJDUMP" >&6; }
4021else
4022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023$as_echo "no" >&6; }
4024fi
4025
4026
4027fi
4028if test -z "$ac_cv_prog_OBJDUMP"; then
4029  ac_ct_OBJDUMP=$OBJDUMP
4030  # Extract the first word of "objdump", so it can be a program name with args.
4031set dummy objdump; ac_word=$2
4032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033$as_echo_n "checking for $ac_word... " >&6; }
4034if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4035  $as_echo_n "(cached) " >&6
4036else
4037  if test -n "$ac_ct_OBJDUMP"; then
4038  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4039else
4040as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041for as_dir in $PATH
4042do
4043  IFS=$as_save_IFS
4044  test -z "$as_dir" && as_dir=.
4045    for ac_exec_ext in '' $ac_executable_extensions; do
4046  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4048    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049    break 2
4050  fi
4051done
4052  done
4053IFS=$as_save_IFS
4054
4055fi
4056fi
4057ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4058if test -n "$ac_ct_OBJDUMP"; then
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
4060$as_echo "$ac_ct_OBJDUMP" >&6; }
4061else
4062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063$as_echo "no" >&6; }
4064fi
4065
4066  if test "x$ac_ct_OBJDUMP" = x; then
4067    OBJDUMP="false"
4068  else
4069    case $cross_compiling:$ac_tool_warned in
4070yes:)
4071{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4072$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4073ac_tool_warned=yes ;;
4074esac
4075    OBJDUMP=$ac_ct_OBJDUMP
4076  fi
4077else
4078  OBJDUMP="$ac_cv_prog_OBJDUMP"
4079fi
4080
4081  ;;
4082esac
4083
4084test -z "$AS" && AS=as
4085
4086
4087
4088
4089
4090test -z "$DLLTOOL" && DLLTOOL=dlltool
4091
4092
4093
4094
4095
4096test -z "$OBJDUMP" && OBJDUMP=objdump
4097
4098
4099
4100
4101
4102
4103
4104case `pwd` in
4105  *\ * | *\	*)
4106    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4107$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4108esac
4109
4110
4111
4112macro_version='2.4.2'
4113macro_revision='1.3337'
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127ltmain="$ac_aux_dir/ltmain.sh"
4128
4129# Backslashify metacharacters that are still active within
4130# double-quoted strings.
4131sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4132
4133# Same as above, but do not quote variable references.
4134double_quote_subst='s/\(["`\\]\)/\\\1/g'
4135
4136# Sed substitution to delay expansion of an escaped shell variable in a
4137# double_quote_subst'ed string.
4138delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4139
4140# Sed substitution to delay expansion of an escaped single quote.
4141delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4142
4143# Sed substitution to avoid accidental globbing in evaled expressions
4144no_glob_subst='s/\*/\\\*/g'
4145
4146ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4147ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4148ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4149
4150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4151$as_echo_n "checking how to print strings... " >&6; }
4152# Test print first, because it will be a builtin if present.
4153if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4154   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4155  ECHO='print -r --'
4156elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4157  ECHO='printf %s\n'
4158else
4159  # Use this function as a fallback that always works.
4160  func_fallback_echo ()
4161  {
4162    eval 'cat <<_LTECHO_EOF
4163$1
4164_LTECHO_EOF'
4165  }
4166  ECHO='func_fallback_echo'
4167fi
4168
4169# func_echo_all arg...
4170# Invoke $ECHO with all args, space-separated.
4171func_echo_all ()
4172{
4173    $ECHO ""
4174}
4175
4176case "$ECHO" in
4177  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4178$as_echo "printf" >&6; } ;;
4179  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4180$as_echo "print -r" >&6; } ;;
4181  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4182$as_echo "cat" >&6; } ;;
4183esac
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198ac_ext=c
4199ac_cpp='$CPP $CPPFLAGS'
4200ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4201ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4202ac_compiler_gnu=$ac_cv_c_compiler_gnu
4203if test -n "$ac_tool_prefix"; then
4204  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4205set dummy ${ac_tool_prefix}gcc; ac_word=$2
4206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4207$as_echo_n "checking for $ac_word... " >&6; }
4208if ${ac_cv_prog_CC+:} false; then :
4209  $as_echo_n "(cached) " >&6
4210else
4211  if test -n "$CC"; then
4212  ac_cv_prog_CC="$CC" # Let the user override the test.
4213else
4214as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4215for as_dir in $PATH
4216do
4217  IFS=$as_save_IFS
4218  test -z "$as_dir" && as_dir=.
4219    for ac_exec_ext in '' $ac_executable_extensions; do
4220  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4221    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4222    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4223    break 2
4224  fi
4225done
4226  done
4227IFS=$as_save_IFS
4228
4229fi
4230fi
4231CC=$ac_cv_prog_CC
4232if test -n "$CC"; then
4233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4234$as_echo "$CC" >&6; }
4235else
4236  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4237$as_echo "no" >&6; }
4238fi
4239
4240
4241fi
4242if test -z "$ac_cv_prog_CC"; then
4243  ac_ct_CC=$CC
4244  # Extract the first word of "gcc", so it can be a program name with args.
4245set dummy gcc; ac_word=$2
4246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247$as_echo_n "checking for $ac_word... " >&6; }
4248if ${ac_cv_prog_ac_ct_CC+:} false; then :
4249  $as_echo_n "(cached) " >&6
4250else
4251  if test -n "$ac_ct_CC"; then
4252  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4253else
4254as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255for as_dir in $PATH
4256do
4257  IFS=$as_save_IFS
4258  test -z "$as_dir" && as_dir=.
4259    for ac_exec_ext in '' $ac_executable_extensions; do
4260  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4261    ac_cv_prog_ac_ct_CC="gcc"
4262    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4263    break 2
4264  fi
4265done
4266  done
4267IFS=$as_save_IFS
4268
4269fi
4270fi
4271ac_ct_CC=$ac_cv_prog_ac_ct_CC
4272if test -n "$ac_ct_CC"; then
4273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4274$as_echo "$ac_ct_CC" >&6; }
4275else
4276  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277$as_echo "no" >&6; }
4278fi
4279
4280  if test "x$ac_ct_CC" = x; then
4281    CC=""
4282  else
4283    case $cross_compiling:$ac_tool_warned in
4284yes:)
4285{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4286$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4287ac_tool_warned=yes ;;
4288esac
4289    CC=$ac_ct_CC
4290  fi
4291else
4292  CC="$ac_cv_prog_CC"
4293fi
4294
4295if test -z "$CC"; then
4296          if test -n "$ac_tool_prefix"; then
4297    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4298set dummy ${ac_tool_prefix}cc; ac_word=$2
4299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300$as_echo_n "checking for $ac_word... " >&6; }
4301if ${ac_cv_prog_CC+:} false; then :
4302  $as_echo_n "(cached) " >&6
4303else
4304  if test -n "$CC"; then
4305  ac_cv_prog_CC="$CC" # Let the user override the test.
4306else
4307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4308for as_dir in $PATH
4309do
4310  IFS=$as_save_IFS
4311  test -z "$as_dir" && as_dir=.
4312    for ac_exec_ext in '' $ac_executable_extensions; do
4313  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314    ac_cv_prog_CC="${ac_tool_prefix}cc"
4315    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316    break 2
4317  fi
4318done
4319  done
4320IFS=$as_save_IFS
4321
4322fi
4323fi
4324CC=$ac_cv_prog_CC
4325if test -n "$CC"; then
4326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4327$as_echo "$CC" >&6; }
4328else
4329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330$as_echo "no" >&6; }
4331fi
4332
4333
4334  fi
4335fi
4336if test -z "$CC"; then
4337  # Extract the first word of "cc", so it can be a program name with args.
4338set dummy cc; ac_word=$2
4339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340$as_echo_n "checking for $ac_word... " >&6; }
4341if ${ac_cv_prog_CC+:} false; then :
4342  $as_echo_n "(cached) " >&6
4343else
4344  if test -n "$CC"; then
4345  ac_cv_prog_CC="$CC" # Let the user override the test.
4346else
4347  ac_prog_rejected=no
4348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4349for as_dir in $PATH
4350do
4351  IFS=$as_save_IFS
4352  test -z "$as_dir" && as_dir=.
4353    for ac_exec_ext in '' $ac_executable_extensions; do
4354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4355    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4356       ac_prog_rejected=yes
4357       continue
4358     fi
4359    ac_cv_prog_CC="cc"
4360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4361    break 2
4362  fi
4363done
4364  done
4365IFS=$as_save_IFS
4366
4367if test $ac_prog_rejected = yes; then
4368  # We found a bogon in the path, so make sure we never use it.
4369  set dummy $ac_cv_prog_CC
4370  shift
4371  if test $# != 0; then
4372    # We chose a different compiler from the bogus one.
4373    # However, it has the same basename, so the bogon will be chosen
4374    # first if we set CC to just the basename; use the full file name.
4375    shift
4376    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4377  fi
4378fi
4379fi
4380fi
4381CC=$ac_cv_prog_CC
4382if test -n "$CC"; then
4383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4384$as_echo "$CC" >&6; }
4385else
4386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4387$as_echo "no" >&6; }
4388fi
4389
4390
4391fi
4392if test -z "$CC"; then
4393  if test -n "$ac_tool_prefix"; then
4394  for ac_prog in cl.exe
4395  do
4396    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4397set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4399$as_echo_n "checking for $ac_word... " >&6; }
4400if ${ac_cv_prog_CC+:} false; then :
4401  $as_echo_n "(cached) " >&6
4402else
4403  if test -n "$CC"; then
4404  ac_cv_prog_CC="$CC" # Let the user override the test.
4405else
4406as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4407for as_dir in $PATH
4408do
4409  IFS=$as_save_IFS
4410  test -z "$as_dir" && as_dir=.
4411    for ac_exec_ext in '' $ac_executable_extensions; do
4412  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4413    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4414    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415    break 2
4416  fi
4417done
4418  done
4419IFS=$as_save_IFS
4420
4421fi
4422fi
4423CC=$ac_cv_prog_CC
4424if test -n "$CC"; then
4425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4426$as_echo "$CC" >&6; }
4427else
4428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429$as_echo "no" >&6; }
4430fi
4431
4432
4433    test -n "$CC" && break
4434  done
4435fi
4436if test -z "$CC"; then
4437  ac_ct_CC=$CC
4438  for ac_prog in cl.exe
4439do
4440  # Extract the first word of "$ac_prog", so it can be a program name with args.
4441set dummy $ac_prog; ac_word=$2
4442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4443$as_echo_n "checking for $ac_word... " >&6; }
4444if ${ac_cv_prog_ac_ct_CC+:} false; then :
4445  $as_echo_n "(cached) " >&6
4446else
4447  if test -n "$ac_ct_CC"; then
4448  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4449else
4450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4451for as_dir in $PATH
4452do
4453  IFS=$as_save_IFS
4454  test -z "$as_dir" && as_dir=.
4455    for ac_exec_ext in '' $ac_executable_extensions; do
4456  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4457    ac_cv_prog_ac_ct_CC="$ac_prog"
4458    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4459    break 2
4460  fi
4461done
4462  done
4463IFS=$as_save_IFS
4464
4465fi
4466fi
4467ac_ct_CC=$ac_cv_prog_ac_ct_CC
4468if test -n "$ac_ct_CC"; then
4469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4470$as_echo "$ac_ct_CC" >&6; }
4471else
4472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4473$as_echo "no" >&6; }
4474fi
4475
4476
4477  test -n "$ac_ct_CC" && break
4478done
4479
4480  if test "x$ac_ct_CC" = x; then
4481    CC=""
4482  else
4483    case $cross_compiling:$ac_tool_warned in
4484yes:)
4485{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4486$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4487ac_tool_warned=yes ;;
4488esac
4489    CC=$ac_ct_CC
4490  fi
4491fi
4492
4493fi
4494
4495
4496test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4497$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4498as_fn_error $? "no acceptable C compiler found in \$PATH
4499See \`config.log' for more details" "$LINENO" 5; }
4500
4501# Provide some information about the compiler.
4502$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4503set X $ac_compile
4504ac_compiler=$2
4505for ac_option in --version -v -V -qversion; do
4506  { { ac_try="$ac_compiler $ac_option >&5"
4507case "(($ac_try" in
4508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4509  *) ac_try_echo=$ac_try;;
4510esac
4511eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4512$as_echo "$ac_try_echo"; } >&5
4513  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4514  ac_status=$?
4515  if test -s conftest.err; then
4516    sed '10a\
4517... rest of stderr output deleted ...
4518         10q' conftest.err >conftest.er1
4519    cat conftest.er1 >&5
4520  fi
4521  rm -f conftest.er1 conftest.err
4522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4523  test $ac_status = 0; }
4524done
4525
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4527$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4528if ${ac_cv_c_compiler_gnu+:} false; then :
4529  $as_echo_n "(cached) " >&6
4530else
4531  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532/* end confdefs.h.  */
4533
4534int
4535main ()
4536{
4537#ifndef __GNUC__
4538       choke me
4539#endif
4540
4541  ;
4542  return 0;
4543}
4544_ACEOF
4545if ac_fn_c_try_compile "$LINENO"; then :
4546  ac_compiler_gnu=yes
4547else
4548  ac_compiler_gnu=no
4549fi
4550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551ac_cv_c_compiler_gnu=$ac_compiler_gnu
4552
4553fi
4554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4555$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4556if test $ac_compiler_gnu = yes; then
4557  GCC=yes
4558else
4559  GCC=
4560fi
4561ac_test_CFLAGS=${CFLAGS+set}
4562ac_save_CFLAGS=$CFLAGS
4563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4564$as_echo_n "checking whether $CC accepts -g... " >&6; }
4565if ${ac_cv_prog_cc_g+:} false; then :
4566  $as_echo_n "(cached) " >&6
4567else
4568  ac_save_c_werror_flag=$ac_c_werror_flag
4569   ac_c_werror_flag=yes
4570   ac_cv_prog_cc_g=no
4571   CFLAGS="-g"
4572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573/* end confdefs.h.  */
4574
4575int
4576main ()
4577{
4578
4579  ;
4580  return 0;
4581}
4582_ACEOF
4583if ac_fn_c_try_compile "$LINENO"; then :
4584  ac_cv_prog_cc_g=yes
4585else
4586  CFLAGS=""
4587      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588/* end confdefs.h.  */
4589
4590int
4591main ()
4592{
4593
4594  ;
4595  return 0;
4596}
4597_ACEOF
4598if ac_fn_c_try_compile "$LINENO"; then :
4599
4600else
4601  ac_c_werror_flag=$ac_save_c_werror_flag
4602	 CFLAGS="-g"
4603	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604/* end confdefs.h.  */
4605
4606int
4607main ()
4608{
4609
4610  ;
4611  return 0;
4612}
4613_ACEOF
4614if ac_fn_c_try_compile "$LINENO"; then :
4615  ac_cv_prog_cc_g=yes
4616fi
4617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618fi
4619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620fi
4621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622   ac_c_werror_flag=$ac_save_c_werror_flag
4623fi
4624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4625$as_echo "$ac_cv_prog_cc_g" >&6; }
4626if test "$ac_test_CFLAGS" = set; then
4627  CFLAGS=$ac_save_CFLAGS
4628elif test $ac_cv_prog_cc_g = yes; then
4629  if test "$GCC" = yes; then
4630    CFLAGS="-g -O2"
4631  else
4632    CFLAGS="-g"
4633  fi
4634else
4635  if test "$GCC" = yes; then
4636    CFLAGS="-O2"
4637  else
4638    CFLAGS=
4639  fi
4640fi
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4642$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4643if ${ac_cv_prog_cc_c89+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  ac_cv_prog_cc_c89=no
4647ac_save_CC=$CC
4648cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649/* end confdefs.h.  */
4650#include <stdarg.h>
4651#include <stdio.h>
4652struct stat;
4653/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4654struct buf { int x; };
4655FILE * (*rcsopen) (struct buf *, struct stat *, int);
4656static char *e (p, i)
4657     char **p;
4658     int i;
4659{
4660  return p[i];
4661}
4662static char *f (char * (*g) (char **, int), char **p, ...)
4663{
4664  char *s;
4665  va_list v;
4666  va_start (v,p);
4667  s = g (p, va_arg (v,int));
4668  va_end (v);
4669  return s;
4670}
4671
4672/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4673   function prototypes and stuff, but not '\xHH' hex character constants.
4674   These don't provoke an error unfortunately, instead are silently treated
4675   as 'x'.  The following induces an error, until -std is added to get
4676   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4677   array size at least.  It's necessary to write '\x00'==0 to get something
4678   that's true only with -std.  */
4679int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4680
4681/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4682   inside strings and character constants.  */
4683#define FOO(x) 'x'
4684int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4685
4686int test (int i, double x);
4687struct s1 {int (*f) (int a);};
4688struct s2 {int (*f) (double a);};
4689int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4690int argc;
4691char **argv;
4692int
4693main ()
4694{
4695return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4696  ;
4697  return 0;
4698}
4699_ACEOF
4700for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4701	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4702do
4703  CC="$ac_save_CC $ac_arg"
4704  if ac_fn_c_try_compile "$LINENO"; then :
4705  ac_cv_prog_cc_c89=$ac_arg
4706fi
4707rm -f core conftest.err conftest.$ac_objext
4708  test "x$ac_cv_prog_cc_c89" != "xno" && break
4709done
4710rm -f conftest.$ac_ext
4711CC=$ac_save_CC
4712
4713fi
4714# AC_CACHE_VAL
4715case "x$ac_cv_prog_cc_c89" in
4716  x)
4717    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4718$as_echo "none needed" >&6; } ;;
4719  xno)
4720    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4721$as_echo "unsupported" >&6; } ;;
4722  *)
4723    CC="$CC $ac_cv_prog_cc_c89"
4724    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4725$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4726esac
4727if test "x$ac_cv_prog_cc_c89" != xno; then :
4728
4729fi
4730
4731ac_ext=c
4732ac_cpp='$CPP $CPPFLAGS'
4733ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736
4737depcc="$CC"   am_compiler_list=
4738
4739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4740$as_echo_n "checking dependency style of $depcc... " >&6; }
4741if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4742  $as_echo_n "(cached) " >&6
4743else
4744  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4745  # We make a subdir and do the tests there.  Otherwise we can end up
4746  # making bogus files that we don't know about and never remove.  For
4747  # instance it was reported that on HP-UX the gcc test will end up
4748  # making a dummy file named `D' -- because `-MD' means `put the output
4749  # in D'.
4750  rm -rf conftest.dir
4751  mkdir conftest.dir
4752  # Copy depcomp to subdir because otherwise we won't find it if we're
4753  # using a relative directory.
4754  cp "$am_depcomp" conftest.dir
4755  cd conftest.dir
4756  # We will build objects and dependencies in a subdirectory because
4757  # it helps to detect inapplicable dependency modes.  For instance
4758  # both Tru64's cc and ICC support -MD to output dependencies as a
4759  # side effect of compilation, but ICC will put the dependencies in
4760  # the current directory while Tru64 will put them in the object
4761  # directory.
4762  mkdir sub
4763
4764  am_cv_CC_dependencies_compiler_type=none
4765  if test "$am_compiler_list" = ""; then
4766     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4767  fi
4768  am__universal=false
4769  case " $depcc " in #(
4770     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4771     esac
4772
4773  for depmode in $am_compiler_list; do
4774    # Setup a source with many dependencies, because some compilers
4775    # like to wrap large dependency lists on column 80 (with \), and
4776    # we should not choose a depcomp mode which is confused by this.
4777    #
4778    # We need to recreate these files for each test, as the compiler may
4779    # overwrite some of them when testing with obscure command lines.
4780    # This happens at least with the AIX C compiler.
4781    : > sub/conftest.c
4782    for i in 1 2 3 4 5 6; do
4783      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4784      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
4785      # Solaris 8's {/usr,}/bin/sh.
4786      touch sub/conftst$i.h
4787    done
4788    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4789
4790    # We check with `-c' and `-o' for the sake of the "dashmstdout"
4791    # mode.  It turns out that the SunPro C++ compiler does not properly
4792    # handle `-M -o', and we need to detect this.  Also, some Intel
4793    # versions had trouble with output in subdirs
4794    am__obj=sub/conftest.${OBJEXT-o}
4795    am__minus_obj="-o $am__obj"
4796    case $depmode in
4797    gcc)
4798      # This depmode causes a compiler race in universal mode.
4799      test "$am__universal" = false || continue
4800      ;;
4801    nosideeffect)
4802      # after this tag, mechanisms are not by side-effect, so they'll
4803      # only be used when explicitly requested
4804      if test "x$enable_dependency_tracking" = xyes; then
4805	continue
4806      else
4807	break
4808      fi
4809      ;;
4810    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4811      # This compiler won't grok `-c -o', but also, the minuso test has
4812      # not run yet.  These depmodes are late enough in the game, and
4813      # so weak that their functioning should not be impacted.
4814      am__obj=conftest.${OBJEXT-o}
4815      am__minus_obj=
4816      ;;
4817    none) break ;;
4818    esac
4819    if depmode=$depmode \
4820       source=sub/conftest.c object=$am__obj \
4821       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4822       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4823         >/dev/null 2>conftest.err &&
4824       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4825       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4826       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4827       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4828      # icc doesn't choke on unknown options, it will just issue warnings
4829      # or remarks (even with -Werror).  So we grep stderr for any message
4830      # that says an option was ignored or not supported.
4831      # When given -MP, icc 7.0 and 7.1 complain thusly:
4832      #   icc: Command line warning: ignoring option '-M'; no argument required
4833      # The diagnosis changed in icc 8.0:
4834      #   icc: Command line remark: option '-MP' not supported
4835      if (grep 'ignoring option' conftest.err ||
4836          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4837        am_cv_CC_dependencies_compiler_type=$depmode
4838        break
4839      fi
4840    fi
4841  done
4842
4843  cd ..
4844  rm -rf conftest.dir
4845else
4846  am_cv_CC_dependencies_compiler_type=none
4847fi
4848
4849fi
4850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4851$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4852CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4853
4854 if
4855  test "x$enable_dependency_tracking" != xno \
4856  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4857  am__fastdepCC_TRUE=
4858  am__fastdepCC_FALSE='#'
4859else
4860  am__fastdepCC_TRUE='#'
4861  am__fastdepCC_FALSE=
4862fi
4863
4864
4865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4866$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4867if ${ac_cv_path_SED+:} false; then :
4868  $as_echo_n "(cached) " >&6
4869else
4870            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4871     for ac_i in 1 2 3 4 5 6 7; do
4872       ac_script="$ac_script$as_nl$ac_script"
4873     done
4874     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4875     { ac_script=; unset ac_script;}
4876     if test -z "$SED"; then
4877  ac_path_SED_found=false
4878  # Loop through the user's path and test for each of PROGNAME-LIST
4879  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880for as_dir in $PATH
4881do
4882  IFS=$as_save_IFS
4883  test -z "$as_dir" && as_dir=.
4884    for ac_prog in sed gsed; do
4885    for ac_exec_ext in '' $ac_executable_extensions; do
4886      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4887      as_fn_executable_p "$ac_path_SED" || continue
4888# Check for GNU ac_path_SED and select it if it is found.
4889  # Check for GNU $ac_path_SED
4890case `"$ac_path_SED" --version 2>&1` in
4891*GNU*)
4892  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4893*)
4894  ac_count=0
4895  $as_echo_n 0123456789 >"conftest.in"
4896  while :
4897  do
4898    cat "conftest.in" "conftest.in" >"conftest.tmp"
4899    mv "conftest.tmp" "conftest.in"
4900    cp "conftest.in" "conftest.nl"
4901    $as_echo '' >> "conftest.nl"
4902    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4903    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4904    as_fn_arith $ac_count + 1 && ac_count=$as_val
4905    if test $ac_count -gt ${ac_path_SED_max-0}; then
4906      # Best one so far, save it but keep looking for a better one
4907      ac_cv_path_SED="$ac_path_SED"
4908      ac_path_SED_max=$ac_count
4909    fi
4910    # 10*(2^10) chars as input seems more than enough
4911    test $ac_count -gt 10 && break
4912  done
4913  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4914esac
4915
4916      $ac_path_SED_found && break 3
4917    done
4918  done
4919  done
4920IFS=$as_save_IFS
4921  if test -z "$ac_cv_path_SED"; then
4922    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4923  fi
4924else
4925  ac_cv_path_SED=$SED
4926fi
4927
4928fi
4929{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4930$as_echo "$ac_cv_path_SED" >&6; }
4931 SED="$ac_cv_path_SED"
4932  rm -f conftest.sed
4933
4934test -z "$SED" && SED=sed
4935Xsed="$SED -e 1s/^X//"
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4948$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4949if ${ac_cv_path_GREP+:} false; then :
4950  $as_echo_n "(cached) " >&6
4951else
4952  if test -z "$GREP"; then
4953  ac_path_GREP_found=false
4954  # Loop through the user's path and test for each of PROGNAME-LIST
4955  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4957do
4958  IFS=$as_save_IFS
4959  test -z "$as_dir" && as_dir=.
4960    for ac_prog in grep ggrep; do
4961    for ac_exec_ext in '' $ac_executable_extensions; do
4962      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4963      as_fn_executable_p "$ac_path_GREP" || continue
4964# Check for GNU ac_path_GREP and select it if it is found.
4965  # Check for GNU $ac_path_GREP
4966case `"$ac_path_GREP" --version 2>&1` in
4967*GNU*)
4968  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4969*)
4970  ac_count=0
4971  $as_echo_n 0123456789 >"conftest.in"
4972  while :
4973  do
4974    cat "conftest.in" "conftest.in" >"conftest.tmp"
4975    mv "conftest.tmp" "conftest.in"
4976    cp "conftest.in" "conftest.nl"
4977    $as_echo 'GREP' >> "conftest.nl"
4978    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4979    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4980    as_fn_arith $ac_count + 1 && ac_count=$as_val
4981    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4982      # Best one so far, save it but keep looking for a better one
4983      ac_cv_path_GREP="$ac_path_GREP"
4984      ac_path_GREP_max=$ac_count
4985    fi
4986    # 10*(2^10) chars as input seems more than enough
4987    test $ac_count -gt 10 && break
4988  done
4989  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4990esac
4991
4992      $ac_path_GREP_found && break 3
4993    done
4994  done
4995  done
4996IFS=$as_save_IFS
4997  if test -z "$ac_cv_path_GREP"; then
4998    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4999  fi
5000else
5001  ac_cv_path_GREP=$GREP
5002fi
5003
5004fi
5005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5006$as_echo "$ac_cv_path_GREP" >&6; }
5007 GREP="$ac_cv_path_GREP"
5008
5009
5010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5011$as_echo_n "checking for egrep... " >&6; }
5012if ${ac_cv_path_EGREP+:} false; then :
5013  $as_echo_n "(cached) " >&6
5014else
5015  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5016   then ac_cv_path_EGREP="$GREP -E"
5017   else
5018     if test -z "$EGREP"; then
5019  ac_path_EGREP_found=false
5020  # Loop through the user's path and test for each of PROGNAME-LIST
5021  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5023do
5024  IFS=$as_save_IFS
5025  test -z "$as_dir" && as_dir=.
5026    for ac_prog in egrep; do
5027    for ac_exec_ext in '' $ac_executable_extensions; do
5028      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5029      as_fn_executable_p "$ac_path_EGREP" || continue
5030# Check for GNU ac_path_EGREP and select it if it is found.
5031  # Check for GNU $ac_path_EGREP
5032case `"$ac_path_EGREP" --version 2>&1` in
5033*GNU*)
5034  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5035*)
5036  ac_count=0
5037  $as_echo_n 0123456789 >"conftest.in"
5038  while :
5039  do
5040    cat "conftest.in" "conftest.in" >"conftest.tmp"
5041    mv "conftest.tmp" "conftest.in"
5042    cp "conftest.in" "conftest.nl"
5043    $as_echo 'EGREP' >> "conftest.nl"
5044    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5045    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5046    as_fn_arith $ac_count + 1 && ac_count=$as_val
5047    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5048      # Best one so far, save it but keep looking for a better one
5049      ac_cv_path_EGREP="$ac_path_EGREP"
5050      ac_path_EGREP_max=$ac_count
5051    fi
5052    # 10*(2^10) chars as input seems more than enough
5053    test $ac_count -gt 10 && break
5054  done
5055  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5056esac
5057
5058      $ac_path_EGREP_found && break 3
5059    done
5060  done
5061  done
5062IFS=$as_save_IFS
5063  if test -z "$ac_cv_path_EGREP"; then
5064    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5065  fi
5066else
5067  ac_cv_path_EGREP=$EGREP
5068fi
5069
5070   fi
5071fi
5072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5073$as_echo "$ac_cv_path_EGREP" >&6; }
5074 EGREP="$ac_cv_path_EGREP"
5075
5076
5077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5078$as_echo_n "checking for fgrep... " >&6; }
5079if ${ac_cv_path_FGREP+:} false; then :
5080  $as_echo_n "(cached) " >&6
5081else
5082  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5083   then ac_cv_path_FGREP="$GREP -F"
5084   else
5085     if test -z "$FGREP"; then
5086  ac_path_FGREP_found=false
5087  # Loop through the user's path and test for each of PROGNAME-LIST
5088  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5089for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5090do
5091  IFS=$as_save_IFS
5092  test -z "$as_dir" && as_dir=.
5093    for ac_prog in fgrep; do
5094    for ac_exec_ext in '' $ac_executable_extensions; do
5095      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5096      as_fn_executable_p "$ac_path_FGREP" || continue
5097# Check for GNU ac_path_FGREP and select it if it is found.
5098  # Check for GNU $ac_path_FGREP
5099case `"$ac_path_FGREP" --version 2>&1` in
5100*GNU*)
5101  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5102*)
5103  ac_count=0
5104  $as_echo_n 0123456789 >"conftest.in"
5105  while :
5106  do
5107    cat "conftest.in" "conftest.in" >"conftest.tmp"
5108    mv "conftest.tmp" "conftest.in"
5109    cp "conftest.in" "conftest.nl"
5110    $as_echo 'FGREP' >> "conftest.nl"
5111    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5112    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5113    as_fn_arith $ac_count + 1 && ac_count=$as_val
5114    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5115      # Best one so far, save it but keep looking for a better one
5116      ac_cv_path_FGREP="$ac_path_FGREP"
5117      ac_path_FGREP_max=$ac_count
5118    fi
5119    # 10*(2^10) chars as input seems more than enough
5120    test $ac_count -gt 10 && break
5121  done
5122  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5123esac
5124
5125      $ac_path_FGREP_found && break 3
5126    done
5127  done
5128  done
5129IFS=$as_save_IFS
5130  if test -z "$ac_cv_path_FGREP"; then
5131    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5132  fi
5133else
5134  ac_cv_path_FGREP=$FGREP
5135fi
5136
5137   fi
5138fi
5139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5140$as_echo "$ac_cv_path_FGREP" >&6; }
5141 FGREP="$ac_cv_path_FGREP"
5142
5143
5144test -z "$GREP" && GREP=grep
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164# Check whether --with-gnu-ld was given.
5165if test "${with_gnu_ld+set}" = set; then :
5166  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5167else
5168  with_gnu_ld=no
5169fi
5170
5171ac_prog=ld
5172if test "$GCC" = yes; then
5173  # Check if gcc -print-prog-name=ld gives a path.
5174  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5175$as_echo_n "checking for ld used by $CC... " >&6; }
5176  case $host in
5177  *-*-mingw*)
5178    # gcc leaves a trailing carriage return which upsets mingw
5179    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5180  *)
5181    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5182  esac
5183  case $ac_prog in
5184    # Accept absolute paths.
5185    [\\/]* | ?:[\\/]*)
5186      re_direlt='/[^/][^/]*/\.\./'
5187      # Canonicalize the pathname of ld
5188      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5189      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5190	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5191      done
5192      test -z "$LD" && LD="$ac_prog"
5193      ;;
5194  "")
5195    # If it fails, then pretend we aren't using GCC.
5196    ac_prog=ld
5197    ;;
5198  *)
5199    # If it is relative, then search for the first ld in PATH.
5200    with_gnu_ld=unknown
5201    ;;
5202  esac
5203elif test "$with_gnu_ld" = yes; then
5204  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5205$as_echo_n "checking for GNU ld... " >&6; }
5206else
5207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5208$as_echo_n "checking for non-GNU ld... " >&6; }
5209fi
5210if ${lt_cv_path_LD+:} false; then :
5211  $as_echo_n "(cached) " >&6
5212else
5213  if test -z "$LD"; then
5214  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5215  for ac_dir in $PATH; do
5216    IFS="$lt_save_ifs"
5217    test -z "$ac_dir" && ac_dir=.
5218    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5219      lt_cv_path_LD="$ac_dir/$ac_prog"
5220      # Check to see if the program is GNU ld.  I'd rather use --version,
5221      # but apparently some variants of GNU ld only accept -v.
5222      # Break only if it was the GNU/non-GNU ld that we prefer.
5223      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5224      *GNU* | *'with BFD'*)
5225	test "$with_gnu_ld" != no && break
5226	;;
5227      *)
5228	test "$with_gnu_ld" != yes && break
5229	;;
5230      esac
5231    fi
5232  done
5233  IFS="$lt_save_ifs"
5234else
5235  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5236fi
5237fi
5238
5239LD="$lt_cv_path_LD"
5240if test -n "$LD"; then
5241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5242$as_echo "$LD" >&6; }
5243else
5244  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5245$as_echo "no" >&6; }
5246fi
5247test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5249$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5250if ${lt_cv_prog_gnu_ld+:} false; then :
5251  $as_echo_n "(cached) " >&6
5252else
5253  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5254case `$LD -v 2>&1 </dev/null` in
5255*GNU* | *'with BFD'*)
5256  lt_cv_prog_gnu_ld=yes
5257  ;;
5258*)
5259  lt_cv_prog_gnu_ld=no
5260  ;;
5261esac
5262fi
5263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5264$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5265with_gnu_ld=$lt_cv_prog_gnu_ld
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5276$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5277if ${lt_cv_path_NM+:} false; then :
5278  $as_echo_n "(cached) " >&6
5279else
5280  if test -n "$NM"; then
5281  # Let the user override the test.
5282  lt_cv_path_NM="$NM"
5283else
5284  lt_nm_to_check="${ac_tool_prefix}nm"
5285  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5286    lt_nm_to_check="$lt_nm_to_check nm"
5287  fi
5288  for lt_tmp_nm in $lt_nm_to_check; do
5289    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5290    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5291      IFS="$lt_save_ifs"
5292      test -z "$ac_dir" && ac_dir=.
5293      tmp_nm="$ac_dir/$lt_tmp_nm"
5294      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5295	# Check to see if the nm accepts a BSD-compat flag.
5296	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5297	#   nm: unknown option "B" ignored
5298	# Tru64's nm complains that /dev/null is an invalid object file
5299	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5300	*/dev/null* | *'Invalid file or object type'*)
5301	  lt_cv_path_NM="$tmp_nm -B"
5302	  break
5303	  ;;
5304	*)
5305	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5306	  */dev/null*)
5307	    lt_cv_path_NM="$tmp_nm -p"
5308	    break
5309	    ;;
5310	  *)
5311	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5312	    continue # so that we can try to find one that supports BSD flags
5313	    ;;
5314	  esac
5315	  ;;
5316	esac
5317      fi
5318    done
5319    IFS="$lt_save_ifs"
5320  done
5321  : ${lt_cv_path_NM=no}
5322fi
5323fi
5324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5325$as_echo "$lt_cv_path_NM" >&6; }
5326if test "$lt_cv_path_NM" != "no"; then
5327  NM="$lt_cv_path_NM"
5328else
5329  # Didn't find any BSD compatible name lister, look for dumpbin.
5330  if test -n "$DUMPBIN"; then :
5331    # Let the user override the test.
5332  else
5333    if test -n "$ac_tool_prefix"; then
5334  for ac_prog in dumpbin "link -dump"
5335  do
5336    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5337set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5339$as_echo_n "checking for $ac_word... " >&6; }
5340if ${ac_cv_prog_DUMPBIN+:} false; then :
5341  $as_echo_n "(cached) " >&6
5342else
5343  if test -n "$DUMPBIN"; then
5344  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5345else
5346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347for as_dir in $PATH
5348do
5349  IFS=$as_save_IFS
5350  test -z "$as_dir" && as_dir=.
5351    for ac_exec_ext in '' $ac_executable_extensions; do
5352  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5353    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5354    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5355    break 2
5356  fi
5357done
5358  done
5359IFS=$as_save_IFS
5360
5361fi
5362fi
5363DUMPBIN=$ac_cv_prog_DUMPBIN
5364if test -n "$DUMPBIN"; then
5365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5366$as_echo "$DUMPBIN" >&6; }
5367else
5368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5369$as_echo "no" >&6; }
5370fi
5371
5372
5373    test -n "$DUMPBIN" && break
5374  done
5375fi
5376if test -z "$DUMPBIN"; then
5377  ac_ct_DUMPBIN=$DUMPBIN
5378  for ac_prog in dumpbin "link -dump"
5379do
5380  # Extract the first word of "$ac_prog", so it can be a program name with args.
5381set dummy $ac_prog; ac_word=$2
5382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5383$as_echo_n "checking for $ac_word... " >&6; }
5384if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5385  $as_echo_n "(cached) " >&6
5386else
5387  if test -n "$ac_ct_DUMPBIN"; then
5388  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5389else
5390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5391for as_dir in $PATH
5392do
5393  IFS=$as_save_IFS
5394  test -z "$as_dir" && as_dir=.
5395    for ac_exec_ext in '' $ac_executable_extensions; do
5396  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5397    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5398    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5399    break 2
5400  fi
5401done
5402  done
5403IFS=$as_save_IFS
5404
5405fi
5406fi
5407ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5408if test -n "$ac_ct_DUMPBIN"; then
5409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5410$as_echo "$ac_ct_DUMPBIN" >&6; }
5411else
5412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5413$as_echo "no" >&6; }
5414fi
5415
5416
5417  test -n "$ac_ct_DUMPBIN" && break
5418done
5419
5420  if test "x$ac_ct_DUMPBIN" = x; then
5421    DUMPBIN=":"
5422  else
5423    case $cross_compiling:$ac_tool_warned in
5424yes:)
5425{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5426$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5427ac_tool_warned=yes ;;
5428esac
5429    DUMPBIN=$ac_ct_DUMPBIN
5430  fi
5431fi
5432
5433    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5434    *COFF*)
5435      DUMPBIN="$DUMPBIN -symbols"
5436      ;;
5437    *)
5438      DUMPBIN=:
5439      ;;
5440    esac
5441  fi
5442
5443  if test "$DUMPBIN" != ":"; then
5444    NM="$DUMPBIN"
5445  fi
5446fi
5447test -z "$NM" && NM=nm
5448
5449
5450
5451
5452
5453
5454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5455$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5456if ${lt_cv_nm_interface+:} false; then :
5457  $as_echo_n "(cached) " >&6
5458else
5459  lt_cv_nm_interface="BSD nm"
5460  echo "int some_variable = 0;" > conftest.$ac_ext
5461  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5462  (eval "$ac_compile" 2>conftest.err)
5463  cat conftest.err >&5
5464  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5465  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5466  cat conftest.err >&5
5467  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5468  cat conftest.out >&5
5469  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5470    lt_cv_nm_interface="MS dumpbin"
5471  fi
5472  rm -f conftest*
5473fi
5474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5475$as_echo "$lt_cv_nm_interface" >&6; }
5476
5477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5478$as_echo_n "checking whether ln -s works... " >&6; }
5479LN_S=$as_ln_s
5480if test "$LN_S" = "ln -s"; then
5481  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5482$as_echo "yes" >&6; }
5483else
5484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5485$as_echo "no, using $LN_S" >&6; }
5486fi
5487
5488# find the maximum length of command line arguments
5489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5490$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5491if ${lt_cv_sys_max_cmd_len+:} false; then :
5492  $as_echo_n "(cached) " >&6
5493else
5494    i=0
5495  teststring="ABCD"
5496
5497  case $build_os in
5498  msdosdjgpp*)
5499    # On DJGPP, this test can blow up pretty badly due to problems in libc
5500    # (any single argument exceeding 2000 bytes causes a buffer overrun
5501    # during glob expansion).  Even if it were fixed, the result of this
5502    # check would be larger than it should be.
5503    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5504    ;;
5505
5506  gnu*)
5507    # Under GNU Hurd, this test is not required because there is
5508    # no limit to the length of command line arguments.
5509    # Libtool will interpret -1 as no limit whatsoever
5510    lt_cv_sys_max_cmd_len=-1;
5511    ;;
5512
5513  cygwin* | mingw* | cegcc*)
5514    # On Win9x/ME, this test blows up -- it succeeds, but takes
5515    # about 5 minutes as the teststring grows exponentially.
5516    # Worse, since 9x/ME are not pre-emptively multitasking,
5517    # you end up with a "frozen" computer, even though with patience
5518    # the test eventually succeeds (with a max line length of 256k).
5519    # Instead, let's just punt: use the minimum linelength reported by
5520    # all of the supported platforms: 8192 (on NT/2K/XP).
5521    lt_cv_sys_max_cmd_len=8192;
5522    ;;
5523
5524  mint*)
5525    # On MiNT this can take a long time and run out of memory.
5526    lt_cv_sys_max_cmd_len=8192;
5527    ;;
5528
5529  amigaos*)
5530    # On AmigaOS with pdksh, this test takes hours, literally.
5531    # So we just punt and use a minimum line length of 8192.
5532    lt_cv_sys_max_cmd_len=8192;
5533    ;;
5534
5535  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5536    # This has been around since 386BSD, at least.  Likely further.
5537    if test -x /sbin/sysctl; then
5538      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5539    elif test -x /usr/sbin/sysctl; then
5540      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5541    else
5542      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5543    fi
5544    # And add a safety zone
5545    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5546    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5547    ;;
5548
5549  interix*)
5550    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5551    lt_cv_sys_max_cmd_len=196608
5552    ;;
5553
5554  os2*)
5555    # The test takes a long time on OS/2.
5556    lt_cv_sys_max_cmd_len=8192
5557    ;;
5558
5559  osf*)
5560    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5561    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5562    # nice to cause kernel panics so lets avoid the loop below.
5563    # First set a reasonable default.
5564    lt_cv_sys_max_cmd_len=16384
5565    #
5566    if test -x /sbin/sysconfig; then
5567      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5568        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5569      esac
5570    fi
5571    ;;
5572  sco3.2v5*)
5573    lt_cv_sys_max_cmd_len=102400
5574    ;;
5575  sysv5* | sco5v6* | sysv4.2uw2*)
5576    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5577    if test -n "$kargmax"; then
5578      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5579    else
5580      lt_cv_sys_max_cmd_len=32768
5581    fi
5582    ;;
5583  *)
5584    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5585    if test -n "$lt_cv_sys_max_cmd_len" && \
5586	test undefined != "$lt_cv_sys_max_cmd_len"; then
5587      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5588      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5589    else
5590      # Make teststring a little bigger before we do anything with it.
5591      # a 1K string should be a reasonable start.
5592      for i in 1 2 3 4 5 6 7 8 ; do
5593        teststring=$teststring$teststring
5594      done
5595      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5596      # If test is not a shell built-in, we'll probably end up computing a
5597      # maximum length that is only half of the actual maximum length, but
5598      # we can't tell.
5599      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5600	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5601	      test $i != 17 # 1/2 MB should be enough
5602      do
5603        i=`expr $i + 1`
5604        teststring=$teststring$teststring
5605      done
5606      # Only check the string length outside the loop.
5607      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5608      teststring=
5609      # Add a significant safety factor because C++ compilers can tack on
5610      # massive amounts of additional arguments before passing them to the
5611      # linker.  It appears as though 1/2 is a usable value.
5612      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5613    fi
5614    ;;
5615  esac
5616
5617fi
5618
5619if test -n $lt_cv_sys_max_cmd_len ; then
5620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5621$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5622else
5623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5624$as_echo "none" >&6; }
5625fi
5626max_cmd_len=$lt_cv_sys_max_cmd_len
5627
5628
5629
5630
5631
5632
5633: ${CP="cp -f"}
5634: ${MV="mv -f"}
5635: ${RM="rm -f"}
5636
5637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5638$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5639# Try some XSI features
5640xsi_shell=no
5641( _lt_dummy="a/b/c"
5642  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5643      = c,a/b,b/c, \
5644    && eval 'test $(( 1 + 1 )) -eq 2 \
5645    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5646  && xsi_shell=yes
5647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5648$as_echo "$xsi_shell" >&6; }
5649
5650
5651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5652$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5653lt_shell_append=no
5654( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5655    >/dev/null 2>&1 \
5656  && lt_shell_append=yes
5657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5658$as_echo "$lt_shell_append" >&6; }
5659
5660
5661if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5662  lt_unset=unset
5663else
5664  lt_unset=false
5665fi
5666
5667
5668
5669
5670
5671# test EBCDIC or ASCII
5672case `echo X|tr X '\101'` in
5673 A) # ASCII based system
5674    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5675  lt_SP2NL='tr \040 \012'
5676  lt_NL2SP='tr \015\012 \040\040'
5677  ;;
5678 *) # EBCDIC based system
5679  lt_SP2NL='tr \100 \n'
5680  lt_NL2SP='tr \r\n \100\100'
5681  ;;
5682esac
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5693$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5694if ${lt_cv_to_host_file_cmd+:} false; then :
5695  $as_echo_n "(cached) " >&6
5696else
5697  case $host in
5698  *-*-mingw* )
5699    case $build in
5700      *-*-mingw* ) # actually msys
5701        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5702        ;;
5703      *-*-cygwin* )
5704        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5705        ;;
5706      * ) # otherwise, assume *nix
5707        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5708        ;;
5709    esac
5710    ;;
5711  *-*-cygwin* )
5712    case $build in
5713      *-*-mingw* ) # actually msys
5714        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5715        ;;
5716      *-*-cygwin* )
5717        lt_cv_to_host_file_cmd=func_convert_file_noop
5718        ;;
5719      * ) # otherwise, assume *nix
5720        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5721        ;;
5722    esac
5723    ;;
5724  * ) # unhandled hosts (and "normal" native builds)
5725    lt_cv_to_host_file_cmd=func_convert_file_noop
5726    ;;
5727esac
5728
5729fi
5730
5731to_host_file_cmd=$lt_cv_to_host_file_cmd
5732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5733$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5734
5735
5736
5737
5738
5739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5740$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5741if ${lt_cv_to_tool_file_cmd+:} false; then :
5742  $as_echo_n "(cached) " >&6
5743else
5744  #assume ordinary cross tools, or native build.
5745lt_cv_to_tool_file_cmd=func_convert_file_noop
5746case $host in
5747  *-*-mingw* )
5748    case $build in
5749      *-*-mingw* ) # actually msys
5750        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5751        ;;
5752    esac
5753    ;;
5754esac
5755
5756fi
5757
5758to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5760$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5761
5762
5763
5764
5765
5766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5767$as_echo_n "checking for $LD option to reload object files... " >&6; }
5768if ${lt_cv_ld_reload_flag+:} false; then :
5769  $as_echo_n "(cached) " >&6
5770else
5771  lt_cv_ld_reload_flag='-r'
5772fi
5773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5774$as_echo "$lt_cv_ld_reload_flag" >&6; }
5775reload_flag=$lt_cv_ld_reload_flag
5776case $reload_flag in
5777"" | " "*) ;;
5778*) reload_flag=" $reload_flag" ;;
5779esac
5780reload_cmds='$LD$reload_flag -o $output$reload_objs'
5781case $host_os in
5782  cygwin* | mingw* | pw32* | cegcc*)
5783    if test "$GCC" != yes; then
5784      reload_cmds=false
5785    fi
5786    ;;
5787  darwin*)
5788    if test "$GCC" = yes; then
5789      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5790    else
5791      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5792    fi
5793    ;;
5794esac
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804if test -n "$ac_tool_prefix"; then
5805  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5806set dummy ${ac_tool_prefix}objdump; ac_word=$2
5807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5808$as_echo_n "checking for $ac_word... " >&6; }
5809if ${ac_cv_prog_OBJDUMP+:} false; then :
5810  $as_echo_n "(cached) " >&6
5811else
5812  if test -n "$OBJDUMP"; then
5813  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5814else
5815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816for as_dir in $PATH
5817do
5818  IFS=$as_save_IFS
5819  test -z "$as_dir" && as_dir=.
5820    for ac_exec_ext in '' $ac_executable_extensions; do
5821  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5822    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5824    break 2
5825  fi
5826done
5827  done
5828IFS=$as_save_IFS
5829
5830fi
5831fi
5832OBJDUMP=$ac_cv_prog_OBJDUMP
5833if test -n "$OBJDUMP"; then
5834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5835$as_echo "$OBJDUMP" >&6; }
5836else
5837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5838$as_echo "no" >&6; }
5839fi
5840
5841
5842fi
5843if test -z "$ac_cv_prog_OBJDUMP"; then
5844  ac_ct_OBJDUMP=$OBJDUMP
5845  # Extract the first word of "objdump", so it can be a program name with args.
5846set dummy objdump; ac_word=$2
5847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848$as_echo_n "checking for $ac_word... " >&6; }
5849if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5850  $as_echo_n "(cached) " >&6
5851else
5852  if test -n "$ac_ct_OBJDUMP"; then
5853  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5854else
5855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856for as_dir in $PATH
5857do
5858  IFS=$as_save_IFS
5859  test -z "$as_dir" && as_dir=.
5860    for ac_exec_ext in '' $ac_executable_extensions; do
5861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5862    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5864    break 2
5865  fi
5866done
5867  done
5868IFS=$as_save_IFS
5869
5870fi
5871fi
5872ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5873if test -n "$ac_ct_OBJDUMP"; then
5874  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5875$as_echo "$ac_ct_OBJDUMP" >&6; }
5876else
5877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5878$as_echo "no" >&6; }
5879fi
5880
5881  if test "x$ac_ct_OBJDUMP" = x; then
5882    OBJDUMP="false"
5883  else
5884    case $cross_compiling:$ac_tool_warned in
5885yes:)
5886{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5887$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5888ac_tool_warned=yes ;;
5889esac
5890    OBJDUMP=$ac_ct_OBJDUMP
5891  fi
5892else
5893  OBJDUMP="$ac_cv_prog_OBJDUMP"
5894fi
5895
5896test -z "$OBJDUMP" && OBJDUMP=objdump
5897
5898
5899
5900
5901
5902
5903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5904$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5905if ${lt_cv_deplibs_check_method+:} false; then :
5906  $as_echo_n "(cached) " >&6
5907else
5908  lt_cv_file_magic_cmd='$MAGIC_CMD'
5909lt_cv_file_magic_test_file=
5910lt_cv_deplibs_check_method='unknown'
5911# Need to set the preceding variable on all platforms that support
5912# interlibrary dependencies.
5913# 'none' -- dependencies not supported.
5914# `unknown' -- same as none, but documents that we really don't know.
5915# 'pass_all' -- all dependencies passed with no checks.
5916# 'test_compile' -- check by making test program.
5917# 'file_magic [[regex]]' -- check by looking for files in library path
5918# which responds to the $file_magic_cmd with a given extended regex.
5919# If you have `file' or equivalent on your system and you're not sure
5920# whether `pass_all' will *always* work, you probably want this one.
5921
5922case $host_os in
5923aix[4-9]*)
5924  lt_cv_deplibs_check_method=pass_all
5925  ;;
5926
5927beos*)
5928  lt_cv_deplibs_check_method=pass_all
5929  ;;
5930
5931bsdi[45]*)
5932  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5933  lt_cv_file_magic_cmd='/usr/bin/file -L'
5934  lt_cv_file_magic_test_file=/shlib/libc.so
5935  ;;
5936
5937cygwin*)
5938  # func_win32_libid is a shell function defined in ltmain.sh
5939  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5940  lt_cv_file_magic_cmd='func_win32_libid'
5941  ;;
5942
5943mingw* | pw32*)
5944  # Base MSYS/MinGW do not provide the 'file' command needed by
5945  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5946  # unless we find 'file', for example because we are cross-compiling.
5947  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5948  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5949    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5950    lt_cv_file_magic_cmd='func_win32_libid'
5951  else
5952    # Keep this pattern in sync with the one in func_win32_libid.
5953    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5954    lt_cv_file_magic_cmd='$OBJDUMP -f'
5955  fi
5956  ;;
5957
5958cegcc*)
5959  # use the weaker test based on 'objdump'. See mingw*.
5960  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5961  lt_cv_file_magic_cmd='$OBJDUMP -f'
5962  ;;
5963
5964darwin* | rhapsody*)
5965  lt_cv_deplibs_check_method=pass_all
5966  ;;
5967
5968freebsd* | dragonfly*)
5969  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5970    case $host_cpu in
5971    i*86 )
5972      # Not sure whether the presence of OpenBSD here was a mistake.
5973      # Let's accept both of them until this is cleared up.
5974      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5975      lt_cv_file_magic_cmd=/usr/bin/file
5976      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5977      ;;
5978    esac
5979  else
5980    lt_cv_deplibs_check_method=pass_all
5981  fi
5982  ;;
5983
5984haiku*)
5985  lt_cv_deplibs_check_method=pass_all
5986  ;;
5987
5988hpux10.20* | hpux11*)
5989  lt_cv_file_magic_cmd=/usr/bin/file
5990  case $host_cpu in
5991  ia64*)
5992    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5993    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5994    ;;
5995  hppa*64*)
5996    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]'
5997    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5998    ;;
5999  *)
6000    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6001    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6002    ;;
6003  esac
6004  ;;
6005
6006interix[3-9]*)
6007  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6008  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6009  ;;
6010
6011irix5* | irix6* | nonstopux*)
6012  case $LD in
6013  *-32|*"-32 ") libmagic=32-bit;;
6014  *-n32|*"-n32 ") libmagic=N32;;
6015  *-64|*"-64 ") libmagic=64-bit;;
6016  *) libmagic=never-match;;
6017  esac
6018  lt_cv_deplibs_check_method=pass_all
6019  ;;
6020
6021# This must be glibc/ELF.
6022linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6023  lt_cv_deplibs_check_method=pass_all
6024  ;;
6025
6026netbsd* | netbsdelf*-gnu)
6027  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6028    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6029  else
6030    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6031  fi
6032  ;;
6033
6034newos6*)
6035  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6036  lt_cv_file_magic_cmd=/usr/bin/file
6037  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6038  ;;
6039
6040*nto* | *qnx*)
6041  lt_cv_deplibs_check_method=pass_all
6042  ;;
6043
6044openbsd*)
6045  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6046    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6047  else
6048    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6049  fi
6050  ;;
6051
6052osf3* | osf4* | osf5*)
6053  lt_cv_deplibs_check_method=pass_all
6054  ;;
6055
6056rdos*)
6057  lt_cv_deplibs_check_method=pass_all
6058  ;;
6059
6060solaris*)
6061  lt_cv_deplibs_check_method=pass_all
6062  ;;
6063
6064sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6065  lt_cv_deplibs_check_method=pass_all
6066  ;;
6067
6068sysv4 | sysv4.3*)
6069  case $host_vendor in
6070  motorola)
6071    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]'
6072    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6073    ;;
6074  ncr)
6075    lt_cv_deplibs_check_method=pass_all
6076    ;;
6077  sequent)
6078    lt_cv_file_magic_cmd='/bin/file'
6079    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6080    ;;
6081  sni)
6082    lt_cv_file_magic_cmd='/bin/file'
6083    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6084    lt_cv_file_magic_test_file=/lib/libc.so
6085    ;;
6086  siemens)
6087    lt_cv_deplibs_check_method=pass_all
6088    ;;
6089  pc)
6090    lt_cv_deplibs_check_method=pass_all
6091    ;;
6092  esac
6093  ;;
6094
6095tpf*)
6096  lt_cv_deplibs_check_method=pass_all
6097  ;;
6098esac
6099
6100fi
6101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6102$as_echo "$lt_cv_deplibs_check_method" >&6; }
6103
6104file_magic_glob=
6105want_nocaseglob=no
6106if test "$build" = "$host"; then
6107  case $host_os in
6108  mingw* | pw32*)
6109    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6110      want_nocaseglob=yes
6111    else
6112      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6113    fi
6114    ;;
6115  esac
6116fi
6117
6118file_magic_cmd=$lt_cv_file_magic_cmd
6119deplibs_check_method=$lt_cv_deplibs_check_method
6120test -z "$deplibs_check_method" && deplibs_check_method=unknown
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143if test -n "$ac_tool_prefix"; then
6144  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6145set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6146{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147$as_echo_n "checking for $ac_word... " >&6; }
6148if ${ac_cv_prog_DLLTOOL+:} false; then :
6149  $as_echo_n "(cached) " >&6
6150else
6151  if test -n "$DLLTOOL"; then
6152  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6153else
6154as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155for as_dir in $PATH
6156do
6157  IFS=$as_save_IFS
6158  test -z "$as_dir" && as_dir=.
6159    for ac_exec_ext in '' $ac_executable_extensions; do
6160  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6162    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163    break 2
6164  fi
6165done
6166  done
6167IFS=$as_save_IFS
6168
6169fi
6170fi
6171DLLTOOL=$ac_cv_prog_DLLTOOL
6172if test -n "$DLLTOOL"; then
6173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6174$as_echo "$DLLTOOL" >&6; }
6175else
6176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177$as_echo "no" >&6; }
6178fi
6179
6180
6181fi
6182if test -z "$ac_cv_prog_DLLTOOL"; then
6183  ac_ct_DLLTOOL=$DLLTOOL
6184  # Extract the first word of "dlltool", so it can be a program name with args.
6185set dummy dlltool; ac_word=$2
6186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187$as_echo_n "checking for $ac_word... " >&6; }
6188if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6189  $as_echo_n "(cached) " >&6
6190else
6191  if test -n "$ac_ct_DLLTOOL"; then
6192  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6193else
6194as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195for as_dir in $PATH
6196do
6197  IFS=$as_save_IFS
6198  test -z "$as_dir" && as_dir=.
6199    for ac_exec_ext in '' $ac_executable_extensions; do
6200  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6202    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203    break 2
6204  fi
6205done
6206  done
6207IFS=$as_save_IFS
6208
6209fi
6210fi
6211ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6212if test -n "$ac_ct_DLLTOOL"; then
6213  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6214$as_echo "$ac_ct_DLLTOOL" >&6; }
6215else
6216  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217$as_echo "no" >&6; }
6218fi
6219
6220  if test "x$ac_ct_DLLTOOL" = x; then
6221    DLLTOOL="false"
6222  else
6223    case $cross_compiling:$ac_tool_warned in
6224yes:)
6225{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227ac_tool_warned=yes ;;
6228esac
6229    DLLTOOL=$ac_ct_DLLTOOL
6230  fi
6231else
6232  DLLTOOL="$ac_cv_prog_DLLTOOL"
6233fi
6234
6235test -z "$DLLTOOL" && DLLTOOL=dlltool
6236
6237
6238
6239
6240
6241
6242
6243{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6244$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6245if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6246  $as_echo_n "(cached) " >&6
6247else
6248  lt_cv_sharedlib_from_linklib_cmd='unknown'
6249
6250case $host_os in
6251cygwin* | mingw* | pw32* | cegcc*)
6252  # two different shell functions defined in ltmain.sh
6253  # decide which to use based on capabilities of $DLLTOOL
6254  case `$DLLTOOL --help 2>&1` in
6255  *--identify-strict*)
6256    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6257    ;;
6258  *)
6259    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6260    ;;
6261  esac
6262  ;;
6263*)
6264  # fallback: assume linklib IS sharedlib
6265  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6266  ;;
6267esac
6268
6269fi
6270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6271$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6272sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6273test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6274
6275
6276
6277
6278
6279
6280
6281
6282if test -n "$ac_tool_prefix"; then
6283  for ac_prog in ar
6284  do
6285    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6286set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288$as_echo_n "checking for $ac_word... " >&6; }
6289if ${ac_cv_prog_AR+:} false; then :
6290  $as_echo_n "(cached) " >&6
6291else
6292  if test -n "$AR"; then
6293  ac_cv_prog_AR="$AR" # Let the user override the test.
6294else
6295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296for as_dir in $PATH
6297do
6298  IFS=$as_save_IFS
6299  test -z "$as_dir" && as_dir=.
6300    for ac_exec_ext in '' $ac_executable_extensions; do
6301  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6302    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6303    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304    break 2
6305  fi
6306done
6307  done
6308IFS=$as_save_IFS
6309
6310fi
6311fi
6312AR=$ac_cv_prog_AR
6313if test -n "$AR"; then
6314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6315$as_echo "$AR" >&6; }
6316else
6317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6318$as_echo "no" >&6; }
6319fi
6320
6321
6322    test -n "$AR" && break
6323  done
6324fi
6325if test -z "$AR"; then
6326  ac_ct_AR=$AR
6327  for ac_prog in ar
6328do
6329  # Extract the first word of "$ac_prog", so it can be a program name with args.
6330set dummy $ac_prog; ac_word=$2
6331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332$as_echo_n "checking for $ac_word... " >&6; }
6333if ${ac_cv_prog_ac_ct_AR+:} false; then :
6334  $as_echo_n "(cached) " >&6
6335else
6336  if test -n "$ac_ct_AR"; then
6337  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6338else
6339as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6340for as_dir in $PATH
6341do
6342  IFS=$as_save_IFS
6343  test -z "$as_dir" && as_dir=.
6344    for ac_exec_ext in '' $ac_executable_extensions; do
6345  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6346    ac_cv_prog_ac_ct_AR="$ac_prog"
6347    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6348    break 2
6349  fi
6350done
6351  done
6352IFS=$as_save_IFS
6353
6354fi
6355fi
6356ac_ct_AR=$ac_cv_prog_ac_ct_AR
6357if test -n "$ac_ct_AR"; then
6358  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6359$as_echo "$ac_ct_AR" >&6; }
6360else
6361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362$as_echo "no" >&6; }
6363fi
6364
6365
6366  test -n "$ac_ct_AR" && break
6367done
6368
6369  if test "x$ac_ct_AR" = x; then
6370    AR="false"
6371  else
6372    case $cross_compiling:$ac_tool_warned in
6373yes:)
6374{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6375$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6376ac_tool_warned=yes ;;
6377esac
6378    AR=$ac_ct_AR
6379  fi
6380fi
6381
6382: ${AR=ar}
6383: ${AR_FLAGS=cru}
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6396$as_echo_n "checking for archiver @FILE support... " >&6; }
6397if ${lt_cv_ar_at_file+:} false; then :
6398  $as_echo_n "(cached) " >&6
6399else
6400  lt_cv_ar_at_file=no
6401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6402/* end confdefs.h.  */
6403
6404int
6405main ()
6406{
6407
6408  ;
6409  return 0;
6410}
6411_ACEOF
6412if ac_fn_c_try_compile "$LINENO"; then :
6413  echo conftest.$ac_objext > conftest.lst
6414      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6415      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6416  (eval $lt_ar_try) 2>&5
6417  ac_status=$?
6418  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6419  test $ac_status = 0; }
6420      if test "$ac_status" -eq 0; then
6421	# Ensure the archiver fails upon bogus file names.
6422	rm -f conftest.$ac_objext libconftest.a
6423	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6424  (eval $lt_ar_try) 2>&5
6425  ac_status=$?
6426  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6427  test $ac_status = 0; }
6428	if test "$ac_status" -ne 0; then
6429          lt_cv_ar_at_file=@
6430        fi
6431      fi
6432      rm -f conftest.* libconftest.a
6433
6434fi
6435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6436
6437fi
6438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6439$as_echo "$lt_cv_ar_at_file" >&6; }
6440
6441if test "x$lt_cv_ar_at_file" = xno; then
6442  archiver_list_spec=
6443else
6444  archiver_list_spec=$lt_cv_ar_at_file
6445fi
6446
6447
6448
6449
6450
6451
6452
6453if test -n "$ac_tool_prefix"; then
6454  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6455set dummy ${ac_tool_prefix}strip; ac_word=$2
6456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6457$as_echo_n "checking for $ac_word... " >&6; }
6458if ${ac_cv_prog_STRIP+:} false; then :
6459  $as_echo_n "(cached) " >&6
6460else
6461  if test -n "$STRIP"; then
6462  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6463else
6464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6465for as_dir in $PATH
6466do
6467  IFS=$as_save_IFS
6468  test -z "$as_dir" && as_dir=.
6469    for ac_exec_ext in '' $ac_executable_extensions; do
6470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6471    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6473    break 2
6474  fi
6475done
6476  done
6477IFS=$as_save_IFS
6478
6479fi
6480fi
6481STRIP=$ac_cv_prog_STRIP
6482if test -n "$STRIP"; then
6483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6484$as_echo "$STRIP" >&6; }
6485else
6486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487$as_echo "no" >&6; }
6488fi
6489
6490
6491fi
6492if test -z "$ac_cv_prog_STRIP"; then
6493  ac_ct_STRIP=$STRIP
6494  # Extract the first word of "strip", so it can be a program name with args.
6495set dummy strip; ac_word=$2
6496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497$as_echo_n "checking for $ac_word... " >&6; }
6498if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6499  $as_echo_n "(cached) " >&6
6500else
6501  if test -n "$ac_ct_STRIP"; then
6502  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6503else
6504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6505for as_dir in $PATH
6506do
6507  IFS=$as_save_IFS
6508  test -z "$as_dir" && as_dir=.
6509    for ac_exec_ext in '' $ac_executable_extensions; do
6510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6511    ac_cv_prog_ac_ct_STRIP="strip"
6512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6513    break 2
6514  fi
6515done
6516  done
6517IFS=$as_save_IFS
6518
6519fi
6520fi
6521ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6522if test -n "$ac_ct_STRIP"; then
6523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6524$as_echo "$ac_ct_STRIP" >&6; }
6525else
6526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6527$as_echo "no" >&6; }
6528fi
6529
6530  if test "x$ac_ct_STRIP" = x; then
6531    STRIP=":"
6532  else
6533    case $cross_compiling:$ac_tool_warned in
6534yes:)
6535{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6536$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6537ac_tool_warned=yes ;;
6538esac
6539    STRIP=$ac_ct_STRIP
6540  fi
6541else
6542  STRIP="$ac_cv_prog_STRIP"
6543fi
6544
6545test -z "$STRIP" && STRIP=:
6546
6547
6548
6549
6550
6551
6552if test -n "$ac_tool_prefix"; then
6553  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6554set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556$as_echo_n "checking for $ac_word... " >&6; }
6557if ${ac_cv_prog_RANLIB+:} false; then :
6558  $as_echo_n "(cached) " >&6
6559else
6560  if test -n "$RANLIB"; then
6561  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6562else
6563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564for as_dir in $PATH
6565do
6566  IFS=$as_save_IFS
6567  test -z "$as_dir" && as_dir=.
6568    for ac_exec_ext in '' $ac_executable_extensions; do
6569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6570    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572    break 2
6573  fi
6574done
6575  done
6576IFS=$as_save_IFS
6577
6578fi
6579fi
6580RANLIB=$ac_cv_prog_RANLIB
6581if test -n "$RANLIB"; then
6582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6583$as_echo "$RANLIB" >&6; }
6584else
6585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586$as_echo "no" >&6; }
6587fi
6588
6589
6590fi
6591if test -z "$ac_cv_prog_RANLIB"; then
6592  ac_ct_RANLIB=$RANLIB
6593  # Extract the first word of "ranlib", so it can be a program name with args.
6594set dummy ranlib; ac_word=$2
6595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6596$as_echo_n "checking for $ac_word... " >&6; }
6597if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6598  $as_echo_n "(cached) " >&6
6599else
6600  if test -n "$ac_ct_RANLIB"; then
6601  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6602else
6603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604for as_dir in $PATH
6605do
6606  IFS=$as_save_IFS
6607  test -z "$as_dir" && as_dir=.
6608    for ac_exec_ext in '' $ac_executable_extensions; do
6609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6610    ac_cv_prog_ac_ct_RANLIB="ranlib"
6611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612    break 2
6613  fi
6614done
6615  done
6616IFS=$as_save_IFS
6617
6618fi
6619fi
6620ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6621if test -n "$ac_ct_RANLIB"; then
6622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6623$as_echo "$ac_ct_RANLIB" >&6; }
6624else
6625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626$as_echo "no" >&6; }
6627fi
6628
6629  if test "x$ac_ct_RANLIB" = x; then
6630    RANLIB=":"
6631  else
6632    case $cross_compiling:$ac_tool_warned in
6633yes:)
6634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6636ac_tool_warned=yes ;;
6637esac
6638    RANLIB=$ac_ct_RANLIB
6639  fi
6640else
6641  RANLIB="$ac_cv_prog_RANLIB"
6642fi
6643
6644test -z "$RANLIB" && RANLIB=:
6645
6646
6647
6648
6649
6650
6651# Determine commands to create old-style static archives.
6652old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6653old_postinstall_cmds='chmod 644 $oldlib'
6654old_postuninstall_cmds=
6655
6656if test -n "$RANLIB"; then
6657  case $host_os in
6658  openbsd*)
6659    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6660    ;;
6661  *)
6662    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6663    ;;
6664  esac
6665  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6666fi
6667
6668case $host_os in
6669  darwin*)
6670    lock_old_archive_extraction=yes ;;
6671  *)
6672    lock_old_archive_extraction=no ;;
6673esac
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713# If no C compiler was specified, use CC.
6714LTCC=${LTCC-"$CC"}
6715
6716# If no C compiler flags were specified, use CFLAGS.
6717LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6718
6719# Allow CC to be a program name with arguments.
6720compiler=$CC
6721
6722
6723# Check for command to grab the raw symbol name followed by C symbol from nm.
6724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6725$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6726if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6727  $as_echo_n "(cached) " >&6
6728else
6729
6730# These are sane defaults that work on at least a few old systems.
6731# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6732
6733# Character class describing NM global symbol codes.
6734symcode='[BCDEGRST]'
6735
6736# Regexp to match symbols that can be accessed directly from C.
6737sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6738
6739# Define system-specific variables.
6740case $host_os in
6741aix*)
6742  symcode='[BCDT]'
6743  ;;
6744cygwin* | mingw* | pw32* | cegcc*)
6745  symcode='[ABCDGISTW]'
6746  ;;
6747hpux*)
6748  if test "$host_cpu" = ia64; then
6749    symcode='[ABCDEGRST]'
6750  fi
6751  ;;
6752irix* | nonstopux*)
6753  symcode='[BCDEGRST]'
6754  ;;
6755osf*)
6756  symcode='[BCDEGQRST]'
6757  ;;
6758solaris*)
6759  symcode='[BDRT]'
6760  ;;
6761sco3.2v5*)
6762  symcode='[DT]'
6763  ;;
6764sysv4.2uw2*)
6765  symcode='[DT]'
6766  ;;
6767sysv5* | sco5v6* | unixware* | OpenUNIX*)
6768  symcode='[ABDT]'
6769  ;;
6770sysv4)
6771  symcode='[DFNSTU]'
6772  ;;
6773esac
6774
6775# If we're using GNU nm, then use its standard symbol codes.
6776case `$NM -V 2>&1` in
6777*GNU* | *'with BFD'*)
6778  symcode='[ABCDGIRSTW]' ;;
6779esac
6780
6781# Transform an extracted symbol line into a proper C declaration.
6782# Some systems (esp. on ia64) link data and code symbols differently,
6783# so use this general approach.
6784lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6785
6786# Transform an extracted symbol line into symbol name and symbol address
6787lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6788lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6789
6790# Handle CRLF in mingw tool chain
6791opt_cr=
6792case $build_os in
6793mingw*)
6794  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6795  ;;
6796esac
6797
6798# Try without a prefix underscore, then with it.
6799for ac_symprfx in "" "_"; do
6800
6801  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6802  symxfrm="\\1 $ac_symprfx\\2 \\2"
6803
6804  # Write the raw and C identifiers.
6805  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6806    # Fake it for dumpbin and say T for any non-static function
6807    # and D for any global variable.
6808    # Also find C++ and __fastcall symbols from MSVC++,
6809    # which start with @ or ?.
6810    lt_cv_sys_global_symbol_pipe="$AWK '"\
6811"     {last_section=section; section=\$ 3};"\
6812"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6813"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6814"     \$ 0!~/External *\|/{next};"\
6815"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6816"     {if(hide[section]) next};"\
6817"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6818"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6819"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6820"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6821"     ' prfx=^$ac_symprfx"
6822  else
6823    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6824  fi
6825  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6826
6827  # Check to see that the pipe works correctly.
6828  pipe_works=no
6829
6830  rm -f conftest*
6831  cat > conftest.$ac_ext <<_LT_EOF
6832#ifdef __cplusplus
6833extern "C" {
6834#endif
6835char nm_test_var;
6836void nm_test_func(void);
6837void nm_test_func(void){}
6838#ifdef __cplusplus
6839}
6840#endif
6841int main(){nm_test_var='a';nm_test_func();return(0);}
6842_LT_EOF
6843
6844  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6845  (eval $ac_compile) 2>&5
6846  ac_status=$?
6847  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6848  test $ac_status = 0; }; then
6849    # Now try to grab the symbols.
6850    nlist=conftest.nm
6851    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6852  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6853  ac_status=$?
6854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6855  test $ac_status = 0; } && test -s "$nlist"; then
6856      # Try sorting and uniquifying the output.
6857      if sort "$nlist" | uniq > "$nlist"T; then
6858	mv -f "$nlist"T "$nlist"
6859      else
6860	rm -f "$nlist"T
6861      fi
6862
6863      # Make sure that we snagged all the symbols we need.
6864      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6865	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6866	  cat <<_LT_EOF > conftest.$ac_ext
6867/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6868#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6869/* DATA imports from DLLs on WIN32 con't be const, because runtime
6870   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6871# define LT_DLSYM_CONST
6872#elif defined(__osf__)
6873/* This system does not cope well with relocations in const data.  */
6874# define LT_DLSYM_CONST
6875#else
6876# define LT_DLSYM_CONST const
6877#endif
6878
6879#ifdef __cplusplus
6880extern "C" {
6881#endif
6882
6883_LT_EOF
6884	  # Now generate the symbol file.
6885	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6886
6887	  cat <<_LT_EOF >> conftest.$ac_ext
6888
6889/* The mapping between symbol names and symbols.  */
6890LT_DLSYM_CONST struct {
6891  const char *name;
6892  void       *address;
6893}
6894lt__PROGRAM__LTX_preloaded_symbols[] =
6895{
6896  { "@PROGRAM@", (void *) 0 },
6897_LT_EOF
6898	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6899	  cat <<\_LT_EOF >> conftest.$ac_ext
6900  {0, (void *) 0}
6901};
6902
6903/* This works around a problem in FreeBSD linker */
6904#ifdef FREEBSD_WORKAROUND
6905static const void *lt_preloaded_setup() {
6906  return lt__PROGRAM__LTX_preloaded_symbols;
6907}
6908#endif
6909
6910#ifdef __cplusplus
6911}
6912#endif
6913_LT_EOF
6914	  # Now try linking the two files.
6915	  mv conftest.$ac_objext conftstm.$ac_objext
6916	  lt_globsym_save_LIBS=$LIBS
6917	  lt_globsym_save_CFLAGS=$CFLAGS
6918	  LIBS="conftstm.$ac_objext"
6919	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6920	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6921  (eval $ac_link) 2>&5
6922  ac_status=$?
6923  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6924  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6925	    pipe_works=yes
6926	  fi
6927	  LIBS=$lt_globsym_save_LIBS
6928	  CFLAGS=$lt_globsym_save_CFLAGS
6929	else
6930	  echo "cannot find nm_test_func in $nlist" >&5
6931	fi
6932      else
6933	echo "cannot find nm_test_var in $nlist" >&5
6934      fi
6935    else
6936      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6937    fi
6938  else
6939    echo "$progname: failed program was:" >&5
6940    cat conftest.$ac_ext >&5
6941  fi
6942  rm -rf conftest* conftst*
6943
6944  # Do not use the global_symbol_pipe unless it works.
6945  if test "$pipe_works" = yes; then
6946    break
6947  else
6948    lt_cv_sys_global_symbol_pipe=
6949  fi
6950done
6951
6952fi
6953
6954if test -z "$lt_cv_sys_global_symbol_pipe"; then
6955  lt_cv_sys_global_symbol_to_cdecl=
6956fi
6957if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6959$as_echo "failed" >&6; }
6960else
6961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6962$as_echo "ok" >&6; }
6963fi
6964
6965# Response file support.
6966if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6967  nm_file_list_spec='@'
6968elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6969  nm_file_list_spec='@'
6970fi
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6999$as_echo_n "checking for sysroot... " >&6; }
7000
7001# Check whether --with-sysroot was given.
7002if test "${with_sysroot+set}" = set; then :
7003  withval=$with_sysroot;
7004else
7005  with_sysroot=no
7006fi
7007
7008
7009lt_sysroot=
7010case ${with_sysroot} in #(
7011 yes)
7012   if test "$GCC" = yes; then
7013     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7014   fi
7015   ;; #(
7016 /*)
7017   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7018   ;; #(
7019 no|'')
7020   ;; #(
7021 *)
7022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7023$as_echo "${with_sysroot}" >&6; }
7024   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7025   ;;
7026esac
7027
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7029$as_echo "${lt_sysroot:-no}" >&6; }
7030
7031
7032
7033
7034
7035# Check whether --enable-libtool-lock was given.
7036if test "${enable_libtool_lock+set}" = set; then :
7037  enableval=$enable_libtool_lock;
7038fi
7039
7040test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7041
7042# Some flags need to be propagated to the compiler or linker for good
7043# libtool support.
7044case $host in
7045ia64-*-hpux*)
7046  # Find out which ABI we are using.
7047  echo 'int i;' > conftest.$ac_ext
7048  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7049  (eval $ac_compile) 2>&5
7050  ac_status=$?
7051  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7052  test $ac_status = 0; }; then
7053    case `/usr/bin/file conftest.$ac_objext` in
7054      *ELF-32*)
7055	HPUX_IA64_MODE="32"
7056	;;
7057      *ELF-64*)
7058	HPUX_IA64_MODE="64"
7059	;;
7060    esac
7061  fi
7062  rm -rf conftest*
7063  ;;
7064*-*-irix6*)
7065  # Find out which ABI we are using.
7066  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7067  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7068  (eval $ac_compile) 2>&5
7069  ac_status=$?
7070  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7071  test $ac_status = 0; }; then
7072    if test "$lt_cv_prog_gnu_ld" = yes; then
7073      case `/usr/bin/file conftest.$ac_objext` in
7074	*32-bit*)
7075	  LD="${LD-ld} -melf32bsmip"
7076	  ;;
7077	*N32*)
7078	  LD="${LD-ld} -melf32bmipn32"
7079	  ;;
7080	*64-bit*)
7081	  LD="${LD-ld} -melf64bmip"
7082	;;
7083      esac
7084    else
7085      case `/usr/bin/file conftest.$ac_objext` in
7086	*32-bit*)
7087	  LD="${LD-ld} -32"
7088	  ;;
7089	*N32*)
7090	  LD="${LD-ld} -n32"
7091	  ;;
7092	*64-bit*)
7093	  LD="${LD-ld} -64"
7094	  ;;
7095      esac
7096    fi
7097  fi
7098  rm -rf conftest*
7099  ;;
7100
7101x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7102s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7103  # Find out which ABI we are using.
7104  echo 'int i;' > conftest.$ac_ext
7105  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7106  (eval $ac_compile) 2>&5
7107  ac_status=$?
7108  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7109  test $ac_status = 0; }; then
7110    case `/usr/bin/file conftest.o` in
7111      *32-bit*)
7112	case $host in
7113	  x86_64-*kfreebsd*-gnu)
7114	    LD="${LD-ld} -m elf_i386_fbsd"
7115	    ;;
7116	  x86_64-*linux*)
7117	    case `/usr/bin/file conftest.o` in
7118	      *x86-64*)
7119		LD="${LD-ld} -m elf32_x86_64"
7120		;;
7121	      *)
7122		LD="${LD-ld} -m elf_i386"
7123		;;
7124	    esac
7125	    ;;
7126	  ppc64-*linux*|powerpc64-*linux*)
7127	    LD="${LD-ld} -m elf32ppclinux"
7128	    ;;
7129	  s390x-*linux*)
7130	    LD="${LD-ld} -m elf_s390"
7131	    ;;
7132	  sparc64-*linux*)
7133	    LD="${LD-ld} -m elf32_sparc"
7134	    ;;
7135	esac
7136	;;
7137      *64-bit*)
7138	case $host in
7139	  x86_64-*kfreebsd*-gnu)
7140	    LD="${LD-ld} -m elf_x86_64_fbsd"
7141	    ;;
7142	  x86_64-*linux*)
7143	    LD="${LD-ld} -m elf_x86_64"
7144	    ;;
7145	  ppc*-*linux*|powerpc*-*linux*)
7146	    LD="${LD-ld} -m elf64ppc"
7147	    ;;
7148	  s390*-*linux*|s390*-*tpf*)
7149	    LD="${LD-ld} -m elf64_s390"
7150	    ;;
7151	  sparc*-*linux*)
7152	    LD="${LD-ld} -m elf64_sparc"
7153	    ;;
7154	esac
7155	;;
7156    esac
7157  fi
7158  rm -rf conftest*
7159  ;;
7160
7161*-*-sco3.2v5*)
7162  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7163  SAVE_CFLAGS="$CFLAGS"
7164  CFLAGS="$CFLAGS -belf"
7165  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7166$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7167if ${lt_cv_cc_needs_belf+:} false; then :
7168  $as_echo_n "(cached) " >&6
7169else
7170  ac_ext=c
7171ac_cpp='$CPP $CPPFLAGS'
7172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7174ac_compiler_gnu=$ac_cv_c_compiler_gnu
7175
7176     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177/* end confdefs.h.  */
7178
7179int
7180main ()
7181{
7182
7183  ;
7184  return 0;
7185}
7186_ACEOF
7187if ac_fn_c_try_link "$LINENO"; then :
7188  lt_cv_cc_needs_belf=yes
7189else
7190  lt_cv_cc_needs_belf=no
7191fi
7192rm -f core conftest.err conftest.$ac_objext \
7193    conftest$ac_exeext conftest.$ac_ext
7194     ac_ext=c
7195ac_cpp='$CPP $CPPFLAGS'
7196ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7197ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7198ac_compiler_gnu=$ac_cv_c_compiler_gnu
7199
7200fi
7201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7202$as_echo "$lt_cv_cc_needs_belf" >&6; }
7203  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7204    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7205    CFLAGS="$SAVE_CFLAGS"
7206  fi
7207  ;;
7208*-*solaris*)
7209  # Find out which ABI we are using.
7210  echo 'int i;' > conftest.$ac_ext
7211  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7212  (eval $ac_compile) 2>&5
7213  ac_status=$?
7214  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7215  test $ac_status = 0; }; then
7216    case `/usr/bin/file conftest.o` in
7217    *64-bit*)
7218      case $lt_cv_prog_gnu_ld in
7219      yes*)
7220        case $host in
7221        i?86-*-solaris*)
7222          LD="${LD-ld} -m elf_x86_64"
7223          ;;
7224        sparc*-*-solaris*)
7225          LD="${LD-ld} -m elf64_sparc"
7226          ;;
7227        esac
7228        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7229        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7230          LD="${LD-ld}_sol2"
7231        fi
7232        ;;
7233      *)
7234	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7235	  LD="${LD-ld} -64"
7236	fi
7237	;;
7238      esac
7239      ;;
7240    esac
7241  fi
7242  rm -rf conftest*
7243  ;;
7244esac
7245
7246need_locks="$enable_libtool_lock"
7247
7248if test -n "$ac_tool_prefix"; then
7249  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7250set dummy ${ac_tool_prefix}mt; ac_word=$2
7251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7252$as_echo_n "checking for $ac_word... " >&6; }
7253if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7254  $as_echo_n "(cached) " >&6
7255else
7256  if test -n "$MANIFEST_TOOL"; then
7257  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7258else
7259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7260for as_dir in $PATH
7261do
7262  IFS=$as_save_IFS
7263  test -z "$as_dir" && as_dir=.
7264    for ac_exec_ext in '' $ac_executable_extensions; do
7265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7266    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7268    break 2
7269  fi
7270done
7271  done
7272IFS=$as_save_IFS
7273
7274fi
7275fi
7276MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7277if test -n "$MANIFEST_TOOL"; then
7278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7279$as_echo "$MANIFEST_TOOL" >&6; }
7280else
7281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7282$as_echo "no" >&6; }
7283fi
7284
7285
7286fi
7287if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7288  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7289  # Extract the first word of "mt", so it can be a program name with args.
7290set dummy mt; ac_word=$2
7291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7292$as_echo_n "checking for $ac_word... " >&6; }
7293if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7294  $as_echo_n "(cached) " >&6
7295else
7296  if test -n "$ac_ct_MANIFEST_TOOL"; then
7297  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7298else
7299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7300for as_dir in $PATH
7301do
7302  IFS=$as_save_IFS
7303  test -z "$as_dir" && as_dir=.
7304    for ac_exec_ext in '' $ac_executable_extensions; do
7305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7306    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7308    break 2
7309  fi
7310done
7311  done
7312IFS=$as_save_IFS
7313
7314fi
7315fi
7316ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7317if test -n "$ac_ct_MANIFEST_TOOL"; then
7318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7319$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7320else
7321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322$as_echo "no" >&6; }
7323fi
7324
7325  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7326    MANIFEST_TOOL=":"
7327  else
7328    case $cross_compiling:$ac_tool_warned in
7329yes:)
7330{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7331$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7332ac_tool_warned=yes ;;
7333esac
7334    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7335  fi
7336else
7337  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7338fi
7339
7340test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7342$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7343if ${lt_cv_path_mainfest_tool+:} false; then :
7344  $as_echo_n "(cached) " >&6
7345else
7346  lt_cv_path_mainfest_tool=no
7347  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7348  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7349  cat conftest.err >&5
7350  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7351    lt_cv_path_mainfest_tool=yes
7352  fi
7353  rm -f conftest*
7354fi
7355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7356$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7357if test "x$lt_cv_path_mainfest_tool" != xyes; then
7358  MANIFEST_TOOL=:
7359fi
7360
7361
7362
7363
7364
7365
7366  case $host_os in
7367    rhapsody* | darwin*)
7368    if test -n "$ac_tool_prefix"; then
7369  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7370set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7372$as_echo_n "checking for $ac_word... " >&6; }
7373if ${ac_cv_prog_DSYMUTIL+:} false; then :
7374  $as_echo_n "(cached) " >&6
7375else
7376  if test -n "$DSYMUTIL"; then
7377  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7378else
7379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7380for as_dir in $PATH
7381do
7382  IFS=$as_save_IFS
7383  test -z "$as_dir" && as_dir=.
7384    for ac_exec_ext in '' $ac_executable_extensions; do
7385  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7386    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7387    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7388    break 2
7389  fi
7390done
7391  done
7392IFS=$as_save_IFS
7393
7394fi
7395fi
7396DSYMUTIL=$ac_cv_prog_DSYMUTIL
7397if test -n "$DSYMUTIL"; then
7398  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7399$as_echo "$DSYMUTIL" >&6; }
7400else
7401  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7402$as_echo "no" >&6; }
7403fi
7404
7405
7406fi
7407if test -z "$ac_cv_prog_DSYMUTIL"; then
7408  ac_ct_DSYMUTIL=$DSYMUTIL
7409  # Extract the first word of "dsymutil", so it can be a program name with args.
7410set dummy dsymutil; ac_word=$2
7411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7412$as_echo_n "checking for $ac_word... " >&6; }
7413if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7414  $as_echo_n "(cached) " >&6
7415else
7416  if test -n "$ac_ct_DSYMUTIL"; then
7417  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7418else
7419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7420for as_dir in $PATH
7421do
7422  IFS=$as_save_IFS
7423  test -z "$as_dir" && as_dir=.
7424    for ac_exec_ext in '' $ac_executable_extensions; do
7425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7426    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7428    break 2
7429  fi
7430done
7431  done
7432IFS=$as_save_IFS
7433
7434fi
7435fi
7436ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7437if test -n "$ac_ct_DSYMUTIL"; then
7438  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7439$as_echo "$ac_ct_DSYMUTIL" >&6; }
7440else
7441  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7442$as_echo "no" >&6; }
7443fi
7444
7445  if test "x$ac_ct_DSYMUTIL" = x; then
7446    DSYMUTIL=":"
7447  else
7448    case $cross_compiling:$ac_tool_warned in
7449yes:)
7450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7452ac_tool_warned=yes ;;
7453esac
7454    DSYMUTIL=$ac_ct_DSYMUTIL
7455  fi
7456else
7457  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7458fi
7459
7460    if test -n "$ac_tool_prefix"; then
7461  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7462set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7464$as_echo_n "checking for $ac_word... " >&6; }
7465if ${ac_cv_prog_NMEDIT+:} false; then :
7466  $as_echo_n "(cached) " >&6
7467else
7468  if test -n "$NMEDIT"; then
7469  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7470else
7471as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7472for as_dir in $PATH
7473do
7474  IFS=$as_save_IFS
7475  test -z "$as_dir" && as_dir=.
7476    for ac_exec_ext in '' $ac_executable_extensions; do
7477  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7478    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7479    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7480    break 2
7481  fi
7482done
7483  done
7484IFS=$as_save_IFS
7485
7486fi
7487fi
7488NMEDIT=$ac_cv_prog_NMEDIT
7489if test -n "$NMEDIT"; then
7490  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7491$as_echo "$NMEDIT" >&6; }
7492else
7493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7494$as_echo "no" >&6; }
7495fi
7496
7497
7498fi
7499if test -z "$ac_cv_prog_NMEDIT"; then
7500  ac_ct_NMEDIT=$NMEDIT
7501  # Extract the first word of "nmedit", so it can be a program name with args.
7502set dummy nmedit; ac_word=$2
7503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7504$as_echo_n "checking for $ac_word... " >&6; }
7505if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7506  $as_echo_n "(cached) " >&6
7507else
7508  if test -n "$ac_ct_NMEDIT"; then
7509  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7510else
7511as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7512for as_dir in $PATH
7513do
7514  IFS=$as_save_IFS
7515  test -z "$as_dir" && as_dir=.
7516    for ac_exec_ext in '' $ac_executable_extensions; do
7517  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7518    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7519    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7520    break 2
7521  fi
7522done
7523  done
7524IFS=$as_save_IFS
7525
7526fi
7527fi
7528ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7529if test -n "$ac_ct_NMEDIT"; then
7530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7531$as_echo "$ac_ct_NMEDIT" >&6; }
7532else
7533  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7534$as_echo "no" >&6; }
7535fi
7536
7537  if test "x$ac_ct_NMEDIT" = x; then
7538    NMEDIT=":"
7539  else
7540    case $cross_compiling:$ac_tool_warned in
7541yes:)
7542{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7543$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7544ac_tool_warned=yes ;;
7545esac
7546    NMEDIT=$ac_ct_NMEDIT
7547  fi
7548else
7549  NMEDIT="$ac_cv_prog_NMEDIT"
7550fi
7551
7552    if test -n "$ac_tool_prefix"; then
7553  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7554set dummy ${ac_tool_prefix}lipo; ac_word=$2
7555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7556$as_echo_n "checking for $ac_word... " >&6; }
7557if ${ac_cv_prog_LIPO+:} false; then :
7558  $as_echo_n "(cached) " >&6
7559else
7560  if test -n "$LIPO"; then
7561  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7562else
7563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7564for as_dir in $PATH
7565do
7566  IFS=$as_save_IFS
7567  test -z "$as_dir" && as_dir=.
7568    for ac_exec_ext in '' $ac_executable_extensions; do
7569  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7570    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7572    break 2
7573  fi
7574done
7575  done
7576IFS=$as_save_IFS
7577
7578fi
7579fi
7580LIPO=$ac_cv_prog_LIPO
7581if test -n "$LIPO"; then
7582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7583$as_echo "$LIPO" >&6; }
7584else
7585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7586$as_echo "no" >&6; }
7587fi
7588
7589
7590fi
7591if test -z "$ac_cv_prog_LIPO"; then
7592  ac_ct_LIPO=$LIPO
7593  # Extract the first word of "lipo", so it can be a program name with args.
7594set dummy lipo; ac_word=$2
7595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7596$as_echo_n "checking for $ac_word... " >&6; }
7597if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7598  $as_echo_n "(cached) " >&6
7599else
7600  if test -n "$ac_ct_LIPO"; then
7601  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7602else
7603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7604for as_dir in $PATH
7605do
7606  IFS=$as_save_IFS
7607  test -z "$as_dir" && as_dir=.
7608    for ac_exec_ext in '' $ac_executable_extensions; do
7609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7610    ac_cv_prog_ac_ct_LIPO="lipo"
7611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612    break 2
7613  fi
7614done
7615  done
7616IFS=$as_save_IFS
7617
7618fi
7619fi
7620ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7621if test -n "$ac_ct_LIPO"; then
7622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7623$as_echo "$ac_ct_LIPO" >&6; }
7624else
7625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7626$as_echo "no" >&6; }
7627fi
7628
7629  if test "x$ac_ct_LIPO" = x; then
7630    LIPO=":"
7631  else
7632    case $cross_compiling:$ac_tool_warned in
7633yes:)
7634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7636ac_tool_warned=yes ;;
7637esac
7638    LIPO=$ac_ct_LIPO
7639  fi
7640else
7641  LIPO="$ac_cv_prog_LIPO"
7642fi
7643
7644    if test -n "$ac_tool_prefix"; then
7645  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7646set dummy ${ac_tool_prefix}otool; ac_word=$2
7647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7648$as_echo_n "checking for $ac_word... " >&6; }
7649if ${ac_cv_prog_OTOOL+:} false; then :
7650  $as_echo_n "(cached) " >&6
7651else
7652  if test -n "$OTOOL"; then
7653  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7654else
7655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7656for as_dir in $PATH
7657do
7658  IFS=$as_save_IFS
7659  test -z "$as_dir" && as_dir=.
7660    for ac_exec_ext in '' $ac_executable_extensions; do
7661  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7662    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7664    break 2
7665  fi
7666done
7667  done
7668IFS=$as_save_IFS
7669
7670fi
7671fi
7672OTOOL=$ac_cv_prog_OTOOL
7673if test -n "$OTOOL"; then
7674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7675$as_echo "$OTOOL" >&6; }
7676else
7677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7678$as_echo "no" >&6; }
7679fi
7680
7681
7682fi
7683if test -z "$ac_cv_prog_OTOOL"; then
7684  ac_ct_OTOOL=$OTOOL
7685  # Extract the first word of "otool", so it can be a program name with args.
7686set dummy otool; ac_word=$2
7687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7688$as_echo_n "checking for $ac_word... " >&6; }
7689if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7690  $as_echo_n "(cached) " >&6
7691else
7692  if test -n "$ac_ct_OTOOL"; then
7693  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7694else
7695as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7696for as_dir in $PATH
7697do
7698  IFS=$as_save_IFS
7699  test -z "$as_dir" && as_dir=.
7700    for ac_exec_ext in '' $ac_executable_extensions; do
7701  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7702    ac_cv_prog_ac_ct_OTOOL="otool"
7703    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704    break 2
7705  fi
7706done
7707  done
7708IFS=$as_save_IFS
7709
7710fi
7711fi
7712ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7713if test -n "$ac_ct_OTOOL"; then
7714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7715$as_echo "$ac_ct_OTOOL" >&6; }
7716else
7717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718$as_echo "no" >&6; }
7719fi
7720
7721  if test "x$ac_ct_OTOOL" = x; then
7722    OTOOL=":"
7723  else
7724    case $cross_compiling:$ac_tool_warned in
7725yes:)
7726{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7727$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7728ac_tool_warned=yes ;;
7729esac
7730    OTOOL=$ac_ct_OTOOL
7731  fi
7732else
7733  OTOOL="$ac_cv_prog_OTOOL"
7734fi
7735
7736    if test -n "$ac_tool_prefix"; then
7737  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7738set dummy ${ac_tool_prefix}otool64; ac_word=$2
7739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7740$as_echo_n "checking for $ac_word... " >&6; }
7741if ${ac_cv_prog_OTOOL64+:} false; then :
7742  $as_echo_n "(cached) " >&6
7743else
7744  if test -n "$OTOOL64"; then
7745  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7746else
7747as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7748for as_dir in $PATH
7749do
7750  IFS=$as_save_IFS
7751  test -z "$as_dir" && as_dir=.
7752    for ac_exec_ext in '' $ac_executable_extensions; do
7753  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7754    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7755    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7756    break 2
7757  fi
7758done
7759  done
7760IFS=$as_save_IFS
7761
7762fi
7763fi
7764OTOOL64=$ac_cv_prog_OTOOL64
7765if test -n "$OTOOL64"; then
7766  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7767$as_echo "$OTOOL64" >&6; }
7768else
7769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7770$as_echo "no" >&6; }
7771fi
7772
7773
7774fi
7775if test -z "$ac_cv_prog_OTOOL64"; then
7776  ac_ct_OTOOL64=$OTOOL64
7777  # Extract the first word of "otool64", so it can be a program name with args.
7778set dummy otool64; ac_word=$2
7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7780$as_echo_n "checking for $ac_word... " >&6; }
7781if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7782  $as_echo_n "(cached) " >&6
7783else
7784  if test -n "$ac_ct_OTOOL64"; then
7785  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7786else
7787as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7788for as_dir in $PATH
7789do
7790  IFS=$as_save_IFS
7791  test -z "$as_dir" && as_dir=.
7792    for ac_exec_ext in '' $ac_executable_extensions; do
7793  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7794    ac_cv_prog_ac_ct_OTOOL64="otool64"
7795    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7796    break 2
7797  fi
7798done
7799  done
7800IFS=$as_save_IFS
7801
7802fi
7803fi
7804ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7805if test -n "$ac_ct_OTOOL64"; then
7806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7807$as_echo "$ac_ct_OTOOL64" >&6; }
7808else
7809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7810$as_echo "no" >&6; }
7811fi
7812
7813  if test "x$ac_ct_OTOOL64" = x; then
7814    OTOOL64=":"
7815  else
7816    case $cross_compiling:$ac_tool_warned in
7817yes:)
7818{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7819$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7820ac_tool_warned=yes ;;
7821esac
7822    OTOOL64=$ac_ct_OTOOL64
7823  fi
7824else
7825  OTOOL64="$ac_cv_prog_OTOOL64"
7826fi
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7855$as_echo_n "checking for -single_module linker flag... " >&6; }
7856if ${lt_cv_apple_cc_single_mod+:} false; then :
7857  $as_echo_n "(cached) " >&6
7858else
7859  lt_cv_apple_cc_single_mod=no
7860      if test -z "${LT_MULTI_MODULE}"; then
7861	# By default we will add the -single_module flag. You can override
7862	# by either setting the environment variable LT_MULTI_MODULE
7863	# non-empty at configure time, or by adding -multi_module to the
7864	# link flags.
7865	rm -rf libconftest.dylib*
7866	echo "int foo(void){return 1;}" > conftest.c
7867	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7868-dynamiclib -Wl,-single_module conftest.c" >&5
7869	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7870	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7871        _lt_result=$?
7872	# If there is a non-empty error log, and "single_module"
7873	# appears in it, assume the flag caused a linker warning
7874        if test -s conftest.err && $GREP single_module conftest.err; then
7875	  cat conftest.err >&5
7876	# Otherwise, if the output was created with a 0 exit code from
7877	# the compiler, it worked.
7878	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
7879	  lt_cv_apple_cc_single_mod=yes
7880	else
7881	  cat conftest.err >&5
7882	fi
7883	rm -rf libconftest.dylib*
7884	rm -f conftest.*
7885      fi
7886fi
7887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7888$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7889
7890    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7891$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7892if ${lt_cv_ld_exported_symbols_list+:} false; then :
7893  $as_echo_n "(cached) " >&6
7894else
7895  lt_cv_ld_exported_symbols_list=no
7896      save_LDFLAGS=$LDFLAGS
7897      echo "_main" > conftest.sym
7898      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7899      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900/* end confdefs.h.  */
7901
7902int
7903main ()
7904{
7905
7906  ;
7907  return 0;
7908}
7909_ACEOF
7910if ac_fn_c_try_link "$LINENO"; then :
7911  lt_cv_ld_exported_symbols_list=yes
7912else
7913  lt_cv_ld_exported_symbols_list=no
7914fi
7915rm -f core conftest.err conftest.$ac_objext \
7916    conftest$ac_exeext conftest.$ac_ext
7917	LDFLAGS="$save_LDFLAGS"
7918
7919fi
7920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7921$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7922
7923    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7924$as_echo_n "checking for -force_load linker flag... " >&6; }
7925if ${lt_cv_ld_force_load+:} false; then :
7926  $as_echo_n "(cached) " >&6
7927else
7928  lt_cv_ld_force_load=no
7929      cat > conftest.c << _LT_EOF
7930int forced_loaded() { return 2;}
7931_LT_EOF
7932      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7933      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7934      echo "$AR cru libconftest.a conftest.o" >&5
7935      $AR cru libconftest.a conftest.o 2>&5
7936      echo "$RANLIB libconftest.a" >&5
7937      $RANLIB libconftest.a 2>&5
7938      cat > conftest.c << _LT_EOF
7939int main() { return 0;}
7940_LT_EOF
7941      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7942      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7943      _lt_result=$?
7944      if test -s conftest.err && $GREP force_load conftest.err; then
7945	cat conftest.err >&5
7946      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
7947	lt_cv_ld_force_load=yes
7948      else
7949	cat conftest.err >&5
7950      fi
7951        rm -f conftest.err libconftest.a conftest conftest.c
7952        rm -rf conftest.dSYM
7953
7954fi
7955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7956$as_echo "$lt_cv_ld_force_load" >&6; }
7957    case $host_os in
7958    rhapsody* | darwin1.[012])
7959      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7960    darwin1.*)
7961      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7962    darwin*) # darwin 5.x on
7963      # if running on 10.5 or later, the deployment target defaults
7964      # to the OS version, if on x86, and 10.4, the deployment
7965      # target defaults to 10.4. Don't you love it?
7966      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7967	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7968	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7969	10.[012]*)
7970	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7971	10.*)
7972	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7973      esac
7974    ;;
7975  esac
7976    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7977      _lt_dar_single_mod='$single_module'
7978    fi
7979    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7980      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7981    else
7982      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7983    fi
7984    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7985      _lt_dsymutil='~$DSYMUTIL $lib || :'
7986    else
7987      _lt_dsymutil=
7988    fi
7989    ;;
7990  esac
7991
7992ac_ext=c
7993ac_cpp='$CPP $CPPFLAGS'
7994ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7995ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7996ac_compiler_gnu=$ac_cv_c_compiler_gnu
7997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7998$as_echo_n "checking how to run the C preprocessor... " >&6; }
7999# On Suns, sometimes $CPP names a directory.
8000if test -n "$CPP" && test -d "$CPP"; then
8001  CPP=
8002fi
8003if test -z "$CPP"; then
8004  if ${ac_cv_prog_CPP+:} false; then :
8005  $as_echo_n "(cached) " >&6
8006else
8007      # Double quotes because CPP needs to be expanded
8008    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8009    do
8010      ac_preproc_ok=false
8011for ac_c_preproc_warn_flag in '' yes
8012do
8013  # Use a header file that comes with gcc, so configuring glibc
8014  # with a fresh cross-compiler works.
8015  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8016  # <limits.h> exists even on freestanding compilers.
8017  # On the NeXT, cc -E runs the code through the compiler's parser,
8018  # not just through cpp. "Syntax error" is here to catch this case.
8019  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020/* end confdefs.h.  */
8021#ifdef __STDC__
8022# include <limits.h>
8023#else
8024# include <assert.h>
8025#endif
8026		     Syntax error
8027_ACEOF
8028if ac_fn_c_try_cpp "$LINENO"; then :
8029
8030else
8031  # Broken: fails on valid input.
8032continue
8033fi
8034rm -f conftest.err conftest.i conftest.$ac_ext
8035
8036  # OK, works on sane cases.  Now check whether nonexistent headers
8037  # can be detected and how.
8038  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8039/* end confdefs.h.  */
8040#include <ac_nonexistent.h>
8041_ACEOF
8042if ac_fn_c_try_cpp "$LINENO"; then :
8043  # Broken: success on invalid input.
8044continue
8045else
8046  # Passes both tests.
8047ac_preproc_ok=:
8048break
8049fi
8050rm -f conftest.err conftest.i conftest.$ac_ext
8051
8052done
8053# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8054rm -f conftest.i conftest.err conftest.$ac_ext
8055if $ac_preproc_ok; then :
8056  break
8057fi
8058
8059    done
8060    ac_cv_prog_CPP=$CPP
8061
8062fi
8063  CPP=$ac_cv_prog_CPP
8064else
8065  ac_cv_prog_CPP=$CPP
8066fi
8067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8068$as_echo "$CPP" >&6; }
8069ac_preproc_ok=false
8070for ac_c_preproc_warn_flag in '' yes
8071do
8072  # Use a header file that comes with gcc, so configuring glibc
8073  # with a fresh cross-compiler works.
8074  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8075  # <limits.h> exists even on freestanding compilers.
8076  # On the NeXT, cc -E runs the code through the compiler's parser,
8077  # not just through cpp. "Syntax error" is here to catch this case.
8078  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079/* end confdefs.h.  */
8080#ifdef __STDC__
8081# include <limits.h>
8082#else
8083# include <assert.h>
8084#endif
8085		     Syntax error
8086_ACEOF
8087if ac_fn_c_try_cpp "$LINENO"; then :
8088
8089else
8090  # Broken: fails on valid input.
8091continue
8092fi
8093rm -f conftest.err conftest.i conftest.$ac_ext
8094
8095  # OK, works on sane cases.  Now check whether nonexistent headers
8096  # can be detected and how.
8097  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8098/* end confdefs.h.  */
8099#include <ac_nonexistent.h>
8100_ACEOF
8101if ac_fn_c_try_cpp "$LINENO"; then :
8102  # Broken: success on invalid input.
8103continue
8104else
8105  # Passes both tests.
8106ac_preproc_ok=:
8107break
8108fi
8109rm -f conftest.err conftest.i conftest.$ac_ext
8110
8111done
8112# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8113rm -f conftest.i conftest.err conftest.$ac_ext
8114if $ac_preproc_ok; then :
8115
8116else
8117  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8118$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8119as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8120See \`config.log' for more details" "$LINENO" 5; }
8121fi
8122
8123ac_ext=c
8124ac_cpp='$CPP $CPPFLAGS'
8125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8127ac_compiler_gnu=$ac_cv_c_compiler_gnu
8128
8129
8130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8131$as_echo_n "checking for ANSI C header files... " >&6; }
8132if ${ac_cv_header_stdc+:} false; then :
8133  $as_echo_n "(cached) " >&6
8134else
8135  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136/* end confdefs.h.  */
8137#include <stdlib.h>
8138#include <stdarg.h>
8139#include <string.h>
8140#include <float.h>
8141
8142int
8143main ()
8144{
8145
8146  ;
8147  return 0;
8148}
8149_ACEOF
8150if ac_fn_c_try_compile "$LINENO"; then :
8151  ac_cv_header_stdc=yes
8152else
8153  ac_cv_header_stdc=no
8154fi
8155rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8156
8157if test $ac_cv_header_stdc = yes; then
8158  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8159  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8160/* end confdefs.h.  */
8161#include <string.h>
8162
8163_ACEOF
8164if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8165  $EGREP "memchr" >/dev/null 2>&1; then :
8166
8167else
8168  ac_cv_header_stdc=no
8169fi
8170rm -f conftest*
8171
8172fi
8173
8174if test $ac_cv_header_stdc = yes; then
8175  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8176  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8177/* end confdefs.h.  */
8178#include <stdlib.h>
8179
8180_ACEOF
8181if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8182  $EGREP "free" >/dev/null 2>&1; then :
8183
8184else
8185  ac_cv_header_stdc=no
8186fi
8187rm -f conftest*
8188
8189fi
8190
8191if test $ac_cv_header_stdc = yes; then
8192  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8193  if test "$cross_compiling" = yes; then :
8194  :
8195else
8196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8197/* end confdefs.h.  */
8198#include <ctype.h>
8199#include <stdlib.h>
8200#if ((' ' & 0x0FF) == 0x020)
8201# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8202# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8203#else
8204# define ISLOWER(c) \
8205		   (('a' <= (c) && (c) <= 'i') \
8206		     || ('j' <= (c) && (c) <= 'r') \
8207		     || ('s' <= (c) && (c) <= 'z'))
8208# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8209#endif
8210
8211#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8212int
8213main ()
8214{
8215  int i;
8216  for (i = 0; i < 256; i++)
8217    if (XOR (islower (i), ISLOWER (i))
8218	|| toupper (i) != TOUPPER (i))
8219      return 2;
8220  return 0;
8221}
8222_ACEOF
8223if ac_fn_c_try_run "$LINENO"; then :
8224
8225else
8226  ac_cv_header_stdc=no
8227fi
8228rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8229  conftest.$ac_objext conftest.beam conftest.$ac_ext
8230fi
8231
8232fi
8233fi
8234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8235$as_echo "$ac_cv_header_stdc" >&6; }
8236if test $ac_cv_header_stdc = yes; then
8237
8238$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8239
8240fi
8241
8242# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8243for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8244		  inttypes.h stdint.h unistd.h
8245do :
8246  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8247ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8248"
8249if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8250  cat >>confdefs.h <<_ACEOF
8251#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8252_ACEOF
8253
8254fi
8255
8256done
8257
8258
8259for ac_header in dlfcn.h
8260do :
8261  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8262"
8263if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8264  cat >>confdefs.h <<_ACEOF
8265#define HAVE_DLFCN_H 1
8266_ACEOF
8267
8268fi
8269
8270done
8271
8272
8273
8274
8275func_stripname_cnf ()
8276{
8277  case ${2} in
8278  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
8279  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
8280  esac
8281} # func_stripname_cnf
8282
8283
8284
8285
8286
8287# Set options
8288
8289
8290
8291        enable_dlopen=no
8292
8293
8294
8295            # Check whether --enable-shared was given.
8296if test "${enable_shared+set}" = set; then :
8297  enableval=$enable_shared; p=${PACKAGE-default}
8298    case $enableval in
8299    yes) enable_shared=yes ;;
8300    no) enable_shared=no ;;
8301    *)
8302      enable_shared=no
8303      # Look at the argument we got.  We use all the common list separators.
8304      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8305      for pkg in $enableval; do
8306	IFS="$lt_save_ifs"
8307	if test "X$pkg" = "X$p"; then
8308	  enable_shared=yes
8309	fi
8310      done
8311      IFS="$lt_save_ifs"
8312      ;;
8313    esac
8314else
8315  enable_shared=yes
8316fi
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328# Check whether --with-pic was given.
8329if test "${with_pic+set}" = set; then :
8330  withval=$with_pic; lt_p=${PACKAGE-default}
8331    case $withval in
8332    yes|no) pic_mode=$withval ;;
8333    *)
8334      pic_mode=default
8335      # Look at the argument we got.  We use all the common list separators.
8336      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8337      for lt_pkg in $withval; do
8338	IFS="$lt_save_ifs"
8339	if test "X$lt_pkg" = "X$lt_p"; then
8340	  pic_mode=yes
8341	fi
8342      done
8343      IFS="$lt_save_ifs"
8344      ;;
8345    esac
8346else
8347  pic_mode=default
8348fi
8349
8350
8351test -z "$pic_mode" && pic_mode=default
8352
8353
8354
8355
8356
8357
8358
8359  # Check whether --enable-fast-install was given.
8360if test "${enable_fast_install+set}" = set; then :
8361  enableval=$enable_fast_install; p=${PACKAGE-default}
8362    case $enableval in
8363    yes) enable_fast_install=yes ;;
8364    no) enable_fast_install=no ;;
8365    *)
8366      enable_fast_install=no
8367      # Look at the argument we got.  We use all the common list separators.
8368      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8369      for pkg in $enableval; do
8370	IFS="$lt_save_ifs"
8371	if test "X$pkg" = "X$p"; then
8372	  enable_fast_install=yes
8373	fi
8374      done
8375      IFS="$lt_save_ifs"
8376      ;;
8377    esac
8378else
8379  enable_fast_install=yes
8380fi
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392# This can be used to rebuild libtool when needed
8393LIBTOOL_DEPS="$ltmain"
8394
8395# Always use our own libtool.
8396LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427test -z "$LN_S" && LN_S="ln -s"
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442if test -n "${ZSH_VERSION+set}" ; then
8443   setopt NO_GLOB_SUBST
8444fi
8445
8446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8447$as_echo_n "checking for objdir... " >&6; }
8448if ${lt_cv_objdir+:} false; then :
8449  $as_echo_n "(cached) " >&6
8450else
8451  rm -f .libs 2>/dev/null
8452mkdir .libs 2>/dev/null
8453if test -d .libs; then
8454  lt_cv_objdir=.libs
8455else
8456  # MS-DOS does not allow filenames that begin with a dot.
8457  lt_cv_objdir=_libs
8458fi
8459rmdir .libs 2>/dev/null
8460fi
8461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8462$as_echo "$lt_cv_objdir" >&6; }
8463objdir=$lt_cv_objdir
8464
8465
8466
8467
8468
8469cat >>confdefs.h <<_ACEOF
8470#define LT_OBJDIR "$lt_cv_objdir/"
8471_ACEOF
8472
8473
8474
8475
8476case $host_os in
8477aix3*)
8478  # AIX sometimes has problems with the GCC collect2 program.  For some
8479  # reason, if we set the COLLECT_NAMES environment variable, the problems
8480  # vanish in a puff of smoke.
8481  if test "X${COLLECT_NAMES+set}" != Xset; then
8482    COLLECT_NAMES=
8483    export COLLECT_NAMES
8484  fi
8485  ;;
8486esac
8487
8488# Global variables:
8489ofile=libtool
8490can_build_shared=yes
8491
8492# All known linkers require a `.a' archive for static linking (except MSVC,
8493# which needs '.lib').
8494libext=a
8495
8496with_gnu_ld="$lt_cv_prog_gnu_ld"
8497
8498old_CC="$CC"
8499old_CFLAGS="$CFLAGS"
8500
8501# Set sane defaults for various variables
8502test -z "$CC" && CC=cc
8503test -z "$LTCC" && LTCC=$CC
8504test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8505test -z "$LD" && LD=ld
8506test -z "$ac_objext" && ac_objext=o
8507
8508for cc_temp in $compiler""; do
8509  case $cc_temp in
8510    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8511    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8512    \-*) ;;
8513    *) break;;
8514  esac
8515done
8516cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8517
8518
8519# Only perform the check for file, if the check method requires it
8520test -z "$MAGIC_CMD" && MAGIC_CMD=file
8521case $deplibs_check_method in
8522file_magic*)
8523  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8524    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8525$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8526if ${lt_cv_path_MAGIC_CMD+:} false; then :
8527  $as_echo_n "(cached) " >&6
8528else
8529  case $MAGIC_CMD in
8530[\\/*] |  ?:[\\/]*)
8531  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8532  ;;
8533*)
8534  lt_save_MAGIC_CMD="$MAGIC_CMD"
8535  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8536  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8537  for ac_dir in $ac_dummy; do
8538    IFS="$lt_save_ifs"
8539    test -z "$ac_dir" && ac_dir=.
8540    if test -f $ac_dir/${ac_tool_prefix}file; then
8541      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8542      if test -n "$file_magic_test_file"; then
8543	case $deplibs_check_method in
8544	"file_magic "*)
8545	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8546	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8547	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8548	    $EGREP "$file_magic_regex" > /dev/null; then
8549	    :
8550	  else
8551	    cat <<_LT_EOF 1>&2
8552
8553*** Warning: the command libtool uses to detect shared libraries,
8554*** $file_magic_cmd, produces output that libtool cannot recognize.
8555*** The result is that libtool may fail to recognize shared libraries
8556*** as such.  This will affect the creation of libtool libraries that
8557*** depend on shared libraries, but programs linked with such libtool
8558*** libraries will work regardless of this problem.  Nevertheless, you
8559*** may want to report the problem to your system manager and/or to
8560*** bug-libtool@gnu.org
8561
8562_LT_EOF
8563	  fi ;;
8564	esac
8565      fi
8566      break
8567    fi
8568  done
8569  IFS="$lt_save_ifs"
8570  MAGIC_CMD="$lt_save_MAGIC_CMD"
8571  ;;
8572esac
8573fi
8574
8575MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8576if test -n "$MAGIC_CMD"; then
8577  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8578$as_echo "$MAGIC_CMD" >&6; }
8579else
8580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8581$as_echo "no" >&6; }
8582fi
8583
8584
8585
8586
8587
8588if test -z "$lt_cv_path_MAGIC_CMD"; then
8589  if test -n "$ac_tool_prefix"; then
8590    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8591$as_echo_n "checking for file... " >&6; }
8592if ${lt_cv_path_MAGIC_CMD+:} false; then :
8593  $as_echo_n "(cached) " >&6
8594else
8595  case $MAGIC_CMD in
8596[\\/*] |  ?:[\\/]*)
8597  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8598  ;;
8599*)
8600  lt_save_MAGIC_CMD="$MAGIC_CMD"
8601  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8602  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8603  for ac_dir in $ac_dummy; do
8604    IFS="$lt_save_ifs"
8605    test -z "$ac_dir" && ac_dir=.
8606    if test -f $ac_dir/file; then
8607      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8608      if test -n "$file_magic_test_file"; then
8609	case $deplibs_check_method in
8610	"file_magic "*)
8611	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8612	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8613	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8614	    $EGREP "$file_magic_regex" > /dev/null; then
8615	    :
8616	  else
8617	    cat <<_LT_EOF 1>&2
8618
8619*** Warning: the command libtool uses to detect shared libraries,
8620*** $file_magic_cmd, produces output that libtool cannot recognize.
8621*** The result is that libtool may fail to recognize shared libraries
8622*** as such.  This will affect the creation of libtool libraries that
8623*** depend on shared libraries, but programs linked with such libtool
8624*** libraries will work regardless of this problem.  Nevertheless, you
8625*** may want to report the problem to your system manager and/or to
8626*** bug-libtool@gnu.org
8627
8628_LT_EOF
8629	  fi ;;
8630	esac
8631      fi
8632      break
8633    fi
8634  done
8635  IFS="$lt_save_ifs"
8636  MAGIC_CMD="$lt_save_MAGIC_CMD"
8637  ;;
8638esac
8639fi
8640
8641MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8642if test -n "$MAGIC_CMD"; then
8643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8644$as_echo "$MAGIC_CMD" >&6; }
8645else
8646  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8647$as_echo "no" >&6; }
8648fi
8649
8650
8651  else
8652    MAGIC_CMD=:
8653  fi
8654fi
8655
8656  fi
8657  ;;
8658esac
8659
8660# Use C for the default configuration in the libtool script
8661
8662lt_save_CC="$CC"
8663ac_ext=c
8664ac_cpp='$CPP $CPPFLAGS'
8665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8667ac_compiler_gnu=$ac_cv_c_compiler_gnu
8668
8669
8670# Source file extension for C test sources.
8671ac_ext=c
8672
8673# Object file extension for compiled C test sources.
8674objext=o
8675objext=$objext
8676
8677# Code to be used in simple compile tests
8678lt_simple_compile_test_code="int some_variable = 0;"
8679
8680# Code to be used in simple link tests
8681lt_simple_link_test_code='int main(){return(0);}'
8682
8683
8684
8685
8686
8687
8688
8689# If no C compiler was specified, use CC.
8690LTCC=${LTCC-"$CC"}
8691
8692# If no C compiler flags were specified, use CFLAGS.
8693LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8694
8695# Allow CC to be a program name with arguments.
8696compiler=$CC
8697
8698# Save the default compiler, since it gets overwritten when the other
8699# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8700compiler_DEFAULT=$CC
8701
8702# save warnings/boilerplate of simple test code
8703ac_outfile=conftest.$ac_objext
8704echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8705eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8706_lt_compiler_boilerplate=`cat conftest.err`
8707$RM conftest*
8708
8709ac_outfile=conftest.$ac_objext
8710echo "$lt_simple_link_test_code" >conftest.$ac_ext
8711eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8712_lt_linker_boilerplate=`cat conftest.err`
8713$RM -r conftest*
8714
8715
8716## CAVEAT EMPTOR:
8717## There is no encapsulation within the following macros, do not change
8718## the running order or otherwise move them around unless you know exactly
8719## what you are doing...
8720if test -n "$compiler"; then
8721
8722lt_prog_compiler_no_builtin_flag=
8723
8724if test "$GCC" = yes; then
8725  case $cc_basename in
8726  nvcc*)
8727    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8728  *)
8729    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8730  esac
8731
8732  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8733$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8734if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8735  $as_echo_n "(cached) " >&6
8736else
8737  lt_cv_prog_compiler_rtti_exceptions=no
8738   ac_outfile=conftest.$ac_objext
8739   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8740   lt_compiler_flag="-fno-rtti -fno-exceptions"
8741   # Insert the option either (1) after the last *FLAGS variable, or
8742   # (2) before a word containing "conftest.", or (3) at the end.
8743   # Note that $ac_compile itself does not contain backslashes and begins
8744   # with a dollar sign (not a hyphen), so the echo should work correctly.
8745   # The option is referenced via a variable to avoid confusing sed.
8746   lt_compile=`echo "$ac_compile" | $SED \
8747   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8748   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8749   -e 's:$: $lt_compiler_flag:'`
8750   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8751   (eval "$lt_compile" 2>conftest.err)
8752   ac_status=$?
8753   cat conftest.err >&5
8754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755   if (exit $ac_status) && test -s "$ac_outfile"; then
8756     # The compiler can only warn and ignore the option if not recognized
8757     # So say no if there are warnings other than the usual output.
8758     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8759     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8760     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8761       lt_cv_prog_compiler_rtti_exceptions=yes
8762     fi
8763   fi
8764   $RM conftest*
8765
8766fi
8767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8768$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8769
8770if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8771    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8772else
8773    :
8774fi
8775
8776fi
8777
8778
8779
8780
8781
8782
8783  lt_prog_compiler_wl=
8784lt_prog_compiler_pic=
8785lt_prog_compiler_static=
8786
8787
8788  if test "$GCC" = yes; then
8789    lt_prog_compiler_wl='-Wl,'
8790    lt_prog_compiler_static='-static'
8791
8792    case $host_os in
8793      aix*)
8794      # All AIX code is PIC.
8795      if test "$host_cpu" = ia64; then
8796	# AIX 5 now supports IA64 processor
8797	lt_prog_compiler_static='-Bstatic'
8798      fi
8799      ;;
8800
8801    amigaos*)
8802      case $host_cpu in
8803      powerpc)
8804            # see comment about AmigaOS4 .so support
8805            lt_prog_compiler_pic='-fPIC'
8806        ;;
8807      m68k)
8808            # FIXME: we need at least 68020 code to build shared libraries, but
8809            # adding the `-m68020' flag to GCC prevents building anything better,
8810            # like `-m68040'.
8811            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8812        ;;
8813      esac
8814      ;;
8815
8816    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8817      # PIC is the default for these OSes.
8818      ;;
8819
8820    mingw* | cygwin* | pw32* | os2* | cegcc*)
8821      # This hack is so that the source file can tell whether it is being
8822      # built for inclusion in a dll (and should export symbols for example).
8823      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8824      # (--disable-auto-import) libraries
8825      lt_prog_compiler_pic='-DDLL_EXPORT'
8826      ;;
8827
8828    darwin* | rhapsody*)
8829      # PIC is the default on this platform
8830      # Common symbols not allowed in MH_DYLIB files
8831      lt_prog_compiler_pic='-fno-common'
8832      ;;
8833
8834    haiku*)
8835      # PIC is the default for Haiku.
8836      # The "-static" flag exists, but is broken.
8837      lt_prog_compiler_static=
8838      ;;
8839
8840    hpux*)
8841      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8842      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8843      # sets the default TLS model and affects inlining.
8844      case $host_cpu in
8845      hppa*64*)
8846	# +Z the default
8847	;;
8848      *)
8849	lt_prog_compiler_pic='-fPIC'
8850	;;
8851      esac
8852      ;;
8853
8854    interix[3-9]*)
8855      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8856      # Instead, we relocate shared libraries at runtime.
8857      ;;
8858
8859    msdosdjgpp*)
8860      # Just because we use GCC doesn't mean we suddenly get shared libraries
8861      # on systems that don't support them.
8862      lt_prog_compiler_can_build_shared=no
8863      enable_shared=no
8864      ;;
8865
8866    *nto* | *qnx*)
8867      # QNX uses GNU C++, but need to define -shared option too, otherwise
8868      # it will coredump.
8869      lt_prog_compiler_pic='-fPIC -shared'
8870      ;;
8871
8872    sysv4*MP*)
8873      if test -d /usr/nec; then
8874	lt_prog_compiler_pic=-Kconform_pic
8875      fi
8876      ;;
8877
8878    *)
8879      lt_prog_compiler_pic='-fPIC'
8880      ;;
8881    esac
8882
8883    case $cc_basename in
8884    nvcc*) # Cuda Compiler Driver 2.2
8885      lt_prog_compiler_wl='-Xlinker '
8886      if test -n "$lt_prog_compiler_pic"; then
8887        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8888      fi
8889      ;;
8890    esac
8891  else
8892    # PORTME Check for flag to pass linker flags through the system compiler.
8893    case $host_os in
8894    aix*)
8895      lt_prog_compiler_wl='-Wl,'
8896      if test "$host_cpu" = ia64; then
8897	# AIX 5 now supports IA64 processor
8898	lt_prog_compiler_static='-Bstatic'
8899      else
8900	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8901      fi
8902      ;;
8903
8904    mingw* | cygwin* | pw32* | os2* | cegcc*)
8905      # This hack is so that the source file can tell whether it is being
8906      # built for inclusion in a dll (and should export symbols for example).
8907      lt_prog_compiler_pic='-DDLL_EXPORT'
8908      ;;
8909
8910    hpux9* | hpux10* | hpux11*)
8911      lt_prog_compiler_wl='-Wl,'
8912      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8913      # not for PA HP-UX.
8914      case $host_cpu in
8915      hppa*64*|ia64*)
8916	# +Z the default
8917	;;
8918      *)
8919	lt_prog_compiler_pic='+Z'
8920	;;
8921      esac
8922      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8923      lt_prog_compiler_static='${wl}-a ${wl}archive'
8924      ;;
8925
8926    irix5* | irix6* | nonstopux*)
8927      lt_prog_compiler_wl='-Wl,'
8928      # PIC (with -KPIC) is the default.
8929      lt_prog_compiler_static='-non_shared'
8930      ;;
8931
8932    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8933      case $cc_basename in
8934      # old Intel for x86_64 which still supported -KPIC.
8935      ecc*)
8936	lt_prog_compiler_wl='-Wl,'
8937	lt_prog_compiler_pic='-KPIC'
8938	lt_prog_compiler_static='-static'
8939        ;;
8940      # icc used to be incompatible with GCC.
8941      # ICC 10 doesn't accept -KPIC any more.
8942      icc* | ifort*)
8943	lt_prog_compiler_wl='-Wl,'
8944	lt_prog_compiler_pic='-fPIC'
8945	lt_prog_compiler_static='-static'
8946        ;;
8947      # Lahey Fortran 8.1.
8948      lf95*)
8949	lt_prog_compiler_wl='-Wl,'
8950	lt_prog_compiler_pic='--shared'
8951	lt_prog_compiler_static='--static'
8952	;;
8953      nagfor*)
8954	# NAG Fortran compiler
8955	lt_prog_compiler_wl='-Wl,-Wl,,'
8956	lt_prog_compiler_pic='-PIC'
8957	lt_prog_compiler_static='-Bstatic'
8958	;;
8959      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8960        # Portland Group compilers (*not* the Pentium gcc compiler,
8961	# which looks to be a dead project)
8962	lt_prog_compiler_wl='-Wl,'
8963	lt_prog_compiler_pic='-fpic'
8964	lt_prog_compiler_static='-Bstatic'
8965        ;;
8966      ccc*)
8967        lt_prog_compiler_wl='-Wl,'
8968        # All Alpha code is PIC.
8969        lt_prog_compiler_static='-non_shared'
8970        ;;
8971      xl* | bgxl* | bgf* | mpixl*)
8972	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8973	lt_prog_compiler_wl='-Wl,'
8974	lt_prog_compiler_pic='-qpic'
8975	lt_prog_compiler_static='-qstaticlink'
8976	;;
8977      *)
8978	case `$CC -V 2>&1 | sed 5q` in
8979	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8980	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8981	  lt_prog_compiler_pic='-KPIC'
8982	  lt_prog_compiler_static='-Bstatic'
8983	  lt_prog_compiler_wl=''
8984	  ;;
8985	*Sun\ F* | *Sun*Fortran*)
8986	  lt_prog_compiler_pic='-KPIC'
8987	  lt_prog_compiler_static='-Bstatic'
8988	  lt_prog_compiler_wl='-Qoption ld '
8989	  ;;
8990	*Sun\ C*)
8991	  # Sun C 5.9
8992	  lt_prog_compiler_pic='-KPIC'
8993	  lt_prog_compiler_static='-Bstatic'
8994	  lt_prog_compiler_wl='-Wl,'
8995	  ;;
8996        *Intel*\ [CF]*Compiler*)
8997	  lt_prog_compiler_wl='-Wl,'
8998	  lt_prog_compiler_pic='-fPIC'
8999	  lt_prog_compiler_static='-static'
9000	  ;;
9001	*Portland\ Group*)
9002	  lt_prog_compiler_wl='-Wl,'
9003	  lt_prog_compiler_pic='-fpic'
9004	  lt_prog_compiler_static='-Bstatic'
9005	  ;;
9006	esac
9007	;;
9008      esac
9009      ;;
9010
9011    newsos6)
9012      lt_prog_compiler_pic='-KPIC'
9013      lt_prog_compiler_static='-Bstatic'
9014      ;;
9015
9016    *nto* | *qnx*)
9017      # QNX uses GNU C++, but need to define -shared option too, otherwise
9018      # it will coredump.
9019      lt_prog_compiler_pic='-fPIC -shared'
9020      ;;
9021
9022    osf3* | osf4* | osf5*)
9023      lt_prog_compiler_wl='-Wl,'
9024      # All OSF/1 code is PIC.
9025      lt_prog_compiler_static='-non_shared'
9026      ;;
9027
9028    rdos*)
9029      lt_prog_compiler_static='-non_shared'
9030      ;;
9031
9032    solaris*)
9033      lt_prog_compiler_pic='-KPIC'
9034      lt_prog_compiler_static='-Bstatic'
9035      case $cc_basename in
9036      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9037	lt_prog_compiler_wl='-Qoption ld ';;
9038      *)
9039	lt_prog_compiler_wl='-Wl,';;
9040      esac
9041      ;;
9042
9043    sunos4*)
9044      lt_prog_compiler_wl='-Qoption ld '
9045      lt_prog_compiler_pic='-PIC'
9046      lt_prog_compiler_static='-Bstatic'
9047      ;;
9048
9049    sysv4 | sysv4.2uw2* | sysv4.3*)
9050      lt_prog_compiler_wl='-Wl,'
9051      lt_prog_compiler_pic='-KPIC'
9052      lt_prog_compiler_static='-Bstatic'
9053      ;;
9054
9055    sysv4*MP*)
9056      if test -d /usr/nec ;then
9057	lt_prog_compiler_pic='-Kconform_pic'
9058	lt_prog_compiler_static='-Bstatic'
9059      fi
9060      ;;
9061
9062    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9063      lt_prog_compiler_wl='-Wl,'
9064      lt_prog_compiler_pic='-KPIC'
9065      lt_prog_compiler_static='-Bstatic'
9066      ;;
9067
9068    unicos*)
9069      lt_prog_compiler_wl='-Wl,'
9070      lt_prog_compiler_can_build_shared=no
9071      ;;
9072
9073    uts4*)
9074      lt_prog_compiler_pic='-pic'
9075      lt_prog_compiler_static='-Bstatic'
9076      ;;
9077
9078    *)
9079      lt_prog_compiler_can_build_shared=no
9080      ;;
9081    esac
9082  fi
9083
9084case $host_os in
9085  # For platforms which do not support PIC, -DPIC is meaningless:
9086  *djgpp*)
9087    lt_prog_compiler_pic=
9088    ;;
9089  *)
9090    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9091    ;;
9092esac
9093
9094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9095$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9096if ${lt_cv_prog_compiler_pic+:} false; then :
9097  $as_echo_n "(cached) " >&6
9098else
9099  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9100fi
9101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9102$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9103lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9104
9105#
9106# Check to make sure the PIC flag actually works.
9107#
9108if test -n "$lt_prog_compiler_pic"; then
9109  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9110$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9111if ${lt_cv_prog_compiler_pic_works+:} false; then :
9112  $as_echo_n "(cached) " >&6
9113else
9114  lt_cv_prog_compiler_pic_works=no
9115   ac_outfile=conftest.$ac_objext
9116   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9117   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9118   # Insert the option either (1) after the last *FLAGS variable, or
9119   # (2) before a word containing "conftest.", or (3) at the end.
9120   # Note that $ac_compile itself does not contain backslashes and begins
9121   # with a dollar sign (not a hyphen), so the echo should work correctly.
9122   # The option is referenced via a variable to avoid confusing sed.
9123   lt_compile=`echo "$ac_compile" | $SED \
9124   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9125   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9126   -e 's:$: $lt_compiler_flag:'`
9127   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9128   (eval "$lt_compile" 2>conftest.err)
9129   ac_status=$?
9130   cat conftest.err >&5
9131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132   if (exit $ac_status) && test -s "$ac_outfile"; then
9133     # The compiler can only warn and ignore the option if not recognized
9134     # So say no if there are warnings other than the usual output.
9135     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9136     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9137     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9138       lt_cv_prog_compiler_pic_works=yes
9139     fi
9140   fi
9141   $RM conftest*
9142
9143fi
9144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9145$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9146
9147if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9148    case $lt_prog_compiler_pic in
9149     "" | " "*) ;;
9150     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9151     esac
9152else
9153    lt_prog_compiler_pic=
9154     lt_prog_compiler_can_build_shared=no
9155fi
9156
9157fi
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169#
9170# Check to make sure the static flag actually works.
9171#
9172wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9174$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9175if ${lt_cv_prog_compiler_static_works+:} false; then :
9176  $as_echo_n "(cached) " >&6
9177else
9178  lt_cv_prog_compiler_static_works=no
9179   save_LDFLAGS="$LDFLAGS"
9180   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9181   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9182   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9183     # The linker can only warn and ignore the option if not recognized
9184     # So say no if there are warnings
9185     if test -s conftest.err; then
9186       # Append any errors to the config.log.
9187       cat conftest.err 1>&5
9188       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9189       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9190       if diff conftest.exp conftest.er2 >/dev/null; then
9191         lt_cv_prog_compiler_static_works=yes
9192       fi
9193     else
9194       lt_cv_prog_compiler_static_works=yes
9195     fi
9196   fi
9197   $RM -r conftest*
9198   LDFLAGS="$save_LDFLAGS"
9199
9200fi
9201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9202$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9203
9204if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9205    :
9206else
9207    lt_prog_compiler_static=
9208fi
9209
9210
9211
9212
9213
9214
9215
9216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9217$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9218if ${lt_cv_prog_compiler_c_o+:} false; then :
9219  $as_echo_n "(cached) " >&6
9220else
9221  lt_cv_prog_compiler_c_o=no
9222   $RM -r conftest 2>/dev/null
9223   mkdir conftest
9224   cd conftest
9225   mkdir out
9226   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9227
9228   lt_compiler_flag="-o out/conftest2.$ac_objext"
9229   # Insert the option either (1) after the last *FLAGS variable, or
9230   # (2) before a word containing "conftest.", or (3) at the end.
9231   # Note that $ac_compile itself does not contain backslashes and begins
9232   # with a dollar sign (not a hyphen), so the echo should work correctly.
9233   lt_compile=`echo "$ac_compile" | $SED \
9234   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9235   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9236   -e 's:$: $lt_compiler_flag:'`
9237   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9238   (eval "$lt_compile" 2>out/conftest.err)
9239   ac_status=$?
9240   cat out/conftest.err >&5
9241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9243   then
9244     # The compiler can only warn and ignore the option if not recognized
9245     # So say no if there are warnings
9246     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9247     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9248     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9249       lt_cv_prog_compiler_c_o=yes
9250     fi
9251   fi
9252   chmod u+w . 2>&5
9253   $RM conftest*
9254   # SGI C++ compiler will create directory out/ii_files/ for
9255   # template instantiation
9256   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9257   $RM out/* && rmdir out
9258   cd ..
9259   $RM -r conftest
9260   $RM conftest*
9261
9262fi
9263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9264$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9265
9266
9267
9268
9269
9270
9271  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9272$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9273if ${lt_cv_prog_compiler_c_o+:} false; then :
9274  $as_echo_n "(cached) " >&6
9275else
9276  lt_cv_prog_compiler_c_o=no
9277   $RM -r conftest 2>/dev/null
9278   mkdir conftest
9279   cd conftest
9280   mkdir out
9281   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9282
9283   lt_compiler_flag="-o out/conftest2.$ac_objext"
9284   # Insert the option either (1) after the last *FLAGS variable, or
9285   # (2) before a word containing "conftest.", or (3) at the end.
9286   # Note that $ac_compile itself does not contain backslashes and begins
9287   # with a dollar sign (not a hyphen), so the echo should work correctly.
9288   lt_compile=`echo "$ac_compile" | $SED \
9289   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9290   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9291   -e 's:$: $lt_compiler_flag:'`
9292   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9293   (eval "$lt_compile" 2>out/conftest.err)
9294   ac_status=$?
9295   cat out/conftest.err >&5
9296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9297   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9298   then
9299     # The compiler can only warn and ignore the option if not recognized
9300     # So say no if there are warnings
9301     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9302     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9303     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9304       lt_cv_prog_compiler_c_o=yes
9305     fi
9306   fi
9307   chmod u+w . 2>&5
9308   $RM conftest*
9309   # SGI C++ compiler will create directory out/ii_files/ for
9310   # template instantiation
9311   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9312   $RM out/* && rmdir out
9313   cd ..
9314   $RM -r conftest
9315   $RM conftest*
9316
9317fi
9318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9319$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9320
9321
9322
9323
9324hard_links="nottested"
9325if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9326  # do not overwrite the value of need_locks provided by the user
9327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9328$as_echo_n "checking if we can lock with hard links... " >&6; }
9329  hard_links=yes
9330  $RM conftest*
9331  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9332  touch conftest.a
9333  ln conftest.a conftest.b 2>&5 || hard_links=no
9334  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9336$as_echo "$hard_links" >&6; }
9337  if test "$hard_links" = no; then
9338    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9339$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9340    need_locks=warn
9341  fi
9342else
9343  need_locks=no
9344fi
9345
9346
9347
9348
9349
9350
9351  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9352$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9353
9354  runpath_var=
9355  allow_undefined_flag=
9356  always_export_symbols=no
9357  archive_cmds=
9358  archive_expsym_cmds=
9359  compiler_needs_object=no
9360  enable_shared_with_static_runtimes=no
9361  export_dynamic_flag_spec=
9362  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9363  hardcode_automatic=no
9364  hardcode_direct=no
9365  hardcode_direct_absolute=no
9366  hardcode_libdir_flag_spec=
9367  hardcode_libdir_separator=
9368  hardcode_minus_L=no
9369  hardcode_shlibpath_var=unsupported
9370  inherit_rpath=no
9371  link_all_deplibs=unknown
9372  module_cmds=
9373  module_expsym_cmds=
9374  old_archive_from_new_cmds=
9375  old_archive_from_expsyms_cmds=
9376  thread_safe_flag_spec=
9377  whole_archive_flag_spec=
9378  # include_expsyms should be a list of space-separated symbols to be *always*
9379  # included in the symbol list
9380  include_expsyms=
9381  # exclude_expsyms can be an extended regexp of symbols to exclude
9382  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9383  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9384  # as well as any symbol that contains `d'.
9385  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9386  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9387  # platforms (ab)use it in PIC code, but their linkers get confused if
9388  # the symbol is explicitly referenced.  Since portable code cannot
9389  # rely on this symbol name, it's probably fine to never include it in
9390  # preloaded symbol tables.
9391  # Exclude shared library initialization/finalization symbols.
9392  extract_expsyms_cmds=
9393
9394  case $host_os in
9395  cygwin* | mingw* | pw32* | cegcc*)
9396    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9397    # When not using gcc, we currently assume that we are using
9398    # Microsoft Visual C++.
9399    if test "$GCC" != yes; then
9400      with_gnu_ld=no
9401    fi
9402    ;;
9403  interix*)
9404    # we just hope/assume this is gcc and not c89 (= MSVC++)
9405    with_gnu_ld=yes
9406    ;;
9407  openbsd*)
9408    with_gnu_ld=no
9409    ;;
9410  linux* | k*bsd*-gnu | gnu*)
9411    link_all_deplibs=no
9412    ;;
9413  esac
9414
9415  ld_shlibs=yes
9416
9417  # On some targets, GNU ld is compatible enough with the native linker
9418  # that we're better off using the native interface for both.
9419  lt_use_gnu_ld_interface=no
9420  if test "$with_gnu_ld" = yes; then
9421    case $host_os in
9422      aix*)
9423	# The AIX port of GNU ld has always aspired to compatibility
9424	# with the native linker.  However, as the warning in the GNU ld
9425	# block says, versions before 2.19.5* couldn't really create working
9426	# shared libraries, regardless of the interface used.
9427	case `$LD -v 2>&1` in
9428	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9429	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9430	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9431	  *)
9432	    lt_use_gnu_ld_interface=yes
9433	    ;;
9434	esac
9435	;;
9436      *)
9437	lt_use_gnu_ld_interface=yes
9438	;;
9439    esac
9440  fi
9441
9442  if test "$lt_use_gnu_ld_interface" = yes; then
9443    # If archive_cmds runs LD, not CC, wlarc should be empty
9444    wlarc='${wl}'
9445
9446    # Set some defaults for GNU ld with shared library support. These
9447    # are reset later if shared libraries are not supported. Putting them
9448    # here allows them to be overridden if necessary.
9449    runpath_var=LD_RUN_PATH
9450    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9451    export_dynamic_flag_spec='${wl}--export-dynamic'
9452    # ancient GNU ld didn't support --whole-archive et. al.
9453    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9454      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9455    else
9456      whole_archive_flag_spec=
9457    fi
9458    supports_anon_versioning=no
9459    case `$LD -v 2>&1` in
9460      *GNU\ gold*) supports_anon_versioning=yes ;;
9461      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9462      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9463      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9464      *\ 2.11.*) ;; # other 2.11 versions
9465      *) supports_anon_versioning=yes ;;
9466    esac
9467
9468    # See if GNU ld supports shared libraries.
9469    case $host_os in
9470    aix[3-9]*)
9471      # On AIX/PPC, the GNU linker is very broken
9472      if test "$host_cpu" != ia64; then
9473	ld_shlibs=no
9474	cat <<_LT_EOF 1>&2
9475
9476*** Warning: the GNU linker, at least up to release 2.19, is reported
9477*** to be unable to reliably create shared libraries on AIX.
9478*** Therefore, libtool is disabling shared libraries support.  If you
9479*** really care for shared libraries, you may want to install binutils
9480*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9481*** You will then need to restart the configuration process.
9482
9483_LT_EOF
9484      fi
9485      ;;
9486
9487    amigaos*)
9488      case $host_cpu in
9489      powerpc)
9490            # see comment about AmigaOS4 .so support
9491            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492            archive_expsym_cmds=''
9493        ;;
9494      m68k)
9495            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)'
9496            hardcode_libdir_flag_spec='-L$libdir'
9497            hardcode_minus_L=yes
9498        ;;
9499      esac
9500      ;;
9501
9502    beos*)
9503      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9504	allow_undefined_flag=unsupported
9505	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9506	# support --undefined.  This deserves some investigation.  FIXME
9507	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9508      else
9509	ld_shlibs=no
9510      fi
9511      ;;
9512
9513    cygwin* | mingw* | pw32* | cegcc*)
9514      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9515      # as there is no search path for DLLs.
9516      hardcode_libdir_flag_spec='-L$libdir'
9517      export_dynamic_flag_spec='${wl}--export-all-symbols'
9518      allow_undefined_flag=unsupported
9519      always_export_symbols=no
9520      enable_shared_with_static_runtimes=yes
9521      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'
9522      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9523
9524      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9525        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9526	# If the export-symbols file already is a .def file (1st line
9527	# is EXPORTS), use it as is; otherwise, prepend...
9528	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9529	  cp $export_symbols $output_objdir/$soname.def;
9530	else
9531	  echo EXPORTS > $output_objdir/$soname.def;
9532	  cat $export_symbols >> $output_objdir/$soname.def;
9533	fi~
9534	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9535      else
9536	ld_shlibs=no
9537      fi
9538      ;;
9539
9540    haiku*)
9541      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9542      link_all_deplibs=yes
9543      ;;
9544
9545    interix[3-9]*)
9546      hardcode_direct=no
9547      hardcode_shlibpath_var=no
9548      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9549      export_dynamic_flag_spec='${wl}-E'
9550      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9551      # Instead, shared libraries are loaded at an image base (0x10000000 by
9552      # default) and relocated if they conflict, which is a slow very memory
9553      # consuming and fragmenting process.  To avoid this, we pick a random,
9554      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9555      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9556      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9557      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'
9558      ;;
9559
9560    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9561      tmp_diet=no
9562      if test "$host_os" = linux-dietlibc; then
9563	case $cc_basename in
9564	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9565	esac
9566      fi
9567      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9568	 && test "$tmp_diet" = no
9569      then
9570	tmp_addflag=' $pic_flag'
9571	tmp_sharedflag='-shared'
9572	case $cc_basename,$host_cpu in
9573        pgcc*)				# Portland Group C compiler
9574	  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'
9575	  tmp_addflag=' $pic_flag'
9576	  ;;
9577	pgf77* | pgf90* | pgf95* | pgfortran*)
9578					# Portland Group f77 and f90 compilers
9579	  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'
9580	  tmp_addflag=' $pic_flag -Mnomain' ;;
9581	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9582	  tmp_addflag=' -i_dynamic' ;;
9583	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9584	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9585	ifc* | ifort*)			# Intel Fortran compiler
9586	  tmp_addflag=' -nofor_main' ;;
9587	lf95*)				# Lahey Fortran 8.1
9588	  whole_archive_flag_spec=
9589	  tmp_sharedflag='--shared' ;;
9590	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9591	  tmp_sharedflag='-qmkshrobj'
9592	  tmp_addflag= ;;
9593	nvcc*)	# Cuda Compiler Driver 2.2
9594	  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'
9595	  compiler_needs_object=yes
9596	  ;;
9597	esac
9598	case `$CC -V 2>&1 | sed 5q` in
9599	*Sun\ C*)			# Sun C 5.9
9600	  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'
9601	  compiler_needs_object=yes
9602	  tmp_sharedflag='-G' ;;
9603	*Sun\ F*)			# Sun Fortran 8.3
9604	  tmp_sharedflag='-G' ;;
9605	esac
9606	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9607
9608        if test "x$supports_anon_versioning" = xyes; then
9609          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9610	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9611	    echo "local: *; };" >> $output_objdir/$libname.ver~
9612	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9613        fi
9614
9615	case $cc_basename in
9616	xlf* | bgf* | bgxlf* | mpixlf*)
9617	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9618	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9619	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9620	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9621	  if test "x$supports_anon_versioning" = xyes; then
9622	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9623	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9624	      echo "local: *; };" >> $output_objdir/$libname.ver~
9625	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9626	  fi
9627	  ;;
9628	esac
9629      else
9630        ld_shlibs=no
9631      fi
9632      ;;
9633
9634    netbsd* | netbsdelf*-gnu)
9635      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9636	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9637	wlarc=
9638      else
9639	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9640	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9641      fi
9642      ;;
9643
9644    solaris*)
9645      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9646	ld_shlibs=no
9647	cat <<_LT_EOF 1>&2
9648
9649*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9650*** create shared libraries on Solaris systems.  Therefore, libtool
9651*** is disabling shared libraries support.  We urge you to upgrade GNU
9652*** binutils to release 2.9.1 or newer.  Another option is to modify
9653*** your PATH or compiler configuration so that the native linker is
9654*** used, and then restart.
9655
9656_LT_EOF
9657      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9658	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9660      else
9661	ld_shlibs=no
9662      fi
9663      ;;
9664
9665    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9666      case `$LD -v 2>&1` in
9667        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9668	ld_shlibs=no
9669	cat <<_LT_EOF 1>&2
9670
9671*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9672*** reliably create shared libraries on SCO systems.  Therefore, libtool
9673*** is disabling shared libraries support.  We urge you to upgrade GNU
9674*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9675*** your PATH or compiler configuration so that the native linker is
9676*** used, and then restart.
9677
9678_LT_EOF
9679	;;
9680	*)
9681	  # For security reasons, it is highly recommended that you always
9682	  # use absolute paths for naming shared libraries, and exclude the
9683	  # DT_RUNPATH tag from executables and libraries.  But doing so
9684	  # requires that you compile everything twice, which is a pain.
9685	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9686	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9687	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9688	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9689	  else
9690	    ld_shlibs=no
9691	  fi
9692	;;
9693      esac
9694      ;;
9695
9696    sunos4*)
9697      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9698      wlarc=
9699      hardcode_direct=yes
9700      hardcode_shlibpath_var=no
9701      ;;
9702
9703    *)
9704      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9705	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9706	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9707      else
9708	ld_shlibs=no
9709      fi
9710      ;;
9711    esac
9712
9713    if test "$ld_shlibs" = no; then
9714      runpath_var=
9715      hardcode_libdir_flag_spec=
9716      export_dynamic_flag_spec=
9717      whole_archive_flag_spec=
9718    fi
9719  else
9720    # PORTME fill in a description of your system's linker (not GNU ld)
9721    case $host_os in
9722    aix3*)
9723      allow_undefined_flag=unsupported
9724      always_export_symbols=yes
9725      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'
9726      # Note: this linker hardcodes the directories in LIBPATH if there
9727      # are no directories specified by -L.
9728      hardcode_minus_L=yes
9729      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9730	# Neither direct hardcoding nor static linking is supported with a
9731	# broken collect2.
9732	hardcode_direct=unsupported
9733      fi
9734      ;;
9735
9736    aix[4-9]*)
9737      if test "$host_cpu" = ia64; then
9738	# On IA64, the linker does run time linking by default, so we don't
9739	# have to do anything special.
9740	aix_use_runtimelinking=no
9741	exp_sym_flag='-Bexport'
9742	no_entry_flag=""
9743      else
9744	# If we're using GNU nm, then we don't want the "-C" option.
9745	# -C means demangle to AIX nm, but means don't demangle with GNU nm
9746	# Also, AIX nm treats weak defined symbols like other global
9747	# defined symbols, whereas GNU nm marks them as "W".
9748	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9749	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9750	else
9751	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9752	fi
9753	aix_use_runtimelinking=no
9754
9755	# Test if we are trying to use run time linking or normal
9756	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9757	# need to do runtime linking.
9758	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9759	  for ld_flag in $LDFLAGS; do
9760	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9761	    aix_use_runtimelinking=yes
9762	    break
9763	  fi
9764	  done
9765	  ;;
9766	esac
9767
9768	exp_sym_flag='-bexport'
9769	no_entry_flag='-bnoentry'
9770      fi
9771
9772      # When large executables or shared objects are built, AIX ld can
9773      # have problems creating the table of contents.  If linking a library
9774      # or program results in "error TOC overflow" add -mminimal-toc to
9775      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9776      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9777
9778      archive_cmds=''
9779      hardcode_direct=yes
9780      hardcode_direct_absolute=yes
9781      hardcode_libdir_separator=':'
9782      link_all_deplibs=yes
9783      file_list_spec='${wl}-f,'
9784
9785      if test "$GCC" = yes; then
9786	case $host_os in aix4.[012]|aix4.[012].*)
9787	# We only want to do this on AIX 4.2 and lower, the check
9788	# below for broken collect2 doesn't work under 4.3+
9789	  collect2name=`${CC} -print-prog-name=collect2`
9790	  if test -f "$collect2name" &&
9791	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9792	  then
9793	  # We have reworked collect2
9794	  :
9795	  else
9796	  # We have old collect2
9797	  hardcode_direct=unsupported
9798	  # It fails to find uninstalled libraries when the uninstalled
9799	  # path is not listed in the libpath.  Setting hardcode_minus_L
9800	  # to unsupported forces relinking
9801	  hardcode_minus_L=yes
9802	  hardcode_libdir_flag_spec='-L$libdir'
9803	  hardcode_libdir_separator=
9804	  fi
9805	  ;;
9806	esac
9807	shared_flag='-shared'
9808	if test "$aix_use_runtimelinking" = yes; then
9809	  shared_flag="$shared_flag "'${wl}-G'
9810	fi
9811	link_all_deplibs=no
9812      else
9813	# not using gcc
9814	if test "$host_cpu" = ia64; then
9815	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9816	# chokes on -Wl,-G. The following line is correct:
9817	  shared_flag='-G'
9818	else
9819	  if test "$aix_use_runtimelinking" = yes; then
9820	    shared_flag='${wl}-G'
9821	  else
9822	    shared_flag='${wl}-bM:SRE'
9823	  fi
9824	fi
9825      fi
9826
9827      export_dynamic_flag_spec='${wl}-bexpall'
9828      # It seems that -bexpall does not export symbols beginning with
9829      # underscore (_), so it is better to generate a list of symbols to export.
9830      always_export_symbols=yes
9831      if test "$aix_use_runtimelinking" = yes; then
9832	# Warning - without using the other runtime loading flags (-brtl),
9833	# -berok will link without error, but may produce a broken library.
9834	allow_undefined_flag='-berok'
9835        # Determine the default libpath from the value encoded in an
9836        # empty executable.
9837        if test "${lt_cv_aix_libpath+set}" = set; then
9838  aix_libpath=$lt_cv_aix_libpath
9839else
9840  if ${lt_cv_aix_libpath_+:} false; then :
9841  $as_echo_n "(cached) " >&6
9842else
9843  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9844/* end confdefs.h.  */
9845
9846int
9847main ()
9848{
9849
9850  ;
9851  return 0;
9852}
9853_ACEOF
9854if ac_fn_c_try_link "$LINENO"; then :
9855
9856  lt_aix_libpath_sed='
9857      /Import File Strings/,/^$/ {
9858	  /^0/ {
9859	      s/^0  *\([^ ]*\) *$/\1/
9860	      p
9861	  }
9862      }'
9863  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9864  # Check for a 64-bit object if we didn't find anything.
9865  if test -z "$lt_cv_aix_libpath_"; then
9866    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9867  fi
9868fi
9869rm -f core conftest.err conftest.$ac_objext \
9870    conftest$ac_exeext conftest.$ac_ext
9871  if test -z "$lt_cv_aix_libpath_"; then
9872    lt_cv_aix_libpath_="/usr/lib:/lib"
9873  fi
9874
9875fi
9876
9877  aix_libpath=$lt_cv_aix_libpath_
9878fi
9879
9880        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9881        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9882      else
9883	if test "$host_cpu" = ia64; then
9884	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9885	  allow_undefined_flag="-z nodefs"
9886	  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"
9887	else
9888	 # Determine the default libpath from the value encoded in an
9889	 # empty executable.
9890	 if test "${lt_cv_aix_libpath+set}" = set; then
9891  aix_libpath=$lt_cv_aix_libpath
9892else
9893  if ${lt_cv_aix_libpath_+:} false; then :
9894  $as_echo_n "(cached) " >&6
9895else
9896  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897/* end confdefs.h.  */
9898
9899int
9900main ()
9901{
9902
9903  ;
9904  return 0;
9905}
9906_ACEOF
9907if ac_fn_c_try_link "$LINENO"; then :
9908
9909  lt_aix_libpath_sed='
9910      /Import File Strings/,/^$/ {
9911	  /^0/ {
9912	      s/^0  *\([^ ]*\) *$/\1/
9913	      p
9914	  }
9915      }'
9916  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9917  # Check for a 64-bit object if we didn't find anything.
9918  if test -z "$lt_cv_aix_libpath_"; then
9919    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9920  fi
9921fi
9922rm -f core conftest.err conftest.$ac_objext \
9923    conftest$ac_exeext conftest.$ac_ext
9924  if test -z "$lt_cv_aix_libpath_"; then
9925    lt_cv_aix_libpath_="/usr/lib:/lib"
9926  fi
9927
9928fi
9929
9930  aix_libpath=$lt_cv_aix_libpath_
9931fi
9932
9933	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9934	  # Warning - without using the other run time loading flags,
9935	  # -berok will link without error, but may produce a broken library.
9936	  no_undefined_flag=' ${wl}-bernotok'
9937	  allow_undefined_flag=' ${wl}-berok'
9938	  if test "$with_gnu_ld" = yes; then
9939	    # We only use this code for GNU lds that support --whole-archive.
9940	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9941	  else
9942	    # Exported symbols can be pulled into shared objects from archives
9943	    whole_archive_flag_spec='$convenience'
9944	  fi
9945	  archive_cmds_need_lc=yes
9946	  # This is similar to how AIX traditionally builds its shared libraries.
9947	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9948	fi
9949      fi
9950      ;;
9951
9952    amigaos*)
9953      case $host_cpu in
9954      powerpc)
9955            # see comment about AmigaOS4 .so support
9956            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9957            archive_expsym_cmds=''
9958        ;;
9959      m68k)
9960            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)'
9961            hardcode_libdir_flag_spec='-L$libdir'
9962            hardcode_minus_L=yes
9963        ;;
9964      esac
9965      ;;
9966
9967    bsdi[45]*)
9968      export_dynamic_flag_spec=-rdynamic
9969      ;;
9970
9971    cygwin* | mingw* | pw32* | cegcc*)
9972      # When not using gcc, we currently assume that we are using
9973      # Microsoft Visual C++.
9974      # hardcode_libdir_flag_spec is actually meaningless, as there is
9975      # no search path for DLLs.
9976      case $cc_basename in
9977      cl*)
9978	# Native MSVC
9979	hardcode_libdir_flag_spec=' '
9980	allow_undefined_flag=unsupported
9981	always_export_symbols=yes
9982	file_list_spec='@'
9983	# Tell ltmain to make .lib files, not .a files.
9984	libext=lib
9985	# Tell ltmain to make .dll files, not .so files.
9986	shrext_cmds=".dll"
9987	# FIXME: Setting linknames here is a bad hack.
9988	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9989	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9990	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9991	  else
9992	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9993	  fi~
9994	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9995	  linknames='
9996	# The linker will not automatically build a static lib if we build a DLL.
9997	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9998	enable_shared_with_static_runtimes=yes
9999	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10000	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10001	# Don't use ranlib
10002	old_postinstall_cmds='chmod 644 $oldlib'
10003	postlink_cmds='lt_outputfile="@OUTPUT@"~
10004	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10005	  case $lt_outputfile in
10006	    *.exe|*.EXE) ;;
10007	    *)
10008	      lt_outputfile="$lt_outputfile.exe"
10009	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10010	      ;;
10011	  esac~
10012	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10013	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10014	    $RM "$lt_outputfile.manifest";
10015	  fi'
10016	;;
10017      *)
10018	# Assume MSVC wrapper
10019	hardcode_libdir_flag_spec=' '
10020	allow_undefined_flag=unsupported
10021	# Tell ltmain to make .lib files, not .a files.
10022	libext=lib
10023	# Tell ltmain to make .dll files, not .so files.
10024	shrext_cmds=".dll"
10025	# FIXME: Setting linknames here is a bad hack.
10026	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10027	# The linker will automatically build a .lib file if we build a DLL.
10028	old_archive_from_new_cmds='true'
10029	# FIXME: Should let the user specify the lib program.
10030	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10031	enable_shared_with_static_runtimes=yes
10032	;;
10033      esac
10034      ;;
10035
10036    darwin* | rhapsody*)
10037
10038
10039  archive_cmds_need_lc=no
10040  hardcode_direct=no
10041  hardcode_automatic=yes
10042  hardcode_shlibpath_var=unsupported
10043  if test "$lt_cv_ld_force_load" = "yes"; then
10044    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\"`'
10045
10046  else
10047    whole_archive_flag_spec=''
10048  fi
10049  link_all_deplibs=yes
10050  allow_undefined_flag="$_lt_dar_allow_undefined"
10051  case $cc_basename in
10052     ifort*) _lt_dar_can_shared=yes ;;
10053     *) _lt_dar_can_shared=$GCC ;;
10054  esac
10055  if test "$_lt_dar_can_shared" = "yes"; then
10056    output_verbose_link_cmd=func_echo_all
10057    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10058    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10059    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}"
10060    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}"
10061
10062  else
10063  ld_shlibs=no
10064  fi
10065
10066      ;;
10067
10068    dgux*)
10069      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10070      hardcode_libdir_flag_spec='-L$libdir'
10071      hardcode_shlibpath_var=no
10072      ;;
10073
10074    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10075    # support.  Future versions do this automatically, but an explicit c++rt0.o
10076    # does not break anything, and helps significantly (at the cost of a little
10077    # extra space).
10078    freebsd2.2*)
10079      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10080      hardcode_libdir_flag_spec='-R$libdir'
10081      hardcode_direct=yes
10082      hardcode_shlibpath_var=no
10083      ;;
10084
10085    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10086    freebsd2.*)
10087      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10088      hardcode_direct=yes
10089      hardcode_minus_L=yes
10090      hardcode_shlibpath_var=no
10091      ;;
10092
10093    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10094    freebsd* | dragonfly*)
10095      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10096      hardcode_libdir_flag_spec='-R$libdir'
10097      hardcode_direct=yes
10098      hardcode_shlibpath_var=no
10099      ;;
10100
10101    hpux9*)
10102      if test "$GCC" = yes; then
10103	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10104      else
10105	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10106      fi
10107      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10108      hardcode_libdir_separator=:
10109      hardcode_direct=yes
10110
10111      # hardcode_minus_L: Not really in the search PATH,
10112      # but as the default location of the library.
10113      hardcode_minus_L=yes
10114      export_dynamic_flag_spec='${wl}-E'
10115      ;;
10116
10117    hpux10*)
10118      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10119	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10120      else
10121	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10122      fi
10123      if test "$with_gnu_ld" = no; then
10124	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10125	hardcode_libdir_separator=:
10126	hardcode_direct=yes
10127	hardcode_direct_absolute=yes
10128	export_dynamic_flag_spec='${wl}-E'
10129	# hardcode_minus_L: Not really in the search PATH,
10130	# but as the default location of the library.
10131	hardcode_minus_L=yes
10132      fi
10133      ;;
10134
10135    hpux11*)
10136      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10137	case $host_cpu in
10138	hppa*64*)
10139	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10140	  ;;
10141	ia64*)
10142	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10143	  ;;
10144	*)
10145	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10146	  ;;
10147	esac
10148      else
10149	case $host_cpu in
10150	hppa*64*)
10151	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10152	  ;;
10153	ia64*)
10154	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10155	  ;;
10156	*)
10157
10158	  # Older versions of the 11.00 compiler do not understand -b yet
10159	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10160	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10161$as_echo_n "checking if $CC understands -b... " >&6; }
10162if ${lt_cv_prog_compiler__b+:} false; then :
10163  $as_echo_n "(cached) " >&6
10164else
10165  lt_cv_prog_compiler__b=no
10166   save_LDFLAGS="$LDFLAGS"
10167   LDFLAGS="$LDFLAGS -b"
10168   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10169   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10170     # The linker can only warn and ignore the option if not recognized
10171     # So say no if there are warnings
10172     if test -s conftest.err; then
10173       # Append any errors to the config.log.
10174       cat conftest.err 1>&5
10175       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10176       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10177       if diff conftest.exp conftest.er2 >/dev/null; then
10178         lt_cv_prog_compiler__b=yes
10179       fi
10180     else
10181       lt_cv_prog_compiler__b=yes
10182     fi
10183   fi
10184   $RM -r conftest*
10185   LDFLAGS="$save_LDFLAGS"
10186
10187fi
10188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10189$as_echo "$lt_cv_prog_compiler__b" >&6; }
10190
10191if test x"$lt_cv_prog_compiler__b" = xyes; then
10192    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10193else
10194    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10195fi
10196
10197	  ;;
10198	esac
10199      fi
10200      if test "$with_gnu_ld" = no; then
10201	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10202	hardcode_libdir_separator=:
10203
10204	case $host_cpu in
10205	hppa*64*|ia64*)
10206	  hardcode_direct=no
10207	  hardcode_shlibpath_var=no
10208	  ;;
10209	*)
10210	  hardcode_direct=yes
10211	  hardcode_direct_absolute=yes
10212	  export_dynamic_flag_spec='${wl}-E'
10213
10214	  # hardcode_minus_L: Not really in the search PATH,
10215	  # but as the default location of the library.
10216	  hardcode_minus_L=yes
10217	  ;;
10218	esac
10219      fi
10220      ;;
10221
10222    irix5* | irix6* | nonstopux*)
10223      if test "$GCC" = yes; then
10224	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'
10225	# Try to use the -exported_symbol ld option, if it does not
10226	# work, assume that -exports_file does not work either and
10227	# implicitly export all symbols.
10228	# This should be the same for all languages, so no per-tag cache variable.
10229	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10230$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10231if ${lt_cv_irix_exported_symbol+:} false; then :
10232  $as_echo_n "(cached) " >&6
10233else
10234  save_LDFLAGS="$LDFLAGS"
10235	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10236	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10237/* end confdefs.h.  */
10238int foo (void) { return 0; }
10239_ACEOF
10240if ac_fn_c_try_link "$LINENO"; then :
10241  lt_cv_irix_exported_symbol=yes
10242else
10243  lt_cv_irix_exported_symbol=no
10244fi
10245rm -f core conftest.err conftest.$ac_objext \
10246    conftest$ac_exeext conftest.$ac_ext
10247           LDFLAGS="$save_LDFLAGS"
10248fi
10249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10250$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10251	if test "$lt_cv_irix_exported_symbol" = yes; then
10252          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'
10253	fi
10254      else
10255	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'
10256	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'
10257      fi
10258      archive_cmds_need_lc='no'
10259      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10260      hardcode_libdir_separator=:
10261      inherit_rpath=yes
10262      link_all_deplibs=yes
10263      ;;
10264
10265    netbsd* | netbsdelf*-gnu)
10266      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10267	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10268      else
10269	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10270      fi
10271      hardcode_libdir_flag_spec='-R$libdir'
10272      hardcode_direct=yes
10273      hardcode_shlibpath_var=no
10274      ;;
10275
10276    newsos6)
10277      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10278      hardcode_direct=yes
10279      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10280      hardcode_libdir_separator=:
10281      hardcode_shlibpath_var=no
10282      ;;
10283
10284    *nto* | *qnx*)
10285      ;;
10286
10287    openbsd*)
10288      if test -f /usr/libexec/ld.so; then
10289	hardcode_direct=yes
10290	hardcode_shlibpath_var=no
10291	hardcode_direct_absolute=yes
10292	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10293	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10294	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10295	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10296	  export_dynamic_flag_spec='${wl}-E'
10297	else
10298	  case $host_os in
10299	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10300	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10301	     hardcode_libdir_flag_spec='-R$libdir'
10302	     ;;
10303	   *)
10304	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10305	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10306	     ;;
10307	  esac
10308	fi
10309      else
10310	ld_shlibs=no
10311      fi
10312      ;;
10313
10314    os2*)
10315      hardcode_libdir_flag_spec='-L$libdir'
10316      hardcode_minus_L=yes
10317      allow_undefined_flag=unsupported
10318      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10319      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10320      ;;
10321
10322    osf3*)
10323      if test "$GCC" = yes; then
10324	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10325	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'
10326      else
10327	allow_undefined_flag=' -expect_unresolved \*'
10328	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'
10329      fi
10330      archive_cmds_need_lc='no'
10331      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10332      hardcode_libdir_separator=:
10333      ;;
10334
10335    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10336      if test "$GCC" = yes; then
10337	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10338	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'
10339	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10340      else
10341	allow_undefined_flag=' -expect_unresolved \*'
10342	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'
10343	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~
10344	$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'
10345
10346	# Both c and cxx compiler support -rpath directly
10347	hardcode_libdir_flag_spec='-rpath $libdir'
10348      fi
10349      archive_cmds_need_lc='no'
10350      hardcode_libdir_separator=:
10351      ;;
10352
10353    solaris*)
10354      no_undefined_flag=' -z defs'
10355      if test "$GCC" = yes; then
10356	wlarc='${wl}'
10357	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10358	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10359	  $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'
10360      else
10361	case `$CC -V 2>&1` in
10362	*"Compilers 5.0"*)
10363	  wlarc=''
10364	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10365	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10366	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10367	  ;;
10368	*)
10369	  wlarc='${wl}'
10370	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10371	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10372	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10373	  ;;
10374	esac
10375      fi
10376      hardcode_libdir_flag_spec='-R$libdir'
10377      hardcode_shlibpath_var=no
10378      case $host_os in
10379      solaris2.[0-5] | solaris2.[0-5].*) ;;
10380      *)
10381	# The compiler driver will combine and reorder linker options,
10382	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10383	# but is careful enough not to reorder.
10384	# Supported since Solaris 2.6 (maybe 2.5.1?)
10385	if test "$GCC" = yes; then
10386	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10387	else
10388	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10389	fi
10390	;;
10391      esac
10392      link_all_deplibs=yes
10393      ;;
10394
10395    sunos4*)
10396      if test "x$host_vendor" = xsequent; then
10397	# Use $CC to link under sequent, because it throws in some extra .o
10398	# files that make .init and .fini sections work.
10399	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10400      else
10401	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10402      fi
10403      hardcode_libdir_flag_spec='-L$libdir'
10404      hardcode_direct=yes
10405      hardcode_minus_L=yes
10406      hardcode_shlibpath_var=no
10407      ;;
10408
10409    sysv4)
10410      case $host_vendor in
10411	sni)
10412	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10413	  hardcode_direct=yes # is this really true???
10414	;;
10415	siemens)
10416	  ## LD is ld it makes a PLAMLIB
10417	  ## CC just makes a GrossModule.
10418	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10419	  reload_cmds='$CC -r -o $output$reload_objs'
10420	  hardcode_direct=no
10421        ;;
10422	motorola)
10423	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10424	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10425	;;
10426      esac
10427      runpath_var='LD_RUN_PATH'
10428      hardcode_shlibpath_var=no
10429      ;;
10430
10431    sysv4.3*)
10432      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10433      hardcode_shlibpath_var=no
10434      export_dynamic_flag_spec='-Bexport'
10435      ;;
10436
10437    sysv4*MP*)
10438      if test -d /usr/nec; then
10439	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10440	hardcode_shlibpath_var=no
10441	runpath_var=LD_RUN_PATH
10442	hardcode_runpath_var=yes
10443	ld_shlibs=yes
10444      fi
10445      ;;
10446
10447    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10448      no_undefined_flag='${wl}-z,text'
10449      archive_cmds_need_lc=no
10450      hardcode_shlibpath_var=no
10451      runpath_var='LD_RUN_PATH'
10452
10453      if test "$GCC" = yes; then
10454	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10455	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10456      else
10457	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10458	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10459      fi
10460      ;;
10461
10462    sysv5* | sco3.2v5* | sco5v6*)
10463      # Note: We can NOT use -z defs as we might desire, because we do not
10464      # link with -lc, and that would cause any symbols used from libc to
10465      # always be unresolved, which means just about no library would
10466      # ever link correctly.  If we're not using GNU ld we use -z text
10467      # though, which does catch some bad symbols but isn't as heavy-handed
10468      # as -z defs.
10469      no_undefined_flag='${wl}-z,text'
10470      allow_undefined_flag='${wl}-z,nodefs'
10471      archive_cmds_need_lc=no
10472      hardcode_shlibpath_var=no
10473      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10474      hardcode_libdir_separator=':'
10475      link_all_deplibs=yes
10476      export_dynamic_flag_spec='${wl}-Bexport'
10477      runpath_var='LD_RUN_PATH'
10478
10479      if test "$GCC" = yes; then
10480	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10481	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10482      else
10483	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10485      fi
10486      ;;
10487
10488    uts4*)
10489      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10490      hardcode_libdir_flag_spec='-L$libdir'
10491      hardcode_shlibpath_var=no
10492      ;;
10493
10494    *)
10495      ld_shlibs=no
10496      ;;
10497    esac
10498
10499    if test x$host_vendor = xsni; then
10500      case $host in
10501      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10502	export_dynamic_flag_spec='${wl}-Blargedynsym'
10503	;;
10504      esac
10505    fi
10506  fi
10507
10508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10509$as_echo "$ld_shlibs" >&6; }
10510test "$ld_shlibs" = no && can_build_shared=no
10511
10512with_gnu_ld=$with_gnu_ld
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528#
10529# Do we need to explicitly link libc?
10530#
10531case "x$archive_cmds_need_lc" in
10532x|xyes)
10533  # Assume -lc should be added
10534  archive_cmds_need_lc=yes
10535
10536  if test "$enable_shared" = yes && test "$GCC" = yes; then
10537    case $archive_cmds in
10538    *'~'*)
10539      # FIXME: we may have to deal with multi-command sequences.
10540      ;;
10541    '$CC '*)
10542      # Test whether the compiler implicitly links with -lc since on some
10543      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10544      # to ld, don't add -lc before -lgcc.
10545      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10546$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10547if ${lt_cv_archive_cmds_need_lc+:} false; then :
10548  $as_echo_n "(cached) " >&6
10549else
10550  $RM conftest*
10551	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10552
10553	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10554  (eval $ac_compile) 2>&5
10555  ac_status=$?
10556  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10557  test $ac_status = 0; } 2>conftest.err; then
10558	  soname=conftest
10559	  lib=conftest
10560	  libobjs=conftest.$ac_objext
10561	  deplibs=
10562	  wl=$lt_prog_compiler_wl
10563	  pic_flag=$lt_prog_compiler_pic
10564	  compiler_flags=-v
10565	  linker_flags=-v
10566	  verstring=
10567	  output_objdir=.
10568	  libname=conftest
10569	  lt_save_allow_undefined_flag=$allow_undefined_flag
10570	  allow_undefined_flag=
10571	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10572  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10573  ac_status=$?
10574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10575  test $ac_status = 0; }
10576	  then
10577	    lt_cv_archive_cmds_need_lc=no
10578	  else
10579	    lt_cv_archive_cmds_need_lc=yes
10580	  fi
10581	  allow_undefined_flag=$lt_save_allow_undefined_flag
10582	else
10583	  cat conftest.err 1>&5
10584	fi
10585	$RM conftest*
10586
10587fi
10588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10589$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10590      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10591      ;;
10592    esac
10593  fi
10594  ;;
10595esac
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10749$as_echo_n "checking dynamic linker characteristics... " >&6; }
10750
10751if test "$GCC" = yes; then
10752  case $host_os in
10753    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10754    *) lt_awk_arg="/^libraries:/" ;;
10755  esac
10756  case $host_os in
10757    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10758    *) lt_sed_strip_eq="s,=/,/,g" ;;
10759  esac
10760  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10761  case $lt_search_path_spec in
10762  *\;*)
10763    # if the path contains ";" then we assume it to be the separator
10764    # otherwise default to the standard path separator (i.e. ":") - it is
10765    # assumed that no part of a normal pathname contains ";" but that should
10766    # okay in the real world where ";" in dirpaths is itself problematic.
10767    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10768    ;;
10769  *)
10770    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10771    ;;
10772  esac
10773  # Ok, now we have the path, separated by spaces, we can step through it
10774  # and add multilib dir if necessary.
10775  lt_tmp_lt_search_path_spec=
10776  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10777  for lt_sys_path in $lt_search_path_spec; do
10778    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10779      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10780    else
10781      test -d "$lt_sys_path" && \
10782	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10783    fi
10784  done
10785  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10786BEGIN {RS=" "; FS="/|\n";} {
10787  lt_foo="";
10788  lt_count=0;
10789  for (lt_i = NF; lt_i > 0; lt_i--) {
10790    if ($lt_i != "" && $lt_i != ".") {
10791      if ($lt_i == "..") {
10792        lt_count++;
10793      } else {
10794        if (lt_count == 0) {
10795          lt_foo="/" $lt_i lt_foo;
10796        } else {
10797          lt_count--;
10798        }
10799      }
10800    }
10801  }
10802  if (lt_foo != "") { lt_freq[lt_foo]++; }
10803  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10804}'`
10805  # AWK program above erroneously prepends '/' to C:/dos/paths
10806  # for these hosts.
10807  case $host_os in
10808    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10809      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10810  esac
10811  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10812else
10813  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10814fi
10815library_names_spec=
10816libname_spec='lib$name'
10817soname_spec=
10818shrext_cmds=".so"
10819postinstall_cmds=
10820postuninstall_cmds=
10821finish_cmds=
10822finish_eval=
10823shlibpath_var=
10824shlibpath_overrides_runpath=unknown
10825version_type=none
10826dynamic_linker="$host_os ld.so"
10827sys_lib_dlsearch_path_spec="/lib /usr/lib"
10828need_lib_prefix=unknown
10829hardcode_into_libs=no
10830
10831# when you set need_version to no, make sure it does not cause -set_version
10832# flags to be left without arguments
10833need_version=unknown
10834
10835case $host_os in
10836aix3*)
10837  version_type=linux # correct to gnu/linux during the next big refactor
10838  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10839  shlibpath_var=LIBPATH
10840
10841  # AIX 3 has no versioning support, so we append a major version to the name.
10842  soname_spec='${libname}${release}${shared_ext}$major'
10843  ;;
10844
10845aix[4-9]*)
10846  version_type=linux # correct to gnu/linux during the next big refactor
10847  need_lib_prefix=no
10848  need_version=no
10849  hardcode_into_libs=yes
10850  if test "$host_cpu" = ia64; then
10851    # AIX 5 supports IA64
10852    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10853    shlibpath_var=LD_LIBRARY_PATH
10854  else
10855    # With GCC up to 2.95.x, collect2 would create an import file
10856    # for dependence libraries.  The import file would start with
10857    # the line `#! .'.  This would cause the generated library to
10858    # depend on `.', always an invalid library.  This was fixed in
10859    # development snapshots of GCC prior to 3.0.
10860    case $host_os in
10861      aix4 | aix4.[01] | aix4.[01].*)
10862      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10863	   echo ' yes '
10864	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10865	:
10866      else
10867	can_build_shared=no
10868      fi
10869      ;;
10870    esac
10871    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10872    # soname into executable. Probably we can add versioning support to
10873    # collect2, so additional links can be useful in future.
10874    if test "$aix_use_runtimelinking" = yes; then
10875      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10876      # instead of lib<name>.a to let people know that these are not
10877      # typical AIX shared libraries.
10878      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10879    else
10880      # We preserve .a as extension for shared libraries through AIX4.2
10881      # and later when we are not doing run time linking.
10882      library_names_spec='${libname}${release}.a $libname.a'
10883      soname_spec='${libname}${release}${shared_ext}$major'
10884    fi
10885    shlibpath_var=LIBPATH
10886  fi
10887  ;;
10888
10889amigaos*)
10890  case $host_cpu in
10891  powerpc)
10892    # Since July 2007 AmigaOS4 officially supports .so libraries.
10893    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10894    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895    ;;
10896  m68k)
10897    library_names_spec='$libname.ixlibrary $libname.a'
10898    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10899    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10900    ;;
10901  esac
10902  ;;
10903
10904beos*)
10905  library_names_spec='${libname}${shared_ext}'
10906  dynamic_linker="$host_os ld.so"
10907  shlibpath_var=LIBRARY_PATH
10908  ;;
10909
10910bsdi[45]*)
10911  version_type=linux # correct to gnu/linux during the next big refactor
10912  need_version=no
10913  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10914  soname_spec='${libname}${release}${shared_ext}$major'
10915  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10916  shlibpath_var=LD_LIBRARY_PATH
10917  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10918  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10919  # the default ld.so.conf also contains /usr/contrib/lib and
10920  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10921  # libtool to hard-code these into programs
10922  ;;
10923
10924cygwin* | mingw* | pw32* | cegcc*)
10925  version_type=windows
10926  shrext_cmds=".dll"
10927  need_version=no
10928  need_lib_prefix=no
10929
10930  case $GCC,$cc_basename in
10931  yes,*)
10932    # gcc
10933    library_names_spec='$libname.dll.a'
10934    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10935    postinstall_cmds='base_file=`basename \${file}`~
10936      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10937      dldir=$destdir/`dirname \$dlpath`~
10938      test -d \$dldir || mkdir -p \$dldir~
10939      $install_prog $dir/$dlname \$dldir/$dlname~
10940      chmod a+x \$dldir/$dlname~
10941      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10942        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10943      fi'
10944    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10945      dlpath=$dir/\$dldll~
10946       $RM \$dlpath'
10947    shlibpath_overrides_runpath=yes
10948
10949    case $host_os in
10950    cygwin*)
10951      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10952      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10953
10954      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10955      ;;
10956    mingw* | cegcc*)
10957      # MinGW DLLs use traditional 'lib' prefix
10958      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10959      ;;
10960    pw32*)
10961      # pw32 DLLs use 'pw' prefix rather than 'lib'
10962      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10963      ;;
10964    esac
10965    dynamic_linker='Win32 ld.exe'
10966    ;;
10967
10968  *,cl*)
10969    # Native MSVC
10970    libname_spec='$name'
10971    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10972    library_names_spec='${libname}.dll.lib'
10973
10974    case $build_os in
10975    mingw*)
10976      sys_lib_search_path_spec=
10977      lt_save_ifs=$IFS
10978      IFS=';'
10979      for lt_path in $LIB
10980      do
10981        IFS=$lt_save_ifs
10982        # Let DOS variable expansion print the short 8.3 style file name.
10983        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10984        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10985      done
10986      IFS=$lt_save_ifs
10987      # Convert to MSYS style.
10988      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10989      ;;
10990    cygwin*)
10991      # Convert to unix form, then to dos form, then back to unix form
10992      # but this time dos style (no spaces!) so that the unix form looks
10993      # like /cygdrive/c/PROGRA~1:/cygdr...
10994      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10995      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10996      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10997      ;;
10998    *)
10999      sys_lib_search_path_spec="$LIB"
11000      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11001        # It is most probably a Windows format PATH.
11002        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11003      else
11004        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11005      fi
11006      # FIXME: find the short name or the path components, as spaces are
11007      # common. (e.g. "Program Files" -> "PROGRA~1")
11008      ;;
11009    esac
11010
11011    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11012    postinstall_cmds='base_file=`basename \${file}`~
11013      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11014      dldir=$destdir/`dirname \$dlpath`~
11015      test -d \$dldir || mkdir -p \$dldir~
11016      $install_prog $dir/$dlname \$dldir/$dlname'
11017    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11018      dlpath=$dir/\$dldll~
11019       $RM \$dlpath'
11020    shlibpath_overrides_runpath=yes
11021    dynamic_linker='Win32 link.exe'
11022    ;;
11023
11024  *)
11025    # Assume MSVC wrapper
11026    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11027    dynamic_linker='Win32 ld.exe'
11028    ;;
11029  esac
11030  # FIXME: first we should search . and the directory the executable is in
11031  shlibpath_var=PATH
11032  ;;
11033
11034darwin* | rhapsody*)
11035  dynamic_linker="$host_os dyld"
11036  version_type=darwin
11037  need_lib_prefix=no
11038  need_version=no
11039  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11040  soname_spec='${libname}${release}${major}$shared_ext'
11041  shlibpath_overrides_runpath=yes
11042  shlibpath_var=DYLD_LIBRARY_PATH
11043  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11044
11045  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11046  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11047  ;;
11048
11049dgux*)
11050  version_type=linux # correct to gnu/linux during the next big refactor
11051  need_lib_prefix=no
11052  need_version=no
11053  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11054  soname_spec='${libname}${release}${shared_ext}$major'
11055  shlibpath_var=LD_LIBRARY_PATH
11056  ;;
11057
11058freebsd* | dragonfly*)
11059  # DragonFly does not have aout.  When/if they implement a new
11060  # versioning mechanism, adjust this.
11061  if test -x /usr/bin/objformat; then
11062    objformat=`/usr/bin/objformat`
11063  else
11064    case $host_os in
11065    freebsd[23].*) objformat=aout ;;
11066    *) objformat=elf ;;
11067    esac
11068  fi
11069  version_type=freebsd-$objformat
11070  case $version_type in
11071    freebsd-elf*)
11072      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11073      need_version=no
11074      need_lib_prefix=no
11075      ;;
11076    freebsd-*)
11077      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11078      need_version=yes
11079      ;;
11080  esac
11081  shlibpath_var=LD_LIBRARY_PATH
11082  case $host_os in
11083  freebsd2.*)
11084    shlibpath_overrides_runpath=yes
11085    ;;
11086  freebsd3.[01]* | freebsdelf3.[01]*)
11087    shlibpath_overrides_runpath=yes
11088    hardcode_into_libs=yes
11089    ;;
11090  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11091  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11092    shlibpath_overrides_runpath=no
11093    hardcode_into_libs=yes
11094    ;;
11095  *) # from 4.6 on, and DragonFly
11096    shlibpath_overrides_runpath=yes
11097    hardcode_into_libs=yes
11098    ;;
11099  esac
11100  ;;
11101
11102haiku*)
11103  version_type=linux # correct to gnu/linux during the next big refactor
11104  need_lib_prefix=no
11105  need_version=no
11106  dynamic_linker="$host_os runtime_loader"
11107  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11108  soname_spec='${libname}${release}${shared_ext}$major'
11109  shlibpath_var=LIBRARY_PATH
11110  shlibpath_overrides_runpath=yes
11111  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11112  hardcode_into_libs=yes
11113  ;;
11114
11115hpux9* | hpux10* | hpux11*)
11116  # Give a soname corresponding to the major version so that dld.sl refuses to
11117  # link against other versions.
11118  version_type=sunos
11119  need_lib_prefix=no
11120  need_version=no
11121  case $host_cpu in
11122  ia64*)
11123    shrext_cmds='.so'
11124    hardcode_into_libs=yes
11125    dynamic_linker="$host_os dld.so"
11126    shlibpath_var=LD_LIBRARY_PATH
11127    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11128    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129    soname_spec='${libname}${release}${shared_ext}$major'
11130    if test "X$HPUX_IA64_MODE" = X32; then
11131      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11132    else
11133      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11134    fi
11135    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11136    ;;
11137  hppa*64*)
11138    shrext_cmds='.sl'
11139    hardcode_into_libs=yes
11140    dynamic_linker="$host_os dld.sl"
11141    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11142    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11143    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11144    soname_spec='${libname}${release}${shared_ext}$major'
11145    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11146    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11147    ;;
11148  *)
11149    shrext_cmds='.sl'
11150    dynamic_linker="$host_os dld.sl"
11151    shlibpath_var=SHLIB_PATH
11152    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11153    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154    soname_spec='${libname}${release}${shared_ext}$major'
11155    ;;
11156  esac
11157  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11158  postinstall_cmds='chmod 555 $lib'
11159  # or fails outright, so override atomically:
11160  install_override_mode=555
11161  ;;
11162
11163interix[3-9]*)
11164  version_type=linux # correct to gnu/linux during the next big refactor
11165  need_lib_prefix=no
11166  need_version=no
11167  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11168  soname_spec='${libname}${release}${shared_ext}$major'
11169  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11170  shlibpath_var=LD_LIBRARY_PATH
11171  shlibpath_overrides_runpath=no
11172  hardcode_into_libs=yes
11173  ;;
11174
11175irix5* | irix6* | nonstopux*)
11176  case $host_os in
11177    nonstopux*) version_type=nonstopux ;;
11178    *)
11179	if test "$lt_cv_prog_gnu_ld" = yes; then
11180		version_type=linux # correct to gnu/linux during the next big refactor
11181	else
11182		version_type=irix
11183	fi ;;
11184  esac
11185  need_lib_prefix=no
11186  need_version=no
11187  soname_spec='${libname}${release}${shared_ext}$major'
11188  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11189  case $host_os in
11190  irix5* | nonstopux*)
11191    libsuff= shlibsuff=
11192    ;;
11193  *)
11194    case $LD in # libtool.m4 will add one of these switches to LD
11195    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11196      libsuff= shlibsuff= libmagic=32-bit;;
11197    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11198      libsuff=32 shlibsuff=N32 libmagic=N32;;
11199    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11200      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11201    *) libsuff= shlibsuff= libmagic=never-match;;
11202    esac
11203    ;;
11204  esac
11205  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11206  shlibpath_overrides_runpath=no
11207  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11208  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11209  hardcode_into_libs=yes
11210  ;;
11211
11212# No shared lib support for Linux oldld, aout, or coff.
11213linux*oldld* | linux*aout* | linux*coff*)
11214  dynamic_linker=no
11215  ;;
11216
11217# This must be glibc/ELF.
11218linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11219  version_type=linux # correct to gnu/linux during the next big refactor
11220  need_lib_prefix=no
11221  need_version=no
11222  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11223  soname_spec='${libname}${release}${shared_ext}$major'
11224  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11225  shlibpath_var=LD_LIBRARY_PATH
11226  shlibpath_overrides_runpath=no
11227
11228  # Some binutils ld are patched to set DT_RUNPATH
11229  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11230  $as_echo_n "(cached) " >&6
11231else
11232  lt_cv_shlibpath_overrides_runpath=no
11233    save_LDFLAGS=$LDFLAGS
11234    save_libdir=$libdir
11235    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11236	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11237    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11238/* end confdefs.h.  */
11239
11240int
11241main ()
11242{
11243
11244  ;
11245  return 0;
11246}
11247_ACEOF
11248if ac_fn_c_try_link "$LINENO"; then :
11249  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11250  lt_cv_shlibpath_overrides_runpath=yes
11251fi
11252fi
11253rm -f core conftest.err conftest.$ac_objext \
11254    conftest$ac_exeext conftest.$ac_ext
11255    LDFLAGS=$save_LDFLAGS
11256    libdir=$save_libdir
11257
11258fi
11259
11260  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11261
11262  # This implies no fast_install, which is unacceptable.
11263  # Some rework will be needed to allow for fast_install
11264  # before this can be enabled.
11265  hardcode_into_libs=yes
11266
11267  # Append ld.so.conf contents to the search path
11268  if test -f /etc/ld.so.conf; then
11269    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' ' '`
11270    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11271  fi
11272
11273  # We used to test for /lib/ld.so.1 and disable shared libraries on
11274  # powerpc, because MkLinux only supported shared libraries with the
11275  # GNU dynamic linker.  Since this was broken with cross compilers,
11276  # most powerpc-linux boxes support dynamic linking these days and
11277  # people can always --disable-shared, the test was removed, and we
11278  # assume the GNU/Linux dynamic linker is in use.
11279  dynamic_linker='GNU/Linux ld.so'
11280  ;;
11281
11282netbsdelf*-gnu)
11283  version_type=linux
11284  need_lib_prefix=no
11285  need_version=no
11286  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11287  soname_spec='${libname}${release}${shared_ext}$major'
11288  shlibpath_var=LD_LIBRARY_PATH
11289  shlibpath_overrides_runpath=no
11290  hardcode_into_libs=yes
11291  dynamic_linker='NetBSD ld.elf_so'
11292  ;;
11293
11294netbsd*)
11295  version_type=sunos
11296  need_lib_prefix=no
11297  need_version=no
11298  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11299    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11300    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11301    dynamic_linker='NetBSD (a.out) ld.so'
11302  else
11303    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11304    soname_spec='${libname}${release}${shared_ext}$major'
11305    dynamic_linker='NetBSD ld.elf_so'
11306  fi
11307  shlibpath_var=LD_LIBRARY_PATH
11308  shlibpath_overrides_runpath=yes
11309  hardcode_into_libs=yes
11310  ;;
11311
11312newsos6)
11313  version_type=linux # correct to gnu/linux during the next big refactor
11314  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11315  shlibpath_var=LD_LIBRARY_PATH
11316  shlibpath_overrides_runpath=yes
11317  ;;
11318
11319*nto* | *qnx*)
11320  version_type=qnx
11321  need_lib_prefix=no
11322  need_version=no
11323  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11324  soname_spec='${libname}${release}${shared_ext}$major'
11325  shlibpath_var=LD_LIBRARY_PATH
11326  shlibpath_overrides_runpath=no
11327  hardcode_into_libs=yes
11328  dynamic_linker='ldqnx.so'
11329  ;;
11330
11331openbsd*)
11332  version_type=sunos
11333  sys_lib_dlsearch_path_spec="/usr/lib"
11334  need_lib_prefix=no
11335  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11336  case $host_os in
11337    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11338    *)				need_version=no  ;;
11339  esac
11340  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11341  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11342  shlibpath_var=LD_LIBRARY_PATH
11343  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11344    case $host_os in
11345      openbsd2.[89] | openbsd2.[89].*)
11346	shlibpath_overrides_runpath=no
11347	;;
11348      *)
11349	shlibpath_overrides_runpath=yes
11350	;;
11351      esac
11352  else
11353    shlibpath_overrides_runpath=yes
11354  fi
11355  ;;
11356
11357os2*)
11358  libname_spec='$name'
11359  shrext_cmds=".dll"
11360  need_lib_prefix=no
11361  library_names_spec='$libname${shared_ext} $libname.a'
11362  dynamic_linker='OS/2 ld.exe'
11363  shlibpath_var=LIBPATH
11364  ;;
11365
11366osf3* | osf4* | osf5*)
11367  version_type=osf
11368  need_lib_prefix=no
11369  need_version=no
11370  soname_spec='${libname}${release}${shared_ext}$major'
11371  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11372  shlibpath_var=LD_LIBRARY_PATH
11373  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11374  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11375  ;;
11376
11377rdos*)
11378  dynamic_linker=no
11379  ;;
11380
11381solaris*)
11382  version_type=linux # correct to gnu/linux during the next big refactor
11383  need_lib_prefix=no
11384  need_version=no
11385  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11386  soname_spec='${libname}${release}${shared_ext}$major'
11387  shlibpath_var=LD_LIBRARY_PATH
11388  shlibpath_overrides_runpath=yes
11389  hardcode_into_libs=yes
11390  # ldd complains unless libraries are executable
11391  postinstall_cmds='chmod +x $lib'
11392  ;;
11393
11394sunos4*)
11395  version_type=sunos
11396  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11397  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11398  shlibpath_var=LD_LIBRARY_PATH
11399  shlibpath_overrides_runpath=yes
11400  if test "$with_gnu_ld" = yes; then
11401    need_lib_prefix=no
11402  fi
11403  need_version=yes
11404  ;;
11405
11406sysv4 | sysv4.3*)
11407  version_type=linux # correct to gnu/linux during the next big refactor
11408  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409  soname_spec='${libname}${release}${shared_ext}$major'
11410  shlibpath_var=LD_LIBRARY_PATH
11411  case $host_vendor in
11412    sni)
11413      shlibpath_overrides_runpath=no
11414      need_lib_prefix=no
11415      runpath_var=LD_RUN_PATH
11416      ;;
11417    siemens)
11418      need_lib_prefix=no
11419      ;;
11420    motorola)
11421      need_lib_prefix=no
11422      need_version=no
11423      shlibpath_overrides_runpath=no
11424      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11425      ;;
11426  esac
11427  ;;
11428
11429sysv4*MP*)
11430  if test -d /usr/nec ;then
11431    version_type=linux # correct to gnu/linux during the next big refactor
11432    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11433    soname_spec='$libname${shared_ext}.$major'
11434    shlibpath_var=LD_LIBRARY_PATH
11435  fi
11436  ;;
11437
11438sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11439  version_type=freebsd-elf
11440  need_lib_prefix=no
11441  need_version=no
11442  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11443  soname_spec='${libname}${release}${shared_ext}$major'
11444  shlibpath_var=LD_LIBRARY_PATH
11445  shlibpath_overrides_runpath=yes
11446  hardcode_into_libs=yes
11447  if test "$with_gnu_ld" = yes; then
11448    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11449  else
11450    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11451    case $host_os in
11452      sco3.2v5*)
11453        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11454	;;
11455    esac
11456  fi
11457  sys_lib_dlsearch_path_spec='/usr/lib'
11458  ;;
11459
11460tpf*)
11461  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11462  version_type=linux # correct to gnu/linux during the next big refactor
11463  need_lib_prefix=no
11464  need_version=no
11465  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11466  shlibpath_var=LD_LIBRARY_PATH
11467  shlibpath_overrides_runpath=no
11468  hardcode_into_libs=yes
11469  ;;
11470
11471uts4*)
11472  version_type=linux # correct to gnu/linux during the next big refactor
11473  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11474  soname_spec='${libname}${release}${shared_ext}$major'
11475  shlibpath_var=LD_LIBRARY_PATH
11476  ;;
11477
11478*)
11479  dynamic_linker=no
11480  ;;
11481esac
11482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11483$as_echo "$dynamic_linker" >&6; }
11484test "$dynamic_linker" = no && can_build_shared=no
11485
11486variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11487if test "$GCC" = yes; then
11488  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11489fi
11490
11491if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11492  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11493fi
11494if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11495  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11496fi
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11590$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11591hardcode_action=
11592if test -n "$hardcode_libdir_flag_spec" ||
11593   test -n "$runpath_var" ||
11594   test "X$hardcode_automatic" = "Xyes" ; then
11595
11596  # We can hardcode non-existent directories.
11597  if test "$hardcode_direct" != no &&
11598     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11599     # have to relink, otherwise we might link with an installed library
11600     # when we should be linking with a yet-to-be-installed one
11601     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11602     test "$hardcode_minus_L" != no; then
11603    # Linking always hardcodes the temporary library directory.
11604    hardcode_action=relink
11605  else
11606    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11607    hardcode_action=immediate
11608  fi
11609else
11610  # We cannot hardcode anything, or else we can only hardcode existing
11611  # directories.
11612  hardcode_action=unsupported
11613fi
11614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11615$as_echo "$hardcode_action" >&6; }
11616
11617if test "$hardcode_action" = relink ||
11618   test "$inherit_rpath" = yes; then
11619  # Fast installation is not supported
11620  enable_fast_install=no
11621elif test "$shlibpath_overrides_runpath" = yes ||
11622     test "$enable_shared" = no; then
11623  # Fast installation is not necessary
11624  enable_fast_install=needless
11625fi
11626
11627
11628
11629
11630
11631
11632  if test "x$enable_dlopen" != xyes; then
11633  enable_dlopen=unknown
11634  enable_dlopen_self=unknown
11635  enable_dlopen_self_static=unknown
11636else
11637  lt_cv_dlopen=no
11638  lt_cv_dlopen_libs=
11639
11640  case $host_os in
11641  beos*)
11642    lt_cv_dlopen="load_add_on"
11643    lt_cv_dlopen_libs=
11644    lt_cv_dlopen_self=yes
11645    ;;
11646
11647  mingw* | pw32* | cegcc*)
11648    lt_cv_dlopen="LoadLibrary"
11649    lt_cv_dlopen_libs=
11650    ;;
11651
11652  cygwin*)
11653    lt_cv_dlopen="dlopen"
11654    lt_cv_dlopen_libs=
11655    ;;
11656
11657  darwin*)
11658  # if libdl is installed we need to link against it
11659    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11660$as_echo_n "checking for dlopen in -ldl... " >&6; }
11661if ${ac_cv_lib_dl_dlopen+:} false; then :
11662  $as_echo_n "(cached) " >&6
11663else
11664  ac_check_lib_save_LIBS=$LIBS
11665LIBS="-ldl  $LIBS"
11666cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11667/* end confdefs.h.  */
11668
11669/* Override any GCC internal prototype to avoid an error.
11670   Use char because int might match the return type of a GCC
11671   builtin and then its argument prototype would still apply.  */
11672#ifdef __cplusplus
11673extern "C"
11674#endif
11675char dlopen ();
11676int
11677main ()
11678{
11679return dlopen ();
11680  ;
11681  return 0;
11682}
11683_ACEOF
11684if ac_fn_c_try_link "$LINENO"; then :
11685  ac_cv_lib_dl_dlopen=yes
11686else
11687  ac_cv_lib_dl_dlopen=no
11688fi
11689rm -f core conftest.err conftest.$ac_objext \
11690    conftest$ac_exeext conftest.$ac_ext
11691LIBS=$ac_check_lib_save_LIBS
11692fi
11693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11694$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11695if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11696  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11697else
11698
11699    lt_cv_dlopen="dyld"
11700    lt_cv_dlopen_libs=
11701    lt_cv_dlopen_self=yes
11702
11703fi
11704
11705    ;;
11706
11707  *)
11708    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11709if test "x$ac_cv_func_shl_load" = xyes; then :
11710  lt_cv_dlopen="shl_load"
11711else
11712  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11713$as_echo_n "checking for shl_load in -ldld... " >&6; }
11714if ${ac_cv_lib_dld_shl_load+:} false; then :
11715  $as_echo_n "(cached) " >&6
11716else
11717  ac_check_lib_save_LIBS=$LIBS
11718LIBS="-ldld  $LIBS"
11719cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720/* end confdefs.h.  */
11721
11722/* Override any GCC internal prototype to avoid an error.
11723   Use char because int might match the return type of a GCC
11724   builtin and then its argument prototype would still apply.  */
11725#ifdef __cplusplus
11726extern "C"
11727#endif
11728char shl_load ();
11729int
11730main ()
11731{
11732return shl_load ();
11733  ;
11734  return 0;
11735}
11736_ACEOF
11737if ac_fn_c_try_link "$LINENO"; then :
11738  ac_cv_lib_dld_shl_load=yes
11739else
11740  ac_cv_lib_dld_shl_load=no
11741fi
11742rm -f core conftest.err conftest.$ac_objext \
11743    conftest$ac_exeext conftest.$ac_ext
11744LIBS=$ac_check_lib_save_LIBS
11745fi
11746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11747$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11748if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11749  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11750else
11751  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11752if test "x$ac_cv_func_dlopen" = xyes; then :
11753  lt_cv_dlopen="dlopen"
11754else
11755  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11756$as_echo_n "checking for dlopen in -ldl... " >&6; }
11757if ${ac_cv_lib_dl_dlopen+:} false; then :
11758  $as_echo_n "(cached) " >&6
11759else
11760  ac_check_lib_save_LIBS=$LIBS
11761LIBS="-ldl  $LIBS"
11762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11763/* end confdefs.h.  */
11764
11765/* Override any GCC internal prototype to avoid an error.
11766   Use char because int might match the return type of a GCC
11767   builtin and then its argument prototype would still apply.  */
11768#ifdef __cplusplus
11769extern "C"
11770#endif
11771char dlopen ();
11772int
11773main ()
11774{
11775return dlopen ();
11776  ;
11777  return 0;
11778}
11779_ACEOF
11780if ac_fn_c_try_link "$LINENO"; then :
11781  ac_cv_lib_dl_dlopen=yes
11782else
11783  ac_cv_lib_dl_dlopen=no
11784fi
11785rm -f core conftest.err conftest.$ac_objext \
11786    conftest$ac_exeext conftest.$ac_ext
11787LIBS=$ac_check_lib_save_LIBS
11788fi
11789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11790$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11791if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11792  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11793else
11794  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11795$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11796if ${ac_cv_lib_svld_dlopen+:} false; then :
11797  $as_echo_n "(cached) " >&6
11798else
11799  ac_check_lib_save_LIBS=$LIBS
11800LIBS="-lsvld  $LIBS"
11801cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11802/* end confdefs.h.  */
11803
11804/* Override any GCC internal prototype to avoid an error.
11805   Use char because int might match the return type of a GCC
11806   builtin and then its argument prototype would still apply.  */
11807#ifdef __cplusplus
11808extern "C"
11809#endif
11810char dlopen ();
11811int
11812main ()
11813{
11814return dlopen ();
11815  ;
11816  return 0;
11817}
11818_ACEOF
11819if ac_fn_c_try_link "$LINENO"; then :
11820  ac_cv_lib_svld_dlopen=yes
11821else
11822  ac_cv_lib_svld_dlopen=no
11823fi
11824rm -f core conftest.err conftest.$ac_objext \
11825    conftest$ac_exeext conftest.$ac_ext
11826LIBS=$ac_check_lib_save_LIBS
11827fi
11828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11829$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11830if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11831  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11832else
11833  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11834$as_echo_n "checking for dld_link in -ldld... " >&6; }
11835if ${ac_cv_lib_dld_dld_link+:} false; then :
11836  $as_echo_n "(cached) " >&6
11837else
11838  ac_check_lib_save_LIBS=$LIBS
11839LIBS="-ldld  $LIBS"
11840cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841/* end confdefs.h.  */
11842
11843/* Override any GCC internal prototype to avoid an error.
11844   Use char because int might match the return type of a GCC
11845   builtin and then its argument prototype would still apply.  */
11846#ifdef __cplusplus
11847extern "C"
11848#endif
11849char dld_link ();
11850int
11851main ()
11852{
11853return dld_link ();
11854  ;
11855  return 0;
11856}
11857_ACEOF
11858if ac_fn_c_try_link "$LINENO"; then :
11859  ac_cv_lib_dld_dld_link=yes
11860else
11861  ac_cv_lib_dld_dld_link=no
11862fi
11863rm -f core conftest.err conftest.$ac_objext \
11864    conftest$ac_exeext conftest.$ac_ext
11865LIBS=$ac_check_lib_save_LIBS
11866fi
11867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11868$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11869if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11870  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11871fi
11872
11873
11874fi
11875
11876
11877fi
11878
11879
11880fi
11881
11882
11883fi
11884
11885
11886fi
11887
11888    ;;
11889  esac
11890
11891  if test "x$lt_cv_dlopen" != xno; then
11892    enable_dlopen=yes
11893  else
11894    enable_dlopen=no
11895  fi
11896
11897  case $lt_cv_dlopen in
11898  dlopen)
11899    save_CPPFLAGS="$CPPFLAGS"
11900    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11901
11902    save_LDFLAGS="$LDFLAGS"
11903    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11904
11905    save_LIBS="$LIBS"
11906    LIBS="$lt_cv_dlopen_libs $LIBS"
11907
11908    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11909$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11910if ${lt_cv_dlopen_self+:} false; then :
11911  $as_echo_n "(cached) " >&6
11912else
11913  	  if test "$cross_compiling" = yes; then :
11914  lt_cv_dlopen_self=cross
11915else
11916  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11917  lt_status=$lt_dlunknown
11918  cat > conftest.$ac_ext <<_LT_EOF
11919#line $LINENO "configure"
11920#include "confdefs.h"
11921
11922#if HAVE_DLFCN_H
11923#include <dlfcn.h>
11924#endif
11925
11926#include <stdio.h>
11927
11928#ifdef RTLD_GLOBAL
11929#  define LT_DLGLOBAL		RTLD_GLOBAL
11930#else
11931#  ifdef DL_GLOBAL
11932#    define LT_DLGLOBAL		DL_GLOBAL
11933#  else
11934#    define LT_DLGLOBAL		0
11935#  endif
11936#endif
11937
11938/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11939   find out it does not work in some platform. */
11940#ifndef LT_DLLAZY_OR_NOW
11941#  ifdef RTLD_LAZY
11942#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11943#  else
11944#    ifdef DL_LAZY
11945#      define LT_DLLAZY_OR_NOW		DL_LAZY
11946#    else
11947#      ifdef RTLD_NOW
11948#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11949#      else
11950#        ifdef DL_NOW
11951#          define LT_DLLAZY_OR_NOW	DL_NOW
11952#        else
11953#          define LT_DLLAZY_OR_NOW	0
11954#        endif
11955#      endif
11956#    endif
11957#  endif
11958#endif
11959
11960/* When -fvisbility=hidden is used, assume the code has been annotated
11961   correspondingly for the symbols needed.  */
11962#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11963int fnord () __attribute__((visibility("default")));
11964#endif
11965
11966int fnord () { return 42; }
11967int main ()
11968{
11969  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11970  int status = $lt_dlunknown;
11971
11972  if (self)
11973    {
11974      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11975      else
11976        {
11977	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11978          else puts (dlerror ());
11979	}
11980      /* dlclose (self); */
11981    }
11982  else
11983    puts (dlerror ());
11984
11985  return status;
11986}
11987_LT_EOF
11988  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11989  (eval $ac_link) 2>&5
11990  ac_status=$?
11991  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11992  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11993    (./conftest; exit; ) >&5 2>/dev/null
11994    lt_status=$?
11995    case x$lt_status in
11996      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11997      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11998      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11999    esac
12000  else :
12001    # compilation failed
12002    lt_cv_dlopen_self=no
12003  fi
12004fi
12005rm -fr conftest*
12006
12007
12008fi
12009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12010$as_echo "$lt_cv_dlopen_self" >&6; }
12011
12012    if test "x$lt_cv_dlopen_self" = xyes; then
12013      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12014      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12015$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12016if ${lt_cv_dlopen_self_static+:} false; then :
12017  $as_echo_n "(cached) " >&6
12018else
12019  	  if test "$cross_compiling" = yes; then :
12020  lt_cv_dlopen_self_static=cross
12021else
12022  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12023  lt_status=$lt_dlunknown
12024  cat > conftest.$ac_ext <<_LT_EOF
12025#line $LINENO "configure"
12026#include "confdefs.h"
12027
12028#if HAVE_DLFCN_H
12029#include <dlfcn.h>
12030#endif
12031
12032#include <stdio.h>
12033
12034#ifdef RTLD_GLOBAL
12035#  define LT_DLGLOBAL		RTLD_GLOBAL
12036#else
12037#  ifdef DL_GLOBAL
12038#    define LT_DLGLOBAL		DL_GLOBAL
12039#  else
12040#    define LT_DLGLOBAL		0
12041#  endif
12042#endif
12043
12044/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12045   find out it does not work in some platform. */
12046#ifndef LT_DLLAZY_OR_NOW
12047#  ifdef RTLD_LAZY
12048#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12049#  else
12050#    ifdef DL_LAZY
12051#      define LT_DLLAZY_OR_NOW		DL_LAZY
12052#    else
12053#      ifdef RTLD_NOW
12054#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12055#      else
12056#        ifdef DL_NOW
12057#          define LT_DLLAZY_OR_NOW	DL_NOW
12058#        else
12059#          define LT_DLLAZY_OR_NOW	0
12060#        endif
12061#      endif
12062#    endif
12063#  endif
12064#endif
12065
12066/* When -fvisbility=hidden is used, assume the code has been annotated
12067   correspondingly for the symbols needed.  */
12068#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12069int fnord () __attribute__((visibility("default")));
12070#endif
12071
12072int fnord () { return 42; }
12073int main ()
12074{
12075  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12076  int status = $lt_dlunknown;
12077
12078  if (self)
12079    {
12080      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12081      else
12082        {
12083	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12084          else puts (dlerror ());
12085	}
12086      /* dlclose (self); */
12087    }
12088  else
12089    puts (dlerror ());
12090
12091  return status;
12092}
12093_LT_EOF
12094  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12095  (eval $ac_link) 2>&5
12096  ac_status=$?
12097  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12098  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12099    (./conftest; exit; ) >&5 2>/dev/null
12100    lt_status=$?
12101    case x$lt_status in
12102      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12103      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12104      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12105    esac
12106  else :
12107    # compilation failed
12108    lt_cv_dlopen_self_static=no
12109  fi
12110fi
12111rm -fr conftest*
12112
12113
12114fi
12115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12116$as_echo "$lt_cv_dlopen_self_static" >&6; }
12117    fi
12118
12119    CPPFLAGS="$save_CPPFLAGS"
12120    LDFLAGS="$save_LDFLAGS"
12121    LIBS="$save_LIBS"
12122    ;;
12123  esac
12124
12125  case $lt_cv_dlopen_self in
12126  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12127  *) enable_dlopen_self=unknown ;;
12128  esac
12129
12130  case $lt_cv_dlopen_self_static in
12131  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12132  *) enable_dlopen_self_static=unknown ;;
12133  esac
12134fi
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152striplib=
12153old_striplib=
12154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12155$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12156if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12157  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12158  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12160$as_echo "yes" >&6; }
12161else
12162# FIXME - insert some real tests, host_os isn't really good enough
12163  case $host_os in
12164  darwin*)
12165    if test -n "$STRIP" ; then
12166      striplib="$STRIP -x"
12167      old_striplib="$STRIP -S"
12168      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12169$as_echo "yes" >&6; }
12170    else
12171      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12172$as_echo "no" >&6; }
12173    fi
12174    ;;
12175  *)
12176    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12177$as_echo "no" >&6; }
12178    ;;
12179  esac
12180fi
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193  # Report which library types will actually be built
12194  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12195$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12197$as_echo "$can_build_shared" >&6; }
12198
12199  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12200$as_echo_n "checking whether to build shared libraries... " >&6; }
12201  test "$can_build_shared" = "no" && enable_shared=no
12202
12203  # On AIX, shared libraries and static libraries use the same namespace, and
12204  # are all built from PIC.
12205  case $host_os in
12206  aix3*)
12207    test "$enable_shared" = yes && enable_static=no
12208    if test -n "$RANLIB"; then
12209      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12210      postinstall_cmds='$RANLIB $lib'
12211    fi
12212    ;;
12213
12214  aix[4-9]*)
12215    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12216      test "$enable_shared" = yes && enable_static=no
12217    fi
12218    ;;
12219  esac
12220  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12221$as_echo "$enable_shared" >&6; }
12222
12223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12224$as_echo_n "checking whether to build static libraries... " >&6; }
12225  # Make sure either enable_shared or enable_static is yes.
12226  test "$enable_shared" = yes || enable_static=yes
12227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12228$as_echo "$enable_static" >&6; }
12229
12230
12231
12232
12233fi
12234ac_ext=c
12235ac_cpp='$CPP $CPPFLAGS'
12236ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12237ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12238ac_compiler_gnu=$ac_cv_c_compiler_gnu
12239
12240CC="$lt_save_CC"
12241
12242      if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12243    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12244    (test "X$CXX" != "Xg++"))) ; then
12245  ac_ext=cpp
12246ac_cpp='$CXXCPP $CPPFLAGS'
12247ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12248ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12249ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12250{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12251$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12252if test -z "$CXXCPP"; then
12253  if ${ac_cv_prog_CXXCPP+:} false; then :
12254  $as_echo_n "(cached) " >&6
12255else
12256      # Double quotes because CXXCPP needs to be expanded
12257    for CXXCPP in "$CXX -E" "/lib/cpp"
12258    do
12259      ac_preproc_ok=false
12260for ac_cxx_preproc_warn_flag in '' yes
12261do
12262  # Use a header file that comes with gcc, so configuring glibc
12263  # with a fresh cross-compiler works.
12264  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12265  # <limits.h> exists even on freestanding compilers.
12266  # On the NeXT, cc -E runs the code through the compiler's parser,
12267  # not just through cpp. "Syntax error" is here to catch this case.
12268  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12269/* end confdefs.h.  */
12270#ifdef __STDC__
12271# include <limits.h>
12272#else
12273# include <assert.h>
12274#endif
12275		     Syntax error
12276_ACEOF
12277if ac_fn_cxx_try_cpp "$LINENO"; then :
12278
12279else
12280  # Broken: fails on valid input.
12281continue
12282fi
12283rm -f conftest.err conftest.i conftest.$ac_ext
12284
12285  # OK, works on sane cases.  Now check whether nonexistent headers
12286  # can be detected and how.
12287  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12288/* end confdefs.h.  */
12289#include <ac_nonexistent.h>
12290_ACEOF
12291if ac_fn_cxx_try_cpp "$LINENO"; then :
12292  # Broken: success on invalid input.
12293continue
12294else
12295  # Passes both tests.
12296ac_preproc_ok=:
12297break
12298fi
12299rm -f conftest.err conftest.i conftest.$ac_ext
12300
12301done
12302# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12303rm -f conftest.i conftest.err conftest.$ac_ext
12304if $ac_preproc_ok; then :
12305  break
12306fi
12307
12308    done
12309    ac_cv_prog_CXXCPP=$CXXCPP
12310
12311fi
12312  CXXCPP=$ac_cv_prog_CXXCPP
12313else
12314  ac_cv_prog_CXXCPP=$CXXCPP
12315fi
12316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12317$as_echo "$CXXCPP" >&6; }
12318ac_preproc_ok=false
12319for ac_cxx_preproc_warn_flag in '' yes
12320do
12321  # Use a header file that comes with gcc, so configuring glibc
12322  # with a fresh cross-compiler works.
12323  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12324  # <limits.h> exists even on freestanding compilers.
12325  # On the NeXT, cc -E runs the code through the compiler's parser,
12326  # not just through cpp. "Syntax error" is here to catch this case.
12327  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12328/* end confdefs.h.  */
12329#ifdef __STDC__
12330# include <limits.h>
12331#else
12332# include <assert.h>
12333#endif
12334		     Syntax error
12335_ACEOF
12336if ac_fn_cxx_try_cpp "$LINENO"; then :
12337
12338else
12339  # Broken: fails on valid input.
12340continue
12341fi
12342rm -f conftest.err conftest.i conftest.$ac_ext
12343
12344  # OK, works on sane cases.  Now check whether nonexistent headers
12345  # can be detected and how.
12346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12347/* end confdefs.h.  */
12348#include <ac_nonexistent.h>
12349_ACEOF
12350if ac_fn_cxx_try_cpp "$LINENO"; then :
12351  # Broken: success on invalid input.
12352continue
12353else
12354  # Passes both tests.
12355ac_preproc_ok=:
12356break
12357fi
12358rm -f conftest.err conftest.i conftest.$ac_ext
12359
12360done
12361# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12362rm -f conftest.i conftest.err conftest.$ac_ext
12363if $ac_preproc_ok; then :
12364
12365else
12366  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12368as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12369See \`config.log' for more details" "$LINENO" 5; }
12370fi
12371
12372ac_ext=c
12373ac_cpp='$CPP $CPPFLAGS'
12374ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12375ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12376ac_compiler_gnu=$ac_cv_c_compiler_gnu
12377
12378else
12379  _lt_caught_CXX_error=yes
12380fi
12381
12382ac_ext=cpp
12383ac_cpp='$CXXCPP $CPPFLAGS'
12384ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12385ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12386ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12387
12388archive_cmds_need_lc_CXX=no
12389allow_undefined_flag_CXX=
12390always_export_symbols_CXX=no
12391archive_expsym_cmds_CXX=
12392compiler_needs_object_CXX=no
12393export_dynamic_flag_spec_CXX=
12394hardcode_direct_CXX=no
12395hardcode_direct_absolute_CXX=no
12396hardcode_libdir_flag_spec_CXX=
12397hardcode_libdir_separator_CXX=
12398hardcode_minus_L_CXX=no
12399hardcode_shlibpath_var_CXX=unsupported
12400hardcode_automatic_CXX=no
12401inherit_rpath_CXX=no
12402module_cmds_CXX=
12403module_expsym_cmds_CXX=
12404link_all_deplibs_CXX=unknown
12405old_archive_cmds_CXX=$old_archive_cmds
12406reload_flag_CXX=$reload_flag
12407reload_cmds_CXX=$reload_cmds
12408no_undefined_flag_CXX=
12409whole_archive_flag_spec_CXX=
12410enable_shared_with_static_runtimes_CXX=no
12411
12412# Source file extension for C++ test sources.
12413ac_ext=cpp
12414
12415# Object file extension for compiled C++ test sources.
12416objext=o
12417objext_CXX=$objext
12418
12419# No sense in running all these tests if we already determined that
12420# the CXX compiler isn't working.  Some variables (like enable_shared)
12421# are currently assumed to apply to all compilers on this platform,
12422# and will be corrupted by setting them based on a non-working compiler.
12423if test "$_lt_caught_CXX_error" != yes; then
12424  # Code to be used in simple compile tests
12425  lt_simple_compile_test_code="int some_variable = 0;"
12426
12427  # Code to be used in simple link tests
12428  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12429
12430  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12431
12432
12433
12434
12435
12436
12437# If no C compiler was specified, use CC.
12438LTCC=${LTCC-"$CC"}
12439
12440# If no C compiler flags were specified, use CFLAGS.
12441LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12442
12443# Allow CC to be a program name with arguments.
12444compiler=$CC
12445
12446
12447  # save warnings/boilerplate of simple test code
12448  ac_outfile=conftest.$ac_objext
12449echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12450eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12451_lt_compiler_boilerplate=`cat conftest.err`
12452$RM conftest*
12453
12454  ac_outfile=conftest.$ac_objext
12455echo "$lt_simple_link_test_code" >conftest.$ac_ext
12456eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12457_lt_linker_boilerplate=`cat conftest.err`
12458$RM -r conftest*
12459
12460
12461  # Allow CC to be a program name with arguments.
12462  lt_save_CC=$CC
12463  lt_save_CFLAGS=$CFLAGS
12464  lt_save_LD=$LD
12465  lt_save_GCC=$GCC
12466  GCC=$GXX
12467  lt_save_with_gnu_ld=$with_gnu_ld
12468  lt_save_path_LD=$lt_cv_path_LD
12469  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12470    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12471  else
12472    $as_unset lt_cv_prog_gnu_ld
12473  fi
12474  if test -n "${lt_cv_path_LDCXX+set}"; then
12475    lt_cv_path_LD=$lt_cv_path_LDCXX
12476  else
12477    $as_unset lt_cv_path_LD
12478  fi
12479  test -z "${LDCXX+set}" || LD=$LDCXX
12480  CC=${CXX-"c++"}
12481  CFLAGS=$CXXFLAGS
12482  compiler=$CC
12483  compiler_CXX=$CC
12484  for cc_temp in $compiler""; do
12485  case $cc_temp in
12486    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12487    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12488    \-*) ;;
12489    *) break;;
12490  esac
12491done
12492cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12493
12494
12495  if test -n "$compiler"; then
12496    # We don't want -fno-exception when compiling C++ code, so set the
12497    # no_builtin_flag separately
12498    if test "$GXX" = yes; then
12499      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12500    else
12501      lt_prog_compiler_no_builtin_flag_CXX=
12502    fi
12503
12504    if test "$GXX" = yes; then
12505      # Set up default GNU C++ configuration
12506
12507
12508
12509# Check whether --with-gnu-ld was given.
12510if test "${with_gnu_ld+set}" = set; then :
12511  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12512else
12513  with_gnu_ld=no
12514fi
12515
12516ac_prog=ld
12517if test "$GCC" = yes; then
12518  # Check if gcc -print-prog-name=ld gives a path.
12519  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12520$as_echo_n "checking for ld used by $CC... " >&6; }
12521  case $host in
12522  *-*-mingw*)
12523    # gcc leaves a trailing carriage return which upsets mingw
12524    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12525  *)
12526    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12527  esac
12528  case $ac_prog in
12529    # Accept absolute paths.
12530    [\\/]* | ?:[\\/]*)
12531      re_direlt='/[^/][^/]*/\.\./'
12532      # Canonicalize the pathname of ld
12533      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12534      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12535	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12536      done
12537      test -z "$LD" && LD="$ac_prog"
12538      ;;
12539  "")
12540    # If it fails, then pretend we aren't using GCC.
12541    ac_prog=ld
12542    ;;
12543  *)
12544    # If it is relative, then search for the first ld in PATH.
12545    with_gnu_ld=unknown
12546    ;;
12547  esac
12548elif test "$with_gnu_ld" = yes; then
12549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12550$as_echo_n "checking for GNU ld... " >&6; }
12551else
12552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12553$as_echo_n "checking for non-GNU ld... " >&6; }
12554fi
12555if ${lt_cv_path_LD+:} false; then :
12556  $as_echo_n "(cached) " >&6
12557else
12558  if test -z "$LD"; then
12559  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12560  for ac_dir in $PATH; do
12561    IFS="$lt_save_ifs"
12562    test -z "$ac_dir" && ac_dir=.
12563    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12564      lt_cv_path_LD="$ac_dir/$ac_prog"
12565      # Check to see if the program is GNU ld.  I'd rather use --version,
12566      # but apparently some variants of GNU ld only accept -v.
12567      # Break only if it was the GNU/non-GNU ld that we prefer.
12568      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12569      *GNU* | *'with BFD'*)
12570	test "$with_gnu_ld" != no && break
12571	;;
12572      *)
12573	test "$with_gnu_ld" != yes && break
12574	;;
12575      esac
12576    fi
12577  done
12578  IFS="$lt_save_ifs"
12579else
12580  lt_cv_path_LD="$LD" # Let the user override the test with a path.
12581fi
12582fi
12583
12584LD="$lt_cv_path_LD"
12585if test -n "$LD"; then
12586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12587$as_echo "$LD" >&6; }
12588else
12589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12590$as_echo "no" >&6; }
12591fi
12592test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12594$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12595if ${lt_cv_prog_gnu_ld+:} false; then :
12596  $as_echo_n "(cached) " >&6
12597else
12598  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12599case `$LD -v 2>&1 </dev/null` in
12600*GNU* | *'with BFD'*)
12601  lt_cv_prog_gnu_ld=yes
12602  ;;
12603*)
12604  lt_cv_prog_gnu_ld=no
12605  ;;
12606esac
12607fi
12608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12609$as_echo "$lt_cv_prog_gnu_ld" >&6; }
12610with_gnu_ld=$lt_cv_prog_gnu_ld
12611
12612
12613
12614
12615
12616
12617
12618      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12619      # archiving commands below assume that GNU ld is being used.
12620      if test "$with_gnu_ld" = yes; then
12621        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12622        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12623
12624        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12625        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12626
12627        # If archive_cmds runs LD, not CC, wlarc should be empty
12628        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12629        #     investigate it a little bit more. (MM)
12630        wlarc='${wl}'
12631
12632        # ancient GNU ld didn't support --whole-archive et. al.
12633        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12634	  $GREP 'no-whole-archive' > /dev/null; then
12635          whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12636        else
12637          whole_archive_flag_spec_CXX=
12638        fi
12639      else
12640        with_gnu_ld=no
12641        wlarc=
12642
12643        # A generic and very simple default shared library creation
12644        # command for GNU C++ for the case where it uses the native
12645        # linker, instead of GNU ld.  If possible, this setting should
12646        # overridden to take advantage of the native linker features on
12647        # the platform it is being used on.
12648        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12649      fi
12650
12651      # Commands to make compiler produce verbose output that lists
12652      # what "hidden" libraries, object files and flags are used when
12653      # linking a shared library.
12654      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12655
12656    else
12657      GXX=no
12658      with_gnu_ld=no
12659      wlarc=
12660    fi
12661
12662    # PORTME: fill in a description of your system's C++ link characteristics
12663    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12664$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12665    ld_shlibs_CXX=yes
12666    case $host_os in
12667      aix3*)
12668        # FIXME: insert proper C++ library support
12669        ld_shlibs_CXX=no
12670        ;;
12671      aix[4-9]*)
12672        if test "$host_cpu" = ia64; then
12673          # On IA64, the linker does run time linking by default, so we don't
12674          # have to do anything special.
12675          aix_use_runtimelinking=no
12676          exp_sym_flag='-Bexport'
12677          no_entry_flag=""
12678        else
12679          aix_use_runtimelinking=no
12680
12681          # Test if we are trying to use run time linking or normal
12682          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12683          # need to do runtime linking.
12684          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12685	    for ld_flag in $LDFLAGS; do
12686	      case $ld_flag in
12687	      *-brtl*)
12688	        aix_use_runtimelinking=yes
12689	        break
12690	        ;;
12691	      esac
12692	    done
12693	    ;;
12694          esac
12695
12696          exp_sym_flag='-bexport'
12697          no_entry_flag='-bnoentry'
12698        fi
12699
12700        # When large executables or shared objects are built, AIX ld can
12701        # have problems creating the table of contents.  If linking a library
12702        # or program results in "error TOC overflow" add -mminimal-toc to
12703        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
12704        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12705
12706        archive_cmds_CXX=''
12707        hardcode_direct_CXX=yes
12708        hardcode_direct_absolute_CXX=yes
12709        hardcode_libdir_separator_CXX=':'
12710        link_all_deplibs_CXX=yes
12711        file_list_spec_CXX='${wl}-f,'
12712
12713        if test "$GXX" = yes; then
12714          case $host_os in aix4.[012]|aix4.[012].*)
12715          # We only want to do this on AIX 4.2 and lower, the check
12716          # below for broken collect2 doesn't work under 4.3+
12717	  collect2name=`${CC} -print-prog-name=collect2`
12718	  if test -f "$collect2name" &&
12719	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12720	  then
12721	    # We have reworked collect2
12722	    :
12723	  else
12724	    # We have old collect2
12725	    hardcode_direct_CXX=unsupported
12726	    # It fails to find uninstalled libraries when the uninstalled
12727	    # path is not listed in the libpath.  Setting hardcode_minus_L
12728	    # to unsupported forces relinking
12729	    hardcode_minus_L_CXX=yes
12730	    hardcode_libdir_flag_spec_CXX='-L$libdir'
12731	    hardcode_libdir_separator_CXX=
12732	  fi
12733          esac
12734          shared_flag='-shared'
12735	  if test "$aix_use_runtimelinking" = yes; then
12736	    shared_flag="$shared_flag "'${wl}-G'
12737	  fi
12738        else
12739          # not using gcc
12740          if test "$host_cpu" = ia64; then
12741	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12742	  # chokes on -Wl,-G. The following line is correct:
12743	  shared_flag='-G'
12744          else
12745	    if test "$aix_use_runtimelinking" = yes; then
12746	      shared_flag='${wl}-G'
12747	    else
12748	      shared_flag='${wl}-bM:SRE'
12749	    fi
12750          fi
12751        fi
12752
12753        export_dynamic_flag_spec_CXX='${wl}-bexpall'
12754        # It seems that -bexpall does not export symbols beginning with
12755        # underscore (_), so it is better to generate a list of symbols to
12756	# export.
12757        always_export_symbols_CXX=yes
12758        if test "$aix_use_runtimelinking" = yes; then
12759          # Warning - without using the other runtime loading flags (-brtl),
12760          # -berok will link without error, but may produce a broken library.
12761          allow_undefined_flag_CXX='-berok'
12762          # Determine the default libpath from the value encoded in an empty
12763          # executable.
12764          if test "${lt_cv_aix_libpath+set}" = set; then
12765  aix_libpath=$lt_cv_aix_libpath
12766else
12767  if ${lt_cv_aix_libpath__CXX+:} false; then :
12768  $as_echo_n "(cached) " >&6
12769else
12770  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12771/* end confdefs.h.  */
12772
12773int
12774main ()
12775{
12776
12777  ;
12778  return 0;
12779}
12780_ACEOF
12781if ac_fn_cxx_try_link "$LINENO"; then :
12782
12783  lt_aix_libpath_sed='
12784      /Import File Strings/,/^$/ {
12785	  /^0/ {
12786	      s/^0  *\([^ ]*\) *$/\1/
12787	      p
12788	  }
12789      }'
12790  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12791  # Check for a 64-bit object if we didn't find anything.
12792  if test -z "$lt_cv_aix_libpath__CXX"; then
12793    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12794  fi
12795fi
12796rm -f core conftest.err conftest.$ac_objext \
12797    conftest$ac_exeext conftest.$ac_ext
12798  if test -z "$lt_cv_aix_libpath__CXX"; then
12799    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12800  fi
12801
12802fi
12803
12804  aix_libpath=$lt_cv_aix_libpath__CXX
12805fi
12806
12807          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12808
12809          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12810        else
12811          if test "$host_cpu" = ia64; then
12812	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12813	    allow_undefined_flag_CXX="-z nodefs"
12814	    archive_expsym_cmds_CXX="\$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"
12815          else
12816	    # Determine the default libpath from the value encoded in an
12817	    # empty executable.
12818	    if test "${lt_cv_aix_libpath+set}" = set; then
12819  aix_libpath=$lt_cv_aix_libpath
12820else
12821  if ${lt_cv_aix_libpath__CXX+:} false; then :
12822  $as_echo_n "(cached) " >&6
12823else
12824  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12825/* end confdefs.h.  */
12826
12827int
12828main ()
12829{
12830
12831  ;
12832  return 0;
12833}
12834_ACEOF
12835if ac_fn_cxx_try_link "$LINENO"; then :
12836
12837  lt_aix_libpath_sed='
12838      /Import File Strings/,/^$/ {
12839	  /^0/ {
12840	      s/^0  *\([^ ]*\) *$/\1/
12841	      p
12842	  }
12843      }'
12844  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12845  # Check for a 64-bit object if we didn't find anything.
12846  if test -z "$lt_cv_aix_libpath__CXX"; then
12847    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12848  fi
12849fi
12850rm -f core conftest.err conftest.$ac_objext \
12851    conftest$ac_exeext conftest.$ac_ext
12852  if test -z "$lt_cv_aix_libpath__CXX"; then
12853    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
12854  fi
12855
12856fi
12857
12858  aix_libpath=$lt_cv_aix_libpath__CXX
12859fi
12860
12861	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12862	    # Warning - without using the other run time loading flags,
12863	    # -berok will link without error, but may produce a broken library.
12864	    no_undefined_flag_CXX=' ${wl}-bernotok'
12865	    allow_undefined_flag_CXX=' ${wl}-berok'
12866	    if test "$with_gnu_ld" = yes; then
12867	      # We only use this code for GNU lds that support --whole-archive.
12868	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869	    else
12870	      # Exported symbols can be pulled into shared objects from archives
12871	      whole_archive_flag_spec_CXX='$convenience'
12872	    fi
12873	    archive_cmds_need_lc_CXX=yes
12874	    # This is similar to how AIX traditionally builds its shared
12875	    # libraries.
12876	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12877          fi
12878        fi
12879        ;;
12880
12881      beos*)
12882	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12883	  allow_undefined_flag_CXX=unsupported
12884	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12885	  # support --undefined.  This deserves some investigation.  FIXME
12886	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12887	else
12888	  ld_shlibs_CXX=no
12889	fi
12890	;;
12891
12892      chorus*)
12893        case $cc_basename in
12894          *)
12895	  # FIXME: insert proper C++ library support
12896	  ld_shlibs_CXX=no
12897	  ;;
12898        esac
12899        ;;
12900
12901      cygwin* | mingw* | pw32* | cegcc*)
12902	case $GXX,$cc_basename in
12903	,cl* | no,cl*)
12904	  # Native MSVC
12905	  # hardcode_libdir_flag_spec is actually meaningless, as there is
12906	  # no search path for DLLs.
12907	  hardcode_libdir_flag_spec_CXX=' '
12908	  allow_undefined_flag_CXX=unsupported
12909	  always_export_symbols_CXX=yes
12910	  file_list_spec_CXX='@'
12911	  # Tell ltmain to make .lib files, not .a files.
12912	  libext=lib
12913	  # Tell ltmain to make .dll files, not .so files.
12914	  shrext_cmds=".dll"
12915	  # FIXME: Setting linknames here is a bad hack.
12916	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12917	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12918	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12919	    else
12920	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12921	    fi~
12922	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12923	    linknames='
12924	  # The linker will not automatically build a static lib if we build a DLL.
12925	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
12926	  enable_shared_with_static_runtimes_CXX=yes
12927	  # Don't use ranlib
12928	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
12929	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
12930	    lt_tool_outputfile="@TOOL_OUTPUT@"~
12931	    case $lt_outputfile in
12932	      *.exe|*.EXE) ;;
12933	      *)
12934		lt_outputfile="$lt_outputfile.exe"
12935		lt_tool_outputfile="$lt_tool_outputfile.exe"
12936		;;
12937	    esac~
12938	    func_to_tool_file "$lt_outputfile"~
12939	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12940	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12941	      $RM "$lt_outputfile.manifest";
12942	    fi'
12943	  ;;
12944	*)
12945	  # g++
12946	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12947	  # as there is no search path for DLLs.
12948	  hardcode_libdir_flag_spec_CXX='-L$libdir'
12949	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12950	  allow_undefined_flag_CXX=unsupported
12951	  always_export_symbols_CXX=no
12952	  enable_shared_with_static_runtimes_CXX=yes
12953
12954	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12955	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12956	    # If the export-symbols file already is a .def file (1st line
12957	    # is EXPORTS), use it as is; otherwise, prepend...
12958	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12959	      cp $export_symbols $output_objdir/$soname.def;
12960	    else
12961	      echo EXPORTS > $output_objdir/$soname.def;
12962	      cat $export_symbols >> $output_objdir/$soname.def;
12963	    fi~
12964	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12965	  else
12966	    ld_shlibs_CXX=no
12967	  fi
12968	  ;;
12969	esac
12970	;;
12971      darwin* | rhapsody*)
12972
12973
12974  archive_cmds_need_lc_CXX=no
12975  hardcode_direct_CXX=no
12976  hardcode_automatic_CXX=yes
12977  hardcode_shlibpath_var_CXX=unsupported
12978  if test "$lt_cv_ld_force_load" = "yes"; then
12979    whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12980
12981  else
12982    whole_archive_flag_spec_CXX=''
12983  fi
12984  link_all_deplibs_CXX=yes
12985  allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12986  case $cc_basename in
12987     ifort*) _lt_dar_can_shared=yes ;;
12988     *) _lt_dar_can_shared=$GCC ;;
12989  esac
12990  if test "$_lt_dar_can_shared" = "yes"; then
12991    output_verbose_link_cmd=func_echo_all
12992    archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12993    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12994    archive_expsym_cmds_CXX="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}"
12995    module_expsym_cmds_CXX="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}"
12996       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12997      archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12998      archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12999    fi
13000
13001  else
13002  ld_shlibs_CXX=no
13003  fi
13004
13005	;;
13006
13007      dgux*)
13008        case $cc_basename in
13009          ec++*)
13010	    # FIXME: insert proper C++ library support
13011	    ld_shlibs_CXX=no
13012	    ;;
13013          ghcx*)
13014	    # Green Hills C++ Compiler
13015	    # FIXME: insert proper C++ library support
13016	    ld_shlibs_CXX=no
13017	    ;;
13018          *)
13019	    # FIXME: insert proper C++ library support
13020	    ld_shlibs_CXX=no
13021	    ;;
13022        esac
13023        ;;
13024
13025      freebsd2.*)
13026        # C++ shared libraries reported to be fairly broken before
13027	# switch to ELF
13028        ld_shlibs_CXX=no
13029        ;;
13030
13031      freebsd-elf*)
13032        archive_cmds_need_lc_CXX=no
13033        ;;
13034
13035      freebsd* | dragonfly*)
13036        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13037        # conventions
13038        ld_shlibs_CXX=yes
13039        ;;
13040
13041      haiku*)
13042        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13043        link_all_deplibs_CXX=yes
13044        ;;
13045
13046      hpux9*)
13047        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13048        hardcode_libdir_separator_CXX=:
13049        export_dynamic_flag_spec_CXX='${wl}-E'
13050        hardcode_direct_CXX=yes
13051        hardcode_minus_L_CXX=yes # Not in the search PATH,
13052				             # but as the default
13053				             # location of the library.
13054
13055        case $cc_basename in
13056          CC*)
13057            # FIXME: insert proper C++ library support
13058            ld_shlibs_CXX=no
13059            ;;
13060          aCC*)
13061            archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13062            # Commands to make compiler produce verbose output that lists
13063            # what "hidden" libraries, object files and flags are used when
13064            # linking a shared library.
13065            #
13066            # There doesn't appear to be a way to prevent this compiler from
13067            # explicitly linking system object files so we need to strip them
13068            # from the output so that they don't get included in the library
13069            # dependencies.
13070            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13071            ;;
13072          *)
13073            if test "$GXX" = yes; then
13074              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13075            else
13076              # FIXME: insert proper C++ library support
13077              ld_shlibs_CXX=no
13078            fi
13079            ;;
13080        esac
13081        ;;
13082
13083      hpux10*|hpux11*)
13084        if test $with_gnu_ld = no; then
13085	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13086	  hardcode_libdir_separator_CXX=:
13087
13088          case $host_cpu in
13089            hppa*64*|ia64*)
13090              ;;
13091            *)
13092	      export_dynamic_flag_spec_CXX='${wl}-E'
13093              ;;
13094          esac
13095        fi
13096        case $host_cpu in
13097          hppa*64*|ia64*)
13098            hardcode_direct_CXX=no
13099            hardcode_shlibpath_var_CXX=no
13100            ;;
13101          *)
13102            hardcode_direct_CXX=yes
13103            hardcode_direct_absolute_CXX=yes
13104            hardcode_minus_L_CXX=yes # Not in the search PATH,
13105					         # but as the default
13106					         # location of the library.
13107            ;;
13108        esac
13109
13110        case $cc_basename in
13111          CC*)
13112	    # FIXME: insert proper C++ library support
13113	    ld_shlibs_CXX=no
13114	    ;;
13115          aCC*)
13116	    case $host_cpu in
13117	      hppa*64*)
13118	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13119	        ;;
13120	      ia64*)
13121	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13122	        ;;
13123	      *)
13124	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13125	        ;;
13126	    esac
13127	    # Commands to make compiler produce verbose output that lists
13128	    # what "hidden" libraries, object files and flags are used when
13129	    # linking a shared library.
13130	    #
13131	    # There doesn't appear to be a way to prevent this compiler from
13132	    # explicitly linking system object files so we need to strip them
13133	    # from the output so that they don't get included in the library
13134	    # dependencies.
13135	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13136	    ;;
13137          *)
13138	    if test "$GXX" = yes; then
13139	      if test $with_gnu_ld = no; then
13140	        case $host_cpu in
13141	          hppa*64*)
13142	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13143	            ;;
13144	          ia64*)
13145	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13146	            ;;
13147	          *)
13148	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13149	            ;;
13150	        esac
13151	      fi
13152	    else
13153	      # FIXME: insert proper C++ library support
13154	      ld_shlibs_CXX=no
13155	    fi
13156	    ;;
13157        esac
13158        ;;
13159
13160      interix[3-9]*)
13161	hardcode_direct_CXX=no
13162	hardcode_shlibpath_var_CXX=no
13163	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13164	export_dynamic_flag_spec_CXX='${wl}-E'
13165	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13166	# Instead, shared libraries are loaded at an image base (0x10000000 by
13167	# default) and relocated if they conflict, which is a slow very memory
13168	# consuming and fragmenting process.  To avoid this, we pick a random,
13169	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13170	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
13171	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13172	archive_expsym_cmds_CXX='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'
13173	;;
13174      irix5* | irix6*)
13175        case $cc_basename in
13176          CC*)
13177	    # SGI C++
13178	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13179
13180	    # Archives containing C++ object files must be created using
13181	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
13182	    # necessary to make sure instantiated templates are included
13183	    # in the archive.
13184	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13185	    ;;
13186          *)
13187	    if test "$GXX" = yes; then
13188	      if test "$with_gnu_ld" = no; then
13189	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
13190	      else
13191	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13192	      fi
13193	    fi
13194	    link_all_deplibs_CXX=yes
13195	    ;;
13196        esac
13197        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13198        hardcode_libdir_separator_CXX=:
13199        inherit_rpath_CXX=yes
13200        ;;
13201
13202      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13203        case $cc_basename in
13204          KCC*)
13205	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13206
13207	    # KCC will only create a shared library if the output file
13208	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13209	    # to its proper name (with version) after linking.
13210	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13211	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13212	    # Commands to make compiler produce verbose output that lists
13213	    # what "hidden" libraries, object files and flags are used when
13214	    # linking a shared library.
13215	    #
13216	    # There doesn't appear to be a way to prevent this compiler from
13217	    # explicitly linking system object files so we need to strip them
13218	    # from the output so that they don't get included in the library
13219	    # dependencies.
13220	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13221
13222	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13223	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13224
13225	    # Archives containing C++ object files must be created using
13226	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13227	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13228	    ;;
13229	  icpc* | ecpc* )
13230	    # Intel C++
13231	    with_gnu_ld=yes
13232	    # version 8.0 and above of icpc choke on multiply defined symbols
13233	    # if we add $predep_objects and $postdep_objects, however 7.1 and
13234	    # earlier do not add the objects themselves.
13235	    case `$CC -V 2>&1` in
13236	      *"Version 7."*)
13237	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13238		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13239		;;
13240	      *)  # Version 8.0 or newer
13241	        tmp_idyn=
13242	        case $host_cpu in
13243		  ia64*) tmp_idyn=' -i_dynamic';;
13244		esac
13245	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13246		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13247		;;
13248	    esac
13249	    archive_cmds_need_lc_CXX=no
13250	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13251	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13252	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13253	    ;;
13254          pgCC* | pgcpp*)
13255            # Portland Group C++ compiler
13256	    case `$CC -V` in
13257	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13258	      prelink_cmds_CXX='tpldir=Template.dir~
13259		rm -rf $tpldir~
13260		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13261		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13262	      old_archive_cmds_CXX='tpldir=Template.dir~
13263		rm -rf $tpldir~
13264		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13265		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13266		$RANLIB $oldlib'
13267	      archive_cmds_CXX='tpldir=Template.dir~
13268		rm -rf $tpldir~
13269		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13270		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13271	      archive_expsym_cmds_CXX='tpldir=Template.dir~
13272		rm -rf $tpldir~
13273		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13274		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13275	      ;;
13276	    *) # Version 6 and above use weak symbols
13277	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13278	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13279	      ;;
13280	    esac
13281
13282	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13283	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13284	    whole_archive_flag_spec_CXX='${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'
13285            ;;
13286	  cxx*)
13287	    # Compaq C++
13288	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13289	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13290
13291	    runpath_var=LD_RUN_PATH
13292	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13293	    hardcode_libdir_separator_CXX=:
13294
13295	    # Commands to make compiler produce verbose output that lists
13296	    # what "hidden" libraries, object files and flags are used when
13297	    # linking a shared library.
13298	    #
13299	    # There doesn't appear to be a way to prevent this compiler from
13300	    # explicitly linking system object files so we need to strip them
13301	    # from the output so that they don't get included in the library
13302	    # dependencies.
13303	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13304	    ;;
13305	  xl* | mpixl* | bgxl*)
13306	    # IBM XL 8.0 on PPC, with GNU ld
13307	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13308	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13309	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13310	    if test "x$supports_anon_versioning" = xyes; then
13311	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13312		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13313		echo "local: *; };" >> $output_objdir/$libname.ver~
13314		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13315	    fi
13316	    ;;
13317	  *)
13318	    case `$CC -V 2>&1 | sed 5q` in
13319	    *Sun\ C*)
13320	      # Sun C++ 5.9
13321	      no_undefined_flag_CXX=' -zdefs'
13322	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13323	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13324	      hardcode_libdir_flag_spec_CXX='-R$libdir'
13325	      whole_archive_flag_spec_CXX='${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'
13326	      compiler_needs_object_CXX=yes
13327
13328	      # Not sure whether something based on
13329	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13330	      # would be better.
13331	      output_verbose_link_cmd='func_echo_all'
13332
13333	      # Archives containing C++ object files must be created using
13334	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13335	      # necessary to make sure instantiated templates are included
13336	      # in the archive.
13337	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13338	      ;;
13339	    esac
13340	    ;;
13341	esac
13342	;;
13343
13344      lynxos*)
13345        # FIXME: insert proper C++ library support
13346	ld_shlibs_CXX=no
13347	;;
13348
13349      m88k*)
13350        # FIXME: insert proper C++ library support
13351        ld_shlibs_CXX=no
13352	;;
13353
13354      mvs*)
13355        case $cc_basename in
13356          cxx*)
13357	    # FIXME: insert proper C++ library support
13358	    ld_shlibs_CXX=no
13359	    ;;
13360	  *)
13361	    # FIXME: insert proper C++ library support
13362	    ld_shlibs_CXX=no
13363	    ;;
13364	esac
13365	;;
13366
13367      netbsd*)
13368        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13369	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13370	  wlarc=
13371	  hardcode_libdir_flag_spec_CXX='-R$libdir'
13372	  hardcode_direct_CXX=yes
13373	  hardcode_shlibpath_var_CXX=no
13374	fi
13375	# Workaround some broken pre-1.5 toolchains
13376	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13377	;;
13378
13379      *nto* | *qnx*)
13380        ld_shlibs_CXX=yes
13381	;;
13382
13383      openbsd2*)
13384        # C++ shared libraries are fairly broken
13385	ld_shlibs_CXX=no
13386	;;
13387
13388      openbsd*)
13389	if test -f /usr/libexec/ld.so; then
13390	  hardcode_direct_CXX=yes
13391	  hardcode_shlibpath_var_CXX=no
13392	  hardcode_direct_absolute_CXX=yes
13393	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13394	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13395	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13396	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13397	    export_dynamic_flag_spec_CXX='${wl}-E'
13398	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13399	  fi
13400	  output_verbose_link_cmd=func_echo_all
13401	else
13402	  ld_shlibs_CXX=no
13403	fi
13404	;;
13405
13406      osf3* | osf4* | osf5*)
13407        case $cc_basename in
13408          KCC*)
13409	    # Kuck and Associates, Inc. (KAI) C++ Compiler
13410
13411	    # KCC will only create a shared library if the output file
13412	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
13413	    # to its proper name (with version) after linking.
13414	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13415
13416	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13417	    hardcode_libdir_separator_CXX=:
13418
13419	    # Archives containing C++ object files must be created using
13420	    # the KAI C++ compiler.
13421	    case $host in
13422	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13423	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13424	    esac
13425	    ;;
13426          RCC*)
13427	    # Rational C++ 2.4.1
13428	    # FIXME: insert proper C++ library support
13429	    ld_shlibs_CXX=no
13430	    ;;
13431          cxx*)
13432	    case $host in
13433	      osf3*)
13434	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13435	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13436	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13437		;;
13438	      *)
13439	        allow_undefined_flag_CXX=' -expect_unresolved \*'
13440	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13441	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13442	          echo "-hidden">> $lib.exp~
13443	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13444	          $RM $lib.exp'
13445	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13446		;;
13447	    esac
13448
13449	    hardcode_libdir_separator_CXX=:
13450
13451	    # Commands to make compiler produce verbose output that lists
13452	    # what "hidden" libraries, object files and flags are used when
13453	    # linking a shared library.
13454	    #
13455	    # There doesn't appear to be a way to prevent this compiler from
13456	    # explicitly linking system object files so we need to strip them
13457	    # from the output so that they don't get included in the library
13458	    # dependencies.
13459	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13460	    ;;
13461	  *)
13462	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13463	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13464	      case $host in
13465	        osf3*)
13466	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13467		  ;;
13468	        *)
13469	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
13470		  ;;
13471	      esac
13472
13473	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13474	      hardcode_libdir_separator_CXX=:
13475
13476	      # Commands to make compiler produce verbose output that lists
13477	      # what "hidden" libraries, object files and flags are used when
13478	      # linking a shared library.
13479	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13480
13481	    else
13482	      # FIXME: insert proper C++ library support
13483	      ld_shlibs_CXX=no
13484	    fi
13485	    ;;
13486        esac
13487        ;;
13488
13489      psos*)
13490        # FIXME: insert proper C++ library support
13491        ld_shlibs_CXX=no
13492        ;;
13493
13494      sunos4*)
13495        case $cc_basename in
13496          CC*)
13497	    # Sun C++ 4.x
13498	    # FIXME: insert proper C++ library support
13499	    ld_shlibs_CXX=no
13500	    ;;
13501          lcc*)
13502	    # Lucid
13503	    # FIXME: insert proper C++ library support
13504	    ld_shlibs_CXX=no
13505	    ;;
13506          *)
13507	    # FIXME: insert proper C++ library support
13508	    ld_shlibs_CXX=no
13509	    ;;
13510        esac
13511        ;;
13512
13513      solaris*)
13514        case $cc_basename in
13515          CC* | sunCC*)
13516	    # Sun C++ 4.2, 5.x and Centerline C++
13517            archive_cmds_need_lc_CXX=yes
13518	    no_undefined_flag_CXX=' -zdefs'
13519	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13520	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13521	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13522
13523	    hardcode_libdir_flag_spec_CXX='-R$libdir'
13524	    hardcode_shlibpath_var_CXX=no
13525	    case $host_os in
13526	      solaris2.[0-5] | solaris2.[0-5].*) ;;
13527	      *)
13528		# The compiler driver will combine and reorder linker options,
13529		# but understands `-z linker_flag'.
13530	        # Supported since Solaris 2.6 (maybe 2.5.1?)
13531		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13532	        ;;
13533	    esac
13534	    link_all_deplibs_CXX=yes
13535
13536	    output_verbose_link_cmd='func_echo_all'
13537
13538	    # Archives containing C++ object files must be created using
13539	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
13540	    # necessary to make sure instantiated templates are included
13541	    # in the archive.
13542	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13543	    ;;
13544          gcx*)
13545	    # Green Hills C++ Compiler
13546	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13547
13548	    # The C++ compiler must be used to create the archive.
13549	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13550	    ;;
13551          *)
13552	    # GNU C++ compiler with Solaris linker
13553	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13554	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13555	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13556	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13557	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13558		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13559
13560	        # Commands to make compiler produce verbose output that lists
13561	        # what "hidden" libraries, object files and flags are used when
13562	        # linking a shared library.
13563	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13564	      else
13565	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
13566	        # platform.
13567	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13568	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13569		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13570
13571	        # Commands to make compiler produce verbose output that lists
13572	        # what "hidden" libraries, object files and flags are used when
13573	        # linking a shared library.
13574	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13575	      fi
13576
13577	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13578	      case $host_os in
13579		solaris2.[0-5] | solaris2.[0-5].*) ;;
13580		*)
13581		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13582		  ;;
13583	      esac
13584	    fi
13585	    ;;
13586        esac
13587        ;;
13588
13589    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13590      no_undefined_flag_CXX='${wl}-z,text'
13591      archive_cmds_need_lc_CXX=no
13592      hardcode_shlibpath_var_CXX=no
13593      runpath_var='LD_RUN_PATH'
13594
13595      case $cc_basename in
13596        CC*)
13597	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13598	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13599	  ;;
13600	*)
13601	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13602	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13603	  ;;
13604      esac
13605      ;;
13606
13607      sysv5* | sco3.2v5* | sco5v6*)
13608	# Note: We can NOT use -z defs as we might desire, because we do not
13609	# link with -lc, and that would cause any symbols used from libc to
13610	# always be unresolved, which means just about no library would
13611	# ever link correctly.  If we're not using GNU ld we use -z text
13612	# though, which does catch some bad symbols but isn't as heavy-handed
13613	# as -z defs.
13614	no_undefined_flag_CXX='${wl}-z,text'
13615	allow_undefined_flag_CXX='${wl}-z,nodefs'
13616	archive_cmds_need_lc_CXX=no
13617	hardcode_shlibpath_var_CXX=no
13618	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13619	hardcode_libdir_separator_CXX=':'
13620	link_all_deplibs_CXX=yes
13621	export_dynamic_flag_spec_CXX='${wl}-Bexport'
13622	runpath_var='LD_RUN_PATH'
13623
13624	case $cc_basename in
13625          CC*)
13626	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13627	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13628	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13629	      '"$old_archive_cmds_CXX"
13630	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13631	      '"$reload_cmds_CXX"
13632	    ;;
13633	  *)
13634	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13635	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13636	    ;;
13637	esac
13638      ;;
13639
13640      tandem*)
13641        case $cc_basename in
13642          NCC*)
13643	    # NonStop-UX NCC 3.20
13644	    # FIXME: insert proper C++ library support
13645	    ld_shlibs_CXX=no
13646	    ;;
13647          *)
13648	    # FIXME: insert proper C++ library support
13649	    ld_shlibs_CXX=no
13650	    ;;
13651        esac
13652        ;;
13653
13654      vxworks*)
13655        # FIXME: insert proper C++ library support
13656        ld_shlibs_CXX=no
13657        ;;
13658
13659      *)
13660        # FIXME: insert proper C++ library support
13661        ld_shlibs_CXX=no
13662        ;;
13663    esac
13664
13665    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13666$as_echo "$ld_shlibs_CXX" >&6; }
13667    test "$ld_shlibs_CXX" = no && can_build_shared=no
13668
13669    GCC_CXX="$GXX"
13670    LD_CXX="$LD"
13671
13672    ## CAVEAT EMPTOR:
13673    ## There is no encapsulation within the following macros, do not change
13674    ## the running order or otherwise move them around unless you know exactly
13675    ## what you are doing...
13676    # Dependencies to place before and after the object being linked:
13677predep_objects_CXX=
13678postdep_objects_CXX=
13679predeps_CXX=
13680postdeps_CXX=
13681compiler_lib_search_path_CXX=
13682
13683cat > conftest.$ac_ext <<_LT_EOF
13684class Foo
13685{
13686public:
13687  Foo (void) { a = 0; }
13688private:
13689  int a;
13690};
13691_LT_EOF
13692
13693
13694_lt_libdeps_save_CFLAGS=$CFLAGS
13695case "$CC $CFLAGS " in #(
13696*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
13697*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
13698*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
13699esac
13700
13701if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13702  (eval $ac_compile) 2>&5
13703  ac_status=$?
13704  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13705  test $ac_status = 0; }; then
13706  # Parse the compiler output and extract the necessary
13707  # objects, libraries and library flags.
13708
13709  # Sentinel used to keep track of whether or not we are before
13710  # the conftest object file.
13711  pre_test_object_deps_done=no
13712
13713  for p in `eval "$output_verbose_link_cmd"`; do
13714    case ${prev}${p} in
13715
13716    -L* | -R* | -l*)
13717       # Some compilers place space between "-{L,R}" and the path.
13718       # Remove the space.
13719       if test $p = "-L" ||
13720          test $p = "-R"; then
13721	 prev=$p
13722	 continue
13723       fi
13724
13725       # Expand the sysroot to ease extracting the directories later.
13726       if test -z "$prev"; then
13727         case $p in
13728         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
13729         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
13730         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
13731         esac
13732       fi
13733       case $p in
13734       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
13735       esac
13736       if test "$pre_test_object_deps_done" = no; then
13737	 case ${prev} in
13738	 -L | -R)
13739	   # Internal compiler library paths should come after those
13740	   # provided the user.  The postdeps already come after the
13741	   # user supplied libs so there is no need to process them.
13742	   if test -z "$compiler_lib_search_path_CXX"; then
13743	     compiler_lib_search_path_CXX="${prev}${p}"
13744	   else
13745	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13746	   fi
13747	   ;;
13748	 # The "-l" case would never come before the object being
13749	 # linked, so don't bother handling this case.
13750	 esac
13751       else
13752	 if test -z "$postdeps_CXX"; then
13753	   postdeps_CXX="${prev}${p}"
13754	 else
13755	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13756	 fi
13757       fi
13758       prev=
13759       ;;
13760
13761    *.lto.$objext) ;; # Ignore GCC LTO objects
13762    *.$objext)
13763       # This assumes that the test object file only shows up
13764       # once in the compiler output.
13765       if test "$p" = "conftest.$objext"; then
13766	 pre_test_object_deps_done=yes
13767	 continue
13768       fi
13769
13770       if test "$pre_test_object_deps_done" = no; then
13771	 if test -z "$predep_objects_CXX"; then
13772	   predep_objects_CXX="$p"
13773	 else
13774	   predep_objects_CXX="$predep_objects_CXX $p"
13775	 fi
13776       else
13777	 if test -z "$postdep_objects_CXX"; then
13778	   postdep_objects_CXX="$p"
13779	 else
13780	   postdep_objects_CXX="$postdep_objects_CXX $p"
13781	 fi
13782       fi
13783       ;;
13784
13785    *) ;; # Ignore the rest.
13786
13787    esac
13788  done
13789
13790  # Clean up.
13791  rm -f a.out a.exe
13792else
13793  echo "libtool.m4: error: problem compiling CXX test program"
13794fi
13795
13796$RM -f confest.$objext
13797CFLAGS=$_lt_libdeps_save_CFLAGS
13798
13799# PORTME: override above test on systems where it is broken
13800case $host_os in
13801interix[3-9]*)
13802  # Interix 3.5 installs completely hosed .la files for C++, so rather than
13803  # hack all around it, let's just trust "g++" to DTRT.
13804  predep_objects_CXX=
13805  postdep_objects_CXX=
13806  postdeps_CXX=
13807  ;;
13808
13809linux*)
13810  case `$CC -V 2>&1 | sed 5q` in
13811  *Sun\ C*)
13812    # Sun C++ 5.9
13813
13814    # The more standards-conforming stlport4 library is
13815    # incompatible with the Cstd library. Avoid specifying
13816    # it if it's in CXXFLAGS. Ignore libCrun as
13817    # -library=stlport4 depends on it.
13818    case " $CXX $CXXFLAGS " in
13819    *" -library=stlport4 "*)
13820      solaris_use_stlport4=yes
13821      ;;
13822    esac
13823
13824    if test "$solaris_use_stlport4" != yes; then
13825      postdeps_CXX='-library=Cstd -library=Crun'
13826    fi
13827    ;;
13828  esac
13829  ;;
13830
13831solaris*)
13832  case $cc_basename in
13833  CC* | sunCC*)
13834    # The more standards-conforming stlport4 library is
13835    # incompatible with the Cstd library. Avoid specifying
13836    # it if it's in CXXFLAGS. Ignore libCrun as
13837    # -library=stlport4 depends on it.
13838    case " $CXX $CXXFLAGS " in
13839    *" -library=stlport4 "*)
13840      solaris_use_stlport4=yes
13841      ;;
13842    esac
13843
13844    # Adding this requires a known-good setup of shared libraries for
13845    # Sun compiler versions before 5.6, else PIC objects from an old
13846    # archive will be linked into the output, leading to subtle bugs.
13847    if test "$solaris_use_stlport4" != yes; then
13848      postdeps_CXX='-library=Cstd -library=Crun'
13849    fi
13850    ;;
13851  esac
13852  ;;
13853esac
13854
13855
13856case " $postdeps_CXX " in
13857*" -lc "*) archive_cmds_need_lc_CXX=no ;;
13858esac
13859 compiler_lib_search_dirs_CXX=
13860if test -n "${compiler_lib_search_path_CXX}"; then
13861 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13862fi
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894    lt_prog_compiler_wl_CXX=
13895lt_prog_compiler_pic_CXX=
13896lt_prog_compiler_static_CXX=
13897
13898
13899  # C++ specific cases for pic, static, wl, etc.
13900  if test "$GXX" = yes; then
13901    lt_prog_compiler_wl_CXX='-Wl,'
13902    lt_prog_compiler_static_CXX='-static'
13903
13904    case $host_os in
13905    aix*)
13906      # All AIX code is PIC.
13907      if test "$host_cpu" = ia64; then
13908	# AIX 5 now supports IA64 processor
13909	lt_prog_compiler_static_CXX='-Bstatic'
13910      fi
13911      ;;
13912
13913    amigaos*)
13914      case $host_cpu in
13915      powerpc)
13916            # see comment about AmigaOS4 .so support
13917            lt_prog_compiler_pic_CXX='-fPIC'
13918        ;;
13919      m68k)
13920            # FIXME: we need at least 68020 code to build shared libraries, but
13921            # adding the `-m68020' flag to GCC prevents building anything better,
13922            # like `-m68040'.
13923            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13924        ;;
13925      esac
13926      ;;
13927
13928    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13929      # PIC is the default for these OSes.
13930      ;;
13931    mingw* | cygwin* | os2* | pw32* | cegcc*)
13932      # This hack is so that the source file can tell whether it is being
13933      # built for inclusion in a dll (and should export symbols for example).
13934      # Although the cygwin gcc ignores -fPIC, still need this for old-style
13935      # (--disable-auto-import) libraries
13936      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13937      ;;
13938    darwin* | rhapsody*)
13939      # PIC is the default on this platform
13940      # Common symbols not allowed in MH_DYLIB files
13941      lt_prog_compiler_pic_CXX='-fno-common'
13942      ;;
13943    *djgpp*)
13944      # DJGPP does not support shared libraries at all
13945      lt_prog_compiler_pic_CXX=
13946      ;;
13947    haiku*)
13948      # PIC is the default for Haiku.
13949      # The "-static" flag exists, but is broken.
13950      lt_prog_compiler_static_CXX=
13951      ;;
13952    interix[3-9]*)
13953      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13954      # Instead, we relocate shared libraries at runtime.
13955      ;;
13956    sysv4*MP*)
13957      if test -d /usr/nec; then
13958	lt_prog_compiler_pic_CXX=-Kconform_pic
13959      fi
13960      ;;
13961    hpux*)
13962      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13963      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
13964      # sets the default TLS model and affects inlining.
13965      case $host_cpu in
13966      hppa*64*)
13967	;;
13968      *)
13969	lt_prog_compiler_pic_CXX='-fPIC'
13970	;;
13971      esac
13972      ;;
13973    *qnx* | *nto*)
13974      # QNX uses GNU C++, but need to define -shared option too, otherwise
13975      # it will coredump.
13976      lt_prog_compiler_pic_CXX='-fPIC -shared'
13977      ;;
13978    *)
13979      lt_prog_compiler_pic_CXX='-fPIC'
13980      ;;
13981    esac
13982  else
13983    case $host_os in
13984      aix[4-9]*)
13985	# All AIX code is PIC.
13986	if test "$host_cpu" = ia64; then
13987	  # AIX 5 now supports IA64 processor
13988	  lt_prog_compiler_static_CXX='-Bstatic'
13989	else
13990	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13991	fi
13992	;;
13993      chorus*)
13994	case $cc_basename in
13995	cxch68*)
13996	  # Green Hills C++ Compiler
13997	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13998	  ;;
13999	esac
14000	;;
14001      mingw* | cygwin* | os2* | pw32* | cegcc*)
14002	# This hack is so that the source file can tell whether it is being
14003	# built for inclusion in a dll (and should export symbols for example).
14004	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14005	;;
14006      dgux*)
14007	case $cc_basename in
14008	  ec++*)
14009	    lt_prog_compiler_pic_CXX='-KPIC'
14010	    ;;
14011	  ghcx*)
14012	    # Green Hills C++ Compiler
14013	    lt_prog_compiler_pic_CXX='-pic'
14014	    ;;
14015	  *)
14016	    ;;
14017	esac
14018	;;
14019      freebsd* | dragonfly*)
14020	# FreeBSD uses GNU C++
14021	;;
14022      hpux9* | hpux10* | hpux11*)
14023	case $cc_basename in
14024	  CC*)
14025	    lt_prog_compiler_wl_CXX='-Wl,'
14026	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14027	    if test "$host_cpu" != ia64; then
14028	      lt_prog_compiler_pic_CXX='+Z'
14029	    fi
14030	    ;;
14031	  aCC*)
14032	    lt_prog_compiler_wl_CXX='-Wl,'
14033	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14034	    case $host_cpu in
14035	    hppa*64*|ia64*)
14036	      # +Z the default
14037	      ;;
14038	    *)
14039	      lt_prog_compiler_pic_CXX='+Z'
14040	      ;;
14041	    esac
14042	    ;;
14043	  *)
14044	    ;;
14045	esac
14046	;;
14047      interix*)
14048	# This is c89, which is MS Visual C++ (no shared libs)
14049	# Anyone wants to do a port?
14050	;;
14051      irix5* | irix6* | nonstopux*)
14052	case $cc_basename in
14053	  CC*)
14054	    lt_prog_compiler_wl_CXX='-Wl,'
14055	    lt_prog_compiler_static_CXX='-non_shared'
14056	    # CC pic flag -KPIC is the default.
14057	    ;;
14058	  *)
14059	    ;;
14060	esac
14061	;;
14062      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14063	case $cc_basename in
14064	  KCC*)
14065	    # KAI C++ Compiler
14066	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14067	    lt_prog_compiler_pic_CXX='-fPIC'
14068	    ;;
14069	  ecpc* )
14070	    # old Intel C++ for x86_64 which still supported -KPIC.
14071	    lt_prog_compiler_wl_CXX='-Wl,'
14072	    lt_prog_compiler_pic_CXX='-KPIC'
14073	    lt_prog_compiler_static_CXX='-static'
14074	    ;;
14075	  icpc* )
14076	    # Intel C++, used to be incompatible with GCC.
14077	    # ICC 10 doesn't accept -KPIC any more.
14078	    lt_prog_compiler_wl_CXX='-Wl,'
14079	    lt_prog_compiler_pic_CXX='-fPIC'
14080	    lt_prog_compiler_static_CXX='-static'
14081	    ;;
14082	  pgCC* | pgcpp*)
14083	    # Portland Group C++ compiler
14084	    lt_prog_compiler_wl_CXX='-Wl,'
14085	    lt_prog_compiler_pic_CXX='-fpic'
14086	    lt_prog_compiler_static_CXX='-Bstatic'
14087	    ;;
14088	  cxx*)
14089	    # Compaq C++
14090	    # Make sure the PIC flag is empty.  It appears that all Alpha
14091	    # Linux and Compaq Tru64 Unix objects are PIC.
14092	    lt_prog_compiler_pic_CXX=
14093	    lt_prog_compiler_static_CXX='-non_shared'
14094	    ;;
14095	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14096	    # IBM XL 8.0, 9.0 on PPC and BlueGene
14097	    lt_prog_compiler_wl_CXX='-Wl,'
14098	    lt_prog_compiler_pic_CXX='-qpic'
14099	    lt_prog_compiler_static_CXX='-qstaticlink'
14100	    ;;
14101	  *)
14102	    case `$CC -V 2>&1 | sed 5q` in
14103	    *Sun\ C*)
14104	      # Sun C++ 5.9
14105	      lt_prog_compiler_pic_CXX='-KPIC'
14106	      lt_prog_compiler_static_CXX='-Bstatic'
14107	      lt_prog_compiler_wl_CXX='-Qoption ld '
14108	      ;;
14109	    esac
14110	    ;;
14111	esac
14112	;;
14113      lynxos*)
14114	;;
14115      m88k*)
14116	;;
14117      mvs*)
14118	case $cc_basename in
14119	  cxx*)
14120	    lt_prog_compiler_pic_CXX='-W c,exportall'
14121	    ;;
14122	  *)
14123	    ;;
14124	esac
14125	;;
14126      netbsd* | netbsdelf*-gnu)
14127	;;
14128      *qnx* | *nto*)
14129        # QNX uses GNU C++, but need to define -shared option too, otherwise
14130        # it will coredump.
14131        lt_prog_compiler_pic_CXX='-fPIC -shared'
14132        ;;
14133      osf3* | osf4* | osf5*)
14134	case $cc_basename in
14135	  KCC*)
14136	    lt_prog_compiler_wl_CXX='--backend -Wl,'
14137	    ;;
14138	  RCC*)
14139	    # Rational C++ 2.4.1
14140	    lt_prog_compiler_pic_CXX='-pic'
14141	    ;;
14142	  cxx*)
14143	    # Digital/Compaq C++
14144	    lt_prog_compiler_wl_CXX='-Wl,'
14145	    # Make sure the PIC flag is empty.  It appears that all Alpha
14146	    # Linux and Compaq Tru64 Unix objects are PIC.
14147	    lt_prog_compiler_pic_CXX=
14148	    lt_prog_compiler_static_CXX='-non_shared'
14149	    ;;
14150	  *)
14151	    ;;
14152	esac
14153	;;
14154      psos*)
14155	;;
14156      solaris*)
14157	case $cc_basename in
14158	  CC* | sunCC*)
14159	    # Sun C++ 4.2, 5.x and Centerline C++
14160	    lt_prog_compiler_pic_CXX='-KPIC'
14161	    lt_prog_compiler_static_CXX='-Bstatic'
14162	    lt_prog_compiler_wl_CXX='-Qoption ld '
14163	    ;;
14164	  gcx*)
14165	    # Green Hills C++ Compiler
14166	    lt_prog_compiler_pic_CXX='-PIC'
14167	    ;;
14168	  *)
14169	    ;;
14170	esac
14171	;;
14172      sunos4*)
14173	case $cc_basename in
14174	  CC*)
14175	    # Sun C++ 4.x
14176	    lt_prog_compiler_pic_CXX='-pic'
14177	    lt_prog_compiler_static_CXX='-Bstatic'
14178	    ;;
14179	  lcc*)
14180	    # Lucid
14181	    lt_prog_compiler_pic_CXX='-pic'
14182	    ;;
14183	  *)
14184	    ;;
14185	esac
14186	;;
14187      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14188	case $cc_basename in
14189	  CC*)
14190	    lt_prog_compiler_wl_CXX='-Wl,'
14191	    lt_prog_compiler_pic_CXX='-KPIC'
14192	    lt_prog_compiler_static_CXX='-Bstatic'
14193	    ;;
14194	esac
14195	;;
14196      tandem*)
14197	case $cc_basename in
14198	  NCC*)
14199	    # NonStop-UX NCC 3.20
14200	    lt_prog_compiler_pic_CXX='-KPIC'
14201	    ;;
14202	  *)
14203	    ;;
14204	esac
14205	;;
14206      vxworks*)
14207	;;
14208      *)
14209	lt_prog_compiler_can_build_shared_CXX=no
14210	;;
14211    esac
14212  fi
14213
14214case $host_os in
14215  # For platforms which do not support PIC, -DPIC is meaningless:
14216  *djgpp*)
14217    lt_prog_compiler_pic_CXX=
14218    ;;
14219  *)
14220    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14221    ;;
14222esac
14223
14224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14225$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14226if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
14227  $as_echo_n "(cached) " >&6
14228else
14229  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
14230fi
14231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
14232$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
14233lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
14234
14235#
14236# Check to make sure the PIC flag actually works.
14237#
14238if test -n "$lt_prog_compiler_pic_CXX"; then
14239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14240$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14241if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14242  $as_echo_n "(cached) " >&6
14243else
14244  lt_cv_prog_compiler_pic_works_CXX=no
14245   ac_outfile=conftest.$ac_objext
14246   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14247   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14248   # Insert the option either (1) after the last *FLAGS variable, or
14249   # (2) before a word containing "conftest.", or (3) at the end.
14250   # Note that $ac_compile itself does not contain backslashes and begins
14251   # with a dollar sign (not a hyphen), so the echo should work correctly.
14252   # The option is referenced via a variable to avoid confusing sed.
14253   lt_compile=`echo "$ac_compile" | $SED \
14254   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14255   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14256   -e 's:$: $lt_compiler_flag:'`
14257   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14258   (eval "$lt_compile" 2>conftest.err)
14259   ac_status=$?
14260   cat conftest.err >&5
14261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262   if (exit $ac_status) && test -s "$ac_outfile"; then
14263     # The compiler can only warn and ignore the option if not recognized
14264     # So say no if there are warnings other than the usual output.
14265     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14266     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14267     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14268       lt_cv_prog_compiler_pic_works_CXX=yes
14269     fi
14270   fi
14271   $RM conftest*
14272
14273fi
14274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14275$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14276
14277if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14278    case $lt_prog_compiler_pic_CXX in
14279     "" | " "*) ;;
14280     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14281     esac
14282else
14283    lt_prog_compiler_pic_CXX=
14284     lt_prog_compiler_can_build_shared_CXX=no
14285fi
14286
14287fi
14288
14289
14290
14291
14292
14293#
14294# Check to make sure the static flag actually works.
14295#
14296wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14298$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14299if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14300  $as_echo_n "(cached) " >&6
14301else
14302  lt_cv_prog_compiler_static_works_CXX=no
14303   save_LDFLAGS="$LDFLAGS"
14304   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14305   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14306   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14307     # The linker can only warn and ignore the option if not recognized
14308     # So say no if there are warnings
14309     if test -s conftest.err; then
14310       # Append any errors to the config.log.
14311       cat conftest.err 1>&5
14312       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14313       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14314       if diff conftest.exp conftest.er2 >/dev/null; then
14315         lt_cv_prog_compiler_static_works_CXX=yes
14316       fi
14317     else
14318       lt_cv_prog_compiler_static_works_CXX=yes
14319     fi
14320   fi
14321   $RM -r conftest*
14322   LDFLAGS="$save_LDFLAGS"
14323
14324fi
14325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14326$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14327
14328if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14329    :
14330else
14331    lt_prog_compiler_static_CXX=
14332fi
14333
14334
14335
14336
14337    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14338$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14339if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14340  $as_echo_n "(cached) " >&6
14341else
14342  lt_cv_prog_compiler_c_o_CXX=no
14343   $RM -r conftest 2>/dev/null
14344   mkdir conftest
14345   cd conftest
14346   mkdir out
14347   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14348
14349   lt_compiler_flag="-o out/conftest2.$ac_objext"
14350   # Insert the option either (1) after the last *FLAGS variable, or
14351   # (2) before a word containing "conftest.", or (3) at the end.
14352   # Note that $ac_compile itself does not contain backslashes and begins
14353   # with a dollar sign (not a hyphen), so the echo should work correctly.
14354   lt_compile=`echo "$ac_compile" | $SED \
14355   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14356   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14357   -e 's:$: $lt_compiler_flag:'`
14358   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14359   (eval "$lt_compile" 2>out/conftest.err)
14360   ac_status=$?
14361   cat out/conftest.err >&5
14362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14364   then
14365     # The compiler can only warn and ignore the option if not recognized
14366     # So say no if there are warnings
14367     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14368     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14369     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14370       lt_cv_prog_compiler_c_o_CXX=yes
14371     fi
14372   fi
14373   chmod u+w . 2>&5
14374   $RM conftest*
14375   # SGI C++ compiler will create directory out/ii_files/ for
14376   # template instantiation
14377   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14378   $RM out/* && rmdir out
14379   cd ..
14380   $RM -r conftest
14381   $RM conftest*
14382
14383fi
14384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14385$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14386
14387
14388
14389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14390$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14391if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14392  $as_echo_n "(cached) " >&6
14393else
14394  lt_cv_prog_compiler_c_o_CXX=no
14395   $RM -r conftest 2>/dev/null
14396   mkdir conftest
14397   cd conftest
14398   mkdir out
14399   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14400
14401   lt_compiler_flag="-o out/conftest2.$ac_objext"
14402   # Insert the option either (1) after the last *FLAGS variable, or
14403   # (2) before a word containing "conftest.", or (3) at the end.
14404   # Note that $ac_compile itself does not contain backslashes and begins
14405   # with a dollar sign (not a hyphen), so the echo should work correctly.
14406   lt_compile=`echo "$ac_compile" | $SED \
14407   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14408   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14409   -e 's:$: $lt_compiler_flag:'`
14410   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14411   (eval "$lt_compile" 2>out/conftest.err)
14412   ac_status=$?
14413   cat out/conftest.err >&5
14414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14415   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14416   then
14417     # The compiler can only warn and ignore the option if not recognized
14418     # So say no if there are warnings
14419     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14420     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14421     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14422       lt_cv_prog_compiler_c_o_CXX=yes
14423     fi
14424   fi
14425   chmod u+w . 2>&5
14426   $RM conftest*
14427   # SGI C++ compiler will create directory out/ii_files/ for
14428   # template instantiation
14429   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14430   $RM out/* && rmdir out
14431   cd ..
14432   $RM -r conftest
14433   $RM conftest*
14434
14435fi
14436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14437$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14438
14439
14440
14441
14442hard_links="nottested"
14443if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14444  # do not overwrite the value of need_locks provided by the user
14445  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14446$as_echo_n "checking if we can lock with hard links... " >&6; }
14447  hard_links=yes
14448  $RM conftest*
14449  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14450  touch conftest.a
14451  ln conftest.a conftest.b 2>&5 || hard_links=no
14452  ln conftest.a conftest.b 2>/dev/null && hard_links=no
14453  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14454$as_echo "$hard_links" >&6; }
14455  if test "$hard_links" = no; then
14456    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14457$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14458    need_locks=warn
14459  fi
14460else
14461  need_locks=no
14462fi
14463
14464
14465
14466    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14467$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14468
14469  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14470  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14471  case $host_os in
14472  aix[4-9]*)
14473    # If we're using GNU nm, then we don't want the "-C" option.
14474    # -C means demangle to AIX nm, but means don't demangle with GNU nm
14475    # Also, AIX nm treats weak defined symbols like other global defined
14476    # symbols, whereas GNU nm marks them as "W".
14477    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14478      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14479    else
14480      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14481    fi
14482    ;;
14483  pw32*)
14484    export_symbols_cmds_CXX="$ltdll_cmds"
14485    ;;
14486  cygwin* | mingw* | cegcc*)
14487    case $cc_basename in
14488    cl*)
14489      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
14490      ;;
14491    *)
14492      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14493      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
14494      ;;
14495    esac
14496    ;;
14497  linux* | k*bsd*-gnu | gnu*)
14498    link_all_deplibs_CXX=no
14499    ;;
14500  *)
14501    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14502    ;;
14503  esac
14504
14505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14506$as_echo "$ld_shlibs_CXX" >&6; }
14507test "$ld_shlibs_CXX" = no && can_build_shared=no
14508
14509with_gnu_ld_CXX=$with_gnu_ld
14510
14511
14512
14513
14514
14515
14516#
14517# Do we need to explicitly link libc?
14518#
14519case "x$archive_cmds_need_lc_CXX" in
14520x|xyes)
14521  # Assume -lc should be added
14522  archive_cmds_need_lc_CXX=yes
14523
14524  if test "$enable_shared" = yes && test "$GCC" = yes; then
14525    case $archive_cmds_CXX in
14526    *'~'*)
14527      # FIXME: we may have to deal with multi-command sequences.
14528      ;;
14529    '$CC '*)
14530      # Test whether the compiler implicitly links with -lc since on some
14531      # systems, -lgcc has to come before -lc. If gcc already passes -lc
14532      # to ld, don't add -lc before -lgcc.
14533      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14534$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14535if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14536  $as_echo_n "(cached) " >&6
14537else
14538  $RM conftest*
14539	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14540
14541	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14542  (eval $ac_compile) 2>&5
14543  ac_status=$?
14544  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14545  test $ac_status = 0; } 2>conftest.err; then
14546	  soname=conftest
14547	  lib=conftest
14548	  libobjs=conftest.$ac_objext
14549	  deplibs=
14550	  wl=$lt_prog_compiler_wl_CXX
14551	  pic_flag=$lt_prog_compiler_pic_CXX
14552	  compiler_flags=-v
14553	  linker_flags=-v
14554	  verstring=
14555	  output_objdir=.
14556	  libname=conftest
14557	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14558	  allow_undefined_flag_CXX=
14559	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14560  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14561  ac_status=$?
14562  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14563  test $ac_status = 0; }
14564	  then
14565	    lt_cv_archive_cmds_need_lc_CXX=no
14566	  else
14567	    lt_cv_archive_cmds_need_lc_CXX=yes
14568	  fi
14569	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14570	else
14571	  cat conftest.err 1>&5
14572	fi
14573	$RM conftest*
14574
14575fi
14576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14577$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14578      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14579      ;;
14580    esac
14581  fi
14582  ;;
14583esac
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14647$as_echo_n "checking dynamic linker characteristics... " >&6; }
14648
14649library_names_spec=
14650libname_spec='lib$name'
14651soname_spec=
14652shrext_cmds=".so"
14653postinstall_cmds=
14654postuninstall_cmds=
14655finish_cmds=
14656finish_eval=
14657shlibpath_var=
14658shlibpath_overrides_runpath=unknown
14659version_type=none
14660dynamic_linker="$host_os ld.so"
14661sys_lib_dlsearch_path_spec="/lib /usr/lib"
14662need_lib_prefix=unknown
14663hardcode_into_libs=no
14664
14665# when you set need_version to no, make sure it does not cause -set_version
14666# flags to be left without arguments
14667need_version=unknown
14668
14669case $host_os in
14670aix3*)
14671  version_type=linux # correct to gnu/linux during the next big refactor
14672  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14673  shlibpath_var=LIBPATH
14674
14675  # AIX 3 has no versioning support, so we append a major version to the name.
14676  soname_spec='${libname}${release}${shared_ext}$major'
14677  ;;
14678
14679aix[4-9]*)
14680  version_type=linux # correct to gnu/linux during the next big refactor
14681  need_lib_prefix=no
14682  need_version=no
14683  hardcode_into_libs=yes
14684  if test "$host_cpu" = ia64; then
14685    # AIX 5 supports IA64
14686    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14687    shlibpath_var=LD_LIBRARY_PATH
14688  else
14689    # With GCC up to 2.95.x, collect2 would create an import file
14690    # for dependence libraries.  The import file would start with
14691    # the line `#! .'.  This would cause the generated library to
14692    # depend on `.', always an invalid library.  This was fixed in
14693    # development snapshots of GCC prior to 3.0.
14694    case $host_os in
14695      aix4 | aix4.[01] | aix4.[01].*)
14696      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14697	   echo ' yes '
14698	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14699	:
14700      else
14701	can_build_shared=no
14702      fi
14703      ;;
14704    esac
14705    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14706    # soname into executable. Probably we can add versioning support to
14707    # collect2, so additional links can be useful in future.
14708    if test "$aix_use_runtimelinking" = yes; then
14709      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14710      # instead of lib<name>.a to let people know that these are not
14711      # typical AIX shared libraries.
14712      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14713    else
14714      # We preserve .a as extension for shared libraries through AIX4.2
14715      # and later when we are not doing run time linking.
14716      library_names_spec='${libname}${release}.a $libname.a'
14717      soname_spec='${libname}${release}${shared_ext}$major'
14718    fi
14719    shlibpath_var=LIBPATH
14720  fi
14721  ;;
14722
14723amigaos*)
14724  case $host_cpu in
14725  powerpc)
14726    # Since July 2007 AmigaOS4 officially supports .so libraries.
14727    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14728    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14729    ;;
14730  m68k)
14731    library_names_spec='$libname.ixlibrary $libname.a'
14732    # Create ${libname}_ixlibrary.a entries in /sys/libs.
14733    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14734    ;;
14735  esac
14736  ;;
14737
14738beos*)
14739  library_names_spec='${libname}${shared_ext}'
14740  dynamic_linker="$host_os ld.so"
14741  shlibpath_var=LIBRARY_PATH
14742  ;;
14743
14744bsdi[45]*)
14745  version_type=linux # correct to gnu/linux during the next big refactor
14746  need_version=no
14747  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14748  soname_spec='${libname}${release}${shared_ext}$major'
14749  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14750  shlibpath_var=LD_LIBRARY_PATH
14751  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14752  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14753  # the default ld.so.conf also contains /usr/contrib/lib and
14754  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14755  # libtool to hard-code these into programs
14756  ;;
14757
14758cygwin* | mingw* | pw32* | cegcc*)
14759  version_type=windows
14760  shrext_cmds=".dll"
14761  need_version=no
14762  need_lib_prefix=no
14763
14764  case $GCC,$cc_basename in
14765  yes,*)
14766    # gcc
14767    library_names_spec='$libname.dll.a'
14768    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14769    postinstall_cmds='base_file=`basename \${file}`~
14770      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14771      dldir=$destdir/`dirname \$dlpath`~
14772      test -d \$dldir || mkdir -p \$dldir~
14773      $install_prog $dir/$dlname \$dldir/$dlname~
14774      chmod a+x \$dldir/$dlname~
14775      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14776        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14777      fi'
14778    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14779      dlpath=$dir/\$dldll~
14780       $RM \$dlpath'
14781    shlibpath_overrides_runpath=yes
14782
14783    case $host_os in
14784    cygwin*)
14785      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14786      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14787
14788      ;;
14789    mingw* | cegcc*)
14790      # MinGW DLLs use traditional 'lib' prefix
14791      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14792      ;;
14793    pw32*)
14794      # pw32 DLLs use 'pw' prefix rather than 'lib'
14795      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14796      ;;
14797    esac
14798    dynamic_linker='Win32 ld.exe'
14799    ;;
14800
14801  *,cl*)
14802    # Native MSVC
14803    libname_spec='$name'
14804    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14805    library_names_spec='${libname}.dll.lib'
14806
14807    case $build_os in
14808    mingw*)
14809      sys_lib_search_path_spec=
14810      lt_save_ifs=$IFS
14811      IFS=';'
14812      for lt_path in $LIB
14813      do
14814        IFS=$lt_save_ifs
14815        # Let DOS variable expansion print the short 8.3 style file name.
14816        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
14817        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
14818      done
14819      IFS=$lt_save_ifs
14820      # Convert to MSYS style.
14821      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
14822      ;;
14823    cygwin*)
14824      # Convert to unix form, then to dos form, then back to unix form
14825      # but this time dos style (no spaces!) so that the unix form looks
14826      # like /cygdrive/c/PROGRA~1:/cygdr...
14827      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
14828      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
14829      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14830      ;;
14831    *)
14832      sys_lib_search_path_spec="$LIB"
14833      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
14834        # It is most probably a Windows format PATH.
14835        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14836      else
14837        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14838      fi
14839      # FIXME: find the short name or the path components, as spaces are
14840      # common. (e.g. "Program Files" -> "PROGRA~1")
14841      ;;
14842    esac
14843
14844    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14845    postinstall_cmds='base_file=`basename \${file}`~
14846      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14847      dldir=$destdir/`dirname \$dlpath`~
14848      test -d \$dldir || mkdir -p \$dldir~
14849      $install_prog $dir/$dlname \$dldir/$dlname'
14850    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14851      dlpath=$dir/\$dldll~
14852       $RM \$dlpath'
14853    shlibpath_overrides_runpath=yes
14854    dynamic_linker='Win32 link.exe'
14855    ;;
14856
14857  *)
14858    # Assume MSVC wrapper
14859    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14860    dynamic_linker='Win32 ld.exe'
14861    ;;
14862  esac
14863  # FIXME: first we should search . and the directory the executable is in
14864  shlibpath_var=PATH
14865  ;;
14866
14867darwin* | rhapsody*)
14868  dynamic_linker="$host_os dyld"
14869  version_type=darwin
14870  need_lib_prefix=no
14871  need_version=no
14872  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14873  soname_spec='${libname}${release}${major}$shared_ext'
14874  shlibpath_overrides_runpath=yes
14875  shlibpath_var=DYLD_LIBRARY_PATH
14876  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14877
14878  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14879  ;;
14880
14881dgux*)
14882  version_type=linux # correct to gnu/linux during the next big refactor
14883  need_lib_prefix=no
14884  need_version=no
14885  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14886  soname_spec='${libname}${release}${shared_ext}$major'
14887  shlibpath_var=LD_LIBRARY_PATH
14888  ;;
14889
14890freebsd* | dragonfly*)
14891  # DragonFly does not have aout.  When/if they implement a new
14892  # versioning mechanism, adjust this.
14893  if test -x /usr/bin/objformat; then
14894    objformat=`/usr/bin/objformat`
14895  else
14896    case $host_os in
14897    freebsd[23].*) objformat=aout ;;
14898    *) objformat=elf ;;
14899    esac
14900  fi
14901  version_type=freebsd-$objformat
14902  case $version_type in
14903    freebsd-elf*)
14904      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14905      need_version=no
14906      need_lib_prefix=no
14907      ;;
14908    freebsd-*)
14909      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14910      need_version=yes
14911      ;;
14912  esac
14913  shlibpath_var=LD_LIBRARY_PATH
14914  case $host_os in
14915  freebsd2.*)
14916    shlibpath_overrides_runpath=yes
14917    ;;
14918  freebsd3.[01]* | freebsdelf3.[01]*)
14919    shlibpath_overrides_runpath=yes
14920    hardcode_into_libs=yes
14921    ;;
14922  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14923  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14924    shlibpath_overrides_runpath=no
14925    hardcode_into_libs=yes
14926    ;;
14927  *) # from 4.6 on, and DragonFly
14928    shlibpath_overrides_runpath=yes
14929    hardcode_into_libs=yes
14930    ;;
14931  esac
14932  ;;
14933
14934haiku*)
14935  version_type=linux # correct to gnu/linux during the next big refactor
14936  need_lib_prefix=no
14937  need_version=no
14938  dynamic_linker="$host_os runtime_loader"
14939  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14940  soname_spec='${libname}${release}${shared_ext}$major'
14941  shlibpath_var=LIBRARY_PATH
14942  shlibpath_overrides_runpath=yes
14943  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
14944  hardcode_into_libs=yes
14945  ;;
14946
14947hpux9* | hpux10* | hpux11*)
14948  # Give a soname corresponding to the major version so that dld.sl refuses to
14949  # link against other versions.
14950  version_type=sunos
14951  need_lib_prefix=no
14952  need_version=no
14953  case $host_cpu in
14954  ia64*)
14955    shrext_cmds='.so'
14956    hardcode_into_libs=yes
14957    dynamic_linker="$host_os dld.so"
14958    shlibpath_var=LD_LIBRARY_PATH
14959    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14960    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14961    soname_spec='${libname}${release}${shared_ext}$major'
14962    if test "X$HPUX_IA64_MODE" = X32; then
14963      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14964    else
14965      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14966    fi
14967    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14968    ;;
14969  hppa*64*)
14970    shrext_cmds='.sl'
14971    hardcode_into_libs=yes
14972    dynamic_linker="$host_os dld.sl"
14973    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14974    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14975    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14976    soname_spec='${libname}${release}${shared_ext}$major'
14977    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14978    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14979    ;;
14980  *)
14981    shrext_cmds='.sl'
14982    dynamic_linker="$host_os dld.sl"
14983    shlibpath_var=SHLIB_PATH
14984    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14985    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14986    soname_spec='${libname}${release}${shared_ext}$major'
14987    ;;
14988  esac
14989  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14990  postinstall_cmds='chmod 555 $lib'
14991  # or fails outright, so override atomically:
14992  install_override_mode=555
14993  ;;
14994
14995interix[3-9]*)
14996  version_type=linux # correct to gnu/linux during the next big refactor
14997  need_lib_prefix=no
14998  need_version=no
14999  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15000  soname_spec='${libname}${release}${shared_ext}$major'
15001  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15002  shlibpath_var=LD_LIBRARY_PATH
15003  shlibpath_overrides_runpath=no
15004  hardcode_into_libs=yes
15005  ;;
15006
15007irix5* | irix6* | nonstopux*)
15008  case $host_os in
15009    nonstopux*) version_type=nonstopux ;;
15010    *)
15011	if test "$lt_cv_prog_gnu_ld" = yes; then
15012		version_type=linux # correct to gnu/linux during the next big refactor
15013	else
15014		version_type=irix
15015	fi ;;
15016  esac
15017  need_lib_prefix=no
15018  need_version=no
15019  soname_spec='${libname}${release}${shared_ext}$major'
15020  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15021  case $host_os in
15022  irix5* | nonstopux*)
15023    libsuff= shlibsuff=
15024    ;;
15025  *)
15026    case $LD in # libtool.m4 will add one of these switches to LD
15027    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15028      libsuff= shlibsuff= libmagic=32-bit;;
15029    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15030      libsuff=32 shlibsuff=N32 libmagic=N32;;
15031    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15032      libsuff=64 shlibsuff=64 libmagic=64-bit;;
15033    *) libsuff= shlibsuff= libmagic=never-match;;
15034    esac
15035    ;;
15036  esac
15037  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15038  shlibpath_overrides_runpath=no
15039  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15040  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15041  hardcode_into_libs=yes
15042  ;;
15043
15044# No shared lib support for Linux oldld, aout, or coff.
15045linux*oldld* | linux*aout* | linux*coff*)
15046  dynamic_linker=no
15047  ;;
15048
15049# This must be glibc/ELF.
15050linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15051  version_type=linux # correct to gnu/linux during the next big refactor
15052  need_lib_prefix=no
15053  need_version=no
15054  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15055  soname_spec='${libname}${release}${shared_ext}$major'
15056  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15057  shlibpath_var=LD_LIBRARY_PATH
15058  shlibpath_overrides_runpath=no
15059
15060  # Some binutils ld are patched to set DT_RUNPATH
15061  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15062  $as_echo_n "(cached) " >&6
15063else
15064  lt_cv_shlibpath_overrides_runpath=no
15065    save_LDFLAGS=$LDFLAGS
15066    save_libdir=$libdir
15067    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15068	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15069    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15070/* end confdefs.h.  */
15071
15072int
15073main ()
15074{
15075
15076  ;
15077  return 0;
15078}
15079_ACEOF
15080if ac_fn_cxx_try_link "$LINENO"; then :
15081  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15082  lt_cv_shlibpath_overrides_runpath=yes
15083fi
15084fi
15085rm -f core conftest.err conftest.$ac_objext \
15086    conftest$ac_exeext conftest.$ac_ext
15087    LDFLAGS=$save_LDFLAGS
15088    libdir=$save_libdir
15089
15090fi
15091
15092  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15093
15094  # This implies no fast_install, which is unacceptable.
15095  # Some rework will be needed to allow for fast_install
15096  # before this can be enabled.
15097  hardcode_into_libs=yes
15098
15099  # Append ld.so.conf contents to the search path
15100  if test -f /etc/ld.so.conf; then
15101    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' ' '`
15102    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15103  fi
15104
15105  # We used to test for /lib/ld.so.1 and disable shared libraries on
15106  # powerpc, because MkLinux only supported shared libraries with the
15107  # GNU dynamic linker.  Since this was broken with cross compilers,
15108  # most powerpc-linux boxes support dynamic linking these days and
15109  # people can always --disable-shared, the test was removed, and we
15110  # assume the GNU/Linux dynamic linker is in use.
15111  dynamic_linker='GNU/Linux ld.so'
15112  ;;
15113
15114netbsdelf*-gnu)
15115  version_type=linux
15116  need_lib_prefix=no
15117  need_version=no
15118  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15119  soname_spec='${libname}${release}${shared_ext}$major'
15120  shlibpath_var=LD_LIBRARY_PATH
15121  shlibpath_overrides_runpath=no
15122  hardcode_into_libs=yes
15123  dynamic_linker='NetBSD ld.elf_so'
15124  ;;
15125
15126netbsd*)
15127  version_type=sunos
15128  need_lib_prefix=no
15129  need_version=no
15130  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15131    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15132    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15133    dynamic_linker='NetBSD (a.out) ld.so'
15134  else
15135    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15136    soname_spec='${libname}${release}${shared_ext}$major'
15137    dynamic_linker='NetBSD ld.elf_so'
15138  fi
15139  shlibpath_var=LD_LIBRARY_PATH
15140  shlibpath_overrides_runpath=yes
15141  hardcode_into_libs=yes
15142  ;;
15143
15144newsos6)
15145  version_type=linux # correct to gnu/linux during the next big refactor
15146  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15147  shlibpath_var=LD_LIBRARY_PATH
15148  shlibpath_overrides_runpath=yes
15149  ;;
15150
15151*nto* | *qnx*)
15152  version_type=qnx
15153  need_lib_prefix=no
15154  need_version=no
15155  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15156  soname_spec='${libname}${release}${shared_ext}$major'
15157  shlibpath_var=LD_LIBRARY_PATH
15158  shlibpath_overrides_runpath=no
15159  hardcode_into_libs=yes
15160  dynamic_linker='ldqnx.so'
15161  ;;
15162
15163openbsd*)
15164  version_type=sunos
15165  sys_lib_dlsearch_path_spec="/usr/lib"
15166  need_lib_prefix=no
15167  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15168  case $host_os in
15169    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
15170    *)				need_version=no  ;;
15171  esac
15172  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15173  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15174  shlibpath_var=LD_LIBRARY_PATH
15175  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15176    case $host_os in
15177      openbsd2.[89] | openbsd2.[89].*)
15178	shlibpath_overrides_runpath=no
15179	;;
15180      *)
15181	shlibpath_overrides_runpath=yes
15182	;;
15183      esac
15184  else
15185    shlibpath_overrides_runpath=yes
15186  fi
15187  ;;
15188
15189os2*)
15190  libname_spec='$name'
15191  shrext_cmds=".dll"
15192  need_lib_prefix=no
15193  library_names_spec='$libname${shared_ext} $libname.a'
15194  dynamic_linker='OS/2 ld.exe'
15195  shlibpath_var=LIBPATH
15196  ;;
15197
15198osf3* | osf4* | osf5*)
15199  version_type=osf
15200  need_lib_prefix=no
15201  need_version=no
15202  soname_spec='${libname}${release}${shared_ext}$major'
15203  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15204  shlibpath_var=LD_LIBRARY_PATH
15205  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15206  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15207  ;;
15208
15209rdos*)
15210  dynamic_linker=no
15211  ;;
15212
15213solaris*)
15214  version_type=linux # correct to gnu/linux during the next big refactor
15215  need_lib_prefix=no
15216  need_version=no
15217  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15218  soname_spec='${libname}${release}${shared_ext}$major'
15219  shlibpath_var=LD_LIBRARY_PATH
15220  shlibpath_overrides_runpath=yes
15221  hardcode_into_libs=yes
15222  # ldd complains unless libraries are executable
15223  postinstall_cmds='chmod +x $lib'
15224  ;;
15225
15226sunos4*)
15227  version_type=sunos
15228  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15229  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15230  shlibpath_var=LD_LIBRARY_PATH
15231  shlibpath_overrides_runpath=yes
15232  if test "$with_gnu_ld" = yes; then
15233    need_lib_prefix=no
15234  fi
15235  need_version=yes
15236  ;;
15237
15238sysv4 | sysv4.3*)
15239  version_type=linux # correct to gnu/linux during the next big refactor
15240  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15241  soname_spec='${libname}${release}${shared_ext}$major'
15242  shlibpath_var=LD_LIBRARY_PATH
15243  case $host_vendor in
15244    sni)
15245      shlibpath_overrides_runpath=no
15246      need_lib_prefix=no
15247      runpath_var=LD_RUN_PATH
15248      ;;
15249    siemens)
15250      need_lib_prefix=no
15251      ;;
15252    motorola)
15253      need_lib_prefix=no
15254      need_version=no
15255      shlibpath_overrides_runpath=no
15256      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15257      ;;
15258  esac
15259  ;;
15260
15261sysv4*MP*)
15262  if test -d /usr/nec ;then
15263    version_type=linux # correct to gnu/linux during the next big refactor
15264    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15265    soname_spec='$libname${shared_ext}.$major'
15266    shlibpath_var=LD_LIBRARY_PATH
15267  fi
15268  ;;
15269
15270sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15271  version_type=freebsd-elf
15272  need_lib_prefix=no
15273  need_version=no
15274  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15275  soname_spec='${libname}${release}${shared_ext}$major'
15276  shlibpath_var=LD_LIBRARY_PATH
15277  shlibpath_overrides_runpath=yes
15278  hardcode_into_libs=yes
15279  if test "$with_gnu_ld" = yes; then
15280    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15281  else
15282    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15283    case $host_os in
15284      sco3.2v5*)
15285        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15286	;;
15287    esac
15288  fi
15289  sys_lib_dlsearch_path_spec='/usr/lib'
15290  ;;
15291
15292tpf*)
15293  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
15294  version_type=linux # correct to gnu/linux during the next big refactor
15295  need_lib_prefix=no
15296  need_version=no
15297  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15298  shlibpath_var=LD_LIBRARY_PATH
15299  shlibpath_overrides_runpath=no
15300  hardcode_into_libs=yes
15301  ;;
15302
15303uts4*)
15304  version_type=linux # correct to gnu/linux during the next big refactor
15305  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15306  soname_spec='${libname}${release}${shared_ext}$major'
15307  shlibpath_var=LD_LIBRARY_PATH
15308  ;;
15309
15310*)
15311  dynamic_linker=no
15312  ;;
15313esac
15314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15315$as_echo "$dynamic_linker" >&6; }
15316test "$dynamic_linker" = no && can_build_shared=no
15317
15318variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15319if test "$GCC" = yes; then
15320  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15321fi
15322
15323if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15324  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15325fi
15326if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15327  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15328fi
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15368$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15369hardcode_action_CXX=
15370if test -n "$hardcode_libdir_flag_spec_CXX" ||
15371   test -n "$runpath_var_CXX" ||
15372   test "X$hardcode_automatic_CXX" = "Xyes" ; then
15373
15374  # We can hardcode non-existent directories.
15375  if test "$hardcode_direct_CXX" != no &&
15376     # If the only mechanism to avoid hardcoding is shlibpath_var, we
15377     # have to relink, otherwise we might link with an installed library
15378     # when we should be linking with a yet-to-be-installed one
15379     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15380     test "$hardcode_minus_L_CXX" != no; then
15381    # Linking always hardcodes the temporary library directory.
15382    hardcode_action_CXX=relink
15383  else
15384    # We can link without hardcoding, and we can hardcode nonexisting dirs.
15385    hardcode_action_CXX=immediate
15386  fi
15387else
15388  # We cannot hardcode anything, or else we can only hardcode existing
15389  # directories.
15390  hardcode_action_CXX=unsupported
15391fi
15392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15393$as_echo "$hardcode_action_CXX" >&6; }
15394
15395if test "$hardcode_action_CXX" = relink ||
15396   test "$inherit_rpath_CXX" = yes; then
15397  # Fast installation is not supported
15398  enable_fast_install=no
15399elif test "$shlibpath_overrides_runpath" = yes ||
15400     test "$enable_shared" = no; then
15401  # Fast installation is not necessary
15402  enable_fast_install=needless
15403fi
15404
15405
15406
15407
15408
15409
15410
15411  fi # test -n "$compiler"
15412
15413  CC=$lt_save_CC
15414  CFLAGS=$lt_save_CFLAGS
15415  LDCXX=$LD
15416  LD=$lt_save_LD
15417  GCC=$lt_save_GCC
15418  with_gnu_ld=$lt_save_with_gnu_ld
15419  lt_cv_path_LDCXX=$lt_cv_path_LD
15420  lt_cv_path_LD=$lt_save_path_LD
15421  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15422  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15423fi # test "$_lt_caught_CXX_error" != yes
15424
15425ac_ext=c
15426ac_cpp='$CPP $CPPFLAGS'
15427ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445        ac_config_commands="$ac_config_commands libtool"
15446
15447
15448
15449
15450# Only expand once:
15451
15452
15453
15454GOOCANVASMM_MODULES='glibmm-2.4 >= 2.14.2 gtkmm-3.0 >= 2.91.3 goocanvas-2.0 >= 2.0.1'
15455
15456
15457
15458
15459
15460
15461
15462
15463if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
15464	if test -n "$ac_tool_prefix"; then
15465  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
15466set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15467{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15468$as_echo_n "checking for $ac_word... " >&6; }
15469if ${ac_cv_path_PKG_CONFIG+:} false; then :
15470  $as_echo_n "(cached) " >&6
15471else
15472  case $PKG_CONFIG in
15473  [\\/]* | ?:[\\/]*)
15474  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
15475  ;;
15476  *)
15477  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15478for as_dir in $PATH
15479do
15480  IFS=$as_save_IFS
15481  test -z "$as_dir" && as_dir=.
15482    for ac_exec_ext in '' $ac_executable_extensions; do
15483  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15484    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15485    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15486    break 2
15487  fi
15488done
15489  done
15490IFS=$as_save_IFS
15491
15492  ;;
15493esac
15494fi
15495PKG_CONFIG=$ac_cv_path_PKG_CONFIG
15496if test -n "$PKG_CONFIG"; then
15497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
15498$as_echo "$PKG_CONFIG" >&6; }
15499else
15500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15501$as_echo "no" >&6; }
15502fi
15503
15504
15505fi
15506if test -z "$ac_cv_path_PKG_CONFIG"; then
15507  ac_pt_PKG_CONFIG=$PKG_CONFIG
15508  # Extract the first word of "pkg-config", so it can be a program name with args.
15509set dummy pkg-config; ac_word=$2
15510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15511$as_echo_n "checking for $ac_word... " >&6; }
15512if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15513  $as_echo_n "(cached) " >&6
15514else
15515  case $ac_pt_PKG_CONFIG in
15516  [\\/]* | ?:[\\/]*)
15517  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
15518  ;;
15519  *)
15520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15521for as_dir in $PATH
15522do
15523  IFS=$as_save_IFS
15524  test -z "$as_dir" && as_dir=.
15525    for ac_exec_ext in '' $ac_executable_extensions; do
15526  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15527    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15528    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15529    break 2
15530  fi
15531done
15532  done
15533IFS=$as_save_IFS
15534
15535  ;;
15536esac
15537fi
15538ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
15539if test -n "$ac_pt_PKG_CONFIG"; then
15540  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
15541$as_echo "$ac_pt_PKG_CONFIG" >&6; }
15542else
15543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15544$as_echo "no" >&6; }
15545fi
15546
15547  if test "x$ac_pt_PKG_CONFIG" = x; then
15548    PKG_CONFIG=""
15549  else
15550    case $cross_compiling:$ac_tool_warned in
15551yes:)
15552{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15553$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15554ac_tool_warned=yes ;;
15555esac
15556    PKG_CONFIG=$ac_pt_PKG_CONFIG
15557  fi
15558else
15559  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
15560fi
15561
15562fi
15563if test -n "$PKG_CONFIG"; then
15564	_pkg_min_version=0.9.0
15565	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
15566$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
15567	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
15568		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15569$as_echo "yes" >&6; }
15570	else
15571		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15572$as_echo "no" >&6; }
15573		PKG_CONFIG=""
15574	fi
15575fi
15576
15577pkg_failed=no
15578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GOOCANVASMM" >&5
15579$as_echo_n "checking for GOOCANVASMM... " >&6; }
15580
15581if test -n "$GOOCANVASMM_CFLAGS"; then
15582    pkg_cv_GOOCANVASMM_CFLAGS="$GOOCANVASMM_CFLAGS"
15583 elif test -n "$PKG_CONFIG"; then
15584    if test -n "$PKG_CONFIG" && \
15585    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GOOCANVASMM_MODULES\""; } >&5
15586  ($PKG_CONFIG --exists --print-errors "$GOOCANVASMM_MODULES") 2>&5
15587  ac_status=$?
15588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15589  test $ac_status = 0; }; then
15590  pkg_cv_GOOCANVASMM_CFLAGS=`$PKG_CONFIG --cflags "$GOOCANVASMM_MODULES" 2>/dev/null`
15591		      test "x$?" != "x0" && pkg_failed=yes
15592else
15593  pkg_failed=yes
15594fi
15595 else
15596    pkg_failed=untried
15597fi
15598if test -n "$GOOCANVASMM_LIBS"; then
15599    pkg_cv_GOOCANVASMM_LIBS="$GOOCANVASMM_LIBS"
15600 elif test -n "$PKG_CONFIG"; then
15601    if test -n "$PKG_CONFIG" && \
15602    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$GOOCANVASMM_MODULES\""; } >&5
15603  ($PKG_CONFIG --exists --print-errors "$GOOCANVASMM_MODULES") 2>&5
15604  ac_status=$?
15605  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15606  test $ac_status = 0; }; then
15607  pkg_cv_GOOCANVASMM_LIBS=`$PKG_CONFIG --libs "$GOOCANVASMM_MODULES" 2>/dev/null`
15608		      test "x$?" != "x0" && pkg_failed=yes
15609else
15610  pkg_failed=yes
15611fi
15612 else
15613    pkg_failed=untried
15614fi
15615
15616
15617
15618if test $pkg_failed = yes; then
15619   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15620$as_echo "no" >&6; }
15621
15622if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
15623        _pkg_short_errors_supported=yes
15624else
15625        _pkg_short_errors_supported=no
15626fi
15627        if test $_pkg_short_errors_supported = yes; then
15628	        GOOCANVASMM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$GOOCANVASMM_MODULES" 2>&1`
15629        else
15630	        GOOCANVASMM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$GOOCANVASMM_MODULES" 2>&1`
15631        fi
15632	# Put the nasty error message in config.log where it belongs
15633	echo "$GOOCANVASMM_PKG_ERRORS" >&5
15634
15635	as_fn_error $? "Package requirements ($GOOCANVASMM_MODULES) were not met:
15636
15637$GOOCANVASMM_PKG_ERRORS
15638
15639Consider adjusting the PKG_CONFIG_PATH environment variable if you
15640installed software in a non-standard prefix.
15641
15642Alternatively, you may set the environment variables GOOCANVASMM_CFLAGS
15643and GOOCANVASMM_LIBS to avoid the need to call pkg-config.
15644See the pkg-config man page for more details." "$LINENO" 5
15645elif test $pkg_failed = untried; then
15646     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15647$as_echo "no" >&6; }
15648	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15649$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15650as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
15651is in your PATH or set the PKG_CONFIG environment variable to the full
15652path to pkg-config.
15653
15654Alternatively, you may set the environment variables GOOCANVASMM_CFLAGS
15655and GOOCANVASMM_LIBS to avoid the need to call pkg-config.
15656See the pkg-config man page for more details.
15657
15658To get pkg-config, see <http://pkg-config.freedesktop.org/>.
15659See \`config.log' for more details" "$LINENO" 5; }
15660else
15661	GOOCANVASMM_CFLAGS=$pkg_cv_GOOCANVASMM_CFLAGS
15662	GOOCANVASMM_LIBS=$pkg_cv_GOOCANVASMM_LIBS
15663        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15664$as_echo "yes" >&6; }
15665
15666fi
15667
15668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTHREAD_CFLAGS" >&5
15669$as_echo_n "checking for GTHREAD_CFLAGS... " >&6; }
15670if test -z "${GTHREAD_CFLAGS+set}"; then :
15671  GTHREAD_CFLAGS=`$PKG_CONFIG --cflags-only-other gthread-2.0 2>&5`
15672       if test "$?" -eq 0; then :
15673
15674fi
15675fi
15676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTHREAD_CFLAGS" >&5
15677$as_echo "$GTHREAD_CFLAGS" >&6; }
15678
15679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_DIR" >&5
15680$as_echo_n "checking for GMMPROC_DIR... " >&6; }
15681if test -z "${GMMPROC_DIR+set}"; then :
15682  GMMPROC_DIR=`$PKG_CONFIG --variable=gmmprocdir glibmm-2.4 2>&5`
15683       if test "$?" -eq 0; then :
15684
15685fi
15686fi
15687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_DIR" >&5
15688$as_echo "$GMMPROC_DIR" >&6; }
15689
15690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMMPROC_EXTRA_M4_DIR" >&5
15691$as_echo_n "checking for GMMPROC_EXTRA_M4_DIR... " >&6; }
15692if test -z "${GMMPROC_EXTRA_M4_DIR+set}"; then :
15693  GMMPROC_EXTRA_M4_DIR=`$PKG_CONFIG --variable=gmmprocm4dir gtkmm-3.0 pangomm-1.4 atkmm-1.6 2>&5`
15694       if test "$?" -eq 0; then :
15695
15696fi
15697fi
15698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMMPROC_EXTRA_M4_DIR" >&5
15699$as_echo "$GMMPROC_EXTRA_M4_DIR" >&6; }
15700
15701
15702# Extract the first word of "perl", so it can be a program name with args.
15703set dummy perl; ac_word=$2
15704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15705$as_echo_n "checking for $ac_word... " >&6; }
15706if ${ac_cv_path_PERL+:} false; then :
15707  $as_echo_n "(cached) " >&6
15708else
15709  case $PERL in
15710  [\\/]* | ?:[\\/]*)
15711  ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
15712  ;;
15713  *)
15714  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15715for as_dir in $PATH
15716do
15717  IFS=$as_save_IFS
15718  test -z "$as_dir" && as_dir=.
15719    for ac_exec_ext in '' $ac_executable_extensions; do
15720  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15721    ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
15722    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15723    break 2
15724  fi
15725done
15726  done
15727IFS=$as_save_IFS
15728
15729  test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="perl"
15730  ;;
15731esac
15732fi
15733PERL=$ac_cv_path_PERL
15734if test -n "$PERL"; then
15735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
15736$as_echo "$PERL" >&6; }
15737else
15738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15739$as_echo "no" >&6; }
15740fi
15741
15742
15743
15744# Extract the first word of "dot", so it can be a program name with args.
15745set dummy dot; ac_word=$2
15746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15747$as_echo_n "checking for $ac_word... " >&6; }
15748if ${ac_cv_path_DOT+:} false; then :
15749  $as_echo_n "(cached) " >&6
15750else
15751  case $DOT in
15752  [\\/]* | ?:[\\/]*)
15753  ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
15754  ;;
15755  *)
15756  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15757for as_dir in $PATH
15758do
15759  IFS=$as_save_IFS
15760  test -z "$as_dir" && as_dir=.
15761    for ac_exec_ext in '' $ac_executable_extensions; do
15762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15763    ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
15764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15765    break 2
15766  fi
15767done
15768  done
15769IFS=$as_save_IFS
15770
15771  test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="dot"
15772  ;;
15773esac
15774fi
15775DOT=$ac_cv_path_DOT
15776if test -n "$DOT"; then
15777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
15778$as_echo "$DOT" >&6; }
15779else
15780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15781$as_echo "no" >&6; }
15782fi
15783
15784
15785# Extract the first word of "doxygen", so it can be a program name with args.
15786set dummy doxygen; ac_word=$2
15787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15788$as_echo_n "checking for $ac_word... " >&6; }
15789if ${ac_cv_path_DOXYGEN+:} false; then :
15790  $as_echo_n "(cached) " >&6
15791else
15792  case $DOXYGEN in
15793  [\\/]* | ?:[\\/]*)
15794  ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
15795  ;;
15796  *)
15797  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15798for as_dir in $PATH
15799do
15800  IFS=$as_save_IFS
15801  test -z "$as_dir" && as_dir=.
15802    for ac_exec_ext in '' $ac_executable_extensions; do
15803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15804    ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
15805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15806    break 2
15807  fi
15808done
15809  done
15810IFS=$as_save_IFS
15811
15812  test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="doxygen"
15813  ;;
15814esac
15815fi
15816DOXYGEN=$ac_cv_path_DOXYGEN
15817if test -n "$DOXYGEN"; then
15818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
15819$as_echo "$DOXYGEN" >&6; }
15820else
15821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15822$as_echo "no" >&6; }
15823fi
15824
15825
15826# Extract the first word of "xsltproc", so it can be a program name with args.
15827set dummy xsltproc; ac_word=$2
15828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15829$as_echo_n "checking for $ac_word... " >&6; }
15830if ${ac_cv_path_XSLTPROC+:} false; then :
15831  $as_echo_n "(cached) " >&6
15832else
15833  case $XSLTPROC in
15834  [\\/]* | ?:[\\/]*)
15835  ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
15836  ;;
15837  *)
15838  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15839for as_dir in $PATH
15840do
15841  IFS=$as_save_IFS
15842  test -z "$as_dir" && as_dir=.
15843    for ac_exec_ext in '' $ac_executable_extensions; do
15844  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15845    ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
15846    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15847    break 2
15848  fi
15849done
15850  done
15851IFS=$as_save_IFS
15852
15853  test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="xsltproc"
15854  ;;
15855esac
15856fi
15857XSLTPROC=$ac_cv_path_XSLTPROC
15858if test -n "$XSLTPROC"; then
15859  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
15860$as_echo "$XSLTPROC" >&6; }
15861else
15862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15863$as_echo "no" >&6; }
15864fi
15865
15866
15867# Check whether --enable-documentation was given.
15868if test "${enable_documentation+set}" = set; then :
15869  enableval=$enable_documentation; ENABLE_DOCUMENTATION=$enableval
15870else
15871  ENABLE_DOCUMENTATION=auto
15872fi
15873
15874if test "x$ENABLE_DOCUMENTATION" != xno; then :
15875
15876  mm_err=
15877  if test "x$MMDOCTOOLDIR" = x; then :
15878  mm_err='The mm-common-util module is available, but the installation of mm-common on this
15879machine is missing the shared documentation utilities of the GNOME C++
15880bindings.  It may be necessary to upgrade to a more recent release of
15881mm-common in order to build '$PACKAGE_NAME' and install the documentation.'
15882elif test "x$PERL" = xperl; then :
15883  mm_err='Perl is required for installing the documentation.'
15884elif test "x$USE_MAINTAINER_MODE" != xno; then :
15885
15886    test "x$DOT" != xdot || mm_err=' dot'
15887    test "x$DOXYGEN" != xdoxygen || mm_err="$mm_err doxygen"
15888    test "x$XSLTPROC" != xxsltproc || mm_err="$mm_err xsltproc"
15889    test -z "$mm_err" || mm_err='The documentation cannot be generated because
15890not all of the required tools are available:'$mm_err
15891
15892fi
15893  if test -z "$mm_err"; then :
15894  ENABLE_DOCUMENTATION=yes
15895elif test "x$ENABLE_DOCUMENTATION" = xyes; then :
15896  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15897$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15898as_fn_error $? "$mm_err
15899See \`config.log' for more details" "$LINENO" 5; }
15900else
15901  ENABLE_DOCUMENTATION=no; { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $mm_err" >&5
15902$as_echo "$as_me: WARNING: $mm_err" >&2;}
15903fi
15904
15905fi
15906 if test "x$ENABLE_DOCUMENTATION" = xyes; then
15907  ENABLE_DOCUMENTATION_TRUE=
15908  ENABLE_DOCUMENTATION_FALSE='#'
15909else
15910  ENABLE_DOCUMENTATION_TRUE='#'
15911  ENABLE_DOCUMENTATION_FALSE=
15912fi
15913
15914DOXYGEN_TAGFILES=
15915
15916DOCINSTALL_FLAGS=
15917
15918
15919if test "x$ENABLE_DOCUMENTATION" != xno; then :
15920    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libstdc documentation" >&5
15921$as_echo_n "checking for libstdc documentation... " >&6; }
15922
15923# Check whether --with-libstdc-doc was given.
15924if test "${with_libstdc_doc+set}" = set; then :
15925  withval=$with_libstdc_doc;
15926    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
15927    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
15928    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
15929    test "x$mm_tagname" != x || mm_tagname="libstdc++.tag"
15930    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
15931else
15932
15933    mm_htmlrefdir=
15934    mm_tagname="libstdc++.tag"
15935    mm_tagpath=$mm_tagname
15936fi
15937
15938  # Prepend working direcory if the tag file path starts with ./ or ../
15939  case $mm_tagpath in #(
15940  .[\\/]*|..[\\/]*) :
15941    mm_tagpath=`pwd`/$mm_tagpath ;; #(
15942  *) :
15943     ;;
15944esac
15945
15946  # If no local directory was specified, get the default from the .pc file
15947  if test "x$mm_htmlrefdir" = x; then :
15948
15949    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "mm-common-libstdc++" 2>&5`
15950fi
15951  # If the user specified a Web URL, allow it to override the public location
15952  case $mm_htmlrefdir in #(
15953  http://*|https://*) :
15954    mm_htmlrefpub=$mm_htmlrefdir ;; #(
15955  *) :
15956
15957    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "mm-common-libstdc++" 2>&5`
15958    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
15959    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
15960   ;;
15961esac
15962  # The user-supplied tag-file name takes precedence if it includes the path
15963  case $mm_tagpath in #(
15964  *[\\/]*) :
15965     ;; #(
15966  *) :
15967
15968    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "mm-common-libstdc++" 2>&5`
15969    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
15970   ;;
15971esac
15972  # Remove trailing slashes and translate to URI
15973  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15974  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
15975
15976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
15977$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
15978
15979  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
15980  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libstdc++.tag not found" >&5
15981$as_echo "$as_me: WARNING: Doxygen tag file libstdc++.tag not found" >&2;}
15982fi
15983  if test "x$mm_htmlrefdir" = x; then :
15984  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libstdc documentation not set" >&5
15985$as_echo "$as_me: WARNING: Location of external libstdc documentation not set" >&2;}
15986else
15987  if test "x$DOCINSTALL_FLAGS" = x; then :
15988  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
15989else
15990  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
15991fi
15992fi
15993
15994  if test "x$mm_htmlrefpub" = x; then :
15995  mm_val=$mm_tagpath
15996else
15997  mm_val="$mm_tagpath=$mm_htmlrefpub"
15998fi
15999  if test "x$DOXYGEN_TAGFILES" = x; then :
16000  DOXYGEN_TAGFILES=\"$mm_val\"
16001else
16002  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16003fi
16004fi
16005if test "x$ENABLE_DOCUMENTATION" != xno; then :
16006    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libsigc documentation" >&5
16007$as_echo_n "checking for libsigc documentation... " >&6; }
16008
16009# Check whether --with-libsigc-doc was given.
16010if test "${with_libsigc_doc+set}" = set; then :
16011  withval=$with_libsigc_doc;
16012    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16013    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16014    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16015    test "x$mm_tagname" != x || mm_tagname="libsigc++-2.0.tag"
16016    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16017else
16018
16019    mm_htmlrefdir=
16020    mm_tagname="libsigc++-2.0.tag"
16021    mm_tagpath=$mm_tagname
16022fi
16023
16024  # Prepend working direcory if the tag file path starts with ./ or ../
16025  case $mm_tagpath in #(
16026  .[\\/]*|..[\\/]*) :
16027    mm_tagpath=`pwd`/$mm_tagpath ;; #(
16028  *) :
16029     ;;
16030esac
16031
16032  # If no local directory was specified, get the default from the .pc file
16033  if test "x$mm_htmlrefdir" = x; then :
16034
16035    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "sigc++-2.0" 2>&5`
16036fi
16037  # If the user specified a Web URL, allow it to override the public location
16038  case $mm_htmlrefdir in #(
16039  http://*|https://*) :
16040    mm_htmlrefpub=$mm_htmlrefdir ;; #(
16041  *) :
16042
16043    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "sigc++-2.0" 2>&5`
16044    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16045    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16046   ;;
16047esac
16048  # The user-supplied tag-file name takes precedence if it includes the path
16049  case $mm_tagpath in #(
16050  *[\\/]*) :
16051     ;; #(
16052  *) :
16053
16054    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "sigc++-2.0" 2>&5`
16055    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16056   ;;
16057esac
16058  # Remove trailing slashes and translate to URI
16059  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16060  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16061
16062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16063$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16064
16065  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16066  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&5
16067$as_echo "$as_me: WARNING: Doxygen tag file libsigc++-2.0.tag not found" >&2;}
16068fi
16069  if test "x$mm_htmlrefdir" = x; then :
16070  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external libsigc documentation not set" >&5
16071$as_echo "$as_me: WARNING: Location of external libsigc documentation not set" >&2;}
16072else
16073  if test "x$DOCINSTALL_FLAGS" = x; then :
16074  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16075else
16076  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16077fi
16078fi
16079
16080  if test "x$mm_htmlrefpub" = x; then :
16081  mm_val=$mm_tagpath
16082else
16083  mm_val="$mm_tagpath=$mm_htmlrefpub"
16084fi
16085  if test "x$DOXYGEN_TAGFILES" = x; then :
16086  DOXYGEN_TAGFILES=\"$mm_val\"
16087else
16088  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16089fi
16090fi
16091if test "x$ENABLE_DOCUMENTATION" != xno; then :
16092    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glibmm documentation" >&5
16093$as_echo_n "checking for glibmm documentation... " >&6; }
16094
16095# Check whether --with-glibmm-doc was given.
16096if test "${with_glibmm_doc+set}" = set; then :
16097  withval=$with_glibmm_doc;
16098    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16099    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16100    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16101    test "x$mm_tagname" != x || mm_tagname="glibmm-2.4.tag"
16102    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16103else
16104
16105    mm_htmlrefdir=
16106    mm_tagname="glibmm-2.4.tag"
16107    mm_tagpath=$mm_tagname
16108fi
16109
16110  # Prepend working direcory if the tag file path starts with ./ or ../
16111  case $mm_tagpath in #(
16112  .[\\/]*|..[\\/]*) :
16113    mm_tagpath=`pwd`/$mm_tagpath ;; #(
16114  *) :
16115     ;;
16116esac
16117
16118  # If no local directory was specified, get the default from the .pc file
16119  if test "x$mm_htmlrefdir" = x; then :
16120
16121    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "glibmm-2.4" 2>&5`
16122fi
16123  # If the user specified a Web URL, allow it to override the public location
16124  case $mm_htmlrefdir in #(
16125  http://*|https://*) :
16126    mm_htmlrefpub=$mm_htmlrefdir ;; #(
16127  *) :
16128
16129    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "glibmm-2.4" 2>&5`
16130    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16131    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16132   ;;
16133esac
16134  # The user-supplied tag-file name takes precedence if it includes the path
16135  case $mm_tagpath in #(
16136  *[\\/]*) :
16137     ;; #(
16138  *) :
16139
16140    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "glibmm-2.4" 2>&5`
16141    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16142   ;;
16143esac
16144  # Remove trailing slashes and translate to URI
16145  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16146  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16147
16148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16149$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16150
16151  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16152  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&5
16153$as_echo "$as_me: WARNING: Doxygen tag file glibmm-2.4.tag not found" >&2;}
16154fi
16155  if test "x$mm_htmlrefdir" = x; then :
16156  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external glibmm documentation not set" >&5
16157$as_echo "$as_me: WARNING: Location of external glibmm documentation not set" >&2;}
16158else
16159  if test "x$DOCINSTALL_FLAGS" = x; then :
16160  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16161else
16162  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16163fi
16164fi
16165
16166  if test "x$mm_htmlrefpub" = x; then :
16167  mm_val=$mm_tagpath
16168else
16169  mm_val="$mm_tagpath=$mm_htmlrefpub"
16170fi
16171  if test "x$DOXYGEN_TAGFILES" = x; then :
16172  DOXYGEN_TAGFILES=\"$mm_val\"
16173else
16174  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16175fi
16176fi
16177if test "x$ENABLE_DOCUMENTATION" != xno; then :
16178    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cairomm documentation" >&5
16179$as_echo_n "checking for cairomm documentation... " >&6; }
16180
16181# Check whether --with-cairomm-doc was given.
16182if test "${with_cairomm_doc+set}" = set; then :
16183  withval=$with_cairomm_doc;
16184    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16185    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16186    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16187    test "x$mm_tagname" != x || mm_tagname="cairomm-1.0.tag"
16188    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16189else
16190
16191    mm_htmlrefdir=
16192    mm_tagname="cairomm-1.0.tag"
16193    mm_tagpath=$mm_tagname
16194fi
16195
16196  # Prepend working direcory if the tag file path starts with ./ or ../
16197  case $mm_tagpath in #(
16198  .[\\/]*|..[\\/]*) :
16199    mm_tagpath=`pwd`/$mm_tagpath ;; #(
16200  *) :
16201     ;;
16202esac
16203
16204  # If no local directory was specified, get the default from the .pc file
16205  if test "x$mm_htmlrefdir" = x; then :
16206
16207    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "cairomm-1.0" 2>&5`
16208fi
16209  # If the user specified a Web URL, allow it to override the public location
16210  case $mm_htmlrefdir in #(
16211  http://*|https://*) :
16212    mm_htmlrefpub=$mm_htmlrefdir ;; #(
16213  *) :
16214
16215    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "cairomm-1.0" 2>&5`
16216    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16217    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16218   ;;
16219esac
16220  # The user-supplied tag-file name takes precedence if it includes the path
16221  case $mm_tagpath in #(
16222  *[\\/]*) :
16223     ;; #(
16224  *) :
16225
16226    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "cairomm-1.0" 2>&5`
16227    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16228   ;;
16229esac
16230  # Remove trailing slashes and translate to URI
16231  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16232  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16233
16234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16235$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16236
16237  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16238  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&5
16239$as_echo "$as_me: WARNING: Doxygen tag file cairomm-1.0.tag not found" >&2;}
16240fi
16241  if test "x$mm_htmlrefdir" = x; then :
16242  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external cairomm documentation not set" >&5
16243$as_echo "$as_me: WARNING: Location of external cairomm documentation not set" >&2;}
16244else
16245  if test "x$DOCINSTALL_FLAGS" = x; then :
16246  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16247else
16248  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16249fi
16250fi
16251
16252  if test "x$mm_htmlrefpub" = x; then :
16253  mm_val=$mm_tagpath
16254else
16255  mm_val="$mm_tagpath=$mm_htmlrefpub"
16256fi
16257  if test "x$DOXYGEN_TAGFILES" = x; then :
16258  DOXYGEN_TAGFILES=\"$mm_val\"
16259else
16260  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16261fi
16262fi
16263if test "x$ENABLE_DOCUMENTATION" != xno; then :
16264    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pangomm documentation" >&5
16265$as_echo_n "checking for pangomm documentation... " >&6; }
16266
16267# Check whether --with-pangomm-doc was given.
16268if test "${with_pangomm_doc+set}" = set; then :
16269  withval=$with_pangomm_doc;
16270    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16271    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16272    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16273    test "x$mm_tagname" != x || mm_tagname="pangomm-1.4.tag"
16274    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16275else
16276
16277    mm_htmlrefdir=
16278    mm_tagname="pangomm-1.4.tag"
16279    mm_tagpath=$mm_tagname
16280fi
16281
16282  # Prepend working direcory if the tag file path starts with ./ or ../
16283  case $mm_tagpath in #(
16284  .[\\/]*|..[\\/]*) :
16285    mm_tagpath=`pwd`/$mm_tagpath ;; #(
16286  *) :
16287     ;;
16288esac
16289
16290  # If no local directory was specified, get the default from the .pc file
16291  if test "x$mm_htmlrefdir" = x; then :
16292
16293    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "pangomm-1.4" 2>&5`
16294fi
16295  # If the user specified a Web URL, allow it to override the public location
16296  case $mm_htmlrefdir in #(
16297  http://*|https://*) :
16298    mm_htmlrefpub=$mm_htmlrefdir ;; #(
16299  *) :
16300
16301    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "pangomm-1.4" 2>&5`
16302    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16303    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16304   ;;
16305esac
16306  # The user-supplied tag-file name takes precedence if it includes the path
16307  case $mm_tagpath in #(
16308  *[\\/]*) :
16309     ;; #(
16310  *) :
16311
16312    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "pangomm-1.4" 2>&5`
16313    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16314   ;;
16315esac
16316  # Remove trailing slashes and translate to URI
16317  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16318  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16319
16320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16321$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16322
16323  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16324  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&5
16325$as_echo "$as_me: WARNING: Doxygen tag file pangomm-1.4.tag not found" >&2;}
16326fi
16327  if test "x$mm_htmlrefdir" = x; then :
16328  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external pangomm documentation not set" >&5
16329$as_echo "$as_me: WARNING: Location of external pangomm documentation not set" >&2;}
16330else
16331  if test "x$DOCINSTALL_FLAGS" = x; then :
16332  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16333else
16334  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16335fi
16336fi
16337
16338  if test "x$mm_htmlrefpub" = x; then :
16339  mm_val=$mm_tagpath
16340else
16341  mm_val="$mm_tagpath=$mm_htmlrefpub"
16342fi
16343  if test "x$DOXYGEN_TAGFILES" = x; then :
16344  DOXYGEN_TAGFILES=\"$mm_val\"
16345else
16346  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16347fi
16348fi
16349if test "x$ENABLE_DOCUMENTATION" != xno; then :
16350    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtkmm documentation" >&5
16351$as_echo_n "checking for gtkmm documentation... " >&6; }
16352
16353# Check whether --with-gtkmm-doc was given.
16354if test "${with_gtkmm_doc+set}" = set; then :
16355  withval=$with_gtkmm_doc;
16356    mm_htmlrefdir=`expr "X@$withval" : '.*@\(.*\)' 2>&5`
16357    mm_tagname=`expr "X/$withval" : '[^@]*[\\/]\([^\\/@]*\)@' 2>&5`
16358    mm_tagpath=`expr "X$withval" : 'X\([^@]*\)@' 2>&5`
16359    test "x$mm_tagname" != x || mm_tagname="gtkmm-3.0.tag"
16360    test "x$mm_tagpath" != x || mm_tagpath=$mm_tagname
16361else
16362
16363    mm_htmlrefdir=
16364    mm_tagname="gtkmm-3.0.tag"
16365    mm_tagpath=$mm_tagname
16366fi
16367
16368  # Prepend working direcory if the tag file path starts with ./ or ../
16369  case $mm_tagpath in #(
16370  .[\\/]*|..[\\/]*) :
16371    mm_tagpath=`pwd`/$mm_tagpath ;; #(
16372  *) :
16373     ;;
16374esac
16375
16376  # If no local directory was specified, get the default from the .pc file
16377  if test "x$mm_htmlrefdir" = x; then :
16378
16379    mm_htmlrefdir=`$PKG_CONFIG --variable=htmlrefdir "gtkmm-3.0" 2>&5`
16380fi
16381  # If the user specified a Web URL, allow it to override the public location
16382  case $mm_htmlrefdir in #(
16383  http://*|https://*) :
16384    mm_htmlrefpub=$mm_htmlrefdir ;; #(
16385  *) :
16386
16387    mm_htmlrefpub=`$PKG_CONFIG --variable=htmlrefpub "gtkmm-3.0" 2>&5`
16388    test "x$mm_htmlrefpub" != x || mm_htmlrefpub=$mm_htmlrefdir
16389    test "x$mm_htmlrefdir" != x || mm_htmlrefdir=$mm_htmlrefpub
16390   ;;
16391esac
16392  # The user-supplied tag-file name takes precedence if it includes the path
16393  case $mm_tagpath in #(
16394  *[\\/]*) :
16395     ;; #(
16396  *) :
16397
16398    mm_doxytagfile=`$PKG_CONFIG --variable=doxytagfile "gtkmm-3.0" 2>&5`
16399    test "x$mm_doxytagfile" = x || mm_tagpath=$mm_doxytagfile
16400   ;;
16401esac
16402  # Remove trailing slashes and translate to URI
16403  mm_htmlrefpub=`expr "X$mm_htmlrefpub" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16404  mm_htmlrefdir=`expr "X$mm_htmlrefdir" : 'X\(.*[^\\/]\)[\\/]*' 2>&5 | sed 's|[\\]|/|g;s| |%20|g;s|^/|file:///|;s|^.:/|file:///&|' 2>&5`
16405
16406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_tagpath@$mm_htmlrefdir" >&5
16407$as_echo "$mm_tagpath@$mm_htmlrefdir" >&6; }
16408
16409  if test "x$USE_MAINTAINER_MODE" != xno && test ! -f "$mm_tagpath"; then :
16410  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Doxygen tag file gtkmm-3.0.tag not found" >&5
16411$as_echo "$as_me: WARNING: Doxygen tag file gtkmm-3.0.tag not found" >&2;}
16412fi
16413  if test "x$mm_htmlrefdir" = x; then :
16414  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Location of external gtkmm documentation not set" >&5
16415$as_echo "$as_me: WARNING: Location of external gtkmm documentation not set" >&2;}
16416else
16417  if test "x$DOCINSTALL_FLAGS" = x; then :
16418  DOCINSTALL_FLAGS="-l '$mm_tagname@$mm_htmlrefdir/'"
16419else
16420  DOCINSTALL_FLAGS="$DOCINSTALL_FLAGS -l '$mm_tagname@$mm_htmlrefdir/'"
16421fi
16422fi
16423
16424  if test "x$mm_htmlrefpub" = x; then :
16425  mm_val=$mm_tagpath
16426else
16427  mm_val="$mm_tagpath=$mm_htmlrefpub"
16428fi
16429  if test "x$DOXYGEN_TAGFILES" = x; then :
16430  DOXYGEN_TAGFILES=\"$mm_val\"
16431else
16432  DOXYGEN_TAGFILES="$DOXYGEN_TAGFILES "\"$mm_val\"
16433fi
16434fi
16435
16436ac_ext=cpp
16437ac_cpp='$CXXCPP $CPPFLAGS'
16438ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16441
16442# Check whether --enable-warnings was given.
16443if test "${enable_warnings+set}" = set; then :
16444  enableval=$enable_warnings; mm_enable_warnings=$enableval
16445else
16446  mm_enable_warnings=min
16447fi
16448
16449case $ac_compile in #(
16450  *'$CXXFLAGS '*) :
16451    mm_lang='C++' mm_cc=$CXX mm_conftest="conftest.${ac_ext-cc}" ;; #(
16452  *'$CFLAGS '*) :
16453    mm_lang=C mm_cc=$CC mm_conftest="conftest.${ac_ext-c}" ;; #(
16454  *) :
16455    as_fn_error $? "current language is neither C nor C++" "$LINENO" 5 ;;
16456esac
16457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking which $mm_lang compiler warning flags to use" >&5
16458$as_echo_n "checking which $mm_lang compiler warning flags to use... " >&6; }
16459mm_deprecation_flags=
16460mm_tested_flags=
16461case $mm_enable_warnings in #(
16462  no) :
16463    mm_warning_flags= ;; #(
16464  max) :
16465    mm_warning_flags="-pedantic -Wall -Wextra  -Wno-long-long -DGSEAL_ENABLE" ;; #(
16466  fatal) :
16467    mm_warning_flags="-pedantic -Wall -Wextra  -Wno-long-long -DGSEAL_ENABLE -Werror"
16468         for mm_prefix in G PANGO ATK GDK GDK_PIXBUF GTK GLIBMM ATKMM PANGOMM CAIROMM
16469         do
16470           mm_deprecation_flags="$mm_deprecation_flags-D${mm_prefix}_DISABLE_DEPRECATED "
16471         done ;; #(
16472  *) :
16473    mm_warning_flags="-Wall" ;;
16474esac
16475if test "x$mm_warning_flags" != x; then :
16476
16477  # Keep in mind that the dummy source must be devoid of any
16478  # problems that might cause diagnostics.
16479  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16480/* end confdefs.h.  */
16481
16482int main(int argc, char** argv) { return (argv != 0) ? argc : 0; }
16483
16484_ACEOF
16485  for mm_flag in $mm_warning_flags
16486  do
16487    # Test whether the compiler accepts the flag.  Look at standard output,
16488    # since GCC only shows a warning message if an option is not supported.
16489    mm_cc_out=`$mm_cc $mm_tested_flags $mm_flag -c "$mm_conftest" 2>&1 || echo failed`
16490    rm -f "conftest.${OBJEXT-o}"
16491
16492    if test "x$mm_cc_out" = x; then :
16493  if test "x$mm_tested_flags" = x; then :
16494  mm_tested_flags=$mm_flag
16495else
16496  mm_tested_flags="$mm_tested_flags $mm_flag"
16497fi
16498else
16499  cat <<_MMEOF >&5
16500$mm_cc: $mm_cc_out
16501_MMEOF
16502
16503fi
16504  done
16505  rm -f "$mm_conftest"
16506
16507fi
16508mm_all_flags=$mm_deprecation_flags$mm_tested_flags
16509GOOCANVASMM_WXXFLAGS=$mm_all_flags
16510
16511test "x$mm_all_flags" != x || mm_all_flags=none
16512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $mm_all_flags" >&5
16513$as_echo "$mm_all_flags" >&6; }
16514
16515ac_config_files="$ac_config_files Makefile codegen/Makefile goocanvas/${GOOCANVASMM_MODULE_NAME}.pc:goocanvas/goocanvasmm.pc.in goocanvas/${GOOCANVASMM_MODULE_NAME}-uninstalled.pc:goocanvas/goocanvasmm-uninstalled.pc.in goocanvas/src/Makefile goocanvas/goocanvasmm/Makefile examples/Makefile tests/Makefile doc/Makefile doc/reference/Doxyfile"
16516
16517cat >confcache <<\_ACEOF
16518# This file is a shell script that caches the results of configure
16519# tests run on this system so they can be shared between configure
16520# scripts and configure runs, see configure's option --config-cache.
16521# It is not useful on other systems.  If it contains results you don't
16522# want to keep, you may remove or edit it.
16523#
16524# config.status only pays attention to the cache file if you give it
16525# the --recheck option to rerun configure.
16526#
16527# `ac_cv_env_foo' variables (set or unset) will be overridden when
16528# loading this file, other *unset* `ac_cv_foo' will be assigned the
16529# following values.
16530
16531_ACEOF
16532
16533# The following way of writing the cache mishandles newlines in values,
16534# but we know of no workaround that is simple, portable, and efficient.
16535# So, we kill variables containing newlines.
16536# Ultrix sh set writes to stderr and can't be redirected directly,
16537# and sets the high bit in the cache file unless we assign to the vars.
16538(
16539  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16540    eval ac_val=\$$ac_var
16541    case $ac_val in #(
16542    *${as_nl}*)
16543      case $ac_var in #(
16544      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16545$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16546      esac
16547      case $ac_var in #(
16548      _ | IFS | as_nl) ;; #(
16549      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16550      *) { eval $ac_var=; unset $ac_var;} ;;
16551      esac ;;
16552    esac
16553  done
16554
16555  (set) 2>&1 |
16556    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16557    *${as_nl}ac_space=\ *)
16558      # `set' does not quote correctly, so add quotes: double-quote
16559      # substitution turns \\\\ into \\, and sed turns \\ into \.
16560      sed -n \
16561	"s/'/'\\\\''/g;
16562	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16563      ;; #(
16564    *)
16565      # `set' quotes correctly as required by POSIX, so do not add quotes.
16566      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16567      ;;
16568    esac |
16569    sort
16570) |
16571  sed '
16572     /^ac_cv_env_/b end
16573     t clear
16574     :clear
16575     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16576     t end
16577     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16578     :end' >>confcache
16579if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16580  if test -w "$cache_file"; then
16581    if test "x$cache_file" != "x/dev/null"; then
16582      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16583$as_echo "$as_me: updating cache $cache_file" >&6;}
16584      if test ! -f "$cache_file" || test -h "$cache_file"; then
16585	cat confcache >"$cache_file"
16586      else
16587        case $cache_file in #(
16588        */* | ?:*)
16589	  mv -f confcache "$cache_file"$$ &&
16590	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16591        *)
16592	  mv -f confcache "$cache_file" ;;
16593	esac
16594      fi
16595    fi
16596  else
16597    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16598$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16599  fi
16600fi
16601rm -f confcache
16602
16603test "x$prefix" = xNONE && prefix=$ac_default_prefix
16604# Let make expand exec_prefix.
16605test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16606
16607DEFS=-DHAVE_CONFIG_H
16608
16609ac_libobjs=
16610ac_ltlibobjs=
16611U=
16612for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16613  # 1. Remove the extension, and $U if already installed.
16614  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16615  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16616  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16617  #    will be set to the directory where LIBOBJS objects are built.
16618  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16619  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16620done
16621LIBOBJS=$ac_libobjs
16622
16623LTLIBOBJS=$ac_ltlibobjs
16624
16625
16626 if test -n "$EXEEXT"; then
16627  am__EXEEXT_TRUE=
16628  am__EXEEXT_FALSE='#'
16629else
16630  am__EXEEXT_TRUE='#'
16631  am__EXEEXT_FALSE=
16632fi
16633
16634if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16635  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16636Usually this means the macro was only invoked conditionally." "$LINENO" 5
16637fi
16638if test -z "${DIST_DOCTOOLS_TRUE}" && test -z "${DIST_DOCTOOLS_FALSE}"; then
16639  as_fn_error $? "conditional \"DIST_DOCTOOLS\" was never defined.
16640Usually this means the macro was only invoked conditionally." "$LINENO" 5
16641fi
16642if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16643  as_fn_error $? "conditional \"AMDEP\" was never defined.
16644Usually this means the macro was only invoked conditionally." "$LINENO" 5
16645fi
16646if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
16647  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
16648Usually this means the macro was only invoked conditionally." "$LINENO" 5
16649fi
16650if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16651  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16652Usually this means the macro was only invoked conditionally." "$LINENO" 5
16653fi
16654if test -z "${ENABLE_DOCUMENTATION_TRUE}" && test -z "${ENABLE_DOCUMENTATION_FALSE}"; then
16655  as_fn_error $? "conditional \"ENABLE_DOCUMENTATION\" was never defined.
16656Usually this means the macro was only invoked conditionally." "$LINENO" 5
16657fi
16658
16659: "${CONFIG_STATUS=./config.status}"
16660ac_write_fail=0
16661ac_clean_files_save=$ac_clean_files
16662ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16663{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16664$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16665as_write_fail=0
16666cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16667#! $SHELL
16668# Generated by $as_me.
16669# Run this file to recreate the current configuration.
16670# Compiler output produced by configure, useful for debugging
16671# configure, is in config.log if it exists.
16672
16673debug=false
16674ac_cs_recheck=false
16675ac_cs_silent=false
16676
16677SHELL=\${CONFIG_SHELL-$SHELL}
16678export SHELL
16679_ASEOF
16680cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16681## -------------------- ##
16682## M4sh Initialization. ##
16683## -------------------- ##
16684
16685# Be more Bourne compatible
16686DUALCASE=1; export DUALCASE # for MKS sh
16687if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16688  emulate sh
16689  NULLCMD=:
16690  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16691  # is contrary to our usage.  Disable this feature.
16692  alias -g '${1+"$@"}'='"$@"'
16693  setopt NO_GLOB_SUBST
16694else
16695  case `(set -o) 2>/dev/null` in #(
16696  *posix*) :
16697    set -o posix ;; #(
16698  *) :
16699     ;;
16700esac
16701fi
16702
16703
16704as_nl='
16705'
16706export as_nl
16707# Printing a long string crashes Solaris 7 /usr/bin/printf.
16708as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16709as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16710as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16711# Prefer a ksh shell builtin over an external printf program on Solaris,
16712# but without wasting forks for bash or zsh.
16713if test -z "$BASH_VERSION$ZSH_VERSION" \
16714    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16715  as_echo='print -r --'
16716  as_echo_n='print -rn --'
16717elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16718  as_echo='printf %s\n'
16719  as_echo_n='printf %s'
16720else
16721  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16722    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16723    as_echo_n='/usr/ucb/echo -n'
16724  else
16725    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16726    as_echo_n_body='eval
16727      arg=$1;
16728      case $arg in #(
16729      *"$as_nl"*)
16730	expr "X$arg" : "X\\(.*\\)$as_nl";
16731	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16732      esac;
16733      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16734    '
16735    export as_echo_n_body
16736    as_echo_n='sh -c $as_echo_n_body as_echo'
16737  fi
16738  export as_echo_body
16739  as_echo='sh -c $as_echo_body as_echo'
16740fi
16741
16742# The user is always right.
16743if test "${PATH_SEPARATOR+set}" != set; then
16744  PATH_SEPARATOR=:
16745  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16746    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16747      PATH_SEPARATOR=';'
16748  }
16749fi
16750
16751
16752# IFS
16753# We need space, tab and new line, in precisely that order.  Quoting is
16754# there to prevent editors from complaining about space-tab.
16755# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16756# splitting by setting IFS to empty value.)
16757IFS=" ""	$as_nl"
16758
16759# Find who we are.  Look in the path if we contain no directory separator.
16760as_myself=
16761case $0 in #((
16762  *[\\/]* ) as_myself=$0 ;;
16763  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16764for as_dir in $PATH
16765do
16766  IFS=$as_save_IFS
16767  test -z "$as_dir" && as_dir=.
16768    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16769  done
16770IFS=$as_save_IFS
16771
16772     ;;
16773esac
16774# We did not find ourselves, most probably we were run as `sh COMMAND'
16775# in which case we are not to be found in the path.
16776if test "x$as_myself" = x; then
16777  as_myself=$0
16778fi
16779if test ! -f "$as_myself"; then
16780  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16781  exit 1
16782fi
16783
16784# Unset variables that we do not need and which cause bugs (e.g. in
16785# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16786# suppresses any "Segmentation fault" message there.  '((' could
16787# trigger a bug in pdksh 5.2.14.
16788for as_var in BASH_ENV ENV MAIL MAILPATH
16789do eval test x\${$as_var+set} = xset \
16790  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16791done
16792PS1='$ '
16793PS2='> '
16794PS4='+ '
16795
16796# NLS nuisances.
16797LC_ALL=C
16798export LC_ALL
16799LANGUAGE=C
16800export LANGUAGE
16801
16802# CDPATH.
16803(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16804
16805
16806# as_fn_error STATUS ERROR [LINENO LOG_FD]
16807# ----------------------------------------
16808# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16809# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16810# script with STATUS, using 1 if that was 0.
16811as_fn_error ()
16812{
16813  as_status=$1; test $as_status -eq 0 && as_status=1
16814  if test "$4"; then
16815    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16816    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16817  fi
16818  $as_echo "$as_me: error: $2" >&2
16819  as_fn_exit $as_status
16820} # as_fn_error
16821
16822
16823# as_fn_set_status STATUS
16824# -----------------------
16825# Set $? to STATUS, without forking.
16826as_fn_set_status ()
16827{
16828  return $1
16829} # as_fn_set_status
16830
16831# as_fn_exit STATUS
16832# -----------------
16833# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16834as_fn_exit ()
16835{
16836  set +e
16837  as_fn_set_status $1
16838  exit $1
16839} # as_fn_exit
16840
16841# as_fn_unset VAR
16842# ---------------
16843# Portably unset VAR.
16844as_fn_unset ()
16845{
16846  { eval $1=; unset $1;}
16847}
16848as_unset=as_fn_unset
16849# as_fn_append VAR VALUE
16850# ----------------------
16851# Append the text in VALUE to the end of the definition contained in VAR. Take
16852# advantage of any shell optimizations that allow amortized linear growth over
16853# repeated appends, instead of the typical quadratic growth present in naive
16854# implementations.
16855if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16856  eval 'as_fn_append ()
16857  {
16858    eval $1+=\$2
16859  }'
16860else
16861  as_fn_append ()
16862  {
16863    eval $1=\$$1\$2
16864  }
16865fi # as_fn_append
16866
16867# as_fn_arith ARG...
16868# ------------------
16869# Perform arithmetic evaluation on the ARGs, and store the result in the
16870# global $as_val. Take advantage of shells that can avoid forks. The arguments
16871# must be portable across $(()) and expr.
16872if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16873  eval 'as_fn_arith ()
16874  {
16875    as_val=$(( $* ))
16876  }'
16877else
16878  as_fn_arith ()
16879  {
16880    as_val=`expr "$@" || test $? -eq 1`
16881  }
16882fi # as_fn_arith
16883
16884
16885if expr a : '\(a\)' >/dev/null 2>&1 &&
16886   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16887  as_expr=expr
16888else
16889  as_expr=false
16890fi
16891
16892if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16893  as_basename=basename
16894else
16895  as_basename=false
16896fi
16897
16898if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16899  as_dirname=dirname
16900else
16901  as_dirname=false
16902fi
16903
16904as_me=`$as_basename -- "$0" ||
16905$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16906	 X"$0" : 'X\(//\)$' \| \
16907	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16908$as_echo X/"$0" |
16909    sed '/^.*\/\([^/][^/]*\)\/*$/{
16910	    s//\1/
16911	    q
16912	  }
16913	  /^X\/\(\/\/\)$/{
16914	    s//\1/
16915	    q
16916	  }
16917	  /^X\/\(\/\).*/{
16918	    s//\1/
16919	    q
16920	  }
16921	  s/.*/./; q'`
16922
16923# Avoid depending upon Character Ranges.
16924as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16925as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16926as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16927as_cr_digits='0123456789'
16928as_cr_alnum=$as_cr_Letters$as_cr_digits
16929
16930ECHO_C= ECHO_N= ECHO_T=
16931case `echo -n x` in #(((((
16932-n*)
16933  case `echo 'xy\c'` in
16934  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16935  xy)  ECHO_C='\c';;
16936  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16937       ECHO_T='	';;
16938  esac;;
16939*)
16940  ECHO_N='-n';;
16941esac
16942
16943rm -f conf$$ conf$$.exe conf$$.file
16944if test -d conf$$.dir; then
16945  rm -f conf$$.dir/conf$$.file
16946else
16947  rm -f conf$$.dir
16948  mkdir conf$$.dir 2>/dev/null
16949fi
16950if (echo >conf$$.file) 2>/dev/null; then
16951  if ln -s conf$$.file conf$$ 2>/dev/null; then
16952    as_ln_s='ln -s'
16953    # ... but there are two gotchas:
16954    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16955    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16956    # In both cases, we have to default to `cp -pR'.
16957    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16958      as_ln_s='cp -pR'
16959  elif ln conf$$.file conf$$ 2>/dev/null; then
16960    as_ln_s=ln
16961  else
16962    as_ln_s='cp -pR'
16963  fi
16964else
16965  as_ln_s='cp -pR'
16966fi
16967rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16968rmdir conf$$.dir 2>/dev/null
16969
16970
16971# as_fn_mkdir_p
16972# -------------
16973# Create "$as_dir" as a directory, including parents if necessary.
16974as_fn_mkdir_p ()
16975{
16976
16977  case $as_dir in #(
16978  -*) as_dir=./$as_dir;;
16979  esac
16980  test -d "$as_dir" || eval $as_mkdir_p || {
16981    as_dirs=
16982    while :; do
16983      case $as_dir in #(
16984      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16985      *) as_qdir=$as_dir;;
16986      esac
16987      as_dirs="'$as_qdir' $as_dirs"
16988      as_dir=`$as_dirname -- "$as_dir" ||
16989$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16990	 X"$as_dir" : 'X\(//\)[^/]' \| \
16991	 X"$as_dir" : 'X\(//\)$' \| \
16992	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16993$as_echo X"$as_dir" |
16994    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16995	    s//\1/
16996	    q
16997	  }
16998	  /^X\(\/\/\)[^/].*/{
16999	    s//\1/
17000	    q
17001	  }
17002	  /^X\(\/\/\)$/{
17003	    s//\1/
17004	    q
17005	  }
17006	  /^X\(\/\).*/{
17007	    s//\1/
17008	    q
17009	  }
17010	  s/.*/./; q'`
17011      test -d "$as_dir" && break
17012    done
17013    test -z "$as_dirs" || eval "mkdir $as_dirs"
17014  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17015
17016
17017} # as_fn_mkdir_p
17018if mkdir -p . 2>/dev/null; then
17019  as_mkdir_p='mkdir -p "$as_dir"'
17020else
17021  test -d ./-p && rmdir ./-p
17022  as_mkdir_p=false
17023fi
17024
17025
17026# as_fn_executable_p FILE
17027# -----------------------
17028# Test if FILE is an executable regular file.
17029as_fn_executable_p ()
17030{
17031  test -f "$1" && test -x "$1"
17032} # as_fn_executable_p
17033as_test_x='test -x'
17034as_executable_p=as_fn_executable_p
17035
17036# Sed expression to map a string onto a valid CPP name.
17037as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17038
17039# Sed expression to map a string onto a valid variable name.
17040as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17041
17042
17043exec 6>&1
17044## ----------------------------------- ##
17045## Main body of $CONFIG_STATUS script. ##
17046## ----------------------------------- ##
17047_ASEOF
17048test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17049
17050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17051# Save the log message, to keep $0 and so on meaningful, and to
17052# report actual input values of CONFIG_FILES etc. instead of their
17053# values after options handling.
17054ac_log="
17055This file was extended by goocanvasmm $as_me 1.90.9, which was
17056generated by GNU Autoconf 2.69.  Invocation command line was
17057
17058  CONFIG_FILES    = $CONFIG_FILES
17059  CONFIG_HEADERS  = $CONFIG_HEADERS
17060  CONFIG_LINKS    = $CONFIG_LINKS
17061  CONFIG_COMMANDS = $CONFIG_COMMANDS
17062  $ $0 $@
17063
17064on `(hostname || uname -n) 2>/dev/null | sed 1q`
17065"
17066
17067_ACEOF
17068
17069case $ac_config_files in *"
17070"*) set x $ac_config_files; shift; ac_config_files=$*;;
17071esac
17072
17073case $ac_config_headers in *"
17074"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17075esac
17076
17077
17078cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17079# Files that config.status was made for.
17080config_files="$ac_config_files"
17081config_headers="$ac_config_headers"
17082config_commands="$ac_config_commands"
17083
17084_ACEOF
17085
17086cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17087ac_cs_usage="\
17088\`$as_me' instantiates files and other configuration actions
17089from templates according to the current configuration.  Unless the files
17090and actions are specified as TAGs, all are instantiated by default.
17091
17092Usage: $0 [OPTION]... [TAG]...
17093
17094  -h, --help       print this help, then exit
17095  -V, --version    print version number and configuration settings, then exit
17096      --config     print configuration, then exit
17097  -q, --quiet, --silent
17098                   do not print progress messages
17099  -d, --debug      don't remove temporary files
17100      --recheck    update $as_me by reconfiguring in the same conditions
17101      --file=FILE[:TEMPLATE]
17102                   instantiate the configuration file FILE
17103      --header=FILE[:TEMPLATE]
17104                   instantiate the configuration header FILE
17105
17106Configuration files:
17107$config_files
17108
17109Configuration headers:
17110$config_headers
17111
17112Configuration commands:
17113$config_commands
17114
17115Report bugs to <http://bugzilla.gnome.org/>.
17116goocanvasmm home page: <http://www.gtkmm.org/>."
17117
17118_ACEOF
17119cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17120ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17121ac_cs_version="\\
17122goocanvasmm config.status 1.90.9
17123configured by $0, generated by GNU Autoconf 2.69,
17124  with options \\"\$ac_cs_config\\"
17125
17126Copyright (C) 2012 Free Software Foundation, Inc.
17127This config.status script is free software; the Free Software Foundation
17128gives unlimited permission to copy, distribute and modify it."
17129
17130ac_pwd='$ac_pwd'
17131srcdir='$srcdir'
17132INSTALL='$INSTALL'
17133MKDIR_P='$MKDIR_P'
17134AWK='$AWK'
17135test -n "\$AWK" || AWK=awk
17136_ACEOF
17137
17138cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17139# The default lists apply if the user does not specify any file.
17140ac_need_defaults=:
17141while test $# != 0
17142do
17143  case $1 in
17144  --*=?*)
17145    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17146    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17147    ac_shift=:
17148    ;;
17149  --*=)
17150    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17151    ac_optarg=
17152    ac_shift=:
17153    ;;
17154  *)
17155    ac_option=$1
17156    ac_optarg=$2
17157    ac_shift=shift
17158    ;;
17159  esac
17160
17161  case $ac_option in
17162  # Handling of the options.
17163  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17164    ac_cs_recheck=: ;;
17165  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17166    $as_echo "$ac_cs_version"; exit ;;
17167  --config | --confi | --conf | --con | --co | --c )
17168    $as_echo "$ac_cs_config"; exit ;;
17169  --debug | --debu | --deb | --de | --d | -d )
17170    debug=: ;;
17171  --file | --fil | --fi | --f )
17172    $ac_shift
17173    case $ac_optarg in
17174    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17175    '') as_fn_error $? "missing file argument" ;;
17176    esac
17177    as_fn_append CONFIG_FILES " '$ac_optarg'"
17178    ac_need_defaults=false;;
17179  --header | --heade | --head | --hea )
17180    $ac_shift
17181    case $ac_optarg in
17182    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17183    esac
17184    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17185    ac_need_defaults=false;;
17186  --he | --h)
17187    # Conflict between --help and --header
17188    as_fn_error $? "ambiguous option: \`$1'
17189Try \`$0 --help' for more information.";;
17190  --help | --hel | -h )
17191    $as_echo "$ac_cs_usage"; exit ;;
17192  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17193  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17194    ac_cs_silent=: ;;
17195
17196  # This is an error.
17197  -*) as_fn_error $? "unrecognized option: \`$1'
17198Try \`$0 --help' for more information." ;;
17199
17200  *) as_fn_append ac_config_targets " $1"
17201     ac_need_defaults=false ;;
17202
17203  esac
17204  shift
17205done
17206
17207ac_configure_extra_args=
17208
17209if $ac_cs_silent; then
17210  exec 6>/dev/null
17211  ac_configure_extra_args="$ac_configure_extra_args --silent"
17212fi
17213
17214_ACEOF
17215cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17216if \$ac_cs_recheck; then
17217  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17218  shift
17219  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17220  CONFIG_SHELL='$SHELL'
17221  export CONFIG_SHELL
17222  exec "\$@"
17223fi
17224
17225_ACEOF
17226cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17227exec 5>>config.log
17228{
17229  echo
17230  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17231## Running $as_me. ##
17232_ASBOX
17233  $as_echo "$ac_log"
17234} >&5
17235
17236_ACEOF
17237cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17238#
17239# INIT-COMMANDS
17240#
17241AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17242
17243
17244# The HP-UX ksh and POSIX shell print the target directory to stdout
17245# if CDPATH is set.
17246(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17247
17248sed_quote_subst='$sed_quote_subst'
17249double_quote_subst='$double_quote_subst'
17250delay_variable_subst='$delay_variable_subst'
17251enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17252AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
17253DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17254OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17255macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17256macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17257enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17258pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17259enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17260SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17261ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17262PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17263host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17264host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17265host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17266build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17267build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17268build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17269SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17270Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17271GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17272EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17273FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17274LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17275NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17276LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17277max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17278ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17279exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17280lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17281lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17282lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17283lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17284lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17285reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17286reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17287deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17288file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17289file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17290want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17291sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17292AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17293AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17294archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17295STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17296RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17297old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17298old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17299old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17300lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17301CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17302CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17303compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17304GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17305lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17306lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17307lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17308lt_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"`'
17309nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17310lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17311objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17312MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17313lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17314lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17315lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17316lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17317lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17318need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17319MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17320DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17321NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17322LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17323OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17324OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17325libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17326shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17327extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17328archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17329enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17330export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17331whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17332compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17333old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17334old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17335archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17336archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17337module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17338module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17339with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17340allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17341no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17342hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17343hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17344hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17345hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17346hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17347hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17348hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17349inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17350link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17351always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17352export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17353exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17354include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17355prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17356postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17357file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17358variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17359need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17360need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17361version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17362runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17363shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17364shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17365libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17366library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17367soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17368install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17369postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17370postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17371finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17372finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17373hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17374sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17375sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17376hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17377enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17378enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17379enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17380old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17381striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17382compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
17383predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
17384postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
17385predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
17386postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
17387compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
17388LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
17389reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
17390reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17391old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17392compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
17393GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
17394lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
17395lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
17396lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
17397lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
17398lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
17399archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
17400enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
17401export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17402whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17403compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
17404old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17405old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17406archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17407archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17408module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17409module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17410with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
17411allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17412no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
17413hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
17414hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
17415hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
17416hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
17417hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
17418hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
17419hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
17420inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
17421link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
17422always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
17423export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17424exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17425include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
17426prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17427postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
17428file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
17429hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
17430compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
17431predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17432postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
17433predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
17434postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
17435compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
17436
17437LTCC='$LTCC'
17438LTCFLAGS='$LTCFLAGS'
17439compiler='$compiler_DEFAULT'
17440
17441# A function that is used when there is no print builtin or printf.
17442func_fallback_echo ()
17443{
17444  eval 'cat <<_LTECHO_EOF
17445\$1
17446_LTECHO_EOF'
17447}
17448
17449# Quote evaled strings.
17450for var in AS \
17451DLLTOOL \
17452OBJDUMP \
17453SHELL \
17454ECHO \
17455PATH_SEPARATOR \
17456SED \
17457GREP \
17458EGREP \
17459FGREP \
17460LD \
17461NM \
17462LN_S \
17463lt_SP2NL \
17464lt_NL2SP \
17465reload_flag \
17466deplibs_check_method \
17467file_magic_cmd \
17468file_magic_glob \
17469want_nocaseglob \
17470sharedlib_from_linklib_cmd \
17471AR \
17472AR_FLAGS \
17473archiver_list_spec \
17474STRIP \
17475RANLIB \
17476CC \
17477CFLAGS \
17478compiler \
17479lt_cv_sys_global_symbol_pipe \
17480lt_cv_sys_global_symbol_to_cdecl \
17481lt_cv_sys_global_symbol_to_c_name_address \
17482lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17483nm_file_list_spec \
17484lt_prog_compiler_no_builtin_flag \
17485lt_prog_compiler_pic \
17486lt_prog_compiler_wl \
17487lt_prog_compiler_static \
17488lt_cv_prog_compiler_c_o \
17489need_locks \
17490MANIFEST_TOOL \
17491DSYMUTIL \
17492NMEDIT \
17493LIPO \
17494OTOOL \
17495OTOOL64 \
17496shrext_cmds \
17497export_dynamic_flag_spec \
17498whole_archive_flag_spec \
17499compiler_needs_object \
17500with_gnu_ld \
17501allow_undefined_flag \
17502no_undefined_flag \
17503hardcode_libdir_flag_spec \
17504hardcode_libdir_separator \
17505exclude_expsyms \
17506include_expsyms \
17507file_list_spec \
17508variables_saved_for_relink \
17509libname_spec \
17510library_names_spec \
17511soname_spec \
17512install_override_mode \
17513finish_eval \
17514old_striplib \
17515striplib \
17516compiler_lib_search_dirs \
17517predep_objects \
17518postdep_objects \
17519predeps \
17520postdeps \
17521compiler_lib_search_path \
17522LD_CXX \
17523reload_flag_CXX \
17524compiler_CXX \
17525lt_prog_compiler_no_builtin_flag_CXX \
17526lt_prog_compiler_pic_CXX \
17527lt_prog_compiler_wl_CXX \
17528lt_prog_compiler_static_CXX \
17529lt_cv_prog_compiler_c_o_CXX \
17530export_dynamic_flag_spec_CXX \
17531whole_archive_flag_spec_CXX \
17532compiler_needs_object_CXX \
17533with_gnu_ld_CXX \
17534allow_undefined_flag_CXX \
17535no_undefined_flag_CXX \
17536hardcode_libdir_flag_spec_CXX \
17537hardcode_libdir_separator_CXX \
17538exclude_expsyms_CXX \
17539include_expsyms_CXX \
17540file_list_spec_CXX \
17541compiler_lib_search_dirs_CXX \
17542predep_objects_CXX \
17543postdep_objects_CXX \
17544predeps_CXX \
17545postdeps_CXX \
17546compiler_lib_search_path_CXX; do
17547    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17548    *[\\\\\\\`\\"\\\$]*)
17549      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17550      ;;
17551    *)
17552      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17553      ;;
17554    esac
17555done
17556
17557# Double-quote double-evaled strings.
17558for var in reload_cmds \
17559old_postinstall_cmds \
17560old_postuninstall_cmds \
17561old_archive_cmds \
17562extract_expsyms_cmds \
17563old_archive_from_new_cmds \
17564old_archive_from_expsyms_cmds \
17565archive_cmds \
17566archive_expsym_cmds \
17567module_cmds \
17568module_expsym_cmds \
17569export_symbols_cmds \
17570prelink_cmds \
17571postlink_cmds \
17572postinstall_cmds \
17573postuninstall_cmds \
17574finish_cmds \
17575sys_lib_search_path_spec \
17576sys_lib_dlsearch_path_spec \
17577reload_cmds_CXX \
17578old_archive_cmds_CXX \
17579old_archive_from_new_cmds_CXX \
17580old_archive_from_expsyms_cmds_CXX \
17581archive_cmds_CXX \
17582archive_expsym_cmds_CXX \
17583module_cmds_CXX \
17584module_expsym_cmds_CXX \
17585export_symbols_cmds_CXX \
17586prelink_cmds_CXX \
17587postlink_cmds_CXX; do
17588    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17589    *[\\\\\\\`\\"\\\$]*)
17590      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17591      ;;
17592    *)
17593      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17594      ;;
17595    esac
17596done
17597
17598ac_aux_dir='$ac_aux_dir'
17599xsi_shell='$xsi_shell'
17600lt_shell_append='$lt_shell_append'
17601
17602# See if we are running on zsh, and set the options which allow our
17603# commands through without removal of \ escapes INIT.
17604if test -n "\${ZSH_VERSION+set}" ; then
17605   setopt NO_GLOB_SUBST
17606fi
17607
17608
17609    PACKAGE='$PACKAGE'
17610    VERSION='$VERSION'
17611    TIMESTAMP='$TIMESTAMP'
17612    RM='$RM'
17613    ofile='$ofile'
17614
17615
17616
17617
17618
17619
17620_ACEOF
17621
17622cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17623
17624# Handling of arguments.
17625for ac_config_target in $ac_config_targets
17626do
17627  case $ac_config_target in
17628    "build/config.h") CONFIG_HEADERS="$CONFIG_HEADERS build/config.h" ;;
17629    "goocanvas/goocanvasmmconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS goocanvas/goocanvasmmconfig.h" ;;
17630    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17631    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17632    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17633    "codegen/Makefile") CONFIG_FILES="$CONFIG_FILES codegen/Makefile" ;;
17634    "goocanvas/${GOOCANVASMM_MODULE_NAME}.pc") CONFIG_FILES="$CONFIG_FILES goocanvas/${GOOCANVASMM_MODULE_NAME}.pc:goocanvas/goocanvasmm.pc.in" ;;
17635    "goocanvas/${GOOCANVASMM_MODULE_NAME}-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES goocanvas/${GOOCANVASMM_MODULE_NAME}-uninstalled.pc:goocanvas/goocanvasmm-uninstalled.pc.in" ;;
17636    "goocanvas/src/Makefile") CONFIG_FILES="$CONFIG_FILES goocanvas/src/Makefile" ;;
17637    "goocanvas/goocanvasmm/Makefile") CONFIG_FILES="$CONFIG_FILES goocanvas/goocanvasmm/Makefile" ;;
17638    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
17639    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
17640    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
17641    "doc/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/reference/Doxyfile" ;;
17642
17643  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17644  esac
17645done
17646
17647
17648# If the user did not use the arguments to specify the items to instantiate,
17649# then the envvar interface is used.  Set only those that are not.
17650# We use the long form for the default assignment because of an extremely
17651# bizarre bug on SunOS 4.1.3.
17652if $ac_need_defaults; then
17653  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17654  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17655  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17656fi
17657
17658# Have a temporary directory for convenience.  Make it in the build tree
17659# simply because there is no reason against having it here, and in addition,
17660# creating and moving files from /tmp can sometimes cause problems.
17661# Hook for its removal unless debugging.
17662# Note that there is a small window in which the directory will not be cleaned:
17663# after its creation but before its name has been assigned to `$tmp'.
17664$debug ||
17665{
17666  tmp= ac_tmp=
17667  trap 'exit_status=$?
17668  : "${ac_tmp:=$tmp}"
17669  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17670' 0
17671  trap 'as_fn_exit 1' 1 2 13 15
17672}
17673# Create a (secure) tmp directory for tmp files.
17674
17675{
17676  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17677  test -d "$tmp"
17678}  ||
17679{
17680  tmp=./conf$$-$RANDOM
17681  (umask 077 && mkdir "$tmp")
17682} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17683ac_tmp=$tmp
17684
17685# Set up the scripts for CONFIG_FILES section.
17686# No need to generate them if there are no CONFIG_FILES.
17687# This happens for instance with `./config.status config.h'.
17688if test -n "$CONFIG_FILES"; then
17689
17690
17691ac_cr=`echo X | tr X '\015'`
17692# On cygwin, bash can eat \r inside `` if the user requested igncr.
17693# But we know of no other shell where ac_cr would be empty at this
17694# point, so we can use a bashism as a fallback.
17695if test "x$ac_cr" = x; then
17696  eval ac_cr=\$\'\\r\'
17697fi
17698ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17699if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17700  ac_cs_awk_cr='\\r'
17701else
17702  ac_cs_awk_cr=$ac_cr
17703fi
17704
17705echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17706_ACEOF
17707
17708
17709{
17710  echo "cat >conf$$subs.awk <<_ACEOF" &&
17711  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17712  echo "_ACEOF"
17713} >conf$$subs.sh ||
17714  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17715ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17716ac_delim='%!_!# '
17717for ac_last_try in false false false false false :; do
17718  . ./conf$$subs.sh ||
17719    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17720
17721  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17722  if test $ac_delim_n = $ac_delim_num; then
17723    break
17724  elif $ac_last_try; then
17725    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17726  else
17727    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17728  fi
17729done
17730rm -f conf$$subs.sh
17731
17732cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17733cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17734_ACEOF
17735sed -n '
17736h
17737s/^/S["/; s/!.*/"]=/
17738p
17739g
17740s/^[^!]*!//
17741:repl
17742t repl
17743s/'"$ac_delim"'$//
17744t delim
17745:nl
17746h
17747s/\(.\{148\}\)..*/\1/
17748t more1
17749s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17750p
17751n
17752b repl
17753:more1
17754s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17755p
17756g
17757s/.\{148\}//
17758t nl
17759:delim
17760h
17761s/\(.\{148\}\)..*/\1/
17762t more2
17763s/["\\]/\\&/g; s/^/"/; s/$/"/
17764p
17765b
17766:more2
17767s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17768p
17769g
17770s/.\{148\}//
17771t delim
17772' <conf$$subs.awk | sed '
17773/^[^""]/{
17774  N
17775  s/\n//
17776}
17777' >>$CONFIG_STATUS || ac_write_fail=1
17778rm -f conf$$subs.awk
17779cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17780_ACAWK
17781cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17782  for (key in S) S_is_set[key] = 1
17783  FS = ""
17784
17785}
17786{
17787  line = $ 0
17788  nfields = split(line, field, "@")
17789  substed = 0
17790  len = length(field[1])
17791  for (i = 2; i < nfields; i++) {
17792    key = field[i]
17793    keylen = length(key)
17794    if (S_is_set[key]) {
17795      value = S[key]
17796      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17797      len += length(value) + length(field[++i])
17798      substed = 1
17799    } else
17800      len += 1 + keylen
17801  }
17802
17803  print line
17804}
17805
17806_ACAWK
17807_ACEOF
17808cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17809if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17810  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17811else
17812  cat
17813fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17814  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17815_ACEOF
17816
17817# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17818# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17819# trailing colons and then remove the whole line if VPATH becomes empty
17820# (actually we leave an empty line to preserve line numbers).
17821if test "x$srcdir" = x.; then
17822  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17823h
17824s///
17825s/^/:/
17826s/[	 ]*$/:/
17827s/:\$(srcdir):/:/g
17828s/:\${srcdir}:/:/g
17829s/:@srcdir@:/:/g
17830s/^:*//
17831s/:*$//
17832x
17833s/\(=[	 ]*\).*/\1/
17834G
17835s/\n//
17836s/^[^=]*=[	 ]*$//
17837}'
17838fi
17839
17840cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17841fi # test -n "$CONFIG_FILES"
17842
17843# Set up the scripts for CONFIG_HEADERS section.
17844# No need to generate them if there are no CONFIG_HEADERS.
17845# This happens for instance with `./config.status Makefile'.
17846if test -n "$CONFIG_HEADERS"; then
17847cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17848BEGIN {
17849_ACEOF
17850
17851# Transform confdefs.h into an awk script `defines.awk', embedded as
17852# here-document in config.status, that substitutes the proper values into
17853# config.h.in to produce config.h.
17854
17855# Create a delimiter string that does not exist in confdefs.h, to ease
17856# handling of long lines.
17857ac_delim='%!_!# '
17858for ac_last_try in false false :; do
17859  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17860  if test -z "$ac_tt"; then
17861    break
17862  elif $ac_last_try; then
17863    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17864  else
17865    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17866  fi
17867done
17868
17869# For the awk script, D is an array of macro values keyed by name,
17870# likewise P contains macro parameters if any.  Preserve backslash
17871# newline sequences.
17872
17873ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17874sed -n '
17875s/.\{148\}/&'"$ac_delim"'/g
17876t rset
17877:rset
17878s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17879t def
17880d
17881:def
17882s/\\$//
17883t bsnl
17884s/["\\]/\\&/g
17885s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17886D["\1"]=" \3"/p
17887s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17888d
17889:bsnl
17890s/["\\]/\\&/g
17891s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17892D["\1"]=" \3\\\\\\n"\\/p
17893t cont
17894s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17895t cont
17896d
17897:cont
17898n
17899s/.\{148\}/&'"$ac_delim"'/g
17900t clear
17901:clear
17902s/\\$//
17903t bsnlc
17904s/["\\]/\\&/g; s/^/"/; s/$/"/p
17905d
17906:bsnlc
17907s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17908b cont
17909' <confdefs.h | sed '
17910s/'"$ac_delim"'/"\\\
17911"/g' >>$CONFIG_STATUS || ac_write_fail=1
17912
17913cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17914  for (key in D) D_is_set[key] = 1
17915  FS = ""
17916}
17917/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17918  line = \$ 0
17919  split(line, arg, " ")
17920  if (arg[1] == "#") {
17921    defundef = arg[2]
17922    mac1 = arg[3]
17923  } else {
17924    defundef = substr(arg[1], 2)
17925    mac1 = arg[2]
17926  }
17927  split(mac1, mac2, "(") #)
17928  macro = mac2[1]
17929  prefix = substr(line, 1, index(line, defundef) - 1)
17930  if (D_is_set[macro]) {
17931    # Preserve the white space surrounding the "#".
17932    print prefix "define", macro P[macro] D[macro]
17933    next
17934  } else {
17935    # Replace #undef with comments.  This is necessary, for example,
17936    # in the case of _POSIX_SOURCE, which is predefined and required
17937    # on some systems where configure will not decide to define it.
17938    if (defundef == "undef") {
17939      print "/*", prefix defundef, macro, "*/"
17940      next
17941    }
17942  }
17943}
17944{ print }
17945_ACAWK
17946_ACEOF
17947cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17948  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17949fi # test -n "$CONFIG_HEADERS"
17950
17951
17952eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17953shift
17954for ac_tag
17955do
17956  case $ac_tag in
17957  :[FHLC]) ac_mode=$ac_tag; continue;;
17958  esac
17959  case $ac_mode$ac_tag in
17960  :[FHL]*:*);;
17961  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17962  :[FH]-) ac_tag=-:-;;
17963  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17964  esac
17965  ac_save_IFS=$IFS
17966  IFS=:
17967  set x $ac_tag
17968  IFS=$ac_save_IFS
17969  shift
17970  ac_file=$1
17971  shift
17972
17973  case $ac_mode in
17974  :L) ac_source=$1;;
17975  :[FH])
17976    ac_file_inputs=
17977    for ac_f
17978    do
17979      case $ac_f in
17980      -) ac_f="$ac_tmp/stdin";;
17981      *) # Look for the file first in the build tree, then in the source tree
17982	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17983	 # because $ac_f cannot contain `:'.
17984	 test -f "$ac_f" ||
17985	   case $ac_f in
17986	   [\\/$]*) false;;
17987	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17988	   esac ||
17989	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17990      esac
17991      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17992      as_fn_append ac_file_inputs " '$ac_f'"
17993    done
17994
17995    # Let's still pretend it is `configure' which instantiates (i.e., don't
17996    # use $as_me), people would be surprised to read:
17997    #    /* config.h.  Generated by config.status.  */
17998    configure_input='Generated from '`
17999	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18000	`' by configure.'
18001    if test x"$ac_file" != x-; then
18002      configure_input="$ac_file.  $configure_input"
18003      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18004$as_echo "$as_me: creating $ac_file" >&6;}
18005    fi
18006    # Neutralize special characters interpreted by sed in replacement strings.
18007    case $configure_input in #(
18008    *\&* | *\|* | *\\* )
18009       ac_sed_conf_input=`$as_echo "$configure_input" |
18010       sed 's/[\\\\&|]/\\\\&/g'`;; #(
18011    *) ac_sed_conf_input=$configure_input;;
18012    esac
18013
18014    case $ac_tag in
18015    *:-:* | *:-) cat >"$ac_tmp/stdin" \
18016      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18017    esac
18018    ;;
18019  esac
18020
18021  ac_dir=`$as_dirname -- "$ac_file" ||
18022$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18023	 X"$ac_file" : 'X\(//\)[^/]' \| \
18024	 X"$ac_file" : 'X\(//\)$' \| \
18025	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18026$as_echo X"$ac_file" |
18027    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18028	    s//\1/
18029	    q
18030	  }
18031	  /^X\(\/\/\)[^/].*/{
18032	    s//\1/
18033	    q
18034	  }
18035	  /^X\(\/\/\)$/{
18036	    s//\1/
18037	    q
18038	  }
18039	  /^X\(\/\).*/{
18040	    s//\1/
18041	    q
18042	  }
18043	  s/.*/./; q'`
18044  as_dir="$ac_dir"; as_fn_mkdir_p
18045  ac_builddir=.
18046
18047case "$ac_dir" in
18048.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18049*)
18050  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18051  # A ".." for each directory in $ac_dir_suffix.
18052  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18053  case $ac_top_builddir_sub in
18054  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18055  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18056  esac ;;
18057esac
18058ac_abs_top_builddir=$ac_pwd
18059ac_abs_builddir=$ac_pwd$ac_dir_suffix
18060# for backward compatibility:
18061ac_top_builddir=$ac_top_build_prefix
18062
18063case $srcdir in
18064  .)  # We are building in place.
18065    ac_srcdir=.
18066    ac_top_srcdir=$ac_top_builddir_sub
18067    ac_abs_top_srcdir=$ac_pwd ;;
18068  [\\/]* | ?:[\\/]* )  # Absolute name.
18069    ac_srcdir=$srcdir$ac_dir_suffix;
18070    ac_top_srcdir=$srcdir
18071    ac_abs_top_srcdir=$srcdir ;;
18072  *) # Relative name.
18073    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18074    ac_top_srcdir=$ac_top_build_prefix$srcdir
18075    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18076esac
18077ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18078
18079
18080  case $ac_mode in
18081  :F)
18082  #
18083  # CONFIG_FILE
18084  #
18085
18086  case $INSTALL in
18087  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18088  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18089  esac
18090  ac_MKDIR_P=$MKDIR_P
18091  case $MKDIR_P in
18092  [\\/$]* | ?:[\\/]* ) ;;
18093  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18094  esac
18095_ACEOF
18096
18097cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18098# If the template does not know about datarootdir, expand it.
18099# FIXME: This hack should be removed a few years after 2.60.
18100ac_datarootdir_hack=; ac_datarootdir_seen=
18101ac_sed_dataroot='
18102/datarootdir/ {
18103  p
18104  q
18105}
18106/@datadir@/p
18107/@docdir@/p
18108/@infodir@/p
18109/@localedir@/p
18110/@mandir@/p'
18111case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18112*datarootdir*) ac_datarootdir_seen=yes;;
18113*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18114  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18115$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18116_ACEOF
18117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18118  ac_datarootdir_hack='
18119  s&@datadir@&$datadir&g
18120  s&@docdir@&$docdir&g
18121  s&@infodir@&$infodir&g
18122  s&@localedir@&$localedir&g
18123  s&@mandir@&$mandir&g
18124  s&\\\${datarootdir}&$datarootdir&g' ;;
18125esac
18126_ACEOF
18127
18128# Neutralize VPATH when `$srcdir' = `.'.
18129# Shell code in configure.ac might set extrasub.
18130# FIXME: do we really want to maintain this feature?
18131cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18132ac_sed_extra="$ac_vpsub
18133$extrasub
18134_ACEOF
18135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18136:t
18137/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18138s|@configure_input@|$ac_sed_conf_input|;t t
18139s&@top_builddir@&$ac_top_builddir_sub&;t t
18140s&@top_build_prefix@&$ac_top_build_prefix&;t t
18141s&@srcdir@&$ac_srcdir&;t t
18142s&@abs_srcdir@&$ac_abs_srcdir&;t t
18143s&@top_srcdir@&$ac_top_srcdir&;t t
18144s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18145s&@builddir@&$ac_builddir&;t t
18146s&@abs_builddir@&$ac_abs_builddir&;t t
18147s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18148s&@INSTALL@&$ac_INSTALL&;t t
18149s&@MKDIR_P@&$ac_MKDIR_P&;t t
18150$ac_datarootdir_hack
18151"
18152eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18153  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18154
18155test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18156  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18157  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
18158      "$ac_tmp/out"`; test -z "$ac_out"; } &&
18159  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18160which seems to be undefined.  Please make sure it is defined" >&5
18161$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18162which seems to be undefined.  Please make sure it is defined" >&2;}
18163
18164  rm -f "$ac_tmp/stdin"
18165  case $ac_file in
18166  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18167  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18168  esac \
18169  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18170 ;;
18171  :H)
18172  #
18173  # CONFIG_HEADER
18174  #
18175  if test x"$ac_file" != x-; then
18176    {
18177      $as_echo "/* $configure_input  */" \
18178      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18179    } >"$ac_tmp/config.h" \
18180      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18181    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18182      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18183$as_echo "$as_me: $ac_file is unchanged" >&6;}
18184    else
18185      rm -f "$ac_file"
18186      mv "$ac_tmp/config.h" "$ac_file" \
18187	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18188    fi
18189  else
18190    $as_echo "/* $configure_input  */" \
18191      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18192      || as_fn_error $? "could not create -" "$LINENO" 5
18193  fi
18194# Compute "$ac_file"'s index in $config_headers.
18195_am_arg="$ac_file"
18196_am_stamp_count=1
18197for _am_header in $config_headers :; do
18198  case $_am_header in
18199    $_am_arg | $_am_arg:* )
18200      break ;;
18201    * )
18202      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18203  esac
18204done
18205echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18206$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18207	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18208	 X"$_am_arg" : 'X\(//\)$' \| \
18209	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18210$as_echo X"$_am_arg" |
18211    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18212	    s//\1/
18213	    q
18214	  }
18215	  /^X\(\/\/\)[^/].*/{
18216	    s//\1/
18217	    q
18218	  }
18219	  /^X\(\/\/\)$/{
18220	    s//\1/
18221	    q
18222	  }
18223	  /^X\(\/\).*/{
18224	    s//\1/
18225	    q
18226	  }
18227	  s/.*/./; q'`/stamp-h$_am_stamp_count
18228 ;;
18229
18230  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18231$as_echo "$as_me: executing $ac_file commands" >&6;}
18232 ;;
18233  esac
18234
18235
18236  case $ac_file$ac_mode in
18237    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18238  # Autoconf 2.62 quotes --file arguments for eval, but not when files
18239  # are listed without --file.  Let's play safe and only enable the eval
18240  # if we detect the quoting.
18241  case $CONFIG_FILES in
18242  *\'*) eval set x "$CONFIG_FILES" ;;
18243  *)   set x $CONFIG_FILES ;;
18244  esac
18245  shift
18246  for mf
18247  do
18248    # Strip MF so we end up with the name of the file.
18249    mf=`echo "$mf" | sed -e 's/:.*$//'`
18250    # Check whether this is an Automake generated Makefile or not.
18251    # We used to match only the files named `Makefile.in', but
18252    # some people rename them; so instead we look at the file content.
18253    # Grep'ing the first line is not enough: some people post-process
18254    # each Makefile.in and add a new line on top of each file to say so.
18255    # Grep'ing the whole file is not good either: AIX grep has a line
18256    # limit of 2048, but all sed's we know have understand at least 4000.
18257    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18258      dirpart=`$as_dirname -- "$mf" ||
18259$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18260	 X"$mf" : 'X\(//\)[^/]' \| \
18261	 X"$mf" : 'X\(//\)$' \| \
18262	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18263$as_echo X"$mf" |
18264    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18265	    s//\1/
18266	    q
18267	  }
18268	  /^X\(\/\/\)[^/].*/{
18269	    s//\1/
18270	    q
18271	  }
18272	  /^X\(\/\/\)$/{
18273	    s//\1/
18274	    q
18275	  }
18276	  /^X\(\/\).*/{
18277	    s//\1/
18278	    q
18279	  }
18280	  s/.*/./; q'`
18281    else
18282      continue
18283    fi
18284    # Extract the definition of DEPDIR, am__include, and am__quote
18285    # from the Makefile without running `make'.
18286    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18287    test -z "$DEPDIR" && continue
18288    am__include=`sed -n 's/^am__include = //p' < "$mf"`
18289    test -z "am__include" && continue
18290    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18291    # When using ansi2knr, U may be empty or an underscore; expand it
18292    U=`sed -n 's/^U = //p' < "$mf"`
18293    # Find all dependency output files, they are included files with
18294    # $(DEPDIR) in their names.  We invoke sed twice because it is the
18295    # simplest approach to changing $(DEPDIR) to its actual value in the
18296    # expansion.
18297    for file in `sed -n "
18298      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18299	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
18300      # Make sure the directory exists.
18301      test -f "$dirpart/$file" && continue
18302      fdir=`$as_dirname -- "$file" ||
18303$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18304	 X"$file" : 'X\(//\)[^/]' \| \
18305	 X"$file" : 'X\(//\)$' \| \
18306	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18307$as_echo X"$file" |
18308    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18309	    s//\1/
18310	    q
18311	  }
18312	  /^X\(\/\/\)[^/].*/{
18313	    s//\1/
18314	    q
18315	  }
18316	  /^X\(\/\/\)$/{
18317	    s//\1/
18318	    q
18319	  }
18320	  /^X\(\/\).*/{
18321	    s//\1/
18322	    q
18323	  }
18324	  s/.*/./; q'`
18325      as_dir=$dirpart/$fdir; as_fn_mkdir_p
18326      # echo "creating $dirpart/$file"
18327      echo '# dummy' > "$dirpart/$file"
18328    done
18329  done
18330}
18331 ;;
18332    "libtool":C)
18333
18334    # See if we are running on zsh, and set the options which allow our
18335    # commands through without removal of \ escapes.
18336    if test -n "${ZSH_VERSION+set}" ; then
18337      setopt NO_GLOB_SUBST
18338    fi
18339
18340    cfgfile="${ofile}T"
18341    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18342    $RM "$cfgfile"
18343
18344    cat <<_LT_EOF >> "$cfgfile"
18345#! $SHELL
18346
18347# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18348# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18349# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18350# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18351#
18352#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18353#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18354#                 Foundation, Inc.
18355#   Written by Gordon Matzigkeit, 1996
18356#
18357#   This file is part of GNU Libtool.
18358#
18359# GNU Libtool is free software; you can redistribute it and/or
18360# modify it under the terms of the GNU General Public License as
18361# published by the Free Software Foundation; either version 2 of
18362# the License, or (at your option) any later version.
18363#
18364# As a special exception to the GNU General Public License,
18365# if you distribute this file as part of a program or library that
18366# is built using GNU Libtool, you may include this file under the
18367# same distribution terms that you use for the rest of that program.
18368#
18369# GNU Libtool is distributed in the hope that it will be useful,
18370# but WITHOUT ANY WARRANTY; without even the implied warranty of
18371# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18372# GNU General Public License for more details.
18373#
18374# You should have received a copy of the GNU General Public License
18375# along with GNU Libtool; see the file COPYING.  If not, a copy
18376# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18377# obtained by writing to the Free Software Foundation, Inc.,
18378# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18379
18380
18381# The names of the tagged configurations supported by this script.
18382available_tags="CXX "
18383
18384# ### BEGIN LIBTOOL CONFIG
18385
18386# Whether or not to build static libraries.
18387build_old_libs=$enable_static
18388
18389# Assembler program.
18390AS=$lt_AS
18391
18392# DLL creation program.
18393DLLTOOL=$lt_DLLTOOL
18394
18395# Object dumper program.
18396OBJDUMP=$lt_OBJDUMP
18397
18398# Which release of libtool.m4 was used?
18399macro_version=$macro_version
18400macro_revision=$macro_revision
18401
18402# Whether or not to build shared libraries.
18403build_libtool_libs=$enable_shared
18404
18405# What type of objects to build.
18406pic_mode=$pic_mode
18407
18408# Whether or not to optimize for fast installation.
18409fast_install=$enable_fast_install
18410
18411# Shell to use when invoking shell scripts.
18412SHELL=$lt_SHELL
18413
18414# An echo program that protects backslashes.
18415ECHO=$lt_ECHO
18416
18417# The PATH separator for the build system.
18418PATH_SEPARATOR=$lt_PATH_SEPARATOR
18419
18420# The host system.
18421host_alias=$host_alias
18422host=$host
18423host_os=$host_os
18424
18425# The build system.
18426build_alias=$build_alias
18427build=$build
18428build_os=$build_os
18429
18430# A sed program that does not truncate output.
18431SED=$lt_SED
18432
18433# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18434Xsed="\$SED -e 1s/^X//"
18435
18436# A grep program that handles long lines.
18437GREP=$lt_GREP
18438
18439# An ERE matcher.
18440EGREP=$lt_EGREP
18441
18442# A literal string matcher.
18443FGREP=$lt_FGREP
18444
18445# A BSD- or MS-compatible name lister.
18446NM=$lt_NM
18447
18448# Whether we need soft or hard links.
18449LN_S=$lt_LN_S
18450
18451# What is the maximum length of a command?
18452max_cmd_len=$max_cmd_len
18453
18454# Object file suffix (normally "o").
18455objext=$ac_objext
18456
18457# Executable file suffix (normally "").
18458exeext=$exeext
18459
18460# whether the shell understands "unset".
18461lt_unset=$lt_unset
18462
18463# turn spaces into newlines.
18464SP2NL=$lt_lt_SP2NL
18465
18466# turn newlines into spaces.
18467NL2SP=$lt_lt_NL2SP
18468
18469# convert \$build file names to \$host format.
18470to_host_file_cmd=$lt_cv_to_host_file_cmd
18471
18472# convert \$build files to toolchain format.
18473to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18474
18475# Method to check whether dependent libraries are shared objects.
18476deplibs_check_method=$lt_deplibs_check_method
18477
18478# Command to use when deplibs_check_method = "file_magic".
18479file_magic_cmd=$lt_file_magic_cmd
18480
18481# How to find potential files when deplibs_check_method = "file_magic".
18482file_magic_glob=$lt_file_magic_glob
18483
18484# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18485want_nocaseglob=$lt_want_nocaseglob
18486
18487# Command to associate shared and link libraries.
18488sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18489
18490# The archiver.
18491AR=$lt_AR
18492
18493# Flags to create an archive.
18494AR_FLAGS=$lt_AR_FLAGS
18495
18496# How to feed a file listing to the archiver.
18497archiver_list_spec=$lt_archiver_list_spec
18498
18499# A symbol stripping program.
18500STRIP=$lt_STRIP
18501
18502# Commands used to install an old-style archive.
18503RANLIB=$lt_RANLIB
18504old_postinstall_cmds=$lt_old_postinstall_cmds
18505old_postuninstall_cmds=$lt_old_postuninstall_cmds
18506
18507# Whether to use a lock for old archive extraction.
18508lock_old_archive_extraction=$lock_old_archive_extraction
18509
18510# A C compiler.
18511LTCC=$lt_CC
18512
18513# LTCC compiler flags.
18514LTCFLAGS=$lt_CFLAGS
18515
18516# Take the output of nm and produce a listing of raw symbols and C names.
18517global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18518
18519# Transform the output of nm in a proper C declaration.
18520global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18521
18522# Transform the output of nm in a C name address pair.
18523global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18524
18525# Transform the output of nm in a C name address pair when lib prefix is needed.
18526global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18527
18528# Specify filename containing input files for \$NM.
18529nm_file_list_spec=$lt_nm_file_list_spec
18530
18531# The root where to search for dependent libraries,and in which our libraries should be installed.
18532lt_sysroot=$lt_sysroot
18533
18534# The name of the directory that contains temporary libtool files.
18535objdir=$objdir
18536
18537# Used to examine libraries when file_magic_cmd begins with "file".
18538MAGIC_CMD=$MAGIC_CMD
18539
18540# Must we lock files when doing compilation?
18541need_locks=$lt_need_locks
18542
18543# Manifest tool.
18544MANIFEST_TOOL=$lt_MANIFEST_TOOL
18545
18546# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18547DSYMUTIL=$lt_DSYMUTIL
18548
18549# Tool to change global to local symbols on Mac OS X.
18550NMEDIT=$lt_NMEDIT
18551
18552# Tool to manipulate fat objects and archives on Mac OS X.
18553LIPO=$lt_LIPO
18554
18555# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18556OTOOL=$lt_OTOOL
18557
18558# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18559OTOOL64=$lt_OTOOL64
18560
18561# Old archive suffix (normally "a").
18562libext=$libext
18563
18564# Shared library suffix (normally ".so").
18565shrext_cmds=$lt_shrext_cmds
18566
18567# The commands to extract the exported symbol list from a shared archive.
18568extract_expsyms_cmds=$lt_extract_expsyms_cmds
18569
18570# Variables whose values should be saved in libtool wrapper scripts and
18571# restored at link time.
18572variables_saved_for_relink=$lt_variables_saved_for_relink
18573
18574# Do we need the "lib" prefix for modules?
18575need_lib_prefix=$need_lib_prefix
18576
18577# Do we need a version for libraries?
18578need_version=$need_version
18579
18580# Library versioning type.
18581version_type=$version_type
18582
18583# Shared library runtime path variable.
18584runpath_var=$runpath_var
18585
18586# Shared library path variable.
18587shlibpath_var=$shlibpath_var
18588
18589# Is shlibpath searched before the hard-coded library search path?
18590shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18591
18592# Format of library name prefix.
18593libname_spec=$lt_libname_spec
18594
18595# List of archive names.  First name is the real one, the rest are links.
18596# The last name is the one that the linker finds with -lNAME
18597library_names_spec=$lt_library_names_spec
18598
18599# The coded name of the library, if different from the real name.
18600soname_spec=$lt_soname_spec
18601
18602# Permission mode override for installation of shared libraries.
18603install_override_mode=$lt_install_override_mode
18604
18605# Command to use after installation of a shared archive.
18606postinstall_cmds=$lt_postinstall_cmds
18607
18608# Command to use after uninstallation of a shared archive.
18609postuninstall_cmds=$lt_postuninstall_cmds
18610
18611# Commands used to finish a libtool library installation in a directory.
18612finish_cmds=$lt_finish_cmds
18613
18614# As "finish_cmds", except a single script fragment to be evaled but
18615# not shown.
18616finish_eval=$lt_finish_eval
18617
18618# Whether we should hardcode library paths into libraries.
18619hardcode_into_libs=$hardcode_into_libs
18620
18621# Compile-time system search path for libraries.
18622sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18623
18624# Run-time system search path for libraries.
18625sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18626
18627# Whether dlopen is supported.
18628dlopen_support=$enable_dlopen
18629
18630# Whether dlopen of programs is supported.
18631dlopen_self=$enable_dlopen_self
18632
18633# Whether dlopen of statically linked programs is supported.
18634dlopen_self_static=$enable_dlopen_self_static
18635
18636# Commands to strip libraries.
18637old_striplib=$lt_old_striplib
18638striplib=$lt_striplib
18639
18640
18641# The linker used to build libraries.
18642LD=$lt_LD
18643
18644# How to create reloadable object files.
18645reload_flag=$lt_reload_flag
18646reload_cmds=$lt_reload_cmds
18647
18648# Commands used to build an old-style archive.
18649old_archive_cmds=$lt_old_archive_cmds
18650
18651# A language specific compiler.
18652CC=$lt_compiler
18653
18654# Is the compiler the GNU compiler?
18655with_gcc=$GCC
18656
18657# Compiler flag to turn off builtin functions.
18658no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18659
18660# Additional compiler flags for building library objects.
18661pic_flag=$lt_lt_prog_compiler_pic
18662
18663# How to pass a linker flag through the compiler.
18664wl=$lt_lt_prog_compiler_wl
18665
18666# Compiler flag to prevent dynamic linking.
18667link_static_flag=$lt_lt_prog_compiler_static
18668
18669# Does compiler simultaneously support -c and -o options?
18670compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18671
18672# Whether or not to add -lc for building shared libraries.
18673build_libtool_need_lc=$archive_cmds_need_lc
18674
18675# Whether or not to disallow shared libs when runtime libs are static.
18676allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18677
18678# Compiler flag to allow reflexive dlopens.
18679export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18680
18681# Compiler flag to generate shared objects directly from archives.
18682whole_archive_flag_spec=$lt_whole_archive_flag_spec
18683
18684# Whether the compiler copes with passing no objects directly.
18685compiler_needs_object=$lt_compiler_needs_object
18686
18687# Create an old-style archive from a shared archive.
18688old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18689
18690# Create a temporary old-style archive to link instead of a shared archive.
18691old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18692
18693# Commands used to build a shared archive.
18694archive_cmds=$lt_archive_cmds
18695archive_expsym_cmds=$lt_archive_expsym_cmds
18696
18697# Commands used to build a loadable module if different from building
18698# a shared archive.
18699module_cmds=$lt_module_cmds
18700module_expsym_cmds=$lt_module_expsym_cmds
18701
18702# Whether we are building with GNU ld or not.
18703with_gnu_ld=$lt_with_gnu_ld
18704
18705# Flag that allows shared libraries with undefined symbols to be built.
18706allow_undefined_flag=$lt_allow_undefined_flag
18707
18708# Flag that enforces no undefined symbols.
18709no_undefined_flag=$lt_no_undefined_flag
18710
18711# Flag to hardcode \$libdir into a binary during linking.
18712# This must work even if \$libdir does not exist
18713hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18714
18715# Whether we need a single "-rpath" flag with a separated argument.
18716hardcode_libdir_separator=$lt_hardcode_libdir_separator
18717
18718# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18719# DIR into the resulting binary.
18720hardcode_direct=$hardcode_direct
18721
18722# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18723# DIR into the resulting binary and the resulting library dependency is
18724# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18725# library is relocated.
18726hardcode_direct_absolute=$hardcode_direct_absolute
18727
18728# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18729# into the resulting binary.
18730hardcode_minus_L=$hardcode_minus_L
18731
18732# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18733# into the resulting binary.
18734hardcode_shlibpath_var=$hardcode_shlibpath_var
18735
18736# Set to "yes" if building a shared library automatically hardcodes DIR
18737# into the library and all subsequent libraries and executables linked
18738# against it.
18739hardcode_automatic=$hardcode_automatic
18740
18741# Set to yes if linker adds runtime paths of dependent libraries
18742# to runtime path list.
18743inherit_rpath=$inherit_rpath
18744
18745# Whether libtool must link a program against all its dependency libraries.
18746link_all_deplibs=$link_all_deplibs
18747
18748# Set to "yes" if exported symbols are required.
18749always_export_symbols=$always_export_symbols
18750
18751# The commands to list exported symbols.
18752export_symbols_cmds=$lt_export_symbols_cmds
18753
18754# Symbols that should not be listed in the preloaded symbols.
18755exclude_expsyms=$lt_exclude_expsyms
18756
18757# Symbols that must always be exported.
18758include_expsyms=$lt_include_expsyms
18759
18760# Commands necessary for linking programs (against libraries) with templates.
18761prelink_cmds=$lt_prelink_cmds
18762
18763# Commands necessary for finishing linking programs.
18764postlink_cmds=$lt_postlink_cmds
18765
18766# Specify filename containing input files.
18767file_list_spec=$lt_file_list_spec
18768
18769# How to hardcode a shared library path into an executable.
18770hardcode_action=$hardcode_action
18771
18772# The directories searched by this compiler when creating a shared library.
18773compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
18774
18775# Dependencies to place before and after the objects being linked to
18776# create a shared library.
18777predep_objects=$lt_predep_objects
18778postdep_objects=$lt_postdep_objects
18779predeps=$lt_predeps
18780postdeps=$lt_postdeps
18781
18782# The library search path used internally by the compiler when linking
18783# a shared library.
18784compiler_lib_search_path=$lt_compiler_lib_search_path
18785
18786# ### END LIBTOOL CONFIG
18787
18788_LT_EOF
18789
18790  case $host_os in
18791  aix3*)
18792    cat <<\_LT_EOF >> "$cfgfile"
18793# AIX sometimes has problems with the GCC collect2 program.  For some
18794# reason, if we set the COLLECT_NAMES environment variable, the problems
18795# vanish in a puff of smoke.
18796if test "X${COLLECT_NAMES+set}" != Xset; then
18797  COLLECT_NAMES=
18798  export COLLECT_NAMES
18799fi
18800_LT_EOF
18801    ;;
18802  esac
18803
18804
18805ltmain="$ac_aux_dir/ltmain.sh"
18806
18807
18808  # We use sed instead of cat because bash on DJGPP gets confused if
18809  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18810  # text mode, it properly converts lines to CR/LF.  This bash problem
18811  # is reportedly fixed, but why not run on old versions too?
18812  sed '$q' "$ltmain" >> "$cfgfile" \
18813     || (rm -f "$cfgfile"; exit 1)
18814
18815  if test x"$xsi_shell" = xyes; then
18816  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
18817func_dirname ()\
18818{\
18819\    case ${1} in\
18820\      */*) func_dirname_result="${1%/*}${2}" ;;\
18821\      *  ) func_dirname_result="${3}" ;;\
18822\    esac\
18823} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
18824  && mv -f "$cfgfile.tmp" "$cfgfile" \
18825    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18826test 0 -eq $? || _lt_function_replace_fail=:
18827
18828
18829  sed -e '/^func_basename ()$/,/^} # func_basename /c\
18830func_basename ()\
18831{\
18832\    func_basename_result="${1##*/}"\
18833} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
18834  && mv -f "$cfgfile.tmp" "$cfgfile" \
18835    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18836test 0 -eq $? || _lt_function_replace_fail=:
18837
18838
18839  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
18840func_dirname_and_basename ()\
18841{\
18842\    case ${1} in\
18843\      */*) func_dirname_result="${1%/*}${2}" ;;\
18844\      *  ) func_dirname_result="${3}" ;;\
18845\    esac\
18846\    func_basename_result="${1##*/}"\
18847} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
18848  && mv -f "$cfgfile.tmp" "$cfgfile" \
18849    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18850test 0 -eq $? || _lt_function_replace_fail=:
18851
18852
18853  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
18854func_stripname ()\
18855{\
18856\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
18857\    # positional parameters, so assign one to ordinary parameter first.\
18858\    func_stripname_result=${3}\
18859\    func_stripname_result=${func_stripname_result#"${1}"}\
18860\    func_stripname_result=${func_stripname_result%"${2}"}\
18861} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
18862  && mv -f "$cfgfile.tmp" "$cfgfile" \
18863    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18864test 0 -eq $? || _lt_function_replace_fail=:
18865
18866
18867  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
18868func_split_long_opt ()\
18869{\
18870\    func_split_long_opt_name=${1%%=*}\
18871\    func_split_long_opt_arg=${1#*=}\
18872} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
18873  && mv -f "$cfgfile.tmp" "$cfgfile" \
18874    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18875test 0 -eq $? || _lt_function_replace_fail=:
18876
18877
18878  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
18879func_split_short_opt ()\
18880{\
18881\    func_split_short_opt_arg=${1#??}\
18882\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
18883} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
18884  && mv -f "$cfgfile.tmp" "$cfgfile" \
18885    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18886test 0 -eq $? || _lt_function_replace_fail=:
18887
18888
18889  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
18890func_lo2o ()\
18891{\
18892\    case ${1} in\
18893\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
18894\      *)    func_lo2o_result=${1} ;;\
18895\    esac\
18896} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
18897  && mv -f "$cfgfile.tmp" "$cfgfile" \
18898    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18899test 0 -eq $? || _lt_function_replace_fail=:
18900
18901
18902  sed -e '/^func_xform ()$/,/^} # func_xform /c\
18903func_xform ()\
18904{\
18905    func_xform_result=${1%.*}.lo\
18906} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
18907  && mv -f "$cfgfile.tmp" "$cfgfile" \
18908    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18909test 0 -eq $? || _lt_function_replace_fail=:
18910
18911
18912  sed -e '/^func_arith ()$/,/^} # func_arith /c\
18913func_arith ()\
18914{\
18915    func_arith_result=$(( $* ))\
18916} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
18917  && mv -f "$cfgfile.tmp" "$cfgfile" \
18918    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18919test 0 -eq $? || _lt_function_replace_fail=:
18920
18921
18922  sed -e '/^func_len ()$/,/^} # func_len /c\
18923func_len ()\
18924{\
18925    func_len_result=${#1}\
18926} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
18927  && mv -f "$cfgfile.tmp" "$cfgfile" \
18928    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18929test 0 -eq $? || _lt_function_replace_fail=:
18930
18931fi
18932
18933if test x"$lt_shell_append" = xyes; then
18934  sed -e '/^func_append ()$/,/^} # func_append /c\
18935func_append ()\
18936{\
18937    eval "${1}+=\\${2}"\
18938} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
18939  && mv -f "$cfgfile.tmp" "$cfgfile" \
18940    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18941test 0 -eq $? || _lt_function_replace_fail=:
18942
18943
18944  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
18945func_append_quoted ()\
18946{\
18947\    func_quote_for_eval "${2}"\
18948\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
18949} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
18950  && mv -f "$cfgfile.tmp" "$cfgfile" \
18951    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18952test 0 -eq $? || _lt_function_replace_fail=:
18953
18954
18955  # Save a `func_append' function call where possible by direct use of '+='
18956  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
18957    && mv -f "$cfgfile.tmp" "$cfgfile" \
18958      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18959  test 0 -eq $? || _lt_function_replace_fail=:
18960else
18961  # Save a `func_append' function call even when '+=' is not available
18962  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
18963    && mv -f "$cfgfile.tmp" "$cfgfile" \
18964      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
18965  test 0 -eq $? || _lt_function_replace_fail=:
18966fi
18967
18968if test x"$_lt_function_replace_fail" = x":"; then
18969  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
18970$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
18971fi
18972
18973
18974   mv -f "$cfgfile" "$ofile" ||
18975    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18976  chmod +x "$ofile"
18977
18978
18979    cat <<_LT_EOF >> "$ofile"
18980
18981# ### BEGIN LIBTOOL TAG CONFIG: CXX
18982
18983# The linker used to build libraries.
18984LD=$lt_LD_CXX
18985
18986# How to create reloadable object files.
18987reload_flag=$lt_reload_flag_CXX
18988reload_cmds=$lt_reload_cmds_CXX
18989
18990# Commands used to build an old-style archive.
18991old_archive_cmds=$lt_old_archive_cmds_CXX
18992
18993# A language specific compiler.
18994CC=$lt_compiler_CXX
18995
18996# Is the compiler the GNU compiler?
18997with_gcc=$GCC_CXX
18998
18999# Compiler flag to turn off builtin functions.
19000no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
19001
19002# Additional compiler flags for building library objects.
19003pic_flag=$lt_lt_prog_compiler_pic_CXX
19004
19005# How to pass a linker flag through the compiler.
19006wl=$lt_lt_prog_compiler_wl_CXX
19007
19008# Compiler flag to prevent dynamic linking.
19009link_static_flag=$lt_lt_prog_compiler_static_CXX
19010
19011# Does compiler simultaneously support -c and -o options?
19012compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
19013
19014# Whether or not to add -lc for building shared libraries.
19015build_libtool_need_lc=$archive_cmds_need_lc_CXX
19016
19017# Whether or not to disallow shared libs when runtime libs are static.
19018allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
19019
19020# Compiler flag to allow reflexive dlopens.
19021export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
19022
19023# Compiler flag to generate shared objects directly from archives.
19024whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
19025
19026# Whether the compiler copes with passing no objects directly.
19027compiler_needs_object=$lt_compiler_needs_object_CXX
19028
19029# Create an old-style archive from a shared archive.
19030old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
19031
19032# Create a temporary old-style archive to link instead of a shared archive.
19033old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
19034
19035# Commands used to build a shared archive.
19036archive_cmds=$lt_archive_cmds_CXX
19037archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
19038
19039# Commands used to build a loadable module if different from building
19040# a shared archive.
19041module_cmds=$lt_module_cmds_CXX
19042module_expsym_cmds=$lt_module_expsym_cmds_CXX
19043
19044# Whether we are building with GNU ld or not.
19045with_gnu_ld=$lt_with_gnu_ld_CXX
19046
19047# Flag that allows shared libraries with undefined symbols to be built.
19048allow_undefined_flag=$lt_allow_undefined_flag_CXX
19049
19050# Flag that enforces no undefined symbols.
19051no_undefined_flag=$lt_no_undefined_flag_CXX
19052
19053# Flag to hardcode \$libdir into a binary during linking.
19054# This must work even if \$libdir does not exist
19055hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
19056
19057# Whether we need a single "-rpath" flag with a separated argument.
19058hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
19059
19060# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19061# DIR into the resulting binary.
19062hardcode_direct=$hardcode_direct_CXX
19063
19064# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19065# DIR into the resulting binary and the resulting library dependency is
19066# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19067# library is relocated.
19068hardcode_direct_absolute=$hardcode_direct_absolute_CXX
19069
19070# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19071# into the resulting binary.
19072hardcode_minus_L=$hardcode_minus_L_CXX
19073
19074# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19075# into the resulting binary.
19076hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
19077
19078# Set to "yes" if building a shared library automatically hardcodes DIR
19079# into the library and all subsequent libraries and executables linked
19080# against it.
19081hardcode_automatic=$hardcode_automatic_CXX
19082
19083# Set to yes if linker adds runtime paths of dependent libraries
19084# to runtime path list.
19085inherit_rpath=$inherit_rpath_CXX
19086
19087# Whether libtool must link a program against all its dependency libraries.
19088link_all_deplibs=$link_all_deplibs_CXX
19089
19090# Set to "yes" if exported symbols are required.
19091always_export_symbols=$always_export_symbols_CXX
19092
19093# The commands to list exported symbols.
19094export_symbols_cmds=$lt_export_symbols_cmds_CXX
19095
19096# Symbols that should not be listed in the preloaded symbols.
19097exclude_expsyms=$lt_exclude_expsyms_CXX
19098
19099# Symbols that must always be exported.
19100include_expsyms=$lt_include_expsyms_CXX
19101
19102# Commands necessary for linking programs (against libraries) with templates.
19103prelink_cmds=$lt_prelink_cmds_CXX
19104
19105# Commands necessary for finishing linking programs.
19106postlink_cmds=$lt_postlink_cmds_CXX
19107
19108# Specify filename containing input files.
19109file_list_spec=$lt_file_list_spec_CXX
19110
19111# How to hardcode a shared library path into an executable.
19112hardcode_action=$hardcode_action_CXX
19113
19114# The directories searched by this compiler when creating a shared library.
19115compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
19116
19117# Dependencies to place before and after the objects being linked to
19118# create a shared library.
19119predep_objects=$lt_predep_objects_CXX
19120postdep_objects=$lt_postdep_objects_CXX
19121predeps=$lt_predeps_CXX
19122postdeps=$lt_postdeps_CXX
19123
19124# The library search path used internally by the compiler when linking
19125# a shared library.
19126compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
19127
19128# ### END LIBTOOL TAG CONFIG: CXX
19129_LT_EOF
19130
19131 ;;
19132
19133  esac
19134done # for ac_tag
19135
19136
19137as_fn_exit 0
19138_ACEOF
19139ac_clean_files=$ac_clean_files_save
19140
19141test $ac_write_fail = 0 ||
19142  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19143
19144
19145# configure is writing to config.log, and then calls config.status.
19146# config.status does its own redirection, appending to config.log.
19147# Unfortunately, on DOS this fails, as config.log is still kept open
19148# by configure, so config.status won't be able to write to it; its
19149# output is simply discarded.  So we exec the FD to /dev/null,
19150# effectively closing config.log, so it can be properly (re)opened and
19151# appended to by config.status.  When coming back to configure, we
19152# need to make the FD available again.
19153if test "$no_create" != yes; then
19154  ac_cs_success=:
19155  ac_config_status_args=
19156  test "$silent" = yes &&
19157    ac_config_status_args="$ac_config_status_args --quiet"
19158  exec 5>/dev/null
19159  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19160  exec 5>>config.log
19161  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19162  # would make configure fail if this is the last instruction.
19163  $ac_cs_success || as_fn_exit 1
19164fi
19165if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19166  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19167$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
19168fi
19169
19170