1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libbluray 1.3.0.
4#
5# Report bugs to <http://www.videolan.org/developers/libbluray.html>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: http://www.videolan.org/developers/libbluray.html about
279$0: your system, including any error possibly output before
280$0: this message. Then install a modern shell, or manually
281$0: run the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='libbluray'
592PACKAGE_TARNAME='libbluray'
593PACKAGE_VERSION='1.3.0'
594PACKAGE_STRING='libbluray 1.3.0'
595PACKAGE_BUGREPORT='http://www.videolan.org/developers/libbluray.html'
596PACKAGE_URL=''
597
598# Factoring default headers for most tests.
599ac_includes_default="\
600#include <stdio.h>
601#ifdef HAVE_SYS_TYPES_H
602# include <sys/types.h>
603#endif
604#ifdef HAVE_SYS_STAT_H
605# include <sys/stat.h>
606#endif
607#ifdef STDC_HEADERS
608# include <stdlib.h>
609# include <stddef.h>
610#else
611# ifdef HAVE_STDLIB_H
612#  include <stdlib.h>
613# endif
614#endif
615#ifdef HAVE_STRING_H
616# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
617#  include <memory.h>
618# endif
619# include <string.h>
620#endif
621#ifdef HAVE_STRINGS_H
622# include <strings.h>
623#endif
624#ifdef HAVE_INTTYPES_H
625# include <inttypes.h>
626#endif
627#ifdef HAVE_STDINT_H
628# include <stdint.h>
629#endif
630#ifdef HAVE_UNISTD_H
631# include <unistd.h>
632#endif"
633
634ac_subst_vars='EXTRA_LIBS
635PACKAGES
636am__EXEEXT_FALSE
637am__EXEEXT_TRUE
638LTLIBOBJS
639LIBOBJS
640BDJAVA_CFLAGS
641LT_VERSION_INFO
642BLURAY_VERSION_MICRO
643BLURAY_VERSION_MINOR
644BLURAY_VERSION_MAJOR
645DOXYGEN_PAPER_SIZE
646DX_COND_latex_FALSE
647DX_COND_latex_TRUE
648DX_COND_pdf_FALSE
649DX_COND_pdf_TRUE
650DX_PDFLATEX
651DX_FLAG_pdf
652DX_COND_ps_FALSE
653DX_COND_ps_TRUE
654DX_EGREP
655DX_DVIPS
656DX_MAKEINDEX
657DX_LATEX
658DX_FLAG_ps
659DX_COND_html_FALSE
660DX_COND_html_TRUE
661DX_FLAG_html
662DX_COND_chi_FALSE
663DX_COND_chi_TRUE
664DX_FLAG_chi
665DX_COND_chm_FALSE
666DX_COND_chm_TRUE
667DX_HHC
668DX_FLAG_chm
669DX_COND_xml_FALSE
670DX_COND_xml_TRUE
671DX_FLAG_xml
672DX_COND_rtf_FALSE
673DX_COND_rtf_TRUE
674DX_FLAG_rtf
675DX_COND_man_FALSE
676DX_COND_man_TRUE
677DX_FLAG_man
678DX_COND_dot_FALSE
679DX_COND_dot_TRUE
680DX_DOT
681DX_FLAG_dot
682DX_COND_doc_FALSE
683DX_COND_doc_TRUE
684DX_PERL
685DX_DOXYGEN
686DX_FLAG_doc
687DX_ENV
688DX_DOCDIR
689DX_CONFIG
690DX_PROJECT
691HAVE_LIBUDFREAD_FALSE
692HAVE_LIBUDFREAD_TRUE
693LIBUDFREAD_LIBS
694LIBUDFREAD_CFLAGS
695BDJ_BOOTCLASSPATH
696BDJ_J2SE_FALSE
697BDJ_J2SE_TRUE
698BDJ_TYPE
699USING_JAVAC_12_FALSE
700USING_JAVAC_12_TRUE
701USING_JAVAC_9_FALSE
702USING_JAVAC_9_TRUE
703USING_BDJAVA_BUILD_JAR_FALSE
704USING_BDJAVA_BUILD_JAR_TRUE
705JAVAC
706HAVE_ANT
707USING_EXAMPLES_FALSE
708USING_EXAMPLES_TRUE
709FONTCONFIG_LIBS
710FONTCONFIG_CFLAGS
711FT2_LIBS
712FT2_CFLAGS
713LIBXML2_LIBS
714LIBXML2_CFLAGS
715PKG_CONFIG_LIBDIR
716PKG_CONFIG_PATH
717PKG_CONFIG
718DLOPEN_LIBS
719CPP
720LT_SYS_LIBRARY_PATH
721OTOOL64
722OTOOL
723LIPO
724NMEDIT
725DSYMUTIL
726MANIFEST_TOOL
727RANLIB
728DLLTOOL
729OBJDUMP
730LN_S
731NM
732ac_ct_DUMPBIN
733DUMPBIN
734LD
735FGREP
736EGREP
737GREP
738SED
739LIBTOOL
740ac_ct_AR
741AR
742am__fastdepCC_FALSE
743am__fastdepCC_TRUE
744CCDEPMODE
745am__nodep
746AMDEPBACKSLASH
747AMDEP_FALSE
748AMDEP_TRUE
749am__include
750DEPDIR
751OBJEXT
752EXEEXT
753ac_ct_CC
754CPPFLAGS
755LDFLAGS
756CFLAGS
757CC
758JDK_HOME
759HAVE_DARWIN_FALSE
760HAVE_DARWIN_TRUE
761HAVE_WIN32_FALSE
762HAVE_WIN32_TRUE
763AM_BACKSLASH
764AM_DEFAULT_VERBOSITY
765AM_DEFAULT_V
766AM_V
767am__untar
768am__tar
769AMTAR
770am__leading_dot
771SET_MAKE
772AWK
773mkdir_p
774MKDIR_P
775INSTALL_STRIP_PROGRAM
776STRIP
777install_sh
778MAKEINFO
779AUTOHEADER
780AUTOMAKE
781AUTOCONF
782ACLOCAL
783VERSION
784PACKAGE
785CYGPATH_W
786am__isrc
787INSTALL_DATA
788INSTALL_SCRIPT
789INSTALL_PROGRAM
790host_os
791host_vendor
792host_cpu
793host
794build_os
795build_vendor
796build_cpu
797build
798target_alias
799host_alias
800build_alias
801LIBS
802ECHO_T
803ECHO_N
804ECHO_C
805DEFS
806mandir
807localedir
808libdir
809psdir
810pdfdir
811dvidir
812htmldir
813infodir
814docdir
815oldincludedir
816includedir
817runstatedir
818localstatedir
819sharedstatedir
820sysconfdir
821datadir
822datarootdir
823libexecdir
824sbindir
825bindir
826program_transform_name
827prefix
828exec_prefix
829PACKAGE_URL
830PACKAGE_BUGREPORT
831PACKAGE_STRING
832PACKAGE_VERSION
833PACKAGE_TARNAME
834PACKAGE_NAME
835PATH_SEPARATOR
836SHELL
837am__quote'
838ac_subst_files=''
839ac_user_opts='
840enable_option_checking
841enable_silent_rules
842enable_werror
843enable_extra_warnings
844enable_optimizations
845enable_examples
846enable_bdjava_jar
847with_libxml2
848with_freetype
849with_fontconfig
850with_bdj_type
851with_bdj_bootclasspath
852with_java9
853enable_dependency_tracking
854enable_shared
855enable_static
856with_pic
857enable_fast_install
858with_aix_soname
859with_gnu_ld
860with_sysroot
861enable_libtool_lock
862enable_largefile
863enable_doxygen_doc
864enable_doxygen_dot
865enable_doxygen_man
866enable_doxygen_rtf
867enable_doxygen_xml
868enable_doxygen_chm
869enable_doxygen_chi
870enable_doxygen_html
871enable_doxygen_ps
872enable_doxygen_pdf
873'
874      ac_precious_vars='build_alias
875host_alias
876target_alias
877JDK_HOME
878CC
879CFLAGS
880LDFLAGS
881LIBS
882CPPFLAGS
883LT_SYS_LIBRARY_PATH
884CPP
885PKG_CONFIG
886PKG_CONFIG_PATH
887PKG_CONFIG_LIBDIR
888LIBXML2_CFLAGS
889LIBXML2_LIBS
890FT2_CFLAGS
891FT2_LIBS
892FONTCONFIG_CFLAGS
893FONTCONFIG_LIBS
894LIBUDFREAD_CFLAGS
895LIBUDFREAD_LIBS
896DOXYGEN_PAPER_SIZE'
897
898
899# Initialize some variables set by options.
900ac_init_help=
901ac_init_version=false
902ac_unrecognized_opts=
903ac_unrecognized_sep=
904# The variables have the same names as the options, with
905# dashes changed to underlines.
906cache_file=/dev/null
907exec_prefix=NONE
908no_create=
909no_recursion=
910prefix=NONE
911program_prefix=NONE
912program_suffix=NONE
913program_transform_name=s,x,x,
914silent=
915site=
916srcdir=
917verbose=
918x_includes=NONE
919x_libraries=NONE
920
921# Installation directory options.
922# These are left unexpanded so users can "make install exec_prefix=/foo"
923# and all the variables that are supposed to be based on exec_prefix
924# by default will actually change.
925# Use braces instead of parens because sh, perl, etc. also accept them.
926# (The list follows the same order as the GNU Coding Standards.)
927bindir='${exec_prefix}/bin'
928sbindir='${exec_prefix}/sbin'
929libexecdir='${exec_prefix}/libexec'
930datarootdir='${prefix}/share'
931datadir='${datarootdir}'
932sysconfdir='${prefix}/etc'
933sharedstatedir='${prefix}/com'
934localstatedir='${prefix}/var'
935runstatedir='${localstatedir}/run'
936includedir='${prefix}/include'
937oldincludedir='/usr/include'
938docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
939infodir='${datarootdir}/info'
940htmldir='${docdir}'
941dvidir='${docdir}'
942pdfdir='${docdir}'
943psdir='${docdir}'
944libdir='${exec_prefix}/lib'
945localedir='${datarootdir}/locale'
946mandir='${datarootdir}/man'
947
948ac_prev=
949ac_dashdash=
950for ac_option
951do
952  # If the previous option needs an argument, assign it.
953  if test -n "$ac_prev"; then
954    eval $ac_prev=\$ac_option
955    ac_prev=
956    continue
957  fi
958
959  case $ac_option in
960  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
961  *=)   ac_optarg= ;;
962  *)    ac_optarg=yes ;;
963  esac
964
965  # Accept the important Cygnus configure options, so we can diagnose typos.
966
967  case $ac_dashdash$ac_option in
968  --)
969    ac_dashdash=yes ;;
970
971  -bindir | --bindir | --bindi | --bind | --bin | --bi)
972    ac_prev=bindir ;;
973  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
974    bindir=$ac_optarg ;;
975
976  -build | --build | --buil | --bui | --bu)
977    ac_prev=build_alias ;;
978  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
979    build_alias=$ac_optarg ;;
980
981  -cache-file | --cache-file | --cache-fil | --cache-fi \
982  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
983    ac_prev=cache_file ;;
984  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
985  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
986    cache_file=$ac_optarg ;;
987
988  --config-cache | -C)
989    cache_file=config.cache ;;
990
991  -datadir | --datadir | --datadi | --datad)
992    ac_prev=datadir ;;
993  -datadir=* | --datadir=* | --datadi=* | --datad=*)
994    datadir=$ac_optarg ;;
995
996  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
997  | --dataroo | --dataro | --datar)
998    ac_prev=datarootdir ;;
999  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1000  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1001    datarootdir=$ac_optarg ;;
1002
1003  -disable-* | --disable-*)
1004    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1005    # Reject names that are not valid shell variable names.
1006    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007      as_fn_error $? "invalid feature name: $ac_useropt"
1008    ac_useropt_orig=$ac_useropt
1009    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010    case $ac_user_opts in
1011      *"
1012"enable_$ac_useropt"
1013"*) ;;
1014      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1015	 ac_unrecognized_sep=', ';;
1016    esac
1017    eval enable_$ac_useropt=no ;;
1018
1019  -docdir | --docdir | --docdi | --doc | --do)
1020    ac_prev=docdir ;;
1021  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1022    docdir=$ac_optarg ;;
1023
1024  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1025    ac_prev=dvidir ;;
1026  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1027    dvidir=$ac_optarg ;;
1028
1029  -enable-* | --enable-*)
1030    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1031    # Reject names that are not valid shell variable names.
1032    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1033      as_fn_error $? "invalid feature name: $ac_useropt"
1034    ac_useropt_orig=$ac_useropt
1035    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1036    case $ac_user_opts in
1037      *"
1038"enable_$ac_useropt"
1039"*) ;;
1040      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1041	 ac_unrecognized_sep=', ';;
1042    esac
1043    eval enable_$ac_useropt=\$ac_optarg ;;
1044
1045  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1046  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1047  | --exec | --exe | --ex)
1048    ac_prev=exec_prefix ;;
1049  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1050  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1051  | --exec=* | --exe=* | --ex=*)
1052    exec_prefix=$ac_optarg ;;
1053
1054  -gas | --gas | --ga | --g)
1055    # Obsolete; use --with-gas.
1056    with_gas=yes ;;
1057
1058  -help | --help | --hel | --he | -h)
1059    ac_init_help=long ;;
1060  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1061    ac_init_help=recursive ;;
1062  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1063    ac_init_help=short ;;
1064
1065  -host | --host | --hos | --ho)
1066    ac_prev=host_alias ;;
1067  -host=* | --host=* | --hos=* | --ho=*)
1068    host_alias=$ac_optarg ;;
1069
1070  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1071    ac_prev=htmldir ;;
1072  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1073  | --ht=*)
1074    htmldir=$ac_optarg ;;
1075
1076  -includedir | --includedir | --includedi | --included | --include \
1077  | --includ | --inclu | --incl | --inc)
1078    ac_prev=includedir ;;
1079  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1080  | --includ=* | --inclu=* | --incl=* | --inc=*)
1081    includedir=$ac_optarg ;;
1082
1083  -infodir | --infodir | --infodi | --infod | --info | --inf)
1084    ac_prev=infodir ;;
1085  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1086    infodir=$ac_optarg ;;
1087
1088  -libdir | --libdir | --libdi | --libd)
1089    ac_prev=libdir ;;
1090  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1091    libdir=$ac_optarg ;;
1092
1093  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1094  | --libexe | --libex | --libe)
1095    ac_prev=libexecdir ;;
1096  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1097  | --libexe=* | --libex=* | --libe=*)
1098    libexecdir=$ac_optarg ;;
1099
1100  -localedir | --localedir | --localedi | --localed | --locale)
1101    ac_prev=localedir ;;
1102  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1103    localedir=$ac_optarg ;;
1104
1105  -localstatedir | --localstatedir | --localstatedi | --localstated \
1106  | --localstate | --localstat | --localsta | --localst | --locals)
1107    ac_prev=localstatedir ;;
1108  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1109  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1110    localstatedir=$ac_optarg ;;
1111
1112  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1113    ac_prev=mandir ;;
1114  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1115    mandir=$ac_optarg ;;
1116
1117  -nfp | --nfp | --nf)
1118    # Obsolete; use --without-fp.
1119    with_fp=no ;;
1120
1121  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1122  | --no-cr | --no-c | -n)
1123    no_create=yes ;;
1124
1125  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1126  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1127    no_recursion=yes ;;
1128
1129  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1130  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1131  | --oldin | --oldi | --old | --ol | --o)
1132    ac_prev=oldincludedir ;;
1133  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1134  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1135  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1136    oldincludedir=$ac_optarg ;;
1137
1138  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1139    ac_prev=prefix ;;
1140  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1141    prefix=$ac_optarg ;;
1142
1143  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1144  | --program-pre | --program-pr | --program-p)
1145    ac_prev=program_prefix ;;
1146  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1147  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1148    program_prefix=$ac_optarg ;;
1149
1150  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1151  | --program-suf | --program-su | --program-s)
1152    ac_prev=program_suffix ;;
1153  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1154  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1155    program_suffix=$ac_optarg ;;
1156
1157  -program-transform-name | --program-transform-name \
1158  | --program-transform-nam | --program-transform-na \
1159  | --program-transform-n | --program-transform- \
1160  | --program-transform | --program-transfor \
1161  | --program-transfo | --program-transf \
1162  | --program-trans | --program-tran \
1163  | --progr-tra | --program-tr | --program-t)
1164    ac_prev=program_transform_name ;;
1165  -program-transform-name=* | --program-transform-name=* \
1166  | --program-transform-nam=* | --program-transform-na=* \
1167  | --program-transform-n=* | --program-transform-=* \
1168  | --program-transform=* | --program-transfor=* \
1169  | --program-transfo=* | --program-transf=* \
1170  | --program-trans=* | --program-tran=* \
1171  | --progr-tra=* | --program-tr=* | --program-t=*)
1172    program_transform_name=$ac_optarg ;;
1173
1174  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1175    ac_prev=pdfdir ;;
1176  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1177    pdfdir=$ac_optarg ;;
1178
1179  -psdir | --psdir | --psdi | --psd | --ps)
1180    ac_prev=psdir ;;
1181  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1182    psdir=$ac_optarg ;;
1183
1184  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1185  | -silent | --silent | --silen | --sile | --sil)
1186    silent=yes ;;
1187
1188  -runstatedir | --runstatedir | --runstatedi | --runstated \
1189  | --runstate | --runstat | --runsta | --runst | --runs \
1190  | --run | --ru | --r)
1191    ac_prev=runstatedir ;;
1192  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1193  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1194  | --run=* | --ru=* | --r=*)
1195    runstatedir=$ac_optarg ;;
1196
1197  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1198    ac_prev=sbindir ;;
1199  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1200  | --sbi=* | --sb=*)
1201    sbindir=$ac_optarg ;;
1202
1203  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1204  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1205  | --sharedst | --shareds | --shared | --share | --shar \
1206  | --sha | --sh)
1207    ac_prev=sharedstatedir ;;
1208  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1209  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1210  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1211  | --sha=* | --sh=*)
1212    sharedstatedir=$ac_optarg ;;
1213
1214  -site | --site | --sit)
1215    ac_prev=site ;;
1216  -site=* | --site=* | --sit=*)
1217    site=$ac_optarg ;;
1218
1219  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1220    ac_prev=srcdir ;;
1221  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1222    srcdir=$ac_optarg ;;
1223
1224  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1225  | --syscon | --sysco | --sysc | --sys | --sy)
1226    ac_prev=sysconfdir ;;
1227  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1228  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1229    sysconfdir=$ac_optarg ;;
1230
1231  -target | --target | --targe | --targ | --tar | --ta | --t)
1232    ac_prev=target_alias ;;
1233  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1234    target_alias=$ac_optarg ;;
1235
1236  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1237    verbose=yes ;;
1238
1239  -version | --version | --versio | --versi | --vers | -V)
1240    ac_init_version=: ;;
1241
1242  -with-* | --with-*)
1243    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244    # Reject names that are not valid shell variable names.
1245    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246      as_fn_error $? "invalid package name: $ac_useropt"
1247    ac_useropt_orig=$ac_useropt
1248    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249    case $ac_user_opts in
1250      *"
1251"with_$ac_useropt"
1252"*) ;;
1253      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1254	 ac_unrecognized_sep=', ';;
1255    esac
1256    eval with_$ac_useropt=\$ac_optarg ;;
1257
1258  -without-* | --without-*)
1259    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260    # Reject names that are not valid shell variable names.
1261    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262      as_fn_error $? "invalid package name: $ac_useropt"
1263    ac_useropt_orig=$ac_useropt
1264    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265    case $ac_user_opts in
1266      *"
1267"with_$ac_useropt"
1268"*) ;;
1269      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270	 ac_unrecognized_sep=', ';;
1271    esac
1272    eval with_$ac_useropt=no ;;
1273
1274  --x)
1275    # Obsolete; use --with-x.
1276    with_x=yes ;;
1277
1278  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1279  | --x-incl | --x-inc | --x-in | --x-i)
1280    ac_prev=x_includes ;;
1281  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1282  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1283    x_includes=$ac_optarg ;;
1284
1285  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1286  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1287    ac_prev=x_libraries ;;
1288  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1289  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1290    x_libraries=$ac_optarg ;;
1291
1292  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1293Try \`$0 --help' for more information"
1294    ;;
1295
1296  *=*)
1297    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1298    # Reject names that are not valid shell variable names.
1299    case $ac_envvar in #(
1300      '' | [0-9]* | *[!_$as_cr_alnum]* )
1301      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1302    esac
1303    eval $ac_envvar=\$ac_optarg
1304    export $ac_envvar ;;
1305
1306  *)
1307    # FIXME: should be removed in autoconf 3.0.
1308    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1310      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1312    ;;
1313
1314  esac
1315done
1316
1317if test -n "$ac_prev"; then
1318  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1319  as_fn_error $? "missing argument to $ac_option"
1320fi
1321
1322if test -n "$ac_unrecognized_opts"; then
1323  case $enable_option_checking in
1324    no) ;;
1325    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1326    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1327  esac
1328fi
1329
1330# Check all directory arguments for consistency.
1331for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1332		datadir sysconfdir sharedstatedir localstatedir includedir \
1333		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1334		libdir localedir mandir runstatedir
1335do
1336  eval ac_val=\$$ac_var
1337  # Remove trailing slashes.
1338  case $ac_val in
1339    */ )
1340      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1341      eval $ac_var=\$ac_val;;
1342  esac
1343  # Be sure to have absolute directory names.
1344  case $ac_val in
1345    [\\/$]* | ?:[\\/]* )  continue;;
1346    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1347  esac
1348  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1349done
1350
1351# There might be people who depend on the old broken behavior: `$host'
1352# used to hold the argument of --host etc.
1353# FIXME: To remove some day.
1354build=$build_alias
1355host=$host_alias
1356target=$target_alias
1357
1358# FIXME: To remove some day.
1359if test "x$host_alias" != x; then
1360  if test "x$build_alias" = x; then
1361    cross_compiling=maybe
1362  elif test "x$build_alias" != "x$host_alias"; then
1363    cross_compiling=yes
1364  fi
1365fi
1366
1367ac_tool_prefix=
1368test -n "$host_alias" && ac_tool_prefix=$host_alias-
1369
1370test "$silent" = yes && exec 6>/dev/null
1371
1372
1373ac_pwd=`pwd` && test -n "$ac_pwd" &&
1374ac_ls_di=`ls -di .` &&
1375ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1376  as_fn_error $? "working directory cannot be determined"
1377test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1378  as_fn_error $? "pwd does not report name of working directory"
1379
1380
1381# Find the source files, if location was not specified.
1382if test -z "$srcdir"; then
1383  ac_srcdir_defaulted=yes
1384  # Try the directory containing this script, then the parent directory.
1385  ac_confdir=`$as_dirname -- "$as_myself" ||
1386$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1387	 X"$as_myself" : 'X\(//\)[^/]' \| \
1388	 X"$as_myself" : 'X\(//\)$' \| \
1389	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1390$as_echo X"$as_myself" |
1391    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1392	    s//\1/
1393	    q
1394	  }
1395	  /^X\(\/\/\)[^/].*/{
1396	    s//\1/
1397	    q
1398	  }
1399	  /^X\(\/\/\)$/{
1400	    s//\1/
1401	    q
1402	  }
1403	  /^X\(\/\).*/{
1404	    s//\1/
1405	    q
1406	  }
1407	  s/.*/./; q'`
1408  srcdir=$ac_confdir
1409  if test ! -r "$srcdir/$ac_unique_file"; then
1410    srcdir=..
1411  fi
1412else
1413  ac_srcdir_defaulted=no
1414fi
1415if test ! -r "$srcdir/$ac_unique_file"; then
1416  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1417  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1418fi
1419ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1420ac_abs_confdir=`(
1421	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1422	pwd)`
1423# When building in place, set srcdir=.
1424if test "$ac_abs_confdir" = "$ac_pwd"; then
1425  srcdir=.
1426fi
1427# Remove unnecessary trailing slashes from srcdir.
1428# Double slashes in file names in object file debugging info
1429# mess up M-x gdb in Emacs.
1430case $srcdir in
1431*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1432esac
1433for ac_var in $ac_precious_vars; do
1434  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1435  eval ac_env_${ac_var}_value=\$${ac_var}
1436  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1437  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1438done
1439
1440#
1441# Report the --help message.
1442#
1443if test "$ac_init_help" = "long"; then
1444  # Omit some internal or obsolete options to make the list less imposing.
1445  # This message is too long to be a string in the A/UX 3.1 sh.
1446  cat <<_ACEOF
1447\`configure' configures libbluray 1.3.0 to adapt to many kinds of systems.
1448
1449Usage: $0 [OPTION]... [VAR=VALUE]...
1450
1451To assign environment variables (e.g., CC, CFLAGS...), specify them as
1452VAR=VALUE.  See below for descriptions of some of the useful variables.
1453
1454Defaults for the options are specified in brackets.
1455
1456Configuration:
1457  -h, --help              display this help and exit
1458      --help=short        display options specific to this package
1459      --help=recursive    display the short help of all the included packages
1460  -V, --version           display version information and exit
1461  -q, --quiet, --silent   do not print \`checking ...' messages
1462      --cache-file=FILE   cache test results in FILE [disabled]
1463  -C, --config-cache      alias for \`--cache-file=config.cache'
1464  -n, --no-create         do not create output files
1465      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1466
1467Installation directories:
1468  --prefix=PREFIX         install architecture-independent files in PREFIX
1469                          [$ac_default_prefix]
1470  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1471                          [PREFIX]
1472
1473By default, \`make install' will install all the files in
1474\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1475an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1476for instance \`--prefix=\$HOME'.
1477
1478For better control, use the options below.
1479
1480Fine tuning of the installation directories:
1481  --bindir=DIR            user executables [EPREFIX/bin]
1482  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1483  --libexecdir=DIR        program executables [EPREFIX/libexec]
1484  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1485  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1486  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1487  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1488  --libdir=DIR            object code libraries [EPREFIX/lib]
1489  --includedir=DIR        C header files [PREFIX/include]
1490  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1491  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1492  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1493  --infodir=DIR           info documentation [DATAROOTDIR/info]
1494  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1495  --mandir=DIR            man documentation [DATAROOTDIR/man]
1496  --docdir=DIR            documentation root [DATAROOTDIR/doc/libbluray]
1497  --htmldir=DIR           html documentation [DOCDIR]
1498  --dvidir=DIR            dvi documentation [DOCDIR]
1499  --pdfdir=DIR            pdf documentation [DOCDIR]
1500  --psdir=DIR             ps documentation [DOCDIR]
1501_ACEOF
1502
1503  cat <<\_ACEOF
1504
1505Program names:
1506  --program-prefix=PREFIX            prepend PREFIX to installed program names
1507  --program-suffix=SUFFIX            append SUFFIX to installed program names
1508  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1509
1510System types:
1511  --build=BUILD     configure for building on BUILD [guessed]
1512  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1513_ACEOF
1514fi
1515
1516if test -n "$ac_init_help"; then
1517  case $ac_init_help in
1518     short | recursive ) echo "Configuration of libbluray 1.3.0:";;
1519   esac
1520  cat <<\_ACEOF
1521
1522Optional Features:
1523  --disable-option-checking  ignore unrecognized --enable/--with options
1524  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1525  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1526  --enable-silent-rules   less verbose build output (undo: "make V=1")
1527  --disable-silent-rules  verbose build output (undo: "make V=0")
1528  --enable-werror         set warnings as errors via -Werror
1529                          [default=disabled]
1530  --disable-extra-warnings
1531                          set extra warnings [default=enabled]
1532  --disable-optimizations disable optimizations [default=enabled]
1533  --enable-examples       build examples (default is yes)
1534  --disable-bdjava-jar    disable building of BD-Java JAR file
1535                          [default=enabled]
1536  --enable-dependency-tracking
1537                          do not reject slow dependency extractors
1538  --disable-dependency-tracking
1539                          speeds up one-time build
1540  --enable-shared[=PKGS]  build shared libraries [default=yes]
1541  --enable-static[=PKGS]  build static libraries [default=yes]
1542  --enable-fast-install[=PKGS]
1543                          optimize for fast installation [default=yes]
1544  --disable-libtool-lock  avoid locking (might break parallel builds)
1545  --disable-largefile     omit support for large files
1546  --disable-doxygen-doc   don't generate any doxygen documentation
1547  --disable-doxygen-dot   don't generate graphics for doxygen documentation
1548  --enable-doxygen-man    generate doxygen manual pages
1549  --enable-doxygen-rtf    generate doxygen RTF documentation
1550  --enable-doxygen-xml    generate doxygen XML documentation
1551  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1552  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1553                          file
1554  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1555  --disable-doxygen-ps    don't generate doxygen PostScript documentation
1556  --disable-doxygen-pdf   don't generate doxygen PDF documentation
1557
1558Optional Packages:
1559  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1560  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1561  --without-libxml2       build without libxml2 support [default=with]
1562  --without-freetype      build without freetype support [default=with]
1563  --without-fontconfig    build without fontconfig support [default=with]
1564  --with-bdj-type=TYPE    Specify the type of BD-J implementation (j2se,
1565                          j2me). Default is j2se.
1566  --with-bdj-bootclasspath=PATH
1567                          Specify BD-J build-time bootclass path (example
1568                          /opt/PhoneME/lib/btclasses.zip;/opt/PhoneME/lib/xmlparer.jar).
1569                          Default is empty.
1570  --with-java9            build with Java 9+ (drop support for Java <1.6)
1571                          [default=without]
1572  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1573                          both]
1574  --with-aix-soname=aix|svr4|both
1575                          shared library versioning (aka "SONAME") variant to
1576                          provide on AIX, [default=aix].
1577  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1578  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1579                          compiler's sysroot if not specified).
1580
1581Some influential environment variables:
1582  JDK_HOME    Path to the JDK
1583  CC          C compiler command
1584  CFLAGS      C compiler flags
1585  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1586              nonstandard directory <lib dir>
1587  LIBS        libraries to pass to the linker, e.g. -l<library>
1588  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1589              you have headers in a nonstandard directory <include dir>
1590  LT_SYS_LIBRARY_PATH
1591              User-defined run-time library search path.
1592  CPP         C preprocessor
1593  PKG_CONFIG  path to pkg-config utility
1594  PKG_CONFIG_PATH
1595              directories to add to pkg-config's search path
1596  PKG_CONFIG_LIBDIR
1597              path overriding pkg-config's built-in search path
1598  LIBXML2_CFLAGS
1599              C compiler flags for LIBXML2, overriding pkg-config
1600  LIBXML2_LIBS
1601              linker flags for LIBXML2, overriding pkg-config
1602  FT2_CFLAGS  C compiler flags for FT2, overriding pkg-config
1603  FT2_LIBS    linker flags for FT2, overriding pkg-config
1604  FONTCONFIG_CFLAGS
1605              C compiler flags for FONTCONFIG, overriding pkg-config
1606  FONTCONFIG_LIBS
1607              linker flags for FONTCONFIG, overriding pkg-config
1608  LIBUDFREAD_CFLAGS
1609              C compiler flags for LIBUDFREAD, overriding pkg-config
1610  LIBUDFREAD_LIBS
1611              linker flags for LIBUDFREAD, overriding pkg-config
1612  DOXYGEN_PAPER_SIZE
1613              a4wide (default), a4, letter, legal or executive
1614
1615Use these variables to override the choices made by `configure' or to help
1616it to find libraries and programs with nonstandard names/locations.
1617
1618Report bugs to <http://www.videolan.org/developers/libbluray.html>.
1619_ACEOF
1620ac_status=$?
1621fi
1622
1623if test "$ac_init_help" = "recursive"; then
1624  # If there are subdirs, report their specific --help.
1625  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1626    test -d "$ac_dir" ||
1627      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1628      continue
1629    ac_builddir=.
1630
1631case "$ac_dir" in
1632.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1633*)
1634  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1635  # A ".." for each directory in $ac_dir_suffix.
1636  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1637  case $ac_top_builddir_sub in
1638  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1639  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1640  esac ;;
1641esac
1642ac_abs_top_builddir=$ac_pwd
1643ac_abs_builddir=$ac_pwd$ac_dir_suffix
1644# for backward compatibility:
1645ac_top_builddir=$ac_top_build_prefix
1646
1647case $srcdir in
1648  .)  # We are building in place.
1649    ac_srcdir=.
1650    ac_top_srcdir=$ac_top_builddir_sub
1651    ac_abs_top_srcdir=$ac_pwd ;;
1652  [\\/]* | ?:[\\/]* )  # Absolute name.
1653    ac_srcdir=$srcdir$ac_dir_suffix;
1654    ac_top_srcdir=$srcdir
1655    ac_abs_top_srcdir=$srcdir ;;
1656  *) # Relative name.
1657    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1658    ac_top_srcdir=$ac_top_build_prefix$srcdir
1659    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1660esac
1661ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1662
1663    cd "$ac_dir" || { ac_status=$?; continue; }
1664    # Check for guested configure.
1665    if test -f "$ac_srcdir/configure.gnu"; then
1666      echo &&
1667      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1668    elif test -f "$ac_srcdir/configure"; then
1669      echo &&
1670      $SHELL "$ac_srcdir/configure" --help=recursive
1671    else
1672      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1673    fi || ac_status=$?
1674    cd "$ac_pwd" || { ac_status=$?; break; }
1675  done
1676fi
1677
1678test -n "$ac_init_help" && exit $ac_status
1679if $ac_init_version; then
1680  cat <<\_ACEOF
1681libbluray configure 1.3.0
1682generated by GNU Autoconf 2.69
1683
1684Copyright (C) 2012 Free Software Foundation, Inc.
1685This configure script is free software; the Free Software Foundation
1686gives unlimited permission to copy, distribute and modify it.
1687_ACEOF
1688  exit
1689fi
1690
1691## ------------------------ ##
1692## Autoconf initialization. ##
1693## ------------------------ ##
1694
1695# ac_fn_c_try_compile LINENO
1696# --------------------------
1697# Try to compile conftest.$ac_ext, and return whether this succeeded.
1698ac_fn_c_try_compile ()
1699{
1700  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1701  rm -f conftest.$ac_objext
1702  if { { ac_try="$ac_compile"
1703case "(($ac_try" in
1704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1705  *) ac_try_echo=$ac_try;;
1706esac
1707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1708$as_echo "$ac_try_echo"; } >&5
1709  (eval "$ac_compile") 2>conftest.err
1710  ac_status=$?
1711  if test -s conftest.err; then
1712    grep -v '^ *+' conftest.err >conftest.er1
1713    cat conftest.er1 >&5
1714    mv -f conftest.er1 conftest.err
1715  fi
1716  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717  test $ac_status = 0; } && {
1718	 test -z "$ac_c_werror_flag" ||
1719	 test ! -s conftest.err
1720       } && test -s conftest.$ac_objext; then :
1721  ac_retval=0
1722else
1723  $as_echo "$as_me: failed program was:" >&5
1724sed 's/^/| /' conftest.$ac_ext >&5
1725
1726	ac_retval=1
1727fi
1728  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729  as_fn_set_status $ac_retval
1730
1731} # ac_fn_c_try_compile
1732
1733# ac_fn_c_try_link LINENO
1734# -----------------------
1735# Try to link conftest.$ac_ext, and return whether this succeeded.
1736ac_fn_c_try_link ()
1737{
1738  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739  rm -f conftest.$ac_objext conftest$ac_exeext
1740  if { { ac_try="$ac_link"
1741case "(($ac_try" in
1742  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1743  *) ac_try_echo=$ac_try;;
1744esac
1745eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1746$as_echo "$ac_try_echo"; } >&5
1747  (eval "$ac_link") 2>conftest.err
1748  ac_status=$?
1749  if test -s conftest.err; then
1750    grep -v '^ *+' conftest.err >conftest.er1
1751    cat conftest.er1 >&5
1752    mv -f conftest.er1 conftest.err
1753  fi
1754  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1755  test $ac_status = 0; } && {
1756	 test -z "$ac_c_werror_flag" ||
1757	 test ! -s conftest.err
1758       } && test -s conftest$ac_exeext && {
1759	 test "$cross_compiling" = yes ||
1760	 test -x conftest$ac_exeext
1761       }; then :
1762  ac_retval=0
1763else
1764  $as_echo "$as_me: failed program was:" >&5
1765sed 's/^/| /' conftest.$ac_ext >&5
1766
1767	ac_retval=1
1768fi
1769  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1770  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1771  # interfere with the next link command; also delete a directory that is
1772  # left behind by Apple's compiler.  We do this before executing the actions.
1773  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1774  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1775  as_fn_set_status $ac_retval
1776
1777} # ac_fn_c_try_link
1778
1779# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1780# -------------------------------------------------------
1781# Tests whether HEADER exists and can be compiled using the include files in
1782# INCLUDES, setting the cache variable VAR accordingly.
1783ac_fn_c_check_header_compile ()
1784{
1785  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1787$as_echo_n "checking for $2... " >&6; }
1788if eval \${$3+:} false; then :
1789  $as_echo_n "(cached) " >&6
1790else
1791  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792/* end confdefs.h.  */
1793$4
1794#include <$2>
1795_ACEOF
1796if ac_fn_c_try_compile "$LINENO"; then :
1797  eval "$3=yes"
1798else
1799  eval "$3=no"
1800fi
1801rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802fi
1803eval ac_res=\$$3
1804	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805$as_echo "$ac_res" >&6; }
1806  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1807
1808} # ac_fn_c_check_header_compile
1809
1810# ac_fn_c_try_cpp LINENO
1811# ----------------------
1812# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1813ac_fn_c_try_cpp ()
1814{
1815  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816  if { { ac_try="$ac_cpp conftest.$ac_ext"
1817case "(($ac_try" in
1818  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819  *) ac_try_echo=$ac_try;;
1820esac
1821eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822$as_echo "$ac_try_echo"; } >&5
1823  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1824  ac_status=$?
1825  if test -s conftest.err; then
1826    grep -v '^ *+' conftest.err >conftest.er1
1827    cat conftest.er1 >&5
1828    mv -f conftest.er1 conftest.err
1829  fi
1830  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831  test $ac_status = 0; } > conftest.i && {
1832	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1833	 test ! -s conftest.err
1834       }; then :
1835  ac_retval=0
1836else
1837  $as_echo "$as_me: failed program was:" >&5
1838sed 's/^/| /' conftest.$ac_ext >&5
1839
1840    ac_retval=1
1841fi
1842  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1843  as_fn_set_status $ac_retval
1844
1845} # ac_fn_c_try_cpp
1846
1847# ac_fn_c_try_run LINENO
1848# ----------------------
1849# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1850# that executables *can* be run.
1851ac_fn_c_try_run ()
1852{
1853  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854  if { { ac_try="$ac_link"
1855case "(($ac_try" in
1856  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1857  *) ac_try_echo=$ac_try;;
1858esac
1859eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1860$as_echo "$ac_try_echo"; } >&5
1861  (eval "$ac_link") 2>&5
1862  ac_status=$?
1863  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1864  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1865  { { case "(($ac_try" in
1866  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1867  *) ac_try_echo=$ac_try;;
1868esac
1869eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1870$as_echo "$ac_try_echo"; } >&5
1871  (eval "$ac_try") 2>&5
1872  ac_status=$?
1873  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874  test $ac_status = 0; }; }; then :
1875  ac_retval=0
1876else
1877  $as_echo "$as_me: program exited with status $ac_status" >&5
1878       $as_echo "$as_me: failed program was:" >&5
1879sed 's/^/| /' conftest.$ac_ext >&5
1880
1881       ac_retval=$ac_status
1882fi
1883  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1884  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885  as_fn_set_status $ac_retval
1886
1887} # ac_fn_c_try_run
1888
1889# ac_fn_c_check_func LINENO FUNC VAR
1890# ----------------------------------
1891# Tests whether FUNC exists, setting the cache variable VAR accordingly
1892ac_fn_c_check_func ()
1893{
1894  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1896$as_echo_n "checking for $2... " >&6; }
1897if eval \${$3+:} false; then :
1898  $as_echo_n "(cached) " >&6
1899else
1900  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1901/* end confdefs.h.  */
1902/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1903   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1904#define $2 innocuous_$2
1905
1906/* System header to define __stub macros and hopefully few prototypes,
1907    which can conflict with char $2 (); below.
1908    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1909    <limits.h> exists even on freestanding compilers.  */
1910
1911#ifdef __STDC__
1912# include <limits.h>
1913#else
1914# include <assert.h>
1915#endif
1916
1917#undef $2
1918
1919/* Override any GCC internal prototype to avoid an error.
1920   Use char because int might match the return type of a GCC
1921   builtin and then its argument prototype would still apply.  */
1922#ifdef __cplusplus
1923extern "C"
1924#endif
1925char $2 ();
1926/* The GNU C library defines this for functions which it implements
1927    to always fail with ENOSYS.  Some functions are actually named
1928    something starting with __ and the normal name is an alias.  */
1929#if defined __stub_$2 || defined __stub___$2
1930choke me
1931#endif
1932
1933int
1934main ()
1935{
1936return $2 ();
1937  ;
1938  return 0;
1939}
1940_ACEOF
1941if ac_fn_c_try_link "$LINENO"; then :
1942  eval "$3=yes"
1943else
1944  eval "$3=no"
1945fi
1946rm -f core conftest.err conftest.$ac_objext \
1947    conftest$ac_exeext conftest.$ac_ext
1948fi
1949eval ac_res=\$$3
1950	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951$as_echo "$ac_res" >&6; }
1952  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953
1954} # ac_fn_c_check_func
1955
1956# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1957# -------------------------------------------------------
1958# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1959# the include files in INCLUDES and setting the cache variable VAR
1960# accordingly.
1961ac_fn_c_check_header_mongrel ()
1962{
1963  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1964  if eval \${$3+:} false; then :
1965  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1966$as_echo_n "checking for $2... " >&6; }
1967if eval \${$3+:} false; then :
1968  $as_echo_n "(cached) " >&6
1969fi
1970eval ac_res=\$$3
1971	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972$as_echo "$ac_res" >&6; }
1973else
1974  # Is the header compilable?
1975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1976$as_echo_n "checking $2 usability... " >&6; }
1977cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1978/* end confdefs.h.  */
1979$4
1980#include <$2>
1981_ACEOF
1982if ac_fn_c_try_compile "$LINENO"; then :
1983  ac_header_compiler=yes
1984else
1985  ac_header_compiler=no
1986fi
1987rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1989$as_echo "$ac_header_compiler" >&6; }
1990
1991# Is the header present?
1992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1993$as_echo_n "checking $2 presence... " >&6; }
1994cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995/* end confdefs.h.  */
1996#include <$2>
1997_ACEOF
1998if ac_fn_c_try_cpp "$LINENO"; then :
1999  ac_header_preproc=yes
2000else
2001  ac_header_preproc=no
2002fi
2003rm -f conftest.err conftest.i conftest.$ac_ext
2004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2005$as_echo "$ac_header_preproc" >&6; }
2006
2007# So?  What about this header?
2008case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2009  yes:no: )
2010    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2011$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2012    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2013$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2014    ;;
2015  no:yes:* )
2016    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2017$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2018    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
2019$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
2020    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2021$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2022    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
2023$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
2024    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2025$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2026( $as_echo "## ---------------------------------------------------------------- ##
2027## Report this to http://www.videolan.org/developers/libbluray.html ##
2028## ---------------------------------------------------------------- ##"
2029     ) | sed "s/^/$as_me: WARNING:     /" >&2
2030    ;;
2031esac
2032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2033$as_echo_n "checking for $2... " >&6; }
2034if eval \${$3+:} false; then :
2035  $as_echo_n "(cached) " >&6
2036else
2037  eval "$3=\$ac_header_compiler"
2038fi
2039eval ac_res=\$$3
2040	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041$as_echo "$ac_res" >&6; }
2042fi
2043  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2044
2045} # ac_fn_c_check_header_mongrel
2046
2047# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2048# ----------------------------------------------------
2049# Tries to find if the field MEMBER exists in type AGGR, after including
2050# INCLUDES, setting cache variable VAR accordingly.
2051ac_fn_c_check_member ()
2052{
2053  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2055$as_echo_n "checking for $2.$3... " >&6; }
2056if eval \${$4+:} false; then :
2057  $as_echo_n "(cached) " >&6
2058else
2059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060/* end confdefs.h.  */
2061$5
2062int
2063main ()
2064{
2065static $2 ac_aggr;
2066if (ac_aggr.$3)
2067return 0;
2068  ;
2069  return 0;
2070}
2071_ACEOF
2072if ac_fn_c_try_compile "$LINENO"; then :
2073  eval "$4=yes"
2074else
2075  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2076/* end confdefs.h.  */
2077$5
2078int
2079main ()
2080{
2081static $2 ac_aggr;
2082if (sizeof ac_aggr.$3)
2083return 0;
2084  ;
2085  return 0;
2086}
2087_ACEOF
2088if ac_fn_c_try_compile "$LINENO"; then :
2089  eval "$4=yes"
2090else
2091  eval "$4=no"
2092fi
2093rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2094fi
2095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096fi
2097eval ac_res=\$$4
2098	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099$as_echo "$ac_res" >&6; }
2100  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2101
2102} # ac_fn_c_check_member
2103cat >config.log <<_ACEOF
2104This file contains any messages produced by compilers while
2105running configure, to aid debugging if configure makes a mistake.
2106
2107It was created by libbluray $as_me 1.3.0, which was
2108generated by GNU Autoconf 2.69.  Invocation command line was
2109
2110  $ $0 $@
2111
2112_ACEOF
2113exec 5>>config.log
2114{
2115cat <<_ASUNAME
2116## --------- ##
2117## Platform. ##
2118## --------- ##
2119
2120hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2121uname -m = `(uname -m) 2>/dev/null || echo unknown`
2122uname -r = `(uname -r) 2>/dev/null || echo unknown`
2123uname -s = `(uname -s) 2>/dev/null || echo unknown`
2124uname -v = `(uname -v) 2>/dev/null || echo unknown`
2125
2126/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2127/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2128
2129/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2130/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2131/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2132/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2133/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2134/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2135/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2136
2137_ASUNAME
2138
2139as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140for as_dir in $PATH
2141do
2142  IFS=$as_save_IFS
2143  test -z "$as_dir" && as_dir=.
2144    $as_echo "PATH: $as_dir"
2145  done
2146IFS=$as_save_IFS
2147
2148} >&5
2149
2150cat >&5 <<_ACEOF
2151
2152
2153## ----------- ##
2154## Core tests. ##
2155## ----------- ##
2156
2157_ACEOF
2158
2159
2160# Keep a trace of the command line.
2161# Strip out --no-create and --no-recursion so they do not pile up.
2162# Strip out --silent because we don't want to record it for future runs.
2163# Also quote any args containing shell meta-characters.
2164# Make two passes to allow for proper duplicate-argument suppression.
2165ac_configure_args=
2166ac_configure_args0=
2167ac_configure_args1=
2168ac_must_keep_next=false
2169for ac_pass in 1 2
2170do
2171  for ac_arg
2172  do
2173    case $ac_arg in
2174    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2175    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2176    | -silent | --silent | --silen | --sile | --sil)
2177      continue ;;
2178    *\'*)
2179      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180    esac
2181    case $ac_pass in
2182    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2183    2)
2184      as_fn_append ac_configure_args1 " '$ac_arg'"
2185      if test $ac_must_keep_next = true; then
2186	ac_must_keep_next=false # Got value, back to normal.
2187      else
2188	case $ac_arg in
2189	  *=* | --config-cache | -C | -disable-* | --disable-* \
2190	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2191	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2192	  | -with-* | --with-* | -without-* | --without-* | --x)
2193	    case "$ac_configure_args0 " in
2194	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195	    esac
2196	    ;;
2197	  -* ) ac_must_keep_next=true ;;
2198	esac
2199      fi
2200      as_fn_append ac_configure_args " '$ac_arg'"
2201      ;;
2202    esac
2203  done
2204done
2205{ ac_configure_args0=; unset ac_configure_args0;}
2206{ ac_configure_args1=; unset ac_configure_args1;}
2207
2208# When interrupted or exit'd, cleanup temporary files, and complete
2209# config.log.  We remove comments because anyway the quotes in there
2210# would cause problems or look ugly.
2211# WARNING: Use '\'' to represent an apostrophe within the trap.
2212# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2213trap 'exit_status=$?
2214  # Save into config.log some information that might help in debugging.
2215  {
2216    echo
2217
2218    $as_echo "## ---------------- ##
2219## Cache variables. ##
2220## ---------------- ##"
2221    echo
2222    # The following way of writing the cache mishandles newlines in values,
2223(
2224  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2225    eval ac_val=\$$ac_var
2226    case $ac_val in #(
2227    *${as_nl}*)
2228      case $ac_var in #(
2229      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2230$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2231      esac
2232      case $ac_var in #(
2233      _ | IFS | as_nl) ;; #(
2234      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2235      *) { eval $ac_var=; unset $ac_var;} ;;
2236      esac ;;
2237    esac
2238  done
2239  (set) 2>&1 |
2240    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2241    *${as_nl}ac_space=\ *)
2242      sed -n \
2243	"s/'\''/'\''\\\\'\'''\''/g;
2244	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245      ;; #(
2246    *)
2247      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2248      ;;
2249    esac |
2250    sort
2251)
2252    echo
2253
2254    $as_echo "## ----------------- ##
2255## Output variables. ##
2256## ----------------- ##"
2257    echo
2258    for ac_var in $ac_subst_vars
2259    do
2260      eval ac_val=\$$ac_var
2261      case $ac_val in
2262      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263      esac
2264      $as_echo "$ac_var='\''$ac_val'\''"
2265    done | sort
2266    echo
2267
2268    if test -n "$ac_subst_files"; then
2269      $as_echo "## ------------------- ##
2270## File substitutions. ##
2271## ------------------- ##"
2272      echo
2273      for ac_var in $ac_subst_files
2274      do
2275	eval ac_val=\$$ac_var
2276	case $ac_val in
2277	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2278	esac
2279	$as_echo "$ac_var='\''$ac_val'\''"
2280      done | sort
2281      echo
2282    fi
2283
2284    if test -s confdefs.h; then
2285      $as_echo "## ----------- ##
2286## confdefs.h. ##
2287## ----------- ##"
2288      echo
2289      cat confdefs.h
2290      echo
2291    fi
2292    test "$ac_signal" != 0 &&
2293      $as_echo "$as_me: caught signal $ac_signal"
2294    $as_echo "$as_me: exit $exit_status"
2295  } >&5
2296  rm -f core *.core core.conftest.* &&
2297    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2298    exit $exit_status
2299' 0
2300for ac_signal in 1 2 13 15; do
2301  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2302done
2303ac_signal=0
2304
2305# confdefs.h avoids OS command line length limits that DEFS can exceed.
2306rm -f -r conftest* confdefs.h
2307
2308$as_echo "/* confdefs.h */" > confdefs.h
2309
2310# Predefined preprocessor variables.
2311
2312cat >>confdefs.h <<_ACEOF
2313#define PACKAGE_NAME "$PACKAGE_NAME"
2314_ACEOF
2315
2316cat >>confdefs.h <<_ACEOF
2317#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318_ACEOF
2319
2320cat >>confdefs.h <<_ACEOF
2321#define PACKAGE_VERSION "$PACKAGE_VERSION"
2322_ACEOF
2323
2324cat >>confdefs.h <<_ACEOF
2325#define PACKAGE_STRING "$PACKAGE_STRING"
2326_ACEOF
2327
2328cat >>confdefs.h <<_ACEOF
2329#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330_ACEOF
2331
2332cat >>confdefs.h <<_ACEOF
2333#define PACKAGE_URL "$PACKAGE_URL"
2334_ACEOF
2335
2336
2337# Let the site file select an alternate cache file if it wants to.
2338# Prefer an explicitly selected file to automatically selected ones.
2339ac_site_file1=NONE
2340ac_site_file2=NONE
2341if test -n "$CONFIG_SITE"; then
2342  # We do not want a PATH search for config.site.
2343  case $CONFIG_SITE in #((
2344    -*)  ac_site_file1=./$CONFIG_SITE;;
2345    */*) ac_site_file1=$CONFIG_SITE;;
2346    *)   ac_site_file1=./$CONFIG_SITE;;
2347  esac
2348elif test "x$prefix" != xNONE; then
2349  ac_site_file1=$prefix/share/config.site
2350  ac_site_file2=$prefix/etc/config.site
2351else
2352  ac_site_file1=$ac_default_prefix/share/config.site
2353  ac_site_file2=$ac_default_prefix/etc/config.site
2354fi
2355for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2356do
2357  test "x$ac_site_file" = xNONE && continue
2358  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2359    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2360$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2361    sed 's/^/| /' "$ac_site_file" >&5
2362    . "$ac_site_file" \
2363      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2364$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2365as_fn_error $? "failed to load site script $ac_site_file
2366See \`config.log' for more details" "$LINENO" 5; }
2367  fi
2368done
2369
2370if test -r "$cache_file"; then
2371  # Some versions of bash will fail to source /dev/null (special files
2372  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2373  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2374    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2375$as_echo "$as_me: loading cache $cache_file" >&6;}
2376    case $cache_file in
2377      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2378      *)                      . "./$cache_file";;
2379    esac
2380  fi
2381else
2382  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2383$as_echo "$as_me: creating cache $cache_file" >&6;}
2384  >$cache_file
2385fi
2386
2387# Check that the precious variables saved in the cache have kept the same
2388# value.
2389ac_cache_corrupted=false
2390for ac_var in $ac_precious_vars; do
2391  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2392  eval ac_new_set=\$ac_env_${ac_var}_set
2393  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2394  eval ac_new_val=\$ac_env_${ac_var}_value
2395  case $ac_old_set,$ac_new_set in
2396    set,)
2397      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2398$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2399      ac_cache_corrupted=: ;;
2400    ,set)
2401      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2402$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2403      ac_cache_corrupted=: ;;
2404    ,);;
2405    *)
2406      if test "x$ac_old_val" != "x$ac_new_val"; then
2407	# differences in whitespace do not lead to failure.
2408	ac_old_val_w=`echo x $ac_old_val`
2409	ac_new_val_w=`echo x $ac_new_val`
2410	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2411	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2412$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2413	  ac_cache_corrupted=:
2414	else
2415	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2416$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2417	  eval $ac_var=\$ac_old_val
2418	fi
2419	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2420$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2421	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2422$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2423      fi;;
2424  esac
2425  # Pass precious variables to config.status.
2426  if test "$ac_new_set" = set; then
2427    case $ac_new_val in
2428    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2429    *) ac_arg=$ac_var=$ac_new_val ;;
2430    esac
2431    case " $ac_configure_args " in
2432      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2433      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2434    esac
2435  fi
2436done
2437if $ac_cache_corrupted; then
2438  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2439$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2440  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2441$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2442  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2443fi
2444## -------------------- ##
2445## Main body of script. ##
2446## -------------------- ##
2447
2448ac_ext=c
2449ac_cpp='$CPP $CPPFLAGS'
2450ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452ac_compiler_gnu=$ac_cv_c_compiler_gnu
2453
2454
2455ac_aux_dir=
2456for ac_dir in build-aux "$srcdir"/build-aux; do
2457  if test -f "$ac_dir/install-sh"; then
2458    ac_aux_dir=$ac_dir
2459    ac_install_sh="$ac_aux_dir/install-sh -c"
2460    break
2461  elif test -f "$ac_dir/install.sh"; then
2462    ac_aux_dir=$ac_dir
2463    ac_install_sh="$ac_aux_dir/install.sh -c"
2464    break
2465  elif test -f "$ac_dir/shtool"; then
2466    ac_aux_dir=$ac_dir
2467    ac_install_sh="$ac_aux_dir/shtool install -c"
2468    break
2469  fi
2470done
2471if test -z "$ac_aux_dir"; then
2472  as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2473fi
2474
2475# These three variables are undocumented and unsupported,
2476# and are intended to be withdrawn in a future Autoconf release.
2477# They can cause serious problems if a builder's source tree is in a directory
2478# whose full name contains unusual characters.
2479ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2480ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2481ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2482
2483
2484
2485# Make sure we can run config.sub.
2486$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2487  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2488
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2490$as_echo_n "checking build system type... " >&6; }
2491if ${ac_cv_build+:} false; then :
2492  $as_echo_n "(cached) " >&6
2493else
2494  ac_build_alias=$build_alias
2495test "x$ac_build_alias" = x &&
2496  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2497test "x$ac_build_alias" = x &&
2498  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2499ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2500  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2501
2502fi
2503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2504$as_echo "$ac_cv_build" >&6; }
2505case $ac_cv_build in
2506*-*-*) ;;
2507*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2508esac
2509build=$ac_cv_build
2510ac_save_IFS=$IFS; IFS='-'
2511set x $ac_cv_build
2512shift
2513build_cpu=$1
2514build_vendor=$2
2515shift; shift
2516# Remember, the first character of IFS is used to create $*,
2517# except with old shells:
2518build_os=$*
2519IFS=$ac_save_IFS
2520case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2521
2522
2523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2524$as_echo_n "checking host system type... " >&6; }
2525if ${ac_cv_host+:} false; then :
2526  $as_echo_n "(cached) " >&6
2527else
2528  if test "x$host_alias" = x; then
2529  ac_cv_host=$ac_cv_build
2530else
2531  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2532    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2533fi
2534
2535fi
2536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2537$as_echo "$ac_cv_host" >&6; }
2538case $ac_cv_host in
2539*-*-*) ;;
2540*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2541esac
2542host=$ac_cv_host
2543ac_save_IFS=$IFS; IFS='-'
2544set x $ac_cv_host
2545shift
2546host_cpu=$1
2547host_vendor=$2
2548shift; shift
2549# Remember, the first character of IFS is used to create $*,
2550# except with old shells:
2551host_os=$*
2552IFS=$ac_save_IFS
2553case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2554
2555
2556am__api_version='1.16'
2557
2558# Find a good install program.  We prefer a C program (faster),
2559# so one script is as good as another.  But avoid the broken or
2560# incompatible versions:
2561# SysV /etc/install, /usr/sbin/install
2562# SunOS /usr/etc/install
2563# IRIX /sbin/install
2564# AIX /bin/install
2565# AmigaOS /C/install, which installs bootblocks on floppy discs
2566# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2567# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2568# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2569# OS/2's system install, which has a completely different semantic
2570# ./install, which can be erroneously created by make from ./install.sh.
2571# Reject install programs that cannot install multiple files.
2572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2573$as_echo_n "checking for a BSD-compatible install... " >&6; }
2574if test -z "$INSTALL"; then
2575if ${ac_cv_path_install+:} false; then :
2576  $as_echo_n "(cached) " >&6
2577else
2578  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579for as_dir in $PATH
2580do
2581  IFS=$as_save_IFS
2582  test -z "$as_dir" && as_dir=.
2583    # Account for people who put trailing slashes in PATH elements.
2584case $as_dir/ in #((
2585  ./ | .// | /[cC]/* | \
2586  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2587  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2588  /usr/ucb/* ) ;;
2589  *)
2590    # OSF1 and SCO ODT 3.0 have their own names for install.
2591    # Don't use installbsd from OSF since it installs stuff as root
2592    # by default.
2593    for ac_prog in ginstall scoinst install; do
2594      for ac_exec_ext in '' $ac_executable_extensions; do
2595	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2596	  if test $ac_prog = install &&
2597	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2598	    # AIX install.  It has an incompatible calling convention.
2599	    :
2600	  elif test $ac_prog = install &&
2601	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2602	    # program-specific install script used by HP pwplus--don't use.
2603	    :
2604	  else
2605	    rm -rf conftest.one conftest.two conftest.dir
2606	    echo one > conftest.one
2607	    echo two > conftest.two
2608	    mkdir conftest.dir
2609	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2610	      test -s conftest.one && test -s conftest.two &&
2611	      test -s conftest.dir/conftest.one &&
2612	      test -s conftest.dir/conftest.two
2613	    then
2614	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2615	      break 3
2616	    fi
2617	  fi
2618	fi
2619      done
2620    done
2621    ;;
2622esac
2623
2624  done
2625IFS=$as_save_IFS
2626
2627rm -rf conftest.one conftest.two conftest.dir
2628
2629fi
2630  if test "${ac_cv_path_install+set}" = set; then
2631    INSTALL=$ac_cv_path_install
2632  else
2633    # As a last resort, use the slow shell script.  Don't cache a
2634    # value for INSTALL within a source directory, because that will
2635    # break other packages using the cache if that directory is
2636    # removed, or if the value is a relative name.
2637    INSTALL=$ac_install_sh
2638  fi
2639fi
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2641$as_echo "$INSTALL" >&6; }
2642
2643# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2644# It thinks the first close brace ends the variable substitution.
2645test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2646
2647test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2648
2649test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2650
2651{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2652$as_echo_n "checking whether build environment is sane... " >&6; }
2653# Reject unsafe characters in $srcdir or the absolute working directory
2654# name.  Accept space and tab only in the latter.
2655am_lf='
2656'
2657case `pwd` in
2658  *[\\\"\#\$\&\'\`$am_lf]*)
2659    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2660esac
2661case $srcdir in
2662  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2663    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2664esac
2665
2666# Do 'set' in a subshell so we don't clobber the current shell's
2667# arguments.  Must try -L first in case configure is actually a
2668# symlink; some systems play weird games with the mod time of symlinks
2669# (eg FreeBSD returns the mod time of the symlink's containing
2670# directory).
2671if (
2672   am_has_slept=no
2673   for am_try in 1 2; do
2674     echo "timestamp, slept: $am_has_slept" > conftest.file
2675     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2676     if test "$*" = "X"; then
2677	# -L didn't work.
2678	set X `ls -t "$srcdir/configure" conftest.file`
2679     fi
2680     if test "$*" != "X $srcdir/configure conftest.file" \
2681	&& test "$*" != "X conftest.file $srcdir/configure"; then
2682
2683	# If neither matched, then we have a broken ls.  This can happen
2684	# if, for instance, CONFIG_SHELL is bash and it inherits a
2685	# broken ls alias from the environment.  This has actually
2686	# happened.  Such a system could not be considered "sane".
2687	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2688  alias in your environment" "$LINENO" 5
2689     fi
2690     if test "$2" = conftest.file || test $am_try -eq 2; then
2691       break
2692     fi
2693     # Just in case.
2694     sleep 1
2695     am_has_slept=yes
2696   done
2697   test "$2" = conftest.file
2698   )
2699then
2700   # Ok.
2701   :
2702else
2703   as_fn_error $? "newly created file is older than distributed files!
2704Check your system clock" "$LINENO" 5
2705fi
2706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2707$as_echo "yes" >&6; }
2708# If we didn't sleep, we still need to ensure time stamps of config.status and
2709# generated files are strictly newer.
2710am_sleep_pid=
2711if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2712  ( sleep 1 ) &
2713  am_sleep_pid=$!
2714fi
2715
2716rm -f conftest.file
2717
2718test "$program_prefix" != NONE &&
2719  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2720# Use a double $ so make ignores it.
2721test "$program_suffix" != NONE &&
2722  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2723# Double any \ or $.
2724# By default was `s,x,x', remove it if useless.
2725ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2726program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2727
2728# Expand $ac_aux_dir to an absolute path.
2729am_aux_dir=`cd "$ac_aux_dir" && pwd`
2730
2731if test x"${MISSING+set}" != xset; then
2732  case $am_aux_dir in
2733  *\ * | *\	*)
2734    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2735  *)
2736    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2737  esac
2738fi
2739# Use eval to expand $SHELL
2740if eval "$MISSING --is-lightweight"; then
2741  am_missing_run="$MISSING "
2742else
2743  am_missing_run=
2744  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2745$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2746fi
2747
2748if test x"${install_sh+set}" != xset; then
2749  case $am_aux_dir in
2750  *\ * | *\	*)
2751    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2752  *)
2753    install_sh="\${SHELL} $am_aux_dir/install-sh"
2754  esac
2755fi
2756
2757# Installed binaries are usually stripped using 'strip' when the user
2758# run "make install-strip".  However 'strip' might not be the right
2759# tool to use in cross-compilation environments, therefore Automake
2760# will honor the 'STRIP' environment variable to overrule this program.
2761if test "$cross_compiling" != no; then
2762  if test -n "$ac_tool_prefix"; then
2763  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2764set dummy ${ac_tool_prefix}strip; ac_word=$2
2765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766$as_echo_n "checking for $ac_word... " >&6; }
2767if ${ac_cv_prog_STRIP+:} false; then :
2768  $as_echo_n "(cached) " >&6
2769else
2770  if test -n "$STRIP"; then
2771  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2772else
2773as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2774for as_dir in $PATH
2775do
2776  IFS=$as_save_IFS
2777  test -z "$as_dir" && as_dir=.
2778    for ac_exec_ext in '' $ac_executable_extensions; do
2779  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2780    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2781    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2782    break 2
2783  fi
2784done
2785  done
2786IFS=$as_save_IFS
2787
2788fi
2789fi
2790STRIP=$ac_cv_prog_STRIP
2791if test -n "$STRIP"; then
2792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2793$as_echo "$STRIP" >&6; }
2794else
2795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796$as_echo "no" >&6; }
2797fi
2798
2799
2800fi
2801if test -z "$ac_cv_prog_STRIP"; then
2802  ac_ct_STRIP=$STRIP
2803  # Extract the first word of "strip", so it can be a program name with args.
2804set dummy strip; ac_word=$2
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806$as_echo_n "checking for $ac_word... " >&6; }
2807if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2808  $as_echo_n "(cached) " >&6
2809else
2810  if test -n "$ac_ct_STRIP"; then
2811  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2812else
2813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814for as_dir in $PATH
2815do
2816  IFS=$as_save_IFS
2817  test -z "$as_dir" && as_dir=.
2818    for ac_exec_ext in '' $ac_executable_extensions; do
2819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2820    ac_cv_prog_ac_ct_STRIP="strip"
2821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2822    break 2
2823  fi
2824done
2825  done
2826IFS=$as_save_IFS
2827
2828fi
2829fi
2830ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2831if test -n "$ac_ct_STRIP"; then
2832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2833$as_echo "$ac_ct_STRIP" >&6; }
2834else
2835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2836$as_echo "no" >&6; }
2837fi
2838
2839  if test "x$ac_ct_STRIP" = x; then
2840    STRIP=":"
2841  else
2842    case $cross_compiling:$ac_tool_warned in
2843yes:)
2844{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2845$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2846ac_tool_warned=yes ;;
2847esac
2848    STRIP=$ac_ct_STRIP
2849  fi
2850else
2851  STRIP="$ac_cv_prog_STRIP"
2852fi
2853
2854fi
2855INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2856
2857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859if test -z "$MKDIR_P"; then
2860  if ${ac_cv_path_mkdir+:} false; then :
2861  $as_echo_n "(cached) " >&6
2862else
2863  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2864for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2865do
2866  IFS=$as_save_IFS
2867  test -z "$as_dir" && as_dir=.
2868    for ac_prog in mkdir gmkdir; do
2869	 for ac_exec_ext in '' $ac_executable_extensions; do
2870	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2871	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2872	     'mkdir (GNU coreutils) '* | \
2873	     'mkdir (coreutils) '* | \
2874	     'mkdir (fileutils) '4.1*)
2875	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2876	       break 3;;
2877	   esac
2878	 done
2879       done
2880  done
2881IFS=$as_save_IFS
2882
2883fi
2884
2885  test -d ./--version && rmdir ./--version
2886  if test "${ac_cv_path_mkdir+set}" = set; then
2887    MKDIR_P="$ac_cv_path_mkdir -p"
2888  else
2889    # As a last resort, use the slow shell script.  Don't cache a
2890    # value for MKDIR_P within a source directory, because that will
2891    # break other packages using the cache if that directory is
2892    # removed, or if the value is a relative name.
2893    MKDIR_P="$ac_install_sh -d"
2894  fi
2895fi
2896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2897$as_echo "$MKDIR_P" >&6; }
2898
2899for ac_prog in gawk mawk nawk awk
2900do
2901  # Extract the first word of "$ac_prog", so it can be a program name with args.
2902set dummy $ac_prog; ac_word=$2
2903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904$as_echo_n "checking for $ac_word... " >&6; }
2905if ${ac_cv_prog_AWK+:} false; then :
2906  $as_echo_n "(cached) " >&6
2907else
2908  if test -n "$AWK"; then
2909  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2910else
2911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912for as_dir in $PATH
2913do
2914  IFS=$as_save_IFS
2915  test -z "$as_dir" && as_dir=.
2916    for ac_exec_ext in '' $ac_executable_extensions; do
2917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2918    ac_cv_prog_AWK="$ac_prog"
2919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920    break 2
2921  fi
2922done
2923  done
2924IFS=$as_save_IFS
2925
2926fi
2927fi
2928AWK=$ac_cv_prog_AWK
2929if test -n "$AWK"; then
2930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2931$as_echo "$AWK" >&6; }
2932else
2933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934$as_echo "no" >&6; }
2935fi
2936
2937
2938  test -n "$AWK" && break
2939done
2940
2941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2942$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2943set x ${MAKE-make}
2944ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2945if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2946  $as_echo_n "(cached) " >&6
2947else
2948  cat >conftest.make <<\_ACEOF
2949SHELL = /bin/sh
2950all:
2951	@echo '@@@%%%=$(MAKE)=@@@%%%'
2952_ACEOF
2953# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2954case `${MAKE-make} -f conftest.make 2>/dev/null` in
2955  *@@@%%%=?*=@@@%%%*)
2956    eval ac_cv_prog_make_${ac_make}_set=yes;;
2957  *)
2958    eval ac_cv_prog_make_${ac_make}_set=no;;
2959esac
2960rm -f conftest.make
2961fi
2962if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2964$as_echo "yes" >&6; }
2965  SET_MAKE=
2966else
2967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2968$as_echo "no" >&6; }
2969  SET_MAKE="MAKE=${MAKE-make}"
2970fi
2971
2972rm -rf .tst 2>/dev/null
2973mkdir .tst 2>/dev/null
2974if test -d .tst; then
2975  am__leading_dot=.
2976else
2977  am__leading_dot=_
2978fi
2979rmdir .tst 2>/dev/null
2980
2981# Check whether --enable-silent-rules was given.
2982if test "${enable_silent_rules+set}" = set; then :
2983  enableval=$enable_silent_rules;
2984fi
2985
2986case $enable_silent_rules in # (((
2987  yes) AM_DEFAULT_VERBOSITY=0;;
2988   no) AM_DEFAULT_VERBOSITY=1;;
2989    *) AM_DEFAULT_VERBOSITY=1;;
2990esac
2991am_make=${MAKE-make}
2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2993$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2994if ${am_cv_make_support_nested_variables+:} false; then :
2995  $as_echo_n "(cached) " >&6
2996else
2997  if $as_echo 'TRUE=$(BAR$(V))
2998BAR0=false
2999BAR1=true
3000V=1
3001am__doit:
3002	@$(TRUE)
3003.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3004  am_cv_make_support_nested_variables=yes
3005else
3006  am_cv_make_support_nested_variables=no
3007fi
3008fi
3009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3010$as_echo "$am_cv_make_support_nested_variables" >&6; }
3011if test $am_cv_make_support_nested_variables = yes; then
3012    AM_V='$(V)'
3013  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3014else
3015  AM_V=$AM_DEFAULT_VERBOSITY
3016  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3017fi
3018AM_BACKSLASH='\'
3019
3020if test "`cd $srcdir && pwd`" != "`pwd`"; then
3021  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3022  # is not polluted with repeated "-I."
3023  am__isrc=' -I$(srcdir)'
3024  # test to see if srcdir already configured
3025  if test -f $srcdir/config.status; then
3026    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3027  fi
3028fi
3029
3030# test whether we have cygpath
3031if test -z "$CYGPATH_W"; then
3032  if (cygpath --version) >/dev/null 2>/dev/null; then
3033    CYGPATH_W='cygpath -w'
3034  else
3035    CYGPATH_W=echo
3036  fi
3037fi
3038
3039
3040# Define the identity of the package.
3041 PACKAGE='libbluray'
3042 VERSION='1.3.0'
3043
3044
3045cat >>confdefs.h <<_ACEOF
3046#define PACKAGE "$PACKAGE"
3047_ACEOF
3048
3049
3050cat >>confdefs.h <<_ACEOF
3051#define VERSION "$VERSION"
3052_ACEOF
3053
3054# Some tools Automake needs.
3055
3056ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3057
3058
3059AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3060
3061
3062AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3063
3064
3065AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3066
3067
3068MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3069
3070# For better backward compatibility.  To be removed once Automake 1.9.x
3071# dies out for good.  For more background, see:
3072# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3073# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3074mkdir_p='$(MKDIR_P)'
3075
3076# We need awk for the "check" target (and possibly the TAP driver).  The
3077# system "awk" is bad on some platforms.
3078# Always define AMTAR for backward compatibility.  Yes, it's still used
3079# in the wild :-(  We should find a proper way to deprecate it ...
3080AMTAR='$${TAR-tar}'
3081
3082
3083# We'll loop over all known methods to create a tar archive until one works.
3084_am_tools='gnutar plaintar pax cpio none'
3085
3086# The POSIX 1988 'ustar' format is defined with fixed-size fields.
3087      # There is notably a 21 bits limit for the UID and the GID.  In fact,
3088      # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343
3089      # and bug#13588).
3090      am_max_uid=2097151 # 2^21 - 1
3091      am_max_gid=$am_max_uid
3092      # The $UID and $GID variables are not portable, so we need to resort
3093      # to the POSIX-mandated id(1) utility.  Errors in the 'id' calls
3094      # below are definitely unexpected, so allow the users to see them
3095      # (that is, avoid stderr redirection).
3096      am_uid=`id -u || echo unknown`
3097      am_gid=`id -g || echo unknown`
3098      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5
3099$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; }
3100      if test $am_uid -le $am_max_uid; then
3101         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3102$as_echo "yes" >&6; }
3103      else
3104         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3105$as_echo "no" >&6; }
3106         _am_tools=none
3107      fi
3108      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5
3109$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; }
3110      if test $am_gid -le $am_max_gid; then
3111         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3112$as_echo "yes" >&6; }
3113      else
3114        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3115$as_echo "no" >&6; }
3116        _am_tools=none
3117      fi
3118
3119  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5
3120$as_echo_n "checking how to create a ustar tar archive... " >&6; }
3121
3122  # Go ahead even if we have the value already cached.  We do so because we
3123  # need to set the values for the 'am__tar' and 'am__untar' variables.
3124  _am_tools=${am_cv_prog_tar_ustar-$_am_tools}
3125
3126  for _am_tool in $_am_tools; do
3127    case $_am_tool in
3128    gnutar)
3129      for _am_tar in tar gnutar gtar; do
3130        { echo "$as_me:$LINENO: $_am_tar --version" >&5
3131   ($_am_tar --version) >&5 2>&5
3132   ac_status=$?
3133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134   (exit $ac_status); } && break
3135      done
3136      am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"'
3137      am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"'
3138      am__untar="$_am_tar -xf -"
3139      ;;
3140    plaintar)
3141      # Must skip GNU tar: if it does not support --format= it doesn't create
3142      # ustar tarball either.
3143      (tar --version) >/dev/null 2>&1 && continue
3144      am__tar='tar chf - "$$tardir"'
3145      am__tar_='tar chf - "$tardir"'
3146      am__untar='tar xf -'
3147      ;;
3148    pax)
3149      am__tar='pax -L -x ustar -w "$$tardir"'
3150      am__tar_='pax -L -x ustar -w "$tardir"'
3151      am__untar='pax -r'
3152      ;;
3153    cpio)
3154      am__tar='find "$$tardir" -print | cpio -o -H ustar -L'
3155      am__tar_='find "$tardir" -print | cpio -o -H ustar -L'
3156      am__untar='cpio -i -H ustar -d'
3157      ;;
3158    none)
3159      am__tar=false
3160      am__tar_=false
3161      am__untar=false
3162      ;;
3163    esac
3164
3165    # If the value was cached, stop now.  We just wanted to have am__tar
3166    # and am__untar set.
3167    test -n "${am_cv_prog_tar_ustar}" && break
3168
3169    # tar/untar a dummy directory, and stop if the command works.
3170    rm -rf conftest.dir
3171    mkdir conftest.dir
3172    echo GrepMe > conftest.dir/file
3173    { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
3174   (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
3175   ac_status=$?
3176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177   (exit $ac_status); }
3178    rm -rf conftest.dir
3179    if test -s conftest.tar; then
3180      { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
3181   ($am__untar <conftest.tar) >&5 2>&5
3182   ac_status=$?
3183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184   (exit $ac_status); }
3185      { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
3186   (cat conftest.dir/file) >&5 2>&5
3187   ac_status=$?
3188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189   (exit $ac_status); }
3190      grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
3191    fi
3192  done
3193  rm -rf conftest.dir
3194
3195  if ${am_cv_prog_tar_ustar+:} false; then :
3196  $as_echo_n "(cached) " >&6
3197else
3198  am_cv_prog_tar_ustar=$_am_tool
3199fi
3200
3201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5
3202$as_echo "$am_cv_prog_tar_ustar" >&6; }
3203
3204
3205
3206
3207
3208
3209# POSIX will say in a future version that running "rm -f" with no argument
3210# is OK; and we want to be able to make that assumption in our Makefile
3211# recipes.  So use an aggressive probe to check that the usage we want is
3212# actually supported "in the wild" to an acceptable degree.
3213# See automake bug#10828.
3214# To make any issue more visible, cause the running configure to be aborted
3215# by default if the 'rm' program in use doesn't match our expectations; the
3216# user can still override this though.
3217if rm -f && rm -fr && rm -rf; then : OK; else
3218  cat >&2 <<'END'
3219Oops!
3220
3221Your 'rm' program seems unable to run without file operands specified
3222on the command line, even when the '-f' option is present.  This is contrary
3223to the behaviour of most rm programs out there, and not conforming with
3224the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3225
3226Please tell bug-automake@gnu.org about your system, including the value
3227of your $PATH and any error possibly output before this message.  This
3228can help us improve future automake versions.
3229
3230END
3231  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3232    echo 'Configuration will proceed anyway, since you have set the' >&2
3233    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3234    echo >&2
3235  else
3236    cat >&2 <<'END'
3237Aborting the configuration process, to ensure you take notice of the issue.
3238
3239You can download and install GNU coreutils to get an 'rm' implementation
3240that behaves properly: <https://www.gnu.org/software/coreutils/>.
3241
3242If you want to complete the configuration process using your problematic
3243'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3244to "yes", and re-run configure.
3245
3246END
3247    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3248  fi
3249fi
3250
3251ac_config_headers="$ac_config_headers config.h"
3252
3253
3254# Check whether --enable-silent-rules was given.
3255if test "${enable_silent_rules+set}" = set; then :
3256  enableval=$enable_silent_rules;
3257fi
3258
3259case $enable_silent_rules in # (((
3260  yes) AM_DEFAULT_VERBOSITY=0;;
3261   no) AM_DEFAULT_VERBOSITY=1;;
3262    *) AM_DEFAULT_VERBOSITY=0;;
3263esac
3264am_make=${MAKE-make}
3265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3266$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3267if ${am_cv_make_support_nested_variables+:} false; then :
3268  $as_echo_n "(cached) " >&6
3269else
3270  if $as_echo 'TRUE=$(BAR$(V))
3271BAR0=false
3272BAR1=true
3273V=1
3274am__doit:
3275	@$(TRUE)
3276.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3277  am_cv_make_support_nested_variables=yes
3278else
3279  am_cv_make_support_nested_variables=no
3280fi
3281fi
3282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3283$as_echo "$am_cv_make_support_nested_variables" >&6; }
3284if test $am_cv_make_support_nested_variables = yes; then
3285    AM_V='$(V)'
3286  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3287else
3288  AM_V=$AM_DEFAULT_VERBOSITY
3289  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3290fi
3291AM_BACKSLASH='\'
3292
3293
3294case "${host_os}" in
3295  "")
3296    SYS=unknown
3297    ;;
3298  *mingw* | *cygwin* | *wince* | *mingwce*)
3299    case "${host_os}" in
3300      *wince* | *mingwce* | *mingw32ce*)
3301        SYS=mingwce
3302        ;;
3303      *mingw*)
3304        SYS=mingw32
3305
3306$as_echo "#define _WIN32_WINNT 0x0502" >>confdefs.h
3307
3308
3309$as_echo "#define _WIN32_IE 0x0501" >>confdefs.h
3310
3311        CPPFLAGS="${CPPFLAGS} -D__USE_MINGW_ANSI_STDIO=1"
3312        ;;
3313    esac
3314    ;;
3315  *darwin*)
3316    SYS=darwin
3317    EXTRA_LIBS="${EXTRA_LIBS} -framework CoreFoundation -framework DiskArbitration"
3318    ;;
3319  netbsd*)
3320    SYS=netbsd
3321    CFLAGS="${CFLAGS} -D_NETBSD_SOURCE"
3322    ;;
3323  freebsd*)
3324    SYS=freebsd
3325    CFLAGS="${CFLAGS} -D_XOPEN_SOURCE=700"
3326    ;;
3327  *)
3328    SYS="${host_os}"
3329    ;;
3330esac
3331
3332 if test "${SYS}" = "mingw32"; then
3333  HAVE_WIN32_TRUE=
3334  HAVE_WIN32_FALSE='#'
3335else
3336  HAVE_WIN32_TRUE='#'
3337  HAVE_WIN32_FALSE=
3338fi
3339
3340 if test "${SYS}" = "darwin"; then
3341  HAVE_DARWIN_TRUE=
3342  HAVE_DARWIN_FALSE='#'
3343else
3344  HAVE_DARWIN_TRUE='#'
3345  HAVE_DARWIN_FALSE=
3346fi
3347
3348
3349library_not_found="Could not find required library!"
3350function_not_found="Could not find required function!"
3351
3352
3353
3354# Check whether --enable-werror was given.
3355if test "${enable_werror+set}" = set; then :
3356  enableval=$enable_werror;
3357fi
3358
3359
3360# Check whether --enable-extra-warnings was given.
3361if test "${enable_extra_warnings+set}" = set; then :
3362  enableval=$enable_extra_warnings;
3363fi
3364
3365
3366# Check whether --enable-optimizations was given.
3367if test "${enable_optimizations+set}" = set; then :
3368  enableval=$enable_optimizations;
3369fi
3370
3371
3372# Check whether --enable-examples was given.
3373if test "${enable_examples+set}" = set; then :
3374  enableval=$enable_examples; use_examples=$enableval
3375else
3376  use_examples=yes
3377fi
3378
3379
3380# Check whether --enable-bdjava-jar was given.
3381if test "${enable_bdjava_jar+set}" = set; then :
3382  enableval=$enable_bdjava_jar; use_bdjava_jar=$enableval
3383else
3384  use_bdjava_jar=yes
3385fi
3386
3387
3388
3389# Check whether --with-libxml2 was given.
3390if test "${with_libxml2+set}" = set; then :
3391  withval=$with_libxml2;
3392fi
3393
3394
3395
3396# Check whether --with-freetype was given.
3397if test "${with_freetype+set}" = set; then :
3398  withval=$with_freetype;
3399fi
3400
3401
3402
3403# Check whether --with-fontconfig was given.
3404if test "${with_fontconfig+set}" = set; then :
3405  withval=$with_fontconfig;
3406fi
3407
3408
3409
3410# Check whether --with-bdj-type was given.
3411if test "${with_bdj_type+set}" = set; then :
3412  withval=$with_bdj_type; BDJ_TYPE=$withval
3413else
3414  BDJ_TYPE=j2se
3415fi
3416
3417
3418
3419# Check whether --with-bdj-bootclasspath was given.
3420if test "${with_bdj_bootclasspath+set}" = set; then :
3421  withval=$with_bdj_bootclasspath; BDJ_BOOTCLASSPATH=$withval
3422else
3423  BDJ_BOOTCLASSPATH=
3424fi
3425
3426
3427
3428# Check whether --with-java9 was given.
3429if test "${with_java9+set}" = set; then :
3430  withval=$with_java9;
3431fi
3432
3433
3434ac_ext=c
3435ac_cpp='$CPP $CPPFLAGS'
3436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3438ac_compiler_gnu=$ac_cv_c_compiler_gnu
3439if test -n "$ac_tool_prefix"; then
3440  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3441set dummy ${ac_tool_prefix}gcc; ac_word=$2
3442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3443$as_echo_n "checking for $ac_word... " >&6; }
3444if ${ac_cv_prog_CC+:} false; then :
3445  $as_echo_n "(cached) " >&6
3446else
3447  if test -n "$CC"; then
3448  ac_cv_prog_CC="$CC" # Let the user override the test.
3449else
3450as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3451for as_dir in $PATH
3452do
3453  IFS=$as_save_IFS
3454  test -z "$as_dir" && as_dir=.
3455    for ac_exec_ext in '' $ac_executable_extensions; do
3456  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3457    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3458    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3459    break 2
3460  fi
3461done
3462  done
3463IFS=$as_save_IFS
3464
3465fi
3466fi
3467CC=$ac_cv_prog_CC
3468if test -n "$CC"; then
3469  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3470$as_echo "$CC" >&6; }
3471else
3472  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3473$as_echo "no" >&6; }
3474fi
3475
3476
3477fi
3478if test -z "$ac_cv_prog_CC"; then
3479  ac_ct_CC=$CC
3480  # Extract the first word of "gcc", so it can be a program name with args.
3481set dummy gcc; ac_word=$2
3482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3483$as_echo_n "checking for $ac_word... " >&6; }
3484if ${ac_cv_prog_ac_ct_CC+:} false; then :
3485  $as_echo_n "(cached) " >&6
3486else
3487  if test -n "$ac_ct_CC"; then
3488  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3489else
3490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491for as_dir in $PATH
3492do
3493  IFS=$as_save_IFS
3494  test -z "$as_dir" && as_dir=.
3495    for ac_exec_ext in '' $ac_executable_extensions; do
3496  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497    ac_cv_prog_ac_ct_CC="gcc"
3498    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3499    break 2
3500  fi
3501done
3502  done
3503IFS=$as_save_IFS
3504
3505fi
3506fi
3507ac_ct_CC=$ac_cv_prog_ac_ct_CC
3508if test -n "$ac_ct_CC"; then
3509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3510$as_echo "$ac_ct_CC" >&6; }
3511else
3512  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3513$as_echo "no" >&6; }
3514fi
3515
3516  if test "x$ac_ct_CC" = x; then
3517    CC=""
3518  else
3519    case $cross_compiling:$ac_tool_warned in
3520yes:)
3521{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3522$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3523ac_tool_warned=yes ;;
3524esac
3525    CC=$ac_ct_CC
3526  fi
3527else
3528  CC="$ac_cv_prog_CC"
3529fi
3530
3531if test -z "$CC"; then
3532          if test -n "$ac_tool_prefix"; then
3533    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3534set dummy ${ac_tool_prefix}cc; ac_word=$2
3535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3536$as_echo_n "checking for $ac_word... " >&6; }
3537if ${ac_cv_prog_CC+:} false; then :
3538  $as_echo_n "(cached) " >&6
3539else
3540  if test -n "$CC"; then
3541  ac_cv_prog_CC="$CC" # Let the user override the test.
3542else
3543as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3544for as_dir in $PATH
3545do
3546  IFS=$as_save_IFS
3547  test -z "$as_dir" && as_dir=.
3548    for ac_exec_ext in '' $ac_executable_extensions; do
3549  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3550    ac_cv_prog_CC="${ac_tool_prefix}cc"
3551    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3552    break 2
3553  fi
3554done
3555  done
3556IFS=$as_save_IFS
3557
3558fi
3559fi
3560CC=$ac_cv_prog_CC
3561if test -n "$CC"; then
3562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3563$as_echo "$CC" >&6; }
3564else
3565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566$as_echo "no" >&6; }
3567fi
3568
3569
3570  fi
3571fi
3572if test -z "$CC"; then
3573  # Extract the first word of "cc", so it can be a program name with args.
3574set dummy cc; ac_word=$2
3575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3576$as_echo_n "checking for $ac_word... " >&6; }
3577if ${ac_cv_prog_CC+:} false; then :
3578  $as_echo_n "(cached) " >&6
3579else
3580  if test -n "$CC"; then
3581  ac_cv_prog_CC="$CC" # Let the user override the test.
3582else
3583  ac_prog_rejected=no
3584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585for as_dir in $PATH
3586do
3587  IFS=$as_save_IFS
3588  test -z "$as_dir" && as_dir=.
3589    for ac_exec_ext in '' $ac_executable_extensions; do
3590  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3591    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3592       ac_prog_rejected=yes
3593       continue
3594     fi
3595    ac_cv_prog_CC="cc"
3596    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3597    break 2
3598  fi
3599done
3600  done
3601IFS=$as_save_IFS
3602
3603if test $ac_prog_rejected = yes; then
3604  # We found a bogon in the path, so make sure we never use it.
3605  set dummy $ac_cv_prog_CC
3606  shift
3607  if test $# != 0; then
3608    # We chose a different compiler from the bogus one.
3609    # However, it has the same basename, so the bogon will be chosen
3610    # first if we set CC to just the basename; use the full file name.
3611    shift
3612    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3613  fi
3614fi
3615fi
3616fi
3617CC=$ac_cv_prog_CC
3618if test -n "$CC"; then
3619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3620$as_echo "$CC" >&6; }
3621else
3622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623$as_echo "no" >&6; }
3624fi
3625
3626
3627fi
3628if test -z "$CC"; then
3629  if test -n "$ac_tool_prefix"; then
3630  for ac_prog in cl.exe
3631  do
3632    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3633set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635$as_echo_n "checking for $ac_word... " >&6; }
3636if ${ac_cv_prog_CC+:} false; then :
3637  $as_echo_n "(cached) " >&6
3638else
3639  if test -n "$CC"; then
3640  ac_cv_prog_CC="$CC" # Let the user override the test.
3641else
3642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643for as_dir in $PATH
3644do
3645  IFS=$as_save_IFS
3646  test -z "$as_dir" && as_dir=.
3647    for ac_exec_ext in '' $ac_executable_extensions; do
3648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3649    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651    break 2
3652  fi
3653done
3654  done
3655IFS=$as_save_IFS
3656
3657fi
3658fi
3659CC=$ac_cv_prog_CC
3660if test -n "$CC"; then
3661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662$as_echo "$CC" >&6; }
3663else
3664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665$as_echo "no" >&6; }
3666fi
3667
3668
3669    test -n "$CC" && break
3670  done
3671fi
3672if test -z "$CC"; then
3673  ac_ct_CC=$CC
3674  for ac_prog in cl.exe
3675do
3676  # Extract the first word of "$ac_prog", so it can be a program name with args.
3677set dummy $ac_prog; ac_word=$2
3678{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3679$as_echo_n "checking for $ac_word... " >&6; }
3680if ${ac_cv_prog_ac_ct_CC+:} false; then :
3681  $as_echo_n "(cached) " >&6
3682else
3683  if test -n "$ac_ct_CC"; then
3684  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3685else
3686as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3687for as_dir in $PATH
3688do
3689  IFS=$as_save_IFS
3690  test -z "$as_dir" && as_dir=.
3691    for ac_exec_ext in '' $ac_executable_extensions; do
3692  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3693    ac_cv_prog_ac_ct_CC="$ac_prog"
3694    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695    break 2
3696  fi
3697done
3698  done
3699IFS=$as_save_IFS
3700
3701fi
3702fi
3703ac_ct_CC=$ac_cv_prog_ac_ct_CC
3704if test -n "$ac_ct_CC"; then
3705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3706$as_echo "$ac_ct_CC" >&6; }
3707else
3708  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3709$as_echo "no" >&6; }
3710fi
3711
3712
3713  test -n "$ac_ct_CC" && break
3714done
3715
3716  if test "x$ac_ct_CC" = x; then
3717    CC=""
3718  else
3719    case $cross_compiling:$ac_tool_warned in
3720yes:)
3721{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3722$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3723ac_tool_warned=yes ;;
3724esac
3725    CC=$ac_ct_CC
3726  fi
3727fi
3728
3729fi
3730
3731
3732test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3734as_fn_error $? "no acceptable C compiler found in \$PATH
3735See \`config.log' for more details" "$LINENO" 5; }
3736
3737# Provide some information about the compiler.
3738$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3739set X $ac_compile
3740ac_compiler=$2
3741for ac_option in --version -v -V -qversion; do
3742  { { ac_try="$ac_compiler $ac_option >&5"
3743case "(($ac_try" in
3744  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3745  *) ac_try_echo=$ac_try;;
3746esac
3747eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3748$as_echo "$ac_try_echo"; } >&5
3749  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3750  ac_status=$?
3751  if test -s conftest.err; then
3752    sed '10a\
3753... rest of stderr output deleted ...
3754         10q' conftest.err >conftest.er1
3755    cat conftest.er1 >&5
3756  fi
3757  rm -f conftest.er1 conftest.err
3758  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3759  test $ac_status = 0; }
3760done
3761
3762cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3763/* end confdefs.h.  */
3764
3765int
3766main ()
3767{
3768
3769  ;
3770  return 0;
3771}
3772_ACEOF
3773ac_clean_files_save=$ac_clean_files
3774ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3775# Try to create an executable without -o first, disregard a.out.
3776# It will help us diagnose broken compilers, and finding out an intuition
3777# of exeext.
3778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3779$as_echo_n "checking whether the C compiler works... " >&6; }
3780ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3781
3782# The possible output files:
3783ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3784
3785ac_rmfiles=
3786for ac_file in $ac_files
3787do
3788  case $ac_file in
3789    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3790    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3791  esac
3792done
3793rm -f $ac_rmfiles
3794
3795if { { ac_try="$ac_link_default"
3796case "(($ac_try" in
3797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3798  *) ac_try_echo=$ac_try;;
3799esac
3800eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3801$as_echo "$ac_try_echo"; } >&5
3802  (eval "$ac_link_default") 2>&5
3803  ac_status=$?
3804  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3805  test $ac_status = 0; }; then :
3806  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3807# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3808# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3809# so that the user can short-circuit this test for compilers unknown to
3810# Autoconf.
3811for ac_file in $ac_files ''
3812do
3813  test -f "$ac_file" || continue
3814  case $ac_file in
3815    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3816	;;
3817    [ab].out )
3818	# We found the default executable, but exeext='' is most
3819	# certainly right.
3820	break;;
3821    *.* )
3822	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3823	then :; else
3824	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3825	fi
3826	# We set ac_cv_exeext here because the later test for it is not
3827	# safe: cross compilers may not add the suffix if given an `-o'
3828	# argument, so we may need to know it at that point already.
3829	# Even if this section looks crufty: it has the advantage of
3830	# actually working.
3831	break;;
3832    * )
3833	break;;
3834  esac
3835done
3836test "$ac_cv_exeext" = no && ac_cv_exeext=
3837
3838else
3839  ac_file=''
3840fi
3841if test -z "$ac_file"; then :
3842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3843$as_echo "no" >&6; }
3844$as_echo "$as_me: failed program was:" >&5
3845sed 's/^/| /' conftest.$ac_ext >&5
3846
3847{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3848$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3849as_fn_error 77 "C compiler cannot create executables
3850See \`config.log' for more details" "$LINENO" 5; }
3851else
3852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3853$as_echo "yes" >&6; }
3854fi
3855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3856$as_echo_n "checking for C compiler default output file name... " >&6; }
3857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3858$as_echo "$ac_file" >&6; }
3859ac_exeext=$ac_cv_exeext
3860
3861rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3862ac_clean_files=$ac_clean_files_save
3863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3864$as_echo_n "checking for suffix of executables... " >&6; }
3865if { { ac_try="$ac_link"
3866case "(($ac_try" in
3867  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3868  *) ac_try_echo=$ac_try;;
3869esac
3870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3871$as_echo "$ac_try_echo"; } >&5
3872  (eval "$ac_link") 2>&5
3873  ac_status=$?
3874  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3875  test $ac_status = 0; }; then :
3876  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3877# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3878# work properly (i.e., refer to `conftest.exe'), while it won't with
3879# `rm'.
3880for ac_file in conftest.exe conftest conftest.*; do
3881  test -f "$ac_file" || continue
3882  case $ac_file in
3883    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3884    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3885	  break;;
3886    * ) break;;
3887  esac
3888done
3889else
3890  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3891$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3892as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3893See \`config.log' for more details" "$LINENO" 5; }
3894fi
3895rm -f conftest conftest$ac_cv_exeext
3896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3897$as_echo "$ac_cv_exeext" >&6; }
3898
3899rm -f conftest.$ac_ext
3900EXEEXT=$ac_cv_exeext
3901ac_exeext=$EXEEXT
3902cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903/* end confdefs.h.  */
3904#include <stdio.h>
3905int
3906main ()
3907{
3908FILE *f = fopen ("conftest.out", "w");
3909 return ferror (f) || fclose (f) != 0;
3910
3911  ;
3912  return 0;
3913}
3914_ACEOF
3915ac_clean_files="$ac_clean_files conftest.out"
3916# Check that the compiler produces executables we can run.  If not, either
3917# the compiler is broken, or we cross compile.
3918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3919$as_echo_n "checking whether we are cross compiling... " >&6; }
3920if test "$cross_compiling" != yes; then
3921  { { ac_try="$ac_link"
3922case "(($ac_try" in
3923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3924  *) ac_try_echo=$ac_try;;
3925esac
3926eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3927$as_echo "$ac_try_echo"; } >&5
3928  (eval "$ac_link") 2>&5
3929  ac_status=$?
3930  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3931  test $ac_status = 0; }
3932  if { ac_try='./conftest$ac_cv_exeext'
3933  { { case "(($ac_try" in
3934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3935  *) ac_try_echo=$ac_try;;
3936esac
3937eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3938$as_echo "$ac_try_echo"; } >&5
3939  (eval "$ac_try") 2>&5
3940  ac_status=$?
3941  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3942  test $ac_status = 0; }; }; then
3943    cross_compiling=no
3944  else
3945    if test "$cross_compiling" = maybe; then
3946	cross_compiling=yes
3947    else
3948	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3949$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3950as_fn_error $? "cannot run C compiled programs.
3951If you meant to cross compile, use \`--host'.
3952See \`config.log' for more details" "$LINENO" 5; }
3953    fi
3954  fi
3955fi
3956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3957$as_echo "$cross_compiling" >&6; }
3958
3959rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3960ac_clean_files=$ac_clean_files_save
3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3962$as_echo_n "checking for suffix of object files... " >&6; }
3963if ${ac_cv_objext+:} false; then :
3964  $as_echo_n "(cached) " >&6
3965else
3966  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3967/* end confdefs.h.  */
3968
3969int
3970main ()
3971{
3972
3973  ;
3974  return 0;
3975}
3976_ACEOF
3977rm -f conftest.o conftest.obj
3978if { { ac_try="$ac_compile"
3979case "(($ac_try" in
3980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3981  *) ac_try_echo=$ac_try;;
3982esac
3983eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3984$as_echo "$ac_try_echo"; } >&5
3985  (eval "$ac_compile") 2>&5
3986  ac_status=$?
3987  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3988  test $ac_status = 0; }; then :
3989  for ac_file in conftest.o conftest.obj conftest.*; do
3990  test -f "$ac_file" || continue;
3991  case $ac_file in
3992    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3993    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3994       break;;
3995  esac
3996done
3997else
3998  $as_echo "$as_me: failed program was:" >&5
3999sed 's/^/| /' conftest.$ac_ext >&5
4000
4001{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4002$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4003as_fn_error $? "cannot compute suffix of object files: cannot compile
4004See \`config.log' for more details" "$LINENO" 5; }
4005fi
4006rm -f conftest.$ac_cv_objext conftest.$ac_ext
4007fi
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4009$as_echo "$ac_cv_objext" >&6; }
4010OBJEXT=$ac_cv_objext
4011ac_objext=$OBJEXT
4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4013$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4014if ${ac_cv_c_compiler_gnu+:} false; then :
4015  $as_echo_n "(cached) " >&6
4016else
4017  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4018/* end confdefs.h.  */
4019
4020int
4021main ()
4022{
4023#ifndef __GNUC__
4024       choke me
4025#endif
4026
4027  ;
4028  return 0;
4029}
4030_ACEOF
4031if ac_fn_c_try_compile "$LINENO"; then :
4032  ac_compiler_gnu=yes
4033else
4034  ac_compiler_gnu=no
4035fi
4036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4037ac_cv_c_compiler_gnu=$ac_compiler_gnu
4038
4039fi
4040{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4041$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4042if test $ac_compiler_gnu = yes; then
4043  GCC=yes
4044else
4045  GCC=
4046fi
4047ac_test_CFLAGS=${CFLAGS+set}
4048ac_save_CFLAGS=$CFLAGS
4049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4050$as_echo_n "checking whether $CC accepts -g... " >&6; }
4051if ${ac_cv_prog_cc_g+:} false; then :
4052  $as_echo_n "(cached) " >&6
4053else
4054  ac_save_c_werror_flag=$ac_c_werror_flag
4055   ac_c_werror_flag=yes
4056   ac_cv_prog_cc_g=no
4057   CFLAGS="-g"
4058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4059/* end confdefs.h.  */
4060
4061int
4062main ()
4063{
4064
4065  ;
4066  return 0;
4067}
4068_ACEOF
4069if ac_fn_c_try_compile "$LINENO"; then :
4070  ac_cv_prog_cc_g=yes
4071else
4072  CFLAGS=""
4073      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4074/* end confdefs.h.  */
4075
4076int
4077main ()
4078{
4079
4080  ;
4081  return 0;
4082}
4083_ACEOF
4084if ac_fn_c_try_compile "$LINENO"; then :
4085
4086else
4087  ac_c_werror_flag=$ac_save_c_werror_flag
4088	 CFLAGS="-g"
4089	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4090/* end confdefs.h.  */
4091
4092int
4093main ()
4094{
4095
4096  ;
4097  return 0;
4098}
4099_ACEOF
4100if ac_fn_c_try_compile "$LINENO"; then :
4101  ac_cv_prog_cc_g=yes
4102fi
4103rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4104fi
4105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4106fi
4107rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4108   ac_c_werror_flag=$ac_save_c_werror_flag
4109fi
4110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4111$as_echo "$ac_cv_prog_cc_g" >&6; }
4112if test "$ac_test_CFLAGS" = set; then
4113  CFLAGS=$ac_save_CFLAGS
4114elif test $ac_cv_prog_cc_g = yes; then
4115  if test "$GCC" = yes; then
4116    CFLAGS="-g -O2"
4117  else
4118    CFLAGS="-g"
4119  fi
4120else
4121  if test "$GCC" = yes; then
4122    CFLAGS="-O2"
4123  else
4124    CFLAGS=
4125  fi
4126fi
4127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4128$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4129if ${ac_cv_prog_cc_c89+:} false; then :
4130  $as_echo_n "(cached) " >&6
4131else
4132  ac_cv_prog_cc_c89=no
4133ac_save_CC=$CC
4134cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135/* end confdefs.h.  */
4136#include <stdarg.h>
4137#include <stdio.h>
4138struct stat;
4139/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4140struct buf { int x; };
4141FILE * (*rcsopen) (struct buf *, struct stat *, int);
4142static char *e (p, i)
4143     char **p;
4144     int i;
4145{
4146  return p[i];
4147}
4148static char *f (char * (*g) (char **, int), char **p, ...)
4149{
4150  char *s;
4151  va_list v;
4152  va_start (v,p);
4153  s = g (p, va_arg (v,int));
4154  va_end (v);
4155  return s;
4156}
4157
4158/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4159   function prototypes and stuff, but not '\xHH' hex character constants.
4160   These don't provoke an error unfortunately, instead are silently treated
4161   as 'x'.  The following induces an error, until -std is added to get
4162   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4163   array size at least.  It's necessary to write '\x00'==0 to get something
4164   that's true only with -std.  */
4165int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4166
4167/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4168   inside strings and character constants.  */
4169#define FOO(x) 'x'
4170int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4171
4172int test (int i, double x);
4173struct s1 {int (*f) (int a);};
4174struct s2 {int (*f) (double a);};
4175int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4176int argc;
4177char **argv;
4178int
4179main ()
4180{
4181return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4182  ;
4183  return 0;
4184}
4185_ACEOF
4186for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4187	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4188do
4189  CC="$ac_save_CC $ac_arg"
4190  if ac_fn_c_try_compile "$LINENO"; then :
4191  ac_cv_prog_cc_c89=$ac_arg
4192fi
4193rm -f core conftest.err conftest.$ac_objext
4194  test "x$ac_cv_prog_cc_c89" != "xno" && break
4195done
4196rm -f conftest.$ac_ext
4197CC=$ac_save_CC
4198
4199fi
4200# AC_CACHE_VAL
4201case "x$ac_cv_prog_cc_c89" in
4202  x)
4203    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4204$as_echo "none needed" >&6; } ;;
4205  xno)
4206    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4207$as_echo "unsupported" >&6; } ;;
4208  *)
4209    CC="$CC $ac_cv_prog_cc_c89"
4210    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4211$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4212esac
4213if test "x$ac_cv_prog_cc_c89" != xno; then :
4214
4215fi
4216
4217ac_ext=c
4218ac_cpp='$CPP $CPPFLAGS'
4219ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4220ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4221ac_compiler_gnu=$ac_cv_c_compiler_gnu
4222
4223ac_ext=c
4224ac_cpp='$CPP $CPPFLAGS'
4225ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4227ac_compiler_gnu=$ac_cv_c_compiler_gnu
4228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4229$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4230if ${am_cv_prog_cc_c_o+:} false; then :
4231  $as_echo_n "(cached) " >&6
4232else
4233  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4234/* end confdefs.h.  */
4235
4236int
4237main ()
4238{
4239
4240  ;
4241  return 0;
4242}
4243_ACEOF
4244  # Make sure it works both with $CC and with simple cc.
4245  # Following AC_PROG_CC_C_O, we do the test twice because some
4246  # compilers refuse to overwrite an existing .o file with -o,
4247  # though they will create one.
4248  am_cv_prog_cc_c_o=yes
4249  for am_i in 1 2; do
4250    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4251   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4252   ac_status=$?
4253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254   (exit $ac_status); } \
4255         && test -f conftest2.$ac_objext; then
4256      : OK
4257    else
4258      am_cv_prog_cc_c_o=no
4259      break
4260    fi
4261  done
4262  rm -f core conftest*
4263  unset am_i
4264fi
4265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4266$as_echo "$am_cv_prog_cc_c_o" >&6; }
4267if test "$am_cv_prog_cc_c_o" != yes; then
4268   # Losing compiler, so override with the script.
4269   # FIXME: It is wrong to rewrite CC.
4270   # But if we don't then we get into trouble of one sort or another.
4271   # A longer-term fix would be to have automake use am__CC in this case,
4272   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4273   CC="$am_aux_dir/compile $CC"
4274fi
4275ac_ext=c
4276ac_cpp='$CPP $CPPFLAGS'
4277ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4278ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4279ac_compiler_gnu=$ac_cv_c_compiler_gnu
4280
4281DEPDIR="${am__leading_dot}deps"
4282
4283ac_config_commands="$ac_config_commands depfiles"
4284
4285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4286$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4287cat > confinc.mk << 'END'
4288am__doit:
4289	@echo this is the am__doit target >confinc.out
4290.PHONY: am__doit
4291END
4292am__include="#"
4293am__quote=
4294# BSD make does it like this.
4295echo '.include "confinc.mk" # ignored' > confmf.BSD
4296# Other make implementations (GNU, Solaris 10, AIX) do it like this.
4297echo 'include confinc.mk # ignored' > confmf.GNU
4298_am_result=no
4299for s in GNU BSD; do
4300  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4301   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4302   ac_status=$?
4303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304   (exit $ac_status); }
4305  case $?:`cat confinc.out 2>/dev/null` in #(
4306  '0:this is the am__doit target') :
4307    case $s in #(
4308  BSD) :
4309    am__include='.include' am__quote='"' ;; #(
4310  *) :
4311    am__include='include' am__quote='' ;;
4312esac ;; #(
4313  *) :
4314     ;;
4315esac
4316  if test "$am__include" != "#"; then
4317    _am_result="yes ($s style)"
4318    break
4319  fi
4320done
4321rm -f confinc.* confmf.*
4322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4323$as_echo "${_am_result}" >&6; }
4324
4325# Check whether --enable-dependency-tracking was given.
4326if test "${enable_dependency_tracking+set}" = set; then :
4327  enableval=$enable_dependency_tracking;
4328fi
4329
4330if test "x$enable_dependency_tracking" != xno; then
4331  am_depcomp="$ac_aux_dir/depcomp"
4332  AMDEPBACKSLASH='\'
4333  am__nodep='_no'
4334fi
4335 if test "x$enable_dependency_tracking" != xno; then
4336  AMDEP_TRUE=
4337  AMDEP_FALSE='#'
4338else
4339  AMDEP_TRUE='#'
4340  AMDEP_FALSE=
4341fi
4342
4343
4344
4345depcc="$CC"   am_compiler_list=
4346
4347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4348$as_echo_n "checking dependency style of $depcc... " >&6; }
4349if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4350  $as_echo_n "(cached) " >&6
4351else
4352  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4353  # We make a subdir and do the tests there.  Otherwise we can end up
4354  # making bogus files that we don't know about and never remove.  For
4355  # instance it was reported that on HP-UX the gcc test will end up
4356  # making a dummy file named 'D' -- because '-MD' means "put the output
4357  # in D".
4358  rm -rf conftest.dir
4359  mkdir conftest.dir
4360  # Copy depcomp to subdir because otherwise we won't find it if we're
4361  # using a relative directory.
4362  cp "$am_depcomp" conftest.dir
4363  cd conftest.dir
4364  # We will build objects and dependencies in a subdirectory because
4365  # it helps to detect inapplicable dependency modes.  For instance
4366  # both Tru64's cc and ICC support -MD to output dependencies as a
4367  # side effect of compilation, but ICC will put the dependencies in
4368  # the current directory while Tru64 will put them in the object
4369  # directory.
4370  mkdir sub
4371
4372  am_cv_CC_dependencies_compiler_type=none
4373  if test "$am_compiler_list" = ""; then
4374     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4375  fi
4376  am__universal=false
4377  case " $depcc " in #(
4378     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4379     esac
4380
4381  for depmode in $am_compiler_list; do
4382    # Setup a source with many dependencies, because some compilers
4383    # like to wrap large dependency lists on column 80 (with \), and
4384    # we should not choose a depcomp mode which is confused by this.
4385    #
4386    # We need to recreate these files for each test, as the compiler may
4387    # overwrite some of them when testing with obscure command lines.
4388    # This happens at least with the AIX C compiler.
4389    : > sub/conftest.c
4390    for i in 1 2 3 4 5 6; do
4391      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4392      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4393      # Solaris 10 /bin/sh.
4394      echo '/* dummy */' > sub/conftst$i.h
4395    done
4396    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4397
4398    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4399    # mode.  It turns out that the SunPro C++ compiler does not properly
4400    # handle '-M -o', and we need to detect this.  Also, some Intel
4401    # versions had trouble with output in subdirs.
4402    am__obj=sub/conftest.${OBJEXT-o}
4403    am__minus_obj="-o $am__obj"
4404    case $depmode in
4405    gcc)
4406      # This depmode causes a compiler race in universal mode.
4407      test "$am__universal" = false || continue
4408      ;;
4409    nosideeffect)
4410      # After this tag, mechanisms are not by side-effect, so they'll
4411      # only be used when explicitly requested.
4412      if test "x$enable_dependency_tracking" = xyes; then
4413	continue
4414      else
4415	break
4416      fi
4417      ;;
4418    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4419      # This compiler won't grok '-c -o', but also, the minuso test has
4420      # not run yet.  These depmodes are late enough in the game, and
4421      # so weak that their functioning should not be impacted.
4422      am__obj=conftest.${OBJEXT-o}
4423      am__minus_obj=
4424      ;;
4425    none) break ;;
4426    esac
4427    if depmode=$depmode \
4428       source=sub/conftest.c object=$am__obj \
4429       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4430       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4431         >/dev/null 2>conftest.err &&
4432       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4433       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4434       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4435       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4436      # icc doesn't choke on unknown options, it will just issue warnings
4437      # or remarks (even with -Werror).  So we grep stderr for any message
4438      # that says an option was ignored or not supported.
4439      # When given -MP, icc 7.0 and 7.1 complain thusly:
4440      #   icc: Command line warning: ignoring option '-M'; no argument required
4441      # The diagnosis changed in icc 8.0:
4442      #   icc: Command line remark: option '-MP' not supported
4443      if (grep 'ignoring option' conftest.err ||
4444          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4445        am_cv_CC_dependencies_compiler_type=$depmode
4446        break
4447      fi
4448    fi
4449  done
4450
4451  cd ..
4452  rm -rf conftest.dir
4453else
4454  am_cv_CC_dependencies_compiler_type=none
4455fi
4456
4457fi
4458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4459$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4460CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4461
4462 if
4463  test "x$enable_dependency_tracking" != xno \
4464  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4465  am__fastdepCC_TRUE=
4466  am__fastdepCC_FALSE='#'
4467else
4468  am__fastdepCC_TRUE='#'
4469  am__fastdepCC_FALSE=
4470fi
4471
4472
4473
4474
4475if test -n "$ac_tool_prefix"; then
4476  for ac_prog in ar lib "link -lib"
4477  do
4478    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481$as_echo_n "checking for $ac_word... " >&6; }
4482if ${ac_cv_prog_AR+:} false; then :
4483  $as_echo_n "(cached) " >&6
4484else
4485  if test -n "$AR"; then
4486  ac_cv_prog_AR="$AR" # Let the user override the test.
4487else
4488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489for as_dir in $PATH
4490do
4491  IFS=$as_save_IFS
4492  test -z "$as_dir" && as_dir=.
4493    for ac_exec_ext in '' $ac_executable_extensions; do
4494  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4496    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497    break 2
4498  fi
4499done
4500  done
4501IFS=$as_save_IFS
4502
4503fi
4504fi
4505AR=$ac_cv_prog_AR
4506if test -n "$AR"; then
4507  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4508$as_echo "$AR" >&6; }
4509else
4510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511$as_echo "no" >&6; }
4512fi
4513
4514
4515    test -n "$AR" && break
4516  done
4517fi
4518if test -z "$AR"; then
4519  ac_ct_AR=$AR
4520  for ac_prog in ar lib "link -lib"
4521do
4522  # Extract the first word of "$ac_prog", so it can be a program name with args.
4523set dummy $ac_prog; ac_word=$2
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525$as_echo_n "checking for $ac_word... " >&6; }
4526if ${ac_cv_prog_ac_ct_AR+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  if test -n "$ac_ct_AR"; then
4530  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4531else
4532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533for as_dir in $PATH
4534do
4535  IFS=$as_save_IFS
4536  test -z "$as_dir" && as_dir=.
4537    for ac_exec_ext in '' $ac_executable_extensions; do
4538  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539    ac_cv_prog_ac_ct_AR="$ac_prog"
4540    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541    break 2
4542  fi
4543done
4544  done
4545IFS=$as_save_IFS
4546
4547fi
4548fi
4549ac_ct_AR=$ac_cv_prog_ac_ct_AR
4550if test -n "$ac_ct_AR"; then
4551  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4552$as_echo "$ac_ct_AR" >&6; }
4553else
4554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555$as_echo "no" >&6; }
4556fi
4557
4558
4559  test -n "$ac_ct_AR" && break
4560done
4561
4562  if test "x$ac_ct_AR" = x; then
4563    AR="false"
4564  else
4565    case $cross_compiling:$ac_tool_warned in
4566yes:)
4567{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4568$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4569ac_tool_warned=yes ;;
4570esac
4571    AR=$ac_ct_AR
4572  fi
4573fi
4574
4575: ${AR=ar}
4576
4577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4578$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4579if ${am_cv_ar_interface+:} false; then :
4580  $as_echo_n "(cached) " >&6
4581else
4582  ac_ext=c
4583ac_cpp='$CPP $CPPFLAGS'
4584ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4585ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4586ac_compiler_gnu=$ac_cv_c_compiler_gnu
4587
4588   am_cv_ar_interface=ar
4589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4590/* end confdefs.h.  */
4591int some_variable = 0;
4592_ACEOF
4593if ac_fn_c_try_compile "$LINENO"; then :
4594  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4595      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4596  (eval $am_ar_try) 2>&5
4597  ac_status=$?
4598  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4599  test $ac_status = 0; }
4600      if test "$ac_status" -eq 0; then
4601        am_cv_ar_interface=ar
4602      else
4603        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4604        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4605  (eval $am_ar_try) 2>&5
4606  ac_status=$?
4607  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4608  test $ac_status = 0; }
4609        if test "$ac_status" -eq 0; then
4610          am_cv_ar_interface=lib
4611        else
4612          am_cv_ar_interface=unknown
4613        fi
4614      fi
4615      rm -f conftest.lib libconftest.a
4616
4617fi
4618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619   ac_ext=c
4620ac_cpp='$CPP $CPPFLAGS'
4621ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624
4625fi
4626{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4627$as_echo "$am_cv_ar_interface" >&6; }
4628
4629case $am_cv_ar_interface in
4630ar)
4631  ;;
4632lib)
4633  # Microsoft lib, so override with the ar-lib wrapper script.
4634  # FIXME: It is wrong to rewrite AR.
4635  # But if we don't then we get into trouble of one sort or another.
4636  # A longer-term fix would be to have automake use am__AR in this case,
4637  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4638  # similar.
4639  AR="$am_aux_dir/ar-lib $AR"
4640  ;;
4641unknown)
4642  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4643  ;;
4644esac
4645
4646case `pwd` in
4647  *\ * | *\	*)
4648    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4649$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4650esac
4651
4652
4653
4654macro_version='2.4.6'
4655macro_revision='2.4.6'
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669ltmain=$ac_aux_dir/ltmain.sh
4670
4671# Backslashify metacharacters that are still active within
4672# double-quoted strings.
4673sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4674
4675# Same as above, but do not quote variable references.
4676double_quote_subst='s/\(["`\\]\)/\\\1/g'
4677
4678# Sed substitution to delay expansion of an escaped shell variable in a
4679# double_quote_subst'ed string.
4680delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4681
4682# Sed substitution to delay expansion of an escaped single quote.
4683delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4684
4685# Sed substitution to avoid accidental globbing in evaled expressions
4686no_glob_subst='s/\*/\\\*/g'
4687
4688ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4689ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4690ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4691
4692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4693$as_echo_n "checking how to print strings... " >&6; }
4694# Test print first, because it will be a builtin if present.
4695if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4696   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4697  ECHO='print -r --'
4698elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4699  ECHO='printf %s\n'
4700else
4701  # Use this function as a fallback that always works.
4702  func_fallback_echo ()
4703  {
4704    eval 'cat <<_LTECHO_EOF
4705$1
4706_LTECHO_EOF'
4707  }
4708  ECHO='func_fallback_echo'
4709fi
4710
4711# func_echo_all arg...
4712# Invoke $ECHO with all args, space-separated.
4713func_echo_all ()
4714{
4715    $ECHO ""
4716}
4717
4718case $ECHO in
4719  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4720$as_echo "printf" >&6; } ;;
4721  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4722$as_echo "print -r" >&6; } ;;
4723  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4724$as_echo "cat" >&6; } ;;
4725esac
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4741$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4742if ${ac_cv_path_SED+:} false; then :
4743  $as_echo_n "(cached) " >&6
4744else
4745            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4746     for ac_i in 1 2 3 4 5 6 7; do
4747       ac_script="$ac_script$as_nl$ac_script"
4748     done
4749     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4750     { ac_script=; unset ac_script;}
4751     if test -z "$SED"; then
4752  ac_path_SED_found=false
4753  # Loop through the user's path and test for each of PROGNAME-LIST
4754  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755for as_dir in $PATH
4756do
4757  IFS=$as_save_IFS
4758  test -z "$as_dir" && as_dir=.
4759    for ac_prog in sed gsed; do
4760    for ac_exec_ext in '' $ac_executable_extensions; do
4761      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4762      as_fn_executable_p "$ac_path_SED" || continue
4763# Check for GNU ac_path_SED and select it if it is found.
4764  # Check for GNU $ac_path_SED
4765case `"$ac_path_SED" --version 2>&1` in
4766*GNU*)
4767  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4768*)
4769  ac_count=0
4770  $as_echo_n 0123456789 >"conftest.in"
4771  while :
4772  do
4773    cat "conftest.in" "conftest.in" >"conftest.tmp"
4774    mv "conftest.tmp" "conftest.in"
4775    cp "conftest.in" "conftest.nl"
4776    $as_echo '' >> "conftest.nl"
4777    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4778    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4779    as_fn_arith $ac_count + 1 && ac_count=$as_val
4780    if test $ac_count -gt ${ac_path_SED_max-0}; then
4781      # Best one so far, save it but keep looking for a better one
4782      ac_cv_path_SED="$ac_path_SED"
4783      ac_path_SED_max=$ac_count
4784    fi
4785    # 10*(2^10) chars as input seems more than enough
4786    test $ac_count -gt 10 && break
4787  done
4788  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4789esac
4790
4791      $ac_path_SED_found && break 3
4792    done
4793  done
4794  done
4795IFS=$as_save_IFS
4796  if test -z "$ac_cv_path_SED"; then
4797    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4798  fi
4799else
4800  ac_cv_path_SED=$SED
4801fi
4802
4803fi
4804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4805$as_echo "$ac_cv_path_SED" >&6; }
4806 SED="$ac_cv_path_SED"
4807  rm -f conftest.sed
4808
4809test -z "$SED" && SED=sed
4810Xsed="$SED -e 1s/^X//"
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824if ${ac_cv_path_GREP+:} false; then :
4825  $as_echo_n "(cached) " >&6
4826else
4827  if test -z "$GREP"; then
4828  ac_path_GREP_found=false
4829  # Loop through the user's path and test for each of PROGNAME-LIST
4830  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4832do
4833  IFS=$as_save_IFS
4834  test -z "$as_dir" && as_dir=.
4835    for ac_prog in grep ggrep; do
4836    for ac_exec_ext in '' $ac_executable_extensions; do
4837      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838      as_fn_executable_p "$ac_path_GREP" || continue
4839# Check for GNU ac_path_GREP and select it if it is found.
4840  # Check for GNU $ac_path_GREP
4841case `"$ac_path_GREP" --version 2>&1` in
4842*GNU*)
4843  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4844*)
4845  ac_count=0
4846  $as_echo_n 0123456789 >"conftest.in"
4847  while :
4848  do
4849    cat "conftest.in" "conftest.in" >"conftest.tmp"
4850    mv "conftest.tmp" "conftest.in"
4851    cp "conftest.in" "conftest.nl"
4852    $as_echo 'GREP' >> "conftest.nl"
4853    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855    as_fn_arith $ac_count + 1 && ac_count=$as_val
4856    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857      # Best one so far, save it but keep looking for a better one
4858      ac_cv_path_GREP="$ac_path_GREP"
4859      ac_path_GREP_max=$ac_count
4860    fi
4861    # 10*(2^10) chars as input seems more than enough
4862    test $ac_count -gt 10 && break
4863  done
4864  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865esac
4866
4867      $ac_path_GREP_found && break 3
4868    done
4869  done
4870  done
4871IFS=$as_save_IFS
4872  if test -z "$ac_cv_path_GREP"; then
4873    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4874  fi
4875else
4876  ac_cv_path_GREP=$GREP
4877fi
4878
4879fi
4880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881$as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4883
4884
4885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886$as_echo_n "checking for egrep... " >&6; }
4887if ${ac_cv_path_EGREP+:} false; then :
4888  $as_echo_n "(cached) " >&6
4889else
4890  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891   then ac_cv_path_EGREP="$GREP -E"
4892   else
4893     if test -z "$EGREP"; then
4894  ac_path_EGREP_found=false
4895  # Loop through the user's path and test for each of PROGNAME-LIST
4896  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4898do
4899  IFS=$as_save_IFS
4900  test -z "$as_dir" && as_dir=.
4901    for ac_prog in egrep; do
4902    for ac_exec_ext in '' $ac_executable_extensions; do
4903      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904      as_fn_executable_p "$ac_path_EGREP" || continue
4905# Check for GNU ac_path_EGREP and select it if it is found.
4906  # Check for GNU $ac_path_EGREP
4907case `"$ac_path_EGREP" --version 2>&1` in
4908*GNU*)
4909  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4910*)
4911  ac_count=0
4912  $as_echo_n 0123456789 >"conftest.in"
4913  while :
4914  do
4915    cat "conftest.in" "conftest.in" >"conftest.tmp"
4916    mv "conftest.tmp" "conftest.in"
4917    cp "conftest.in" "conftest.nl"
4918    $as_echo 'EGREP' >> "conftest.nl"
4919    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921    as_fn_arith $ac_count + 1 && ac_count=$as_val
4922    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923      # Best one so far, save it but keep looking for a better one
4924      ac_cv_path_EGREP="$ac_path_EGREP"
4925      ac_path_EGREP_max=$ac_count
4926    fi
4927    # 10*(2^10) chars as input seems more than enough
4928    test $ac_count -gt 10 && break
4929  done
4930  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931esac
4932
4933      $ac_path_EGREP_found && break 3
4934    done
4935  done
4936  done
4937IFS=$as_save_IFS
4938  if test -z "$ac_cv_path_EGREP"; then
4939    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4940  fi
4941else
4942  ac_cv_path_EGREP=$EGREP
4943fi
4944
4945   fi
4946fi
4947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948$as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4950
4951
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4953$as_echo_n "checking for fgrep... " >&6; }
4954if ${ac_cv_path_FGREP+:} false; then :
4955  $as_echo_n "(cached) " >&6
4956else
4957  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4958   then ac_cv_path_FGREP="$GREP -F"
4959   else
4960     if test -z "$FGREP"; then
4961  ac_path_FGREP_found=false
4962  # Loop through the user's path and test for each of PROGNAME-LIST
4963  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4964for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4965do
4966  IFS=$as_save_IFS
4967  test -z "$as_dir" && as_dir=.
4968    for ac_prog in fgrep; do
4969    for ac_exec_ext in '' $ac_executable_extensions; do
4970      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4971      as_fn_executable_p "$ac_path_FGREP" || continue
4972# Check for GNU ac_path_FGREP and select it if it is found.
4973  # Check for GNU $ac_path_FGREP
4974case `"$ac_path_FGREP" --version 2>&1` in
4975*GNU*)
4976  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4977*)
4978  ac_count=0
4979  $as_echo_n 0123456789 >"conftest.in"
4980  while :
4981  do
4982    cat "conftest.in" "conftest.in" >"conftest.tmp"
4983    mv "conftest.tmp" "conftest.in"
4984    cp "conftest.in" "conftest.nl"
4985    $as_echo 'FGREP' >> "conftest.nl"
4986    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4987    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4988    as_fn_arith $ac_count + 1 && ac_count=$as_val
4989    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4990      # Best one so far, save it but keep looking for a better one
4991      ac_cv_path_FGREP="$ac_path_FGREP"
4992      ac_path_FGREP_max=$ac_count
4993    fi
4994    # 10*(2^10) chars as input seems more than enough
4995    test $ac_count -gt 10 && break
4996  done
4997  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4998esac
4999
5000      $ac_path_FGREP_found && break 3
5001    done
5002  done
5003  done
5004IFS=$as_save_IFS
5005  if test -z "$ac_cv_path_FGREP"; then
5006    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5007  fi
5008else
5009  ac_cv_path_FGREP=$FGREP
5010fi
5011
5012   fi
5013fi
5014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5015$as_echo "$ac_cv_path_FGREP" >&6; }
5016 FGREP="$ac_cv_path_FGREP"
5017
5018
5019test -z "$GREP" && GREP=grep
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039# Check whether --with-gnu-ld was given.
5040if test "${with_gnu_ld+set}" = set; then :
5041  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5042else
5043  with_gnu_ld=no
5044fi
5045
5046ac_prog=ld
5047if test yes = "$GCC"; then
5048  # Check if gcc -print-prog-name=ld gives a path.
5049  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5050$as_echo_n "checking for ld used by $CC... " >&6; }
5051  case $host in
5052  *-*-mingw*)
5053    # gcc leaves a trailing carriage return, which upsets mingw
5054    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5055  *)
5056    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5057  esac
5058  case $ac_prog in
5059    # Accept absolute paths.
5060    [\\/]* | ?:[\\/]*)
5061      re_direlt='/[^/][^/]*/\.\./'
5062      # Canonicalize the pathname of ld
5063      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5064      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5065	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5066      done
5067      test -z "$LD" && LD=$ac_prog
5068      ;;
5069  "")
5070    # If it fails, then pretend we aren't using GCC.
5071    ac_prog=ld
5072    ;;
5073  *)
5074    # If it is relative, then search for the first ld in PATH.
5075    with_gnu_ld=unknown
5076    ;;
5077  esac
5078elif test yes = "$with_gnu_ld"; then
5079  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5080$as_echo_n "checking for GNU ld... " >&6; }
5081else
5082  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5083$as_echo_n "checking for non-GNU ld... " >&6; }
5084fi
5085if ${lt_cv_path_LD+:} false; then :
5086  $as_echo_n "(cached) " >&6
5087else
5088  if test -z "$LD"; then
5089  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5090  for ac_dir in $PATH; do
5091    IFS=$lt_save_ifs
5092    test -z "$ac_dir" && ac_dir=.
5093    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5094      lt_cv_path_LD=$ac_dir/$ac_prog
5095      # Check to see if the program is GNU ld.  I'd rather use --version,
5096      # but apparently some variants of GNU ld only accept -v.
5097      # Break only if it was the GNU/non-GNU ld that we prefer.
5098      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5099      *GNU* | *'with BFD'*)
5100	test no != "$with_gnu_ld" && break
5101	;;
5102      *)
5103	test yes != "$with_gnu_ld" && break
5104	;;
5105      esac
5106    fi
5107  done
5108  IFS=$lt_save_ifs
5109else
5110  lt_cv_path_LD=$LD # Let the user override the test with a path.
5111fi
5112fi
5113
5114LD=$lt_cv_path_LD
5115if test -n "$LD"; then
5116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5117$as_echo "$LD" >&6; }
5118else
5119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120$as_echo "no" >&6; }
5121fi
5122test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5124$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5125if ${lt_cv_prog_gnu_ld+:} false; then :
5126  $as_echo_n "(cached) " >&6
5127else
5128  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5129case `$LD -v 2>&1 </dev/null` in
5130*GNU* | *'with BFD'*)
5131  lt_cv_prog_gnu_ld=yes
5132  ;;
5133*)
5134  lt_cv_prog_gnu_ld=no
5135  ;;
5136esac
5137fi
5138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5139$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5140with_gnu_ld=$lt_cv_prog_gnu_ld
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5151$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5152if ${lt_cv_path_NM+:} false; then :
5153  $as_echo_n "(cached) " >&6
5154else
5155  if test -n "$NM"; then
5156  # Let the user override the test.
5157  lt_cv_path_NM=$NM
5158else
5159  lt_nm_to_check=${ac_tool_prefix}nm
5160  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5161    lt_nm_to_check="$lt_nm_to_check nm"
5162  fi
5163  for lt_tmp_nm in $lt_nm_to_check; do
5164    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5165    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5166      IFS=$lt_save_ifs
5167      test -z "$ac_dir" && ac_dir=.
5168      tmp_nm=$ac_dir/$lt_tmp_nm
5169      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5170	# Check to see if the nm accepts a BSD-compat flag.
5171	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5172	#   nm: unknown option "B" ignored
5173	# Tru64's nm complains that /dev/null is an invalid object file
5174	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5175	case $build_os in
5176	mingw*) lt_bad_file=conftest.nm/nofile ;;
5177	*) lt_bad_file=/dev/null ;;
5178	esac
5179	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5180	*$lt_bad_file* | *'Invalid file or object type'*)
5181	  lt_cv_path_NM="$tmp_nm -B"
5182	  break 2
5183	  ;;
5184	*)
5185	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5186	  */dev/null*)
5187	    lt_cv_path_NM="$tmp_nm -p"
5188	    break 2
5189	    ;;
5190	  *)
5191	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5192	    continue # so that we can try to find one that supports BSD flags
5193	    ;;
5194	  esac
5195	  ;;
5196	esac
5197      fi
5198    done
5199    IFS=$lt_save_ifs
5200  done
5201  : ${lt_cv_path_NM=no}
5202fi
5203fi
5204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5205$as_echo "$lt_cv_path_NM" >&6; }
5206if test no != "$lt_cv_path_NM"; then
5207  NM=$lt_cv_path_NM
5208else
5209  # Didn't find any BSD compatible name lister, look for dumpbin.
5210  if test -n "$DUMPBIN"; then :
5211    # Let the user override the test.
5212  else
5213    if test -n "$ac_tool_prefix"; then
5214  for ac_prog in dumpbin "link -dump"
5215  do
5216    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5217set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219$as_echo_n "checking for $ac_word... " >&6; }
5220if ${ac_cv_prog_DUMPBIN+:} false; then :
5221  $as_echo_n "(cached) " >&6
5222else
5223  if test -n "$DUMPBIN"; then
5224  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5225else
5226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227for as_dir in $PATH
5228do
5229  IFS=$as_save_IFS
5230  test -z "$as_dir" && as_dir=.
5231    for ac_exec_ext in '' $ac_executable_extensions; do
5232  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5234    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235    break 2
5236  fi
5237done
5238  done
5239IFS=$as_save_IFS
5240
5241fi
5242fi
5243DUMPBIN=$ac_cv_prog_DUMPBIN
5244if test -n "$DUMPBIN"; then
5245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5246$as_echo "$DUMPBIN" >&6; }
5247else
5248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249$as_echo "no" >&6; }
5250fi
5251
5252
5253    test -n "$DUMPBIN" && break
5254  done
5255fi
5256if test -z "$DUMPBIN"; then
5257  ac_ct_DUMPBIN=$DUMPBIN
5258  for ac_prog in dumpbin "link -dump"
5259do
5260  # Extract the first word of "$ac_prog", so it can be a program name with args.
5261set dummy $ac_prog; ac_word=$2
5262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5263$as_echo_n "checking for $ac_word... " >&6; }
5264if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5265  $as_echo_n "(cached) " >&6
5266else
5267  if test -n "$ac_ct_DUMPBIN"; then
5268  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5269else
5270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271for as_dir in $PATH
5272do
5273  IFS=$as_save_IFS
5274  test -z "$as_dir" && as_dir=.
5275    for ac_exec_ext in '' $ac_executable_extensions; do
5276  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5277    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5279    break 2
5280  fi
5281done
5282  done
5283IFS=$as_save_IFS
5284
5285fi
5286fi
5287ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5288if test -n "$ac_ct_DUMPBIN"; then
5289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5290$as_echo "$ac_ct_DUMPBIN" >&6; }
5291else
5292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5293$as_echo "no" >&6; }
5294fi
5295
5296
5297  test -n "$ac_ct_DUMPBIN" && break
5298done
5299
5300  if test "x$ac_ct_DUMPBIN" = x; then
5301    DUMPBIN=":"
5302  else
5303    case $cross_compiling:$ac_tool_warned in
5304yes:)
5305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5307ac_tool_warned=yes ;;
5308esac
5309    DUMPBIN=$ac_ct_DUMPBIN
5310  fi
5311fi
5312
5313    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5314    *COFF*)
5315      DUMPBIN="$DUMPBIN -symbols -headers"
5316      ;;
5317    *)
5318      DUMPBIN=:
5319      ;;
5320    esac
5321  fi
5322
5323  if test : != "$DUMPBIN"; then
5324    NM=$DUMPBIN
5325  fi
5326fi
5327test -z "$NM" && NM=nm
5328
5329
5330
5331
5332
5333
5334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5335$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5336if ${lt_cv_nm_interface+:} false; then :
5337  $as_echo_n "(cached) " >&6
5338else
5339  lt_cv_nm_interface="BSD nm"
5340  echo "int some_variable = 0;" > conftest.$ac_ext
5341  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5342  (eval "$ac_compile" 2>conftest.err)
5343  cat conftest.err >&5
5344  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5345  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5346  cat conftest.err >&5
5347  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5348  cat conftest.out >&5
5349  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5350    lt_cv_nm_interface="MS dumpbin"
5351  fi
5352  rm -f conftest*
5353fi
5354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5355$as_echo "$lt_cv_nm_interface" >&6; }
5356
5357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5358$as_echo_n "checking whether ln -s works... " >&6; }
5359LN_S=$as_ln_s
5360if test "$LN_S" = "ln -s"; then
5361  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5362$as_echo "yes" >&6; }
5363else
5364  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5365$as_echo "no, using $LN_S" >&6; }
5366fi
5367
5368# find the maximum length of command line arguments
5369{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5370$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5371if ${lt_cv_sys_max_cmd_len+:} false; then :
5372  $as_echo_n "(cached) " >&6
5373else
5374    i=0
5375  teststring=ABCD
5376
5377  case $build_os in
5378  msdosdjgpp*)
5379    # On DJGPP, this test can blow up pretty badly due to problems in libc
5380    # (any single argument exceeding 2000 bytes causes a buffer overrun
5381    # during glob expansion).  Even if it were fixed, the result of this
5382    # check would be larger than it should be.
5383    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5384    ;;
5385
5386  gnu*)
5387    # Under GNU Hurd, this test is not required because there is
5388    # no limit to the length of command line arguments.
5389    # Libtool will interpret -1 as no limit whatsoever
5390    lt_cv_sys_max_cmd_len=-1;
5391    ;;
5392
5393  cygwin* | mingw* | cegcc*)
5394    # On Win9x/ME, this test blows up -- it succeeds, but takes
5395    # about 5 minutes as the teststring grows exponentially.
5396    # Worse, since 9x/ME are not pre-emptively multitasking,
5397    # you end up with a "frozen" computer, even though with patience
5398    # the test eventually succeeds (with a max line length of 256k).
5399    # Instead, let's just punt: use the minimum linelength reported by
5400    # all of the supported platforms: 8192 (on NT/2K/XP).
5401    lt_cv_sys_max_cmd_len=8192;
5402    ;;
5403
5404  mint*)
5405    # On MiNT this can take a long time and run out of memory.
5406    lt_cv_sys_max_cmd_len=8192;
5407    ;;
5408
5409  amigaos*)
5410    # On AmigaOS with pdksh, this test takes hours, literally.
5411    # So we just punt and use a minimum line length of 8192.
5412    lt_cv_sys_max_cmd_len=8192;
5413    ;;
5414
5415  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5416    # This has been around since 386BSD, at least.  Likely further.
5417    if test -x /sbin/sysctl; then
5418      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5419    elif test -x /usr/sbin/sysctl; then
5420      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5421    else
5422      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5423    fi
5424    # And add a safety zone
5425    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5426    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5427    ;;
5428
5429  interix*)
5430    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5431    lt_cv_sys_max_cmd_len=196608
5432    ;;
5433
5434  os2*)
5435    # The test takes a long time on OS/2.
5436    lt_cv_sys_max_cmd_len=8192
5437    ;;
5438
5439  osf*)
5440    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5441    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5442    # nice to cause kernel panics so lets avoid the loop below.
5443    # First set a reasonable default.
5444    lt_cv_sys_max_cmd_len=16384
5445    #
5446    if test -x /sbin/sysconfig; then
5447      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5448        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5449      esac
5450    fi
5451    ;;
5452  sco3.2v5*)
5453    lt_cv_sys_max_cmd_len=102400
5454    ;;
5455  sysv5* | sco5v6* | sysv4.2uw2*)
5456    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5457    if test -n "$kargmax"; then
5458      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5459    else
5460      lt_cv_sys_max_cmd_len=32768
5461    fi
5462    ;;
5463  *)
5464    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5465    if test -n "$lt_cv_sys_max_cmd_len" && \
5466       test undefined != "$lt_cv_sys_max_cmd_len"; then
5467      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5468      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5469    else
5470      # Make teststring a little bigger before we do anything with it.
5471      # a 1K string should be a reasonable start.
5472      for i in 1 2 3 4 5 6 7 8; do
5473        teststring=$teststring$teststring
5474      done
5475      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5476      # If test is not a shell built-in, we'll probably end up computing a
5477      # maximum length that is only half of the actual maximum length, but
5478      # we can't tell.
5479      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5480	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5481	      test 17 != "$i" # 1/2 MB should be enough
5482      do
5483        i=`expr $i + 1`
5484        teststring=$teststring$teststring
5485      done
5486      # Only check the string length outside the loop.
5487      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5488      teststring=
5489      # Add a significant safety factor because C++ compilers can tack on
5490      # massive amounts of additional arguments before passing them to the
5491      # linker.  It appears as though 1/2 is a usable value.
5492      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5493    fi
5494    ;;
5495  esac
5496
5497fi
5498
5499if test -n "$lt_cv_sys_max_cmd_len"; then
5500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5501$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5502else
5503  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5504$as_echo "none" >&6; }
5505fi
5506max_cmd_len=$lt_cv_sys_max_cmd_len
5507
5508
5509
5510
5511
5512
5513: ${CP="cp -f"}
5514: ${MV="mv -f"}
5515: ${RM="rm -f"}
5516
5517if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5518  lt_unset=unset
5519else
5520  lt_unset=false
5521fi
5522
5523
5524
5525
5526
5527# test EBCDIC or ASCII
5528case `echo X|tr X '\101'` in
5529 A) # ASCII based system
5530    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5531  lt_SP2NL='tr \040 \012'
5532  lt_NL2SP='tr \015\012 \040\040'
5533  ;;
5534 *) # EBCDIC based system
5535  lt_SP2NL='tr \100 \n'
5536  lt_NL2SP='tr \r\n \100\100'
5537  ;;
5538esac
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5549$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5550if ${lt_cv_to_host_file_cmd+:} false; then :
5551  $as_echo_n "(cached) " >&6
5552else
5553  case $host in
5554  *-*-mingw* )
5555    case $build in
5556      *-*-mingw* ) # actually msys
5557        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5558        ;;
5559      *-*-cygwin* )
5560        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5561        ;;
5562      * ) # otherwise, assume *nix
5563        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5564        ;;
5565    esac
5566    ;;
5567  *-*-cygwin* )
5568    case $build in
5569      *-*-mingw* ) # actually msys
5570        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5571        ;;
5572      *-*-cygwin* )
5573        lt_cv_to_host_file_cmd=func_convert_file_noop
5574        ;;
5575      * ) # otherwise, assume *nix
5576        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5577        ;;
5578    esac
5579    ;;
5580  * ) # unhandled hosts (and "normal" native builds)
5581    lt_cv_to_host_file_cmd=func_convert_file_noop
5582    ;;
5583esac
5584
5585fi
5586
5587to_host_file_cmd=$lt_cv_to_host_file_cmd
5588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5589$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5590
5591
5592
5593
5594
5595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5596$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5597if ${lt_cv_to_tool_file_cmd+:} false; then :
5598  $as_echo_n "(cached) " >&6
5599else
5600  #assume ordinary cross tools, or native build.
5601lt_cv_to_tool_file_cmd=func_convert_file_noop
5602case $host in
5603  *-*-mingw* )
5604    case $build in
5605      *-*-mingw* ) # actually msys
5606        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5607        ;;
5608    esac
5609    ;;
5610esac
5611
5612fi
5613
5614to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5616$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5617
5618
5619
5620
5621
5622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5623$as_echo_n "checking for $LD option to reload object files... " >&6; }
5624if ${lt_cv_ld_reload_flag+:} false; then :
5625  $as_echo_n "(cached) " >&6
5626else
5627  lt_cv_ld_reload_flag='-r'
5628fi
5629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5630$as_echo "$lt_cv_ld_reload_flag" >&6; }
5631reload_flag=$lt_cv_ld_reload_flag
5632case $reload_flag in
5633"" | " "*) ;;
5634*) reload_flag=" $reload_flag" ;;
5635esac
5636reload_cmds='$LD$reload_flag -o $output$reload_objs'
5637case $host_os in
5638  cygwin* | mingw* | pw32* | cegcc*)
5639    if test yes != "$GCC"; then
5640      reload_cmds=false
5641    fi
5642    ;;
5643  darwin*)
5644    if test yes = "$GCC"; then
5645      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5646    else
5647      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5648    fi
5649    ;;
5650esac
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660if test -n "$ac_tool_prefix"; then
5661  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5662set dummy ${ac_tool_prefix}objdump; ac_word=$2
5663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664$as_echo_n "checking for $ac_word... " >&6; }
5665if ${ac_cv_prog_OBJDUMP+:} false; then :
5666  $as_echo_n "(cached) " >&6
5667else
5668  if test -n "$OBJDUMP"; then
5669  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5670else
5671as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672for as_dir in $PATH
5673do
5674  IFS=$as_save_IFS
5675  test -z "$as_dir" && as_dir=.
5676    for ac_exec_ext in '' $ac_executable_extensions; do
5677  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5679    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5680    break 2
5681  fi
5682done
5683  done
5684IFS=$as_save_IFS
5685
5686fi
5687fi
5688OBJDUMP=$ac_cv_prog_OBJDUMP
5689if test -n "$OBJDUMP"; then
5690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5691$as_echo "$OBJDUMP" >&6; }
5692else
5693  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694$as_echo "no" >&6; }
5695fi
5696
5697
5698fi
5699if test -z "$ac_cv_prog_OBJDUMP"; then
5700  ac_ct_OBJDUMP=$OBJDUMP
5701  # Extract the first word of "objdump", so it can be a program name with args.
5702set dummy objdump; ac_word=$2
5703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5704$as_echo_n "checking for $ac_word... " >&6; }
5705if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5706  $as_echo_n "(cached) " >&6
5707else
5708  if test -n "$ac_ct_OBJDUMP"; then
5709  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5710else
5711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712for as_dir in $PATH
5713do
5714  IFS=$as_save_IFS
5715  test -z "$as_dir" && as_dir=.
5716    for ac_exec_ext in '' $ac_executable_extensions; do
5717  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5720    break 2
5721  fi
5722done
5723  done
5724IFS=$as_save_IFS
5725
5726fi
5727fi
5728ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5729if test -n "$ac_ct_OBJDUMP"; then
5730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5731$as_echo "$ac_ct_OBJDUMP" >&6; }
5732else
5733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5734$as_echo "no" >&6; }
5735fi
5736
5737  if test "x$ac_ct_OBJDUMP" = x; then
5738    OBJDUMP="false"
5739  else
5740    case $cross_compiling:$ac_tool_warned in
5741yes:)
5742{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5743$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5744ac_tool_warned=yes ;;
5745esac
5746    OBJDUMP=$ac_ct_OBJDUMP
5747  fi
5748else
5749  OBJDUMP="$ac_cv_prog_OBJDUMP"
5750fi
5751
5752test -z "$OBJDUMP" && OBJDUMP=objdump
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5763$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5764if ${lt_cv_deplibs_check_method+:} false; then :
5765  $as_echo_n "(cached) " >&6
5766else
5767  lt_cv_file_magic_cmd='$MAGIC_CMD'
5768lt_cv_file_magic_test_file=
5769lt_cv_deplibs_check_method='unknown'
5770# Need to set the preceding variable on all platforms that support
5771# interlibrary dependencies.
5772# 'none' -- dependencies not supported.
5773# 'unknown' -- same as none, but documents that we really don't know.
5774# 'pass_all' -- all dependencies passed with no checks.
5775# 'test_compile' -- check by making test program.
5776# 'file_magic [[regex]]' -- check by looking for files in library path
5777# that responds to the $file_magic_cmd with a given extended regex.
5778# If you have 'file' or equivalent on your system and you're not sure
5779# whether 'pass_all' will *always* work, you probably want this one.
5780
5781case $host_os in
5782aix[4-9]*)
5783  lt_cv_deplibs_check_method=pass_all
5784  ;;
5785
5786beos*)
5787  lt_cv_deplibs_check_method=pass_all
5788  ;;
5789
5790bsdi[45]*)
5791  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5792  lt_cv_file_magic_cmd='/usr/bin/file -L'
5793  lt_cv_file_magic_test_file=/shlib/libc.so
5794  ;;
5795
5796cygwin*)
5797  # func_win32_libid is a shell function defined in ltmain.sh
5798  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5799  lt_cv_file_magic_cmd='func_win32_libid'
5800  ;;
5801
5802mingw* | pw32*)
5803  # Base MSYS/MinGW do not provide the 'file' command needed by
5804  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5805  # unless we find 'file', for example because we are cross-compiling.
5806  if ( file / ) >/dev/null 2>&1; then
5807    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5808    lt_cv_file_magic_cmd='func_win32_libid'
5809  else
5810    # Keep this pattern in sync with the one in func_win32_libid.
5811    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5812    lt_cv_file_magic_cmd='$OBJDUMP -f'
5813  fi
5814  ;;
5815
5816cegcc*)
5817  # use the weaker test based on 'objdump'. See mingw*.
5818  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5819  lt_cv_file_magic_cmd='$OBJDUMP -f'
5820  ;;
5821
5822darwin* | rhapsody*)
5823  lt_cv_deplibs_check_method=pass_all
5824  ;;
5825
5826freebsd* | dragonfly*)
5827  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5828    case $host_cpu in
5829    i*86 )
5830      # Not sure whether the presence of OpenBSD here was a mistake.
5831      # Let's accept both of them until this is cleared up.
5832      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5833      lt_cv_file_magic_cmd=/usr/bin/file
5834      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5835      ;;
5836    esac
5837  else
5838    lt_cv_deplibs_check_method=pass_all
5839  fi
5840  ;;
5841
5842haiku*)
5843  lt_cv_deplibs_check_method=pass_all
5844  ;;
5845
5846hpux10.20* | hpux11*)
5847  lt_cv_file_magic_cmd=/usr/bin/file
5848  case $host_cpu in
5849  ia64*)
5850    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5851    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5852    ;;
5853  hppa*64*)
5854    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]'
5855    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5856    ;;
5857  *)
5858    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5859    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5860    ;;
5861  esac
5862  ;;
5863
5864interix[3-9]*)
5865  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5866  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5867  ;;
5868
5869irix5* | irix6* | nonstopux*)
5870  case $LD in
5871  *-32|*"-32 ") libmagic=32-bit;;
5872  *-n32|*"-n32 ") libmagic=N32;;
5873  *-64|*"-64 ") libmagic=64-bit;;
5874  *) libmagic=never-match;;
5875  esac
5876  lt_cv_deplibs_check_method=pass_all
5877  ;;
5878
5879# This must be glibc/ELF.
5880linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5881  lt_cv_deplibs_check_method=pass_all
5882  ;;
5883
5884netbsd* | netbsdelf*-gnu)
5885  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5886    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5887  else
5888    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5889  fi
5890  ;;
5891
5892newos6*)
5893  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5894  lt_cv_file_magic_cmd=/usr/bin/file
5895  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5896  ;;
5897
5898*nto* | *qnx*)
5899  lt_cv_deplibs_check_method=pass_all
5900  ;;
5901
5902openbsd* | bitrig*)
5903  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5904    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5905  else
5906    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5907  fi
5908  ;;
5909
5910osf3* | osf4* | osf5*)
5911  lt_cv_deplibs_check_method=pass_all
5912  ;;
5913
5914rdos*)
5915  lt_cv_deplibs_check_method=pass_all
5916  ;;
5917
5918solaris*)
5919  lt_cv_deplibs_check_method=pass_all
5920  ;;
5921
5922sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5923  lt_cv_deplibs_check_method=pass_all
5924  ;;
5925
5926sysv4 | sysv4.3*)
5927  case $host_vendor in
5928  motorola)
5929    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]'
5930    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5931    ;;
5932  ncr)
5933    lt_cv_deplibs_check_method=pass_all
5934    ;;
5935  sequent)
5936    lt_cv_file_magic_cmd='/bin/file'
5937    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5938    ;;
5939  sni)
5940    lt_cv_file_magic_cmd='/bin/file'
5941    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5942    lt_cv_file_magic_test_file=/lib/libc.so
5943    ;;
5944  siemens)
5945    lt_cv_deplibs_check_method=pass_all
5946    ;;
5947  pc)
5948    lt_cv_deplibs_check_method=pass_all
5949    ;;
5950  esac
5951  ;;
5952
5953tpf*)
5954  lt_cv_deplibs_check_method=pass_all
5955  ;;
5956os2*)
5957  lt_cv_deplibs_check_method=pass_all
5958  ;;
5959esac
5960
5961fi
5962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5963$as_echo "$lt_cv_deplibs_check_method" >&6; }
5964
5965file_magic_glob=
5966want_nocaseglob=no
5967if test "$build" = "$host"; then
5968  case $host_os in
5969  mingw* | pw32*)
5970    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5971      want_nocaseglob=yes
5972    else
5973      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5974    fi
5975    ;;
5976  esac
5977fi
5978
5979file_magic_cmd=$lt_cv_file_magic_cmd
5980deplibs_check_method=$lt_cv_deplibs_check_method
5981test -z "$deplibs_check_method" && deplibs_check_method=unknown
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004if test -n "$ac_tool_prefix"; then
6005  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6006set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6008$as_echo_n "checking for $ac_word... " >&6; }
6009if ${ac_cv_prog_DLLTOOL+:} false; then :
6010  $as_echo_n "(cached) " >&6
6011else
6012  if test -n "$DLLTOOL"; then
6013  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6014else
6015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016for as_dir in $PATH
6017do
6018  IFS=$as_save_IFS
6019  test -z "$as_dir" && as_dir=.
6020    for ac_exec_ext in '' $ac_executable_extensions; do
6021  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6022    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6023    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6024    break 2
6025  fi
6026done
6027  done
6028IFS=$as_save_IFS
6029
6030fi
6031fi
6032DLLTOOL=$ac_cv_prog_DLLTOOL
6033if test -n "$DLLTOOL"; then
6034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6035$as_echo "$DLLTOOL" >&6; }
6036else
6037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038$as_echo "no" >&6; }
6039fi
6040
6041
6042fi
6043if test -z "$ac_cv_prog_DLLTOOL"; then
6044  ac_ct_DLLTOOL=$DLLTOOL
6045  # Extract the first word of "dlltool", so it can be a program name with args.
6046set dummy dlltool; ac_word=$2
6047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6048$as_echo_n "checking for $ac_word... " >&6; }
6049if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6050  $as_echo_n "(cached) " >&6
6051else
6052  if test -n "$ac_ct_DLLTOOL"; then
6053  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6054else
6055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056for as_dir in $PATH
6057do
6058  IFS=$as_save_IFS
6059  test -z "$as_dir" && as_dir=.
6060    for ac_exec_ext in '' $ac_executable_extensions; do
6061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6062    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6064    break 2
6065  fi
6066done
6067  done
6068IFS=$as_save_IFS
6069
6070fi
6071fi
6072ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6073if test -n "$ac_ct_DLLTOOL"; then
6074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6075$as_echo "$ac_ct_DLLTOOL" >&6; }
6076else
6077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6078$as_echo "no" >&6; }
6079fi
6080
6081  if test "x$ac_ct_DLLTOOL" = x; then
6082    DLLTOOL="false"
6083  else
6084    case $cross_compiling:$ac_tool_warned in
6085yes:)
6086{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6087$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6088ac_tool_warned=yes ;;
6089esac
6090    DLLTOOL=$ac_ct_DLLTOOL
6091  fi
6092else
6093  DLLTOOL="$ac_cv_prog_DLLTOOL"
6094fi
6095
6096test -z "$DLLTOOL" && DLLTOOL=dlltool
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6108$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6109if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6110  $as_echo_n "(cached) " >&6
6111else
6112  lt_cv_sharedlib_from_linklib_cmd='unknown'
6113
6114case $host_os in
6115cygwin* | mingw* | pw32* | cegcc*)
6116  # two different shell functions defined in ltmain.sh;
6117  # decide which one to use based on capabilities of $DLLTOOL
6118  case `$DLLTOOL --help 2>&1` in
6119  *--identify-strict*)
6120    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6121    ;;
6122  *)
6123    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6124    ;;
6125  esac
6126  ;;
6127*)
6128  # fallback: assume linklib IS sharedlib
6129  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6130  ;;
6131esac
6132
6133fi
6134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6135$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6136sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6137test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6138
6139
6140
6141
6142
6143
6144
6145if test -n "$ac_tool_prefix"; then
6146  for ac_prog in ar
6147  do
6148    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6149set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6151$as_echo_n "checking for $ac_word... " >&6; }
6152if ${ac_cv_prog_AR+:} false; then :
6153  $as_echo_n "(cached) " >&6
6154else
6155  if test -n "$AR"; then
6156  ac_cv_prog_AR="$AR" # Let the user override the test.
6157else
6158as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6159for as_dir in $PATH
6160do
6161  IFS=$as_save_IFS
6162  test -z "$as_dir" && as_dir=.
6163    for ac_exec_ext in '' $ac_executable_extensions; do
6164  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6165    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6166    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6167    break 2
6168  fi
6169done
6170  done
6171IFS=$as_save_IFS
6172
6173fi
6174fi
6175AR=$ac_cv_prog_AR
6176if test -n "$AR"; then
6177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6178$as_echo "$AR" >&6; }
6179else
6180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6181$as_echo "no" >&6; }
6182fi
6183
6184
6185    test -n "$AR" && break
6186  done
6187fi
6188if test -z "$AR"; then
6189  ac_ct_AR=$AR
6190  for ac_prog in ar
6191do
6192  # Extract the first word of "$ac_prog", so it can be a program name with args.
6193set dummy $ac_prog; ac_word=$2
6194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6195$as_echo_n "checking for $ac_word... " >&6; }
6196if ${ac_cv_prog_ac_ct_AR+:} false; then :
6197  $as_echo_n "(cached) " >&6
6198else
6199  if test -n "$ac_ct_AR"; then
6200  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6201else
6202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6203for as_dir in $PATH
6204do
6205  IFS=$as_save_IFS
6206  test -z "$as_dir" && as_dir=.
6207    for ac_exec_ext in '' $ac_executable_extensions; do
6208  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6209    ac_cv_prog_ac_ct_AR="$ac_prog"
6210    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6211    break 2
6212  fi
6213done
6214  done
6215IFS=$as_save_IFS
6216
6217fi
6218fi
6219ac_ct_AR=$ac_cv_prog_ac_ct_AR
6220if test -n "$ac_ct_AR"; then
6221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6222$as_echo "$ac_ct_AR" >&6; }
6223else
6224  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6225$as_echo "no" >&6; }
6226fi
6227
6228
6229  test -n "$ac_ct_AR" && break
6230done
6231
6232  if test "x$ac_ct_AR" = x; then
6233    AR="false"
6234  else
6235    case $cross_compiling:$ac_tool_warned in
6236yes:)
6237{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6238$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6239ac_tool_warned=yes ;;
6240esac
6241    AR=$ac_ct_AR
6242  fi
6243fi
6244
6245: ${AR=ar}
6246: ${AR_FLAGS=cr}
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6259$as_echo_n "checking for archiver @FILE support... " >&6; }
6260if ${lt_cv_ar_at_file+:} false; then :
6261  $as_echo_n "(cached) " >&6
6262else
6263  lt_cv_ar_at_file=no
6264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6265/* end confdefs.h.  */
6266
6267int
6268main ()
6269{
6270
6271  ;
6272  return 0;
6273}
6274_ACEOF
6275if ac_fn_c_try_compile "$LINENO"; then :
6276  echo conftest.$ac_objext > conftest.lst
6277      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6278      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6279  (eval $lt_ar_try) 2>&5
6280  ac_status=$?
6281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6282  test $ac_status = 0; }
6283      if test 0 -eq "$ac_status"; then
6284	# Ensure the archiver fails upon bogus file names.
6285	rm -f conftest.$ac_objext libconftest.a
6286	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6287  (eval $lt_ar_try) 2>&5
6288  ac_status=$?
6289  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6290  test $ac_status = 0; }
6291	if test 0 -ne "$ac_status"; then
6292          lt_cv_ar_at_file=@
6293        fi
6294      fi
6295      rm -f conftest.* libconftest.a
6296
6297fi
6298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6299
6300fi
6301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6302$as_echo "$lt_cv_ar_at_file" >&6; }
6303
6304if test no = "$lt_cv_ar_at_file"; then
6305  archiver_list_spec=
6306else
6307  archiver_list_spec=$lt_cv_ar_at_file
6308fi
6309
6310
6311
6312
6313
6314
6315
6316if test -n "$ac_tool_prefix"; then
6317  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6318set dummy ${ac_tool_prefix}strip; ac_word=$2
6319{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6320$as_echo_n "checking for $ac_word... " >&6; }
6321if ${ac_cv_prog_STRIP+:} false; then :
6322  $as_echo_n "(cached) " >&6
6323else
6324  if test -n "$STRIP"; then
6325  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6326else
6327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6328for as_dir in $PATH
6329do
6330  IFS=$as_save_IFS
6331  test -z "$as_dir" && as_dir=.
6332    for ac_exec_ext in '' $ac_executable_extensions; do
6333  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6334    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6335    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6336    break 2
6337  fi
6338done
6339  done
6340IFS=$as_save_IFS
6341
6342fi
6343fi
6344STRIP=$ac_cv_prog_STRIP
6345if test -n "$STRIP"; then
6346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6347$as_echo "$STRIP" >&6; }
6348else
6349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6350$as_echo "no" >&6; }
6351fi
6352
6353
6354fi
6355if test -z "$ac_cv_prog_STRIP"; then
6356  ac_ct_STRIP=$STRIP
6357  # Extract the first word of "strip", so it can be a program name with args.
6358set dummy strip; ac_word=$2
6359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360$as_echo_n "checking for $ac_word... " >&6; }
6361if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6362  $as_echo_n "(cached) " >&6
6363else
6364  if test -n "$ac_ct_STRIP"; then
6365  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6366else
6367as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6368for as_dir in $PATH
6369do
6370  IFS=$as_save_IFS
6371  test -z "$as_dir" && as_dir=.
6372    for ac_exec_ext in '' $ac_executable_extensions; do
6373  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6374    ac_cv_prog_ac_ct_STRIP="strip"
6375    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6376    break 2
6377  fi
6378done
6379  done
6380IFS=$as_save_IFS
6381
6382fi
6383fi
6384ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6385if test -n "$ac_ct_STRIP"; then
6386  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6387$as_echo "$ac_ct_STRIP" >&6; }
6388else
6389  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390$as_echo "no" >&6; }
6391fi
6392
6393  if test "x$ac_ct_STRIP" = x; then
6394    STRIP=":"
6395  else
6396    case $cross_compiling:$ac_tool_warned in
6397yes:)
6398{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6399$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6400ac_tool_warned=yes ;;
6401esac
6402    STRIP=$ac_ct_STRIP
6403  fi
6404else
6405  STRIP="$ac_cv_prog_STRIP"
6406fi
6407
6408test -z "$STRIP" && STRIP=:
6409
6410
6411
6412
6413
6414
6415if test -n "$ac_tool_prefix"; then
6416  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6417set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6419$as_echo_n "checking for $ac_word... " >&6; }
6420if ${ac_cv_prog_RANLIB+:} false; then :
6421  $as_echo_n "(cached) " >&6
6422else
6423  if test -n "$RANLIB"; then
6424  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6425else
6426as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427for as_dir in $PATH
6428do
6429  IFS=$as_save_IFS
6430  test -z "$as_dir" && as_dir=.
6431    for ac_exec_ext in '' $ac_executable_extensions; do
6432  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6433    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6434    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6435    break 2
6436  fi
6437done
6438  done
6439IFS=$as_save_IFS
6440
6441fi
6442fi
6443RANLIB=$ac_cv_prog_RANLIB
6444if test -n "$RANLIB"; then
6445  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6446$as_echo "$RANLIB" >&6; }
6447else
6448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6449$as_echo "no" >&6; }
6450fi
6451
6452
6453fi
6454if test -z "$ac_cv_prog_RANLIB"; then
6455  ac_ct_RANLIB=$RANLIB
6456  # Extract the first word of "ranlib", so it can be a program name with args.
6457set dummy ranlib; ac_word=$2
6458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6459$as_echo_n "checking for $ac_word... " >&6; }
6460if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6461  $as_echo_n "(cached) " >&6
6462else
6463  if test -n "$ac_ct_RANLIB"; then
6464  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6465else
6466as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6467for as_dir in $PATH
6468do
6469  IFS=$as_save_IFS
6470  test -z "$as_dir" && as_dir=.
6471    for ac_exec_ext in '' $ac_executable_extensions; do
6472  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6473    ac_cv_prog_ac_ct_RANLIB="ranlib"
6474    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6475    break 2
6476  fi
6477done
6478  done
6479IFS=$as_save_IFS
6480
6481fi
6482fi
6483ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6484if test -n "$ac_ct_RANLIB"; then
6485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6486$as_echo "$ac_ct_RANLIB" >&6; }
6487else
6488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6489$as_echo "no" >&6; }
6490fi
6491
6492  if test "x$ac_ct_RANLIB" = x; then
6493    RANLIB=":"
6494  else
6495    case $cross_compiling:$ac_tool_warned in
6496yes:)
6497{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6498$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6499ac_tool_warned=yes ;;
6500esac
6501    RANLIB=$ac_ct_RANLIB
6502  fi
6503else
6504  RANLIB="$ac_cv_prog_RANLIB"
6505fi
6506
6507test -z "$RANLIB" && RANLIB=:
6508
6509
6510
6511
6512
6513
6514# Determine commands to create old-style static archives.
6515old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6516old_postinstall_cmds='chmod 644 $oldlib'
6517old_postuninstall_cmds=
6518
6519if test -n "$RANLIB"; then
6520  case $host_os in
6521  bitrig* | openbsd*)
6522    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6523    ;;
6524  *)
6525    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6526    ;;
6527  esac
6528  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6529fi
6530
6531case $host_os in
6532  darwin*)
6533    lock_old_archive_extraction=yes ;;
6534  *)
6535    lock_old_archive_extraction=no ;;
6536esac
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576# If no C compiler was specified, use CC.
6577LTCC=${LTCC-"$CC"}
6578
6579# If no C compiler flags were specified, use CFLAGS.
6580LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6581
6582# Allow CC to be a program name with arguments.
6583compiler=$CC
6584
6585
6586# Check for command to grab the raw symbol name followed by C symbol from nm.
6587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6588$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6589if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6590  $as_echo_n "(cached) " >&6
6591else
6592
6593# These are sane defaults that work on at least a few old systems.
6594# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6595
6596# Character class describing NM global symbol codes.
6597symcode='[BCDEGRST]'
6598
6599# Regexp to match symbols that can be accessed directly from C.
6600sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6601
6602# Define system-specific variables.
6603case $host_os in
6604aix*)
6605  symcode='[BCDT]'
6606  ;;
6607cygwin* | mingw* | pw32* | cegcc*)
6608  symcode='[ABCDGISTW]'
6609  ;;
6610hpux*)
6611  if test ia64 = "$host_cpu"; then
6612    symcode='[ABCDEGRST]'
6613  fi
6614  ;;
6615irix* | nonstopux*)
6616  symcode='[BCDEGRST]'
6617  ;;
6618osf*)
6619  symcode='[BCDEGQRST]'
6620  ;;
6621solaris*)
6622  symcode='[BDRT]'
6623  ;;
6624sco3.2v5*)
6625  symcode='[DT]'
6626  ;;
6627sysv4.2uw2*)
6628  symcode='[DT]'
6629  ;;
6630sysv5* | sco5v6* | unixware* | OpenUNIX*)
6631  symcode='[ABDT]'
6632  ;;
6633sysv4)
6634  symcode='[DFNSTU]'
6635  ;;
6636esac
6637
6638# If we're using GNU nm, then use its standard symbol codes.
6639case `$NM -V 2>&1` in
6640*GNU* | *'with BFD'*)
6641  symcode='[ABCDGIRSTW]' ;;
6642esac
6643
6644if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6645  # Gets list of data symbols to import.
6646  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6647  # Adjust the below global symbol transforms to fixup imported variables.
6648  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6649  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6650  lt_c_name_lib_hook="\
6651  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6652  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6653else
6654  # Disable hooks by default.
6655  lt_cv_sys_global_symbol_to_import=
6656  lt_cdecl_hook=
6657  lt_c_name_hook=
6658  lt_c_name_lib_hook=
6659fi
6660
6661# Transform an extracted symbol line into a proper C declaration.
6662# Some systems (esp. on ia64) link data and code symbols differently,
6663# so use this general approach.
6664lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6665$lt_cdecl_hook\
6666" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6667" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6668
6669# Transform an extracted symbol line into symbol name and symbol address
6670lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6671$lt_c_name_hook\
6672" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6673" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6674
6675# Transform an extracted symbol line into symbol name with lib prefix and
6676# symbol address.
6677lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6678$lt_c_name_lib_hook\
6679" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6680" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6681" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6682
6683# Handle CRLF in mingw tool chain
6684opt_cr=
6685case $build_os in
6686mingw*)
6687  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6688  ;;
6689esac
6690
6691# Try without a prefix underscore, then with it.
6692for ac_symprfx in "" "_"; do
6693
6694  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6695  symxfrm="\\1 $ac_symprfx\\2 \\2"
6696
6697  # Write the raw and C identifiers.
6698  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6699    # Fake it for dumpbin and say T for any non-static function,
6700    # D for any global variable and I for any imported variable.
6701    # Also find C++ and __fastcall symbols from MSVC++,
6702    # which start with @ or ?.
6703    lt_cv_sys_global_symbol_pipe="$AWK '"\
6704"     {last_section=section; section=\$ 3};"\
6705"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6706"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6707"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6708"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6709"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6710"     \$ 0!~/External *\|/{next};"\
6711"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6712"     {if(hide[section]) next};"\
6713"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6714"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6715"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6716"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6717"     ' prfx=^$ac_symprfx"
6718  else
6719    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6720  fi
6721  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6722
6723  # Check to see that the pipe works correctly.
6724  pipe_works=no
6725
6726  rm -f conftest*
6727  cat > conftest.$ac_ext <<_LT_EOF
6728#ifdef __cplusplus
6729extern "C" {
6730#endif
6731char nm_test_var;
6732void nm_test_func(void);
6733void nm_test_func(void){}
6734#ifdef __cplusplus
6735}
6736#endif
6737int main(){nm_test_var='a';nm_test_func();return(0);}
6738_LT_EOF
6739
6740  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6741  (eval $ac_compile) 2>&5
6742  ac_status=$?
6743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6744  test $ac_status = 0; }; then
6745    # Now try to grab the symbols.
6746    nlist=conftest.nm
6747    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6748    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6749      # Try sorting and uniquifying the output.
6750      if sort "$nlist" | uniq > "$nlist"T; then
6751	mv -f "$nlist"T "$nlist"
6752      else
6753	rm -f "$nlist"T
6754      fi
6755
6756      # Make sure that we snagged all the symbols we need.
6757      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6758	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6759	  cat <<_LT_EOF > conftest.$ac_ext
6760/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6761#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6762/* DATA imports from DLLs on WIN32 can't be const, because runtime
6763   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6764# define LT_DLSYM_CONST
6765#elif defined __osf__
6766/* This system does not cope well with relocations in const data.  */
6767# define LT_DLSYM_CONST
6768#else
6769# define LT_DLSYM_CONST const
6770#endif
6771
6772#ifdef __cplusplus
6773extern "C" {
6774#endif
6775
6776_LT_EOF
6777	  # Now generate the symbol file.
6778	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6779
6780	  cat <<_LT_EOF >> conftest.$ac_ext
6781
6782/* The mapping between symbol names and symbols.  */
6783LT_DLSYM_CONST struct {
6784  const char *name;
6785  void       *address;
6786}
6787lt__PROGRAM__LTX_preloaded_symbols[] =
6788{
6789  { "@PROGRAM@", (void *) 0 },
6790_LT_EOF
6791	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6792	  cat <<\_LT_EOF >> conftest.$ac_ext
6793  {0, (void *) 0}
6794};
6795
6796/* This works around a problem in FreeBSD linker */
6797#ifdef FREEBSD_WORKAROUND
6798static const void *lt_preloaded_setup() {
6799  return lt__PROGRAM__LTX_preloaded_symbols;
6800}
6801#endif
6802
6803#ifdef __cplusplus
6804}
6805#endif
6806_LT_EOF
6807	  # Now try linking the two files.
6808	  mv conftest.$ac_objext conftstm.$ac_objext
6809	  lt_globsym_save_LIBS=$LIBS
6810	  lt_globsym_save_CFLAGS=$CFLAGS
6811	  LIBS=conftstm.$ac_objext
6812	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6813	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6814  (eval $ac_link) 2>&5
6815  ac_status=$?
6816  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6817  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6818	    pipe_works=yes
6819	  fi
6820	  LIBS=$lt_globsym_save_LIBS
6821	  CFLAGS=$lt_globsym_save_CFLAGS
6822	else
6823	  echo "cannot find nm_test_func in $nlist" >&5
6824	fi
6825      else
6826	echo "cannot find nm_test_var in $nlist" >&5
6827      fi
6828    else
6829      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6830    fi
6831  else
6832    echo "$progname: failed program was:" >&5
6833    cat conftest.$ac_ext >&5
6834  fi
6835  rm -rf conftest* conftst*
6836
6837  # Do not use the global_symbol_pipe unless it works.
6838  if test yes = "$pipe_works"; then
6839    break
6840  else
6841    lt_cv_sys_global_symbol_pipe=
6842  fi
6843done
6844
6845fi
6846
6847if test -z "$lt_cv_sys_global_symbol_pipe"; then
6848  lt_cv_sys_global_symbol_to_cdecl=
6849fi
6850if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6852$as_echo "failed" >&6; }
6853else
6854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6855$as_echo "ok" >&6; }
6856fi
6857
6858# Response file support.
6859if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6860  nm_file_list_spec='@'
6861elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6862  nm_file_list_spec='@'
6863fi
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6902$as_echo_n "checking for sysroot... " >&6; }
6903
6904# Check whether --with-sysroot was given.
6905if test "${with_sysroot+set}" = set; then :
6906  withval=$with_sysroot;
6907else
6908  with_sysroot=no
6909fi
6910
6911
6912lt_sysroot=
6913case $with_sysroot in #(
6914 yes)
6915   if test yes = "$GCC"; then
6916     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6917   fi
6918   ;; #(
6919 /*)
6920   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6921   ;; #(
6922 no|'')
6923   ;; #(
6924 *)
6925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6926$as_echo "$with_sysroot" >&6; }
6927   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6928   ;;
6929esac
6930
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6932$as_echo "${lt_sysroot:-no}" >&6; }
6933
6934
6935
6936
6937
6938{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6939$as_echo_n "checking for a working dd... " >&6; }
6940if ${ac_cv_path_lt_DD+:} false; then :
6941  $as_echo_n "(cached) " >&6
6942else
6943  printf 0123456789abcdef0123456789abcdef >conftest.i
6944cat conftest.i conftest.i >conftest2.i
6945: ${lt_DD:=$DD}
6946if test -z "$lt_DD"; then
6947  ac_path_lt_DD_found=false
6948  # Loop through the user's path and test for each of PROGNAME-LIST
6949  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6950for as_dir in $PATH
6951do
6952  IFS=$as_save_IFS
6953  test -z "$as_dir" && as_dir=.
6954    for ac_prog in dd; do
6955    for ac_exec_ext in '' $ac_executable_extensions; do
6956      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6957      as_fn_executable_p "$ac_path_lt_DD" || continue
6958if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6959  cmp -s conftest.i conftest.out \
6960  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6961fi
6962      $ac_path_lt_DD_found && break 3
6963    done
6964  done
6965  done
6966IFS=$as_save_IFS
6967  if test -z "$ac_cv_path_lt_DD"; then
6968    :
6969  fi
6970else
6971  ac_cv_path_lt_DD=$lt_DD
6972fi
6973
6974rm -f conftest.i conftest2.i conftest.out
6975fi
6976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6977$as_echo "$ac_cv_path_lt_DD" >&6; }
6978
6979
6980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6981$as_echo_n "checking how to truncate binary pipes... " >&6; }
6982if ${lt_cv_truncate_bin+:} false; then :
6983  $as_echo_n "(cached) " >&6
6984else
6985  printf 0123456789abcdef0123456789abcdef >conftest.i
6986cat conftest.i conftest.i >conftest2.i
6987lt_cv_truncate_bin=
6988if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6989  cmp -s conftest.i conftest.out \
6990  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6991fi
6992rm -f conftest.i conftest2.i conftest.out
6993test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6994fi
6995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6996$as_echo "$lt_cv_truncate_bin" >&6; }
6997
6998
6999
7000
7001
7002
7003
7004# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7005func_cc_basename ()
7006{
7007    for cc_temp in $*""; do
7008      case $cc_temp in
7009        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7010        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7011        \-*) ;;
7012        *) break;;
7013      esac
7014    done
7015    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7016}
7017
7018# Check whether --enable-libtool-lock was given.
7019if test "${enable_libtool_lock+set}" = set; then :
7020  enableval=$enable_libtool_lock;
7021fi
7022
7023test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7024
7025# Some flags need to be propagated to the compiler or linker for good
7026# libtool support.
7027case $host in
7028ia64-*-hpux*)
7029  # Find out what ABI is being produced by ac_compile, and set mode
7030  # options accordingly.
7031  echo 'int i;' > conftest.$ac_ext
7032  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7033  (eval $ac_compile) 2>&5
7034  ac_status=$?
7035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7036  test $ac_status = 0; }; then
7037    case `/usr/bin/file conftest.$ac_objext` in
7038      *ELF-32*)
7039	HPUX_IA64_MODE=32
7040	;;
7041      *ELF-64*)
7042	HPUX_IA64_MODE=64
7043	;;
7044    esac
7045  fi
7046  rm -rf conftest*
7047  ;;
7048*-*-irix6*)
7049  # Find out what ABI is being produced by ac_compile, and set linker
7050  # options accordingly.
7051  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7052  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7053  (eval $ac_compile) 2>&5
7054  ac_status=$?
7055  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7056  test $ac_status = 0; }; then
7057    if test yes = "$lt_cv_prog_gnu_ld"; then
7058      case `/usr/bin/file conftest.$ac_objext` in
7059	*32-bit*)
7060	  LD="${LD-ld} -melf32bsmip"
7061	  ;;
7062	*N32*)
7063	  LD="${LD-ld} -melf32bmipn32"
7064	  ;;
7065	*64-bit*)
7066	  LD="${LD-ld} -melf64bmip"
7067	;;
7068      esac
7069    else
7070      case `/usr/bin/file conftest.$ac_objext` in
7071	*32-bit*)
7072	  LD="${LD-ld} -32"
7073	  ;;
7074	*N32*)
7075	  LD="${LD-ld} -n32"
7076	  ;;
7077	*64-bit*)
7078	  LD="${LD-ld} -64"
7079	  ;;
7080      esac
7081    fi
7082  fi
7083  rm -rf conftest*
7084  ;;
7085
7086mips64*-*linux*)
7087  # Find out what ABI is being produced by ac_compile, and set linker
7088  # options accordingly.
7089  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7090  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7091  (eval $ac_compile) 2>&5
7092  ac_status=$?
7093  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7094  test $ac_status = 0; }; then
7095    emul=elf
7096    case `/usr/bin/file conftest.$ac_objext` in
7097      *32-bit*)
7098	emul="${emul}32"
7099	;;
7100      *64-bit*)
7101	emul="${emul}64"
7102	;;
7103    esac
7104    case `/usr/bin/file conftest.$ac_objext` in
7105      *MSB*)
7106	emul="${emul}btsmip"
7107	;;
7108      *LSB*)
7109	emul="${emul}ltsmip"
7110	;;
7111    esac
7112    case `/usr/bin/file conftest.$ac_objext` in
7113      *N32*)
7114	emul="${emul}n32"
7115	;;
7116    esac
7117    LD="${LD-ld} -m $emul"
7118  fi
7119  rm -rf conftest*
7120  ;;
7121
7122x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7123s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7124  # Find out what ABI is being produced by ac_compile, and set linker
7125  # options accordingly.  Note that the listed cases only cover the
7126  # situations where additional linker options are needed (such as when
7127  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7128  # vice versa); the common cases where no linker options are needed do
7129  # not appear in the list.
7130  echo 'int i;' > conftest.$ac_ext
7131  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7132  (eval $ac_compile) 2>&5
7133  ac_status=$?
7134  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7135  test $ac_status = 0; }; then
7136    case `/usr/bin/file conftest.o` in
7137      *32-bit*)
7138	case $host in
7139	  x86_64-*kfreebsd*-gnu)
7140	    LD="${LD-ld} -m elf_i386_fbsd"
7141	    ;;
7142	  x86_64-*linux*)
7143	    case `/usr/bin/file conftest.o` in
7144	      *x86-64*)
7145		LD="${LD-ld} -m elf32_x86_64"
7146		;;
7147	      *)
7148		LD="${LD-ld} -m elf_i386"
7149		;;
7150	    esac
7151	    ;;
7152	  powerpc64le-*linux*)
7153	    LD="${LD-ld} -m elf32lppclinux"
7154	    ;;
7155	  powerpc64-*linux*)
7156	    LD="${LD-ld} -m elf32ppclinux"
7157	    ;;
7158	  s390x-*linux*)
7159	    LD="${LD-ld} -m elf_s390"
7160	    ;;
7161	  sparc64-*linux*)
7162	    LD="${LD-ld} -m elf32_sparc"
7163	    ;;
7164	esac
7165	;;
7166      *64-bit*)
7167	case $host in
7168	  x86_64-*kfreebsd*-gnu)
7169	    LD="${LD-ld} -m elf_x86_64_fbsd"
7170	    ;;
7171	  x86_64-*linux*)
7172	    LD="${LD-ld} -m elf_x86_64"
7173	    ;;
7174	  powerpcle-*linux*)
7175	    LD="${LD-ld} -m elf64lppc"
7176	    ;;
7177	  powerpc-*linux*)
7178	    LD="${LD-ld} -m elf64ppc"
7179	    ;;
7180	  s390*-*linux*|s390*-*tpf*)
7181	    LD="${LD-ld} -m elf64_s390"
7182	    ;;
7183	  sparc*-*linux*)
7184	    LD="${LD-ld} -m elf64_sparc"
7185	    ;;
7186	esac
7187	;;
7188    esac
7189  fi
7190  rm -rf conftest*
7191  ;;
7192
7193*-*-sco3.2v5*)
7194  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7195  SAVE_CFLAGS=$CFLAGS
7196  CFLAGS="$CFLAGS -belf"
7197  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7198$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7199if ${lt_cv_cc_needs_belf+:} false; then :
7200  $as_echo_n "(cached) " >&6
7201else
7202  ac_ext=c
7203ac_cpp='$CPP $CPPFLAGS'
7204ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207
7208     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7209/* end confdefs.h.  */
7210
7211int
7212main ()
7213{
7214
7215  ;
7216  return 0;
7217}
7218_ACEOF
7219if ac_fn_c_try_link "$LINENO"; then :
7220  lt_cv_cc_needs_belf=yes
7221else
7222  lt_cv_cc_needs_belf=no
7223fi
7224rm -f core conftest.err conftest.$ac_objext \
7225    conftest$ac_exeext conftest.$ac_ext
7226     ac_ext=c
7227ac_cpp='$CPP $CPPFLAGS'
7228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7230ac_compiler_gnu=$ac_cv_c_compiler_gnu
7231
7232fi
7233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7234$as_echo "$lt_cv_cc_needs_belf" >&6; }
7235  if test yes != "$lt_cv_cc_needs_belf"; then
7236    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7237    CFLAGS=$SAVE_CFLAGS
7238  fi
7239  ;;
7240*-*solaris*)
7241  # Find out what ABI is being produced by ac_compile, and set linker
7242  # options accordingly.
7243  echo 'int i;' > conftest.$ac_ext
7244  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7245  (eval $ac_compile) 2>&5
7246  ac_status=$?
7247  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7248  test $ac_status = 0; }; then
7249    case `/usr/bin/file conftest.o` in
7250    *64-bit*)
7251      case $lt_cv_prog_gnu_ld in
7252      yes*)
7253        case $host in
7254        i?86-*-solaris*|x86_64-*-solaris*)
7255          LD="${LD-ld} -m elf_x86_64"
7256          ;;
7257        sparc*-*-solaris*)
7258          LD="${LD-ld} -m elf64_sparc"
7259          ;;
7260        esac
7261        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7262        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7263          LD=${LD-ld}_sol2
7264        fi
7265        ;;
7266      *)
7267	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7268	  LD="${LD-ld} -64"
7269	fi
7270	;;
7271      esac
7272      ;;
7273    esac
7274  fi
7275  rm -rf conftest*
7276  ;;
7277esac
7278
7279need_locks=$enable_libtool_lock
7280
7281if test -n "$ac_tool_prefix"; then
7282  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7283set dummy ${ac_tool_prefix}mt; ac_word=$2
7284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285$as_echo_n "checking for $ac_word... " >&6; }
7286if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7287  $as_echo_n "(cached) " >&6
7288else
7289  if test -n "$MANIFEST_TOOL"; then
7290  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7291else
7292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293for as_dir in $PATH
7294do
7295  IFS=$as_save_IFS
7296  test -z "$as_dir" && as_dir=.
7297    for ac_exec_ext in '' $ac_executable_extensions; do
7298  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7300    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301    break 2
7302  fi
7303done
7304  done
7305IFS=$as_save_IFS
7306
7307fi
7308fi
7309MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7310if test -n "$MANIFEST_TOOL"; then
7311  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7312$as_echo "$MANIFEST_TOOL" >&6; }
7313else
7314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315$as_echo "no" >&6; }
7316fi
7317
7318
7319fi
7320if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7321  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7322  # Extract the first word of "mt", so it can be a program name with args.
7323set dummy mt; ac_word=$2
7324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325$as_echo_n "checking for $ac_word... " >&6; }
7326if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7327  $as_echo_n "(cached) " >&6
7328else
7329  if test -n "$ac_ct_MANIFEST_TOOL"; then
7330  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7331else
7332as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333for as_dir in $PATH
7334do
7335  IFS=$as_save_IFS
7336  test -z "$as_dir" && as_dir=.
7337    for ac_exec_ext in '' $ac_executable_extensions; do
7338  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7340    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341    break 2
7342  fi
7343done
7344  done
7345IFS=$as_save_IFS
7346
7347fi
7348fi
7349ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7350if test -n "$ac_ct_MANIFEST_TOOL"; then
7351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7352$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7353else
7354  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355$as_echo "no" >&6; }
7356fi
7357
7358  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7359    MANIFEST_TOOL=":"
7360  else
7361    case $cross_compiling:$ac_tool_warned in
7362yes:)
7363{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365ac_tool_warned=yes ;;
7366esac
7367    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7368  fi
7369else
7370  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7371fi
7372
7373test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7375$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7376if ${lt_cv_path_mainfest_tool+:} false; then :
7377  $as_echo_n "(cached) " >&6
7378else
7379  lt_cv_path_mainfest_tool=no
7380  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7381  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7382  cat conftest.err >&5
7383  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7384    lt_cv_path_mainfest_tool=yes
7385  fi
7386  rm -f conftest*
7387fi
7388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7389$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7390if test yes != "$lt_cv_path_mainfest_tool"; then
7391  MANIFEST_TOOL=:
7392fi
7393
7394
7395
7396
7397
7398
7399  case $host_os in
7400    rhapsody* | darwin*)
7401    if test -n "$ac_tool_prefix"; then
7402  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7403set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7405$as_echo_n "checking for $ac_word... " >&6; }
7406if ${ac_cv_prog_DSYMUTIL+:} false; then :
7407  $as_echo_n "(cached) " >&6
7408else
7409  if test -n "$DSYMUTIL"; then
7410  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7411else
7412as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7413for as_dir in $PATH
7414do
7415  IFS=$as_save_IFS
7416  test -z "$as_dir" && as_dir=.
7417    for ac_exec_ext in '' $ac_executable_extensions; do
7418  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7419    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7420    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7421    break 2
7422  fi
7423done
7424  done
7425IFS=$as_save_IFS
7426
7427fi
7428fi
7429DSYMUTIL=$ac_cv_prog_DSYMUTIL
7430if test -n "$DSYMUTIL"; then
7431  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7432$as_echo "$DSYMUTIL" >&6; }
7433else
7434  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7435$as_echo "no" >&6; }
7436fi
7437
7438
7439fi
7440if test -z "$ac_cv_prog_DSYMUTIL"; then
7441  ac_ct_DSYMUTIL=$DSYMUTIL
7442  # Extract the first word of "dsymutil", so it can be a program name with args.
7443set dummy dsymutil; ac_word=$2
7444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7445$as_echo_n "checking for $ac_word... " >&6; }
7446if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7447  $as_echo_n "(cached) " >&6
7448else
7449  if test -n "$ac_ct_DSYMUTIL"; then
7450  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7451else
7452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7453for as_dir in $PATH
7454do
7455  IFS=$as_save_IFS
7456  test -z "$as_dir" && as_dir=.
7457    for ac_exec_ext in '' $ac_executable_extensions; do
7458  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7459    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7460    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7461    break 2
7462  fi
7463done
7464  done
7465IFS=$as_save_IFS
7466
7467fi
7468fi
7469ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7470if test -n "$ac_ct_DSYMUTIL"; then
7471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7472$as_echo "$ac_ct_DSYMUTIL" >&6; }
7473else
7474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7475$as_echo "no" >&6; }
7476fi
7477
7478  if test "x$ac_ct_DSYMUTIL" = x; then
7479    DSYMUTIL=":"
7480  else
7481    case $cross_compiling:$ac_tool_warned in
7482yes:)
7483{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7484$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7485ac_tool_warned=yes ;;
7486esac
7487    DSYMUTIL=$ac_ct_DSYMUTIL
7488  fi
7489else
7490  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7491fi
7492
7493    if test -n "$ac_tool_prefix"; then
7494  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7495set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7497$as_echo_n "checking for $ac_word... " >&6; }
7498if ${ac_cv_prog_NMEDIT+:} false; then :
7499  $as_echo_n "(cached) " >&6
7500else
7501  if test -n "$NMEDIT"; then
7502  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7503else
7504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7505for as_dir in $PATH
7506do
7507  IFS=$as_save_IFS
7508  test -z "$as_dir" && as_dir=.
7509    for ac_exec_ext in '' $ac_executable_extensions; do
7510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7511    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7513    break 2
7514  fi
7515done
7516  done
7517IFS=$as_save_IFS
7518
7519fi
7520fi
7521NMEDIT=$ac_cv_prog_NMEDIT
7522if test -n "$NMEDIT"; then
7523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7524$as_echo "$NMEDIT" >&6; }
7525else
7526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7527$as_echo "no" >&6; }
7528fi
7529
7530
7531fi
7532if test -z "$ac_cv_prog_NMEDIT"; then
7533  ac_ct_NMEDIT=$NMEDIT
7534  # Extract the first word of "nmedit", so it can be a program name with args.
7535set dummy nmedit; ac_word=$2
7536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7537$as_echo_n "checking for $ac_word... " >&6; }
7538if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7539  $as_echo_n "(cached) " >&6
7540else
7541  if test -n "$ac_ct_NMEDIT"; then
7542  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7543else
7544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7545for as_dir in $PATH
7546do
7547  IFS=$as_save_IFS
7548  test -z "$as_dir" && as_dir=.
7549    for ac_exec_ext in '' $ac_executable_extensions; do
7550  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7551    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7553    break 2
7554  fi
7555done
7556  done
7557IFS=$as_save_IFS
7558
7559fi
7560fi
7561ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7562if test -n "$ac_ct_NMEDIT"; then
7563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7564$as_echo "$ac_ct_NMEDIT" >&6; }
7565else
7566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567$as_echo "no" >&6; }
7568fi
7569
7570  if test "x$ac_ct_NMEDIT" = x; then
7571    NMEDIT=":"
7572  else
7573    case $cross_compiling:$ac_tool_warned in
7574yes:)
7575{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7576$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7577ac_tool_warned=yes ;;
7578esac
7579    NMEDIT=$ac_ct_NMEDIT
7580  fi
7581else
7582  NMEDIT="$ac_cv_prog_NMEDIT"
7583fi
7584
7585    if test -n "$ac_tool_prefix"; then
7586  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7587set dummy ${ac_tool_prefix}lipo; ac_word=$2
7588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7589$as_echo_n "checking for $ac_word... " >&6; }
7590if ${ac_cv_prog_LIPO+:} false; then :
7591  $as_echo_n "(cached) " >&6
7592else
7593  if test -n "$LIPO"; then
7594  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7595else
7596as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7597for as_dir in $PATH
7598do
7599  IFS=$as_save_IFS
7600  test -z "$as_dir" && as_dir=.
7601    for ac_exec_ext in '' $ac_executable_extensions; do
7602  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7603    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7604    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7605    break 2
7606  fi
7607done
7608  done
7609IFS=$as_save_IFS
7610
7611fi
7612fi
7613LIPO=$ac_cv_prog_LIPO
7614if test -n "$LIPO"; then
7615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7616$as_echo "$LIPO" >&6; }
7617else
7618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7619$as_echo "no" >&6; }
7620fi
7621
7622
7623fi
7624if test -z "$ac_cv_prog_LIPO"; then
7625  ac_ct_LIPO=$LIPO
7626  # Extract the first word of "lipo", so it can be a program name with args.
7627set dummy lipo; ac_word=$2
7628{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7629$as_echo_n "checking for $ac_word... " >&6; }
7630if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7631  $as_echo_n "(cached) " >&6
7632else
7633  if test -n "$ac_ct_LIPO"; then
7634  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7635else
7636as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7637for as_dir in $PATH
7638do
7639  IFS=$as_save_IFS
7640  test -z "$as_dir" && as_dir=.
7641    for ac_exec_ext in '' $ac_executable_extensions; do
7642  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7643    ac_cv_prog_ac_ct_LIPO="lipo"
7644    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7645    break 2
7646  fi
7647done
7648  done
7649IFS=$as_save_IFS
7650
7651fi
7652fi
7653ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7654if test -n "$ac_ct_LIPO"; then
7655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7656$as_echo "$ac_ct_LIPO" >&6; }
7657else
7658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7659$as_echo "no" >&6; }
7660fi
7661
7662  if test "x$ac_ct_LIPO" = x; then
7663    LIPO=":"
7664  else
7665    case $cross_compiling:$ac_tool_warned in
7666yes:)
7667{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7668$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7669ac_tool_warned=yes ;;
7670esac
7671    LIPO=$ac_ct_LIPO
7672  fi
7673else
7674  LIPO="$ac_cv_prog_LIPO"
7675fi
7676
7677    if test -n "$ac_tool_prefix"; then
7678  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7679set dummy ${ac_tool_prefix}otool; 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_OTOOL+:} false; then :
7683  $as_echo_n "(cached) " >&6
7684else
7685  if test -n "$OTOOL"; then
7686  ac_cv_prog_OTOOL="$OTOOL" # 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_OTOOL="${ac_tool_prefix}otool"
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
7705OTOOL=$ac_cv_prog_OTOOL
7706if test -n "$OTOOL"; then
7707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7708$as_echo "$OTOOL" >&6; }
7709else
7710  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7711$as_echo "no" >&6; }
7712fi
7713
7714
7715fi
7716if test -z "$ac_cv_prog_OTOOL"; then
7717  ac_ct_OTOOL=$OTOOL
7718  # Extract the first word of "otool", so it can be a program name with args.
7719set dummy otool; ac_word=$2
7720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7721$as_echo_n "checking for $ac_word... " >&6; }
7722if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7723  $as_echo_n "(cached) " >&6
7724else
7725  if test -n "$ac_ct_OTOOL"; then
7726  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7727else
7728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7729for as_dir in $PATH
7730do
7731  IFS=$as_save_IFS
7732  test -z "$as_dir" && as_dir=.
7733    for ac_exec_ext in '' $ac_executable_extensions; do
7734  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7735    ac_cv_prog_ac_ct_OTOOL="otool"
7736    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7737    break 2
7738  fi
7739done
7740  done
7741IFS=$as_save_IFS
7742
7743fi
7744fi
7745ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7746if test -n "$ac_ct_OTOOL"; then
7747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7748$as_echo "$ac_ct_OTOOL" >&6; }
7749else
7750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7751$as_echo "no" >&6; }
7752fi
7753
7754  if test "x$ac_ct_OTOOL" = x; then
7755    OTOOL=":"
7756  else
7757    case $cross_compiling:$ac_tool_warned in
7758yes:)
7759{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7760$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7761ac_tool_warned=yes ;;
7762esac
7763    OTOOL=$ac_ct_OTOOL
7764  fi
7765else
7766  OTOOL="$ac_cv_prog_OTOOL"
7767fi
7768
7769    if test -n "$ac_tool_prefix"; then
7770  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7771set dummy ${ac_tool_prefix}otool64; ac_word=$2
7772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7773$as_echo_n "checking for $ac_word... " >&6; }
7774if ${ac_cv_prog_OTOOL64+:} false; then :
7775  $as_echo_n "(cached) " >&6
7776else
7777  if test -n "$OTOOL64"; then
7778  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7779else
7780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7781for as_dir in $PATH
7782do
7783  IFS=$as_save_IFS
7784  test -z "$as_dir" && as_dir=.
7785    for ac_exec_ext in '' $ac_executable_extensions; do
7786  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7787    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7788    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7789    break 2
7790  fi
7791done
7792  done
7793IFS=$as_save_IFS
7794
7795fi
7796fi
7797OTOOL64=$ac_cv_prog_OTOOL64
7798if test -n "$OTOOL64"; then
7799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7800$as_echo "$OTOOL64" >&6; }
7801else
7802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7803$as_echo "no" >&6; }
7804fi
7805
7806
7807fi
7808if test -z "$ac_cv_prog_OTOOL64"; then
7809  ac_ct_OTOOL64=$OTOOL64
7810  # Extract the first word of "otool64", so it can be a program name with args.
7811set dummy otool64; ac_word=$2
7812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7813$as_echo_n "checking for $ac_word... " >&6; }
7814if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7815  $as_echo_n "(cached) " >&6
7816else
7817  if test -n "$ac_ct_OTOOL64"; then
7818  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7819else
7820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7821for as_dir in $PATH
7822do
7823  IFS=$as_save_IFS
7824  test -z "$as_dir" && as_dir=.
7825    for ac_exec_ext in '' $ac_executable_extensions; do
7826  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7827    ac_cv_prog_ac_ct_OTOOL64="otool64"
7828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7829    break 2
7830  fi
7831done
7832  done
7833IFS=$as_save_IFS
7834
7835fi
7836fi
7837ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7838if test -n "$ac_ct_OTOOL64"; then
7839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7840$as_echo "$ac_ct_OTOOL64" >&6; }
7841else
7842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7843$as_echo "no" >&6; }
7844fi
7845
7846  if test "x$ac_ct_OTOOL64" = x; then
7847    OTOOL64=":"
7848  else
7849    case $cross_compiling:$ac_tool_warned in
7850yes:)
7851{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7852$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7853ac_tool_warned=yes ;;
7854esac
7855    OTOOL64=$ac_ct_OTOOL64
7856  fi
7857else
7858  OTOOL64="$ac_cv_prog_OTOOL64"
7859fi
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7888$as_echo_n "checking for -single_module linker flag... " >&6; }
7889if ${lt_cv_apple_cc_single_mod+:} false; then :
7890  $as_echo_n "(cached) " >&6
7891else
7892  lt_cv_apple_cc_single_mod=no
7893      if test -z "$LT_MULTI_MODULE"; then
7894	# By default we will add the -single_module flag. You can override
7895	# by either setting the environment variable LT_MULTI_MODULE
7896	# non-empty at configure time, or by adding -multi_module to the
7897	# link flags.
7898	rm -rf libconftest.dylib*
7899	echo "int foo(void){return 1;}" > conftest.c
7900	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7901-dynamiclib -Wl,-single_module conftest.c" >&5
7902	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7903	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7904        _lt_result=$?
7905	# If there is a non-empty error log, and "single_module"
7906	# appears in it, assume the flag caused a linker warning
7907        if test -s conftest.err && $GREP single_module conftest.err; then
7908	  cat conftest.err >&5
7909	# Otherwise, if the output was created with a 0 exit code from
7910	# the compiler, it worked.
7911	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7912	  lt_cv_apple_cc_single_mod=yes
7913	else
7914	  cat conftest.err >&5
7915	fi
7916	rm -rf libconftest.dylib*
7917	rm -f conftest.*
7918      fi
7919fi
7920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7921$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7922
7923    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7924$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7925if ${lt_cv_ld_exported_symbols_list+:} false; then :
7926  $as_echo_n "(cached) " >&6
7927else
7928  lt_cv_ld_exported_symbols_list=no
7929      save_LDFLAGS=$LDFLAGS
7930      echo "_main" > conftest.sym
7931      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7932      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7933/* end confdefs.h.  */
7934
7935int
7936main ()
7937{
7938
7939  ;
7940  return 0;
7941}
7942_ACEOF
7943if ac_fn_c_try_link "$LINENO"; then :
7944  lt_cv_ld_exported_symbols_list=yes
7945else
7946  lt_cv_ld_exported_symbols_list=no
7947fi
7948rm -f core conftest.err conftest.$ac_objext \
7949    conftest$ac_exeext conftest.$ac_ext
7950	LDFLAGS=$save_LDFLAGS
7951
7952fi
7953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7954$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7955
7956    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7957$as_echo_n "checking for -force_load linker flag... " >&6; }
7958if ${lt_cv_ld_force_load+:} false; then :
7959  $as_echo_n "(cached) " >&6
7960else
7961  lt_cv_ld_force_load=no
7962      cat > conftest.c << _LT_EOF
7963int forced_loaded() { return 2;}
7964_LT_EOF
7965      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7966      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7967      echo "$AR cr libconftest.a conftest.o" >&5
7968      $AR cr libconftest.a conftest.o 2>&5
7969      echo "$RANLIB libconftest.a" >&5
7970      $RANLIB libconftest.a 2>&5
7971      cat > conftest.c << _LT_EOF
7972int main() { return 0;}
7973_LT_EOF
7974      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7975      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7976      _lt_result=$?
7977      if test -s conftest.err && $GREP force_load conftest.err; then
7978	cat conftest.err >&5
7979      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7980	lt_cv_ld_force_load=yes
7981      else
7982	cat conftest.err >&5
7983      fi
7984        rm -f conftest.err libconftest.a conftest conftest.c
7985        rm -rf conftest.dSYM
7986
7987fi
7988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7989$as_echo "$lt_cv_ld_force_load" >&6; }
7990    case $host_os in
7991    rhapsody* | darwin1.[012])
7992      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7993    darwin1.*)
7994      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7995    darwin*) # darwin 5.x on
7996      # if running on 10.5 or later, the deployment target defaults
7997      # to the OS version, if on x86, and 10.4, the deployment
7998      # target defaults to 10.4. Don't you love it?
7999      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8000	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8001	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8002	10.[012][,.]*)
8003	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8004	10.*)
8005	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8006      esac
8007    ;;
8008  esac
8009    if test yes = "$lt_cv_apple_cc_single_mod"; then
8010      _lt_dar_single_mod='$single_module'
8011    fi
8012    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8013      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8014    else
8015      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8016    fi
8017    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8018      _lt_dsymutil='~$DSYMUTIL $lib || :'
8019    else
8020      _lt_dsymutil=
8021    fi
8022    ;;
8023  esac
8024
8025# func_munge_path_list VARIABLE PATH
8026# -----------------------------------
8027# VARIABLE is name of variable containing _space_ separated list of
8028# directories to be munged by the contents of PATH, which is string
8029# having a format:
8030# "DIR[:DIR]:"
8031#       string "DIR[ DIR]" will be prepended to VARIABLE
8032# ":DIR[:DIR]"
8033#       string "DIR[ DIR]" will be appended to VARIABLE
8034# "DIRP[:DIRP]::[DIRA:]DIRA"
8035#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8036#       "DIRA[ DIRA]" will be appended to VARIABLE
8037# "DIR[:DIR]"
8038#       VARIABLE will be replaced by "DIR[ DIR]"
8039func_munge_path_list ()
8040{
8041    case x$2 in
8042    x)
8043        ;;
8044    *:)
8045        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8046        ;;
8047    x:*)
8048        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8049        ;;
8050    *::*)
8051        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8052        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8053        ;;
8054    *)
8055        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8056        ;;
8057    esac
8058}
8059
8060ac_ext=c
8061ac_cpp='$CPP $CPPFLAGS'
8062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8064ac_compiler_gnu=$ac_cv_c_compiler_gnu
8065{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8066$as_echo_n "checking how to run the C preprocessor... " >&6; }
8067# On Suns, sometimes $CPP names a directory.
8068if test -n "$CPP" && test -d "$CPP"; then
8069  CPP=
8070fi
8071if test -z "$CPP"; then
8072  if ${ac_cv_prog_CPP+:} false; then :
8073  $as_echo_n "(cached) " >&6
8074else
8075      # Double quotes because CPP needs to be expanded
8076    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8077    do
8078      ac_preproc_ok=false
8079for ac_c_preproc_warn_flag in '' yes
8080do
8081  # Use a header file that comes with gcc, so configuring glibc
8082  # with a fresh cross-compiler works.
8083  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8084  # <limits.h> exists even on freestanding compilers.
8085  # On the NeXT, cc -E runs the code through the compiler's parser,
8086  # not just through cpp. "Syntax error" is here to catch this case.
8087  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8088/* end confdefs.h.  */
8089#ifdef __STDC__
8090# include <limits.h>
8091#else
8092# include <assert.h>
8093#endif
8094		     Syntax error
8095_ACEOF
8096if ac_fn_c_try_cpp "$LINENO"; then :
8097
8098else
8099  # Broken: fails on valid input.
8100continue
8101fi
8102rm -f conftest.err conftest.i conftest.$ac_ext
8103
8104  # OK, works on sane cases.  Now check whether nonexistent headers
8105  # can be detected and how.
8106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8107/* end confdefs.h.  */
8108#include <ac_nonexistent.h>
8109_ACEOF
8110if ac_fn_c_try_cpp "$LINENO"; then :
8111  # Broken: success on invalid input.
8112continue
8113else
8114  # Passes both tests.
8115ac_preproc_ok=:
8116break
8117fi
8118rm -f conftest.err conftest.i conftest.$ac_ext
8119
8120done
8121# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8122rm -f conftest.i conftest.err conftest.$ac_ext
8123if $ac_preproc_ok; then :
8124  break
8125fi
8126
8127    done
8128    ac_cv_prog_CPP=$CPP
8129
8130fi
8131  CPP=$ac_cv_prog_CPP
8132else
8133  ac_cv_prog_CPP=$CPP
8134fi
8135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8136$as_echo "$CPP" >&6; }
8137ac_preproc_ok=false
8138for ac_c_preproc_warn_flag in '' yes
8139do
8140  # Use a header file that comes with gcc, so configuring glibc
8141  # with a fresh cross-compiler works.
8142  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8143  # <limits.h> exists even on freestanding compilers.
8144  # On the NeXT, cc -E runs the code through the compiler's parser,
8145  # not just through cpp. "Syntax error" is here to catch this case.
8146  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8147/* end confdefs.h.  */
8148#ifdef __STDC__
8149# include <limits.h>
8150#else
8151# include <assert.h>
8152#endif
8153		     Syntax error
8154_ACEOF
8155if ac_fn_c_try_cpp "$LINENO"; then :
8156
8157else
8158  # Broken: fails on valid input.
8159continue
8160fi
8161rm -f conftest.err conftest.i conftest.$ac_ext
8162
8163  # OK, works on sane cases.  Now check whether nonexistent headers
8164  # can be detected and how.
8165  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8166/* end confdefs.h.  */
8167#include <ac_nonexistent.h>
8168_ACEOF
8169if ac_fn_c_try_cpp "$LINENO"; then :
8170  # Broken: success on invalid input.
8171continue
8172else
8173  # Passes both tests.
8174ac_preproc_ok=:
8175break
8176fi
8177rm -f conftest.err conftest.i conftest.$ac_ext
8178
8179done
8180# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8181rm -f conftest.i conftest.err conftest.$ac_ext
8182if $ac_preproc_ok; then :
8183
8184else
8185  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8187as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8188See \`config.log' for more details" "$LINENO" 5; }
8189fi
8190
8191ac_ext=c
8192ac_cpp='$CPP $CPPFLAGS'
8193ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8194ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8195ac_compiler_gnu=$ac_cv_c_compiler_gnu
8196
8197
8198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8199$as_echo_n "checking for ANSI C header files... " >&6; }
8200if ${ac_cv_header_stdc+:} false; then :
8201  $as_echo_n "(cached) " >&6
8202else
8203  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8204/* end confdefs.h.  */
8205#include <stdlib.h>
8206#include <stdarg.h>
8207#include <string.h>
8208#include <float.h>
8209
8210int
8211main ()
8212{
8213
8214  ;
8215  return 0;
8216}
8217_ACEOF
8218if ac_fn_c_try_compile "$LINENO"; then :
8219  ac_cv_header_stdc=yes
8220else
8221  ac_cv_header_stdc=no
8222fi
8223rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8224
8225if test $ac_cv_header_stdc = yes; then
8226  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8227  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8228/* end confdefs.h.  */
8229#include <string.h>
8230
8231_ACEOF
8232if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8233  $EGREP "memchr" >/dev/null 2>&1; then :
8234
8235else
8236  ac_cv_header_stdc=no
8237fi
8238rm -f conftest*
8239
8240fi
8241
8242if test $ac_cv_header_stdc = yes; then
8243  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8244  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8245/* end confdefs.h.  */
8246#include <stdlib.h>
8247
8248_ACEOF
8249if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8250  $EGREP "free" >/dev/null 2>&1; then :
8251
8252else
8253  ac_cv_header_stdc=no
8254fi
8255rm -f conftest*
8256
8257fi
8258
8259if test $ac_cv_header_stdc = yes; then
8260  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8261  if test "$cross_compiling" = yes; then :
8262  :
8263else
8264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265/* end confdefs.h.  */
8266#include <ctype.h>
8267#include <stdlib.h>
8268#if ((' ' & 0x0FF) == 0x020)
8269# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8270# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8271#else
8272# define ISLOWER(c) \
8273		   (('a' <= (c) && (c) <= 'i') \
8274		     || ('j' <= (c) && (c) <= 'r') \
8275		     || ('s' <= (c) && (c) <= 'z'))
8276# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8277#endif
8278
8279#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8280int
8281main ()
8282{
8283  int i;
8284  for (i = 0; i < 256; i++)
8285    if (XOR (islower (i), ISLOWER (i))
8286	|| toupper (i) != TOUPPER (i))
8287      return 2;
8288  return 0;
8289}
8290_ACEOF
8291if ac_fn_c_try_run "$LINENO"; then :
8292
8293else
8294  ac_cv_header_stdc=no
8295fi
8296rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8297  conftest.$ac_objext conftest.beam conftest.$ac_ext
8298fi
8299
8300fi
8301fi
8302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8303$as_echo "$ac_cv_header_stdc" >&6; }
8304if test $ac_cv_header_stdc = yes; then
8305
8306$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8307
8308fi
8309
8310# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8311for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8312		  inttypes.h stdint.h unistd.h
8313do :
8314  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8315ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8316"
8317if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8318  cat >>confdefs.h <<_ACEOF
8319#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8320_ACEOF
8321
8322fi
8323
8324done
8325
8326
8327for ac_header in dlfcn.h
8328do :
8329  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8330"
8331if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8332  cat >>confdefs.h <<_ACEOF
8333#define HAVE_DLFCN_H 1
8334_ACEOF
8335
8336fi
8337
8338done
8339
8340
8341
8342
8343
8344# Set options
8345
8346
8347
8348        enable_dlopen=no
8349
8350
8351  enable_win32_dll=no
8352
8353
8354            # Check whether --enable-shared was given.
8355if test "${enable_shared+set}" = set; then :
8356  enableval=$enable_shared; p=${PACKAGE-default}
8357    case $enableval in
8358    yes) enable_shared=yes ;;
8359    no) enable_shared=no ;;
8360    *)
8361      enable_shared=no
8362      # Look at the argument we got.  We use all the common list separators.
8363      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8364      for pkg in $enableval; do
8365	IFS=$lt_save_ifs
8366	if test "X$pkg" = "X$p"; then
8367	  enable_shared=yes
8368	fi
8369      done
8370      IFS=$lt_save_ifs
8371      ;;
8372    esac
8373else
8374  enable_shared=yes
8375fi
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385  # Check whether --enable-static was given.
8386if test "${enable_static+set}" = set; then :
8387  enableval=$enable_static; p=${PACKAGE-default}
8388    case $enableval in
8389    yes) enable_static=yes ;;
8390    no) enable_static=no ;;
8391    *)
8392     enable_static=no
8393      # Look at the argument we got.  We use all the common list separators.
8394      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8395      for pkg in $enableval; do
8396	IFS=$lt_save_ifs
8397	if test "X$pkg" = "X$p"; then
8398	  enable_static=yes
8399	fi
8400      done
8401      IFS=$lt_save_ifs
8402      ;;
8403    esac
8404else
8405  enable_static=yes
8406fi
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417# Check whether --with-pic was given.
8418if test "${with_pic+set}" = set; then :
8419  withval=$with_pic; lt_p=${PACKAGE-default}
8420    case $withval in
8421    yes|no) pic_mode=$withval ;;
8422    *)
8423      pic_mode=default
8424      # Look at the argument we got.  We use all the common list separators.
8425      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8426      for lt_pkg in $withval; do
8427	IFS=$lt_save_ifs
8428	if test "X$lt_pkg" = "X$lt_p"; then
8429	  pic_mode=yes
8430	fi
8431      done
8432      IFS=$lt_save_ifs
8433      ;;
8434    esac
8435else
8436  pic_mode=default
8437fi
8438
8439
8440
8441
8442
8443
8444
8445
8446  # Check whether --enable-fast-install was given.
8447if test "${enable_fast_install+set}" = set; then :
8448  enableval=$enable_fast_install; p=${PACKAGE-default}
8449    case $enableval in
8450    yes) enable_fast_install=yes ;;
8451    no) enable_fast_install=no ;;
8452    *)
8453      enable_fast_install=no
8454      # Look at the argument we got.  We use all the common list separators.
8455      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8456      for pkg in $enableval; do
8457	IFS=$lt_save_ifs
8458	if test "X$pkg" = "X$p"; then
8459	  enable_fast_install=yes
8460	fi
8461      done
8462      IFS=$lt_save_ifs
8463      ;;
8464    esac
8465else
8466  enable_fast_install=yes
8467fi
8468
8469
8470
8471
8472
8473
8474
8475
8476  shared_archive_member_spec=
8477case $host,$enable_shared in
8478power*-*-aix[5-9]*,yes)
8479  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
8480$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
8481
8482# Check whether --with-aix-soname was given.
8483if test "${with_aix_soname+set}" = set; then :
8484  withval=$with_aix_soname; case $withval in
8485    aix|svr4|both)
8486      ;;
8487    *)
8488      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
8489      ;;
8490    esac
8491    lt_cv_with_aix_soname=$with_aix_soname
8492else
8493  if ${lt_cv_with_aix_soname+:} false; then :
8494  $as_echo_n "(cached) " >&6
8495else
8496  lt_cv_with_aix_soname=aix
8497fi
8498
8499    with_aix_soname=$lt_cv_with_aix_soname
8500fi
8501
8502  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
8503$as_echo "$with_aix_soname" >&6; }
8504  if test aix != "$with_aix_soname"; then
8505    # For the AIX way of multilib, we name the shared archive member
8506    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
8507    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
8508    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
8509    # the AIX toolchain works better with OBJECT_MODE set (default 32).
8510    if test 64 = "${OBJECT_MODE-32}"; then
8511      shared_archive_member_spec=shr_64
8512    else
8513      shared_archive_member_spec=shr
8514    fi
8515  fi
8516  ;;
8517*)
8518  with_aix_soname=aix
8519  ;;
8520esac
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531# This can be used to rebuild libtool when needed
8532LIBTOOL_DEPS=$ltmain
8533
8534# Always use our own libtool.
8535LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566test -z "$LN_S" && LN_S="ln -s"
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581if test -n "${ZSH_VERSION+set}"; then
8582   setopt NO_GLOB_SUBST
8583fi
8584
8585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8586$as_echo_n "checking for objdir... " >&6; }
8587if ${lt_cv_objdir+:} false; then :
8588  $as_echo_n "(cached) " >&6
8589else
8590  rm -f .libs 2>/dev/null
8591mkdir .libs 2>/dev/null
8592if test -d .libs; then
8593  lt_cv_objdir=.libs
8594else
8595  # MS-DOS does not allow filenames that begin with a dot.
8596  lt_cv_objdir=_libs
8597fi
8598rmdir .libs 2>/dev/null
8599fi
8600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8601$as_echo "$lt_cv_objdir" >&6; }
8602objdir=$lt_cv_objdir
8603
8604
8605
8606
8607
8608cat >>confdefs.h <<_ACEOF
8609#define LT_OBJDIR "$lt_cv_objdir/"
8610_ACEOF
8611
8612
8613
8614
8615case $host_os in
8616aix3*)
8617  # AIX sometimes has problems with the GCC collect2 program.  For some
8618  # reason, if we set the COLLECT_NAMES environment variable, the problems
8619  # vanish in a puff of smoke.
8620  if test set != "${COLLECT_NAMES+set}"; then
8621    COLLECT_NAMES=
8622    export COLLECT_NAMES
8623  fi
8624  ;;
8625esac
8626
8627# Global variables:
8628ofile=libtool
8629can_build_shared=yes
8630
8631# All known linkers require a '.a' archive for static linking (except MSVC,
8632# which needs '.lib').
8633libext=a
8634
8635with_gnu_ld=$lt_cv_prog_gnu_ld
8636
8637old_CC=$CC
8638old_CFLAGS=$CFLAGS
8639
8640# Set sane defaults for various variables
8641test -z "$CC" && CC=cc
8642test -z "$LTCC" && LTCC=$CC
8643test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8644test -z "$LD" && LD=ld
8645test -z "$ac_objext" && ac_objext=o
8646
8647func_cc_basename $compiler
8648cc_basename=$func_cc_basename_result
8649
8650
8651# Only perform the check for file, if the check method requires it
8652test -z "$MAGIC_CMD" && MAGIC_CMD=file
8653case $deplibs_check_method in
8654file_magic*)
8655  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8656    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8657$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8658if ${lt_cv_path_MAGIC_CMD+:} false; then :
8659  $as_echo_n "(cached) " >&6
8660else
8661  case $MAGIC_CMD in
8662[\\/*] |  ?:[\\/]*)
8663  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8664  ;;
8665*)
8666  lt_save_MAGIC_CMD=$MAGIC_CMD
8667  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8668  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8669  for ac_dir in $ac_dummy; do
8670    IFS=$lt_save_ifs
8671    test -z "$ac_dir" && ac_dir=.
8672    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8673      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8674      if test -n "$file_magic_test_file"; then
8675	case $deplibs_check_method in
8676	"file_magic "*)
8677	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8678	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8679	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8680	    $EGREP "$file_magic_regex" > /dev/null; then
8681	    :
8682	  else
8683	    cat <<_LT_EOF 1>&2
8684
8685*** Warning: the command libtool uses to detect shared libraries,
8686*** $file_magic_cmd, produces output that libtool cannot recognize.
8687*** The result is that libtool may fail to recognize shared libraries
8688*** as such.  This will affect the creation of libtool libraries that
8689*** depend on shared libraries, but programs linked with such libtool
8690*** libraries will work regardless of this problem.  Nevertheless, you
8691*** may want to report the problem to your system manager and/or to
8692*** bug-libtool@gnu.org
8693
8694_LT_EOF
8695	  fi ;;
8696	esac
8697      fi
8698      break
8699    fi
8700  done
8701  IFS=$lt_save_ifs
8702  MAGIC_CMD=$lt_save_MAGIC_CMD
8703  ;;
8704esac
8705fi
8706
8707MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8708if test -n "$MAGIC_CMD"; then
8709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8710$as_echo "$MAGIC_CMD" >&6; }
8711else
8712  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8713$as_echo "no" >&6; }
8714fi
8715
8716
8717
8718
8719
8720if test -z "$lt_cv_path_MAGIC_CMD"; then
8721  if test -n "$ac_tool_prefix"; then
8722    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8723$as_echo_n "checking for file... " >&6; }
8724if ${lt_cv_path_MAGIC_CMD+:} false; then :
8725  $as_echo_n "(cached) " >&6
8726else
8727  case $MAGIC_CMD in
8728[\\/*] |  ?:[\\/]*)
8729  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8730  ;;
8731*)
8732  lt_save_MAGIC_CMD=$MAGIC_CMD
8733  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8734  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8735  for ac_dir in $ac_dummy; do
8736    IFS=$lt_save_ifs
8737    test -z "$ac_dir" && ac_dir=.
8738    if test -f "$ac_dir/file"; then
8739      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8740      if test -n "$file_magic_test_file"; then
8741	case $deplibs_check_method in
8742	"file_magic "*)
8743	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8744	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8745	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8746	    $EGREP "$file_magic_regex" > /dev/null; then
8747	    :
8748	  else
8749	    cat <<_LT_EOF 1>&2
8750
8751*** Warning: the command libtool uses to detect shared libraries,
8752*** $file_magic_cmd, produces output that libtool cannot recognize.
8753*** The result is that libtool may fail to recognize shared libraries
8754*** as such.  This will affect the creation of libtool libraries that
8755*** depend on shared libraries, but programs linked with such libtool
8756*** libraries will work regardless of this problem.  Nevertheless, you
8757*** may want to report the problem to your system manager and/or to
8758*** bug-libtool@gnu.org
8759
8760_LT_EOF
8761	  fi ;;
8762	esac
8763      fi
8764      break
8765    fi
8766  done
8767  IFS=$lt_save_ifs
8768  MAGIC_CMD=$lt_save_MAGIC_CMD
8769  ;;
8770esac
8771fi
8772
8773MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8774if test -n "$MAGIC_CMD"; then
8775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8776$as_echo "$MAGIC_CMD" >&6; }
8777else
8778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8779$as_echo "no" >&6; }
8780fi
8781
8782
8783  else
8784    MAGIC_CMD=:
8785  fi
8786fi
8787
8788  fi
8789  ;;
8790esac
8791
8792# Use C for the default configuration in the libtool script
8793
8794lt_save_CC=$CC
8795ac_ext=c
8796ac_cpp='$CPP $CPPFLAGS'
8797ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8798ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8799ac_compiler_gnu=$ac_cv_c_compiler_gnu
8800
8801
8802# Source file extension for C test sources.
8803ac_ext=c
8804
8805# Object file extension for compiled C test sources.
8806objext=o
8807objext=$objext
8808
8809# Code to be used in simple compile tests
8810lt_simple_compile_test_code="int some_variable = 0;"
8811
8812# Code to be used in simple link tests
8813lt_simple_link_test_code='int main(){return(0);}'
8814
8815
8816
8817
8818
8819
8820
8821# If no C compiler was specified, use CC.
8822LTCC=${LTCC-"$CC"}
8823
8824# If no C compiler flags were specified, use CFLAGS.
8825LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8826
8827# Allow CC to be a program name with arguments.
8828compiler=$CC
8829
8830# Save the default compiler, since it gets overwritten when the other
8831# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8832compiler_DEFAULT=$CC
8833
8834# save warnings/boilerplate of simple test code
8835ac_outfile=conftest.$ac_objext
8836echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8837eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8838_lt_compiler_boilerplate=`cat conftest.err`
8839$RM conftest*
8840
8841ac_outfile=conftest.$ac_objext
8842echo "$lt_simple_link_test_code" >conftest.$ac_ext
8843eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8844_lt_linker_boilerplate=`cat conftest.err`
8845$RM -r conftest*
8846
8847
8848## CAVEAT EMPTOR:
8849## There is no encapsulation within the following macros, do not change
8850## the running order or otherwise move them around unless you know exactly
8851## what you are doing...
8852if test -n "$compiler"; then
8853
8854lt_prog_compiler_no_builtin_flag=
8855
8856if test yes = "$GCC"; then
8857  case $cc_basename in
8858  nvcc*)
8859    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8860  *)
8861    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8862  esac
8863
8864  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8865$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8866if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8867  $as_echo_n "(cached) " >&6
8868else
8869  lt_cv_prog_compiler_rtti_exceptions=no
8870   ac_outfile=conftest.$ac_objext
8871   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8872   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8873   # Insert the option either (1) after the last *FLAGS variable, or
8874   # (2) before a word containing "conftest.", or (3) at the end.
8875   # Note that $ac_compile itself does not contain backslashes and begins
8876   # with a dollar sign (not a hyphen), so the echo should work correctly.
8877   # The option is referenced via a variable to avoid confusing sed.
8878   lt_compile=`echo "$ac_compile" | $SED \
8879   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881   -e 's:$: $lt_compiler_flag:'`
8882   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8883   (eval "$lt_compile" 2>conftest.err)
8884   ac_status=$?
8885   cat conftest.err >&5
8886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887   if (exit $ac_status) && test -s "$ac_outfile"; then
8888     # The compiler can only warn and ignore the option if not recognized
8889     # So say no if there are warnings other than the usual output.
8890     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8891     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8892     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8893       lt_cv_prog_compiler_rtti_exceptions=yes
8894     fi
8895   fi
8896   $RM conftest*
8897
8898fi
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8900$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8901
8902if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8903    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8904else
8905    :
8906fi
8907
8908fi
8909
8910
8911
8912
8913
8914
8915  lt_prog_compiler_wl=
8916lt_prog_compiler_pic=
8917lt_prog_compiler_static=
8918
8919
8920  if test yes = "$GCC"; then
8921    lt_prog_compiler_wl='-Wl,'
8922    lt_prog_compiler_static='-static'
8923
8924    case $host_os in
8925      aix*)
8926      # All AIX code is PIC.
8927      if test ia64 = "$host_cpu"; then
8928	# AIX 5 now supports IA64 processor
8929	lt_prog_compiler_static='-Bstatic'
8930      fi
8931      lt_prog_compiler_pic='-fPIC'
8932      ;;
8933
8934    amigaos*)
8935      case $host_cpu in
8936      powerpc)
8937            # see comment about AmigaOS4 .so support
8938            lt_prog_compiler_pic='-fPIC'
8939        ;;
8940      m68k)
8941            # FIXME: we need at least 68020 code to build shared libraries, but
8942            # adding the '-m68020' flag to GCC prevents building anything better,
8943            # like '-m68040'.
8944            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8945        ;;
8946      esac
8947      ;;
8948
8949    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8950      # PIC is the default for these OSes.
8951      ;;
8952
8953    mingw* | cygwin* | pw32* | os2* | cegcc*)
8954      # This hack is so that the source file can tell whether it is being
8955      # built for inclusion in a dll (and should export symbols for example).
8956      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8957      # (--disable-auto-import) libraries
8958      lt_prog_compiler_pic='-DDLL_EXPORT'
8959      case $host_os in
8960      os2*)
8961	lt_prog_compiler_static='$wl-static'
8962	;;
8963      esac
8964      ;;
8965
8966    darwin* | rhapsody*)
8967      # PIC is the default on this platform
8968      # Common symbols not allowed in MH_DYLIB files
8969      lt_prog_compiler_pic='-fno-common'
8970      ;;
8971
8972    haiku*)
8973      # PIC is the default for Haiku.
8974      # The "-static" flag exists, but is broken.
8975      lt_prog_compiler_static=
8976      ;;
8977
8978    hpux*)
8979      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8980      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8981      # sets the default TLS model and affects inlining.
8982      case $host_cpu in
8983      hppa*64*)
8984	# +Z the default
8985	;;
8986      *)
8987	lt_prog_compiler_pic='-fPIC'
8988	;;
8989      esac
8990      ;;
8991
8992    interix[3-9]*)
8993      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8994      # Instead, we relocate shared libraries at runtime.
8995      ;;
8996
8997    msdosdjgpp*)
8998      # Just because we use GCC doesn't mean we suddenly get shared libraries
8999      # on systems that don't support them.
9000      lt_prog_compiler_can_build_shared=no
9001      enable_shared=no
9002      ;;
9003
9004    *nto* | *qnx*)
9005      # QNX uses GNU C++, but need to define -shared option too, otherwise
9006      # it will coredump.
9007      lt_prog_compiler_pic='-fPIC -shared'
9008      ;;
9009
9010    sysv4*MP*)
9011      if test -d /usr/nec; then
9012	lt_prog_compiler_pic=-Kconform_pic
9013      fi
9014      ;;
9015
9016    *)
9017      lt_prog_compiler_pic='-fPIC'
9018      ;;
9019    esac
9020
9021    case $cc_basename in
9022    nvcc*) # Cuda Compiler Driver 2.2
9023      lt_prog_compiler_wl='-Xlinker '
9024      if test -n "$lt_prog_compiler_pic"; then
9025        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9026      fi
9027      ;;
9028    esac
9029  else
9030    # PORTME Check for flag to pass linker flags through the system compiler.
9031    case $host_os in
9032    aix*)
9033      lt_prog_compiler_wl='-Wl,'
9034      if test ia64 = "$host_cpu"; then
9035	# AIX 5 now supports IA64 processor
9036	lt_prog_compiler_static='-Bstatic'
9037      else
9038	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9039      fi
9040      ;;
9041
9042    darwin* | rhapsody*)
9043      # PIC is the default on this platform
9044      # Common symbols not allowed in MH_DYLIB files
9045      lt_prog_compiler_pic='-fno-common'
9046      case $cc_basename in
9047      nagfor*)
9048        # NAG Fortran compiler
9049        lt_prog_compiler_wl='-Wl,-Wl,,'
9050        lt_prog_compiler_pic='-PIC'
9051        lt_prog_compiler_static='-Bstatic'
9052        ;;
9053      esac
9054      ;;
9055
9056    mingw* | cygwin* | pw32* | os2* | cegcc*)
9057      # This hack is so that the source file can tell whether it is being
9058      # built for inclusion in a dll (and should export symbols for example).
9059      lt_prog_compiler_pic='-DDLL_EXPORT'
9060      case $host_os in
9061      os2*)
9062	lt_prog_compiler_static='$wl-static'
9063	;;
9064      esac
9065      ;;
9066
9067    hpux9* | hpux10* | hpux11*)
9068      lt_prog_compiler_wl='-Wl,'
9069      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9070      # not for PA HP-UX.
9071      case $host_cpu in
9072      hppa*64*|ia64*)
9073	# +Z the default
9074	;;
9075      *)
9076	lt_prog_compiler_pic='+Z'
9077	;;
9078      esac
9079      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9080      lt_prog_compiler_static='$wl-a ${wl}archive'
9081      ;;
9082
9083    irix5* | irix6* | nonstopux*)
9084      lt_prog_compiler_wl='-Wl,'
9085      # PIC (with -KPIC) is the default.
9086      lt_prog_compiler_static='-non_shared'
9087      ;;
9088
9089    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9090      case $cc_basename in
9091      # old Intel for x86_64, which still supported -KPIC.
9092      ecc*)
9093	lt_prog_compiler_wl='-Wl,'
9094	lt_prog_compiler_pic='-KPIC'
9095	lt_prog_compiler_static='-static'
9096        ;;
9097      # flang / f18. f95 an alias for gfortran or flang on Debian
9098      flang* | f18* | f95*)
9099	lt_prog_compiler_wl='-Wl,'
9100	lt_prog_compiler_pic='-fPIC'
9101	lt_prog_compiler_static='-static'
9102        ;;
9103      # icc used to be incompatible with GCC.
9104      # ICC 10 doesn't accept -KPIC any more.
9105      icc* | ifort*)
9106	lt_prog_compiler_wl='-Wl,'
9107	lt_prog_compiler_pic='-fPIC'
9108	lt_prog_compiler_static='-static'
9109        ;;
9110      # Lahey Fortran 8.1.
9111      lf95*)
9112	lt_prog_compiler_wl='-Wl,'
9113	lt_prog_compiler_pic='--shared'
9114	lt_prog_compiler_static='--static'
9115	;;
9116      nagfor*)
9117	# NAG Fortran compiler
9118	lt_prog_compiler_wl='-Wl,-Wl,,'
9119	lt_prog_compiler_pic='-PIC'
9120	lt_prog_compiler_static='-Bstatic'
9121	;;
9122      tcc*)
9123	# Fabrice Bellard et al's Tiny C Compiler
9124	lt_prog_compiler_wl='-Wl,'
9125	lt_prog_compiler_pic='-fPIC'
9126	lt_prog_compiler_static='-static'
9127	;;
9128      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9129        # Portland Group compilers (*not* the Pentium gcc compiler,
9130	# which looks to be a dead project)
9131	lt_prog_compiler_wl='-Wl,'
9132	lt_prog_compiler_pic='-fpic'
9133	lt_prog_compiler_static='-Bstatic'
9134        ;;
9135      ccc*)
9136        lt_prog_compiler_wl='-Wl,'
9137        # All Alpha code is PIC.
9138        lt_prog_compiler_static='-non_shared'
9139        ;;
9140      xl* | bgxl* | bgf* | mpixl*)
9141	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9142	lt_prog_compiler_wl='-Wl,'
9143	lt_prog_compiler_pic='-qpic'
9144	lt_prog_compiler_static='-qstaticlink'
9145	;;
9146      *)
9147	case `$CC -V 2>&1 | sed 5q` in
9148	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9149	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9150	  lt_prog_compiler_pic='-KPIC'
9151	  lt_prog_compiler_static='-Bstatic'
9152	  lt_prog_compiler_wl=''
9153	  ;;
9154	*Sun\ F* | *Sun*Fortran*)
9155	  lt_prog_compiler_pic='-KPIC'
9156	  lt_prog_compiler_static='-Bstatic'
9157	  lt_prog_compiler_wl='-Qoption ld '
9158	  ;;
9159	*Sun\ C*)
9160	  # Sun C 5.9
9161	  lt_prog_compiler_pic='-KPIC'
9162	  lt_prog_compiler_static='-Bstatic'
9163	  lt_prog_compiler_wl='-Wl,'
9164	  ;;
9165        *Intel*\ [CF]*Compiler*)
9166	  lt_prog_compiler_wl='-Wl,'
9167	  lt_prog_compiler_pic='-fPIC'
9168	  lt_prog_compiler_static='-static'
9169	  ;;
9170	*Portland\ Group*)
9171	  lt_prog_compiler_wl='-Wl,'
9172	  lt_prog_compiler_pic='-fpic'
9173	  lt_prog_compiler_static='-Bstatic'
9174	  ;;
9175	esac
9176	;;
9177      esac
9178      ;;
9179
9180    newsos6)
9181      lt_prog_compiler_pic='-KPIC'
9182      lt_prog_compiler_static='-Bstatic'
9183      ;;
9184
9185    *nto* | *qnx*)
9186      # QNX uses GNU C++, but need to define -shared option too, otherwise
9187      # it will coredump.
9188      lt_prog_compiler_pic='-fPIC -shared'
9189      ;;
9190
9191    osf3* | osf4* | osf5*)
9192      lt_prog_compiler_wl='-Wl,'
9193      # All OSF/1 code is PIC.
9194      lt_prog_compiler_static='-non_shared'
9195      ;;
9196
9197    rdos*)
9198      lt_prog_compiler_static='-non_shared'
9199      ;;
9200
9201    solaris*)
9202      lt_prog_compiler_pic='-KPIC'
9203      lt_prog_compiler_static='-Bstatic'
9204      case $cc_basename in
9205      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9206	lt_prog_compiler_wl='-Qoption ld ';;
9207      *)
9208	lt_prog_compiler_wl='-Wl,';;
9209      esac
9210      ;;
9211
9212    sunos4*)
9213      lt_prog_compiler_wl='-Qoption ld '
9214      lt_prog_compiler_pic='-PIC'
9215      lt_prog_compiler_static='-Bstatic'
9216      ;;
9217
9218    sysv4 | sysv4.2uw2* | sysv4.3*)
9219      lt_prog_compiler_wl='-Wl,'
9220      lt_prog_compiler_pic='-KPIC'
9221      lt_prog_compiler_static='-Bstatic'
9222      ;;
9223
9224    sysv4*MP*)
9225      if test -d /usr/nec; then
9226	lt_prog_compiler_pic='-Kconform_pic'
9227	lt_prog_compiler_static='-Bstatic'
9228      fi
9229      ;;
9230
9231    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9232      lt_prog_compiler_wl='-Wl,'
9233      lt_prog_compiler_pic='-KPIC'
9234      lt_prog_compiler_static='-Bstatic'
9235      ;;
9236
9237    unicos*)
9238      lt_prog_compiler_wl='-Wl,'
9239      lt_prog_compiler_can_build_shared=no
9240      ;;
9241
9242    uts4*)
9243      lt_prog_compiler_pic='-pic'
9244      lt_prog_compiler_static='-Bstatic'
9245      ;;
9246
9247    *)
9248      lt_prog_compiler_can_build_shared=no
9249      ;;
9250    esac
9251  fi
9252
9253case $host_os in
9254  # For platforms that do not support PIC, -DPIC is meaningless:
9255  *djgpp*)
9256    lt_prog_compiler_pic=
9257    ;;
9258  *)
9259    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9260    ;;
9261esac
9262
9263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9264$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9265if ${lt_cv_prog_compiler_pic+:} false; then :
9266  $as_echo_n "(cached) " >&6
9267else
9268  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9269fi
9270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9271$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9272lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9273
9274#
9275# Check to make sure the PIC flag actually works.
9276#
9277if test -n "$lt_prog_compiler_pic"; then
9278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9279$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9280if ${lt_cv_prog_compiler_pic_works+:} false; then :
9281  $as_echo_n "(cached) " >&6
9282else
9283  lt_cv_prog_compiler_pic_works=no
9284   ac_outfile=conftest.$ac_objext
9285   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9286   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9287   # Insert the option either (1) after the last *FLAGS variable, or
9288   # (2) before a word containing "conftest.", or (3) at the end.
9289   # Note that $ac_compile itself does not contain backslashes and begins
9290   # with a dollar sign (not a hyphen), so the echo should work correctly.
9291   # The option is referenced via a variable to avoid confusing sed.
9292   lt_compile=`echo "$ac_compile" | $SED \
9293   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9294   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9295   -e 's:$: $lt_compiler_flag:'`
9296   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9297   (eval "$lt_compile" 2>conftest.err)
9298   ac_status=$?
9299   cat conftest.err >&5
9300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301   if (exit $ac_status) && test -s "$ac_outfile"; then
9302     # The compiler can only warn and ignore the option if not recognized
9303     # So say no if there are warnings other than the usual output.
9304     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9305     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9306     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9307       lt_cv_prog_compiler_pic_works=yes
9308     fi
9309   fi
9310   $RM conftest*
9311
9312fi
9313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9314$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9315
9316if test yes = "$lt_cv_prog_compiler_pic_works"; then
9317    case $lt_prog_compiler_pic in
9318     "" | " "*) ;;
9319     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9320     esac
9321else
9322    lt_prog_compiler_pic=
9323     lt_prog_compiler_can_build_shared=no
9324fi
9325
9326fi
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338#
9339# Check to make sure the static flag actually works.
9340#
9341wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9343$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9344if ${lt_cv_prog_compiler_static_works+:} false; then :
9345  $as_echo_n "(cached) " >&6
9346else
9347  lt_cv_prog_compiler_static_works=no
9348   save_LDFLAGS=$LDFLAGS
9349   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9350   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9351   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9352     # The linker can only warn and ignore the option if not recognized
9353     # So say no if there are warnings
9354     if test -s conftest.err; then
9355       # Append any errors to the config.log.
9356       cat conftest.err 1>&5
9357       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9358       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9359       if diff conftest.exp conftest.er2 >/dev/null; then
9360         lt_cv_prog_compiler_static_works=yes
9361       fi
9362     else
9363       lt_cv_prog_compiler_static_works=yes
9364     fi
9365   fi
9366   $RM -r conftest*
9367   LDFLAGS=$save_LDFLAGS
9368
9369fi
9370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9371$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9372
9373if test yes = "$lt_cv_prog_compiler_static_works"; then
9374    :
9375else
9376    lt_prog_compiler_static=
9377fi
9378
9379
9380
9381
9382
9383
9384
9385  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9386$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9387if ${lt_cv_prog_compiler_c_o+:} false; then :
9388  $as_echo_n "(cached) " >&6
9389else
9390  lt_cv_prog_compiler_c_o=no
9391   $RM -r conftest 2>/dev/null
9392   mkdir conftest
9393   cd conftest
9394   mkdir out
9395   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9396
9397   lt_compiler_flag="-o out/conftest2.$ac_objext"
9398   # Insert the option either (1) after the last *FLAGS variable, or
9399   # (2) before a word containing "conftest.", or (3) at the end.
9400   # Note that $ac_compile itself does not contain backslashes and begins
9401   # with a dollar sign (not a hyphen), so the echo should work correctly.
9402   lt_compile=`echo "$ac_compile" | $SED \
9403   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9404   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9405   -e 's:$: $lt_compiler_flag:'`
9406   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9407   (eval "$lt_compile" 2>out/conftest.err)
9408   ac_status=$?
9409   cat out/conftest.err >&5
9410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9411   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9412   then
9413     # The compiler can only warn and ignore the option if not recognized
9414     # So say no if there are warnings
9415     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9416     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9417     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9418       lt_cv_prog_compiler_c_o=yes
9419     fi
9420   fi
9421   chmod u+w . 2>&5
9422   $RM conftest*
9423   # SGI C++ compiler will create directory out/ii_files/ for
9424   # template instantiation
9425   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9426   $RM out/* && rmdir out
9427   cd ..
9428   $RM -r conftest
9429   $RM conftest*
9430
9431fi
9432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9433$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9434
9435
9436
9437
9438
9439
9440  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9441$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9442if ${lt_cv_prog_compiler_c_o+:} false; then :
9443  $as_echo_n "(cached) " >&6
9444else
9445  lt_cv_prog_compiler_c_o=no
9446   $RM -r conftest 2>/dev/null
9447   mkdir conftest
9448   cd conftest
9449   mkdir out
9450   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9451
9452   lt_compiler_flag="-o out/conftest2.$ac_objext"
9453   # Insert the option either (1) after the last *FLAGS variable, or
9454   # (2) before a word containing "conftest.", or (3) at the end.
9455   # Note that $ac_compile itself does not contain backslashes and begins
9456   # with a dollar sign (not a hyphen), so the echo should work correctly.
9457   lt_compile=`echo "$ac_compile" | $SED \
9458   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9459   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9460   -e 's:$: $lt_compiler_flag:'`
9461   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9462   (eval "$lt_compile" 2>out/conftest.err)
9463   ac_status=$?
9464   cat out/conftest.err >&5
9465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9466   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9467   then
9468     # The compiler can only warn and ignore the option if not recognized
9469     # So say no if there are warnings
9470     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9471     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9472     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9473       lt_cv_prog_compiler_c_o=yes
9474     fi
9475   fi
9476   chmod u+w . 2>&5
9477   $RM conftest*
9478   # SGI C++ compiler will create directory out/ii_files/ for
9479   # template instantiation
9480   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9481   $RM out/* && rmdir out
9482   cd ..
9483   $RM -r conftest
9484   $RM conftest*
9485
9486fi
9487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9488$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9489
9490
9491
9492
9493hard_links=nottested
9494if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
9495  # do not overwrite the value of need_locks provided by the user
9496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9497$as_echo_n "checking if we can lock with hard links... " >&6; }
9498  hard_links=yes
9499  $RM conftest*
9500  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9501  touch conftest.a
9502  ln conftest.a conftest.b 2>&5 || hard_links=no
9503  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9505$as_echo "$hard_links" >&6; }
9506  if test no = "$hard_links"; then
9507    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
9508$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
9509    need_locks=warn
9510  fi
9511else
9512  need_locks=no
9513fi
9514
9515
9516
9517
9518
9519
9520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9521$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9522
9523  runpath_var=
9524  allow_undefined_flag=
9525  always_export_symbols=no
9526  archive_cmds=
9527  archive_expsym_cmds=
9528  compiler_needs_object=no
9529  enable_shared_with_static_runtimes=no
9530  export_dynamic_flag_spec=
9531  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9532  hardcode_automatic=no
9533  hardcode_direct=no
9534  hardcode_direct_absolute=no
9535  hardcode_libdir_flag_spec=
9536  hardcode_libdir_separator=
9537  hardcode_minus_L=no
9538  hardcode_shlibpath_var=unsupported
9539  inherit_rpath=no
9540  link_all_deplibs=unknown
9541  module_cmds=
9542  module_expsym_cmds=
9543  old_archive_from_new_cmds=
9544  old_archive_from_expsyms_cmds=
9545  thread_safe_flag_spec=
9546  whole_archive_flag_spec=
9547  # include_expsyms should be a list of space-separated symbols to be *always*
9548  # included in the symbol list
9549  include_expsyms=
9550  # exclude_expsyms can be an extended regexp of symbols to exclude
9551  # it will be wrapped by ' (' and ')$', so one must not match beginning or
9552  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
9553  # as well as any symbol that contains 'd'.
9554  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9555  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9556  # platforms (ab)use it in PIC code, but their linkers get confused if
9557  # the symbol is explicitly referenced.  Since portable code cannot
9558  # rely on this symbol name, it's probably fine to never include it in
9559  # preloaded symbol tables.
9560  # Exclude shared library initialization/finalization symbols.
9561  extract_expsyms_cmds=
9562
9563  case $host_os in
9564  cygwin* | mingw* | pw32* | cegcc*)
9565    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9566    # When not using gcc, we currently assume that we are using
9567    # Microsoft Visual C++.
9568    if test yes != "$GCC"; then
9569      with_gnu_ld=no
9570    fi
9571    ;;
9572  interix*)
9573    # we just hope/assume this is gcc and not c89 (= MSVC++)
9574    with_gnu_ld=yes
9575    ;;
9576  openbsd* | bitrig*)
9577    with_gnu_ld=no
9578    ;;
9579  linux* | k*bsd*-gnu | gnu*)
9580    link_all_deplibs=no
9581    ;;
9582  esac
9583
9584  ld_shlibs=yes
9585
9586  # On some targets, GNU ld is compatible enough with the native linker
9587  # that we're better off using the native interface for both.
9588  lt_use_gnu_ld_interface=no
9589  if test yes = "$with_gnu_ld"; then
9590    case $host_os in
9591      aix*)
9592	# The AIX port of GNU ld has always aspired to compatibility
9593	# with the native linker.  However, as the warning in the GNU ld
9594	# block says, versions before 2.19.5* couldn't really create working
9595	# shared libraries, regardless of the interface used.
9596	case `$LD -v 2>&1` in
9597	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9598	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9599	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9600	  *)
9601	    lt_use_gnu_ld_interface=yes
9602	    ;;
9603	esac
9604	;;
9605      *)
9606	lt_use_gnu_ld_interface=yes
9607	;;
9608    esac
9609  fi
9610
9611  if test yes = "$lt_use_gnu_ld_interface"; then
9612    # If archive_cmds runs LD, not CC, wlarc should be empty
9613    wlarc='$wl'
9614
9615    # Set some defaults for GNU ld with shared library support. These
9616    # are reset later if shared libraries are not supported. Putting them
9617    # here allows them to be overridden if necessary.
9618    runpath_var=LD_RUN_PATH
9619    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9620    export_dynamic_flag_spec='$wl--export-dynamic'
9621    # ancient GNU ld didn't support --whole-archive et. al.
9622    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9623      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9624    else
9625      whole_archive_flag_spec=
9626    fi
9627    supports_anon_versioning=no
9628    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9629      *GNU\ gold*) supports_anon_versioning=yes ;;
9630      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9631      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9632      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9633      *\ 2.11.*) ;; # other 2.11 versions
9634      *) supports_anon_versioning=yes ;;
9635    esac
9636
9637    # See if GNU ld supports shared libraries.
9638    case $host_os in
9639    aix[3-9]*)
9640      # On AIX/PPC, the GNU linker is very broken
9641      if test ia64 != "$host_cpu"; then
9642	ld_shlibs=no
9643	cat <<_LT_EOF 1>&2
9644
9645*** Warning: the GNU linker, at least up to release 2.19, is reported
9646*** to be unable to reliably create shared libraries on AIX.
9647*** Therefore, libtool is disabling shared libraries support.  If you
9648*** really care for shared libraries, you may want to install binutils
9649*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9650*** You will then need to restart the configuration process.
9651
9652_LT_EOF
9653      fi
9654      ;;
9655
9656    amigaos*)
9657      case $host_cpu in
9658      powerpc)
9659            # see comment about AmigaOS4 .so support
9660            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9661            archive_expsym_cmds=''
9662        ;;
9663      m68k)
9664            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)'
9665            hardcode_libdir_flag_spec='-L$libdir'
9666            hardcode_minus_L=yes
9667        ;;
9668      esac
9669      ;;
9670
9671    beos*)
9672      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9673	allow_undefined_flag=unsupported
9674	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9675	# support --undefined.  This deserves some investigation.  FIXME
9676	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9677      else
9678	ld_shlibs=no
9679      fi
9680      ;;
9681
9682    cygwin* | mingw* | pw32* | cegcc*)
9683      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9684      # as there is no search path for DLLs.
9685      hardcode_libdir_flag_spec='-L$libdir'
9686      export_dynamic_flag_spec='$wl--export-all-symbols'
9687      allow_undefined_flag=unsupported
9688      always_export_symbols=no
9689      enable_shared_with_static_runtimes=yes
9690      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'
9691      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9692
9693      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9694        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9695	# If the export-symbols file already is a .def file, use it as
9696	# is; otherwise, prepend EXPORTS...
9697	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9698          cp $export_symbols $output_objdir/$soname.def;
9699        else
9700          echo EXPORTS > $output_objdir/$soname.def;
9701          cat $export_symbols >> $output_objdir/$soname.def;
9702        fi~
9703        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9704      else
9705	ld_shlibs=no
9706      fi
9707      ;;
9708
9709    haiku*)
9710      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9711      link_all_deplibs=yes
9712      ;;
9713
9714    os2*)
9715      hardcode_libdir_flag_spec='-L$libdir'
9716      hardcode_minus_L=yes
9717      allow_undefined_flag=unsupported
9718      shrext_cmds=.dll
9719      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9720	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9721	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9722	$ECHO EXPORTS >> $output_objdir/$libname.def~
9723	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9724	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9725	emximp -o $lib $output_objdir/$libname.def'
9726      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9727	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9728	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9729	$ECHO EXPORTS >> $output_objdir/$libname.def~
9730	prefix_cmds="$SED"~
9731	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9732	  prefix_cmds="$prefix_cmds -e 1d";
9733	fi~
9734	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9735	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9736	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9737	emximp -o $lib $output_objdir/$libname.def'
9738      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9739      enable_shared_with_static_runtimes=yes
9740      ;;
9741
9742    interix[3-9]*)
9743      hardcode_direct=no
9744      hardcode_shlibpath_var=no
9745      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9746      export_dynamic_flag_spec='$wl-E'
9747      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9748      # Instead, shared libraries are loaded at an image base (0x10000000 by
9749      # default) and relocated if they conflict, which is a slow very memory
9750      # consuming and fragmenting process.  To avoid this, we pick a random,
9751      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9752      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9753      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9754      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'
9755      ;;
9756
9757    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9758      tmp_diet=no
9759      if test linux-dietlibc = "$host_os"; then
9760	case $cc_basename in
9761	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9762	esac
9763      fi
9764      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9765	 && test no = "$tmp_diet"
9766      then
9767	tmp_addflag=' $pic_flag'
9768	tmp_sharedflag='-shared'
9769	case $cc_basename,$host_cpu in
9770        pgcc*)				# Portland Group C compiler
9771	  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'
9772	  tmp_addflag=' $pic_flag'
9773	  ;;
9774	pgf77* | pgf90* | pgf95* | pgfortran*)
9775					# Portland Group f77 and f90 compilers
9776	  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'
9777	  tmp_addflag=' $pic_flag -Mnomain' ;;
9778	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9779	  tmp_addflag=' -i_dynamic' ;;
9780	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9781	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9782	ifc* | ifort*)			# Intel Fortran compiler
9783	  tmp_addflag=' -nofor_main' ;;
9784	lf95*)				# Lahey Fortran 8.1
9785	  whole_archive_flag_spec=
9786	  tmp_sharedflag='--shared' ;;
9787        nagfor*)                        # NAGFOR 5.3
9788          tmp_sharedflag='-Wl,-shared' ;;
9789	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9790	  tmp_sharedflag='-qmkshrobj'
9791	  tmp_addflag= ;;
9792	nvcc*)	# Cuda Compiler Driver 2.2
9793	  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'
9794	  compiler_needs_object=yes
9795	  ;;
9796	esac
9797	case `$CC -V 2>&1 | sed 5q` in
9798	*Sun\ C*)			# Sun C 5.9
9799	  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'
9800	  compiler_needs_object=yes
9801	  tmp_sharedflag='-G' ;;
9802	*Sun\ F*)			# Sun Fortran 8.3
9803	  tmp_sharedflag='-G' ;;
9804	esac
9805	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9806
9807        if test yes = "$supports_anon_versioning"; then
9808          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9809            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9810            echo "local: *; };" >> $output_objdir/$libname.ver~
9811            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9812        fi
9813
9814	case $cc_basename in
9815	tcc*)
9816	  export_dynamic_flag_spec='-rdynamic'
9817	  ;;
9818	xlf* | bgf* | bgxlf* | mpixlf*)
9819	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9820	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9821	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9822	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9823	  if test yes = "$supports_anon_versioning"; then
9824	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9825              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9826              echo "local: *; };" >> $output_objdir/$libname.ver~
9827              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9828	  fi
9829	  ;;
9830	esac
9831      else
9832        ld_shlibs=no
9833      fi
9834      ;;
9835
9836    netbsd* | netbsdelf*-gnu)
9837      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9838	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9839	wlarc=
9840      else
9841	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9842	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9843      fi
9844      ;;
9845
9846    solaris*)
9847      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9848	ld_shlibs=no
9849	cat <<_LT_EOF 1>&2
9850
9851*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9852*** create shared libraries on Solaris systems.  Therefore, libtool
9853*** is disabling shared libraries support.  We urge you to upgrade GNU
9854*** binutils to release 2.9.1 or newer.  Another option is to modify
9855*** your PATH or compiler configuration so that the native linker is
9856*** used, and then restart.
9857
9858_LT_EOF
9859      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9860	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9861	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9862      else
9863	ld_shlibs=no
9864      fi
9865      ;;
9866
9867    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9868      case `$LD -v 2>&1` in
9869        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9870	ld_shlibs=no
9871	cat <<_LT_EOF 1>&2
9872
9873*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9874*** reliably create shared libraries on SCO systems.  Therefore, libtool
9875*** is disabling shared libraries support.  We urge you to upgrade GNU
9876*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9877*** your PATH or compiler configuration so that the native linker is
9878*** used, and then restart.
9879
9880_LT_EOF
9881	;;
9882	*)
9883	  # For security reasons, it is highly recommended that you always
9884	  # use absolute paths for naming shared libraries, and exclude the
9885	  # DT_RUNPATH tag from executables and libraries.  But doing so
9886	  # requires that you compile everything twice, which is a pain.
9887	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9888	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9889	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9890	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9891	  else
9892	    ld_shlibs=no
9893	  fi
9894	;;
9895      esac
9896      ;;
9897
9898    sunos4*)
9899      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9900      wlarc=
9901      hardcode_direct=yes
9902      hardcode_shlibpath_var=no
9903      ;;
9904
9905    *)
9906      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9907	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9908	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9909      else
9910	ld_shlibs=no
9911      fi
9912      ;;
9913    esac
9914
9915    if test no = "$ld_shlibs"; then
9916      runpath_var=
9917      hardcode_libdir_flag_spec=
9918      export_dynamic_flag_spec=
9919      whole_archive_flag_spec=
9920    fi
9921  else
9922    # PORTME fill in a description of your system's linker (not GNU ld)
9923    case $host_os in
9924    aix3*)
9925      allow_undefined_flag=unsupported
9926      always_export_symbols=yes
9927      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'
9928      # Note: this linker hardcodes the directories in LIBPATH if there
9929      # are no directories specified by -L.
9930      hardcode_minus_L=yes
9931      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9932	# Neither direct hardcoding nor static linking is supported with a
9933	# broken collect2.
9934	hardcode_direct=unsupported
9935      fi
9936      ;;
9937
9938    aix[4-9]*)
9939      if test ia64 = "$host_cpu"; then
9940	# On IA64, the linker does run time linking by default, so we don't
9941	# have to do anything special.
9942	aix_use_runtimelinking=no
9943	exp_sym_flag='-Bexport'
9944	no_entry_flag=
9945      else
9946	# If we're using GNU nm, then we don't want the "-C" option.
9947	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9948	# Without the "-l" option, or with the "-B" option, AIX nm treats
9949	# weak defined symbols like other global defined symbols, whereas
9950	# GNU nm marks them as "W".
9951	# While the 'weak' keyword is ignored in the Export File, we need
9952	# it in the Import File for the 'aix-soname' feature, so we have
9953	# to replace the "-B" option with "-P" for AIX nm.
9954	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9955	  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'
9956	else
9957	  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'
9958	fi
9959	aix_use_runtimelinking=no
9960
9961	# Test if we are trying to use run time linking or normal
9962	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9963	# have runtime linking enabled, and use it for executables.
9964	# For shared libraries, we enable/disable runtime linking
9965	# depending on the kind of the shared library created -
9966	# when "with_aix_soname,aix_use_runtimelinking" is:
9967	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9968	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9969	#            lib.a           static archive
9970	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9971	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9972	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9973	#            lib.a(lib.so.V) shared, rtl:no
9974	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9975	#            lib.a           static archive
9976	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9977	  for ld_flag in $LDFLAGS; do
9978	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9979	    aix_use_runtimelinking=yes
9980	    break
9981	  fi
9982	  done
9983	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9984	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9985	    # so we don't have lib.a shared libs to link our executables.
9986	    # We have to force runtime linking in this case.
9987	    aix_use_runtimelinking=yes
9988	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9989	  fi
9990	  ;;
9991	esac
9992
9993	exp_sym_flag='-bexport'
9994	no_entry_flag='-bnoentry'
9995      fi
9996
9997      # When large executables or shared objects are built, AIX ld can
9998      # have problems creating the table of contents.  If linking a library
9999      # or program results in "error TOC overflow" add -mminimal-toc to
10000      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10001      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10002
10003      archive_cmds=''
10004      hardcode_direct=yes
10005      hardcode_direct_absolute=yes
10006      hardcode_libdir_separator=':'
10007      link_all_deplibs=yes
10008      file_list_spec='$wl-f,'
10009      case $with_aix_soname,$aix_use_runtimelinking in
10010      aix,*) ;; # traditional, no import file
10011      svr4,* | *,yes) # use import file
10012	# The Import File defines what to hardcode.
10013	hardcode_direct=no
10014	hardcode_direct_absolute=no
10015	;;
10016      esac
10017
10018      if test yes = "$GCC"; then
10019	case $host_os in aix4.[012]|aix4.[012].*)
10020	# We only want to do this on AIX 4.2 and lower, the check
10021	# below for broken collect2 doesn't work under 4.3+
10022	  collect2name=`$CC -print-prog-name=collect2`
10023	  if test -f "$collect2name" &&
10024	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10025	  then
10026	  # We have reworked collect2
10027	  :
10028	  else
10029	  # We have old collect2
10030	  hardcode_direct=unsupported
10031	  # It fails to find uninstalled libraries when the uninstalled
10032	  # path is not listed in the libpath.  Setting hardcode_minus_L
10033	  # to unsupported forces relinking
10034	  hardcode_minus_L=yes
10035	  hardcode_libdir_flag_spec='-L$libdir'
10036	  hardcode_libdir_separator=
10037	  fi
10038	  ;;
10039	esac
10040	shared_flag='-shared'
10041	if test yes = "$aix_use_runtimelinking"; then
10042	  shared_flag="$shared_flag "'$wl-G'
10043	fi
10044	# Need to ensure runtime linking is disabled for the traditional
10045	# shared library, or the linker may eventually find shared libraries
10046	# /with/ Import File - we do not want to mix them.
10047	shared_flag_aix='-shared'
10048	shared_flag_svr4='-shared $wl-G'
10049      else
10050	# not using gcc
10051	if test ia64 = "$host_cpu"; then
10052	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10053	# chokes on -Wl,-G. The following line is correct:
10054	  shared_flag='-G'
10055	else
10056	  if test yes = "$aix_use_runtimelinking"; then
10057	    shared_flag='$wl-G'
10058	  else
10059	    shared_flag='$wl-bM:SRE'
10060	  fi
10061	  shared_flag_aix='$wl-bM:SRE'
10062	  shared_flag_svr4='$wl-G'
10063	fi
10064      fi
10065
10066      export_dynamic_flag_spec='$wl-bexpall'
10067      # It seems that -bexpall does not export symbols beginning with
10068      # underscore (_), so it is better to generate a list of symbols to export.
10069      always_export_symbols=yes
10070      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10071	# Warning - without using the other runtime loading flags (-brtl),
10072	# -berok will link without error, but may produce a broken library.
10073	allow_undefined_flag='-berok'
10074        # Determine the default libpath from the value encoded in an
10075        # empty executable.
10076        if test set = "${lt_cv_aix_libpath+set}"; then
10077  aix_libpath=$lt_cv_aix_libpath
10078else
10079  if ${lt_cv_aix_libpath_+:} false; then :
10080  $as_echo_n "(cached) " >&6
10081else
10082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10083/* end confdefs.h.  */
10084
10085int
10086main ()
10087{
10088
10089  ;
10090  return 0;
10091}
10092_ACEOF
10093if ac_fn_c_try_link "$LINENO"; then :
10094
10095  lt_aix_libpath_sed='
10096      /Import File Strings/,/^$/ {
10097	  /^0/ {
10098	      s/^0  *\([^ ]*\) *$/\1/
10099	      p
10100	  }
10101      }'
10102  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10103  # Check for a 64-bit object if we didn't find anything.
10104  if test -z "$lt_cv_aix_libpath_"; then
10105    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10106  fi
10107fi
10108rm -f core conftest.err conftest.$ac_objext \
10109    conftest$ac_exeext conftest.$ac_ext
10110  if test -z "$lt_cv_aix_libpath_"; then
10111    lt_cv_aix_libpath_=/usr/lib:/lib
10112  fi
10113
10114fi
10115
10116  aix_libpath=$lt_cv_aix_libpath_
10117fi
10118
10119        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10120        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
10121      else
10122	if test ia64 = "$host_cpu"; then
10123	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10124	  allow_undefined_flag="-z nodefs"
10125	  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"
10126	else
10127	 # Determine the default libpath from the value encoded in an
10128	 # empty executable.
10129	 if test set = "${lt_cv_aix_libpath+set}"; then
10130  aix_libpath=$lt_cv_aix_libpath
10131else
10132  if ${lt_cv_aix_libpath_+:} false; then :
10133  $as_echo_n "(cached) " >&6
10134else
10135  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10136/* end confdefs.h.  */
10137
10138int
10139main ()
10140{
10141
10142  ;
10143  return 0;
10144}
10145_ACEOF
10146if ac_fn_c_try_link "$LINENO"; then :
10147
10148  lt_aix_libpath_sed='
10149      /Import File Strings/,/^$/ {
10150	  /^0/ {
10151	      s/^0  *\([^ ]*\) *$/\1/
10152	      p
10153	  }
10154      }'
10155  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10156  # Check for a 64-bit object if we didn't find anything.
10157  if test -z "$lt_cv_aix_libpath_"; then
10158    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10159  fi
10160fi
10161rm -f core conftest.err conftest.$ac_objext \
10162    conftest$ac_exeext conftest.$ac_ext
10163  if test -z "$lt_cv_aix_libpath_"; then
10164    lt_cv_aix_libpath_=/usr/lib:/lib
10165  fi
10166
10167fi
10168
10169  aix_libpath=$lt_cv_aix_libpath_
10170fi
10171
10172	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10173	  # Warning - without using the other run time loading flags,
10174	  # -berok will link without error, but may produce a broken library.
10175	  no_undefined_flag=' $wl-bernotok'
10176	  allow_undefined_flag=' $wl-berok'
10177	  if test yes = "$with_gnu_ld"; then
10178	    # We only use this code for GNU lds that support --whole-archive.
10179	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10180	  else
10181	    # Exported symbols can be pulled into shared objects from archives
10182	    whole_archive_flag_spec='$convenience'
10183	  fi
10184	  archive_cmds_need_lc=yes
10185	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10186	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10187	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10188	  if test svr4 != "$with_aix_soname"; then
10189	    # This is similar to how AIX traditionally builds its shared libraries.
10190	    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'
10191	  fi
10192	  if test aix != "$with_aix_soname"; then
10193	    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'
10194	  else
10195	    # used by -dlpreopen to get the symbols
10196	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10197	  fi
10198	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10199	fi
10200      fi
10201      ;;
10202
10203    amigaos*)
10204      case $host_cpu in
10205      powerpc)
10206            # see comment about AmigaOS4 .so support
10207            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10208            archive_expsym_cmds=''
10209        ;;
10210      m68k)
10211            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)'
10212            hardcode_libdir_flag_spec='-L$libdir'
10213            hardcode_minus_L=yes
10214        ;;
10215      esac
10216      ;;
10217
10218    bsdi[45]*)
10219      export_dynamic_flag_spec=-rdynamic
10220      ;;
10221
10222    cygwin* | mingw* | pw32* | cegcc*)
10223      # When not using gcc, we currently assume that we are using
10224      # Microsoft Visual C++.
10225      # hardcode_libdir_flag_spec is actually meaningless, as there is
10226      # no search path for DLLs.
10227      case $cc_basename in
10228      cl*)
10229	# Native MSVC
10230	hardcode_libdir_flag_spec=' '
10231	allow_undefined_flag=unsupported
10232	always_export_symbols=yes
10233	file_list_spec='@'
10234	# Tell ltmain to make .lib files, not .a files.
10235	libext=lib
10236	# Tell ltmain to make .dll files, not .so files.
10237	shrext_cmds=.dll
10238	# FIXME: Setting linknames here is a bad hack.
10239	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10240	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10241            cp "$export_symbols" "$output_objdir/$soname.def";
10242            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10243          else
10244            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10245          fi~
10246          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10247          linknames='
10248	# The linker will not automatically build a static lib if we build a DLL.
10249	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10250	enable_shared_with_static_runtimes=yes
10251	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10252	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10253	# Don't use ranlib
10254	old_postinstall_cmds='chmod 644 $oldlib'
10255	postlink_cmds='lt_outputfile="@OUTPUT@"~
10256          lt_tool_outputfile="@TOOL_OUTPUT@"~
10257          case $lt_outputfile in
10258            *.exe|*.EXE) ;;
10259            *)
10260              lt_outputfile=$lt_outputfile.exe
10261              lt_tool_outputfile=$lt_tool_outputfile.exe
10262              ;;
10263          esac~
10264          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10265            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10266            $RM "$lt_outputfile.manifest";
10267          fi'
10268	;;
10269      *)
10270	# Assume MSVC wrapper
10271	hardcode_libdir_flag_spec=' '
10272	allow_undefined_flag=unsupported
10273	# Tell ltmain to make .lib files, not .a files.
10274	libext=lib
10275	# Tell ltmain to make .dll files, not .so files.
10276	shrext_cmds=.dll
10277	# FIXME: Setting linknames here is a bad hack.
10278	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10279	# The linker will automatically build a .lib file if we build a DLL.
10280	old_archive_from_new_cmds='true'
10281	# FIXME: Should let the user specify the lib program.
10282	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10283	enable_shared_with_static_runtimes=yes
10284	;;
10285      esac
10286      ;;
10287
10288    darwin* | rhapsody*)
10289
10290
10291  archive_cmds_need_lc=no
10292  hardcode_direct=no
10293  hardcode_automatic=yes
10294  hardcode_shlibpath_var=unsupported
10295  if test yes = "$lt_cv_ld_force_load"; then
10296    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\"`'
10297
10298  else
10299    whole_archive_flag_spec=''
10300  fi
10301  link_all_deplibs=yes
10302  allow_undefined_flag=$_lt_dar_allow_undefined
10303  case $cc_basename in
10304     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10305     *) _lt_dar_can_shared=$GCC ;;
10306  esac
10307  if test yes = "$_lt_dar_can_shared"; then
10308    output_verbose_link_cmd=func_echo_all
10309    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10310    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10311    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"
10312    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"
10313
10314  else
10315  ld_shlibs=no
10316  fi
10317
10318      ;;
10319
10320    dgux*)
10321      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10322      hardcode_libdir_flag_spec='-L$libdir'
10323      hardcode_shlibpath_var=no
10324      ;;
10325
10326    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10327    # support.  Future versions do this automatically, but an explicit c++rt0.o
10328    # does not break anything, and helps significantly (at the cost of a little
10329    # extra space).
10330    freebsd2.2*)
10331      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10332      hardcode_libdir_flag_spec='-R$libdir'
10333      hardcode_direct=yes
10334      hardcode_shlibpath_var=no
10335      ;;
10336
10337    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10338    freebsd2.*)
10339      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10340      hardcode_direct=yes
10341      hardcode_minus_L=yes
10342      hardcode_shlibpath_var=no
10343      ;;
10344
10345    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10346    freebsd* | dragonfly*)
10347      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10348      hardcode_libdir_flag_spec='-R$libdir'
10349      hardcode_direct=yes
10350      hardcode_shlibpath_var=no
10351      ;;
10352
10353    hpux9*)
10354      if test yes = "$GCC"; then
10355	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'
10356      else
10357	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'
10358      fi
10359      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10360      hardcode_libdir_separator=:
10361      hardcode_direct=yes
10362
10363      # hardcode_minus_L: Not really in the search PATH,
10364      # but as the default location of the library.
10365      hardcode_minus_L=yes
10366      export_dynamic_flag_spec='$wl-E'
10367      ;;
10368
10369    hpux10*)
10370      if test yes,no = "$GCC,$with_gnu_ld"; then
10371	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10372      else
10373	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10374      fi
10375      if test no = "$with_gnu_ld"; then
10376	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10377	hardcode_libdir_separator=:
10378	hardcode_direct=yes
10379	hardcode_direct_absolute=yes
10380	export_dynamic_flag_spec='$wl-E'
10381	# hardcode_minus_L: Not really in the search PATH,
10382	# but as the default location of the library.
10383	hardcode_minus_L=yes
10384      fi
10385      ;;
10386
10387    hpux11*)
10388      if test yes,no = "$GCC,$with_gnu_ld"; then
10389	case $host_cpu in
10390	hppa*64*)
10391	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10392	  ;;
10393	ia64*)
10394	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10395	  ;;
10396	*)
10397	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10398	  ;;
10399	esac
10400      else
10401	case $host_cpu in
10402	hppa*64*)
10403	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10404	  ;;
10405	ia64*)
10406	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10407	  ;;
10408	*)
10409
10410	  # Older versions of the 11.00 compiler do not understand -b yet
10411	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10412	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10413$as_echo_n "checking if $CC understands -b... " >&6; }
10414if ${lt_cv_prog_compiler__b+:} false; then :
10415  $as_echo_n "(cached) " >&6
10416else
10417  lt_cv_prog_compiler__b=no
10418   save_LDFLAGS=$LDFLAGS
10419   LDFLAGS="$LDFLAGS -b"
10420   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10421   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10422     # The linker can only warn and ignore the option if not recognized
10423     # So say no if there are warnings
10424     if test -s conftest.err; then
10425       # Append any errors to the config.log.
10426       cat conftest.err 1>&5
10427       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10428       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10429       if diff conftest.exp conftest.er2 >/dev/null; then
10430         lt_cv_prog_compiler__b=yes
10431       fi
10432     else
10433       lt_cv_prog_compiler__b=yes
10434     fi
10435   fi
10436   $RM -r conftest*
10437   LDFLAGS=$save_LDFLAGS
10438
10439fi
10440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10441$as_echo "$lt_cv_prog_compiler__b" >&6; }
10442
10443if test yes = "$lt_cv_prog_compiler__b"; then
10444    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10445else
10446    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10447fi
10448
10449	  ;;
10450	esac
10451      fi
10452      if test no = "$with_gnu_ld"; then
10453	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10454	hardcode_libdir_separator=:
10455
10456	case $host_cpu in
10457	hppa*64*|ia64*)
10458	  hardcode_direct=no
10459	  hardcode_shlibpath_var=no
10460	  ;;
10461	*)
10462	  hardcode_direct=yes
10463	  hardcode_direct_absolute=yes
10464	  export_dynamic_flag_spec='$wl-E'
10465
10466	  # hardcode_minus_L: Not really in the search PATH,
10467	  # but as the default location of the library.
10468	  hardcode_minus_L=yes
10469	  ;;
10470	esac
10471      fi
10472      ;;
10473
10474    irix5* | irix6* | nonstopux*)
10475      if test yes = "$GCC"; then
10476	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'
10477	# Try to use the -exported_symbol ld option, if it does not
10478	# work, assume that -exports_file does not work either and
10479	# implicitly export all symbols.
10480	# This should be the same for all languages, so no per-tag cache variable.
10481	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10482$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10483if ${lt_cv_irix_exported_symbol+:} false; then :
10484  $as_echo_n "(cached) " >&6
10485else
10486  save_LDFLAGS=$LDFLAGS
10487	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
10488	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10489/* end confdefs.h.  */
10490int foo (void) { return 0; }
10491_ACEOF
10492if ac_fn_c_try_link "$LINENO"; then :
10493  lt_cv_irix_exported_symbol=yes
10494else
10495  lt_cv_irix_exported_symbol=no
10496fi
10497rm -f core conftest.err conftest.$ac_objext \
10498    conftest$ac_exeext conftest.$ac_ext
10499           LDFLAGS=$save_LDFLAGS
10500fi
10501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10502$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10503	if test yes = "$lt_cv_irix_exported_symbol"; then
10504          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'
10505	fi
10506	link_all_deplibs=no
10507      else
10508	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'
10509	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'
10510      fi
10511      archive_cmds_need_lc='no'
10512      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10513      hardcode_libdir_separator=:
10514      inherit_rpath=yes
10515      link_all_deplibs=yes
10516      ;;
10517
10518    linux*)
10519      case $cc_basename in
10520      tcc*)
10521	# Fabrice Bellard et al's Tiny C Compiler
10522	ld_shlibs=yes
10523	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10524	;;
10525      esac
10526      ;;
10527
10528    netbsd* | netbsdelf*-gnu)
10529      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10530	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10531      else
10532	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10533      fi
10534      hardcode_libdir_flag_spec='-R$libdir'
10535      hardcode_direct=yes
10536      hardcode_shlibpath_var=no
10537      ;;
10538
10539    newsos6)
10540      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10541      hardcode_direct=yes
10542      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10543      hardcode_libdir_separator=:
10544      hardcode_shlibpath_var=no
10545      ;;
10546
10547    *nto* | *qnx*)
10548      ;;
10549
10550    openbsd* | bitrig*)
10551      if test -f /usr/libexec/ld.so; then
10552	hardcode_direct=yes
10553	hardcode_shlibpath_var=no
10554	hardcode_direct_absolute=yes
10555	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
10556	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10557	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
10558	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10559	  export_dynamic_flag_spec='$wl-E'
10560	else
10561	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10562	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10563	fi
10564      else
10565	ld_shlibs=no
10566      fi
10567      ;;
10568
10569    os2*)
10570      hardcode_libdir_flag_spec='-L$libdir'
10571      hardcode_minus_L=yes
10572      allow_undefined_flag=unsupported
10573      shrext_cmds=.dll
10574      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10575	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10576	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10577	$ECHO EXPORTS >> $output_objdir/$libname.def~
10578	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10579	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10580	emximp -o $lib $output_objdir/$libname.def'
10581      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10582	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10583	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10584	$ECHO EXPORTS >> $output_objdir/$libname.def~
10585	prefix_cmds="$SED"~
10586	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10587	  prefix_cmds="$prefix_cmds -e 1d";
10588	fi~
10589	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10590	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10591	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10592	emximp -o $lib $output_objdir/$libname.def'
10593      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10594      enable_shared_with_static_runtimes=yes
10595      ;;
10596
10597    osf3*)
10598      if test yes = "$GCC"; then
10599	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10600	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'
10601      else
10602	allow_undefined_flag=' -expect_unresolved \*'
10603	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'
10604      fi
10605      archive_cmds_need_lc='no'
10606      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10607      hardcode_libdir_separator=:
10608      ;;
10609
10610    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10611      if test yes = "$GCC"; then
10612	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10613	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'
10614	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10615      else
10616	allow_undefined_flag=' -expect_unresolved \*'
10617	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'
10618	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~
10619          $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'
10620
10621	# Both c and cxx compiler support -rpath directly
10622	hardcode_libdir_flag_spec='-rpath $libdir'
10623      fi
10624      archive_cmds_need_lc='no'
10625      hardcode_libdir_separator=:
10626      ;;
10627
10628    solaris*)
10629      no_undefined_flag=' -z defs'
10630      if test yes = "$GCC"; then
10631	wlarc='$wl'
10632	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10633	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10634          $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'
10635      else
10636	case `$CC -V 2>&1` in
10637	*"Compilers 5.0"*)
10638	  wlarc=''
10639	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10640	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10641            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10642	  ;;
10643	*)
10644	  wlarc='$wl'
10645	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10646	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10647            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10648	  ;;
10649	esac
10650      fi
10651      hardcode_libdir_flag_spec='-R$libdir'
10652      hardcode_shlibpath_var=no
10653      case $host_os in
10654      solaris2.[0-5] | solaris2.[0-5].*) ;;
10655      *)
10656	# The compiler driver will combine and reorder linker options,
10657	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10658	# but is careful enough not to reorder.
10659	# Supported since Solaris 2.6 (maybe 2.5.1?)
10660	if test yes = "$GCC"; then
10661	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10662	else
10663	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10664	fi
10665	;;
10666      esac
10667      link_all_deplibs=yes
10668      ;;
10669
10670    sunos4*)
10671      if test sequent = "$host_vendor"; then
10672	# Use $CC to link under sequent, because it throws in some extra .o
10673	# files that make .init and .fini sections work.
10674	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10675      else
10676	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10677      fi
10678      hardcode_libdir_flag_spec='-L$libdir'
10679      hardcode_direct=yes
10680      hardcode_minus_L=yes
10681      hardcode_shlibpath_var=no
10682      ;;
10683
10684    sysv4)
10685      case $host_vendor in
10686	sni)
10687	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10688	  hardcode_direct=yes # is this really true???
10689	;;
10690	siemens)
10691	  ## LD is ld it makes a PLAMLIB
10692	  ## CC just makes a GrossModule.
10693	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10694	  reload_cmds='$CC -r -o $output$reload_objs'
10695	  hardcode_direct=no
10696        ;;
10697	motorola)
10698	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10699	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10700	;;
10701      esac
10702      runpath_var='LD_RUN_PATH'
10703      hardcode_shlibpath_var=no
10704      ;;
10705
10706    sysv4.3*)
10707      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10708      hardcode_shlibpath_var=no
10709      export_dynamic_flag_spec='-Bexport'
10710      ;;
10711
10712    sysv4*MP*)
10713      if test -d /usr/nec; then
10714	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10715	hardcode_shlibpath_var=no
10716	runpath_var=LD_RUN_PATH
10717	hardcode_runpath_var=yes
10718	ld_shlibs=yes
10719      fi
10720      ;;
10721
10722    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10723      no_undefined_flag='$wl-z,text'
10724      archive_cmds_need_lc=no
10725      hardcode_shlibpath_var=no
10726      runpath_var='LD_RUN_PATH'
10727
10728      if test yes = "$GCC"; then
10729	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10730	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10731      else
10732	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10733	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10734      fi
10735      ;;
10736
10737    sysv5* | sco3.2v5* | sco5v6*)
10738      # Note: We CANNOT use -z defs as we might desire, because we do not
10739      # link with -lc, and that would cause any symbols used from libc to
10740      # always be unresolved, which means just about no library would
10741      # ever link correctly.  If we're not using GNU ld we use -z text
10742      # though, which does catch some bad symbols but isn't as heavy-handed
10743      # as -z defs.
10744      no_undefined_flag='$wl-z,text'
10745      allow_undefined_flag='$wl-z,nodefs'
10746      archive_cmds_need_lc=no
10747      hardcode_shlibpath_var=no
10748      hardcode_libdir_flag_spec='$wl-R,$libdir'
10749      hardcode_libdir_separator=':'
10750      link_all_deplibs=yes
10751      export_dynamic_flag_spec='$wl-Bexport'
10752      runpath_var='LD_RUN_PATH'
10753
10754      if test yes = "$GCC"; then
10755	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10756	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757      else
10758	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10760      fi
10761      ;;
10762
10763    uts4*)
10764      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10765      hardcode_libdir_flag_spec='-L$libdir'
10766      hardcode_shlibpath_var=no
10767      ;;
10768
10769    *)
10770      ld_shlibs=no
10771      ;;
10772    esac
10773
10774    if test sni = "$host_vendor"; then
10775      case $host in
10776      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10777	export_dynamic_flag_spec='$wl-Blargedynsym'
10778	;;
10779      esac
10780    fi
10781  fi
10782
10783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10784$as_echo "$ld_shlibs" >&6; }
10785test no = "$ld_shlibs" && can_build_shared=no
10786
10787with_gnu_ld=$with_gnu_ld
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803#
10804# Do we need to explicitly link libc?
10805#
10806case "x$archive_cmds_need_lc" in
10807x|xyes)
10808  # Assume -lc should be added
10809  archive_cmds_need_lc=yes
10810
10811  if test yes,yes = "$GCC,$enable_shared"; then
10812    case $archive_cmds in
10813    *'~'*)
10814      # FIXME: we may have to deal with multi-command sequences.
10815      ;;
10816    '$CC '*)
10817      # Test whether the compiler implicitly links with -lc since on some
10818      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10819      # to ld, don't add -lc before -lgcc.
10820      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10821$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10822if ${lt_cv_archive_cmds_need_lc+:} false; then :
10823  $as_echo_n "(cached) " >&6
10824else
10825  $RM conftest*
10826	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10827
10828	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10829  (eval $ac_compile) 2>&5
10830  ac_status=$?
10831  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10832  test $ac_status = 0; } 2>conftest.err; then
10833	  soname=conftest
10834	  lib=conftest
10835	  libobjs=conftest.$ac_objext
10836	  deplibs=
10837	  wl=$lt_prog_compiler_wl
10838	  pic_flag=$lt_prog_compiler_pic
10839	  compiler_flags=-v
10840	  linker_flags=-v
10841	  verstring=
10842	  output_objdir=.
10843	  libname=conftest
10844	  lt_save_allow_undefined_flag=$allow_undefined_flag
10845	  allow_undefined_flag=
10846	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10847  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10848  ac_status=$?
10849  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10850  test $ac_status = 0; }
10851	  then
10852	    lt_cv_archive_cmds_need_lc=no
10853	  else
10854	    lt_cv_archive_cmds_need_lc=yes
10855	  fi
10856	  allow_undefined_flag=$lt_save_allow_undefined_flag
10857	else
10858	  cat conftest.err 1>&5
10859	fi
10860	$RM conftest*
10861
10862fi
10863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10864$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10865      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10866      ;;
10867    esac
10868  fi
10869  ;;
10870esac
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11024$as_echo_n "checking dynamic linker characteristics... " >&6; }
11025
11026if test yes = "$GCC"; then
11027  case $host_os in
11028    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11029    *) lt_awk_arg='/^libraries:/' ;;
11030  esac
11031  case $host_os in
11032    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11033    *) lt_sed_strip_eq='s|=/|/|g' ;;
11034  esac
11035  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11036  case $lt_search_path_spec in
11037  *\;*)
11038    # if the path contains ";" then we assume it to be the separator
11039    # otherwise default to the standard path separator (i.e. ":") - it is
11040    # assumed that no part of a normal pathname contains ";" but that should
11041    # okay in the real world where ";" in dirpaths is itself problematic.
11042    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11043    ;;
11044  *)
11045    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11046    ;;
11047  esac
11048  # Ok, now we have the path, separated by spaces, we can step through it
11049  # and add multilib dir if necessary...
11050  lt_tmp_lt_search_path_spec=
11051  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11052  # ...but if some path component already ends with the multilib dir we assume
11053  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11054  case "$lt_multi_os_dir; $lt_search_path_spec " in
11055  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11056    lt_multi_os_dir=
11057    ;;
11058  esac
11059  for lt_sys_path in $lt_search_path_spec; do
11060    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11061      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11062    elif test -n "$lt_multi_os_dir"; then
11063      test -d "$lt_sys_path" && \
11064	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11065    fi
11066  done
11067  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11068BEGIN {RS = " "; FS = "/|\n";} {
11069  lt_foo = "";
11070  lt_count = 0;
11071  for (lt_i = NF; lt_i > 0; lt_i--) {
11072    if ($lt_i != "" && $lt_i != ".") {
11073      if ($lt_i == "..") {
11074        lt_count++;
11075      } else {
11076        if (lt_count == 0) {
11077          lt_foo = "/" $lt_i lt_foo;
11078        } else {
11079          lt_count--;
11080        }
11081      }
11082    }
11083  }
11084  if (lt_foo != "") { lt_freq[lt_foo]++; }
11085  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11086}'`
11087  # AWK program above erroneously prepends '/' to C:/dos/paths
11088  # for these hosts.
11089  case $host_os in
11090    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11091      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11092  esac
11093  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11094else
11095  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11096fi
11097library_names_spec=
11098libname_spec='lib$name'
11099soname_spec=
11100shrext_cmds=.so
11101postinstall_cmds=
11102postuninstall_cmds=
11103finish_cmds=
11104finish_eval=
11105shlibpath_var=
11106shlibpath_overrides_runpath=unknown
11107version_type=none
11108dynamic_linker="$host_os ld.so"
11109sys_lib_dlsearch_path_spec="/lib /usr/lib"
11110need_lib_prefix=unknown
11111hardcode_into_libs=no
11112
11113# when you set need_version to no, make sure it does not cause -set_version
11114# flags to be left without arguments
11115need_version=unknown
11116
11117
11118
11119case $host_os in
11120aix3*)
11121  version_type=linux # correct to gnu/linux during the next big refactor
11122  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11123  shlibpath_var=LIBPATH
11124
11125  # AIX 3 has no versioning support, so we append a major version to the name.
11126  soname_spec='$libname$release$shared_ext$major'
11127  ;;
11128
11129aix[4-9]*)
11130  version_type=linux # correct to gnu/linux during the next big refactor
11131  need_lib_prefix=no
11132  need_version=no
11133  hardcode_into_libs=yes
11134  if test ia64 = "$host_cpu"; then
11135    # AIX 5 supports IA64
11136    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11137    shlibpath_var=LD_LIBRARY_PATH
11138  else
11139    # With GCC up to 2.95.x, collect2 would create an import file
11140    # for dependence libraries.  The import file would start with
11141    # the line '#! .'.  This would cause the generated library to
11142    # depend on '.', always an invalid library.  This was fixed in
11143    # development snapshots of GCC prior to 3.0.
11144    case $host_os in
11145      aix4 | aix4.[01] | aix4.[01].*)
11146      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11147	   echo ' yes '
11148	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11149	:
11150      else
11151	can_build_shared=no
11152      fi
11153      ;;
11154    esac
11155    # Using Import Files as archive members, it is possible to support
11156    # filename-based versioning of shared library archives on AIX. While
11157    # this would work for both with and without runtime linking, it will
11158    # prevent static linking of such archives. So we do filename-based
11159    # shared library versioning with .so extension only, which is used
11160    # when both runtime linking and shared linking is enabled.
11161    # Unfortunately, runtime linking may impact performance, so we do
11162    # not want this to be the default eventually. Also, we use the
11163    # versioned .so libs for executables only if there is the -brtl
11164    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11165    # To allow for filename-based versioning support, we need to create
11166    # libNAME.so.V as an archive file, containing:
11167    # *) an Import File, referring to the versioned filename of the
11168    #    archive as well as the shared archive member, telling the
11169    #    bitwidth (32 or 64) of that shared object, and providing the
11170    #    list of exported symbols of that shared object, eventually
11171    #    decorated with the 'weak' keyword
11172    # *) the shared object with the F_LOADONLY flag set, to really avoid
11173    #    it being seen by the linker.
11174    # At run time we better use the real file rather than another symlink,
11175    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11176
11177    case $with_aix_soname,$aix_use_runtimelinking in
11178    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11179    # soname into executable. Probably we can add versioning support to
11180    # collect2, so additional links can be useful in future.
11181    aix,yes) # traditional libtool
11182      dynamic_linker='AIX unversionable lib.so'
11183      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11184      # instead of lib<name>.a to let people know that these are not
11185      # typical AIX shared libraries.
11186      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11187      ;;
11188    aix,no) # traditional AIX only
11189      dynamic_linker='AIX lib.a(lib.so.V)'
11190      # We preserve .a as extension for shared libraries through AIX4.2
11191      # and later when we are not doing run time linking.
11192      library_names_spec='$libname$release.a $libname.a'
11193      soname_spec='$libname$release$shared_ext$major'
11194      ;;
11195    svr4,*) # full svr4 only
11196      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11197      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11198      # We do not specify a path in Import Files, so LIBPATH fires.
11199      shlibpath_overrides_runpath=yes
11200      ;;
11201    *,yes) # both, prefer svr4
11202      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11203      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11204      # unpreferred sharedlib libNAME.a needs extra handling
11205      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"'
11206      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"'
11207      # We do not specify a path in Import Files, so LIBPATH fires.
11208      shlibpath_overrides_runpath=yes
11209      ;;
11210    *,no) # both, prefer aix
11211      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11212      library_names_spec='$libname$release.a $libname.a'
11213      soname_spec='$libname$release$shared_ext$major'
11214      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11215      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)'
11216      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"'
11217      ;;
11218    esac
11219    shlibpath_var=LIBPATH
11220  fi
11221  ;;
11222
11223amigaos*)
11224  case $host_cpu in
11225  powerpc)
11226    # Since July 2007 AmigaOS4 officially supports .so libraries.
11227    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11228    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11229    ;;
11230  m68k)
11231    library_names_spec='$libname.ixlibrary $libname.a'
11232    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11233    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'
11234    ;;
11235  esac
11236  ;;
11237
11238beos*)
11239  library_names_spec='$libname$shared_ext'
11240  dynamic_linker="$host_os ld.so"
11241  shlibpath_var=LIBRARY_PATH
11242  ;;
11243
11244bsdi[45]*)
11245  version_type=linux # correct to gnu/linux during the next big refactor
11246  need_version=no
11247  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11248  soname_spec='$libname$release$shared_ext$major'
11249  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11250  shlibpath_var=LD_LIBRARY_PATH
11251  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11252  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11253  # the default ld.so.conf also contains /usr/contrib/lib and
11254  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11255  # libtool to hard-code these into programs
11256  ;;
11257
11258cygwin* | mingw* | pw32* | cegcc*)
11259  version_type=windows
11260  shrext_cmds=.dll
11261  need_version=no
11262  need_lib_prefix=no
11263
11264  case $GCC,$cc_basename in
11265  yes,*)
11266    # gcc
11267    library_names_spec='$libname.dll.a'
11268    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11269    postinstall_cmds='base_file=`basename \$file`~
11270      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11271      dldir=$destdir/`dirname \$dlpath`~
11272      test -d \$dldir || mkdir -p \$dldir~
11273      $install_prog $dir/$dlname \$dldir/$dlname~
11274      chmod a+x \$dldir/$dlname~
11275      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11276        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11277      fi'
11278    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11279      dlpath=$dir/\$dldll~
11280       $RM \$dlpath'
11281    shlibpath_overrides_runpath=yes
11282
11283    case $host_os in
11284    cygwin*)
11285      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11286      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11287
11288      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11289      ;;
11290    mingw* | cegcc*)
11291      # MinGW DLLs use traditional 'lib' prefix
11292      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11293      ;;
11294    pw32*)
11295      # pw32 DLLs use 'pw' prefix rather than 'lib'
11296      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11297      ;;
11298    esac
11299    dynamic_linker='Win32 ld.exe'
11300    ;;
11301
11302  *,cl*)
11303    # Native MSVC
11304    libname_spec='$name'
11305    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11306    library_names_spec='$libname.dll.lib'
11307
11308    case $build_os in
11309    mingw*)
11310      sys_lib_search_path_spec=
11311      lt_save_ifs=$IFS
11312      IFS=';'
11313      for lt_path in $LIB
11314      do
11315        IFS=$lt_save_ifs
11316        # Let DOS variable expansion print the short 8.3 style file name.
11317        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11318        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11319      done
11320      IFS=$lt_save_ifs
11321      # Convert to MSYS style.
11322      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11323      ;;
11324    cygwin*)
11325      # Convert to unix form, then to dos form, then back to unix form
11326      # but this time dos style (no spaces!) so that the unix form looks
11327      # like /cygdrive/c/PROGRA~1:/cygdr...
11328      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11329      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11330      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11331      ;;
11332    *)
11333      sys_lib_search_path_spec=$LIB
11334      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11335        # It is most probably a Windows format PATH.
11336        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11337      else
11338        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11339      fi
11340      # FIXME: find the short name or the path components, as spaces are
11341      # common. (e.g. "Program Files" -> "PROGRA~1")
11342      ;;
11343    esac
11344
11345    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11346    postinstall_cmds='base_file=`basename \$file`~
11347      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11348      dldir=$destdir/`dirname \$dlpath`~
11349      test -d \$dldir || mkdir -p \$dldir~
11350      $install_prog $dir/$dlname \$dldir/$dlname'
11351    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11352      dlpath=$dir/\$dldll~
11353       $RM \$dlpath'
11354    shlibpath_overrides_runpath=yes
11355    dynamic_linker='Win32 link.exe'
11356    ;;
11357
11358  *)
11359    # Assume MSVC wrapper
11360    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11361    dynamic_linker='Win32 ld.exe'
11362    ;;
11363  esac
11364  # FIXME: first we should search . and the directory the executable is in
11365  shlibpath_var=PATH
11366  ;;
11367
11368darwin* | rhapsody*)
11369  dynamic_linker="$host_os dyld"
11370  version_type=darwin
11371  need_lib_prefix=no
11372  need_version=no
11373  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11374  soname_spec='$libname$release$major$shared_ext'
11375  shlibpath_overrides_runpath=yes
11376  shlibpath_var=DYLD_LIBRARY_PATH
11377  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11378
11379  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11380  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11381  ;;
11382
11383dgux*)
11384  version_type=linux # correct to gnu/linux during the next big refactor
11385  need_lib_prefix=no
11386  need_version=no
11387  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11388  soname_spec='$libname$release$shared_ext$major'
11389  shlibpath_var=LD_LIBRARY_PATH
11390  ;;
11391
11392freebsd* | dragonfly*)
11393  # DragonFly does not have aout.  When/if they implement a new
11394  # versioning mechanism, adjust this.
11395  if test -x /usr/bin/objformat; then
11396    objformat=`/usr/bin/objformat`
11397  else
11398    case $host_os in
11399    freebsd[23].*) objformat=aout ;;
11400    *) objformat=elf ;;
11401    esac
11402  fi
11403  version_type=freebsd-$objformat
11404  case $version_type in
11405    freebsd-elf*)
11406      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11407      soname_spec='$libname$release$shared_ext$major'
11408      need_version=no
11409      need_lib_prefix=no
11410      ;;
11411    freebsd-*)
11412      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11413      need_version=yes
11414      ;;
11415  esac
11416  shlibpath_var=LD_LIBRARY_PATH
11417  case $host_os in
11418  freebsd2.*)
11419    shlibpath_overrides_runpath=yes
11420    ;;
11421  freebsd3.[01]* | freebsdelf3.[01]*)
11422    shlibpath_overrides_runpath=yes
11423    hardcode_into_libs=yes
11424    ;;
11425  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11426  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11427    shlibpath_overrides_runpath=no
11428    hardcode_into_libs=yes
11429    ;;
11430  *) # from 4.6 on, and DragonFly
11431    shlibpath_overrides_runpath=yes
11432    hardcode_into_libs=yes
11433    ;;
11434  esac
11435  ;;
11436
11437haiku*)
11438  version_type=linux # correct to gnu/linux during the next big refactor
11439  need_lib_prefix=no
11440  need_version=no
11441  dynamic_linker="$host_os runtime_loader"
11442  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11443  soname_spec='$libname$release$shared_ext$major'
11444  shlibpath_var=LIBRARY_PATH
11445  shlibpath_overrides_runpath=no
11446  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11447  hardcode_into_libs=yes
11448  ;;
11449
11450hpux9* | hpux10* | hpux11*)
11451  # Give a soname corresponding to the major version so that dld.sl refuses to
11452  # link against other versions.
11453  version_type=sunos
11454  need_lib_prefix=no
11455  need_version=no
11456  case $host_cpu in
11457  ia64*)
11458    shrext_cmds='.so'
11459    hardcode_into_libs=yes
11460    dynamic_linker="$host_os dld.so"
11461    shlibpath_var=LD_LIBRARY_PATH
11462    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11463    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11464    soname_spec='$libname$release$shared_ext$major'
11465    if test 32 = "$HPUX_IA64_MODE"; then
11466      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11467      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
11468    else
11469      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11470      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
11471    fi
11472    ;;
11473  hppa*64*)
11474    shrext_cmds='.sl'
11475    hardcode_into_libs=yes
11476    dynamic_linker="$host_os dld.sl"
11477    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11478    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11479    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11480    soname_spec='$libname$release$shared_ext$major'
11481    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11482    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11483    ;;
11484  *)
11485    shrext_cmds='.sl'
11486    dynamic_linker="$host_os dld.sl"
11487    shlibpath_var=SHLIB_PATH
11488    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11489    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11490    soname_spec='$libname$release$shared_ext$major'
11491    ;;
11492  esac
11493  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11494  postinstall_cmds='chmod 555 $lib'
11495  # or fails outright, so override atomically:
11496  install_override_mode=555
11497  ;;
11498
11499interix[3-9]*)
11500  version_type=linux # correct to gnu/linux during the next big refactor
11501  need_lib_prefix=no
11502  need_version=no
11503  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11504  soname_spec='$libname$release$shared_ext$major'
11505  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11506  shlibpath_var=LD_LIBRARY_PATH
11507  shlibpath_overrides_runpath=no
11508  hardcode_into_libs=yes
11509  ;;
11510
11511irix5* | irix6* | nonstopux*)
11512  case $host_os in
11513    nonstopux*) version_type=nonstopux ;;
11514    *)
11515	if test yes = "$lt_cv_prog_gnu_ld"; then
11516		version_type=linux # correct to gnu/linux during the next big refactor
11517	else
11518		version_type=irix
11519	fi ;;
11520  esac
11521  need_lib_prefix=no
11522  need_version=no
11523  soname_spec='$libname$release$shared_ext$major'
11524  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
11525  case $host_os in
11526  irix5* | nonstopux*)
11527    libsuff= shlibsuff=
11528    ;;
11529  *)
11530    case $LD in # libtool.m4 will add one of these switches to LD
11531    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11532      libsuff= shlibsuff= libmagic=32-bit;;
11533    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11534      libsuff=32 shlibsuff=N32 libmagic=N32;;
11535    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11536      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11537    *) libsuff= shlibsuff= libmagic=never-match;;
11538    esac
11539    ;;
11540  esac
11541  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11542  shlibpath_overrides_runpath=no
11543  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
11544  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
11545  hardcode_into_libs=yes
11546  ;;
11547
11548# No shared lib support for Linux oldld, aout, or coff.
11549linux*oldld* | linux*aout* | linux*coff*)
11550  dynamic_linker=no
11551  ;;
11552
11553linux*android*)
11554  version_type=none # Android doesn't support versioned libraries.
11555  need_lib_prefix=no
11556  need_version=no
11557  library_names_spec='$libname$release$shared_ext'
11558  soname_spec='$libname$release$shared_ext'
11559  finish_cmds=
11560  shlibpath_var=LD_LIBRARY_PATH
11561  shlibpath_overrides_runpath=yes
11562
11563  # This implies no fast_install, which is unacceptable.
11564  # Some rework will be needed to allow for fast_install
11565  # before this can be enabled.
11566  hardcode_into_libs=yes
11567
11568  dynamic_linker='Android linker'
11569  # Don't embed -rpath directories since the linker doesn't support them.
11570  hardcode_libdir_flag_spec='-L$libdir'
11571  ;;
11572
11573# This must be glibc/ELF.
11574linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11575  version_type=linux # correct to gnu/linux during the next big refactor
11576  need_lib_prefix=no
11577  need_version=no
11578  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11579  soname_spec='$libname$release$shared_ext$major'
11580  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11581  shlibpath_var=LD_LIBRARY_PATH
11582  shlibpath_overrides_runpath=no
11583
11584  # Some binutils ld are patched to set DT_RUNPATH
11585  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11586  $as_echo_n "(cached) " >&6
11587else
11588  lt_cv_shlibpath_overrides_runpath=no
11589    save_LDFLAGS=$LDFLAGS
11590    save_libdir=$libdir
11591    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11592	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11593    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11594/* end confdefs.h.  */
11595
11596int
11597main ()
11598{
11599
11600  ;
11601  return 0;
11602}
11603_ACEOF
11604if ac_fn_c_try_link "$LINENO"; then :
11605  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11606  lt_cv_shlibpath_overrides_runpath=yes
11607fi
11608fi
11609rm -f core conftest.err conftest.$ac_objext \
11610    conftest$ac_exeext conftest.$ac_ext
11611    LDFLAGS=$save_LDFLAGS
11612    libdir=$save_libdir
11613
11614fi
11615
11616  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11617
11618  # This implies no fast_install, which is unacceptable.
11619  # Some rework will be needed to allow for fast_install
11620  # before this can be enabled.
11621  hardcode_into_libs=yes
11622
11623  # Ideally, we could use ldconfig to report *all* directores which are
11624  # searched for libraries, however this is still not possible.  Aside from not
11625  # being certain /sbin/ldconfig is available, command
11626  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11627  # even though it is searched at run-time.  Try to do the best guess by
11628  # appending ld.so.conf contents (and includes) to the search path.
11629  if test -f /etc/ld.so.conf; then
11630    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' ' '`
11631    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11632  fi
11633
11634  # We used to test for /lib/ld.so.1 and disable shared libraries on
11635  # powerpc, because MkLinux only supported shared libraries with the
11636  # GNU dynamic linker.  Since this was broken with cross compilers,
11637  # most powerpc-linux boxes support dynamic linking these days and
11638  # people can always --disable-shared, the test was removed, and we
11639  # assume the GNU/Linux dynamic linker is in use.
11640  dynamic_linker='GNU/Linux ld.so'
11641  ;;
11642
11643netbsdelf*-gnu)
11644  version_type=linux
11645  need_lib_prefix=no
11646  need_version=no
11647  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11648  soname_spec='${libname}${release}${shared_ext}$major'
11649  shlibpath_var=LD_LIBRARY_PATH
11650  shlibpath_overrides_runpath=no
11651  hardcode_into_libs=yes
11652  dynamic_linker='NetBSD ld.elf_so'
11653  ;;
11654
11655netbsd*)
11656  version_type=sunos
11657  need_lib_prefix=no
11658  need_version=no
11659  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11660    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11661    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11662    dynamic_linker='NetBSD (a.out) ld.so'
11663  else
11664    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11665    soname_spec='$libname$release$shared_ext$major'
11666    dynamic_linker='NetBSD ld.elf_so'
11667  fi
11668  shlibpath_var=LD_LIBRARY_PATH
11669  shlibpath_overrides_runpath=yes
11670  hardcode_into_libs=yes
11671  ;;
11672
11673newsos6)
11674  version_type=linux # correct to gnu/linux during the next big refactor
11675  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11676  shlibpath_var=LD_LIBRARY_PATH
11677  shlibpath_overrides_runpath=yes
11678  ;;
11679
11680*nto* | *qnx*)
11681  version_type=qnx
11682  need_lib_prefix=no
11683  need_version=no
11684  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11685  soname_spec='$libname$release$shared_ext$major'
11686  shlibpath_var=LD_LIBRARY_PATH
11687  shlibpath_overrides_runpath=no
11688  hardcode_into_libs=yes
11689  dynamic_linker='ldqnx.so'
11690  ;;
11691
11692openbsd* | bitrig*)
11693  version_type=sunos
11694  sys_lib_dlsearch_path_spec=/usr/lib
11695  need_lib_prefix=no
11696  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11697    need_version=no
11698  else
11699    need_version=yes
11700  fi
11701  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11702  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11703  shlibpath_var=LD_LIBRARY_PATH
11704  shlibpath_overrides_runpath=yes
11705  ;;
11706
11707os2*)
11708  libname_spec='$name'
11709  version_type=windows
11710  shrext_cmds=.dll
11711  need_version=no
11712  need_lib_prefix=no
11713  # OS/2 can only load a DLL with a base name of 8 characters or less.
11714  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11715    v=$($ECHO $release$versuffix | tr -d .-);
11716    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11717    $ECHO $n$v`$shared_ext'
11718  library_names_spec='${libname}_dll.$libext'
11719  dynamic_linker='OS/2 ld.exe'
11720  shlibpath_var=BEGINLIBPATH
11721  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11722  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11723  postinstall_cmds='base_file=`basename \$file`~
11724    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11725    dldir=$destdir/`dirname \$dlpath`~
11726    test -d \$dldir || mkdir -p \$dldir~
11727    $install_prog $dir/$dlname \$dldir/$dlname~
11728    chmod a+x \$dldir/$dlname~
11729    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11730      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11731    fi'
11732  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11733    dlpath=$dir/\$dldll~
11734    $RM \$dlpath'
11735  ;;
11736
11737osf3* | osf4* | osf5*)
11738  version_type=osf
11739  need_lib_prefix=no
11740  need_version=no
11741  soname_spec='$libname$release$shared_ext$major'
11742  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11743  shlibpath_var=LD_LIBRARY_PATH
11744  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11745  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11746  ;;
11747
11748rdos*)
11749  dynamic_linker=no
11750  ;;
11751
11752solaris*)
11753  version_type=linux # correct to gnu/linux during the next big refactor
11754  need_lib_prefix=no
11755  need_version=no
11756  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11757  soname_spec='$libname$release$shared_ext$major'
11758  shlibpath_var=LD_LIBRARY_PATH
11759  shlibpath_overrides_runpath=yes
11760  hardcode_into_libs=yes
11761  # ldd complains unless libraries are executable
11762  postinstall_cmds='chmod +x $lib'
11763  ;;
11764
11765sunos4*)
11766  version_type=sunos
11767  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11768  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11769  shlibpath_var=LD_LIBRARY_PATH
11770  shlibpath_overrides_runpath=yes
11771  if test yes = "$with_gnu_ld"; then
11772    need_lib_prefix=no
11773  fi
11774  need_version=yes
11775  ;;
11776
11777sysv4 | sysv4.3*)
11778  version_type=linux # correct to gnu/linux during the next big refactor
11779  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11780  soname_spec='$libname$release$shared_ext$major'
11781  shlibpath_var=LD_LIBRARY_PATH
11782  case $host_vendor in
11783    sni)
11784      shlibpath_overrides_runpath=no
11785      need_lib_prefix=no
11786      runpath_var=LD_RUN_PATH
11787      ;;
11788    siemens)
11789      need_lib_prefix=no
11790      ;;
11791    motorola)
11792      need_lib_prefix=no
11793      need_version=no
11794      shlibpath_overrides_runpath=no
11795      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11796      ;;
11797  esac
11798  ;;
11799
11800sysv4*MP*)
11801  if test -d /usr/nec; then
11802    version_type=linux # correct to gnu/linux during the next big refactor
11803    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11804    soname_spec='$libname$shared_ext.$major'
11805    shlibpath_var=LD_LIBRARY_PATH
11806  fi
11807  ;;
11808
11809sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11810  version_type=sco
11811  need_lib_prefix=no
11812  need_version=no
11813  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11814  soname_spec='$libname$release$shared_ext$major'
11815  shlibpath_var=LD_LIBRARY_PATH
11816  shlibpath_overrides_runpath=yes
11817  hardcode_into_libs=yes
11818  if test yes = "$with_gnu_ld"; then
11819    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11820  else
11821    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11822    case $host_os in
11823      sco3.2v5*)
11824        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11825	;;
11826    esac
11827  fi
11828  sys_lib_dlsearch_path_spec='/usr/lib'
11829  ;;
11830
11831tpf*)
11832  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11833  version_type=linux # correct to gnu/linux during the next big refactor
11834  need_lib_prefix=no
11835  need_version=no
11836  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11837  shlibpath_var=LD_LIBRARY_PATH
11838  shlibpath_overrides_runpath=no
11839  hardcode_into_libs=yes
11840  ;;
11841
11842uts4*)
11843  version_type=linux # correct to gnu/linux during the next big refactor
11844  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11845  soname_spec='$libname$release$shared_ext$major'
11846  shlibpath_var=LD_LIBRARY_PATH
11847  ;;
11848
11849*)
11850  dynamic_linker=no
11851  ;;
11852esac
11853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11854$as_echo "$dynamic_linker" >&6; }
11855test no = "$dynamic_linker" && can_build_shared=no
11856
11857variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11858if test yes = "$GCC"; then
11859  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11860fi
11861
11862if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11863  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11864fi
11865
11866if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11867  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11868fi
11869
11870# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11871configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11872
11873# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11874func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11875
11876# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11877configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11976$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11977hardcode_action=
11978if test -n "$hardcode_libdir_flag_spec" ||
11979   test -n "$runpath_var" ||
11980   test yes = "$hardcode_automatic"; then
11981
11982  # We can hardcode non-existent directories.
11983  if test no != "$hardcode_direct" &&
11984     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11985     # have to relink, otherwise we might link with an installed library
11986     # when we should be linking with a yet-to-be-installed one
11987     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11988     test no != "$hardcode_minus_L"; then
11989    # Linking always hardcodes the temporary library directory.
11990    hardcode_action=relink
11991  else
11992    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11993    hardcode_action=immediate
11994  fi
11995else
11996  # We cannot hardcode anything, or else we can only hardcode existing
11997  # directories.
11998  hardcode_action=unsupported
11999fi
12000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12001$as_echo "$hardcode_action" >&6; }
12002
12003if test relink = "$hardcode_action" ||
12004   test yes = "$inherit_rpath"; then
12005  # Fast installation is not supported
12006  enable_fast_install=no
12007elif test yes = "$shlibpath_overrides_runpath" ||
12008     test no = "$enable_shared"; then
12009  # Fast installation is not necessary
12010  enable_fast_install=needless
12011fi
12012
12013
12014
12015
12016
12017
12018  if test yes != "$enable_dlopen"; then
12019  enable_dlopen=unknown
12020  enable_dlopen_self=unknown
12021  enable_dlopen_self_static=unknown
12022else
12023  lt_cv_dlopen=no
12024  lt_cv_dlopen_libs=
12025
12026  case $host_os in
12027  beos*)
12028    lt_cv_dlopen=load_add_on
12029    lt_cv_dlopen_libs=
12030    lt_cv_dlopen_self=yes
12031    ;;
12032
12033  mingw* | pw32* | cegcc*)
12034    lt_cv_dlopen=LoadLibrary
12035    lt_cv_dlopen_libs=
12036    ;;
12037
12038  cygwin*)
12039    lt_cv_dlopen=dlopen
12040    lt_cv_dlopen_libs=
12041    ;;
12042
12043  darwin*)
12044    # if libdl is installed we need to link against it
12045    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12046$as_echo_n "checking for dlopen in -ldl... " >&6; }
12047if ${ac_cv_lib_dl_dlopen+:} false; then :
12048  $as_echo_n "(cached) " >&6
12049else
12050  ac_check_lib_save_LIBS=$LIBS
12051LIBS="-ldl  $LIBS"
12052cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12053/* end confdefs.h.  */
12054
12055/* Override any GCC internal prototype to avoid an error.
12056   Use char because int might match the return type of a GCC
12057   builtin and then its argument prototype would still apply.  */
12058#ifdef __cplusplus
12059extern "C"
12060#endif
12061char dlopen ();
12062int
12063main ()
12064{
12065return dlopen ();
12066  ;
12067  return 0;
12068}
12069_ACEOF
12070if ac_fn_c_try_link "$LINENO"; then :
12071  ac_cv_lib_dl_dlopen=yes
12072else
12073  ac_cv_lib_dl_dlopen=no
12074fi
12075rm -f core conftest.err conftest.$ac_objext \
12076    conftest$ac_exeext conftest.$ac_ext
12077LIBS=$ac_check_lib_save_LIBS
12078fi
12079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12080$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12081if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12082  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12083else
12084
12085    lt_cv_dlopen=dyld
12086    lt_cv_dlopen_libs=
12087    lt_cv_dlopen_self=yes
12088
12089fi
12090
12091    ;;
12092
12093  tpf*)
12094    # Don't try to run any link tests for TPF.  We know it's impossible
12095    # because TPF is a cross-compiler, and we know how we open DSOs.
12096    lt_cv_dlopen=dlopen
12097    lt_cv_dlopen_libs=
12098    lt_cv_dlopen_self=no
12099    ;;
12100
12101  *)
12102    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12103if test "x$ac_cv_func_shl_load" = xyes; then :
12104  lt_cv_dlopen=shl_load
12105else
12106  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12107$as_echo_n "checking for shl_load in -ldld... " >&6; }
12108if ${ac_cv_lib_dld_shl_load+:} false; then :
12109  $as_echo_n "(cached) " >&6
12110else
12111  ac_check_lib_save_LIBS=$LIBS
12112LIBS="-ldld  $LIBS"
12113cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12114/* end confdefs.h.  */
12115
12116/* Override any GCC internal prototype to avoid an error.
12117   Use char because int might match the return type of a GCC
12118   builtin and then its argument prototype would still apply.  */
12119#ifdef __cplusplus
12120extern "C"
12121#endif
12122char shl_load ();
12123int
12124main ()
12125{
12126return shl_load ();
12127  ;
12128  return 0;
12129}
12130_ACEOF
12131if ac_fn_c_try_link "$LINENO"; then :
12132  ac_cv_lib_dld_shl_load=yes
12133else
12134  ac_cv_lib_dld_shl_load=no
12135fi
12136rm -f core conftest.err conftest.$ac_objext \
12137    conftest$ac_exeext conftest.$ac_ext
12138LIBS=$ac_check_lib_save_LIBS
12139fi
12140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12141$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12142if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12143  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12144else
12145  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12146if test "x$ac_cv_func_dlopen" = xyes; then :
12147  lt_cv_dlopen=dlopen
12148else
12149  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12150$as_echo_n "checking for dlopen in -ldl... " >&6; }
12151if ${ac_cv_lib_dl_dlopen+:} false; then :
12152  $as_echo_n "(cached) " >&6
12153else
12154  ac_check_lib_save_LIBS=$LIBS
12155LIBS="-ldl  $LIBS"
12156cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12157/* end confdefs.h.  */
12158
12159/* Override any GCC internal prototype to avoid an error.
12160   Use char because int might match the return type of a GCC
12161   builtin and then its argument prototype would still apply.  */
12162#ifdef __cplusplus
12163extern "C"
12164#endif
12165char dlopen ();
12166int
12167main ()
12168{
12169return dlopen ();
12170  ;
12171  return 0;
12172}
12173_ACEOF
12174if ac_fn_c_try_link "$LINENO"; then :
12175  ac_cv_lib_dl_dlopen=yes
12176else
12177  ac_cv_lib_dl_dlopen=no
12178fi
12179rm -f core conftest.err conftest.$ac_objext \
12180    conftest$ac_exeext conftest.$ac_ext
12181LIBS=$ac_check_lib_save_LIBS
12182fi
12183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12184$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12185if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12186  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12187else
12188  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12189$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12190if ${ac_cv_lib_svld_dlopen+:} false; then :
12191  $as_echo_n "(cached) " >&6
12192else
12193  ac_check_lib_save_LIBS=$LIBS
12194LIBS="-lsvld  $LIBS"
12195cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12196/* end confdefs.h.  */
12197
12198/* Override any GCC internal prototype to avoid an error.
12199   Use char because int might match the return type of a GCC
12200   builtin and then its argument prototype would still apply.  */
12201#ifdef __cplusplus
12202extern "C"
12203#endif
12204char dlopen ();
12205int
12206main ()
12207{
12208return dlopen ();
12209  ;
12210  return 0;
12211}
12212_ACEOF
12213if ac_fn_c_try_link "$LINENO"; then :
12214  ac_cv_lib_svld_dlopen=yes
12215else
12216  ac_cv_lib_svld_dlopen=no
12217fi
12218rm -f core conftest.err conftest.$ac_objext \
12219    conftest$ac_exeext conftest.$ac_ext
12220LIBS=$ac_check_lib_save_LIBS
12221fi
12222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12223$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12224if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12225  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12226else
12227  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12228$as_echo_n "checking for dld_link in -ldld... " >&6; }
12229if ${ac_cv_lib_dld_dld_link+:} false; then :
12230  $as_echo_n "(cached) " >&6
12231else
12232  ac_check_lib_save_LIBS=$LIBS
12233LIBS="-ldld  $LIBS"
12234cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235/* end confdefs.h.  */
12236
12237/* Override any GCC internal prototype to avoid an error.
12238   Use char because int might match the return type of a GCC
12239   builtin and then its argument prototype would still apply.  */
12240#ifdef __cplusplus
12241extern "C"
12242#endif
12243char dld_link ();
12244int
12245main ()
12246{
12247return dld_link ();
12248  ;
12249  return 0;
12250}
12251_ACEOF
12252if ac_fn_c_try_link "$LINENO"; then :
12253  ac_cv_lib_dld_dld_link=yes
12254else
12255  ac_cv_lib_dld_dld_link=no
12256fi
12257rm -f core conftest.err conftest.$ac_objext \
12258    conftest$ac_exeext conftest.$ac_ext
12259LIBS=$ac_check_lib_save_LIBS
12260fi
12261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12262$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12263if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12264  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12265fi
12266
12267
12268fi
12269
12270
12271fi
12272
12273
12274fi
12275
12276
12277fi
12278
12279
12280fi
12281
12282    ;;
12283  esac
12284
12285  if test no = "$lt_cv_dlopen"; then
12286    enable_dlopen=no
12287  else
12288    enable_dlopen=yes
12289  fi
12290
12291  case $lt_cv_dlopen in
12292  dlopen)
12293    save_CPPFLAGS=$CPPFLAGS
12294    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12295
12296    save_LDFLAGS=$LDFLAGS
12297    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12298
12299    save_LIBS=$LIBS
12300    LIBS="$lt_cv_dlopen_libs $LIBS"
12301
12302    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12303$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12304if ${lt_cv_dlopen_self+:} false; then :
12305  $as_echo_n "(cached) " >&6
12306else
12307  	  if test yes = "$cross_compiling"; then :
12308  lt_cv_dlopen_self=cross
12309else
12310  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12311  lt_status=$lt_dlunknown
12312  cat > conftest.$ac_ext <<_LT_EOF
12313#line $LINENO "configure"
12314#include "confdefs.h"
12315
12316#if HAVE_DLFCN_H
12317#include <dlfcn.h>
12318#endif
12319
12320#include <stdio.h>
12321
12322#ifdef RTLD_GLOBAL
12323#  define LT_DLGLOBAL		RTLD_GLOBAL
12324#else
12325#  ifdef DL_GLOBAL
12326#    define LT_DLGLOBAL		DL_GLOBAL
12327#  else
12328#    define LT_DLGLOBAL		0
12329#  endif
12330#endif
12331
12332/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12333   find out it does not work in some platform. */
12334#ifndef LT_DLLAZY_OR_NOW
12335#  ifdef RTLD_LAZY
12336#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12337#  else
12338#    ifdef DL_LAZY
12339#      define LT_DLLAZY_OR_NOW		DL_LAZY
12340#    else
12341#      ifdef RTLD_NOW
12342#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12343#      else
12344#        ifdef DL_NOW
12345#          define LT_DLLAZY_OR_NOW	DL_NOW
12346#        else
12347#          define LT_DLLAZY_OR_NOW	0
12348#        endif
12349#      endif
12350#    endif
12351#  endif
12352#endif
12353
12354/* When -fvisibility=hidden is used, assume the code has been annotated
12355   correspondingly for the symbols needed.  */
12356#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12357int fnord () __attribute__((visibility("default")));
12358#endif
12359
12360int fnord () { return 42; }
12361int main ()
12362{
12363  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12364  int status = $lt_dlunknown;
12365
12366  if (self)
12367    {
12368      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12369      else
12370        {
12371	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12372          else puts (dlerror ());
12373	}
12374      /* dlclose (self); */
12375    }
12376  else
12377    puts (dlerror ());
12378
12379  return status;
12380}
12381_LT_EOF
12382  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12383  (eval $ac_link) 2>&5
12384  ac_status=$?
12385  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12386  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12387    (./conftest; exit; ) >&5 2>/dev/null
12388    lt_status=$?
12389    case x$lt_status in
12390      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12391      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12392      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12393    esac
12394  else :
12395    # compilation failed
12396    lt_cv_dlopen_self=no
12397  fi
12398fi
12399rm -fr conftest*
12400
12401
12402fi
12403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12404$as_echo "$lt_cv_dlopen_self" >&6; }
12405
12406    if test yes = "$lt_cv_dlopen_self"; then
12407      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12408      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12409$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12410if ${lt_cv_dlopen_self_static+:} false; then :
12411  $as_echo_n "(cached) " >&6
12412else
12413  	  if test yes = "$cross_compiling"; then :
12414  lt_cv_dlopen_self_static=cross
12415else
12416  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12417  lt_status=$lt_dlunknown
12418  cat > conftest.$ac_ext <<_LT_EOF
12419#line $LINENO "configure"
12420#include "confdefs.h"
12421
12422#if HAVE_DLFCN_H
12423#include <dlfcn.h>
12424#endif
12425
12426#include <stdio.h>
12427
12428#ifdef RTLD_GLOBAL
12429#  define LT_DLGLOBAL		RTLD_GLOBAL
12430#else
12431#  ifdef DL_GLOBAL
12432#    define LT_DLGLOBAL		DL_GLOBAL
12433#  else
12434#    define LT_DLGLOBAL		0
12435#  endif
12436#endif
12437
12438/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12439   find out it does not work in some platform. */
12440#ifndef LT_DLLAZY_OR_NOW
12441#  ifdef RTLD_LAZY
12442#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12443#  else
12444#    ifdef DL_LAZY
12445#      define LT_DLLAZY_OR_NOW		DL_LAZY
12446#    else
12447#      ifdef RTLD_NOW
12448#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12449#      else
12450#        ifdef DL_NOW
12451#          define LT_DLLAZY_OR_NOW	DL_NOW
12452#        else
12453#          define LT_DLLAZY_OR_NOW	0
12454#        endif
12455#      endif
12456#    endif
12457#  endif
12458#endif
12459
12460/* When -fvisibility=hidden is used, assume the code has been annotated
12461   correspondingly for the symbols needed.  */
12462#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12463int fnord () __attribute__((visibility("default")));
12464#endif
12465
12466int fnord () { return 42; }
12467int main ()
12468{
12469  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12470  int status = $lt_dlunknown;
12471
12472  if (self)
12473    {
12474      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12475      else
12476        {
12477	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12478          else puts (dlerror ());
12479	}
12480      /* dlclose (self); */
12481    }
12482  else
12483    puts (dlerror ());
12484
12485  return status;
12486}
12487_LT_EOF
12488  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12489  (eval $ac_link) 2>&5
12490  ac_status=$?
12491  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12492  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12493    (./conftest; exit; ) >&5 2>/dev/null
12494    lt_status=$?
12495    case x$lt_status in
12496      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12497      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12498      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12499    esac
12500  else :
12501    # compilation failed
12502    lt_cv_dlopen_self_static=no
12503  fi
12504fi
12505rm -fr conftest*
12506
12507
12508fi
12509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12510$as_echo "$lt_cv_dlopen_self_static" >&6; }
12511    fi
12512
12513    CPPFLAGS=$save_CPPFLAGS
12514    LDFLAGS=$save_LDFLAGS
12515    LIBS=$save_LIBS
12516    ;;
12517  esac
12518
12519  case $lt_cv_dlopen_self in
12520  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12521  *) enable_dlopen_self=unknown ;;
12522  esac
12523
12524  case $lt_cv_dlopen_self_static in
12525  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12526  *) enable_dlopen_self_static=unknown ;;
12527  esac
12528fi
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546striplib=
12547old_striplib=
12548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12549$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12550if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12551  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12552  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12554$as_echo "yes" >&6; }
12555else
12556# FIXME - insert some real tests, host_os isn't really good enough
12557  case $host_os in
12558  darwin*)
12559    if test -n "$STRIP"; then
12560      striplib="$STRIP -x"
12561      old_striplib="$STRIP -S"
12562      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12563$as_echo "yes" >&6; }
12564    else
12565      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12566$as_echo "no" >&6; }
12567    fi
12568    ;;
12569  *)
12570    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12571$as_echo "no" >&6; }
12572    ;;
12573  esac
12574fi
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587  # Report what library types will actually be built
12588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12589$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12591$as_echo "$can_build_shared" >&6; }
12592
12593  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12594$as_echo_n "checking whether to build shared libraries... " >&6; }
12595  test no = "$can_build_shared" && enable_shared=no
12596
12597  # On AIX, shared libraries and static libraries use the same namespace, and
12598  # are all built from PIC.
12599  case $host_os in
12600  aix3*)
12601    test yes = "$enable_shared" && enable_static=no
12602    if test -n "$RANLIB"; then
12603      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12604      postinstall_cmds='$RANLIB $lib'
12605    fi
12606    ;;
12607
12608  aix[4-9]*)
12609    if test ia64 != "$host_cpu"; then
12610      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12611      yes,aix,yes) ;;			# shared object as lib.so file only
12612      yes,svr4,*) ;;			# shared object as lib.so archive member only
12613      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12614      esac
12615    fi
12616    ;;
12617  esac
12618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12619$as_echo "$enable_shared" >&6; }
12620
12621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12622$as_echo_n "checking whether to build static libraries... " >&6; }
12623  # Make sure either enable_shared or enable_static is yes.
12624  test yes = "$enable_shared" || enable_static=yes
12625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12626$as_echo "$enable_static" >&6; }
12627
12628
12629
12630
12631fi
12632ac_ext=c
12633ac_cpp='$CPP $CPPFLAGS'
12634ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12635ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12636ac_compiler_gnu=$ac_cv_c_compiler_gnu
12637
12638CC=$lt_save_CC
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654        ac_config_commands="$ac_config_commands libtool"
12655
12656
12657
12658
12659# Only expand once:
12660
12661
12662
12663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12664$as_echo_n "checking return type of signal handlers... " >&6; }
12665if ${ac_cv_type_signal+:} false; then :
12666  $as_echo_n "(cached) " >&6
12667else
12668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12669/* end confdefs.h.  */
12670#include <sys/types.h>
12671#include <signal.h>
12672
12673int
12674main ()
12675{
12676return *(signal (0, 0)) (0) == 1;
12677  ;
12678  return 0;
12679}
12680_ACEOF
12681if ac_fn_c_try_compile "$LINENO"; then :
12682  ac_cv_type_signal=int
12683else
12684  ac_cv_type_signal=void
12685fi
12686rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12687fi
12688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12689$as_echo "$ac_cv_type_signal" >&6; }
12690
12691cat >>confdefs.h <<_ACEOF
12692#define RETSIGTYPE $ac_cv_type_signal
12693_ACEOF
12694
12695
12696
12697for ac_header in stdarg.h sys/types.h dirent.h errno.h libgen.h malloc.h
12698do :
12699  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12700ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12701if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12702  cat >>confdefs.h <<_ACEOF
12703#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12704_ACEOF
12705
12706fi
12707
12708done
12709
12710for ac_header in stdlib.h mntent.h linux/cdrom.h inttypes.h strings.h
12711do :
12712  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12713ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12714if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12715  cat >>confdefs.h <<_ACEOF
12716#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12717_ACEOF
12718
12719fi
12720
12721done
12722
12723for ac_header in sys/time.h time.h mntent.h
12724do :
12725  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12726ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12727if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12728  cat >>confdefs.h <<_ACEOF
12729#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12730_ACEOF
12731
12732fi
12733
12734done
12735
12736
12737ac_header_dirent=no
12738for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
12739  as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
12740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
12741$as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
12742if eval \${$as_ac_Header+:} false; then :
12743  $as_echo_n "(cached) " >&6
12744else
12745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12746/* end confdefs.h.  */
12747#include <sys/types.h>
12748#include <$ac_hdr>
12749
12750int
12751main ()
12752{
12753if ((DIR *) 0)
12754return 0;
12755  ;
12756  return 0;
12757}
12758_ACEOF
12759if ac_fn_c_try_compile "$LINENO"; then :
12760  eval "$as_ac_Header=yes"
12761else
12762  eval "$as_ac_Header=no"
12763fi
12764rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12765fi
12766eval ac_res=\$$as_ac_Header
12767	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
12768$as_echo "$ac_res" >&6; }
12769if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12770  cat >>confdefs.h <<_ACEOF
12771#define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
12772_ACEOF
12773
12774ac_header_dirent=$ac_hdr; break
12775fi
12776
12777done
12778# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
12779if test $ac_header_dirent = dirent.h; then
12780  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12781$as_echo_n "checking for library containing opendir... " >&6; }
12782if ${ac_cv_search_opendir+:} false; then :
12783  $as_echo_n "(cached) " >&6
12784else
12785  ac_func_search_save_LIBS=$LIBS
12786cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12787/* end confdefs.h.  */
12788
12789/* Override any GCC internal prototype to avoid an error.
12790   Use char because int might match the return type of a GCC
12791   builtin and then its argument prototype would still apply.  */
12792#ifdef __cplusplus
12793extern "C"
12794#endif
12795char opendir ();
12796int
12797main ()
12798{
12799return opendir ();
12800  ;
12801  return 0;
12802}
12803_ACEOF
12804for ac_lib in '' dir; do
12805  if test -z "$ac_lib"; then
12806    ac_res="none required"
12807  else
12808    ac_res=-l$ac_lib
12809    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12810  fi
12811  if ac_fn_c_try_link "$LINENO"; then :
12812  ac_cv_search_opendir=$ac_res
12813fi
12814rm -f core conftest.err conftest.$ac_objext \
12815    conftest$ac_exeext
12816  if ${ac_cv_search_opendir+:} false; then :
12817  break
12818fi
12819done
12820if ${ac_cv_search_opendir+:} false; then :
12821
12822else
12823  ac_cv_search_opendir=no
12824fi
12825rm conftest.$ac_ext
12826LIBS=$ac_func_search_save_LIBS
12827fi
12828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12829$as_echo "$ac_cv_search_opendir" >&6; }
12830ac_res=$ac_cv_search_opendir
12831if test "$ac_res" != no; then :
12832  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12833
12834fi
12835
12836else
12837  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
12838$as_echo_n "checking for library containing opendir... " >&6; }
12839if ${ac_cv_search_opendir+:} false; then :
12840  $as_echo_n "(cached) " >&6
12841else
12842  ac_func_search_save_LIBS=$LIBS
12843cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12844/* end confdefs.h.  */
12845
12846/* Override any GCC internal prototype to avoid an error.
12847   Use char because int might match the return type of a GCC
12848   builtin and then its argument prototype would still apply.  */
12849#ifdef __cplusplus
12850extern "C"
12851#endif
12852char opendir ();
12853int
12854main ()
12855{
12856return opendir ();
12857  ;
12858  return 0;
12859}
12860_ACEOF
12861for ac_lib in '' x; do
12862  if test -z "$ac_lib"; then
12863    ac_res="none required"
12864  else
12865    ac_res=-l$ac_lib
12866    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
12867  fi
12868  if ac_fn_c_try_link "$LINENO"; then :
12869  ac_cv_search_opendir=$ac_res
12870fi
12871rm -f core conftest.err conftest.$ac_objext \
12872    conftest$ac_exeext
12873  if ${ac_cv_search_opendir+:} false; then :
12874  break
12875fi
12876done
12877if ${ac_cv_search_opendir+:} false; then :
12878
12879else
12880  ac_cv_search_opendir=no
12881fi
12882rm conftest.$ac_ext
12883LIBS=$ac_func_search_save_LIBS
12884fi
12885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
12886$as_echo "$ac_cv_search_opendir" >&6; }
12887ac_res=$ac_cv_search_opendir
12888if test "$ac_res" != no; then :
12889  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
12890
12891fi
12892
12893fi
12894
12895
12896
12897  ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
12898#include <sys/types.h>
12899#ifdef HAVE_DIRENT_H
12900# include <dirent.h>
12901#else
12902# define dirent direct
12903# ifdef HAVE_SYS_NDIR_H
12904#  include <sys/ndir.h>
12905# endif
12906# ifdef HAVE_SYS_DIR_H
12907#  include <sys/dir.h>
12908# endif
12909# ifdef HAVE_NDIR_H
12910#  include <ndir.h>
12911# endif
12912#endif
12913
12914"
12915if test "x$ac_cv_member_struct_dirent_d_type" = xyes; then :
12916
12917cat >>confdefs.h <<_ACEOF
12918#define HAVE_STRUCT_DIRENT_D_TYPE 1
12919_ACEOF
12920
12921
12922fi
12923
12924
12925
12926# Check whether --enable-largefile was given.
12927if test "${enable_largefile+set}" = set; then :
12928  enableval=$enable_largefile;
12929fi
12930
12931if test "$enable_largefile" != no; then
12932
12933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
12934$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
12935if ${ac_cv_sys_largefile_CC+:} false; then :
12936  $as_echo_n "(cached) " >&6
12937else
12938  ac_cv_sys_largefile_CC=no
12939     if test "$GCC" != yes; then
12940       ac_save_CC=$CC
12941       while :; do
12942	 # IRIX 6.2 and later do not support large files by default,
12943	 # so use the C compiler's -n32 option if that helps.
12944	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945/* end confdefs.h.  */
12946#include <sys/types.h>
12947 /* Check that off_t can represent 2**63 - 1 correctly.
12948    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12949    since some C++ compilers masquerading as C compilers
12950    incorrectly reject 9223372036854775807.  */
12951#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12952  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12953		       && LARGE_OFF_T % 2147483647 == 1)
12954		      ? 1 : -1];
12955int
12956main ()
12957{
12958
12959  ;
12960  return 0;
12961}
12962_ACEOF
12963	 if ac_fn_c_try_compile "$LINENO"; then :
12964  break
12965fi
12966rm -f core conftest.err conftest.$ac_objext
12967	 CC="$CC -n32"
12968	 if ac_fn_c_try_compile "$LINENO"; then :
12969  ac_cv_sys_largefile_CC=' -n32'; break
12970fi
12971rm -f core conftest.err conftest.$ac_objext
12972	 break
12973       done
12974       CC=$ac_save_CC
12975       rm -f conftest.$ac_ext
12976    fi
12977fi
12978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
12979$as_echo "$ac_cv_sys_largefile_CC" >&6; }
12980  if test "$ac_cv_sys_largefile_CC" != no; then
12981    CC=$CC$ac_cv_sys_largefile_CC
12982  fi
12983
12984  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
12985$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
12986if ${ac_cv_sys_file_offset_bits+:} false; then :
12987  $as_echo_n "(cached) " >&6
12988else
12989  while :; do
12990  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12991/* end confdefs.h.  */
12992#include <sys/types.h>
12993 /* Check that off_t can represent 2**63 - 1 correctly.
12994    We can't simply define LARGE_OFF_T to be 9223372036854775807,
12995    since some C++ compilers masquerading as C compilers
12996    incorrectly reject 9223372036854775807.  */
12997#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
12998  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
12999		       && LARGE_OFF_T % 2147483647 == 1)
13000		      ? 1 : -1];
13001int
13002main ()
13003{
13004
13005  ;
13006  return 0;
13007}
13008_ACEOF
13009if ac_fn_c_try_compile "$LINENO"; then :
13010  ac_cv_sys_file_offset_bits=no; break
13011fi
13012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13013  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13014/* end confdefs.h.  */
13015#define _FILE_OFFSET_BITS 64
13016#include <sys/types.h>
13017 /* Check that off_t can represent 2**63 - 1 correctly.
13018    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13019    since some C++ compilers masquerading as C compilers
13020    incorrectly reject 9223372036854775807.  */
13021#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
13022  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13023		       && LARGE_OFF_T % 2147483647 == 1)
13024		      ? 1 : -1];
13025int
13026main ()
13027{
13028
13029  ;
13030  return 0;
13031}
13032_ACEOF
13033if ac_fn_c_try_compile "$LINENO"; then :
13034  ac_cv_sys_file_offset_bits=64; break
13035fi
13036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13037  ac_cv_sys_file_offset_bits=unknown
13038  break
13039done
13040fi
13041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
13042$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
13043case $ac_cv_sys_file_offset_bits in #(
13044  no | unknown) ;;
13045  *)
13046cat >>confdefs.h <<_ACEOF
13047#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13048_ACEOF
13049;;
13050esac
13051rm -rf conftest*
13052  if test $ac_cv_sys_file_offset_bits = unknown; then
13053    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
13054$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
13055if ${ac_cv_sys_large_files+:} false; then :
13056  $as_echo_n "(cached) " >&6
13057else
13058  while :; do
13059  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13060/* end confdefs.h.  */
13061#include <sys/types.h>
13062 /* Check that off_t can represent 2**63 - 1 correctly.
13063    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13064    since some C++ compilers masquerading as C compilers
13065    incorrectly reject 9223372036854775807.  */
13066#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
13067  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13068		       && LARGE_OFF_T % 2147483647 == 1)
13069		      ? 1 : -1];
13070int
13071main ()
13072{
13073
13074  ;
13075  return 0;
13076}
13077_ACEOF
13078if ac_fn_c_try_compile "$LINENO"; then :
13079  ac_cv_sys_large_files=no; break
13080fi
13081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13082  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083/* end confdefs.h.  */
13084#define _LARGE_FILES 1
13085#include <sys/types.h>
13086 /* Check that off_t can represent 2**63 - 1 correctly.
13087    We can't simply define LARGE_OFF_T to be 9223372036854775807,
13088    since some C++ compilers masquerading as C compilers
13089    incorrectly reject 9223372036854775807.  */
13090#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
13091  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13092		       && LARGE_OFF_T % 2147483647 == 1)
13093		      ? 1 : -1];
13094int
13095main ()
13096{
13097
13098  ;
13099  return 0;
13100}
13101_ACEOF
13102if ac_fn_c_try_compile "$LINENO"; then :
13103  ac_cv_sys_large_files=1; break
13104fi
13105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13106  ac_cv_sys_large_files=unknown
13107  break
13108done
13109fi
13110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
13111$as_echo "$ac_cv_sys_large_files" >&6; }
13112case $ac_cv_sys_large_files in #(
13113  no | unknown) ;;
13114  *)
13115cat >>confdefs.h <<_ACEOF
13116#define _LARGE_FILES $ac_cv_sys_large_files
13117_ACEOF
13118;;
13119esac
13120rm -rf conftest*
13121  fi
13122
13123
13124fi
13125
13126
13127ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
13128if test "x$ac_cv_func_snprintf" = xyes; then :
13129
13130else
13131  as_fn_error $? "$function_not_found" "$LINENO" 5
13132fi
13133
13134
13135if test "${SYS}" != "mingw32"; then :
13136
13137  for ac_header in pthread.h
13138do :
13139  ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
13140if test "x$ac_cv_header_pthread_h" = xyes; then :
13141  cat >>confdefs.h <<_ACEOF
13142#define HAVE_PTHREAD_H 1
13143_ACEOF
13144
13145else
13146  as_fn_error $? "pthread required" "$LINENO" 5
13147fi
13148
13149done
13150
13151  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
13152$as_echo_n "checking for library containing pthread_create... " >&6; }
13153if ${ac_cv_search_pthread_create+:} false; then :
13154  $as_echo_n "(cached) " >&6
13155else
13156  ac_func_search_save_LIBS=$LIBS
13157cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13158/* end confdefs.h.  */
13159
13160/* Override any GCC internal prototype to avoid an error.
13161   Use char because int might match the return type of a GCC
13162   builtin and then its argument prototype would still apply.  */
13163#ifdef __cplusplus
13164extern "C"
13165#endif
13166char pthread_create ();
13167int
13168main ()
13169{
13170return pthread_create ();
13171  ;
13172  return 0;
13173}
13174_ACEOF
13175for ac_lib in '' pthread; do
13176  if test -z "$ac_lib"; then
13177    ac_res="none required"
13178  else
13179    ac_res=-l$ac_lib
13180    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13181  fi
13182  if ac_fn_c_try_link "$LINENO"; then :
13183  ac_cv_search_pthread_create=$ac_res
13184fi
13185rm -f core conftest.err conftest.$ac_objext \
13186    conftest$ac_exeext
13187  if ${ac_cv_search_pthread_create+:} false; then :
13188  break
13189fi
13190done
13191if ${ac_cv_search_pthread_create+:} false; then :
13192
13193else
13194  ac_cv_search_pthread_create=no
13195fi
13196rm conftest.$ac_ext
13197LIBS=$ac_func_search_save_LIBS
13198fi
13199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
13200$as_echo "$ac_cv_search_pthread_create" >&6; }
13201ac_res=$ac_cv_search_pthread_create
13202if test "$ac_res" != no; then :
13203  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13204
13205else
13206  as_fn_error $? "pthread required" "$LINENO" 5
13207fi
13208
13209  PTHREAD_LIBS="$ac_cv_search_pthread_create"
13210  if test x"$PTHREAD_LIBS" != x"none required"; then :
13211  EXTRA_LIBS="$EXTRA_LIBS $PTHREAD_LIBS"
13212fi
13213  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
13214$as_echo_n "checking for library containing dlopen... " >&6; }
13215if ${ac_cv_search_dlopen+:} false; then :
13216  $as_echo_n "(cached) " >&6
13217else
13218  ac_func_search_save_LIBS=$LIBS
13219cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13220/* end confdefs.h.  */
13221
13222/* Override any GCC internal prototype to avoid an error.
13223   Use char because int might match the return type of a GCC
13224   builtin and then its argument prototype would still apply.  */
13225#ifdef __cplusplus
13226extern "C"
13227#endif
13228char dlopen ();
13229int
13230main ()
13231{
13232return dlopen ();
13233  ;
13234  return 0;
13235}
13236_ACEOF
13237for ac_lib in '' dl; do
13238  if test -z "$ac_lib"; then
13239    ac_res="none required"
13240  else
13241    ac_res=-l$ac_lib
13242    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
13243  fi
13244  if ac_fn_c_try_link "$LINENO"; then :
13245  ac_cv_search_dlopen=$ac_res
13246fi
13247rm -f core conftest.err conftest.$ac_objext \
13248    conftest$ac_exeext
13249  if ${ac_cv_search_dlopen+:} false; then :
13250  break
13251fi
13252done
13253if ${ac_cv_search_dlopen+:} false; then :
13254
13255else
13256  ac_cv_search_dlopen=no
13257fi
13258rm conftest.$ac_ext
13259LIBS=$ac_func_search_save_LIBS
13260fi
13261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
13262$as_echo "$ac_cv_search_dlopen" >&6; }
13263ac_res=$ac_cv_search_dlopen
13264if test "$ac_res" != no; then :
13265  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13266
13267fi
13268
13269  DLOPEN_LIBS="$ac_cv_search_dlopen"
13270  case $DLOPEN_LIBS in #(
13271  no|none\ required) :
13272    DLOPEN_LIBS="" ;; #(
13273  *) :
13274     ;;
13275esac
13276
13277
13278  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dladdr" >&5
13279$as_echo_n "checking for dladdr... " >&6; }
13280  saved_LIBS="$LIBS"
13281  LIBS="$LIBS $DLOPEN_LIBS"
13282  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13283/* end confdefs.h.  */
13284
13285        #define _GNU_SOURCE
13286        #include <dlfcn.h>
13287
13288int
13289main ()
13290{
13291
13292        Dl_info dl_info;
13293        return dladdr(&dl_info, &dl_info);
13294
13295  ;
13296  return 0;
13297}
13298_ACEOF
13299if ac_fn_c_try_link "$LINENO"; then :
13300
13301      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13302$as_echo "yes" >&6; }
13303
13304$as_echo "#define HAVE_DLADDR 1" >>confdefs.h
13305
13306
13307else
13308
13309      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13310$as_echo "no" >&6; }
13311
13312fi
13313rm -f core conftest.err conftest.$ac_objext \
13314    conftest$ac_exeext conftest.$ac_ext
13315  LIBS="$saved_LIBS"
13316
13317fi
13318
13319
13320
13321
13322
13323
13324
13325if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13326	if test -n "$ac_tool_prefix"; then
13327  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13328set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13330$as_echo_n "checking for $ac_word... " >&6; }
13331if ${ac_cv_path_PKG_CONFIG+:} false; then :
13332  $as_echo_n "(cached) " >&6
13333else
13334  case $PKG_CONFIG in
13335  [\\/]* | ?:[\\/]*)
13336  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13337  ;;
13338  *)
13339  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13340for as_dir in $PATH
13341do
13342  IFS=$as_save_IFS
13343  test -z "$as_dir" && as_dir=.
13344    for ac_exec_ext in '' $ac_executable_extensions; do
13345  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13346    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13347    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13348    break 2
13349  fi
13350done
13351  done
13352IFS=$as_save_IFS
13353
13354  ;;
13355esac
13356fi
13357PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13358if test -n "$PKG_CONFIG"; then
13359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13360$as_echo "$PKG_CONFIG" >&6; }
13361else
13362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13363$as_echo "no" >&6; }
13364fi
13365
13366
13367fi
13368if test -z "$ac_cv_path_PKG_CONFIG"; then
13369  ac_pt_PKG_CONFIG=$PKG_CONFIG
13370  # Extract the first word of "pkg-config", so it can be a program name with args.
13371set dummy pkg-config; ac_word=$2
13372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13373$as_echo_n "checking for $ac_word... " >&6; }
13374if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13375  $as_echo_n "(cached) " >&6
13376else
13377  case $ac_pt_PKG_CONFIG in
13378  [\\/]* | ?:[\\/]*)
13379  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13380  ;;
13381  *)
13382  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13383for as_dir in $PATH
13384do
13385  IFS=$as_save_IFS
13386  test -z "$as_dir" && as_dir=.
13387    for ac_exec_ext in '' $ac_executable_extensions; do
13388  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13389    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13390    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13391    break 2
13392  fi
13393done
13394  done
13395IFS=$as_save_IFS
13396
13397  ;;
13398esac
13399fi
13400ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13401if test -n "$ac_pt_PKG_CONFIG"; then
13402  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13403$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13404else
13405  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13406$as_echo "no" >&6; }
13407fi
13408
13409  if test "x$ac_pt_PKG_CONFIG" = x; then
13410    PKG_CONFIG=""
13411  else
13412    case $cross_compiling:$ac_tool_warned in
13413yes:)
13414{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13415$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13416ac_tool_warned=yes ;;
13417esac
13418    PKG_CONFIG=$ac_pt_PKG_CONFIG
13419  fi
13420else
13421  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13422fi
13423
13424fi
13425if test -n "$PKG_CONFIG"; then
13426	_pkg_min_version=0.9.0
13427	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13428$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13429	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13430		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13431$as_echo "yes" >&6; }
13432	else
13433		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13434$as_echo "no" >&6; }
13435		PKG_CONFIG=""
13436	fi
13437fi
13438if test "x$with_libxml2" != "xno"; then :
13439
13440
13441pkg_failed=no
13442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5
13443$as_echo_n "checking for LIBXML2... " >&6; }
13444
13445if test -n "$LIBXML2_CFLAGS"; then
13446    pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS"
13447 elif test -n "$PKG_CONFIG"; then
13448    if test -n "$PKG_CONFIG" && \
13449    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
13450  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
13451  ac_status=$?
13452  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13453  test $ac_status = 0; }; then
13454  pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null`
13455else
13456  pkg_failed=yes
13457fi
13458 else
13459    pkg_failed=untried
13460fi
13461if test -n "$LIBXML2_LIBS"; then
13462    pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS"
13463 elif test -n "$PKG_CONFIG"; then
13464    if test -n "$PKG_CONFIG" && \
13465    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5
13466  ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5
13467  ac_status=$?
13468  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13469  test $ac_status = 0; }; then
13470  pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null`
13471else
13472  pkg_failed=yes
13473fi
13474 else
13475    pkg_failed=untried
13476fi
13477
13478
13479
13480if test $pkg_failed = yes; then
13481   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13482$as_echo "no" >&6; }
13483
13484if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13485        _pkg_short_errors_supported=yes
13486else
13487        _pkg_short_errors_supported=no
13488fi
13489        if test $_pkg_short_errors_supported = yes; then
13490	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libxml-2.0 >= 2.6" 2>&1`
13491        else
13492	        LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors "libxml-2.0 >= 2.6" 2>&1`
13493        fi
13494	# Put the nasty error message in config.log where it belongs
13495	echo "$LIBXML2_PKG_ERRORS" >&5
13496
13497	as_fn_error $? "Package requirements (libxml-2.0 >= 2.6) were not met:
13498
13499$LIBXML2_PKG_ERRORS
13500
13501Consider adjusting the PKG_CONFIG_PATH environment variable if you
13502installed software in a non-standard prefix.
13503
13504Alternatively, you may set the environment variables LIBXML2_CFLAGS
13505and LIBXML2_LIBS to avoid the need to call pkg-config.
13506See the pkg-config man page for more details." "$LINENO" 5
13507
13508elif test $pkg_failed = untried; then
13509     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13510$as_echo "no" >&6; }
13511	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13512$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13513as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13514is in your PATH or set the PKG_CONFIG environment variable to the full
13515path to pkg-config.
13516
13517Alternatively, you may set the environment variables LIBXML2_CFLAGS
13518and LIBXML2_LIBS to avoid the need to call pkg-config.
13519See the pkg-config man page for more details.
13520
13521To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13522See \`config.log' for more details" "$LINENO" 5; }
13523
13524else
13525	LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS
13526	LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS
13527        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13528$as_echo "yes" >&6; }
13529	with_libxml2=yes;
13530$as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
13531
13532fi
13533  PACKAGES="$PACKAGES libxml-2.0 >= 2.6"
13534
13535fi
13536
13537if test "x$with_freetype" != "xno"; then :
13538
13539
13540pkg_failed=no
13541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FT2" >&5
13542$as_echo_n "checking for FT2... " >&6; }
13543
13544if test -n "$FT2_CFLAGS"; then
13545    pkg_cv_FT2_CFLAGS="$FT2_CFLAGS"
13546 elif test -n "$PKG_CONFIG"; then
13547    if test -n "$PKG_CONFIG" && \
13548    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13549  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13550  ac_status=$?
13551  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13552  test $ac_status = 0; }; then
13553  pkg_cv_FT2_CFLAGS=`$PKG_CONFIG --cflags "freetype2" 2>/dev/null`
13554else
13555  pkg_failed=yes
13556fi
13557 else
13558    pkg_failed=untried
13559fi
13560if test -n "$FT2_LIBS"; then
13561    pkg_cv_FT2_LIBS="$FT2_LIBS"
13562 elif test -n "$PKG_CONFIG"; then
13563    if test -n "$PKG_CONFIG" && \
13564    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2\""; } >&5
13565  ($PKG_CONFIG --exists --print-errors "freetype2") 2>&5
13566  ac_status=$?
13567  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13568  test $ac_status = 0; }; then
13569  pkg_cv_FT2_LIBS=`$PKG_CONFIG --libs "freetype2" 2>/dev/null`
13570else
13571  pkg_failed=yes
13572fi
13573 else
13574    pkg_failed=untried
13575fi
13576
13577
13578
13579if test $pkg_failed = yes; then
13580   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13581$as_echo "no" >&6; }
13582
13583if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13584        _pkg_short_errors_supported=yes
13585else
13586        _pkg_short_errors_supported=no
13587fi
13588        if test $_pkg_short_errors_supported = yes; then
13589	        FT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2" 2>&1`
13590        else
13591	        FT2_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2" 2>&1`
13592        fi
13593	# Put the nasty error message in config.log where it belongs
13594	echo "$FT2_PKG_ERRORS" >&5
13595
13596	as_fn_error $? "Package requirements (freetype2) were not met:
13597
13598$FT2_PKG_ERRORS
13599
13600Consider adjusting the PKG_CONFIG_PATH environment variable if you
13601installed software in a non-standard prefix.
13602
13603Alternatively, you may set the environment variables FT2_CFLAGS
13604and FT2_LIBS to avoid the need to call pkg-config.
13605See the pkg-config man page for more details." "$LINENO" 5
13606
13607elif test $pkg_failed = untried; then
13608     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13609$as_echo "no" >&6; }
13610	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13611$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13612as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13613is in your PATH or set the PKG_CONFIG environment variable to the full
13614path to pkg-config.
13615
13616Alternatively, you may set the environment variables FT2_CFLAGS
13617and FT2_LIBS to avoid the need to call pkg-config.
13618See the pkg-config man page for more details.
13619
13620To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13621See \`config.log' for more details" "$LINENO" 5; }
13622
13623else
13624	FT2_CFLAGS=$pkg_cv_FT2_CFLAGS
13625	FT2_LIBS=$pkg_cv_FT2_LIBS
13626        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13627$as_echo "yes" >&6; }
13628	with_freetype=yes;
13629$as_echo "#define HAVE_FT2 1" >>confdefs.h
13630
13631fi
13632  PACKAGES="$PACKAGES freetype2"
13633
13634    if test "${SYS}" != "mingw32"; then :
13635
13636    if test "x$with_fontconfig" != "xno"; then :
13637
13638
13639pkg_failed=no
13640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
13641$as_echo_n "checking for FONTCONFIG... " >&6; }
13642
13643if test -n "$FONTCONFIG_CFLAGS"; then
13644    pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
13645 elif test -n "$PKG_CONFIG"; then
13646    if test -n "$PKG_CONFIG" && \
13647    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
13648  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
13649  ac_status=$?
13650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13651  test $ac_status = 0; }; then
13652  pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig" 2>/dev/null`
13653else
13654  pkg_failed=yes
13655fi
13656 else
13657    pkg_failed=untried
13658fi
13659if test -n "$FONTCONFIG_LIBS"; then
13660    pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
13661 elif test -n "$PKG_CONFIG"; then
13662    if test -n "$PKG_CONFIG" && \
13663    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig\""; } >&5
13664  ($PKG_CONFIG --exists --print-errors "fontconfig") 2>&5
13665  ac_status=$?
13666  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13667  test $ac_status = 0; }; then
13668  pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig" 2>/dev/null`
13669else
13670  pkg_failed=yes
13671fi
13672 else
13673    pkg_failed=untried
13674fi
13675
13676
13677
13678if test $pkg_failed = yes; then
13679   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13680$as_echo "no" >&6; }
13681
13682if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13683        _pkg_short_errors_supported=yes
13684else
13685        _pkg_short_errors_supported=no
13686fi
13687        if test $_pkg_short_errors_supported = yes; then
13688	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig" 2>&1`
13689        else
13690	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig" 2>&1`
13691        fi
13692	# Put the nasty error message in config.log where it belongs
13693	echo "$FONTCONFIG_PKG_ERRORS" >&5
13694
13695	as_fn_error $? "Package requirements (fontconfig) were not met:
13696
13697$FONTCONFIG_PKG_ERRORS
13698
13699Consider adjusting the PKG_CONFIG_PATH environment variable if you
13700installed software in a non-standard prefix.
13701
13702Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
13703and FONTCONFIG_LIBS to avoid the need to call pkg-config.
13704See the pkg-config man page for more details." "$LINENO" 5
13705
13706elif test $pkg_failed = untried; then
13707     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13708$as_echo "no" >&6; }
13709	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13711as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13712is in your PATH or set the PKG_CONFIG environment variable to the full
13713path to pkg-config.
13714
13715Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
13716and FONTCONFIG_LIBS to avoid the need to call pkg-config.
13717See the pkg-config man page for more details.
13718
13719To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13720See \`config.log' for more details" "$LINENO" 5; }
13721
13722else
13723	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
13724	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
13725        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13726$as_echo "yes" >&6; }
13727	with_fontconfig=yes;
13728$as_echo "#define HAVE_FONTCONFIG 1" >>confdefs.h
13729
13730fi
13731      PACKAGES="$PACKAGES fontconfig"
13732
13733fi
13734
13735else
13736
13737    EXTRA_LIBS="$EXTRA_LIBS -lgdi32"
13738
13739fi
13740
13741fi
13742
13743
13744  for flag in -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wshadow; do
13745
13746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
13747$as_echo_n "checking if $CC supports $flag flag... " >&6; }
13748if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13749  $as_echo_n "(cached) " >&6
13750else
13751
13752  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13753  $as_echo_n "(cached) " >&6
13754else
13755  ac_save_CFLAGS="$CFLAGS"
13756     CFLAGS="$CFLAGS $flag"
13757     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13758/* end confdefs.h.  */
13759int main() { return 0; }
13760_ACEOF
13761if ac_fn_c_try_link "$LINENO"; then :
13762  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
13763else
13764  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
13765fi
13766rm -f core conftest.err conftest.$ac_objext \
13767    conftest$ac_exeext conftest.$ac_ext
13768     CFLAGS="$ac_save_CFLAGS"
13769
13770fi
13771
13772
13773  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13774
13775fi
13776
13777fi
13778eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
13779	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13780$as_echo "$ac_res" >&6; }
13781
13782  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13783  CFLAGS="$CFLAGS $flag";
13784fi
13785
13786  done
13787
13788
13789
13790  for flag in -Werror=implicit-function-declaration                        -Werror-implicit-function-declaration; do
13791
13792  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
13793$as_echo_n "checking if $CC supports $flag flag... " >&6; }
13794if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13795  $as_echo_n "(cached) " >&6
13796else
13797
13798  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13799  $as_echo_n "(cached) " >&6
13800else
13801  ac_save_CFLAGS="$CFLAGS"
13802     CFLAGS="$CFLAGS $flag"
13803     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13804/* end confdefs.h.  */
13805int main() { return 0; }
13806_ACEOF
13807if ac_fn_c_try_link "$LINENO"; then :
13808  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
13809else
13810  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
13811fi
13812rm -f core conftest.err conftest.$ac_objext \
13813    conftest$ac_exeext conftest.$ac_ext
13814     CFLAGS="$ac_save_CFLAGS"
13815
13816fi
13817
13818
13819  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13820
13821fi
13822
13823fi
13824eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
13825	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13826$as_echo "$ac_res" >&6; }
13827
13828  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13829  CFLAGS="$CFLAGS $flag"; break;
13830fi
13831
13832  done
13833
13834
13835
13836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC way to treat warnings as errors" >&5
13837$as_echo_n "checking for $CC way to treat warnings as errors... " >&6; }
13838if ${cc_cv_werror+:} false; then :
13839  $as_echo_n "(cached) " >&6
13840else
13841
13842  if ${cc_cv_cflags__Werror+:} false; then :
13843  $as_echo_n "(cached) " >&6
13844else
13845  ac_save_CFLAGS="$CFLAGS"
13846     CFLAGS="$CFLAGS -Werror"
13847     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848/* end confdefs.h.  */
13849int main() { return 0; }
13850_ACEOF
13851if ac_fn_c_try_link "$LINENO"; then :
13852  eval "cc_cv_cflags__Werror='yes'"
13853else
13854  eval "cc_cv_cflags__Werror='no'"
13855fi
13856rm -f core conftest.err conftest.$ac_objext \
13857    conftest$ac_exeext conftest.$ac_ext
13858     CFLAGS="$ac_save_CFLAGS"
13859
13860fi
13861
13862
13863  if eval test x$cc_cv_cflags__Werror = xyes; then :
13864  cc_cv_werror=-Werror
13865else
13866
13867  if ${cc_cv_cflags__errwarn__all+:} false; then :
13868  $as_echo_n "(cached) " >&6
13869else
13870  ac_save_CFLAGS="$CFLAGS"
13871     CFLAGS="$CFLAGS -errwarn=%all"
13872     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13873/* end confdefs.h.  */
13874int main() { return 0; }
13875_ACEOF
13876if ac_fn_c_try_link "$LINENO"; then :
13877  eval "cc_cv_cflags__errwarn__all='yes'"
13878else
13879  eval "cc_cv_cflags__errwarn__all='no'"
13880fi
13881rm -f core conftest.err conftest.$ac_objext \
13882    conftest$ac_exeext conftest.$ac_ext
13883     CFLAGS="$ac_save_CFLAGS"
13884
13885fi
13886
13887
13888  if eval test x$cc_cv_cflags__errwarn__all = xyes; then :
13889  cc_cv_werror=-errwarn=%all
13890fi
13891
13892fi
13893
13894
13895fi
13896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_cv_werror" >&5
13897$as_echo "$cc_cv_werror" >&6; }
13898
13899if test "x$enable_werror" = "xyes"; then :
13900
13901  CFLAGS="${CFLAGS} $cc_cv_werror"
13902
13903fi
13904
13905if test "x$enable_extra_warnings" != "xno"; then :
13906
13907
13908  for flag in -Wextra -Winline; do
13909
13910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
13911$as_echo_n "checking if $CC supports $flag flag... " >&6; }
13912if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13913  $as_echo_n "(cached) " >&6
13914else
13915
13916  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13917  $as_echo_n "(cached) " >&6
13918else
13919  ac_save_CFLAGS="$CFLAGS"
13920     CFLAGS="$CFLAGS $flag"
13921     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13922/* end confdefs.h.  */
13923int main() { return 0; }
13924_ACEOF
13925if ac_fn_c_try_link "$LINENO"; then :
13926  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
13927else
13928  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
13929fi
13930rm -f core conftest.err conftest.$ac_objext \
13931    conftest$ac_exeext conftest.$ac_ext
13932     CFLAGS="$ac_save_CFLAGS"
13933
13934fi
13935
13936
13937  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13938
13939fi
13940
13941fi
13942eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
13943	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13944$as_echo "$ac_res" >&6; }
13945
13946  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13947  CFLAGS="$CFLAGS $flag";
13948fi
13949
13950  done
13951
13952
13953fi
13954
13955if test "x$enable_optimizations" != "xno"; then :
13956
13957
13958  for flag in -O3 -fomit-frame-pointer; do
13959
13960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag flag" >&5
13961$as_echo_n "checking if $CC supports $flag flag... " >&6; }
13962if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13963  $as_echo_n "(cached) " >&6
13964else
13965
13966  if { as_var=`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
13967  $as_echo_n "(cached) " >&6
13968else
13969  ac_save_CFLAGS="$CFLAGS"
13970     CFLAGS="$CFLAGS $flag"
13971     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13972/* end confdefs.h.  */
13973int main() { return 0; }
13974_ACEOF
13975if ac_fn_c_try_link "$LINENO"; then :
13976  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='yes'"
13977else
13978  eval "`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`='no'"
13979fi
13980rm -f core conftest.err conftest.$ac_objext \
13981    conftest$ac_exeext conftest.$ac_ext
13982     CFLAGS="$ac_save_CFLAGS"
13983
13984fi
13985
13986
13987  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13988
13989fi
13990
13991fi
13992eval ac_res=\$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh`
13993	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
13994$as_echo "$ac_res" >&6; }
13995
13996  if eval test x$`$as_echo "cc_cv_cflags_$flag" | $as_tr_sh` = xyes; then :
13997  CFLAGS="$CFLAGS $flag";
13998fi
13999
14000  done
14001
14002
14003fi
14004
14005 if  test $use_examples = "yes" ; then
14006  USING_EXAMPLES_TRUE=
14007  USING_EXAMPLES_FALSE='#'
14008else
14009  USING_EXAMPLES_TRUE='#'
14010  USING_EXAMPLES_FALSE=
14011fi
14012
14013
14014case $host_cpu in
14015     x86_64) java_arch=amd64 ;;
14016     i?86)   java_arch=i386 ;;
14017     arm*)   java_arch=arm ;;
14018     *)      java_arch=$host_cpu ;;
14019esac
14020case $host_os in
14021     linux*)   java_os=linux ;;
14022     win*)     java_os=win32 ;;
14023     mingw*)   java_os=win32 ;;
14024     freebsd*) java_os=freebsd ;;
14025     solaris*) java_os=solaris ;;
14026     darwin*)  java_os=darwin ;;
14027     netbsd*)  java_os=netbsd ;;
14028     *)        java_os=$host_os ;;
14029esac
14030
14031if test "x${JDK_HOME}" != "x"; then :
14032
14033    BDJAVA_CFLAGS="-I${JDK_HOME}/include -I${JDK_HOME}/include/$java_os"
14034
14035    temp_CPPFLAGS="$CPPFLAGS"
14036    CPPFLAGS="$BDJAVA_CFLAGS $CPPFLAGS"
14037    for ac_header in jni.h
14038do :
14039  ac_fn_c_check_header_mongrel "$LINENO" "jni.h" "ac_cv_header_jni_h" "$ac_includes_default"
14040if test "x$ac_cv_header_jni_h" = xyes; then :
14041  cat >>confdefs.h <<_ACEOF
14042#define HAVE_JNI_H 1
14043_ACEOF
14044
14045else
14046  as_fn_error $? "could not find jni.h" "$LINENO" 5
14047fi
14048
14049done
14050
14051    CPPFLAGS="$temp_CPPFLAGS"
14052
14053else
14054
14055    BDJAVA_CFLAGS='-I${abs_top_srcdir}/jni -I${abs_top_srcdir}/jni/'"${java_os}"
14056
14057fi
14058
14059if test "x$use_bdjava_jar" = "xyes"; then :
14060
14061
14062        # Extract the first word of "ant", so it can be a program name with args.
14063set dummy ant; ac_word=$2
14064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14065$as_echo_n "checking for $ac_word... " >&6; }
14066if ${ac_cv_prog_HAVE_ANT+:} false; then :
14067  $as_echo_n "(cached) " >&6
14068else
14069  if test -n "$HAVE_ANT"; then
14070  ac_cv_prog_HAVE_ANT="$HAVE_ANT" # Let the user override the test.
14071else
14072as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14073for as_dir in $PATH
14074do
14075  IFS=$as_save_IFS
14076  test -z "$as_dir" && as_dir=.
14077    for ac_exec_ext in '' $ac_executable_extensions; do
14078  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14079    ac_cv_prog_HAVE_ANT="yes"
14080    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14081    break 2
14082  fi
14083done
14084  done
14085IFS=$as_save_IFS
14086
14087  test -z "$ac_cv_prog_HAVE_ANT" && ac_cv_prog_HAVE_ANT="no"
14088fi
14089fi
14090HAVE_ANT=$ac_cv_prog_HAVE_ANT
14091if test -n "$HAVE_ANT"; then
14092  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_ANT" >&5
14093$as_echo "$HAVE_ANT" >&6; }
14094else
14095  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14096$as_echo "no" >&6; }
14097fi
14098
14099
14100    if test "x$HAVE_ANT" = "xno"; then :
14101
14102        as_fn_error $? "BD-J requires ANT, but ant was not found. Install ant or disable jar file building (--disable-bdjava-jar)" "$LINENO" 5
14103
14104fi
14105
14106    if test "x$with_java9" = "x" -a "$BDJ_TYPE" != "j2me"; then :
14107
14108
14109                if test "x${JAVA_HOME}" != "x"; then :
14110  # Extract the first word of "javac", so it can be a program name with args.
14111set dummy javac; ac_word=$2
14112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14113$as_echo_n "checking for $ac_word... " >&6; }
14114if ${ac_cv_path_JAVAC+:} false; then :
14115  $as_echo_n "(cached) " >&6
14116else
14117  case $JAVAC in
14118  [\\/]* | ?:[\\/]*)
14119  ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
14120  ;;
14121  *)
14122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14123for as_dir in "${JAVA_HOME}/bin"
14124do
14125  IFS=$as_save_IFS
14126  test -z "$as_dir" && as_dir=.
14127    for ac_exec_ext in '' $ac_executable_extensions; do
14128  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14129    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
14130    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14131    break 2
14132  fi
14133done
14134  done
14135IFS=$as_save_IFS
14136
14137  test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC="none"
14138  ;;
14139esac
14140fi
14141JAVAC=$ac_cv_path_JAVAC
14142if test -n "$JAVAC"; then
14143  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
14144$as_echo "$JAVAC" >&6; }
14145else
14146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14147$as_echo "no" >&6; }
14148fi
14149
14150
14151else
14152  # Extract the first word of "javac", so it can be a program name with args.
14153set dummy javac; ac_word=$2
14154{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14155$as_echo_n "checking for $ac_word... " >&6; }
14156if ${ac_cv_path_JAVAC+:} false; then :
14157  $as_echo_n "(cached) " >&6
14158else
14159  case $JAVAC in
14160  [\\/]* | ?:[\\/]*)
14161  ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
14162  ;;
14163  *)
14164  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14165for as_dir in $PATH
14166do
14167  IFS=$as_save_IFS
14168  test -z "$as_dir" && as_dir=.
14169    for ac_exec_ext in '' $ac_executable_extensions; do
14170  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14171    ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
14172    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14173    break 2
14174  fi
14175done
14176  done
14177IFS=$as_save_IFS
14178
14179  test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC="none"
14180  ;;
14181esac
14182fi
14183JAVAC=$ac_cv_path_JAVAC
14184if test -n "$JAVAC"; then
14185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
14186$as_echo "$JAVAC" >&6; }
14187else
14188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14189$as_echo "no" >&6; }
14190fi
14191
14192
14193fi
14194        if test x"$JAVAC" = x"none"; then :
14195  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: javac not found. Disable jar file building (--disable-bdjava-jar), set JAVA_HOME or javac type with --without-java9 option." >&5
14196$as_echo "$as_me: WARNING: javac not found. Disable jar file building (--disable-bdjava-jar), set JAVA_HOME or javac type with --without-java9 option." >&2;}
14197fi
14198
14199                javac_version=`"$JAVAC" -version 2>&1 | head -n 1`
14200        with_java9=`echo "$javac_version" | grep -E -q '^javac\ (9|1[0-1])' && echo yes`
14201        with_java12=`echo "$javac_version" | grep -E -q '^javac\ (1[2-9])' && echo yes`
14202
14203fi
14204
14205    if test "x$with_java9" = "xyes" -a "$BDJ_TYPE" != "j2me"; then :
14206  java_code_version=1.6
14207else
14208  java_code_version=1.4
14209fi
14210    if test "x$with_java12" = "xyes" -a "$BDJ_TYPE" != "j2me"; then :
14211  java_code_version=1.7
14212fi
14213
14214fi
14215
14216
14217cat >>confdefs.h <<_ACEOF
14218#define JAVA_ARCH "$java_arch"
14219_ACEOF
14220
14221
14222cat >>confdefs.h <<_ACEOF
14223#define JDK_HOME "$JDK_HOME"
14224_ACEOF
14225
14226 if  test $use_bdjava_jar = "yes" ; then
14227  USING_BDJAVA_BUILD_JAR_TRUE=
14228  USING_BDJAVA_BUILD_JAR_FALSE='#'
14229else
14230  USING_BDJAVA_BUILD_JAR_TRUE='#'
14231  USING_BDJAVA_BUILD_JAR_FALSE=
14232fi
14233
14234 if  test x"$with_java9" = x"yes" ; then
14235  USING_JAVAC_9_TRUE=
14236  USING_JAVAC_9_FALSE='#'
14237else
14238  USING_JAVAC_9_TRUE='#'
14239  USING_JAVAC_9_FALSE=
14240fi
14241
14242 if  test x"$with_java12" = x"yes" ; then
14243  USING_JAVAC_12_TRUE=
14244  USING_JAVAC_12_FALSE='#'
14245else
14246  USING_JAVAC_12_TRUE='#'
14247  USING_JAVAC_12_FALSE=
14248fi
14249
14250
14251if test "$BDJ_TYPE" = "j2me"; then
14252
14253$as_echo "#define HAVE_BDJ_J2ME 1" >>confdefs.h
14254
14255else
14256  BDJ_TYPE=j2se
14257fi
14258
14259 if  test x"$BDJ_TYPE" != x"j2me" ; then
14260  BDJ_J2SE_TRUE=
14261  BDJ_J2SE_FALSE='#'
14262else
14263  BDJ_J2SE_TRUE='#'
14264  BDJ_J2SE_FALSE=
14265fi
14266
14267
14268
14269
14270pkg_failed=no
14271{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDFREAD" >&5
14272$as_echo_n "checking for LIBUDFREAD... " >&6; }
14273
14274if test -n "$LIBUDFREAD_CFLAGS"; then
14275    pkg_cv_LIBUDFREAD_CFLAGS="$LIBUDFREAD_CFLAGS"
14276 elif test -n "$PKG_CONFIG"; then
14277    if test -n "$PKG_CONFIG" && \
14278    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudfread >= 1.1.0\""; } >&5
14279  ($PKG_CONFIG --exists --print-errors "libudfread >= 1.1.0") 2>&5
14280  ac_status=$?
14281  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14282  test $ac_status = 0; }; then
14283  pkg_cv_LIBUDFREAD_CFLAGS=`$PKG_CONFIG --cflags "libudfread >= 1.1.0" 2>/dev/null`
14284else
14285  pkg_failed=yes
14286fi
14287 else
14288    pkg_failed=untried
14289fi
14290if test -n "$LIBUDFREAD_LIBS"; then
14291    pkg_cv_LIBUDFREAD_LIBS="$LIBUDFREAD_LIBS"
14292 elif test -n "$PKG_CONFIG"; then
14293    if test -n "$PKG_CONFIG" && \
14294    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudfread >= 1.1.0\""; } >&5
14295  ($PKG_CONFIG --exists --print-errors "libudfread >= 1.1.0") 2>&5
14296  ac_status=$?
14297  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14298  test $ac_status = 0; }; then
14299  pkg_cv_LIBUDFREAD_LIBS=`$PKG_CONFIG --libs "libudfread >= 1.1.0" 2>/dev/null`
14300else
14301  pkg_failed=yes
14302fi
14303 else
14304    pkg_failed=untried
14305fi
14306
14307
14308
14309if test $pkg_failed = yes; then
14310   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14311$as_echo "no" >&6; }
14312
14313if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14314        _pkg_short_errors_supported=yes
14315else
14316        _pkg_short_errors_supported=no
14317fi
14318        if test $_pkg_short_errors_supported = yes; then
14319	        LIBUDFREAD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudfread >= 1.1.0" 2>&1`
14320        else
14321	        LIBUDFREAD_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudfread >= 1.1.0" 2>&1`
14322        fi
14323	# Put the nasty error message in config.log where it belongs
14324	echo "$LIBUDFREAD_PKG_ERRORS" >&5
14325
14326
14327          with_libudfread=no
14328     if test ! -f "${srcdir}/contrib/libudfread/src/udfread.h"; then :
14329  as_fn_error $? "\"libudfread source tree not found\"" "$LINENO" 5
14330fi
14331     for ac_header in unistd.h fcntl.h
14332do :
14333  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14334ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14335if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14336  cat >>confdefs.h <<_ACEOF
14337#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14338_ACEOF
14339
14340fi
14341
14342done
14343
14344     if test "${SYS}" != "mingw32"; then :
14345
14346         ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread"
14347if test "x$ac_cv_func_pread" = xyes; then :
14348
14349else
14350
14351$as_echo "#define NEED_PREAD_IMPL 1" >>confdefs.h
14352
14353fi
14354
14355fi
14356
14357elif test $pkg_failed = untried; then
14358     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14359$as_echo "no" >&6; }
14360
14361          with_libudfread=no
14362     if test ! -f "${srcdir}/contrib/libudfread/src/udfread.h"; then :
14363  as_fn_error $? "\"libudfread source tree not found\"" "$LINENO" 5
14364fi
14365     for ac_header in unistd.h fcntl.h
14366do :
14367  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14368ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14369if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14370  cat >>confdefs.h <<_ACEOF
14371#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14372_ACEOF
14373
14374fi
14375
14376done
14377
14378     if test "${SYS}" != "mingw32"; then :
14379
14380         ac_fn_c_check_func "$LINENO" "pread" "ac_cv_func_pread"
14381if test "x$ac_cv_func_pread" = xyes; then :
14382
14383else
14384
14385$as_echo "#define NEED_PREAD_IMPL 1" >>confdefs.h
14386
14387fi
14388
14389fi
14390
14391else
14392	LIBUDFREAD_CFLAGS=$pkg_cv_LIBUDFREAD_CFLAGS
14393	LIBUDFREAD_LIBS=$pkg_cv_LIBUDFREAD_LIBS
14394        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14395$as_echo "yes" >&6; }
14396	with_libudfread=yes
14397
14398$as_echo "#define HAVE_LIBUDFREAD 1" >>confdefs.h
14399
14400     PACKAGES="$PACKAGES libudfread >= 1.1.0"
14401
14402fi
14403 if  test x"$with_libudfread" = x"yes" ; then
14404  HAVE_LIBUDFREAD_TRUE=
14405  HAVE_LIBUDFREAD_FALSE='#'
14406else
14407  HAVE_LIBUDFREAD_TRUE='#'
14408  HAVE_LIBUDFREAD_FALSE=
14409fi
14410
14411
14412
14413
14414# Files:
14415DX_PROJECT=libbluray
14416
14417DX_CONFIG=doc/doxygen-config
14418
14419DX_DOCDIR=doc/doxygen
14420
14421
14422# Environment variables used inside doxygen.cfg:
14423DX_ENV="$DX_ENV SRCDIR='$srcdir'"
14424
14425DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
14426
14427DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
14428
14429DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
14430
14431
14432# Doxygen itself:
14433
14434
14435
14436    # Check whether --enable-doxygen-doc was given.
14437if test "${enable_doxygen_doc+set}" = set; then :
14438  enableval=$enable_doxygen_doc;
14439case "$enableval" in
14440#(
14441y|Y|yes|Yes|YES)
14442    DX_FLAG_doc=1
14443
14444
14445;; #(
14446n|N|no|No|NO)
14447    DX_FLAG_doc=0
14448
14449;; #(
14450*)
14451    as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
14452;;
14453esac
14454
14455else
14456
14457DX_FLAG_doc=1
14458
14459
14460
14461fi
14462
14463if test "$DX_FLAG_doc" = 1; then
14464
14465if test -n "$ac_tool_prefix"; then
14466  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
14467set dummy ${ac_tool_prefix}doxygen; ac_word=$2
14468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14469$as_echo_n "checking for $ac_word... " >&6; }
14470if ${ac_cv_path_DX_DOXYGEN+:} false; then :
14471  $as_echo_n "(cached) " >&6
14472else
14473  case $DX_DOXYGEN in
14474  [\\/]* | ?:[\\/]*)
14475  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
14476  ;;
14477  *)
14478  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14479for as_dir in $PATH
14480do
14481  IFS=$as_save_IFS
14482  test -z "$as_dir" && as_dir=.
14483    for ac_exec_ext in '' $ac_executable_extensions; do
14484  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14485    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
14486    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14487    break 2
14488  fi
14489done
14490  done
14491IFS=$as_save_IFS
14492
14493  ;;
14494esac
14495fi
14496DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
14497if test -n "$DX_DOXYGEN"; then
14498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
14499$as_echo "$DX_DOXYGEN" >&6; }
14500else
14501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14502$as_echo "no" >&6; }
14503fi
14504
14505
14506fi
14507if test -z "$ac_cv_path_DX_DOXYGEN"; then
14508  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
14509  # Extract the first word of "doxygen", so it can be a program name with args.
14510set dummy doxygen; ac_word=$2
14511{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14512$as_echo_n "checking for $ac_word... " >&6; }
14513if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
14514  $as_echo_n "(cached) " >&6
14515else
14516  case $ac_pt_DX_DOXYGEN in
14517  [\\/]* | ?:[\\/]*)
14518  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
14519  ;;
14520  *)
14521  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14522for as_dir in $PATH
14523do
14524  IFS=$as_save_IFS
14525  test -z "$as_dir" && as_dir=.
14526    for ac_exec_ext in '' $ac_executable_extensions; do
14527  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14528    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
14529    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14530    break 2
14531  fi
14532done
14533  done
14534IFS=$as_save_IFS
14535
14536  ;;
14537esac
14538fi
14539ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
14540if test -n "$ac_pt_DX_DOXYGEN"; then
14541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
14542$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
14543else
14544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14545$as_echo "no" >&6; }
14546fi
14547
14548  if test "x$ac_pt_DX_DOXYGEN" = x; then
14549    DX_DOXYGEN=""
14550  else
14551    case $cross_compiling:$ac_tool_warned in
14552yes:)
14553{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14554$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14555ac_tool_warned=yes ;;
14556esac
14557    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
14558  fi
14559else
14560  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
14561fi
14562
14563if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
14564    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
14565$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
14566    DX_FLAG_doc=0
14567
14568fi
14569
14570
14571if test -n "$ac_tool_prefix"; then
14572  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
14573set dummy ${ac_tool_prefix}perl; ac_word=$2
14574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14575$as_echo_n "checking for $ac_word... " >&6; }
14576if ${ac_cv_path_DX_PERL+:} false; then :
14577  $as_echo_n "(cached) " >&6
14578else
14579  case $DX_PERL in
14580  [\\/]* | ?:[\\/]*)
14581  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
14582  ;;
14583  *)
14584  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14585for as_dir in $PATH
14586do
14587  IFS=$as_save_IFS
14588  test -z "$as_dir" && as_dir=.
14589    for ac_exec_ext in '' $ac_executable_extensions; do
14590  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14591    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
14592    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14593    break 2
14594  fi
14595done
14596  done
14597IFS=$as_save_IFS
14598
14599  ;;
14600esac
14601fi
14602DX_PERL=$ac_cv_path_DX_PERL
14603if test -n "$DX_PERL"; then
14604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
14605$as_echo "$DX_PERL" >&6; }
14606else
14607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14608$as_echo "no" >&6; }
14609fi
14610
14611
14612fi
14613if test -z "$ac_cv_path_DX_PERL"; then
14614  ac_pt_DX_PERL=$DX_PERL
14615  # Extract the first word of "perl", so it can be a program name with args.
14616set dummy perl; ac_word=$2
14617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14618$as_echo_n "checking for $ac_word... " >&6; }
14619if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
14620  $as_echo_n "(cached) " >&6
14621else
14622  case $ac_pt_DX_PERL in
14623  [\\/]* | ?:[\\/]*)
14624  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
14625  ;;
14626  *)
14627  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14628for as_dir in $PATH
14629do
14630  IFS=$as_save_IFS
14631  test -z "$as_dir" && as_dir=.
14632    for ac_exec_ext in '' $ac_executable_extensions; do
14633  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14634    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
14635    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14636    break 2
14637  fi
14638done
14639  done
14640IFS=$as_save_IFS
14641
14642  ;;
14643esac
14644fi
14645ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
14646if test -n "$ac_pt_DX_PERL"; then
14647  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
14648$as_echo "$ac_pt_DX_PERL" >&6; }
14649else
14650  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14651$as_echo "no" >&6; }
14652fi
14653
14654  if test "x$ac_pt_DX_PERL" = x; then
14655    DX_PERL=""
14656  else
14657    case $cross_compiling:$ac_tool_warned in
14658yes:)
14659{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14660$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14661ac_tool_warned=yes ;;
14662esac
14663    DX_PERL=$ac_pt_DX_PERL
14664  fi
14665else
14666  DX_PERL="$ac_cv_path_DX_PERL"
14667fi
14668
14669if test "$DX_FLAG_doc$DX_PERL" = 1; then
14670    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
14671$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
14672    DX_FLAG_doc=0
14673
14674fi
14675
14676    :
14677fi
14678if test "$DX_FLAG_doc" = 1; then
14679     if :; then
14680  DX_COND_doc_TRUE=
14681  DX_COND_doc_FALSE='#'
14682else
14683  DX_COND_doc_TRUE='#'
14684  DX_COND_doc_FALSE=
14685fi
14686
14687    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
14688
14689    :
14690else
14691     if false; then
14692  DX_COND_doc_TRUE=
14693  DX_COND_doc_FALSE='#'
14694else
14695  DX_COND_doc_TRUE='#'
14696  DX_COND_doc_FALSE=
14697fi
14698
14699
14700    :
14701fi
14702
14703
14704# Dot for graphics:
14705
14706
14707
14708    # Check whether --enable-doxygen-dot was given.
14709if test "${enable_doxygen_dot+set}" = set; then :
14710  enableval=$enable_doxygen_dot;
14711case "$enableval" in
14712#(
14713y|Y|yes|Yes|YES)
14714    DX_FLAG_dot=1
14715
14716
14717test "$DX_FLAG_doc" = "1" \
14718|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
14719
14720;; #(
14721n|N|no|No|NO)
14722    DX_FLAG_dot=0
14723
14724;; #(
14725*)
14726    as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
14727;;
14728esac
14729
14730else
14731
14732DX_FLAG_dot=1
14733
14734
14735test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
14736
14737
14738
14739fi
14740
14741if test "$DX_FLAG_dot" = 1; then
14742
14743if test -n "$ac_tool_prefix"; then
14744  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
14745set dummy ${ac_tool_prefix}dot; ac_word=$2
14746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14747$as_echo_n "checking for $ac_word... " >&6; }
14748if ${ac_cv_path_DX_DOT+:} false; then :
14749  $as_echo_n "(cached) " >&6
14750else
14751  case $DX_DOT in
14752  [\\/]* | ?:[\\/]*)
14753  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
14754  ;;
14755  *)
14756  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14757for as_dir in $PATH
14758do
14759  IFS=$as_save_IFS
14760  test -z "$as_dir" && as_dir=.
14761    for ac_exec_ext in '' $ac_executable_extensions; do
14762  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14763    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
14764    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14765    break 2
14766  fi
14767done
14768  done
14769IFS=$as_save_IFS
14770
14771  ;;
14772esac
14773fi
14774DX_DOT=$ac_cv_path_DX_DOT
14775if test -n "$DX_DOT"; then
14776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
14777$as_echo "$DX_DOT" >&6; }
14778else
14779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14780$as_echo "no" >&6; }
14781fi
14782
14783
14784fi
14785if test -z "$ac_cv_path_DX_DOT"; then
14786  ac_pt_DX_DOT=$DX_DOT
14787  # Extract the first word of "dot", so it can be a program name with args.
14788set dummy dot; ac_word=$2
14789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14790$as_echo_n "checking for $ac_word... " >&6; }
14791if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
14792  $as_echo_n "(cached) " >&6
14793else
14794  case $ac_pt_DX_DOT in
14795  [\\/]* | ?:[\\/]*)
14796  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
14797  ;;
14798  *)
14799  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14800for as_dir in $PATH
14801do
14802  IFS=$as_save_IFS
14803  test -z "$as_dir" && as_dir=.
14804    for ac_exec_ext in '' $ac_executable_extensions; do
14805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14806    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
14807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14808    break 2
14809  fi
14810done
14811  done
14812IFS=$as_save_IFS
14813
14814  ;;
14815esac
14816fi
14817ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
14818if test -n "$ac_pt_DX_DOT"; then
14819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
14820$as_echo "$ac_pt_DX_DOT" >&6; }
14821else
14822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14823$as_echo "no" >&6; }
14824fi
14825
14826  if test "x$ac_pt_DX_DOT" = x; then
14827    DX_DOT=""
14828  else
14829    case $cross_compiling:$ac_tool_warned in
14830yes:)
14831{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14832$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14833ac_tool_warned=yes ;;
14834esac
14835    DX_DOT=$ac_pt_DX_DOT
14836  fi
14837else
14838  DX_DOT="$ac_cv_path_DX_DOT"
14839fi
14840
14841if test "$DX_FLAG_dot$DX_DOT" = 1; then
14842    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
14843$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
14844    DX_FLAG_dot=0
14845
14846fi
14847
14848    :
14849fi
14850if test "$DX_FLAG_dot" = 1; then
14851     if :; then
14852  DX_COND_dot_TRUE=
14853  DX_COND_dot_FALSE='#'
14854else
14855  DX_COND_dot_TRUE='#'
14856  DX_COND_dot_FALSE=
14857fi
14858
14859    DX_ENV="$DX_ENV HAVE_DOT='YES'"
14860
14861             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
14862
14863    :
14864else
14865     if false; then
14866  DX_COND_dot_TRUE=
14867  DX_COND_dot_FALSE='#'
14868else
14869  DX_COND_dot_TRUE='#'
14870  DX_COND_dot_FALSE=
14871fi
14872
14873    DX_ENV="$DX_ENV HAVE_DOT='NO'"
14874
14875    :
14876fi
14877
14878
14879# Man pages generation:
14880
14881
14882
14883    # Check whether --enable-doxygen-man was given.
14884if test "${enable_doxygen_man+set}" = set; then :
14885  enableval=$enable_doxygen_man;
14886case "$enableval" in
14887#(
14888y|Y|yes|Yes|YES)
14889    DX_FLAG_man=1
14890
14891
14892test "$DX_FLAG_doc" = "1" \
14893|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
14894
14895;; #(
14896n|N|no|No|NO)
14897    DX_FLAG_man=0
14898
14899;; #(
14900*)
14901    as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
14902;;
14903esac
14904
14905else
14906
14907DX_FLAG_man=0
14908
14909
14910test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
14911
14912
14913
14914fi
14915
14916if test "$DX_FLAG_man" = 1; then
14917
14918    :
14919fi
14920if test "$DX_FLAG_man" = 1; then
14921     if :; then
14922  DX_COND_man_TRUE=
14923  DX_COND_man_FALSE='#'
14924else
14925  DX_COND_man_TRUE='#'
14926  DX_COND_man_FALSE=
14927fi
14928
14929    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
14930
14931    :
14932else
14933     if false; then
14934  DX_COND_man_TRUE=
14935  DX_COND_man_FALSE='#'
14936else
14937  DX_COND_man_TRUE='#'
14938  DX_COND_man_FALSE=
14939fi
14940
14941    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
14942
14943    :
14944fi
14945
14946
14947# RTF file generation:
14948
14949
14950
14951    # Check whether --enable-doxygen-rtf was given.
14952if test "${enable_doxygen_rtf+set}" = set; then :
14953  enableval=$enable_doxygen_rtf;
14954case "$enableval" in
14955#(
14956y|Y|yes|Yes|YES)
14957    DX_FLAG_rtf=1
14958
14959
14960test "$DX_FLAG_doc" = "1" \
14961|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
14962
14963;; #(
14964n|N|no|No|NO)
14965    DX_FLAG_rtf=0
14966
14967;; #(
14968*)
14969    as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
14970;;
14971esac
14972
14973else
14974
14975DX_FLAG_rtf=0
14976
14977
14978test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
14979
14980
14981
14982fi
14983
14984if test "$DX_FLAG_rtf" = 1; then
14985
14986    :
14987fi
14988if test "$DX_FLAG_rtf" = 1; then
14989     if :; then
14990  DX_COND_rtf_TRUE=
14991  DX_COND_rtf_FALSE='#'
14992else
14993  DX_COND_rtf_TRUE='#'
14994  DX_COND_rtf_FALSE=
14995fi
14996
14997    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
14998
14999    :
15000else
15001     if false; then
15002  DX_COND_rtf_TRUE=
15003  DX_COND_rtf_FALSE='#'
15004else
15005  DX_COND_rtf_TRUE='#'
15006  DX_COND_rtf_FALSE=
15007fi
15008
15009    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
15010
15011    :
15012fi
15013
15014
15015# XML file generation:
15016
15017
15018
15019    # Check whether --enable-doxygen-xml was given.
15020if test "${enable_doxygen_xml+set}" = set; then :
15021  enableval=$enable_doxygen_xml;
15022case "$enableval" in
15023#(
15024y|Y|yes|Yes|YES)
15025    DX_FLAG_xml=1
15026
15027
15028test "$DX_FLAG_doc" = "1" \
15029|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
15030
15031;; #(
15032n|N|no|No|NO)
15033    DX_FLAG_xml=0
15034
15035;; #(
15036*)
15037    as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
15038;;
15039esac
15040
15041else
15042
15043DX_FLAG_xml=0
15044
15045
15046test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
15047
15048
15049
15050fi
15051
15052if test "$DX_FLAG_xml" = 1; then
15053
15054    :
15055fi
15056if test "$DX_FLAG_xml" = 1; then
15057     if :; then
15058  DX_COND_xml_TRUE=
15059  DX_COND_xml_FALSE='#'
15060else
15061  DX_COND_xml_TRUE='#'
15062  DX_COND_xml_FALSE=
15063fi
15064
15065    DX_ENV="$DX_ENV GENERATE_XML='YES'"
15066
15067    :
15068else
15069     if false; then
15070  DX_COND_xml_TRUE=
15071  DX_COND_xml_FALSE='#'
15072else
15073  DX_COND_xml_TRUE='#'
15074  DX_COND_xml_FALSE=
15075fi
15076
15077    DX_ENV="$DX_ENV GENERATE_XML='NO'"
15078
15079    :
15080fi
15081
15082
15083# (Compressed) HTML help generation:
15084
15085
15086
15087    # Check whether --enable-doxygen-chm was given.
15088if test "${enable_doxygen_chm+set}" = set; then :
15089  enableval=$enable_doxygen_chm;
15090case "$enableval" in
15091#(
15092y|Y|yes|Yes|YES)
15093    DX_FLAG_chm=1
15094
15095
15096test "$DX_FLAG_doc" = "1" \
15097|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
15098
15099;; #(
15100n|N|no|No|NO)
15101    DX_FLAG_chm=0
15102
15103;; #(
15104*)
15105    as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
15106;;
15107esac
15108
15109else
15110
15111DX_FLAG_chm=0
15112
15113
15114test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
15115
15116
15117
15118fi
15119
15120if test "$DX_FLAG_chm" = 1; then
15121
15122if test -n "$ac_tool_prefix"; then
15123  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
15124set dummy ${ac_tool_prefix}hhc; ac_word=$2
15125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15126$as_echo_n "checking for $ac_word... " >&6; }
15127if ${ac_cv_path_DX_HHC+:} false; then :
15128  $as_echo_n "(cached) " >&6
15129else
15130  case $DX_HHC in
15131  [\\/]* | ?:[\\/]*)
15132  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
15133  ;;
15134  *)
15135  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15136for as_dir in $PATH
15137do
15138  IFS=$as_save_IFS
15139  test -z "$as_dir" && as_dir=.
15140    for ac_exec_ext in '' $ac_executable_extensions; do
15141  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15142    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
15143    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15144    break 2
15145  fi
15146done
15147  done
15148IFS=$as_save_IFS
15149
15150  ;;
15151esac
15152fi
15153DX_HHC=$ac_cv_path_DX_HHC
15154if test -n "$DX_HHC"; then
15155  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
15156$as_echo "$DX_HHC" >&6; }
15157else
15158  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15159$as_echo "no" >&6; }
15160fi
15161
15162
15163fi
15164if test -z "$ac_cv_path_DX_HHC"; then
15165  ac_pt_DX_HHC=$DX_HHC
15166  # Extract the first word of "hhc", so it can be a program name with args.
15167set dummy hhc; ac_word=$2
15168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15169$as_echo_n "checking for $ac_word... " >&6; }
15170if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
15171  $as_echo_n "(cached) " >&6
15172else
15173  case $ac_pt_DX_HHC in
15174  [\\/]* | ?:[\\/]*)
15175  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
15176  ;;
15177  *)
15178  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15179for as_dir in $PATH
15180do
15181  IFS=$as_save_IFS
15182  test -z "$as_dir" && as_dir=.
15183    for ac_exec_ext in '' $ac_executable_extensions; do
15184  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15185    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
15186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15187    break 2
15188  fi
15189done
15190  done
15191IFS=$as_save_IFS
15192
15193  ;;
15194esac
15195fi
15196ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
15197if test -n "$ac_pt_DX_HHC"; then
15198  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
15199$as_echo "$ac_pt_DX_HHC" >&6; }
15200else
15201  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15202$as_echo "no" >&6; }
15203fi
15204
15205  if test "x$ac_pt_DX_HHC" = x; then
15206    DX_HHC=""
15207  else
15208    case $cross_compiling:$ac_tool_warned in
15209yes:)
15210{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15211$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15212ac_tool_warned=yes ;;
15213esac
15214    DX_HHC=$ac_pt_DX_HHC
15215  fi
15216else
15217  DX_HHC="$ac_cv_path_DX_HHC"
15218fi
15219
15220if test "$DX_FLAG_chm$DX_HHC" = 1; then
15221    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
15222$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
15223    DX_FLAG_chm=0
15224
15225fi
15226
15227    :
15228fi
15229if test "$DX_FLAG_chm" = 1; then
15230     if :; then
15231  DX_COND_chm_TRUE=
15232  DX_COND_chm_FALSE='#'
15233else
15234  DX_COND_chm_TRUE='#'
15235  DX_COND_chm_FALSE=
15236fi
15237
15238    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
15239
15240             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
15241
15242             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
15243
15244    :
15245else
15246     if false; then
15247  DX_COND_chm_TRUE=
15248  DX_COND_chm_FALSE='#'
15249else
15250  DX_COND_chm_TRUE='#'
15251  DX_COND_chm_FALSE=
15252fi
15253
15254    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
15255
15256    :
15257fi
15258
15259
15260# Seperate CHI file generation.
15261
15262
15263
15264    # Check whether --enable-doxygen-chi was given.
15265if test "${enable_doxygen_chi+set}" = set; then :
15266  enableval=$enable_doxygen_chi;
15267case "$enableval" in
15268#(
15269y|Y|yes|Yes|YES)
15270    DX_FLAG_chi=1
15271
15272
15273test "$DX_FLAG_chm" = "1" \
15274|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
15275
15276;; #(
15277n|N|no|No|NO)
15278    DX_FLAG_chi=0
15279
15280;; #(
15281*)
15282    as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
15283;;
15284esac
15285
15286else
15287
15288DX_FLAG_chi=0
15289
15290
15291test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
15292
15293
15294
15295fi
15296
15297if test "$DX_FLAG_chi" = 1; then
15298
15299    :
15300fi
15301if test "$DX_FLAG_chi" = 1; then
15302     if :; then
15303  DX_COND_chi_TRUE=
15304  DX_COND_chi_FALSE='#'
15305else
15306  DX_COND_chi_TRUE='#'
15307  DX_COND_chi_FALSE=
15308fi
15309
15310    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
15311
15312    :
15313else
15314     if false; then
15315  DX_COND_chi_TRUE=
15316  DX_COND_chi_FALSE='#'
15317else
15318  DX_COND_chi_TRUE='#'
15319  DX_COND_chi_FALSE=
15320fi
15321
15322    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
15323
15324    :
15325fi
15326
15327
15328# Plain HTML pages generation:
15329
15330
15331
15332    # Check whether --enable-doxygen-html was given.
15333if test "${enable_doxygen_html+set}" = set; then :
15334  enableval=$enable_doxygen_html;
15335case "$enableval" in
15336#(
15337y|Y|yes|Yes|YES)
15338    DX_FLAG_html=1
15339
15340
15341test "$DX_FLAG_doc" = "1" \
15342|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
15343
15344test "$DX_FLAG_chm" = "0" \
15345|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
15346
15347;; #(
15348n|N|no|No|NO)
15349    DX_FLAG_html=0
15350
15351;; #(
15352*)
15353    as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
15354;;
15355esac
15356
15357else
15358
15359DX_FLAG_html=1
15360
15361
15362test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
15363
15364
15365test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
15366
15367
15368
15369fi
15370
15371if test "$DX_FLAG_html" = 1; then
15372
15373    :
15374fi
15375if test "$DX_FLAG_html" = 1; then
15376     if :; then
15377  DX_COND_html_TRUE=
15378  DX_COND_html_FALSE='#'
15379else
15380  DX_COND_html_TRUE='#'
15381  DX_COND_html_FALSE=
15382fi
15383
15384    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
15385
15386    :
15387else
15388     if false; then
15389  DX_COND_html_TRUE=
15390  DX_COND_html_FALSE='#'
15391else
15392  DX_COND_html_TRUE='#'
15393  DX_COND_html_FALSE=
15394fi
15395
15396    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
15397
15398    :
15399fi
15400
15401
15402# PostScript file generation:
15403
15404
15405
15406    # Check whether --enable-doxygen-ps was given.
15407if test "${enable_doxygen_ps+set}" = set; then :
15408  enableval=$enable_doxygen_ps;
15409case "$enableval" in
15410#(
15411y|Y|yes|Yes|YES)
15412    DX_FLAG_ps=1
15413
15414
15415test "$DX_FLAG_doc" = "1" \
15416|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
15417
15418;; #(
15419n|N|no|No|NO)
15420    DX_FLAG_ps=0
15421
15422;; #(
15423*)
15424    as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
15425;;
15426esac
15427
15428else
15429
15430DX_FLAG_ps=1
15431
15432
15433test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
15434
15435
15436
15437fi
15438
15439if test "$DX_FLAG_ps" = 1; then
15440
15441if test -n "$ac_tool_prefix"; then
15442  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
15443set dummy ${ac_tool_prefix}latex; ac_word=$2
15444{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15445$as_echo_n "checking for $ac_word... " >&6; }
15446if ${ac_cv_path_DX_LATEX+:} false; then :
15447  $as_echo_n "(cached) " >&6
15448else
15449  case $DX_LATEX in
15450  [\\/]* | ?:[\\/]*)
15451  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
15452  ;;
15453  *)
15454  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15455for as_dir in $PATH
15456do
15457  IFS=$as_save_IFS
15458  test -z "$as_dir" && as_dir=.
15459    for ac_exec_ext in '' $ac_executable_extensions; do
15460  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15461    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
15462    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15463    break 2
15464  fi
15465done
15466  done
15467IFS=$as_save_IFS
15468
15469  ;;
15470esac
15471fi
15472DX_LATEX=$ac_cv_path_DX_LATEX
15473if test -n "$DX_LATEX"; then
15474  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
15475$as_echo "$DX_LATEX" >&6; }
15476else
15477  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15478$as_echo "no" >&6; }
15479fi
15480
15481
15482fi
15483if test -z "$ac_cv_path_DX_LATEX"; then
15484  ac_pt_DX_LATEX=$DX_LATEX
15485  # Extract the first word of "latex", so it can be a program name with args.
15486set dummy latex; ac_word=$2
15487{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15488$as_echo_n "checking for $ac_word... " >&6; }
15489if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
15490  $as_echo_n "(cached) " >&6
15491else
15492  case $ac_pt_DX_LATEX in
15493  [\\/]* | ?:[\\/]*)
15494  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
15495  ;;
15496  *)
15497  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15498for as_dir in $PATH
15499do
15500  IFS=$as_save_IFS
15501  test -z "$as_dir" && as_dir=.
15502    for ac_exec_ext in '' $ac_executable_extensions; do
15503  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15504    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
15505    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15506    break 2
15507  fi
15508done
15509  done
15510IFS=$as_save_IFS
15511
15512  ;;
15513esac
15514fi
15515ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
15516if test -n "$ac_pt_DX_LATEX"; then
15517  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
15518$as_echo "$ac_pt_DX_LATEX" >&6; }
15519else
15520  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15521$as_echo "no" >&6; }
15522fi
15523
15524  if test "x$ac_pt_DX_LATEX" = x; then
15525    DX_LATEX=""
15526  else
15527    case $cross_compiling:$ac_tool_warned in
15528yes:)
15529{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15530$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15531ac_tool_warned=yes ;;
15532esac
15533    DX_LATEX=$ac_pt_DX_LATEX
15534  fi
15535else
15536  DX_LATEX="$ac_cv_path_DX_LATEX"
15537fi
15538
15539if test "$DX_FLAG_ps$DX_LATEX" = 1; then
15540    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
15541$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
15542    DX_FLAG_ps=0
15543
15544fi
15545
15546
15547if test -n "$ac_tool_prefix"; then
15548  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
15549set dummy ${ac_tool_prefix}makeindex; ac_word=$2
15550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15551$as_echo_n "checking for $ac_word... " >&6; }
15552if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
15553  $as_echo_n "(cached) " >&6
15554else
15555  case $DX_MAKEINDEX in
15556  [\\/]* | ?:[\\/]*)
15557  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
15558  ;;
15559  *)
15560  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15561for as_dir in $PATH
15562do
15563  IFS=$as_save_IFS
15564  test -z "$as_dir" && as_dir=.
15565    for ac_exec_ext in '' $ac_executable_extensions; do
15566  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15568    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15569    break 2
15570  fi
15571done
15572  done
15573IFS=$as_save_IFS
15574
15575  ;;
15576esac
15577fi
15578DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
15579if test -n "$DX_MAKEINDEX"; then
15580  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
15581$as_echo "$DX_MAKEINDEX" >&6; }
15582else
15583  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15584$as_echo "no" >&6; }
15585fi
15586
15587
15588fi
15589if test -z "$ac_cv_path_DX_MAKEINDEX"; then
15590  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
15591  # Extract the first word of "makeindex", so it can be a program name with args.
15592set dummy makeindex; ac_word=$2
15593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15594$as_echo_n "checking for $ac_word... " >&6; }
15595if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
15596  $as_echo_n "(cached) " >&6
15597else
15598  case $ac_pt_DX_MAKEINDEX in
15599  [\\/]* | ?:[\\/]*)
15600  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
15601  ;;
15602  *)
15603  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15604for as_dir in $PATH
15605do
15606  IFS=$as_save_IFS
15607  test -z "$as_dir" && as_dir=.
15608    for ac_exec_ext in '' $ac_executable_extensions; do
15609  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15610    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
15611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15612    break 2
15613  fi
15614done
15615  done
15616IFS=$as_save_IFS
15617
15618  ;;
15619esac
15620fi
15621ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
15622if test -n "$ac_pt_DX_MAKEINDEX"; then
15623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
15624$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
15625else
15626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15627$as_echo "no" >&6; }
15628fi
15629
15630  if test "x$ac_pt_DX_MAKEINDEX" = x; then
15631    DX_MAKEINDEX=""
15632  else
15633    case $cross_compiling:$ac_tool_warned in
15634yes:)
15635{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15636$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15637ac_tool_warned=yes ;;
15638esac
15639    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
15640  fi
15641else
15642  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
15643fi
15644
15645if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
15646    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
15647$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
15648    DX_FLAG_ps=0
15649
15650fi
15651
15652
15653if test -n "$ac_tool_prefix"; then
15654  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
15655set dummy ${ac_tool_prefix}dvips; ac_word=$2
15656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15657$as_echo_n "checking for $ac_word... " >&6; }
15658if ${ac_cv_path_DX_DVIPS+:} false; then :
15659  $as_echo_n "(cached) " >&6
15660else
15661  case $DX_DVIPS in
15662  [\\/]* | ?:[\\/]*)
15663  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
15664  ;;
15665  *)
15666  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15667for as_dir in $PATH
15668do
15669  IFS=$as_save_IFS
15670  test -z "$as_dir" && as_dir=.
15671    for ac_exec_ext in '' $ac_executable_extensions; do
15672  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15673    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
15674    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15675    break 2
15676  fi
15677done
15678  done
15679IFS=$as_save_IFS
15680
15681  ;;
15682esac
15683fi
15684DX_DVIPS=$ac_cv_path_DX_DVIPS
15685if test -n "$DX_DVIPS"; then
15686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
15687$as_echo "$DX_DVIPS" >&6; }
15688else
15689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15690$as_echo "no" >&6; }
15691fi
15692
15693
15694fi
15695if test -z "$ac_cv_path_DX_DVIPS"; then
15696  ac_pt_DX_DVIPS=$DX_DVIPS
15697  # Extract the first word of "dvips", so it can be a program name with args.
15698set dummy dvips; ac_word=$2
15699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15700$as_echo_n "checking for $ac_word... " >&6; }
15701if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
15702  $as_echo_n "(cached) " >&6
15703else
15704  case $ac_pt_DX_DVIPS in
15705  [\\/]* | ?:[\\/]*)
15706  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
15707  ;;
15708  *)
15709  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15710for as_dir in $PATH
15711do
15712  IFS=$as_save_IFS
15713  test -z "$as_dir" && as_dir=.
15714    for ac_exec_ext in '' $ac_executable_extensions; do
15715  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15716    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
15717    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15718    break 2
15719  fi
15720done
15721  done
15722IFS=$as_save_IFS
15723
15724  ;;
15725esac
15726fi
15727ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
15728if test -n "$ac_pt_DX_DVIPS"; then
15729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
15730$as_echo "$ac_pt_DX_DVIPS" >&6; }
15731else
15732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15733$as_echo "no" >&6; }
15734fi
15735
15736  if test "x$ac_pt_DX_DVIPS" = x; then
15737    DX_DVIPS=""
15738  else
15739    case $cross_compiling:$ac_tool_warned in
15740yes:)
15741{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15742$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15743ac_tool_warned=yes ;;
15744esac
15745    DX_DVIPS=$ac_pt_DX_DVIPS
15746  fi
15747else
15748  DX_DVIPS="$ac_cv_path_DX_DVIPS"
15749fi
15750
15751if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
15752    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
15753$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
15754    DX_FLAG_ps=0
15755
15756fi
15757
15758
15759if test -n "$ac_tool_prefix"; then
15760  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
15761set dummy ${ac_tool_prefix}egrep; ac_word=$2
15762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15763$as_echo_n "checking for $ac_word... " >&6; }
15764if ${ac_cv_path_DX_EGREP+:} false; then :
15765  $as_echo_n "(cached) " >&6
15766else
15767  case $DX_EGREP in
15768  [\\/]* | ?:[\\/]*)
15769  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
15770  ;;
15771  *)
15772  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15773for as_dir in $PATH
15774do
15775  IFS=$as_save_IFS
15776  test -z "$as_dir" && as_dir=.
15777    for ac_exec_ext in '' $ac_executable_extensions; do
15778  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15779    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15780    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15781    break 2
15782  fi
15783done
15784  done
15785IFS=$as_save_IFS
15786
15787  ;;
15788esac
15789fi
15790DX_EGREP=$ac_cv_path_DX_EGREP
15791if test -n "$DX_EGREP"; then
15792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
15793$as_echo "$DX_EGREP" >&6; }
15794else
15795  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15796$as_echo "no" >&6; }
15797fi
15798
15799
15800fi
15801if test -z "$ac_cv_path_DX_EGREP"; then
15802  ac_pt_DX_EGREP=$DX_EGREP
15803  # Extract the first word of "egrep", so it can be a program name with args.
15804set dummy egrep; ac_word=$2
15805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15806$as_echo_n "checking for $ac_word... " >&6; }
15807if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
15808  $as_echo_n "(cached) " >&6
15809else
15810  case $ac_pt_DX_EGREP in
15811  [\\/]* | ?:[\\/]*)
15812  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
15813  ;;
15814  *)
15815  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15816for as_dir in $PATH
15817do
15818  IFS=$as_save_IFS
15819  test -z "$as_dir" && as_dir=.
15820    for ac_exec_ext in '' $ac_executable_extensions; do
15821  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15822    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
15823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15824    break 2
15825  fi
15826done
15827  done
15828IFS=$as_save_IFS
15829
15830  ;;
15831esac
15832fi
15833ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
15834if test -n "$ac_pt_DX_EGREP"; then
15835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
15836$as_echo "$ac_pt_DX_EGREP" >&6; }
15837else
15838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15839$as_echo "no" >&6; }
15840fi
15841
15842  if test "x$ac_pt_DX_EGREP" = x; then
15843    DX_EGREP=""
15844  else
15845    case $cross_compiling:$ac_tool_warned in
15846yes:)
15847{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
15848$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
15849ac_tool_warned=yes ;;
15850esac
15851    DX_EGREP=$ac_pt_DX_EGREP
15852  fi
15853else
15854  DX_EGREP="$ac_cv_path_DX_EGREP"
15855fi
15856
15857if test "$DX_FLAG_ps$DX_EGREP" = 1; then
15858    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
15859$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
15860    DX_FLAG_ps=0
15861
15862fi
15863
15864    :
15865fi
15866if test "$DX_FLAG_ps" = 1; then
15867     if :; then
15868  DX_COND_ps_TRUE=
15869  DX_COND_ps_FALSE='#'
15870else
15871  DX_COND_ps_TRUE='#'
15872  DX_COND_ps_FALSE=
15873fi
15874
15875
15876    :
15877else
15878     if false; then
15879  DX_COND_ps_TRUE=
15880  DX_COND_ps_FALSE='#'
15881else
15882  DX_COND_ps_TRUE='#'
15883  DX_COND_ps_FALSE=
15884fi
15885
15886
15887    :
15888fi
15889
15890
15891# PDF file generation:
15892
15893
15894
15895    # Check whether --enable-doxygen-pdf was given.
15896if test "${enable_doxygen_pdf+set}" = set; then :
15897  enableval=$enable_doxygen_pdf;
15898case "$enableval" in
15899#(
15900y|Y|yes|Yes|YES)
15901    DX_FLAG_pdf=1
15902
15903
15904test "$DX_FLAG_doc" = "1" \
15905|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
15906
15907;; #(
15908n|N|no|No|NO)
15909    DX_FLAG_pdf=0
15910
15911;; #(
15912*)
15913    as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
15914;;
15915esac
15916
15917else
15918
15919DX_FLAG_pdf=1
15920
15921
15922test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
15923
15924
15925
15926fi
15927
15928if test "$DX_FLAG_pdf" = 1; then
15929
15930if test -n "$ac_tool_prefix"; then
15931  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
15932set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
15933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15934$as_echo_n "checking for $ac_word... " >&6; }
15935if ${ac_cv_path_DX_PDFLATEX+:} false; then :
15936  $as_echo_n "(cached) " >&6
15937else
15938  case $DX_PDFLATEX in
15939  [\\/]* | ?:[\\/]*)
15940  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
15941  ;;
15942  *)
15943  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15944for as_dir in $PATH
15945do
15946  IFS=$as_save_IFS
15947  test -z "$as_dir" && as_dir=.
15948    for ac_exec_ext in '' $ac_executable_extensions; do
15949  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15950    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
15951    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15952    break 2
15953  fi
15954done
15955  done
15956IFS=$as_save_IFS
15957
15958  ;;
15959esac
15960fi
15961DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
15962if test -n "$DX_PDFLATEX"; then
15963  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
15964$as_echo "$DX_PDFLATEX" >&6; }
15965else
15966  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15967$as_echo "no" >&6; }
15968fi
15969
15970
15971fi
15972if test -z "$ac_cv_path_DX_PDFLATEX"; then
15973  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
15974  # Extract the first word of "pdflatex", so it can be a program name with args.
15975set dummy pdflatex; ac_word=$2
15976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15977$as_echo_n "checking for $ac_word... " >&6; }
15978if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
15979  $as_echo_n "(cached) " >&6
15980else
15981  case $ac_pt_DX_PDFLATEX in
15982  [\\/]* | ?:[\\/]*)
15983  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
15984  ;;
15985  *)
15986  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15987for as_dir in $PATH
15988do
15989  IFS=$as_save_IFS
15990  test -z "$as_dir" && as_dir=.
15991    for ac_exec_ext in '' $ac_executable_extensions; do
15992  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15993    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
15994    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15995    break 2
15996  fi
15997done
15998  done
15999IFS=$as_save_IFS
16000
16001  ;;
16002esac
16003fi
16004ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
16005if test -n "$ac_pt_DX_PDFLATEX"; then
16006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
16007$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
16008else
16009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16010$as_echo "no" >&6; }
16011fi
16012
16013  if test "x$ac_pt_DX_PDFLATEX" = x; then
16014    DX_PDFLATEX=""
16015  else
16016    case $cross_compiling:$ac_tool_warned in
16017yes:)
16018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16020ac_tool_warned=yes ;;
16021esac
16022    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
16023  fi
16024else
16025  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
16026fi
16027
16028if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
16029    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
16030$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
16031    DX_FLAG_pdf=0
16032
16033fi
16034
16035
16036if test -n "$ac_tool_prefix"; then
16037  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
16038set dummy ${ac_tool_prefix}makeindex; ac_word=$2
16039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16040$as_echo_n "checking for $ac_word... " >&6; }
16041if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
16042  $as_echo_n "(cached) " >&6
16043else
16044  case $DX_MAKEINDEX in
16045  [\\/]* | ?:[\\/]*)
16046  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
16047  ;;
16048  *)
16049  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16050for as_dir in $PATH
16051do
16052  IFS=$as_save_IFS
16053  test -z "$as_dir" && as_dir=.
16054    for ac_exec_ext in '' $ac_executable_extensions; do
16055  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16056    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16057    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16058    break 2
16059  fi
16060done
16061  done
16062IFS=$as_save_IFS
16063
16064  ;;
16065esac
16066fi
16067DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
16068if test -n "$DX_MAKEINDEX"; then
16069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
16070$as_echo "$DX_MAKEINDEX" >&6; }
16071else
16072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16073$as_echo "no" >&6; }
16074fi
16075
16076
16077fi
16078if test -z "$ac_cv_path_DX_MAKEINDEX"; then
16079  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
16080  # Extract the first word of "makeindex", so it can be a program name with args.
16081set dummy makeindex; ac_word=$2
16082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16083$as_echo_n "checking for $ac_word... " >&6; }
16084if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
16085  $as_echo_n "(cached) " >&6
16086else
16087  case $ac_pt_DX_MAKEINDEX in
16088  [\\/]* | ?:[\\/]*)
16089  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
16090  ;;
16091  *)
16092  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16093for as_dir in $PATH
16094do
16095  IFS=$as_save_IFS
16096  test -z "$as_dir" && as_dir=.
16097    for ac_exec_ext in '' $ac_executable_extensions; do
16098  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16099    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
16100    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16101    break 2
16102  fi
16103done
16104  done
16105IFS=$as_save_IFS
16106
16107  ;;
16108esac
16109fi
16110ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
16111if test -n "$ac_pt_DX_MAKEINDEX"; then
16112  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
16113$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
16114else
16115  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16116$as_echo "no" >&6; }
16117fi
16118
16119  if test "x$ac_pt_DX_MAKEINDEX" = x; then
16120    DX_MAKEINDEX=""
16121  else
16122    case $cross_compiling:$ac_tool_warned in
16123yes:)
16124{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16125$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16126ac_tool_warned=yes ;;
16127esac
16128    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
16129  fi
16130else
16131  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
16132fi
16133
16134if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
16135    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
16136$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
16137    DX_FLAG_pdf=0
16138
16139fi
16140
16141
16142if test -n "$ac_tool_prefix"; then
16143  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
16144set dummy ${ac_tool_prefix}egrep; ac_word=$2
16145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16146$as_echo_n "checking for $ac_word... " >&6; }
16147if ${ac_cv_path_DX_EGREP+:} false; then :
16148  $as_echo_n "(cached) " >&6
16149else
16150  case $DX_EGREP in
16151  [\\/]* | ?:[\\/]*)
16152  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
16153  ;;
16154  *)
16155  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16156for as_dir in $PATH
16157do
16158  IFS=$as_save_IFS
16159  test -z "$as_dir" && as_dir=.
16160    for ac_exec_ext in '' $ac_executable_extensions; do
16161  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16162    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16163    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16164    break 2
16165  fi
16166done
16167  done
16168IFS=$as_save_IFS
16169
16170  ;;
16171esac
16172fi
16173DX_EGREP=$ac_cv_path_DX_EGREP
16174if test -n "$DX_EGREP"; then
16175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
16176$as_echo "$DX_EGREP" >&6; }
16177else
16178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16179$as_echo "no" >&6; }
16180fi
16181
16182
16183fi
16184if test -z "$ac_cv_path_DX_EGREP"; then
16185  ac_pt_DX_EGREP=$DX_EGREP
16186  # Extract the first word of "egrep", so it can be a program name with args.
16187set dummy egrep; ac_word=$2
16188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16189$as_echo_n "checking for $ac_word... " >&6; }
16190if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
16191  $as_echo_n "(cached) " >&6
16192else
16193  case $ac_pt_DX_EGREP in
16194  [\\/]* | ?:[\\/]*)
16195  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
16196  ;;
16197  *)
16198  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16199for as_dir in $PATH
16200do
16201  IFS=$as_save_IFS
16202  test -z "$as_dir" && as_dir=.
16203    for ac_exec_ext in '' $ac_executable_extensions; do
16204  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16205    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
16206    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16207    break 2
16208  fi
16209done
16210  done
16211IFS=$as_save_IFS
16212
16213  ;;
16214esac
16215fi
16216ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
16217if test -n "$ac_pt_DX_EGREP"; then
16218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
16219$as_echo "$ac_pt_DX_EGREP" >&6; }
16220else
16221  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16222$as_echo "no" >&6; }
16223fi
16224
16225  if test "x$ac_pt_DX_EGREP" = x; then
16226    DX_EGREP=""
16227  else
16228    case $cross_compiling:$ac_tool_warned in
16229yes:)
16230{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16231$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16232ac_tool_warned=yes ;;
16233esac
16234    DX_EGREP=$ac_pt_DX_EGREP
16235  fi
16236else
16237  DX_EGREP="$ac_cv_path_DX_EGREP"
16238fi
16239
16240if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
16241    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
16242$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
16243    DX_FLAG_pdf=0
16244
16245fi
16246
16247    :
16248fi
16249if test "$DX_FLAG_pdf" = 1; then
16250     if :; then
16251  DX_COND_pdf_TRUE=
16252  DX_COND_pdf_FALSE='#'
16253else
16254  DX_COND_pdf_TRUE='#'
16255  DX_COND_pdf_FALSE=
16256fi
16257
16258
16259    :
16260else
16261     if false; then
16262  DX_COND_pdf_TRUE=
16263  DX_COND_pdf_FALSE='#'
16264else
16265  DX_COND_pdf_TRUE='#'
16266  DX_COND_pdf_FALSE=
16267fi
16268
16269
16270    :
16271fi
16272
16273
16274# LaTeX generation for PS and/or PDF:
16275if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
16276     if :; then
16277  DX_COND_latex_TRUE=
16278  DX_COND_latex_FALSE='#'
16279else
16280  DX_COND_latex_TRUE='#'
16281  DX_COND_latex_FALSE=
16282fi
16283
16284    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
16285
16286else
16287     if false; then
16288  DX_COND_latex_TRUE=
16289  DX_COND_latex_FALSE='#'
16290else
16291  DX_COND_latex_TRUE='#'
16292  DX_COND_latex_FALSE=
16293fi
16294
16295    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
16296
16297fi
16298
16299# Paper size for PS and/or PDF:
16300
16301case "$DOXYGEN_PAPER_SIZE" in
16302#(
16303"")
16304    DOXYGEN_PAPER_SIZE=""
16305
16306;; #(
16307a4wide|a4|letter|legal|executive)
16308    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
16309
16310;; #(
16311*)
16312    as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
16313;;
16314esac
16315
16316#For debugging:
16317#echo DX_FLAG_doc=$DX_FLAG_doc
16318#echo DX_FLAG_dot=$DX_FLAG_dot
16319#echo DX_FLAG_man=$DX_FLAG_man
16320#echo DX_FLAG_html=$DX_FLAG_html
16321#echo DX_FLAG_chm=$DX_FLAG_chm
16322#echo DX_FLAG_chi=$DX_FLAG_chi
16323#echo DX_FLAG_rtf=$DX_FLAG_rtf
16324#echo DX_FLAG_xml=$DX_FLAG_xml
16325#echo DX_FLAG_pdf=$DX_FLAG_pdf
16326#echo DX_FLAG_ps=$DX_FLAG_ps
16327#echo DX_ENV=$DX_ENV
16328
16329
16330BLURAY_VERSION_MAJOR=1
16331
16332BLURAY_VERSION_MINOR=3
16333
16334BLURAY_VERSION_MICRO=0
16335
16336
16337LT_VERSION_INFO="6:0:4"
16338
16339
16340
16341ac_config_files="$ac_config_files Makefile src/libbluray.pc src/libbluray/bluray-version.h"
16342
16343cat >confcache <<\_ACEOF
16344# This file is a shell script that caches the results of configure
16345# tests run on this system so they can be shared between configure
16346# scripts and configure runs, see configure's option --config-cache.
16347# It is not useful on other systems.  If it contains results you don't
16348# want to keep, you may remove or edit it.
16349#
16350# config.status only pays attention to the cache file if you give it
16351# the --recheck option to rerun configure.
16352#
16353# `ac_cv_env_foo' variables (set or unset) will be overridden when
16354# loading this file, other *unset* `ac_cv_foo' will be assigned the
16355# following values.
16356
16357_ACEOF
16358
16359# The following way of writing the cache mishandles newlines in values,
16360# but we know of no workaround that is simple, portable, and efficient.
16361# So, we kill variables containing newlines.
16362# Ultrix sh set writes to stderr and can't be redirected directly,
16363# and sets the high bit in the cache file unless we assign to the vars.
16364(
16365  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16366    eval ac_val=\$$ac_var
16367    case $ac_val in #(
16368    *${as_nl}*)
16369      case $ac_var in #(
16370      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16371$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16372      esac
16373      case $ac_var in #(
16374      _ | IFS | as_nl) ;; #(
16375      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16376      *) { eval $ac_var=; unset $ac_var;} ;;
16377      esac ;;
16378    esac
16379  done
16380
16381  (set) 2>&1 |
16382    case $as_nl`(ac_space=' '; set) 2>&1` in #(
16383    *${as_nl}ac_space=\ *)
16384      # `set' does not quote correctly, so add quotes: double-quote
16385      # substitution turns \\\\ into \\, and sed turns \\ into \.
16386      sed -n \
16387	"s/'/'\\\\''/g;
16388	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16389      ;; #(
16390    *)
16391      # `set' quotes correctly as required by POSIX, so do not add quotes.
16392      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16393      ;;
16394    esac |
16395    sort
16396) |
16397  sed '
16398     /^ac_cv_env_/b end
16399     t clear
16400     :clear
16401     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16402     t end
16403     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16404     :end' >>confcache
16405if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16406  if test -w "$cache_file"; then
16407    if test "x$cache_file" != "x/dev/null"; then
16408      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16409$as_echo "$as_me: updating cache $cache_file" >&6;}
16410      if test ! -f "$cache_file" || test -h "$cache_file"; then
16411	cat confcache >"$cache_file"
16412      else
16413        case $cache_file in #(
16414        */* | ?:*)
16415	  mv -f confcache "$cache_file"$$ &&
16416	  mv -f "$cache_file"$$ "$cache_file" ;; #(
16417        *)
16418	  mv -f confcache "$cache_file" ;;
16419	esac
16420      fi
16421    fi
16422  else
16423    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16424$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16425  fi
16426fi
16427rm -f confcache
16428
16429test "x$prefix" = xNONE && prefix=$ac_default_prefix
16430# Let make expand exec_prefix.
16431test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16432
16433DEFS=-DHAVE_CONFIG_H
16434
16435ac_libobjs=
16436ac_ltlibobjs=
16437U=
16438for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16439  # 1. Remove the extension, and $U if already installed.
16440  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16441  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16442  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
16443  #    will be set to the directory where LIBOBJS objects are built.
16444  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16445  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16446done
16447LIBOBJS=$ac_libobjs
16448
16449LTLIBOBJS=$ac_ltlibobjs
16450
16451
16452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16453$as_echo_n "checking that generated files are newer than configure... " >&6; }
16454   if test -n "$am_sleep_pid"; then
16455     # Hide warnings about reused PIDs.
16456     wait $am_sleep_pid 2>/dev/null
16457   fi
16458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16459$as_echo "done" >&6; }
16460 if test -n "$EXEEXT"; then
16461  am__EXEEXT_TRUE=
16462  am__EXEEXT_FALSE='#'
16463else
16464  am__EXEEXT_TRUE='#'
16465  am__EXEEXT_FALSE=
16466fi
16467
16468if test -z "${HAVE_WIN32_TRUE}" && test -z "${HAVE_WIN32_FALSE}"; then
16469  as_fn_error $? "conditional \"HAVE_WIN32\" was never defined.
16470Usually this means the macro was only invoked conditionally." "$LINENO" 5
16471fi
16472if test -z "${HAVE_DARWIN_TRUE}" && test -z "${HAVE_DARWIN_FALSE}"; then
16473  as_fn_error $? "conditional \"HAVE_DARWIN\" was never defined.
16474Usually this means the macro was only invoked conditionally." "$LINENO" 5
16475fi
16476if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16477  as_fn_error $? "conditional \"AMDEP\" was never defined.
16478Usually this means the macro was only invoked conditionally." "$LINENO" 5
16479fi
16480if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
16481  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
16482Usually this means the macro was only invoked conditionally." "$LINENO" 5
16483fi
16484if test -z "${USING_EXAMPLES_TRUE}" && test -z "${USING_EXAMPLES_FALSE}"; then
16485  as_fn_error $? "conditional \"USING_EXAMPLES\" was never defined.
16486Usually this means the macro was only invoked conditionally." "$LINENO" 5
16487fi
16488if test -z "${USING_BDJAVA_BUILD_JAR_TRUE}" && test -z "${USING_BDJAVA_BUILD_JAR_FALSE}"; then
16489  as_fn_error $? "conditional \"USING_BDJAVA_BUILD_JAR\" was never defined.
16490Usually this means the macro was only invoked conditionally." "$LINENO" 5
16491fi
16492if test -z "${USING_JAVAC_9_TRUE}" && test -z "${USING_JAVAC_9_FALSE}"; then
16493  as_fn_error $? "conditional \"USING_JAVAC_9\" was never defined.
16494Usually this means the macro was only invoked conditionally." "$LINENO" 5
16495fi
16496if test -z "${USING_JAVAC_12_TRUE}" && test -z "${USING_JAVAC_12_FALSE}"; then
16497  as_fn_error $? "conditional \"USING_JAVAC_12\" was never defined.
16498Usually this means the macro was only invoked conditionally." "$LINENO" 5
16499fi
16500if test -z "${BDJ_J2SE_TRUE}" && test -z "${BDJ_J2SE_FALSE}"; then
16501  as_fn_error $? "conditional \"BDJ_J2SE\" was never defined.
16502Usually this means the macro was only invoked conditionally." "$LINENO" 5
16503fi
16504if test -z "${HAVE_LIBUDFREAD_TRUE}" && test -z "${HAVE_LIBUDFREAD_FALSE}"; then
16505  as_fn_error $? "conditional \"HAVE_LIBUDFREAD\" was never defined.
16506Usually this means the macro was only invoked conditionally." "$LINENO" 5
16507fi
16508if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
16509  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
16510Usually this means the macro was only invoked conditionally." "$LINENO" 5
16511fi
16512if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
16513  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
16514Usually this means the macro was only invoked conditionally." "$LINENO" 5
16515fi
16516if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
16517  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
16518Usually this means the macro was only invoked conditionally." "$LINENO" 5
16519fi
16520if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
16521  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
16522Usually this means the macro was only invoked conditionally." "$LINENO" 5
16523fi
16524if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
16525  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
16526Usually this means the macro was only invoked conditionally." "$LINENO" 5
16527fi
16528if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
16529  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
16530Usually this means the macro was only invoked conditionally." "$LINENO" 5
16531fi
16532if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
16533  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
16534Usually this means the macro was only invoked conditionally." "$LINENO" 5
16535fi
16536if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
16537  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
16538Usually this means the macro was only invoked conditionally." "$LINENO" 5
16539fi
16540if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
16541  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
16542Usually this means the macro was only invoked conditionally." "$LINENO" 5
16543fi
16544if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
16545  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
16546Usually this means the macro was only invoked conditionally." "$LINENO" 5
16547fi
16548if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
16549  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
16550Usually this means the macro was only invoked conditionally." "$LINENO" 5
16551fi
16552if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
16553  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
16554Usually this means the macro was only invoked conditionally." "$LINENO" 5
16555fi
16556if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
16557  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
16558Usually this means the macro was only invoked conditionally." "$LINENO" 5
16559fi
16560if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
16561  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
16562Usually this means the macro was only invoked conditionally." "$LINENO" 5
16563fi
16564if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
16565  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
16566Usually this means the macro was only invoked conditionally." "$LINENO" 5
16567fi
16568if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
16569  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
16570Usually this means the macro was only invoked conditionally." "$LINENO" 5
16571fi
16572if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
16573  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
16574Usually this means the macro was only invoked conditionally." "$LINENO" 5
16575fi
16576if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
16577  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
16578Usually this means the macro was only invoked conditionally." "$LINENO" 5
16579fi
16580if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
16581  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
16582Usually this means the macro was only invoked conditionally." "$LINENO" 5
16583fi
16584if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
16585  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
16586Usually this means the macro was only invoked conditionally." "$LINENO" 5
16587fi
16588if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
16589  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
16590Usually this means the macro was only invoked conditionally." "$LINENO" 5
16591fi
16592if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
16593  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
16594Usually this means the macro was only invoked conditionally." "$LINENO" 5
16595fi
16596
16597: "${CONFIG_STATUS=./config.status}"
16598ac_write_fail=0
16599ac_clean_files_save=$ac_clean_files
16600ac_clean_files="$ac_clean_files $CONFIG_STATUS"
16601{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16602$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16603as_write_fail=0
16604cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16605#! $SHELL
16606# Generated by $as_me.
16607# Run this file to recreate the current configuration.
16608# Compiler output produced by configure, useful for debugging
16609# configure, is in config.log if it exists.
16610
16611debug=false
16612ac_cs_recheck=false
16613ac_cs_silent=false
16614
16615SHELL=\${CONFIG_SHELL-$SHELL}
16616export SHELL
16617_ASEOF
16618cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16619## -------------------- ##
16620## M4sh Initialization. ##
16621## -------------------- ##
16622
16623# Be more Bourne compatible
16624DUALCASE=1; export DUALCASE # for MKS sh
16625if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
16626  emulate sh
16627  NULLCMD=:
16628  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16629  # is contrary to our usage.  Disable this feature.
16630  alias -g '${1+"$@"}'='"$@"'
16631  setopt NO_GLOB_SUBST
16632else
16633  case `(set -o) 2>/dev/null` in #(
16634  *posix*) :
16635    set -o posix ;; #(
16636  *) :
16637     ;;
16638esac
16639fi
16640
16641
16642as_nl='
16643'
16644export as_nl
16645# Printing a long string crashes Solaris 7 /usr/bin/printf.
16646as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16647as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16648as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16649# Prefer a ksh shell builtin over an external printf program on Solaris,
16650# but without wasting forks for bash or zsh.
16651if test -z "$BASH_VERSION$ZSH_VERSION" \
16652    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16653  as_echo='print -r --'
16654  as_echo_n='print -rn --'
16655elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16656  as_echo='printf %s\n'
16657  as_echo_n='printf %s'
16658else
16659  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16660    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16661    as_echo_n='/usr/ucb/echo -n'
16662  else
16663    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16664    as_echo_n_body='eval
16665      arg=$1;
16666      case $arg in #(
16667      *"$as_nl"*)
16668	expr "X$arg" : "X\\(.*\\)$as_nl";
16669	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16670      esac;
16671      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16672    '
16673    export as_echo_n_body
16674    as_echo_n='sh -c $as_echo_n_body as_echo'
16675  fi
16676  export as_echo_body
16677  as_echo='sh -c $as_echo_body as_echo'
16678fi
16679
16680# The user is always right.
16681if test "${PATH_SEPARATOR+set}" != set; then
16682  PATH_SEPARATOR=:
16683  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16684    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16685      PATH_SEPARATOR=';'
16686  }
16687fi
16688
16689
16690# IFS
16691# We need space, tab and new line, in precisely that order.  Quoting is
16692# there to prevent editors from complaining about space-tab.
16693# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16694# splitting by setting IFS to empty value.)
16695IFS=" ""	$as_nl"
16696
16697# Find who we are.  Look in the path if we contain no directory separator.
16698as_myself=
16699case $0 in #((
16700  *[\\/]* ) as_myself=$0 ;;
16701  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16702for as_dir in $PATH
16703do
16704  IFS=$as_save_IFS
16705  test -z "$as_dir" && as_dir=.
16706    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16707  done
16708IFS=$as_save_IFS
16709
16710     ;;
16711esac
16712# We did not find ourselves, most probably we were run as `sh COMMAND'
16713# in which case we are not to be found in the path.
16714if test "x$as_myself" = x; then
16715  as_myself=$0
16716fi
16717if test ! -f "$as_myself"; then
16718  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16719  exit 1
16720fi
16721
16722# Unset variables that we do not need and which cause bugs (e.g. in
16723# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
16724# suppresses any "Segmentation fault" message there.  '((' could
16725# trigger a bug in pdksh 5.2.14.
16726for as_var in BASH_ENV ENV MAIL MAILPATH
16727do eval test x\${$as_var+set} = xset \
16728  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
16729done
16730PS1='$ '
16731PS2='> '
16732PS4='+ '
16733
16734# NLS nuisances.
16735LC_ALL=C
16736export LC_ALL
16737LANGUAGE=C
16738export LANGUAGE
16739
16740# CDPATH.
16741(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16742
16743
16744# as_fn_error STATUS ERROR [LINENO LOG_FD]
16745# ----------------------------------------
16746# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16747# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16748# script with STATUS, using 1 if that was 0.
16749as_fn_error ()
16750{
16751  as_status=$1; test $as_status -eq 0 && as_status=1
16752  if test "$4"; then
16753    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16754    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16755  fi
16756  $as_echo "$as_me: error: $2" >&2
16757  as_fn_exit $as_status
16758} # as_fn_error
16759
16760
16761# as_fn_set_status STATUS
16762# -----------------------
16763# Set $? to STATUS, without forking.
16764as_fn_set_status ()
16765{
16766  return $1
16767} # as_fn_set_status
16768
16769# as_fn_exit STATUS
16770# -----------------
16771# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16772as_fn_exit ()
16773{
16774  set +e
16775  as_fn_set_status $1
16776  exit $1
16777} # as_fn_exit
16778
16779# as_fn_unset VAR
16780# ---------------
16781# Portably unset VAR.
16782as_fn_unset ()
16783{
16784  { eval $1=; unset $1;}
16785}
16786as_unset=as_fn_unset
16787# as_fn_append VAR VALUE
16788# ----------------------
16789# Append the text in VALUE to the end of the definition contained in VAR. Take
16790# advantage of any shell optimizations that allow amortized linear growth over
16791# repeated appends, instead of the typical quadratic growth present in naive
16792# implementations.
16793if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16794  eval 'as_fn_append ()
16795  {
16796    eval $1+=\$2
16797  }'
16798else
16799  as_fn_append ()
16800  {
16801    eval $1=\$$1\$2
16802  }
16803fi # as_fn_append
16804
16805# as_fn_arith ARG...
16806# ------------------
16807# Perform arithmetic evaluation on the ARGs, and store the result in the
16808# global $as_val. Take advantage of shells that can avoid forks. The arguments
16809# must be portable across $(()) and expr.
16810if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16811  eval 'as_fn_arith ()
16812  {
16813    as_val=$(( $* ))
16814  }'
16815else
16816  as_fn_arith ()
16817  {
16818    as_val=`expr "$@" || test $? -eq 1`
16819  }
16820fi # as_fn_arith
16821
16822
16823if expr a : '\(a\)' >/dev/null 2>&1 &&
16824   test "X`expr 00001 : '.*\(...\)'`" = X001; then
16825  as_expr=expr
16826else
16827  as_expr=false
16828fi
16829
16830if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16831  as_basename=basename
16832else
16833  as_basename=false
16834fi
16835
16836if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16837  as_dirname=dirname
16838else
16839  as_dirname=false
16840fi
16841
16842as_me=`$as_basename -- "$0" ||
16843$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16844	 X"$0" : 'X\(//\)$' \| \
16845	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16846$as_echo X/"$0" |
16847    sed '/^.*\/\([^/][^/]*\)\/*$/{
16848	    s//\1/
16849	    q
16850	  }
16851	  /^X\/\(\/\/\)$/{
16852	    s//\1/
16853	    q
16854	  }
16855	  /^X\/\(\/\).*/{
16856	    s//\1/
16857	    q
16858	  }
16859	  s/.*/./; q'`
16860
16861# Avoid depending upon Character Ranges.
16862as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16863as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16864as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16865as_cr_digits='0123456789'
16866as_cr_alnum=$as_cr_Letters$as_cr_digits
16867
16868ECHO_C= ECHO_N= ECHO_T=
16869case `echo -n x` in #(((((
16870-n*)
16871  case `echo 'xy\c'` in
16872  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
16873  xy)  ECHO_C='\c';;
16874  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
16875       ECHO_T='	';;
16876  esac;;
16877*)
16878  ECHO_N='-n';;
16879esac
16880
16881rm -f conf$$ conf$$.exe conf$$.file
16882if test -d conf$$.dir; then
16883  rm -f conf$$.dir/conf$$.file
16884else
16885  rm -f conf$$.dir
16886  mkdir conf$$.dir 2>/dev/null
16887fi
16888if (echo >conf$$.file) 2>/dev/null; then
16889  if ln -s conf$$.file conf$$ 2>/dev/null; then
16890    as_ln_s='ln -s'
16891    # ... but there are two gotchas:
16892    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16893    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16894    # In both cases, we have to default to `cp -pR'.
16895    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
16896      as_ln_s='cp -pR'
16897  elif ln conf$$.file conf$$ 2>/dev/null; then
16898    as_ln_s=ln
16899  else
16900    as_ln_s='cp -pR'
16901  fi
16902else
16903  as_ln_s='cp -pR'
16904fi
16905rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
16906rmdir conf$$.dir 2>/dev/null
16907
16908
16909# as_fn_mkdir_p
16910# -------------
16911# Create "$as_dir" as a directory, including parents if necessary.
16912as_fn_mkdir_p ()
16913{
16914
16915  case $as_dir in #(
16916  -*) as_dir=./$as_dir;;
16917  esac
16918  test -d "$as_dir" || eval $as_mkdir_p || {
16919    as_dirs=
16920    while :; do
16921      case $as_dir in #(
16922      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16923      *) as_qdir=$as_dir;;
16924      esac
16925      as_dirs="'$as_qdir' $as_dirs"
16926      as_dir=`$as_dirname -- "$as_dir" ||
16927$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16928	 X"$as_dir" : 'X\(//\)[^/]' \| \
16929	 X"$as_dir" : 'X\(//\)$' \| \
16930	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16931$as_echo X"$as_dir" |
16932    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16933	    s//\1/
16934	    q
16935	  }
16936	  /^X\(\/\/\)[^/].*/{
16937	    s//\1/
16938	    q
16939	  }
16940	  /^X\(\/\/\)$/{
16941	    s//\1/
16942	    q
16943	  }
16944	  /^X\(\/\).*/{
16945	    s//\1/
16946	    q
16947	  }
16948	  s/.*/./; q'`
16949      test -d "$as_dir" && break
16950    done
16951    test -z "$as_dirs" || eval "mkdir $as_dirs"
16952  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
16953
16954
16955} # as_fn_mkdir_p
16956if mkdir -p . 2>/dev/null; then
16957  as_mkdir_p='mkdir -p "$as_dir"'
16958else
16959  test -d ./-p && rmdir ./-p
16960  as_mkdir_p=false
16961fi
16962
16963
16964# as_fn_executable_p FILE
16965# -----------------------
16966# Test if FILE is an executable regular file.
16967as_fn_executable_p ()
16968{
16969  test -f "$1" && test -x "$1"
16970} # as_fn_executable_p
16971as_test_x='test -x'
16972as_executable_p=as_fn_executable_p
16973
16974# Sed expression to map a string onto a valid CPP name.
16975as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16976
16977# Sed expression to map a string onto a valid variable name.
16978as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16979
16980
16981exec 6>&1
16982## ----------------------------------- ##
16983## Main body of $CONFIG_STATUS script. ##
16984## ----------------------------------- ##
16985_ASEOF
16986test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16987
16988cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16989# Save the log message, to keep $0 and so on meaningful, and to
16990# report actual input values of CONFIG_FILES etc. instead of their
16991# values after options handling.
16992ac_log="
16993This file was extended by libbluray $as_me 1.3.0, which was
16994generated by GNU Autoconf 2.69.  Invocation command line was
16995
16996  CONFIG_FILES    = $CONFIG_FILES
16997  CONFIG_HEADERS  = $CONFIG_HEADERS
16998  CONFIG_LINKS    = $CONFIG_LINKS
16999  CONFIG_COMMANDS = $CONFIG_COMMANDS
17000  $ $0 $@
17001
17002on `(hostname || uname -n) 2>/dev/null | sed 1q`
17003"
17004
17005_ACEOF
17006
17007case $ac_config_files in *"
17008"*) set x $ac_config_files; shift; ac_config_files=$*;;
17009esac
17010
17011case $ac_config_headers in *"
17012"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17013esac
17014
17015
17016cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17017# Files that config.status was made for.
17018config_files="$ac_config_files"
17019config_headers="$ac_config_headers"
17020config_commands="$ac_config_commands"
17021
17022_ACEOF
17023
17024cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17025ac_cs_usage="\
17026\`$as_me' instantiates files and other configuration actions
17027from templates according to the current configuration.  Unless the files
17028and actions are specified as TAGs, all are instantiated by default.
17029
17030Usage: $0 [OPTION]... [TAG]...
17031
17032  -h, --help       print this help, then exit
17033  -V, --version    print version number and configuration settings, then exit
17034      --config     print configuration, then exit
17035  -q, --quiet, --silent
17036                   do not print progress messages
17037  -d, --debug      don't remove temporary files
17038      --recheck    update $as_me by reconfiguring in the same conditions
17039      --file=FILE[:TEMPLATE]
17040                   instantiate the configuration file FILE
17041      --header=FILE[:TEMPLATE]
17042                   instantiate the configuration header FILE
17043
17044Configuration files:
17045$config_files
17046
17047Configuration headers:
17048$config_headers
17049
17050Configuration commands:
17051$config_commands
17052
17053Report bugs to <http://www.videolan.org/developers/libbluray.html>."
17054
17055_ACEOF
17056cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17057ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17058ac_cs_version="\\
17059libbluray config.status 1.3.0
17060configured by $0, generated by GNU Autoconf 2.69,
17061  with options \\"\$ac_cs_config\\"
17062
17063Copyright (C) 2012 Free Software Foundation, Inc.
17064This config.status script is free software; the Free Software Foundation
17065gives unlimited permission to copy, distribute and modify it."
17066
17067ac_pwd='$ac_pwd'
17068srcdir='$srcdir'
17069INSTALL='$INSTALL'
17070MKDIR_P='$MKDIR_P'
17071AWK='$AWK'
17072test -n "\$AWK" || AWK=awk
17073_ACEOF
17074
17075cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17076# The default lists apply if the user does not specify any file.
17077ac_need_defaults=:
17078while test $# != 0
17079do
17080  case $1 in
17081  --*=?*)
17082    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17083    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17084    ac_shift=:
17085    ;;
17086  --*=)
17087    ac_option=`expr "X$1" : 'X\([^=]*\)='`
17088    ac_optarg=
17089    ac_shift=:
17090    ;;
17091  *)
17092    ac_option=$1
17093    ac_optarg=$2
17094    ac_shift=shift
17095    ;;
17096  esac
17097
17098  case $ac_option in
17099  # Handling of the options.
17100  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17101    ac_cs_recheck=: ;;
17102  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17103    $as_echo "$ac_cs_version"; exit ;;
17104  --config | --confi | --conf | --con | --co | --c )
17105    $as_echo "$ac_cs_config"; exit ;;
17106  --debug | --debu | --deb | --de | --d | -d )
17107    debug=: ;;
17108  --file | --fil | --fi | --f )
17109    $ac_shift
17110    case $ac_optarg in
17111    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17112    '') as_fn_error $? "missing file argument" ;;
17113    esac
17114    as_fn_append CONFIG_FILES " '$ac_optarg'"
17115    ac_need_defaults=false;;
17116  --header | --heade | --head | --hea )
17117    $ac_shift
17118    case $ac_optarg in
17119    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17120    esac
17121    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17122    ac_need_defaults=false;;
17123  --he | --h)
17124    # Conflict between --help and --header
17125    as_fn_error $? "ambiguous option: \`$1'
17126Try \`$0 --help' for more information.";;
17127  --help | --hel | -h )
17128    $as_echo "$ac_cs_usage"; exit ;;
17129  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17130  | -silent | --silent | --silen | --sile | --sil | --si | --s)
17131    ac_cs_silent=: ;;
17132
17133  # This is an error.
17134  -*) as_fn_error $? "unrecognized option: \`$1'
17135Try \`$0 --help' for more information." ;;
17136
17137  *) as_fn_append ac_config_targets " $1"
17138     ac_need_defaults=false ;;
17139
17140  esac
17141  shift
17142done
17143
17144ac_configure_extra_args=
17145
17146if $ac_cs_silent; then
17147  exec 6>/dev/null
17148  ac_configure_extra_args="$ac_configure_extra_args --silent"
17149fi
17150
17151_ACEOF
17152cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17153if \$ac_cs_recheck; then
17154  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17155  shift
17156  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17157  CONFIG_SHELL='$SHELL'
17158  export CONFIG_SHELL
17159  exec "\$@"
17160fi
17161
17162_ACEOF
17163cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17164exec 5>>config.log
17165{
17166  echo
17167  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17168## Running $as_me. ##
17169_ASBOX
17170  $as_echo "$ac_log"
17171} >&5
17172
17173_ACEOF
17174cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17175#
17176# INIT-COMMANDS
17177#
17178AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
17179
17180
17181# The HP-UX ksh and POSIX shell print the target directory to stdout
17182# if CDPATH is set.
17183(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17184
17185sed_quote_subst='$sed_quote_subst'
17186double_quote_subst='$double_quote_subst'
17187delay_variable_subst='$delay_variable_subst'
17188macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17189macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17190enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17191enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17192pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17193enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17194shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
17195SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17196ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17197PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17198host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17199host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17200host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17201build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17202build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17203build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17204SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17205Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17206GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17207EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17208FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17209LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17210NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17211LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17212max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17213ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17214exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17215lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17216lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17217lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17218lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17219lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17220reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17221reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17222OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17223deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17224file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17225file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17226want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17227DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17228sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17229AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17230AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17231archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17232STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17233RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17234old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17235old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17236old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17237lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17238CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17239CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17240compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17241GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17242lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17243lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17244lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
17245lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17246lt_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"`'
17247lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
17248nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17249lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17250lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
17251objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17252MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17253lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17254lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17255lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17256lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17257lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17258need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17259MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17260DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17261NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17262LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17263OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17264OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17265libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17266shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17267extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17268archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17269enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17270export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17271whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17272compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17273old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17274old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17275archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17276archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17277module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17278module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17279with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17280allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17281no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17282hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17283hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17284hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17285hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17286hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17287hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17288hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17289inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17290link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17291always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17292export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17293exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17294include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17295prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17296postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17297file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17298variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17299need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17300need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17301version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17302runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17303shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17304shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17305libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17306library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17307soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17308install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17309postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17310postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17311finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17312finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17313hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17314sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17315configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
17316configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
17317hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17318enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17319enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17320enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17321old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17322striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17323
17324LTCC='$LTCC'
17325LTCFLAGS='$LTCFLAGS'
17326compiler='$compiler_DEFAULT'
17327
17328# A function that is used when there is no print builtin or printf.
17329func_fallback_echo ()
17330{
17331  eval 'cat <<_LTECHO_EOF
17332\$1
17333_LTECHO_EOF'
17334}
17335
17336# Quote evaled strings.
17337for var in SHELL \
17338ECHO \
17339PATH_SEPARATOR \
17340SED \
17341GREP \
17342EGREP \
17343FGREP \
17344LD \
17345NM \
17346LN_S \
17347lt_SP2NL \
17348lt_NL2SP \
17349reload_flag \
17350OBJDUMP \
17351deplibs_check_method \
17352file_magic_cmd \
17353file_magic_glob \
17354want_nocaseglob \
17355DLLTOOL \
17356sharedlib_from_linklib_cmd \
17357AR \
17358AR_FLAGS \
17359archiver_list_spec \
17360STRIP \
17361RANLIB \
17362CC \
17363CFLAGS \
17364compiler \
17365lt_cv_sys_global_symbol_pipe \
17366lt_cv_sys_global_symbol_to_cdecl \
17367lt_cv_sys_global_symbol_to_import \
17368lt_cv_sys_global_symbol_to_c_name_address \
17369lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17370lt_cv_nm_interface \
17371nm_file_list_spec \
17372lt_cv_truncate_bin \
17373lt_prog_compiler_no_builtin_flag \
17374lt_prog_compiler_pic \
17375lt_prog_compiler_wl \
17376lt_prog_compiler_static \
17377lt_cv_prog_compiler_c_o \
17378need_locks \
17379MANIFEST_TOOL \
17380DSYMUTIL \
17381NMEDIT \
17382LIPO \
17383OTOOL \
17384OTOOL64 \
17385shrext_cmds \
17386export_dynamic_flag_spec \
17387whole_archive_flag_spec \
17388compiler_needs_object \
17389with_gnu_ld \
17390allow_undefined_flag \
17391no_undefined_flag \
17392hardcode_libdir_flag_spec \
17393hardcode_libdir_separator \
17394exclude_expsyms \
17395include_expsyms \
17396file_list_spec \
17397variables_saved_for_relink \
17398libname_spec \
17399library_names_spec \
17400soname_spec \
17401install_override_mode \
17402finish_eval \
17403old_striplib \
17404striplib; do
17405    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17406    *[\\\\\\\`\\"\\\$]*)
17407      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17408      ;;
17409    *)
17410      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17411      ;;
17412    esac
17413done
17414
17415# Double-quote double-evaled strings.
17416for var in reload_cmds \
17417old_postinstall_cmds \
17418old_postuninstall_cmds \
17419old_archive_cmds \
17420extract_expsyms_cmds \
17421old_archive_from_new_cmds \
17422old_archive_from_expsyms_cmds \
17423archive_cmds \
17424archive_expsym_cmds \
17425module_cmds \
17426module_expsym_cmds \
17427export_symbols_cmds \
17428prelink_cmds \
17429postlink_cmds \
17430postinstall_cmds \
17431postuninstall_cmds \
17432finish_cmds \
17433sys_lib_search_path_spec \
17434configure_time_dlsearch_path \
17435configure_time_lt_sys_library_path; do
17436    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17437    *[\\\\\\\`\\"\\\$]*)
17438      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
17439      ;;
17440    *)
17441      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17442      ;;
17443    esac
17444done
17445
17446ac_aux_dir='$ac_aux_dir'
17447
17448# See if we are running on zsh, and set the options that allow our
17449# commands through without removal of \ escapes INIT.
17450if test -n "\${ZSH_VERSION+set}"; then
17451   setopt NO_GLOB_SUBST
17452fi
17453
17454
17455    PACKAGE='$PACKAGE'
17456    VERSION='$VERSION'
17457    RM='$RM'
17458    ofile='$ofile'
17459
17460
17461
17462
17463_ACEOF
17464
17465cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17466
17467# Handling of arguments.
17468for ac_config_target in $ac_config_targets
17469do
17470  case $ac_config_target in
17471    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17472    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17473    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17474    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17475    "src/libbluray.pc") CONFIG_FILES="$CONFIG_FILES src/libbluray.pc" ;;
17476    "src/libbluray/bluray-version.h") CONFIG_FILES="$CONFIG_FILES src/libbluray/bluray-version.h" ;;
17477
17478  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17479  esac
17480done
17481
17482
17483# If the user did not use the arguments to specify the items to instantiate,
17484# then the envvar interface is used.  Set only those that are not.
17485# We use the long form for the default assignment because of an extremely
17486# bizarre bug on SunOS 4.1.3.
17487if $ac_need_defaults; then
17488  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17489  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17490  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17491fi
17492
17493# Have a temporary directory for convenience.  Make it in the build tree
17494# simply because there is no reason against having it here, and in addition,
17495# creating and moving files from /tmp can sometimes cause problems.
17496# Hook for its removal unless debugging.
17497# Note that there is a small window in which the directory will not be cleaned:
17498# after its creation but before its name has been assigned to `$tmp'.
17499$debug ||
17500{
17501  tmp= ac_tmp=
17502  trap 'exit_status=$?
17503  : "${ac_tmp:=$tmp}"
17504  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17505' 0
17506  trap 'as_fn_exit 1' 1 2 13 15
17507}
17508# Create a (secure) tmp directory for tmp files.
17509
17510{
17511  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17512  test -d "$tmp"
17513}  ||
17514{
17515  tmp=./conf$$-$RANDOM
17516  (umask 077 && mkdir "$tmp")
17517} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17518ac_tmp=$tmp
17519
17520# Set up the scripts for CONFIG_FILES section.
17521# No need to generate them if there are no CONFIG_FILES.
17522# This happens for instance with `./config.status config.h'.
17523if test -n "$CONFIG_FILES"; then
17524
17525
17526ac_cr=`echo X | tr X '\015'`
17527# On cygwin, bash can eat \r inside `` if the user requested igncr.
17528# But we know of no other shell where ac_cr would be empty at this
17529# point, so we can use a bashism as a fallback.
17530if test "x$ac_cr" = x; then
17531  eval ac_cr=\$\'\\r\'
17532fi
17533ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17534if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17535  ac_cs_awk_cr='\\r'
17536else
17537  ac_cs_awk_cr=$ac_cr
17538fi
17539
17540echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17541_ACEOF
17542
17543
17544{
17545  echo "cat >conf$$subs.awk <<_ACEOF" &&
17546  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17547  echo "_ACEOF"
17548} >conf$$subs.sh ||
17549  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17550ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17551ac_delim='%!_!# '
17552for ac_last_try in false false false false false :; do
17553  . ./conf$$subs.sh ||
17554    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17555
17556  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17557  if test $ac_delim_n = $ac_delim_num; then
17558    break
17559  elif $ac_last_try; then
17560    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17561  else
17562    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17563  fi
17564done
17565rm -f conf$$subs.sh
17566
17567cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17568cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17569_ACEOF
17570sed -n '
17571h
17572s/^/S["/; s/!.*/"]=/
17573p
17574g
17575s/^[^!]*!//
17576:repl
17577t repl
17578s/'"$ac_delim"'$//
17579t delim
17580:nl
17581h
17582s/\(.\{148\}\)..*/\1/
17583t more1
17584s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17585p
17586n
17587b repl
17588:more1
17589s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17590p
17591g
17592s/.\{148\}//
17593t nl
17594:delim
17595h
17596s/\(.\{148\}\)..*/\1/
17597t more2
17598s/["\\]/\\&/g; s/^/"/; s/$/"/
17599p
17600b
17601:more2
17602s/["\\]/\\&/g; s/^/"/; s/$/"\\/
17603p
17604g
17605s/.\{148\}//
17606t delim
17607' <conf$$subs.awk | sed '
17608/^[^""]/{
17609  N
17610  s/\n//
17611}
17612' >>$CONFIG_STATUS || ac_write_fail=1
17613rm -f conf$$subs.awk
17614cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17615_ACAWK
17616cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
17617  for (key in S) S_is_set[key] = 1
17618  FS = ""
17619
17620}
17621{
17622  line = $ 0
17623  nfields = split(line, field, "@")
17624  substed = 0
17625  len = length(field[1])
17626  for (i = 2; i < nfields; i++) {
17627    key = field[i]
17628    keylen = length(key)
17629    if (S_is_set[key]) {
17630      value = S[key]
17631      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17632      len += length(value) + length(field[++i])
17633      substed = 1
17634    } else
17635      len += 1 + keylen
17636  }
17637
17638  print line
17639}
17640
17641_ACAWK
17642_ACEOF
17643cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17644if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17645  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
17646else
17647  cat
17648fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
17649  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
17650_ACEOF
17651
17652# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17653# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
17654# trailing colons and then remove the whole line if VPATH becomes empty
17655# (actually we leave an empty line to preserve line numbers).
17656if test "x$srcdir" = x.; then
17657  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
17658h
17659s///
17660s/^/:/
17661s/[	 ]*$/:/
17662s/:\$(srcdir):/:/g
17663s/:\${srcdir}:/:/g
17664s/:@srcdir@:/:/g
17665s/^:*//
17666s/:*$//
17667x
17668s/\(=[	 ]*\).*/\1/
17669G
17670s/\n//
17671s/^[^=]*=[	 ]*$//
17672}'
17673fi
17674
17675cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17676fi # test -n "$CONFIG_FILES"
17677
17678# Set up the scripts for CONFIG_HEADERS section.
17679# No need to generate them if there are no CONFIG_HEADERS.
17680# This happens for instance with `./config.status Makefile'.
17681if test -n "$CONFIG_HEADERS"; then
17682cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
17683BEGIN {
17684_ACEOF
17685
17686# Transform confdefs.h into an awk script `defines.awk', embedded as
17687# here-document in config.status, that substitutes the proper values into
17688# config.h.in to produce config.h.
17689
17690# Create a delimiter string that does not exist in confdefs.h, to ease
17691# handling of long lines.
17692ac_delim='%!_!# '
17693for ac_last_try in false false :; do
17694  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
17695  if test -z "$ac_tt"; then
17696    break
17697  elif $ac_last_try; then
17698    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
17699  else
17700    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17701  fi
17702done
17703
17704# For the awk script, D is an array of macro values keyed by name,
17705# likewise P contains macro parameters if any.  Preserve backslash
17706# newline sequences.
17707
17708ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17709sed -n '
17710s/.\{148\}/&'"$ac_delim"'/g
17711t rset
17712:rset
17713s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
17714t def
17715d
17716:def
17717s/\\$//
17718t bsnl
17719s/["\\]/\\&/g
17720s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17721D["\1"]=" \3"/p
17722s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
17723d
17724:bsnl
17725s/["\\]/\\&/g
17726s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
17727D["\1"]=" \3\\\\\\n"\\/p
17728t cont
17729s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
17730t cont
17731d
17732:cont
17733n
17734s/.\{148\}/&'"$ac_delim"'/g
17735t clear
17736:clear
17737s/\\$//
17738t bsnlc
17739s/["\\]/\\&/g; s/^/"/; s/$/"/p
17740d
17741:bsnlc
17742s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
17743b cont
17744' <confdefs.h | sed '
17745s/'"$ac_delim"'/"\\\
17746"/g' >>$CONFIG_STATUS || ac_write_fail=1
17747
17748cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17749  for (key in D) D_is_set[key] = 1
17750  FS = ""
17751}
17752/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17753  line = \$ 0
17754  split(line, arg, " ")
17755  if (arg[1] == "#") {
17756    defundef = arg[2]
17757    mac1 = arg[3]
17758  } else {
17759    defundef = substr(arg[1], 2)
17760    mac1 = arg[2]
17761  }
17762  split(mac1, mac2, "(") #)
17763  macro = mac2[1]
17764  prefix = substr(line, 1, index(line, defundef) - 1)
17765  if (D_is_set[macro]) {
17766    # Preserve the white space surrounding the "#".
17767    print prefix "define", macro P[macro] D[macro]
17768    next
17769  } else {
17770    # Replace #undef with comments.  This is necessary, for example,
17771    # in the case of _POSIX_SOURCE, which is predefined and required
17772    # on some systems where configure will not decide to define it.
17773    if (defundef == "undef") {
17774      print "/*", prefix defundef, macro, "*/"
17775      next
17776    }
17777  }
17778}
17779{ print }
17780_ACAWK
17781_ACEOF
17782cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17783  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
17784fi # test -n "$CONFIG_HEADERS"
17785
17786
17787eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
17788shift
17789for ac_tag
17790do
17791  case $ac_tag in
17792  :[FHLC]) ac_mode=$ac_tag; continue;;
17793  esac
17794  case $ac_mode$ac_tag in
17795  :[FHL]*:*);;
17796  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
17797  :[FH]-) ac_tag=-:-;;
17798  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
17799  esac
17800  ac_save_IFS=$IFS
17801  IFS=:
17802  set x $ac_tag
17803  IFS=$ac_save_IFS
17804  shift
17805  ac_file=$1
17806  shift
17807
17808  case $ac_mode in
17809  :L) ac_source=$1;;
17810  :[FH])
17811    ac_file_inputs=
17812    for ac_f
17813    do
17814      case $ac_f in
17815      -) ac_f="$ac_tmp/stdin";;
17816      *) # Look for the file first in the build tree, then in the source tree
17817	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
17818	 # because $ac_f cannot contain `:'.
17819	 test -f "$ac_f" ||
17820	   case $ac_f in
17821	   [\\/$]*) false;;
17822	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
17823	   esac ||
17824	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17825      esac
17826      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17827      as_fn_append ac_file_inputs " '$ac_f'"
17828    done
17829
17830    # Let's still pretend it is `configure' which instantiates (i.e., don't
17831    # use $as_me), people would be surprised to read:
17832    #    /* config.h.  Generated by config.status.  */
17833    configure_input='Generated from '`
17834	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17835	`' by configure.'
17836    if test x"$ac_file" != x-; then
17837      configure_input="$ac_file.  $configure_input"
17838      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17839$as_echo "$as_me: creating $ac_file" >&6;}
17840    fi
17841    # Neutralize special characters interpreted by sed in replacement strings.
17842    case $configure_input in #(
17843    *\&* | *\|* | *\\* )
17844       ac_sed_conf_input=`$as_echo "$configure_input" |
17845       sed 's/[\\\\&|]/\\\\&/g'`;; #(
17846    *) ac_sed_conf_input=$configure_input;;
17847    esac
17848
17849    case $ac_tag in
17850    *:-:* | *:-) cat >"$ac_tmp/stdin" \
17851      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
17852    esac
17853    ;;
17854  esac
17855
17856  ac_dir=`$as_dirname -- "$ac_file" ||
17857$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17858	 X"$ac_file" : 'X\(//\)[^/]' \| \
17859	 X"$ac_file" : 'X\(//\)$' \| \
17860	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17861$as_echo X"$ac_file" |
17862    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17863	    s//\1/
17864	    q
17865	  }
17866	  /^X\(\/\/\)[^/].*/{
17867	    s//\1/
17868	    q
17869	  }
17870	  /^X\(\/\/\)$/{
17871	    s//\1/
17872	    q
17873	  }
17874	  /^X\(\/\).*/{
17875	    s//\1/
17876	    q
17877	  }
17878	  s/.*/./; q'`
17879  as_dir="$ac_dir"; as_fn_mkdir_p
17880  ac_builddir=.
17881
17882case "$ac_dir" in
17883.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
17884*)
17885  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17886  # A ".." for each directory in $ac_dir_suffix.
17887  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17888  case $ac_top_builddir_sub in
17889  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
17890  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
17891  esac ;;
17892esac
17893ac_abs_top_builddir=$ac_pwd
17894ac_abs_builddir=$ac_pwd$ac_dir_suffix
17895# for backward compatibility:
17896ac_top_builddir=$ac_top_build_prefix
17897
17898case $srcdir in
17899  .)  # We are building in place.
17900    ac_srcdir=.
17901    ac_top_srcdir=$ac_top_builddir_sub
17902    ac_abs_top_srcdir=$ac_pwd ;;
17903  [\\/]* | ?:[\\/]* )  # Absolute name.
17904    ac_srcdir=$srcdir$ac_dir_suffix;
17905    ac_top_srcdir=$srcdir
17906    ac_abs_top_srcdir=$srcdir ;;
17907  *) # Relative name.
17908    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
17909    ac_top_srcdir=$ac_top_build_prefix$srcdir
17910    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
17911esac
17912ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
17913
17914
17915  case $ac_mode in
17916  :F)
17917  #
17918  # CONFIG_FILE
17919  #
17920
17921  case $INSTALL in
17922  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
17923  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
17924  esac
17925  ac_MKDIR_P=$MKDIR_P
17926  case $MKDIR_P in
17927  [\\/$]* | ?:[\\/]* ) ;;
17928  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
17929  esac
17930_ACEOF
17931
17932cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17933# If the template does not know about datarootdir, expand it.
17934# FIXME: This hack should be removed a few years after 2.60.
17935ac_datarootdir_hack=; ac_datarootdir_seen=
17936ac_sed_dataroot='
17937/datarootdir/ {
17938  p
17939  q
17940}
17941/@datadir@/p
17942/@docdir@/p
17943/@infodir@/p
17944/@localedir@/p
17945/@mandir@/p'
17946case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17947*datarootdir*) ac_datarootdir_seen=yes;;
17948*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
17949  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17950$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17951_ACEOF
17952cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17953  ac_datarootdir_hack='
17954  s&@datadir@&$datadir&g
17955  s&@docdir@&$docdir&g
17956  s&@infodir@&$infodir&g
17957  s&@localedir@&$localedir&g
17958  s&@mandir@&$mandir&g
17959  s&\\\${datarootdir}&$datarootdir&g' ;;
17960esac
17961_ACEOF
17962
17963# Neutralize VPATH when `$srcdir' = `.'.
17964# Shell code in configure.ac might set extrasub.
17965# FIXME: do we really want to maintain this feature?
17966cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17967ac_sed_extra="$ac_vpsub
17968$extrasub
17969_ACEOF
17970cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17971:t
17972/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
17973s|@configure_input@|$ac_sed_conf_input|;t t
17974s&@top_builddir@&$ac_top_builddir_sub&;t t
17975s&@top_build_prefix@&$ac_top_build_prefix&;t t
17976s&@srcdir@&$ac_srcdir&;t t
17977s&@abs_srcdir@&$ac_abs_srcdir&;t t
17978s&@top_srcdir@&$ac_top_srcdir&;t t
17979s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
17980s&@builddir@&$ac_builddir&;t t
17981s&@abs_builddir@&$ac_abs_builddir&;t t
17982s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
17983s&@INSTALL@&$ac_INSTALL&;t t
17984s&@MKDIR_P@&$ac_MKDIR_P&;t t
17985$ac_datarootdir_hack
17986"
17987eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
17988  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17989
17990test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17991  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
17992  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
17993      "$ac_tmp/out"`; test -z "$ac_out"; } &&
17994  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17995which seems to be undefined.  Please make sure it is defined" >&5
17996$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17997which seems to be undefined.  Please make sure it is defined" >&2;}
17998
17999  rm -f "$ac_tmp/stdin"
18000  case $ac_file in
18001  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18002  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18003  esac \
18004  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18005 ;;
18006  :H)
18007  #
18008  # CONFIG_HEADER
18009  #
18010  if test x"$ac_file" != x-; then
18011    {
18012      $as_echo "/* $configure_input  */" \
18013      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18014    } >"$ac_tmp/config.h" \
18015      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18016    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18017      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18018$as_echo "$as_me: $ac_file is unchanged" >&6;}
18019    else
18020      rm -f "$ac_file"
18021      mv "$ac_tmp/config.h" "$ac_file" \
18022	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
18023    fi
18024  else
18025    $as_echo "/* $configure_input  */" \
18026      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18027      || as_fn_error $? "could not create -" "$LINENO" 5
18028  fi
18029# Compute "$ac_file"'s index in $config_headers.
18030_am_arg="$ac_file"
18031_am_stamp_count=1
18032for _am_header in $config_headers :; do
18033  case $_am_header in
18034    $_am_arg | $_am_arg:* )
18035      break ;;
18036    * )
18037      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18038  esac
18039done
18040echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18041$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18042	 X"$_am_arg" : 'X\(//\)[^/]' \| \
18043	 X"$_am_arg" : 'X\(//\)$' \| \
18044	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18045$as_echo X"$_am_arg" |
18046    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18047	    s//\1/
18048	    q
18049	  }
18050	  /^X\(\/\/\)[^/].*/{
18051	    s//\1/
18052	    q
18053	  }
18054	  /^X\(\/\/\)$/{
18055	    s//\1/
18056	    q
18057	  }
18058	  /^X\(\/\).*/{
18059	    s//\1/
18060	    q
18061	  }
18062	  s/.*/./; q'`/stamp-h$_am_stamp_count
18063 ;;
18064
18065  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18066$as_echo "$as_me: executing $ac_file commands" >&6;}
18067 ;;
18068  esac
18069
18070
18071  case $ac_file$ac_mode in
18072    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18073  # Older Autoconf quotes --file arguments for eval, but not when files
18074  # are listed without --file.  Let's play safe and only enable the eval
18075  # if we detect the quoting.
18076  # TODO: see whether this extra hack can be removed once we start
18077  # requiring Autoconf 2.70 or later.
18078  case $CONFIG_FILES in #(
18079  *\'*) :
18080    eval set x "$CONFIG_FILES" ;; #(
18081  *) :
18082    set x $CONFIG_FILES ;; #(
18083  *) :
18084     ;;
18085esac
18086  shift
18087  # Used to flag and report bootstrapping failures.
18088  am_rc=0
18089  for am_mf
18090  do
18091    # Strip MF so we end up with the name of the file.
18092    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
18093    # Check whether this is an Automake generated Makefile which includes
18094    # dependency-tracking related rules and includes.
18095    # Grep'ing the whole file directly is not great: AIX grep has a line
18096    # limit of 2048, but all sed's we know have understand at least 4000.
18097    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
18098      || continue
18099    am_dirpart=`$as_dirname -- "$am_mf" ||
18100$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18101	 X"$am_mf" : 'X\(//\)[^/]' \| \
18102	 X"$am_mf" : 'X\(//\)$' \| \
18103	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18104$as_echo X"$am_mf" |
18105    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18106	    s//\1/
18107	    q
18108	  }
18109	  /^X\(\/\/\)[^/].*/{
18110	    s//\1/
18111	    q
18112	  }
18113	  /^X\(\/\/\)$/{
18114	    s//\1/
18115	    q
18116	  }
18117	  /^X\(\/\).*/{
18118	    s//\1/
18119	    q
18120	  }
18121	  s/.*/./; q'`
18122    am_filepart=`$as_basename -- "$am_mf" ||
18123$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
18124	 X"$am_mf" : 'X\(//\)$' \| \
18125	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
18126$as_echo X/"$am_mf" |
18127    sed '/^.*\/\([^/][^/]*\)\/*$/{
18128	    s//\1/
18129	    q
18130	  }
18131	  /^X\/\(\/\/\)$/{
18132	    s//\1/
18133	    q
18134	  }
18135	  /^X\/\(\/\).*/{
18136	    s//\1/
18137	    q
18138	  }
18139	  s/.*/./; q'`
18140    { echo "$as_me:$LINENO: cd "$am_dirpart" \
18141      && sed -e '/# am--include-marker/d' "$am_filepart" \
18142        | $MAKE -f - am--depfiles" >&5
18143   (cd "$am_dirpart" \
18144      && sed -e '/# am--include-marker/d' "$am_filepart" \
18145        | $MAKE -f - am--depfiles) >&5 2>&5
18146   ac_status=$?
18147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148   (exit $ac_status); } || am_rc=$?
18149  done
18150  if test $am_rc -ne 0; then
18151    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18153as_fn_error $? "Something went wrong bootstrapping makefile fragments
18154    for automatic dependency tracking.  If GNU make was not used, consider
18155    re-running the configure script with MAKE=\"gmake\" (or whatever is
18156    necessary).  You can also try re-running configure with the
18157    '--disable-dependency-tracking' option to at least be able to build
18158    the package (albeit without support for automatic dependency tracking).
18159See \`config.log' for more details" "$LINENO" 5; }
18160  fi
18161  { am_dirpart=; unset am_dirpart;}
18162  { am_filepart=; unset am_filepart;}
18163  { am_mf=; unset am_mf;}
18164  { am_rc=; unset am_rc;}
18165  rm -f conftest-deps.mk
18166}
18167 ;;
18168    "libtool":C)
18169
18170    # See if we are running on zsh, and set the options that allow our
18171    # commands through without removal of \ escapes.
18172    if test -n "${ZSH_VERSION+set}"; then
18173      setopt NO_GLOB_SUBST
18174    fi
18175
18176    cfgfile=${ofile}T
18177    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18178    $RM "$cfgfile"
18179
18180    cat <<_LT_EOF >> "$cfgfile"
18181#! $SHELL
18182# Generated automatically by $as_me ($PACKAGE) $VERSION
18183# NOTE: Changes made to this file will be lost: look at ltmain.sh.
18184
18185# Provide generalized library-building support services.
18186# Written by Gordon Matzigkeit, 1996
18187
18188# Copyright (C) 2014 Free Software Foundation, Inc.
18189# This is free software; see the source for copying conditions.  There is NO
18190# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18191
18192# GNU Libtool is free software; you can redistribute it and/or modify
18193# it under the terms of the GNU General Public License as published by
18194# the Free Software Foundation; either version 2 of of the License, or
18195# (at your option) any later version.
18196#
18197# As a special exception to the GNU General Public License, if you
18198# distribute this file as part of a program or library that is built
18199# using GNU Libtool, you may include this file under the  same
18200# distribution terms that you use for the rest of that program.
18201#
18202# GNU Libtool is distributed in the hope that it will be useful, but
18203# WITHOUT ANY WARRANTY; without even the implied warranty of
18204# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18205# GNU General Public License for more details.
18206#
18207# You should have received a copy of the GNU General Public License
18208# along with this program.  If not, see <http://www.gnu.org/licenses/>.
18209
18210
18211# The names of the tagged configurations supported by this script.
18212available_tags=''
18213
18214# Configured defaults for sys_lib_dlsearch_path munging.
18215: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
18216
18217# ### BEGIN LIBTOOL CONFIG
18218
18219# Which release of libtool.m4 was used?
18220macro_version=$macro_version
18221macro_revision=$macro_revision
18222
18223# Whether or not to build shared libraries.
18224build_libtool_libs=$enable_shared
18225
18226# Whether or not to build static libraries.
18227build_old_libs=$enable_static
18228
18229# What type of objects to build.
18230pic_mode=$pic_mode
18231
18232# Whether or not to optimize for fast installation.
18233fast_install=$enable_fast_install
18234
18235# Shared archive member basename,for filename based shared library versioning on AIX.
18236shared_archive_member_spec=$shared_archive_member_spec
18237
18238# Shell to use when invoking shell scripts.
18239SHELL=$lt_SHELL
18240
18241# An echo program that protects backslashes.
18242ECHO=$lt_ECHO
18243
18244# The PATH separator for the build system.
18245PATH_SEPARATOR=$lt_PATH_SEPARATOR
18246
18247# The host system.
18248host_alias=$host_alias
18249host=$host
18250host_os=$host_os
18251
18252# The build system.
18253build_alias=$build_alias
18254build=$build
18255build_os=$build_os
18256
18257# A sed program that does not truncate output.
18258SED=$lt_SED
18259
18260# Sed that helps us avoid accidentally triggering echo(1) options like -n.
18261Xsed="\$SED -e 1s/^X//"
18262
18263# A grep program that handles long lines.
18264GREP=$lt_GREP
18265
18266# An ERE matcher.
18267EGREP=$lt_EGREP
18268
18269# A literal string matcher.
18270FGREP=$lt_FGREP
18271
18272# A BSD- or MS-compatible name lister.
18273NM=$lt_NM
18274
18275# Whether we need soft or hard links.
18276LN_S=$lt_LN_S
18277
18278# What is the maximum length of a command?
18279max_cmd_len=$max_cmd_len
18280
18281# Object file suffix (normally "o").
18282objext=$ac_objext
18283
18284# Executable file suffix (normally "").
18285exeext=$exeext
18286
18287# whether the shell understands "unset".
18288lt_unset=$lt_unset
18289
18290# turn spaces into newlines.
18291SP2NL=$lt_lt_SP2NL
18292
18293# turn newlines into spaces.
18294NL2SP=$lt_lt_NL2SP
18295
18296# convert \$build file names to \$host format.
18297to_host_file_cmd=$lt_cv_to_host_file_cmd
18298
18299# convert \$build files to toolchain format.
18300to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18301
18302# An object symbol dumper.
18303OBJDUMP=$lt_OBJDUMP
18304
18305# Method to check whether dependent libraries are shared objects.
18306deplibs_check_method=$lt_deplibs_check_method
18307
18308# Command to use when deplibs_check_method = "file_magic".
18309file_magic_cmd=$lt_file_magic_cmd
18310
18311# How to find potential files when deplibs_check_method = "file_magic".
18312file_magic_glob=$lt_file_magic_glob
18313
18314# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18315want_nocaseglob=$lt_want_nocaseglob
18316
18317# DLL creation program.
18318DLLTOOL=$lt_DLLTOOL
18319
18320# Command to associate shared and link libraries.
18321sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18322
18323# The archiver.
18324AR=$lt_AR
18325
18326# Flags to create an archive.
18327AR_FLAGS=$lt_AR_FLAGS
18328
18329# How to feed a file listing to the archiver.
18330archiver_list_spec=$lt_archiver_list_spec
18331
18332# A symbol stripping program.
18333STRIP=$lt_STRIP
18334
18335# Commands used to install an old-style archive.
18336RANLIB=$lt_RANLIB
18337old_postinstall_cmds=$lt_old_postinstall_cmds
18338old_postuninstall_cmds=$lt_old_postuninstall_cmds
18339
18340# Whether to use a lock for old archive extraction.
18341lock_old_archive_extraction=$lock_old_archive_extraction
18342
18343# A C compiler.
18344LTCC=$lt_CC
18345
18346# LTCC compiler flags.
18347LTCFLAGS=$lt_CFLAGS
18348
18349# Take the output of nm and produce a listing of raw symbols and C names.
18350global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18351
18352# Transform the output of nm in a proper C declaration.
18353global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18354
18355# Transform the output of nm into a list of symbols to manually relocate.
18356global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
18357
18358# Transform the output of nm in a C name address pair.
18359global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18360
18361# Transform the output of nm in a C name address pair when lib prefix is needed.
18362global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18363
18364# The name lister interface.
18365nm_interface=$lt_lt_cv_nm_interface
18366
18367# Specify filename containing input files for \$NM.
18368nm_file_list_spec=$lt_nm_file_list_spec
18369
18370# The root where to search for dependent libraries,and where our libraries should be installed.
18371lt_sysroot=$lt_sysroot
18372
18373# Command to truncate a binary pipe.
18374lt_truncate_bin=$lt_lt_cv_truncate_bin
18375
18376# The name of the directory that contains temporary libtool files.
18377objdir=$objdir
18378
18379# Used to examine libraries when file_magic_cmd begins with "file".
18380MAGIC_CMD=$MAGIC_CMD
18381
18382# Must we lock files when doing compilation?
18383need_locks=$lt_need_locks
18384
18385# Manifest tool.
18386MANIFEST_TOOL=$lt_MANIFEST_TOOL
18387
18388# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18389DSYMUTIL=$lt_DSYMUTIL
18390
18391# Tool to change global to local symbols on Mac OS X.
18392NMEDIT=$lt_NMEDIT
18393
18394# Tool to manipulate fat objects and archives on Mac OS X.
18395LIPO=$lt_LIPO
18396
18397# ldd/readelf like tool for Mach-O binaries on Mac OS X.
18398OTOOL=$lt_OTOOL
18399
18400# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18401OTOOL64=$lt_OTOOL64
18402
18403# Old archive suffix (normally "a").
18404libext=$libext
18405
18406# Shared library suffix (normally ".so").
18407shrext_cmds=$lt_shrext_cmds
18408
18409# The commands to extract the exported symbol list from a shared archive.
18410extract_expsyms_cmds=$lt_extract_expsyms_cmds
18411
18412# Variables whose values should be saved in libtool wrapper scripts and
18413# restored at link time.
18414variables_saved_for_relink=$lt_variables_saved_for_relink
18415
18416# Do we need the "lib" prefix for modules?
18417need_lib_prefix=$need_lib_prefix
18418
18419# Do we need a version for libraries?
18420need_version=$need_version
18421
18422# Library versioning type.
18423version_type=$version_type
18424
18425# Shared library runtime path variable.
18426runpath_var=$runpath_var
18427
18428# Shared library path variable.
18429shlibpath_var=$shlibpath_var
18430
18431# Is shlibpath searched before the hard-coded library search path?
18432shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18433
18434# Format of library name prefix.
18435libname_spec=$lt_libname_spec
18436
18437# List of archive names.  First name is the real one, the rest are links.
18438# The last name is the one that the linker finds with -lNAME
18439library_names_spec=$lt_library_names_spec
18440
18441# The coded name of the library, if different from the real name.
18442soname_spec=$lt_soname_spec
18443
18444# Permission mode override for installation of shared libraries.
18445install_override_mode=$lt_install_override_mode
18446
18447# Command to use after installation of a shared archive.
18448postinstall_cmds=$lt_postinstall_cmds
18449
18450# Command to use after uninstallation of a shared archive.
18451postuninstall_cmds=$lt_postuninstall_cmds
18452
18453# Commands used to finish a libtool library installation in a directory.
18454finish_cmds=$lt_finish_cmds
18455
18456# As "finish_cmds", except a single script fragment to be evaled but
18457# not shown.
18458finish_eval=$lt_finish_eval
18459
18460# Whether we should hardcode library paths into libraries.
18461hardcode_into_libs=$hardcode_into_libs
18462
18463# Compile-time system search path for libraries.
18464sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18465
18466# Detected run-time system search path for libraries.
18467sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
18468
18469# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
18470configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
18471
18472# Whether dlopen is supported.
18473dlopen_support=$enable_dlopen
18474
18475# Whether dlopen of programs is supported.
18476dlopen_self=$enable_dlopen_self
18477
18478# Whether dlopen of statically linked programs is supported.
18479dlopen_self_static=$enable_dlopen_self_static
18480
18481# Commands to strip libraries.
18482old_striplib=$lt_old_striplib
18483striplib=$lt_striplib
18484
18485
18486# The linker used to build libraries.
18487LD=$lt_LD
18488
18489# How to create reloadable object files.
18490reload_flag=$lt_reload_flag
18491reload_cmds=$lt_reload_cmds
18492
18493# Commands used to build an old-style archive.
18494old_archive_cmds=$lt_old_archive_cmds
18495
18496# A language specific compiler.
18497CC=$lt_compiler
18498
18499# Is the compiler the GNU compiler?
18500with_gcc=$GCC
18501
18502# Compiler flag to turn off builtin functions.
18503no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18504
18505# Additional compiler flags for building library objects.
18506pic_flag=$lt_lt_prog_compiler_pic
18507
18508# How to pass a linker flag through the compiler.
18509wl=$lt_lt_prog_compiler_wl
18510
18511# Compiler flag to prevent dynamic linking.
18512link_static_flag=$lt_lt_prog_compiler_static
18513
18514# Does compiler simultaneously support -c and -o options?
18515compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18516
18517# Whether or not to add -lc for building shared libraries.
18518build_libtool_need_lc=$archive_cmds_need_lc
18519
18520# Whether or not to disallow shared libs when runtime libs are static.
18521allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18522
18523# Compiler flag to allow reflexive dlopens.
18524export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18525
18526# Compiler flag to generate shared objects directly from archives.
18527whole_archive_flag_spec=$lt_whole_archive_flag_spec
18528
18529# Whether the compiler copes with passing no objects directly.
18530compiler_needs_object=$lt_compiler_needs_object
18531
18532# Create an old-style archive from a shared archive.
18533old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18534
18535# Create a temporary old-style archive to link instead of a shared archive.
18536old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18537
18538# Commands used to build a shared archive.
18539archive_cmds=$lt_archive_cmds
18540archive_expsym_cmds=$lt_archive_expsym_cmds
18541
18542# Commands used to build a loadable module if different from building
18543# a shared archive.
18544module_cmds=$lt_module_cmds
18545module_expsym_cmds=$lt_module_expsym_cmds
18546
18547# Whether we are building with GNU ld or not.
18548with_gnu_ld=$lt_with_gnu_ld
18549
18550# Flag that allows shared libraries with undefined symbols to be built.
18551allow_undefined_flag=$lt_allow_undefined_flag
18552
18553# Flag that enforces no undefined symbols.
18554no_undefined_flag=$lt_no_undefined_flag
18555
18556# Flag to hardcode \$libdir into a binary during linking.
18557# This must work even if \$libdir does not exist
18558hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18559
18560# Whether we need a single "-rpath" flag with a separated argument.
18561hardcode_libdir_separator=$lt_hardcode_libdir_separator
18562
18563# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18564# DIR into the resulting binary.
18565hardcode_direct=$hardcode_direct
18566
18567# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
18568# DIR into the resulting binary and the resulting library dependency is
18569# "absolute",i.e impossible to change by setting \$shlibpath_var if the
18570# library is relocated.
18571hardcode_direct_absolute=$hardcode_direct_absolute
18572
18573# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18574# into the resulting binary.
18575hardcode_minus_L=$hardcode_minus_L
18576
18577# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18578# into the resulting binary.
18579hardcode_shlibpath_var=$hardcode_shlibpath_var
18580
18581# Set to "yes" if building a shared library automatically hardcodes DIR
18582# into the library and all subsequent libraries and executables linked
18583# against it.
18584hardcode_automatic=$hardcode_automatic
18585
18586# Set to yes if linker adds runtime paths of dependent libraries
18587# to runtime path list.
18588inherit_rpath=$inherit_rpath
18589
18590# Whether libtool must link a program against all its dependency libraries.
18591link_all_deplibs=$link_all_deplibs
18592
18593# Set to "yes" if exported symbols are required.
18594always_export_symbols=$always_export_symbols
18595
18596# The commands to list exported symbols.
18597export_symbols_cmds=$lt_export_symbols_cmds
18598
18599# Symbols that should not be listed in the preloaded symbols.
18600exclude_expsyms=$lt_exclude_expsyms
18601
18602# Symbols that must always be exported.
18603include_expsyms=$lt_include_expsyms
18604
18605# Commands necessary for linking programs (against libraries) with templates.
18606prelink_cmds=$lt_prelink_cmds
18607
18608# Commands necessary for finishing linking programs.
18609postlink_cmds=$lt_postlink_cmds
18610
18611# Specify filename containing input files.
18612file_list_spec=$lt_file_list_spec
18613
18614# How to hardcode a shared library path into an executable.
18615hardcode_action=$hardcode_action
18616
18617# ### END LIBTOOL CONFIG
18618
18619_LT_EOF
18620
18621    cat <<'_LT_EOF' >> "$cfgfile"
18622
18623# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
18624
18625# func_munge_path_list VARIABLE PATH
18626# -----------------------------------
18627# VARIABLE is name of variable containing _space_ separated list of
18628# directories to be munged by the contents of PATH, which is string
18629# having a format:
18630# "DIR[:DIR]:"
18631#       string "DIR[ DIR]" will be prepended to VARIABLE
18632# ":DIR[:DIR]"
18633#       string "DIR[ DIR]" will be appended to VARIABLE
18634# "DIRP[:DIRP]::[DIRA:]DIRA"
18635#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
18636#       "DIRA[ DIRA]" will be appended to VARIABLE
18637# "DIR[:DIR]"
18638#       VARIABLE will be replaced by "DIR[ DIR]"
18639func_munge_path_list ()
18640{
18641    case x$2 in
18642    x)
18643        ;;
18644    *:)
18645        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
18646        ;;
18647    x:*)
18648        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
18649        ;;
18650    *::*)
18651        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
18652        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
18653        ;;
18654    *)
18655        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
18656        ;;
18657    esac
18658}
18659
18660
18661# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
18662func_cc_basename ()
18663{
18664    for cc_temp in $*""; do
18665      case $cc_temp in
18666        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
18667        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
18668        \-*) ;;
18669        *) break;;
18670      esac
18671    done
18672    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
18673}
18674
18675
18676# ### END FUNCTIONS SHARED WITH CONFIGURE
18677
18678_LT_EOF
18679
18680  case $host_os in
18681  aix3*)
18682    cat <<\_LT_EOF >> "$cfgfile"
18683# AIX sometimes has problems with the GCC collect2 program.  For some
18684# reason, if we set the COLLECT_NAMES environment variable, the problems
18685# vanish in a puff of smoke.
18686if test set != "${COLLECT_NAMES+set}"; then
18687  COLLECT_NAMES=
18688  export COLLECT_NAMES
18689fi
18690_LT_EOF
18691    ;;
18692  esac
18693
18694
18695ltmain=$ac_aux_dir/ltmain.sh
18696
18697
18698  # We use sed instead of cat because bash on DJGPP gets confused if
18699  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
18700  # text mode, it properly converts lines to CR/LF.  This bash problem
18701  # is reportedly fixed, but why not run on old versions too?
18702  sed '$q' "$ltmain" >> "$cfgfile" \
18703     || (rm -f "$cfgfile"; exit 1)
18704
18705   mv -f "$cfgfile" "$ofile" ||
18706    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
18707  chmod +x "$ofile"
18708
18709 ;;
18710
18711  esac
18712done # for ac_tag
18713
18714
18715as_fn_exit 0
18716_ACEOF
18717ac_clean_files=$ac_clean_files_save
18718
18719test $ac_write_fail = 0 ||
18720  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18721
18722
18723# configure is writing to config.log, and then calls config.status.
18724# config.status does its own redirection, appending to config.log.
18725# Unfortunately, on DOS this fails, as config.log is still kept open
18726# by configure, so config.status won't be able to write to it; its
18727# output is simply discarded.  So we exec the FD to /dev/null,
18728# effectively closing config.log, so it can be properly (re)opened and
18729# appended to by config.status.  When coming back to configure, we
18730# need to make the FD available again.
18731if test "$no_create" != yes; then
18732  ac_cs_success=:
18733  ac_config_status_args=
18734  test "$silent" = yes &&
18735    ac_config_status_args="$ac_config_status_args --quiet"
18736  exec 5>/dev/null
18737  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
18738  exec 5>>config.log
18739  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18740  # would make configure fail if this is the last instruction.
18741  $ac_cs_success || as_fn_exit 1
18742fi
18743if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
18744  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18745$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18746fi
18747
18748
18749
18750
18751
18752
18753echo "  Summary:"
18754echo "  --------"
18755echo "  BD-J type:                     $BDJ_TYPE"
18756echo "  build JAR:                     $use_bdjava_jar"
18757if test "x$use_bdjava_jar" = "xyes"; then
18758if test "x$javac_version" != "x"; then
18759echo "      javac version:             $javac_version"
18760fi
18761echo "      Java binary version:       $java_code_version"
18762fi
18763if test x"$BDJ_BOOTCLASSPATH" != x""; then
18764echo "  BD-J bootclasspath:            $BDJ_BOOTCLASSPATH"
18765fi
18766echo "  Font support (freetype2):      $with_freetype"
18767if [ $with_freetype = "yes" ]; then
18768if test "${SYS}" != "mingw32"; then
18769echo "  Use system fonts (fontconfig): $with_fontconfig"
18770else
18771echo "  Use system fonts:              yes"
18772fi
18773fi
18774echo "  Metadata support (libxml2):    $with_libxml2"
18775echo "  External libudfread:           $with_libudfread"
18776echo "  Build examples:                $use_examples"
18777
18778