1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1
200
201  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    PATH=/empty FPATH=/empty; export PATH FPATH
206    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME=
589PACKAGE_TARNAME=
590PACKAGE_VERSION=
591PACKAGE_STRING=
592PACKAGE_BUGREPORT=
593PACKAGE_URL=
594
595ac_unique_file="gdl"
596# Factoring default headers for most tests.
597ac_includes_default="\
598#include <stdio.h>
599#ifdef HAVE_SYS_TYPES_H
600# include <sys/types.h>
601#endif
602#ifdef HAVE_SYS_STAT_H
603# include <sys/stat.h>
604#endif
605#ifdef STDC_HEADERS
606# include <stdlib.h>
607# include <stddef.h>
608#else
609# ifdef HAVE_STDLIB_H
610#  include <stdlib.h>
611# endif
612#endif
613#ifdef HAVE_STRING_H
614# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615#  include <memory.h>
616# endif
617# include <string.h>
618#endif
619#ifdef HAVE_STRINGS_H
620# include <strings.h>
621#endif
622#ifdef HAVE_INTTYPES_H
623# include <inttypes.h>
624#endif
625#ifdef HAVE_STDINT_H
626# include <stdint.h>
627#endif
628#ifdef HAVE_UNISTD_H
629# include <unistd.h>
630#endif"
631
632ac_subst_vars='am__EXEEXT_FALSE
633am__EXEEXT_TRUE
634LTLIBOBJS
635LIBOBJS
636HAVE_INTROSPECTION_FALSE
637HAVE_INTROSPECTION_TRUE
638INTROSPECTION_MAKEFILE
639INTROSPECTION_LIBS
640INTROSPECTION_CFLAGS
641INTROSPECTION_TYPELIBDIR
642INTROSPECTION_GIRDIR
643INTROSPECTION_GENERATE
644INTROSPECTION_COMPILER
645INTROSPECTION_SCANNER
646GTK_PREFIX
647GLIB_PREFIX
648GTK_DOC_USE_REBASE_FALSE
649GTK_DOC_USE_REBASE_TRUE
650GTK_DOC_USE_LIBTOOL_FALSE
651GTK_DOC_USE_LIBTOOL_TRUE
652GTK_DOC_BUILD_PDF_FALSE
653GTK_DOC_BUILD_PDF_TRUE
654GTK_DOC_BUILD_HTML_FALSE
655GTK_DOC_BUILD_HTML_TRUE
656ENABLE_GTK_DOC_FALSE
657ENABLE_GTK_DOC_TRUE
658HAVE_GTK_DOC_FALSE
659HAVE_GTK_DOC_TRUE
660GTKDOC_DEPS_LIBS
661GTKDOC_DEPS_CFLAGS
662HTML_DIR
663GTKDOC_MKPDF
664GTKDOC_REBASE
665GTKDOC_CHECK_PATH
666GTKDOC_CHECK
667gdl_images_dir
668GETTEXT_PACKAGE
669ALL_LINGUAS
670INTLTOOL_PERL
671GMSGFMT
672MSGFMT
673MSGMERGE
674XGETTEXT
675INTLTOOL_POLICY_RULE
676INTLTOOL_SERVICE_RULE
677INTLTOOL_THEME_RULE
678INTLTOOL_SCHEMAS_RULE
679INTLTOOL_CAVES_RULE
680INTLTOOL_XML_NOMERGE_RULE
681INTLTOOL_XML_RULE
682INTLTOOL_KBD_RULE
683INTLTOOL_XAM_RULE
684INTLTOOL_UI_RULE
685INTLTOOL_SOUNDLIST_RULE
686INTLTOOL_SHEET_RULE
687INTLTOOL_SERVER_RULE
688INTLTOOL_PONG_RULE
689INTLTOOL_OAF_RULE
690INTLTOOL_PROP_RULE
691INTLTOOL_KEYS_RULE
692INTLTOOL_DIRECTORY_RULE
693INTLTOOL_DESKTOP_RULE
694intltool__v_merge_options_0
695intltool__v_merge_options_
696INTLTOOL_V_MERGE_OPTIONS
697INTLTOOL__v_MERGE_0
698INTLTOOL__v_MERGE_
699INTLTOOL_V_MERGE
700INTLTOOL_EXTRACT
701INTLTOOL_MERGE
702INTLTOOL_UPDATE
703USE_NLS
704GLIB_MKENUMS
705GLIB_GENMARSHAL
706EXTRA_LDFLAGS
707EXTRA_CPPFLAGS
708OS_WIN32_FALSE
709OS_WIN32_TRUE
710GDL_DEPENDENCIES_LIBS
711GDL_DEPENDENCIES_CFLAGS
712XML_LIBS
713XML_CFLAGS
714PKG_CONFIG_LIBDIR
715PKG_CONFIG_PATH
716PKG_CONFIG
717CXXCPP
718LT_SYS_LIBRARY_PATH
719OTOOL64
720OTOOL
721LIPO
722NMEDIT
723DSYMUTIL
724MANIFEST_TOOL
725RANLIB
726ac_ct_AR
727AR
728LN_S
729NM
730ac_ct_DUMPBIN
731DUMPBIN
732LD
733FGREP
734SED
735LIBTOOL
736OBJDUMP
737DLLTOOL
738AS
739host_os
740host_vendor
741host_cpu
742host
743build_os
744build_vendor
745build_cpu
746build
747am__fastdepCXX_FALSE
748am__fastdepCXX_TRUE
749CXXDEPMODE
750ac_ct_CXX
751CXXFLAGS
752CXX
753EGREP
754GREP
755CPP
756am__fastdepCC_FALSE
757am__fastdepCC_TRUE
758CCDEPMODE
759am__nodep
760AMDEPBACKSLASH
761AMDEP_FALSE
762AMDEP_TRUE
763am__include
764DEPDIR
765OBJEXT
766EXEEXT
767ac_ct_CC
768CPPFLAGS
769LDFLAGS
770CFLAGS
771CC
772MAINT
773MAINTAINER_MODE_FALSE
774MAINTAINER_MODE_TRUE
775XML_REQUIRED
776GTK_REQUIRED
777SNAPSHOT
778GDL_VERSION
779GDL_MICRO_VERSION
780GDL_MINOR_VERSION
781GDL_MAJOR_VERSION
782AM_BACKSLASH
783AM_DEFAULT_VERBOSITY
784AM_DEFAULT_V
785AM_V
786am__untar
787am__tar
788AMTAR
789am__leading_dot
790SET_MAKE
791AWK
792mkdir_p
793MKDIR_P
794INSTALL_STRIP_PROGRAM
795STRIP
796install_sh
797MAKEINFO
798AUTOHEADER
799AUTOMAKE
800AUTOCONF
801ACLOCAL
802VERSION
803PACKAGE
804CYGPATH_W
805am__isrc
806INSTALL_DATA
807INSTALL_SCRIPT
808INSTALL_PROGRAM
809GDL_AGE
810GDL_REVISION
811GDL_CURRENT
812target_alias
813host_alias
814build_alias
815LIBS
816ECHO_T
817ECHO_N
818ECHO_C
819DEFS
820mandir
821localedir
822libdir
823psdir
824pdfdir
825dvidir
826htmldir
827infodir
828docdir
829oldincludedir
830includedir
831localstatedir
832sharedstatedir
833sysconfdir
834datadir
835datarootdir
836libexecdir
837sbindir
838bindir
839program_transform_name
840prefix
841exec_prefix
842PACKAGE_URL
843PACKAGE_BUGREPORT
844PACKAGE_STRING
845PACKAGE_VERSION
846PACKAGE_TARNAME
847PACKAGE_NAME
848PATH_SEPARATOR
849SHELL
850am__quote'
851ac_subst_files=''
852ac_user_opts='
853enable_option_checking
854enable_silent_rules
855enable_maintainer_mode
856enable_dependency_tracking
857enable_static
858enable_shared
859with_pic
860enable_fast_install
861with_aix_soname
862with_gnu_ld
863with_sysroot
864enable_libtool_lock
865enable_nls
866with_html_dir
867enable_gtk_doc
868enable_gtk_doc_html
869enable_gtk_doc_pdf
870enable_introspection
871'
872      ac_precious_vars='build_alias
873host_alias
874target_alias
875CC
876CFLAGS
877LDFLAGS
878LIBS
879CPPFLAGS
880CPP
881CXX
882CXXFLAGS
883CCC
884LT_SYS_LIBRARY_PATH
885CXXCPP
886PKG_CONFIG
887PKG_CONFIG_PATH
888PKG_CONFIG_LIBDIR
889XML_CFLAGS
890XML_LIBS
891GDL_DEPENDENCIES_CFLAGS
892GDL_DEPENDENCIES_LIBS
893GTKDOC_DEPS_CFLAGS
894GTKDOC_DEPS_LIBS'
895
896
897# Initialize some variables set by options.
898ac_init_help=
899ac_init_version=false
900ac_unrecognized_opts=
901ac_unrecognized_sep=
902# The variables have the same names as the options, with
903# dashes changed to underlines.
904cache_file=/dev/null
905exec_prefix=NONE
906no_create=
907no_recursion=
908prefix=NONE
909program_prefix=NONE
910program_suffix=NONE
911program_transform_name=s,x,x,
912silent=
913site=
914srcdir=
915verbose=
916x_includes=NONE
917x_libraries=NONE
918
919# Installation directory options.
920# These are left unexpanded so users can "make install exec_prefix=/foo"
921# and all the variables that are supposed to be based on exec_prefix
922# by default will actually change.
923# Use braces instead of parens because sh, perl, etc. also accept them.
924# (The list follows the same order as the GNU Coding Standards.)
925bindir='${exec_prefix}/bin'
926sbindir='${exec_prefix}/sbin'
927libexecdir='${exec_prefix}/libexec'
928datarootdir='${prefix}/share'
929datadir='${datarootdir}'
930sysconfdir='${prefix}/etc'
931sharedstatedir='${prefix}/com'
932localstatedir='${prefix}/var'
933includedir='${prefix}/include'
934oldincludedir='/usr/include'
935docdir='${datarootdir}/doc/${PACKAGE}'
936infodir='${datarootdir}/info'
937htmldir='${docdir}'
938dvidir='${docdir}'
939pdfdir='${docdir}'
940psdir='${docdir}'
941libdir='${exec_prefix}/lib'
942localedir='${datarootdir}/locale'
943mandir='${datarootdir}/man'
944
945ac_prev=
946ac_dashdash=
947for ac_option
948do
949  # If the previous option needs an argument, assign it.
950  if test -n "$ac_prev"; then
951    eval $ac_prev=\$ac_option
952    ac_prev=
953    continue
954  fi
955
956  case $ac_option in
957  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958  *=)   ac_optarg= ;;
959  *)    ac_optarg=yes ;;
960  esac
961
962  # Accept the important Cygnus configure options, so we can diagnose typos.
963
964  case $ac_dashdash$ac_option in
965  --)
966    ac_dashdash=yes ;;
967
968  -bindir | --bindir | --bindi | --bind | --bin | --bi)
969    ac_prev=bindir ;;
970  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
971    bindir=$ac_optarg ;;
972
973  -build | --build | --buil | --bui | --bu)
974    ac_prev=build_alias ;;
975  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
976    build_alias=$ac_optarg ;;
977
978  -cache-file | --cache-file | --cache-fil | --cache-fi \
979  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
980    ac_prev=cache_file ;;
981  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
982  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
983    cache_file=$ac_optarg ;;
984
985  --config-cache | -C)
986    cache_file=config.cache ;;
987
988  -datadir | --datadir | --datadi | --datad)
989    ac_prev=datadir ;;
990  -datadir=* | --datadir=* | --datadi=* | --datad=*)
991    datadir=$ac_optarg ;;
992
993  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
994  | --dataroo | --dataro | --datar)
995    ac_prev=datarootdir ;;
996  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
997  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
998    datarootdir=$ac_optarg ;;
999
1000  -disable-* | --disable-*)
1001    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002    # Reject names that are not valid shell variable names.
1003    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004      as_fn_error $? "invalid feature name: $ac_useropt"
1005    ac_useropt_orig=$ac_useropt
1006    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007    case $ac_user_opts in
1008      *"
1009"enable_$ac_useropt"
1010"*) ;;
1011      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012	 ac_unrecognized_sep=', ';;
1013    esac
1014    eval enable_$ac_useropt=no ;;
1015
1016  -docdir | --docdir | --docdi | --doc | --do)
1017    ac_prev=docdir ;;
1018  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1019    docdir=$ac_optarg ;;
1020
1021  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1022    ac_prev=dvidir ;;
1023  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1024    dvidir=$ac_optarg ;;
1025
1026  -enable-* | --enable-*)
1027    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028    # Reject names that are not valid shell variable names.
1029    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030      as_fn_error $? "invalid feature name: $ac_useropt"
1031    ac_useropt_orig=$ac_useropt
1032    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033    case $ac_user_opts in
1034      *"
1035"enable_$ac_useropt"
1036"*) ;;
1037      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038	 ac_unrecognized_sep=', ';;
1039    esac
1040    eval enable_$ac_useropt=\$ac_optarg ;;
1041
1042  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1043  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1044  | --exec | --exe | --ex)
1045    ac_prev=exec_prefix ;;
1046  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1047  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1048  | --exec=* | --exe=* | --ex=*)
1049    exec_prefix=$ac_optarg ;;
1050
1051  -gas | --gas | --ga | --g)
1052    # Obsolete; use --with-gas.
1053    with_gas=yes ;;
1054
1055  -help | --help | --hel | --he | -h)
1056    ac_init_help=long ;;
1057  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1058    ac_init_help=recursive ;;
1059  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1060    ac_init_help=short ;;
1061
1062  -host | --host | --hos | --ho)
1063    ac_prev=host_alias ;;
1064  -host=* | --host=* | --hos=* | --ho=*)
1065    host_alias=$ac_optarg ;;
1066
1067  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1068    ac_prev=htmldir ;;
1069  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1070  | --ht=*)
1071    htmldir=$ac_optarg ;;
1072
1073  -includedir | --includedir | --includedi | --included | --include \
1074  | --includ | --inclu | --incl | --inc)
1075    ac_prev=includedir ;;
1076  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1077  | --includ=* | --inclu=* | --incl=* | --inc=*)
1078    includedir=$ac_optarg ;;
1079
1080  -infodir | --infodir | --infodi | --infod | --info | --inf)
1081    ac_prev=infodir ;;
1082  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1083    infodir=$ac_optarg ;;
1084
1085  -libdir | --libdir | --libdi | --libd)
1086    ac_prev=libdir ;;
1087  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1088    libdir=$ac_optarg ;;
1089
1090  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1091  | --libexe | --libex | --libe)
1092    ac_prev=libexecdir ;;
1093  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1094  | --libexe=* | --libex=* | --libe=*)
1095    libexecdir=$ac_optarg ;;
1096
1097  -localedir | --localedir | --localedi | --localed | --locale)
1098    ac_prev=localedir ;;
1099  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1100    localedir=$ac_optarg ;;
1101
1102  -localstatedir | --localstatedir | --localstatedi | --localstated \
1103  | --localstate | --localstat | --localsta | --localst | --locals)
1104    ac_prev=localstatedir ;;
1105  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1106  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1107    localstatedir=$ac_optarg ;;
1108
1109  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1110    ac_prev=mandir ;;
1111  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1112    mandir=$ac_optarg ;;
1113
1114  -nfp | --nfp | --nf)
1115    # Obsolete; use --without-fp.
1116    with_fp=no ;;
1117
1118  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1119  | --no-cr | --no-c | -n)
1120    no_create=yes ;;
1121
1122  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1123  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1124    no_recursion=yes ;;
1125
1126  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1127  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1128  | --oldin | --oldi | --old | --ol | --o)
1129    ac_prev=oldincludedir ;;
1130  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1131  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1132  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1133    oldincludedir=$ac_optarg ;;
1134
1135  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1136    ac_prev=prefix ;;
1137  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1138    prefix=$ac_optarg ;;
1139
1140  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1141  | --program-pre | --program-pr | --program-p)
1142    ac_prev=program_prefix ;;
1143  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1144  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1145    program_prefix=$ac_optarg ;;
1146
1147  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1148  | --program-suf | --program-su | --program-s)
1149    ac_prev=program_suffix ;;
1150  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1151  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1152    program_suffix=$ac_optarg ;;
1153
1154  -program-transform-name | --program-transform-name \
1155  | --program-transform-nam | --program-transform-na \
1156  | --program-transform-n | --program-transform- \
1157  | --program-transform | --program-transfor \
1158  | --program-transfo | --program-transf \
1159  | --program-trans | --program-tran \
1160  | --progr-tra | --program-tr | --program-t)
1161    ac_prev=program_transform_name ;;
1162  -program-transform-name=* | --program-transform-name=* \
1163  | --program-transform-nam=* | --program-transform-na=* \
1164  | --program-transform-n=* | --program-transform-=* \
1165  | --program-transform=* | --program-transfor=* \
1166  | --program-transfo=* | --program-transf=* \
1167  | --program-trans=* | --program-tran=* \
1168  | --progr-tra=* | --program-tr=* | --program-t=*)
1169    program_transform_name=$ac_optarg ;;
1170
1171  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1172    ac_prev=pdfdir ;;
1173  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1174    pdfdir=$ac_optarg ;;
1175
1176  -psdir | --psdir | --psdi | --psd | --ps)
1177    ac_prev=psdir ;;
1178  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1179    psdir=$ac_optarg ;;
1180
1181  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1182  | -silent | --silent | --silen | --sile | --sil)
1183    silent=yes ;;
1184
1185  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1186    ac_prev=sbindir ;;
1187  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1188  | --sbi=* | --sb=*)
1189    sbindir=$ac_optarg ;;
1190
1191  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1192  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1193  | --sharedst | --shareds | --shared | --share | --shar \
1194  | --sha | --sh)
1195    ac_prev=sharedstatedir ;;
1196  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1197  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1198  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1199  | --sha=* | --sh=*)
1200    sharedstatedir=$ac_optarg ;;
1201
1202  -site | --site | --sit)
1203    ac_prev=site ;;
1204  -site=* | --site=* | --sit=*)
1205    site=$ac_optarg ;;
1206
1207  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1208    ac_prev=srcdir ;;
1209  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1210    srcdir=$ac_optarg ;;
1211
1212  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1213  | --syscon | --sysco | --sysc | --sys | --sy)
1214    ac_prev=sysconfdir ;;
1215  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1216  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1217    sysconfdir=$ac_optarg ;;
1218
1219  -target | --target | --targe | --targ | --tar | --ta | --t)
1220    ac_prev=target_alias ;;
1221  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1222    target_alias=$ac_optarg ;;
1223
1224  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1225    verbose=yes ;;
1226
1227  -version | --version | --versio | --versi | --vers | -V)
1228    ac_init_version=: ;;
1229
1230  -with-* | --with-*)
1231    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232    # Reject names that are not valid shell variable names.
1233    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1234      as_fn_error $? "invalid package name: $ac_useropt"
1235    ac_useropt_orig=$ac_useropt
1236    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237    case $ac_user_opts in
1238      *"
1239"with_$ac_useropt"
1240"*) ;;
1241      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242	 ac_unrecognized_sep=', ';;
1243    esac
1244    eval with_$ac_useropt=\$ac_optarg ;;
1245
1246  -without-* | --without-*)
1247    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248    # Reject names that are not valid shell variable names.
1249    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250      as_fn_error $? "invalid package name: $ac_useropt"
1251    ac_useropt_orig=$ac_useropt
1252    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253    case $ac_user_opts in
1254      *"
1255"with_$ac_useropt"
1256"*) ;;
1257      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258	 ac_unrecognized_sep=', ';;
1259    esac
1260    eval with_$ac_useropt=no ;;
1261
1262  --x)
1263    # Obsolete; use --with-x.
1264    with_x=yes ;;
1265
1266  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1267  | --x-incl | --x-inc | --x-in | --x-i)
1268    ac_prev=x_includes ;;
1269  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1270  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1271    x_includes=$ac_optarg ;;
1272
1273  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1274  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1275    ac_prev=x_libraries ;;
1276  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1277  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1278    x_libraries=$ac_optarg ;;
1279
1280  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1281Try \`$0 --help' for more information"
1282    ;;
1283
1284  *=*)
1285    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1286    # Reject names that are not valid shell variable names.
1287    case $ac_envvar in #(
1288      '' | [0-9]* | *[!_$as_cr_alnum]* )
1289      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1290    esac
1291    eval $ac_envvar=\$ac_optarg
1292    export $ac_envvar ;;
1293
1294  *)
1295    # FIXME: should be removed in autoconf 3.0.
1296    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1298      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1300    ;;
1301
1302  esac
1303done
1304
1305if test -n "$ac_prev"; then
1306  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1307  as_fn_error $? "missing argument to $ac_option"
1308fi
1309
1310if test -n "$ac_unrecognized_opts"; then
1311  case $enable_option_checking in
1312    no) ;;
1313    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1314    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315  esac
1316fi
1317
1318# Check all directory arguments for consistency.
1319for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320		datadir sysconfdir sharedstatedir localstatedir includedir \
1321		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322		libdir localedir mandir
1323do
1324  eval ac_val=\$$ac_var
1325  # Remove trailing slashes.
1326  case $ac_val in
1327    */ )
1328      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329      eval $ac_var=\$ac_val;;
1330  esac
1331  # Be sure to have absolute directory names.
1332  case $ac_val in
1333    [\\/$]* | ?:[\\/]* )  continue;;
1334    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1335  esac
1336  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1337done
1338
1339# There might be people who depend on the old broken behavior: `$host'
1340# used to hold the argument of --host etc.
1341# FIXME: To remove some day.
1342build=$build_alias
1343host=$host_alias
1344target=$target_alias
1345
1346# FIXME: To remove some day.
1347if test "x$host_alias" != x; then
1348  if test "x$build_alias" = x; then
1349    cross_compiling=maybe
1350  elif test "x$build_alias" != "x$host_alias"; then
1351    cross_compiling=yes
1352  fi
1353fi
1354
1355ac_tool_prefix=
1356test -n "$host_alias" && ac_tool_prefix=$host_alias-
1357
1358test "$silent" = yes && exec 6>/dev/null
1359
1360
1361ac_pwd=`pwd` && test -n "$ac_pwd" &&
1362ac_ls_di=`ls -di .` &&
1363ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1364  as_fn_error $? "working directory cannot be determined"
1365test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1366  as_fn_error $? "pwd does not report name of working directory"
1367
1368
1369# Find the source files, if location was not specified.
1370if test -z "$srcdir"; then
1371  ac_srcdir_defaulted=yes
1372  # Try the directory containing this script, then the parent directory.
1373  ac_confdir=`$as_dirname -- "$as_myself" ||
1374$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375	 X"$as_myself" : 'X\(//\)[^/]' \| \
1376	 X"$as_myself" : 'X\(//\)$' \| \
1377	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1378$as_echo X"$as_myself" |
1379    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380	    s//\1/
1381	    q
1382	  }
1383	  /^X\(\/\/\)[^/].*/{
1384	    s//\1/
1385	    q
1386	  }
1387	  /^X\(\/\/\)$/{
1388	    s//\1/
1389	    q
1390	  }
1391	  /^X\(\/\).*/{
1392	    s//\1/
1393	    q
1394	  }
1395	  s/.*/./; q'`
1396  srcdir=$ac_confdir
1397  if test ! -r "$srcdir/$ac_unique_file"; then
1398    srcdir=..
1399  fi
1400else
1401  ac_srcdir_defaulted=no
1402fi
1403if test ! -r "$srcdir/$ac_unique_file"; then
1404  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1405  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1406fi
1407ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1408ac_abs_confdir=`(
1409	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1410	pwd)`
1411# When building in place, set srcdir=.
1412if test "$ac_abs_confdir" = "$ac_pwd"; then
1413  srcdir=.
1414fi
1415# Remove unnecessary trailing slashes from srcdir.
1416# Double slashes in file names in object file debugging info
1417# mess up M-x gdb in Emacs.
1418case $srcdir in
1419*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1420esac
1421for ac_var in $ac_precious_vars; do
1422  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1423  eval ac_env_${ac_var}_value=\$${ac_var}
1424  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1425  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1426done
1427
1428#
1429# Report the --help message.
1430#
1431if test "$ac_init_help" = "long"; then
1432  # Omit some internal or obsolete options to make the list less imposing.
1433  # This message is too long to be a string in the A/UX 3.1 sh.
1434  cat <<_ACEOF
1435\`configure' configures this package to adapt to many kinds of systems.
1436
1437Usage: $0 [OPTION]... [VAR=VALUE]...
1438
1439To assign environment variables (e.g., CC, CFLAGS...), specify them as
1440VAR=VALUE.  See below for descriptions of some of the useful variables.
1441
1442Defaults for the options are specified in brackets.
1443
1444Configuration:
1445  -h, --help              display this help and exit
1446      --help=short        display options specific to this package
1447      --help=recursive    display the short help of all the included packages
1448  -V, --version           display version information and exit
1449  -q, --quiet, --silent   do not print \`checking ...' messages
1450      --cache-file=FILE   cache test results in FILE [disabled]
1451  -C, --config-cache      alias for \`--cache-file=config.cache'
1452  -n, --no-create         do not create output files
1453      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1454
1455Installation directories:
1456  --prefix=PREFIX         install architecture-independent files in PREFIX
1457                          [$ac_default_prefix]
1458  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1459                          [PREFIX]
1460
1461By default, \`make install' will install all the files in
1462\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1463an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1464for instance \`--prefix=\$HOME'.
1465
1466For better control, use the options below.
1467
1468Fine tuning of the installation directories:
1469  --bindir=DIR            user executables [EPREFIX/bin]
1470  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1471  --libexecdir=DIR        program executables [EPREFIX/libexec]
1472  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1473  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1474  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1475  --libdir=DIR            object code libraries [EPREFIX/lib]
1476  --includedir=DIR        C header files [PREFIX/include]
1477  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1478  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1479  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1480  --infodir=DIR           info documentation [DATAROOTDIR/info]
1481  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1482  --mandir=DIR            man documentation [DATAROOTDIR/man]
1483  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1484  --htmldir=DIR           html documentation [DOCDIR]
1485  --dvidir=DIR            dvi documentation [DOCDIR]
1486  --pdfdir=DIR            pdf documentation [DOCDIR]
1487  --psdir=DIR             ps documentation [DOCDIR]
1488_ACEOF
1489
1490  cat <<\_ACEOF
1491
1492Program names:
1493  --program-prefix=PREFIX            prepend PREFIX to installed program names
1494  --program-suffix=SUFFIX            append SUFFIX to installed program names
1495  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1496
1497System types:
1498  --build=BUILD     configure for building on BUILD [guessed]
1499  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1500_ACEOF
1501fi
1502
1503if test -n "$ac_init_help"; then
1504
1505  cat <<\_ACEOF
1506
1507Optional Features:
1508  --disable-option-checking  ignore unrecognized --enable/--with options
1509  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1510  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1511  --enable-silent-rules   less verbose build output (undo: "make V=1")
1512  --disable-silent-rules  verbose build output (undo: "make V=0")
1513  --disable-maintainer-mode
1514                          disable make rules and dependencies not useful (and
1515                          sometimes confusing) to the casual installer
1516  --enable-dependency-tracking
1517                          do not reject slow dependency extractors
1518  --disable-dependency-tracking
1519                          speeds up one-time build
1520  --enable-static[=PKGS]  build static libraries [default=no]
1521  --enable-shared[=PKGS]  build shared libraries [default=yes]
1522  --enable-fast-install[=PKGS]
1523                          optimize for fast installation [default=yes]
1524  --disable-libtool-lock  avoid locking (might break parallel builds)
1525  --disable-nls           do not use Native Language Support
1526  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
1527  --enable-gtk-doc-html   build documentation in html format [[default=yes]]
1528  --enable-gtk-doc-pdf    build documentation in pdf format [[default=no]]
1529  --enable-introspection=[no/auto/yes]
1530                          Enable introspection for this build
1531
1532Optional Packages:
1533  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1534  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1535  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1536                          both]
1537  --with-aix-soname=aix|svr4|both
1538                          shared library versioning (aka "SONAME") variant to
1539                          provide on AIX, [default=aix].
1540  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1541  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1542                          compiler's sysroot if not specified).
1543  --with-html-dir=PATH    path to installed docs
1544
1545Some influential environment variables:
1546  CC          C compiler command
1547  CFLAGS      C compiler flags
1548  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1549              nonstandard directory <lib dir>
1550  LIBS        libraries to pass to the linker, e.g. -l<library>
1551  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1552              you have headers in a nonstandard directory <include dir>
1553  CPP         C preprocessor
1554  CXX         C++ compiler command
1555  CXXFLAGS    C++ compiler flags
1556  LT_SYS_LIBRARY_PATH
1557              User-defined run-time library search path.
1558  CXXCPP      C++ preprocessor
1559  PKG_CONFIG  path to pkg-config utility
1560  PKG_CONFIG_PATH
1561              directories to add to pkg-config's search path
1562  PKG_CONFIG_LIBDIR
1563              path overriding pkg-config's built-in search path
1564  XML_CFLAGS  C compiler flags for XML, overriding pkg-config
1565  XML_LIBS    linker flags for XML, overriding pkg-config
1566  GDL_DEPENDENCIES_CFLAGS
1567              C compiler flags for GDL_DEPENDENCIES, overriding pkg-config
1568  GDL_DEPENDENCIES_LIBS
1569              linker flags for GDL_DEPENDENCIES, overriding pkg-config
1570  GTKDOC_DEPS_CFLAGS
1571              C compiler flags for GTKDOC_DEPS, overriding pkg-config
1572  GTKDOC_DEPS_LIBS
1573              linker flags for GTKDOC_DEPS, overriding pkg-config
1574
1575Use these variables to override the choices made by `configure' or to help
1576it to find libraries and programs with nonstandard names/locations.
1577
1578Report bugs to the package provider.
1579_ACEOF
1580ac_status=$?
1581fi
1582
1583if test "$ac_init_help" = "recursive"; then
1584  # If there are subdirs, report their specific --help.
1585  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586    test -d "$ac_dir" ||
1587      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1588      continue
1589    ac_builddir=.
1590
1591case "$ac_dir" in
1592.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593*)
1594  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1595  # A ".." for each directory in $ac_dir_suffix.
1596  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1597  case $ac_top_builddir_sub in
1598  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1600  esac ;;
1601esac
1602ac_abs_top_builddir=$ac_pwd
1603ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604# for backward compatibility:
1605ac_top_builddir=$ac_top_build_prefix
1606
1607case $srcdir in
1608  .)  # We are building in place.
1609    ac_srcdir=.
1610    ac_top_srcdir=$ac_top_builddir_sub
1611    ac_abs_top_srcdir=$ac_pwd ;;
1612  [\\/]* | ?:[\\/]* )  # Absolute name.
1613    ac_srcdir=$srcdir$ac_dir_suffix;
1614    ac_top_srcdir=$srcdir
1615    ac_abs_top_srcdir=$srcdir ;;
1616  *) # Relative name.
1617    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618    ac_top_srcdir=$ac_top_build_prefix$srcdir
1619    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1620esac
1621ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1622
1623    cd "$ac_dir" || { ac_status=$?; continue; }
1624    # Check for guested configure.
1625    if test -f "$ac_srcdir/configure.gnu"; then
1626      echo &&
1627      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628    elif test -f "$ac_srcdir/configure"; then
1629      echo &&
1630      $SHELL "$ac_srcdir/configure" --help=recursive
1631    else
1632      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1633    fi || ac_status=$?
1634    cd "$ac_pwd" || { ac_status=$?; break; }
1635  done
1636fi
1637
1638test -n "$ac_init_help" && exit $ac_status
1639if $ac_init_version; then
1640  cat <<\_ACEOF
1641configure
1642generated by GNU Autoconf 2.69
1643
1644Copyright (C) 2012 Free Software Foundation, Inc.
1645This configure script is free software; the Free Software Foundation
1646gives unlimited permission to copy, distribute and modify it.
1647_ACEOF
1648  exit
1649fi
1650
1651## ------------------------ ##
1652## Autoconf initialization. ##
1653## ------------------------ ##
1654
1655# ac_fn_c_try_compile LINENO
1656# --------------------------
1657# Try to compile conftest.$ac_ext, and return whether this succeeded.
1658ac_fn_c_try_compile ()
1659{
1660  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661  rm -f conftest.$ac_objext
1662  if { { ac_try="$ac_compile"
1663case "(($ac_try" in
1664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1665  *) ac_try_echo=$ac_try;;
1666esac
1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668$as_echo "$ac_try_echo"; } >&5
1669  (eval "$ac_compile") 2>conftest.err
1670  ac_status=$?
1671  if test -s conftest.err; then
1672    grep -v '^ *+' conftest.err >conftest.er1
1673    cat conftest.er1 >&5
1674    mv -f conftest.er1 conftest.err
1675  fi
1676  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677  test $ac_status = 0; } && {
1678	 test -z "$ac_c_werror_flag" ||
1679	 test ! -s conftest.err
1680       } && test -s conftest.$ac_objext; then :
1681  ac_retval=0
1682else
1683  $as_echo "$as_me: failed program was:" >&5
1684sed 's/^/| /' conftest.$ac_ext >&5
1685
1686	ac_retval=1
1687fi
1688  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689  as_fn_set_status $ac_retval
1690
1691} # ac_fn_c_try_compile
1692
1693# ac_fn_c_try_link LINENO
1694# -----------------------
1695# Try to link conftest.$ac_ext, and return whether this succeeded.
1696ac_fn_c_try_link ()
1697{
1698  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699  rm -f conftest.$ac_objext conftest$ac_exeext
1700  if { { ac_try="$ac_link"
1701case "(($ac_try" in
1702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703  *) ac_try_echo=$ac_try;;
1704esac
1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706$as_echo "$ac_try_echo"; } >&5
1707  (eval "$ac_link") 2>conftest.err
1708  ac_status=$?
1709  if test -s conftest.err; then
1710    grep -v '^ *+' conftest.err >conftest.er1
1711    cat conftest.er1 >&5
1712    mv -f conftest.er1 conftest.err
1713  fi
1714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715  test $ac_status = 0; } && {
1716	 test -z "$ac_c_werror_flag" ||
1717	 test ! -s conftest.err
1718       } && test -s conftest$ac_exeext && {
1719	 test "$cross_compiling" = yes ||
1720	 test -x conftest$ac_exeext
1721       }; then :
1722  ac_retval=0
1723else
1724  $as_echo "$as_me: failed program was:" >&5
1725sed 's/^/| /' conftest.$ac_ext >&5
1726
1727	ac_retval=1
1728fi
1729  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1730  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1731  # interfere with the next link command; also delete a directory that is
1732  # left behind by Apple's compiler.  We do this before executing the actions.
1733  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1734  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1735  as_fn_set_status $ac_retval
1736
1737} # ac_fn_c_try_link
1738
1739# ac_fn_c_try_cpp LINENO
1740# ----------------------
1741# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1742ac_fn_c_try_cpp ()
1743{
1744  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745  if { { ac_try="$ac_cpp conftest.$ac_ext"
1746case "(($ac_try" in
1747  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1748  *) ac_try_echo=$ac_try;;
1749esac
1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1751$as_echo "$ac_try_echo"; } >&5
1752  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1753  ac_status=$?
1754  if test -s conftest.err; then
1755    grep -v '^ *+' conftest.err >conftest.er1
1756    cat conftest.er1 >&5
1757    mv -f conftest.er1 conftest.err
1758  fi
1759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1760  test $ac_status = 0; } > conftest.i && {
1761	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1762	 test ! -s conftest.err
1763       }; then :
1764  ac_retval=0
1765else
1766  $as_echo "$as_me: failed program was:" >&5
1767sed 's/^/| /' conftest.$ac_ext >&5
1768
1769    ac_retval=1
1770fi
1771  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772  as_fn_set_status $ac_retval
1773
1774} # ac_fn_c_try_cpp
1775
1776# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1777# -------------------------------------------------------
1778# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1779# the include files in INCLUDES and setting the cache variable VAR
1780# accordingly.
1781ac_fn_c_check_header_mongrel ()
1782{
1783  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1784  if eval \${$3+:} false; then :
1785  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1786$as_echo_n "checking for $2... " >&6; }
1787if eval \${$3+:} false; then :
1788  $as_echo_n "(cached) " >&6
1789fi
1790eval ac_res=\$$3
1791	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792$as_echo "$ac_res" >&6; }
1793else
1794  # Is the header compilable?
1795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1796$as_echo_n "checking $2 usability... " >&6; }
1797cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1798/* end confdefs.h.  */
1799$4
1800#include <$2>
1801_ACEOF
1802if ac_fn_c_try_compile "$LINENO"; then :
1803  ac_header_compiler=yes
1804else
1805  ac_header_compiler=no
1806fi
1807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1809$as_echo "$ac_header_compiler" >&6; }
1810
1811# Is the header present?
1812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1813$as_echo_n "checking $2 presence... " >&6; }
1814cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1815/* end confdefs.h.  */
1816#include <$2>
1817_ACEOF
1818if ac_fn_c_try_cpp "$LINENO"; then :
1819  ac_header_preproc=yes
1820else
1821  ac_header_preproc=no
1822fi
1823rm -f conftest.err conftest.i conftest.$ac_ext
1824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1825$as_echo "$ac_header_preproc" >&6; }
1826
1827# So?  What about this header?
1828case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1829  yes:no: )
1830    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1831$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1832    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1833$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1834    ;;
1835  no:yes:* )
1836    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1837$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1838    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1839$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1840    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1841$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1842    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1843$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1844    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1845$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1846    ;;
1847esac
1848  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849$as_echo_n "checking for $2... " >&6; }
1850if eval \${$3+:} false; then :
1851  $as_echo_n "(cached) " >&6
1852else
1853  eval "$3=\$ac_header_compiler"
1854fi
1855eval ac_res=\$$3
1856	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1857$as_echo "$ac_res" >&6; }
1858fi
1859  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860
1861} # ac_fn_c_check_header_mongrel
1862
1863# ac_fn_c_try_run LINENO
1864# ----------------------
1865# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1866# that executables *can* be run.
1867ac_fn_c_try_run ()
1868{
1869  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870  if { { ac_try="$ac_link"
1871case "(($ac_try" in
1872  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1873  *) ac_try_echo=$ac_try;;
1874esac
1875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1876$as_echo "$ac_try_echo"; } >&5
1877  (eval "$ac_link") 2>&5
1878  ac_status=$?
1879  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1880  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1881  { { case "(($ac_try" in
1882  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1883  *) ac_try_echo=$ac_try;;
1884esac
1885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1886$as_echo "$ac_try_echo"; } >&5
1887  (eval "$ac_try") 2>&5
1888  ac_status=$?
1889  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1890  test $ac_status = 0; }; }; then :
1891  ac_retval=0
1892else
1893  $as_echo "$as_me: program exited with status $ac_status" >&5
1894       $as_echo "$as_me: failed program was:" >&5
1895sed 's/^/| /' conftest.$ac_ext >&5
1896
1897       ac_retval=$ac_status
1898fi
1899  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1900  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1901  as_fn_set_status $ac_retval
1902
1903} # ac_fn_c_try_run
1904
1905# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1906# -------------------------------------------------------
1907# Tests whether HEADER exists and can be compiled using the include files in
1908# INCLUDES, setting the cache variable VAR accordingly.
1909ac_fn_c_check_header_compile ()
1910{
1911  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1913$as_echo_n "checking for $2... " >&6; }
1914if eval \${$3+:} false; then :
1915  $as_echo_n "(cached) " >&6
1916else
1917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1918/* end confdefs.h.  */
1919$4
1920#include <$2>
1921_ACEOF
1922if ac_fn_c_try_compile "$LINENO"; then :
1923  eval "$3=yes"
1924else
1925  eval "$3=no"
1926fi
1927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1928fi
1929eval ac_res=\$$3
1930	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1931$as_echo "$ac_res" >&6; }
1932  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1933
1934} # ac_fn_c_check_header_compile
1935
1936# ac_fn_cxx_try_compile LINENO
1937# ----------------------------
1938# Try to compile conftest.$ac_ext, and return whether this succeeded.
1939ac_fn_cxx_try_compile ()
1940{
1941  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942  rm -f conftest.$ac_objext
1943  if { { ac_try="$ac_compile"
1944case "(($ac_try" in
1945  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1946  *) ac_try_echo=$ac_try;;
1947esac
1948eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1949$as_echo "$ac_try_echo"; } >&5
1950  (eval "$ac_compile") 2>conftest.err
1951  ac_status=$?
1952  if test -s conftest.err; then
1953    grep -v '^ *+' conftest.err >conftest.er1
1954    cat conftest.er1 >&5
1955    mv -f conftest.er1 conftest.err
1956  fi
1957  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1958  test $ac_status = 0; } && {
1959	 test -z "$ac_cxx_werror_flag" ||
1960	 test ! -s conftest.err
1961       } && test -s conftest.$ac_objext; then :
1962  ac_retval=0
1963else
1964  $as_echo "$as_me: failed program was:" >&5
1965sed 's/^/| /' conftest.$ac_ext >&5
1966
1967	ac_retval=1
1968fi
1969  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970  as_fn_set_status $ac_retval
1971
1972} # ac_fn_cxx_try_compile
1973
1974# ac_fn_c_check_func LINENO FUNC VAR
1975# ----------------------------------
1976# Tests whether FUNC exists, setting the cache variable VAR accordingly
1977ac_fn_c_check_func ()
1978{
1979  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1981$as_echo_n "checking for $2... " >&6; }
1982if eval \${$3+:} false; then :
1983  $as_echo_n "(cached) " >&6
1984else
1985  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986/* end confdefs.h.  */
1987/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1988   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1989#define $2 innocuous_$2
1990
1991/* System header to define __stub macros and hopefully few prototypes,
1992    which can conflict with char $2 (); below.
1993    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1994    <limits.h> exists even on freestanding compilers.  */
1995
1996#ifdef __STDC__
1997# include <limits.h>
1998#else
1999# include <assert.h>
2000#endif
2001
2002#undef $2
2003
2004/* Override any GCC internal prototype to avoid an error.
2005   Use char because int might match the return type of a GCC
2006   builtin and then its argument prototype would still apply.  */
2007#ifdef __cplusplus
2008extern "C"
2009#endif
2010char $2 ();
2011/* The GNU C library defines this for functions which it implements
2012    to always fail with ENOSYS.  Some functions are actually named
2013    something starting with __ and the normal name is an alias.  */
2014#if defined __stub_$2 || defined __stub___$2
2015choke me
2016#endif
2017
2018int
2019main ()
2020{
2021return $2 ();
2022  ;
2023  return 0;
2024}
2025_ACEOF
2026if ac_fn_c_try_link "$LINENO"; then :
2027  eval "$3=yes"
2028else
2029  eval "$3=no"
2030fi
2031rm -f core conftest.err conftest.$ac_objext \
2032    conftest$ac_exeext conftest.$ac_ext
2033fi
2034eval ac_res=\$$3
2035	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2036$as_echo "$ac_res" >&6; }
2037  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2038
2039} # ac_fn_c_check_func
2040
2041# ac_fn_cxx_try_cpp LINENO
2042# ------------------------
2043# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2044ac_fn_cxx_try_cpp ()
2045{
2046  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2047  if { { ac_try="$ac_cpp conftest.$ac_ext"
2048case "(($ac_try" in
2049  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2050  *) ac_try_echo=$ac_try;;
2051esac
2052eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2053$as_echo "$ac_try_echo"; } >&5
2054  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2055  ac_status=$?
2056  if test -s conftest.err; then
2057    grep -v '^ *+' conftest.err >conftest.er1
2058    cat conftest.er1 >&5
2059    mv -f conftest.er1 conftest.err
2060  fi
2061  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2062  test $ac_status = 0; } > conftest.i && {
2063	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2064	 test ! -s conftest.err
2065       }; then :
2066  ac_retval=0
2067else
2068  $as_echo "$as_me: failed program was:" >&5
2069sed 's/^/| /' conftest.$ac_ext >&5
2070
2071    ac_retval=1
2072fi
2073  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074  as_fn_set_status $ac_retval
2075
2076} # ac_fn_cxx_try_cpp
2077
2078# ac_fn_cxx_try_link LINENO
2079# -------------------------
2080# Try to link conftest.$ac_ext, and return whether this succeeded.
2081ac_fn_cxx_try_link ()
2082{
2083  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084  rm -f conftest.$ac_objext conftest$ac_exeext
2085  if { { ac_try="$ac_link"
2086case "(($ac_try" in
2087  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2088  *) ac_try_echo=$ac_try;;
2089esac
2090eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2091$as_echo "$ac_try_echo"; } >&5
2092  (eval "$ac_link") 2>conftest.err
2093  ac_status=$?
2094  if test -s conftest.err; then
2095    grep -v '^ *+' conftest.err >conftest.er1
2096    cat conftest.er1 >&5
2097    mv -f conftest.er1 conftest.err
2098  fi
2099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100  test $ac_status = 0; } && {
2101	 test -z "$ac_cxx_werror_flag" ||
2102	 test ! -s conftest.err
2103       } && test -s conftest$ac_exeext && {
2104	 test "$cross_compiling" = yes ||
2105	 test -x conftest$ac_exeext
2106       }; then :
2107  ac_retval=0
2108else
2109  $as_echo "$as_me: failed program was:" >&5
2110sed 's/^/| /' conftest.$ac_ext >&5
2111
2112	ac_retval=1
2113fi
2114  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2115  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2116  # interfere with the next link command; also delete a directory that is
2117  # left behind by Apple's compiler.  We do this before executing the actions.
2118  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2119  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120  as_fn_set_status $ac_retval
2121
2122} # ac_fn_cxx_try_link
2123cat >config.log <<_ACEOF
2124This file contains any messages produced by compilers while
2125running configure, to aid debugging if configure makes a mistake.
2126
2127It was created by $as_me, which was
2128generated by GNU Autoconf 2.69.  Invocation command line was
2129
2130  $ $0 $@
2131
2132_ACEOF
2133exec 5>>config.log
2134{
2135cat <<_ASUNAME
2136## --------- ##
2137## Platform. ##
2138## --------- ##
2139
2140hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2141uname -m = `(uname -m) 2>/dev/null || echo unknown`
2142uname -r = `(uname -r) 2>/dev/null || echo unknown`
2143uname -s = `(uname -s) 2>/dev/null || echo unknown`
2144uname -v = `(uname -v) 2>/dev/null || echo unknown`
2145
2146/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2147/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2148
2149/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2150/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2151/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2152/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2153/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2154/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2155/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2156
2157_ASUNAME
2158
2159as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2160for as_dir in $PATH
2161do
2162  IFS=$as_save_IFS
2163  test -z "$as_dir" && as_dir=.
2164    $as_echo "PATH: $as_dir"
2165  done
2166IFS=$as_save_IFS
2167
2168} >&5
2169
2170cat >&5 <<_ACEOF
2171
2172
2173## ----------- ##
2174## Core tests. ##
2175## ----------- ##
2176
2177_ACEOF
2178
2179
2180# Keep a trace of the command line.
2181# Strip out --no-create and --no-recursion so they do not pile up.
2182# Strip out --silent because we don't want to record it for future runs.
2183# Also quote any args containing shell meta-characters.
2184# Make two passes to allow for proper duplicate-argument suppression.
2185ac_configure_args=
2186ac_configure_args0=
2187ac_configure_args1=
2188ac_must_keep_next=false
2189for ac_pass in 1 2
2190do
2191  for ac_arg
2192  do
2193    case $ac_arg in
2194    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2195    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2196    | -silent | --silent | --silen | --sile | --sil)
2197      continue ;;
2198    *\'*)
2199      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2200    esac
2201    case $ac_pass in
2202    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2203    2)
2204      as_fn_append ac_configure_args1 " '$ac_arg'"
2205      if test $ac_must_keep_next = true; then
2206	ac_must_keep_next=false # Got value, back to normal.
2207      else
2208	case $ac_arg in
2209	  *=* | --config-cache | -C | -disable-* | --disable-* \
2210	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2211	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2212	  | -with-* | --with-* | -without-* | --without-* | --x)
2213	    case "$ac_configure_args0 " in
2214	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2215	    esac
2216	    ;;
2217	  -* ) ac_must_keep_next=true ;;
2218	esac
2219      fi
2220      as_fn_append ac_configure_args " '$ac_arg'"
2221      ;;
2222    esac
2223  done
2224done
2225{ ac_configure_args0=; unset ac_configure_args0;}
2226{ ac_configure_args1=; unset ac_configure_args1;}
2227
2228# When interrupted or exit'd, cleanup temporary files, and complete
2229# config.log.  We remove comments because anyway the quotes in there
2230# would cause problems or look ugly.
2231# WARNING: Use '\'' to represent an apostrophe within the trap.
2232# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2233trap 'exit_status=$?
2234  # Save into config.log some information that might help in debugging.
2235  {
2236    echo
2237
2238    $as_echo "## ---------------- ##
2239## Cache variables. ##
2240## ---------------- ##"
2241    echo
2242    # The following way of writing the cache mishandles newlines in values,
2243(
2244  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2245    eval ac_val=\$$ac_var
2246    case $ac_val in #(
2247    *${as_nl}*)
2248      case $ac_var in #(
2249      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2250$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2251      esac
2252      case $ac_var in #(
2253      _ | IFS | as_nl) ;; #(
2254      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2255      *) { eval $ac_var=; unset $ac_var;} ;;
2256      esac ;;
2257    esac
2258  done
2259  (set) 2>&1 |
2260    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2261    *${as_nl}ac_space=\ *)
2262      sed -n \
2263	"s/'\''/'\''\\\\'\'''\''/g;
2264	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2265      ;; #(
2266    *)
2267      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2268      ;;
2269    esac |
2270    sort
2271)
2272    echo
2273
2274    $as_echo "## ----------------- ##
2275## Output variables. ##
2276## ----------------- ##"
2277    echo
2278    for ac_var in $ac_subst_vars
2279    do
2280      eval ac_val=\$$ac_var
2281      case $ac_val in
2282      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2283      esac
2284      $as_echo "$ac_var='\''$ac_val'\''"
2285    done | sort
2286    echo
2287
2288    if test -n "$ac_subst_files"; then
2289      $as_echo "## ------------------- ##
2290## File substitutions. ##
2291## ------------------- ##"
2292      echo
2293      for ac_var in $ac_subst_files
2294      do
2295	eval ac_val=\$$ac_var
2296	case $ac_val in
2297	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2298	esac
2299	$as_echo "$ac_var='\''$ac_val'\''"
2300      done | sort
2301      echo
2302    fi
2303
2304    if test -s confdefs.h; then
2305      $as_echo "## ----------- ##
2306## confdefs.h. ##
2307## ----------- ##"
2308      echo
2309      cat confdefs.h
2310      echo
2311    fi
2312    test "$ac_signal" != 0 &&
2313      $as_echo "$as_me: caught signal $ac_signal"
2314    $as_echo "$as_me: exit $exit_status"
2315  } >&5
2316  rm -f core *.core core.conftest.* &&
2317    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2318    exit $exit_status
2319' 0
2320for ac_signal in 1 2 13 15; do
2321  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2322done
2323ac_signal=0
2324
2325# confdefs.h avoids OS command line length limits that DEFS can exceed.
2326rm -f -r conftest* confdefs.h
2327
2328$as_echo "/* confdefs.h */" > confdefs.h
2329
2330# Predefined preprocessor variables.
2331
2332cat >>confdefs.h <<_ACEOF
2333#define PACKAGE_NAME "$PACKAGE_NAME"
2334_ACEOF
2335
2336cat >>confdefs.h <<_ACEOF
2337#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2338_ACEOF
2339
2340cat >>confdefs.h <<_ACEOF
2341#define PACKAGE_VERSION "$PACKAGE_VERSION"
2342_ACEOF
2343
2344cat >>confdefs.h <<_ACEOF
2345#define PACKAGE_STRING "$PACKAGE_STRING"
2346_ACEOF
2347
2348cat >>confdefs.h <<_ACEOF
2349#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2350_ACEOF
2351
2352cat >>confdefs.h <<_ACEOF
2353#define PACKAGE_URL "$PACKAGE_URL"
2354_ACEOF
2355
2356
2357# Let the site file select an alternate cache file if it wants to.
2358# Prefer an explicitly selected file to automatically selected ones.
2359ac_site_file1=NONE
2360ac_site_file2=NONE
2361if test -n "$CONFIG_SITE"; then
2362  # We do not want a PATH search for config.site.
2363  case $CONFIG_SITE in #((
2364    -*)  ac_site_file1=./$CONFIG_SITE;;
2365    */*) ac_site_file1=$CONFIG_SITE;;
2366    *)   ac_site_file1=./$CONFIG_SITE;;
2367  esac
2368elif test "x$prefix" != xNONE; then
2369  ac_site_file1=$prefix/share/config.site
2370  ac_site_file2=$prefix/etc/config.site
2371else
2372  ac_site_file1=$ac_default_prefix/share/config.site
2373  ac_site_file2=$ac_default_prefix/etc/config.site
2374fi
2375for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2376do
2377  test "x$ac_site_file" = xNONE && continue
2378  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2379    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2380$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2381    sed 's/^/| /' "$ac_site_file" >&5
2382    . "$ac_site_file" \
2383      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385as_fn_error $? "failed to load site script $ac_site_file
2386See \`config.log' for more details" "$LINENO" 5; }
2387  fi
2388done
2389
2390if test -r "$cache_file"; then
2391  # Some versions of bash will fail to source /dev/null (special files
2392  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2393  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2394    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2395$as_echo "$as_me: loading cache $cache_file" >&6;}
2396    case $cache_file in
2397      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2398      *)                      . "./$cache_file";;
2399    esac
2400  fi
2401else
2402  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2403$as_echo "$as_me: creating cache $cache_file" >&6;}
2404  >$cache_file
2405fi
2406
2407# Check that the precious variables saved in the cache have kept the same
2408# value.
2409ac_cache_corrupted=false
2410for ac_var in $ac_precious_vars; do
2411  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2412  eval ac_new_set=\$ac_env_${ac_var}_set
2413  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2414  eval ac_new_val=\$ac_env_${ac_var}_value
2415  case $ac_old_set,$ac_new_set in
2416    set,)
2417      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2418$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2419      ac_cache_corrupted=: ;;
2420    ,set)
2421      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2422$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2423      ac_cache_corrupted=: ;;
2424    ,);;
2425    *)
2426      if test "x$ac_old_val" != "x$ac_new_val"; then
2427	# differences in whitespace do not lead to failure.
2428	ac_old_val_w=`echo x $ac_old_val`
2429	ac_new_val_w=`echo x $ac_new_val`
2430	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2431	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2432$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2433	  ac_cache_corrupted=:
2434	else
2435	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2436$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2437	  eval $ac_var=\$ac_old_val
2438	fi
2439	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2440$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2441	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2442$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2443      fi;;
2444  esac
2445  # Pass precious variables to config.status.
2446  if test "$ac_new_set" = set; then
2447    case $ac_new_val in
2448    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2449    *) ac_arg=$ac_var=$ac_new_val ;;
2450    esac
2451    case " $ac_configure_args " in
2452      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2453      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2454    esac
2455  fi
2456done
2457if $ac_cache_corrupted; then
2458  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2459$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2460  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2461$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2462  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2463fi
2464## -------------------- ##
2465## Main body of script. ##
2466## -------------------- ##
2467
2468ac_ext=c
2469ac_cpp='$CPP $CPPFLAGS'
2470ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2471ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2472ac_compiler_gnu=$ac_cv_c_compiler_gnu
2473
2474
2475
2476ac_config_headers="$ac_config_headers config.h"
2477
2478
2479GDL_MAJOR_VERSION=3
2480GDL_MINOR_VERSION=34
2481GDL_MICRO_VERSION=0
2482
2483GDL_CURRENT=5
2484
2485GDL_AGE=0
2486
2487GDL_REVISION=9
2488
2489
2490
2491
2492
2493PACKAGE=gdl
2494GDL_VERSION=$GDL_MAJOR_VERSION.$GDL_MINOR_VERSION.$GDL_MICRO_VERSION
2495
2496am__api_version='1.16'
2497
2498ac_aux_dir=
2499for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2500  if test -f "$ac_dir/install-sh"; then
2501    ac_aux_dir=$ac_dir
2502    ac_install_sh="$ac_aux_dir/install-sh -c"
2503    break
2504  elif test -f "$ac_dir/install.sh"; then
2505    ac_aux_dir=$ac_dir
2506    ac_install_sh="$ac_aux_dir/install.sh -c"
2507    break
2508  elif test -f "$ac_dir/shtool"; then
2509    ac_aux_dir=$ac_dir
2510    ac_install_sh="$ac_aux_dir/shtool install -c"
2511    break
2512  fi
2513done
2514if test -z "$ac_aux_dir"; then
2515  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2516fi
2517
2518# These three variables are undocumented and unsupported,
2519# and are intended to be withdrawn in a future Autoconf release.
2520# They can cause serious problems if a builder's source tree is in a directory
2521# whose full name contains unusual characters.
2522ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2523ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2524ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2525
2526
2527# Find a good install program.  We prefer a C program (faster),
2528# so one script is as good as another.  But avoid the broken or
2529# incompatible versions:
2530# SysV /etc/install, /usr/sbin/install
2531# SunOS /usr/etc/install
2532# IRIX /sbin/install
2533# AIX /bin/install
2534# AmigaOS /C/install, which installs bootblocks on floppy discs
2535# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2536# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2537# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2538# OS/2's system install, which has a completely different semantic
2539# ./install, which can be erroneously created by make from ./install.sh.
2540# Reject install programs that cannot install multiple files.
2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2542$as_echo_n "checking for a BSD-compatible install... " >&6; }
2543if test -z "$INSTALL"; then
2544if ${ac_cv_path_install+:} false; then :
2545  $as_echo_n "(cached) " >&6
2546else
2547  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2548for as_dir in $PATH
2549do
2550  IFS=$as_save_IFS
2551  test -z "$as_dir" && as_dir=.
2552    # Account for people who put trailing slashes in PATH elements.
2553case $as_dir/ in #((
2554  ./ | .// | /[cC]/* | \
2555  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2556  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2557  /usr/ucb/* ) ;;
2558  *)
2559    # OSF1 and SCO ODT 3.0 have their own names for install.
2560    # Don't use installbsd from OSF since it installs stuff as root
2561    # by default.
2562    for ac_prog in ginstall scoinst install; do
2563      for ac_exec_ext in '' $ac_executable_extensions; do
2564	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2565	  if test $ac_prog = install &&
2566	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2567	    # AIX install.  It has an incompatible calling convention.
2568	    :
2569	  elif test $ac_prog = install &&
2570	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2571	    # program-specific install script used by HP pwplus--don't use.
2572	    :
2573	  else
2574	    rm -rf conftest.one conftest.two conftest.dir
2575	    echo one > conftest.one
2576	    echo two > conftest.two
2577	    mkdir conftest.dir
2578	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2579	      test -s conftest.one && test -s conftest.two &&
2580	      test -s conftest.dir/conftest.one &&
2581	      test -s conftest.dir/conftest.two
2582	    then
2583	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2584	      break 3
2585	    fi
2586	  fi
2587	fi
2588      done
2589    done
2590    ;;
2591esac
2592
2593  done
2594IFS=$as_save_IFS
2595
2596rm -rf conftest.one conftest.two conftest.dir
2597
2598fi
2599  if test "${ac_cv_path_install+set}" = set; then
2600    INSTALL=$ac_cv_path_install
2601  else
2602    # As a last resort, use the slow shell script.  Don't cache a
2603    # value for INSTALL within a source directory, because that will
2604    # break other packages using the cache if that directory is
2605    # removed, or if the value is a relative name.
2606    INSTALL=$ac_install_sh
2607  fi
2608fi
2609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2610$as_echo "$INSTALL" >&6; }
2611
2612# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2613# It thinks the first close brace ends the variable substitution.
2614test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2615
2616test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2617
2618test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2619
2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2621$as_echo_n "checking whether build environment is sane... " >&6; }
2622# Reject unsafe characters in $srcdir or the absolute working directory
2623# name.  Accept space and tab only in the latter.
2624am_lf='
2625'
2626case `pwd` in
2627  *[\\\"\#\$\&\'\`$am_lf]*)
2628    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2629esac
2630case $srcdir in
2631  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2632    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2633esac
2634
2635# Do 'set' in a subshell so we don't clobber the current shell's
2636# arguments.  Must try -L first in case configure is actually a
2637# symlink; some systems play weird games with the mod time of symlinks
2638# (eg FreeBSD returns the mod time of the symlink's containing
2639# directory).
2640if (
2641   am_has_slept=no
2642   for am_try in 1 2; do
2643     echo "timestamp, slept: $am_has_slept" > conftest.file
2644     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2645     if test "$*" = "X"; then
2646	# -L didn't work.
2647	set X `ls -t "$srcdir/configure" conftest.file`
2648     fi
2649     if test "$*" != "X $srcdir/configure conftest.file" \
2650	&& test "$*" != "X conftest.file $srcdir/configure"; then
2651
2652	# If neither matched, then we have a broken ls.  This can happen
2653	# if, for instance, CONFIG_SHELL is bash and it inherits a
2654	# broken ls alias from the environment.  This has actually
2655	# happened.  Such a system could not be considered "sane".
2656	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2657  alias in your environment" "$LINENO" 5
2658     fi
2659     if test "$2" = conftest.file || test $am_try -eq 2; then
2660       break
2661     fi
2662     # Just in case.
2663     sleep 1
2664     am_has_slept=yes
2665   done
2666   test "$2" = conftest.file
2667   )
2668then
2669   # Ok.
2670   :
2671else
2672   as_fn_error $? "newly created file is older than distributed files!
2673Check your system clock" "$LINENO" 5
2674fi
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2676$as_echo "yes" >&6; }
2677# If we didn't sleep, we still need to ensure time stamps of config.status and
2678# generated files are strictly newer.
2679am_sleep_pid=
2680if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2681  ( sleep 1 ) &
2682  am_sleep_pid=$!
2683fi
2684
2685rm -f conftest.file
2686
2687test "$program_prefix" != NONE &&
2688  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2689# Use a double $ so make ignores it.
2690test "$program_suffix" != NONE &&
2691  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2692# Double any \ or $.
2693# By default was `s,x,x', remove it if useless.
2694ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2695program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2696
2697# Expand $ac_aux_dir to an absolute path.
2698am_aux_dir=`cd "$ac_aux_dir" && pwd`
2699
2700if test x"${MISSING+set}" != xset; then
2701  case $am_aux_dir in
2702  *\ * | *\	*)
2703    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2704  *)
2705    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2706  esac
2707fi
2708# Use eval to expand $SHELL
2709if eval "$MISSING --is-lightweight"; then
2710  am_missing_run="$MISSING "
2711else
2712  am_missing_run=
2713  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2714$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2715fi
2716
2717if test x"${install_sh+set}" != xset; then
2718  case $am_aux_dir in
2719  *\ * | *\	*)
2720    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2721  *)
2722    install_sh="\${SHELL} $am_aux_dir/install-sh"
2723  esac
2724fi
2725
2726# Installed binaries are usually stripped using 'strip' when the user
2727# run "make install-strip".  However 'strip' might not be the right
2728# tool to use in cross-compilation environments, therefore Automake
2729# will honor the 'STRIP' environment variable to overrule this program.
2730if test "$cross_compiling" != no; then
2731  if test -n "$ac_tool_prefix"; then
2732  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2733set dummy ${ac_tool_prefix}strip; ac_word=$2
2734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2735$as_echo_n "checking for $ac_word... " >&6; }
2736if ${ac_cv_prog_STRIP+:} false; then :
2737  $as_echo_n "(cached) " >&6
2738else
2739  if test -n "$STRIP"; then
2740  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2741else
2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743for as_dir in $PATH
2744do
2745  IFS=$as_save_IFS
2746  test -z "$as_dir" && as_dir=.
2747    for ac_exec_ext in '' $ac_executable_extensions; do
2748  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2750    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751    break 2
2752  fi
2753done
2754  done
2755IFS=$as_save_IFS
2756
2757fi
2758fi
2759STRIP=$ac_cv_prog_STRIP
2760if test -n "$STRIP"; then
2761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2762$as_echo "$STRIP" >&6; }
2763else
2764  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2765$as_echo "no" >&6; }
2766fi
2767
2768
2769fi
2770if test -z "$ac_cv_prog_STRIP"; then
2771  ac_ct_STRIP=$STRIP
2772  # Extract the first word of "strip", so it can be a program name with args.
2773set dummy strip; ac_word=$2
2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2775$as_echo_n "checking for $ac_word... " >&6; }
2776if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2777  $as_echo_n "(cached) " >&6
2778else
2779  if test -n "$ac_ct_STRIP"; then
2780  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2781else
2782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2783for as_dir in $PATH
2784do
2785  IFS=$as_save_IFS
2786  test -z "$as_dir" && as_dir=.
2787    for ac_exec_ext in '' $ac_executable_extensions; do
2788  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2789    ac_cv_prog_ac_ct_STRIP="strip"
2790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791    break 2
2792  fi
2793done
2794  done
2795IFS=$as_save_IFS
2796
2797fi
2798fi
2799ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2800if test -n "$ac_ct_STRIP"; then
2801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2802$as_echo "$ac_ct_STRIP" >&6; }
2803else
2804  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2805$as_echo "no" >&6; }
2806fi
2807
2808  if test "x$ac_ct_STRIP" = x; then
2809    STRIP=":"
2810  else
2811    case $cross_compiling:$ac_tool_warned in
2812yes:)
2813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2815ac_tool_warned=yes ;;
2816esac
2817    STRIP=$ac_ct_STRIP
2818  fi
2819else
2820  STRIP="$ac_cv_prog_STRIP"
2821fi
2822
2823fi
2824INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2825
2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2827$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2828if test -z "$MKDIR_P"; then
2829  if ${ac_cv_path_mkdir+:} false; then :
2830  $as_echo_n "(cached) " >&6
2831else
2832  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2834do
2835  IFS=$as_save_IFS
2836  test -z "$as_dir" && as_dir=.
2837    for ac_prog in mkdir gmkdir; do
2838	 for ac_exec_ext in '' $ac_executable_extensions; do
2839	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2840	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2841	     'mkdir (GNU coreutils) '* | \
2842	     'mkdir (coreutils) '* | \
2843	     'mkdir (fileutils) '4.1*)
2844	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2845	       break 3;;
2846	   esac
2847	 done
2848       done
2849  done
2850IFS=$as_save_IFS
2851
2852fi
2853
2854  test -d ./--version && rmdir ./--version
2855  if test "${ac_cv_path_mkdir+set}" = set; then
2856    MKDIR_P="$ac_cv_path_mkdir -p"
2857  else
2858    # As a last resort, use the slow shell script.  Don't cache a
2859    # value for MKDIR_P within a source directory, because that will
2860    # break other packages using the cache if that directory is
2861    # removed, or if the value is a relative name.
2862    MKDIR_P="$ac_install_sh -d"
2863  fi
2864fi
2865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2866$as_echo "$MKDIR_P" >&6; }
2867
2868for ac_prog in gawk mawk nawk awk
2869do
2870  # Extract the first word of "$ac_prog", so it can be a program name with args.
2871set dummy $ac_prog; ac_word=$2
2872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873$as_echo_n "checking for $ac_word... " >&6; }
2874if ${ac_cv_prog_AWK+:} false; then :
2875  $as_echo_n "(cached) " >&6
2876else
2877  if test -n "$AWK"; then
2878  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2879else
2880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2881for as_dir in $PATH
2882do
2883  IFS=$as_save_IFS
2884  test -z "$as_dir" && as_dir=.
2885    for ac_exec_ext in '' $ac_executable_extensions; do
2886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887    ac_cv_prog_AWK="$ac_prog"
2888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889    break 2
2890  fi
2891done
2892  done
2893IFS=$as_save_IFS
2894
2895fi
2896fi
2897AWK=$ac_cv_prog_AWK
2898if test -n "$AWK"; then
2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2900$as_echo "$AWK" >&6; }
2901else
2902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903$as_echo "no" >&6; }
2904fi
2905
2906
2907  test -n "$AWK" && break
2908done
2909
2910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2911$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2912set x ${MAKE-make}
2913ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2914if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2915  $as_echo_n "(cached) " >&6
2916else
2917  cat >conftest.make <<\_ACEOF
2918SHELL = /bin/sh
2919all:
2920	@echo '@@@%%%=$(MAKE)=@@@%%%'
2921_ACEOF
2922# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2923case `${MAKE-make} -f conftest.make 2>/dev/null` in
2924  *@@@%%%=?*=@@@%%%*)
2925    eval ac_cv_prog_make_${ac_make}_set=yes;;
2926  *)
2927    eval ac_cv_prog_make_${ac_make}_set=no;;
2928esac
2929rm -f conftest.make
2930fi
2931if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2932  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2933$as_echo "yes" >&6; }
2934  SET_MAKE=
2935else
2936  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2937$as_echo "no" >&6; }
2938  SET_MAKE="MAKE=${MAKE-make}"
2939fi
2940
2941rm -rf .tst 2>/dev/null
2942mkdir .tst 2>/dev/null
2943if test -d .tst; then
2944  am__leading_dot=.
2945else
2946  am__leading_dot=_
2947fi
2948rmdir .tst 2>/dev/null
2949
2950# Check whether --enable-silent-rules was given.
2951if test "${enable_silent_rules+set}" = set; then :
2952  enableval=$enable_silent_rules;
2953fi
2954
2955case $enable_silent_rules in # (((
2956  yes) AM_DEFAULT_VERBOSITY=0;;
2957   no) AM_DEFAULT_VERBOSITY=1;;
2958    *) AM_DEFAULT_VERBOSITY=1;;
2959esac
2960am_make=${MAKE-make}
2961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2962$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2963if ${am_cv_make_support_nested_variables+:} false; then :
2964  $as_echo_n "(cached) " >&6
2965else
2966  if $as_echo 'TRUE=$(BAR$(V))
2967BAR0=false
2968BAR1=true
2969V=1
2970am__doit:
2971	@$(TRUE)
2972.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2973  am_cv_make_support_nested_variables=yes
2974else
2975  am_cv_make_support_nested_variables=no
2976fi
2977fi
2978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2979$as_echo "$am_cv_make_support_nested_variables" >&6; }
2980if test $am_cv_make_support_nested_variables = yes; then
2981    AM_V='$(V)'
2982  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2983else
2984  AM_V=$AM_DEFAULT_VERBOSITY
2985  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2986fi
2987AM_BACKSLASH='\'
2988
2989if test "`cd $srcdir && pwd`" != "`pwd`"; then
2990  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2991  # is not polluted with repeated "-I."
2992  am__isrc=' -I$(srcdir)'
2993  # test to see if srcdir already configured
2994  if test -f $srcdir/config.status; then
2995    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2996  fi
2997fi
2998
2999# test whether we have cygpath
3000if test -z "$CYGPATH_W"; then
3001  if (cygpath --version) >/dev/null 2>/dev/null; then
3002    CYGPATH_W='cygpath -w'
3003  else
3004    CYGPATH_W=echo
3005  fi
3006fi
3007
3008
3009# Define the identity of the package.
3010
3011 PACKAGE=$PACKAGE
3012 VERSION=$GDL_VERSION
3013
3014
3015# Some tools Automake needs.
3016
3017ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3018
3019
3020AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3021
3022
3023AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3024
3025
3026AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3027
3028
3029MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3030
3031# For better backward compatibility.  To be removed once Automake 1.9.x
3032# dies out for good.  For more background, see:
3033# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3034# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3035mkdir_p='$(MKDIR_P)'
3036
3037# We need awk for the "check" target (and possibly the TAP driver).  The
3038# system "awk" is bad on some platforms.
3039# Always define AMTAR for backward compatibility.  Yes, it's still used
3040# in the wild :-(  We should find a proper way to deprecate it ...
3041AMTAR='$${TAR-tar}'
3042
3043
3044# We'll loop over all known methods to create a tar archive until one works.
3045_am_tools='gnutar  pax cpio none'
3046
3047am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3048
3049
3050
3051
3052
3053
3054# POSIX will say in a future version that running "rm -f" with no argument
3055# is OK; and we want to be able to make that assumption in our Makefile
3056# recipes.  So use an aggressive probe to check that the usage we want is
3057# actually supported "in the wild" to an acceptable degree.
3058# See automake bug#10828.
3059# To make any issue more visible, cause the running configure to be aborted
3060# by default if the 'rm' program in use doesn't match our expectations; the
3061# user can still override this though.
3062if rm -f && rm -fr && rm -rf; then : OK; else
3063  cat >&2 <<'END'
3064Oops!
3065
3066Your 'rm' program seems unable to run without file operands specified
3067on the command line, even when the '-f' option is present.  This is contrary
3068to the behaviour of most rm programs out there, and not conforming with
3069the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3070
3071Please tell bug-automake@gnu.org about your system, including the value
3072of your $PATH and any error possibly output before this message.  This
3073can help us improve future automake versions.
3074
3075END
3076  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3077    echo 'Configuration will proceed anyway, since you have set the' >&2
3078    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3079    echo >&2
3080  else
3081    cat >&2 <<'END'
3082Aborting the configuration process, to ensure you take notice of the issue.
3083
3084You can download and install GNU coreutils to get an 'rm' implementation
3085that behaves properly: <https://www.gnu.org/software/coreutils/>.
3086
3087If you want to complete the configuration process using your problematic
3088'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3089to "yes", and re-run configure.
3090
3091END
3092    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3093  fi
3094fi
3095
3096
3097ACLOCAL="$ACLOCAL $ACLOCAL_FLAGS"
3098
3099
3100
3101
3102
3103
3104SNAPSHOT=0_`date +%Y%m%d_%H%M%S`_git
3105
3106
3107GTK_REQUIRED=3.0.0
3108XML_REQUIRED=2.2.8
3109
3110
3111
3112
3113
3114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3115$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3116    # Check whether --enable-maintainer-mode was given.
3117if test "${enable_maintainer_mode+set}" = set; then :
3118  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3119else
3120  USE_MAINTAINER_MODE=yes
3121fi
3122
3123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3124$as_echo "$USE_MAINTAINER_MODE" >&6; }
3125   if test $USE_MAINTAINER_MODE = yes; then
3126  MAINTAINER_MODE_TRUE=
3127  MAINTAINER_MODE_FALSE='#'
3128else
3129  MAINTAINER_MODE_TRUE='#'
3130  MAINTAINER_MODE_FALSE=
3131fi
3132
3133  MAINT=$MAINTAINER_MODE_TRUE
3134
3135
3136# Check whether --enable-silent-rules was given.
3137if test "${enable_silent_rules+set}" = set; then :
3138  enableval=$enable_silent_rules;
3139fi
3140
3141case $enable_silent_rules in # (((
3142  yes) AM_DEFAULT_VERBOSITY=0;;
3143   no) AM_DEFAULT_VERBOSITY=1;;
3144    *) AM_DEFAULT_VERBOSITY=0;;
3145esac
3146am_make=${MAKE-make}
3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3148$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3149if ${am_cv_make_support_nested_variables+:} false; then :
3150  $as_echo_n "(cached) " >&6
3151else
3152  if $as_echo 'TRUE=$(BAR$(V))
3153BAR0=false
3154BAR1=true
3155V=1
3156am__doit:
3157	@$(TRUE)
3158.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3159  am_cv_make_support_nested_variables=yes
3160else
3161  am_cv_make_support_nested_variables=no
3162fi
3163fi
3164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3165$as_echo "$am_cv_make_support_nested_variables" >&6; }
3166if test $am_cv_make_support_nested_variables = yes; then
3167    AM_V='$(V)'
3168  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3169else
3170  AM_V=$AM_DEFAULT_VERBOSITY
3171  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3172fi
3173AM_BACKSLASH='\'
3174
3175
3176DEPDIR="${am__leading_dot}deps"
3177
3178ac_config_commands="$ac_config_commands depfiles"
3179
3180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3181$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3182cat > confinc.mk << 'END'
3183am__doit:
3184	@echo this is the am__doit target >confinc.out
3185.PHONY: am__doit
3186END
3187am__include="#"
3188am__quote=
3189# BSD make does it like this.
3190echo '.include "confinc.mk" # ignored' > confmf.BSD
3191# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3192echo 'include confinc.mk # ignored' > confmf.GNU
3193_am_result=no
3194for s in GNU BSD; do
3195  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3196   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3197   ac_status=$?
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); }
3200  case $?:`cat confinc.out 2>/dev/null` in #(
3201  '0:this is the am__doit target') :
3202    case $s in #(
3203  BSD) :
3204    am__include='.include' am__quote='"' ;; #(
3205  *) :
3206    am__include='include' am__quote='' ;;
3207esac ;; #(
3208  *) :
3209     ;;
3210esac
3211  if test "$am__include" != "#"; then
3212    _am_result="yes ($s style)"
3213    break
3214  fi
3215done
3216rm -f confinc.* confmf.*
3217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3218$as_echo "${_am_result}" >&6; }
3219
3220# Check whether --enable-dependency-tracking was given.
3221if test "${enable_dependency_tracking+set}" = set; then :
3222  enableval=$enable_dependency_tracking;
3223fi
3224
3225if test "x$enable_dependency_tracking" != xno; then
3226  am_depcomp="$ac_aux_dir/depcomp"
3227  AMDEPBACKSLASH='\'
3228  am__nodep='_no'
3229fi
3230 if test "x$enable_dependency_tracking" != xno; then
3231  AMDEP_TRUE=
3232  AMDEP_FALSE='#'
3233else
3234  AMDEP_TRUE='#'
3235  AMDEP_FALSE=
3236fi
3237
3238
3239ac_ext=c
3240ac_cpp='$CPP $CPPFLAGS'
3241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3243ac_compiler_gnu=$ac_cv_c_compiler_gnu
3244if test -n "$ac_tool_prefix"; then
3245  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3246set dummy ${ac_tool_prefix}gcc; ac_word=$2
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248$as_echo_n "checking for $ac_word... " >&6; }
3249if ${ac_cv_prog_CC+:} false; then :
3250  $as_echo_n "(cached) " >&6
3251else
3252  if test -n "$CC"; then
3253  ac_cv_prog_CC="$CC" # Let the user override the test.
3254else
3255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256for as_dir in $PATH
3257do
3258  IFS=$as_save_IFS
3259  test -z "$as_dir" && as_dir=.
3260    for ac_exec_ext in '' $ac_executable_extensions; do
3261  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3262    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3263    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264    break 2
3265  fi
3266done
3267  done
3268IFS=$as_save_IFS
3269
3270fi
3271fi
3272CC=$ac_cv_prog_CC
3273if test -n "$CC"; then
3274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3275$as_echo "$CC" >&6; }
3276else
3277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278$as_echo "no" >&6; }
3279fi
3280
3281
3282fi
3283if test -z "$ac_cv_prog_CC"; then
3284  ac_ct_CC=$CC
3285  # Extract the first word of "gcc", so it can be a program name with args.
3286set dummy gcc; ac_word=$2
3287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288$as_echo_n "checking for $ac_word... " >&6; }
3289if ${ac_cv_prog_ac_ct_CC+:} false; then :
3290  $as_echo_n "(cached) " >&6
3291else
3292  if test -n "$ac_ct_CC"; then
3293  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3294else
3295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3296for as_dir in $PATH
3297do
3298  IFS=$as_save_IFS
3299  test -z "$as_dir" && as_dir=.
3300    for ac_exec_ext in '' $ac_executable_extensions; do
3301  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302    ac_cv_prog_ac_ct_CC="gcc"
3303    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3304    break 2
3305  fi
3306done
3307  done
3308IFS=$as_save_IFS
3309
3310fi
3311fi
3312ac_ct_CC=$ac_cv_prog_ac_ct_CC
3313if test -n "$ac_ct_CC"; then
3314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3315$as_echo "$ac_ct_CC" >&6; }
3316else
3317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318$as_echo "no" >&6; }
3319fi
3320
3321  if test "x$ac_ct_CC" = x; then
3322    CC=""
3323  else
3324    case $cross_compiling:$ac_tool_warned in
3325yes:)
3326{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3327$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3328ac_tool_warned=yes ;;
3329esac
3330    CC=$ac_ct_CC
3331  fi
3332else
3333  CC="$ac_cv_prog_CC"
3334fi
3335
3336if test -z "$CC"; then
3337          if test -n "$ac_tool_prefix"; then
3338    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3339set dummy ${ac_tool_prefix}cc; ac_word=$2
3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341$as_echo_n "checking for $ac_word... " >&6; }
3342if ${ac_cv_prog_CC+:} false; then :
3343  $as_echo_n "(cached) " >&6
3344else
3345  if test -n "$CC"; then
3346  ac_cv_prog_CC="$CC" # Let the user override the test.
3347else
3348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349for as_dir in $PATH
3350do
3351  IFS=$as_save_IFS
3352  test -z "$as_dir" && as_dir=.
3353    for ac_exec_ext in '' $ac_executable_extensions; do
3354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3355    ac_cv_prog_CC="${ac_tool_prefix}cc"
3356    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357    break 2
3358  fi
3359done
3360  done
3361IFS=$as_save_IFS
3362
3363fi
3364fi
3365CC=$ac_cv_prog_CC
3366if test -n "$CC"; then
3367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3368$as_echo "$CC" >&6; }
3369else
3370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3371$as_echo "no" >&6; }
3372fi
3373
3374
3375  fi
3376fi
3377if test -z "$CC"; then
3378  # Extract the first word of "cc", so it can be a program name with args.
3379set dummy cc; ac_word=$2
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381$as_echo_n "checking for $ac_word... " >&6; }
3382if ${ac_cv_prog_CC+:} false; then :
3383  $as_echo_n "(cached) " >&6
3384else
3385  if test -n "$CC"; then
3386  ac_cv_prog_CC="$CC" # Let the user override the test.
3387else
3388  ac_prog_rejected=no
3389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390for as_dir in $PATH
3391do
3392  IFS=$as_save_IFS
3393  test -z "$as_dir" && as_dir=.
3394    for ac_exec_ext in '' $ac_executable_extensions; do
3395  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3397       ac_prog_rejected=yes
3398       continue
3399     fi
3400    ac_cv_prog_CC="cc"
3401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402    break 2
3403  fi
3404done
3405  done
3406IFS=$as_save_IFS
3407
3408if test $ac_prog_rejected = yes; then
3409  # We found a bogon in the path, so make sure we never use it.
3410  set dummy $ac_cv_prog_CC
3411  shift
3412  if test $# != 0; then
3413    # We chose a different compiler from the bogus one.
3414    # However, it has the same basename, so the bogon will be chosen
3415    # first if we set CC to just the basename; use the full file name.
3416    shift
3417    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3418  fi
3419fi
3420fi
3421fi
3422CC=$ac_cv_prog_CC
3423if test -n "$CC"; then
3424  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3425$as_echo "$CC" >&6; }
3426else
3427  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3428$as_echo "no" >&6; }
3429fi
3430
3431
3432fi
3433if test -z "$CC"; then
3434  if test -n "$ac_tool_prefix"; then
3435  for ac_prog in cl.exe
3436  do
3437    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3438set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3439{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3440$as_echo_n "checking for $ac_word... " >&6; }
3441if ${ac_cv_prog_CC+:} false; then :
3442  $as_echo_n "(cached) " >&6
3443else
3444  if test -n "$CC"; then
3445  ac_cv_prog_CC="$CC" # Let the user override the test.
3446else
3447as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3448for as_dir in $PATH
3449do
3450  IFS=$as_save_IFS
3451  test -z "$as_dir" && as_dir=.
3452    for ac_exec_ext in '' $ac_executable_extensions; do
3453  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3454    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3455    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3456    break 2
3457  fi
3458done
3459  done
3460IFS=$as_save_IFS
3461
3462fi
3463fi
3464CC=$ac_cv_prog_CC
3465if test -n "$CC"; then
3466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3467$as_echo "$CC" >&6; }
3468else
3469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470$as_echo "no" >&6; }
3471fi
3472
3473
3474    test -n "$CC" && break
3475  done
3476fi
3477if test -z "$CC"; then
3478  ac_ct_CC=$CC
3479  for ac_prog in cl.exe
3480do
3481  # Extract the first word of "$ac_prog", so it can be a program name with args.
3482set dummy $ac_prog; ac_word=$2
3483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3484$as_echo_n "checking for $ac_word... " >&6; }
3485if ${ac_cv_prog_ac_ct_CC+:} false; then :
3486  $as_echo_n "(cached) " >&6
3487else
3488  if test -n "$ac_ct_CC"; then
3489  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3490else
3491as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492for as_dir in $PATH
3493do
3494  IFS=$as_save_IFS
3495  test -z "$as_dir" && as_dir=.
3496    for ac_exec_ext in '' $ac_executable_extensions; do
3497  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498    ac_cv_prog_ac_ct_CC="$ac_prog"
3499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3500    break 2
3501  fi
3502done
3503  done
3504IFS=$as_save_IFS
3505
3506fi
3507fi
3508ac_ct_CC=$ac_cv_prog_ac_ct_CC
3509if test -n "$ac_ct_CC"; then
3510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3511$as_echo "$ac_ct_CC" >&6; }
3512else
3513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3514$as_echo "no" >&6; }
3515fi
3516
3517
3518  test -n "$ac_ct_CC" && break
3519done
3520
3521  if test "x$ac_ct_CC" = x; then
3522    CC=""
3523  else
3524    case $cross_compiling:$ac_tool_warned in
3525yes:)
3526{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3527$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3528ac_tool_warned=yes ;;
3529esac
3530    CC=$ac_ct_CC
3531  fi
3532fi
3533
3534fi
3535
3536
3537test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3539as_fn_error $? "no acceptable C compiler found in \$PATH
3540See \`config.log' for more details" "$LINENO" 5; }
3541
3542# Provide some information about the compiler.
3543$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3544set X $ac_compile
3545ac_compiler=$2
3546for ac_option in --version -v -V -qversion; do
3547  { { ac_try="$ac_compiler $ac_option >&5"
3548case "(($ac_try" in
3549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550  *) ac_try_echo=$ac_try;;
3551esac
3552eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3553$as_echo "$ac_try_echo"; } >&5
3554  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3555  ac_status=$?
3556  if test -s conftest.err; then
3557    sed '10a\
3558... rest of stderr output deleted ...
3559         10q' conftest.err >conftest.er1
3560    cat conftest.er1 >&5
3561  fi
3562  rm -f conftest.er1 conftest.err
3563  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3564  test $ac_status = 0; }
3565done
3566
3567cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3568/* end confdefs.h.  */
3569
3570int
3571main ()
3572{
3573
3574  ;
3575  return 0;
3576}
3577_ACEOF
3578ac_clean_files_save=$ac_clean_files
3579ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3580# Try to create an executable without -o first, disregard a.out.
3581# It will help us diagnose broken compilers, and finding out an intuition
3582# of exeext.
3583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3584$as_echo_n "checking whether the C compiler works... " >&6; }
3585ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3586
3587# The possible output files:
3588ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3589
3590ac_rmfiles=
3591for ac_file in $ac_files
3592do
3593  case $ac_file in
3594    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3595    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3596  esac
3597done
3598rm -f $ac_rmfiles
3599
3600if { { ac_try="$ac_link_default"
3601case "(($ac_try" in
3602  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603  *) ac_try_echo=$ac_try;;
3604esac
3605eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3606$as_echo "$ac_try_echo"; } >&5
3607  (eval "$ac_link_default") 2>&5
3608  ac_status=$?
3609  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3610  test $ac_status = 0; }; then :
3611  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3612# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3613# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3614# so that the user can short-circuit this test for compilers unknown to
3615# Autoconf.
3616for ac_file in $ac_files ''
3617do
3618  test -f "$ac_file" || continue
3619  case $ac_file in
3620    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3621	;;
3622    [ab].out )
3623	# We found the default executable, but exeext='' is most
3624	# certainly right.
3625	break;;
3626    *.* )
3627	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3628	then :; else
3629	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3630	fi
3631	# We set ac_cv_exeext here because the later test for it is not
3632	# safe: cross compilers may not add the suffix if given an `-o'
3633	# argument, so we may need to know it at that point already.
3634	# Even if this section looks crufty: it has the advantage of
3635	# actually working.
3636	break;;
3637    * )
3638	break;;
3639  esac
3640done
3641test "$ac_cv_exeext" = no && ac_cv_exeext=
3642
3643else
3644  ac_file=''
3645fi
3646if test -z "$ac_file"; then :
3647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648$as_echo "no" >&6; }
3649$as_echo "$as_me: failed program was:" >&5
3650sed 's/^/| /' conftest.$ac_ext >&5
3651
3652{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3653$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3654as_fn_error 77 "C compiler cannot create executables
3655See \`config.log' for more details" "$LINENO" 5; }
3656else
3657  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3658$as_echo "yes" >&6; }
3659fi
3660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3661$as_echo_n "checking for C compiler default output file name... " >&6; }
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3663$as_echo "$ac_file" >&6; }
3664ac_exeext=$ac_cv_exeext
3665
3666rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3667ac_clean_files=$ac_clean_files_save
3668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3669$as_echo_n "checking for suffix of executables... " >&6; }
3670if { { ac_try="$ac_link"
3671case "(($ac_try" in
3672  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673  *) ac_try_echo=$ac_try;;
3674esac
3675eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3676$as_echo "$ac_try_echo"; } >&5
3677  (eval "$ac_link") 2>&5
3678  ac_status=$?
3679  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3680  test $ac_status = 0; }; then :
3681  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3682# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3683# work properly (i.e., refer to `conftest.exe'), while it won't with
3684# `rm'.
3685for ac_file in conftest.exe conftest conftest.*; do
3686  test -f "$ac_file" || continue
3687  case $ac_file in
3688    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3689    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3690	  break;;
3691    * ) break;;
3692  esac
3693done
3694else
3695  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3696$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3697as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3698See \`config.log' for more details" "$LINENO" 5; }
3699fi
3700rm -f conftest conftest$ac_cv_exeext
3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3702$as_echo "$ac_cv_exeext" >&6; }
3703
3704rm -f conftest.$ac_ext
3705EXEEXT=$ac_cv_exeext
3706ac_exeext=$EXEEXT
3707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3708/* end confdefs.h.  */
3709#include <stdio.h>
3710int
3711main ()
3712{
3713FILE *f = fopen ("conftest.out", "w");
3714 return ferror (f) || fclose (f) != 0;
3715
3716  ;
3717  return 0;
3718}
3719_ACEOF
3720ac_clean_files="$ac_clean_files conftest.out"
3721# Check that the compiler produces executables we can run.  If not, either
3722# the compiler is broken, or we cross compile.
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3724$as_echo_n "checking whether we are cross compiling... " >&6; }
3725if test "$cross_compiling" != yes; then
3726  { { ac_try="$ac_link"
3727case "(($ac_try" in
3728  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3729  *) ac_try_echo=$ac_try;;
3730esac
3731eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3732$as_echo "$ac_try_echo"; } >&5
3733  (eval "$ac_link") 2>&5
3734  ac_status=$?
3735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3736  test $ac_status = 0; }
3737  if { ac_try='./conftest$ac_cv_exeext'
3738  { { case "(($ac_try" in
3739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740  *) ac_try_echo=$ac_try;;
3741esac
3742eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3743$as_echo "$ac_try_echo"; } >&5
3744  (eval "$ac_try") 2>&5
3745  ac_status=$?
3746  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3747  test $ac_status = 0; }; }; then
3748    cross_compiling=no
3749  else
3750    if test "$cross_compiling" = maybe; then
3751	cross_compiling=yes
3752    else
3753	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3755as_fn_error $? "cannot run C compiled programs.
3756If you meant to cross compile, use \`--host'.
3757See \`config.log' for more details" "$LINENO" 5; }
3758    fi
3759  fi
3760fi
3761{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3762$as_echo "$cross_compiling" >&6; }
3763
3764rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3765ac_clean_files=$ac_clean_files_save
3766{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3767$as_echo_n "checking for suffix of object files... " >&6; }
3768if ${ac_cv_objext+:} false; then :
3769  $as_echo_n "(cached) " >&6
3770else
3771  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3772/* end confdefs.h.  */
3773
3774int
3775main ()
3776{
3777
3778  ;
3779  return 0;
3780}
3781_ACEOF
3782rm -f conftest.o conftest.obj
3783if { { ac_try="$ac_compile"
3784case "(($ac_try" in
3785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786  *) ac_try_echo=$ac_try;;
3787esac
3788eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3789$as_echo "$ac_try_echo"; } >&5
3790  (eval "$ac_compile") 2>&5
3791  ac_status=$?
3792  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793  test $ac_status = 0; }; then :
3794  for ac_file in conftest.o conftest.obj conftest.*; do
3795  test -f "$ac_file" || continue;
3796  case $ac_file in
3797    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3798    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3799       break;;
3800  esac
3801done
3802else
3803  $as_echo "$as_me: failed program was:" >&5
3804sed 's/^/| /' conftest.$ac_ext >&5
3805
3806{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3807$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3808as_fn_error $? "cannot compute suffix of object files: cannot compile
3809See \`config.log' for more details" "$LINENO" 5; }
3810fi
3811rm -f conftest.$ac_cv_objext conftest.$ac_ext
3812fi
3813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3814$as_echo "$ac_cv_objext" >&6; }
3815OBJEXT=$ac_cv_objext
3816ac_objext=$OBJEXT
3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3818$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3819if ${ac_cv_c_compiler_gnu+:} false; then :
3820  $as_echo_n "(cached) " >&6
3821else
3822  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3823/* end confdefs.h.  */
3824
3825int
3826main ()
3827{
3828#ifndef __GNUC__
3829       choke me
3830#endif
3831
3832  ;
3833  return 0;
3834}
3835_ACEOF
3836if ac_fn_c_try_compile "$LINENO"; then :
3837  ac_compiler_gnu=yes
3838else
3839  ac_compiler_gnu=no
3840fi
3841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3842ac_cv_c_compiler_gnu=$ac_compiler_gnu
3843
3844fi
3845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3846$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3847if test $ac_compiler_gnu = yes; then
3848  GCC=yes
3849else
3850  GCC=
3851fi
3852ac_test_CFLAGS=${CFLAGS+set}
3853ac_save_CFLAGS=$CFLAGS
3854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3855$as_echo_n "checking whether $CC accepts -g... " >&6; }
3856if ${ac_cv_prog_cc_g+:} false; then :
3857  $as_echo_n "(cached) " >&6
3858else
3859  ac_save_c_werror_flag=$ac_c_werror_flag
3860   ac_c_werror_flag=yes
3861   ac_cv_prog_cc_g=no
3862   CFLAGS="-g"
3863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864/* end confdefs.h.  */
3865
3866int
3867main ()
3868{
3869
3870  ;
3871  return 0;
3872}
3873_ACEOF
3874if ac_fn_c_try_compile "$LINENO"; then :
3875  ac_cv_prog_cc_g=yes
3876else
3877  CFLAGS=""
3878      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3879/* end confdefs.h.  */
3880
3881int
3882main ()
3883{
3884
3885  ;
3886  return 0;
3887}
3888_ACEOF
3889if ac_fn_c_try_compile "$LINENO"; then :
3890
3891else
3892  ac_c_werror_flag=$ac_save_c_werror_flag
3893	 CFLAGS="-g"
3894	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3895/* end confdefs.h.  */
3896
3897int
3898main ()
3899{
3900
3901  ;
3902  return 0;
3903}
3904_ACEOF
3905if ac_fn_c_try_compile "$LINENO"; then :
3906  ac_cv_prog_cc_g=yes
3907fi
3908rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3909fi
3910rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3911fi
3912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3913   ac_c_werror_flag=$ac_save_c_werror_flag
3914fi
3915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3916$as_echo "$ac_cv_prog_cc_g" >&6; }
3917if test "$ac_test_CFLAGS" = set; then
3918  CFLAGS=$ac_save_CFLAGS
3919elif test $ac_cv_prog_cc_g = yes; then
3920  if test "$GCC" = yes; then
3921    CFLAGS="-g -O2"
3922  else
3923    CFLAGS="-g"
3924  fi
3925else
3926  if test "$GCC" = yes; then
3927    CFLAGS="-O2"
3928  else
3929    CFLAGS=
3930  fi
3931fi
3932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3933$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3934if ${ac_cv_prog_cc_c89+:} false; then :
3935  $as_echo_n "(cached) " >&6
3936else
3937  ac_cv_prog_cc_c89=no
3938ac_save_CC=$CC
3939cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940/* end confdefs.h.  */
3941#include <stdarg.h>
3942#include <stdio.h>
3943struct stat;
3944/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3945struct buf { int x; };
3946FILE * (*rcsopen) (struct buf *, struct stat *, int);
3947static char *e (p, i)
3948     char **p;
3949     int i;
3950{
3951  return p[i];
3952}
3953static char *f (char * (*g) (char **, int), char **p, ...)
3954{
3955  char *s;
3956  va_list v;
3957  va_start (v,p);
3958  s = g (p, va_arg (v,int));
3959  va_end (v);
3960  return s;
3961}
3962
3963/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3964   function prototypes and stuff, but not '\xHH' hex character constants.
3965   These don't provoke an error unfortunately, instead are silently treated
3966   as 'x'.  The following induces an error, until -std is added to get
3967   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3968   array size at least.  It's necessary to write '\x00'==0 to get something
3969   that's true only with -std.  */
3970int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3971
3972/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3973   inside strings and character constants.  */
3974#define FOO(x) 'x'
3975int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3976
3977int test (int i, double x);
3978struct s1 {int (*f) (int a);};
3979struct s2 {int (*f) (double a);};
3980int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3981int argc;
3982char **argv;
3983int
3984main ()
3985{
3986return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3987  ;
3988  return 0;
3989}
3990_ACEOF
3991for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3992	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3993do
3994  CC="$ac_save_CC $ac_arg"
3995  if ac_fn_c_try_compile "$LINENO"; then :
3996  ac_cv_prog_cc_c89=$ac_arg
3997fi
3998rm -f core conftest.err conftest.$ac_objext
3999  test "x$ac_cv_prog_cc_c89" != "xno" && break
4000done
4001rm -f conftest.$ac_ext
4002CC=$ac_save_CC
4003
4004fi
4005# AC_CACHE_VAL
4006case "x$ac_cv_prog_cc_c89" in
4007  x)
4008    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4009$as_echo "none needed" >&6; } ;;
4010  xno)
4011    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4012$as_echo "unsupported" >&6; } ;;
4013  *)
4014    CC="$CC $ac_cv_prog_cc_c89"
4015    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4016$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4017esac
4018if test "x$ac_cv_prog_cc_c89" != xno; then :
4019
4020fi
4021
4022ac_ext=c
4023ac_cpp='$CPP $CPPFLAGS'
4024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4026ac_compiler_gnu=$ac_cv_c_compiler_gnu
4027
4028ac_ext=c
4029ac_cpp='$CPP $CPPFLAGS'
4030ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4031ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4032ac_compiler_gnu=$ac_cv_c_compiler_gnu
4033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4034$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4035if ${am_cv_prog_cc_c_o+:} false; then :
4036  $as_echo_n "(cached) " >&6
4037else
4038  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4039/* end confdefs.h.  */
4040
4041int
4042main ()
4043{
4044
4045  ;
4046  return 0;
4047}
4048_ACEOF
4049  # Make sure it works both with $CC and with simple cc.
4050  # Following AC_PROG_CC_C_O, we do the test twice because some
4051  # compilers refuse to overwrite an existing .o file with -o,
4052  # though they will create one.
4053  am_cv_prog_cc_c_o=yes
4054  for am_i in 1 2; do
4055    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4056   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4057   ac_status=$?
4058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059   (exit $ac_status); } \
4060         && test -f conftest2.$ac_objext; then
4061      : OK
4062    else
4063      am_cv_prog_cc_c_o=no
4064      break
4065    fi
4066  done
4067  rm -f core conftest*
4068  unset am_i
4069fi
4070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4071$as_echo "$am_cv_prog_cc_c_o" >&6; }
4072if test "$am_cv_prog_cc_c_o" != yes; then
4073   # Losing compiler, so override with the script.
4074   # FIXME: It is wrong to rewrite CC.
4075   # But if we don't then we get into trouble of one sort or another.
4076   # A longer-term fix would be to have automake use am__CC in this case,
4077   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4078   CC="$am_aux_dir/compile $CC"
4079fi
4080ac_ext=c
4081ac_cpp='$CPP $CPPFLAGS'
4082ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4083ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4084ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085
4086
4087depcc="$CC"   am_compiler_list=
4088
4089{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4090$as_echo_n "checking dependency style of $depcc... " >&6; }
4091if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4092  $as_echo_n "(cached) " >&6
4093else
4094  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4095  # We make a subdir and do the tests there.  Otherwise we can end up
4096  # making bogus files that we don't know about and never remove.  For
4097  # instance it was reported that on HP-UX the gcc test will end up
4098  # making a dummy file named 'D' -- because '-MD' means "put the output
4099  # in D".
4100  rm -rf conftest.dir
4101  mkdir conftest.dir
4102  # Copy depcomp to subdir because otherwise we won't find it if we're
4103  # using a relative directory.
4104  cp "$am_depcomp" conftest.dir
4105  cd conftest.dir
4106  # We will build objects and dependencies in a subdirectory because
4107  # it helps to detect inapplicable dependency modes.  For instance
4108  # both Tru64's cc and ICC support -MD to output dependencies as a
4109  # side effect of compilation, but ICC will put the dependencies in
4110  # the current directory while Tru64 will put them in the object
4111  # directory.
4112  mkdir sub
4113
4114  am_cv_CC_dependencies_compiler_type=none
4115  if test "$am_compiler_list" = ""; then
4116     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4117  fi
4118  am__universal=false
4119  case " $depcc " in #(
4120     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4121     esac
4122
4123  for depmode in $am_compiler_list; do
4124    # Setup a source with many dependencies, because some compilers
4125    # like to wrap large dependency lists on column 80 (with \), and
4126    # we should not choose a depcomp mode which is confused by this.
4127    #
4128    # We need to recreate these files for each test, as the compiler may
4129    # overwrite some of them when testing with obscure command lines.
4130    # This happens at least with the AIX C compiler.
4131    : > sub/conftest.c
4132    for i in 1 2 3 4 5 6; do
4133      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4134      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4135      # Solaris 10 /bin/sh.
4136      echo '/* dummy */' > sub/conftst$i.h
4137    done
4138    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4139
4140    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4141    # mode.  It turns out that the SunPro C++ compiler does not properly
4142    # handle '-M -o', and we need to detect this.  Also, some Intel
4143    # versions had trouble with output in subdirs.
4144    am__obj=sub/conftest.${OBJEXT-o}
4145    am__minus_obj="-o $am__obj"
4146    case $depmode in
4147    gcc)
4148      # This depmode causes a compiler race in universal mode.
4149      test "$am__universal" = false || continue
4150      ;;
4151    nosideeffect)
4152      # After this tag, mechanisms are not by side-effect, so they'll
4153      # only be used when explicitly requested.
4154      if test "x$enable_dependency_tracking" = xyes; then
4155	continue
4156      else
4157	break
4158      fi
4159      ;;
4160    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4161      # This compiler won't grok '-c -o', but also, the minuso test has
4162      # not run yet.  These depmodes are late enough in the game, and
4163      # so weak that their functioning should not be impacted.
4164      am__obj=conftest.${OBJEXT-o}
4165      am__minus_obj=
4166      ;;
4167    none) break ;;
4168    esac
4169    if depmode=$depmode \
4170       source=sub/conftest.c object=$am__obj \
4171       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4172       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4173         >/dev/null 2>conftest.err &&
4174       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4175       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4176       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4177       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4178      # icc doesn't choke on unknown options, it will just issue warnings
4179      # or remarks (even with -Werror).  So we grep stderr for any message
4180      # that says an option was ignored or not supported.
4181      # When given -MP, icc 7.0 and 7.1 complain thusly:
4182      #   icc: Command line warning: ignoring option '-M'; no argument required
4183      # The diagnosis changed in icc 8.0:
4184      #   icc: Command line remark: option '-MP' not supported
4185      if (grep 'ignoring option' conftest.err ||
4186          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4187        am_cv_CC_dependencies_compiler_type=$depmode
4188        break
4189      fi
4190    fi
4191  done
4192
4193  cd ..
4194  rm -rf conftest.dir
4195else
4196  am_cv_CC_dependencies_compiler_type=none
4197fi
4198
4199fi
4200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4201$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4202CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4203
4204 if
4205  test "x$enable_dependency_tracking" != xno \
4206  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4207  am__fastdepCC_TRUE=
4208  am__fastdepCC_FALSE='#'
4209else
4210  am__fastdepCC_TRUE='#'
4211  am__fastdepCC_FALSE=
4212fi
4213
4214
4215
4216{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
4217$as_echo_n "checking for library containing strerror... " >&6; }
4218if ${ac_cv_search_strerror+:} false; then :
4219  $as_echo_n "(cached) " >&6
4220else
4221  ac_func_search_save_LIBS=$LIBS
4222cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223/* end confdefs.h.  */
4224
4225/* Override any GCC internal prototype to avoid an error.
4226   Use char because int might match the return type of a GCC
4227   builtin and then its argument prototype would still apply.  */
4228#ifdef __cplusplus
4229extern "C"
4230#endif
4231char strerror ();
4232int
4233main ()
4234{
4235return strerror ();
4236  ;
4237  return 0;
4238}
4239_ACEOF
4240for ac_lib in '' cposix; do
4241  if test -z "$ac_lib"; then
4242    ac_res="none required"
4243  else
4244    ac_res=-l$ac_lib
4245    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
4246  fi
4247  if ac_fn_c_try_link "$LINENO"; then :
4248  ac_cv_search_strerror=$ac_res
4249fi
4250rm -f core conftest.err conftest.$ac_objext \
4251    conftest$ac_exeext
4252  if ${ac_cv_search_strerror+:} false; then :
4253  break
4254fi
4255done
4256if ${ac_cv_search_strerror+:} false; then :
4257
4258else
4259  ac_cv_search_strerror=no
4260fi
4261rm conftest.$ac_ext
4262LIBS=$ac_func_search_save_LIBS
4263fi
4264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
4265$as_echo "$ac_cv_search_strerror" >&6; }
4266ac_res=$ac_cv_search_strerror
4267if test "$ac_res" != no; then :
4268  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4269
4270fi
4271
4272ac_ext=c
4273ac_cpp='$CPP $CPPFLAGS'
4274ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4275ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4276ac_compiler_gnu=$ac_cv_c_compiler_gnu
4277if test -n "$ac_tool_prefix"; then
4278  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4279set dummy ${ac_tool_prefix}gcc; ac_word=$2
4280{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4281$as_echo_n "checking for $ac_word... " >&6; }
4282if ${ac_cv_prog_CC+:} false; then :
4283  $as_echo_n "(cached) " >&6
4284else
4285  if test -n "$CC"; then
4286  ac_cv_prog_CC="$CC" # Let the user override the test.
4287else
4288as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4289for as_dir in $PATH
4290do
4291  IFS=$as_save_IFS
4292  test -z "$as_dir" && as_dir=.
4293    for ac_exec_ext in '' $ac_executable_extensions; do
4294  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4295    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4296    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4297    break 2
4298  fi
4299done
4300  done
4301IFS=$as_save_IFS
4302
4303fi
4304fi
4305CC=$ac_cv_prog_CC
4306if test -n "$CC"; then
4307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4308$as_echo "$CC" >&6; }
4309else
4310  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4311$as_echo "no" >&6; }
4312fi
4313
4314
4315fi
4316if test -z "$ac_cv_prog_CC"; then
4317  ac_ct_CC=$CC
4318  # Extract the first word of "gcc", so it can be a program name with args.
4319set dummy gcc; ac_word=$2
4320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4321$as_echo_n "checking for $ac_word... " >&6; }
4322if ${ac_cv_prog_ac_ct_CC+:} false; then :
4323  $as_echo_n "(cached) " >&6
4324else
4325  if test -n "$ac_ct_CC"; then
4326  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4327else
4328as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4329for as_dir in $PATH
4330do
4331  IFS=$as_save_IFS
4332  test -z "$as_dir" && as_dir=.
4333    for ac_exec_ext in '' $ac_executable_extensions; do
4334  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4335    ac_cv_prog_ac_ct_CC="gcc"
4336    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4337    break 2
4338  fi
4339done
4340  done
4341IFS=$as_save_IFS
4342
4343fi
4344fi
4345ac_ct_CC=$ac_cv_prog_ac_ct_CC
4346if test -n "$ac_ct_CC"; then
4347  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4348$as_echo "$ac_ct_CC" >&6; }
4349else
4350  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4351$as_echo "no" >&6; }
4352fi
4353
4354  if test "x$ac_ct_CC" = x; then
4355    CC=""
4356  else
4357    case $cross_compiling:$ac_tool_warned in
4358yes:)
4359{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4360$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4361ac_tool_warned=yes ;;
4362esac
4363    CC=$ac_ct_CC
4364  fi
4365else
4366  CC="$ac_cv_prog_CC"
4367fi
4368
4369if test -z "$CC"; then
4370          if test -n "$ac_tool_prefix"; then
4371    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4372set dummy ${ac_tool_prefix}cc; ac_word=$2
4373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4374$as_echo_n "checking for $ac_word... " >&6; }
4375if ${ac_cv_prog_CC+:} false; then :
4376  $as_echo_n "(cached) " >&6
4377else
4378  if test -n "$CC"; then
4379  ac_cv_prog_CC="$CC" # Let the user override the test.
4380else
4381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4382for as_dir in $PATH
4383do
4384  IFS=$as_save_IFS
4385  test -z "$as_dir" && as_dir=.
4386    for ac_exec_ext in '' $ac_executable_extensions; do
4387  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4388    ac_cv_prog_CC="${ac_tool_prefix}cc"
4389    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4390    break 2
4391  fi
4392done
4393  done
4394IFS=$as_save_IFS
4395
4396fi
4397fi
4398CC=$ac_cv_prog_CC
4399if test -n "$CC"; then
4400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4401$as_echo "$CC" >&6; }
4402else
4403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4404$as_echo "no" >&6; }
4405fi
4406
4407
4408  fi
4409fi
4410if test -z "$CC"; then
4411  # Extract the first word of "cc", so it can be a program name with args.
4412set dummy cc; ac_word=$2
4413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414$as_echo_n "checking for $ac_word... " >&6; }
4415if ${ac_cv_prog_CC+:} false; then :
4416  $as_echo_n "(cached) " >&6
4417else
4418  if test -n "$CC"; then
4419  ac_cv_prog_CC="$CC" # Let the user override the test.
4420else
4421  ac_prog_rejected=no
4422as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4423for as_dir in $PATH
4424do
4425  IFS=$as_save_IFS
4426  test -z "$as_dir" && as_dir=.
4427    for ac_exec_ext in '' $ac_executable_extensions; do
4428  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4429    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4430       ac_prog_rejected=yes
4431       continue
4432     fi
4433    ac_cv_prog_CC="cc"
4434    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435    break 2
4436  fi
4437done
4438  done
4439IFS=$as_save_IFS
4440
4441if test $ac_prog_rejected = yes; then
4442  # We found a bogon in the path, so make sure we never use it.
4443  set dummy $ac_cv_prog_CC
4444  shift
4445  if test $# != 0; then
4446    # We chose a different compiler from the bogus one.
4447    # However, it has the same basename, so the bogon will be chosen
4448    # first if we set CC to just the basename; use the full file name.
4449    shift
4450    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4451  fi
4452fi
4453fi
4454fi
4455CC=$ac_cv_prog_CC
4456if test -n "$CC"; then
4457  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4458$as_echo "$CC" >&6; }
4459else
4460  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461$as_echo "no" >&6; }
4462fi
4463
4464
4465fi
4466if test -z "$CC"; then
4467  if test -n "$ac_tool_prefix"; then
4468  for ac_prog in cl.exe
4469  do
4470    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4471set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4472{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473$as_echo_n "checking for $ac_word... " >&6; }
4474if ${ac_cv_prog_CC+:} false; then :
4475  $as_echo_n "(cached) " >&6
4476else
4477  if test -n "$CC"; then
4478  ac_cv_prog_CC="$CC" # Let the user override the test.
4479else
4480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481for as_dir in $PATH
4482do
4483  IFS=$as_save_IFS
4484  test -z "$as_dir" && as_dir=.
4485    for ac_exec_ext in '' $ac_executable_extensions; do
4486  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4487    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4488    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489    break 2
4490  fi
4491done
4492  done
4493IFS=$as_save_IFS
4494
4495fi
4496fi
4497CC=$ac_cv_prog_CC
4498if test -n "$CC"; then
4499  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4500$as_echo "$CC" >&6; }
4501else
4502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503$as_echo "no" >&6; }
4504fi
4505
4506
4507    test -n "$CC" && break
4508  done
4509fi
4510if test -z "$CC"; then
4511  ac_ct_CC=$CC
4512  for ac_prog in cl.exe
4513do
4514  # Extract the first word of "$ac_prog", so it can be a program name with args.
4515set dummy $ac_prog; ac_word=$2
4516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4517$as_echo_n "checking for $ac_word... " >&6; }
4518if ${ac_cv_prog_ac_ct_CC+:} false; then :
4519  $as_echo_n "(cached) " >&6
4520else
4521  if test -n "$ac_ct_CC"; then
4522  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4523else
4524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525for as_dir in $PATH
4526do
4527  IFS=$as_save_IFS
4528  test -z "$as_dir" && as_dir=.
4529    for ac_exec_ext in '' $ac_executable_extensions; do
4530  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4531    ac_cv_prog_ac_ct_CC="$ac_prog"
4532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4533    break 2
4534  fi
4535done
4536  done
4537IFS=$as_save_IFS
4538
4539fi
4540fi
4541ac_ct_CC=$ac_cv_prog_ac_ct_CC
4542if test -n "$ac_ct_CC"; then
4543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4544$as_echo "$ac_ct_CC" >&6; }
4545else
4546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4547$as_echo "no" >&6; }
4548fi
4549
4550
4551  test -n "$ac_ct_CC" && break
4552done
4553
4554  if test "x$ac_ct_CC" = x; then
4555    CC=""
4556  else
4557    case $cross_compiling:$ac_tool_warned in
4558yes:)
4559{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4561ac_tool_warned=yes ;;
4562esac
4563    CC=$ac_ct_CC
4564  fi
4565fi
4566
4567fi
4568
4569
4570test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4571$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4572as_fn_error $? "no acceptable C compiler found in \$PATH
4573See \`config.log' for more details" "$LINENO" 5; }
4574
4575# Provide some information about the compiler.
4576$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4577set X $ac_compile
4578ac_compiler=$2
4579for ac_option in --version -v -V -qversion; do
4580  { { ac_try="$ac_compiler $ac_option >&5"
4581case "(($ac_try" in
4582  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4583  *) ac_try_echo=$ac_try;;
4584esac
4585eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4586$as_echo "$ac_try_echo"; } >&5
4587  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4588  ac_status=$?
4589  if test -s conftest.err; then
4590    sed '10a\
4591... rest of stderr output deleted ...
4592         10q' conftest.err >conftest.er1
4593    cat conftest.er1 >&5
4594  fi
4595  rm -f conftest.er1 conftest.err
4596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4597  test $ac_status = 0; }
4598done
4599
4600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4601$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4602if ${ac_cv_c_compiler_gnu+:} false; then :
4603  $as_echo_n "(cached) " >&6
4604else
4605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606/* end confdefs.h.  */
4607
4608int
4609main ()
4610{
4611#ifndef __GNUC__
4612       choke me
4613#endif
4614
4615  ;
4616  return 0;
4617}
4618_ACEOF
4619if ac_fn_c_try_compile "$LINENO"; then :
4620  ac_compiler_gnu=yes
4621else
4622  ac_compiler_gnu=no
4623fi
4624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4625ac_cv_c_compiler_gnu=$ac_compiler_gnu
4626
4627fi
4628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4629$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4630if test $ac_compiler_gnu = yes; then
4631  GCC=yes
4632else
4633  GCC=
4634fi
4635ac_test_CFLAGS=${CFLAGS+set}
4636ac_save_CFLAGS=$CFLAGS
4637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4638$as_echo_n "checking whether $CC accepts -g... " >&6; }
4639if ${ac_cv_prog_cc_g+:} false; then :
4640  $as_echo_n "(cached) " >&6
4641else
4642  ac_save_c_werror_flag=$ac_c_werror_flag
4643   ac_c_werror_flag=yes
4644   ac_cv_prog_cc_g=no
4645   CFLAGS="-g"
4646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647/* end confdefs.h.  */
4648
4649int
4650main ()
4651{
4652
4653  ;
4654  return 0;
4655}
4656_ACEOF
4657if ac_fn_c_try_compile "$LINENO"; then :
4658  ac_cv_prog_cc_g=yes
4659else
4660  CFLAGS=""
4661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4662/* end confdefs.h.  */
4663
4664int
4665main ()
4666{
4667
4668  ;
4669  return 0;
4670}
4671_ACEOF
4672if ac_fn_c_try_compile "$LINENO"; then :
4673
4674else
4675  ac_c_werror_flag=$ac_save_c_werror_flag
4676	 CFLAGS="-g"
4677	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678/* end confdefs.h.  */
4679
4680int
4681main ()
4682{
4683
4684  ;
4685  return 0;
4686}
4687_ACEOF
4688if ac_fn_c_try_compile "$LINENO"; then :
4689  ac_cv_prog_cc_g=yes
4690fi
4691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4692fi
4693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694fi
4695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696   ac_c_werror_flag=$ac_save_c_werror_flag
4697fi
4698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4699$as_echo "$ac_cv_prog_cc_g" >&6; }
4700if test "$ac_test_CFLAGS" = set; then
4701  CFLAGS=$ac_save_CFLAGS
4702elif test $ac_cv_prog_cc_g = yes; then
4703  if test "$GCC" = yes; then
4704    CFLAGS="-g -O2"
4705  else
4706    CFLAGS="-g"
4707  fi
4708else
4709  if test "$GCC" = yes; then
4710    CFLAGS="-O2"
4711  else
4712    CFLAGS=
4713  fi
4714fi
4715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4716$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4717if ${ac_cv_prog_cc_c89+:} false; then :
4718  $as_echo_n "(cached) " >&6
4719else
4720  ac_cv_prog_cc_c89=no
4721ac_save_CC=$CC
4722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4723/* end confdefs.h.  */
4724#include <stdarg.h>
4725#include <stdio.h>
4726struct stat;
4727/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4728struct buf { int x; };
4729FILE * (*rcsopen) (struct buf *, struct stat *, int);
4730static char *e (p, i)
4731     char **p;
4732     int i;
4733{
4734  return p[i];
4735}
4736static char *f (char * (*g) (char **, int), char **p, ...)
4737{
4738  char *s;
4739  va_list v;
4740  va_start (v,p);
4741  s = g (p, va_arg (v,int));
4742  va_end (v);
4743  return s;
4744}
4745
4746/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4747   function prototypes and stuff, but not '\xHH' hex character constants.
4748   These don't provoke an error unfortunately, instead are silently treated
4749   as 'x'.  The following induces an error, until -std is added to get
4750   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4751   array size at least.  It's necessary to write '\x00'==0 to get something
4752   that's true only with -std.  */
4753int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4754
4755/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4756   inside strings and character constants.  */
4757#define FOO(x) 'x'
4758int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4759
4760int test (int i, double x);
4761struct s1 {int (*f) (int a);};
4762struct s2 {int (*f) (double a);};
4763int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4764int argc;
4765char **argv;
4766int
4767main ()
4768{
4769return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4770  ;
4771  return 0;
4772}
4773_ACEOF
4774for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4775	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4776do
4777  CC="$ac_save_CC $ac_arg"
4778  if ac_fn_c_try_compile "$LINENO"; then :
4779  ac_cv_prog_cc_c89=$ac_arg
4780fi
4781rm -f core conftest.err conftest.$ac_objext
4782  test "x$ac_cv_prog_cc_c89" != "xno" && break
4783done
4784rm -f conftest.$ac_ext
4785CC=$ac_save_CC
4786
4787fi
4788# AC_CACHE_VAL
4789case "x$ac_cv_prog_cc_c89" in
4790  x)
4791    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4792$as_echo "none needed" >&6; } ;;
4793  xno)
4794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4795$as_echo "unsupported" >&6; } ;;
4796  *)
4797    CC="$CC $ac_cv_prog_cc_c89"
4798    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4799$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4800esac
4801if test "x$ac_cv_prog_cc_c89" != xno; then :
4802
4803fi
4804
4805ac_ext=c
4806ac_cpp='$CPP $CPPFLAGS'
4807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4809ac_compiler_gnu=$ac_cv_c_compiler_gnu
4810
4811ac_ext=c
4812ac_cpp='$CPP $CPPFLAGS'
4813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4815ac_compiler_gnu=$ac_cv_c_compiler_gnu
4816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4817$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4818if ${am_cv_prog_cc_c_o+:} false; then :
4819  $as_echo_n "(cached) " >&6
4820else
4821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4822/* end confdefs.h.  */
4823
4824int
4825main ()
4826{
4827
4828  ;
4829  return 0;
4830}
4831_ACEOF
4832  # Make sure it works both with $CC and with simple cc.
4833  # Following AC_PROG_CC_C_O, we do the test twice because some
4834  # compilers refuse to overwrite an existing .o file with -o,
4835  # though they will create one.
4836  am_cv_prog_cc_c_o=yes
4837  for am_i in 1 2; do
4838    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4839   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4840   ac_status=$?
4841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842   (exit $ac_status); } \
4843         && test -f conftest2.$ac_objext; then
4844      : OK
4845    else
4846      am_cv_prog_cc_c_o=no
4847      break
4848    fi
4849  done
4850  rm -f core conftest*
4851  unset am_i
4852fi
4853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4854$as_echo "$am_cv_prog_cc_c_o" >&6; }
4855if test "$am_cv_prog_cc_c_o" != yes; then
4856   # Losing compiler, so override with the script.
4857   # FIXME: It is wrong to rewrite CC.
4858   # But if we don't then we get into trouble of one sort or another.
4859   # A longer-term fix would be to have automake use am__CC in this case,
4860   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4861   CC="$am_aux_dir/compile $CC"
4862fi
4863ac_ext=c
4864ac_cpp='$CPP $CPPFLAGS'
4865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4867ac_compiler_gnu=$ac_cv_c_compiler_gnu
4868
4869
4870depcc="$CC"   am_compiler_list=
4871
4872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4873$as_echo_n "checking dependency style of $depcc... " >&6; }
4874if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4875  $as_echo_n "(cached) " >&6
4876else
4877  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4878  # We make a subdir and do the tests there.  Otherwise we can end up
4879  # making bogus files that we don't know about and never remove.  For
4880  # instance it was reported that on HP-UX the gcc test will end up
4881  # making a dummy file named 'D' -- because '-MD' means "put the output
4882  # in D".
4883  rm -rf conftest.dir
4884  mkdir conftest.dir
4885  # Copy depcomp to subdir because otherwise we won't find it if we're
4886  # using a relative directory.
4887  cp "$am_depcomp" conftest.dir
4888  cd conftest.dir
4889  # We will build objects and dependencies in a subdirectory because
4890  # it helps to detect inapplicable dependency modes.  For instance
4891  # both Tru64's cc and ICC support -MD to output dependencies as a
4892  # side effect of compilation, but ICC will put the dependencies in
4893  # the current directory while Tru64 will put them in the object
4894  # directory.
4895  mkdir sub
4896
4897  am_cv_CC_dependencies_compiler_type=none
4898  if test "$am_compiler_list" = ""; then
4899     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4900  fi
4901  am__universal=false
4902  case " $depcc " in #(
4903     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4904     esac
4905
4906  for depmode in $am_compiler_list; do
4907    # Setup a source with many dependencies, because some compilers
4908    # like to wrap large dependency lists on column 80 (with \), and
4909    # we should not choose a depcomp mode which is confused by this.
4910    #
4911    # We need to recreate these files for each test, as the compiler may
4912    # overwrite some of them when testing with obscure command lines.
4913    # This happens at least with the AIX C compiler.
4914    : > sub/conftest.c
4915    for i in 1 2 3 4 5 6; do
4916      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4917      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4918      # Solaris 10 /bin/sh.
4919      echo '/* dummy */' > sub/conftst$i.h
4920    done
4921    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4922
4923    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4924    # mode.  It turns out that the SunPro C++ compiler does not properly
4925    # handle '-M -o', and we need to detect this.  Also, some Intel
4926    # versions had trouble with output in subdirs.
4927    am__obj=sub/conftest.${OBJEXT-o}
4928    am__minus_obj="-o $am__obj"
4929    case $depmode in
4930    gcc)
4931      # This depmode causes a compiler race in universal mode.
4932      test "$am__universal" = false || continue
4933      ;;
4934    nosideeffect)
4935      # After this tag, mechanisms are not by side-effect, so they'll
4936      # only be used when explicitly requested.
4937      if test "x$enable_dependency_tracking" = xyes; then
4938	continue
4939      else
4940	break
4941      fi
4942      ;;
4943    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4944      # This compiler won't grok '-c -o', but also, the minuso test has
4945      # not run yet.  These depmodes are late enough in the game, and
4946      # so weak that their functioning should not be impacted.
4947      am__obj=conftest.${OBJEXT-o}
4948      am__minus_obj=
4949      ;;
4950    none) break ;;
4951    esac
4952    if depmode=$depmode \
4953       source=sub/conftest.c object=$am__obj \
4954       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4955       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4956         >/dev/null 2>conftest.err &&
4957       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4958       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4959       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4960       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4961      # icc doesn't choke on unknown options, it will just issue warnings
4962      # or remarks (even with -Werror).  So we grep stderr for any message
4963      # that says an option was ignored or not supported.
4964      # When given -MP, icc 7.0 and 7.1 complain thusly:
4965      #   icc: Command line warning: ignoring option '-M'; no argument required
4966      # The diagnosis changed in icc 8.0:
4967      #   icc: Command line remark: option '-MP' not supported
4968      if (grep 'ignoring option' conftest.err ||
4969          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4970        am_cv_CC_dependencies_compiler_type=$depmode
4971        break
4972      fi
4973    fi
4974  done
4975
4976  cd ..
4977  rm -rf conftest.dir
4978else
4979  am_cv_CC_dependencies_compiler_type=none
4980fi
4981
4982fi
4983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4984$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4985CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4986
4987 if
4988  test "x$enable_dependency_tracking" != xno \
4989  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4990  am__fastdepCC_TRUE=
4991  am__fastdepCC_FALSE='#'
4992else
4993  am__fastdepCC_TRUE='#'
4994  am__fastdepCC_FALSE=
4995fi
4996
4997
4998
4999ac_ext=c
5000ac_cpp='$CPP $CPPFLAGS'
5001ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5002ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5003ac_compiler_gnu=$ac_cv_c_compiler_gnu
5004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5005$as_echo_n "checking how to run the C preprocessor... " >&6; }
5006# On Suns, sometimes $CPP names a directory.
5007if test -n "$CPP" && test -d "$CPP"; then
5008  CPP=
5009fi
5010if test -z "$CPP"; then
5011  if ${ac_cv_prog_CPP+:} false; then :
5012  $as_echo_n "(cached) " >&6
5013else
5014      # Double quotes because CPP needs to be expanded
5015    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5016    do
5017      ac_preproc_ok=false
5018for ac_c_preproc_warn_flag in '' yes
5019do
5020  # Use a header file that comes with gcc, so configuring glibc
5021  # with a fresh cross-compiler works.
5022  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023  # <limits.h> exists even on freestanding compilers.
5024  # On the NeXT, cc -E runs the code through the compiler's parser,
5025  # not just through cpp. "Syntax error" is here to catch this case.
5026  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027/* end confdefs.h.  */
5028#ifdef __STDC__
5029# include <limits.h>
5030#else
5031# include <assert.h>
5032#endif
5033		     Syntax error
5034_ACEOF
5035if ac_fn_c_try_cpp "$LINENO"; then :
5036
5037else
5038  # Broken: fails on valid input.
5039continue
5040fi
5041rm -f conftest.err conftest.i conftest.$ac_ext
5042
5043  # OK, works on sane cases.  Now check whether nonexistent headers
5044  # can be detected and how.
5045  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5046/* end confdefs.h.  */
5047#include <ac_nonexistent.h>
5048_ACEOF
5049if ac_fn_c_try_cpp "$LINENO"; then :
5050  # Broken: success on invalid input.
5051continue
5052else
5053  # Passes both tests.
5054ac_preproc_ok=:
5055break
5056fi
5057rm -f conftest.err conftest.i conftest.$ac_ext
5058
5059done
5060# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5061rm -f conftest.i conftest.err conftest.$ac_ext
5062if $ac_preproc_ok; then :
5063  break
5064fi
5065
5066    done
5067    ac_cv_prog_CPP=$CPP
5068
5069fi
5070  CPP=$ac_cv_prog_CPP
5071else
5072  ac_cv_prog_CPP=$CPP
5073fi
5074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5075$as_echo "$CPP" >&6; }
5076ac_preproc_ok=false
5077for ac_c_preproc_warn_flag in '' yes
5078do
5079  # Use a header file that comes with gcc, so configuring glibc
5080  # with a fresh cross-compiler works.
5081  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5082  # <limits.h> exists even on freestanding compilers.
5083  # On the NeXT, cc -E runs the code through the compiler's parser,
5084  # not just through cpp. "Syntax error" is here to catch this case.
5085  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086/* end confdefs.h.  */
5087#ifdef __STDC__
5088# include <limits.h>
5089#else
5090# include <assert.h>
5091#endif
5092		     Syntax error
5093_ACEOF
5094if ac_fn_c_try_cpp "$LINENO"; then :
5095
5096else
5097  # Broken: fails on valid input.
5098continue
5099fi
5100rm -f conftest.err conftest.i conftest.$ac_ext
5101
5102  # OK, works on sane cases.  Now check whether nonexistent headers
5103  # can be detected and how.
5104  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5105/* end confdefs.h.  */
5106#include <ac_nonexistent.h>
5107_ACEOF
5108if ac_fn_c_try_cpp "$LINENO"; then :
5109  # Broken: success on invalid input.
5110continue
5111else
5112  # Passes both tests.
5113ac_preproc_ok=:
5114break
5115fi
5116rm -f conftest.err conftest.i conftest.$ac_ext
5117
5118done
5119# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5120rm -f conftest.i conftest.err conftest.$ac_ext
5121if $ac_preproc_ok; then :
5122
5123else
5124  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5126as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5127See \`config.log' for more details" "$LINENO" 5; }
5128fi
5129
5130ac_ext=c
5131ac_cpp='$CPP $CPPFLAGS'
5132ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135
5136
5137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5138$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5139if ${ac_cv_path_GREP+:} false; then :
5140  $as_echo_n "(cached) " >&6
5141else
5142  if test -z "$GREP"; then
5143  ac_path_GREP_found=false
5144  # Loop through the user's path and test for each of PROGNAME-LIST
5145  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5147do
5148  IFS=$as_save_IFS
5149  test -z "$as_dir" && as_dir=.
5150    for ac_prog in grep ggrep; do
5151    for ac_exec_ext in '' $ac_executable_extensions; do
5152      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5153      as_fn_executable_p "$ac_path_GREP" || continue
5154# Check for GNU ac_path_GREP and select it if it is found.
5155  # Check for GNU $ac_path_GREP
5156case `"$ac_path_GREP" --version 2>&1` in
5157*GNU*)
5158  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5159*)
5160  ac_count=0
5161  $as_echo_n 0123456789 >"conftest.in"
5162  while :
5163  do
5164    cat "conftest.in" "conftest.in" >"conftest.tmp"
5165    mv "conftest.tmp" "conftest.in"
5166    cp "conftest.in" "conftest.nl"
5167    $as_echo 'GREP' >> "conftest.nl"
5168    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5169    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5170    as_fn_arith $ac_count + 1 && ac_count=$as_val
5171    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5172      # Best one so far, save it but keep looking for a better one
5173      ac_cv_path_GREP="$ac_path_GREP"
5174      ac_path_GREP_max=$ac_count
5175    fi
5176    # 10*(2^10) chars as input seems more than enough
5177    test $ac_count -gt 10 && break
5178  done
5179  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5180esac
5181
5182      $ac_path_GREP_found && break 3
5183    done
5184  done
5185  done
5186IFS=$as_save_IFS
5187  if test -z "$ac_cv_path_GREP"; then
5188    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5189  fi
5190else
5191  ac_cv_path_GREP=$GREP
5192fi
5193
5194fi
5195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5196$as_echo "$ac_cv_path_GREP" >&6; }
5197 GREP="$ac_cv_path_GREP"
5198
5199
5200{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5201$as_echo_n "checking for egrep... " >&6; }
5202if ${ac_cv_path_EGREP+:} false; then :
5203  $as_echo_n "(cached) " >&6
5204else
5205  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5206   then ac_cv_path_EGREP="$GREP -E"
5207   else
5208     if test -z "$EGREP"; then
5209  ac_path_EGREP_found=false
5210  # Loop through the user's path and test for each of PROGNAME-LIST
5211  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5213do
5214  IFS=$as_save_IFS
5215  test -z "$as_dir" && as_dir=.
5216    for ac_prog in egrep; do
5217    for ac_exec_ext in '' $ac_executable_extensions; do
5218      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5219      as_fn_executable_p "$ac_path_EGREP" || continue
5220# Check for GNU ac_path_EGREP and select it if it is found.
5221  # Check for GNU $ac_path_EGREP
5222case `"$ac_path_EGREP" --version 2>&1` in
5223*GNU*)
5224  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5225*)
5226  ac_count=0
5227  $as_echo_n 0123456789 >"conftest.in"
5228  while :
5229  do
5230    cat "conftest.in" "conftest.in" >"conftest.tmp"
5231    mv "conftest.tmp" "conftest.in"
5232    cp "conftest.in" "conftest.nl"
5233    $as_echo 'EGREP' >> "conftest.nl"
5234    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5235    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5236    as_fn_arith $ac_count + 1 && ac_count=$as_val
5237    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5238      # Best one so far, save it but keep looking for a better one
5239      ac_cv_path_EGREP="$ac_path_EGREP"
5240      ac_path_EGREP_max=$ac_count
5241    fi
5242    # 10*(2^10) chars as input seems more than enough
5243    test $ac_count -gt 10 && break
5244  done
5245  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5246esac
5247
5248      $ac_path_EGREP_found && break 3
5249    done
5250  done
5251  done
5252IFS=$as_save_IFS
5253  if test -z "$ac_cv_path_EGREP"; then
5254    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5255  fi
5256else
5257  ac_cv_path_EGREP=$EGREP
5258fi
5259
5260   fi
5261fi
5262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5263$as_echo "$ac_cv_path_EGREP" >&6; }
5264 EGREP="$ac_cv_path_EGREP"
5265
5266
5267{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5268$as_echo_n "checking for ANSI C header files... " >&6; }
5269if ${ac_cv_header_stdc+:} false; then :
5270  $as_echo_n "(cached) " >&6
5271else
5272  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273/* end confdefs.h.  */
5274#include <stdlib.h>
5275#include <stdarg.h>
5276#include <string.h>
5277#include <float.h>
5278
5279int
5280main ()
5281{
5282
5283  ;
5284  return 0;
5285}
5286_ACEOF
5287if ac_fn_c_try_compile "$LINENO"; then :
5288  ac_cv_header_stdc=yes
5289else
5290  ac_cv_header_stdc=no
5291fi
5292rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5293
5294if test $ac_cv_header_stdc = yes; then
5295  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5296  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297/* end confdefs.h.  */
5298#include <string.h>
5299
5300_ACEOF
5301if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5302  $EGREP "memchr" >/dev/null 2>&1; then :
5303
5304else
5305  ac_cv_header_stdc=no
5306fi
5307rm -f conftest*
5308
5309fi
5310
5311if test $ac_cv_header_stdc = yes; then
5312  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314/* end confdefs.h.  */
5315#include <stdlib.h>
5316
5317_ACEOF
5318if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5319  $EGREP "free" >/dev/null 2>&1; then :
5320
5321else
5322  ac_cv_header_stdc=no
5323fi
5324rm -f conftest*
5325
5326fi
5327
5328if test $ac_cv_header_stdc = yes; then
5329  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5330  if test "$cross_compiling" = yes; then :
5331  :
5332else
5333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5334/* end confdefs.h.  */
5335#include <ctype.h>
5336#include <stdlib.h>
5337#if ((' ' & 0x0FF) == 0x020)
5338# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5339# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5340#else
5341# define ISLOWER(c) \
5342		   (('a' <= (c) && (c) <= 'i') \
5343		     || ('j' <= (c) && (c) <= 'r') \
5344		     || ('s' <= (c) && (c) <= 'z'))
5345# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5346#endif
5347
5348#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5349int
5350main ()
5351{
5352  int i;
5353  for (i = 0; i < 256; i++)
5354    if (XOR (islower (i), ISLOWER (i))
5355	|| toupper (i) != TOUPPER (i))
5356      return 2;
5357  return 0;
5358}
5359_ACEOF
5360if ac_fn_c_try_run "$LINENO"; then :
5361
5362else
5363  ac_cv_header_stdc=no
5364fi
5365rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5366  conftest.$ac_objext conftest.beam conftest.$ac_ext
5367fi
5368
5369fi
5370fi
5371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5372$as_echo "$ac_cv_header_stdc" >&6; }
5373if test $ac_cv_header_stdc = yes; then
5374
5375$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5376
5377fi
5378
5379# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5380for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5381		  inttypes.h stdint.h unistd.h
5382do :
5383  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5384ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5385"
5386if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5387  cat >>confdefs.h <<_ACEOF
5388#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5389_ACEOF
5390
5391fi
5392
5393done
5394
5395
5396for ac_header in libintl.h
5397do :
5398  ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
5399if test "x$ac_cv_header_libintl_h" = xyes; then :
5400  cat >>confdefs.h <<_ACEOF
5401#define HAVE_LIBINTL_H 1
5402_ACEOF
5403
5404fi
5405
5406done
5407
5408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
5409$as_echo_n "checking return type of signal handlers... " >&6; }
5410if ${ac_cv_type_signal+:} false; then :
5411  $as_echo_n "(cached) " >&6
5412else
5413  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5414/* end confdefs.h.  */
5415#include <sys/types.h>
5416#include <signal.h>
5417
5418int
5419main ()
5420{
5421return *(signal (0, 0)) (0) == 1;
5422  ;
5423  return 0;
5424}
5425_ACEOF
5426if ac_fn_c_try_compile "$LINENO"; then :
5427  ac_cv_type_signal=int
5428else
5429  ac_cv_type_signal=void
5430fi
5431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5432fi
5433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
5434$as_echo "$ac_cv_type_signal" >&6; }
5435
5436cat >>confdefs.h <<_ACEOF
5437#define RETSIGTYPE $ac_cv_type_signal
5438_ACEOF
5439
5440
5441
5442ac_ext=cpp
5443ac_cpp='$CXXCPP $CPPFLAGS'
5444ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5445ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5446ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5447if test -z "$CXX"; then
5448  if test -n "$CCC"; then
5449    CXX=$CCC
5450  else
5451    if test -n "$ac_tool_prefix"; then
5452  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5453  do
5454    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5455set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5457$as_echo_n "checking for $ac_word... " >&6; }
5458if ${ac_cv_prog_CXX+:} false; then :
5459  $as_echo_n "(cached) " >&6
5460else
5461  if test -n "$CXX"; then
5462  ac_cv_prog_CXX="$CXX" # Let the user override the test.
5463else
5464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5465for as_dir in $PATH
5466do
5467  IFS=$as_save_IFS
5468  test -z "$as_dir" && as_dir=.
5469    for ac_exec_ext in '' $ac_executable_extensions; do
5470  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5471    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5472    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5473    break 2
5474  fi
5475done
5476  done
5477IFS=$as_save_IFS
5478
5479fi
5480fi
5481CXX=$ac_cv_prog_CXX
5482if test -n "$CXX"; then
5483  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5484$as_echo "$CXX" >&6; }
5485else
5486  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5487$as_echo "no" >&6; }
5488fi
5489
5490
5491    test -n "$CXX" && break
5492  done
5493fi
5494if test -z "$CXX"; then
5495  ac_ct_CXX=$CXX
5496  for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5497do
5498  # Extract the first word of "$ac_prog", so it can be a program name with args.
5499set dummy $ac_prog; ac_word=$2
5500{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5501$as_echo_n "checking for $ac_word... " >&6; }
5502if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5503  $as_echo_n "(cached) " >&6
5504else
5505  if test -n "$ac_ct_CXX"; then
5506  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5507else
5508as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5509for as_dir in $PATH
5510do
5511  IFS=$as_save_IFS
5512  test -z "$as_dir" && as_dir=.
5513    for ac_exec_ext in '' $ac_executable_extensions; do
5514  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5515    ac_cv_prog_ac_ct_CXX="$ac_prog"
5516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5517    break 2
5518  fi
5519done
5520  done
5521IFS=$as_save_IFS
5522
5523fi
5524fi
5525ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5526if test -n "$ac_ct_CXX"; then
5527  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5528$as_echo "$ac_ct_CXX" >&6; }
5529else
5530  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5531$as_echo "no" >&6; }
5532fi
5533
5534
5535  test -n "$ac_ct_CXX" && break
5536done
5537
5538  if test "x$ac_ct_CXX" = x; then
5539    CXX="g++"
5540  else
5541    case $cross_compiling:$ac_tool_warned in
5542yes:)
5543{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5544$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5545ac_tool_warned=yes ;;
5546esac
5547    CXX=$ac_ct_CXX
5548  fi
5549fi
5550
5551  fi
5552fi
5553# Provide some information about the compiler.
5554$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5555set X $ac_compile
5556ac_compiler=$2
5557for ac_option in --version -v -V -qversion; do
5558  { { ac_try="$ac_compiler $ac_option >&5"
5559case "(($ac_try" in
5560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5561  *) ac_try_echo=$ac_try;;
5562esac
5563eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5564$as_echo "$ac_try_echo"; } >&5
5565  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5566  ac_status=$?
5567  if test -s conftest.err; then
5568    sed '10a\
5569... rest of stderr output deleted ...
5570         10q' conftest.err >conftest.er1
5571    cat conftest.er1 >&5
5572  fi
5573  rm -f conftest.er1 conftest.err
5574  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5575  test $ac_status = 0; }
5576done
5577
5578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5579$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5580if ${ac_cv_cxx_compiler_gnu+:} false; then :
5581  $as_echo_n "(cached) " >&6
5582else
5583  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584/* end confdefs.h.  */
5585
5586int
5587main ()
5588{
5589#ifndef __GNUC__
5590       choke me
5591#endif
5592
5593  ;
5594  return 0;
5595}
5596_ACEOF
5597if ac_fn_cxx_try_compile "$LINENO"; then :
5598  ac_compiler_gnu=yes
5599else
5600  ac_compiler_gnu=no
5601fi
5602rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5603ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5604
5605fi
5606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5607$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5608if test $ac_compiler_gnu = yes; then
5609  GXX=yes
5610else
5611  GXX=
5612fi
5613ac_test_CXXFLAGS=${CXXFLAGS+set}
5614ac_save_CXXFLAGS=$CXXFLAGS
5615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5616$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5617if ${ac_cv_prog_cxx_g+:} false; then :
5618  $as_echo_n "(cached) " >&6
5619else
5620  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5621   ac_cxx_werror_flag=yes
5622   ac_cv_prog_cxx_g=no
5623   CXXFLAGS="-g"
5624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625/* end confdefs.h.  */
5626
5627int
5628main ()
5629{
5630
5631  ;
5632  return 0;
5633}
5634_ACEOF
5635if ac_fn_cxx_try_compile "$LINENO"; then :
5636  ac_cv_prog_cxx_g=yes
5637else
5638  CXXFLAGS=""
5639      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5640/* end confdefs.h.  */
5641
5642int
5643main ()
5644{
5645
5646  ;
5647  return 0;
5648}
5649_ACEOF
5650if ac_fn_cxx_try_compile "$LINENO"; then :
5651
5652else
5653  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5654	 CXXFLAGS="-g"
5655	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5656/* end confdefs.h.  */
5657
5658int
5659main ()
5660{
5661
5662  ;
5663  return 0;
5664}
5665_ACEOF
5666if ac_fn_cxx_try_compile "$LINENO"; then :
5667  ac_cv_prog_cxx_g=yes
5668fi
5669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5670fi
5671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5672fi
5673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5674   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5675fi
5676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5677$as_echo "$ac_cv_prog_cxx_g" >&6; }
5678if test "$ac_test_CXXFLAGS" = set; then
5679  CXXFLAGS=$ac_save_CXXFLAGS
5680elif test $ac_cv_prog_cxx_g = yes; then
5681  if test "$GXX" = yes; then
5682    CXXFLAGS="-g -O2"
5683  else
5684    CXXFLAGS="-g"
5685  fi
5686else
5687  if test "$GXX" = yes; then
5688    CXXFLAGS="-O2"
5689  else
5690    CXXFLAGS=
5691  fi
5692fi
5693ac_ext=c
5694ac_cpp='$CPP $CPPFLAGS'
5695ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5696ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5697ac_compiler_gnu=$ac_cv_c_compiler_gnu
5698
5699depcc="$CXX"  am_compiler_list=
5700
5701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5702$as_echo_n "checking dependency style of $depcc... " >&6; }
5703if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5704  $as_echo_n "(cached) " >&6
5705else
5706  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5707  # We make a subdir and do the tests there.  Otherwise we can end up
5708  # making bogus files that we don't know about and never remove.  For
5709  # instance it was reported that on HP-UX the gcc test will end up
5710  # making a dummy file named 'D' -- because '-MD' means "put the output
5711  # in D".
5712  rm -rf conftest.dir
5713  mkdir conftest.dir
5714  # Copy depcomp to subdir because otherwise we won't find it if we're
5715  # using a relative directory.
5716  cp "$am_depcomp" conftest.dir
5717  cd conftest.dir
5718  # We will build objects and dependencies in a subdirectory because
5719  # it helps to detect inapplicable dependency modes.  For instance
5720  # both Tru64's cc and ICC support -MD to output dependencies as a
5721  # side effect of compilation, but ICC will put the dependencies in
5722  # the current directory while Tru64 will put them in the object
5723  # directory.
5724  mkdir sub
5725
5726  am_cv_CXX_dependencies_compiler_type=none
5727  if test "$am_compiler_list" = ""; then
5728     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5729  fi
5730  am__universal=false
5731  case " $depcc " in #(
5732     *\ -arch\ *\ -arch\ *) am__universal=true ;;
5733     esac
5734
5735  for depmode in $am_compiler_list; do
5736    # Setup a source with many dependencies, because some compilers
5737    # like to wrap large dependency lists on column 80 (with \), and
5738    # we should not choose a depcomp mode which is confused by this.
5739    #
5740    # We need to recreate these files for each test, as the compiler may
5741    # overwrite some of them when testing with obscure command lines.
5742    # This happens at least with the AIX C compiler.
5743    : > sub/conftest.c
5744    for i in 1 2 3 4 5 6; do
5745      echo '#include "conftst'$i'.h"' >> sub/conftest.c
5746      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5747      # Solaris 10 /bin/sh.
5748      echo '/* dummy */' > sub/conftst$i.h
5749    done
5750    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5751
5752    # We check with '-c' and '-o' for the sake of the "dashmstdout"
5753    # mode.  It turns out that the SunPro C++ compiler does not properly
5754    # handle '-M -o', and we need to detect this.  Also, some Intel
5755    # versions had trouble with output in subdirs.
5756    am__obj=sub/conftest.${OBJEXT-o}
5757    am__minus_obj="-o $am__obj"
5758    case $depmode in
5759    gcc)
5760      # This depmode causes a compiler race in universal mode.
5761      test "$am__universal" = false || continue
5762      ;;
5763    nosideeffect)
5764      # After this tag, mechanisms are not by side-effect, so they'll
5765      # only be used when explicitly requested.
5766      if test "x$enable_dependency_tracking" = xyes; then
5767	continue
5768      else
5769	break
5770      fi
5771      ;;
5772    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5773      # This compiler won't grok '-c -o', but also, the minuso test has
5774      # not run yet.  These depmodes are late enough in the game, and
5775      # so weak that their functioning should not be impacted.
5776      am__obj=conftest.${OBJEXT-o}
5777      am__minus_obj=
5778      ;;
5779    none) break ;;
5780    esac
5781    if depmode=$depmode \
5782       source=sub/conftest.c object=$am__obj \
5783       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5784       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5785         >/dev/null 2>conftest.err &&
5786       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5787       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5788       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5789       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5790      # icc doesn't choke on unknown options, it will just issue warnings
5791      # or remarks (even with -Werror).  So we grep stderr for any message
5792      # that says an option was ignored or not supported.
5793      # When given -MP, icc 7.0 and 7.1 complain thusly:
5794      #   icc: Command line warning: ignoring option '-M'; no argument required
5795      # The diagnosis changed in icc 8.0:
5796      #   icc: Command line remark: option '-MP' not supported
5797      if (grep 'ignoring option' conftest.err ||
5798          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5799        am_cv_CXX_dependencies_compiler_type=$depmode
5800        break
5801      fi
5802    fi
5803  done
5804
5805  cd ..
5806  rm -rf conftest.dir
5807else
5808  am_cv_CXX_dependencies_compiler_type=none
5809fi
5810
5811fi
5812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
5813$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
5814CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
5815
5816 if
5817  test "x$enable_dependency_tracking" != xno \
5818  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
5819  am__fastdepCXX_TRUE=
5820  am__fastdepCXX_FALSE='#'
5821else
5822  am__fastdepCXX_TRUE='#'
5823  am__fastdepCXX_FALSE=
5824fi
5825
5826
5827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5828$as_echo_n "checking for ANSI C header files... " >&6; }
5829if ${ac_cv_header_stdc+:} false; then :
5830  $as_echo_n "(cached) " >&6
5831else
5832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5833/* end confdefs.h.  */
5834#include <stdlib.h>
5835#include <stdarg.h>
5836#include <string.h>
5837#include <float.h>
5838
5839int
5840main ()
5841{
5842
5843  ;
5844  return 0;
5845}
5846_ACEOF
5847if ac_fn_c_try_compile "$LINENO"; then :
5848  ac_cv_header_stdc=yes
5849else
5850  ac_cv_header_stdc=no
5851fi
5852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5853
5854if test $ac_cv_header_stdc = yes; then
5855  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5856  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5857/* end confdefs.h.  */
5858#include <string.h>
5859
5860_ACEOF
5861if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5862  $EGREP "memchr" >/dev/null 2>&1; then :
5863
5864else
5865  ac_cv_header_stdc=no
5866fi
5867rm -f conftest*
5868
5869fi
5870
5871if test $ac_cv_header_stdc = yes; then
5872  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5873  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5874/* end confdefs.h.  */
5875#include <stdlib.h>
5876
5877_ACEOF
5878if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5879  $EGREP "free" >/dev/null 2>&1; then :
5880
5881else
5882  ac_cv_header_stdc=no
5883fi
5884rm -f conftest*
5885
5886fi
5887
5888if test $ac_cv_header_stdc = yes; then
5889  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5890  if test "$cross_compiling" = yes; then :
5891  :
5892else
5893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5894/* end confdefs.h.  */
5895#include <ctype.h>
5896#include <stdlib.h>
5897#if ((' ' & 0x0FF) == 0x020)
5898# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5899# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5900#else
5901# define ISLOWER(c) \
5902		   (('a' <= (c) && (c) <= 'i') \
5903		     || ('j' <= (c) && (c) <= 'r') \
5904		     || ('s' <= (c) && (c) <= 'z'))
5905# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5906#endif
5907
5908#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5909int
5910main ()
5911{
5912  int i;
5913  for (i = 0; i < 256; i++)
5914    if (XOR (islower (i), ISLOWER (i))
5915	|| toupper (i) != TOUPPER (i))
5916      return 2;
5917  return 0;
5918}
5919_ACEOF
5920if ac_fn_c_try_run "$LINENO"; then :
5921
5922else
5923  ac_cv_header_stdc=no
5924fi
5925rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5926  conftest.$ac_objext conftest.beam conftest.$ac_ext
5927fi
5928
5929fi
5930fi
5931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5932$as_echo "$ac_cv_header_stdc" >&6; }
5933if test $ac_cv_header_stdc = yes; then
5934
5935$as_echo "#define STDC_HEADERS 1" >>confdefs.h
5936
5937fi
5938
5939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
5940$as_echo_n "checking whether build environment is sane... " >&6; }
5941# Reject unsafe characters in $srcdir or the absolute working directory
5942# name.  Accept space and tab only in the latter.
5943am_lf='
5944'
5945case `pwd` in
5946  *[\\\"\#\$\&\'\`$am_lf]*)
5947    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
5948esac
5949case $srcdir in
5950  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
5951    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
5952esac
5953
5954# Do 'set' in a subshell so we don't clobber the current shell's
5955# arguments.  Must try -L first in case configure is actually a
5956# symlink; some systems play weird games with the mod time of symlinks
5957# (eg FreeBSD returns the mod time of the symlink's containing
5958# directory).
5959if (
5960   am_has_slept=no
5961   for am_try in 1 2; do
5962     echo "timestamp, slept: $am_has_slept" > conftest.file
5963     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
5964     if test "$*" = "X"; then
5965	# -L didn't work.
5966	set X `ls -t "$srcdir/configure" conftest.file`
5967     fi
5968     if test "$*" != "X $srcdir/configure conftest.file" \
5969	&& test "$*" != "X conftest.file $srcdir/configure"; then
5970
5971	# If neither matched, then we have a broken ls.  This can happen
5972	# if, for instance, CONFIG_SHELL is bash and it inherits a
5973	# broken ls alias from the environment.  This has actually
5974	# happened.  Such a system could not be considered "sane".
5975	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
5976  alias in your environment" "$LINENO" 5
5977     fi
5978     if test "$2" = conftest.file || test $am_try -eq 2; then
5979       break
5980     fi
5981     # Just in case.
5982     sleep 1
5983     am_has_slept=yes
5984   done
5985   test "$2" = conftest.file
5986   )
5987then
5988   # Ok.
5989   :
5990else
5991   as_fn_error $? "newly created file is older than distributed files!
5992Check your system clock" "$LINENO" 5
5993fi
5994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5995$as_echo "yes" >&6; }
5996# If we didn't sleep, we still need to ensure time stamps of config.status and
5997# generated files are strictly newer.
5998am_sleep_pid=
5999if grep 'slept: no' conftest.file >/dev/null 2>&1; then
6000  ( sleep 1 ) &
6001  am_sleep_pid=$!
6002fi
6003
6004rm -f conftest.file
6005
6006
6007# Check whether --enable-static was given.
6008if test "${enable_static+set}" = set; then :
6009  enableval=$enable_static; p=${PACKAGE-default}
6010    case $enableval in
6011    yes) enable_static=yes ;;
6012    no) enable_static=no ;;
6013    *)
6014     enable_static=no
6015      # Look at the argument we got.  We use all the common list separators.
6016      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
6017      for pkg in $enableval; do
6018	IFS=$lt_save_ifs
6019	if test "X$pkg" = "X$p"; then
6020	  enable_static=yes
6021	fi
6022      done
6023      IFS=$lt_save_ifs
6024      ;;
6025    esac
6026else
6027  enable_static=no
6028fi
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038# Make sure we can run config.sub.
6039$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6040  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6041
6042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6043$as_echo_n "checking build system type... " >&6; }
6044if ${ac_cv_build+:} false; then :
6045  $as_echo_n "(cached) " >&6
6046else
6047  ac_build_alias=$build_alias
6048test "x$ac_build_alias" = x &&
6049  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6050test "x$ac_build_alias" = x &&
6051  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6052ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6053  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6054
6055fi
6056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6057$as_echo "$ac_cv_build" >&6; }
6058case $ac_cv_build in
6059*-*-*) ;;
6060*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6061esac
6062build=$ac_cv_build
6063ac_save_IFS=$IFS; IFS='-'
6064set x $ac_cv_build
6065shift
6066build_cpu=$1
6067build_vendor=$2
6068shift; shift
6069# Remember, the first character of IFS is used to create $*,
6070# except with old shells:
6071build_os=$*
6072IFS=$ac_save_IFS
6073case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6074
6075
6076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6077$as_echo_n "checking host system type... " >&6; }
6078if ${ac_cv_host+:} false; then :
6079  $as_echo_n "(cached) " >&6
6080else
6081  if test "x$host_alias" = x; then
6082  ac_cv_host=$ac_cv_build
6083else
6084  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6085    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6086fi
6087
6088fi
6089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6090$as_echo "$ac_cv_host" >&6; }
6091case $ac_cv_host in
6092*-*-*) ;;
6093*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6094esac
6095host=$ac_cv_host
6096ac_save_IFS=$IFS; IFS='-'
6097set x $ac_cv_host
6098shift
6099host_cpu=$1
6100host_vendor=$2
6101shift; shift
6102# Remember, the first character of IFS is used to create $*,
6103# except with old shells:
6104host_os=$*
6105IFS=$ac_save_IFS
6106case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6107
6108
6109enable_win32_dll=yes
6110
6111case $host in
6112*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
6113  if test -n "$ac_tool_prefix"; then
6114  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6115set dummy ${ac_tool_prefix}as; ac_word=$2
6116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6117$as_echo_n "checking for $ac_word... " >&6; }
6118if ${ac_cv_prog_AS+:} false; then :
6119  $as_echo_n "(cached) " >&6
6120else
6121  if test -n "$AS"; then
6122  ac_cv_prog_AS="$AS" # Let the user override the test.
6123else
6124as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6125for as_dir in $PATH
6126do
6127  IFS=$as_save_IFS
6128  test -z "$as_dir" && as_dir=.
6129    for ac_exec_ext in '' $ac_executable_extensions; do
6130  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6131    ac_cv_prog_AS="${ac_tool_prefix}as"
6132    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6133    break 2
6134  fi
6135done
6136  done
6137IFS=$as_save_IFS
6138
6139fi
6140fi
6141AS=$ac_cv_prog_AS
6142if test -n "$AS"; then
6143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6144$as_echo "$AS" >&6; }
6145else
6146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6147$as_echo "no" >&6; }
6148fi
6149
6150
6151fi
6152if test -z "$ac_cv_prog_AS"; then
6153  ac_ct_AS=$AS
6154  # Extract the first word of "as", so it can be a program name with args.
6155set dummy as; ac_word=$2
6156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6157$as_echo_n "checking for $ac_word... " >&6; }
6158if ${ac_cv_prog_ac_ct_AS+:} false; then :
6159  $as_echo_n "(cached) " >&6
6160else
6161  if test -n "$ac_ct_AS"; then
6162  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6163else
6164as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6165for as_dir in $PATH
6166do
6167  IFS=$as_save_IFS
6168  test -z "$as_dir" && as_dir=.
6169    for ac_exec_ext in '' $ac_executable_extensions; do
6170  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6171    ac_cv_prog_ac_ct_AS="as"
6172    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6173    break 2
6174  fi
6175done
6176  done
6177IFS=$as_save_IFS
6178
6179fi
6180fi
6181ac_ct_AS=$ac_cv_prog_ac_ct_AS
6182if test -n "$ac_ct_AS"; then
6183  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6184$as_echo "$ac_ct_AS" >&6; }
6185else
6186  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6187$as_echo "no" >&6; }
6188fi
6189
6190  if test "x$ac_ct_AS" = x; then
6191    AS="false"
6192  else
6193    case $cross_compiling:$ac_tool_warned in
6194yes:)
6195{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6196$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6197ac_tool_warned=yes ;;
6198esac
6199    AS=$ac_ct_AS
6200  fi
6201else
6202  AS="$ac_cv_prog_AS"
6203fi
6204
6205  if test -n "$ac_tool_prefix"; then
6206  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6207set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6209$as_echo_n "checking for $ac_word... " >&6; }
6210if ${ac_cv_prog_DLLTOOL+:} false; then :
6211  $as_echo_n "(cached) " >&6
6212else
6213  if test -n "$DLLTOOL"; then
6214  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6215else
6216as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217for as_dir in $PATH
6218do
6219  IFS=$as_save_IFS
6220  test -z "$as_dir" && as_dir=.
6221    for ac_exec_ext in '' $ac_executable_extensions; do
6222  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6223    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6225    break 2
6226  fi
6227done
6228  done
6229IFS=$as_save_IFS
6230
6231fi
6232fi
6233DLLTOOL=$ac_cv_prog_DLLTOOL
6234if test -n "$DLLTOOL"; then
6235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6236$as_echo "$DLLTOOL" >&6; }
6237else
6238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6239$as_echo "no" >&6; }
6240fi
6241
6242
6243fi
6244if test -z "$ac_cv_prog_DLLTOOL"; then
6245  ac_ct_DLLTOOL=$DLLTOOL
6246  # Extract the first word of "dlltool", so it can be a program name with args.
6247set dummy dlltool; ac_word=$2
6248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6249$as_echo_n "checking for $ac_word... " >&6; }
6250if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6251  $as_echo_n "(cached) " >&6
6252else
6253  if test -n "$ac_ct_DLLTOOL"; then
6254  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6255else
6256as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257for as_dir in $PATH
6258do
6259  IFS=$as_save_IFS
6260  test -z "$as_dir" && as_dir=.
6261    for ac_exec_ext in '' $ac_executable_extensions; do
6262  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6263    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6264    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6265    break 2
6266  fi
6267done
6268  done
6269IFS=$as_save_IFS
6270
6271fi
6272fi
6273ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6274if test -n "$ac_ct_DLLTOOL"; then
6275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6276$as_echo "$ac_ct_DLLTOOL" >&6; }
6277else
6278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6279$as_echo "no" >&6; }
6280fi
6281
6282  if test "x$ac_ct_DLLTOOL" = x; then
6283    DLLTOOL="false"
6284  else
6285    case $cross_compiling:$ac_tool_warned in
6286yes:)
6287{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6288$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6289ac_tool_warned=yes ;;
6290esac
6291    DLLTOOL=$ac_ct_DLLTOOL
6292  fi
6293else
6294  DLLTOOL="$ac_cv_prog_DLLTOOL"
6295fi
6296
6297  if test -n "$ac_tool_prefix"; then
6298  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6299set dummy ${ac_tool_prefix}objdump; ac_word=$2
6300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6301$as_echo_n "checking for $ac_word... " >&6; }
6302if ${ac_cv_prog_OBJDUMP+:} false; then :
6303  $as_echo_n "(cached) " >&6
6304else
6305  if test -n "$OBJDUMP"; then
6306  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6307else
6308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309for as_dir in $PATH
6310do
6311  IFS=$as_save_IFS
6312  test -z "$as_dir" && as_dir=.
6313    for ac_exec_ext in '' $ac_executable_extensions; do
6314  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6315    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6316    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6317    break 2
6318  fi
6319done
6320  done
6321IFS=$as_save_IFS
6322
6323fi
6324fi
6325OBJDUMP=$ac_cv_prog_OBJDUMP
6326if test -n "$OBJDUMP"; then
6327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6328$as_echo "$OBJDUMP" >&6; }
6329else
6330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331$as_echo "no" >&6; }
6332fi
6333
6334
6335fi
6336if test -z "$ac_cv_prog_OBJDUMP"; then
6337  ac_ct_OBJDUMP=$OBJDUMP
6338  # Extract the first word of "objdump", so it can be a program name with args.
6339set dummy objdump; ac_word=$2
6340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341$as_echo_n "checking for $ac_word... " >&6; }
6342if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6343  $as_echo_n "(cached) " >&6
6344else
6345  if test -n "$ac_ct_OBJDUMP"; then
6346  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6347else
6348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6349for as_dir in $PATH
6350do
6351  IFS=$as_save_IFS
6352  test -z "$as_dir" && as_dir=.
6353    for ac_exec_ext in '' $ac_executable_extensions; do
6354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6355    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6356    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6357    break 2
6358  fi
6359done
6360  done
6361IFS=$as_save_IFS
6362
6363fi
6364fi
6365ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6366if test -n "$ac_ct_OBJDUMP"; then
6367  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6368$as_echo "$ac_ct_OBJDUMP" >&6; }
6369else
6370  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371$as_echo "no" >&6; }
6372fi
6373
6374  if test "x$ac_ct_OBJDUMP" = x; then
6375    OBJDUMP="false"
6376  else
6377    case $cross_compiling:$ac_tool_warned in
6378yes:)
6379{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6380$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6381ac_tool_warned=yes ;;
6382esac
6383    OBJDUMP=$ac_ct_OBJDUMP
6384  fi
6385else
6386  OBJDUMP="$ac_cv_prog_OBJDUMP"
6387fi
6388
6389  ;;
6390esac
6391
6392test -z "$AS" && AS=as
6393
6394
6395
6396
6397
6398test -z "$DLLTOOL" && DLLTOOL=dlltool
6399
6400
6401
6402
6403
6404test -z "$OBJDUMP" && OBJDUMP=objdump
6405
6406
6407
6408
6409
6410
6411
6412case `pwd` in
6413  *\ * | *\	*)
6414    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6415$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6416esac
6417
6418
6419
6420macro_version='2.4.6'
6421macro_revision='2.4.6'
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435ltmain=$ac_aux_dir/ltmain.sh
6436
6437# Backslashify metacharacters that are still active within
6438# double-quoted strings.
6439sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6440
6441# Same as above, but do not quote variable references.
6442double_quote_subst='s/\(["`\\]\)/\\\1/g'
6443
6444# Sed substitution to delay expansion of an escaped shell variable in a
6445# double_quote_subst'ed string.
6446delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6447
6448# Sed substitution to delay expansion of an escaped single quote.
6449delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6450
6451# Sed substitution to avoid accidental globbing in evaled expressions
6452no_glob_subst='s/\*/\\\*/g'
6453
6454ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6455ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6456ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6457
6458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6459$as_echo_n "checking how to print strings... " >&6; }
6460# Test print first, because it will be a builtin if present.
6461if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6462   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6463  ECHO='print -r --'
6464elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6465  ECHO='printf %s\n'
6466else
6467  # Use this function as a fallback that always works.
6468  func_fallback_echo ()
6469  {
6470    eval 'cat <<_LTECHO_EOF
6471$1
6472_LTECHO_EOF'
6473  }
6474  ECHO='func_fallback_echo'
6475fi
6476
6477# func_echo_all arg...
6478# Invoke $ECHO with all args, space-separated.
6479func_echo_all ()
6480{
6481    $ECHO ""
6482}
6483
6484case $ECHO in
6485  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6486$as_echo "printf" >&6; } ;;
6487  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6488$as_echo "print -r" >&6; } ;;
6489  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6490$as_echo "cat" >&6; } ;;
6491esac
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6507$as_echo_n "checking for a sed that does not truncate output... " >&6; }
6508if ${ac_cv_path_SED+:} false; then :
6509  $as_echo_n "(cached) " >&6
6510else
6511            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6512     for ac_i in 1 2 3 4 5 6 7; do
6513       ac_script="$ac_script$as_nl$ac_script"
6514     done
6515     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6516     { ac_script=; unset ac_script;}
6517     if test -z "$SED"; then
6518  ac_path_SED_found=false
6519  # Loop through the user's path and test for each of PROGNAME-LIST
6520  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6521for as_dir in $PATH
6522do
6523  IFS=$as_save_IFS
6524  test -z "$as_dir" && as_dir=.
6525    for ac_prog in sed gsed; do
6526    for ac_exec_ext in '' $ac_executable_extensions; do
6527      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6528      as_fn_executable_p "$ac_path_SED" || continue
6529# Check for GNU ac_path_SED and select it if it is found.
6530  # Check for GNU $ac_path_SED
6531case `"$ac_path_SED" --version 2>&1` in
6532*GNU*)
6533  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6534*)
6535  ac_count=0
6536  $as_echo_n 0123456789 >"conftest.in"
6537  while :
6538  do
6539    cat "conftest.in" "conftest.in" >"conftest.tmp"
6540    mv "conftest.tmp" "conftest.in"
6541    cp "conftest.in" "conftest.nl"
6542    $as_echo '' >> "conftest.nl"
6543    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6544    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6545    as_fn_arith $ac_count + 1 && ac_count=$as_val
6546    if test $ac_count -gt ${ac_path_SED_max-0}; then
6547      # Best one so far, save it but keep looking for a better one
6548      ac_cv_path_SED="$ac_path_SED"
6549      ac_path_SED_max=$ac_count
6550    fi
6551    # 10*(2^10) chars as input seems more than enough
6552    test $ac_count -gt 10 && break
6553  done
6554  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6555esac
6556
6557      $ac_path_SED_found && break 3
6558    done
6559  done
6560  done
6561IFS=$as_save_IFS
6562  if test -z "$ac_cv_path_SED"; then
6563    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6564  fi
6565else
6566  ac_cv_path_SED=$SED
6567fi
6568
6569fi
6570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6571$as_echo "$ac_cv_path_SED" >&6; }
6572 SED="$ac_cv_path_SED"
6573  rm -f conftest.sed
6574
6575test -z "$SED" && SED=sed
6576Xsed="$SED -e 1s/^X//"
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6589$as_echo_n "checking for fgrep... " >&6; }
6590if ${ac_cv_path_FGREP+:} false; then :
6591  $as_echo_n "(cached) " >&6
6592else
6593  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6594   then ac_cv_path_FGREP="$GREP -F"
6595   else
6596     if test -z "$FGREP"; then
6597  ac_path_FGREP_found=false
6598  # Loop through the user's path and test for each of PROGNAME-LIST
6599  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6601do
6602  IFS=$as_save_IFS
6603  test -z "$as_dir" && as_dir=.
6604    for ac_prog in fgrep; do
6605    for ac_exec_ext in '' $ac_executable_extensions; do
6606      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6607      as_fn_executable_p "$ac_path_FGREP" || continue
6608# Check for GNU ac_path_FGREP and select it if it is found.
6609  # Check for GNU $ac_path_FGREP
6610case `"$ac_path_FGREP" --version 2>&1` in
6611*GNU*)
6612  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6613*)
6614  ac_count=0
6615  $as_echo_n 0123456789 >"conftest.in"
6616  while :
6617  do
6618    cat "conftest.in" "conftest.in" >"conftest.tmp"
6619    mv "conftest.tmp" "conftest.in"
6620    cp "conftest.in" "conftest.nl"
6621    $as_echo 'FGREP' >> "conftest.nl"
6622    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6623    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6624    as_fn_arith $ac_count + 1 && ac_count=$as_val
6625    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6626      # Best one so far, save it but keep looking for a better one
6627      ac_cv_path_FGREP="$ac_path_FGREP"
6628      ac_path_FGREP_max=$ac_count
6629    fi
6630    # 10*(2^10) chars as input seems more than enough
6631    test $ac_count -gt 10 && break
6632  done
6633  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6634esac
6635
6636      $ac_path_FGREP_found && break 3
6637    done
6638  done
6639  done
6640IFS=$as_save_IFS
6641  if test -z "$ac_cv_path_FGREP"; then
6642    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6643  fi
6644else
6645  ac_cv_path_FGREP=$FGREP
6646fi
6647
6648   fi
6649fi
6650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6651$as_echo "$ac_cv_path_FGREP" >&6; }
6652 FGREP="$ac_cv_path_FGREP"
6653
6654
6655test -z "$GREP" && GREP=grep
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675# Check whether --with-gnu-ld was given.
6676if test "${with_gnu_ld+set}" = set; then :
6677  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
6678else
6679  with_gnu_ld=no
6680fi
6681
6682ac_prog=ld
6683if test yes = "$GCC"; then
6684  # Check if gcc -print-prog-name=ld gives a path.
6685  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6686$as_echo_n "checking for ld used by $CC... " >&6; }
6687  case $host in
6688  *-*-mingw*)
6689    # gcc leaves a trailing carriage return, which upsets mingw
6690    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6691  *)
6692    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6693  esac
6694  case $ac_prog in
6695    # Accept absolute paths.
6696    [\\/]* | ?:[\\/]*)
6697      re_direlt='/[^/][^/]*/\.\./'
6698      # Canonicalize the pathname of ld
6699      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6700      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6701	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6702      done
6703      test -z "$LD" && LD=$ac_prog
6704      ;;
6705  "")
6706    # If it fails, then pretend we aren't using GCC.
6707    ac_prog=ld
6708    ;;
6709  *)
6710    # If it is relative, then search for the first ld in PATH.
6711    with_gnu_ld=unknown
6712    ;;
6713  esac
6714elif test yes = "$with_gnu_ld"; then
6715  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6716$as_echo_n "checking for GNU ld... " >&6; }
6717else
6718  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6719$as_echo_n "checking for non-GNU ld... " >&6; }
6720fi
6721if ${lt_cv_path_LD+:} false; then :
6722  $as_echo_n "(cached) " >&6
6723else
6724  if test -z "$LD"; then
6725  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6726  for ac_dir in $PATH; do
6727    IFS=$lt_save_ifs
6728    test -z "$ac_dir" && ac_dir=.
6729    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6730      lt_cv_path_LD=$ac_dir/$ac_prog
6731      # Check to see if the program is GNU ld.  I'd rather use --version,
6732      # but apparently some variants of GNU ld only accept -v.
6733      # Break only if it was the GNU/non-GNU ld that we prefer.
6734      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6735      *GNU* | *'with BFD'*)
6736	test no != "$with_gnu_ld" && break
6737	;;
6738      *)
6739	test yes != "$with_gnu_ld" && break
6740	;;
6741      esac
6742    fi
6743  done
6744  IFS=$lt_save_ifs
6745else
6746  lt_cv_path_LD=$LD # Let the user override the test with a path.
6747fi
6748fi
6749
6750LD=$lt_cv_path_LD
6751if test -n "$LD"; then
6752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6753$as_echo "$LD" >&6; }
6754else
6755  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756$as_echo "no" >&6; }
6757fi
6758test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6760$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6761if ${lt_cv_prog_gnu_ld+:} false; then :
6762  $as_echo_n "(cached) " >&6
6763else
6764  # I'd rather use --version here, but apparently some GNU lds only accept -v.
6765case `$LD -v 2>&1 </dev/null` in
6766*GNU* | *'with BFD'*)
6767  lt_cv_prog_gnu_ld=yes
6768  ;;
6769*)
6770  lt_cv_prog_gnu_ld=no
6771  ;;
6772esac
6773fi
6774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6775$as_echo "$lt_cv_prog_gnu_ld" >&6; }
6776with_gnu_ld=$lt_cv_prog_gnu_ld
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6787$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6788if ${lt_cv_path_NM+:} false; then :
6789  $as_echo_n "(cached) " >&6
6790else
6791  if test -n "$NM"; then
6792  # Let the user override the test.
6793  lt_cv_path_NM=$NM
6794else
6795  lt_nm_to_check=${ac_tool_prefix}nm
6796  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6797    lt_nm_to_check="$lt_nm_to_check nm"
6798  fi
6799  for lt_tmp_nm in $lt_nm_to_check; do
6800    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
6801    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6802      IFS=$lt_save_ifs
6803      test -z "$ac_dir" && ac_dir=.
6804      tmp_nm=$ac_dir/$lt_tmp_nm
6805      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
6806	# Check to see if the nm accepts a BSD-compat flag.
6807	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
6808	#   nm: unknown option "B" ignored
6809	# Tru64's nm complains that /dev/null is an invalid object file
6810	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
6811	case $build_os in
6812	mingw*) lt_bad_file=conftest.nm/nofile ;;
6813	*) lt_bad_file=/dev/null ;;
6814	esac
6815	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
6816	*$lt_bad_file* | *'Invalid file or object type'*)
6817	  lt_cv_path_NM="$tmp_nm -B"
6818	  break 2
6819	  ;;
6820	*)
6821	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6822	  */dev/null*)
6823	    lt_cv_path_NM="$tmp_nm -p"
6824	    break 2
6825	    ;;
6826	  *)
6827	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6828	    continue # so that we can try to find one that supports BSD flags
6829	    ;;
6830	  esac
6831	  ;;
6832	esac
6833      fi
6834    done
6835    IFS=$lt_save_ifs
6836  done
6837  : ${lt_cv_path_NM=no}
6838fi
6839fi
6840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6841$as_echo "$lt_cv_path_NM" >&6; }
6842if test no != "$lt_cv_path_NM"; then
6843  NM=$lt_cv_path_NM
6844else
6845  # Didn't find any BSD compatible name lister, look for dumpbin.
6846  if test -n "$DUMPBIN"; then :
6847    # Let the user override the test.
6848  else
6849    if test -n "$ac_tool_prefix"; then
6850  for ac_prog in dumpbin "link -dump"
6851  do
6852    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6853set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6854{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6855$as_echo_n "checking for $ac_word... " >&6; }
6856if ${ac_cv_prog_DUMPBIN+:} false; then :
6857  $as_echo_n "(cached) " >&6
6858else
6859  if test -n "$DUMPBIN"; then
6860  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6861else
6862as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6863for as_dir in $PATH
6864do
6865  IFS=$as_save_IFS
6866  test -z "$as_dir" && as_dir=.
6867    for ac_exec_ext in '' $ac_executable_extensions; do
6868  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6869    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6870    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871    break 2
6872  fi
6873done
6874  done
6875IFS=$as_save_IFS
6876
6877fi
6878fi
6879DUMPBIN=$ac_cv_prog_DUMPBIN
6880if test -n "$DUMPBIN"; then
6881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6882$as_echo "$DUMPBIN" >&6; }
6883else
6884  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6885$as_echo "no" >&6; }
6886fi
6887
6888
6889    test -n "$DUMPBIN" && break
6890  done
6891fi
6892if test -z "$DUMPBIN"; then
6893  ac_ct_DUMPBIN=$DUMPBIN
6894  for ac_prog in dumpbin "link -dump"
6895do
6896  # Extract the first word of "$ac_prog", so it can be a program name with args.
6897set dummy $ac_prog; ac_word=$2
6898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6899$as_echo_n "checking for $ac_word... " >&6; }
6900if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6901  $as_echo_n "(cached) " >&6
6902else
6903  if test -n "$ac_ct_DUMPBIN"; then
6904  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6905else
6906as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6907for as_dir in $PATH
6908do
6909  IFS=$as_save_IFS
6910  test -z "$as_dir" && as_dir=.
6911    for ac_exec_ext in '' $ac_executable_extensions; do
6912  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6913    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6914    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6915    break 2
6916  fi
6917done
6918  done
6919IFS=$as_save_IFS
6920
6921fi
6922fi
6923ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6924if test -n "$ac_ct_DUMPBIN"; then
6925  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6926$as_echo "$ac_ct_DUMPBIN" >&6; }
6927else
6928  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6929$as_echo "no" >&6; }
6930fi
6931
6932
6933  test -n "$ac_ct_DUMPBIN" && break
6934done
6935
6936  if test "x$ac_ct_DUMPBIN" = x; then
6937    DUMPBIN=":"
6938  else
6939    case $cross_compiling:$ac_tool_warned in
6940yes:)
6941{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6942$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6943ac_tool_warned=yes ;;
6944esac
6945    DUMPBIN=$ac_ct_DUMPBIN
6946  fi
6947fi
6948
6949    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
6950    *COFF*)
6951      DUMPBIN="$DUMPBIN -symbols -headers"
6952      ;;
6953    *)
6954      DUMPBIN=:
6955      ;;
6956    esac
6957  fi
6958
6959  if test : != "$DUMPBIN"; then
6960    NM=$DUMPBIN
6961  fi
6962fi
6963test -z "$NM" && NM=nm
6964
6965
6966
6967
6968
6969
6970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6971$as_echo_n "checking the name lister ($NM) interface... " >&6; }
6972if ${lt_cv_nm_interface+:} false; then :
6973  $as_echo_n "(cached) " >&6
6974else
6975  lt_cv_nm_interface="BSD nm"
6976  echo "int some_variable = 0;" > conftest.$ac_ext
6977  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6978  (eval "$ac_compile" 2>conftest.err)
6979  cat conftest.err >&5
6980  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6981  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6982  cat conftest.err >&5
6983  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6984  cat conftest.out >&5
6985  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6986    lt_cv_nm_interface="MS dumpbin"
6987  fi
6988  rm -f conftest*
6989fi
6990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6991$as_echo "$lt_cv_nm_interface" >&6; }
6992
6993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6994$as_echo_n "checking whether ln -s works... " >&6; }
6995LN_S=$as_ln_s
6996if test "$LN_S" = "ln -s"; then
6997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6998$as_echo "yes" >&6; }
6999else
7000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7001$as_echo "no, using $LN_S" >&6; }
7002fi
7003
7004# find the maximum length of command line arguments
7005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7006$as_echo_n "checking the maximum length of command line arguments... " >&6; }
7007if ${lt_cv_sys_max_cmd_len+:} false; then :
7008  $as_echo_n "(cached) " >&6
7009else
7010    i=0
7011  teststring=ABCD
7012
7013  case $build_os in
7014  msdosdjgpp*)
7015    # On DJGPP, this test can blow up pretty badly due to problems in libc
7016    # (any single argument exceeding 2000 bytes causes a buffer overrun
7017    # during glob expansion).  Even if it were fixed, the result of this
7018    # check would be larger than it should be.
7019    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
7020    ;;
7021
7022  gnu*)
7023    # Under GNU Hurd, this test is not required because there is
7024    # no limit to the length of command line arguments.
7025    # Libtool will interpret -1 as no limit whatsoever
7026    lt_cv_sys_max_cmd_len=-1;
7027    ;;
7028
7029  cygwin* | mingw* | cegcc*)
7030    # On Win9x/ME, this test blows up -- it succeeds, but takes
7031    # about 5 minutes as the teststring grows exponentially.
7032    # Worse, since 9x/ME are not pre-emptively multitasking,
7033    # you end up with a "frozen" computer, even though with patience
7034    # the test eventually succeeds (with a max line length of 256k).
7035    # Instead, let's just punt: use the minimum linelength reported by
7036    # all of the supported platforms: 8192 (on NT/2K/XP).
7037    lt_cv_sys_max_cmd_len=8192;
7038    ;;
7039
7040  mint*)
7041    # On MiNT this can take a long time and run out of memory.
7042    lt_cv_sys_max_cmd_len=8192;
7043    ;;
7044
7045  amigaos*)
7046    # On AmigaOS with pdksh, this test takes hours, literally.
7047    # So we just punt and use a minimum line length of 8192.
7048    lt_cv_sys_max_cmd_len=8192;
7049    ;;
7050
7051  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7052    # This has been around since 386BSD, at least.  Likely further.
7053    if test -x /sbin/sysctl; then
7054      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7055    elif test -x /usr/sbin/sysctl; then
7056      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7057    else
7058      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
7059    fi
7060    # And add a safety zone
7061    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7062    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7063    ;;
7064
7065  interix*)
7066    # We know the value 262144 and hardcode it with a safety zone (like BSD)
7067    lt_cv_sys_max_cmd_len=196608
7068    ;;
7069
7070  os2*)
7071    # The test takes a long time on OS/2.
7072    lt_cv_sys_max_cmd_len=8192
7073    ;;
7074
7075  osf*)
7076    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7077    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7078    # nice to cause kernel panics so lets avoid the loop below.
7079    # First set a reasonable default.
7080    lt_cv_sys_max_cmd_len=16384
7081    #
7082    if test -x /sbin/sysconfig; then
7083      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7084        *1*) lt_cv_sys_max_cmd_len=-1 ;;
7085      esac
7086    fi
7087    ;;
7088  sco3.2v5*)
7089    lt_cv_sys_max_cmd_len=102400
7090    ;;
7091  sysv5* | sco5v6* | sysv4.2uw2*)
7092    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7093    if test -n "$kargmax"; then
7094      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
7095    else
7096      lt_cv_sys_max_cmd_len=32768
7097    fi
7098    ;;
7099  *)
7100    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7101    if test -n "$lt_cv_sys_max_cmd_len" && \
7102       test undefined != "$lt_cv_sys_max_cmd_len"; then
7103      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7104      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7105    else
7106      # Make teststring a little bigger before we do anything with it.
7107      # a 1K string should be a reasonable start.
7108      for i in 1 2 3 4 5 6 7 8; do
7109        teststring=$teststring$teststring
7110      done
7111      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7112      # If test is not a shell built-in, we'll probably end up computing a
7113      # maximum length that is only half of the actual maximum length, but
7114      # we can't tell.
7115      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7116	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7117	      test 17 != "$i" # 1/2 MB should be enough
7118      do
7119        i=`expr $i + 1`
7120        teststring=$teststring$teststring
7121      done
7122      # Only check the string length outside the loop.
7123      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7124      teststring=
7125      # Add a significant safety factor because C++ compilers can tack on
7126      # massive amounts of additional arguments before passing them to the
7127      # linker.  It appears as though 1/2 is a usable value.
7128      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7129    fi
7130    ;;
7131  esac
7132
7133fi
7134
7135if test -n "$lt_cv_sys_max_cmd_len"; then
7136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7137$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7138else
7139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7140$as_echo "none" >&6; }
7141fi
7142max_cmd_len=$lt_cv_sys_max_cmd_len
7143
7144
7145
7146
7147
7148
7149: ${CP="cp -f"}
7150: ${MV="mv -f"}
7151: ${RM="rm -f"}
7152
7153if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7154  lt_unset=unset
7155else
7156  lt_unset=false
7157fi
7158
7159
7160
7161
7162
7163# test EBCDIC or ASCII
7164case `echo X|tr X '\101'` in
7165 A) # ASCII based system
7166    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7167  lt_SP2NL='tr \040 \012'
7168  lt_NL2SP='tr \015\012 \040\040'
7169  ;;
7170 *) # EBCDIC based system
7171  lt_SP2NL='tr \100 \n'
7172  lt_NL2SP='tr \r\n \100\100'
7173  ;;
7174esac
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7185$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7186if ${lt_cv_to_host_file_cmd+:} false; then :
7187  $as_echo_n "(cached) " >&6
7188else
7189  case $host in
7190  *-*-mingw* )
7191    case $build in
7192      *-*-mingw* ) # actually msys
7193        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7194        ;;
7195      *-*-cygwin* )
7196        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7197        ;;
7198      * ) # otherwise, assume *nix
7199        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7200        ;;
7201    esac
7202    ;;
7203  *-*-cygwin* )
7204    case $build in
7205      *-*-mingw* ) # actually msys
7206        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7207        ;;
7208      *-*-cygwin* )
7209        lt_cv_to_host_file_cmd=func_convert_file_noop
7210        ;;
7211      * ) # otherwise, assume *nix
7212        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7213        ;;
7214    esac
7215    ;;
7216  * ) # unhandled hosts (and "normal" native builds)
7217    lt_cv_to_host_file_cmd=func_convert_file_noop
7218    ;;
7219esac
7220
7221fi
7222
7223to_host_file_cmd=$lt_cv_to_host_file_cmd
7224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7225$as_echo "$lt_cv_to_host_file_cmd" >&6; }
7226
7227
7228
7229
7230
7231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7232$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7233if ${lt_cv_to_tool_file_cmd+:} false; then :
7234  $as_echo_n "(cached) " >&6
7235else
7236  #assume ordinary cross tools, or native build.
7237lt_cv_to_tool_file_cmd=func_convert_file_noop
7238case $host in
7239  *-*-mingw* )
7240    case $build in
7241      *-*-mingw* ) # actually msys
7242        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7243        ;;
7244    esac
7245    ;;
7246esac
7247
7248fi
7249
7250to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7252$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7253
7254
7255
7256
7257
7258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7259$as_echo_n "checking for $LD option to reload object files... " >&6; }
7260if ${lt_cv_ld_reload_flag+:} false; then :
7261  $as_echo_n "(cached) " >&6
7262else
7263  lt_cv_ld_reload_flag='-r'
7264fi
7265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7266$as_echo "$lt_cv_ld_reload_flag" >&6; }
7267reload_flag=$lt_cv_ld_reload_flag
7268case $reload_flag in
7269"" | " "*) ;;
7270*) reload_flag=" $reload_flag" ;;
7271esac
7272reload_cmds='$LD$reload_flag -o $output$reload_objs'
7273case $host_os in
7274  cygwin* | mingw* | pw32* | cegcc*)
7275    if test yes != "$GCC"; then
7276      reload_cmds=false
7277    fi
7278    ;;
7279  darwin*)
7280    if test yes = "$GCC"; then
7281      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7282    else
7283      reload_cmds='$LD$reload_flag -o $output$reload_objs'
7284    fi
7285    ;;
7286esac
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296if test -n "$ac_tool_prefix"; then
7297  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7298set dummy ${ac_tool_prefix}objdump; ac_word=$2
7299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7300$as_echo_n "checking for $ac_word... " >&6; }
7301if ${ac_cv_prog_OBJDUMP+:} false; then :
7302  $as_echo_n "(cached) " >&6
7303else
7304  if test -n "$OBJDUMP"; then
7305  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7306else
7307as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7308for as_dir in $PATH
7309do
7310  IFS=$as_save_IFS
7311  test -z "$as_dir" && as_dir=.
7312    for ac_exec_ext in '' $ac_executable_extensions; do
7313  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7314    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7315    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7316    break 2
7317  fi
7318done
7319  done
7320IFS=$as_save_IFS
7321
7322fi
7323fi
7324OBJDUMP=$ac_cv_prog_OBJDUMP
7325if test -n "$OBJDUMP"; then
7326  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7327$as_echo "$OBJDUMP" >&6; }
7328else
7329  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330$as_echo "no" >&6; }
7331fi
7332
7333
7334fi
7335if test -z "$ac_cv_prog_OBJDUMP"; then
7336  ac_ct_OBJDUMP=$OBJDUMP
7337  # Extract the first word of "objdump", so it can be a program name with args.
7338set dummy objdump; ac_word=$2
7339{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7340$as_echo_n "checking for $ac_word... " >&6; }
7341if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7342  $as_echo_n "(cached) " >&6
7343else
7344  if test -n "$ac_ct_OBJDUMP"; then
7345  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7346else
7347as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7348for as_dir in $PATH
7349do
7350  IFS=$as_save_IFS
7351  test -z "$as_dir" && as_dir=.
7352    for ac_exec_ext in '' $ac_executable_extensions; do
7353  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7354    ac_cv_prog_ac_ct_OBJDUMP="objdump"
7355    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7356    break 2
7357  fi
7358done
7359  done
7360IFS=$as_save_IFS
7361
7362fi
7363fi
7364ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7365if test -n "$ac_ct_OBJDUMP"; then
7366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7367$as_echo "$ac_ct_OBJDUMP" >&6; }
7368else
7369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370$as_echo "no" >&6; }
7371fi
7372
7373  if test "x$ac_ct_OBJDUMP" = x; then
7374    OBJDUMP="false"
7375  else
7376    case $cross_compiling:$ac_tool_warned in
7377yes:)
7378{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7379$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7380ac_tool_warned=yes ;;
7381esac
7382    OBJDUMP=$ac_ct_OBJDUMP
7383  fi
7384else
7385  OBJDUMP="$ac_cv_prog_OBJDUMP"
7386fi
7387
7388test -z "$OBJDUMP" && OBJDUMP=objdump
7389
7390
7391
7392
7393
7394
7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7396$as_echo_n "checking how to recognize dependent libraries... " >&6; }
7397if ${lt_cv_deplibs_check_method+:} false; then :
7398  $as_echo_n "(cached) " >&6
7399else
7400  lt_cv_file_magic_cmd='$MAGIC_CMD'
7401lt_cv_file_magic_test_file=
7402lt_cv_deplibs_check_method='unknown'
7403# Need to set the preceding variable on all platforms that support
7404# interlibrary dependencies.
7405# 'none' -- dependencies not supported.
7406# 'unknown' -- same as none, but documents that we really don't know.
7407# 'pass_all' -- all dependencies passed with no checks.
7408# 'test_compile' -- check by making test program.
7409# 'file_magic [[regex]]' -- check by looking for files in library path
7410# that responds to the $file_magic_cmd with a given extended regex.
7411# If you have 'file' or equivalent on your system and you're not sure
7412# whether 'pass_all' will *always* work, you probably want this one.
7413
7414case $host_os in
7415aix[4-9]*)
7416  lt_cv_deplibs_check_method=pass_all
7417  ;;
7418
7419beos*)
7420  lt_cv_deplibs_check_method=pass_all
7421  ;;
7422
7423bsdi[45]*)
7424  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7425  lt_cv_file_magic_cmd='/usr/bin/file -L'
7426  lt_cv_file_magic_test_file=/shlib/libc.so
7427  ;;
7428
7429cygwin*)
7430  # func_win32_libid is a shell function defined in ltmain.sh
7431  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7432  lt_cv_file_magic_cmd='func_win32_libid'
7433  ;;
7434
7435mingw* | pw32*)
7436  # Base MSYS/MinGW do not provide the 'file' command needed by
7437  # func_win32_libid shell function, so use a weaker test based on 'objdump',
7438  # unless we find 'file', for example because we are cross-compiling.
7439  if ( file / ) >/dev/null 2>&1; then
7440    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7441    lt_cv_file_magic_cmd='func_win32_libid'
7442  else
7443    # Keep this pattern in sync with the one in func_win32_libid.
7444    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7445    lt_cv_file_magic_cmd='$OBJDUMP -f'
7446  fi
7447  ;;
7448
7449cegcc*)
7450  # use the weaker test based on 'objdump'. See mingw*.
7451  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7452  lt_cv_file_magic_cmd='$OBJDUMP -f'
7453  ;;
7454
7455darwin* | rhapsody*)
7456  lt_cv_deplibs_check_method=pass_all
7457  ;;
7458
7459freebsd* | dragonfly*)
7460  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7461    case $host_cpu in
7462    i*86 )
7463      # Not sure whether the presence of OpenBSD here was a mistake.
7464      # Let's accept both of them until this is cleared up.
7465      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7466      lt_cv_file_magic_cmd=/usr/bin/file
7467      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7468      ;;
7469    esac
7470  else
7471    lt_cv_deplibs_check_method=pass_all
7472  fi
7473  ;;
7474
7475haiku*)
7476  lt_cv_deplibs_check_method=pass_all
7477  ;;
7478
7479hpux10.20* | hpux11*)
7480  lt_cv_file_magic_cmd=/usr/bin/file
7481  case $host_cpu in
7482  ia64*)
7483    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7484    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7485    ;;
7486  hppa*64*)
7487    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]'
7488    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7489    ;;
7490  *)
7491    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7492    lt_cv_file_magic_test_file=/usr/lib/libc.sl
7493    ;;
7494  esac
7495  ;;
7496
7497interix[3-9]*)
7498  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7499  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7500  ;;
7501
7502irix5* | irix6* | nonstopux*)
7503  case $LD in
7504  *-32|*"-32 ") libmagic=32-bit;;
7505  *-n32|*"-n32 ") libmagic=N32;;
7506  *-64|*"-64 ") libmagic=64-bit;;
7507  *) libmagic=never-match;;
7508  esac
7509  lt_cv_deplibs_check_method=pass_all
7510  ;;
7511
7512# This must be glibc/ELF.
7513linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7514  lt_cv_deplibs_check_method=pass_all
7515  ;;
7516
7517netbsd*)
7518  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7519    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7520  else
7521    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7522  fi
7523  ;;
7524
7525newos6*)
7526  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7527  lt_cv_file_magic_cmd=/usr/bin/file
7528  lt_cv_file_magic_test_file=/usr/lib/libnls.so
7529  ;;
7530
7531*nto* | *qnx*)
7532  lt_cv_deplibs_check_method=pass_all
7533  ;;
7534
7535openbsd* | bitrig*)
7536  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7537    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7538  else
7539    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7540  fi
7541  ;;
7542
7543osf3* | osf4* | osf5*)
7544  lt_cv_deplibs_check_method=pass_all
7545  ;;
7546
7547rdos*)
7548  lt_cv_deplibs_check_method=pass_all
7549  ;;
7550
7551solaris*)
7552  lt_cv_deplibs_check_method=pass_all
7553  ;;
7554
7555sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7556  lt_cv_deplibs_check_method=pass_all
7557  ;;
7558
7559sysv4 | sysv4.3*)
7560  case $host_vendor in
7561  motorola)
7562    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]'
7563    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7564    ;;
7565  ncr)
7566    lt_cv_deplibs_check_method=pass_all
7567    ;;
7568  sequent)
7569    lt_cv_file_magic_cmd='/bin/file'
7570    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7571    ;;
7572  sni)
7573    lt_cv_file_magic_cmd='/bin/file'
7574    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7575    lt_cv_file_magic_test_file=/lib/libc.so
7576    ;;
7577  siemens)
7578    lt_cv_deplibs_check_method=pass_all
7579    ;;
7580  pc)
7581    lt_cv_deplibs_check_method=pass_all
7582    ;;
7583  esac
7584  ;;
7585
7586tpf*)
7587  lt_cv_deplibs_check_method=pass_all
7588  ;;
7589os2*)
7590  lt_cv_deplibs_check_method=pass_all
7591  ;;
7592esac
7593
7594fi
7595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7596$as_echo "$lt_cv_deplibs_check_method" >&6; }
7597
7598file_magic_glob=
7599want_nocaseglob=no
7600if test "$build" = "$host"; then
7601  case $host_os in
7602  mingw* | pw32*)
7603    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7604      want_nocaseglob=yes
7605    else
7606      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7607    fi
7608    ;;
7609  esac
7610fi
7611
7612file_magic_cmd=$lt_cv_file_magic_cmd
7613deplibs_check_method=$lt_cv_deplibs_check_method
7614test -z "$deplibs_check_method" && deplibs_check_method=unknown
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637if test -n "$ac_tool_prefix"; then
7638  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7639set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7641$as_echo_n "checking for $ac_word... " >&6; }
7642if ${ac_cv_prog_DLLTOOL+:} false; then :
7643  $as_echo_n "(cached) " >&6
7644else
7645  if test -n "$DLLTOOL"; then
7646  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7647else
7648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7649for as_dir in $PATH
7650do
7651  IFS=$as_save_IFS
7652  test -z "$as_dir" && as_dir=.
7653    for ac_exec_ext in '' $ac_executable_extensions; do
7654  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7655    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7656    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7657    break 2
7658  fi
7659done
7660  done
7661IFS=$as_save_IFS
7662
7663fi
7664fi
7665DLLTOOL=$ac_cv_prog_DLLTOOL
7666if test -n "$DLLTOOL"; then
7667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7668$as_echo "$DLLTOOL" >&6; }
7669else
7670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7671$as_echo "no" >&6; }
7672fi
7673
7674
7675fi
7676if test -z "$ac_cv_prog_DLLTOOL"; then
7677  ac_ct_DLLTOOL=$DLLTOOL
7678  # Extract the first word of "dlltool", so it can be a program name with args.
7679set dummy dlltool; ac_word=$2
7680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7681$as_echo_n "checking for $ac_word... " >&6; }
7682if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7683  $as_echo_n "(cached) " >&6
7684else
7685  if test -n "$ac_ct_DLLTOOL"; then
7686  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7687else
7688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7689for as_dir in $PATH
7690do
7691  IFS=$as_save_IFS
7692  test -z "$as_dir" && as_dir=.
7693    for ac_exec_ext in '' $ac_executable_extensions; do
7694  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7695    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7696    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7697    break 2
7698  fi
7699done
7700  done
7701IFS=$as_save_IFS
7702
7703fi
7704fi
7705ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7706if test -n "$ac_ct_DLLTOOL"; then
7707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7708$as_echo "$ac_ct_DLLTOOL" >&6; }
7709else
7710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711$as_echo "no" >&6; }
7712fi
7713
7714  if test "x$ac_ct_DLLTOOL" = x; then
7715    DLLTOOL="false"
7716  else
7717    case $cross_compiling:$ac_tool_warned in
7718yes:)
7719{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7720$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7721ac_tool_warned=yes ;;
7722esac
7723    DLLTOOL=$ac_ct_DLLTOOL
7724  fi
7725else
7726  DLLTOOL="$ac_cv_prog_DLLTOOL"
7727fi
7728
7729test -z "$DLLTOOL" && DLLTOOL=dlltool
7730
7731
7732
7733
7734
7735
7736
7737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
7738$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
7739if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
7740  $as_echo_n "(cached) " >&6
7741else
7742  lt_cv_sharedlib_from_linklib_cmd='unknown'
7743
7744case $host_os in
7745cygwin* | mingw* | pw32* | cegcc*)
7746  # two different shell functions defined in ltmain.sh;
7747  # decide which one to use based on capabilities of $DLLTOOL
7748  case `$DLLTOOL --help 2>&1` in
7749  *--identify-strict*)
7750    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
7751    ;;
7752  *)
7753    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
7754    ;;
7755  esac
7756  ;;
7757*)
7758  # fallback: assume linklib IS sharedlib
7759  lt_cv_sharedlib_from_linklib_cmd=$ECHO
7760  ;;
7761esac
7762
7763fi
7764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
7765$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
7766sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
7767test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
7768
7769
7770
7771
7772
7773
7774
7775if test -n "$ac_tool_prefix"; then
7776  for ac_prog in ar
7777  do
7778    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7779set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781$as_echo_n "checking for $ac_word... " >&6; }
7782if ${ac_cv_prog_AR+:} false; then :
7783  $as_echo_n "(cached) " >&6
7784else
7785  if test -n "$AR"; then
7786  ac_cv_prog_AR="$AR" # Let the user override the test.
7787else
7788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7789for as_dir in $PATH
7790do
7791  IFS=$as_save_IFS
7792  test -z "$as_dir" && as_dir=.
7793    for ac_exec_ext in '' $ac_executable_extensions; do
7794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7795    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7797    break 2
7798  fi
7799done
7800  done
7801IFS=$as_save_IFS
7802
7803fi
7804fi
7805AR=$ac_cv_prog_AR
7806if test -n "$AR"; then
7807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7808$as_echo "$AR" >&6; }
7809else
7810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7811$as_echo "no" >&6; }
7812fi
7813
7814
7815    test -n "$AR" && break
7816  done
7817fi
7818if test -z "$AR"; then
7819  ac_ct_AR=$AR
7820  for ac_prog in ar
7821do
7822  # Extract the first word of "$ac_prog", so it can be a program name with args.
7823set dummy $ac_prog; ac_word=$2
7824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7825$as_echo_n "checking for $ac_word... " >&6; }
7826if ${ac_cv_prog_ac_ct_AR+:} false; then :
7827  $as_echo_n "(cached) " >&6
7828else
7829  if test -n "$ac_ct_AR"; then
7830  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7831else
7832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7833for as_dir in $PATH
7834do
7835  IFS=$as_save_IFS
7836  test -z "$as_dir" && as_dir=.
7837    for ac_exec_ext in '' $ac_executable_extensions; do
7838  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7839    ac_cv_prog_ac_ct_AR="$ac_prog"
7840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7841    break 2
7842  fi
7843done
7844  done
7845IFS=$as_save_IFS
7846
7847fi
7848fi
7849ac_ct_AR=$ac_cv_prog_ac_ct_AR
7850if test -n "$ac_ct_AR"; then
7851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7852$as_echo "$ac_ct_AR" >&6; }
7853else
7854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855$as_echo "no" >&6; }
7856fi
7857
7858
7859  test -n "$ac_ct_AR" && break
7860done
7861
7862  if test "x$ac_ct_AR" = x; then
7863    AR="false"
7864  else
7865    case $cross_compiling:$ac_tool_warned in
7866yes:)
7867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7869ac_tool_warned=yes ;;
7870esac
7871    AR=$ac_ct_AR
7872  fi
7873fi
7874
7875: ${AR=ar}
7876: ${AR_FLAGS=cru}
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
7889$as_echo_n "checking for archiver @FILE support... " >&6; }
7890if ${lt_cv_ar_at_file+:} false; then :
7891  $as_echo_n "(cached) " >&6
7892else
7893  lt_cv_ar_at_file=no
7894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7895/* end confdefs.h.  */
7896
7897int
7898main ()
7899{
7900
7901  ;
7902  return 0;
7903}
7904_ACEOF
7905if ac_fn_c_try_compile "$LINENO"; then :
7906  echo conftest.$ac_objext > conftest.lst
7907      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
7908      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7909  (eval $lt_ar_try) 2>&5
7910  ac_status=$?
7911  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7912  test $ac_status = 0; }
7913      if test 0 -eq "$ac_status"; then
7914	# Ensure the archiver fails upon bogus file names.
7915	rm -f conftest.$ac_objext libconftest.a
7916	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
7917  (eval $lt_ar_try) 2>&5
7918  ac_status=$?
7919  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7920  test $ac_status = 0; }
7921	if test 0 -ne "$ac_status"; then
7922          lt_cv_ar_at_file=@
7923        fi
7924      fi
7925      rm -f conftest.* libconftest.a
7926
7927fi
7928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7929
7930fi
7931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
7932$as_echo "$lt_cv_ar_at_file" >&6; }
7933
7934if test no = "$lt_cv_ar_at_file"; then
7935  archiver_list_spec=
7936else
7937  archiver_list_spec=$lt_cv_ar_at_file
7938fi
7939
7940
7941
7942
7943
7944
7945
7946if test -n "$ac_tool_prefix"; then
7947  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7948set dummy ${ac_tool_prefix}strip; ac_word=$2
7949{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7950$as_echo_n "checking for $ac_word... " >&6; }
7951if ${ac_cv_prog_STRIP+:} false; then :
7952  $as_echo_n "(cached) " >&6
7953else
7954  if test -n "$STRIP"; then
7955  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7956else
7957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7958for as_dir in $PATH
7959do
7960  IFS=$as_save_IFS
7961  test -z "$as_dir" && as_dir=.
7962    for ac_exec_ext in '' $ac_executable_extensions; do
7963  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7965    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7966    break 2
7967  fi
7968done
7969  done
7970IFS=$as_save_IFS
7971
7972fi
7973fi
7974STRIP=$ac_cv_prog_STRIP
7975if test -n "$STRIP"; then
7976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7977$as_echo "$STRIP" >&6; }
7978else
7979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980$as_echo "no" >&6; }
7981fi
7982
7983
7984fi
7985if test -z "$ac_cv_prog_STRIP"; then
7986  ac_ct_STRIP=$STRIP
7987  # Extract the first word of "strip", so it can be a program name with args.
7988set dummy strip; ac_word=$2
7989{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990$as_echo_n "checking for $ac_word... " >&6; }
7991if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7992  $as_echo_n "(cached) " >&6
7993else
7994  if test -n "$ac_ct_STRIP"; then
7995  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7996else
7997as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7998for as_dir in $PATH
7999do
8000  IFS=$as_save_IFS
8001  test -z "$as_dir" && as_dir=.
8002    for ac_exec_ext in '' $ac_executable_extensions; do
8003  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004    ac_cv_prog_ac_ct_STRIP="strip"
8005    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8006    break 2
8007  fi
8008done
8009  done
8010IFS=$as_save_IFS
8011
8012fi
8013fi
8014ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8015if test -n "$ac_ct_STRIP"; then
8016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8017$as_echo "$ac_ct_STRIP" >&6; }
8018else
8019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020$as_echo "no" >&6; }
8021fi
8022
8023  if test "x$ac_ct_STRIP" = x; then
8024    STRIP=":"
8025  else
8026    case $cross_compiling:$ac_tool_warned in
8027yes:)
8028{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8029$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8030ac_tool_warned=yes ;;
8031esac
8032    STRIP=$ac_ct_STRIP
8033  fi
8034else
8035  STRIP="$ac_cv_prog_STRIP"
8036fi
8037
8038test -z "$STRIP" && STRIP=:
8039
8040
8041
8042
8043
8044
8045if test -n "$ac_tool_prefix"; then
8046  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8047set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049$as_echo_n "checking for $ac_word... " >&6; }
8050if ${ac_cv_prog_RANLIB+:} false; then :
8051  $as_echo_n "(cached) " >&6
8052else
8053  if test -n "$RANLIB"; then
8054  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8055else
8056as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057for as_dir in $PATH
8058do
8059  IFS=$as_save_IFS
8060  test -z "$as_dir" && as_dir=.
8061    for ac_exec_ext in '' $ac_executable_extensions; do
8062  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8064    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065    break 2
8066  fi
8067done
8068  done
8069IFS=$as_save_IFS
8070
8071fi
8072fi
8073RANLIB=$ac_cv_prog_RANLIB
8074if test -n "$RANLIB"; then
8075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8076$as_echo "$RANLIB" >&6; }
8077else
8078  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079$as_echo "no" >&6; }
8080fi
8081
8082
8083fi
8084if test -z "$ac_cv_prog_RANLIB"; then
8085  ac_ct_RANLIB=$RANLIB
8086  # Extract the first word of "ranlib", so it can be a program name with args.
8087set dummy ranlib; ac_word=$2
8088{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8089$as_echo_n "checking for $ac_word... " >&6; }
8090if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8091  $as_echo_n "(cached) " >&6
8092else
8093  if test -n "$ac_ct_RANLIB"; then
8094  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8095else
8096as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8097for as_dir in $PATH
8098do
8099  IFS=$as_save_IFS
8100  test -z "$as_dir" && as_dir=.
8101    for ac_exec_ext in '' $ac_executable_extensions; do
8102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8103    ac_cv_prog_ac_ct_RANLIB="ranlib"
8104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8105    break 2
8106  fi
8107done
8108  done
8109IFS=$as_save_IFS
8110
8111fi
8112fi
8113ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8114if test -n "$ac_ct_RANLIB"; then
8115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8116$as_echo "$ac_ct_RANLIB" >&6; }
8117else
8118  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8119$as_echo "no" >&6; }
8120fi
8121
8122  if test "x$ac_ct_RANLIB" = x; then
8123    RANLIB=":"
8124  else
8125    case $cross_compiling:$ac_tool_warned in
8126yes:)
8127{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8128$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8129ac_tool_warned=yes ;;
8130esac
8131    RANLIB=$ac_ct_RANLIB
8132  fi
8133else
8134  RANLIB="$ac_cv_prog_RANLIB"
8135fi
8136
8137test -z "$RANLIB" && RANLIB=:
8138
8139
8140
8141
8142
8143
8144# Determine commands to create old-style static archives.
8145old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8146old_postinstall_cmds='chmod 644 $oldlib'
8147old_postuninstall_cmds=
8148
8149if test -n "$RANLIB"; then
8150  case $host_os in
8151  bitrig* | openbsd*)
8152    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8153    ;;
8154  *)
8155    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8156    ;;
8157  esac
8158  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8159fi
8160
8161case $host_os in
8162  darwin*)
8163    lock_old_archive_extraction=yes ;;
8164  *)
8165    lock_old_archive_extraction=no ;;
8166esac
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206# If no C compiler was specified, use CC.
8207LTCC=${LTCC-"$CC"}
8208
8209# If no C compiler flags were specified, use CFLAGS.
8210LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8211
8212# Allow CC to be a program name with arguments.
8213compiler=$CC
8214
8215
8216# Check for command to grab the raw symbol name followed by C symbol from nm.
8217{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8218$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8219if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8220  $as_echo_n "(cached) " >&6
8221else
8222
8223# These are sane defaults that work on at least a few old systems.
8224# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
8225
8226# Character class describing NM global symbol codes.
8227symcode='[BCDEGRST]'
8228
8229# Regexp to match symbols that can be accessed directly from C.
8230sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8231
8232# Define system-specific variables.
8233case $host_os in
8234aix*)
8235  symcode='[BCDT]'
8236  ;;
8237cygwin* | mingw* | pw32* | cegcc*)
8238  symcode='[ABCDGISTW]'
8239  ;;
8240hpux*)
8241  if test ia64 = "$host_cpu"; then
8242    symcode='[ABCDEGRST]'
8243  fi
8244  ;;
8245irix* | nonstopux*)
8246  symcode='[BCDEGRST]'
8247  ;;
8248osf*)
8249  symcode='[BCDEGQRST]'
8250  ;;
8251solaris*)
8252  symcode='[BDRT]'
8253  ;;
8254sco3.2v5*)
8255  symcode='[DT]'
8256  ;;
8257sysv4.2uw2*)
8258  symcode='[DT]'
8259  ;;
8260sysv5* | sco5v6* | unixware* | OpenUNIX*)
8261  symcode='[ABDT]'
8262  ;;
8263sysv4)
8264  symcode='[DFNSTU]'
8265  ;;
8266esac
8267
8268# If we're using GNU nm, then use its standard symbol codes.
8269case `$NM -V 2>&1` in
8270*GNU* | *'with BFD'*)
8271  symcode='[ABCDGIRSTW]' ;;
8272esac
8273
8274if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8275  # Gets list of data symbols to import.
8276  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8277  # Adjust the below global symbol transforms to fixup imported variables.
8278  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8279  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
8280  lt_c_name_lib_hook="\
8281  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
8282  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
8283else
8284  # Disable hooks by default.
8285  lt_cv_sys_global_symbol_to_import=
8286  lt_cdecl_hook=
8287  lt_c_name_hook=
8288  lt_c_name_lib_hook=
8289fi
8290
8291# Transform an extracted symbol line into a proper C declaration.
8292# Some systems (esp. on ia64) link data and code symbols differently,
8293# so use this general approach.
8294lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8295$lt_cdecl_hook\
8296" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8297" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8298
8299# Transform an extracted symbol line into symbol name and symbol address
8300lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8301$lt_c_name_hook\
8302" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8303" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
8304
8305# Transform an extracted symbol line into symbol name with lib prefix and
8306# symbol address.
8307lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8308$lt_c_name_lib_hook\
8309" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
8310" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
8311" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
8312
8313# Handle CRLF in mingw tool chain
8314opt_cr=
8315case $build_os in
8316mingw*)
8317  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8318  ;;
8319esac
8320
8321# Try without a prefix underscore, then with it.
8322for ac_symprfx in "" "_"; do
8323
8324  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8325  symxfrm="\\1 $ac_symprfx\\2 \\2"
8326
8327  # Write the raw and C identifiers.
8328  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8329    # Fake it for dumpbin and say T for any non-static function,
8330    # D for any global variable and I for any imported variable.
8331    # Also find C++ and __fastcall symbols from MSVC++,
8332    # which start with @ or ?.
8333    lt_cv_sys_global_symbol_pipe="$AWK '"\
8334"     {last_section=section; section=\$ 3};"\
8335"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8336"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8337"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8338"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8339"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8340"     \$ 0!~/External *\|/{next};"\
8341"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8342"     {if(hide[section]) next};"\
8343"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8344"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8345"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8346"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8347"     ' prfx=^$ac_symprfx"
8348  else
8349    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8350  fi
8351  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8352
8353  # Check to see that the pipe works correctly.
8354  pipe_works=no
8355
8356  rm -f conftest*
8357  cat > conftest.$ac_ext <<_LT_EOF
8358#ifdef __cplusplus
8359extern "C" {
8360#endif
8361char nm_test_var;
8362void nm_test_func(void);
8363void nm_test_func(void){}
8364#ifdef __cplusplus
8365}
8366#endif
8367int main(){nm_test_var='a';nm_test_func();return(0);}
8368_LT_EOF
8369
8370  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8371  (eval $ac_compile) 2>&5
8372  ac_status=$?
8373  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8374  test $ac_status = 0; }; then
8375    # Now try to grab the symbols.
8376    nlist=conftest.nm
8377    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8378  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8379  ac_status=$?
8380  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8381  test $ac_status = 0; } && test -s "$nlist"; then
8382      # Try sorting and uniquifying the output.
8383      if sort "$nlist" | uniq > "$nlist"T; then
8384	mv -f "$nlist"T "$nlist"
8385      else
8386	rm -f "$nlist"T
8387      fi
8388
8389      # Make sure that we snagged all the symbols we need.
8390      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8391	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8392	  cat <<_LT_EOF > conftest.$ac_ext
8393/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
8394#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8395/* DATA imports from DLLs on WIN32 can't be const, because runtime
8396   relocations are performed -- see ld's documentation on pseudo-relocs.  */
8397# define LT_DLSYM_CONST
8398#elif defined __osf__
8399/* This system does not cope well with relocations in const data.  */
8400# define LT_DLSYM_CONST
8401#else
8402# define LT_DLSYM_CONST const
8403#endif
8404
8405#ifdef __cplusplus
8406extern "C" {
8407#endif
8408
8409_LT_EOF
8410	  # Now generate the symbol file.
8411	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8412
8413	  cat <<_LT_EOF >> conftest.$ac_ext
8414
8415/* The mapping between symbol names and symbols.  */
8416LT_DLSYM_CONST struct {
8417  const char *name;
8418  void       *address;
8419}
8420lt__PROGRAM__LTX_preloaded_symbols[] =
8421{
8422  { "@PROGRAM@", (void *) 0 },
8423_LT_EOF
8424	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8425	  cat <<\_LT_EOF >> conftest.$ac_ext
8426  {0, (void *) 0}
8427};
8428
8429/* This works around a problem in FreeBSD linker */
8430#ifdef FREEBSD_WORKAROUND
8431static const void *lt_preloaded_setup() {
8432  return lt__PROGRAM__LTX_preloaded_symbols;
8433}
8434#endif
8435
8436#ifdef __cplusplus
8437}
8438#endif
8439_LT_EOF
8440	  # Now try linking the two files.
8441	  mv conftest.$ac_objext conftstm.$ac_objext
8442	  lt_globsym_save_LIBS=$LIBS
8443	  lt_globsym_save_CFLAGS=$CFLAGS
8444	  LIBS=conftstm.$ac_objext
8445	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8446	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8447  (eval $ac_link) 2>&5
8448  ac_status=$?
8449  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8450  test $ac_status = 0; } && test -s conftest$ac_exeext; then
8451	    pipe_works=yes
8452	  fi
8453	  LIBS=$lt_globsym_save_LIBS
8454	  CFLAGS=$lt_globsym_save_CFLAGS
8455	else
8456	  echo "cannot find nm_test_func in $nlist" >&5
8457	fi
8458      else
8459	echo "cannot find nm_test_var in $nlist" >&5
8460      fi
8461    else
8462      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8463    fi
8464  else
8465    echo "$progname: failed program was:" >&5
8466    cat conftest.$ac_ext >&5
8467  fi
8468  rm -rf conftest* conftst*
8469
8470  # Do not use the global_symbol_pipe unless it works.
8471  if test yes = "$pipe_works"; then
8472    break
8473  else
8474    lt_cv_sys_global_symbol_pipe=
8475  fi
8476done
8477
8478fi
8479
8480if test -z "$lt_cv_sys_global_symbol_pipe"; then
8481  lt_cv_sys_global_symbol_to_cdecl=
8482fi
8483if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8484  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8485$as_echo "failed" >&6; }
8486else
8487  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8488$as_echo "ok" >&6; }
8489fi
8490
8491# Response file support.
8492if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8493  nm_file_list_spec='@'
8494elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8495  nm_file_list_spec='@'
8496fi
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8535$as_echo_n "checking for sysroot... " >&6; }
8536
8537# Check whether --with-sysroot was given.
8538if test "${with_sysroot+set}" = set; then :
8539  withval=$with_sysroot;
8540else
8541  with_sysroot=no
8542fi
8543
8544
8545lt_sysroot=
8546case $with_sysroot in #(
8547 yes)
8548   if test yes = "$GCC"; then
8549     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8550   fi
8551   ;; #(
8552 /*)
8553   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8554   ;; #(
8555 no|'')
8556   ;; #(
8557 *)
8558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8559$as_echo "$with_sysroot" >&6; }
8560   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8561   ;;
8562esac
8563
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8565$as_echo "${lt_sysroot:-no}" >&6; }
8566
8567
8568
8569
8570
8571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8572$as_echo_n "checking for a working dd... " >&6; }
8573if ${ac_cv_path_lt_DD+:} false; then :
8574  $as_echo_n "(cached) " >&6
8575else
8576  printf 0123456789abcdef0123456789abcdef >conftest.i
8577cat conftest.i conftest.i >conftest2.i
8578: ${lt_DD:=$DD}
8579if test -z "$lt_DD"; then
8580  ac_path_lt_DD_found=false
8581  # Loop through the user's path and test for each of PROGNAME-LIST
8582  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8583for as_dir in $PATH
8584do
8585  IFS=$as_save_IFS
8586  test -z "$as_dir" && as_dir=.
8587    for ac_prog in dd; do
8588    for ac_exec_ext in '' $ac_executable_extensions; do
8589      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8590      as_fn_executable_p "$ac_path_lt_DD" || continue
8591if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8592  cmp -s conftest.i conftest.out \
8593  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8594fi
8595      $ac_path_lt_DD_found && break 3
8596    done
8597  done
8598  done
8599IFS=$as_save_IFS
8600  if test -z "$ac_cv_path_lt_DD"; then
8601    :
8602  fi
8603else
8604  ac_cv_path_lt_DD=$lt_DD
8605fi
8606
8607rm -f conftest.i conftest2.i conftest.out
8608fi
8609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8610$as_echo "$ac_cv_path_lt_DD" >&6; }
8611
8612
8613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8614$as_echo_n "checking how to truncate binary pipes... " >&6; }
8615if ${lt_cv_truncate_bin+:} false; then :
8616  $as_echo_n "(cached) " >&6
8617else
8618  printf 0123456789abcdef0123456789abcdef >conftest.i
8619cat conftest.i conftest.i >conftest2.i
8620lt_cv_truncate_bin=
8621if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8622  cmp -s conftest.i conftest.out \
8623  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8624fi
8625rm -f conftest.i conftest2.i conftest.out
8626test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8627fi
8628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8629$as_echo "$lt_cv_truncate_bin" >&6; }
8630
8631
8632
8633
8634
8635
8636
8637# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
8638func_cc_basename ()
8639{
8640    for cc_temp in $*""; do
8641      case $cc_temp in
8642        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8643        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8644        \-*) ;;
8645        *) break;;
8646      esac
8647    done
8648    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8649}
8650
8651# Check whether --enable-libtool-lock was given.
8652if test "${enable_libtool_lock+set}" = set; then :
8653  enableval=$enable_libtool_lock;
8654fi
8655
8656test no = "$enable_libtool_lock" || enable_libtool_lock=yes
8657
8658# Some flags need to be propagated to the compiler or linker for good
8659# libtool support.
8660case $host in
8661ia64-*-hpux*)
8662  # Find out what ABI is being produced by ac_compile, and set mode
8663  # options accordingly.
8664  echo 'int i;' > conftest.$ac_ext
8665  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8666  (eval $ac_compile) 2>&5
8667  ac_status=$?
8668  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8669  test $ac_status = 0; }; then
8670    case `/usr/bin/file conftest.$ac_objext` in
8671      *ELF-32*)
8672	HPUX_IA64_MODE=32
8673	;;
8674      *ELF-64*)
8675	HPUX_IA64_MODE=64
8676	;;
8677    esac
8678  fi
8679  rm -rf conftest*
8680  ;;
8681*-*-irix6*)
8682  # Find out what ABI is being produced by ac_compile, and set linker
8683  # options accordingly.
8684  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8685  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8686  (eval $ac_compile) 2>&5
8687  ac_status=$?
8688  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8689  test $ac_status = 0; }; then
8690    if test yes = "$lt_cv_prog_gnu_ld"; then
8691      case `/usr/bin/file conftest.$ac_objext` in
8692	*32-bit*)
8693	  LD="${LD-ld} -melf32bsmip"
8694	  ;;
8695	*N32*)
8696	  LD="${LD-ld} -melf32bmipn32"
8697	  ;;
8698	*64-bit*)
8699	  LD="${LD-ld} -melf64bmip"
8700	;;
8701      esac
8702    else
8703      case `/usr/bin/file conftest.$ac_objext` in
8704	*32-bit*)
8705	  LD="${LD-ld} -32"
8706	  ;;
8707	*N32*)
8708	  LD="${LD-ld} -n32"
8709	  ;;
8710	*64-bit*)
8711	  LD="${LD-ld} -64"
8712	  ;;
8713      esac
8714    fi
8715  fi
8716  rm -rf conftest*
8717  ;;
8718
8719mips64*-*linux*)
8720  # Find out what ABI is being produced by ac_compile, and set linker
8721  # options accordingly.
8722  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
8723  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8724  (eval $ac_compile) 2>&5
8725  ac_status=$?
8726  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8727  test $ac_status = 0; }; then
8728    emul=elf
8729    case `/usr/bin/file conftest.$ac_objext` in
8730      *32-bit*)
8731	emul="${emul}32"
8732	;;
8733      *64-bit*)
8734	emul="${emul}64"
8735	;;
8736    esac
8737    case `/usr/bin/file conftest.$ac_objext` in
8738      *MSB*)
8739	emul="${emul}btsmip"
8740	;;
8741      *LSB*)
8742	emul="${emul}ltsmip"
8743	;;
8744    esac
8745    case `/usr/bin/file conftest.$ac_objext` in
8746      *N32*)
8747	emul="${emul}n32"
8748	;;
8749    esac
8750    LD="${LD-ld} -m $emul"
8751  fi
8752  rm -rf conftest*
8753  ;;
8754
8755x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
8756s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
8757  # Find out what ABI is being produced by ac_compile, and set linker
8758  # options accordingly.  Note that the listed cases only cover the
8759  # situations where additional linker options are needed (such as when
8760  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
8761  # vice versa); the common cases where no linker options are needed do
8762  # not appear in the list.
8763  echo 'int i;' > conftest.$ac_ext
8764  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8765  (eval $ac_compile) 2>&5
8766  ac_status=$?
8767  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8768  test $ac_status = 0; }; then
8769    case `/usr/bin/file conftest.o` in
8770      *32-bit*)
8771	case $host in
8772	  x86_64-*kfreebsd*-gnu)
8773	    LD="${LD-ld} -m elf_i386_fbsd"
8774	    ;;
8775	  x86_64-*linux*)
8776	    case `/usr/bin/file conftest.o` in
8777	      *x86-64*)
8778		LD="${LD-ld} -m elf32_x86_64"
8779		;;
8780	      *)
8781		LD="${LD-ld} -m elf_i386"
8782		;;
8783	    esac
8784	    ;;
8785	  powerpc64le-*linux*)
8786	    LD="${LD-ld} -m elf32lppclinux"
8787	    ;;
8788	  powerpc64-*linux*)
8789	    LD="${LD-ld} -m elf32ppclinux"
8790	    ;;
8791	  s390x-*linux*)
8792	    LD="${LD-ld} -m elf_s390"
8793	    ;;
8794	  sparc64-*linux*)
8795	    LD="${LD-ld} -m elf32_sparc"
8796	    ;;
8797	esac
8798	;;
8799      *64-bit*)
8800	case $host in
8801	  x86_64-*kfreebsd*-gnu)
8802	    LD="${LD-ld} -m elf_x86_64_fbsd"
8803	    ;;
8804	  x86_64-*linux*)
8805	    LD="${LD-ld} -m elf_x86_64"
8806	    ;;
8807	  powerpcle-*linux*)
8808	    LD="${LD-ld} -m elf64lppc"
8809	    ;;
8810	  powerpc-*linux*)
8811	    LD="${LD-ld} -m elf64ppc"
8812	    ;;
8813	  s390*-*linux*|s390*-*tpf*)
8814	    LD="${LD-ld} -m elf64_s390"
8815	    ;;
8816	  sparc*-*linux*)
8817	    LD="${LD-ld} -m elf64_sparc"
8818	    ;;
8819	esac
8820	;;
8821    esac
8822  fi
8823  rm -rf conftest*
8824  ;;
8825
8826*-*-sco3.2v5*)
8827  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8828  SAVE_CFLAGS=$CFLAGS
8829  CFLAGS="$CFLAGS -belf"
8830  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8831$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8832if ${lt_cv_cc_needs_belf+:} false; then :
8833  $as_echo_n "(cached) " >&6
8834else
8835  ac_ext=c
8836ac_cpp='$CPP $CPPFLAGS'
8837ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8838ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8839ac_compiler_gnu=$ac_cv_c_compiler_gnu
8840
8841     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8842/* end confdefs.h.  */
8843
8844int
8845main ()
8846{
8847
8848  ;
8849  return 0;
8850}
8851_ACEOF
8852if ac_fn_c_try_link "$LINENO"; then :
8853  lt_cv_cc_needs_belf=yes
8854else
8855  lt_cv_cc_needs_belf=no
8856fi
8857rm -f core conftest.err conftest.$ac_objext \
8858    conftest$ac_exeext conftest.$ac_ext
8859     ac_ext=c
8860ac_cpp='$CPP $CPPFLAGS'
8861ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8862ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8863ac_compiler_gnu=$ac_cv_c_compiler_gnu
8864
8865fi
8866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8867$as_echo "$lt_cv_cc_needs_belf" >&6; }
8868  if test yes != "$lt_cv_cc_needs_belf"; then
8869    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8870    CFLAGS=$SAVE_CFLAGS
8871  fi
8872  ;;
8873*-*solaris*)
8874  # Find out what ABI is being produced by ac_compile, and set linker
8875  # options accordingly.
8876  echo 'int i;' > conftest.$ac_ext
8877  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8878  (eval $ac_compile) 2>&5
8879  ac_status=$?
8880  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8881  test $ac_status = 0; }; then
8882    case `/usr/bin/file conftest.o` in
8883    *64-bit*)
8884      case $lt_cv_prog_gnu_ld in
8885      yes*)
8886        case $host in
8887        i?86-*-solaris*|x86_64-*-solaris*)
8888          LD="${LD-ld} -m elf_x86_64"
8889          ;;
8890        sparc*-*-solaris*)
8891          LD="${LD-ld} -m elf64_sparc"
8892          ;;
8893        esac
8894        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
8895        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
8896          LD=${LD-ld}_sol2
8897        fi
8898        ;;
8899      *)
8900	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
8901	  LD="${LD-ld} -64"
8902	fi
8903	;;
8904      esac
8905      ;;
8906    esac
8907  fi
8908  rm -rf conftest*
8909  ;;
8910esac
8911
8912need_locks=$enable_libtool_lock
8913
8914if test -n "$ac_tool_prefix"; then
8915  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
8916set dummy ${ac_tool_prefix}mt; ac_word=$2
8917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8918$as_echo_n "checking for $ac_word... " >&6; }
8919if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
8920  $as_echo_n "(cached) " >&6
8921else
8922  if test -n "$MANIFEST_TOOL"; then
8923  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
8924else
8925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8926for as_dir in $PATH
8927do
8928  IFS=$as_save_IFS
8929  test -z "$as_dir" && as_dir=.
8930    for ac_exec_ext in '' $ac_executable_extensions; do
8931  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8932    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
8933    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8934    break 2
8935  fi
8936done
8937  done
8938IFS=$as_save_IFS
8939
8940fi
8941fi
8942MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
8943if test -n "$MANIFEST_TOOL"; then
8944  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
8945$as_echo "$MANIFEST_TOOL" >&6; }
8946else
8947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8948$as_echo "no" >&6; }
8949fi
8950
8951
8952fi
8953if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
8954  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
8955  # Extract the first word of "mt", so it can be a program name with args.
8956set dummy mt; ac_word=$2
8957{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8958$as_echo_n "checking for $ac_word... " >&6; }
8959if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
8960  $as_echo_n "(cached) " >&6
8961else
8962  if test -n "$ac_ct_MANIFEST_TOOL"; then
8963  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
8964else
8965as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8966for as_dir in $PATH
8967do
8968  IFS=$as_save_IFS
8969  test -z "$as_dir" && as_dir=.
8970    for ac_exec_ext in '' $ac_executable_extensions; do
8971  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8972    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
8973    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974    break 2
8975  fi
8976done
8977  done
8978IFS=$as_save_IFS
8979
8980fi
8981fi
8982ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
8983if test -n "$ac_ct_MANIFEST_TOOL"; then
8984  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
8985$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
8986else
8987  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988$as_echo "no" >&6; }
8989fi
8990
8991  if test "x$ac_ct_MANIFEST_TOOL" = x; then
8992    MANIFEST_TOOL=":"
8993  else
8994    case $cross_compiling:$ac_tool_warned in
8995yes:)
8996{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8997$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8998ac_tool_warned=yes ;;
8999esac
9000    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9001  fi
9002else
9003  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9004fi
9005
9006test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9008$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9009if ${lt_cv_path_mainfest_tool+:} false; then :
9010  $as_echo_n "(cached) " >&6
9011else
9012  lt_cv_path_mainfest_tool=no
9013  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9014  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9015  cat conftest.err >&5
9016  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9017    lt_cv_path_mainfest_tool=yes
9018  fi
9019  rm -f conftest*
9020fi
9021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9022$as_echo "$lt_cv_path_mainfest_tool" >&6; }
9023if test yes != "$lt_cv_path_mainfest_tool"; then
9024  MANIFEST_TOOL=:
9025fi
9026
9027
9028
9029
9030
9031
9032  case $host_os in
9033    rhapsody* | darwin*)
9034    if test -n "$ac_tool_prefix"; then
9035  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9036set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9038$as_echo_n "checking for $ac_word... " >&6; }
9039if ${ac_cv_prog_DSYMUTIL+:} false; then :
9040  $as_echo_n "(cached) " >&6
9041else
9042  if test -n "$DSYMUTIL"; then
9043  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9044else
9045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9046for as_dir in $PATH
9047do
9048  IFS=$as_save_IFS
9049  test -z "$as_dir" && as_dir=.
9050    for ac_exec_ext in '' $ac_executable_extensions; do
9051  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9052    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9053    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9054    break 2
9055  fi
9056done
9057  done
9058IFS=$as_save_IFS
9059
9060fi
9061fi
9062DSYMUTIL=$ac_cv_prog_DSYMUTIL
9063if test -n "$DSYMUTIL"; then
9064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9065$as_echo "$DSYMUTIL" >&6; }
9066else
9067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9068$as_echo "no" >&6; }
9069fi
9070
9071
9072fi
9073if test -z "$ac_cv_prog_DSYMUTIL"; then
9074  ac_ct_DSYMUTIL=$DSYMUTIL
9075  # Extract the first word of "dsymutil", so it can be a program name with args.
9076set dummy dsymutil; ac_word=$2
9077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9078$as_echo_n "checking for $ac_word... " >&6; }
9079if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9080  $as_echo_n "(cached) " >&6
9081else
9082  if test -n "$ac_ct_DSYMUTIL"; then
9083  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9084else
9085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9086for as_dir in $PATH
9087do
9088  IFS=$as_save_IFS
9089  test -z "$as_dir" && as_dir=.
9090    for ac_exec_ext in '' $ac_executable_extensions; do
9091  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9092    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9093    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9094    break 2
9095  fi
9096done
9097  done
9098IFS=$as_save_IFS
9099
9100fi
9101fi
9102ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9103if test -n "$ac_ct_DSYMUTIL"; then
9104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9105$as_echo "$ac_ct_DSYMUTIL" >&6; }
9106else
9107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9108$as_echo "no" >&6; }
9109fi
9110
9111  if test "x$ac_ct_DSYMUTIL" = x; then
9112    DSYMUTIL=":"
9113  else
9114    case $cross_compiling:$ac_tool_warned in
9115yes:)
9116{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9117$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9118ac_tool_warned=yes ;;
9119esac
9120    DSYMUTIL=$ac_ct_DSYMUTIL
9121  fi
9122else
9123  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9124fi
9125
9126    if test -n "$ac_tool_prefix"; then
9127  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9128set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9130$as_echo_n "checking for $ac_word... " >&6; }
9131if ${ac_cv_prog_NMEDIT+:} false; then :
9132  $as_echo_n "(cached) " >&6
9133else
9134  if test -n "$NMEDIT"; then
9135  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9136else
9137as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9138for as_dir in $PATH
9139do
9140  IFS=$as_save_IFS
9141  test -z "$as_dir" && as_dir=.
9142    for ac_exec_ext in '' $ac_executable_extensions; do
9143  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9144    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9145    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9146    break 2
9147  fi
9148done
9149  done
9150IFS=$as_save_IFS
9151
9152fi
9153fi
9154NMEDIT=$ac_cv_prog_NMEDIT
9155if test -n "$NMEDIT"; then
9156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9157$as_echo "$NMEDIT" >&6; }
9158else
9159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9160$as_echo "no" >&6; }
9161fi
9162
9163
9164fi
9165if test -z "$ac_cv_prog_NMEDIT"; then
9166  ac_ct_NMEDIT=$NMEDIT
9167  # Extract the first word of "nmedit", so it can be a program name with args.
9168set dummy nmedit; ac_word=$2
9169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9170$as_echo_n "checking for $ac_word... " >&6; }
9171if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9172  $as_echo_n "(cached) " >&6
9173else
9174  if test -n "$ac_ct_NMEDIT"; then
9175  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9176else
9177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9178for as_dir in $PATH
9179do
9180  IFS=$as_save_IFS
9181  test -z "$as_dir" && as_dir=.
9182    for ac_exec_ext in '' $ac_executable_extensions; do
9183  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9184    ac_cv_prog_ac_ct_NMEDIT="nmedit"
9185    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9186    break 2
9187  fi
9188done
9189  done
9190IFS=$as_save_IFS
9191
9192fi
9193fi
9194ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9195if test -n "$ac_ct_NMEDIT"; then
9196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9197$as_echo "$ac_ct_NMEDIT" >&6; }
9198else
9199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9200$as_echo "no" >&6; }
9201fi
9202
9203  if test "x$ac_ct_NMEDIT" = x; then
9204    NMEDIT=":"
9205  else
9206    case $cross_compiling:$ac_tool_warned in
9207yes:)
9208{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9209$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9210ac_tool_warned=yes ;;
9211esac
9212    NMEDIT=$ac_ct_NMEDIT
9213  fi
9214else
9215  NMEDIT="$ac_cv_prog_NMEDIT"
9216fi
9217
9218    if test -n "$ac_tool_prefix"; then
9219  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9220set dummy ${ac_tool_prefix}lipo; ac_word=$2
9221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222$as_echo_n "checking for $ac_word... " >&6; }
9223if ${ac_cv_prog_LIPO+:} false; then :
9224  $as_echo_n "(cached) " >&6
9225else
9226  if test -n "$LIPO"; then
9227  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9228else
9229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9230for as_dir in $PATH
9231do
9232  IFS=$as_save_IFS
9233  test -z "$as_dir" && as_dir=.
9234    for ac_exec_ext in '' $ac_executable_extensions; do
9235  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9236    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9237    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9238    break 2
9239  fi
9240done
9241  done
9242IFS=$as_save_IFS
9243
9244fi
9245fi
9246LIPO=$ac_cv_prog_LIPO
9247if test -n "$LIPO"; then
9248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9249$as_echo "$LIPO" >&6; }
9250else
9251  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9252$as_echo "no" >&6; }
9253fi
9254
9255
9256fi
9257if test -z "$ac_cv_prog_LIPO"; then
9258  ac_ct_LIPO=$LIPO
9259  # Extract the first word of "lipo", so it can be a program name with args.
9260set dummy lipo; ac_word=$2
9261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9262$as_echo_n "checking for $ac_word... " >&6; }
9263if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9264  $as_echo_n "(cached) " >&6
9265else
9266  if test -n "$ac_ct_LIPO"; then
9267  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9268else
9269as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9270for as_dir in $PATH
9271do
9272  IFS=$as_save_IFS
9273  test -z "$as_dir" && as_dir=.
9274    for ac_exec_ext in '' $ac_executable_extensions; do
9275  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9276    ac_cv_prog_ac_ct_LIPO="lipo"
9277    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9278    break 2
9279  fi
9280done
9281  done
9282IFS=$as_save_IFS
9283
9284fi
9285fi
9286ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9287if test -n "$ac_ct_LIPO"; then
9288  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9289$as_echo "$ac_ct_LIPO" >&6; }
9290else
9291  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9292$as_echo "no" >&6; }
9293fi
9294
9295  if test "x$ac_ct_LIPO" = x; then
9296    LIPO=":"
9297  else
9298    case $cross_compiling:$ac_tool_warned in
9299yes:)
9300{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9301$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9302ac_tool_warned=yes ;;
9303esac
9304    LIPO=$ac_ct_LIPO
9305  fi
9306else
9307  LIPO="$ac_cv_prog_LIPO"
9308fi
9309
9310    if test -n "$ac_tool_prefix"; then
9311  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9312set dummy ${ac_tool_prefix}otool; ac_word=$2
9313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314$as_echo_n "checking for $ac_word... " >&6; }
9315if ${ac_cv_prog_OTOOL+:} false; then :
9316  $as_echo_n "(cached) " >&6
9317else
9318  if test -n "$OTOOL"; then
9319  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9320else
9321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9322for as_dir in $PATH
9323do
9324  IFS=$as_save_IFS
9325  test -z "$as_dir" && as_dir=.
9326    for ac_exec_ext in '' $ac_executable_extensions; do
9327  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9328    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9329    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9330    break 2
9331  fi
9332done
9333  done
9334IFS=$as_save_IFS
9335
9336fi
9337fi
9338OTOOL=$ac_cv_prog_OTOOL
9339if test -n "$OTOOL"; then
9340  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9341$as_echo "$OTOOL" >&6; }
9342else
9343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9344$as_echo "no" >&6; }
9345fi
9346
9347
9348fi
9349if test -z "$ac_cv_prog_OTOOL"; then
9350  ac_ct_OTOOL=$OTOOL
9351  # Extract the first word of "otool", so it can be a program name with args.
9352set dummy otool; ac_word=$2
9353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9354$as_echo_n "checking for $ac_word... " >&6; }
9355if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9356  $as_echo_n "(cached) " >&6
9357else
9358  if test -n "$ac_ct_OTOOL"; then
9359  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9360else
9361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9362for as_dir in $PATH
9363do
9364  IFS=$as_save_IFS
9365  test -z "$as_dir" && as_dir=.
9366    for ac_exec_ext in '' $ac_executable_extensions; do
9367  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9368    ac_cv_prog_ac_ct_OTOOL="otool"
9369    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9370    break 2
9371  fi
9372done
9373  done
9374IFS=$as_save_IFS
9375
9376fi
9377fi
9378ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9379if test -n "$ac_ct_OTOOL"; then
9380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9381$as_echo "$ac_ct_OTOOL" >&6; }
9382else
9383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9384$as_echo "no" >&6; }
9385fi
9386
9387  if test "x$ac_ct_OTOOL" = x; then
9388    OTOOL=":"
9389  else
9390    case $cross_compiling:$ac_tool_warned in
9391yes:)
9392{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9393$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9394ac_tool_warned=yes ;;
9395esac
9396    OTOOL=$ac_ct_OTOOL
9397  fi
9398else
9399  OTOOL="$ac_cv_prog_OTOOL"
9400fi
9401
9402    if test -n "$ac_tool_prefix"; then
9403  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9404set dummy ${ac_tool_prefix}otool64; ac_word=$2
9405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406$as_echo_n "checking for $ac_word... " >&6; }
9407if ${ac_cv_prog_OTOOL64+:} false; then :
9408  $as_echo_n "(cached) " >&6
9409else
9410  if test -n "$OTOOL64"; then
9411  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9412else
9413as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9414for as_dir in $PATH
9415do
9416  IFS=$as_save_IFS
9417  test -z "$as_dir" && as_dir=.
9418    for ac_exec_ext in '' $ac_executable_extensions; do
9419  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9420    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9421    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9422    break 2
9423  fi
9424done
9425  done
9426IFS=$as_save_IFS
9427
9428fi
9429fi
9430OTOOL64=$ac_cv_prog_OTOOL64
9431if test -n "$OTOOL64"; then
9432  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9433$as_echo "$OTOOL64" >&6; }
9434else
9435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9436$as_echo "no" >&6; }
9437fi
9438
9439
9440fi
9441if test -z "$ac_cv_prog_OTOOL64"; then
9442  ac_ct_OTOOL64=$OTOOL64
9443  # Extract the first word of "otool64", so it can be a program name with args.
9444set dummy otool64; ac_word=$2
9445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9446$as_echo_n "checking for $ac_word... " >&6; }
9447if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9448  $as_echo_n "(cached) " >&6
9449else
9450  if test -n "$ac_ct_OTOOL64"; then
9451  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9452else
9453as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9454for as_dir in $PATH
9455do
9456  IFS=$as_save_IFS
9457  test -z "$as_dir" && as_dir=.
9458    for ac_exec_ext in '' $ac_executable_extensions; do
9459  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9460    ac_cv_prog_ac_ct_OTOOL64="otool64"
9461    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9462    break 2
9463  fi
9464done
9465  done
9466IFS=$as_save_IFS
9467
9468fi
9469fi
9470ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9471if test -n "$ac_ct_OTOOL64"; then
9472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9473$as_echo "$ac_ct_OTOOL64" >&6; }
9474else
9475  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9476$as_echo "no" >&6; }
9477fi
9478
9479  if test "x$ac_ct_OTOOL64" = x; then
9480    OTOOL64=":"
9481  else
9482    case $cross_compiling:$ac_tool_warned in
9483yes:)
9484{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9485$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9486ac_tool_warned=yes ;;
9487esac
9488    OTOOL64=$ac_ct_OTOOL64
9489  fi
9490else
9491  OTOOL64="$ac_cv_prog_OTOOL64"
9492fi
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9521$as_echo_n "checking for -single_module linker flag... " >&6; }
9522if ${lt_cv_apple_cc_single_mod+:} false; then :
9523  $as_echo_n "(cached) " >&6
9524else
9525  lt_cv_apple_cc_single_mod=no
9526      if test -z "$LT_MULTI_MODULE"; then
9527	# By default we will add the -single_module flag. You can override
9528	# by either setting the environment variable LT_MULTI_MODULE
9529	# non-empty at configure time, or by adding -multi_module to the
9530	# link flags.
9531	rm -rf libconftest.dylib*
9532	echo "int foo(void){return 1;}" > conftest.c
9533	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9534-dynamiclib -Wl,-single_module conftest.c" >&5
9535	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9536	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9537        _lt_result=$?
9538	# If there is a non-empty error log, and "single_module"
9539	# appears in it, assume the flag caused a linker warning
9540        if test -s conftest.err && $GREP single_module conftest.err; then
9541	  cat conftest.err >&5
9542	# Otherwise, if the output was created with a 0 exit code from
9543	# the compiler, it worked.
9544	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9545	  lt_cv_apple_cc_single_mod=yes
9546	else
9547	  cat conftest.err >&5
9548	fi
9549	rm -rf libconftest.dylib*
9550	rm -f conftest.*
9551      fi
9552fi
9553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9554$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9555
9556    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9557$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9558if ${lt_cv_ld_exported_symbols_list+:} false; then :
9559  $as_echo_n "(cached) " >&6
9560else
9561  lt_cv_ld_exported_symbols_list=no
9562      save_LDFLAGS=$LDFLAGS
9563      echo "_main" > conftest.sym
9564      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9565      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566/* end confdefs.h.  */
9567
9568int
9569main ()
9570{
9571
9572  ;
9573  return 0;
9574}
9575_ACEOF
9576if ac_fn_c_try_link "$LINENO"; then :
9577  lt_cv_ld_exported_symbols_list=yes
9578else
9579  lt_cv_ld_exported_symbols_list=no
9580fi
9581rm -f core conftest.err conftest.$ac_objext \
9582    conftest$ac_exeext conftest.$ac_ext
9583	LDFLAGS=$save_LDFLAGS
9584
9585fi
9586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9587$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9588
9589    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9590$as_echo_n "checking for -force_load linker flag... " >&6; }
9591if ${lt_cv_ld_force_load+:} false; then :
9592  $as_echo_n "(cached) " >&6
9593else
9594  lt_cv_ld_force_load=no
9595      cat > conftest.c << _LT_EOF
9596int forced_loaded() { return 2;}
9597_LT_EOF
9598      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9599      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9600      echo "$AR cru libconftest.a conftest.o" >&5
9601      $AR cru libconftest.a conftest.o 2>&5
9602      echo "$RANLIB libconftest.a" >&5
9603      $RANLIB libconftest.a 2>&5
9604      cat > conftest.c << _LT_EOF
9605int main() { return 0;}
9606_LT_EOF
9607      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9608      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9609      _lt_result=$?
9610      if test -s conftest.err && $GREP force_load conftest.err; then
9611	cat conftest.err >&5
9612      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9613	lt_cv_ld_force_load=yes
9614      else
9615	cat conftest.err >&5
9616      fi
9617        rm -f conftest.err libconftest.a conftest conftest.c
9618        rm -rf conftest.dSYM
9619
9620fi
9621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9622$as_echo "$lt_cv_ld_force_load" >&6; }
9623    case $host_os in
9624    rhapsody* | darwin1.[012])
9625      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9626    darwin1.*)
9627      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9628    darwin*) # darwin 5.x on
9629      # if running on 10.5 or later, the deployment target defaults
9630      # to the OS version, if on x86, and 10.4, the deployment
9631      # target defaults to 10.4. Don't you love it?
9632      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9633	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9634	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9635	10.[012][,.]*)
9636	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9637	10.*)
9638	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9639      esac
9640    ;;
9641  esac
9642    if test yes = "$lt_cv_apple_cc_single_mod"; then
9643      _lt_dar_single_mod='$single_module'
9644    fi
9645    if test yes = "$lt_cv_ld_exported_symbols_list"; then
9646      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
9647    else
9648      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
9649    fi
9650    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
9651      _lt_dsymutil='~$DSYMUTIL $lib || :'
9652    else
9653      _lt_dsymutil=
9654    fi
9655    ;;
9656  esac
9657
9658# func_munge_path_list VARIABLE PATH
9659# -----------------------------------
9660# VARIABLE is name of variable containing _space_ separated list of
9661# directories to be munged by the contents of PATH, which is string
9662# having a format:
9663# "DIR[:DIR]:"
9664#       string "DIR[ DIR]" will be prepended to VARIABLE
9665# ":DIR[:DIR]"
9666#       string "DIR[ DIR]" will be appended to VARIABLE
9667# "DIRP[:DIRP]::[DIRA:]DIRA"
9668#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
9669#       "DIRA[ DIRA]" will be appended to VARIABLE
9670# "DIR[:DIR]"
9671#       VARIABLE will be replaced by "DIR[ DIR]"
9672func_munge_path_list ()
9673{
9674    case x$2 in
9675    x)
9676        ;;
9677    *:)
9678        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
9679        ;;
9680    x:*)
9681        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
9682        ;;
9683    *::*)
9684        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
9685        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
9686        ;;
9687    *)
9688        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
9689        ;;
9690    esac
9691}
9692
9693for ac_header in dlfcn.h
9694do :
9695  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9696"
9697if test "x$ac_cv_header_dlfcn_h" = xyes; then :
9698  cat >>confdefs.h <<_ACEOF
9699#define HAVE_DLFCN_H 1
9700_ACEOF
9701
9702fi
9703
9704done
9705
9706
9707
9708
9709func_stripname_cnf ()
9710{
9711  case $2 in
9712  .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
9713  *)  func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
9714  esac
9715} # func_stripname_cnf
9716
9717
9718
9719
9720
9721# Set options
9722
9723
9724
9725        enable_dlopen=no
9726
9727
9728
9729            # Check whether --enable-shared was given.
9730if test "${enable_shared+set}" = set; then :
9731  enableval=$enable_shared; p=${PACKAGE-default}
9732    case $enableval in
9733    yes) enable_shared=yes ;;
9734    no) enable_shared=no ;;
9735    *)
9736      enable_shared=no
9737      # Look at the argument we got.  We use all the common list separators.
9738      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9739      for pkg in $enableval; do
9740	IFS=$lt_save_ifs
9741	if test "X$pkg" = "X$p"; then
9742	  enable_shared=yes
9743	fi
9744      done
9745      IFS=$lt_save_ifs
9746      ;;
9747    esac
9748else
9749  enable_shared=yes
9750fi
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762# Check whether --with-pic was given.
9763if test "${with_pic+set}" = set; then :
9764  withval=$with_pic; lt_p=${PACKAGE-default}
9765    case $withval in
9766    yes|no) pic_mode=$withval ;;
9767    *)
9768      pic_mode=default
9769      # Look at the argument we got.  We use all the common list separators.
9770      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9771      for lt_pkg in $withval; do
9772	IFS=$lt_save_ifs
9773	if test "X$lt_pkg" = "X$lt_p"; then
9774	  pic_mode=yes
9775	fi
9776      done
9777      IFS=$lt_save_ifs
9778      ;;
9779    esac
9780else
9781  pic_mode=default
9782fi
9783
9784
9785
9786
9787
9788
9789
9790
9791  # Check whether --enable-fast-install was given.
9792if test "${enable_fast_install+set}" = set; then :
9793  enableval=$enable_fast_install; p=${PACKAGE-default}
9794    case $enableval in
9795    yes) enable_fast_install=yes ;;
9796    no) enable_fast_install=no ;;
9797    *)
9798      enable_fast_install=no
9799      # Look at the argument we got.  We use all the common list separators.
9800      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9801      for pkg in $enableval; do
9802	IFS=$lt_save_ifs
9803	if test "X$pkg" = "X$p"; then
9804	  enable_fast_install=yes
9805	fi
9806      done
9807      IFS=$lt_save_ifs
9808      ;;
9809    esac
9810else
9811  enable_fast_install=yes
9812fi
9813
9814
9815
9816
9817
9818
9819
9820
9821  shared_archive_member_spec=
9822case $host,$enable_shared in
9823power*-*-aix[5-9]*,yes)
9824  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9825$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9826
9827# Check whether --with-aix-soname was given.
9828if test "${with_aix_soname+set}" = set; then :
9829  withval=$with_aix_soname; case $withval in
9830    aix|svr4|both)
9831      ;;
9832    *)
9833      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9834      ;;
9835    esac
9836    lt_cv_with_aix_soname=$with_aix_soname
9837else
9838  if ${lt_cv_with_aix_soname+:} false; then :
9839  $as_echo_n "(cached) " >&6
9840else
9841  lt_cv_with_aix_soname=aix
9842fi
9843
9844    with_aix_soname=$lt_cv_with_aix_soname
9845fi
9846
9847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9848$as_echo "$with_aix_soname" >&6; }
9849  if test aix != "$with_aix_soname"; then
9850    # For the AIX way of multilib, we name the shared archive member
9851    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9852    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9853    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9854    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9855    if test 64 = "${OBJECT_MODE-32}"; then
9856      shared_archive_member_spec=shr_64
9857    else
9858      shared_archive_member_spec=shr
9859    fi
9860  fi
9861  ;;
9862*)
9863  with_aix_soname=aix
9864  ;;
9865esac
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876# This can be used to rebuild libtool when needed
9877LIBTOOL_DEPS=$ltmain
9878
9879# Always use our own libtool.
9880LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911test -z "$LN_S" && LN_S="ln -s"
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926if test -n "${ZSH_VERSION+set}"; then
9927   setopt NO_GLOB_SUBST
9928fi
9929
9930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9931$as_echo_n "checking for objdir... " >&6; }
9932if ${lt_cv_objdir+:} false; then :
9933  $as_echo_n "(cached) " >&6
9934else
9935  rm -f .libs 2>/dev/null
9936mkdir .libs 2>/dev/null
9937if test -d .libs; then
9938  lt_cv_objdir=.libs
9939else
9940  # MS-DOS does not allow filenames that begin with a dot.
9941  lt_cv_objdir=_libs
9942fi
9943rmdir .libs 2>/dev/null
9944fi
9945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9946$as_echo "$lt_cv_objdir" >&6; }
9947objdir=$lt_cv_objdir
9948
9949
9950
9951
9952
9953cat >>confdefs.h <<_ACEOF
9954#define LT_OBJDIR "$lt_cv_objdir/"
9955_ACEOF
9956
9957
9958
9959
9960case $host_os in
9961aix3*)
9962  # AIX sometimes has problems with the GCC collect2 program.  For some
9963  # reason, if we set the COLLECT_NAMES environment variable, the problems
9964  # vanish in a puff of smoke.
9965  if test set != "${COLLECT_NAMES+set}"; then
9966    COLLECT_NAMES=
9967    export COLLECT_NAMES
9968  fi
9969  ;;
9970esac
9971
9972# Global variables:
9973ofile=libtool
9974can_build_shared=yes
9975
9976# All known linkers require a '.a' archive for static linking (except MSVC,
9977# which needs '.lib').
9978libext=a
9979
9980with_gnu_ld=$lt_cv_prog_gnu_ld
9981
9982old_CC=$CC
9983old_CFLAGS=$CFLAGS
9984
9985# Set sane defaults for various variables
9986test -z "$CC" && CC=cc
9987test -z "$LTCC" && LTCC=$CC
9988test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9989test -z "$LD" && LD=ld
9990test -z "$ac_objext" && ac_objext=o
9991
9992func_cc_basename $compiler
9993cc_basename=$func_cc_basename_result
9994
9995
9996# Only perform the check for file, if the check method requires it
9997test -z "$MAGIC_CMD" && MAGIC_CMD=file
9998case $deplibs_check_method in
9999file_magic*)
10000  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10001    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10002$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10003if ${lt_cv_path_MAGIC_CMD+:} false; then :
10004  $as_echo_n "(cached) " >&6
10005else
10006  case $MAGIC_CMD in
10007[\\/*] |  ?:[\\/]*)
10008  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10009  ;;
10010*)
10011  lt_save_MAGIC_CMD=$MAGIC_CMD
10012  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10013  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10014  for ac_dir in $ac_dummy; do
10015    IFS=$lt_save_ifs
10016    test -z "$ac_dir" && ac_dir=.
10017    if test -f "$ac_dir/${ac_tool_prefix}file"; then
10018      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10019      if test -n "$file_magic_test_file"; then
10020	case $deplibs_check_method in
10021	"file_magic "*)
10022	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10023	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10024	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10025	    $EGREP "$file_magic_regex" > /dev/null; then
10026	    :
10027	  else
10028	    cat <<_LT_EOF 1>&2
10029
10030*** Warning: the command libtool uses to detect shared libraries,
10031*** $file_magic_cmd, produces output that libtool cannot recognize.
10032*** The result is that libtool may fail to recognize shared libraries
10033*** as such.  This will affect the creation of libtool libraries that
10034*** depend on shared libraries, but programs linked with such libtool
10035*** libraries will work regardless of this problem.  Nevertheless, you
10036*** may want to report the problem to your system manager and/or to
10037*** bug-libtool@gnu.org
10038
10039_LT_EOF
10040	  fi ;;
10041	esac
10042      fi
10043      break
10044    fi
10045  done
10046  IFS=$lt_save_ifs
10047  MAGIC_CMD=$lt_save_MAGIC_CMD
10048  ;;
10049esac
10050fi
10051
10052MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10053if test -n "$MAGIC_CMD"; then
10054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10055$as_echo "$MAGIC_CMD" >&6; }
10056else
10057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10058$as_echo "no" >&6; }
10059fi
10060
10061
10062
10063
10064
10065if test -z "$lt_cv_path_MAGIC_CMD"; then
10066  if test -n "$ac_tool_prefix"; then
10067    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10068$as_echo_n "checking for file... " >&6; }
10069if ${lt_cv_path_MAGIC_CMD+:} false; then :
10070  $as_echo_n "(cached) " >&6
10071else
10072  case $MAGIC_CMD in
10073[\\/*] |  ?:[\\/]*)
10074  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10075  ;;
10076*)
10077  lt_save_MAGIC_CMD=$MAGIC_CMD
10078  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10079  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10080  for ac_dir in $ac_dummy; do
10081    IFS=$lt_save_ifs
10082    test -z "$ac_dir" && ac_dir=.
10083    if test -f "$ac_dir/file"; then
10084      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10085      if test -n "$file_magic_test_file"; then
10086	case $deplibs_check_method in
10087	"file_magic "*)
10088	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10089	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10090	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10091	    $EGREP "$file_magic_regex" > /dev/null; then
10092	    :
10093	  else
10094	    cat <<_LT_EOF 1>&2
10095
10096*** Warning: the command libtool uses to detect shared libraries,
10097*** $file_magic_cmd, produces output that libtool cannot recognize.
10098*** The result is that libtool may fail to recognize shared libraries
10099*** as such.  This will affect the creation of libtool libraries that
10100*** depend on shared libraries, but programs linked with such libtool
10101*** libraries will work regardless of this problem.  Nevertheless, you
10102*** may want to report the problem to your system manager and/or to
10103*** bug-libtool@gnu.org
10104
10105_LT_EOF
10106	  fi ;;
10107	esac
10108      fi
10109      break
10110    fi
10111  done
10112  IFS=$lt_save_ifs
10113  MAGIC_CMD=$lt_save_MAGIC_CMD
10114  ;;
10115esac
10116fi
10117
10118MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10119if test -n "$MAGIC_CMD"; then
10120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10121$as_echo "$MAGIC_CMD" >&6; }
10122else
10123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124$as_echo "no" >&6; }
10125fi
10126
10127
10128  else
10129    MAGIC_CMD=:
10130  fi
10131fi
10132
10133  fi
10134  ;;
10135esac
10136
10137# Use C for the default configuration in the libtool script
10138
10139lt_save_CC=$CC
10140ac_ext=c
10141ac_cpp='$CPP $CPPFLAGS'
10142ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10143ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10144ac_compiler_gnu=$ac_cv_c_compiler_gnu
10145
10146
10147# Source file extension for C test sources.
10148ac_ext=c
10149
10150# Object file extension for compiled C test sources.
10151objext=o
10152objext=$objext
10153
10154# Code to be used in simple compile tests
10155lt_simple_compile_test_code="int some_variable = 0;"
10156
10157# Code to be used in simple link tests
10158lt_simple_link_test_code='int main(){return(0);}'
10159
10160
10161
10162
10163
10164
10165
10166# If no C compiler was specified, use CC.
10167LTCC=${LTCC-"$CC"}
10168
10169# If no C compiler flags were specified, use CFLAGS.
10170LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10171
10172# Allow CC to be a program name with arguments.
10173compiler=$CC
10174
10175# Save the default compiler, since it gets overwritten when the other
10176# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10177compiler_DEFAULT=$CC
10178
10179# save warnings/boilerplate of simple test code
10180ac_outfile=conftest.$ac_objext
10181echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10182eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10183_lt_compiler_boilerplate=`cat conftest.err`
10184$RM conftest*
10185
10186ac_outfile=conftest.$ac_objext
10187echo "$lt_simple_link_test_code" >conftest.$ac_ext
10188eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10189_lt_linker_boilerplate=`cat conftest.err`
10190$RM -r conftest*
10191
10192
10193## CAVEAT EMPTOR:
10194## There is no encapsulation within the following macros, do not change
10195## the running order or otherwise move them around unless you know exactly
10196## what you are doing...
10197if test -n "$compiler"; then
10198
10199lt_prog_compiler_no_builtin_flag=
10200
10201if test yes = "$GCC"; then
10202  case $cc_basename in
10203  nvcc*)
10204    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10205  *)
10206    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10207  esac
10208
10209  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10210$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10211if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10212  $as_echo_n "(cached) " >&6
10213else
10214  lt_cv_prog_compiler_rtti_exceptions=no
10215   ac_outfile=conftest.$ac_objext
10216   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10217   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
10218   # Insert the option either (1) after the last *FLAGS variable, or
10219   # (2) before a word containing "conftest.", or (3) at the end.
10220   # Note that $ac_compile itself does not contain backslashes and begins
10221   # with a dollar sign (not a hyphen), so the echo should work correctly.
10222   # The option is referenced via a variable to avoid confusing sed.
10223   lt_compile=`echo "$ac_compile" | $SED \
10224   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10225   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10226   -e 's:$: $lt_compiler_flag:'`
10227   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10228   (eval "$lt_compile" 2>conftest.err)
10229   ac_status=$?
10230   cat conftest.err >&5
10231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232   if (exit $ac_status) && test -s "$ac_outfile"; then
10233     # The compiler can only warn and ignore the option if not recognized
10234     # So say no if there are warnings other than the usual output.
10235     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10236     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10237     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10238       lt_cv_prog_compiler_rtti_exceptions=yes
10239     fi
10240   fi
10241   $RM conftest*
10242
10243fi
10244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10245$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10246
10247if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10248    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10249else
10250    :
10251fi
10252
10253fi
10254
10255
10256
10257
10258
10259
10260  lt_prog_compiler_wl=
10261lt_prog_compiler_pic=
10262lt_prog_compiler_static=
10263
10264
10265  if test yes = "$GCC"; then
10266    lt_prog_compiler_wl='-Wl,'
10267    lt_prog_compiler_static='-static'
10268
10269    case $host_os in
10270      aix*)
10271      # All AIX code is PIC.
10272      if test ia64 = "$host_cpu"; then
10273	# AIX 5 now supports IA64 processor
10274	lt_prog_compiler_static='-Bstatic'
10275      fi
10276      lt_prog_compiler_pic='-fPIC'
10277      ;;
10278
10279    amigaos*)
10280      case $host_cpu in
10281      powerpc)
10282            # see comment about AmigaOS4 .so support
10283            lt_prog_compiler_pic='-fPIC'
10284        ;;
10285      m68k)
10286            # FIXME: we need at least 68020 code to build shared libraries, but
10287            # adding the '-m68020' flag to GCC prevents building anything better,
10288            # like '-m68040'.
10289            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10290        ;;
10291      esac
10292      ;;
10293
10294    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10295      # PIC is the default for these OSes.
10296      ;;
10297
10298    mingw* | cygwin* | pw32* | os2* | cegcc*)
10299      # This hack is so that the source file can tell whether it is being
10300      # built for inclusion in a dll (and should export symbols for example).
10301      # Although the cygwin gcc ignores -fPIC, still need this for old-style
10302      # (--disable-auto-import) libraries
10303      lt_prog_compiler_pic='-DDLL_EXPORT'
10304      case $host_os in
10305      os2*)
10306	lt_prog_compiler_static='$wl-static'
10307	;;
10308      esac
10309      ;;
10310
10311    darwin* | rhapsody*)
10312      # PIC is the default on this platform
10313      # Common symbols not allowed in MH_DYLIB files
10314      lt_prog_compiler_pic='-fno-common'
10315      ;;
10316
10317    haiku*)
10318      # PIC is the default for Haiku.
10319      # The "-static" flag exists, but is broken.
10320      lt_prog_compiler_static=
10321      ;;
10322
10323    hpux*)
10324      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10325      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
10326      # sets the default TLS model and affects inlining.
10327      case $host_cpu in
10328      hppa*64*)
10329	# +Z the default
10330	;;
10331      *)
10332	lt_prog_compiler_pic='-fPIC'
10333	;;
10334      esac
10335      ;;
10336
10337    interix[3-9]*)
10338      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10339      # Instead, we relocate shared libraries at runtime.
10340      ;;
10341
10342    msdosdjgpp*)
10343      # Just because we use GCC doesn't mean we suddenly get shared libraries
10344      # on systems that don't support them.
10345      lt_prog_compiler_can_build_shared=no
10346      enable_shared=no
10347      ;;
10348
10349    *nto* | *qnx*)
10350      # QNX uses GNU C++, but need to define -shared option too, otherwise
10351      # it will coredump.
10352      lt_prog_compiler_pic='-fPIC -shared'
10353      ;;
10354
10355    sysv4*MP*)
10356      if test -d /usr/nec; then
10357	lt_prog_compiler_pic=-Kconform_pic
10358      fi
10359      ;;
10360
10361    *)
10362      lt_prog_compiler_pic='-fPIC'
10363      ;;
10364    esac
10365
10366    case $cc_basename in
10367    nvcc*) # Cuda Compiler Driver 2.2
10368      lt_prog_compiler_wl='-Xlinker '
10369      if test -n "$lt_prog_compiler_pic"; then
10370        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10371      fi
10372      ;;
10373    esac
10374  else
10375    # PORTME Check for flag to pass linker flags through the system compiler.
10376    case $host_os in
10377    aix*)
10378      lt_prog_compiler_wl='-Wl,'
10379      if test ia64 = "$host_cpu"; then
10380	# AIX 5 now supports IA64 processor
10381	lt_prog_compiler_static='-Bstatic'
10382      else
10383	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10384      fi
10385      ;;
10386
10387    darwin* | rhapsody*)
10388      # PIC is the default on this platform
10389      # Common symbols not allowed in MH_DYLIB files
10390      lt_prog_compiler_pic='-fno-common'
10391      case $cc_basename in
10392      nagfor*)
10393        # NAG Fortran compiler
10394        lt_prog_compiler_wl='-Wl,-Wl,,'
10395        lt_prog_compiler_pic='-PIC'
10396        lt_prog_compiler_static='-Bstatic'
10397        ;;
10398      esac
10399      ;;
10400
10401    mingw* | cygwin* | pw32* | os2* | cegcc*)
10402      # This hack is so that the source file can tell whether it is being
10403      # built for inclusion in a dll (and should export symbols for example).
10404      lt_prog_compiler_pic='-DDLL_EXPORT'
10405      case $host_os in
10406      os2*)
10407	lt_prog_compiler_static='$wl-static'
10408	;;
10409      esac
10410      ;;
10411
10412    hpux9* | hpux10* | hpux11*)
10413      lt_prog_compiler_wl='-Wl,'
10414      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10415      # not for PA HP-UX.
10416      case $host_cpu in
10417      hppa*64*|ia64*)
10418	# +Z the default
10419	;;
10420      *)
10421	lt_prog_compiler_pic='+Z'
10422	;;
10423      esac
10424      # Is there a better lt_prog_compiler_static that works with the bundled CC?
10425      lt_prog_compiler_static='$wl-a ${wl}archive'
10426      ;;
10427
10428    irix5* | irix6* | nonstopux*)
10429      lt_prog_compiler_wl='-Wl,'
10430      # PIC (with -KPIC) is the default.
10431      lt_prog_compiler_static='-non_shared'
10432      ;;
10433
10434    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10435      case $cc_basename in
10436      # old Intel for x86_64, which still supported -KPIC.
10437      ecc*)
10438	lt_prog_compiler_wl='-Wl,'
10439	lt_prog_compiler_pic='-KPIC'
10440	lt_prog_compiler_static='-static'
10441        ;;
10442      # icc used to be incompatible with GCC.
10443      # ICC 10 doesn't accept -KPIC any more.
10444      icc* | ifort*)
10445	lt_prog_compiler_wl='-Wl,'
10446	lt_prog_compiler_pic='-fPIC'
10447	lt_prog_compiler_static='-static'
10448        ;;
10449      # Lahey Fortran 8.1.
10450      lf95*)
10451	lt_prog_compiler_wl='-Wl,'
10452	lt_prog_compiler_pic='--shared'
10453	lt_prog_compiler_static='--static'
10454	;;
10455      nagfor*)
10456	# NAG Fortran compiler
10457	lt_prog_compiler_wl='-Wl,-Wl,,'
10458	lt_prog_compiler_pic='-PIC'
10459	lt_prog_compiler_static='-Bstatic'
10460	;;
10461      tcc*)
10462	# Fabrice Bellard et al's Tiny C Compiler
10463	lt_prog_compiler_wl='-Wl,'
10464	lt_prog_compiler_pic='-fPIC'
10465	lt_prog_compiler_static='-static'
10466	;;
10467      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10468        # Portland Group compilers (*not* the Pentium gcc compiler,
10469	# which looks to be a dead project)
10470	lt_prog_compiler_wl='-Wl,'
10471	lt_prog_compiler_pic='-fpic'
10472	lt_prog_compiler_static='-Bstatic'
10473        ;;
10474      ccc*)
10475        lt_prog_compiler_wl='-Wl,'
10476        # All Alpha code is PIC.
10477        lt_prog_compiler_static='-non_shared'
10478        ;;
10479      xl* | bgxl* | bgf* | mpixl*)
10480	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10481	lt_prog_compiler_wl='-Wl,'
10482	lt_prog_compiler_pic='-qpic'
10483	lt_prog_compiler_static='-qstaticlink'
10484	;;
10485      *)
10486	case `$CC -V 2>&1 | sed 5q` in
10487	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10488	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
10489	  lt_prog_compiler_pic='-KPIC'
10490	  lt_prog_compiler_static='-Bstatic'
10491	  lt_prog_compiler_wl=''
10492	  ;;
10493	*Sun\ F* | *Sun*Fortran*)
10494	  lt_prog_compiler_pic='-KPIC'
10495	  lt_prog_compiler_static='-Bstatic'
10496	  lt_prog_compiler_wl='-Qoption ld '
10497	  ;;
10498	*Sun\ C*)
10499	  # Sun C 5.9
10500	  lt_prog_compiler_pic='-KPIC'
10501	  lt_prog_compiler_static='-Bstatic'
10502	  lt_prog_compiler_wl='-Wl,'
10503	  ;;
10504        *Intel*\ [CF]*Compiler*)
10505	  lt_prog_compiler_wl='-Wl,'
10506	  lt_prog_compiler_pic='-fPIC'
10507	  lt_prog_compiler_static='-static'
10508	  ;;
10509	*Portland\ Group*)
10510	  lt_prog_compiler_wl='-Wl,'
10511	  lt_prog_compiler_pic='-fpic'
10512	  lt_prog_compiler_static='-Bstatic'
10513	  ;;
10514	esac
10515	;;
10516      esac
10517      ;;
10518
10519    newsos6)
10520      lt_prog_compiler_pic='-KPIC'
10521      lt_prog_compiler_static='-Bstatic'
10522      ;;
10523
10524    *nto* | *qnx*)
10525      # QNX uses GNU C++, but need to define -shared option too, otherwise
10526      # it will coredump.
10527      lt_prog_compiler_pic='-fPIC -shared'
10528      ;;
10529
10530    osf3* | osf4* | osf5*)
10531      lt_prog_compiler_wl='-Wl,'
10532      # All OSF/1 code is PIC.
10533      lt_prog_compiler_static='-non_shared'
10534      ;;
10535
10536    rdos*)
10537      lt_prog_compiler_static='-non_shared'
10538      ;;
10539
10540    solaris*)
10541      lt_prog_compiler_pic='-KPIC'
10542      lt_prog_compiler_static='-Bstatic'
10543      case $cc_basename in
10544      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10545	lt_prog_compiler_wl='-Qoption ld ';;
10546      *)
10547	lt_prog_compiler_wl='-Wl,';;
10548      esac
10549      ;;
10550
10551    sunos4*)
10552      lt_prog_compiler_wl='-Qoption ld '
10553      lt_prog_compiler_pic='-PIC'
10554      lt_prog_compiler_static='-Bstatic'
10555      ;;
10556
10557    sysv4 | sysv4.2uw2* | sysv4.3*)
10558      lt_prog_compiler_wl='-Wl,'
10559      lt_prog_compiler_pic='-KPIC'
10560      lt_prog_compiler_static='-Bstatic'
10561      ;;
10562
10563    sysv4*MP*)
10564      if test -d /usr/nec; then
10565	lt_prog_compiler_pic='-Kconform_pic'
10566	lt_prog_compiler_static='-Bstatic'
10567      fi
10568      ;;
10569
10570    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10571      lt_prog_compiler_wl='-Wl,'
10572      lt_prog_compiler_pic='-KPIC'
10573      lt_prog_compiler_static='-Bstatic'
10574      ;;
10575
10576    unicos*)
10577      lt_prog_compiler_wl='-Wl,'
10578      lt_prog_compiler_can_build_shared=no
10579      ;;
10580
10581    uts4*)
10582      lt_prog_compiler_pic='-pic'
10583      lt_prog_compiler_static='-Bstatic'
10584      ;;
10585
10586    *)
10587      lt_prog_compiler_can_build_shared=no
10588      ;;
10589    esac
10590  fi
10591
10592case $host_os in
10593  # For platforms that do not support PIC, -DPIC is meaningless:
10594  *djgpp*)
10595    lt_prog_compiler_pic=
10596    ;;
10597  *)
10598    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10599    ;;
10600esac
10601
10602{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10603$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10604if ${lt_cv_prog_compiler_pic+:} false; then :
10605  $as_echo_n "(cached) " >&6
10606else
10607  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10608fi
10609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10610$as_echo "$lt_cv_prog_compiler_pic" >&6; }
10611lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10612
10613#
10614# Check to make sure the PIC flag actually works.
10615#
10616if test -n "$lt_prog_compiler_pic"; then
10617  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10618$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10619if ${lt_cv_prog_compiler_pic_works+:} false; then :
10620  $as_echo_n "(cached) " >&6
10621else
10622  lt_cv_prog_compiler_pic_works=no
10623   ac_outfile=conftest.$ac_objext
10624   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10625   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
10626   # Insert the option either (1) after the last *FLAGS variable, or
10627   # (2) before a word containing "conftest.", or (3) at the end.
10628   # Note that $ac_compile itself does not contain backslashes and begins
10629   # with a dollar sign (not a hyphen), so the echo should work correctly.
10630   # The option is referenced via a variable to avoid confusing sed.
10631   lt_compile=`echo "$ac_compile" | $SED \
10632   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10633   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10634   -e 's:$: $lt_compiler_flag:'`
10635   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10636   (eval "$lt_compile" 2>conftest.err)
10637   ac_status=$?
10638   cat conftest.err >&5
10639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640   if (exit $ac_status) && test -s "$ac_outfile"; then
10641     # The compiler can only warn and ignore the option if not recognized
10642     # So say no if there are warnings other than the usual output.
10643     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10644     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10645     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10646       lt_cv_prog_compiler_pic_works=yes
10647     fi
10648   fi
10649   $RM conftest*
10650
10651fi
10652{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10653$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10654
10655if test yes = "$lt_cv_prog_compiler_pic_works"; then
10656    case $lt_prog_compiler_pic in
10657     "" | " "*) ;;
10658     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
10659     esac
10660else
10661    lt_prog_compiler_pic=
10662     lt_prog_compiler_can_build_shared=no
10663fi
10664
10665fi
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677#
10678# Check to make sure the static flag actually works.
10679#
10680wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
10681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10682$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10683if ${lt_cv_prog_compiler_static_works+:} false; then :
10684  $as_echo_n "(cached) " >&6
10685else
10686  lt_cv_prog_compiler_static_works=no
10687   save_LDFLAGS=$LDFLAGS
10688   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
10689   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10690   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10691     # The linker can only warn and ignore the option if not recognized
10692     # So say no if there are warnings
10693     if test -s conftest.err; then
10694       # Append any errors to the config.log.
10695       cat conftest.err 1>&5
10696       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10697       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10698       if diff conftest.exp conftest.er2 >/dev/null; then
10699         lt_cv_prog_compiler_static_works=yes
10700       fi
10701     else
10702       lt_cv_prog_compiler_static_works=yes
10703     fi
10704   fi
10705   $RM -r conftest*
10706   LDFLAGS=$save_LDFLAGS
10707
10708fi
10709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10710$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10711
10712if test yes = "$lt_cv_prog_compiler_static_works"; then
10713    :
10714else
10715    lt_prog_compiler_static=
10716fi
10717
10718
10719
10720
10721
10722
10723
10724  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10725$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10726if ${lt_cv_prog_compiler_c_o+:} false; then :
10727  $as_echo_n "(cached) " >&6
10728else
10729  lt_cv_prog_compiler_c_o=no
10730   $RM -r conftest 2>/dev/null
10731   mkdir conftest
10732   cd conftest
10733   mkdir out
10734   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10735
10736   lt_compiler_flag="-o out/conftest2.$ac_objext"
10737   # Insert the option either (1) after the last *FLAGS variable, or
10738   # (2) before a word containing "conftest.", or (3) at the end.
10739   # Note that $ac_compile itself does not contain backslashes and begins
10740   # with a dollar sign (not a hyphen), so the echo should work correctly.
10741   lt_compile=`echo "$ac_compile" | $SED \
10742   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10743   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10744   -e 's:$: $lt_compiler_flag:'`
10745   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10746   (eval "$lt_compile" 2>out/conftest.err)
10747   ac_status=$?
10748   cat out/conftest.err >&5
10749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10750   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10751   then
10752     # The compiler can only warn and ignore the option if not recognized
10753     # So say no if there are warnings
10754     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10755     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10756     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10757       lt_cv_prog_compiler_c_o=yes
10758     fi
10759   fi
10760   chmod u+w . 2>&5
10761   $RM conftest*
10762   # SGI C++ compiler will create directory out/ii_files/ for
10763   # template instantiation
10764   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10765   $RM out/* && rmdir out
10766   cd ..
10767   $RM -r conftest
10768   $RM conftest*
10769
10770fi
10771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10772$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10773
10774
10775
10776
10777
10778
10779  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10780$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10781if ${lt_cv_prog_compiler_c_o+:} false; then :
10782  $as_echo_n "(cached) " >&6
10783else
10784  lt_cv_prog_compiler_c_o=no
10785   $RM -r conftest 2>/dev/null
10786   mkdir conftest
10787   cd conftest
10788   mkdir out
10789   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10790
10791   lt_compiler_flag="-o out/conftest2.$ac_objext"
10792   # Insert the option either (1) after the last *FLAGS variable, or
10793   # (2) before a word containing "conftest.", or (3) at the end.
10794   # Note that $ac_compile itself does not contain backslashes and begins
10795   # with a dollar sign (not a hyphen), so the echo should work correctly.
10796   lt_compile=`echo "$ac_compile" | $SED \
10797   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10798   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10799   -e 's:$: $lt_compiler_flag:'`
10800   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10801   (eval "$lt_compile" 2>out/conftest.err)
10802   ac_status=$?
10803   cat out/conftest.err >&5
10804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10806   then
10807     # The compiler can only warn and ignore the option if not recognized
10808     # So say no if there are warnings
10809     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10810     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10811     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10812       lt_cv_prog_compiler_c_o=yes
10813     fi
10814   fi
10815   chmod u+w . 2>&5
10816   $RM conftest*
10817   # SGI C++ compiler will create directory out/ii_files/ for
10818   # template instantiation
10819   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10820   $RM out/* && rmdir out
10821   cd ..
10822   $RM -r conftest
10823   $RM conftest*
10824
10825fi
10826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10827$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10828
10829
10830
10831
10832hard_links=nottested
10833if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10834  # do not overwrite the value of need_locks provided by the user
10835  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10836$as_echo_n "checking if we can lock with hard links... " >&6; }
10837  hard_links=yes
10838  $RM conftest*
10839  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10840  touch conftest.a
10841  ln conftest.a conftest.b 2>&5 || hard_links=no
10842  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10844$as_echo "$hard_links" >&6; }
10845  if test no = "$hard_links"; then
10846    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10847$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10848    need_locks=warn
10849  fi
10850else
10851  need_locks=no
10852fi
10853
10854
10855
10856
10857
10858
10859  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10860$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10861
10862  runpath_var=
10863  allow_undefined_flag=
10864  always_export_symbols=no
10865  archive_cmds=
10866  archive_expsym_cmds=
10867  compiler_needs_object=no
10868  enable_shared_with_static_runtimes=no
10869  export_dynamic_flag_spec=
10870  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10871  hardcode_automatic=no
10872  hardcode_direct=no
10873  hardcode_direct_absolute=no
10874  hardcode_libdir_flag_spec=
10875  hardcode_libdir_separator=
10876  hardcode_minus_L=no
10877  hardcode_shlibpath_var=unsupported
10878  inherit_rpath=no
10879  link_all_deplibs=unknown
10880  module_cmds=
10881  module_expsym_cmds=
10882  old_archive_from_new_cmds=
10883  old_archive_from_expsyms_cmds=
10884  thread_safe_flag_spec=
10885  whole_archive_flag_spec=
10886  # include_expsyms should be a list of space-separated symbols to be *always*
10887  # included in the symbol list
10888  include_expsyms=
10889  # exclude_expsyms can be an extended regexp of symbols to exclude
10890  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10891  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10892  # as well as any symbol that contains 'd'.
10893  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10894  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10895  # platforms (ab)use it in PIC code, but their linkers get confused if
10896  # the symbol is explicitly referenced.  Since portable code cannot
10897  # rely on this symbol name, it's probably fine to never include it in
10898  # preloaded symbol tables.
10899  # Exclude shared library initialization/finalization symbols.
10900  extract_expsyms_cmds=
10901
10902  case $host_os in
10903  cygwin* | mingw* | pw32* | cegcc*)
10904    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10905    # When not using gcc, we currently assume that we are using
10906    # Microsoft Visual C++.
10907    if test yes != "$GCC"; then
10908      with_gnu_ld=no
10909    fi
10910    ;;
10911  interix*)
10912    # we just hope/assume this is gcc and not c89 (= MSVC++)
10913    with_gnu_ld=yes
10914    ;;
10915  openbsd* | bitrig*)
10916    with_gnu_ld=no
10917    ;;
10918  esac
10919
10920  ld_shlibs=yes
10921
10922  # On some targets, GNU ld is compatible enough with the native linker
10923  # that we're better off using the native interface for both.
10924  lt_use_gnu_ld_interface=no
10925  if test yes = "$with_gnu_ld"; then
10926    case $host_os in
10927      aix*)
10928	# The AIX port of GNU ld has always aspired to compatibility
10929	# with the native linker.  However, as the warning in the GNU ld
10930	# block says, versions before 2.19.5* couldn't really create working
10931	# shared libraries, regardless of the interface used.
10932	case `$LD -v 2>&1` in
10933	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10934	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10935	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10936	  *)
10937	    lt_use_gnu_ld_interface=yes
10938	    ;;
10939	esac
10940	;;
10941      *)
10942	lt_use_gnu_ld_interface=yes
10943	;;
10944    esac
10945  fi
10946
10947  if test yes = "$lt_use_gnu_ld_interface"; then
10948    # If archive_cmds runs LD, not CC, wlarc should be empty
10949    wlarc='$wl'
10950
10951    # Set some defaults for GNU ld with shared library support. These
10952    # are reset later if shared libraries are not supported. Putting them
10953    # here allows them to be overridden if necessary.
10954    runpath_var=LD_RUN_PATH
10955    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10956    export_dynamic_flag_spec='$wl--export-dynamic'
10957    # ancient GNU ld didn't support --whole-archive et. al.
10958    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10959      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10960    else
10961      whole_archive_flag_spec=
10962    fi
10963    supports_anon_versioning=no
10964    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10965      *GNU\ gold*) supports_anon_versioning=yes ;;
10966      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10967      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10968      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10969      *\ 2.11.*) ;; # other 2.11 versions
10970      *) supports_anon_versioning=yes ;;
10971    esac
10972
10973    # See if GNU ld supports shared libraries.
10974    case $host_os in
10975    aix[3-9]*)
10976      # On AIX/PPC, the GNU linker is very broken
10977      if test ia64 != "$host_cpu"; then
10978	ld_shlibs=no
10979	cat <<_LT_EOF 1>&2
10980
10981*** Warning: the GNU linker, at least up to release 2.19, is reported
10982*** to be unable to reliably create shared libraries on AIX.
10983*** Therefore, libtool is disabling shared libraries support.  If you
10984*** really care for shared libraries, you may want to install binutils
10985*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10986*** You will then need to restart the configuration process.
10987
10988_LT_EOF
10989      fi
10990      ;;
10991
10992    amigaos*)
10993      case $host_cpu in
10994      powerpc)
10995            # see comment about AmigaOS4 .so support
10996            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10997            archive_expsym_cmds=''
10998        ;;
10999      m68k)
11000            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)'
11001            hardcode_libdir_flag_spec='-L$libdir'
11002            hardcode_minus_L=yes
11003        ;;
11004      esac
11005      ;;
11006
11007    beos*)
11008      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11009	allow_undefined_flag=unsupported
11010	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11011	# support --undefined.  This deserves some investigation.  FIXME
11012	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11013      else
11014	ld_shlibs=no
11015      fi
11016      ;;
11017
11018    cygwin* | mingw* | pw32* | cegcc*)
11019      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11020      # as there is no search path for DLLs.
11021      hardcode_libdir_flag_spec='-L$libdir'
11022      export_dynamic_flag_spec='$wl--export-all-symbols'
11023      allow_undefined_flag=unsupported
11024      always_export_symbols=no
11025      enable_shared_with_static_runtimes=yes
11026      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'
11027      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11028
11029      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11030        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11031	# If the export-symbols file already is a .def file, use it as
11032	# is; otherwise, prepend EXPORTS...
11033	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11034          cp $export_symbols $output_objdir/$soname.def;
11035        else
11036          echo EXPORTS > $output_objdir/$soname.def;
11037          cat $export_symbols >> $output_objdir/$soname.def;
11038        fi~
11039        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11040      else
11041	ld_shlibs=no
11042      fi
11043      ;;
11044
11045    haiku*)
11046      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11047      link_all_deplibs=yes
11048      ;;
11049
11050    os2*)
11051      hardcode_libdir_flag_spec='-L$libdir'
11052      hardcode_minus_L=yes
11053      allow_undefined_flag=unsupported
11054      shrext_cmds=.dll
11055      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11056	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11057	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11058	$ECHO EXPORTS >> $output_objdir/$libname.def~
11059	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11060	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11061	emximp -o $lib $output_objdir/$libname.def'
11062      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11063	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11064	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11065	$ECHO EXPORTS >> $output_objdir/$libname.def~
11066	prefix_cmds="$SED"~
11067	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11068	  prefix_cmds="$prefix_cmds -e 1d";
11069	fi~
11070	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11071	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11072	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11073	emximp -o $lib $output_objdir/$libname.def'
11074      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11075      enable_shared_with_static_runtimes=yes
11076      ;;
11077
11078    interix[3-9]*)
11079      hardcode_direct=no
11080      hardcode_shlibpath_var=no
11081      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11082      export_dynamic_flag_spec='$wl-E'
11083      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11084      # Instead, shared libraries are loaded at an image base (0x10000000 by
11085      # default) and relocated if they conflict, which is a slow very memory
11086      # consuming and fragmenting process.  To avoid this, we pick a random,
11087      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11088      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11089      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11090      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'
11091      ;;
11092
11093    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11094      tmp_diet=no
11095      if test linux-dietlibc = "$host_os"; then
11096	case $cc_basename in
11097	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
11098	esac
11099      fi
11100      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11101	 && test no = "$tmp_diet"
11102      then
11103	tmp_addflag=' $pic_flag'
11104	tmp_sharedflag='-shared'
11105	case $cc_basename,$host_cpu in
11106        pgcc*)				# Portland Group C compiler
11107	  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'
11108	  tmp_addflag=' $pic_flag'
11109	  ;;
11110	pgf77* | pgf90* | pgf95* | pgfortran*)
11111					# Portland Group f77 and f90 compilers
11112	  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'
11113	  tmp_addflag=' $pic_flag -Mnomain' ;;
11114	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
11115	  tmp_addflag=' -i_dynamic' ;;
11116	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
11117	  tmp_addflag=' -i_dynamic -nofor_main' ;;
11118	ifc* | ifort*)			# Intel Fortran compiler
11119	  tmp_addflag=' -nofor_main' ;;
11120	lf95*)				# Lahey Fortran 8.1
11121	  whole_archive_flag_spec=
11122	  tmp_sharedflag='--shared' ;;
11123        nagfor*)                        # NAGFOR 5.3
11124          tmp_sharedflag='-Wl,-shared' ;;
11125	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11126	  tmp_sharedflag='-qmkshrobj'
11127	  tmp_addflag= ;;
11128	nvcc*)	# Cuda Compiler Driver 2.2
11129	  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'
11130	  compiler_needs_object=yes
11131	  ;;
11132	esac
11133	case `$CC -V 2>&1 | sed 5q` in
11134	*Sun\ C*)			# Sun C 5.9
11135	  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'
11136	  compiler_needs_object=yes
11137	  tmp_sharedflag='-G' ;;
11138	*Sun\ F*)			# Sun Fortran 8.3
11139	  tmp_sharedflag='-G' ;;
11140	esac
11141	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11142
11143        if test yes = "$supports_anon_versioning"; then
11144          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11145            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11146            echo "local: *; };" >> $output_objdir/$libname.ver~
11147            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11148        fi
11149
11150	case $cc_basename in
11151	tcc*)
11152	  export_dynamic_flag_spec='-rdynamic'
11153	  ;;
11154	xlf* | bgf* | bgxlf* | mpixlf*)
11155	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11156	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11157	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11158	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11159	  if test yes = "$supports_anon_versioning"; then
11160	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11161              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11162              echo "local: *; };" >> $output_objdir/$libname.ver~
11163              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11164	  fi
11165	  ;;
11166	esac
11167      else
11168        ld_shlibs=no
11169      fi
11170      ;;
11171
11172    netbsd*)
11173      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11174	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11175	wlarc=
11176      else
11177	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11178	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11179      fi
11180      ;;
11181
11182    solaris*)
11183      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11184	ld_shlibs=no
11185	cat <<_LT_EOF 1>&2
11186
11187*** Warning: The releases 2.8.* of the GNU linker cannot reliably
11188*** create shared libraries on Solaris systems.  Therefore, libtool
11189*** is disabling shared libraries support.  We urge you to upgrade GNU
11190*** binutils to release 2.9.1 or newer.  Another option is to modify
11191*** your PATH or compiler configuration so that the native linker is
11192*** used, and then restart.
11193
11194_LT_EOF
11195      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11196	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11197	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11198      else
11199	ld_shlibs=no
11200      fi
11201      ;;
11202
11203    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11204      case `$LD -v 2>&1` in
11205        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11206	ld_shlibs=no
11207	cat <<_LT_EOF 1>&2
11208
11209*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11210*** reliably create shared libraries on SCO systems.  Therefore, libtool
11211*** is disabling shared libraries support.  We urge you to upgrade GNU
11212*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
11213*** your PATH or compiler configuration so that the native linker is
11214*** used, and then restart.
11215
11216_LT_EOF
11217	;;
11218	*)
11219	  # For security reasons, it is highly recommended that you always
11220	  # use absolute paths for naming shared libraries, and exclude the
11221	  # DT_RUNPATH tag from executables and libraries.  But doing so
11222	  # requires that you compile everything twice, which is a pain.
11223	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11224	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11225	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11226	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11227	  else
11228	    ld_shlibs=no
11229	  fi
11230	;;
11231      esac
11232      ;;
11233
11234    sunos4*)
11235      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11236      wlarc=
11237      hardcode_direct=yes
11238      hardcode_shlibpath_var=no
11239      ;;
11240
11241    *)
11242      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11243	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11244	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11245      else
11246	ld_shlibs=no
11247      fi
11248      ;;
11249    esac
11250
11251    if test no = "$ld_shlibs"; then
11252      runpath_var=
11253      hardcode_libdir_flag_spec=
11254      export_dynamic_flag_spec=
11255      whole_archive_flag_spec=
11256    fi
11257  else
11258    # PORTME fill in a description of your system's linker (not GNU ld)
11259    case $host_os in
11260    aix3*)
11261      allow_undefined_flag=unsupported
11262      always_export_symbols=yes
11263      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'
11264      # Note: this linker hardcodes the directories in LIBPATH if there
11265      # are no directories specified by -L.
11266      hardcode_minus_L=yes
11267      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11268	# Neither direct hardcoding nor static linking is supported with a
11269	# broken collect2.
11270	hardcode_direct=unsupported
11271      fi
11272      ;;
11273
11274    aix[4-9]*)
11275      if test ia64 = "$host_cpu"; then
11276	# On IA64, the linker does run time linking by default, so we don't
11277	# have to do anything special.
11278	aix_use_runtimelinking=no
11279	exp_sym_flag='-Bexport'
11280	no_entry_flag=
11281      else
11282	# If we're using GNU nm, then we don't want the "-C" option.
11283	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
11284	# Without the "-l" option, or with the "-B" option, AIX nm treats
11285	# weak defined symbols like other global defined symbols, whereas
11286	# GNU nm marks them as "W".
11287	# While the 'weak' keyword is ignored in the Export File, we need
11288	# it in the Import File for the 'aix-soname' feature, so we have
11289	# to replace the "-B" option with "-P" for AIX nm.
11290	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11291	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11292	else
11293	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11294	fi
11295	aix_use_runtimelinking=no
11296
11297	# Test if we are trying to use run time linking or normal
11298	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
11299	# have runtime linking enabled, and use it for executables.
11300	# For shared libraries, we enable/disable runtime linking
11301	# depending on the kind of the shared library created -
11302	# when "with_aix_soname,aix_use_runtimelinking" is:
11303	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
11304	# "aix,yes"  lib.so          shared, rtl:yes, for executables
11305	#            lib.a           static archive
11306	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
11307	#            lib.a(lib.so.V) shared, rtl:no,  for executables
11308	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11309	#            lib.a(lib.so.V) shared, rtl:no
11310	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
11311	#            lib.a           static archive
11312	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11313	  for ld_flag in $LDFLAGS; do
11314	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11315	    aix_use_runtimelinking=yes
11316	    break
11317	  fi
11318	  done
11319	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11320	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
11321	    # so we don't have lib.a shared libs to link our executables.
11322	    # We have to force runtime linking in this case.
11323	    aix_use_runtimelinking=yes
11324	    LDFLAGS="$LDFLAGS -Wl,-brtl"
11325	  fi
11326	  ;;
11327	esac
11328
11329	exp_sym_flag='-bexport'
11330	no_entry_flag='-bnoentry'
11331      fi
11332
11333      # When large executables or shared objects are built, AIX ld can
11334      # have problems creating the table of contents.  If linking a library
11335      # or program results in "error TOC overflow" add -mminimal-toc to
11336      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11337      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11338
11339      archive_cmds=''
11340      hardcode_direct=yes
11341      hardcode_direct_absolute=yes
11342      hardcode_libdir_separator=':'
11343      link_all_deplibs=yes
11344      file_list_spec='$wl-f,'
11345      case $with_aix_soname,$aix_use_runtimelinking in
11346      aix,*) ;; # traditional, no import file
11347      svr4,* | *,yes) # use import file
11348	# The Import File defines what to hardcode.
11349	hardcode_direct=no
11350	hardcode_direct_absolute=no
11351	;;
11352      esac
11353
11354      if test yes = "$GCC"; then
11355	case $host_os in aix4.[012]|aix4.[012].*)
11356	# We only want to do this on AIX 4.2 and lower, the check
11357	# below for broken collect2 doesn't work under 4.3+
11358	  collect2name=`$CC -print-prog-name=collect2`
11359	  if test -f "$collect2name" &&
11360	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11361	  then
11362	  # We have reworked collect2
11363	  :
11364	  else
11365	  # We have old collect2
11366	  hardcode_direct=unsupported
11367	  # It fails to find uninstalled libraries when the uninstalled
11368	  # path is not listed in the libpath.  Setting hardcode_minus_L
11369	  # to unsupported forces relinking
11370	  hardcode_minus_L=yes
11371	  hardcode_libdir_flag_spec='-L$libdir'
11372	  hardcode_libdir_separator=
11373	  fi
11374	  ;;
11375	esac
11376	shared_flag='-shared'
11377	if test yes = "$aix_use_runtimelinking"; then
11378	  shared_flag="$shared_flag "'$wl-G'
11379	fi
11380	# Need to ensure runtime linking is disabled for the traditional
11381	# shared library, or the linker may eventually find shared libraries
11382	# /with/ Import File - we do not want to mix them.
11383	shared_flag_aix='-shared'
11384	shared_flag_svr4='-shared $wl-G'
11385      else
11386	# not using gcc
11387	if test ia64 = "$host_cpu"; then
11388	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11389	# chokes on -Wl,-G. The following line is correct:
11390	  shared_flag='-G'
11391	else
11392	  if test yes = "$aix_use_runtimelinking"; then
11393	    shared_flag='$wl-G'
11394	  else
11395	    shared_flag='$wl-bM:SRE'
11396	  fi
11397	  shared_flag_aix='$wl-bM:SRE'
11398	  shared_flag_svr4='$wl-G'
11399	fi
11400      fi
11401
11402      export_dynamic_flag_spec='$wl-bexpall'
11403      # It seems that -bexpall does not export symbols beginning with
11404      # underscore (_), so it is better to generate a list of symbols to export.
11405      always_export_symbols=yes
11406      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11407	# Warning - without using the other runtime loading flags (-brtl),
11408	# -berok will link without error, but may produce a broken library.
11409	allow_undefined_flag='-berok'
11410        # Determine the default libpath from the value encoded in an
11411        # empty executable.
11412        if test set = "${lt_cv_aix_libpath+set}"; then
11413  aix_libpath=$lt_cv_aix_libpath
11414else
11415  if ${lt_cv_aix_libpath_+:} false; then :
11416  $as_echo_n "(cached) " >&6
11417else
11418  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11419/* end confdefs.h.  */
11420
11421int
11422main ()
11423{
11424
11425  ;
11426  return 0;
11427}
11428_ACEOF
11429if ac_fn_c_try_link "$LINENO"; then :
11430
11431  lt_aix_libpath_sed='
11432      /Import File Strings/,/^$/ {
11433	  /^0/ {
11434	      s/^0  *\([^ ]*\) *$/\1/
11435	      p
11436	  }
11437      }'
11438  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11439  # Check for a 64-bit object if we didn't find anything.
11440  if test -z "$lt_cv_aix_libpath_"; then
11441    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11442  fi
11443fi
11444rm -f core conftest.err conftest.$ac_objext \
11445    conftest$ac_exeext conftest.$ac_ext
11446  if test -z "$lt_cv_aix_libpath_"; then
11447    lt_cv_aix_libpath_=/usr/lib:/lib
11448  fi
11449
11450fi
11451
11452  aix_libpath=$lt_cv_aix_libpath_
11453fi
11454
11455        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11456        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11457      else
11458	if test ia64 = "$host_cpu"; then
11459	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11460	  allow_undefined_flag="-z nodefs"
11461	  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"
11462	else
11463	 # Determine the default libpath from the value encoded in an
11464	 # empty executable.
11465	 if test set = "${lt_cv_aix_libpath+set}"; then
11466  aix_libpath=$lt_cv_aix_libpath
11467else
11468  if ${lt_cv_aix_libpath_+:} false; then :
11469  $as_echo_n "(cached) " >&6
11470else
11471  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11472/* end confdefs.h.  */
11473
11474int
11475main ()
11476{
11477
11478  ;
11479  return 0;
11480}
11481_ACEOF
11482if ac_fn_c_try_link "$LINENO"; then :
11483
11484  lt_aix_libpath_sed='
11485      /Import File Strings/,/^$/ {
11486	  /^0/ {
11487	      s/^0  *\([^ ]*\) *$/\1/
11488	      p
11489	  }
11490      }'
11491  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11492  # Check for a 64-bit object if we didn't find anything.
11493  if test -z "$lt_cv_aix_libpath_"; then
11494    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11495  fi
11496fi
11497rm -f core conftest.err conftest.$ac_objext \
11498    conftest$ac_exeext conftest.$ac_ext
11499  if test -z "$lt_cv_aix_libpath_"; then
11500    lt_cv_aix_libpath_=/usr/lib:/lib
11501  fi
11502
11503fi
11504
11505  aix_libpath=$lt_cv_aix_libpath_
11506fi
11507
11508	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11509	  # Warning - without using the other run time loading flags,
11510	  # -berok will link without error, but may produce a broken library.
11511	  no_undefined_flag=' $wl-bernotok'
11512	  allow_undefined_flag=' $wl-berok'
11513	  if test yes = "$with_gnu_ld"; then
11514	    # We only use this code for GNU lds that support --whole-archive.
11515	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11516	  else
11517	    # Exported symbols can be pulled into shared objects from archives
11518	    whole_archive_flag_spec='$convenience'
11519	  fi
11520	  archive_cmds_need_lc=yes
11521	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11522	  # -brtl affects multiple linker settings, -berok does not and is overridden later
11523	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11524	  if test svr4 != "$with_aix_soname"; then
11525	    # This is similar to how AIX traditionally builds its shared libraries.
11526	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11527	  fi
11528	  if test aix != "$with_aix_soname"; then
11529	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11530	  else
11531	    # used by -dlpreopen to get the symbols
11532	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
11533	  fi
11534	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11535	fi
11536      fi
11537      ;;
11538
11539    amigaos*)
11540      case $host_cpu in
11541      powerpc)
11542            # see comment about AmigaOS4 .so support
11543            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11544            archive_expsym_cmds=''
11545        ;;
11546      m68k)
11547            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)'
11548            hardcode_libdir_flag_spec='-L$libdir'
11549            hardcode_minus_L=yes
11550        ;;
11551      esac
11552      ;;
11553
11554    bsdi[45]*)
11555      export_dynamic_flag_spec=-rdynamic
11556      ;;
11557
11558    cygwin* | mingw* | pw32* | cegcc*)
11559      # When not using gcc, we currently assume that we are using
11560      # Microsoft Visual C++.
11561      # hardcode_libdir_flag_spec is actually meaningless, as there is
11562      # no search path for DLLs.
11563      case $cc_basename in
11564      cl*)
11565	# Native MSVC
11566	hardcode_libdir_flag_spec=' '
11567	allow_undefined_flag=unsupported
11568	always_export_symbols=yes
11569	file_list_spec='@'
11570	# Tell ltmain to make .lib files, not .a files.
11571	libext=lib
11572	# Tell ltmain to make .dll files, not .so files.
11573	shrext_cmds=.dll
11574	# FIXME: Setting linknames here is a bad hack.
11575	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11576	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
11577            cp "$export_symbols" "$output_objdir/$soname.def";
11578            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11579          else
11580            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11581          fi~
11582          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11583          linknames='
11584	# The linker will not automatically build a static lib if we build a DLL.
11585	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11586	enable_shared_with_static_runtimes=yes
11587	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11588	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11589	# Don't use ranlib
11590	old_postinstall_cmds='chmod 644 $oldlib'
11591	postlink_cmds='lt_outputfile="@OUTPUT@"~
11592          lt_tool_outputfile="@TOOL_OUTPUT@"~
11593          case $lt_outputfile in
11594            *.exe|*.EXE) ;;
11595            *)
11596              lt_outputfile=$lt_outputfile.exe
11597              lt_tool_outputfile=$lt_tool_outputfile.exe
11598              ;;
11599          esac~
11600          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11601            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11602            $RM "$lt_outputfile.manifest";
11603          fi'
11604	;;
11605      *)
11606	# Assume MSVC wrapper
11607	hardcode_libdir_flag_spec=' '
11608	allow_undefined_flag=unsupported
11609	# Tell ltmain to make .lib files, not .a files.
11610	libext=lib
11611	# Tell ltmain to make .dll files, not .so files.
11612	shrext_cmds=.dll
11613	# FIXME: Setting linknames here is a bad hack.
11614	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11615	# The linker will automatically build a .lib file if we build a DLL.
11616	old_archive_from_new_cmds='true'
11617	# FIXME: Should let the user specify the lib program.
11618	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11619	enable_shared_with_static_runtimes=yes
11620	;;
11621      esac
11622      ;;
11623
11624    darwin* | rhapsody*)
11625
11626
11627  archive_cmds_need_lc=no
11628  hardcode_direct=no
11629  hardcode_automatic=yes
11630  hardcode_shlibpath_var=unsupported
11631  if test yes = "$lt_cv_ld_force_load"; then
11632    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\"`'
11633
11634  else
11635    whole_archive_flag_spec=''
11636  fi
11637  link_all_deplibs=yes
11638  allow_undefined_flag=$_lt_dar_allow_undefined
11639  case $cc_basename in
11640     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11641     *) _lt_dar_can_shared=$GCC ;;
11642  esac
11643  if test yes = "$_lt_dar_can_shared"; then
11644    output_verbose_link_cmd=func_echo_all
11645    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
11646    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
11647    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"
11648    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"
11649
11650  else
11651  ld_shlibs=no
11652  fi
11653
11654      ;;
11655
11656    dgux*)
11657      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11658      hardcode_libdir_flag_spec='-L$libdir'
11659      hardcode_shlibpath_var=no
11660      ;;
11661
11662    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
11663    # support.  Future versions do this automatically, but an explicit c++rt0.o
11664    # does not break anything, and helps significantly (at the cost of a little
11665    # extra space).
11666    freebsd2.2*)
11667      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
11668      hardcode_libdir_flag_spec='-R$libdir'
11669      hardcode_direct=yes
11670      hardcode_shlibpath_var=no
11671      ;;
11672
11673    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11674    freebsd2.*)
11675      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11676      hardcode_direct=yes
11677      hardcode_minus_L=yes
11678      hardcode_shlibpath_var=no
11679      ;;
11680
11681    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11682    freebsd* | dragonfly*)
11683      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11684      hardcode_libdir_flag_spec='-R$libdir'
11685      hardcode_direct=yes
11686      hardcode_shlibpath_var=no
11687      ;;
11688
11689    hpux9*)
11690      if test yes = "$GCC"; then
11691	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11692      else
11693	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
11694      fi
11695      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11696      hardcode_libdir_separator=:
11697      hardcode_direct=yes
11698
11699      # hardcode_minus_L: Not really in the search PATH,
11700      # but as the default location of the library.
11701      hardcode_minus_L=yes
11702      export_dynamic_flag_spec='$wl-E'
11703      ;;
11704
11705    hpux10*)
11706      if test yes,no = "$GCC,$with_gnu_ld"; then
11707	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11708      else
11709	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11710      fi
11711      if test no = "$with_gnu_ld"; then
11712	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11713	hardcode_libdir_separator=:
11714	hardcode_direct=yes
11715	hardcode_direct_absolute=yes
11716	export_dynamic_flag_spec='$wl-E'
11717	# hardcode_minus_L: Not really in the search PATH,
11718	# but as the default location of the library.
11719	hardcode_minus_L=yes
11720      fi
11721      ;;
11722
11723    hpux11*)
11724      if test yes,no = "$GCC,$with_gnu_ld"; then
11725	case $host_cpu in
11726	hppa*64*)
11727	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11728	  ;;
11729	ia64*)
11730	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11731	  ;;
11732	*)
11733	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11734	  ;;
11735	esac
11736      else
11737	case $host_cpu in
11738	hppa*64*)
11739	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11740	  ;;
11741	ia64*)
11742	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11743	  ;;
11744	*)
11745
11746	  # Older versions of the 11.00 compiler do not understand -b yet
11747	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11748	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11749$as_echo_n "checking if $CC understands -b... " >&6; }
11750if ${lt_cv_prog_compiler__b+:} false; then :
11751  $as_echo_n "(cached) " >&6
11752else
11753  lt_cv_prog_compiler__b=no
11754   save_LDFLAGS=$LDFLAGS
11755   LDFLAGS="$LDFLAGS -b"
11756   echo "$lt_simple_link_test_code" > conftest.$ac_ext
11757   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11758     # The linker can only warn and ignore the option if not recognized
11759     # So say no if there are warnings
11760     if test -s conftest.err; then
11761       # Append any errors to the config.log.
11762       cat conftest.err 1>&5
11763       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11764       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11765       if diff conftest.exp conftest.er2 >/dev/null; then
11766         lt_cv_prog_compiler__b=yes
11767       fi
11768     else
11769       lt_cv_prog_compiler__b=yes
11770     fi
11771   fi
11772   $RM -r conftest*
11773   LDFLAGS=$save_LDFLAGS
11774
11775fi
11776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11777$as_echo "$lt_cv_prog_compiler__b" >&6; }
11778
11779if test yes = "$lt_cv_prog_compiler__b"; then
11780    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11781else
11782    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11783fi
11784
11785	  ;;
11786	esac
11787      fi
11788      if test no = "$with_gnu_ld"; then
11789	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11790	hardcode_libdir_separator=:
11791
11792	case $host_cpu in
11793	hppa*64*|ia64*)
11794	  hardcode_direct=no
11795	  hardcode_shlibpath_var=no
11796	  ;;
11797	*)
11798	  hardcode_direct=yes
11799	  hardcode_direct_absolute=yes
11800	  export_dynamic_flag_spec='$wl-E'
11801
11802	  # hardcode_minus_L: Not really in the search PATH,
11803	  # but as the default location of the library.
11804	  hardcode_minus_L=yes
11805	  ;;
11806	esac
11807      fi
11808      ;;
11809
11810    irix5* | irix6* | nonstopux*)
11811      if test yes = "$GCC"; then
11812	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'
11813	# Try to use the -exported_symbol ld option, if it does not
11814	# work, assume that -exports_file does not work either and
11815	# implicitly export all symbols.
11816	# This should be the same for all languages, so no per-tag cache variable.
11817	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11818$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11819if ${lt_cv_irix_exported_symbol+:} false; then :
11820  $as_echo_n "(cached) " >&6
11821else
11822  save_LDFLAGS=$LDFLAGS
11823	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11824	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11825/* end confdefs.h.  */
11826int foo (void) { return 0; }
11827_ACEOF
11828if ac_fn_c_try_link "$LINENO"; then :
11829  lt_cv_irix_exported_symbol=yes
11830else
11831  lt_cv_irix_exported_symbol=no
11832fi
11833rm -f core conftest.err conftest.$ac_objext \
11834    conftest$ac_exeext conftest.$ac_ext
11835           LDFLAGS=$save_LDFLAGS
11836fi
11837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11838$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11839	if test yes = "$lt_cv_irix_exported_symbol"; then
11840          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'
11841	fi
11842      else
11843	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'
11844	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'
11845      fi
11846      archive_cmds_need_lc='no'
11847      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11848      hardcode_libdir_separator=:
11849      inherit_rpath=yes
11850      link_all_deplibs=yes
11851      ;;
11852
11853    linux*)
11854      case $cc_basename in
11855      tcc*)
11856	# Fabrice Bellard et al's Tiny C Compiler
11857	ld_shlibs=yes
11858	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11859	;;
11860      esac
11861      ;;
11862
11863    netbsd*)
11864      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11865	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11866      else
11867	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11868      fi
11869      hardcode_libdir_flag_spec='-R$libdir'
11870      hardcode_direct=yes
11871      hardcode_shlibpath_var=no
11872      ;;
11873
11874    newsos6)
11875      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11876      hardcode_direct=yes
11877      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11878      hardcode_libdir_separator=:
11879      hardcode_shlibpath_var=no
11880      ;;
11881
11882    *nto* | *qnx*)
11883      ;;
11884
11885    openbsd* | bitrig*)
11886      if test -f /usr/libexec/ld.so; then
11887	hardcode_direct=yes
11888	hardcode_shlibpath_var=no
11889	hardcode_direct_absolute=yes
11890	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11891	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11892	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11893	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11894	  export_dynamic_flag_spec='$wl-E'
11895	else
11896	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11897	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11898	fi
11899      else
11900	ld_shlibs=no
11901      fi
11902      ;;
11903
11904    os2*)
11905      hardcode_libdir_flag_spec='-L$libdir'
11906      hardcode_minus_L=yes
11907      allow_undefined_flag=unsupported
11908      shrext_cmds=.dll
11909      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11910	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11911	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11912	$ECHO EXPORTS >> $output_objdir/$libname.def~
11913	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11914	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11915	emximp -o $lib $output_objdir/$libname.def'
11916      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11917	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11918	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11919	$ECHO EXPORTS >> $output_objdir/$libname.def~
11920	prefix_cmds="$SED"~
11921	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11922	  prefix_cmds="$prefix_cmds -e 1d";
11923	fi~
11924	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11925	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11926	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11927	emximp -o $lib $output_objdir/$libname.def'
11928      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11929      enable_shared_with_static_runtimes=yes
11930      ;;
11931
11932    osf3*)
11933      if test yes = "$GCC"; then
11934	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11935	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'
11936      else
11937	allow_undefined_flag=' -expect_unresolved \*'
11938	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'
11939      fi
11940      archive_cmds_need_lc='no'
11941      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11942      hardcode_libdir_separator=:
11943      ;;
11944
11945    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11946      if test yes = "$GCC"; then
11947	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11948	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'
11949	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11950      else
11951	allow_undefined_flag=' -expect_unresolved \*'
11952	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'
11953	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~
11954          $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'
11955
11956	# Both c and cxx compiler support -rpath directly
11957	hardcode_libdir_flag_spec='-rpath $libdir'
11958      fi
11959      archive_cmds_need_lc='no'
11960      hardcode_libdir_separator=:
11961      ;;
11962
11963    solaris*)
11964      no_undefined_flag=' -z defs'
11965      if test yes = "$GCC"; then
11966	wlarc='$wl'
11967	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11968	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11969          $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'
11970      else
11971	case `$CC -V 2>&1` in
11972	*"Compilers 5.0"*)
11973	  wlarc=''
11974	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11975	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11976            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11977	  ;;
11978	*)
11979	  wlarc='$wl'
11980	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11981	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11982            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11983	  ;;
11984	esac
11985      fi
11986      hardcode_libdir_flag_spec='-R$libdir'
11987      hardcode_shlibpath_var=no
11988      case $host_os in
11989      solaris2.[0-5] | solaris2.[0-5].*) ;;
11990      *)
11991	# The compiler driver will combine and reorder linker options,
11992	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11993	# but is careful enough not to reorder.
11994	# Supported since Solaris 2.6 (maybe 2.5.1?)
11995	if test yes = "$GCC"; then
11996	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11997	else
11998	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11999	fi
12000	;;
12001      esac
12002      link_all_deplibs=yes
12003      ;;
12004
12005    sunos4*)
12006      if test sequent = "$host_vendor"; then
12007	# Use $CC to link under sequent, because it throws in some extra .o
12008	# files that make .init and .fini sections work.
12009	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12010      else
12011	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12012      fi
12013      hardcode_libdir_flag_spec='-L$libdir'
12014      hardcode_direct=yes
12015      hardcode_minus_L=yes
12016      hardcode_shlibpath_var=no
12017      ;;
12018
12019    sysv4)
12020      case $host_vendor in
12021	sni)
12022	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12023	  hardcode_direct=yes # is this really true???
12024	;;
12025	siemens)
12026	  ## LD is ld it makes a PLAMLIB
12027	  ## CC just makes a GrossModule.
12028	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12029	  reload_cmds='$CC -r -o $output$reload_objs'
12030	  hardcode_direct=no
12031        ;;
12032	motorola)
12033	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12034	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12035	;;
12036      esac
12037      runpath_var='LD_RUN_PATH'
12038      hardcode_shlibpath_var=no
12039      ;;
12040
12041    sysv4.3*)
12042      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12043      hardcode_shlibpath_var=no
12044      export_dynamic_flag_spec='-Bexport'
12045      ;;
12046
12047    sysv4*MP*)
12048      if test -d /usr/nec; then
12049	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12050	hardcode_shlibpath_var=no
12051	runpath_var=LD_RUN_PATH
12052	hardcode_runpath_var=yes
12053	ld_shlibs=yes
12054      fi
12055      ;;
12056
12057    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12058      no_undefined_flag='$wl-z,text'
12059      archive_cmds_need_lc=no
12060      hardcode_shlibpath_var=no
12061      runpath_var='LD_RUN_PATH'
12062
12063      if test yes = "$GCC"; then
12064	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12065	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12066      else
12067	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12068	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12069      fi
12070      ;;
12071
12072    sysv5* | sco3.2v5* | sco5v6*)
12073      # Note: We CANNOT use -z defs as we might desire, because we do not
12074      # link with -lc, and that would cause any symbols used from libc to
12075      # always be unresolved, which means just about no library would
12076      # ever link correctly.  If we're not using GNU ld we use -z text
12077      # though, which does catch some bad symbols but isn't as heavy-handed
12078      # as -z defs.
12079      no_undefined_flag='$wl-z,text'
12080      allow_undefined_flag='$wl-z,nodefs'
12081      archive_cmds_need_lc=no
12082      hardcode_shlibpath_var=no
12083      hardcode_libdir_flag_spec='$wl-R,$libdir'
12084      hardcode_libdir_separator=':'
12085      link_all_deplibs=yes
12086      export_dynamic_flag_spec='$wl-Bexport'
12087      runpath_var='LD_RUN_PATH'
12088
12089      if test yes = "$GCC"; then
12090	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12091	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12092      else
12093	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12094	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12095      fi
12096      ;;
12097
12098    uts4*)
12099      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12100      hardcode_libdir_flag_spec='-L$libdir'
12101      hardcode_shlibpath_var=no
12102      ;;
12103
12104    *)
12105      ld_shlibs=no
12106      ;;
12107    esac
12108
12109    if test sni = "$host_vendor"; then
12110      case $host in
12111      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12112	export_dynamic_flag_spec='$wl-Blargedynsym'
12113	;;
12114      esac
12115    fi
12116  fi
12117
12118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12119$as_echo "$ld_shlibs" >&6; }
12120test no = "$ld_shlibs" && can_build_shared=no
12121
12122with_gnu_ld=$with_gnu_ld
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138#
12139# Do we need to explicitly link libc?
12140#
12141case "x$archive_cmds_need_lc" in
12142x|xyes)
12143  # Assume -lc should be added
12144  archive_cmds_need_lc=yes
12145
12146  if test yes,yes = "$GCC,$enable_shared"; then
12147    case $archive_cmds in
12148    *'~'*)
12149      # FIXME: we may have to deal with multi-command sequences.
12150      ;;
12151    '$CC '*)
12152      # Test whether the compiler implicitly links with -lc since on some
12153      # systems, -lgcc has to come before -lc. If gcc already passes -lc
12154      # to ld, don't add -lc before -lgcc.
12155      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12156$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12157if ${lt_cv_archive_cmds_need_lc+:} false; then :
12158  $as_echo_n "(cached) " >&6
12159else
12160  $RM conftest*
12161	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12162
12163	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12164  (eval $ac_compile) 2>&5
12165  ac_status=$?
12166  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12167  test $ac_status = 0; } 2>conftest.err; then
12168	  soname=conftest
12169	  lib=conftest
12170	  libobjs=conftest.$ac_objext
12171	  deplibs=
12172	  wl=$lt_prog_compiler_wl
12173	  pic_flag=$lt_prog_compiler_pic
12174	  compiler_flags=-v
12175	  linker_flags=-v
12176	  verstring=
12177	  output_objdir=.
12178	  libname=conftest
12179	  lt_save_allow_undefined_flag=$allow_undefined_flag
12180	  allow_undefined_flag=
12181	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12182  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12183  ac_status=$?
12184  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12185  test $ac_status = 0; }
12186	  then
12187	    lt_cv_archive_cmds_need_lc=no
12188	  else
12189	    lt_cv_archive_cmds_need_lc=yes
12190	  fi
12191	  allow_undefined_flag=$lt_save_allow_undefined_flag
12192	else
12193	  cat conftest.err 1>&5
12194	fi
12195	$RM conftest*
12196
12197fi
12198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12199$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12200      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12201      ;;
12202    esac
12203  fi
12204  ;;
12205esac
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12359$as_echo_n "checking dynamic linker characteristics... " >&6; }
12360
12361if test yes = "$GCC"; then
12362  case $host_os in
12363    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12364    *) lt_awk_arg='/^libraries:/' ;;
12365  esac
12366  case $host_os in
12367    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12368    *) lt_sed_strip_eq='s|=/|/|g' ;;
12369  esac
12370  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12371  case $lt_search_path_spec in
12372  *\;*)
12373    # if the path contains ";" then we assume it to be the separator
12374    # otherwise default to the standard path separator (i.e. ":") - it is
12375    # assumed that no part of a normal pathname contains ";" but that should
12376    # okay in the real world where ";" in dirpaths is itself problematic.
12377    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12378    ;;
12379  *)
12380    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12381    ;;
12382  esac
12383  # Ok, now we have the path, separated by spaces, we can step through it
12384  # and add multilib dir if necessary...
12385  lt_tmp_lt_search_path_spec=
12386  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12387  # ...but if some path component already ends with the multilib dir we assume
12388  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12389  case "$lt_multi_os_dir; $lt_search_path_spec " in
12390  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12391    lt_multi_os_dir=
12392    ;;
12393  esac
12394  for lt_sys_path in $lt_search_path_spec; do
12395    if test -d "$lt_sys_path$lt_multi_os_dir"; then
12396      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12397    elif test -n "$lt_multi_os_dir"; then
12398      test -d "$lt_sys_path" && \
12399	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12400    fi
12401  done
12402  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12403BEGIN {RS = " "; FS = "/|\n";} {
12404  lt_foo = "";
12405  lt_count = 0;
12406  for (lt_i = NF; lt_i > 0; lt_i--) {
12407    if ($lt_i != "" && $lt_i != ".") {
12408      if ($lt_i == "..") {
12409        lt_count++;
12410      } else {
12411        if (lt_count == 0) {
12412          lt_foo = "/" $lt_i lt_foo;
12413        } else {
12414          lt_count--;
12415        }
12416      }
12417    }
12418  }
12419  if (lt_foo != "") { lt_freq[lt_foo]++; }
12420  if (lt_freq[lt_foo] == 1) { print lt_foo; }
12421}'`
12422  # AWK program above erroneously prepends '/' to C:/dos/paths
12423  # for these hosts.
12424  case $host_os in
12425    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12426      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12427  esac
12428  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12429else
12430  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12431fi
12432library_names_spec=
12433libname_spec='lib$name'
12434soname_spec=
12435shrext_cmds=.so
12436postinstall_cmds=
12437postuninstall_cmds=
12438finish_cmds=
12439finish_eval=
12440shlibpath_var=
12441shlibpath_overrides_runpath=unknown
12442version_type=none
12443dynamic_linker="$host_os ld.so"
12444sys_lib_dlsearch_path_spec="/lib /usr/lib"
12445need_lib_prefix=unknown
12446hardcode_into_libs=no
12447
12448# when you set need_version to no, make sure it does not cause -set_version
12449# flags to be left without arguments
12450need_version=unknown
12451
12452
12453
12454case $host_os in
12455aix3*)
12456  version_type=linux # correct to gnu/linux during the next big refactor
12457  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12458  shlibpath_var=LIBPATH
12459
12460  # AIX 3 has no versioning support, so we append a major version to the name.
12461  soname_spec='$libname$release$shared_ext$major'
12462  ;;
12463
12464aix[4-9]*)
12465  version_type=linux # correct to gnu/linux during the next big refactor
12466  need_lib_prefix=no
12467  need_version=no
12468  hardcode_into_libs=yes
12469  if test ia64 = "$host_cpu"; then
12470    # AIX 5 supports IA64
12471    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12472    shlibpath_var=LD_LIBRARY_PATH
12473  else
12474    # With GCC up to 2.95.x, collect2 would create an import file
12475    # for dependence libraries.  The import file would start with
12476    # the line '#! .'.  This would cause the generated library to
12477    # depend on '.', always an invalid library.  This was fixed in
12478    # development snapshots of GCC prior to 3.0.
12479    case $host_os in
12480      aix4 | aix4.[01] | aix4.[01].*)
12481      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12482	   echo ' yes '
12483	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12484	:
12485      else
12486	can_build_shared=no
12487      fi
12488      ;;
12489    esac
12490    # Using Import Files as archive members, it is possible to support
12491    # filename-based versioning of shared library archives on AIX. While
12492    # this would work for both with and without runtime linking, it will
12493    # prevent static linking of such archives. So we do filename-based
12494    # shared library versioning with .so extension only, which is used
12495    # when both runtime linking and shared linking is enabled.
12496    # Unfortunately, runtime linking may impact performance, so we do
12497    # not want this to be the default eventually. Also, we use the
12498    # versioned .so libs for executables only if there is the -brtl
12499    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12500    # To allow for filename-based versioning support, we need to create
12501    # libNAME.so.V as an archive file, containing:
12502    # *) an Import File, referring to the versioned filename of the
12503    #    archive as well as the shared archive member, telling the
12504    #    bitwidth (32 or 64) of that shared object, and providing the
12505    #    list of exported symbols of that shared object, eventually
12506    #    decorated with the 'weak' keyword
12507    # *) the shared object with the F_LOADONLY flag set, to really avoid
12508    #    it being seen by the linker.
12509    # At run time we better use the real file rather than another symlink,
12510    # but for link time we create the symlink libNAME.so -> libNAME.so.V
12511
12512    case $with_aix_soname,$aix_use_runtimelinking in
12513    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12514    # soname into executable. Probably we can add versioning support to
12515    # collect2, so additional links can be useful in future.
12516    aix,yes) # traditional libtool
12517      dynamic_linker='AIX unversionable lib.so'
12518      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12519      # instead of lib<name>.a to let people know that these are not
12520      # typical AIX shared libraries.
12521      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12522      ;;
12523    aix,no) # traditional AIX only
12524      dynamic_linker='AIX lib.a(lib.so.V)'
12525      # We preserve .a as extension for shared libraries through AIX4.2
12526      # and later when we are not doing run time linking.
12527      library_names_spec='$libname$release.a $libname.a'
12528      soname_spec='$libname$release$shared_ext$major'
12529      ;;
12530    svr4,*) # full svr4 only
12531      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12532      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12533      # We do not specify a path in Import Files, so LIBPATH fires.
12534      shlibpath_overrides_runpath=yes
12535      ;;
12536    *,yes) # both, prefer svr4
12537      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12538      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12539      # unpreferred sharedlib libNAME.a needs extra handling
12540      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12541      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12542      # We do not specify a path in Import Files, so LIBPATH fires.
12543      shlibpath_overrides_runpath=yes
12544      ;;
12545    *,no) # both, prefer aix
12546      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12547      library_names_spec='$libname$release.a $libname.a'
12548      soname_spec='$libname$release$shared_ext$major'
12549      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12550      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12551      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12552      ;;
12553    esac
12554    shlibpath_var=LIBPATH
12555  fi
12556  ;;
12557
12558amigaos*)
12559  case $host_cpu in
12560  powerpc)
12561    # Since July 2007 AmigaOS4 officially supports .so libraries.
12562    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12563    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12564    ;;
12565  m68k)
12566    library_names_spec='$libname.ixlibrary $libname.a'
12567    # Create ${libname}_ixlibrary.a entries in /sys/libs.
12568    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12569    ;;
12570  esac
12571  ;;
12572
12573beos*)
12574  library_names_spec='$libname$shared_ext'
12575  dynamic_linker="$host_os ld.so"
12576  shlibpath_var=LIBRARY_PATH
12577  ;;
12578
12579bsdi[45]*)
12580  version_type=linux # correct to gnu/linux during the next big refactor
12581  need_version=no
12582  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12583  soname_spec='$libname$release$shared_ext$major'
12584  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12585  shlibpath_var=LD_LIBRARY_PATH
12586  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12587  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12588  # the default ld.so.conf also contains /usr/contrib/lib and
12589  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12590  # libtool to hard-code these into programs
12591  ;;
12592
12593cygwin* | mingw* | pw32* | cegcc*)
12594  version_type=windows
12595  shrext_cmds=.dll
12596  need_version=no
12597  need_lib_prefix=no
12598
12599  case $GCC,$cc_basename in
12600  yes,*)
12601    # gcc
12602    library_names_spec='$libname.dll.a'
12603    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12604    postinstall_cmds='base_file=`basename \$file`~
12605      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12606      dldir=$destdir/`dirname \$dlpath`~
12607      test -d \$dldir || mkdir -p \$dldir~
12608      $install_prog $dir/$dlname \$dldir/$dlname~
12609      chmod a+x \$dldir/$dlname~
12610      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12611        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12612      fi'
12613    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12614      dlpath=$dir/\$dldll~
12615       $RM \$dlpath'
12616    shlibpath_overrides_runpath=yes
12617
12618    case $host_os in
12619    cygwin*)
12620      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12621      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12622
12623      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12624      ;;
12625    mingw* | cegcc*)
12626      # MinGW DLLs use traditional 'lib' prefix
12627      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12628      ;;
12629    pw32*)
12630      # pw32 DLLs use 'pw' prefix rather than 'lib'
12631      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12632      ;;
12633    esac
12634    dynamic_linker='Win32 ld.exe'
12635    ;;
12636
12637  *,cl*)
12638    # Native MSVC
12639    libname_spec='$name'
12640    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12641    library_names_spec='$libname.dll.lib'
12642
12643    case $build_os in
12644    mingw*)
12645      sys_lib_search_path_spec=
12646      lt_save_ifs=$IFS
12647      IFS=';'
12648      for lt_path in $LIB
12649      do
12650        IFS=$lt_save_ifs
12651        # Let DOS variable expansion print the short 8.3 style file name.
12652        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
12653        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
12654      done
12655      IFS=$lt_save_ifs
12656      # Convert to MSYS style.
12657      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
12658      ;;
12659    cygwin*)
12660      # Convert to unix form, then to dos form, then back to unix form
12661      # but this time dos style (no spaces!) so that the unix form looks
12662      # like /cygdrive/c/PROGRA~1:/cygdr...
12663      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
12664      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
12665      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12666      ;;
12667    *)
12668      sys_lib_search_path_spec=$LIB
12669      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12670        # It is most probably a Windows format PATH.
12671        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12672      else
12673        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12674      fi
12675      # FIXME: find the short name or the path components, as spaces are
12676      # common. (e.g. "Program Files" -> "PROGRA~1")
12677      ;;
12678    esac
12679
12680    # DLL is installed to $(libdir)/../bin by postinstall_cmds
12681    postinstall_cmds='base_file=`basename \$file`~
12682      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12683      dldir=$destdir/`dirname \$dlpath`~
12684      test -d \$dldir || mkdir -p \$dldir~
12685      $install_prog $dir/$dlname \$dldir/$dlname'
12686    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12687      dlpath=$dir/\$dldll~
12688       $RM \$dlpath'
12689    shlibpath_overrides_runpath=yes
12690    dynamic_linker='Win32 link.exe'
12691    ;;
12692
12693  *)
12694    # Assume MSVC wrapper
12695    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
12696    dynamic_linker='Win32 ld.exe'
12697    ;;
12698  esac
12699  # FIXME: first we should search . and the directory the executable is in
12700  shlibpath_var=PATH
12701  ;;
12702
12703darwin* | rhapsody*)
12704  dynamic_linker="$host_os dyld"
12705  version_type=darwin
12706  need_lib_prefix=no
12707  need_version=no
12708  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
12709  soname_spec='$libname$release$major$shared_ext'
12710  shlibpath_overrides_runpath=yes
12711  shlibpath_var=DYLD_LIBRARY_PATH
12712  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12713
12714  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
12715  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12716  ;;
12717
12718dgux*)
12719  version_type=linux # correct to gnu/linux during the next big refactor
12720  need_lib_prefix=no
12721  need_version=no
12722  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12723  soname_spec='$libname$release$shared_ext$major'
12724  shlibpath_var=LD_LIBRARY_PATH
12725  ;;
12726
12727freebsd* | dragonfly*)
12728  # DragonFly does not have aout.  When/if they implement a new
12729  # versioning mechanism, adjust this.
12730  if test -x /usr/bin/objformat; then
12731    objformat=`/usr/bin/objformat`
12732  else
12733    case $host_os in
12734    freebsd[23].*) objformat=aout ;;
12735    *) objformat=elf ;;
12736    esac
12737  fi
12738  version_type=freebsd-$objformat
12739  case $version_type in
12740    freebsd-elf*)
12741      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12742      soname_spec='$libname$release$shared_ext$major'
12743      need_version=no
12744      need_lib_prefix=no
12745      ;;
12746    freebsd-*)
12747      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12748      need_version=yes
12749      ;;
12750  esac
12751  shlibpath_var=LD_LIBRARY_PATH
12752  case $host_os in
12753  freebsd2.*)
12754    shlibpath_overrides_runpath=yes
12755    ;;
12756  freebsd3.[01]* | freebsdelf3.[01]*)
12757    shlibpath_overrides_runpath=yes
12758    hardcode_into_libs=yes
12759    ;;
12760  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12761  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12762    shlibpath_overrides_runpath=no
12763    hardcode_into_libs=yes
12764    ;;
12765  *) # from 4.6 on, and DragonFly
12766    shlibpath_overrides_runpath=yes
12767    hardcode_into_libs=yes
12768    ;;
12769  esac
12770  ;;
12771
12772haiku*)
12773  version_type=linux # correct to gnu/linux during the next big refactor
12774  need_lib_prefix=no
12775  need_version=no
12776  dynamic_linker="$host_os runtime_loader"
12777  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12778  soname_spec='$libname$release$shared_ext$major'
12779  shlibpath_var=LIBRARY_PATH
12780  shlibpath_overrides_runpath=no
12781  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12782  hardcode_into_libs=yes
12783  ;;
12784
12785hpux9* | hpux10* | hpux11*)
12786  # Give a soname corresponding to the major version so that dld.sl refuses to
12787  # link against other versions.
12788  version_type=sunos
12789  need_lib_prefix=no
12790  need_version=no
12791  case $host_cpu in
12792  ia64*)
12793    shrext_cmds='.so'
12794    hardcode_into_libs=yes
12795    dynamic_linker="$host_os dld.so"
12796    shlibpath_var=LD_LIBRARY_PATH
12797    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12798    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12799    soname_spec='$libname$release$shared_ext$major'
12800    if test 32 = "$HPUX_IA64_MODE"; then
12801      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12802      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12803    else
12804      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12805      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12806    fi
12807    ;;
12808  hppa*64*)
12809    shrext_cmds='.sl'
12810    hardcode_into_libs=yes
12811    dynamic_linker="$host_os dld.sl"
12812    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12813    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12814    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12815    soname_spec='$libname$release$shared_ext$major'
12816    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12817    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12818    ;;
12819  *)
12820    shrext_cmds='.sl'
12821    dynamic_linker="$host_os dld.sl"
12822    shlibpath_var=SHLIB_PATH
12823    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12824    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12825    soname_spec='$libname$release$shared_ext$major'
12826    ;;
12827  esac
12828  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12829  postinstall_cmds='chmod 555 $lib'
12830  # or fails outright, so override atomically:
12831  install_override_mode=555
12832  ;;
12833
12834interix[3-9]*)
12835  version_type=linux # correct to gnu/linux during the next big refactor
12836  need_lib_prefix=no
12837  need_version=no
12838  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12839  soname_spec='$libname$release$shared_ext$major'
12840  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12841  shlibpath_var=LD_LIBRARY_PATH
12842  shlibpath_overrides_runpath=no
12843  hardcode_into_libs=yes
12844  ;;
12845
12846irix5* | irix6* | nonstopux*)
12847  case $host_os in
12848    nonstopux*) version_type=nonstopux ;;
12849    *)
12850	if test yes = "$lt_cv_prog_gnu_ld"; then
12851		version_type=linux # correct to gnu/linux during the next big refactor
12852	else
12853		version_type=irix
12854	fi ;;
12855  esac
12856  need_lib_prefix=no
12857  need_version=no
12858  soname_spec='$libname$release$shared_ext$major'
12859  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12860  case $host_os in
12861  irix5* | nonstopux*)
12862    libsuff= shlibsuff=
12863    ;;
12864  *)
12865    case $LD in # libtool.m4 will add one of these switches to LD
12866    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12867      libsuff= shlibsuff= libmagic=32-bit;;
12868    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12869      libsuff=32 shlibsuff=N32 libmagic=N32;;
12870    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12871      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12872    *) libsuff= shlibsuff= libmagic=never-match;;
12873    esac
12874    ;;
12875  esac
12876  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12877  shlibpath_overrides_runpath=no
12878  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12879  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12880  hardcode_into_libs=yes
12881  ;;
12882
12883# No shared lib support for Linux oldld, aout, or coff.
12884linux*oldld* | linux*aout* | linux*coff*)
12885  dynamic_linker=no
12886  ;;
12887
12888linux*android*)
12889  version_type=none # Android doesn't support versioned libraries.
12890  need_lib_prefix=no
12891  need_version=no
12892  library_names_spec='$libname$release$shared_ext'
12893  soname_spec='$libname$release$shared_ext'
12894  finish_cmds=
12895  shlibpath_var=LD_LIBRARY_PATH
12896  shlibpath_overrides_runpath=yes
12897
12898  # This implies no fast_install, which is unacceptable.
12899  # Some rework will be needed to allow for fast_install
12900  # before this can be enabled.
12901  hardcode_into_libs=yes
12902
12903  dynamic_linker='Android linker'
12904  # Don't embed -rpath directories since the linker doesn't support them.
12905  hardcode_libdir_flag_spec='-L$libdir'
12906  ;;
12907
12908# This must be glibc/ELF.
12909linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12910  version_type=linux # correct to gnu/linux during the next big refactor
12911  need_lib_prefix=no
12912  need_version=no
12913  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12914  soname_spec='$libname$release$shared_ext$major'
12915  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12916  shlibpath_var=LD_LIBRARY_PATH
12917  shlibpath_overrides_runpath=no
12918
12919  # Some binutils ld are patched to set DT_RUNPATH
12920  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12921  $as_echo_n "(cached) " >&6
12922else
12923  lt_cv_shlibpath_overrides_runpath=no
12924    save_LDFLAGS=$LDFLAGS
12925    save_libdir=$libdir
12926    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12927	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12928    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929/* end confdefs.h.  */
12930
12931int
12932main ()
12933{
12934
12935  ;
12936  return 0;
12937}
12938_ACEOF
12939if ac_fn_c_try_link "$LINENO"; then :
12940  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12941  lt_cv_shlibpath_overrides_runpath=yes
12942fi
12943fi
12944rm -f core conftest.err conftest.$ac_objext \
12945    conftest$ac_exeext conftest.$ac_ext
12946    LDFLAGS=$save_LDFLAGS
12947    libdir=$save_libdir
12948
12949fi
12950
12951  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12952
12953  # This implies no fast_install, which is unacceptable.
12954  # Some rework will be needed to allow for fast_install
12955  # before this can be enabled.
12956  hardcode_into_libs=yes
12957
12958  # Ideally, we could use ldconfig to report *all* directores which are
12959  # searched for libraries, however this is still not possible.  Aside from not
12960  # being certain /sbin/ldconfig is available, command
12961  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12962  # even though it is searched at run-time.  Try to do the best guess by
12963  # appending ld.so.conf contents (and includes) to the search path.
12964  if test -f /etc/ld.so.conf; then
12965    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' ' '`
12966    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12967  fi
12968
12969  # We used to test for /lib/ld.so.1 and disable shared libraries on
12970  # powerpc, because MkLinux only supported shared libraries with the
12971  # GNU dynamic linker.  Since this was broken with cross compilers,
12972  # most powerpc-linux boxes support dynamic linking these days and
12973  # people can always --disable-shared, the test was removed, and we
12974  # assume the GNU/Linux dynamic linker is in use.
12975  dynamic_linker='GNU/Linux ld.so'
12976  ;;
12977
12978netbsd*)
12979  version_type=sunos
12980  need_lib_prefix=no
12981  need_version=no
12982  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12983    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12984    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12985    dynamic_linker='NetBSD (a.out) ld.so'
12986  else
12987    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12988    soname_spec='$libname$release$shared_ext$major'
12989    dynamic_linker='NetBSD ld.elf_so'
12990  fi
12991  shlibpath_var=LD_LIBRARY_PATH
12992  shlibpath_overrides_runpath=yes
12993  hardcode_into_libs=yes
12994  ;;
12995
12996newsos6)
12997  version_type=linux # correct to gnu/linux during the next big refactor
12998  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12999  shlibpath_var=LD_LIBRARY_PATH
13000  shlibpath_overrides_runpath=yes
13001  ;;
13002
13003*nto* | *qnx*)
13004  version_type=qnx
13005  need_lib_prefix=no
13006  need_version=no
13007  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13008  soname_spec='$libname$release$shared_ext$major'
13009  shlibpath_var=LD_LIBRARY_PATH
13010  shlibpath_overrides_runpath=no
13011  hardcode_into_libs=yes
13012  dynamic_linker='ldqnx.so'
13013  ;;
13014
13015openbsd* | bitrig*)
13016  version_type=sunos
13017  sys_lib_dlsearch_path_spec=/usr/lib
13018  need_lib_prefix=no
13019  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13020    need_version=no
13021  else
13022    need_version=yes
13023  fi
13024  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13025  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13026  shlibpath_var=LD_LIBRARY_PATH
13027  shlibpath_overrides_runpath=yes
13028  ;;
13029
13030os2*)
13031  libname_spec='$name'
13032  version_type=windows
13033  shrext_cmds=.dll
13034  need_version=no
13035  need_lib_prefix=no
13036  # OS/2 can only load a DLL with a base name of 8 characters or less.
13037  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13038    v=$($ECHO $release$versuffix | tr -d .-);
13039    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13040    $ECHO $n$v`$shared_ext'
13041  library_names_spec='${libname}_dll.$libext'
13042  dynamic_linker='OS/2 ld.exe'
13043  shlibpath_var=BEGINLIBPATH
13044  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13045  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13046  postinstall_cmds='base_file=`basename \$file`~
13047    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13048    dldir=$destdir/`dirname \$dlpath`~
13049    test -d \$dldir || mkdir -p \$dldir~
13050    $install_prog $dir/$dlname \$dldir/$dlname~
13051    chmod a+x \$dldir/$dlname~
13052    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13053      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13054    fi'
13055  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13056    dlpath=$dir/\$dldll~
13057    $RM \$dlpath'
13058  ;;
13059
13060osf3* | osf4* | osf5*)
13061  version_type=osf
13062  need_lib_prefix=no
13063  need_version=no
13064  soname_spec='$libname$release$shared_ext$major'
13065  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13066  shlibpath_var=LD_LIBRARY_PATH
13067  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13068  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13069  ;;
13070
13071rdos*)
13072  dynamic_linker=no
13073  ;;
13074
13075solaris*)
13076  version_type=linux # correct to gnu/linux during the next big refactor
13077  need_lib_prefix=no
13078  need_version=no
13079  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13080  soname_spec='$libname$release$shared_ext$major'
13081  shlibpath_var=LD_LIBRARY_PATH
13082  shlibpath_overrides_runpath=yes
13083  hardcode_into_libs=yes
13084  # ldd complains unless libraries are executable
13085  postinstall_cmds='chmod +x $lib'
13086  ;;
13087
13088sunos4*)
13089  version_type=sunos
13090  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13091  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13092  shlibpath_var=LD_LIBRARY_PATH
13093  shlibpath_overrides_runpath=yes
13094  if test yes = "$with_gnu_ld"; then
13095    need_lib_prefix=no
13096  fi
13097  need_version=yes
13098  ;;
13099
13100sysv4 | sysv4.3*)
13101  version_type=linux # correct to gnu/linux during the next big refactor
13102  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13103  soname_spec='$libname$release$shared_ext$major'
13104  shlibpath_var=LD_LIBRARY_PATH
13105  case $host_vendor in
13106    sni)
13107      shlibpath_overrides_runpath=no
13108      need_lib_prefix=no
13109      runpath_var=LD_RUN_PATH
13110      ;;
13111    siemens)
13112      need_lib_prefix=no
13113      ;;
13114    motorola)
13115      need_lib_prefix=no
13116      need_version=no
13117      shlibpath_overrides_runpath=no
13118      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13119      ;;
13120  esac
13121  ;;
13122
13123sysv4*MP*)
13124  if test -d /usr/nec; then
13125    version_type=linux # correct to gnu/linux during the next big refactor
13126    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13127    soname_spec='$libname$shared_ext.$major'
13128    shlibpath_var=LD_LIBRARY_PATH
13129  fi
13130  ;;
13131
13132sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13133  version_type=sco
13134  need_lib_prefix=no
13135  need_version=no
13136  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13137  soname_spec='$libname$release$shared_ext$major'
13138  shlibpath_var=LD_LIBRARY_PATH
13139  shlibpath_overrides_runpath=yes
13140  hardcode_into_libs=yes
13141  if test yes = "$with_gnu_ld"; then
13142    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13143  else
13144    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13145    case $host_os in
13146      sco3.2v5*)
13147        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13148	;;
13149    esac
13150  fi
13151  sys_lib_dlsearch_path_spec='/usr/lib'
13152  ;;
13153
13154tpf*)
13155  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13156  version_type=linux # correct to gnu/linux during the next big refactor
13157  need_lib_prefix=no
13158  need_version=no
13159  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13160  shlibpath_var=LD_LIBRARY_PATH
13161  shlibpath_overrides_runpath=no
13162  hardcode_into_libs=yes
13163  ;;
13164
13165uts4*)
13166  version_type=linux # correct to gnu/linux during the next big refactor
13167  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13168  soname_spec='$libname$release$shared_ext$major'
13169  shlibpath_var=LD_LIBRARY_PATH
13170  ;;
13171
13172*)
13173  dynamic_linker=no
13174  ;;
13175esac
13176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13177$as_echo "$dynamic_linker" >&6; }
13178test no = "$dynamic_linker" && can_build_shared=no
13179
13180variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13181if test yes = "$GCC"; then
13182  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13183fi
13184
13185if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13186  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13187fi
13188
13189if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13190  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13191fi
13192
13193# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13194configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13195
13196# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13197func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13198
13199# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13200configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13299$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13300hardcode_action=
13301if test -n "$hardcode_libdir_flag_spec" ||
13302   test -n "$runpath_var" ||
13303   test yes = "$hardcode_automatic"; then
13304
13305  # We can hardcode non-existent directories.
13306  if test no != "$hardcode_direct" &&
13307     # If the only mechanism to avoid hardcoding is shlibpath_var, we
13308     # have to relink, otherwise we might link with an installed library
13309     # when we should be linking with a yet-to-be-installed one
13310     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13311     test no != "$hardcode_minus_L"; then
13312    # Linking always hardcodes the temporary library directory.
13313    hardcode_action=relink
13314  else
13315    # We can link without hardcoding, and we can hardcode nonexisting dirs.
13316    hardcode_action=immediate
13317  fi
13318else
13319  # We cannot hardcode anything, or else we can only hardcode existing
13320  # directories.
13321  hardcode_action=unsupported
13322fi
13323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13324$as_echo "$hardcode_action" >&6; }
13325
13326if test relink = "$hardcode_action" ||
13327   test yes = "$inherit_rpath"; then
13328  # Fast installation is not supported
13329  enable_fast_install=no
13330elif test yes = "$shlibpath_overrides_runpath" ||
13331     test no = "$enable_shared"; then
13332  # Fast installation is not necessary
13333  enable_fast_install=needless
13334fi
13335
13336
13337
13338
13339
13340
13341  if test yes != "$enable_dlopen"; then
13342  enable_dlopen=unknown
13343  enable_dlopen_self=unknown
13344  enable_dlopen_self_static=unknown
13345else
13346  lt_cv_dlopen=no
13347  lt_cv_dlopen_libs=
13348
13349  case $host_os in
13350  beos*)
13351    lt_cv_dlopen=load_add_on
13352    lt_cv_dlopen_libs=
13353    lt_cv_dlopen_self=yes
13354    ;;
13355
13356  mingw* | pw32* | cegcc*)
13357    lt_cv_dlopen=LoadLibrary
13358    lt_cv_dlopen_libs=
13359    ;;
13360
13361  cygwin*)
13362    lt_cv_dlopen=dlopen
13363    lt_cv_dlopen_libs=
13364    ;;
13365
13366  darwin*)
13367    # if libdl is installed we need to link against it
13368    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13369$as_echo_n "checking for dlopen in -ldl... " >&6; }
13370if ${ac_cv_lib_dl_dlopen+:} false; then :
13371  $as_echo_n "(cached) " >&6
13372else
13373  ac_check_lib_save_LIBS=$LIBS
13374LIBS="-ldl  $LIBS"
13375cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13376/* end confdefs.h.  */
13377
13378/* Override any GCC internal prototype to avoid an error.
13379   Use char because int might match the return type of a GCC
13380   builtin and then its argument prototype would still apply.  */
13381#ifdef __cplusplus
13382extern "C"
13383#endif
13384char dlopen ();
13385int
13386main ()
13387{
13388return dlopen ();
13389  ;
13390  return 0;
13391}
13392_ACEOF
13393if ac_fn_c_try_link "$LINENO"; then :
13394  ac_cv_lib_dl_dlopen=yes
13395else
13396  ac_cv_lib_dl_dlopen=no
13397fi
13398rm -f core conftest.err conftest.$ac_objext \
13399    conftest$ac_exeext conftest.$ac_ext
13400LIBS=$ac_check_lib_save_LIBS
13401fi
13402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13403$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13404if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13405  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13406else
13407
13408    lt_cv_dlopen=dyld
13409    lt_cv_dlopen_libs=
13410    lt_cv_dlopen_self=yes
13411
13412fi
13413
13414    ;;
13415
13416  tpf*)
13417    # Don't try to run any link tests for TPF.  We know it's impossible
13418    # because TPF is a cross-compiler, and we know how we open DSOs.
13419    lt_cv_dlopen=dlopen
13420    lt_cv_dlopen_libs=
13421    lt_cv_dlopen_self=no
13422    ;;
13423
13424  *)
13425    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13426if test "x$ac_cv_func_shl_load" = xyes; then :
13427  lt_cv_dlopen=shl_load
13428else
13429  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13430$as_echo_n "checking for shl_load in -ldld... " >&6; }
13431if ${ac_cv_lib_dld_shl_load+:} false; then :
13432  $as_echo_n "(cached) " >&6
13433else
13434  ac_check_lib_save_LIBS=$LIBS
13435LIBS="-ldld  $LIBS"
13436cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437/* end confdefs.h.  */
13438
13439/* Override any GCC internal prototype to avoid an error.
13440   Use char because int might match the return type of a GCC
13441   builtin and then its argument prototype would still apply.  */
13442#ifdef __cplusplus
13443extern "C"
13444#endif
13445char shl_load ();
13446int
13447main ()
13448{
13449return shl_load ();
13450  ;
13451  return 0;
13452}
13453_ACEOF
13454if ac_fn_c_try_link "$LINENO"; then :
13455  ac_cv_lib_dld_shl_load=yes
13456else
13457  ac_cv_lib_dld_shl_load=no
13458fi
13459rm -f core conftest.err conftest.$ac_objext \
13460    conftest$ac_exeext conftest.$ac_ext
13461LIBS=$ac_check_lib_save_LIBS
13462fi
13463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13464$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13465if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13466  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13467else
13468  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13469if test "x$ac_cv_func_dlopen" = xyes; then :
13470  lt_cv_dlopen=dlopen
13471else
13472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13473$as_echo_n "checking for dlopen in -ldl... " >&6; }
13474if ${ac_cv_lib_dl_dlopen+:} false; then :
13475  $as_echo_n "(cached) " >&6
13476else
13477  ac_check_lib_save_LIBS=$LIBS
13478LIBS="-ldl  $LIBS"
13479cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13480/* end confdefs.h.  */
13481
13482/* Override any GCC internal prototype to avoid an error.
13483   Use char because int might match the return type of a GCC
13484   builtin and then its argument prototype would still apply.  */
13485#ifdef __cplusplus
13486extern "C"
13487#endif
13488char dlopen ();
13489int
13490main ()
13491{
13492return dlopen ();
13493  ;
13494  return 0;
13495}
13496_ACEOF
13497if ac_fn_c_try_link "$LINENO"; then :
13498  ac_cv_lib_dl_dlopen=yes
13499else
13500  ac_cv_lib_dl_dlopen=no
13501fi
13502rm -f core conftest.err conftest.$ac_objext \
13503    conftest$ac_exeext conftest.$ac_ext
13504LIBS=$ac_check_lib_save_LIBS
13505fi
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13507$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13508if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13509  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13510else
13511  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13512$as_echo_n "checking for dlopen in -lsvld... " >&6; }
13513if ${ac_cv_lib_svld_dlopen+:} false; then :
13514  $as_echo_n "(cached) " >&6
13515else
13516  ac_check_lib_save_LIBS=$LIBS
13517LIBS="-lsvld  $LIBS"
13518cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13519/* end confdefs.h.  */
13520
13521/* Override any GCC internal prototype to avoid an error.
13522   Use char because int might match the return type of a GCC
13523   builtin and then its argument prototype would still apply.  */
13524#ifdef __cplusplus
13525extern "C"
13526#endif
13527char dlopen ();
13528int
13529main ()
13530{
13531return dlopen ();
13532  ;
13533  return 0;
13534}
13535_ACEOF
13536if ac_fn_c_try_link "$LINENO"; then :
13537  ac_cv_lib_svld_dlopen=yes
13538else
13539  ac_cv_lib_svld_dlopen=no
13540fi
13541rm -f core conftest.err conftest.$ac_objext \
13542    conftest$ac_exeext conftest.$ac_ext
13543LIBS=$ac_check_lib_save_LIBS
13544fi
13545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13546$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13547if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13548  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13549else
13550  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13551$as_echo_n "checking for dld_link in -ldld... " >&6; }
13552if ${ac_cv_lib_dld_dld_link+:} false; then :
13553  $as_echo_n "(cached) " >&6
13554else
13555  ac_check_lib_save_LIBS=$LIBS
13556LIBS="-ldld  $LIBS"
13557cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558/* end confdefs.h.  */
13559
13560/* Override any GCC internal prototype to avoid an error.
13561   Use char because int might match the return type of a GCC
13562   builtin and then its argument prototype would still apply.  */
13563#ifdef __cplusplus
13564extern "C"
13565#endif
13566char dld_link ();
13567int
13568main ()
13569{
13570return dld_link ();
13571  ;
13572  return 0;
13573}
13574_ACEOF
13575if ac_fn_c_try_link "$LINENO"; then :
13576  ac_cv_lib_dld_dld_link=yes
13577else
13578  ac_cv_lib_dld_dld_link=no
13579fi
13580rm -f core conftest.err conftest.$ac_objext \
13581    conftest$ac_exeext conftest.$ac_ext
13582LIBS=$ac_check_lib_save_LIBS
13583fi
13584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13585$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13586if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13587  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13588fi
13589
13590
13591fi
13592
13593
13594fi
13595
13596
13597fi
13598
13599
13600fi
13601
13602
13603fi
13604
13605    ;;
13606  esac
13607
13608  if test no = "$lt_cv_dlopen"; then
13609    enable_dlopen=no
13610  else
13611    enable_dlopen=yes
13612  fi
13613
13614  case $lt_cv_dlopen in
13615  dlopen)
13616    save_CPPFLAGS=$CPPFLAGS
13617    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13618
13619    save_LDFLAGS=$LDFLAGS
13620    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13621
13622    save_LIBS=$LIBS
13623    LIBS="$lt_cv_dlopen_libs $LIBS"
13624
13625    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13626$as_echo_n "checking whether a program can dlopen itself... " >&6; }
13627if ${lt_cv_dlopen_self+:} false; then :
13628  $as_echo_n "(cached) " >&6
13629else
13630  	  if test yes = "$cross_compiling"; then :
13631  lt_cv_dlopen_self=cross
13632else
13633  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13634  lt_status=$lt_dlunknown
13635  cat > conftest.$ac_ext <<_LT_EOF
13636#line $LINENO "configure"
13637#include "confdefs.h"
13638
13639#if HAVE_DLFCN_H
13640#include <dlfcn.h>
13641#endif
13642
13643#include <stdio.h>
13644
13645#ifdef RTLD_GLOBAL
13646#  define LT_DLGLOBAL		RTLD_GLOBAL
13647#else
13648#  ifdef DL_GLOBAL
13649#    define LT_DLGLOBAL		DL_GLOBAL
13650#  else
13651#    define LT_DLGLOBAL		0
13652#  endif
13653#endif
13654
13655/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13656   find out it does not work in some platform. */
13657#ifndef LT_DLLAZY_OR_NOW
13658#  ifdef RTLD_LAZY
13659#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13660#  else
13661#    ifdef DL_LAZY
13662#      define LT_DLLAZY_OR_NOW		DL_LAZY
13663#    else
13664#      ifdef RTLD_NOW
13665#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13666#      else
13667#        ifdef DL_NOW
13668#          define LT_DLLAZY_OR_NOW	DL_NOW
13669#        else
13670#          define LT_DLLAZY_OR_NOW	0
13671#        endif
13672#      endif
13673#    endif
13674#  endif
13675#endif
13676
13677/* When -fvisibility=hidden is used, assume the code has been annotated
13678   correspondingly for the symbols needed.  */
13679#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13680int fnord () __attribute__((visibility("default")));
13681#endif
13682
13683int fnord () { return 42; }
13684int main ()
13685{
13686  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13687  int status = $lt_dlunknown;
13688
13689  if (self)
13690    {
13691      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13692      else
13693        {
13694	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13695          else puts (dlerror ());
13696	}
13697      /* dlclose (self); */
13698    }
13699  else
13700    puts (dlerror ());
13701
13702  return status;
13703}
13704_LT_EOF
13705  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13706  (eval $ac_link) 2>&5
13707  ac_status=$?
13708  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13709  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13710    (./conftest; exit; ) >&5 2>/dev/null
13711    lt_status=$?
13712    case x$lt_status in
13713      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
13714      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
13715      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
13716    esac
13717  else :
13718    # compilation failed
13719    lt_cv_dlopen_self=no
13720  fi
13721fi
13722rm -fr conftest*
13723
13724
13725fi
13726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
13727$as_echo "$lt_cv_dlopen_self" >&6; }
13728
13729    if test yes = "$lt_cv_dlopen_self"; then
13730      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
13731      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
13732$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
13733if ${lt_cv_dlopen_self_static+:} false; then :
13734  $as_echo_n "(cached) " >&6
13735else
13736  	  if test yes = "$cross_compiling"; then :
13737  lt_cv_dlopen_self_static=cross
13738else
13739  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
13740  lt_status=$lt_dlunknown
13741  cat > conftest.$ac_ext <<_LT_EOF
13742#line $LINENO "configure"
13743#include "confdefs.h"
13744
13745#if HAVE_DLFCN_H
13746#include <dlfcn.h>
13747#endif
13748
13749#include <stdio.h>
13750
13751#ifdef RTLD_GLOBAL
13752#  define LT_DLGLOBAL		RTLD_GLOBAL
13753#else
13754#  ifdef DL_GLOBAL
13755#    define LT_DLGLOBAL		DL_GLOBAL
13756#  else
13757#    define LT_DLGLOBAL		0
13758#  endif
13759#endif
13760
13761/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
13762   find out it does not work in some platform. */
13763#ifndef LT_DLLAZY_OR_NOW
13764#  ifdef RTLD_LAZY
13765#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
13766#  else
13767#    ifdef DL_LAZY
13768#      define LT_DLLAZY_OR_NOW		DL_LAZY
13769#    else
13770#      ifdef RTLD_NOW
13771#        define LT_DLLAZY_OR_NOW	RTLD_NOW
13772#      else
13773#        ifdef DL_NOW
13774#          define LT_DLLAZY_OR_NOW	DL_NOW
13775#        else
13776#          define LT_DLLAZY_OR_NOW	0
13777#        endif
13778#      endif
13779#    endif
13780#  endif
13781#endif
13782
13783/* When -fvisibility=hidden is used, assume the code has been annotated
13784   correspondingly for the symbols needed.  */
13785#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13786int fnord () __attribute__((visibility("default")));
13787#endif
13788
13789int fnord () { return 42; }
13790int main ()
13791{
13792  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13793  int status = $lt_dlunknown;
13794
13795  if (self)
13796    {
13797      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13798      else
13799        {
13800	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13801          else puts (dlerror ());
13802	}
13803      /* dlclose (self); */
13804    }
13805  else
13806    puts (dlerror ());
13807
13808  return status;
13809}
13810_LT_EOF
13811  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13812  (eval $ac_link) 2>&5
13813  ac_status=$?
13814  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13815  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13816    (./conftest; exit; ) >&5 2>/dev/null
13817    lt_status=$?
13818    case x$lt_status in
13819      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13820      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13821      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13822    esac
13823  else :
13824    # compilation failed
13825    lt_cv_dlopen_self_static=no
13826  fi
13827fi
13828rm -fr conftest*
13829
13830
13831fi
13832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13833$as_echo "$lt_cv_dlopen_self_static" >&6; }
13834    fi
13835
13836    CPPFLAGS=$save_CPPFLAGS
13837    LDFLAGS=$save_LDFLAGS
13838    LIBS=$save_LIBS
13839    ;;
13840  esac
13841
13842  case $lt_cv_dlopen_self in
13843  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13844  *) enable_dlopen_self=unknown ;;
13845  esac
13846
13847  case $lt_cv_dlopen_self_static in
13848  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13849  *) enable_dlopen_self_static=unknown ;;
13850  esac
13851fi
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869striplib=
13870old_striplib=
13871{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13872$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13873if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13874  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13875  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13876  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13877$as_echo "yes" >&6; }
13878else
13879# FIXME - insert some real tests, host_os isn't really good enough
13880  case $host_os in
13881  darwin*)
13882    if test -n "$STRIP"; then
13883      striplib="$STRIP -x"
13884      old_striplib="$STRIP -S"
13885      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13886$as_echo "yes" >&6; }
13887    else
13888      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13889$as_echo "no" >&6; }
13890    fi
13891    ;;
13892  *)
13893    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13894$as_echo "no" >&6; }
13895    ;;
13896  esac
13897fi
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910  # Report what library types will actually be built
13911  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13912$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13914$as_echo "$can_build_shared" >&6; }
13915
13916  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13917$as_echo_n "checking whether to build shared libraries... " >&6; }
13918  test no = "$can_build_shared" && enable_shared=no
13919
13920  # On AIX, shared libraries and static libraries use the same namespace, and
13921  # are all built from PIC.
13922  case $host_os in
13923  aix3*)
13924    test yes = "$enable_shared" && enable_static=no
13925    if test -n "$RANLIB"; then
13926      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13927      postinstall_cmds='$RANLIB $lib'
13928    fi
13929    ;;
13930
13931  aix[4-9]*)
13932    if test ia64 != "$host_cpu"; then
13933      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13934      yes,aix,yes) ;;			# shared object as lib.so file only
13935      yes,svr4,*) ;;			# shared object as lib.so archive member only
13936      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13937      esac
13938    fi
13939    ;;
13940  esac
13941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13942$as_echo "$enable_shared" >&6; }
13943
13944  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13945$as_echo_n "checking whether to build static libraries... " >&6; }
13946  # Make sure either enable_shared or enable_static is yes.
13947  test yes = "$enable_shared" || enable_static=yes
13948  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13949$as_echo "$enable_static" >&6; }
13950
13951
13952
13953
13954fi
13955ac_ext=c
13956ac_cpp='$CPP $CPPFLAGS'
13957ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13958ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13959ac_compiler_gnu=$ac_cv_c_compiler_gnu
13960
13961CC=$lt_save_CC
13962
13963      if test -n "$CXX" && ( test no != "$CXX" &&
13964    ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
13965    (test g++ != "$CXX"))); then
13966  ac_ext=cpp
13967ac_cpp='$CXXCPP $CPPFLAGS'
13968ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
13972$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
13973if test -z "$CXXCPP"; then
13974  if ${ac_cv_prog_CXXCPP+:} false; then :
13975  $as_echo_n "(cached) " >&6
13976else
13977      # Double quotes because CXXCPP needs to be expanded
13978    for CXXCPP in "$CXX -E" "/lib/cpp"
13979    do
13980      ac_preproc_ok=false
13981for ac_cxx_preproc_warn_flag in '' yes
13982do
13983  # Use a header file that comes with gcc, so configuring glibc
13984  # with a fresh cross-compiler works.
13985  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13986  # <limits.h> exists even on freestanding compilers.
13987  # On the NeXT, cc -E runs the code through the compiler's parser,
13988  # not just through cpp. "Syntax error" is here to catch this case.
13989  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13990/* end confdefs.h.  */
13991#ifdef __STDC__
13992# include <limits.h>
13993#else
13994# include <assert.h>
13995#endif
13996		     Syntax error
13997_ACEOF
13998if ac_fn_cxx_try_cpp "$LINENO"; then :
13999
14000else
14001  # Broken: fails on valid input.
14002continue
14003fi
14004rm -f conftest.err conftest.i conftest.$ac_ext
14005
14006  # OK, works on sane cases.  Now check whether nonexistent headers
14007  # can be detected and how.
14008  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14009/* end confdefs.h.  */
14010#include <ac_nonexistent.h>
14011_ACEOF
14012if ac_fn_cxx_try_cpp "$LINENO"; then :
14013  # Broken: success on invalid input.
14014continue
14015else
14016  # Passes both tests.
14017ac_preproc_ok=:
14018break
14019fi
14020rm -f conftest.err conftest.i conftest.$ac_ext
14021
14022done
14023# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14024rm -f conftest.i conftest.err conftest.$ac_ext
14025if $ac_preproc_ok; then :
14026  break
14027fi
14028
14029    done
14030    ac_cv_prog_CXXCPP=$CXXCPP
14031
14032fi
14033  CXXCPP=$ac_cv_prog_CXXCPP
14034else
14035  ac_cv_prog_CXXCPP=$CXXCPP
14036fi
14037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14038$as_echo "$CXXCPP" >&6; }
14039ac_preproc_ok=false
14040for ac_cxx_preproc_warn_flag in '' yes
14041do
14042  # Use a header file that comes with gcc, so configuring glibc
14043  # with a fresh cross-compiler works.
14044  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14045  # <limits.h> exists even on freestanding compilers.
14046  # On the NeXT, cc -E runs the code through the compiler's parser,
14047  # not just through cpp. "Syntax error" is here to catch this case.
14048  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14049/* end confdefs.h.  */
14050#ifdef __STDC__
14051# include <limits.h>
14052#else
14053# include <assert.h>
14054#endif
14055		     Syntax error
14056_ACEOF
14057if ac_fn_cxx_try_cpp "$LINENO"; then :
14058
14059else
14060  # Broken: fails on valid input.
14061continue
14062fi
14063rm -f conftest.err conftest.i conftest.$ac_ext
14064
14065  # OK, works on sane cases.  Now check whether nonexistent headers
14066  # can be detected and how.
14067  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14068/* end confdefs.h.  */
14069#include <ac_nonexistent.h>
14070_ACEOF
14071if ac_fn_cxx_try_cpp "$LINENO"; then :
14072  # Broken: success on invalid input.
14073continue
14074else
14075  # Passes both tests.
14076ac_preproc_ok=:
14077break
14078fi
14079rm -f conftest.err conftest.i conftest.$ac_ext
14080
14081done
14082# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14083rm -f conftest.i conftest.err conftest.$ac_ext
14084if $ac_preproc_ok; then :
14085
14086else
14087  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14089as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14090See \`config.log' for more details" "$LINENO" 5; }
14091fi
14092
14093ac_ext=c
14094ac_cpp='$CPP $CPPFLAGS'
14095ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14096ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14097ac_compiler_gnu=$ac_cv_c_compiler_gnu
14098
14099else
14100  _lt_caught_CXX_error=yes
14101fi
14102
14103ac_ext=cpp
14104ac_cpp='$CXXCPP $CPPFLAGS'
14105ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14106ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14107ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14108
14109archive_cmds_need_lc_CXX=no
14110allow_undefined_flag_CXX=
14111always_export_symbols_CXX=no
14112archive_expsym_cmds_CXX=
14113compiler_needs_object_CXX=no
14114export_dynamic_flag_spec_CXX=
14115hardcode_direct_CXX=no
14116hardcode_direct_absolute_CXX=no
14117hardcode_libdir_flag_spec_CXX=
14118hardcode_libdir_separator_CXX=
14119hardcode_minus_L_CXX=no
14120hardcode_shlibpath_var_CXX=unsupported
14121hardcode_automatic_CXX=no
14122inherit_rpath_CXX=no
14123module_cmds_CXX=
14124module_expsym_cmds_CXX=
14125link_all_deplibs_CXX=unknown
14126old_archive_cmds_CXX=$old_archive_cmds
14127reload_flag_CXX=$reload_flag
14128reload_cmds_CXX=$reload_cmds
14129no_undefined_flag_CXX=
14130whole_archive_flag_spec_CXX=
14131enable_shared_with_static_runtimes_CXX=no
14132
14133# Source file extension for C++ test sources.
14134ac_ext=cpp
14135
14136# Object file extension for compiled C++ test sources.
14137objext=o
14138objext_CXX=$objext
14139
14140# No sense in running all these tests if we already determined that
14141# the CXX compiler isn't working.  Some variables (like enable_shared)
14142# are currently assumed to apply to all compilers on this platform,
14143# and will be corrupted by setting them based on a non-working compiler.
14144if test yes != "$_lt_caught_CXX_error"; then
14145  # Code to be used in simple compile tests
14146  lt_simple_compile_test_code="int some_variable = 0;"
14147
14148  # Code to be used in simple link tests
14149  lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14150
14151  # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14152
14153
14154
14155
14156
14157
14158# If no C compiler was specified, use CC.
14159LTCC=${LTCC-"$CC"}
14160
14161# If no C compiler flags were specified, use CFLAGS.
14162LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14163
14164# Allow CC to be a program name with arguments.
14165compiler=$CC
14166
14167
14168  # save warnings/boilerplate of simple test code
14169  ac_outfile=conftest.$ac_objext
14170echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14171eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14172_lt_compiler_boilerplate=`cat conftest.err`
14173$RM conftest*
14174
14175  ac_outfile=conftest.$ac_objext
14176echo "$lt_simple_link_test_code" >conftest.$ac_ext
14177eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14178_lt_linker_boilerplate=`cat conftest.err`
14179$RM -r conftest*
14180
14181
14182  # Allow CC to be a program name with arguments.
14183  lt_save_CC=$CC
14184  lt_save_CFLAGS=$CFLAGS
14185  lt_save_LD=$LD
14186  lt_save_GCC=$GCC
14187  GCC=$GXX
14188  lt_save_with_gnu_ld=$with_gnu_ld
14189  lt_save_path_LD=$lt_cv_path_LD
14190  if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14191    lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14192  else
14193    $as_unset lt_cv_prog_gnu_ld
14194  fi
14195  if test -n "${lt_cv_path_LDCXX+set}"; then
14196    lt_cv_path_LD=$lt_cv_path_LDCXX
14197  else
14198    $as_unset lt_cv_path_LD
14199  fi
14200  test -z "${LDCXX+set}" || LD=$LDCXX
14201  CC=${CXX-"c++"}
14202  CFLAGS=$CXXFLAGS
14203  compiler=$CC
14204  compiler_CXX=$CC
14205  func_cc_basename $compiler
14206cc_basename=$func_cc_basename_result
14207
14208
14209  if test -n "$compiler"; then
14210    # We don't want -fno-exception when compiling C++ code, so set the
14211    # no_builtin_flag separately
14212    if test yes = "$GXX"; then
14213      lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14214    else
14215      lt_prog_compiler_no_builtin_flag_CXX=
14216    fi
14217
14218    if test yes = "$GXX"; then
14219      # Set up default GNU C++ configuration
14220
14221
14222
14223# Check whether --with-gnu-ld was given.
14224if test "${with_gnu_ld+set}" = set; then :
14225  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
14226else
14227  with_gnu_ld=no
14228fi
14229
14230ac_prog=ld
14231if test yes = "$GCC"; then
14232  # Check if gcc -print-prog-name=ld gives a path.
14233  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14234$as_echo_n "checking for ld used by $CC... " >&6; }
14235  case $host in
14236  *-*-mingw*)
14237    # gcc leaves a trailing carriage return, which upsets mingw
14238    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14239  *)
14240    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14241  esac
14242  case $ac_prog in
14243    # Accept absolute paths.
14244    [\\/]* | ?:[\\/]*)
14245      re_direlt='/[^/][^/]*/\.\./'
14246      # Canonicalize the pathname of ld
14247      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14248      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14249	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14250      done
14251      test -z "$LD" && LD=$ac_prog
14252      ;;
14253  "")
14254    # If it fails, then pretend we aren't using GCC.
14255    ac_prog=ld
14256    ;;
14257  *)
14258    # If it is relative, then search for the first ld in PATH.
14259    with_gnu_ld=unknown
14260    ;;
14261  esac
14262elif test yes = "$with_gnu_ld"; then
14263  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14264$as_echo_n "checking for GNU ld... " >&6; }
14265else
14266  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14267$as_echo_n "checking for non-GNU ld... " >&6; }
14268fi
14269if ${lt_cv_path_LD+:} false; then :
14270  $as_echo_n "(cached) " >&6
14271else
14272  if test -z "$LD"; then
14273  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
14274  for ac_dir in $PATH; do
14275    IFS=$lt_save_ifs
14276    test -z "$ac_dir" && ac_dir=.
14277    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14278      lt_cv_path_LD=$ac_dir/$ac_prog
14279      # Check to see if the program is GNU ld.  I'd rather use --version,
14280      # but apparently some variants of GNU ld only accept -v.
14281      # Break only if it was the GNU/non-GNU ld that we prefer.
14282      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14283      *GNU* | *'with BFD'*)
14284	test no != "$with_gnu_ld" && break
14285	;;
14286      *)
14287	test yes != "$with_gnu_ld" && break
14288	;;
14289      esac
14290    fi
14291  done
14292  IFS=$lt_save_ifs
14293else
14294  lt_cv_path_LD=$LD # Let the user override the test with a path.
14295fi
14296fi
14297
14298LD=$lt_cv_path_LD
14299if test -n "$LD"; then
14300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14301$as_echo "$LD" >&6; }
14302else
14303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14304$as_echo "no" >&6; }
14305fi
14306test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14307{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14308$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14309if ${lt_cv_prog_gnu_ld+:} false; then :
14310  $as_echo_n "(cached) " >&6
14311else
14312  # I'd rather use --version here, but apparently some GNU lds only accept -v.
14313case `$LD -v 2>&1 </dev/null` in
14314*GNU* | *'with BFD'*)
14315  lt_cv_prog_gnu_ld=yes
14316  ;;
14317*)
14318  lt_cv_prog_gnu_ld=no
14319  ;;
14320esac
14321fi
14322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14323$as_echo "$lt_cv_prog_gnu_ld" >&6; }
14324with_gnu_ld=$lt_cv_prog_gnu_ld
14325
14326
14327
14328
14329
14330
14331
14332      # Check if GNU C++ uses GNU ld as the underlying linker, since the
14333      # archiving commands below assume that GNU ld is being used.
14334      if test yes = "$with_gnu_ld"; then
14335        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
14336        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'
14337
14338        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14339        export_dynamic_flag_spec_CXX='$wl--export-dynamic'
14340
14341        # If archive_cmds runs LD, not CC, wlarc should be empty
14342        # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14343        #     investigate it a little bit more. (MM)
14344        wlarc='$wl'
14345
14346        # ancient GNU ld didn't support --whole-archive et. al.
14347        if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14348	  $GREP 'no-whole-archive' > /dev/null; then
14349          whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
14350        else
14351          whole_archive_flag_spec_CXX=
14352        fi
14353      else
14354        with_gnu_ld=no
14355        wlarc=
14356
14357        # A generic and very simple default shared library creation
14358        # command for GNU C++ for the case where it uses the native
14359        # linker, instead of GNU ld.  If possible, this setting should
14360        # overridden to take advantage of the native linker features on
14361        # the platform it is being used on.
14362        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14363      fi
14364
14365      # Commands to make compiler produce verbose output that lists
14366      # what "hidden" libraries, object files and flags are used when
14367      # linking a shared library.
14368      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14369
14370    else
14371      GXX=no
14372      with_gnu_ld=no
14373      wlarc=
14374    fi
14375
14376    # PORTME: fill in a description of your system's C++ link characteristics
14377    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14378$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14379    ld_shlibs_CXX=yes
14380    case $host_os in
14381      aix3*)
14382        # FIXME: insert proper C++ library support
14383        ld_shlibs_CXX=no
14384        ;;
14385      aix[4-9]*)
14386        if test ia64 = "$host_cpu"; then
14387          # On IA64, the linker does run time linking by default, so we don't
14388          # have to do anything special.
14389          aix_use_runtimelinking=no
14390          exp_sym_flag='-Bexport'
14391          no_entry_flag=
14392        else
14393          aix_use_runtimelinking=no
14394
14395          # Test if we are trying to use run time linking or normal
14396          # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14397          # have runtime linking enabled, and use it for executables.
14398          # For shared libraries, we enable/disable runtime linking
14399          # depending on the kind of the shared library created -
14400          # when "with_aix_soname,aix_use_runtimelinking" is:
14401          # "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
14402          # "aix,yes"  lib.so          shared, rtl:yes, for executables
14403          #            lib.a           static archive
14404          # "both,no"  lib.so.V(shr.o) shared, rtl:yes
14405          #            lib.a(lib.so.V) shared, rtl:no,  for executables
14406          # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
14407          #            lib.a(lib.so.V) shared, rtl:no
14408          # "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
14409          #            lib.a           static archive
14410          case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14411	    for ld_flag in $LDFLAGS; do
14412	      case $ld_flag in
14413	      *-brtl*)
14414	        aix_use_runtimelinking=yes
14415	        break
14416	        ;;
14417	      esac
14418	    done
14419	    if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
14420	      # With aix-soname=svr4, we create the lib.so.V shared archives only,
14421	      # so we don't have lib.a shared libs to link our executables.
14422	      # We have to force runtime linking in this case.
14423	      aix_use_runtimelinking=yes
14424	      LDFLAGS="$LDFLAGS -Wl,-brtl"
14425	    fi
14426	    ;;
14427          esac
14428
14429          exp_sym_flag='-bexport'
14430          no_entry_flag='-bnoentry'
14431        fi
14432
14433        # When large executables or shared objects are built, AIX ld can
14434        # have problems creating the table of contents.  If linking a library
14435        # or program results in "error TOC overflow" add -mminimal-toc to
14436        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
14437        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14438
14439        archive_cmds_CXX=''
14440        hardcode_direct_CXX=yes
14441        hardcode_direct_absolute_CXX=yes
14442        hardcode_libdir_separator_CXX=':'
14443        link_all_deplibs_CXX=yes
14444        file_list_spec_CXX='$wl-f,'
14445        case $with_aix_soname,$aix_use_runtimelinking in
14446        aix,*) ;;	# no import file
14447        svr4,* | *,yes) # use import file
14448          # The Import File defines what to hardcode.
14449          hardcode_direct_CXX=no
14450          hardcode_direct_absolute_CXX=no
14451          ;;
14452        esac
14453
14454        if test yes = "$GXX"; then
14455          case $host_os in aix4.[012]|aix4.[012].*)
14456          # We only want to do this on AIX 4.2 and lower, the check
14457          # below for broken collect2 doesn't work under 4.3+
14458	  collect2name=`$CC -print-prog-name=collect2`
14459	  if test -f "$collect2name" &&
14460	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14461	  then
14462	    # We have reworked collect2
14463	    :
14464	  else
14465	    # We have old collect2
14466	    hardcode_direct_CXX=unsupported
14467	    # It fails to find uninstalled libraries when the uninstalled
14468	    # path is not listed in the libpath.  Setting hardcode_minus_L
14469	    # to unsupported forces relinking
14470	    hardcode_minus_L_CXX=yes
14471	    hardcode_libdir_flag_spec_CXX='-L$libdir'
14472	    hardcode_libdir_separator_CXX=
14473	  fi
14474          esac
14475          shared_flag='-shared'
14476	  if test yes = "$aix_use_runtimelinking"; then
14477	    shared_flag=$shared_flag' $wl-G'
14478	  fi
14479	  # Need to ensure runtime linking is disabled for the traditional
14480	  # shared library, or the linker may eventually find shared libraries
14481	  # /with/ Import File - we do not want to mix them.
14482	  shared_flag_aix='-shared'
14483	  shared_flag_svr4='-shared $wl-G'
14484        else
14485          # not using gcc
14486          if test ia64 = "$host_cpu"; then
14487	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14488	  # chokes on -Wl,-G. The following line is correct:
14489	  shared_flag='-G'
14490          else
14491	    if test yes = "$aix_use_runtimelinking"; then
14492	      shared_flag='$wl-G'
14493	    else
14494	      shared_flag='$wl-bM:SRE'
14495	    fi
14496	    shared_flag_aix='$wl-bM:SRE'
14497	    shared_flag_svr4='$wl-G'
14498          fi
14499        fi
14500
14501        export_dynamic_flag_spec_CXX='$wl-bexpall'
14502        # It seems that -bexpall does not export symbols beginning with
14503        # underscore (_), so it is better to generate a list of symbols to
14504	# export.
14505        always_export_symbols_CXX=yes
14506	if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
14507          # Warning - without using the other runtime loading flags (-brtl),
14508          # -berok will link without error, but may produce a broken library.
14509          # The "-G" linker flag allows undefined symbols.
14510          no_undefined_flag_CXX='-bernotok'
14511          # Determine the default libpath from the value encoded in an empty
14512          # executable.
14513          if test set = "${lt_cv_aix_libpath+set}"; then
14514  aix_libpath=$lt_cv_aix_libpath
14515else
14516  if ${lt_cv_aix_libpath__CXX+:} false; then :
14517  $as_echo_n "(cached) " >&6
14518else
14519  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520/* end confdefs.h.  */
14521
14522int
14523main ()
14524{
14525
14526  ;
14527  return 0;
14528}
14529_ACEOF
14530if ac_fn_cxx_try_link "$LINENO"; then :
14531
14532  lt_aix_libpath_sed='
14533      /Import File Strings/,/^$/ {
14534	  /^0/ {
14535	      s/^0  *\([^ ]*\) *$/\1/
14536	      p
14537	  }
14538      }'
14539  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14540  # Check for a 64-bit object if we didn't find anything.
14541  if test -z "$lt_cv_aix_libpath__CXX"; then
14542    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14543  fi
14544fi
14545rm -f core conftest.err conftest.$ac_objext \
14546    conftest$ac_exeext conftest.$ac_ext
14547  if test -z "$lt_cv_aix_libpath__CXX"; then
14548    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14549  fi
14550
14551fi
14552
14553  aix_libpath=$lt_cv_aix_libpath__CXX
14554fi
14555
14556          hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14557
14558          archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
14559        else
14560          if test ia64 = "$host_cpu"; then
14561	    hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
14562	    allow_undefined_flag_CXX="-z nodefs"
14563	    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"
14564          else
14565	    # Determine the default libpath from the value encoded in an
14566	    # empty executable.
14567	    if test set = "${lt_cv_aix_libpath+set}"; then
14568  aix_libpath=$lt_cv_aix_libpath
14569else
14570  if ${lt_cv_aix_libpath__CXX+:} false; then :
14571  $as_echo_n "(cached) " >&6
14572else
14573  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14574/* end confdefs.h.  */
14575
14576int
14577main ()
14578{
14579
14580  ;
14581  return 0;
14582}
14583_ACEOF
14584if ac_fn_cxx_try_link "$LINENO"; then :
14585
14586  lt_aix_libpath_sed='
14587      /Import File Strings/,/^$/ {
14588	  /^0/ {
14589	      s/^0  *\([^ ]*\) *$/\1/
14590	      p
14591	  }
14592      }'
14593  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14594  # Check for a 64-bit object if we didn't find anything.
14595  if test -z "$lt_cv_aix_libpath__CXX"; then
14596    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14597  fi
14598fi
14599rm -f core conftest.err conftest.$ac_objext \
14600    conftest$ac_exeext conftest.$ac_ext
14601  if test -z "$lt_cv_aix_libpath__CXX"; then
14602    lt_cv_aix_libpath__CXX=/usr/lib:/lib
14603  fi
14604
14605fi
14606
14607  aix_libpath=$lt_cv_aix_libpath__CXX
14608fi
14609
14610	    hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
14611	    # Warning - without using the other run time loading flags,
14612	    # -berok will link without error, but may produce a broken library.
14613	    no_undefined_flag_CXX=' $wl-bernotok'
14614	    allow_undefined_flag_CXX=' $wl-berok'
14615	    if test yes = "$with_gnu_ld"; then
14616	      # We only use this code for GNU lds that support --whole-archive.
14617	      whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
14618	    else
14619	      # Exported symbols can be pulled into shared objects from archives
14620	      whole_archive_flag_spec_CXX='$convenience'
14621	    fi
14622	    archive_cmds_need_lc_CXX=yes
14623	    archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
14624	    # -brtl affects multiple linker settings, -berok does not and is overridden later
14625	    compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
14626	    if test svr4 != "$with_aix_soname"; then
14627	      # This is similar to how AIX traditionally builds its shared
14628	      # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
14629	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
14630	    fi
14631	    if test aix != "$with_aix_soname"; then
14632	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
14633	    else
14634	      # used by -dlpreopen to get the symbols
14635	      archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
14636	    fi
14637	    archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
14638          fi
14639        fi
14640        ;;
14641
14642      beos*)
14643	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14644	  allow_undefined_flag_CXX=unsupported
14645	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14646	  # support --undefined.  This deserves some investigation.  FIXME
14647	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14648	else
14649	  ld_shlibs_CXX=no
14650	fi
14651	;;
14652
14653      chorus*)
14654        case $cc_basename in
14655          *)
14656	  # FIXME: insert proper C++ library support
14657	  ld_shlibs_CXX=no
14658	  ;;
14659        esac
14660        ;;
14661
14662      cygwin* | mingw* | pw32* | cegcc*)
14663	case $GXX,$cc_basename in
14664	,cl* | no,cl*)
14665	  # Native MSVC
14666	  # hardcode_libdir_flag_spec is actually meaningless, as there is
14667	  # no search path for DLLs.
14668	  hardcode_libdir_flag_spec_CXX=' '
14669	  allow_undefined_flag_CXX=unsupported
14670	  always_export_symbols_CXX=yes
14671	  file_list_spec_CXX='@'
14672	  # Tell ltmain to make .lib files, not .a files.
14673	  libext=lib
14674	  # Tell ltmain to make .dll files, not .so files.
14675	  shrext_cmds=.dll
14676	  # FIXME: Setting linknames here is a bad hack.
14677	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
14678	  archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14679              cp "$export_symbols" "$output_objdir/$soname.def";
14680              echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
14681            else
14682              $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
14683            fi~
14684            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
14685            linknames='
14686	  # The linker will not automatically build a static lib if we build a DLL.
14687	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
14688	  enable_shared_with_static_runtimes_CXX=yes
14689	  # Don't use ranlib
14690	  old_postinstall_cmds_CXX='chmod 644 $oldlib'
14691	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
14692            lt_tool_outputfile="@TOOL_OUTPUT@"~
14693            case $lt_outputfile in
14694              *.exe|*.EXE) ;;
14695              *)
14696                lt_outputfile=$lt_outputfile.exe
14697                lt_tool_outputfile=$lt_tool_outputfile.exe
14698                ;;
14699            esac~
14700            func_to_tool_file "$lt_outputfile"~
14701            if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
14702              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
14703              $RM "$lt_outputfile.manifest";
14704            fi'
14705	  ;;
14706	*)
14707	  # g++
14708	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
14709	  # as there is no search path for DLLs.
14710	  hardcode_libdir_flag_spec_CXX='-L$libdir'
14711	  export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
14712	  allow_undefined_flag_CXX=unsupported
14713	  always_export_symbols_CXX=no
14714	  enable_shared_with_static_runtimes_CXX=yes
14715
14716	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
14717	    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'
14718	    # If the export-symbols file already is a .def file, use it as
14719	    # is; otherwise, prepend EXPORTS...
14720	    archive_expsym_cmds_CXX='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
14721              cp $export_symbols $output_objdir/$soname.def;
14722            else
14723              echo EXPORTS > $output_objdir/$soname.def;
14724              cat $export_symbols >> $output_objdir/$soname.def;
14725            fi~
14726            $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'
14727	  else
14728	    ld_shlibs_CXX=no
14729	  fi
14730	  ;;
14731	esac
14732	;;
14733      darwin* | rhapsody*)
14734
14735
14736  archive_cmds_need_lc_CXX=no
14737  hardcode_direct_CXX=no
14738  hardcode_automatic_CXX=yes
14739  hardcode_shlibpath_var_CXX=unsupported
14740  if test yes = "$lt_cv_ld_force_load"; then
14741    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\"`'
14742
14743  else
14744    whole_archive_flag_spec_CXX=''
14745  fi
14746  link_all_deplibs_CXX=yes
14747  allow_undefined_flag_CXX=$_lt_dar_allow_undefined
14748  case $cc_basename in
14749     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
14750     *) _lt_dar_can_shared=$GCC ;;
14751  esac
14752  if test yes = "$_lt_dar_can_shared"; then
14753    output_verbose_link_cmd=func_echo_all
14754    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"
14755    module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
14756    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"
14757    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"
14758       if test yes != "$lt_cv_apple_cc_single_mod"; then
14759      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"
14760      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"
14761    fi
14762
14763  else
14764  ld_shlibs_CXX=no
14765  fi
14766
14767	;;
14768
14769      os2*)
14770	hardcode_libdir_flag_spec_CXX='-L$libdir'
14771	hardcode_minus_L_CXX=yes
14772	allow_undefined_flag_CXX=unsupported
14773	shrext_cmds=.dll
14774	archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14775	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14776	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14777	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14778	  emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
14779	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14780	  emximp -o $lib $output_objdir/$libname.def'
14781	archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
14782	  $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
14783	  $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
14784	  $ECHO EXPORTS >> $output_objdir/$libname.def~
14785	  prefix_cmds="$SED"~
14786	  if test EXPORTS = "`$SED 1q $export_symbols`"; then
14787	    prefix_cmds="$prefix_cmds -e 1d";
14788	  fi~
14789	  prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
14790	  cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
14791	  $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
14792	  emximp -o $lib $output_objdir/$libname.def'
14793	old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
14794	enable_shared_with_static_runtimes_CXX=yes
14795	;;
14796
14797      dgux*)
14798        case $cc_basename in
14799          ec++*)
14800	    # FIXME: insert proper C++ library support
14801	    ld_shlibs_CXX=no
14802	    ;;
14803          ghcx*)
14804	    # Green Hills C++ Compiler
14805	    # FIXME: insert proper C++ library support
14806	    ld_shlibs_CXX=no
14807	    ;;
14808          *)
14809	    # FIXME: insert proper C++ library support
14810	    ld_shlibs_CXX=no
14811	    ;;
14812        esac
14813        ;;
14814
14815      freebsd2.*)
14816        # C++ shared libraries reported to be fairly broken before
14817	# switch to ELF
14818        ld_shlibs_CXX=no
14819        ;;
14820
14821      freebsd-elf*)
14822        archive_cmds_need_lc_CXX=no
14823        ;;
14824
14825      freebsd* | dragonfly*)
14826        # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
14827        # conventions
14828        ld_shlibs_CXX=yes
14829        ;;
14830
14831      haiku*)
14832        archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
14833        link_all_deplibs_CXX=yes
14834        ;;
14835
14836      hpux9*)
14837        hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14838        hardcode_libdir_separator_CXX=:
14839        export_dynamic_flag_spec_CXX='$wl-E'
14840        hardcode_direct_CXX=yes
14841        hardcode_minus_L_CXX=yes # Not in the search PATH,
14842				             # but as the default
14843				             # location of the library.
14844
14845        case $cc_basename in
14846          CC*)
14847            # FIXME: insert proper C++ library support
14848            ld_shlibs_CXX=no
14849            ;;
14850          aCC*)
14851            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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14852            # Commands to make compiler produce verbose output that lists
14853            # what "hidden" libraries, object files and flags are used when
14854            # linking a shared library.
14855            #
14856            # There doesn't appear to be a way to prevent this compiler from
14857            # explicitly linking system object files so we need to strip them
14858            # from the output so that they don't get included in the library
14859            # dependencies.
14860            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"'
14861            ;;
14862          *)
14863            if test yes = "$GXX"; then
14864              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 "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
14865            else
14866              # FIXME: insert proper C++ library support
14867              ld_shlibs_CXX=no
14868            fi
14869            ;;
14870        esac
14871        ;;
14872
14873      hpux10*|hpux11*)
14874        if test no = "$with_gnu_ld"; then
14875	  hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
14876	  hardcode_libdir_separator_CXX=:
14877
14878          case $host_cpu in
14879            hppa*64*|ia64*)
14880              ;;
14881            *)
14882	      export_dynamic_flag_spec_CXX='$wl-E'
14883              ;;
14884          esac
14885        fi
14886        case $host_cpu in
14887          hppa*64*|ia64*)
14888            hardcode_direct_CXX=no
14889            hardcode_shlibpath_var_CXX=no
14890            ;;
14891          *)
14892            hardcode_direct_CXX=yes
14893            hardcode_direct_absolute_CXX=yes
14894            hardcode_minus_L_CXX=yes # Not in the search PATH,
14895					         # but as the default
14896					         # location of the library.
14897            ;;
14898        esac
14899
14900        case $cc_basename in
14901          CC*)
14902	    # FIXME: insert proper C++ library support
14903	    ld_shlibs_CXX=no
14904	    ;;
14905          aCC*)
14906	    case $host_cpu in
14907	      hppa*64*)
14908	        archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14909	        ;;
14910	      ia64*)
14911	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14912	        ;;
14913	      *)
14914	        archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14915	        ;;
14916	    esac
14917	    # Commands to make compiler produce verbose output that lists
14918	    # what "hidden" libraries, object files and flags are used when
14919	    # linking a shared library.
14920	    #
14921	    # There doesn't appear to be a way to prevent this compiler from
14922	    # explicitly linking system object files so we need to strip them
14923	    # from the output so that they don't get included in the library
14924	    # dependencies.
14925	    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"'
14926	    ;;
14927          *)
14928	    if test yes = "$GXX"; then
14929	      if test no = "$with_gnu_ld"; then
14930	        case $host_cpu in
14931	          hppa*64*)
14932	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14933	            ;;
14934	          ia64*)
14935	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
14936	            ;;
14937	          *)
14938	            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'
14939	            ;;
14940	        esac
14941	      fi
14942	    else
14943	      # FIXME: insert proper C++ library support
14944	      ld_shlibs_CXX=no
14945	    fi
14946	    ;;
14947        esac
14948        ;;
14949
14950      interix[3-9]*)
14951	hardcode_direct_CXX=no
14952	hardcode_shlibpath_var_CXX=no
14953	hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
14954	export_dynamic_flag_spec_CXX='$wl-E'
14955	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14956	# Instead, shared libraries are loaded at an image base (0x10000000 by
14957	# default) and relocated if they conflict, which is a slow very memory
14958	# consuming and fragmenting process.  To avoid this, we pick a random,
14959	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14960	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
14961	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'
14962	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'
14963	;;
14964      irix5* | irix6*)
14965        case $cc_basename in
14966          CC*)
14967	    # SGI C++
14968	    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'
14969
14970	    # Archives containing C++ object files must be created using
14971	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
14972	    # necessary to make sure instantiated templates are included
14973	    # in the archive.
14974	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
14975	    ;;
14976          *)
14977	    if test yes = "$GXX"; then
14978	      if test no = "$with_gnu_ld"; then
14979	        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'
14980	      else
14981	        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'
14982	      fi
14983	    fi
14984	    link_all_deplibs_CXX=yes
14985	    ;;
14986        esac
14987        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
14988        hardcode_libdir_separator_CXX=:
14989        inherit_rpath_CXX=yes
14990        ;;
14991
14992      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14993        case $cc_basename in
14994          KCC*)
14995	    # Kuck and Associates, Inc. (KAI) C++ Compiler
14996
14997	    # KCC will only create a shared library if the output file
14998	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
14999	    # to its proper name (with version) after linking.
15000	    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'
15001	    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'
15002	    # Commands to make compiler produce verbose output that lists
15003	    # what "hidden" libraries, object files and flags are used when
15004	    # linking a shared library.
15005	    #
15006	    # There doesn't appear to be a way to prevent this compiler from
15007	    # explicitly linking system object files so we need to strip them
15008	    # from the output so that they don't get included in the library
15009	    # dependencies.
15010	    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"'
15011
15012	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15013	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15014
15015	    # Archives containing C++ object files must be created using
15016	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15017	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15018	    ;;
15019	  icpc* | ecpc* )
15020	    # Intel C++
15021	    with_gnu_ld=yes
15022	    # version 8.0 and above of icpc choke on multiply defined symbols
15023	    # if we add $predep_objects and $postdep_objects, however 7.1 and
15024	    # earlier do not add the objects themselves.
15025	    case `$CC -V 2>&1` in
15026	      *"Version 7."*)
15027	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15028		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'
15029		;;
15030	      *)  # Version 8.0 or newer
15031	        tmp_idyn=
15032	        case $host_cpu in
15033		  ia64*) tmp_idyn=' -i_dynamic';;
15034		esac
15035	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15036		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'
15037		;;
15038	    esac
15039	    archive_cmds_need_lc_CXX=no
15040	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15041	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15042	    whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15043	    ;;
15044          pgCC* | pgcpp*)
15045            # Portland Group C++ compiler
15046	    case `$CC -V` in
15047	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15048	      prelink_cmds_CXX='tpldir=Template.dir~
15049               rm -rf $tpldir~
15050               $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15051               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15052	      old_archive_cmds_CXX='tpldir=Template.dir~
15053                rm -rf $tpldir~
15054                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15055                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15056                $RANLIB $oldlib'
15057	      archive_cmds_CXX='tpldir=Template.dir~
15058                rm -rf $tpldir~
15059                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15060                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15061	      archive_expsym_cmds_CXX='tpldir=Template.dir~
15062                rm -rf $tpldir~
15063                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15064                $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'
15065	      ;;
15066	    *) # Version 6 and above use weak symbols
15067	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15068	      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'
15069	      ;;
15070	    esac
15071
15072	    hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
15073	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15074	    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'
15075            ;;
15076	  cxx*)
15077	    # Compaq C++
15078	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15079	    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'
15080
15081	    runpath_var=LD_RUN_PATH
15082	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15083	    hardcode_libdir_separator_CXX=:
15084
15085	    # Commands to make compiler produce verbose output that lists
15086	    # what "hidden" libraries, object files and flags are used when
15087	    # linking a shared library.
15088	    #
15089	    # There doesn't appear to be a way to prevent this compiler from
15090	    # explicitly linking system object files so we need to strip them
15091	    # from the output so that they don't get included in the library
15092	    # dependencies.
15093	    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'
15094	    ;;
15095	  xl* | mpixl* | bgxl*)
15096	    # IBM XL 8.0 on PPC, with GNU ld
15097	    hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15098	    export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15099	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15100	    if test yes = "$supports_anon_versioning"; then
15101	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15102                cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15103                echo "local: *; };" >> $output_objdir/$libname.ver~
15104                $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
15105	    fi
15106	    ;;
15107	  *)
15108	    case `$CC -V 2>&1 | sed 5q` in
15109	    *Sun\ C*)
15110	      # Sun C++ 5.9
15111	      no_undefined_flag_CXX=' -zdefs'
15112	      archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15113	      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'
15114	      hardcode_libdir_flag_spec_CXX='-R$libdir'
15115	      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'
15116	      compiler_needs_object_CXX=yes
15117
15118	      # Not sure whether something based on
15119	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15120	      # would be better.
15121	      output_verbose_link_cmd='func_echo_all'
15122
15123	      # Archives containing C++ object files must be created using
15124	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15125	      # necessary to make sure instantiated templates are included
15126	      # in the archive.
15127	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15128	      ;;
15129	    esac
15130	    ;;
15131	esac
15132	;;
15133
15134      lynxos*)
15135        # FIXME: insert proper C++ library support
15136	ld_shlibs_CXX=no
15137	;;
15138
15139      m88k*)
15140        # FIXME: insert proper C++ library support
15141        ld_shlibs_CXX=no
15142	;;
15143
15144      mvs*)
15145        case $cc_basename in
15146          cxx*)
15147	    # FIXME: insert proper C++ library support
15148	    ld_shlibs_CXX=no
15149	    ;;
15150	  *)
15151	    # FIXME: insert proper C++ library support
15152	    ld_shlibs_CXX=no
15153	    ;;
15154	esac
15155	;;
15156
15157      netbsd*)
15158        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15159	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15160	  wlarc=
15161	  hardcode_libdir_flag_spec_CXX='-R$libdir'
15162	  hardcode_direct_CXX=yes
15163	  hardcode_shlibpath_var_CXX=no
15164	fi
15165	# Workaround some broken pre-1.5 toolchains
15166	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15167	;;
15168
15169      *nto* | *qnx*)
15170        ld_shlibs_CXX=yes
15171	;;
15172
15173      openbsd* | bitrig*)
15174	if test -f /usr/libexec/ld.so; then
15175	  hardcode_direct_CXX=yes
15176	  hardcode_shlibpath_var_CXX=no
15177	  hardcode_direct_absolute_CXX=yes
15178	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15179	  hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15180	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
15181	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
15182	    export_dynamic_flag_spec_CXX='$wl-E'
15183	    whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15184	  fi
15185	  output_verbose_link_cmd=func_echo_all
15186	else
15187	  ld_shlibs_CXX=no
15188	fi
15189	;;
15190
15191      osf3* | osf4* | osf5*)
15192        case $cc_basename in
15193          KCC*)
15194	    # Kuck and Associates, Inc. (KAI) C++ Compiler
15195
15196	    # KCC will only create a shared library if the output file
15197	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
15198	    # to its proper name (with version) after linking.
15199	    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'
15200
15201	    hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
15202	    hardcode_libdir_separator_CXX=:
15203
15204	    # Archives containing C++ object files must be created using
15205	    # the KAI C++ compiler.
15206	    case $host in
15207	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15208	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15209	    esac
15210	    ;;
15211          RCC*)
15212	    # Rational C++ 2.4.1
15213	    # FIXME: insert proper C++ library support
15214	    ld_shlibs_CXX=no
15215	    ;;
15216          cxx*)
15217	    case $host in
15218	      osf3*)
15219	        allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15220	        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'
15221	        hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15222		;;
15223	      *)
15224	        allow_undefined_flag_CXX=' -expect_unresolved \*'
15225	        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'
15226	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15227                  echo "-hidden">> $lib.exp~
15228                  $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~
15229                  $RM $lib.exp'
15230	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15231		;;
15232	    esac
15233
15234	    hardcode_libdir_separator_CXX=:
15235
15236	    # Commands to make compiler produce verbose output that lists
15237	    # what "hidden" libraries, object files and flags are used when
15238	    # linking a shared library.
15239	    #
15240	    # There doesn't appear to be a way to prevent this compiler from
15241	    # explicitly linking system object files so we need to strip them
15242	    # from the output so that they don't get included in the library
15243	    # dependencies.
15244	    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"'
15245	    ;;
15246	  *)
15247	    if test yes,no = "$GXX,$with_gnu_ld"; then
15248	      allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
15249	      case $host in
15250	        osf3*)
15251	          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'
15252		  ;;
15253	        *)
15254	          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'
15255		  ;;
15256	      esac
15257
15258	      hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15259	      hardcode_libdir_separator_CXX=:
15260
15261	      # Commands to make compiler produce verbose output that lists
15262	      # what "hidden" libraries, object files and flags are used when
15263	      # linking a shared library.
15264	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15265
15266	    else
15267	      # FIXME: insert proper C++ library support
15268	      ld_shlibs_CXX=no
15269	    fi
15270	    ;;
15271        esac
15272        ;;
15273
15274      psos*)
15275        # FIXME: insert proper C++ library support
15276        ld_shlibs_CXX=no
15277        ;;
15278
15279      sunos4*)
15280        case $cc_basename in
15281          CC*)
15282	    # Sun C++ 4.x
15283	    # FIXME: insert proper C++ library support
15284	    ld_shlibs_CXX=no
15285	    ;;
15286          lcc*)
15287	    # Lucid
15288	    # FIXME: insert proper C++ library support
15289	    ld_shlibs_CXX=no
15290	    ;;
15291          *)
15292	    # FIXME: insert proper C++ library support
15293	    ld_shlibs_CXX=no
15294	    ;;
15295        esac
15296        ;;
15297
15298      solaris*)
15299        case $cc_basename in
15300          CC* | sunCC*)
15301	    # Sun C++ 4.2, 5.x and Centerline C++
15302            archive_cmds_need_lc_CXX=yes
15303	    no_undefined_flag_CXX=' -zdefs'
15304	    archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15305	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15306              $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'
15307
15308	    hardcode_libdir_flag_spec_CXX='-R$libdir'
15309	    hardcode_shlibpath_var_CXX=no
15310	    case $host_os in
15311	      solaris2.[0-5] | solaris2.[0-5].*) ;;
15312	      *)
15313		# The compiler driver will combine and reorder linker options,
15314		# but understands '-z linker_flag'.
15315	        # Supported since Solaris 2.6 (maybe 2.5.1?)
15316		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15317	        ;;
15318	    esac
15319	    link_all_deplibs_CXX=yes
15320
15321	    output_verbose_link_cmd='func_echo_all'
15322
15323	    # Archives containing C++ object files must be created using
15324	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
15325	    # necessary to make sure instantiated templates are included
15326	    # in the archive.
15327	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15328	    ;;
15329          gcx*)
15330	    # Green Hills C++ Compiler
15331	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15332
15333	    # The C++ compiler must be used to create the archive.
15334	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15335	    ;;
15336          *)
15337	    # GNU C++ compiler with Solaris linker
15338	    if test yes,no = "$GXX,$with_gnu_ld"; then
15339	      no_undefined_flag_CXX=' $wl-z ${wl}defs'
15340	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15341	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15342	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15343                  $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15344
15345	        # Commands to make compiler produce verbose output that lists
15346	        # what "hidden" libraries, object files and flags are used when
15347	        # linking a shared library.
15348	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15349	      else
15350	        # g++ 2.7 appears to require '-G' NOT '-shared' on this
15351	        # platform.
15352	        archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
15353	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15354                  $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15355
15356	        # Commands to make compiler produce verbose output that lists
15357	        # what "hidden" libraries, object files and flags are used when
15358	        # linking a shared library.
15359	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15360	      fi
15361
15362	      hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
15363	      case $host_os in
15364		solaris2.[0-5] | solaris2.[0-5].*) ;;
15365		*)
15366		  whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
15367		  ;;
15368	      esac
15369	    fi
15370	    ;;
15371        esac
15372        ;;
15373
15374    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15375      no_undefined_flag_CXX='$wl-z,text'
15376      archive_cmds_need_lc_CXX=no
15377      hardcode_shlibpath_var_CXX=no
15378      runpath_var='LD_RUN_PATH'
15379
15380      case $cc_basename in
15381        CC*)
15382	  archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15383	  archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15384	  ;;
15385	*)
15386	  archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15387	  archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15388	  ;;
15389      esac
15390      ;;
15391
15392      sysv5* | sco3.2v5* | sco5v6*)
15393	# Note: We CANNOT use -z defs as we might desire, because we do not
15394	# link with -lc, and that would cause any symbols used from libc to
15395	# always be unresolved, which means just about no library would
15396	# ever link correctly.  If we're not using GNU ld we use -z text
15397	# though, which does catch some bad symbols but isn't as heavy-handed
15398	# as -z defs.
15399	no_undefined_flag_CXX='$wl-z,text'
15400	allow_undefined_flag_CXX='$wl-z,nodefs'
15401	archive_cmds_need_lc_CXX=no
15402	hardcode_shlibpath_var_CXX=no
15403	hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
15404	hardcode_libdir_separator_CXX=':'
15405	link_all_deplibs_CXX=yes
15406	export_dynamic_flag_spec_CXX='$wl-Bexport'
15407	runpath_var='LD_RUN_PATH'
15408
15409	case $cc_basename in
15410          CC*)
15411	    archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15412	    archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15413	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15414              '"$old_archive_cmds_CXX"
15415	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15416              '"$reload_cmds_CXX"
15417	    ;;
15418	  *)
15419	    archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15420	    archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15421	    ;;
15422	esac
15423      ;;
15424
15425      tandem*)
15426        case $cc_basename in
15427          NCC*)
15428	    # NonStop-UX NCC 3.20
15429	    # FIXME: insert proper C++ library support
15430	    ld_shlibs_CXX=no
15431	    ;;
15432          *)
15433	    # FIXME: insert proper C++ library support
15434	    ld_shlibs_CXX=no
15435	    ;;
15436        esac
15437        ;;
15438
15439      vxworks*)
15440        # FIXME: insert proper C++ library support
15441        ld_shlibs_CXX=no
15442        ;;
15443
15444      *)
15445        # FIXME: insert proper C++ library support
15446        ld_shlibs_CXX=no
15447        ;;
15448    esac
15449
15450    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15451$as_echo "$ld_shlibs_CXX" >&6; }
15452    test no = "$ld_shlibs_CXX" && can_build_shared=no
15453
15454    GCC_CXX=$GXX
15455    LD_CXX=$LD
15456
15457    ## CAVEAT EMPTOR:
15458    ## There is no encapsulation within the following macros, do not change
15459    ## the running order or otherwise move them around unless you know exactly
15460    ## what you are doing...
15461    # Dependencies to place before and after the object being linked:
15462predep_objects_CXX=
15463postdep_objects_CXX=
15464predeps_CXX=
15465postdeps_CXX=
15466compiler_lib_search_path_CXX=
15467
15468cat > conftest.$ac_ext <<_LT_EOF
15469class Foo
15470{
15471public:
15472  Foo (void) { a = 0; }
15473private:
15474  int a;
15475};
15476_LT_EOF
15477
15478
15479_lt_libdeps_save_CFLAGS=$CFLAGS
15480case "$CC $CFLAGS " in #(
15481*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15482*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15483*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15484esac
15485
15486if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15487  (eval $ac_compile) 2>&5
15488  ac_status=$?
15489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15490  test $ac_status = 0; }; then
15491  # Parse the compiler output and extract the necessary
15492  # objects, libraries and library flags.
15493
15494  # Sentinel used to keep track of whether or not we are before
15495  # the conftest object file.
15496  pre_test_object_deps_done=no
15497
15498  for p in `eval "$output_verbose_link_cmd"`; do
15499    case $prev$p in
15500
15501    -L* | -R* | -l*)
15502       # Some compilers place space between "-{L,R}" and the path.
15503       # Remove the space.
15504       if test x-L = "$p" ||
15505          test x-R = "$p"; then
15506	 prev=$p
15507	 continue
15508       fi
15509
15510       # Expand the sysroot to ease extracting the directories later.
15511       if test -z "$prev"; then
15512         case $p in
15513         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15514         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15515         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15516         esac
15517       fi
15518       case $p in
15519       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15520       esac
15521       if test no = "$pre_test_object_deps_done"; then
15522	 case $prev in
15523	 -L | -R)
15524	   # Internal compiler library paths should come after those
15525	   # provided the user.  The postdeps already come after the
15526	   # user supplied libs so there is no need to process them.
15527	   if test -z "$compiler_lib_search_path_CXX"; then
15528	     compiler_lib_search_path_CXX=$prev$p
15529	   else
15530	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
15531	   fi
15532	   ;;
15533	 # The "-l" case would never come before the object being
15534	 # linked, so don't bother handling this case.
15535	 esac
15536       else
15537	 if test -z "$postdeps_CXX"; then
15538	   postdeps_CXX=$prev$p
15539	 else
15540	   postdeps_CXX="${postdeps_CXX} $prev$p"
15541	 fi
15542       fi
15543       prev=
15544       ;;
15545
15546    *.lto.$objext) ;; # Ignore GCC LTO objects
15547    *.$objext)
15548       # This assumes that the test object file only shows up
15549       # once in the compiler output.
15550       if test "$p" = "conftest.$objext"; then
15551	 pre_test_object_deps_done=yes
15552	 continue
15553       fi
15554
15555       if test no = "$pre_test_object_deps_done"; then
15556	 if test -z "$predep_objects_CXX"; then
15557	   predep_objects_CXX=$p
15558	 else
15559	   predep_objects_CXX="$predep_objects_CXX $p"
15560	 fi
15561       else
15562	 if test -z "$postdep_objects_CXX"; then
15563	   postdep_objects_CXX=$p
15564	 else
15565	   postdep_objects_CXX="$postdep_objects_CXX $p"
15566	 fi
15567       fi
15568       ;;
15569
15570    *) ;; # Ignore the rest.
15571
15572    esac
15573  done
15574
15575  # Clean up.
15576  rm -f a.out a.exe
15577else
15578  echo "libtool.m4: error: problem compiling CXX test program"
15579fi
15580
15581$RM -f confest.$objext
15582CFLAGS=$_lt_libdeps_save_CFLAGS
15583
15584# PORTME: override above test on systems where it is broken
15585case $host_os in
15586interix[3-9]*)
15587  # Interix 3.5 installs completely hosed .la files for C++, so rather than
15588  # hack all around it, let's just trust "g++" to DTRT.
15589  predep_objects_CXX=
15590  postdep_objects_CXX=
15591  postdeps_CXX=
15592  ;;
15593esac
15594
15595
15596case " $postdeps_CXX " in
15597*" -lc "*) archive_cmds_need_lc_CXX=no ;;
15598esac
15599 compiler_lib_search_dirs_CXX=
15600if test -n "${compiler_lib_search_path_CXX}"; then
15601 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
15602fi
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634    lt_prog_compiler_wl_CXX=
15635lt_prog_compiler_pic_CXX=
15636lt_prog_compiler_static_CXX=
15637
15638
15639  # C++ specific cases for pic, static, wl, etc.
15640  if test yes = "$GXX"; then
15641    lt_prog_compiler_wl_CXX='-Wl,'
15642    lt_prog_compiler_static_CXX='-static'
15643
15644    case $host_os in
15645    aix*)
15646      # All AIX code is PIC.
15647      if test ia64 = "$host_cpu"; then
15648	# AIX 5 now supports IA64 processor
15649	lt_prog_compiler_static_CXX='-Bstatic'
15650      fi
15651      lt_prog_compiler_pic_CXX='-fPIC'
15652      ;;
15653
15654    amigaos*)
15655      case $host_cpu in
15656      powerpc)
15657            # see comment about AmigaOS4 .so support
15658            lt_prog_compiler_pic_CXX='-fPIC'
15659        ;;
15660      m68k)
15661            # FIXME: we need at least 68020 code to build shared libraries, but
15662            # adding the '-m68020' flag to GCC prevents building anything better,
15663            # like '-m68040'.
15664            lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
15665        ;;
15666      esac
15667      ;;
15668
15669    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15670      # PIC is the default for these OSes.
15671      ;;
15672    mingw* | cygwin* | os2* | pw32* | cegcc*)
15673      # This hack is so that the source file can tell whether it is being
15674      # built for inclusion in a dll (and should export symbols for example).
15675      # Although the cygwin gcc ignores -fPIC, still need this for old-style
15676      # (--disable-auto-import) libraries
15677      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15678      case $host_os in
15679      os2*)
15680	lt_prog_compiler_static_CXX='$wl-static'
15681	;;
15682      esac
15683      ;;
15684    darwin* | rhapsody*)
15685      # PIC is the default on this platform
15686      # Common symbols not allowed in MH_DYLIB files
15687      lt_prog_compiler_pic_CXX='-fno-common'
15688      ;;
15689    *djgpp*)
15690      # DJGPP does not support shared libraries at all
15691      lt_prog_compiler_pic_CXX=
15692      ;;
15693    haiku*)
15694      # PIC is the default for Haiku.
15695      # The "-static" flag exists, but is broken.
15696      lt_prog_compiler_static_CXX=
15697      ;;
15698    interix[3-9]*)
15699      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
15700      # Instead, we relocate shared libraries at runtime.
15701      ;;
15702    sysv4*MP*)
15703      if test -d /usr/nec; then
15704	lt_prog_compiler_pic_CXX=-Kconform_pic
15705      fi
15706      ;;
15707    hpux*)
15708      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
15709      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
15710      # sets the default TLS model and affects inlining.
15711      case $host_cpu in
15712      hppa*64*)
15713	;;
15714      *)
15715	lt_prog_compiler_pic_CXX='-fPIC'
15716	;;
15717      esac
15718      ;;
15719    *qnx* | *nto*)
15720      # QNX uses GNU C++, but need to define -shared option too, otherwise
15721      # it will coredump.
15722      lt_prog_compiler_pic_CXX='-fPIC -shared'
15723      ;;
15724    *)
15725      lt_prog_compiler_pic_CXX='-fPIC'
15726      ;;
15727    esac
15728  else
15729    case $host_os in
15730      aix[4-9]*)
15731	# All AIX code is PIC.
15732	if test ia64 = "$host_cpu"; then
15733	  # AIX 5 now supports IA64 processor
15734	  lt_prog_compiler_static_CXX='-Bstatic'
15735	else
15736	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
15737	fi
15738	;;
15739      chorus*)
15740	case $cc_basename in
15741	cxch68*)
15742	  # Green Hills C++ Compiler
15743	  # _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"
15744	  ;;
15745	esac
15746	;;
15747      mingw* | cygwin* | os2* | pw32* | cegcc*)
15748	# This hack is so that the source file can tell whether it is being
15749	# built for inclusion in a dll (and should export symbols for example).
15750	lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
15751	;;
15752      dgux*)
15753	case $cc_basename in
15754	  ec++*)
15755	    lt_prog_compiler_pic_CXX='-KPIC'
15756	    ;;
15757	  ghcx*)
15758	    # Green Hills C++ Compiler
15759	    lt_prog_compiler_pic_CXX='-pic'
15760	    ;;
15761	  *)
15762	    ;;
15763	esac
15764	;;
15765      freebsd* | dragonfly*)
15766	# FreeBSD uses GNU C++
15767	;;
15768      hpux9* | hpux10* | hpux11*)
15769	case $cc_basename in
15770	  CC*)
15771	    lt_prog_compiler_wl_CXX='-Wl,'
15772	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15773	    if test ia64 != "$host_cpu"; then
15774	      lt_prog_compiler_pic_CXX='+Z'
15775	    fi
15776	    ;;
15777	  aCC*)
15778	    lt_prog_compiler_wl_CXX='-Wl,'
15779	    lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
15780	    case $host_cpu in
15781	    hppa*64*|ia64*)
15782	      # +Z the default
15783	      ;;
15784	    *)
15785	      lt_prog_compiler_pic_CXX='+Z'
15786	      ;;
15787	    esac
15788	    ;;
15789	  *)
15790	    ;;
15791	esac
15792	;;
15793      interix*)
15794	# This is c89, which is MS Visual C++ (no shared libs)
15795	# Anyone wants to do a port?
15796	;;
15797      irix5* | irix6* | nonstopux*)
15798	case $cc_basename in
15799	  CC*)
15800	    lt_prog_compiler_wl_CXX='-Wl,'
15801	    lt_prog_compiler_static_CXX='-non_shared'
15802	    # CC pic flag -KPIC is the default.
15803	    ;;
15804	  *)
15805	    ;;
15806	esac
15807	;;
15808      linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
15809	case $cc_basename in
15810	  KCC*)
15811	    # KAI C++ Compiler
15812	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15813	    lt_prog_compiler_pic_CXX='-fPIC'
15814	    ;;
15815	  ecpc* )
15816	    # old Intel C++ for x86_64, which still supported -KPIC.
15817	    lt_prog_compiler_wl_CXX='-Wl,'
15818	    lt_prog_compiler_pic_CXX='-KPIC'
15819	    lt_prog_compiler_static_CXX='-static'
15820	    ;;
15821	  icpc* )
15822	    # Intel C++, used to be incompatible with GCC.
15823	    # ICC 10 doesn't accept -KPIC any more.
15824	    lt_prog_compiler_wl_CXX='-Wl,'
15825	    lt_prog_compiler_pic_CXX='-fPIC'
15826	    lt_prog_compiler_static_CXX='-static'
15827	    ;;
15828	  pgCC* | pgcpp*)
15829	    # Portland Group C++ compiler
15830	    lt_prog_compiler_wl_CXX='-Wl,'
15831	    lt_prog_compiler_pic_CXX='-fpic'
15832	    lt_prog_compiler_static_CXX='-Bstatic'
15833	    ;;
15834	  cxx*)
15835	    # Compaq C++
15836	    # Make sure the PIC flag is empty.  It appears that all Alpha
15837	    # Linux and Compaq Tru64 Unix objects are PIC.
15838	    lt_prog_compiler_pic_CXX=
15839	    lt_prog_compiler_static_CXX='-non_shared'
15840	    ;;
15841	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
15842	    # IBM XL 8.0, 9.0 on PPC and BlueGene
15843	    lt_prog_compiler_wl_CXX='-Wl,'
15844	    lt_prog_compiler_pic_CXX='-qpic'
15845	    lt_prog_compiler_static_CXX='-qstaticlink'
15846	    ;;
15847	  *)
15848	    case `$CC -V 2>&1 | sed 5q` in
15849	    *Sun\ C*)
15850	      # Sun C++ 5.9
15851	      lt_prog_compiler_pic_CXX='-KPIC'
15852	      lt_prog_compiler_static_CXX='-Bstatic'
15853	      lt_prog_compiler_wl_CXX='-Qoption ld '
15854	      ;;
15855	    esac
15856	    ;;
15857	esac
15858	;;
15859      lynxos*)
15860	;;
15861      m88k*)
15862	;;
15863      mvs*)
15864	case $cc_basename in
15865	  cxx*)
15866	    lt_prog_compiler_pic_CXX='-W c,exportall'
15867	    ;;
15868	  *)
15869	    ;;
15870	esac
15871	;;
15872      netbsd*)
15873	;;
15874      *qnx* | *nto*)
15875        # QNX uses GNU C++, but need to define -shared option too, otherwise
15876        # it will coredump.
15877        lt_prog_compiler_pic_CXX='-fPIC -shared'
15878        ;;
15879      osf3* | osf4* | osf5*)
15880	case $cc_basename in
15881	  KCC*)
15882	    lt_prog_compiler_wl_CXX='--backend -Wl,'
15883	    ;;
15884	  RCC*)
15885	    # Rational C++ 2.4.1
15886	    lt_prog_compiler_pic_CXX='-pic'
15887	    ;;
15888	  cxx*)
15889	    # Digital/Compaq C++
15890	    lt_prog_compiler_wl_CXX='-Wl,'
15891	    # Make sure the PIC flag is empty.  It appears that all Alpha
15892	    # Linux and Compaq Tru64 Unix objects are PIC.
15893	    lt_prog_compiler_pic_CXX=
15894	    lt_prog_compiler_static_CXX='-non_shared'
15895	    ;;
15896	  *)
15897	    ;;
15898	esac
15899	;;
15900      psos*)
15901	;;
15902      solaris*)
15903	case $cc_basename in
15904	  CC* | sunCC*)
15905	    # Sun C++ 4.2, 5.x and Centerline C++
15906	    lt_prog_compiler_pic_CXX='-KPIC'
15907	    lt_prog_compiler_static_CXX='-Bstatic'
15908	    lt_prog_compiler_wl_CXX='-Qoption ld '
15909	    ;;
15910	  gcx*)
15911	    # Green Hills C++ Compiler
15912	    lt_prog_compiler_pic_CXX='-PIC'
15913	    ;;
15914	  *)
15915	    ;;
15916	esac
15917	;;
15918      sunos4*)
15919	case $cc_basename in
15920	  CC*)
15921	    # Sun C++ 4.x
15922	    lt_prog_compiler_pic_CXX='-pic'
15923	    lt_prog_compiler_static_CXX='-Bstatic'
15924	    ;;
15925	  lcc*)
15926	    # Lucid
15927	    lt_prog_compiler_pic_CXX='-pic'
15928	    ;;
15929	  *)
15930	    ;;
15931	esac
15932	;;
15933      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
15934	case $cc_basename in
15935	  CC*)
15936	    lt_prog_compiler_wl_CXX='-Wl,'
15937	    lt_prog_compiler_pic_CXX='-KPIC'
15938	    lt_prog_compiler_static_CXX='-Bstatic'
15939	    ;;
15940	esac
15941	;;
15942      tandem*)
15943	case $cc_basename in
15944	  NCC*)
15945	    # NonStop-UX NCC 3.20
15946	    lt_prog_compiler_pic_CXX='-KPIC'
15947	    ;;
15948	  *)
15949	    ;;
15950	esac
15951	;;
15952      vxworks*)
15953	;;
15954      *)
15955	lt_prog_compiler_can_build_shared_CXX=no
15956	;;
15957    esac
15958  fi
15959
15960case $host_os in
15961  # For platforms that do not support PIC, -DPIC is meaningless:
15962  *djgpp*)
15963    lt_prog_compiler_pic_CXX=
15964    ;;
15965  *)
15966    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
15967    ;;
15968esac
15969
15970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
15971$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
15972if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
15973  $as_echo_n "(cached) " >&6
15974else
15975  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
15976fi
15977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
15978$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
15979lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
15980
15981#
15982# Check to make sure the PIC flag actually works.
15983#
15984if test -n "$lt_prog_compiler_pic_CXX"; then
15985  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
15986$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
15987if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
15988  $as_echo_n "(cached) " >&6
15989else
15990  lt_cv_prog_compiler_pic_works_CXX=no
15991   ac_outfile=conftest.$ac_objext
15992   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15993   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"  ## exclude from sc_useless_quotes_in_assignment
15994   # Insert the option either (1) after the last *FLAGS variable, or
15995   # (2) before a word containing "conftest.", or (3) at the end.
15996   # Note that $ac_compile itself does not contain backslashes and begins
15997   # with a dollar sign (not a hyphen), so the echo should work correctly.
15998   # The option is referenced via a variable to avoid confusing sed.
15999   lt_compile=`echo "$ac_compile" | $SED \
16000   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16001   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16002   -e 's:$: $lt_compiler_flag:'`
16003   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16004   (eval "$lt_compile" 2>conftest.err)
16005   ac_status=$?
16006   cat conftest.err >&5
16007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008   if (exit $ac_status) && test -s "$ac_outfile"; then
16009     # The compiler can only warn and ignore the option if not recognized
16010     # So say no if there are warnings other than the usual output.
16011     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16012     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16013     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16014       lt_cv_prog_compiler_pic_works_CXX=yes
16015     fi
16016   fi
16017   $RM conftest*
16018
16019fi
16020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16021$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16022
16023if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
16024    case $lt_prog_compiler_pic_CXX in
16025     "" | " "*) ;;
16026     *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16027     esac
16028else
16029    lt_prog_compiler_pic_CXX=
16030     lt_prog_compiler_can_build_shared_CXX=no
16031fi
16032
16033fi
16034
16035
16036
16037
16038
16039#
16040# Check to make sure the static flag actually works.
16041#
16042wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16044$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16045if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16046  $as_echo_n "(cached) " >&6
16047else
16048  lt_cv_prog_compiler_static_works_CXX=no
16049   save_LDFLAGS=$LDFLAGS
16050   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16051   echo "$lt_simple_link_test_code" > conftest.$ac_ext
16052   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16053     # The linker can only warn and ignore the option if not recognized
16054     # So say no if there are warnings
16055     if test -s conftest.err; then
16056       # Append any errors to the config.log.
16057       cat conftest.err 1>&5
16058       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16059       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16060       if diff conftest.exp conftest.er2 >/dev/null; then
16061         lt_cv_prog_compiler_static_works_CXX=yes
16062       fi
16063     else
16064       lt_cv_prog_compiler_static_works_CXX=yes
16065     fi
16066   fi
16067   $RM -r conftest*
16068   LDFLAGS=$save_LDFLAGS
16069
16070fi
16071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16072$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16073
16074if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
16075    :
16076else
16077    lt_prog_compiler_static_CXX=
16078fi
16079
16080
16081
16082
16083    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16084$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16085if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16086  $as_echo_n "(cached) " >&6
16087else
16088  lt_cv_prog_compiler_c_o_CXX=no
16089   $RM -r conftest 2>/dev/null
16090   mkdir conftest
16091   cd conftest
16092   mkdir out
16093   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16094
16095   lt_compiler_flag="-o out/conftest2.$ac_objext"
16096   # Insert the option either (1) after the last *FLAGS variable, or
16097   # (2) before a word containing "conftest.", or (3) at the end.
16098   # Note that $ac_compile itself does not contain backslashes and begins
16099   # with a dollar sign (not a hyphen), so the echo should work correctly.
16100   lt_compile=`echo "$ac_compile" | $SED \
16101   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16102   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16103   -e 's:$: $lt_compiler_flag:'`
16104   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16105   (eval "$lt_compile" 2>out/conftest.err)
16106   ac_status=$?
16107   cat out/conftest.err >&5
16108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16110   then
16111     # The compiler can only warn and ignore the option if not recognized
16112     # So say no if there are warnings
16113     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16114     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16115     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16116       lt_cv_prog_compiler_c_o_CXX=yes
16117     fi
16118   fi
16119   chmod u+w . 2>&5
16120   $RM conftest*
16121   # SGI C++ compiler will create directory out/ii_files/ for
16122   # template instantiation
16123   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16124   $RM out/* && rmdir out
16125   cd ..
16126   $RM -r conftest
16127   $RM conftest*
16128
16129fi
16130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16131$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16132
16133
16134
16135    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16136$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16137if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16138  $as_echo_n "(cached) " >&6
16139else
16140  lt_cv_prog_compiler_c_o_CXX=no
16141   $RM -r conftest 2>/dev/null
16142   mkdir conftest
16143   cd conftest
16144   mkdir out
16145   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16146
16147   lt_compiler_flag="-o out/conftest2.$ac_objext"
16148   # Insert the option either (1) after the last *FLAGS variable, or
16149   # (2) before a word containing "conftest.", or (3) at the end.
16150   # Note that $ac_compile itself does not contain backslashes and begins
16151   # with a dollar sign (not a hyphen), so the echo should work correctly.
16152   lt_compile=`echo "$ac_compile" | $SED \
16153   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16154   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16155   -e 's:$: $lt_compiler_flag:'`
16156   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16157   (eval "$lt_compile" 2>out/conftest.err)
16158   ac_status=$?
16159   cat out/conftest.err >&5
16160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161   if (exit $ac_status) && test -s out/conftest2.$ac_objext
16162   then
16163     # The compiler can only warn and ignore the option if not recognized
16164     # So say no if there are warnings
16165     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16166     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16167     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16168       lt_cv_prog_compiler_c_o_CXX=yes
16169     fi
16170   fi
16171   chmod u+w . 2>&5
16172   $RM conftest*
16173   # SGI C++ compiler will create directory out/ii_files/ for
16174   # template instantiation
16175   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16176   $RM out/* && rmdir out
16177   cd ..
16178   $RM -r conftest
16179   $RM conftest*
16180
16181fi
16182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16183$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16184
16185
16186
16187
16188hard_links=nottested
16189if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
16190  # do not overwrite the value of need_locks provided by the user
16191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16192$as_echo_n "checking if we can lock with hard links... " >&6; }
16193  hard_links=yes
16194  $RM conftest*
16195  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16196  touch conftest.a
16197  ln conftest.a conftest.b 2>&5 || hard_links=no
16198  ln conftest.a conftest.b 2>/dev/null && hard_links=no
16199  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16200$as_echo "$hard_links" >&6; }
16201  if test no = "$hard_links"; then
16202    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
16203$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
16204    need_locks=warn
16205  fi
16206else
16207  need_locks=no
16208fi
16209
16210
16211
16212    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16213$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16214
16215  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16216  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16217  case $host_os in
16218  aix[4-9]*)
16219    # If we're using GNU nm, then we don't want the "-C" option.
16220    # -C means demangle to GNU nm, but means don't demangle to AIX nm.
16221    # Without the "-l" option, or with the "-B" option, AIX nm treats
16222    # weak defined symbols like other global defined symbols, whereas
16223    # GNU nm marks them as "W".
16224    # While the 'weak' keyword is ignored in the Export File, we need
16225    # it in the Import File for the 'aix-soname' feature, so we have
16226    # to replace the "-B" option with "-P" for AIX nm.
16227    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16228      export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
16229    else
16230      export_symbols_cmds_CXX='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
16231    fi
16232    ;;
16233  pw32*)
16234    export_symbols_cmds_CXX=$ltdll_cmds
16235    ;;
16236  cygwin* | mingw* | cegcc*)
16237    case $cc_basename in
16238    cl*)
16239      exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16240      ;;
16241    *)
16242      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'
16243      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16244      ;;
16245    esac
16246    ;;
16247  *)
16248    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16249    ;;
16250  esac
16251
16252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16253$as_echo "$ld_shlibs_CXX" >&6; }
16254test no = "$ld_shlibs_CXX" && can_build_shared=no
16255
16256with_gnu_ld_CXX=$with_gnu_ld
16257
16258
16259
16260
16261
16262
16263#
16264# Do we need to explicitly link libc?
16265#
16266case "x$archive_cmds_need_lc_CXX" in
16267x|xyes)
16268  # Assume -lc should be added
16269  archive_cmds_need_lc_CXX=yes
16270
16271  if test yes,yes = "$GCC,$enable_shared"; then
16272    case $archive_cmds_CXX in
16273    *'~'*)
16274      # FIXME: we may have to deal with multi-command sequences.
16275      ;;
16276    '$CC '*)
16277      # Test whether the compiler implicitly links with -lc since on some
16278      # systems, -lgcc has to come before -lc. If gcc already passes -lc
16279      # to ld, don't add -lc before -lgcc.
16280      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16281$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16282if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16283  $as_echo_n "(cached) " >&6
16284else
16285  $RM conftest*
16286	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16287
16288	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16289  (eval $ac_compile) 2>&5
16290  ac_status=$?
16291  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16292  test $ac_status = 0; } 2>conftest.err; then
16293	  soname=conftest
16294	  lib=conftest
16295	  libobjs=conftest.$ac_objext
16296	  deplibs=
16297	  wl=$lt_prog_compiler_wl_CXX
16298	  pic_flag=$lt_prog_compiler_pic_CXX
16299	  compiler_flags=-v
16300	  linker_flags=-v
16301	  verstring=
16302	  output_objdir=.
16303	  libname=conftest
16304	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16305	  allow_undefined_flag_CXX=
16306	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16307  (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16308  ac_status=$?
16309  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16310  test $ac_status = 0; }
16311	  then
16312	    lt_cv_archive_cmds_need_lc_CXX=no
16313	  else
16314	    lt_cv_archive_cmds_need_lc_CXX=yes
16315	  fi
16316	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16317	else
16318	  cat conftest.err 1>&5
16319	fi
16320	$RM conftest*
16321
16322fi
16323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16324$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16325      archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16326      ;;
16327    esac
16328  fi
16329  ;;
16330esac
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16394$as_echo_n "checking dynamic linker characteristics... " >&6; }
16395
16396library_names_spec=
16397libname_spec='lib$name'
16398soname_spec=
16399shrext_cmds=.so
16400postinstall_cmds=
16401postuninstall_cmds=
16402finish_cmds=
16403finish_eval=
16404shlibpath_var=
16405shlibpath_overrides_runpath=unknown
16406version_type=none
16407dynamic_linker="$host_os ld.so"
16408sys_lib_dlsearch_path_spec="/lib /usr/lib"
16409need_lib_prefix=unknown
16410hardcode_into_libs=no
16411
16412# when you set need_version to no, make sure it does not cause -set_version
16413# flags to be left without arguments
16414need_version=unknown
16415
16416
16417
16418case $host_os in
16419aix3*)
16420  version_type=linux # correct to gnu/linux during the next big refactor
16421  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
16422  shlibpath_var=LIBPATH
16423
16424  # AIX 3 has no versioning support, so we append a major version to the name.
16425  soname_spec='$libname$release$shared_ext$major'
16426  ;;
16427
16428aix[4-9]*)
16429  version_type=linux # correct to gnu/linux during the next big refactor
16430  need_lib_prefix=no
16431  need_version=no
16432  hardcode_into_libs=yes
16433  if test ia64 = "$host_cpu"; then
16434    # AIX 5 supports IA64
16435    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
16436    shlibpath_var=LD_LIBRARY_PATH
16437  else
16438    # With GCC up to 2.95.x, collect2 would create an import file
16439    # for dependence libraries.  The import file would start with
16440    # the line '#! .'.  This would cause the generated library to
16441    # depend on '.', always an invalid library.  This was fixed in
16442    # development snapshots of GCC prior to 3.0.
16443    case $host_os in
16444      aix4 | aix4.[01] | aix4.[01].*)
16445      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16446	   echo ' yes '
16447	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
16448	:
16449      else
16450	can_build_shared=no
16451      fi
16452      ;;
16453    esac
16454    # Using Import Files as archive members, it is possible to support
16455    # filename-based versioning of shared library archives on AIX. While
16456    # this would work for both with and without runtime linking, it will
16457    # prevent static linking of such archives. So we do filename-based
16458    # shared library versioning with .so extension only, which is used
16459    # when both runtime linking and shared linking is enabled.
16460    # Unfortunately, runtime linking may impact performance, so we do
16461    # not want this to be the default eventually. Also, we use the
16462    # versioned .so libs for executables only if there is the -brtl
16463    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
16464    # To allow for filename-based versioning support, we need to create
16465    # libNAME.so.V as an archive file, containing:
16466    # *) an Import File, referring to the versioned filename of the
16467    #    archive as well as the shared archive member, telling the
16468    #    bitwidth (32 or 64) of that shared object, and providing the
16469    #    list of exported symbols of that shared object, eventually
16470    #    decorated with the 'weak' keyword
16471    # *) the shared object with the F_LOADONLY flag set, to really avoid
16472    #    it being seen by the linker.
16473    # At run time we better use the real file rather than another symlink,
16474    # but for link time we create the symlink libNAME.so -> libNAME.so.V
16475
16476    case $with_aix_soname,$aix_use_runtimelinking in
16477    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
16478    # soname into executable. Probably we can add versioning support to
16479    # collect2, so additional links can be useful in future.
16480    aix,yes) # traditional libtool
16481      dynamic_linker='AIX unversionable lib.so'
16482      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16483      # instead of lib<name>.a to let people know that these are not
16484      # typical AIX shared libraries.
16485      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16486      ;;
16487    aix,no) # traditional AIX only
16488      dynamic_linker='AIX lib.a(lib.so.V)'
16489      # We preserve .a as extension for shared libraries through AIX4.2
16490      # and later when we are not doing run time linking.
16491      library_names_spec='$libname$release.a $libname.a'
16492      soname_spec='$libname$release$shared_ext$major'
16493      ;;
16494    svr4,*) # full svr4 only
16495      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
16496      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16497      # We do not specify a path in Import Files, so LIBPATH fires.
16498      shlibpath_overrides_runpath=yes
16499      ;;
16500    *,yes) # both, prefer svr4
16501      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
16502      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
16503      # unpreferred sharedlib libNAME.a needs extra handling
16504      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
16505      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
16506      # We do not specify a path in Import Files, so LIBPATH fires.
16507      shlibpath_overrides_runpath=yes
16508      ;;
16509    *,no) # both, prefer aix
16510      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
16511      library_names_spec='$libname$release.a $libname.a'
16512      soname_spec='$libname$release$shared_ext$major'
16513      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
16514      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
16515      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
16516      ;;
16517    esac
16518    shlibpath_var=LIBPATH
16519  fi
16520  ;;
16521
16522amigaos*)
16523  case $host_cpu in
16524  powerpc)
16525    # Since July 2007 AmigaOS4 officially supports .so libraries.
16526    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16527    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16528    ;;
16529  m68k)
16530    library_names_spec='$libname.ixlibrary $libname.a'
16531    # Create ${libname}_ixlibrary.a entries in /sys/libs.
16532    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
16533    ;;
16534  esac
16535  ;;
16536
16537beos*)
16538  library_names_spec='$libname$shared_ext'
16539  dynamic_linker="$host_os ld.so"
16540  shlibpath_var=LIBRARY_PATH
16541  ;;
16542
16543bsdi[45]*)
16544  version_type=linux # correct to gnu/linux during the next big refactor
16545  need_version=no
16546  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16547  soname_spec='$libname$release$shared_ext$major'
16548  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16549  shlibpath_var=LD_LIBRARY_PATH
16550  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16551  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16552  # the default ld.so.conf also contains /usr/contrib/lib and
16553  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16554  # libtool to hard-code these into programs
16555  ;;
16556
16557cygwin* | mingw* | pw32* | cegcc*)
16558  version_type=windows
16559  shrext_cmds=.dll
16560  need_version=no
16561  need_lib_prefix=no
16562
16563  case $GCC,$cc_basename in
16564  yes,*)
16565    # gcc
16566    library_names_spec='$libname.dll.a'
16567    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16568    postinstall_cmds='base_file=`basename \$file`~
16569      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16570      dldir=$destdir/`dirname \$dlpath`~
16571      test -d \$dldir || mkdir -p \$dldir~
16572      $install_prog $dir/$dlname \$dldir/$dlname~
16573      chmod a+x \$dldir/$dlname~
16574      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16575        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16576      fi'
16577    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16578      dlpath=$dir/\$dldll~
16579       $RM \$dlpath'
16580    shlibpath_overrides_runpath=yes
16581
16582    case $host_os in
16583    cygwin*)
16584      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16585      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16586
16587      ;;
16588    mingw* | cegcc*)
16589      # MinGW DLLs use traditional 'lib' prefix
16590      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16591      ;;
16592    pw32*)
16593      # pw32 DLLs use 'pw' prefix rather than 'lib'
16594      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16595      ;;
16596    esac
16597    dynamic_linker='Win32 ld.exe'
16598    ;;
16599
16600  *,cl*)
16601    # Native MSVC
16602    libname_spec='$name'
16603    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
16604    library_names_spec='$libname.dll.lib'
16605
16606    case $build_os in
16607    mingw*)
16608      sys_lib_search_path_spec=
16609      lt_save_ifs=$IFS
16610      IFS=';'
16611      for lt_path in $LIB
16612      do
16613        IFS=$lt_save_ifs
16614        # Let DOS variable expansion print the short 8.3 style file name.
16615        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16616        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16617      done
16618      IFS=$lt_save_ifs
16619      # Convert to MSYS style.
16620      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16621      ;;
16622    cygwin*)
16623      # Convert to unix form, then to dos form, then back to unix form
16624      # but this time dos style (no spaces!) so that the unix form looks
16625      # like /cygdrive/c/PROGRA~1:/cygdr...
16626      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16627      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16628      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16629      ;;
16630    *)
16631      sys_lib_search_path_spec=$LIB
16632      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16633        # It is most probably a Windows format PATH.
16634        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16635      else
16636        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16637      fi
16638      # FIXME: find the short name or the path components, as spaces are
16639      # common. (e.g. "Program Files" -> "PROGRA~1")
16640      ;;
16641    esac
16642
16643    # DLL is installed to $(libdir)/../bin by postinstall_cmds
16644    postinstall_cmds='base_file=`basename \$file`~
16645      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
16646      dldir=$destdir/`dirname \$dlpath`~
16647      test -d \$dldir || mkdir -p \$dldir~
16648      $install_prog $dir/$dlname \$dldir/$dlname'
16649    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16650      dlpath=$dir/\$dldll~
16651       $RM \$dlpath'
16652    shlibpath_overrides_runpath=yes
16653    dynamic_linker='Win32 link.exe'
16654    ;;
16655
16656  *)
16657    # Assume MSVC wrapper
16658    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
16659    dynamic_linker='Win32 ld.exe'
16660    ;;
16661  esac
16662  # FIXME: first we should search . and the directory the executable is in
16663  shlibpath_var=PATH
16664  ;;
16665
16666darwin* | rhapsody*)
16667  dynamic_linker="$host_os dyld"
16668  version_type=darwin
16669  need_lib_prefix=no
16670  need_version=no
16671  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
16672  soname_spec='$libname$release$major$shared_ext'
16673  shlibpath_overrides_runpath=yes
16674  shlibpath_var=DYLD_LIBRARY_PATH
16675  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16676
16677  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16678  ;;
16679
16680dgux*)
16681  version_type=linux # correct to gnu/linux during the next big refactor
16682  need_lib_prefix=no
16683  need_version=no
16684  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16685  soname_spec='$libname$release$shared_ext$major'
16686  shlibpath_var=LD_LIBRARY_PATH
16687  ;;
16688
16689freebsd* | dragonfly*)
16690  # DragonFly does not have aout.  When/if they implement a new
16691  # versioning mechanism, adjust this.
16692  if test -x /usr/bin/objformat; then
16693    objformat=`/usr/bin/objformat`
16694  else
16695    case $host_os in
16696    freebsd[23].*) objformat=aout ;;
16697    *) objformat=elf ;;
16698    esac
16699  fi
16700  version_type=freebsd-$objformat
16701  case $version_type in
16702    freebsd-elf*)
16703      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16704      soname_spec='$libname$release$shared_ext$major'
16705      need_version=no
16706      need_lib_prefix=no
16707      ;;
16708    freebsd-*)
16709      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16710      need_version=yes
16711      ;;
16712  esac
16713  shlibpath_var=LD_LIBRARY_PATH
16714  case $host_os in
16715  freebsd2.*)
16716    shlibpath_overrides_runpath=yes
16717    ;;
16718  freebsd3.[01]* | freebsdelf3.[01]*)
16719    shlibpath_overrides_runpath=yes
16720    hardcode_into_libs=yes
16721    ;;
16722  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
16723  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
16724    shlibpath_overrides_runpath=no
16725    hardcode_into_libs=yes
16726    ;;
16727  *) # from 4.6 on, and DragonFly
16728    shlibpath_overrides_runpath=yes
16729    hardcode_into_libs=yes
16730    ;;
16731  esac
16732  ;;
16733
16734haiku*)
16735  version_type=linux # correct to gnu/linux during the next big refactor
16736  need_lib_prefix=no
16737  need_version=no
16738  dynamic_linker="$host_os runtime_loader"
16739  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16740  soname_spec='$libname$release$shared_ext$major'
16741  shlibpath_var=LIBRARY_PATH
16742  shlibpath_overrides_runpath=no
16743  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
16744  hardcode_into_libs=yes
16745  ;;
16746
16747hpux9* | hpux10* | hpux11*)
16748  # Give a soname corresponding to the major version so that dld.sl refuses to
16749  # link against other versions.
16750  version_type=sunos
16751  need_lib_prefix=no
16752  need_version=no
16753  case $host_cpu in
16754  ia64*)
16755    shrext_cmds='.so'
16756    hardcode_into_libs=yes
16757    dynamic_linker="$host_os dld.so"
16758    shlibpath_var=LD_LIBRARY_PATH
16759    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16760    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16761    soname_spec='$libname$release$shared_ext$major'
16762    if test 32 = "$HPUX_IA64_MODE"; then
16763      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16764      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
16765    else
16766      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16767      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
16768    fi
16769    ;;
16770  hppa*64*)
16771    shrext_cmds='.sl'
16772    hardcode_into_libs=yes
16773    dynamic_linker="$host_os dld.sl"
16774    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16775    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16776    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16777    soname_spec='$libname$release$shared_ext$major'
16778    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16779    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16780    ;;
16781  *)
16782    shrext_cmds='.sl'
16783    dynamic_linker="$host_os dld.sl"
16784    shlibpath_var=SHLIB_PATH
16785    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16786    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16787    soname_spec='$libname$release$shared_ext$major'
16788    ;;
16789  esac
16790  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
16791  postinstall_cmds='chmod 555 $lib'
16792  # or fails outright, so override atomically:
16793  install_override_mode=555
16794  ;;
16795
16796interix[3-9]*)
16797  version_type=linux # correct to gnu/linux during the next big refactor
16798  need_lib_prefix=no
16799  need_version=no
16800  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16801  soname_spec='$libname$release$shared_ext$major'
16802  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
16803  shlibpath_var=LD_LIBRARY_PATH
16804  shlibpath_overrides_runpath=no
16805  hardcode_into_libs=yes
16806  ;;
16807
16808irix5* | irix6* | nonstopux*)
16809  case $host_os in
16810    nonstopux*) version_type=nonstopux ;;
16811    *)
16812	if test yes = "$lt_cv_prog_gnu_ld"; then
16813		version_type=linux # correct to gnu/linux during the next big refactor
16814	else
16815		version_type=irix
16816	fi ;;
16817  esac
16818  need_lib_prefix=no
16819  need_version=no
16820  soname_spec='$libname$release$shared_ext$major'
16821  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
16822  case $host_os in
16823  irix5* | nonstopux*)
16824    libsuff= shlibsuff=
16825    ;;
16826  *)
16827    case $LD in # libtool.m4 will add one of these switches to LD
16828    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16829      libsuff= shlibsuff= libmagic=32-bit;;
16830    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16831      libsuff=32 shlibsuff=N32 libmagic=N32;;
16832    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16833      libsuff=64 shlibsuff=64 libmagic=64-bit;;
16834    *) libsuff= shlibsuff= libmagic=never-match;;
16835    esac
16836    ;;
16837  esac
16838  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16839  shlibpath_overrides_runpath=no
16840  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
16841  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
16842  hardcode_into_libs=yes
16843  ;;
16844
16845# No shared lib support for Linux oldld, aout, or coff.
16846linux*oldld* | linux*aout* | linux*coff*)
16847  dynamic_linker=no
16848  ;;
16849
16850linux*android*)
16851  version_type=none # Android doesn't support versioned libraries.
16852  need_lib_prefix=no
16853  need_version=no
16854  library_names_spec='$libname$release$shared_ext'
16855  soname_spec='$libname$release$shared_ext'
16856  finish_cmds=
16857  shlibpath_var=LD_LIBRARY_PATH
16858  shlibpath_overrides_runpath=yes
16859
16860  # This implies no fast_install, which is unacceptable.
16861  # Some rework will be needed to allow for fast_install
16862  # before this can be enabled.
16863  hardcode_into_libs=yes
16864
16865  dynamic_linker='Android linker'
16866  # Don't embed -rpath directories since the linker doesn't support them.
16867  hardcode_libdir_flag_spec_CXX='-L$libdir'
16868  ;;
16869
16870# This must be glibc/ELF.
16871linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16872  version_type=linux # correct to gnu/linux during the next big refactor
16873  need_lib_prefix=no
16874  need_version=no
16875  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16876  soname_spec='$libname$release$shared_ext$major'
16877  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16878  shlibpath_var=LD_LIBRARY_PATH
16879  shlibpath_overrides_runpath=no
16880
16881  # Some binutils ld are patched to set DT_RUNPATH
16882  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
16883  $as_echo_n "(cached) " >&6
16884else
16885  lt_cv_shlibpath_overrides_runpath=no
16886    save_LDFLAGS=$LDFLAGS
16887    save_libdir=$libdir
16888    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
16889	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
16890    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891/* end confdefs.h.  */
16892
16893int
16894main ()
16895{
16896
16897  ;
16898  return 0;
16899}
16900_ACEOF
16901if ac_fn_cxx_try_link "$LINENO"; then :
16902  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
16903  lt_cv_shlibpath_overrides_runpath=yes
16904fi
16905fi
16906rm -f core conftest.err conftest.$ac_objext \
16907    conftest$ac_exeext conftest.$ac_ext
16908    LDFLAGS=$save_LDFLAGS
16909    libdir=$save_libdir
16910
16911fi
16912
16913  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
16914
16915  # This implies no fast_install, which is unacceptable.
16916  # Some rework will be needed to allow for fast_install
16917  # before this can be enabled.
16918  hardcode_into_libs=yes
16919
16920  # Ideally, we could use ldconfig to report *all* directores which are
16921  # searched for libraries, however this is still not possible.  Aside from not
16922  # being certain /sbin/ldconfig is available, command
16923  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
16924  # even though it is searched at run-time.  Try to do the best guess by
16925  # appending ld.so.conf contents (and includes) to the search path.
16926  if test -f /etc/ld.so.conf; then
16927    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' ' '`
16928    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
16929  fi
16930
16931  # We used to test for /lib/ld.so.1 and disable shared libraries on
16932  # powerpc, because MkLinux only supported shared libraries with the
16933  # GNU dynamic linker.  Since this was broken with cross compilers,
16934  # most powerpc-linux boxes support dynamic linking these days and
16935  # people can always --disable-shared, the test was removed, and we
16936  # assume the GNU/Linux dynamic linker is in use.
16937  dynamic_linker='GNU/Linux ld.so'
16938  ;;
16939
16940netbsd*)
16941  version_type=sunos
16942  need_lib_prefix=no
16943  need_version=no
16944  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16945    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16946    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16947    dynamic_linker='NetBSD (a.out) ld.so'
16948  else
16949    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16950    soname_spec='$libname$release$shared_ext$major'
16951    dynamic_linker='NetBSD ld.elf_so'
16952  fi
16953  shlibpath_var=LD_LIBRARY_PATH
16954  shlibpath_overrides_runpath=yes
16955  hardcode_into_libs=yes
16956  ;;
16957
16958newsos6)
16959  version_type=linux # correct to gnu/linux during the next big refactor
16960  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16961  shlibpath_var=LD_LIBRARY_PATH
16962  shlibpath_overrides_runpath=yes
16963  ;;
16964
16965*nto* | *qnx*)
16966  version_type=qnx
16967  need_lib_prefix=no
16968  need_version=no
16969  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
16970  soname_spec='$libname$release$shared_ext$major'
16971  shlibpath_var=LD_LIBRARY_PATH
16972  shlibpath_overrides_runpath=no
16973  hardcode_into_libs=yes
16974  dynamic_linker='ldqnx.so'
16975  ;;
16976
16977openbsd* | bitrig*)
16978  version_type=sunos
16979  sys_lib_dlsearch_path_spec=/usr/lib
16980  need_lib_prefix=no
16981  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
16982    need_version=no
16983  else
16984    need_version=yes
16985  fi
16986  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
16987  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16988  shlibpath_var=LD_LIBRARY_PATH
16989  shlibpath_overrides_runpath=yes
16990  ;;
16991
16992os2*)
16993  libname_spec='$name'
16994  version_type=windows
16995  shrext_cmds=.dll
16996  need_version=no
16997  need_lib_prefix=no
16998  # OS/2 can only load a DLL with a base name of 8 characters or less.
16999  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
17000    v=$($ECHO $release$versuffix | tr -d .-);
17001    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
17002    $ECHO $n$v`$shared_ext'
17003  library_names_spec='${libname}_dll.$libext'
17004  dynamic_linker='OS/2 ld.exe'
17005  shlibpath_var=BEGINLIBPATH
17006  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
17007  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17008  postinstall_cmds='base_file=`basename \$file`~
17009    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
17010    dldir=$destdir/`dirname \$dlpath`~
17011    test -d \$dldir || mkdir -p \$dldir~
17012    $install_prog $dir/$dlname \$dldir/$dlname~
17013    chmod a+x \$dldir/$dlname~
17014    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17015      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17016    fi'
17017  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
17018    dlpath=$dir/\$dldll~
17019    $RM \$dlpath'
17020  ;;
17021
17022osf3* | osf4* | osf5*)
17023  version_type=osf
17024  need_lib_prefix=no
17025  need_version=no
17026  soname_spec='$libname$release$shared_ext$major'
17027  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17028  shlibpath_var=LD_LIBRARY_PATH
17029  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17030  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17031  ;;
17032
17033rdos*)
17034  dynamic_linker=no
17035  ;;
17036
17037solaris*)
17038  version_type=linux # correct to gnu/linux during the next big refactor
17039  need_lib_prefix=no
17040  need_version=no
17041  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17042  soname_spec='$libname$release$shared_ext$major'
17043  shlibpath_var=LD_LIBRARY_PATH
17044  shlibpath_overrides_runpath=yes
17045  hardcode_into_libs=yes
17046  # ldd complains unless libraries are executable
17047  postinstall_cmds='chmod +x $lib'
17048  ;;
17049
17050sunos4*)
17051  version_type=sunos
17052  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17053  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17054  shlibpath_var=LD_LIBRARY_PATH
17055  shlibpath_overrides_runpath=yes
17056  if test yes = "$with_gnu_ld"; then
17057    need_lib_prefix=no
17058  fi
17059  need_version=yes
17060  ;;
17061
17062sysv4 | sysv4.3*)
17063  version_type=linux # correct to gnu/linux during the next big refactor
17064  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17065  soname_spec='$libname$release$shared_ext$major'
17066  shlibpath_var=LD_LIBRARY_PATH
17067  case $host_vendor in
17068    sni)
17069      shlibpath_overrides_runpath=no
17070      need_lib_prefix=no
17071      runpath_var=LD_RUN_PATH
17072      ;;
17073    siemens)
17074      need_lib_prefix=no
17075      ;;
17076    motorola)
17077      need_lib_prefix=no
17078      need_version=no
17079      shlibpath_overrides_runpath=no
17080      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17081      ;;
17082  esac
17083  ;;
17084
17085sysv4*MP*)
17086  if test -d /usr/nec; then
17087    version_type=linux # correct to gnu/linux during the next big refactor
17088    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
17089    soname_spec='$libname$shared_ext.$major'
17090    shlibpath_var=LD_LIBRARY_PATH
17091  fi
17092  ;;
17093
17094sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17095  version_type=sco
17096  need_lib_prefix=no
17097  need_version=no
17098  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
17099  soname_spec='$libname$release$shared_ext$major'
17100  shlibpath_var=LD_LIBRARY_PATH
17101  shlibpath_overrides_runpath=yes
17102  hardcode_into_libs=yes
17103  if test yes = "$with_gnu_ld"; then
17104    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17105  else
17106    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17107    case $host_os in
17108      sco3.2v5*)
17109        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17110	;;
17111    esac
17112  fi
17113  sys_lib_dlsearch_path_spec='/usr/lib'
17114  ;;
17115
17116tpf*)
17117  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
17118  version_type=linux # correct to gnu/linux during the next big refactor
17119  need_lib_prefix=no
17120  need_version=no
17121  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17122  shlibpath_var=LD_LIBRARY_PATH
17123  shlibpath_overrides_runpath=no
17124  hardcode_into_libs=yes
17125  ;;
17126
17127uts4*)
17128  version_type=linux # correct to gnu/linux during the next big refactor
17129  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17130  soname_spec='$libname$release$shared_ext$major'
17131  shlibpath_var=LD_LIBRARY_PATH
17132  ;;
17133
17134*)
17135  dynamic_linker=no
17136  ;;
17137esac
17138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17139$as_echo "$dynamic_linker" >&6; }
17140test no = "$dynamic_linker" && can_build_shared=no
17141
17142variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17143if test yes = "$GCC"; then
17144  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17145fi
17146
17147if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
17148  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
17149fi
17150
17151if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
17152  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
17153fi
17154
17155# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
17156configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
17157
17158# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
17159func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
17160
17161# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
17162configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17204$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17205hardcode_action_CXX=
17206if test -n "$hardcode_libdir_flag_spec_CXX" ||
17207   test -n "$runpath_var_CXX" ||
17208   test yes = "$hardcode_automatic_CXX"; then
17209
17210  # We can hardcode non-existent directories.
17211  if test no != "$hardcode_direct_CXX" &&
17212     # If the only mechanism to avoid hardcoding is shlibpath_var, we
17213     # have to relink, otherwise we might link with an installed library
17214     # when we should be linking with a yet-to-be-installed one
17215     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
17216     test no != "$hardcode_minus_L_CXX"; then
17217    # Linking always hardcodes the temporary library directory.
17218    hardcode_action_CXX=relink
17219  else
17220    # We can link without hardcoding, and we can hardcode nonexisting dirs.
17221    hardcode_action_CXX=immediate
17222  fi
17223else
17224  # We cannot hardcode anything, or else we can only hardcode existing
17225  # directories.
17226  hardcode_action_CXX=unsupported
17227fi
17228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17229$as_echo "$hardcode_action_CXX" >&6; }
17230
17231if test relink = "$hardcode_action_CXX" ||
17232   test yes = "$inherit_rpath_CXX"; then
17233  # Fast installation is not supported
17234  enable_fast_install=no
17235elif test yes = "$shlibpath_overrides_runpath" ||
17236     test no = "$enable_shared"; then
17237  # Fast installation is not necessary
17238  enable_fast_install=needless
17239fi
17240
17241
17242
17243
17244
17245
17246
17247  fi # test -n "$compiler"
17248
17249  CC=$lt_save_CC
17250  CFLAGS=$lt_save_CFLAGS
17251  LDCXX=$LD
17252  LD=$lt_save_LD
17253  GCC=$lt_save_GCC
17254  with_gnu_ld=$lt_save_with_gnu_ld
17255  lt_cv_path_LDCXX=$lt_cv_path_LD
17256  lt_cv_path_LD=$lt_save_path_LD
17257  lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17258  lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17259fi # test yes != "$_lt_caught_CXX_error"
17260
17261ac_ext=c
17262ac_cpp='$CPP $CPPFLAGS'
17263ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17264ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17265ac_compiler_gnu=$ac_cv_c_compiler_gnu
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281        ac_config_commands="$ac_config_commands libtool"
17282
17283
17284
17285
17286# Only expand once:
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
17300	if test -n "$ac_tool_prefix"; then
17301  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
17302set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17304$as_echo_n "checking for $ac_word... " >&6; }
17305if ${ac_cv_path_PKG_CONFIG+:} false; then :
17306  $as_echo_n "(cached) " >&6
17307else
17308  case $PKG_CONFIG in
17309  [\\/]* | ?:[\\/]*)
17310  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
17311  ;;
17312  *)
17313  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17314for as_dir in $PATH
17315do
17316  IFS=$as_save_IFS
17317  test -z "$as_dir" && as_dir=.
17318    for ac_exec_ext in '' $ac_executable_extensions; do
17319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17320    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17322    break 2
17323  fi
17324done
17325  done
17326IFS=$as_save_IFS
17327
17328  ;;
17329esac
17330fi
17331PKG_CONFIG=$ac_cv_path_PKG_CONFIG
17332if test -n "$PKG_CONFIG"; then
17333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
17334$as_echo "$PKG_CONFIG" >&6; }
17335else
17336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17337$as_echo "no" >&6; }
17338fi
17339
17340
17341fi
17342if test -z "$ac_cv_path_PKG_CONFIG"; then
17343  ac_pt_PKG_CONFIG=$PKG_CONFIG
17344  # Extract the first word of "pkg-config", so it can be a program name with args.
17345set dummy pkg-config; ac_word=$2
17346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17347$as_echo_n "checking for $ac_word... " >&6; }
17348if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
17349  $as_echo_n "(cached) " >&6
17350else
17351  case $ac_pt_PKG_CONFIG in
17352  [\\/]* | ?:[\\/]*)
17353  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
17354  ;;
17355  *)
17356  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17357for as_dir in $PATH
17358do
17359  IFS=$as_save_IFS
17360  test -z "$as_dir" && as_dir=.
17361    for ac_exec_ext in '' $ac_executable_extensions; do
17362  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17363    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17365    break 2
17366  fi
17367done
17368  done
17369IFS=$as_save_IFS
17370
17371  ;;
17372esac
17373fi
17374ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
17375if test -n "$ac_pt_PKG_CONFIG"; then
17376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
17377$as_echo "$ac_pt_PKG_CONFIG" >&6; }
17378else
17379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17380$as_echo "no" >&6; }
17381fi
17382
17383  if test "x$ac_pt_PKG_CONFIG" = x; then
17384    PKG_CONFIG=""
17385  else
17386    case $cross_compiling:$ac_tool_warned in
17387yes:)
17388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
17389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
17390ac_tool_warned=yes ;;
17391esac
17392    PKG_CONFIG=$ac_pt_PKG_CONFIG
17393  fi
17394else
17395  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
17396fi
17397
17398fi
17399if test -n "$PKG_CONFIG"; then
17400	_pkg_min_version=0.9.0
17401	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
17402$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
17403	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17404		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17405$as_echo "yes" >&6; }
17406	else
17407		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17408$as_echo "no" >&6; }
17409		PKG_CONFIG=""
17410	fi
17411fi
17412
17413pkg_failed=no
17414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML" >&5
17415$as_echo_n "checking for XML... " >&6; }
17416
17417if test -n "$XML_CFLAGS"; then
17418    pkg_cv_XML_CFLAGS="$XML_CFLAGS"
17419 elif test -n "$PKG_CONFIG"; then
17420    if test -n "$PKG_CONFIG" && \
17421    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$XML_REQUIRED\""; } >&5
17422  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $XML_REQUIRED") 2>&5
17423  ac_status=$?
17424  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17425  test $ac_status = 0; }; then
17426  pkg_cv_XML_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= $XML_REQUIRED" 2>/dev/null`
17427		      test "x$?" != "x0" && pkg_failed=yes
17428else
17429  pkg_failed=yes
17430fi
17431 else
17432    pkg_failed=untried
17433fi
17434if test -n "$XML_LIBS"; then
17435    pkg_cv_XML_LIBS="$XML_LIBS"
17436 elif test -n "$PKG_CONFIG"; then
17437    if test -n "$PKG_CONFIG" && \
17438    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= \$XML_REQUIRED\""; } >&5
17439  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= $XML_REQUIRED") 2>&5
17440  ac_status=$?
17441  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17442  test $ac_status = 0; }; then
17443  pkg_cv_XML_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= $XML_REQUIRED" 2>/dev/null`
17444		      test "x$?" != "x0" && pkg_failed=yes
17445else
17446  pkg_failed=yes
17447fi
17448 else
17449    pkg_failed=untried
17450fi
17451
17452
17453
17454if test $pkg_failed = yes; then
17455   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17456$as_echo "no" >&6; }
17457
17458if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17459        _pkg_short_errors_supported=yes
17460else
17461        _pkg_short_errors_supported=no
17462fi
17463        if test $_pkg_short_errors_supported = yes; then
17464	        XML_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= $XML_REQUIRED" 2>&1`
17465        else
17466	        XML_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= $XML_REQUIRED" 2>&1`
17467        fi
17468	# Put the nasty error message in config.log where it belongs
17469	echo "$XML_PKG_ERRORS" >&5
17470
17471	as_fn_error $? "Package requirements (libxml-2.0 >= $XML_REQUIRED) were not met:
17472
17473$XML_PKG_ERRORS
17474
17475Consider adjusting the PKG_CONFIG_PATH environment variable if you
17476installed software in a non-standard prefix.
17477
17478Alternatively, you may set the environment variables XML_CFLAGS
17479and XML_LIBS to avoid the need to call pkg-config.
17480See the pkg-config man page for more details." "$LINENO" 5
17481elif test $pkg_failed = untried; then
17482     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17483$as_echo "no" >&6; }
17484	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17486as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17487is in your PATH or set the PKG_CONFIG environment variable to the full
17488path to pkg-config.
17489
17490Alternatively, you may set the environment variables XML_CFLAGS
17491and XML_LIBS to avoid the need to call pkg-config.
17492See the pkg-config man page for more details.
17493
17494To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17495See \`config.log' for more details" "$LINENO" 5; }
17496else
17497	XML_CFLAGS=$pkg_cv_XML_CFLAGS
17498	XML_LIBS=$pkg_cv_XML_LIBS
17499        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17500$as_echo "yes" >&6; }
17501
17502fi
17503
17504
17505
17506
17507pkg_failed=no
17508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GDL_DEPENDENCIES" >&5
17509$as_echo_n "checking for GDL_DEPENDENCIES... " >&6; }
17510
17511if test -n "$GDL_DEPENDENCIES_CFLAGS"; then
17512    pkg_cv_GDL_DEPENDENCIES_CFLAGS="$GDL_DEPENDENCIES_CFLAGS"
17513 elif test -n "$PKG_CONFIG"; then
17514    if test -n "$PKG_CONFIG" && \
17515    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
17516  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
17517  ac_status=$?
17518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17519  test $ac_status = 0; }; then
17520  pkg_cv_GDL_DEPENDENCIES_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
17521		      test "x$?" != "x0" && pkg_failed=yes
17522else
17523  pkg_failed=yes
17524fi
17525 else
17526    pkg_failed=untried
17527fi
17528if test -n "$GDL_DEPENDENCIES_LIBS"; then
17529    pkg_cv_GDL_DEPENDENCIES_LIBS="$GDL_DEPENDENCIES_LIBS"
17530 elif test -n "$PKG_CONFIG"; then
17531    if test -n "$PKG_CONFIG" && \
17532    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= \$GTK_REQUIRED\""; } >&5
17533  ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= $GTK_REQUIRED") 2>&5
17534  ac_status=$?
17535  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17536  test $ac_status = 0; }; then
17537  pkg_cv_GDL_DEPENDENCIES_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>/dev/null`
17538		      test "x$?" != "x0" && pkg_failed=yes
17539else
17540  pkg_failed=yes
17541fi
17542 else
17543    pkg_failed=untried
17544fi
17545
17546
17547
17548if test $pkg_failed = yes; then
17549   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17550$as_echo "no" >&6; }
17551
17552if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
17553        _pkg_short_errors_supported=yes
17554else
17555        _pkg_short_errors_supported=no
17556fi
17557        if test $_pkg_short_errors_supported = yes; then
17558	        GDL_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
17559        else
17560	        GDL_DEPENDENCIES_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= $GTK_REQUIRED" 2>&1`
17561        fi
17562	# Put the nasty error message in config.log where it belongs
17563	echo "$GDL_DEPENDENCIES_PKG_ERRORS" >&5
17564
17565	as_fn_error $? "Package requirements (gtk+-3.0 >= $GTK_REQUIRED) were not met:
17566
17567$GDL_DEPENDENCIES_PKG_ERRORS
17568
17569Consider adjusting the PKG_CONFIG_PATH environment variable if you
17570installed software in a non-standard prefix.
17571
17572Alternatively, you may set the environment variables GDL_DEPENDENCIES_CFLAGS
17573and GDL_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
17574See the pkg-config man page for more details." "$LINENO" 5
17575elif test $pkg_failed = untried; then
17576     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17577$as_echo "no" >&6; }
17578	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
17579$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
17580as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
17581is in your PATH or set the PKG_CONFIG environment variable to the full
17582path to pkg-config.
17583
17584Alternatively, you may set the environment variables GDL_DEPENDENCIES_CFLAGS
17585and GDL_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
17586See the pkg-config man page for more details.
17587
17588To get pkg-config, see <http://pkg-config.freedesktop.org/>.
17589See \`config.log' for more details" "$LINENO" 5; }
17590else
17591	GDL_DEPENDENCIES_CFLAGS=$pkg_cv_GDL_DEPENDENCIES_CFLAGS
17592	GDL_DEPENDENCIES_LIBS=$pkg_cv_GDL_DEPENDENCIES_LIBS
17593        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17594$as_echo "yes" >&6; }
17595
17596fi
17597
17598
17599
17600
17601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for native Win32" >&5
17602$as_echo_n "checking for native Win32... " >&6; }
17603case "$host" in
17604  *-*-mingw*)
17605    native_win32=yes
17606    ;;
17607  *)
17608    native_win32=no
17609    ;;
17610esac
17611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $native_win32" >&5
17612$as_echo "$native_win32" >&6; }
17613 if test "x$native_win32" = "xyes"; then
17614  OS_WIN32_TRUE=
17615  OS_WIN32_FALSE='#'
17616else
17617  OS_WIN32_TRUE='#'
17618  OS_WIN32_FALSE=
17619fi
17620
17621
17622EXTRA_CPPFLAGS=
17623EXTRA_LDFLAGS="-no-undefined"
17624if test "x$native_win32" = "xyes"; then
17625  EXTRA_CPPFLAGS="-mms-bitfields"
17626  EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--kill-at -Wl,--export-all-symbols"
17627fi
17628
17629
17630
17631# marshal and enum generators
17632GLIB_GENMARSHAL="`$PKG_CONFIG --variable=glib_genmarshal glib-2.0`"
17633
17634GLIB_MKENUMS="`$PKG_CONFIG --variable=glib_mkenums glib-2.0`"
17635
17636
17637# i18n stuff
17638
17639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
17640$as_echo_n "checking whether NLS is requested... " >&6; }
17641    # Check whether --enable-nls was given.
17642if test "${enable_nls+set}" = set; then :
17643  enableval=$enable_nls; USE_NLS=$enableval
17644else
17645  USE_NLS=yes
17646fi
17647
17648  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
17649$as_echo "$USE_NLS" >&6; }
17650
17651
17652
17653
17654case "$am__api_version" in
17655    1.01234)
17656	as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5
17657    ;;
17658    *freebsd*|*dragonfly*)
17659    DATADIRNAME=share
17660    ;;
17661    *)
17662    ;;
17663esac
17664
17665INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.40.4 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17666INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3`
17667INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'`
17668if test -n "0.40.4"; then
17669    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.40.4" >&5
17670$as_echo_n "checking for intltool >= 0.40.4... " >&6; }
17671    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5
17672$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; }
17673    test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" ||
17674	as_fn_error $? "Your intltool is too old.  You need intltool 0.40.4 or later." "$LINENO" 5
17675fi
17676
17677# Extract the first word of "intltool-update", so it can be a program name with args.
17678set dummy intltool-update; ac_word=$2
17679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17680$as_echo_n "checking for $ac_word... " >&6; }
17681if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
17682  $as_echo_n "(cached) " >&6
17683else
17684  case $INTLTOOL_UPDATE in
17685  [\\/]* | ?:[\\/]*)
17686  ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path.
17687  ;;
17688  *)
17689  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17690for as_dir in $PATH
17691do
17692  IFS=$as_save_IFS
17693  test -z "$as_dir" && as_dir=.
17694    for ac_exec_ext in '' $ac_executable_extensions; do
17695  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17696    ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext"
17697    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17698    break 2
17699  fi
17700done
17701  done
17702IFS=$as_save_IFS
17703
17704  ;;
17705esac
17706fi
17707INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE
17708if test -n "$INTLTOOL_UPDATE"; then
17709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5
17710$as_echo "$INTLTOOL_UPDATE" >&6; }
17711else
17712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17713$as_echo "no" >&6; }
17714fi
17715
17716
17717# Extract the first word of "intltool-merge", so it can be a program name with args.
17718set dummy intltool-merge; ac_word=$2
17719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17720$as_echo_n "checking for $ac_word... " >&6; }
17721if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
17722  $as_echo_n "(cached) " >&6
17723else
17724  case $INTLTOOL_MERGE in
17725  [\\/]* | ?:[\\/]*)
17726  ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path.
17727  ;;
17728  *)
17729  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17730for as_dir in $PATH
17731do
17732  IFS=$as_save_IFS
17733  test -z "$as_dir" && as_dir=.
17734    for ac_exec_ext in '' $ac_executable_extensions; do
17735  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17736    ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext"
17737    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17738    break 2
17739  fi
17740done
17741  done
17742IFS=$as_save_IFS
17743
17744  ;;
17745esac
17746fi
17747INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE
17748if test -n "$INTLTOOL_MERGE"; then
17749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5
17750$as_echo "$INTLTOOL_MERGE" >&6; }
17751else
17752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17753$as_echo "no" >&6; }
17754fi
17755
17756
17757# Extract the first word of "intltool-extract", so it can be a program name with args.
17758set dummy intltool-extract; ac_word=$2
17759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17760$as_echo_n "checking for $ac_word... " >&6; }
17761if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
17762  $as_echo_n "(cached) " >&6
17763else
17764  case $INTLTOOL_EXTRACT in
17765  [\\/]* | ?:[\\/]*)
17766  ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path.
17767  ;;
17768  *)
17769  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17770for as_dir in $PATH
17771do
17772  IFS=$as_save_IFS
17773  test -z "$as_dir" && as_dir=.
17774    for ac_exec_ext in '' $ac_executable_extensions; do
17775  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17776    ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext"
17777    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17778    break 2
17779  fi
17780done
17781  done
17782IFS=$as_save_IFS
17783
17784  ;;
17785esac
17786fi
17787INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT
17788if test -n "$INTLTOOL_EXTRACT"; then
17789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5
17790$as_echo "$INTLTOOL_EXTRACT" >&6; }
17791else
17792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17793$as_echo "no" >&6; }
17794fi
17795
17796
17797if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then
17798    as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5
17799fi
17800
17801if test -z "$AM_DEFAULT_VERBOSITY"; then
17802  AM_DEFAULT_VERBOSITY=1
17803fi
17804
17805
17806INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))'
17807INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))'
17808INTLTOOL__v_MERGE_0='@echo "  ITMRG " $@;'
17809
17810
17811
17812
17813INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))'
17814intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))'
17815intltool__v_merge_options_0='-q'
17816
17817
17818
17819
17820  INTLTOOL_DESKTOP_RULE='%.desktop:   %.desktop.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17821INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17822     INTLTOOL_KEYS_RULE='%.keys:      %.keys.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17823     INTLTOOL_PROP_RULE='%.prop:      %.prop.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17824      INTLTOOL_OAF_RULE='%.oaf:       %.oaf.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@'
17825     INTLTOOL_PONG_RULE='%.pong:      %.pong.in      $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17826   INTLTOOL_SERVER_RULE='%.server:    %.server.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17827    INTLTOOL_SHEET_RULE='%.sheet:     %.sheet.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17828INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17829       INTLTOOL_UI_RULE='%.ui:        %.ui.in        $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17830      INTLTOOL_XML_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17831if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then
17832      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@'
17833else
17834      INTLTOOL_XML_NOMERGE_RULE='%.xml:       %.xml.in       $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir'
17835fi
17836      INTLTOOL_XAM_RULE='%.xam:       %.xml.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17837      INTLTOOL_KBD_RULE='%.kbd:       %.kbd.in       $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17838    INTLTOOL_CAVES_RULE='%.caves:     %.caves.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17839  INTLTOOL_SCHEMAS_RULE='%.schemas:   %.schemas.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17840    INTLTOOL_THEME_RULE='%.theme:     %.theme.in     $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17841    INTLTOOL_SERVICE_RULE='%.service: %.service.in   $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17842   INTLTOOL_POLICY_RULE='%.policy:    %.policy.in    $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@'
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940# Check the gettext tools to make sure they are GNU
17941# Extract the first word of "xgettext", so it can be a program name with args.
17942set dummy xgettext; ac_word=$2
17943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17944$as_echo_n "checking for $ac_word... " >&6; }
17945if ${ac_cv_path_XGETTEXT+:} false; then :
17946  $as_echo_n "(cached) " >&6
17947else
17948  case $XGETTEXT in
17949  [\\/]* | ?:[\\/]*)
17950  ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
17951  ;;
17952  *)
17953  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17954for as_dir in $PATH
17955do
17956  IFS=$as_save_IFS
17957  test -z "$as_dir" && as_dir=.
17958    for ac_exec_ext in '' $ac_executable_extensions; do
17959  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17960    ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
17961    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17962    break 2
17963  fi
17964done
17965  done
17966IFS=$as_save_IFS
17967
17968  ;;
17969esac
17970fi
17971XGETTEXT=$ac_cv_path_XGETTEXT
17972if test -n "$XGETTEXT"; then
17973  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
17974$as_echo "$XGETTEXT" >&6; }
17975else
17976  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17977$as_echo "no" >&6; }
17978fi
17979
17980
17981# Extract the first word of "msgmerge", so it can be a program name with args.
17982set dummy msgmerge; ac_word=$2
17983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17984$as_echo_n "checking for $ac_word... " >&6; }
17985if ${ac_cv_path_MSGMERGE+:} false; then :
17986  $as_echo_n "(cached) " >&6
17987else
17988  case $MSGMERGE in
17989  [\\/]* | ?:[\\/]*)
17990  ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
17991  ;;
17992  *)
17993  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17994for as_dir in $PATH
17995do
17996  IFS=$as_save_IFS
17997  test -z "$as_dir" && as_dir=.
17998    for ac_exec_ext in '' $ac_executable_extensions; do
17999  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18000    ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
18001    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18002    break 2
18003  fi
18004done
18005  done
18006IFS=$as_save_IFS
18007
18008  ;;
18009esac
18010fi
18011MSGMERGE=$ac_cv_path_MSGMERGE
18012if test -n "$MSGMERGE"; then
18013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
18014$as_echo "$MSGMERGE" >&6; }
18015else
18016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18017$as_echo "no" >&6; }
18018fi
18019
18020
18021# Extract the first word of "msgfmt", so it can be a program name with args.
18022set dummy msgfmt; ac_word=$2
18023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18024$as_echo_n "checking for $ac_word... " >&6; }
18025if ${ac_cv_path_MSGFMT+:} false; then :
18026  $as_echo_n "(cached) " >&6
18027else
18028  case $MSGFMT in
18029  [\\/]* | ?:[\\/]*)
18030  ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18031  ;;
18032  *)
18033  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18034for as_dir in $PATH
18035do
18036  IFS=$as_save_IFS
18037  test -z "$as_dir" && as_dir=.
18038    for ac_exec_ext in '' $ac_executable_extensions; do
18039  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18040    ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
18041    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18042    break 2
18043  fi
18044done
18045  done
18046IFS=$as_save_IFS
18047
18048  ;;
18049esac
18050fi
18051MSGFMT=$ac_cv_path_MSGFMT
18052if test -n "$MSGFMT"; then
18053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18054$as_echo "$MSGFMT" >&6; }
18055else
18056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18057$as_echo "no" >&6; }
18058fi
18059
18060
18061# Extract the first word of "gmsgfmt", so it can be a program name with args.
18062set dummy gmsgfmt; ac_word=$2
18063{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18064$as_echo_n "checking for $ac_word... " >&6; }
18065if ${ac_cv_path_GMSGFMT+:} false; then :
18066  $as_echo_n "(cached) " >&6
18067else
18068  case $GMSGFMT in
18069  [\\/]* | ?:[\\/]*)
18070  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
18071  ;;
18072  *)
18073  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18074for as_dir in $PATH
18075do
18076  IFS=$as_save_IFS
18077  test -z "$as_dir" && as_dir=.
18078    for ac_exec_ext in '' $ac_executable_extensions; do
18079  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18080    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
18081    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18082    break 2
18083  fi
18084done
18085  done
18086IFS=$as_save_IFS
18087
18088  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
18089  ;;
18090esac
18091fi
18092GMSGFMT=$ac_cv_path_GMSGFMT
18093if test -n "$GMSGFMT"; then
18094  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
18095$as_echo "$GMSGFMT" >&6; }
18096else
18097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18098$as_echo "no" >&6; }
18099fi
18100
18101
18102if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then
18103    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
18104fi
18105xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`"
18106mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`"
18107mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`"
18108if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then
18109    as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5
18110fi
18111
18112# Extract the first word of "perl", so it can be a program name with args.
18113set dummy perl; ac_word=$2
18114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18115$as_echo_n "checking for $ac_word... " >&6; }
18116if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
18117  $as_echo_n "(cached) " >&6
18118else
18119  case $INTLTOOL_PERL in
18120  [\\/]* | ?:[\\/]*)
18121  ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path.
18122  ;;
18123  *)
18124  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18125for as_dir in $PATH
18126do
18127  IFS=$as_save_IFS
18128  test -z "$as_dir" && as_dir=.
18129    for ac_exec_ext in '' $ac_executable_extensions; do
18130  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18131    ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext"
18132    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18133    break 2
18134  fi
18135done
18136  done
18137IFS=$as_save_IFS
18138
18139  ;;
18140esac
18141fi
18142INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL
18143if test -n "$INTLTOOL_PERL"; then
18144  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5
18145$as_echo "$INTLTOOL_PERL" >&6; }
18146else
18147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18148$as_echo "no" >&6; }
18149fi
18150
18151
18152if test -z "$INTLTOOL_PERL"; then
18153   as_fn_error $? "perl not found" "$LINENO" 5
18154fi
18155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5
18156$as_echo_n "checking for perl >= 5.8.1... " >&6; }
18157$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1
18158if test $? -ne 0; then
18159   as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5
18160else
18161   IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"`
18162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5
18163$as_echo "$IT_PERL_VERSION" >&6; }
18164fi
18165if test "x" != "xno-xml"; then
18166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5
18167$as_echo_n "checking for XML::Parser... " >&6; }
18168   if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then
18169       { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
18170$as_echo "ok" >&6; }
18171   else
18172       as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5
18173   fi
18174fi
18175
18176# Substitute ALL_LINGUAS so we can use it in po/Makefile
18177
18178
18179
18180
18181
18182
18183GETTEXT_PACKAGE=gdl-3
18184
18185
18186cat >>confdefs.h <<_ACEOF
18187#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
18188_ACEOF
18189
18190
18191
18192if test "x${prefix}" = "xNONE"; then
18193  packageprefix=${ac_default_prefix}
18194else
18195  packageprefix=${prefix}
18196fi
18197
18198# images directory
18199gdl_images_dir="${packageprefix}/share/gdl/images"
18200
18201
18202# check for gtk-doc
18203
18204
18205
18206  gtk_doc_requires="gtk-doc >= 1.4"
18207  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk-doc" >&5
18208$as_echo_n "checking for gtk-doc... " >&6; }
18209  if test -n "$PKG_CONFIG" && \
18210    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_doc_requires\""; } >&5
18211  ($PKG_CONFIG --exists --print-errors "$gtk_doc_requires") 2>&5
18212  ac_status=$?
18213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18214  test $ac_status = 0; }; then
18215  have_gtk_doc=yes
18216else
18217  have_gtk_doc=no
18218fi
18219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_gtk_doc" >&5
18220$as_echo "$have_gtk_doc" >&6; }
18221
18222  if test "$have_gtk_doc" = "no"; then
18223      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
18224  You will not be able to create source packages with 'make dist'
18225  because $gtk_doc_requires is not found." >&5
18226$as_echo "$as_me: WARNING:
18227  You will not be able to create source packages with 'make dist'
18228  because $gtk_doc_requires is not found." >&2;}
18229  fi
18230
18231            # Extract the first word of "gtkdoc-check", so it can be a program name with args.
18232set dummy gtkdoc-check; ac_word=$2
18233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18234$as_echo_n "checking for $ac_word... " >&6; }
18235if ${ac_cv_prog_GTKDOC_CHECK+:} false; then :
18236  $as_echo_n "(cached) " >&6
18237else
18238  if test -n "$GTKDOC_CHECK"; then
18239  ac_cv_prog_GTKDOC_CHECK="$GTKDOC_CHECK" # Let the user override the test.
18240else
18241as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18242for as_dir in $PATH
18243do
18244  IFS=$as_save_IFS
18245  test -z "$as_dir" && as_dir=.
18246    for ac_exec_ext in '' $ac_executable_extensions; do
18247  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18248    ac_cv_prog_GTKDOC_CHECK="gtkdoc-check.test"
18249    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18250    break 2
18251  fi
18252done
18253  done
18254IFS=$as_save_IFS
18255
18256fi
18257fi
18258GTKDOC_CHECK=$ac_cv_prog_GTKDOC_CHECK
18259if test -n "$GTKDOC_CHECK"; then
18260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5
18261$as_echo "$GTKDOC_CHECK" >&6; }
18262else
18263  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18264$as_echo "no" >&6; }
18265fi
18266
18267
18268  # Extract the first word of "gtkdoc-check", so it can be a program name with args.
18269set dummy gtkdoc-check; ac_word=$2
18270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18271$as_echo_n "checking for $ac_word... " >&6; }
18272if ${ac_cv_path_GTKDOC_CHECK_PATH+:} false; then :
18273  $as_echo_n "(cached) " >&6
18274else
18275  case $GTKDOC_CHECK_PATH in
18276  [\\/]* | ?:[\\/]*)
18277  ac_cv_path_GTKDOC_CHECK_PATH="$GTKDOC_CHECK_PATH" # Let the user override the test with a path.
18278  ;;
18279  *)
18280  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18281for as_dir in $PATH
18282do
18283  IFS=$as_save_IFS
18284  test -z "$as_dir" && as_dir=.
18285    for ac_exec_ext in '' $ac_executable_extensions; do
18286  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18287    ac_cv_path_GTKDOC_CHECK_PATH="$as_dir/$ac_word$ac_exec_ext"
18288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18289    break 2
18290  fi
18291done
18292  done
18293IFS=$as_save_IFS
18294
18295  ;;
18296esac
18297fi
18298GTKDOC_CHECK_PATH=$ac_cv_path_GTKDOC_CHECK_PATH
18299if test -n "$GTKDOC_CHECK_PATH"; then
18300  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK_PATH" >&5
18301$as_echo "$GTKDOC_CHECK_PATH" >&6; }
18302else
18303  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18304$as_echo "no" >&6; }
18305fi
18306
18307
18308  for ac_prog in gtkdoc-rebase
18309do
18310  # Extract the first word of "$ac_prog", so it can be a program name with args.
18311set dummy $ac_prog; ac_word=$2
18312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18313$as_echo_n "checking for $ac_word... " >&6; }
18314if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
18315  $as_echo_n "(cached) " >&6
18316else
18317  case $GTKDOC_REBASE in
18318  [\\/]* | ?:[\\/]*)
18319  ac_cv_path_GTKDOC_REBASE="$GTKDOC_REBASE" # Let the user override the test with a path.
18320  ;;
18321  *)
18322  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18323for as_dir in $PATH
18324do
18325  IFS=$as_save_IFS
18326  test -z "$as_dir" && as_dir=.
18327    for ac_exec_ext in '' $ac_executable_extensions; do
18328  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18329    ac_cv_path_GTKDOC_REBASE="$as_dir/$ac_word$ac_exec_ext"
18330    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18331    break 2
18332  fi
18333done
18334  done
18335IFS=$as_save_IFS
18336
18337  ;;
18338esac
18339fi
18340GTKDOC_REBASE=$ac_cv_path_GTKDOC_REBASE
18341if test -n "$GTKDOC_REBASE"; then
18342  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_REBASE" >&5
18343$as_echo "$GTKDOC_REBASE" >&6; }
18344else
18345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18346$as_echo "no" >&6; }
18347fi
18348
18349
18350  test -n "$GTKDOC_REBASE" && break
18351done
18352test -n "$GTKDOC_REBASE" || GTKDOC_REBASE="true"
18353
18354  # Extract the first word of "gtkdoc-mkpdf", so it can be a program name with args.
18355set dummy gtkdoc-mkpdf; ac_word=$2
18356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18357$as_echo_n "checking for $ac_word... " >&6; }
18358if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
18359  $as_echo_n "(cached) " >&6
18360else
18361  case $GTKDOC_MKPDF in
18362  [\\/]* | ?:[\\/]*)
18363  ac_cv_path_GTKDOC_MKPDF="$GTKDOC_MKPDF" # Let the user override the test with a path.
18364  ;;
18365  *)
18366  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18367for as_dir in $PATH
18368do
18369  IFS=$as_save_IFS
18370  test -z "$as_dir" && as_dir=.
18371    for ac_exec_ext in '' $ac_executable_extensions; do
18372  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18373    ac_cv_path_GTKDOC_MKPDF="$as_dir/$ac_word$ac_exec_ext"
18374    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18375    break 2
18376  fi
18377done
18378  done
18379IFS=$as_save_IFS
18380
18381  ;;
18382esac
18383fi
18384GTKDOC_MKPDF=$ac_cv_path_GTKDOC_MKPDF
18385if test -n "$GTKDOC_MKPDF"; then
18386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_MKPDF" >&5
18387$as_echo "$GTKDOC_MKPDF" >&6; }
18388else
18389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18390$as_echo "no" >&6; }
18391fi
18392
18393
18394
18395
18396# Check whether --with-html-dir was given.
18397if test "${with_html_dir+set}" = set; then :
18398  withval=$with_html_dir;
18399else
18400  with_html_dir='${datadir}/gtk-doc/html'
18401fi
18402
18403  HTML_DIR="$with_html_dir"
18404
18405
18406    # Check whether --enable-gtk-doc was given.
18407if test "${enable_gtk_doc+set}" = set; then :
18408  enableval=$enable_gtk_doc;
18409else
18410  enable_gtk_doc=no
18411fi
18412
18413
18414  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5
18415$as_echo_n "checking whether to build gtk-doc documentation... " >&6; }
18416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5
18417$as_echo "$enable_gtk_doc" >&6; }
18418
18419  if test "x$enable_gtk_doc" = "xyes" && test "$have_gtk_doc" = "no"; then
18420    as_fn_error $? "
18421  You must have $gtk_doc_requires installed to build documentation for
18422  $PACKAGE_NAME. Please install gtk-doc or disable building the
18423  documentation by adding '--disable-gtk-doc' to '$0'." "$LINENO" 5
18424  fi
18425
18426    if test "x$PACKAGE_NAME" != "xglib"; then
18427
18428pkg_failed=no
18429{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKDOC_DEPS" >&5
18430$as_echo_n "checking for GTKDOC_DEPS... " >&6; }
18431
18432if test -n "$GTKDOC_DEPS_CFLAGS"; then
18433    pkg_cv_GTKDOC_DEPS_CFLAGS="$GTKDOC_DEPS_CFLAGS"
18434 elif test -n "$PKG_CONFIG"; then
18435    if test -n "$PKG_CONFIG" && \
18436    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
18437  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
18438  ac_status=$?
18439  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18440  test $ac_status = 0; }; then
18441  pkg_cv_GTKDOC_DEPS_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
18442		      test "x$?" != "x0" && pkg_failed=yes
18443else
18444  pkg_failed=yes
18445fi
18446 else
18447    pkg_failed=untried
18448fi
18449if test -n "$GTKDOC_DEPS_LIBS"; then
18450    pkg_cv_GTKDOC_DEPS_LIBS="$GTKDOC_DEPS_LIBS"
18451 elif test -n "$PKG_CONFIG"; then
18452    if test -n "$PKG_CONFIG" && \
18453    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0\""; } >&5
18454  ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0") 2>&5
18455  ac_status=$?
18456  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18457  test $ac_status = 0; }; then
18458  pkg_cv_GTKDOC_DEPS_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>/dev/null`
18459		      test "x$?" != "x0" && pkg_failed=yes
18460else
18461  pkg_failed=yes
18462fi
18463 else
18464    pkg_failed=untried
18465fi
18466
18467
18468
18469if test $pkg_failed = yes; then
18470   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18471$as_echo "no" >&6; }
18472
18473if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18474        _pkg_short_errors_supported=yes
18475else
18476        _pkg_short_errors_supported=no
18477fi
18478        if test $_pkg_short_errors_supported = yes; then
18479	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
18480        else
18481	        GTKDOC_DEPS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0 >= 2.10.0 gobject-2.0  >= 2.10.0" 2>&1`
18482        fi
18483	# Put the nasty error message in config.log where it belongs
18484	echo "$GTKDOC_DEPS_PKG_ERRORS" >&5
18485
18486	:
18487elif test $pkg_failed = untried; then
18488     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18489$as_echo "no" >&6; }
18490	:
18491else
18492	GTKDOC_DEPS_CFLAGS=$pkg_cv_GTKDOC_DEPS_CFLAGS
18493	GTKDOC_DEPS_LIBS=$pkg_cv_GTKDOC_DEPS_LIBS
18494        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18495$as_echo "yes" >&6; }
18496
18497fi
18498  fi
18499
18500    # Check whether --enable-gtk-doc-html was given.
18501if test "${enable_gtk_doc_html+set}" = set; then :
18502  enableval=$enable_gtk_doc_html;
18503else
18504  enable_gtk_doc_html=yes
18505fi
18506
18507    # Check whether --enable-gtk-doc-pdf was given.
18508if test "${enable_gtk_doc_pdf+set}" = set; then :
18509  enableval=$enable_gtk_doc_pdf;
18510else
18511  enable_gtk_doc_pdf=no
18512fi
18513
18514
18515  if test -z "$GTKDOC_MKPDF"; then
18516    enable_gtk_doc_pdf=no
18517  fi
18518
18519  if test -z "$AM_DEFAULT_VERBOSITY"; then
18520    AM_DEFAULT_VERBOSITY=1
18521  fi
18522
18523
18524   if test x$have_gtk_doc = xyes; then
18525  HAVE_GTK_DOC_TRUE=
18526  HAVE_GTK_DOC_FALSE='#'
18527else
18528  HAVE_GTK_DOC_TRUE='#'
18529  HAVE_GTK_DOC_FALSE=
18530fi
18531
18532   if test x$enable_gtk_doc = xyes; then
18533  ENABLE_GTK_DOC_TRUE=
18534  ENABLE_GTK_DOC_FALSE='#'
18535else
18536  ENABLE_GTK_DOC_TRUE='#'
18537  ENABLE_GTK_DOC_FALSE=
18538fi
18539
18540   if test x$enable_gtk_doc_html = xyes; then
18541  GTK_DOC_BUILD_HTML_TRUE=
18542  GTK_DOC_BUILD_HTML_FALSE='#'
18543else
18544  GTK_DOC_BUILD_HTML_TRUE='#'
18545  GTK_DOC_BUILD_HTML_FALSE=
18546fi
18547
18548   if test x$enable_gtk_doc_pdf = xyes; then
18549  GTK_DOC_BUILD_PDF_TRUE=
18550  GTK_DOC_BUILD_PDF_FALSE='#'
18551else
18552  GTK_DOC_BUILD_PDF_TRUE='#'
18553  GTK_DOC_BUILD_PDF_FALSE=
18554fi
18555
18556   if test -n "$LIBTOOL"; then
18557  GTK_DOC_USE_LIBTOOL_TRUE=
18558  GTK_DOC_USE_LIBTOOL_FALSE='#'
18559else
18560  GTK_DOC_USE_LIBTOOL_TRUE='#'
18561  GTK_DOC_USE_LIBTOOL_FALSE=
18562fi
18563
18564   if test -n "$GTKDOC_REBASE"; then
18565  GTK_DOC_USE_REBASE_TRUE=
18566  GTK_DOC_USE_REBASE_FALSE='#'
18567else
18568  GTK_DOC_USE_REBASE_TRUE='#'
18569  GTK_DOC_USE_REBASE_FALSE=
18570fi
18571
18572
18573
18574GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`"
18575GTK_PREFIX="`$PKG_CONFIG --variable=prefix gtk+-3.0`"
18576
18577
18578
18579
18580
18581
18582
18583                # Check whether --enable-introspection was given.
18584if test "${enable_introspection+set}" = set; then :
18585  enableval=$enable_introspection;
18586else
18587  enable_introspection=auto
18588fi
18589
18590
18591    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gobject-introspection" >&5
18592$as_echo_n "checking for gobject-introspection... " >&6; }
18593
18594        case $enable_introspection in #(
18595  no) :
18596            found_introspection="no (disabled, use --enable-introspection to enable)"
18597     ;; #(
18598      yes) :
18599            if test -n "$PKG_CONFIG" && \
18600    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0\""; } >&5
18601  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0") 2>&5
18602  ac_status=$?
18603  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18604  test $ac_status = 0; }; then
18605  :
18606else
18607  as_fn_error $? "gobject-introspection-1.0 is not installed" "$LINENO" 5
18608fi
18609        if test -n "$PKG_CONFIG" && \
18610    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
18611  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
18612  ac_status=$?
18613  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18614  test $ac_status = 0; }; then
18615  found_introspection=yes
18616else
18617  as_fn_error $? "You need to have gobject-introspection >= 0.6.7 installed" "$LINENO" 5
18618fi
18619     ;; #(
18620      auto) :
18621            if test -n "$PKG_CONFIG" && \
18622    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gobject-introspection-1.0 >= 0.6.7\""; } >&5
18623  ($PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.7") 2>&5
18624  ac_status=$?
18625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18626  test $ac_status = 0; }; then
18627  found_introspection=yes
18628else
18629  found_introspection=no
18630fi
18631     ;; #(
18632  *) :
18633                as_fn_error $? "invalid argument passed to --enable-introspection, should be one of [no/auto/yes]" "$LINENO" 5
18634     ;;
18635esac
18636    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_introspection" >&5
18637$as_echo "$found_introspection" >&6; }
18638
18639    INTROSPECTION_SCANNER=
18640    INTROSPECTION_COMPILER=
18641    INTROSPECTION_GENERATE=
18642    INTROSPECTION_GIRDIR=
18643    INTROSPECTION_TYPELIBDIR=
18644    if test "x$found_introspection" = "xyes"; then
18645       INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0`
18646       INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0`
18647       INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0`
18648       INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0`
18649       INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)"
18650       INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0`
18651       INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
18652       INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
18653    fi
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663     if test "x$found_introspection" = "xyes"; then
18664  HAVE_INTROSPECTION_TRUE=
18665  HAVE_INTROSPECTION_FALSE='#'
18666else
18667  HAVE_INTROSPECTION_TRUE='#'
18668  HAVE_INTROSPECTION_FALSE=
18669fi
18670
18671
18672
18673
18674ac_config_files="$ac_config_files Makefile gdl/Makefile po/Makefile.in docs/Makefile docs/reference/Makefile docs/reference/version.xml gdl.spec gdl-3.0.pc"
18675
18676cat >confcache <<\_ACEOF
18677# This file is a shell script that caches the results of configure
18678# tests run on this system so they can be shared between configure
18679# scripts and configure runs, see configure's option --config-cache.
18680# It is not useful on other systems.  If it contains results you don't
18681# want to keep, you may remove or edit it.
18682#
18683# config.status only pays attention to the cache file if you give it
18684# the --recheck option to rerun configure.
18685#
18686# `ac_cv_env_foo' variables (set or unset) will be overridden when
18687# loading this file, other *unset* `ac_cv_foo' will be assigned the
18688# following values.
18689
18690_ACEOF
18691
18692# The following way of writing the cache mishandles newlines in values,
18693# but we know of no workaround that is simple, portable, and efficient.
18694# So, we kill variables containing newlines.
18695# Ultrix sh set writes to stderr and can't be redirected directly,
18696# and sets the high bit in the cache file unless we assign to the vars.
18697(
18698  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
18699    eval ac_val=\$$ac_var
18700    case $ac_val in #(
18701    *${as_nl}*)
18702      case $ac_var in #(
18703      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18704$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18705      esac
18706      case $ac_var in #(
18707      _ | IFS | as_nl) ;; #(
18708      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18709      *) { eval $ac_var=; unset $ac_var;} ;;
18710      esac ;;
18711    esac
18712  done
18713
18714  (set) 2>&1 |
18715    case $as_nl`(ac_space=' '; set) 2>&1` in #(
18716    *${as_nl}ac_space=\ *)
18717      # `set' does not quote correctly, so add quotes: double-quote
18718      # substitution turns \\\\ into \\, and sed turns \\ into \.
18719      sed -n \
18720	"s/'/'\\\\''/g;
18721	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18722      ;; #(
18723    *)
18724      # `set' quotes correctly as required by POSIX, so do not add quotes.
18725      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
18726      ;;
18727    esac |
18728    sort
18729) |
18730  sed '
18731     /^ac_cv_env_/b end
18732     t clear
18733     :clear
18734     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18735     t end
18736     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18737     :end' >>confcache
18738if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18739  if test -w "$cache_file"; then
18740    if test "x$cache_file" != "x/dev/null"; then
18741      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18742$as_echo "$as_me: updating cache $cache_file" >&6;}
18743      if test ! -f "$cache_file" || test -h "$cache_file"; then
18744	cat confcache >"$cache_file"
18745      else
18746        case $cache_file in #(
18747        */* | ?:*)
18748	  mv -f confcache "$cache_file"$$ &&
18749	  mv -f "$cache_file"$$ "$cache_file" ;; #(
18750        *)
18751	  mv -f confcache "$cache_file" ;;
18752	esac
18753      fi
18754    fi
18755  else
18756    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18757$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18758  fi
18759fi
18760rm -f confcache
18761
18762test "x$prefix" = xNONE && prefix=$ac_default_prefix
18763# Let make expand exec_prefix.
18764test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18765
18766DEFS=-DHAVE_CONFIG_H
18767
18768ac_libobjs=
18769ac_ltlibobjs=
18770U=
18771for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18772  # 1. Remove the extension, and $U if already installed.
18773  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
18774  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
18775  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
18776  #    will be set to the directory where LIBOBJS objects are built.
18777  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18778  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
18779done
18780LIBOBJS=$ac_libobjs
18781
18782LTLIBOBJS=$ac_ltlibobjs
18783
18784
18785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18786$as_echo_n "checking that generated files are newer than configure... " >&6; }
18787   if test -n "$am_sleep_pid"; then
18788     # Hide warnings about reused PIDs.
18789     wait $am_sleep_pid 2>/dev/null
18790   fi
18791   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18792$as_echo "done" >&6; }
18793 if test -n "$EXEEXT"; then
18794  am__EXEEXT_TRUE=
18795  am__EXEEXT_FALSE='#'
18796else
18797  am__EXEEXT_TRUE='#'
18798  am__EXEEXT_FALSE=
18799fi
18800
18801if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
18802  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
18803Usually this means the macro was only invoked conditionally." "$LINENO" 5
18804fi
18805if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18806  as_fn_error $? "conditional \"AMDEP\" was never defined.
18807Usually this means the macro was only invoked conditionally." "$LINENO" 5
18808fi
18809if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18810  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18811Usually this means the macro was only invoked conditionally." "$LINENO" 5
18812fi
18813if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18814  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
18815Usually this means the macro was only invoked conditionally." "$LINENO" 5
18816fi
18817if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18818  as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
18819Usually this means the macro was only invoked conditionally." "$LINENO" 5
18820fi
18821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
18822$as_echo_n "checking that generated files are newer than configure... " >&6; }
18823   if test -n "$am_sleep_pid"; then
18824     # Hide warnings about reused PIDs.
18825     wait $am_sleep_pid 2>/dev/null
18826   fi
18827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
18828$as_echo "done" >&6; }
18829if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
18830  as_fn_error $? "conditional \"OS_WIN32\" was never defined.
18831Usually this means the macro was only invoked conditionally." "$LINENO" 5
18832fi
18833
18834  ac_config_commands="$ac_config_commands po/stamp-it"
18835
18836
18837if test -z "${HAVE_GTK_DOC_TRUE}" && test -z "${HAVE_GTK_DOC_FALSE}"; then
18838  as_fn_error $? "conditional \"HAVE_GTK_DOC\" was never defined.
18839Usually this means the macro was only invoked conditionally." "$LINENO" 5
18840fi
18841if test -z "${ENABLE_GTK_DOC_TRUE}" && test -z "${ENABLE_GTK_DOC_FALSE}"; then
18842  as_fn_error $? "conditional \"ENABLE_GTK_DOC\" was never defined.
18843Usually this means the macro was only invoked conditionally." "$LINENO" 5
18844fi
18845if test -z "${GTK_DOC_BUILD_HTML_TRUE}" && test -z "${GTK_DOC_BUILD_HTML_FALSE}"; then
18846  as_fn_error $? "conditional \"GTK_DOC_BUILD_HTML\" was never defined.
18847Usually this means the macro was only invoked conditionally." "$LINENO" 5
18848fi
18849if test -z "${GTK_DOC_BUILD_PDF_TRUE}" && test -z "${GTK_DOC_BUILD_PDF_FALSE}"; then
18850  as_fn_error $? "conditional \"GTK_DOC_BUILD_PDF\" was never defined.
18851Usually this means the macro was only invoked conditionally." "$LINENO" 5
18852fi
18853if test -z "${GTK_DOC_USE_LIBTOOL_TRUE}" && test -z "${GTK_DOC_USE_LIBTOOL_FALSE}"; then
18854  as_fn_error $? "conditional \"GTK_DOC_USE_LIBTOOL\" was never defined.
18855Usually this means the macro was only invoked conditionally." "$LINENO" 5
18856fi
18857if test -z "${GTK_DOC_USE_REBASE_TRUE}" && test -z "${GTK_DOC_USE_REBASE_FALSE}"; then
18858  as_fn_error $? "conditional \"GTK_DOC_USE_REBASE\" was never defined.
18859Usually this means the macro was only invoked conditionally." "$LINENO" 5
18860fi
18861if test -z "${HAVE_INTROSPECTION_TRUE}" && test -z "${HAVE_INTROSPECTION_FALSE}"; then
18862  as_fn_error $? "conditional \"HAVE_INTROSPECTION\" was never defined.
18863Usually this means the macro was only invoked conditionally." "$LINENO" 5
18864fi
18865
18866: "${CONFIG_STATUS=./config.status}"
18867ac_write_fail=0
18868ac_clean_files_save=$ac_clean_files
18869ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18870{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
18871$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18872as_write_fail=0
18873cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
18874#! $SHELL
18875# Generated by $as_me.
18876# Run this file to recreate the current configuration.
18877# Compiler output produced by configure, useful for debugging
18878# configure, is in config.log if it exists.
18879
18880debug=false
18881ac_cs_recheck=false
18882ac_cs_silent=false
18883
18884SHELL=\${CONFIG_SHELL-$SHELL}
18885export SHELL
18886_ASEOF
18887cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
18888## -------------------- ##
18889## M4sh Initialization. ##
18890## -------------------- ##
18891
18892# Be more Bourne compatible
18893DUALCASE=1; export DUALCASE # for MKS sh
18894if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18895  emulate sh
18896  NULLCMD=:
18897  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
18898  # is contrary to our usage.  Disable this feature.
18899  alias -g '${1+"$@"}'='"$@"'
18900  setopt NO_GLOB_SUBST
18901else
18902  case `(set -o) 2>/dev/null` in #(
18903  *posix*) :
18904    set -o posix ;; #(
18905  *) :
18906     ;;
18907esac
18908fi
18909
18910
18911as_nl='
18912'
18913export as_nl
18914# Printing a long string crashes Solaris 7 /usr/bin/printf.
18915as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
18916as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
18917as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18918# Prefer a ksh shell builtin over an external printf program on Solaris,
18919# but without wasting forks for bash or zsh.
18920if test -z "$BASH_VERSION$ZSH_VERSION" \
18921    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
18922  as_echo='print -r --'
18923  as_echo_n='print -rn --'
18924elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
18925  as_echo='printf %s\n'
18926  as_echo_n='printf %s'
18927else
18928  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
18929    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
18930    as_echo_n='/usr/ucb/echo -n'
18931  else
18932    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
18933    as_echo_n_body='eval
18934      arg=$1;
18935      case $arg in #(
18936      *"$as_nl"*)
18937	expr "X$arg" : "X\\(.*\\)$as_nl";
18938	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
18939      esac;
18940      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
18941    '
18942    export as_echo_n_body
18943    as_echo_n='sh -c $as_echo_n_body as_echo'
18944  fi
18945  export as_echo_body
18946  as_echo='sh -c $as_echo_body as_echo'
18947fi
18948
18949# The user is always right.
18950if test "${PATH_SEPARATOR+set}" != set; then
18951  PATH_SEPARATOR=:
18952  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
18953    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
18954      PATH_SEPARATOR=';'
18955  }
18956fi
18957
18958
18959# IFS
18960# We need space, tab and new line, in precisely that order.  Quoting is
18961# there to prevent editors from complaining about space-tab.
18962# (If _AS_PATH_WALK were called with IFS unset, it would disable word
18963# splitting by setting IFS to empty value.)
18964IFS=" ""	$as_nl"
18965
18966# Find who we are.  Look in the path if we contain no directory separator.
18967as_myself=
18968case $0 in #((
18969  *[\\/]* ) as_myself=$0 ;;
18970  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18971for as_dir in $PATH
18972do
18973  IFS=$as_save_IFS
18974  test -z "$as_dir" && as_dir=.
18975    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18976  done
18977IFS=$as_save_IFS
18978
18979     ;;
18980esac
18981# We did not find ourselves, most probably we were run as `sh COMMAND'
18982# in which case we are not to be found in the path.
18983if test "x$as_myself" = x; then
18984  as_myself=$0
18985fi
18986if test ! -f "$as_myself"; then
18987  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18988  exit 1
18989fi
18990
18991# Unset variables that we do not need and which cause bugs (e.g. in
18992# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
18993# suppresses any "Segmentation fault" message there.  '((' could
18994# trigger a bug in pdksh 5.2.14.
18995for as_var in BASH_ENV ENV MAIL MAILPATH
18996do eval test x\${$as_var+set} = xset \
18997  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
18998done
18999PS1='$ '
19000PS2='> '
19001PS4='+ '
19002
19003# NLS nuisances.
19004LC_ALL=C
19005export LC_ALL
19006LANGUAGE=C
19007export LANGUAGE
19008
19009# CDPATH.
19010(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19011
19012
19013# as_fn_error STATUS ERROR [LINENO LOG_FD]
19014# ----------------------------------------
19015# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19016# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19017# script with STATUS, using 1 if that was 0.
19018as_fn_error ()
19019{
19020  as_status=$1; test $as_status -eq 0 && as_status=1
19021  if test "$4"; then
19022    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19023    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19024  fi
19025  $as_echo "$as_me: error: $2" >&2
19026  as_fn_exit $as_status
19027} # as_fn_error
19028
19029
19030# as_fn_set_status STATUS
19031# -----------------------
19032# Set $? to STATUS, without forking.
19033as_fn_set_status ()
19034{
19035  return $1
19036} # as_fn_set_status
19037
19038# as_fn_exit STATUS
19039# -----------------
19040# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19041as_fn_exit ()
19042{
19043  set +e
19044  as_fn_set_status $1
19045  exit $1
19046} # as_fn_exit
19047
19048# as_fn_unset VAR
19049# ---------------
19050# Portably unset VAR.
19051as_fn_unset ()
19052{
19053  { eval $1=; unset $1;}
19054}
19055as_unset=as_fn_unset
19056# as_fn_append VAR VALUE
19057# ----------------------
19058# Append the text in VALUE to the end of the definition contained in VAR. Take
19059# advantage of any shell optimizations that allow amortized linear growth over
19060# repeated appends, instead of the typical quadratic growth present in naive
19061# implementations.
19062if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19063  eval 'as_fn_append ()
19064  {
19065    eval $1+=\$2
19066  }'
19067else
19068  as_fn_append ()
19069  {
19070    eval $1=\$$1\$2
19071  }
19072fi # as_fn_append
19073
19074# as_fn_arith ARG...
19075# ------------------
19076# Perform arithmetic evaluation on the ARGs, and store the result in the
19077# global $as_val. Take advantage of shells that can avoid forks. The arguments
19078# must be portable across $(()) and expr.
19079if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19080  eval 'as_fn_arith ()
19081  {
19082    as_val=$(( $* ))
19083  }'
19084else
19085  as_fn_arith ()
19086  {
19087    as_val=`expr "$@" || test $? -eq 1`
19088  }
19089fi # as_fn_arith
19090
19091
19092if expr a : '\(a\)' >/dev/null 2>&1 &&
19093   test "X`expr 00001 : '.*\(...\)'`" = X001; then
19094  as_expr=expr
19095else
19096  as_expr=false
19097fi
19098
19099if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19100  as_basename=basename
19101else
19102  as_basename=false
19103fi
19104
19105if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19106  as_dirname=dirname
19107else
19108  as_dirname=false
19109fi
19110
19111as_me=`$as_basename -- "$0" ||
19112$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19113	 X"$0" : 'X\(//\)$' \| \
19114	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19115$as_echo X/"$0" |
19116    sed '/^.*\/\([^/][^/]*\)\/*$/{
19117	    s//\1/
19118	    q
19119	  }
19120	  /^X\/\(\/\/\)$/{
19121	    s//\1/
19122	    q
19123	  }
19124	  /^X\/\(\/\).*/{
19125	    s//\1/
19126	    q
19127	  }
19128	  s/.*/./; q'`
19129
19130# Avoid depending upon Character Ranges.
19131as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19132as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19133as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19134as_cr_digits='0123456789'
19135as_cr_alnum=$as_cr_Letters$as_cr_digits
19136
19137ECHO_C= ECHO_N= ECHO_T=
19138case `echo -n x` in #(((((
19139-n*)
19140  case `echo 'xy\c'` in
19141  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
19142  xy)  ECHO_C='\c';;
19143  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
19144       ECHO_T='	';;
19145  esac;;
19146*)
19147  ECHO_N='-n';;
19148esac
19149
19150rm -f conf$$ conf$$.exe conf$$.file
19151if test -d conf$$.dir; then
19152  rm -f conf$$.dir/conf$$.file
19153else
19154  rm -f conf$$.dir
19155  mkdir conf$$.dir 2>/dev/null
19156fi
19157if (echo >conf$$.file) 2>/dev/null; then
19158  if ln -s conf$$.file conf$$ 2>/dev/null; then
19159    as_ln_s='ln -s'
19160    # ... but there are two gotchas:
19161    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19162    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19163    # In both cases, we have to default to `cp -pR'.
19164    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19165      as_ln_s='cp -pR'
19166  elif ln conf$$.file conf$$ 2>/dev/null; then
19167    as_ln_s=ln
19168  else
19169    as_ln_s='cp -pR'
19170  fi
19171else
19172  as_ln_s='cp -pR'
19173fi
19174rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19175rmdir conf$$.dir 2>/dev/null
19176
19177
19178# as_fn_mkdir_p
19179# -------------
19180# Create "$as_dir" as a directory, including parents if necessary.
19181as_fn_mkdir_p ()
19182{
19183
19184  case $as_dir in #(
19185  -*) as_dir=./$as_dir;;
19186  esac
19187  test -d "$as_dir" || eval $as_mkdir_p || {
19188    as_dirs=
19189    while :; do
19190      case $as_dir in #(
19191      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19192      *) as_qdir=$as_dir;;
19193      esac
19194      as_dirs="'$as_qdir' $as_dirs"
19195      as_dir=`$as_dirname -- "$as_dir" ||
19196$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19197	 X"$as_dir" : 'X\(//\)[^/]' \| \
19198	 X"$as_dir" : 'X\(//\)$' \| \
19199	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19200$as_echo X"$as_dir" |
19201    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19202	    s//\1/
19203	    q
19204	  }
19205	  /^X\(\/\/\)[^/].*/{
19206	    s//\1/
19207	    q
19208	  }
19209	  /^X\(\/\/\)$/{
19210	    s//\1/
19211	    q
19212	  }
19213	  /^X\(\/\).*/{
19214	    s//\1/
19215	    q
19216	  }
19217	  s/.*/./; q'`
19218      test -d "$as_dir" && break
19219    done
19220    test -z "$as_dirs" || eval "mkdir $as_dirs"
19221  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19222
19223
19224} # as_fn_mkdir_p
19225if mkdir -p . 2>/dev/null; then
19226  as_mkdir_p='mkdir -p "$as_dir"'
19227else
19228  test -d ./-p && rmdir ./-p
19229  as_mkdir_p=false
19230fi
19231
19232
19233# as_fn_executable_p FILE
19234# -----------------------
19235# Test if FILE is an executable regular file.
19236as_fn_executable_p ()
19237{
19238  test -f "$1" && test -x "$1"
19239} # as_fn_executable_p
19240as_test_x='test -x'
19241as_executable_p=as_fn_executable_p
19242
19243# Sed expression to map a string onto a valid CPP name.
19244as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19245
19246# Sed expression to map a string onto a valid variable name.
19247as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19248
19249
19250exec 6>&1
19251## ----------------------------------- ##
19252## Main body of $CONFIG_STATUS script. ##
19253## ----------------------------------- ##
19254_ASEOF
19255test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19256
19257cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19258# Save the log message, to keep $0 and so on meaningful, and to
19259# report actual input values of CONFIG_FILES etc. instead of their
19260# values after options handling.
19261ac_log="
19262This file was extended by $as_me, which was
19263generated by GNU Autoconf 2.69.  Invocation command line was
19264
19265  CONFIG_FILES    = $CONFIG_FILES
19266  CONFIG_HEADERS  = $CONFIG_HEADERS
19267  CONFIG_LINKS    = $CONFIG_LINKS
19268  CONFIG_COMMANDS = $CONFIG_COMMANDS
19269  $ $0 $@
19270
19271on `(hostname || uname -n) 2>/dev/null | sed 1q`
19272"
19273
19274_ACEOF
19275
19276case $ac_config_files in *"
19277"*) set x $ac_config_files; shift; ac_config_files=$*;;
19278esac
19279
19280case $ac_config_headers in *"
19281"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19282esac
19283
19284
19285cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19286# Files that config.status was made for.
19287config_files="$ac_config_files"
19288config_headers="$ac_config_headers"
19289config_commands="$ac_config_commands"
19290
19291_ACEOF
19292
19293cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19294ac_cs_usage="\
19295\`$as_me' instantiates files and other configuration actions
19296from templates according to the current configuration.  Unless the files
19297and actions are specified as TAGs, all are instantiated by default.
19298
19299Usage: $0 [OPTION]... [TAG]...
19300
19301  -h, --help       print this help, then exit
19302  -V, --version    print version number and configuration settings, then exit
19303      --config     print configuration, then exit
19304  -q, --quiet, --silent
19305                   do not print progress messages
19306  -d, --debug      don't remove temporary files
19307      --recheck    update $as_me by reconfiguring in the same conditions
19308      --file=FILE[:TEMPLATE]
19309                   instantiate the configuration file FILE
19310      --header=FILE[:TEMPLATE]
19311                   instantiate the configuration header FILE
19312
19313Configuration files:
19314$config_files
19315
19316Configuration headers:
19317$config_headers
19318
19319Configuration commands:
19320$config_commands
19321
19322Report bugs to the package provider."
19323
19324_ACEOF
19325cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19326ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19327ac_cs_version="\\
19328config.status
19329configured by $0, generated by GNU Autoconf 2.69,
19330  with options \\"\$ac_cs_config\\"
19331
19332Copyright (C) 2012 Free Software Foundation, Inc.
19333This config.status script is free software; the Free Software Foundation
19334gives unlimited permission to copy, distribute and modify it."
19335
19336ac_pwd='$ac_pwd'
19337srcdir='$srcdir'
19338INSTALL='$INSTALL'
19339MKDIR_P='$MKDIR_P'
19340AWK='$AWK'
19341test -n "\$AWK" || AWK=awk
19342_ACEOF
19343
19344cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19345# The default lists apply if the user does not specify any file.
19346ac_need_defaults=:
19347while test $# != 0
19348do
19349  case $1 in
19350  --*=?*)
19351    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19352    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19353    ac_shift=:
19354    ;;
19355  --*=)
19356    ac_option=`expr "X$1" : 'X\([^=]*\)='`
19357    ac_optarg=
19358    ac_shift=:
19359    ;;
19360  *)
19361    ac_option=$1
19362    ac_optarg=$2
19363    ac_shift=shift
19364    ;;
19365  esac
19366
19367  case $ac_option in
19368  # Handling of the options.
19369  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19370    ac_cs_recheck=: ;;
19371  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19372    $as_echo "$ac_cs_version"; exit ;;
19373  --config | --confi | --conf | --con | --co | --c )
19374    $as_echo "$ac_cs_config"; exit ;;
19375  --debug | --debu | --deb | --de | --d | -d )
19376    debug=: ;;
19377  --file | --fil | --fi | --f )
19378    $ac_shift
19379    case $ac_optarg in
19380    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19381    '') as_fn_error $? "missing file argument" ;;
19382    esac
19383    as_fn_append CONFIG_FILES " '$ac_optarg'"
19384    ac_need_defaults=false;;
19385  --header | --heade | --head | --hea )
19386    $ac_shift
19387    case $ac_optarg in
19388    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19389    esac
19390    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
19391    ac_need_defaults=false;;
19392  --he | --h)
19393    # Conflict between --help and --header
19394    as_fn_error $? "ambiguous option: \`$1'
19395Try \`$0 --help' for more information.";;
19396  --help | --hel | -h )
19397    $as_echo "$ac_cs_usage"; exit ;;
19398  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
19399  | -silent | --silent | --silen | --sile | --sil | --si | --s)
19400    ac_cs_silent=: ;;
19401
19402  # This is an error.
19403  -*) as_fn_error $? "unrecognized option: \`$1'
19404Try \`$0 --help' for more information." ;;
19405
19406  *) as_fn_append ac_config_targets " $1"
19407     ac_need_defaults=false ;;
19408
19409  esac
19410  shift
19411done
19412
19413ac_configure_extra_args=
19414
19415if $ac_cs_silent; then
19416  exec 6>/dev/null
19417  ac_configure_extra_args="$ac_configure_extra_args --silent"
19418fi
19419
19420_ACEOF
19421cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19422if \$ac_cs_recheck; then
19423  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
19424  shift
19425  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
19426  CONFIG_SHELL='$SHELL'
19427  export CONFIG_SHELL
19428  exec "\$@"
19429fi
19430
19431_ACEOF
19432cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19433exec 5>>config.log
19434{
19435  echo
19436  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
19437## Running $as_me. ##
19438_ASBOX
19439  $as_echo "$ac_log"
19440} >&5
19441
19442_ACEOF
19443cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19444#
19445# INIT-COMMANDS
19446#
19447AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
19448
19449
19450# The HP-UX ksh and POSIX shell print the target directory to stdout
19451# if CDPATH is set.
19452(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19453
19454sed_quote_subst='$sed_quote_subst'
19455double_quote_subst='$double_quote_subst'
19456delay_variable_subst='$delay_variable_subst'
19457enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
19458AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
19459DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
19460OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
19461macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
19462macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
19463enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
19464pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
19465enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
19466shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
19467SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
19468ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
19469PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
19470host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
19471host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
19472host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
19473build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
19474build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
19475build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
19476SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
19477Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
19478GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
19479EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
19480FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
19481LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
19482NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
19483LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
19484max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
19485ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
19486exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
19487lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
19488lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
19489lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
19490lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
19491lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
19492reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
19493reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
19494deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
19495file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
19496file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
19497want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
19498sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
19499AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
19500AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
19501archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
19502STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
19503RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
19504old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19505old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19506old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
19507lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
19508CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
19509CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
19510compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
19511GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
19512lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
19513lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
19514lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
19515lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
19516lt_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"`'
19517lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
19518nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
19519lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
19520lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
19521objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
19522MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
19523lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
19524lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
19525lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
19526lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
19527lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
19528need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
19529MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
19530DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
19531NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
19532LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
19533OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
19534OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
19535libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
19536shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
19537extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19538archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
19539enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
19540export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
19541whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
19542compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
19543old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
19544old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
19545archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
19546archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19547module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
19548module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
19549with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
19550allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
19551no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
19552hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
19553hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
19554hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
19555hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
19556hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
19557hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
19558hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
19559inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
19560link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
19561always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
19562export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
19563exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
19564include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
19565prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
19566postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
19567file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
19568variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
19569need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
19570need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
19571version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
19572runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
19573shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
19574shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
19575libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
19576library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
19577soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
19578install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
19579postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
19580postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
19581finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
19582finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
19583hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
19584sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
19585configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
19586configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
19587hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
19588enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
19589enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
19590enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
19591old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
19592striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
19593compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
19594predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
19595postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
19596predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
19597postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
19598compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
19599LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
19600reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
19601reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19602old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19603compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
19604GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
19605lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
19606lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
19607lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
19608lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
19609lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
19610archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
19611enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
19612export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19613whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19614compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
19615old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19616old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19617archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19618archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19619module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19620module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19621with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
19622allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19623no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
19624hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
19625hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
19626hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
19627hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
19628hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
19629hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
19630hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
19631inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
19632link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
19633always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
19634export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19635exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19636include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
19637prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19638postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
19639file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
19640hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
19641compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
19642predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19643postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
19644predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
19645postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
19646compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
19647
19648LTCC='$LTCC'
19649LTCFLAGS='$LTCFLAGS'
19650compiler='$compiler_DEFAULT'
19651
19652# A function that is used when there is no print builtin or printf.
19653func_fallback_echo ()
19654{
19655  eval 'cat <<_LTECHO_EOF
19656\$1
19657_LTECHO_EOF'
19658}
19659
19660# Quote evaled strings.
19661for var in AS \
19662DLLTOOL \
19663OBJDUMP \
19664SHELL \
19665ECHO \
19666PATH_SEPARATOR \
19667SED \
19668GREP \
19669EGREP \
19670FGREP \
19671LD \
19672NM \
19673LN_S \
19674lt_SP2NL \
19675lt_NL2SP \
19676reload_flag \
19677deplibs_check_method \
19678file_magic_cmd \
19679file_magic_glob \
19680want_nocaseglob \
19681sharedlib_from_linklib_cmd \
19682AR \
19683AR_FLAGS \
19684archiver_list_spec \
19685STRIP \
19686RANLIB \
19687CC \
19688CFLAGS \
19689compiler \
19690lt_cv_sys_global_symbol_pipe \
19691lt_cv_sys_global_symbol_to_cdecl \
19692lt_cv_sys_global_symbol_to_import \
19693lt_cv_sys_global_symbol_to_c_name_address \
19694lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
19695lt_cv_nm_interface \
19696nm_file_list_spec \
19697lt_cv_truncate_bin \
19698lt_prog_compiler_no_builtin_flag \
19699lt_prog_compiler_pic \
19700lt_prog_compiler_wl \
19701lt_prog_compiler_static \
19702lt_cv_prog_compiler_c_o \
19703need_locks \
19704MANIFEST_TOOL \
19705DSYMUTIL \
19706NMEDIT \
19707LIPO \
19708OTOOL \
19709OTOOL64 \
19710shrext_cmds \
19711export_dynamic_flag_spec \
19712whole_archive_flag_spec \
19713compiler_needs_object \
19714with_gnu_ld \
19715allow_undefined_flag \
19716no_undefined_flag \
19717hardcode_libdir_flag_spec \
19718hardcode_libdir_separator \
19719exclude_expsyms \
19720include_expsyms \
19721file_list_spec \
19722variables_saved_for_relink \
19723libname_spec \
19724library_names_spec \
19725soname_spec \
19726install_override_mode \
19727finish_eval \
19728old_striplib \
19729striplib \
19730compiler_lib_search_dirs \
19731predep_objects \
19732postdep_objects \
19733predeps \
19734postdeps \
19735compiler_lib_search_path \
19736LD_CXX \
19737reload_flag_CXX \
19738compiler_CXX \
19739lt_prog_compiler_no_builtin_flag_CXX \
19740lt_prog_compiler_pic_CXX \
19741lt_prog_compiler_wl_CXX \
19742lt_prog_compiler_static_CXX \
19743lt_cv_prog_compiler_c_o_CXX \
19744export_dynamic_flag_spec_CXX \
19745whole_archive_flag_spec_CXX \
19746compiler_needs_object_CXX \
19747with_gnu_ld_CXX \
19748allow_undefined_flag_CXX \
19749no_undefined_flag_CXX \
19750hardcode_libdir_flag_spec_CXX \
19751hardcode_libdir_separator_CXX \
19752exclude_expsyms_CXX \
19753include_expsyms_CXX \
19754file_list_spec_CXX \
19755compiler_lib_search_dirs_CXX \
19756predep_objects_CXX \
19757postdep_objects_CXX \
19758predeps_CXX \
19759postdeps_CXX \
19760compiler_lib_search_path_CXX; do
19761    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19762    *[\\\\\\\`\\"\\\$]*)
19763      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19764      ;;
19765    *)
19766      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19767      ;;
19768    esac
19769done
19770
19771# Double-quote double-evaled strings.
19772for var in reload_cmds \
19773old_postinstall_cmds \
19774old_postuninstall_cmds \
19775old_archive_cmds \
19776extract_expsyms_cmds \
19777old_archive_from_new_cmds \
19778old_archive_from_expsyms_cmds \
19779archive_cmds \
19780archive_expsym_cmds \
19781module_cmds \
19782module_expsym_cmds \
19783export_symbols_cmds \
19784prelink_cmds \
19785postlink_cmds \
19786postinstall_cmds \
19787postuninstall_cmds \
19788finish_cmds \
19789sys_lib_search_path_spec \
19790configure_time_dlsearch_path \
19791configure_time_lt_sys_library_path \
19792reload_cmds_CXX \
19793old_archive_cmds_CXX \
19794old_archive_from_new_cmds_CXX \
19795old_archive_from_expsyms_cmds_CXX \
19796archive_cmds_CXX \
19797archive_expsym_cmds_CXX \
19798module_cmds_CXX \
19799module_expsym_cmds_CXX \
19800export_symbols_cmds_CXX \
19801prelink_cmds_CXX \
19802postlink_cmds_CXX; do
19803    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19804    *[\\\\\\\`\\"\\\$]*)
19805      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
19806      ;;
19807    *)
19808      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
19809      ;;
19810    esac
19811done
19812
19813ac_aux_dir='$ac_aux_dir'
19814
19815# See if we are running on zsh, and set the options that allow our
19816# commands through without removal of \ escapes INIT.
19817if test -n "\${ZSH_VERSION+set}"; then
19818   setopt NO_GLOB_SUBST
19819fi
19820
19821
19822    PACKAGE='$PACKAGE'
19823    VERSION='$VERSION'
19824    RM='$RM'
19825    ofile='$ofile'
19826
19827
19828
19829
19830
19831
19832_ACEOF
19833
19834cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19835
19836# Handling of arguments.
19837for ac_config_target in $ac_config_targets
19838do
19839  case $ac_config_target in
19840    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19841    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19842    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
19843    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
19844    "gdl/Makefile") CONFIG_FILES="$CONFIG_FILES gdl/Makefile" ;;
19845    "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
19846    "docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
19847    "docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
19848    "docs/reference/version.xml") CONFIG_FILES="$CONFIG_FILES docs/reference/version.xml" ;;
19849    "gdl.spec") CONFIG_FILES="$CONFIG_FILES gdl.spec" ;;
19850    "gdl-3.0.pc") CONFIG_FILES="$CONFIG_FILES gdl-3.0.pc" ;;
19851    "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;;
19852
19853  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
19854  esac
19855done
19856
19857
19858# If the user did not use the arguments to specify the items to instantiate,
19859# then the envvar interface is used.  Set only those that are not.
19860# We use the long form for the default assignment because of an extremely
19861# bizarre bug on SunOS 4.1.3.
19862if $ac_need_defaults; then
19863  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
19864  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
19865  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
19866fi
19867
19868# Have a temporary directory for convenience.  Make it in the build tree
19869# simply because there is no reason against having it here, and in addition,
19870# creating and moving files from /tmp can sometimes cause problems.
19871# Hook for its removal unless debugging.
19872# Note that there is a small window in which the directory will not be cleaned:
19873# after its creation but before its name has been assigned to `$tmp'.
19874$debug ||
19875{
19876  tmp= ac_tmp=
19877  trap 'exit_status=$?
19878  : "${ac_tmp:=$tmp}"
19879  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19880' 0
19881  trap 'as_fn_exit 1' 1 2 13 15
19882}
19883# Create a (secure) tmp directory for tmp files.
19884
19885{
19886  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19887  test -d "$tmp"
19888}  ||
19889{
19890  tmp=./conf$$-$RANDOM
19891  (umask 077 && mkdir "$tmp")
19892} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
19893ac_tmp=$tmp
19894
19895# Set up the scripts for CONFIG_FILES section.
19896# No need to generate them if there are no CONFIG_FILES.
19897# This happens for instance with `./config.status config.h'.
19898if test -n "$CONFIG_FILES"; then
19899
19900
19901ac_cr=`echo X | tr X '\015'`
19902# On cygwin, bash can eat \r inside `` if the user requested igncr.
19903# But we know of no other shell where ac_cr would be empty at this
19904# point, so we can use a bashism as a fallback.
19905if test "x$ac_cr" = x; then
19906  eval ac_cr=\$\'\\r\'
19907fi
19908ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
19909if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19910  ac_cs_awk_cr='\\r'
19911else
19912  ac_cs_awk_cr=$ac_cr
19913fi
19914
19915echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19916_ACEOF
19917
19918
19919{
19920  echo "cat >conf$$subs.awk <<_ACEOF" &&
19921  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
19922  echo "_ACEOF"
19923} >conf$$subs.sh ||
19924  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19925ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
19926ac_delim='%!_!# '
19927for ac_last_try in false false false false false :; do
19928  . ./conf$$subs.sh ||
19929    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19930
19931  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
19932  if test $ac_delim_n = $ac_delim_num; then
19933    break
19934  elif $ac_last_try; then
19935    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
19936  else
19937    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
19938  fi
19939done
19940rm -f conf$$subs.sh
19941
19942cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19943cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19944_ACEOF
19945sed -n '
19946h
19947s/^/S["/; s/!.*/"]=/
19948p
19949g
19950s/^[^!]*!//
19951:repl
19952t repl
19953s/'"$ac_delim"'$//
19954t delim
19955:nl
19956h
19957s/\(.\{148\}\)..*/\1/
19958t more1
19959s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
19960p
19961n
19962b repl
19963:more1
19964s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19965p
19966g
19967s/.\{148\}//
19968t nl
19969:delim
19970h
19971s/\(.\{148\}\)..*/\1/
19972t more2
19973s/["\\]/\\&/g; s/^/"/; s/$/"/
19974p
19975b
19976:more2
19977s/["\\]/\\&/g; s/^/"/; s/$/"\\/
19978p
19979g
19980s/.\{148\}//
19981t delim
19982' <conf$$subs.awk | sed '
19983/^[^""]/{
19984  N
19985  s/\n//
19986}
19987' >>$CONFIG_STATUS || ac_write_fail=1
19988rm -f conf$$subs.awk
19989cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19990_ACAWK
19991cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19992  for (key in S) S_is_set[key] = 1
19993  FS = ""
19994
19995}
19996{
19997  line = $ 0
19998  nfields = split(line, field, "@")
19999  substed = 0
20000  len = length(field[1])
20001  for (i = 2; i < nfields; i++) {
20002    key = field[i]
20003    keylen = length(key)
20004    if (S_is_set[key]) {
20005      value = S[key]
20006      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20007      len += length(value) + length(field[++i])
20008      substed = 1
20009    } else
20010      len += 1 + keylen
20011  }
20012
20013  print line
20014}
20015
20016_ACAWK
20017_ACEOF
20018cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20019if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20020  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20021else
20022  cat
20023fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20024  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20025_ACEOF
20026
20027# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20028# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20029# trailing colons and then remove the whole line if VPATH becomes empty
20030# (actually we leave an empty line to preserve line numbers).
20031if test "x$srcdir" = x.; then
20032  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
20033h
20034s///
20035s/^/:/
20036s/[	 ]*$/:/
20037s/:\$(srcdir):/:/g
20038s/:\${srcdir}:/:/g
20039s/:@srcdir@:/:/g
20040s/^:*//
20041s/:*$//
20042x
20043s/\(=[	 ]*\).*/\1/
20044G
20045s/\n//
20046s/^[^=]*=[	 ]*$//
20047}'
20048fi
20049
20050cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20051fi # test -n "$CONFIG_FILES"
20052
20053# Set up the scripts for CONFIG_HEADERS section.
20054# No need to generate them if there are no CONFIG_HEADERS.
20055# This happens for instance with `./config.status Makefile'.
20056if test -n "$CONFIG_HEADERS"; then
20057cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20058BEGIN {
20059_ACEOF
20060
20061# Transform confdefs.h into an awk script `defines.awk', embedded as
20062# here-document in config.status, that substitutes the proper values into
20063# config.h.in to produce config.h.
20064
20065# Create a delimiter string that does not exist in confdefs.h, to ease
20066# handling of long lines.
20067ac_delim='%!_!# '
20068for ac_last_try in false false :; do
20069  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20070  if test -z "$ac_tt"; then
20071    break
20072  elif $ac_last_try; then
20073    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20074  else
20075    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20076  fi
20077done
20078
20079# For the awk script, D is an array of macro values keyed by name,
20080# likewise P contains macro parameters if any.  Preserve backslash
20081# newline sequences.
20082
20083ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20084sed -n '
20085s/.\{148\}/&'"$ac_delim"'/g
20086t rset
20087:rset
20088s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
20089t def
20090d
20091:def
20092s/\\$//
20093t bsnl
20094s/["\\]/\\&/g
20095s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
20096D["\1"]=" \3"/p
20097s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
20098d
20099:bsnl
20100s/["\\]/\\&/g
20101s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
20102D["\1"]=" \3\\\\\\n"\\/p
20103t cont
20104s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20105t cont
20106d
20107:cont
20108n
20109s/.\{148\}/&'"$ac_delim"'/g
20110t clear
20111:clear
20112s/\\$//
20113t bsnlc
20114s/["\\]/\\&/g; s/^/"/; s/$/"/p
20115d
20116:bsnlc
20117s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20118b cont
20119' <confdefs.h | sed '
20120s/'"$ac_delim"'/"\\\
20121"/g' >>$CONFIG_STATUS || ac_write_fail=1
20122
20123cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20124  for (key in D) D_is_set[key] = 1
20125  FS = ""
20126}
20127/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20128  line = \$ 0
20129  split(line, arg, " ")
20130  if (arg[1] == "#") {
20131    defundef = arg[2]
20132    mac1 = arg[3]
20133  } else {
20134    defundef = substr(arg[1], 2)
20135    mac1 = arg[2]
20136  }
20137  split(mac1, mac2, "(") #)
20138  macro = mac2[1]
20139  prefix = substr(line, 1, index(line, defundef) - 1)
20140  if (D_is_set[macro]) {
20141    # Preserve the white space surrounding the "#".
20142    print prefix "define", macro P[macro] D[macro]
20143    next
20144  } else {
20145    # Replace #undef with comments.  This is necessary, for example,
20146    # in the case of _POSIX_SOURCE, which is predefined and required
20147    # on some systems where configure will not decide to define it.
20148    if (defundef == "undef") {
20149      print "/*", prefix defundef, macro, "*/"
20150      next
20151    }
20152  }
20153}
20154{ print }
20155_ACAWK
20156_ACEOF
20157cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20158  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20159fi # test -n "$CONFIG_HEADERS"
20160
20161
20162eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
20163shift
20164for ac_tag
20165do
20166  case $ac_tag in
20167  :[FHLC]) ac_mode=$ac_tag; continue;;
20168  esac
20169  case $ac_mode$ac_tag in
20170  :[FHL]*:*);;
20171  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20172  :[FH]-) ac_tag=-:-;;
20173  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20174  esac
20175  ac_save_IFS=$IFS
20176  IFS=:
20177  set x $ac_tag
20178  IFS=$ac_save_IFS
20179  shift
20180  ac_file=$1
20181  shift
20182
20183  case $ac_mode in
20184  :L) ac_source=$1;;
20185  :[FH])
20186    ac_file_inputs=
20187    for ac_f
20188    do
20189      case $ac_f in
20190      -) ac_f="$ac_tmp/stdin";;
20191      *) # Look for the file first in the build tree, then in the source tree
20192	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
20193	 # because $ac_f cannot contain `:'.
20194	 test -f "$ac_f" ||
20195	   case $ac_f in
20196	   [\\/$]*) false;;
20197	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20198	   esac ||
20199	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20200      esac
20201      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20202      as_fn_append ac_file_inputs " '$ac_f'"
20203    done
20204
20205    # Let's still pretend it is `configure' which instantiates (i.e., don't
20206    # use $as_me), people would be surprised to read:
20207    #    /* config.h.  Generated by config.status.  */
20208    configure_input='Generated from '`
20209	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20210	`' by configure.'
20211    if test x"$ac_file" != x-; then
20212      configure_input="$ac_file.  $configure_input"
20213      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20214$as_echo "$as_me: creating $ac_file" >&6;}
20215    fi
20216    # Neutralize special characters interpreted by sed in replacement strings.
20217    case $configure_input in #(
20218    *\&* | *\|* | *\\* )
20219       ac_sed_conf_input=`$as_echo "$configure_input" |
20220       sed 's/[\\\\&|]/\\\\&/g'`;; #(
20221    *) ac_sed_conf_input=$configure_input;;
20222    esac
20223
20224    case $ac_tag in
20225    *:-:* | *:-) cat >"$ac_tmp/stdin" \
20226      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20227    esac
20228    ;;
20229  esac
20230
20231  ac_dir=`$as_dirname -- "$ac_file" ||
20232$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20233	 X"$ac_file" : 'X\(//\)[^/]' \| \
20234	 X"$ac_file" : 'X\(//\)$' \| \
20235	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20236$as_echo X"$ac_file" |
20237    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20238	    s//\1/
20239	    q
20240	  }
20241	  /^X\(\/\/\)[^/].*/{
20242	    s//\1/
20243	    q
20244	  }
20245	  /^X\(\/\/\)$/{
20246	    s//\1/
20247	    q
20248	  }
20249	  /^X\(\/\).*/{
20250	    s//\1/
20251	    q
20252	  }
20253	  s/.*/./; q'`
20254  as_dir="$ac_dir"; as_fn_mkdir_p
20255  ac_builddir=.
20256
20257case "$ac_dir" in
20258.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20259*)
20260  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20261  # A ".." for each directory in $ac_dir_suffix.
20262  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20263  case $ac_top_builddir_sub in
20264  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20265  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20266  esac ;;
20267esac
20268ac_abs_top_builddir=$ac_pwd
20269ac_abs_builddir=$ac_pwd$ac_dir_suffix
20270# for backward compatibility:
20271ac_top_builddir=$ac_top_build_prefix
20272
20273case $srcdir in
20274  .)  # We are building in place.
20275    ac_srcdir=.
20276    ac_top_srcdir=$ac_top_builddir_sub
20277    ac_abs_top_srcdir=$ac_pwd ;;
20278  [\\/]* | ?:[\\/]* )  # Absolute name.
20279    ac_srcdir=$srcdir$ac_dir_suffix;
20280    ac_top_srcdir=$srcdir
20281    ac_abs_top_srcdir=$srcdir ;;
20282  *) # Relative name.
20283    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20284    ac_top_srcdir=$ac_top_build_prefix$srcdir
20285    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20286esac
20287ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20288
20289
20290  case $ac_mode in
20291  :F)
20292  #
20293  # CONFIG_FILE
20294  #
20295
20296  case $INSTALL in
20297  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
20298  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
20299  esac
20300  ac_MKDIR_P=$MKDIR_P
20301  case $MKDIR_P in
20302  [\\/$]* | ?:[\\/]* ) ;;
20303  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
20304  esac
20305_ACEOF
20306
20307cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20308# If the template does not know about datarootdir, expand it.
20309# FIXME: This hack should be removed a few years after 2.60.
20310ac_datarootdir_hack=; ac_datarootdir_seen=
20311ac_sed_dataroot='
20312/datarootdir/ {
20313  p
20314  q
20315}
20316/@datadir@/p
20317/@docdir@/p
20318/@infodir@/p
20319/@localedir@/p
20320/@mandir@/p'
20321case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20322*datarootdir*) ac_datarootdir_seen=yes;;
20323*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20324  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20325$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20326_ACEOF
20327cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20328  ac_datarootdir_hack='
20329  s&@datadir@&$datadir&g
20330  s&@docdir@&$docdir&g
20331  s&@infodir@&$infodir&g
20332  s&@localedir@&$localedir&g
20333  s&@mandir@&$mandir&g
20334  s&\\\${datarootdir}&$datarootdir&g' ;;
20335esac
20336_ACEOF
20337
20338# Neutralize VPATH when `$srcdir' = `.'.
20339# Shell code in configure.ac might set extrasub.
20340# FIXME: do we really want to maintain this feature?
20341cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20342ac_sed_extra="$ac_vpsub
20343$extrasub
20344_ACEOF
20345cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20346:t
20347/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20348s|@configure_input@|$ac_sed_conf_input|;t t
20349s&@top_builddir@&$ac_top_builddir_sub&;t t
20350s&@top_build_prefix@&$ac_top_build_prefix&;t t
20351s&@srcdir@&$ac_srcdir&;t t
20352s&@abs_srcdir@&$ac_abs_srcdir&;t t
20353s&@top_srcdir@&$ac_top_srcdir&;t t
20354s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20355s&@builddir@&$ac_builddir&;t t
20356s&@abs_builddir@&$ac_abs_builddir&;t t
20357s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20358s&@INSTALL@&$ac_INSTALL&;t t
20359s&@MKDIR_P@&$ac_MKDIR_P&;t t
20360$ac_datarootdir_hack
20361"
20362eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20363  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20364
20365test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20366  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20367  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
20368      "$ac_tmp/out"`; test -z "$ac_out"; } &&
20369  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20370which seems to be undefined.  Please make sure it is defined" >&5
20371$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20372which seems to be undefined.  Please make sure it is defined" >&2;}
20373
20374  rm -f "$ac_tmp/stdin"
20375  case $ac_file in
20376  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20377  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20378  esac \
20379  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20380 ;;
20381  :H)
20382  #
20383  # CONFIG_HEADER
20384  #
20385  if test x"$ac_file" != x-; then
20386    {
20387      $as_echo "/* $configure_input  */" \
20388      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20389    } >"$ac_tmp/config.h" \
20390      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20391    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20392      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20393$as_echo "$as_me: $ac_file is unchanged" >&6;}
20394    else
20395      rm -f "$ac_file"
20396      mv "$ac_tmp/config.h" "$ac_file" \
20397	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
20398    fi
20399  else
20400    $as_echo "/* $configure_input  */" \
20401      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20402      || as_fn_error $? "could not create -" "$LINENO" 5
20403  fi
20404# Compute "$ac_file"'s index in $config_headers.
20405_am_arg="$ac_file"
20406_am_stamp_count=1
20407for _am_header in $config_headers :; do
20408  case $_am_header in
20409    $_am_arg | $_am_arg:* )
20410      break ;;
20411    * )
20412      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
20413  esac
20414done
20415echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
20416$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20417	 X"$_am_arg" : 'X\(//\)[^/]' \| \
20418	 X"$_am_arg" : 'X\(//\)$' \| \
20419	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
20420$as_echo X"$_am_arg" |
20421    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20422	    s//\1/
20423	    q
20424	  }
20425	  /^X\(\/\/\)[^/].*/{
20426	    s//\1/
20427	    q
20428	  }
20429	  /^X\(\/\/\)$/{
20430	    s//\1/
20431	    q
20432	  }
20433	  /^X\(\/\).*/{
20434	    s//\1/
20435	    q
20436	  }
20437	  s/.*/./; q'`/stamp-h$_am_stamp_count
20438 ;;
20439
20440  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20441$as_echo "$as_me: executing $ac_file commands" >&6;}
20442 ;;
20443  esac
20444
20445
20446  case $ac_file$ac_mode in
20447    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
20448  # Older Autoconf quotes --file arguments for eval, but not when files
20449  # are listed without --file.  Let's play safe and only enable the eval
20450  # if we detect the quoting.
20451  # TODO: see whether this extra hack can be removed once we start
20452  # requiring Autoconf 2.70 or later.
20453  case $CONFIG_FILES in #(
20454  *\'*) :
20455    eval set x "$CONFIG_FILES" ;; #(
20456  *) :
20457    set x $CONFIG_FILES ;; #(
20458  *) :
20459     ;;
20460esac
20461  shift
20462  # Used to flag and report bootstrapping failures.
20463  am_rc=0
20464  for am_mf
20465  do
20466    # Strip MF so we end up with the name of the file.
20467    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
20468    # Check whether this is an Automake generated Makefile which includes
20469    # dependency-tracking related rules and includes.
20470    # Grep'ing the whole file directly is not great: AIX grep has a line
20471    # limit of 2048, but all sed's we know have understand at least 4000.
20472    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
20473      || continue
20474    am_dirpart=`$as_dirname -- "$am_mf" ||
20475$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20476	 X"$am_mf" : 'X\(//\)[^/]' \| \
20477	 X"$am_mf" : 'X\(//\)$' \| \
20478	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
20479$as_echo X"$am_mf" |
20480    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20481	    s//\1/
20482	    q
20483	  }
20484	  /^X\(\/\/\)[^/].*/{
20485	    s//\1/
20486	    q
20487	  }
20488	  /^X\(\/\/\)$/{
20489	    s//\1/
20490	    q
20491	  }
20492	  /^X\(\/\).*/{
20493	    s//\1/
20494	    q
20495	  }
20496	  s/.*/./; q'`
20497    am_filepart=`$as_basename -- "$am_mf" ||
20498$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
20499	 X"$am_mf" : 'X\(//\)$' \| \
20500	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
20501$as_echo X/"$am_mf" |
20502    sed '/^.*\/\([^/][^/]*\)\/*$/{
20503	    s//\1/
20504	    q
20505	  }
20506	  /^X\/\(\/\/\)$/{
20507	    s//\1/
20508	    q
20509	  }
20510	  /^X\/\(\/\).*/{
20511	    s//\1/
20512	    q
20513	  }
20514	  s/.*/./; q'`
20515    { echo "$as_me:$LINENO: cd "$am_dirpart" \
20516      && sed -e '/# am--include-marker/d' "$am_filepart" \
20517        | $MAKE -f - am--depfiles" >&5
20518   (cd "$am_dirpart" \
20519      && sed -e '/# am--include-marker/d' "$am_filepart" \
20520        | $MAKE -f - am--depfiles) >&5 2>&5
20521   ac_status=$?
20522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523   (exit $ac_status); } || am_rc=$?
20524  done
20525  if test $am_rc -ne 0; then
20526    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20527$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
20528as_fn_error $? "Something went wrong bootstrapping makefile fragments
20529    for automatic dependency tracking.  Try re-running configure with the
20530    '--disable-dependency-tracking' option to at least be able to build
20531    the package (albeit without support for automatic dependency tracking).
20532See \`config.log' for more details" "$LINENO" 5; }
20533  fi
20534  { am_dirpart=; unset am_dirpart;}
20535  { am_filepart=; unset am_filepart;}
20536  { am_mf=; unset am_mf;}
20537  { am_rc=; unset am_rc;}
20538  rm -f conftest-deps.mk
20539}
20540 ;;
20541    "libtool":C)
20542
20543    # See if we are running on zsh, and set the options that allow our
20544    # commands through without removal of \ escapes.
20545    if test -n "${ZSH_VERSION+set}"; then
20546      setopt NO_GLOB_SUBST
20547    fi
20548
20549    cfgfile=${ofile}T
20550    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
20551    $RM "$cfgfile"
20552
20553    cat <<_LT_EOF >> "$cfgfile"
20554#! $SHELL
20555# Generated automatically by $as_me ($PACKAGE) $VERSION
20556# NOTE: Changes made to this file will be lost: look at ltmain.sh.
20557
20558# Provide generalized library-building support services.
20559# Written by Gordon Matzigkeit, 1996
20560
20561# Copyright (C) 2014 Free Software Foundation, Inc.
20562# This is free software; see the source for copying conditions.  There is NO
20563# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20564
20565# GNU Libtool is free software; you can redistribute it and/or modify
20566# it under the terms of the GNU General Public License as published by
20567# the Free Software Foundation; either version 2 of of the License, or
20568# (at your option) any later version.
20569#
20570# As a special exception to the GNU General Public License, if you
20571# distribute this file as part of a program or library that is built
20572# using GNU Libtool, you may include this file under the  same
20573# distribution terms that you use for the rest of that program.
20574#
20575# GNU Libtool is distributed in the hope that it will be useful, but
20576# WITHOUT ANY WARRANTY; without even the implied warranty of
20577# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20578# GNU General Public License for more details.
20579#
20580# You should have received a copy of the GNU General Public License
20581# along with this program.  If not, see <http://www.gnu.org/licenses/>.
20582
20583
20584# The names of the tagged configurations supported by this script.
20585available_tags='CXX '
20586
20587# Configured defaults for sys_lib_dlsearch_path munging.
20588: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
20589
20590# ### BEGIN LIBTOOL CONFIG
20591
20592# Whether or not to build static libraries.
20593build_old_libs=$enable_static
20594
20595# Assembler program.
20596AS=$lt_AS
20597
20598# DLL creation program.
20599DLLTOOL=$lt_DLLTOOL
20600
20601# Object dumper program.
20602OBJDUMP=$lt_OBJDUMP
20603
20604# Which release of libtool.m4 was used?
20605macro_version=$macro_version
20606macro_revision=$macro_revision
20607
20608# Whether or not to build shared libraries.
20609build_libtool_libs=$enable_shared
20610
20611# What type of objects to build.
20612pic_mode=$pic_mode
20613
20614# Whether or not to optimize for fast installation.
20615fast_install=$enable_fast_install
20616
20617# Shared archive member basename,for filename based shared library versioning on AIX.
20618shared_archive_member_spec=$shared_archive_member_spec
20619
20620# Shell to use when invoking shell scripts.
20621SHELL=$lt_SHELL
20622
20623# An echo program that protects backslashes.
20624ECHO=$lt_ECHO
20625
20626# The PATH separator for the build system.
20627PATH_SEPARATOR=$lt_PATH_SEPARATOR
20628
20629# The host system.
20630host_alias=$host_alias
20631host=$host
20632host_os=$host_os
20633
20634# The build system.
20635build_alias=$build_alias
20636build=$build
20637build_os=$build_os
20638
20639# A sed program that does not truncate output.
20640SED=$lt_SED
20641
20642# Sed that helps us avoid accidentally triggering echo(1) options like -n.
20643Xsed="\$SED -e 1s/^X//"
20644
20645# A grep program that handles long lines.
20646GREP=$lt_GREP
20647
20648# An ERE matcher.
20649EGREP=$lt_EGREP
20650
20651# A literal string matcher.
20652FGREP=$lt_FGREP
20653
20654# A BSD- or MS-compatible name lister.
20655NM=$lt_NM
20656
20657# Whether we need soft or hard links.
20658LN_S=$lt_LN_S
20659
20660# What is the maximum length of a command?
20661max_cmd_len=$max_cmd_len
20662
20663# Object file suffix (normally "o").
20664objext=$ac_objext
20665
20666# Executable file suffix (normally "").
20667exeext=$exeext
20668
20669# whether the shell understands "unset".
20670lt_unset=$lt_unset
20671
20672# turn spaces into newlines.
20673SP2NL=$lt_lt_SP2NL
20674
20675# turn newlines into spaces.
20676NL2SP=$lt_lt_NL2SP
20677
20678# convert \$build file names to \$host format.
20679to_host_file_cmd=$lt_cv_to_host_file_cmd
20680
20681# convert \$build files to toolchain format.
20682to_tool_file_cmd=$lt_cv_to_tool_file_cmd
20683
20684# Method to check whether dependent libraries are shared objects.
20685deplibs_check_method=$lt_deplibs_check_method
20686
20687# Command to use when deplibs_check_method = "file_magic".
20688file_magic_cmd=$lt_file_magic_cmd
20689
20690# How to find potential files when deplibs_check_method = "file_magic".
20691file_magic_glob=$lt_file_magic_glob
20692
20693# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
20694want_nocaseglob=$lt_want_nocaseglob
20695
20696# Command to associate shared and link libraries.
20697sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
20698
20699# The archiver.
20700AR=$lt_AR
20701
20702# Flags to create an archive.
20703AR_FLAGS=$lt_AR_FLAGS
20704
20705# How to feed a file listing to the archiver.
20706archiver_list_spec=$lt_archiver_list_spec
20707
20708# A symbol stripping program.
20709STRIP=$lt_STRIP
20710
20711# Commands used to install an old-style archive.
20712RANLIB=$lt_RANLIB
20713old_postinstall_cmds=$lt_old_postinstall_cmds
20714old_postuninstall_cmds=$lt_old_postuninstall_cmds
20715
20716# Whether to use a lock for old archive extraction.
20717lock_old_archive_extraction=$lock_old_archive_extraction
20718
20719# A C compiler.
20720LTCC=$lt_CC
20721
20722# LTCC compiler flags.
20723LTCFLAGS=$lt_CFLAGS
20724
20725# Take the output of nm and produce a listing of raw symbols and C names.
20726global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
20727
20728# Transform the output of nm in a proper C declaration.
20729global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
20730
20731# Transform the output of nm into a list of symbols to manually relocate.
20732global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
20733
20734# Transform the output of nm in a C name address pair.
20735global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
20736
20737# Transform the output of nm in a C name address pair when lib prefix is needed.
20738global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20739
20740# The name lister interface.
20741nm_interface=$lt_lt_cv_nm_interface
20742
20743# Specify filename containing input files for \$NM.
20744nm_file_list_spec=$lt_nm_file_list_spec
20745
20746# The root where to search for dependent libraries,and where our libraries should be installed.
20747lt_sysroot=$lt_sysroot
20748
20749# Command to truncate a binary pipe.
20750lt_truncate_bin=$lt_lt_cv_truncate_bin
20751
20752# The name of the directory that contains temporary libtool files.
20753objdir=$objdir
20754
20755# Used to examine libraries when file_magic_cmd begins with "file".
20756MAGIC_CMD=$MAGIC_CMD
20757
20758# Must we lock files when doing compilation?
20759need_locks=$lt_need_locks
20760
20761# Manifest tool.
20762MANIFEST_TOOL=$lt_MANIFEST_TOOL
20763
20764# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20765DSYMUTIL=$lt_DSYMUTIL
20766
20767# Tool to change global to local symbols on Mac OS X.
20768NMEDIT=$lt_NMEDIT
20769
20770# Tool to manipulate fat objects and archives on Mac OS X.
20771LIPO=$lt_LIPO
20772
20773# ldd/readelf like tool for Mach-O binaries on Mac OS X.
20774OTOOL=$lt_OTOOL
20775
20776# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
20777OTOOL64=$lt_OTOOL64
20778
20779# Old archive suffix (normally "a").
20780libext=$libext
20781
20782# Shared library suffix (normally ".so").
20783shrext_cmds=$lt_shrext_cmds
20784
20785# The commands to extract the exported symbol list from a shared archive.
20786extract_expsyms_cmds=$lt_extract_expsyms_cmds
20787
20788# Variables whose values should be saved in libtool wrapper scripts and
20789# restored at link time.
20790variables_saved_for_relink=$lt_variables_saved_for_relink
20791
20792# Do we need the "lib" prefix for modules?
20793need_lib_prefix=$need_lib_prefix
20794
20795# Do we need a version for libraries?
20796need_version=$need_version
20797
20798# Library versioning type.
20799version_type=$version_type
20800
20801# Shared library runtime path variable.
20802runpath_var=$runpath_var
20803
20804# Shared library path variable.
20805shlibpath_var=$shlibpath_var
20806
20807# Is shlibpath searched before the hard-coded library search path?
20808shlibpath_overrides_runpath=$shlibpath_overrides_runpath
20809
20810# Format of library name prefix.
20811libname_spec=$lt_libname_spec
20812
20813# List of archive names.  First name is the real one, the rest are links.
20814# The last name is the one that the linker finds with -lNAME
20815library_names_spec=$lt_library_names_spec
20816
20817# The coded name of the library, if different from the real name.
20818soname_spec=$lt_soname_spec
20819
20820# Permission mode override for installation of shared libraries.
20821install_override_mode=$lt_install_override_mode
20822
20823# Command to use after installation of a shared archive.
20824postinstall_cmds=$lt_postinstall_cmds
20825
20826# Command to use after uninstallation of a shared archive.
20827postuninstall_cmds=$lt_postuninstall_cmds
20828
20829# Commands used to finish a libtool library installation in a directory.
20830finish_cmds=$lt_finish_cmds
20831
20832# As "finish_cmds", except a single script fragment to be evaled but
20833# not shown.
20834finish_eval=$lt_finish_eval
20835
20836# Whether we should hardcode library paths into libraries.
20837hardcode_into_libs=$hardcode_into_libs
20838
20839# Compile-time system search path for libraries.
20840sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
20841
20842# Detected run-time system search path for libraries.
20843sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
20844
20845# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
20846configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
20847
20848# Whether dlopen is supported.
20849dlopen_support=$enable_dlopen
20850
20851# Whether dlopen of programs is supported.
20852dlopen_self=$enable_dlopen_self
20853
20854# Whether dlopen of statically linked programs is supported.
20855dlopen_self_static=$enable_dlopen_self_static
20856
20857# Commands to strip libraries.
20858old_striplib=$lt_old_striplib
20859striplib=$lt_striplib
20860
20861
20862# The linker used to build libraries.
20863LD=$lt_LD
20864
20865# How to create reloadable object files.
20866reload_flag=$lt_reload_flag
20867reload_cmds=$lt_reload_cmds
20868
20869# Commands used to build an old-style archive.
20870old_archive_cmds=$lt_old_archive_cmds
20871
20872# A language specific compiler.
20873CC=$lt_compiler
20874
20875# Is the compiler the GNU compiler?
20876with_gcc=$GCC
20877
20878# Compiler flag to turn off builtin functions.
20879no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20880
20881# Additional compiler flags for building library objects.
20882pic_flag=$lt_lt_prog_compiler_pic
20883
20884# How to pass a linker flag through the compiler.
20885wl=$lt_lt_prog_compiler_wl
20886
20887# Compiler flag to prevent dynamic linking.
20888link_static_flag=$lt_lt_prog_compiler_static
20889
20890# Does compiler simultaneously support -c and -o options?
20891compiler_c_o=$lt_lt_cv_prog_compiler_c_o
20892
20893# Whether or not to add -lc for building shared libraries.
20894build_libtool_need_lc=$archive_cmds_need_lc
20895
20896# Whether or not to disallow shared libs when runtime libs are static.
20897allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
20898
20899# Compiler flag to allow reflexive dlopens.
20900export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
20901
20902# Compiler flag to generate shared objects directly from archives.
20903whole_archive_flag_spec=$lt_whole_archive_flag_spec
20904
20905# Whether the compiler copes with passing no objects directly.
20906compiler_needs_object=$lt_compiler_needs_object
20907
20908# Create an old-style archive from a shared archive.
20909old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
20910
20911# Create a temporary old-style archive to link instead of a shared archive.
20912old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
20913
20914# Commands used to build a shared archive.
20915archive_cmds=$lt_archive_cmds
20916archive_expsym_cmds=$lt_archive_expsym_cmds
20917
20918# Commands used to build a loadable module if different from building
20919# a shared archive.
20920module_cmds=$lt_module_cmds
20921module_expsym_cmds=$lt_module_expsym_cmds
20922
20923# Whether we are building with GNU ld or not.
20924with_gnu_ld=$lt_with_gnu_ld
20925
20926# Flag that allows shared libraries with undefined symbols to be built.
20927allow_undefined_flag=$lt_allow_undefined_flag
20928
20929# Flag that enforces no undefined symbols.
20930no_undefined_flag=$lt_no_undefined_flag
20931
20932# Flag to hardcode \$libdir into a binary during linking.
20933# This must work even if \$libdir does not exist
20934hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
20935
20936# Whether we need a single "-rpath" flag with a separated argument.
20937hardcode_libdir_separator=$lt_hardcode_libdir_separator
20938
20939# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20940# DIR into the resulting binary.
20941hardcode_direct=$hardcode_direct
20942
20943# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
20944# DIR into the resulting binary and the resulting library dependency is
20945# "absolute",i.e impossible to change by setting \$shlibpath_var if the
20946# library is relocated.
20947hardcode_direct_absolute=$hardcode_direct_absolute
20948
20949# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
20950# into the resulting binary.
20951hardcode_minus_L=$hardcode_minus_L
20952
20953# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
20954# into the resulting binary.
20955hardcode_shlibpath_var=$hardcode_shlibpath_var
20956
20957# Set to "yes" if building a shared library automatically hardcodes DIR
20958# into the library and all subsequent libraries and executables linked
20959# against it.
20960hardcode_automatic=$hardcode_automatic
20961
20962# Set to yes if linker adds runtime paths of dependent libraries
20963# to runtime path list.
20964inherit_rpath=$inherit_rpath
20965
20966# Whether libtool must link a program against all its dependency libraries.
20967link_all_deplibs=$link_all_deplibs
20968
20969# Set to "yes" if exported symbols are required.
20970always_export_symbols=$always_export_symbols
20971
20972# The commands to list exported symbols.
20973export_symbols_cmds=$lt_export_symbols_cmds
20974
20975# Symbols that should not be listed in the preloaded symbols.
20976exclude_expsyms=$lt_exclude_expsyms
20977
20978# Symbols that must always be exported.
20979include_expsyms=$lt_include_expsyms
20980
20981# Commands necessary for linking programs (against libraries) with templates.
20982prelink_cmds=$lt_prelink_cmds
20983
20984# Commands necessary for finishing linking programs.
20985postlink_cmds=$lt_postlink_cmds
20986
20987# Specify filename containing input files.
20988file_list_spec=$lt_file_list_spec
20989
20990# How to hardcode a shared library path into an executable.
20991hardcode_action=$hardcode_action
20992
20993# The directories searched by this compiler when creating a shared library.
20994compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
20995
20996# Dependencies to place before and after the objects being linked to
20997# create a shared library.
20998predep_objects=$lt_predep_objects
20999postdep_objects=$lt_postdep_objects
21000predeps=$lt_predeps
21001postdeps=$lt_postdeps
21002
21003# The library search path used internally by the compiler when linking
21004# a shared library.
21005compiler_lib_search_path=$lt_compiler_lib_search_path
21006
21007# ### END LIBTOOL CONFIG
21008
21009_LT_EOF
21010
21011    cat <<'_LT_EOF' >> "$cfgfile"
21012
21013# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
21014
21015# func_munge_path_list VARIABLE PATH
21016# -----------------------------------
21017# VARIABLE is name of variable containing _space_ separated list of
21018# directories to be munged by the contents of PATH, which is string
21019# having a format:
21020# "DIR[:DIR]:"
21021#       string "DIR[ DIR]" will be prepended to VARIABLE
21022# ":DIR[:DIR]"
21023#       string "DIR[ DIR]" will be appended to VARIABLE
21024# "DIRP[:DIRP]::[DIRA:]DIRA"
21025#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
21026#       "DIRA[ DIRA]" will be appended to VARIABLE
21027# "DIR[:DIR]"
21028#       VARIABLE will be replaced by "DIR[ DIR]"
21029func_munge_path_list ()
21030{
21031    case x$2 in
21032    x)
21033        ;;
21034    *:)
21035        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
21036        ;;
21037    x:*)
21038        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
21039        ;;
21040    *::*)
21041        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
21042        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
21043        ;;
21044    *)
21045        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
21046        ;;
21047    esac
21048}
21049
21050
21051# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
21052func_cc_basename ()
21053{
21054    for cc_temp in $*""; do
21055      case $cc_temp in
21056        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
21057        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
21058        \-*) ;;
21059        *) break;;
21060      esac
21061    done
21062    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
21063}
21064
21065
21066# ### END FUNCTIONS SHARED WITH CONFIGURE
21067
21068_LT_EOF
21069
21070  case $host_os in
21071  aix3*)
21072    cat <<\_LT_EOF >> "$cfgfile"
21073# AIX sometimes has problems with the GCC collect2 program.  For some
21074# reason, if we set the COLLECT_NAMES environment variable, the problems
21075# vanish in a puff of smoke.
21076if test set != "${COLLECT_NAMES+set}"; then
21077  COLLECT_NAMES=
21078  export COLLECT_NAMES
21079fi
21080_LT_EOF
21081    ;;
21082  esac
21083
21084
21085ltmain=$ac_aux_dir/ltmain.sh
21086
21087
21088  # We use sed instead of cat because bash on DJGPP gets confused if
21089  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
21090  # text mode, it properly converts lines to CR/LF.  This bash problem
21091  # is reportedly fixed, but why not run on old versions too?
21092  sed '$q' "$ltmain" >> "$cfgfile" \
21093     || (rm -f "$cfgfile"; exit 1)
21094
21095   mv -f "$cfgfile" "$ofile" ||
21096    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
21097  chmod +x "$ofile"
21098
21099
21100    cat <<_LT_EOF >> "$ofile"
21101
21102# ### BEGIN LIBTOOL TAG CONFIG: CXX
21103
21104# The linker used to build libraries.
21105LD=$lt_LD_CXX
21106
21107# How to create reloadable object files.
21108reload_flag=$lt_reload_flag_CXX
21109reload_cmds=$lt_reload_cmds_CXX
21110
21111# Commands used to build an old-style archive.
21112old_archive_cmds=$lt_old_archive_cmds_CXX
21113
21114# A language specific compiler.
21115CC=$lt_compiler_CXX
21116
21117# Is the compiler the GNU compiler?
21118with_gcc=$GCC_CXX
21119
21120# Compiler flag to turn off builtin functions.
21121no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
21122
21123# Additional compiler flags for building library objects.
21124pic_flag=$lt_lt_prog_compiler_pic_CXX
21125
21126# How to pass a linker flag through the compiler.
21127wl=$lt_lt_prog_compiler_wl_CXX
21128
21129# Compiler flag to prevent dynamic linking.
21130link_static_flag=$lt_lt_prog_compiler_static_CXX
21131
21132# Does compiler simultaneously support -c and -o options?
21133compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
21134
21135# Whether or not to add -lc for building shared libraries.
21136build_libtool_need_lc=$archive_cmds_need_lc_CXX
21137
21138# Whether or not to disallow shared libs when runtime libs are static.
21139allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
21140
21141# Compiler flag to allow reflexive dlopens.
21142export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
21143
21144# Compiler flag to generate shared objects directly from archives.
21145whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
21146
21147# Whether the compiler copes with passing no objects directly.
21148compiler_needs_object=$lt_compiler_needs_object_CXX
21149
21150# Create an old-style archive from a shared archive.
21151old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
21152
21153# Create a temporary old-style archive to link instead of a shared archive.
21154old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
21155
21156# Commands used to build a shared archive.
21157archive_cmds=$lt_archive_cmds_CXX
21158archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
21159
21160# Commands used to build a loadable module if different from building
21161# a shared archive.
21162module_cmds=$lt_module_cmds_CXX
21163module_expsym_cmds=$lt_module_expsym_cmds_CXX
21164
21165# Whether we are building with GNU ld or not.
21166with_gnu_ld=$lt_with_gnu_ld_CXX
21167
21168# Flag that allows shared libraries with undefined symbols to be built.
21169allow_undefined_flag=$lt_allow_undefined_flag_CXX
21170
21171# Flag that enforces no undefined symbols.
21172no_undefined_flag=$lt_no_undefined_flag_CXX
21173
21174# Flag to hardcode \$libdir into a binary during linking.
21175# This must work even if \$libdir does not exist
21176hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
21177
21178# Whether we need a single "-rpath" flag with a separated argument.
21179hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
21180
21181# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21182# DIR into the resulting binary.
21183hardcode_direct=$hardcode_direct_CXX
21184
21185# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21186# DIR into the resulting binary and the resulting library dependency is
21187# "absolute",i.e impossible to change by setting \$shlibpath_var if the
21188# library is relocated.
21189hardcode_direct_absolute=$hardcode_direct_absolute_CXX
21190
21191# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21192# into the resulting binary.
21193hardcode_minus_L=$hardcode_minus_L_CXX
21194
21195# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21196# into the resulting binary.
21197hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
21198
21199# Set to "yes" if building a shared library automatically hardcodes DIR
21200# into the library and all subsequent libraries and executables linked
21201# against it.
21202hardcode_automatic=$hardcode_automatic_CXX
21203
21204# Set to yes if linker adds runtime paths of dependent libraries
21205# to runtime path list.
21206inherit_rpath=$inherit_rpath_CXX
21207
21208# Whether libtool must link a program against all its dependency libraries.
21209link_all_deplibs=$link_all_deplibs_CXX
21210
21211# Set to "yes" if exported symbols are required.
21212always_export_symbols=$always_export_symbols_CXX
21213
21214# The commands to list exported symbols.
21215export_symbols_cmds=$lt_export_symbols_cmds_CXX
21216
21217# Symbols that should not be listed in the preloaded symbols.
21218exclude_expsyms=$lt_exclude_expsyms_CXX
21219
21220# Symbols that must always be exported.
21221include_expsyms=$lt_include_expsyms_CXX
21222
21223# Commands necessary for linking programs (against libraries) with templates.
21224prelink_cmds=$lt_prelink_cmds_CXX
21225
21226# Commands necessary for finishing linking programs.
21227postlink_cmds=$lt_postlink_cmds_CXX
21228
21229# Specify filename containing input files.
21230file_list_spec=$lt_file_list_spec_CXX
21231
21232# How to hardcode a shared library path into an executable.
21233hardcode_action=$hardcode_action_CXX
21234
21235# The directories searched by this compiler when creating a shared library.
21236compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
21237
21238# Dependencies to place before and after the objects being linked to
21239# create a shared library.
21240predep_objects=$lt_predep_objects_CXX
21241postdep_objects=$lt_postdep_objects_CXX
21242predeps=$lt_predeps_CXX
21243postdeps=$lt_postdeps_CXX
21244
21245# The library search path used internally by the compiler when linking
21246# a shared library.
21247compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
21248
21249# ### END LIBTOOL TAG CONFIG: CXX
21250_LT_EOF
21251
21252 ;;
21253    "po/stamp-it":C)
21254    if  ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then
21255       as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5
21256    fi
21257    rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp"
21258    >"po/stamp-it.tmp"
21259    sed '/^#/d
21260	 s/^[[].*] *//
21261	 /^[ 	]*$/d
21262	'"s|^|	$ac_top_srcdir/|" \
21263      "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES"
21264
21265    sed '/^POTFILES =/,/[^\\]$/ {
21266		/^POTFILES =/!d
21267		r po/POTFILES
21268	  }
21269	 ' "po/Makefile.in" >"po/Makefile"
21270    rm -f "po/Makefile.tmp"
21271    mv "po/stamp-it.tmp" "po/stamp-it"
21272   ;;
21273
21274  esac
21275done # for ac_tag
21276
21277
21278as_fn_exit 0
21279_ACEOF
21280ac_clean_files=$ac_clean_files_save
21281
21282test $ac_write_fail = 0 ||
21283  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
21284
21285
21286# configure is writing to config.log, and then calls config.status.
21287# config.status does its own redirection, appending to config.log.
21288# Unfortunately, on DOS this fails, as config.log is still kept open
21289# by configure, so config.status won't be able to write to it; its
21290# output is simply discarded.  So we exec the FD to /dev/null,
21291# effectively closing config.log, so it can be properly (re)opened and
21292# appended to by config.status.  When coming back to configure, we
21293# need to make the FD available again.
21294if test "$no_create" != yes; then
21295  ac_cs_success=:
21296  ac_config_status_args=
21297  test "$silent" = yes &&
21298    ac_config_status_args="$ac_config_status_args --quiet"
21299  exec 5>/dev/null
21300  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21301  exec 5>>config.log
21302  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21303  # would make configure fail if this is the last instruction.
21304  $ac_cs_success || as_fn_exit 1
21305fi
21306if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
21307  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
21308$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
21309fi
21310
21311