1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for libisoburn 1.5.0.
4#
5# Report bugs to <http://libburnia-project.org>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1
202
203  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207    PATH=/empty FPATH=/empty; export PATH FPATH
208    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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://libburnia-project.org about your system,
279$0: including any error possibly output before this
280$0: message. Then install a modern shell, or manually run
281$0: the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='libisoburn'
592PACKAGE_TARNAME='libisoburn'
593PACKAGE_VERSION='1.5.0'
594PACKAGE_STRING='libisoburn 1.5.0'
595PACKAGE_BUGREPORT='http://libburnia-project.org'
596PACKAGE_URL=''
597
598ac_default_prefix=/usr/local
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639LIBCDIO_LIBS
640LIBCDIO_CFLAGS
641LIBISOFS_LIBS
642LIBISOFS_CFLAGS
643LIBBURN_LIBS
644LIBBURN_CFLAGS
645PKG_CONFIG_LIBDIR
646PKG_CONFIG_PATH
647PKG_CONFIG
648LIBBURNIA_LDCONFIG_CMD
649LIBLDFLAGS
650XORRISO_DVD_OBS_64K
651LFRONT_SUID_DEF
652LFRONT_DEF
653EXTF_SUID_DEF
654EXTF_DEF
655LIBCDIO_DEF
656LIBJTE_DEF
657ZLIB_DEF
658XATTR_DEF
659LIBACL_DEF
660READLINE_DEF
661LIBBURN_ARCH_LIBS
662LIBBURNIA_PKGCONFDIR
663ARCH
664THREAD_LIBS
665LIBTOOL_DEPS
666OTOOL64
667OTOOL
668LIPO
669NMEDIT
670DSYMUTIL
671MANIFEST_TOOL
672RANLIB
673ac_ct_AR
674AR
675DLLTOOL
676OBJDUMP
677LN_S
678NM
679ac_ct_DUMPBIN
680DUMPBIN
681LD
682FGREP
683SED
684LIBTOOL
685EGREP
686GREP
687CPP
688am__fastdepCC_FALSE
689am__fastdepCC_TRUE
690CCDEPMODE
691am__nodep
692AMDEPBACKSLASH
693AMDEP_FALSE
694AMDEP_TRUE
695am__quote
696am__include
697DEPDIR
698OBJEXT
699EXEEXT
700ac_ct_CC
701CPPFLAGS
702LDFLAGS
703CFLAGS
704CC
705MAINT
706MAINTAINER_MODE_FALSE
707MAINTAINER_MODE_TRUE
708LT_CURRENT_MINUS_AGE
709LT_AGE
710LT_REVISION
711LT_CURRENT
712LT_RELEASE
713ISOBURN_MICRO_VERSION
714ISOBURN_MINOR_VERSION
715ISOBURN_MAJOR_VERSION
716AM_BACKSLASH
717AM_DEFAULT_VERBOSITY
718AM_DEFAULT_V
719AM_V
720am__untar
721am__tar
722AMTAR
723am__leading_dot
724SET_MAKE
725AWK
726mkdir_p
727MKDIR_P
728INSTALL_STRIP_PROGRAM
729STRIP
730install_sh
731MAKEINFO
732AUTOHEADER
733AUTOMAKE
734AUTOCONF
735ACLOCAL
736VERSION
737PACKAGE
738CYGPATH_W
739am__isrc
740INSTALL_DATA
741INSTALL_SCRIPT
742INSTALL_PROGRAM
743target_os
744target_vendor
745target_cpu
746target
747host_os
748host_vendor
749host_cpu
750host
751build_os
752build_vendor
753build_cpu
754build
755target_alias
756host_alias
757build_alias
758LIBS
759ECHO_T
760ECHO_N
761ECHO_C
762DEFS
763mandir
764localedir
765libdir
766psdir
767pdfdir
768dvidir
769htmldir
770infodir
771docdir
772oldincludedir
773includedir
774localstatedir
775sharedstatedir
776sysconfdir
777datadir
778datarootdir
779libexecdir
780sbindir
781bindir
782program_transform_name
783prefix
784exec_prefix
785PACKAGE_URL
786PACKAGE_BUGREPORT
787PACKAGE_STRING
788PACKAGE_VERSION
789PACKAGE_TARNAME
790PACKAGE_NAME
791PATH_SEPARATOR
792SHELL'
793ac_subst_files=''
794ac_user_opts='
795enable_option_checking
796enable_silent_rules
797enable_maintainer_mode
798enable_dependency_tracking
799enable_largefile
800enable_shared
801enable_static
802with_pic
803enable_fast_install
804with_gnu_ld
805with_sysroot
806enable_libtool_lock
807enable_libdir_pkgconfig
808enable_pkgconfig_path
809enable_libreadline
810enable_libedit
811enable_libacl
812enable_xattr
813enable_zlib
814enable_libjte
815enable_libcdio
816enable_external_filters
817enable_external_filters_setuid
818enable_launch_frontend
819enable_launch_frontend_setuid
820enable_dvd_obs_64k
821enable_versioned_libs
822enable_ldconfig_at_install
823enable_pkg_check_modules
824enable_debug
825'
826      ac_precious_vars='build_alias
827host_alias
828target_alias
829CC
830CFLAGS
831LDFLAGS
832LIBS
833CPPFLAGS
834CPP
835PKG_CONFIG
836PKG_CONFIG_PATH
837PKG_CONFIG_LIBDIR
838LIBBURN_CFLAGS
839LIBBURN_LIBS
840LIBISOFS_CFLAGS
841LIBISOFS_LIBS
842LIBCDIO_CFLAGS
843LIBCDIO_LIBS'
844
845
846# Initialize some variables set by options.
847ac_init_help=
848ac_init_version=false
849ac_unrecognized_opts=
850ac_unrecognized_sep=
851# The variables have the same names as the options, with
852# dashes changed to underlines.
853cache_file=/dev/null
854exec_prefix=NONE
855no_create=
856no_recursion=
857prefix=NONE
858program_prefix=NONE
859program_suffix=NONE
860program_transform_name=s,x,x,
861silent=
862site=
863srcdir=
864verbose=
865x_includes=NONE
866x_libraries=NONE
867
868# Installation directory options.
869# These are left unexpanded so users can "make install exec_prefix=/foo"
870# and all the variables that are supposed to be based on exec_prefix
871# by default will actually change.
872# Use braces instead of parens because sh, perl, etc. also accept them.
873# (The list follows the same order as the GNU Coding Standards.)
874bindir='${exec_prefix}/bin'
875sbindir='${exec_prefix}/sbin'
876libexecdir='${exec_prefix}/libexec'
877datarootdir='${prefix}/share'
878datadir='${datarootdir}'
879sysconfdir='${prefix}/etc'
880sharedstatedir='${prefix}/com'
881localstatedir='${prefix}/var'
882includedir='${prefix}/include'
883oldincludedir='/usr/include'
884docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
885infodir='${datarootdir}/info'
886htmldir='${docdir}'
887dvidir='${docdir}'
888pdfdir='${docdir}'
889psdir='${docdir}'
890libdir='${exec_prefix}/lib'
891localedir='${datarootdir}/locale'
892mandir='${datarootdir}/man'
893
894ac_prev=
895ac_dashdash=
896for ac_option
897do
898  # If the previous option needs an argument, assign it.
899  if test -n "$ac_prev"; then
900    eval $ac_prev=\$ac_option
901    ac_prev=
902    continue
903  fi
904
905  case $ac_option in
906  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907  *=)   ac_optarg= ;;
908  *)    ac_optarg=yes ;;
909  esac
910
911  # Accept the important Cygnus configure options, so we can diagnose typos.
912
913  case $ac_dashdash$ac_option in
914  --)
915    ac_dashdash=yes ;;
916
917  -bindir | --bindir | --bindi | --bind | --bin | --bi)
918    ac_prev=bindir ;;
919  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
920    bindir=$ac_optarg ;;
921
922  -build | --build | --buil | --bui | --bu)
923    ac_prev=build_alias ;;
924  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
925    build_alias=$ac_optarg ;;
926
927  -cache-file | --cache-file | --cache-fil | --cache-fi \
928  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
929    ac_prev=cache_file ;;
930  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
931  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
932    cache_file=$ac_optarg ;;
933
934  --config-cache | -C)
935    cache_file=config.cache ;;
936
937  -datadir | --datadir | --datadi | --datad)
938    ac_prev=datadir ;;
939  -datadir=* | --datadir=* | --datadi=* | --datad=*)
940    datadir=$ac_optarg ;;
941
942  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
943  | --dataroo | --dataro | --datar)
944    ac_prev=datarootdir ;;
945  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
946  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
947    datarootdir=$ac_optarg ;;
948
949  -disable-* | --disable-*)
950    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951    # Reject names that are not valid shell variable names.
952    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
953      as_fn_error $? "invalid feature name: $ac_useropt"
954    ac_useropt_orig=$ac_useropt
955    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956    case $ac_user_opts in
957      *"
958"enable_$ac_useropt"
959"*) ;;
960      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961	 ac_unrecognized_sep=', ';;
962    esac
963    eval enable_$ac_useropt=no ;;
964
965  -docdir | --docdir | --docdi | --doc | --do)
966    ac_prev=docdir ;;
967  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
968    docdir=$ac_optarg ;;
969
970  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
971    ac_prev=dvidir ;;
972  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
973    dvidir=$ac_optarg ;;
974
975  -enable-* | --enable-*)
976    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977    # Reject names that are not valid shell variable names.
978    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979      as_fn_error $? "invalid feature name: $ac_useropt"
980    ac_useropt_orig=$ac_useropt
981    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982    case $ac_user_opts in
983      *"
984"enable_$ac_useropt"
985"*) ;;
986      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987	 ac_unrecognized_sep=', ';;
988    esac
989    eval enable_$ac_useropt=\$ac_optarg ;;
990
991  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
992  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
993  | --exec | --exe | --ex)
994    ac_prev=exec_prefix ;;
995  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
996  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
997  | --exec=* | --exe=* | --ex=*)
998    exec_prefix=$ac_optarg ;;
999
1000  -gas | --gas | --ga | --g)
1001    # Obsolete; use --with-gas.
1002    with_gas=yes ;;
1003
1004  -help | --help | --hel | --he | -h)
1005    ac_init_help=long ;;
1006  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1007    ac_init_help=recursive ;;
1008  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1009    ac_init_help=short ;;
1010
1011  -host | --host | --hos | --ho)
1012    ac_prev=host_alias ;;
1013  -host=* | --host=* | --hos=* | --ho=*)
1014    host_alias=$ac_optarg ;;
1015
1016  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1017    ac_prev=htmldir ;;
1018  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1019  | --ht=*)
1020    htmldir=$ac_optarg ;;
1021
1022  -includedir | --includedir | --includedi | --included | --include \
1023  | --includ | --inclu | --incl | --inc)
1024    ac_prev=includedir ;;
1025  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1026  | --includ=* | --inclu=* | --incl=* | --inc=*)
1027    includedir=$ac_optarg ;;
1028
1029  -infodir | --infodir | --infodi | --infod | --info | --inf)
1030    ac_prev=infodir ;;
1031  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1032    infodir=$ac_optarg ;;
1033
1034  -libdir | --libdir | --libdi | --libd)
1035    ac_prev=libdir ;;
1036  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1037    libdir=$ac_optarg ;;
1038
1039  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1040  | --libexe | --libex | --libe)
1041    ac_prev=libexecdir ;;
1042  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1043  | --libexe=* | --libex=* | --libe=*)
1044    libexecdir=$ac_optarg ;;
1045
1046  -localedir | --localedir | --localedi | --localed | --locale)
1047    ac_prev=localedir ;;
1048  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1049    localedir=$ac_optarg ;;
1050
1051  -localstatedir | --localstatedir | --localstatedi | --localstated \
1052  | --localstate | --localstat | --localsta | --localst | --locals)
1053    ac_prev=localstatedir ;;
1054  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1055  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1056    localstatedir=$ac_optarg ;;
1057
1058  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1059    ac_prev=mandir ;;
1060  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1061    mandir=$ac_optarg ;;
1062
1063  -nfp | --nfp | --nf)
1064    # Obsolete; use --without-fp.
1065    with_fp=no ;;
1066
1067  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1068  | --no-cr | --no-c | -n)
1069    no_create=yes ;;
1070
1071  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1072  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1073    no_recursion=yes ;;
1074
1075  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1076  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1077  | --oldin | --oldi | --old | --ol | --o)
1078    ac_prev=oldincludedir ;;
1079  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1080  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1081  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1082    oldincludedir=$ac_optarg ;;
1083
1084  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1085    ac_prev=prefix ;;
1086  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1087    prefix=$ac_optarg ;;
1088
1089  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1090  | --program-pre | --program-pr | --program-p)
1091    ac_prev=program_prefix ;;
1092  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1093  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1094    program_prefix=$ac_optarg ;;
1095
1096  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1097  | --program-suf | --program-su | --program-s)
1098    ac_prev=program_suffix ;;
1099  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1100  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1101    program_suffix=$ac_optarg ;;
1102
1103  -program-transform-name | --program-transform-name \
1104  | --program-transform-nam | --program-transform-na \
1105  | --program-transform-n | --program-transform- \
1106  | --program-transform | --program-transfor \
1107  | --program-transfo | --program-transf \
1108  | --program-trans | --program-tran \
1109  | --progr-tra | --program-tr | --program-t)
1110    ac_prev=program_transform_name ;;
1111  -program-transform-name=* | --program-transform-name=* \
1112  | --program-transform-nam=* | --program-transform-na=* \
1113  | --program-transform-n=* | --program-transform-=* \
1114  | --program-transform=* | --program-transfor=* \
1115  | --program-transfo=* | --program-transf=* \
1116  | --program-trans=* | --program-tran=* \
1117  | --progr-tra=* | --program-tr=* | --program-t=*)
1118    program_transform_name=$ac_optarg ;;
1119
1120  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1121    ac_prev=pdfdir ;;
1122  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1123    pdfdir=$ac_optarg ;;
1124
1125  -psdir | --psdir | --psdi | --psd | --ps)
1126    ac_prev=psdir ;;
1127  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1128    psdir=$ac_optarg ;;
1129
1130  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1131  | -silent | --silent | --silen | --sile | --sil)
1132    silent=yes ;;
1133
1134  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1135    ac_prev=sbindir ;;
1136  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1137  | --sbi=* | --sb=*)
1138    sbindir=$ac_optarg ;;
1139
1140  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1141  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1142  | --sharedst | --shareds | --shared | --share | --shar \
1143  | --sha | --sh)
1144    ac_prev=sharedstatedir ;;
1145  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1146  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1147  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1148  | --sha=* | --sh=*)
1149    sharedstatedir=$ac_optarg ;;
1150
1151  -site | --site | --sit)
1152    ac_prev=site ;;
1153  -site=* | --site=* | --sit=*)
1154    site=$ac_optarg ;;
1155
1156  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1157    ac_prev=srcdir ;;
1158  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1159    srcdir=$ac_optarg ;;
1160
1161  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1162  | --syscon | --sysco | --sysc | --sys | --sy)
1163    ac_prev=sysconfdir ;;
1164  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1165  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1166    sysconfdir=$ac_optarg ;;
1167
1168  -target | --target | --targe | --targ | --tar | --ta | --t)
1169    ac_prev=target_alias ;;
1170  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1171    target_alias=$ac_optarg ;;
1172
1173  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1174    verbose=yes ;;
1175
1176  -version | --version | --versio | --versi | --vers | -V)
1177    ac_init_version=: ;;
1178
1179  -with-* | --with-*)
1180    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181    # Reject names that are not valid shell variable names.
1182    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1183      as_fn_error $? "invalid package name: $ac_useropt"
1184    ac_useropt_orig=$ac_useropt
1185    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186    case $ac_user_opts in
1187      *"
1188"with_$ac_useropt"
1189"*) ;;
1190      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191	 ac_unrecognized_sep=', ';;
1192    esac
1193    eval with_$ac_useropt=\$ac_optarg ;;
1194
1195  -without-* | --without-*)
1196    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197    # Reject names that are not valid shell variable names.
1198    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1199      as_fn_error $? "invalid package name: $ac_useropt"
1200    ac_useropt_orig=$ac_useropt
1201    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202    case $ac_user_opts in
1203      *"
1204"with_$ac_useropt"
1205"*) ;;
1206      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207	 ac_unrecognized_sep=', ';;
1208    esac
1209    eval with_$ac_useropt=no ;;
1210
1211  --x)
1212    # Obsolete; use --with-x.
1213    with_x=yes ;;
1214
1215  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1216  | --x-incl | --x-inc | --x-in | --x-i)
1217    ac_prev=x_includes ;;
1218  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1219  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1220    x_includes=$ac_optarg ;;
1221
1222  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1223  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1224    ac_prev=x_libraries ;;
1225  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1226  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1227    x_libraries=$ac_optarg ;;
1228
1229  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1230Try \`$0 --help' for more information"
1231    ;;
1232
1233  *=*)
1234    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1235    # Reject names that are not valid shell variable names.
1236    case $ac_envvar in #(
1237      '' | [0-9]* | *[!_$as_cr_alnum]* )
1238      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1239    esac
1240    eval $ac_envvar=\$ac_optarg
1241    export $ac_envvar ;;
1242
1243  *)
1244    # FIXME: should be removed in autoconf 3.0.
1245    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1247      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249    ;;
1250
1251  esac
1252done
1253
1254if test -n "$ac_prev"; then
1255  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1256  as_fn_error $? "missing argument to $ac_option"
1257fi
1258
1259if test -n "$ac_unrecognized_opts"; then
1260  case $enable_option_checking in
1261    no) ;;
1262    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1263    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264  esac
1265fi
1266
1267# Check all directory arguments for consistency.
1268for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269		datadir sysconfdir sharedstatedir localstatedir includedir \
1270		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271		libdir localedir mandir
1272do
1273  eval ac_val=\$$ac_var
1274  # Remove trailing slashes.
1275  case $ac_val in
1276    */ )
1277      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278      eval $ac_var=\$ac_val;;
1279  esac
1280  # Be sure to have absolute directory names.
1281  case $ac_val in
1282    [\\/$]* | ?:[\\/]* )  continue;;
1283    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1284  esac
1285  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1286done
1287
1288# There might be people who depend on the old broken behavior: `$host'
1289# used to hold the argument of --host etc.
1290# FIXME: To remove some day.
1291build=$build_alias
1292host=$host_alias
1293target=$target_alias
1294
1295# FIXME: To remove some day.
1296if test "x$host_alias" != x; then
1297  if test "x$build_alias" = x; then
1298    cross_compiling=maybe
1299  elif test "x$build_alias" != "x$host_alias"; then
1300    cross_compiling=yes
1301  fi
1302fi
1303
1304ac_tool_prefix=
1305test -n "$host_alias" && ac_tool_prefix=$host_alias-
1306
1307test "$silent" = yes && exec 6>/dev/null
1308
1309
1310ac_pwd=`pwd` && test -n "$ac_pwd" &&
1311ac_ls_di=`ls -di .` &&
1312ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1313  as_fn_error $? "working directory cannot be determined"
1314test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1315  as_fn_error $? "pwd does not report name of working directory"
1316
1317
1318# Find the source files, if location was not specified.
1319if test -z "$srcdir"; then
1320  ac_srcdir_defaulted=yes
1321  # Try the directory containing this script, then the parent directory.
1322  ac_confdir=`$as_dirname -- "$as_myself" ||
1323$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324	 X"$as_myself" : 'X\(//\)[^/]' \| \
1325	 X"$as_myself" : 'X\(//\)$' \| \
1326	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327$as_echo X"$as_myself" |
1328    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1329	    s//\1/
1330	    q
1331	  }
1332	  /^X\(\/\/\)[^/].*/{
1333	    s//\1/
1334	    q
1335	  }
1336	  /^X\(\/\/\)$/{
1337	    s//\1/
1338	    q
1339	  }
1340	  /^X\(\/\).*/{
1341	    s//\1/
1342	    q
1343	  }
1344	  s/.*/./; q'`
1345  srcdir=$ac_confdir
1346  if test ! -r "$srcdir/$ac_unique_file"; then
1347    srcdir=..
1348  fi
1349else
1350  ac_srcdir_defaulted=no
1351fi
1352if test ! -r "$srcdir/$ac_unique_file"; then
1353  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1354  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1355fi
1356ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1357ac_abs_confdir=`(
1358	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359	pwd)`
1360# When building in place, set srcdir=.
1361if test "$ac_abs_confdir" = "$ac_pwd"; then
1362  srcdir=.
1363fi
1364# Remove unnecessary trailing slashes from srcdir.
1365# Double slashes in file names in object file debugging info
1366# mess up M-x gdb in Emacs.
1367case $srcdir in
1368*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369esac
1370for ac_var in $ac_precious_vars; do
1371  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1372  eval ac_env_${ac_var}_value=\$${ac_var}
1373  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1374  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1375done
1376
1377#
1378# Report the --help message.
1379#
1380if test "$ac_init_help" = "long"; then
1381  # Omit some internal or obsolete options to make the list less imposing.
1382  # This message is too long to be a string in the A/UX 3.1 sh.
1383  cat <<_ACEOF
1384\`configure' configures libisoburn 1.5.0 to adapt to many kinds of systems.
1385
1386Usage: $0 [OPTION]... [VAR=VALUE]...
1387
1388To assign environment variables (e.g., CC, CFLAGS...), specify them as
1389VAR=VALUE.  See below for descriptions of some of the useful variables.
1390
1391Defaults for the options are specified in brackets.
1392
1393Configuration:
1394  -h, --help              display this help and exit
1395      --help=short        display options specific to this package
1396      --help=recursive    display the short help of all the included packages
1397  -V, --version           display version information and exit
1398  -q, --quiet, --silent   do not print \`checking ...' messages
1399      --cache-file=FILE   cache test results in FILE [disabled]
1400  -C, --config-cache      alias for \`--cache-file=config.cache'
1401  -n, --no-create         do not create output files
1402      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1403
1404Installation directories:
1405  --prefix=PREFIX         install architecture-independent files in PREFIX
1406                          [$ac_default_prefix]
1407  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1408                          [PREFIX]
1409
1410By default, \`make install' will install all the files in
1411\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1412an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1413for instance \`--prefix=\$HOME'.
1414
1415For better control, use the options below.
1416
1417Fine tuning of the installation directories:
1418  --bindir=DIR            user executables [EPREFIX/bin]
1419  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1420  --libexecdir=DIR        program executables [EPREFIX/libexec]
1421  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1422  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1423  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1424  --libdir=DIR            object code libraries [EPREFIX/lib]
1425  --includedir=DIR        C header files [PREFIX/include]
1426  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1427  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1428  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1429  --infodir=DIR           info documentation [DATAROOTDIR/info]
1430  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1431  --mandir=DIR            man documentation [DATAROOTDIR/man]
1432  --docdir=DIR            documentation root [DATAROOTDIR/doc/libisoburn]
1433  --htmldir=DIR           html documentation [DOCDIR]
1434  --dvidir=DIR            dvi documentation [DOCDIR]
1435  --pdfdir=DIR            pdf documentation [DOCDIR]
1436  --psdir=DIR             ps documentation [DOCDIR]
1437_ACEOF
1438
1439  cat <<\_ACEOF
1440
1441Program names:
1442  --program-prefix=PREFIX            prepend PREFIX to installed program names
1443  --program-suffix=SUFFIX            append SUFFIX to installed program names
1444  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1445
1446System types:
1447  --build=BUILD     configure for building on BUILD [guessed]
1448  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1449  --target=TARGET   configure for building compilers for TARGET [HOST]
1450_ACEOF
1451fi
1452
1453if test -n "$ac_init_help"; then
1454  case $ac_init_help in
1455     short | recursive ) echo "Configuration of libisoburn 1.5.0:";;
1456   esac
1457  cat <<\_ACEOF
1458
1459Optional Features:
1460  --disable-option-checking  ignore unrecognized --enable/--with options
1461  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1462  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1463  --enable-silent-rules   less verbose build output (undo: "make V=1")
1464  --disable-silent-rules  verbose build output (undo: "make V=0")
1465  --enable-maintainer-mode
1466                          enable make rules and dependencies not useful (and
1467                          sometimes confusing) to the casual installer
1468  --enable-dependency-tracking
1469                          do not reject slow dependency extractors
1470  --disable-dependency-tracking
1471                          speeds up one-time build
1472  --disable-largefile     omit support for large files
1473  --enable-shared[=PKGS]  build shared libraries [default=yes]
1474  --enable-static[=PKGS]  build static libraries [default=yes]
1475  --enable-fast-install[=PKGS]
1476                          optimize for fast installation [default=yes]
1477  --disable-libtool-lock  avoid locking (might break parallel builds)
1478  --enable-libdir-pkgconfig  Install to $libdir/pkgconfig on any OS, default=no
1479  --enable-pkgconfig-path=DIR  Absolute path of directory for libisofs-*.pc
1480  --enable-libreadline    Enable use of libreadline by xorriso, default=yes
1481  --enable-libedit        Enable use of libedit by xorriso if not libreadline,
1482                          default= setting of --enable-libreadline
1483  --enable-libacl         Enable use of libacl by libisofs, default=yes
1484  --enable-xattr          Enable use of extended file attributes by libisofs, default=yes
1485  --enable-zlib           Enable use of zlib by libisofs, default=yes
1486  --enable-libjte         Enable use of libjte by xorriso, default=yes
1487  --enable-libcdio        Enable use of libcdio as system adapter, default=no (except on MSWindows)
1488  --enable-external-filters       Enable use of external filter programs by xorriso, default=yes
1489  --enable-external-filters-setuid   Enable xorriso external filter programs under setuid, default=no
1490  --enable-launch-frontend        Enable start of piped frontend program by xorriso, default=yes
1491  --enable-launch-frontend-setuid   Enable start of piped frontend program under setuid, default=no
1492  --enable-dvd-obs-64k            64 KB default size for xorriso DVD writing, default=no
1493  --enable-versioned-libs         Enable strict symbol encapsulation , default=yes
1494  --enable-ldconfig-at-install    On GNU/Linux run ldconfig, default=yes
1495  --enable-pkg-check-modules      Enable pkg-config check for libburn and libisofs , default=no
1496  --enable-debug          Disable aggressive optimizations default=yes
1497
1498Optional Packages:
1499  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1500  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1501  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1502                          both]
1503  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1504  --with-sysroot=DIR Search for dependent libraries within DIR
1505                        (or the compiler's sysroot if not specified).
1506
1507Some influential environment variables:
1508  CC          C compiler command
1509  CFLAGS      C compiler flags
1510  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1511              nonstandard directory <lib dir>
1512  LIBS        libraries to pass to the linker, e.g. -l<library>
1513  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1514              you have headers in a nonstandard directory <include dir>
1515  CPP         C preprocessor
1516  PKG_CONFIG  path to pkg-config utility
1517  PKG_CONFIG_PATH
1518              directories to add to pkg-config's search path
1519  PKG_CONFIG_LIBDIR
1520              path overriding pkg-config's built-in search path
1521  LIBBURN_CFLAGS
1522              C compiler flags for LIBBURN, overriding pkg-config
1523  LIBBURN_LIBS
1524              linker flags for LIBBURN, overriding pkg-config
1525  LIBISOFS_CFLAGS
1526              C compiler flags for LIBISOFS, overriding pkg-config
1527  LIBISOFS_LIBS
1528              linker flags for LIBISOFS, overriding pkg-config
1529  LIBCDIO_CFLAGS
1530              C compiler flags for LIBCDIO, overriding pkg-config
1531  LIBCDIO_LIBS
1532              linker flags for LIBCDIO, overriding pkg-config
1533
1534Use these variables to override the choices made by `configure' or to help
1535it to find libraries and programs with nonstandard names/locations.
1536
1537Report bugs to <http://libburnia-project.org>.
1538_ACEOF
1539ac_status=$?
1540fi
1541
1542if test "$ac_init_help" = "recursive"; then
1543  # If there are subdirs, report their specific --help.
1544  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1545    test -d "$ac_dir" ||
1546      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1547      continue
1548    ac_builddir=.
1549
1550case "$ac_dir" in
1551.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1552*)
1553  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1554  # A ".." for each directory in $ac_dir_suffix.
1555  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1556  case $ac_top_builddir_sub in
1557  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1558  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1559  esac ;;
1560esac
1561ac_abs_top_builddir=$ac_pwd
1562ac_abs_builddir=$ac_pwd$ac_dir_suffix
1563# for backward compatibility:
1564ac_top_builddir=$ac_top_build_prefix
1565
1566case $srcdir in
1567  .)  # We are building in place.
1568    ac_srcdir=.
1569    ac_top_srcdir=$ac_top_builddir_sub
1570    ac_abs_top_srcdir=$ac_pwd ;;
1571  [\\/]* | ?:[\\/]* )  # Absolute name.
1572    ac_srcdir=$srcdir$ac_dir_suffix;
1573    ac_top_srcdir=$srcdir
1574    ac_abs_top_srcdir=$srcdir ;;
1575  *) # Relative name.
1576    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1577    ac_top_srcdir=$ac_top_build_prefix$srcdir
1578    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1579esac
1580ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1581
1582    cd "$ac_dir" || { ac_status=$?; continue; }
1583    # Check for guested configure.
1584    if test -f "$ac_srcdir/configure.gnu"; then
1585      echo &&
1586      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1587    elif test -f "$ac_srcdir/configure"; then
1588      echo &&
1589      $SHELL "$ac_srcdir/configure" --help=recursive
1590    else
1591      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1592    fi || ac_status=$?
1593    cd "$ac_pwd" || { ac_status=$?; break; }
1594  done
1595fi
1596
1597test -n "$ac_init_help" && exit $ac_status
1598if $ac_init_version; then
1599  cat <<\_ACEOF
1600libisoburn configure 1.5.0
1601generated by GNU Autoconf 2.69
1602
1603Copyright (C) 2012 Free Software Foundation, Inc.
1604This configure script is free software; the Free Software Foundation
1605gives unlimited permission to copy, distribute and modify it.
1606_ACEOF
1607  exit
1608fi
1609
1610## ------------------------ ##
1611## Autoconf initialization. ##
1612## ------------------------ ##
1613
1614# ac_fn_c_try_compile LINENO
1615# --------------------------
1616# Try to compile conftest.$ac_ext, and return whether this succeeded.
1617ac_fn_c_try_compile ()
1618{
1619  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620  rm -f conftest.$ac_objext
1621  if { { ac_try="$ac_compile"
1622case "(($ac_try" in
1623  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1624  *) ac_try_echo=$ac_try;;
1625esac
1626eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1627$as_echo "$ac_try_echo"; } >&5
1628  (eval "$ac_compile") 2>conftest.err
1629  ac_status=$?
1630  if test -s conftest.err; then
1631    grep -v '^ *+' conftest.err >conftest.er1
1632    cat conftest.er1 >&5
1633    mv -f conftest.er1 conftest.err
1634  fi
1635  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1636  test $ac_status = 0; } && {
1637	 test -z "$ac_c_werror_flag" ||
1638	 test ! -s conftest.err
1639       } && test -s conftest.$ac_objext; then :
1640  ac_retval=0
1641else
1642  $as_echo "$as_me: failed program was:" >&5
1643sed 's/^/| /' conftest.$ac_ext >&5
1644
1645	ac_retval=1
1646fi
1647  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1648  as_fn_set_status $ac_retval
1649
1650} # ac_fn_c_try_compile
1651
1652# ac_fn_c_try_run LINENO
1653# ----------------------
1654# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1655# that executables *can* be run.
1656ac_fn_c_try_run ()
1657{
1658  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1659  if { { ac_try="$ac_link"
1660case "(($ac_try" in
1661  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1662  *) ac_try_echo=$ac_try;;
1663esac
1664eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1665$as_echo "$ac_try_echo"; } >&5
1666  (eval "$ac_link") 2>&5
1667  ac_status=$?
1668  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1670  { { case "(($ac_try" in
1671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1672  *) ac_try_echo=$ac_try;;
1673esac
1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675$as_echo "$ac_try_echo"; } >&5
1676  (eval "$ac_try") 2>&5
1677  ac_status=$?
1678  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1679  test $ac_status = 0; }; }; then :
1680  ac_retval=0
1681else
1682  $as_echo "$as_me: program exited with status $ac_status" >&5
1683       $as_echo "$as_me: failed program was:" >&5
1684sed 's/^/| /' conftest.$ac_ext >&5
1685
1686       ac_retval=$ac_status
1687fi
1688  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1689  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690  as_fn_set_status $ac_retval
1691
1692} # ac_fn_c_try_run
1693
1694# ac_fn_c_try_cpp LINENO
1695# ----------------------
1696# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1697ac_fn_c_try_cpp ()
1698{
1699  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700  if { { ac_try="$ac_cpp conftest.$ac_ext"
1701case "(($ac_try" in
1702  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1703  *) ac_try_echo=$ac_try;;
1704esac
1705eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706$as_echo "$ac_try_echo"; } >&5
1707  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1708  ac_status=$?
1709  if test -s conftest.err; then
1710    grep -v '^ *+' conftest.err >conftest.er1
1711    cat conftest.er1 >&5
1712    mv -f conftest.er1 conftest.err
1713  fi
1714  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715  test $ac_status = 0; } > conftest.i && {
1716	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1717	 test ! -s conftest.err
1718       }; then :
1719  ac_retval=0
1720else
1721  $as_echo "$as_me: failed program was:" >&5
1722sed 's/^/| /' conftest.$ac_ext >&5
1723
1724    ac_retval=1
1725fi
1726  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727  as_fn_set_status $ac_retval
1728
1729} # ac_fn_c_try_cpp
1730
1731# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1732# -------------------------------------------------------
1733# Tests whether HEADER exists and can be compiled using the include files in
1734# INCLUDES, setting the cache variable VAR accordingly.
1735ac_fn_c_check_header_compile ()
1736{
1737  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739$as_echo_n "checking for $2... " >&6; }
1740if eval \${$3+:} false; then :
1741  $as_echo_n "(cached) " >&6
1742else
1743  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1744/* end confdefs.h.  */
1745$4
1746#include <$2>
1747_ACEOF
1748if ac_fn_c_try_compile "$LINENO"; then :
1749  eval "$3=yes"
1750else
1751  eval "$3=no"
1752fi
1753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1754fi
1755eval ac_res=\$$3
1756	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757$as_echo "$ac_res" >&6; }
1758  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1759
1760} # ac_fn_c_check_header_compile
1761
1762# ac_fn_c_try_link LINENO
1763# -----------------------
1764# Try to link conftest.$ac_ext, and return whether this succeeded.
1765ac_fn_c_try_link ()
1766{
1767  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1768  rm -f conftest.$ac_objext conftest$ac_exeext
1769  if { { ac_try="$ac_link"
1770case "(($ac_try" in
1771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772  *) ac_try_echo=$ac_try;;
1773esac
1774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775$as_echo "$ac_try_echo"; } >&5
1776  (eval "$ac_link") 2>conftest.err
1777  ac_status=$?
1778  if test -s conftest.err; then
1779    grep -v '^ *+' conftest.err >conftest.er1
1780    cat conftest.er1 >&5
1781    mv -f conftest.er1 conftest.err
1782  fi
1783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784  test $ac_status = 0; } && {
1785	 test -z "$ac_c_werror_flag" ||
1786	 test ! -s conftest.err
1787       } && test -s conftest$ac_exeext && {
1788	 test "$cross_compiling" = yes ||
1789	 test -x conftest$ac_exeext
1790       }; then :
1791  ac_retval=0
1792else
1793  $as_echo "$as_me: failed program was:" >&5
1794sed 's/^/| /' conftest.$ac_ext >&5
1795
1796	ac_retval=1
1797fi
1798  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1799  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1800  # interfere with the next link command; also delete a directory that is
1801  # left behind by Apple's compiler.  We do this before executing the actions.
1802  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1803  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1804  as_fn_set_status $ac_retval
1805
1806} # ac_fn_c_try_link
1807
1808# ac_fn_c_check_func LINENO FUNC VAR
1809# ----------------------------------
1810# Tests whether FUNC exists, setting the cache variable VAR accordingly
1811ac_fn_c_check_func ()
1812{
1813  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1814  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1815$as_echo_n "checking for $2... " >&6; }
1816if eval \${$3+:} false; then :
1817  $as_echo_n "(cached) " >&6
1818else
1819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1820/* end confdefs.h.  */
1821/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1822   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1823#define $2 innocuous_$2
1824
1825/* System header to define __stub macros and hopefully few prototypes,
1826    which can conflict with char $2 (); below.
1827    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1828    <limits.h> exists even on freestanding compilers.  */
1829
1830#ifdef __STDC__
1831# include <limits.h>
1832#else
1833# include <assert.h>
1834#endif
1835
1836#undef $2
1837
1838/* Override any GCC internal prototype to avoid an error.
1839   Use char because int might match the return type of a GCC
1840   builtin and then its argument prototype would still apply.  */
1841#ifdef __cplusplus
1842extern "C"
1843#endif
1844char $2 ();
1845/* The GNU C library defines this for functions which it implements
1846    to always fail with ENOSYS.  Some functions are actually named
1847    something starting with __ and the normal name is an alias.  */
1848#if defined __stub_$2 || defined __stub___$2
1849choke me
1850#endif
1851
1852int
1853main ()
1854{
1855return $2 ();
1856  ;
1857  return 0;
1858}
1859_ACEOF
1860if ac_fn_c_try_link "$LINENO"; then :
1861  eval "$3=yes"
1862else
1863  eval "$3=no"
1864fi
1865rm -f core conftest.err conftest.$ac_objext \
1866    conftest$ac_exeext conftest.$ac_ext
1867fi
1868eval ac_res=\$$3
1869	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870$as_echo "$ac_res" >&6; }
1871  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872
1873} # ac_fn_c_check_func
1874
1875# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1876# -------------------------------------------------------
1877# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1878# the include files in INCLUDES and setting the cache variable VAR
1879# accordingly.
1880ac_fn_c_check_header_mongrel ()
1881{
1882  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883  if eval \${$3+:} false; then :
1884  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1885$as_echo_n "checking for $2... " >&6; }
1886if eval \${$3+:} false; then :
1887  $as_echo_n "(cached) " >&6
1888fi
1889eval ac_res=\$$3
1890	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891$as_echo "$ac_res" >&6; }
1892else
1893  # Is the header compilable?
1894{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1895$as_echo_n "checking $2 usability... " >&6; }
1896cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1897/* end confdefs.h.  */
1898$4
1899#include <$2>
1900_ACEOF
1901if ac_fn_c_try_compile "$LINENO"; then :
1902  ac_header_compiler=yes
1903else
1904  ac_header_compiler=no
1905fi
1906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1908$as_echo "$ac_header_compiler" >&6; }
1909
1910# Is the header present?
1911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1912$as_echo_n "checking $2 presence... " >&6; }
1913cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1914/* end confdefs.h.  */
1915#include <$2>
1916_ACEOF
1917if ac_fn_c_try_cpp "$LINENO"; then :
1918  ac_header_preproc=yes
1919else
1920  ac_header_preproc=no
1921fi
1922rm -f conftest.err conftest.i conftest.$ac_ext
1923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1924$as_echo "$ac_header_preproc" >&6; }
1925
1926# So?  What about this header?
1927case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1928  yes:no: )
1929    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1930$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1931    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1932$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1933    ;;
1934  no:yes:* )
1935    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1936$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1937    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1938$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1939    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1940$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1941    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1942$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1943    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1944$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1945( $as_echo "## ------------------------------------------- ##
1946## Report this to http://libburnia-project.org ##
1947## ------------------------------------------- ##"
1948     ) | sed "s/^/$as_me: WARNING:     /" >&2
1949    ;;
1950esac
1951  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952$as_echo_n "checking for $2... " >&6; }
1953if eval \${$3+:} false; then :
1954  $as_echo_n "(cached) " >&6
1955else
1956  eval "$3=\$ac_header_compiler"
1957fi
1958eval ac_res=\$$3
1959	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1960$as_echo "$ac_res" >&6; }
1961fi
1962  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1963
1964} # ac_fn_c_check_header_mongrel
1965
1966# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1967# ----------------------------------------------------
1968# Tries to find if the field MEMBER exists in type AGGR, after including
1969# INCLUDES, setting cache variable VAR accordingly.
1970ac_fn_c_check_member ()
1971{
1972  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1973  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1974$as_echo_n "checking for $2.$3... " >&6; }
1975if eval \${$4+:} false; then :
1976  $as_echo_n "(cached) " >&6
1977else
1978  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1979/* end confdefs.h.  */
1980$5
1981int
1982main ()
1983{
1984static $2 ac_aggr;
1985if (ac_aggr.$3)
1986return 0;
1987  ;
1988  return 0;
1989}
1990_ACEOF
1991if ac_fn_c_try_compile "$LINENO"; then :
1992  eval "$4=yes"
1993else
1994  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995/* end confdefs.h.  */
1996$5
1997int
1998main ()
1999{
2000static $2 ac_aggr;
2001if (sizeof ac_aggr.$3)
2002return 0;
2003  ;
2004  return 0;
2005}
2006_ACEOF
2007if ac_fn_c_try_compile "$LINENO"; then :
2008  eval "$4=yes"
2009else
2010  eval "$4=no"
2011fi
2012rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2013fi
2014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2015fi
2016eval ac_res=\$$4
2017	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018$as_echo "$ac_res" >&6; }
2019  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020
2021} # ac_fn_c_check_member
2022cat >config.log <<_ACEOF
2023This file contains any messages produced by compilers while
2024running configure, to aid debugging if configure makes a mistake.
2025
2026It was created by libisoburn $as_me 1.5.0, which was
2027generated by GNU Autoconf 2.69.  Invocation command line was
2028
2029  $ $0 $@
2030
2031_ACEOF
2032exec 5>>config.log
2033{
2034cat <<_ASUNAME
2035## --------- ##
2036## Platform. ##
2037## --------- ##
2038
2039hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2040uname -m = `(uname -m) 2>/dev/null || echo unknown`
2041uname -r = `(uname -r) 2>/dev/null || echo unknown`
2042uname -s = `(uname -s) 2>/dev/null || echo unknown`
2043uname -v = `(uname -v) 2>/dev/null || echo unknown`
2044
2045/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2046/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2047
2048/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2049/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2050/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2051/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2052/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2053/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2054/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2055
2056_ASUNAME
2057
2058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059for as_dir in $PATH
2060do
2061  IFS=$as_save_IFS
2062  test -z "$as_dir" && as_dir=.
2063    $as_echo "PATH: $as_dir"
2064  done
2065IFS=$as_save_IFS
2066
2067} >&5
2068
2069cat >&5 <<_ACEOF
2070
2071
2072## ----------- ##
2073## Core tests. ##
2074## ----------- ##
2075
2076_ACEOF
2077
2078
2079# Keep a trace of the command line.
2080# Strip out --no-create and --no-recursion so they do not pile up.
2081# Strip out --silent because we don't want to record it for future runs.
2082# Also quote any args containing shell meta-characters.
2083# Make two passes to allow for proper duplicate-argument suppression.
2084ac_configure_args=
2085ac_configure_args0=
2086ac_configure_args1=
2087ac_must_keep_next=false
2088for ac_pass in 1 2
2089do
2090  for ac_arg
2091  do
2092    case $ac_arg in
2093    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2094    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2095    | -silent | --silent | --silen | --sile | --sil)
2096      continue ;;
2097    *\'*)
2098      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2099    esac
2100    case $ac_pass in
2101    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2102    2)
2103      as_fn_append ac_configure_args1 " '$ac_arg'"
2104      if test $ac_must_keep_next = true; then
2105	ac_must_keep_next=false # Got value, back to normal.
2106      else
2107	case $ac_arg in
2108	  *=* | --config-cache | -C | -disable-* | --disable-* \
2109	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2110	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2111	  | -with-* | --with-* | -without-* | --without-* | --x)
2112	    case "$ac_configure_args0 " in
2113	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2114	    esac
2115	    ;;
2116	  -* ) ac_must_keep_next=true ;;
2117	esac
2118      fi
2119      as_fn_append ac_configure_args " '$ac_arg'"
2120      ;;
2121    esac
2122  done
2123done
2124{ ac_configure_args0=; unset ac_configure_args0;}
2125{ ac_configure_args1=; unset ac_configure_args1;}
2126
2127# When interrupted or exit'd, cleanup temporary files, and complete
2128# config.log.  We remove comments because anyway the quotes in there
2129# would cause problems or look ugly.
2130# WARNING: Use '\'' to represent an apostrophe within the trap.
2131# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2132trap 'exit_status=$?
2133  # Save into config.log some information that might help in debugging.
2134  {
2135    echo
2136
2137    $as_echo "## ---------------- ##
2138## Cache variables. ##
2139## ---------------- ##"
2140    echo
2141    # The following way of writing the cache mishandles newlines in values,
2142(
2143  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2144    eval ac_val=\$$ac_var
2145    case $ac_val in #(
2146    *${as_nl}*)
2147      case $ac_var in #(
2148      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2149$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2150      esac
2151      case $ac_var in #(
2152      _ | IFS | as_nl) ;; #(
2153      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2154      *) { eval $ac_var=; unset $ac_var;} ;;
2155      esac ;;
2156    esac
2157  done
2158  (set) 2>&1 |
2159    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2160    *${as_nl}ac_space=\ *)
2161      sed -n \
2162	"s/'\''/'\''\\\\'\'''\''/g;
2163	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2164      ;; #(
2165    *)
2166      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2167      ;;
2168    esac |
2169    sort
2170)
2171    echo
2172
2173    $as_echo "## ----------------- ##
2174## Output variables. ##
2175## ----------------- ##"
2176    echo
2177    for ac_var in $ac_subst_vars
2178    do
2179      eval ac_val=\$$ac_var
2180      case $ac_val in
2181      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182      esac
2183      $as_echo "$ac_var='\''$ac_val'\''"
2184    done | sort
2185    echo
2186
2187    if test -n "$ac_subst_files"; then
2188      $as_echo "## ------------------- ##
2189## File substitutions. ##
2190## ------------------- ##"
2191      echo
2192      for ac_var in $ac_subst_files
2193      do
2194	eval ac_val=\$$ac_var
2195	case $ac_val in
2196	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2197	esac
2198	$as_echo "$ac_var='\''$ac_val'\''"
2199      done | sort
2200      echo
2201    fi
2202
2203    if test -s confdefs.h; then
2204      $as_echo "## ----------- ##
2205## confdefs.h. ##
2206## ----------- ##"
2207      echo
2208      cat confdefs.h
2209      echo
2210    fi
2211    test "$ac_signal" != 0 &&
2212      $as_echo "$as_me: caught signal $ac_signal"
2213    $as_echo "$as_me: exit $exit_status"
2214  } >&5
2215  rm -f core *.core core.conftest.* &&
2216    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2217    exit $exit_status
2218' 0
2219for ac_signal in 1 2 13 15; do
2220  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2221done
2222ac_signal=0
2223
2224# confdefs.h avoids OS command line length limits that DEFS can exceed.
2225rm -f -r conftest* confdefs.h
2226
2227$as_echo "/* confdefs.h */" > confdefs.h
2228
2229# Predefined preprocessor variables.
2230
2231cat >>confdefs.h <<_ACEOF
2232#define PACKAGE_NAME "$PACKAGE_NAME"
2233_ACEOF
2234
2235cat >>confdefs.h <<_ACEOF
2236#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2237_ACEOF
2238
2239cat >>confdefs.h <<_ACEOF
2240#define PACKAGE_VERSION "$PACKAGE_VERSION"
2241_ACEOF
2242
2243cat >>confdefs.h <<_ACEOF
2244#define PACKAGE_STRING "$PACKAGE_STRING"
2245_ACEOF
2246
2247cat >>confdefs.h <<_ACEOF
2248#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2249_ACEOF
2250
2251cat >>confdefs.h <<_ACEOF
2252#define PACKAGE_URL "$PACKAGE_URL"
2253_ACEOF
2254
2255
2256# Let the site file select an alternate cache file if it wants to.
2257# Prefer an explicitly selected file to automatically selected ones.
2258ac_site_file1=NONE
2259ac_site_file2=NONE
2260if test -n "$CONFIG_SITE"; then
2261  # We do not want a PATH search for config.site.
2262  case $CONFIG_SITE in #((
2263    -*)  ac_site_file1=./$CONFIG_SITE;;
2264    */*) ac_site_file1=$CONFIG_SITE;;
2265    *)   ac_site_file1=./$CONFIG_SITE;;
2266  esac
2267elif test "x$prefix" != xNONE; then
2268  ac_site_file1=$prefix/share/config.site
2269  ac_site_file2=$prefix/etc/config.site
2270else
2271  ac_site_file1=$ac_default_prefix/share/config.site
2272  ac_site_file2=$ac_default_prefix/etc/config.site
2273fi
2274for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2275do
2276  test "x$ac_site_file" = xNONE && continue
2277  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2278    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2279$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2280    sed 's/^/| /' "$ac_site_file" >&5
2281    . "$ac_site_file" \
2282      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284as_fn_error $? "failed to load site script $ac_site_file
2285See \`config.log' for more details" "$LINENO" 5; }
2286  fi
2287done
2288
2289if test -r "$cache_file"; then
2290  # Some versions of bash will fail to source /dev/null (special files
2291  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2292  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2293    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2294$as_echo "$as_me: loading cache $cache_file" >&6;}
2295    case $cache_file in
2296      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2297      *)                      . "./$cache_file";;
2298    esac
2299  fi
2300else
2301  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2302$as_echo "$as_me: creating cache $cache_file" >&6;}
2303  >$cache_file
2304fi
2305
2306# Check that the precious variables saved in the cache have kept the same
2307# value.
2308ac_cache_corrupted=false
2309for ac_var in $ac_precious_vars; do
2310  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2311  eval ac_new_set=\$ac_env_${ac_var}_set
2312  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2313  eval ac_new_val=\$ac_env_${ac_var}_value
2314  case $ac_old_set,$ac_new_set in
2315    set,)
2316      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2317$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2318      ac_cache_corrupted=: ;;
2319    ,set)
2320      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2321$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2322      ac_cache_corrupted=: ;;
2323    ,);;
2324    *)
2325      if test "x$ac_old_val" != "x$ac_new_val"; then
2326	# differences in whitespace do not lead to failure.
2327	ac_old_val_w=`echo x $ac_old_val`
2328	ac_new_val_w=`echo x $ac_new_val`
2329	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2330	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2331$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2332	  ac_cache_corrupted=:
2333	else
2334	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2335$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2336	  eval $ac_var=\$ac_old_val
2337	fi
2338	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2339$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2340	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2341$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2342      fi;;
2343  esac
2344  # Pass precious variables to config.status.
2345  if test "$ac_new_set" = set; then
2346    case $ac_new_val in
2347    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2348    *) ac_arg=$ac_var=$ac_new_val ;;
2349    esac
2350    case " $ac_configure_args " in
2351      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2352      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2353    esac
2354  fi
2355done
2356if $ac_cache_corrupted; then
2357  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2360$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2361  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2362fi
2363## -------------------- ##
2364## Main body of script. ##
2365## -------------------- ##
2366
2367ac_ext=c
2368ac_cpp='$CPP $CPPFLAGS'
2369ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2370ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2371ac_compiler_gnu=$ac_cv_c_compiler_gnu
2372
2373
2374
2375
2376ac_aux_dir=
2377for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2378  if test -f "$ac_dir/install-sh"; then
2379    ac_aux_dir=$ac_dir
2380    ac_install_sh="$ac_aux_dir/install-sh -c"
2381    break
2382  elif test -f "$ac_dir/install.sh"; then
2383    ac_aux_dir=$ac_dir
2384    ac_install_sh="$ac_aux_dir/install.sh -c"
2385    break
2386  elif test -f "$ac_dir/shtool"; then
2387    ac_aux_dir=$ac_dir
2388    ac_install_sh="$ac_aux_dir/shtool install -c"
2389    break
2390  fi
2391done
2392if test -z "$ac_aux_dir"; then
2393  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2394fi
2395
2396# These three variables are undocumented and unsupported,
2397# and are intended to be withdrawn in a future Autoconf release.
2398# They can cause serious problems if a builder's source tree is in a directory
2399# whose full name contains unusual characters.
2400ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2401ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2402ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2403
2404
2405# Make sure we can run config.sub.
2406$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2407  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2408
2409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2410$as_echo_n "checking build system type... " >&6; }
2411if ${ac_cv_build+:} false; then :
2412  $as_echo_n "(cached) " >&6
2413else
2414  ac_build_alias=$build_alias
2415test "x$ac_build_alias" = x &&
2416  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2417test "x$ac_build_alias" = x &&
2418  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2419ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2420  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2421
2422fi
2423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2424$as_echo "$ac_cv_build" >&6; }
2425case $ac_cv_build in
2426*-*-*) ;;
2427*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2428esac
2429build=$ac_cv_build
2430ac_save_IFS=$IFS; IFS='-'
2431set x $ac_cv_build
2432shift
2433build_cpu=$1
2434build_vendor=$2
2435shift; shift
2436# Remember, the first character of IFS is used to create $*,
2437# except with old shells:
2438build_os=$*
2439IFS=$ac_save_IFS
2440case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2441
2442
2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2444$as_echo_n "checking host system type... " >&6; }
2445if ${ac_cv_host+:} false; then :
2446  $as_echo_n "(cached) " >&6
2447else
2448  if test "x$host_alias" = x; then
2449  ac_cv_host=$ac_cv_build
2450else
2451  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2452    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2453fi
2454
2455fi
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2457$as_echo "$ac_cv_host" >&6; }
2458case $ac_cv_host in
2459*-*-*) ;;
2460*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2461esac
2462host=$ac_cv_host
2463ac_save_IFS=$IFS; IFS='-'
2464set x $ac_cv_host
2465shift
2466host_cpu=$1
2467host_vendor=$2
2468shift; shift
2469# Remember, the first character of IFS is used to create $*,
2470# except with old shells:
2471host_os=$*
2472IFS=$ac_save_IFS
2473case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2474
2475
2476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2477$as_echo_n "checking target system type... " >&6; }
2478if ${ac_cv_target+:} false; then :
2479  $as_echo_n "(cached) " >&6
2480else
2481  if test "x$target_alias" = x; then
2482  ac_cv_target=$ac_cv_host
2483else
2484  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2485    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2486fi
2487
2488fi
2489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2490$as_echo "$ac_cv_target" >&6; }
2491case $ac_cv_target in
2492*-*-*) ;;
2493*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2494esac
2495target=$ac_cv_target
2496ac_save_IFS=$IFS; IFS='-'
2497set x $ac_cv_target
2498shift
2499target_cpu=$1
2500target_vendor=$2
2501shift; shift
2502# Remember, the first character of IFS is used to create $*,
2503# except with old shells:
2504target_os=$*
2505IFS=$ac_save_IFS
2506case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2507
2508
2509# The aliases save the names the user supplied, while $host etc.
2510# will get canonicalized.
2511test -n "$target_alias" &&
2512  test "$program_prefix$program_suffix$program_transform_name" = \
2513    NONENONEs,x,x, &&
2514  program_prefix=${target_alias}-
2515
2516
2517case $target_os in
2518freebsd*)
2519        LDFLAGS="$LDFLAGS -L/usr/local/lib"
2520        CPPFLAGS="$CPPFLAGS -I/usr/local/include"
2521        ;;
2522netbsd*)
2523        LDFLAGS="$LDFLAGS -L/usr/local/lib -L/usr/pkg/lib"
2524        CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/pkg/include"
2525        ;;
2526solaris*)
2527        LDFLAGS="$LDFLAGS -L/usr/local/lib"
2528esac
2529
2530
2531am__api_version='1.14'
2532
2533# Find a good install program.  We prefer a C program (faster),
2534# so one script is as good as another.  But avoid the broken or
2535# incompatible versions:
2536# SysV /etc/install, /usr/sbin/install
2537# SunOS /usr/etc/install
2538# IRIX /sbin/install
2539# AIX /bin/install
2540# AmigaOS /C/install, which installs bootblocks on floppy discs
2541# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2542# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2543# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2544# OS/2's system install, which has a completely different semantic
2545# ./install, which can be erroneously created by make from ./install.sh.
2546# Reject install programs that cannot install multiple files.
2547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2548$as_echo_n "checking for a BSD-compatible install... " >&6; }
2549if test -z "$INSTALL"; then
2550if ${ac_cv_path_install+:} false; then :
2551  $as_echo_n "(cached) " >&6
2552else
2553  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2554for as_dir in $PATH
2555do
2556  IFS=$as_save_IFS
2557  test -z "$as_dir" && as_dir=.
2558    # Account for people who put trailing slashes in PATH elements.
2559case $as_dir/ in #((
2560  ./ | .// | /[cC]/* | \
2561  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2562  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2563  /usr/ucb/* ) ;;
2564  *)
2565    # OSF1 and SCO ODT 3.0 have their own names for install.
2566    # Don't use installbsd from OSF since it installs stuff as root
2567    # by default.
2568    for ac_prog in ginstall scoinst install; do
2569      for ac_exec_ext in '' $ac_executable_extensions; do
2570	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2571	  if test $ac_prog = install &&
2572	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2573	    # AIX install.  It has an incompatible calling convention.
2574	    :
2575	  elif test $ac_prog = install &&
2576	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2577	    # program-specific install script used by HP pwplus--don't use.
2578	    :
2579	  else
2580	    rm -rf conftest.one conftest.two conftest.dir
2581	    echo one > conftest.one
2582	    echo two > conftest.two
2583	    mkdir conftest.dir
2584	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2585	      test -s conftest.one && test -s conftest.two &&
2586	      test -s conftest.dir/conftest.one &&
2587	      test -s conftest.dir/conftest.two
2588	    then
2589	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2590	      break 3
2591	    fi
2592	  fi
2593	fi
2594      done
2595    done
2596    ;;
2597esac
2598
2599  done
2600IFS=$as_save_IFS
2601
2602rm -rf conftest.one conftest.two conftest.dir
2603
2604fi
2605  if test "${ac_cv_path_install+set}" = set; then
2606    INSTALL=$ac_cv_path_install
2607  else
2608    # As a last resort, use the slow shell script.  Don't cache a
2609    # value for INSTALL within a source directory, because that will
2610    # break other packages using the cache if that directory is
2611    # removed, or if the value is a relative name.
2612    INSTALL=$ac_install_sh
2613  fi
2614fi
2615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2616$as_echo "$INSTALL" >&6; }
2617
2618# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2619# It thinks the first close brace ends the variable substitution.
2620test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2621
2622test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2623
2624test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2625
2626{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2627$as_echo_n "checking whether build environment is sane... " >&6; }
2628# Reject unsafe characters in $srcdir or the absolute working directory
2629# name.  Accept space and tab only in the latter.
2630am_lf='
2631'
2632case `pwd` in
2633  *[\\\"\#\$\&\'\`$am_lf]*)
2634    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2635esac
2636case $srcdir in
2637  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2638    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2639esac
2640
2641# Do 'set' in a subshell so we don't clobber the current shell's
2642# arguments.  Must try -L first in case configure is actually a
2643# symlink; some systems play weird games with the mod time of symlinks
2644# (eg FreeBSD returns the mod time of the symlink's containing
2645# directory).
2646if (
2647   am_has_slept=no
2648   for am_try in 1 2; do
2649     echo "timestamp, slept: $am_has_slept" > conftest.file
2650     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2651     if test "$*" = "X"; then
2652	# -L didn't work.
2653	set X `ls -t "$srcdir/configure" conftest.file`
2654     fi
2655     if test "$*" != "X $srcdir/configure conftest.file" \
2656	&& test "$*" != "X conftest.file $srcdir/configure"; then
2657
2658	# If neither matched, then we have a broken ls.  This can happen
2659	# if, for instance, CONFIG_SHELL is bash and it inherits a
2660	# broken ls alias from the environment.  This has actually
2661	# happened.  Such a system could not be considered "sane".
2662	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2663  alias in your environment" "$LINENO" 5
2664     fi
2665     if test "$2" = conftest.file || test $am_try -eq 2; then
2666       break
2667     fi
2668     # Just in case.
2669     sleep 1
2670     am_has_slept=yes
2671   done
2672   test "$2" = conftest.file
2673   )
2674then
2675   # Ok.
2676   :
2677else
2678   as_fn_error $? "newly created file is older than distributed files!
2679Check your system clock" "$LINENO" 5
2680fi
2681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2682$as_echo "yes" >&6; }
2683# If we didn't sleep, we still need to ensure time stamps of config.status and
2684# generated files are strictly newer.
2685am_sleep_pid=
2686if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2687  ( sleep 1 ) &
2688  am_sleep_pid=$!
2689fi
2690
2691rm -f conftest.file
2692
2693test "$program_prefix" != NONE &&
2694  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2695# Use a double $ so make ignores it.
2696test "$program_suffix" != NONE &&
2697  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2698# Double any \ or $.
2699# By default was `s,x,x', remove it if useless.
2700ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2701program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2702
2703# Expand $ac_aux_dir to an absolute path.
2704am_aux_dir=`cd "$ac_aux_dir" && pwd`
2705
2706if test x"${MISSING+set}" != xset; then
2707  case $am_aux_dir in
2708  *\ * | *\	*)
2709    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2710  *)
2711    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2712  esac
2713fi
2714# Use eval to expand $SHELL
2715if eval "$MISSING --is-lightweight"; then
2716  am_missing_run="$MISSING "
2717else
2718  am_missing_run=
2719  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2720$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2721fi
2722
2723if test x"${install_sh}" != xset; then
2724  case $am_aux_dir in
2725  *\ * | *\	*)
2726    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2727  *)
2728    install_sh="\${SHELL} $am_aux_dir/install-sh"
2729  esac
2730fi
2731
2732# Installed binaries are usually stripped using 'strip' when the user
2733# run "make install-strip".  However 'strip' might not be the right
2734# tool to use in cross-compilation environments, therefore Automake
2735# will honor the 'STRIP' environment variable to overrule this program.
2736if test "$cross_compiling" != no; then
2737  if test -n "$ac_tool_prefix"; then
2738  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2739set dummy ${ac_tool_prefix}strip; ac_word=$2
2740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2741$as_echo_n "checking for $ac_word... " >&6; }
2742if ${ac_cv_prog_STRIP+:} false; then :
2743  $as_echo_n "(cached) " >&6
2744else
2745  if test -n "$STRIP"; then
2746  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2747else
2748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2749for as_dir in $PATH
2750do
2751  IFS=$as_save_IFS
2752  test -z "$as_dir" && as_dir=.
2753    for ac_exec_ext in '' $ac_executable_extensions; do
2754  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2755    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2757    break 2
2758  fi
2759done
2760  done
2761IFS=$as_save_IFS
2762
2763fi
2764fi
2765STRIP=$ac_cv_prog_STRIP
2766if test -n "$STRIP"; then
2767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2768$as_echo "$STRIP" >&6; }
2769else
2770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2771$as_echo "no" >&6; }
2772fi
2773
2774
2775fi
2776if test -z "$ac_cv_prog_STRIP"; then
2777  ac_ct_STRIP=$STRIP
2778  # Extract the first word of "strip", so it can be a program name with args.
2779set dummy strip; ac_word=$2
2780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781$as_echo_n "checking for $ac_word... " >&6; }
2782if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2783  $as_echo_n "(cached) " >&6
2784else
2785  if test -n "$ac_ct_STRIP"; then
2786  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2787else
2788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789for as_dir in $PATH
2790do
2791  IFS=$as_save_IFS
2792  test -z "$as_dir" && as_dir=.
2793    for ac_exec_ext in '' $ac_executable_extensions; do
2794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795    ac_cv_prog_ac_ct_STRIP="strip"
2796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2797    break 2
2798  fi
2799done
2800  done
2801IFS=$as_save_IFS
2802
2803fi
2804fi
2805ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2806if test -n "$ac_ct_STRIP"; then
2807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2808$as_echo "$ac_ct_STRIP" >&6; }
2809else
2810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811$as_echo "no" >&6; }
2812fi
2813
2814  if test "x$ac_ct_STRIP" = x; then
2815    STRIP=":"
2816  else
2817    case $cross_compiling:$ac_tool_warned in
2818yes:)
2819{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2820$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2821ac_tool_warned=yes ;;
2822esac
2823    STRIP=$ac_ct_STRIP
2824  fi
2825else
2826  STRIP="$ac_cv_prog_STRIP"
2827fi
2828
2829fi
2830INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2831
2832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2833$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2834if test -z "$MKDIR_P"; then
2835  if ${ac_cv_path_mkdir+:} false; then :
2836  $as_echo_n "(cached) " >&6
2837else
2838  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2840do
2841  IFS=$as_save_IFS
2842  test -z "$as_dir" && as_dir=.
2843    for ac_prog in mkdir gmkdir; do
2844	 for ac_exec_ext in '' $ac_executable_extensions; do
2845	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2846	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2847	     'mkdir (GNU coreutils) '* | \
2848	     'mkdir (coreutils) '* | \
2849	     'mkdir (fileutils) '4.1*)
2850	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2851	       break 3;;
2852	   esac
2853	 done
2854       done
2855  done
2856IFS=$as_save_IFS
2857
2858fi
2859
2860  test -d ./--version && rmdir ./--version
2861  if test "${ac_cv_path_mkdir+set}" = set; then
2862    MKDIR_P="$ac_cv_path_mkdir -p"
2863  else
2864    # As a last resort, use the slow shell script.  Don't cache a
2865    # value for MKDIR_P within a source directory, because that will
2866    # break other packages using the cache if that directory is
2867    # removed, or if the value is a relative name.
2868    MKDIR_P="$ac_install_sh -d"
2869  fi
2870fi
2871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2872$as_echo "$MKDIR_P" >&6; }
2873
2874for ac_prog in gawk mawk nawk awk
2875do
2876  # Extract the first word of "$ac_prog", so it can be a program name with args.
2877set dummy $ac_prog; ac_word=$2
2878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2879$as_echo_n "checking for $ac_word... " >&6; }
2880if ${ac_cv_prog_AWK+:} false; then :
2881  $as_echo_n "(cached) " >&6
2882else
2883  if test -n "$AWK"; then
2884  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2885else
2886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2887for as_dir in $PATH
2888do
2889  IFS=$as_save_IFS
2890  test -z "$as_dir" && as_dir=.
2891    for ac_exec_ext in '' $ac_executable_extensions; do
2892  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2893    ac_cv_prog_AWK="$ac_prog"
2894    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2895    break 2
2896  fi
2897done
2898  done
2899IFS=$as_save_IFS
2900
2901fi
2902fi
2903AWK=$ac_cv_prog_AWK
2904if test -n "$AWK"; then
2905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2906$as_echo "$AWK" >&6; }
2907else
2908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909$as_echo "no" >&6; }
2910fi
2911
2912
2913  test -n "$AWK" && break
2914done
2915
2916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2917$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2918set x ${MAKE-make}
2919ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2920if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2921  $as_echo_n "(cached) " >&6
2922else
2923  cat >conftest.make <<\_ACEOF
2924SHELL = /bin/sh
2925all:
2926	@echo '@@@%%%=$(MAKE)=@@@%%%'
2927_ACEOF
2928# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2929case `${MAKE-make} -f conftest.make 2>/dev/null` in
2930  *@@@%%%=?*=@@@%%%*)
2931    eval ac_cv_prog_make_${ac_make}_set=yes;;
2932  *)
2933    eval ac_cv_prog_make_${ac_make}_set=no;;
2934esac
2935rm -f conftest.make
2936fi
2937if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2939$as_echo "yes" >&6; }
2940  SET_MAKE=
2941else
2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2943$as_echo "no" >&6; }
2944  SET_MAKE="MAKE=${MAKE-make}"
2945fi
2946
2947rm -rf .tst 2>/dev/null
2948mkdir .tst 2>/dev/null
2949if test -d .tst; then
2950  am__leading_dot=.
2951else
2952  am__leading_dot=_
2953fi
2954rmdir .tst 2>/dev/null
2955
2956# Check whether --enable-silent-rules was given.
2957if test "${enable_silent_rules+set}" = set; then :
2958  enableval=$enable_silent_rules;
2959fi
2960
2961case $enable_silent_rules in # (((
2962  yes) AM_DEFAULT_VERBOSITY=0;;
2963   no) AM_DEFAULT_VERBOSITY=1;;
2964    *) AM_DEFAULT_VERBOSITY=1;;
2965esac
2966am_make=${MAKE-make}
2967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2968$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2969if ${am_cv_make_support_nested_variables+:} false; then :
2970  $as_echo_n "(cached) " >&6
2971else
2972  if $as_echo 'TRUE=$(BAR$(V))
2973BAR0=false
2974BAR1=true
2975V=1
2976am__doit:
2977	@$(TRUE)
2978.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2979  am_cv_make_support_nested_variables=yes
2980else
2981  am_cv_make_support_nested_variables=no
2982fi
2983fi
2984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2985$as_echo "$am_cv_make_support_nested_variables" >&6; }
2986if test $am_cv_make_support_nested_variables = yes; then
2987    AM_V='$(V)'
2988  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2989else
2990  AM_V=$AM_DEFAULT_VERBOSITY
2991  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2992fi
2993AM_BACKSLASH='\'
2994
2995if test "`cd $srcdir && pwd`" != "`pwd`"; then
2996  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2997  # is not polluted with repeated "-I."
2998  am__isrc=' -I$(srcdir)'
2999  # test to see if srcdir already configured
3000  if test -f $srcdir/config.status; then
3001    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3002  fi
3003fi
3004
3005# test whether we have cygpath
3006if test -z "$CYGPATH_W"; then
3007  if (cygpath --version) >/dev/null 2>/dev/null; then
3008    CYGPATH_W='cygpath -w'
3009  else
3010    CYGPATH_W=echo
3011  fi
3012fi
3013
3014
3015# Define the identity of the package.
3016 PACKAGE='libisoburn'
3017 VERSION='1.5.0'
3018
3019
3020cat >>confdefs.h <<_ACEOF
3021#define PACKAGE "$PACKAGE"
3022_ACEOF
3023
3024
3025cat >>confdefs.h <<_ACEOF
3026#define VERSION "$VERSION"
3027_ACEOF
3028
3029# Some tools Automake needs.
3030
3031ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3032
3033
3034AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3035
3036
3037AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3038
3039
3040AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3041
3042
3043MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3044
3045# For better backward compatibility.  To be removed once Automake 1.9.x
3046# dies out for good.  For more background, see:
3047# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3048# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3049mkdir_p='$(MKDIR_P)'
3050
3051# We need awk for the "check" target.  The system "awk" is bad on
3052# some platforms.
3053# Always define AMTAR for backward compatibility.  Yes, it's still used
3054# in the wild :-(  We should find a proper way to deprecate it ...
3055AMTAR='$${TAR-tar}'
3056
3057
3058# We'll loop over all known methods to create a tar archive until one works.
3059_am_tools='gnutar  pax cpio none'
3060
3061am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3062
3063
3064
3065
3066
3067
3068# POSIX will say in a future version that running "rm -f" with no argument
3069# is OK; and we want to be able to make that assumption in our Makefile
3070# recipes.  So use an aggressive probe to check that the usage we want is
3071# actually supported "in the wild" to an acceptable degree.
3072# See automake bug#10828.
3073# To make any issue more visible, cause the running configure to be aborted
3074# by default if the 'rm' program in use doesn't match our expectations; the
3075# user can still override this though.
3076if rm -f && rm -fr && rm -rf; then : OK; else
3077  cat >&2 <<'END'
3078Oops!
3079
3080Your 'rm' program seems unable to run without file operands specified
3081on the command line, even when the '-f' option is present.  This is contrary
3082to the behaviour of most rm programs out there, and not conforming with
3083the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3084
3085Please tell bug-automake@gnu.org about your system, including the value
3086of your $PATH and any error possibly output before this message.  This
3087can help us improve future automake versions.
3088
3089END
3090  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3091    echo 'Configuration will proceed anyway, since you have set the' >&2
3092    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3093    echo >&2
3094  else
3095    cat >&2 <<'END'
3096Aborting the configuration process, to ensure you take notice of the issue.
3097
3098You can download and install GNU coreutils to get an 'rm' implementation
3099that behaves properly: <http://www.gnu.org/software/coreutils/>.
3100
3101If you want to complete the configuration process using your problematic
3102'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3103to "yes", and re-run configure.
3104
3105END
3106    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3107  fi
3108fi
3109
3110
3111
3112
3113ISOBURN_MAJOR_VERSION=1
3114ISOBURN_MINOR_VERSION=5
3115ISOBURN_MICRO_VERSION=0
3116
3117
3118
3119
3120
3121
3122LT_RELEASE=$ISOBURN_MAJOR_VERSION.$ISOBURN_MINOR_VERSION
3123LT_CURRENT=108
3124LT_AGE=107
3125LT_REVISION=0
3126LT_CURRENT_MINUS_AGE=`expr $LT_CURRENT - $LT_AGE`
3127
3128
3129
3130
3131
3132
3133
3134
3135test "$prefix" = "NONE" && prefix=$ac_default_prefix
3136
3137
3138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3139$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3140    # Check whether --enable-maintainer-mode was given.
3141if test "${enable_maintainer_mode+set}" = set; then :
3142  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3143else
3144  USE_MAINTAINER_MODE=no
3145fi
3146
3147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3148$as_echo "$USE_MAINTAINER_MODE" >&6; }
3149   if test $USE_MAINTAINER_MODE = yes; then
3150  MAINTAINER_MODE_TRUE=
3151  MAINTAINER_MODE_FALSE='#'
3152else
3153  MAINTAINER_MODE_TRUE='#'
3154  MAINTAINER_MODE_FALSE=
3155fi
3156
3157  MAINT=$MAINTAINER_MODE_TRUE
3158
3159
3160
3161DEPDIR="${am__leading_dot}deps"
3162
3163ac_config_commands="$ac_config_commands depfiles"
3164
3165
3166am_make=${MAKE-make}
3167cat > confinc << 'END'
3168am__doit:
3169	@echo this is the am__doit target
3170.PHONY: am__doit
3171END
3172# If we don't find an include directive, just comment out the code.
3173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3174$as_echo_n "checking for style of include used by $am_make... " >&6; }
3175am__include="#"
3176am__quote=
3177_am_result=none
3178# First try GNU make style include.
3179echo "include confinc" > confmf
3180# Ignore all kinds of additional output from 'make'.
3181case `$am_make -s -f confmf 2> /dev/null` in #(
3182*the\ am__doit\ target*)
3183  am__include=include
3184  am__quote=
3185  _am_result=GNU
3186  ;;
3187esac
3188# Now try BSD make style include.
3189if test "$am__include" = "#"; then
3190   echo '.include "confinc"' > confmf
3191   case `$am_make -s -f confmf 2> /dev/null` in #(
3192   *the\ am__doit\ target*)
3193     am__include=.include
3194     am__quote="\""
3195     _am_result=BSD
3196     ;;
3197   esac
3198fi
3199
3200
3201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3202$as_echo "$_am_result" >&6; }
3203rm -f confinc confmf
3204
3205# Check whether --enable-dependency-tracking was given.
3206if test "${enable_dependency_tracking+set}" = set; then :
3207  enableval=$enable_dependency_tracking;
3208fi
3209
3210if test "x$enable_dependency_tracking" != xno; then
3211  am_depcomp="$ac_aux_dir/depcomp"
3212  AMDEPBACKSLASH='\'
3213  am__nodep='_no'
3214fi
3215 if test "x$enable_dependency_tracking" != xno; then
3216  AMDEP_TRUE=
3217  AMDEP_FALSE='#'
3218else
3219  AMDEP_TRUE='#'
3220  AMDEP_FALSE=
3221fi
3222
3223
3224ac_ext=c
3225ac_cpp='$CPP $CPPFLAGS'
3226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228ac_compiler_gnu=$ac_cv_c_compiler_gnu
3229if test -n "$ac_tool_prefix"; then
3230  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3231set dummy ${ac_tool_prefix}gcc; ac_word=$2
3232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3233$as_echo_n "checking for $ac_word... " >&6; }
3234if ${ac_cv_prog_CC+:} false; then :
3235  $as_echo_n "(cached) " >&6
3236else
3237  if test -n "$CC"; then
3238  ac_cv_prog_CC="$CC" # Let the user override the test.
3239else
3240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3241for as_dir in $PATH
3242do
3243  IFS=$as_save_IFS
3244  test -z "$as_dir" && as_dir=.
3245    for ac_exec_ext in '' $ac_executable_extensions; do
3246  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3247    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3248    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3249    break 2
3250  fi
3251done
3252  done
3253IFS=$as_save_IFS
3254
3255fi
3256fi
3257CC=$ac_cv_prog_CC
3258if test -n "$CC"; then
3259  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3260$as_echo "$CC" >&6; }
3261else
3262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3263$as_echo "no" >&6; }
3264fi
3265
3266
3267fi
3268if test -z "$ac_cv_prog_CC"; then
3269  ac_ct_CC=$CC
3270  # Extract the first word of "gcc", so it can be a program name with args.
3271set dummy gcc; ac_word=$2
3272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3273$as_echo_n "checking for $ac_word... " >&6; }
3274if ${ac_cv_prog_ac_ct_CC+:} false; then :
3275  $as_echo_n "(cached) " >&6
3276else
3277  if test -n "$ac_ct_CC"; then
3278  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3279else
3280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3281for as_dir in $PATH
3282do
3283  IFS=$as_save_IFS
3284  test -z "$as_dir" && as_dir=.
3285    for ac_exec_ext in '' $ac_executable_extensions; do
3286  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287    ac_cv_prog_ac_ct_CC="gcc"
3288    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3289    break 2
3290  fi
3291done
3292  done
3293IFS=$as_save_IFS
3294
3295fi
3296fi
3297ac_ct_CC=$ac_cv_prog_ac_ct_CC
3298if test -n "$ac_ct_CC"; then
3299  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3300$as_echo "$ac_ct_CC" >&6; }
3301else
3302  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3303$as_echo "no" >&6; }
3304fi
3305
3306  if test "x$ac_ct_CC" = x; then
3307    CC=""
3308  else
3309    case $cross_compiling:$ac_tool_warned in
3310yes:)
3311{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3312$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3313ac_tool_warned=yes ;;
3314esac
3315    CC=$ac_ct_CC
3316  fi
3317else
3318  CC="$ac_cv_prog_CC"
3319fi
3320
3321if test -z "$CC"; then
3322          if test -n "$ac_tool_prefix"; then
3323    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3324set dummy ${ac_tool_prefix}cc; ac_word=$2
3325{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3326$as_echo_n "checking for $ac_word... " >&6; }
3327if ${ac_cv_prog_CC+:} false; then :
3328  $as_echo_n "(cached) " >&6
3329else
3330  if test -n "$CC"; then
3331  ac_cv_prog_CC="$CC" # Let the user override the test.
3332else
3333as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334for as_dir in $PATH
3335do
3336  IFS=$as_save_IFS
3337  test -z "$as_dir" && as_dir=.
3338    for ac_exec_ext in '' $ac_executable_extensions; do
3339  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3340    ac_cv_prog_CC="${ac_tool_prefix}cc"
3341    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3342    break 2
3343  fi
3344done
3345  done
3346IFS=$as_save_IFS
3347
3348fi
3349fi
3350CC=$ac_cv_prog_CC
3351if test -n "$CC"; then
3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3353$as_echo "$CC" >&6; }
3354else
3355  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3356$as_echo "no" >&6; }
3357fi
3358
3359
3360  fi
3361fi
3362if test -z "$CC"; then
3363  # Extract the first word of "cc", so it can be a program name with args.
3364set dummy cc; ac_word=$2
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3366$as_echo_n "checking for $ac_word... " >&6; }
3367if ${ac_cv_prog_CC+:} false; then :
3368  $as_echo_n "(cached) " >&6
3369else
3370  if test -n "$CC"; then
3371  ac_cv_prog_CC="$CC" # Let the user override the test.
3372else
3373  ac_prog_rejected=no
3374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375for as_dir in $PATH
3376do
3377  IFS=$as_save_IFS
3378  test -z "$as_dir" && as_dir=.
3379    for ac_exec_ext in '' $ac_executable_extensions; do
3380  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3382       ac_prog_rejected=yes
3383       continue
3384     fi
3385    ac_cv_prog_CC="cc"
3386    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3387    break 2
3388  fi
3389done
3390  done
3391IFS=$as_save_IFS
3392
3393if test $ac_prog_rejected = yes; then
3394  # We found a bogon in the path, so make sure we never use it.
3395  set dummy $ac_cv_prog_CC
3396  shift
3397  if test $# != 0; then
3398    # We chose a different compiler from the bogus one.
3399    # However, it has the same basename, so the bogon will be chosen
3400    # first if we set CC to just the basename; use the full file name.
3401    shift
3402    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3403  fi
3404fi
3405fi
3406fi
3407CC=$ac_cv_prog_CC
3408if test -n "$CC"; then
3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3410$as_echo "$CC" >&6; }
3411else
3412  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3413$as_echo "no" >&6; }
3414fi
3415
3416
3417fi
3418if test -z "$CC"; then
3419  if test -n "$ac_tool_prefix"; then
3420  for ac_prog in cl.exe
3421  do
3422    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3423set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425$as_echo_n "checking for $ac_word... " >&6; }
3426if ${ac_cv_prog_CC+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  if test -n "$CC"; then
3430  ac_cv_prog_CC="$CC" # Let the user override the test.
3431else
3432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433for as_dir in $PATH
3434do
3435  IFS=$as_save_IFS
3436  test -z "$as_dir" && as_dir=.
3437    for ac_exec_ext in '' $ac_executable_extensions; do
3438  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441    break 2
3442  fi
3443done
3444  done
3445IFS=$as_save_IFS
3446
3447fi
3448fi
3449CC=$ac_cv_prog_CC
3450if test -n "$CC"; then
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3452$as_echo "$CC" >&6; }
3453else
3454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455$as_echo "no" >&6; }
3456fi
3457
3458
3459    test -n "$CC" && break
3460  done
3461fi
3462if test -z "$CC"; then
3463  ac_ct_CC=$CC
3464  for ac_prog in cl.exe
3465do
3466  # Extract the first word of "$ac_prog", so it can be a program name with args.
3467set dummy $ac_prog; ac_word=$2
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3469$as_echo_n "checking for $ac_word... " >&6; }
3470if ${ac_cv_prog_ac_ct_CC+:} false; then :
3471  $as_echo_n "(cached) " >&6
3472else
3473  if test -n "$ac_ct_CC"; then
3474  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3475else
3476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3477for as_dir in $PATH
3478do
3479  IFS=$as_save_IFS
3480  test -z "$as_dir" && as_dir=.
3481    for ac_exec_ext in '' $ac_executable_extensions; do
3482  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3483    ac_cv_prog_ac_ct_CC="$ac_prog"
3484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3485    break 2
3486  fi
3487done
3488  done
3489IFS=$as_save_IFS
3490
3491fi
3492fi
3493ac_ct_CC=$ac_cv_prog_ac_ct_CC
3494if test -n "$ac_ct_CC"; then
3495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3496$as_echo "$ac_ct_CC" >&6; }
3497else
3498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3499$as_echo "no" >&6; }
3500fi
3501
3502
3503  test -n "$ac_ct_CC" && break
3504done
3505
3506  if test "x$ac_ct_CC" = x; then
3507    CC=""
3508  else
3509    case $cross_compiling:$ac_tool_warned in
3510yes:)
3511{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3512$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3513ac_tool_warned=yes ;;
3514esac
3515    CC=$ac_ct_CC
3516  fi
3517fi
3518
3519fi
3520
3521
3522test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524as_fn_error $? "no acceptable C compiler found in \$PATH
3525See \`config.log' for more details" "$LINENO" 5; }
3526
3527# Provide some information about the compiler.
3528$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3529set X $ac_compile
3530ac_compiler=$2
3531for ac_option in --version -v -V -qversion; do
3532  { { ac_try="$ac_compiler $ac_option >&5"
3533case "(($ac_try" in
3534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535  *) ac_try_echo=$ac_try;;
3536esac
3537eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3538$as_echo "$ac_try_echo"; } >&5
3539  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3540  ac_status=$?
3541  if test -s conftest.err; then
3542    sed '10a\
3543... rest of stderr output deleted ...
3544         10q' conftest.err >conftest.er1
3545    cat conftest.er1 >&5
3546  fi
3547  rm -f conftest.er1 conftest.err
3548  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3549  test $ac_status = 0; }
3550done
3551
3552cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553/* end confdefs.h.  */
3554
3555int
3556main ()
3557{
3558
3559  ;
3560  return 0;
3561}
3562_ACEOF
3563ac_clean_files_save=$ac_clean_files
3564ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3565# Try to create an executable without -o first, disregard a.out.
3566# It will help us diagnose broken compilers, and finding out an intuition
3567# of exeext.
3568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3569$as_echo_n "checking whether the C compiler works... " >&6; }
3570ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3571
3572# The possible output files:
3573ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3574
3575ac_rmfiles=
3576for ac_file in $ac_files
3577do
3578  case $ac_file in
3579    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3580    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3581  esac
3582done
3583rm -f $ac_rmfiles
3584
3585if { { ac_try="$ac_link_default"
3586case "(($ac_try" in
3587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588  *) ac_try_echo=$ac_try;;
3589esac
3590eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3591$as_echo "$ac_try_echo"; } >&5
3592  (eval "$ac_link_default") 2>&5
3593  ac_status=$?
3594  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3595  test $ac_status = 0; }; then :
3596  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3597# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3598# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3599# so that the user can short-circuit this test for compilers unknown to
3600# Autoconf.
3601for ac_file in $ac_files ''
3602do
3603  test -f "$ac_file" || continue
3604  case $ac_file in
3605    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3606	;;
3607    [ab].out )
3608	# We found the default executable, but exeext='' is most
3609	# certainly right.
3610	break;;
3611    *.* )
3612	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3613	then :; else
3614	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3615	fi
3616	# We set ac_cv_exeext here because the later test for it is not
3617	# safe: cross compilers may not add the suffix if given an `-o'
3618	# argument, so we may need to know it at that point already.
3619	# Even if this section looks crufty: it has the advantage of
3620	# actually working.
3621	break;;
3622    * )
3623	break;;
3624  esac
3625done
3626test "$ac_cv_exeext" = no && ac_cv_exeext=
3627
3628else
3629  ac_file=''
3630fi
3631if test -z "$ac_file"; then :
3632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3633$as_echo "no" >&6; }
3634$as_echo "$as_me: failed program was:" >&5
3635sed 's/^/| /' conftest.$ac_ext >&5
3636
3637{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3638$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3639as_fn_error 77 "C compiler cannot create executables
3640See \`config.log' for more details" "$LINENO" 5; }
3641else
3642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3643$as_echo "yes" >&6; }
3644fi
3645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3646$as_echo_n "checking for C compiler default output file name... " >&6; }
3647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3648$as_echo "$ac_file" >&6; }
3649ac_exeext=$ac_cv_exeext
3650
3651rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3652ac_clean_files=$ac_clean_files_save
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3654$as_echo_n "checking for suffix of executables... " >&6; }
3655if { { ac_try="$ac_link"
3656case "(($ac_try" in
3657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3658  *) ac_try_echo=$ac_try;;
3659esac
3660eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3661$as_echo "$ac_try_echo"; } >&5
3662  (eval "$ac_link") 2>&5
3663  ac_status=$?
3664  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3665  test $ac_status = 0; }; then :
3666  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3667# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3668# work properly (i.e., refer to `conftest.exe'), while it won't with
3669# `rm'.
3670for ac_file in conftest.exe conftest conftest.*; do
3671  test -f "$ac_file" || continue
3672  case $ac_file in
3673    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3674    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3675	  break;;
3676    * ) break;;
3677  esac
3678done
3679else
3680  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3681$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3682as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3683See \`config.log' for more details" "$LINENO" 5; }
3684fi
3685rm -f conftest conftest$ac_cv_exeext
3686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3687$as_echo "$ac_cv_exeext" >&6; }
3688
3689rm -f conftest.$ac_ext
3690EXEEXT=$ac_cv_exeext
3691ac_exeext=$EXEEXT
3692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3693/* end confdefs.h.  */
3694#include <stdio.h>
3695int
3696main ()
3697{
3698FILE *f = fopen ("conftest.out", "w");
3699 return ferror (f) || fclose (f) != 0;
3700
3701  ;
3702  return 0;
3703}
3704_ACEOF
3705ac_clean_files="$ac_clean_files conftest.out"
3706# Check that the compiler produces executables we can run.  If not, either
3707# the compiler is broken, or we cross compile.
3708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3709$as_echo_n "checking whether we are cross compiling... " >&6; }
3710if test "$cross_compiling" != yes; then
3711  { { ac_try="$ac_link"
3712case "(($ac_try" in
3713  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3714  *) ac_try_echo=$ac_try;;
3715esac
3716eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3717$as_echo "$ac_try_echo"; } >&5
3718  (eval "$ac_link") 2>&5
3719  ac_status=$?
3720  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3721  test $ac_status = 0; }
3722  if { ac_try='./conftest$ac_cv_exeext'
3723  { { case "(($ac_try" in
3724  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3725  *) ac_try_echo=$ac_try;;
3726esac
3727eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3728$as_echo "$ac_try_echo"; } >&5
3729  (eval "$ac_try") 2>&5
3730  ac_status=$?
3731  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3732  test $ac_status = 0; }; }; then
3733    cross_compiling=no
3734  else
3735    if test "$cross_compiling" = maybe; then
3736	cross_compiling=yes
3737    else
3738	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3739$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3740as_fn_error $? "cannot run C compiled programs.
3741If you meant to cross compile, use \`--host'.
3742See \`config.log' for more details" "$LINENO" 5; }
3743    fi
3744  fi
3745fi
3746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3747$as_echo "$cross_compiling" >&6; }
3748
3749rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3750ac_clean_files=$ac_clean_files_save
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3752$as_echo_n "checking for suffix of object files... " >&6; }
3753if ${ac_cv_objext+:} false; then :
3754  $as_echo_n "(cached) " >&6
3755else
3756  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3757/* end confdefs.h.  */
3758
3759int
3760main ()
3761{
3762
3763  ;
3764  return 0;
3765}
3766_ACEOF
3767rm -f conftest.o conftest.obj
3768if { { ac_try="$ac_compile"
3769case "(($ac_try" in
3770  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3771  *) ac_try_echo=$ac_try;;
3772esac
3773eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3774$as_echo "$ac_try_echo"; } >&5
3775  (eval "$ac_compile") 2>&5
3776  ac_status=$?
3777  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3778  test $ac_status = 0; }; then :
3779  for ac_file in conftest.o conftest.obj conftest.*; do
3780  test -f "$ac_file" || continue;
3781  case $ac_file in
3782    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3783    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3784       break;;
3785  esac
3786done
3787else
3788  $as_echo "$as_me: failed program was:" >&5
3789sed 's/^/| /' conftest.$ac_ext >&5
3790
3791{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3792$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3793as_fn_error $? "cannot compute suffix of object files: cannot compile
3794See \`config.log' for more details" "$LINENO" 5; }
3795fi
3796rm -f conftest.$ac_cv_objext conftest.$ac_ext
3797fi
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3799$as_echo "$ac_cv_objext" >&6; }
3800OBJEXT=$ac_cv_objext
3801ac_objext=$OBJEXT
3802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3803$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3804if ${ac_cv_c_compiler_gnu+:} false; then :
3805  $as_echo_n "(cached) " >&6
3806else
3807  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808/* end confdefs.h.  */
3809
3810int
3811main ()
3812{
3813#ifndef __GNUC__
3814       choke me
3815#endif
3816
3817  ;
3818  return 0;
3819}
3820_ACEOF
3821if ac_fn_c_try_compile "$LINENO"; then :
3822  ac_compiler_gnu=yes
3823else
3824  ac_compiler_gnu=no
3825fi
3826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827ac_cv_c_compiler_gnu=$ac_compiler_gnu
3828
3829fi
3830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3831$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3832if test $ac_compiler_gnu = yes; then
3833  GCC=yes
3834else
3835  GCC=
3836fi
3837ac_test_CFLAGS=${CFLAGS+set}
3838ac_save_CFLAGS=$CFLAGS
3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3840$as_echo_n "checking whether $CC accepts -g... " >&6; }
3841if ${ac_cv_prog_cc_g+:} false; then :
3842  $as_echo_n "(cached) " >&6
3843else
3844  ac_save_c_werror_flag=$ac_c_werror_flag
3845   ac_c_werror_flag=yes
3846   ac_cv_prog_cc_g=no
3847   CFLAGS="-g"
3848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849/* end confdefs.h.  */
3850
3851int
3852main ()
3853{
3854
3855  ;
3856  return 0;
3857}
3858_ACEOF
3859if ac_fn_c_try_compile "$LINENO"; then :
3860  ac_cv_prog_cc_g=yes
3861else
3862  CFLAGS=""
3863      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864/* end confdefs.h.  */
3865
3866int
3867main ()
3868{
3869
3870  ;
3871  return 0;
3872}
3873_ACEOF
3874if ac_fn_c_try_compile "$LINENO"; then :
3875
3876else
3877  ac_c_werror_flag=$ac_save_c_werror_flag
3878	 CFLAGS="-g"
3879	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880/* end confdefs.h.  */
3881
3882int
3883main ()
3884{
3885
3886  ;
3887  return 0;
3888}
3889_ACEOF
3890if ac_fn_c_try_compile "$LINENO"; then :
3891  ac_cv_prog_cc_g=yes
3892fi
3893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3894fi
3895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896fi
3897rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898   ac_c_werror_flag=$ac_save_c_werror_flag
3899fi
3900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3901$as_echo "$ac_cv_prog_cc_g" >&6; }
3902if test "$ac_test_CFLAGS" = set; then
3903  CFLAGS=$ac_save_CFLAGS
3904elif test $ac_cv_prog_cc_g = yes; then
3905  if test "$GCC" = yes; then
3906    CFLAGS="-g -O2"
3907  else
3908    CFLAGS="-g"
3909  fi
3910else
3911  if test "$GCC" = yes; then
3912    CFLAGS="-O2"
3913  else
3914    CFLAGS=
3915  fi
3916fi
3917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3918$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3919if ${ac_cv_prog_cc_c89+:} false; then :
3920  $as_echo_n "(cached) " >&6
3921else
3922  ac_cv_prog_cc_c89=no
3923ac_save_CC=$CC
3924cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3925/* end confdefs.h.  */
3926#include <stdarg.h>
3927#include <stdio.h>
3928struct stat;
3929/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3930struct buf { int x; };
3931FILE * (*rcsopen) (struct buf *, struct stat *, int);
3932static char *e (p, i)
3933     char **p;
3934     int i;
3935{
3936  return p[i];
3937}
3938static char *f (char * (*g) (char **, int), char **p, ...)
3939{
3940  char *s;
3941  va_list v;
3942  va_start (v,p);
3943  s = g (p, va_arg (v,int));
3944  va_end (v);
3945  return s;
3946}
3947
3948/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3949   function prototypes and stuff, but not '\xHH' hex character constants.
3950   These don't provoke an error unfortunately, instead are silently treated
3951   as 'x'.  The following induces an error, until -std is added to get
3952   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3953   array size at least.  It's necessary to write '\x00'==0 to get something
3954   that's true only with -std.  */
3955int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3956
3957/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3958   inside strings and character constants.  */
3959#define FOO(x) 'x'
3960int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3961
3962int test (int i, double x);
3963struct s1 {int (*f) (int a);};
3964struct s2 {int (*f) (double a);};
3965int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3966int argc;
3967char **argv;
3968int
3969main ()
3970{
3971return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3972  ;
3973  return 0;
3974}
3975_ACEOF
3976for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3977	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3978do
3979  CC="$ac_save_CC $ac_arg"
3980  if ac_fn_c_try_compile "$LINENO"; then :
3981  ac_cv_prog_cc_c89=$ac_arg
3982fi
3983rm -f core conftest.err conftest.$ac_objext
3984  test "x$ac_cv_prog_cc_c89" != "xno" && break
3985done
3986rm -f conftest.$ac_ext
3987CC=$ac_save_CC
3988
3989fi
3990# AC_CACHE_VAL
3991case "x$ac_cv_prog_cc_c89" in
3992  x)
3993    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3994$as_echo "none needed" >&6; } ;;
3995  xno)
3996    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3997$as_echo "unsupported" >&6; } ;;
3998  *)
3999    CC="$CC $ac_cv_prog_cc_c89"
4000    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4001$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4002esac
4003if test "x$ac_cv_prog_cc_c89" != xno; then :
4004
4005fi
4006
4007ac_ext=c
4008ac_cpp='$CPP $CPPFLAGS'
4009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4011ac_compiler_gnu=$ac_cv_c_compiler_gnu
4012
4013ac_ext=c
4014ac_cpp='$CPP $CPPFLAGS'
4015ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4019$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4020if ${am_cv_prog_cc_c_o+:} false; then :
4021  $as_echo_n "(cached) " >&6
4022else
4023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4024/* end confdefs.h.  */
4025
4026int
4027main ()
4028{
4029
4030  ;
4031  return 0;
4032}
4033_ACEOF
4034  # Make sure it works both with $CC and with simple cc.
4035  # Following AC_PROG_CC_C_O, we do the test twice because some
4036  # compilers refuse to overwrite an existing .o file with -o,
4037  # though they will create one.
4038  am_cv_prog_cc_c_o=yes
4039  for am_i in 1 2; do
4040    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4041   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4042   ac_status=$?
4043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4044   (exit $ac_status); } \
4045         && test -f conftest2.$ac_objext; then
4046      : OK
4047    else
4048      am_cv_prog_cc_c_o=no
4049      break
4050    fi
4051  done
4052  rm -f core conftest*
4053  unset am_i
4054fi
4055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4056$as_echo "$am_cv_prog_cc_c_o" >&6; }
4057if test "$am_cv_prog_cc_c_o" != yes; then
4058   # Losing compiler, so override with the script.
4059   # FIXME: It is wrong to rewrite CC.
4060   # But if we don't then we get into trouble of one sort or another.
4061   # A longer-term fix would be to have automake use am__CC in this case,
4062   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4063   CC="$am_aux_dir/compile $CC"
4064fi
4065ac_ext=c
4066ac_cpp='$CPP $CPPFLAGS'
4067ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4068ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4069ac_compiler_gnu=$ac_cv_c_compiler_gnu
4070
4071
4072depcc="$CC"   am_compiler_list=
4073
4074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4075$as_echo_n "checking dependency style of $depcc... " >&6; }
4076if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4077  $as_echo_n "(cached) " >&6
4078else
4079  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4080  # We make a subdir and do the tests there.  Otherwise we can end up
4081  # making bogus files that we don't know about and never remove.  For
4082  # instance it was reported that on HP-UX the gcc test will end up
4083  # making a dummy file named 'D' -- because '-MD' means "put the output
4084  # in D".
4085  rm -rf conftest.dir
4086  mkdir conftest.dir
4087  # Copy depcomp to subdir because otherwise we won't find it if we're
4088  # using a relative directory.
4089  cp "$am_depcomp" conftest.dir
4090  cd conftest.dir
4091  # We will build objects and dependencies in a subdirectory because
4092  # it helps to detect inapplicable dependency modes.  For instance
4093  # both Tru64's cc and ICC support -MD to output dependencies as a
4094  # side effect of compilation, but ICC will put the dependencies in
4095  # the current directory while Tru64 will put them in the object
4096  # directory.
4097  mkdir sub
4098
4099  am_cv_CC_dependencies_compiler_type=none
4100  if test "$am_compiler_list" = ""; then
4101     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4102  fi
4103  am__universal=false
4104  case " $depcc " in #(
4105     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4106     esac
4107
4108  for depmode in $am_compiler_list; do
4109    # Setup a source with many dependencies, because some compilers
4110    # like to wrap large dependency lists on column 80 (with \), and
4111    # we should not choose a depcomp mode which is confused by this.
4112    #
4113    # We need to recreate these files for each test, as the compiler may
4114    # overwrite some of them when testing with obscure command lines.
4115    # This happens at least with the AIX C compiler.
4116    : > sub/conftest.c
4117    for i in 1 2 3 4 5 6; do
4118      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4119      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4120      # Solaris 10 /bin/sh.
4121      echo '/* dummy */' > sub/conftst$i.h
4122    done
4123    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4124
4125    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4126    # mode.  It turns out that the SunPro C++ compiler does not properly
4127    # handle '-M -o', and we need to detect this.  Also, some Intel
4128    # versions had trouble with output in subdirs.
4129    am__obj=sub/conftest.${OBJEXT-o}
4130    am__minus_obj="-o $am__obj"
4131    case $depmode in
4132    gcc)
4133      # This depmode causes a compiler race in universal mode.
4134      test "$am__universal" = false || continue
4135      ;;
4136    nosideeffect)
4137      # After this tag, mechanisms are not by side-effect, so they'll
4138      # only be used when explicitly requested.
4139      if test "x$enable_dependency_tracking" = xyes; then
4140	continue
4141      else
4142	break
4143      fi
4144      ;;
4145    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4146      # This compiler won't grok '-c -o', but also, the minuso test has
4147      # not run yet.  These depmodes are late enough in the game, and
4148      # so weak that their functioning should not be impacted.
4149      am__obj=conftest.${OBJEXT-o}
4150      am__minus_obj=
4151      ;;
4152    none) break ;;
4153    esac
4154    if depmode=$depmode \
4155       source=sub/conftest.c object=$am__obj \
4156       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4157       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4158         >/dev/null 2>conftest.err &&
4159       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4160       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4161       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4162       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4163      # icc doesn't choke on unknown options, it will just issue warnings
4164      # or remarks (even with -Werror).  So we grep stderr for any message
4165      # that says an option was ignored or not supported.
4166      # When given -MP, icc 7.0 and 7.1 complain thusly:
4167      #   icc: Command line warning: ignoring option '-M'; no argument required
4168      # The diagnosis changed in icc 8.0:
4169      #   icc: Command line remark: option '-MP' not supported
4170      if (grep 'ignoring option' conftest.err ||
4171          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4172        am_cv_CC_dependencies_compiler_type=$depmode
4173        break
4174      fi
4175    fi
4176  done
4177
4178  cd ..
4179  rm -rf conftest.dir
4180else
4181  am_cv_CC_dependencies_compiler_type=none
4182fi
4183
4184fi
4185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4186$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4187CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4188
4189 if
4190  test "x$enable_dependency_tracking" != xno \
4191  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4192  am__fastdepCC_TRUE=
4193  am__fastdepCC_FALSE='#'
4194else
4195  am__fastdepCC_TRUE='#'
4196  am__fastdepCC_FALSE=
4197fi
4198
4199
4200
4201
4202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4203$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4204if ${ac_cv_c_const+:} false; then :
4205  $as_echo_n "(cached) " >&6
4206else
4207  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4208/* end confdefs.h.  */
4209
4210int
4211main ()
4212{
4213
4214#ifndef __cplusplus
4215  /* Ultrix mips cc rejects this sort of thing.  */
4216  typedef int charset[2];
4217  const charset cs = { 0, 0 };
4218  /* SunOS 4.1.1 cc rejects this.  */
4219  char const *const *pcpcc;
4220  char **ppc;
4221  /* NEC SVR4.0.2 mips cc rejects this.  */
4222  struct point {int x, y;};
4223  static struct point const zero = {0,0};
4224  /* AIX XL C 1.02.0.0 rejects this.
4225     It does not let you subtract one const X* pointer from another in
4226     an arm of an if-expression whose if-part is not a constant
4227     expression */
4228  const char *g = "string";
4229  pcpcc = &g + (g ? g-g : 0);
4230  /* HPUX 7.0 cc rejects these. */
4231  ++pcpcc;
4232  ppc = (char**) pcpcc;
4233  pcpcc = (char const *const *) ppc;
4234  { /* SCO 3.2v4 cc rejects this sort of thing.  */
4235    char tx;
4236    char *t = &tx;
4237    char const *s = 0 ? (char *) 0 : (char const *) 0;
4238
4239    *t++ = 0;
4240    if (s) return 0;
4241  }
4242  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4243    int x[] = {25, 17};
4244    const int *foo = &x[0];
4245    ++foo;
4246  }
4247  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4248    typedef const int *iptr;
4249    iptr p = 0;
4250    ++p;
4251  }
4252  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4253       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4254    struct s { int j; const int *ap[3]; } bx;
4255    struct s *b = &bx; b->j = 5;
4256  }
4257  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4258    const int foo = 10;
4259    if (!foo) return 0;
4260  }
4261  return !cs[0] && !zero.x;
4262#endif
4263
4264  ;
4265  return 0;
4266}
4267_ACEOF
4268if ac_fn_c_try_compile "$LINENO"; then :
4269  ac_cv_c_const=yes
4270else
4271  ac_cv_c_const=no
4272fi
4273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4274fi
4275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4276$as_echo "$ac_cv_c_const" >&6; }
4277if test $ac_cv_c_const = no; then
4278
4279$as_echo "#define const /**/" >>confdefs.h
4280
4281fi
4282
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
4284$as_echo_n "checking for inline... " >&6; }
4285if ${ac_cv_c_inline+:} false; then :
4286  $as_echo_n "(cached) " >&6
4287else
4288  ac_cv_c_inline=no
4289for ac_kw in inline __inline__ __inline; do
4290  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4291/* end confdefs.h.  */
4292#ifndef __cplusplus
4293typedef int foo_t;
4294static $ac_kw foo_t static_foo () {return 0; }
4295$ac_kw foo_t foo () {return 0; }
4296#endif
4297
4298_ACEOF
4299if ac_fn_c_try_compile "$LINENO"; then :
4300  ac_cv_c_inline=$ac_kw
4301fi
4302rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303  test "$ac_cv_c_inline" != no && break
4304done
4305
4306fi
4307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
4308$as_echo "$ac_cv_c_inline" >&6; }
4309
4310case $ac_cv_c_inline in
4311  inline | yes) ;;
4312  *)
4313    case $ac_cv_c_inline in
4314      no) ac_val=;;
4315      *) ac_val=$ac_cv_c_inline;;
4316    esac
4317    cat >>confdefs.h <<_ACEOF
4318#ifndef __cplusplus
4319#define inline $ac_val
4320#endif
4321_ACEOF
4322    ;;
4323esac
4324
4325ac_ext=c
4326ac_cpp='$CPP $CPPFLAGS'
4327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4331$as_echo_n "checking how to run the C preprocessor... " >&6; }
4332# On Suns, sometimes $CPP names a directory.
4333if test -n "$CPP" && test -d "$CPP"; then
4334  CPP=
4335fi
4336if test -z "$CPP"; then
4337  if ${ac_cv_prog_CPP+:} false; then :
4338  $as_echo_n "(cached) " >&6
4339else
4340      # Double quotes because CPP needs to be expanded
4341    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4342    do
4343      ac_preproc_ok=false
4344for ac_c_preproc_warn_flag in '' yes
4345do
4346  # Use a header file that comes with gcc, so configuring glibc
4347  # with a fresh cross-compiler works.
4348  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4349  # <limits.h> exists even on freestanding compilers.
4350  # On the NeXT, cc -E runs the code through the compiler's parser,
4351  # not just through cpp. "Syntax error" is here to catch this case.
4352  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353/* end confdefs.h.  */
4354#ifdef __STDC__
4355# include <limits.h>
4356#else
4357# include <assert.h>
4358#endif
4359		     Syntax error
4360_ACEOF
4361if ac_fn_c_try_cpp "$LINENO"; then :
4362
4363else
4364  # Broken: fails on valid input.
4365continue
4366fi
4367rm -f conftest.err conftest.i conftest.$ac_ext
4368
4369  # OK, works on sane cases.  Now check whether nonexistent headers
4370  # can be detected and how.
4371  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372/* end confdefs.h.  */
4373#include <ac_nonexistent.h>
4374_ACEOF
4375if ac_fn_c_try_cpp "$LINENO"; then :
4376  # Broken: success on invalid input.
4377continue
4378else
4379  # Passes both tests.
4380ac_preproc_ok=:
4381break
4382fi
4383rm -f conftest.err conftest.i conftest.$ac_ext
4384
4385done
4386# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4387rm -f conftest.i conftest.err conftest.$ac_ext
4388if $ac_preproc_ok; then :
4389  break
4390fi
4391
4392    done
4393    ac_cv_prog_CPP=$CPP
4394
4395fi
4396  CPP=$ac_cv_prog_CPP
4397else
4398  ac_cv_prog_CPP=$CPP
4399fi
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4401$as_echo "$CPP" >&6; }
4402ac_preproc_ok=false
4403for ac_c_preproc_warn_flag in '' yes
4404do
4405  # Use a header file that comes with gcc, so configuring glibc
4406  # with a fresh cross-compiler works.
4407  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4408  # <limits.h> exists even on freestanding compilers.
4409  # On the NeXT, cc -E runs the code through the compiler's parser,
4410  # not just through cpp. "Syntax error" is here to catch this case.
4411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4412/* end confdefs.h.  */
4413#ifdef __STDC__
4414# include <limits.h>
4415#else
4416# include <assert.h>
4417#endif
4418		     Syntax error
4419_ACEOF
4420if ac_fn_c_try_cpp "$LINENO"; then :
4421
4422else
4423  # Broken: fails on valid input.
4424continue
4425fi
4426rm -f conftest.err conftest.i conftest.$ac_ext
4427
4428  # OK, works on sane cases.  Now check whether nonexistent headers
4429  # can be detected and how.
4430  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4431/* end confdefs.h.  */
4432#include <ac_nonexistent.h>
4433_ACEOF
4434if ac_fn_c_try_cpp "$LINENO"; then :
4435  # Broken: success on invalid input.
4436continue
4437else
4438  # Passes both tests.
4439ac_preproc_ok=:
4440break
4441fi
4442rm -f conftest.err conftest.i conftest.$ac_ext
4443
4444done
4445# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4446rm -f conftest.i conftest.err conftest.$ac_ext
4447if $ac_preproc_ok; then :
4448
4449else
4450  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4452as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4453See \`config.log' for more details" "$LINENO" 5; }
4454fi
4455
4456ac_ext=c
4457ac_cpp='$CPP $CPPFLAGS'
4458ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4459ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4460ac_compiler_gnu=$ac_cv_c_compiler_gnu
4461
4462
4463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4464$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4465if ${ac_cv_path_GREP+:} false; then :
4466  $as_echo_n "(cached) " >&6
4467else
4468  if test -z "$GREP"; then
4469  ac_path_GREP_found=false
4470  # Loop through the user's path and test for each of PROGNAME-LIST
4471  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4472for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4473do
4474  IFS=$as_save_IFS
4475  test -z "$as_dir" && as_dir=.
4476    for ac_prog in grep ggrep; do
4477    for ac_exec_ext in '' $ac_executable_extensions; do
4478      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4479      as_fn_executable_p "$ac_path_GREP" || continue
4480# Check for GNU ac_path_GREP and select it if it is found.
4481  # Check for GNU $ac_path_GREP
4482case `"$ac_path_GREP" --version 2>&1` in
4483*GNU*)
4484  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4485*)
4486  ac_count=0
4487  $as_echo_n 0123456789 >"conftest.in"
4488  while :
4489  do
4490    cat "conftest.in" "conftest.in" >"conftest.tmp"
4491    mv "conftest.tmp" "conftest.in"
4492    cp "conftest.in" "conftest.nl"
4493    $as_echo 'GREP' >> "conftest.nl"
4494    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4495    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4496    as_fn_arith $ac_count + 1 && ac_count=$as_val
4497    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4498      # Best one so far, save it but keep looking for a better one
4499      ac_cv_path_GREP="$ac_path_GREP"
4500      ac_path_GREP_max=$ac_count
4501    fi
4502    # 10*(2^10) chars as input seems more than enough
4503    test $ac_count -gt 10 && break
4504  done
4505  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4506esac
4507
4508      $ac_path_GREP_found && break 3
4509    done
4510  done
4511  done
4512IFS=$as_save_IFS
4513  if test -z "$ac_cv_path_GREP"; then
4514    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4515  fi
4516else
4517  ac_cv_path_GREP=$GREP
4518fi
4519
4520fi
4521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4522$as_echo "$ac_cv_path_GREP" >&6; }
4523 GREP="$ac_cv_path_GREP"
4524
4525
4526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4527$as_echo_n "checking for egrep... " >&6; }
4528if ${ac_cv_path_EGREP+:} false; then :
4529  $as_echo_n "(cached) " >&6
4530else
4531  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4532   then ac_cv_path_EGREP="$GREP -E"
4533   else
4534     if test -z "$EGREP"; then
4535  ac_path_EGREP_found=false
4536  # Loop through the user's path and test for each of PROGNAME-LIST
4537  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4539do
4540  IFS=$as_save_IFS
4541  test -z "$as_dir" && as_dir=.
4542    for ac_prog in egrep; do
4543    for ac_exec_ext in '' $ac_executable_extensions; do
4544      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4545      as_fn_executable_p "$ac_path_EGREP" || continue
4546# Check for GNU ac_path_EGREP and select it if it is found.
4547  # Check for GNU $ac_path_EGREP
4548case `"$ac_path_EGREP" --version 2>&1` in
4549*GNU*)
4550  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4551*)
4552  ac_count=0
4553  $as_echo_n 0123456789 >"conftest.in"
4554  while :
4555  do
4556    cat "conftest.in" "conftest.in" >"conftest.tmp"
4557    mv "conftest.tmp" "conftest.in"
4558    cp "conftest.in" "conftest.nl"
4559    $as_echo 'EGREP' >> "conftest.nl"
4560    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4561    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4562    as_fn_arith $ac_count + 1 && ac_count=$as_val
4563    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4564      # Best one so far, save it but keep looking for a better one
4565      ac_cv_path_EGREP="$ac_path_EGREP"
4566      ac_path_EGREP_max=$ac_count
4567    fi
4568    # 10*(2^10) chars as input seems more than enough
4569    test $ac_count -gt 10 && break
4570  done
4571  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4572esac
4573
4574      $ac_path_EGREP_found && break 3
4575    done
4576  done
4577  done
4578IFS=$as_save_IFS
4579  if test -z "$ac_cv_path_EGREP"; then
4580    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4581  fi
4582else
4583  ac_cv_path_EGREP=$EGREP
4584fi
4585
4586   fi
4587fi
4588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4589$as_echo "$ac_cv_path_EGREP" >&6; }
4590 EGREP="$ac_cv_path_EGREP"
4591
4592
4593{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4594$as_echo_n "checking for ANSI C header files... " >&6; }
4595if ${ac_cv_header_stdc+:} false; then :
4596  $as_echo_n "(cached) " >&6
4597else
4598  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4599/* end confdefs.h.  */
4600#include <stdlib.h>
4601#include <stdarg.h>
4602#include <string.h>
4603#include <float.h>
4604
4605int
4606main ()
4607{
4608
4609  ;
4610  return 0;
4611}
4612_ACEOF
4613if ac_fn_c_try_compile "$LINENO"; then :
4614  ac_cv_header_stdc=yes
4615else
4616  ac_cv_header_stdc=no
4617fi
4618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619
4620if test $ac_cv_header_stdc = yes; then
4621  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4622  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623/* end confdefs.h.  */
4624#include <string.h>
4625
4626_ACEOF
4627if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4628  $EGREP "memchr" >/dev/null 2>&1; then :
4629
4630else
4631  ac_cv_header_stdc=no
4632fi
4633rm -f conftest*
4634
4635fi
4636
4637if test $ac_cv_header_stdc = yes; then
4638  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4639  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4640/* end confdefs.h.  */
4641#include <stdlib.h>
4642
4643_ACEOF
4644if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4645  $EGREP "free" >/dev/null 2>&1; then :
4646
4647else
4648  ac_cv_header_stdc=no
4649fi
4650rm -f conftest*
4651
4652fi
4653
4654if test $ac_cv_header_stdc = yes; then
4655  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4656  if test "$cross_compiling" = yes; then :
4657  :
4658else
4659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660/* end confdefs.h.  */
4661#include <ctype.h>
4662#include <stdlib.h>
4663#if ((' ' & 0x0FF) == 0x020)
4664# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4665# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4666#else
4667# define ISLOWER(c) \
4668		   (('a' <= (c) && (c) <= 'i') \
4669		     || ('j' <= (c) && (c) <= 'r') \
4670		     || ('s' <= (c) && (c) <= 'z'))
4671# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4672#endif
4673
4674#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4675int
4676main ()
4677{
4678  int i;
4679  for (i = 0; i < 256; i++)
4680    if (XOR (islower (i), ISLOWER (i))
4681	|| toupper (i) != TOUPPER (i))
4682      return 2;
4683  return 0;
4684}
4685_ACEOF
4686if ac_fn_c_try_run "$LINENO"; then :
4687
4688else
4689  ac_cv_header_stdc=no
4690fi
4691rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4692  conftest.$ac_objext conftest.beam conftest.$ac_ext
4693fi
4694
4695fi
4696fi
4697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4698$as_echo "$ac_cv_header_stdc" >&6; }
4699if test $ac_cv_header_stdc = yes; then
4700
4701$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4702
4703fi
4704
4705# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4706for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4707		  inttypes.h stdint.h unistd.h
4708do :
4709  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4710ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4711"
4712if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4713  cat >>confdefs.h <<_ACEOF
4714#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4715_ACEOF
4716
4717fi
4718
4719done
4720
4721
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
4723$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
4724if ${ac_cv_c_bigendian+:} false; then :
4725  $as_echo_n "(cached) " >&6
4726else
4727  ac_cv_c_bigendian=unknown
4728    # See if we're dealing with a universal compiler.
4729    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4730/* end confdefs.h.  */
4731#ifndef __APPLE_CC__
4732	       not a universal capable compiler
4733	     #endif
4734	     typedef int dummy;
4735
4736_ACEOF
4737if ac_fn_c_try_compile "$LINENO"; then :
4738
4739	# Check for potential -arch flags.  It is not universal unless
4740	# there are at least two -arch flags with different values.
4741	ac_arch=
4742	ac_prev=
4743	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
4744	 if test -n "$ac_prev"; then
4745	   case $ac_word in
4746	     i?86 | x86_64 | ppc | ppc64)
4747	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
4748		 ac_arch=$ac_word
4749	       else
4750		 ac_cv_c_bigendian=universal
4751		 break
4752	       fi
4753	       ;;
4754	   esac
4755	   ac_prev=
4756	 elif test "x$ac_word" = "x-arch"; then
4757	   ac_prev=arch
4758	 fi
4759       done
4760fi
4761rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762    if test $ac_cv_c_bigendian = unknown; then
4763      # See if sys/param.h defines the BYTE_ORDER macro.
4764      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4765/* end confdefs.h.  */
4766#include <sys/types.h>
4767	     #include <sys/param.h>
4768
4769int
4770main ()
4771{
4772#if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
4773		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
4774		     && LITTLE_ENDIAN)
4775	      bogus endian macros
4776	     #endif
4777
4778  ;
4779  return 0;
4780}
4781_ACEOF
4782if ac_fn_c_try_compile "$LINENO"; then :
4783  # It does; now see whether it defined to BIG_ENDIAN or not.
4784	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4785/* end confdefs.h.  */
4786#include <sys/types.h>
4787		#include <sys/param.h>
4788
4789int
4790main ()
4791{
4792#if BYTE_ORDER != BIG_ENDIAN
4793		 not big endian
4794		#endif
4795
4796  ;
4797  return 0;
4798}
4799_ACEOF
4800if ac_fn_c_try_compile "$LINENO"; then :
4801  ac_cv_c_bigendian=yes
4802else
4803  ac_cv_c_bigendian=no
4804fi
4805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4806fi
4807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4808    fi
4809    if test $ac_cv_c_bigendian = unknown; then
4810      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
4811      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4812/* end confdefs.h.  */
4813#include <limits.h>
4814
4815int
4816main ()
4817{
4818#if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
4819	      bogus endian macros
4820	     #endif
4821
4822  ;
4823  return 0;
4824}
4825_ACEOF
4826if ac_fn_c_try_compile "$LINENO"; then :
4827  # It does; now see whether it defined to _BIG_ENDIAN or not.
4828	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4829/* end confdefs.h.  */
4830#include <limits.h>
4831
4832int
4833main ()
4834{
4835#ifndef _BIG_ENDIAN
4836		 not big endian
4837		#endif
4838
4839  ;
4840  return 0;
4841}
4842_ACEOF
4843if ac_fn_c_try_compile "$LINENO"; then :
4844  ac_cv_c_bigendian=yes
4845else
4846  ac_cv_c_bigendian=no
4847fi
4848rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4849fi
4850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4851    fi
4852    if test $ac_cv_c_bigendian = unknown; then
4853      # Compile a test program.
4854      if test "$cross_compiling" = yes; then :
4855  # Try to guess by grepping values from an object file.
4856	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857/* end confdefs.h.  */
4858short int ascii_mm[] =
4859		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4860		short int ascii_ii[] =
4861		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4862		int use_ascii (int i) {
4863		  return ascii_mm[i] + ascii_ii[i];
4864		}
4865		short int ebcdic_ii[] =
4866		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4867		short int ebcdic_mm[] =
4868		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4869		int use_ebcdic (int i) {
4870		  return ebcdic_mm[i] + ebcdic_ii[i];
4871		}
4872		extern int foo;
4873
4874int
4875main ()
4876{
4877return use_ascii (foo) == use_ebcdic (foo);
4878  ;
4879  return 0;
4880}
4881_ACEOF
4882if ac_fn_c_try_compile "$LINENO"; then :
4883  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
4884	      ac_cv_c_bigendian=yes
4885	    fi
4886	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4887	      if test "$ac_cv_c_bigendian" = unknown; then
4888		ac_cv_c_bigendian=no
4889	      else
4890		# finding both strings is unlikely to happen, but who knows?
4891		ac_cv_c_bigendian=unknown
4892	      fi
4893	    fi
4894fi
4895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4896else
4897  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4898/* end confdefs.h.  */
4899$ac_includes_default
4900int
4901main ()
4902{
4903
4904	     /* Are we little or big endian?  From Harbison&Steele.  */
4905	     union
4906	     {
4907	       long int l;
4908	       char c[sizeof (long int)];
4909	     } u;
4910	     u.l = 1;
4911	     return u.c[sizeof (long int) - 1] == 1;
4912
4913  ;
4914  return 0;
4915}
4916_ACEOF
4917if ac_fn_c_try_run "$LINENO"; then :
4918  ac_cv_c_bigendian=no
4919else
4920  ac_cv_c_bigendian=yes
4921fi
4922rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4923  conftest.$ac_objext conftest.beam conftest.$ac_ext
4924fi
4925
4926    fi
4927fi
4928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
4929$as_echo "$ac_cv_c_bigendian" >&6; }
4930 case $ac_cv_c_bigendian in #(
4931   yes)
4932     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
4933;; #(
4934   no)
4935      ;; #(
4936   universal)
4937
4938$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
4939
4940     ;; #(
4941   *)
4942     as_fn_error $? "unknown endianness
4943 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
4944 esac
4945
4946
4947# Check whether --enable-largefile was given.
4948if test "${enable_largefile+set}" = set; then :
4949  enableval=$enable_largefile;
4950fi
4951
4952if test "$enable_largefile" != no; then
4953
4954  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4955$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4956if ${ac_cv_sys_largefile_CC+:} false; then :
4957  $as_echo_n "(cached) " >&6
4958else
4959  ac_cv_sys_largefile_CC=no
4960     if test "$GCC" != yes; then
4961       ac_save_CC=$CC
4962       while :; do
4963	 # IRIX 6.2 and later do not support large files by default,
4964	 # so use the C compiler's -n32 option if that helps.
4965	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966/* end confdefs.h.  */
4967#include <sys/types.h>
4968 /* Check that off_t can represent 2**63 - 1 correctly.
4969    We can't simply define LARGE_OFF_T to be 9223372036854775807,
4970    since some C++ compilers masquerading as C compilers
4971    incorrectly reject 9223372036854775807.  */
4972#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
4973  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4974		       && LARGE_OFF_T % 2147483647 == 1)
4975		      ? 1 : -1];
4976int
4977main ()
4978{
4979
4980  ;
4981  return 0;
4982}
4983_ACEOF
4984	 if ac_fn_c_try_compile "$LINENO"; then :
4985  break
4986fi
4987rm -f core conftest.err conftest.$ac_objext
4988	 CC="$CC -n32"
4989	 if ac_fn_c_try_compile "$LINENO"; then :
4990  ac_cv_sys_largefile_CC=' -n32'; break
4991fi
4992rm -f core conftest.err conftest.$ac_objext
4993	 break
4994       done
4995       CC=$ac_save_CC
4996       rm -f conftest.$ac_ext
4997    fi
4998fi
4999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5000$as_echo "$ac_cv_sys_largefile_CC" >&6; }
5001  if test "$ac_cv_sys_largefile_CC" != no; then
5002    CC=$CC$ac_cv_sys_largefile_CC
5003  fi
5004
5005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5006$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5007if ${ac_cv_sys_file_offset_bits+:} false; then :
5008  $as_echo_n "(cached) " >&6
5009else
5010  while :; do
5011  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5012/* end confdefs.h.  */
5013#include <sys/types.h>
5014 /* Check that off_t can represent 2**63 - 1 correctly.
5015    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5016    since some C++ compilers masquerading as C compilers
5017    incorrectly reject 9223372036854775807.  */
5018#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5019  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5020		       && LARGE_OFF_T % 2147483647 == 1)
5021		      ? 1 : -1];
5022int
5023main ()
5024{
5025
5026  ;
5027  return 0;
5028}
5029_ACEOF
5030if ac_fn_c_try_compile "$LINENO"; then :
5031  ac_cv_sys_file_offset_bits=no; break
5032fi
5033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5034  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035/* end confdefs.h.  */
5036#define _FILE_OFFSET_BITS 64
5037#include <sys/types.h>
5038 /* Check that off_t can represent 2**63 - 1 correctly.
5039    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5040    since some C++ compilers masquerading as C compilers
5041    incorrectly reject 9223372036854775807.  */
5042#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5043  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5044		       && LARGE_OFF_T % 2147483647 == 1)
5045		      ? 1 : -1];
5046int
5047main ()
5048{
5049
5050  ;
5051  return 0;
5052}
5053_ACEOF
5054if ac_fn_c_try_compile "$LINENO"; then :
5055  ac_cv_sys_file_offset_bits=64; break
5056fi
5057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5058  ac_cv_sys_file_offset_bits=unknown
5059  break
5060done
5061fi
5062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5063$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5064case $ac_cv_sys_file_offset_bits in #(
5065  no | unknown) ;;
5066  *)
5067cat >>confdefs.h <<_ACEOF
5068#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5069_ACEOF
5070;;
5071esac
5072rm -rf conftest*
5073  if test $ac_cv_sys_file_offset_bits = unknown; then
5074    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5075$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5076if ${ac_cv_sys_large_files+:} false; then :
5077  $as_echo_n "(cached) " >&6
5078else
5079  while :; do
5080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5081/* end confdefs.h.  */
5082#include <sys/types.h>
5083 /* Check that off_t can represent 2**63 - 1 correctly.
5084    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5085    since some C++ compilers masquerading as C compilers
5086    incorrectly reject 9223372036854775807.  */
5087#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5088  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5089		       && LARGE_OFF_T % 2147483647 == 1)
5090		      ? 1 : -1];
5091int
5092main ()
5093{
5094
5095  ;
5096  return 0;
5097}
5098_ACEOF
5099if ac_fn_c_try_compile "$LINENO"; then :
5100  ac_cv_sys_large_files=no; break
5101fi
5102rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5103  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5104/* end confdefs.h.  */
5105#define _LARGE_FILES 1
5106#include <sys/types.h>
5107 /* Check that off_t can represent 2**63 - 1 correctly.
5108    We can't simply define LARGE_OFF_T to be 9223372036854775807,
5109    since some C++ compilers masquerading as C compilers
5110    incorrectly reject 9223372036854775807.  */
5111#define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
5112  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5113		       && LARGE_OFF_T % 2147483647 == 1)
5114		      ? 1 : -1];
5115int
5116main ()
5117{
5118
5119  ;
5120  return 0;
5121}
5122_ACEOF
5123if ac_fn_c_try_compile "$LINENO"; then :
5124  ac_cv_sys_large_files=1; break
5125fi
5126rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5127  ac_cv_sys_large_files=unknown
5128  break
5129done
5130fi
5131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5132$as_echo "$ac_cv_sys_large_files" >&6; }
5133case $ac_cv_sys_large_files in #(
5134  no | unknown) ;;
5135  *)
5136cat >>confdefs.h <<_ACEOF
5137#define _LARGE_FILES $ac_cv_sys_large_files
5138_ACEOF
5139;;
5140esac
5141rm -rf conftest*
5142  fi
5143
5144
5145fi
5146
5147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
5148$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
5149if ${ac_cv_sys_largefile_source+:} false; then :
5150  $as_echo_n "(cached) " >&6
5151else
5152  while :; do
5153  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5154/* end confdefs.h.  */
5155#include <sys/types.h> /* for off_t */
5156     #include <stdio.h>
5157int
5158main ()
5159{
5160int (*fp) (FILE *, off_t, int) = fseeko;
5161     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
5162  ;
5163  return 0;
5164}
5165_ACEOF
5166if ac_fn_c_try_link "$LINENO"; then :
5167  ac_cv_sys_largefile_source=no; break
5168fi
5169rm -f core conftest.err conftest.$ac_objext \
5170    conftest$ac_exeext conftest.$ac_ext
5171  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172/* end confdefs.h.  */
5173#define _LARGEFILE_SOURCE 1
5174#include <sys/types.h> /* for off_t */
5175     #include <stdio.h>
5176int
5177main ()
5178{
5179int (*fp) (FILE *, off_t, int) = fseeko;
5180     return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
5181  ;
5182  return 0;
5183}
5184_ACEOF
5185if ac_fn_c_try_link "$LINENO"; then :
5186  ac_cv_sys_largefile_source=1; break
5187fi
5188rm -f core conftest.err conftest.$ac_objext \
5189    conftest$ac_exeext conftest.$ac_ext
5190  ac_cv_sys_largefile_source=unknown
5191  break
5192done
5193fi
5194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
5195$as_echo "$ac_cv_sys_largefile_source" >&6; }
5196case $ac_cv_sys_largefile_source in #(
5197  no | unknown) ;;
5198  *)
5199cat >>confdefs.h <<_ACEOF
5200#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
5201_ACEOF
5202;;
5203esac
5204rm -rf conftest*
5205
5206# We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
5207# in glibc 2.1.3, but that breaks too many other things.
5208# If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
5209if test $ac_cv_sys_largefile_source != unknown; then
5210
5211$as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
5212
5213fi
5214
5215ac_fn_c_check_func "$LINENO" "fseeko" "ac_cv_func_fseeko"
5216if test "x$ac_cv_func_fseeko" = xyes; then :
5217
5218fi
5219
5220if test ! $ac_cv_func_fseeko; then
5221   as_fn_error $? "Libburn requires largefile support." "$LINENO" 5
5222fi
5223
5224if test x$LIBISOBURN_OLD_ICONV_CONFIGURE = x
5225then
5226
5227
5228
5229    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv() in separate  " >&5
5230$as_echo_n "checking for iconv() in separate  ... " >&6; }
5231  libburnia_liconv="no"
5232  libburnia_save_LIBS="$LIBS"
5233  LIBS="$LIBS "
5234  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235/* end confdefs.h.  */
5236#include <stdlib.h>
5237#include <iconv.h>
5238int
5239main ()
5240{
5241iconv_t cd = iconv_open("","");
5242     iconv(cd,NULL,NULL,NULL,NULL);
5243     iconv_close(cd);
5244  ;
5245  return 0;
5246}
5247_ACEOF
5248if ac_fn_c_try_link "$LINENO"; then :
5249  libburnia_liconv="yes"
5250else
5251  LIBS="$libburnia_save_LIBS"
5252
5253fi
5254rm -f core conftest.err conftest.$ac_objext \
5255    conftest$ac_exeext conftest.$ac_ext
5256  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libburnia_liconv" >&5
5257$as_echo "$libburnia_liconv" >&6; }
5258
5259  if test x"$libburnia_save_LIBS" = x"$LIBS"
5260  then
5261            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv in " >&5
5262$as_echo_n "checking for libiconv in ... " >&6; }
5263if ${ac_cv_lib_iconv_libiconv+:} false; then :
5264  $as_echo_n "(cached) " >&6
5265else
5266  ac_check_lib_save_LIBS=$LIBS
5267LIBS="  $LIBS"
5268cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269/* end confdefs.h.  */
5270
5271/* Override any GCC internal prototype to avoid an error.
5272   Use char because int might match the return type of a GCC
5273   builtin and then its argument prototype would still apply.  */
5274#ifdef __cplusplus
5275extern "C"
5276#endif
5277char libiconv ();
5278int
5279main ()
5280{
5281return libiconv ();
5282  ;
5283  return 0;
5284}
5285_ACEOF
5286if ac_fn_c_try_link "$LINENO"; then :
5287  ac_cv_lib_iconv_libiconv=yes
5288else
5289  ac_cv_lib_iconv_libiconv=no
5290fi
5291rm -f core conftest.err conftest.$ac_objext \
5292    conftest$ac_exeext conftest.$ac_ext
5293LIBS=$ac_check_lib_save_LIBS
5294fi
5295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv" >&5
5296$as_echo "$ac_cv_lib_iconv_libiconv" >&6; }
5297if test "x$ac_cv_lib_iconv_libiconv" = xyes; then :
5298  cat >>confdefs.h <<_ACEOF
5299#define HAVE_LIBICONV 1
5300_ACEOF
5301
5302  LIBS=" $LIBS"
5303
5304fi
5305
5306  fi
5307
5308    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for const qualifier with iconv() " >&5
5309$as_echo_n "checking for const qualifier with iconv() ... " >&6; }
5310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311/* end confdefs.h.  */
5312
5313#include <stdlib.h>
5314#include <iconv.h>
5315size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
5316
5317int
5318main ()
5319{
5320
5321  ;
5322  return 0;
5323}
5324_ACEOF
5325if ac_fn_c_try_compile "$LINENO"; then :
5326  libburnia_iconv_const=""
5327else
5328  libburnia_iconv_const="const"
5329
5330fi
5331rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332  if test x$libburnia_iconv_const = xconst
5333  then
5334    cat >>confdefs.h <<_ACEOF
5335#define ICONV_CONST const
5336_ACEOF
5337
5338  else
5339    cat >>confdefs.h <<_ACEOF
5340#define ICONV_CONST /**/
5341_ACEOF
5342
5343  fi
5344  test -z "$libburnia_iconv_const" && libburnia_iconv_const="no"
5345  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libburnia_iconv_const" >&5
5346$as_echo "$libburnia_iconv_const" >&6; }
5347
5348
5349else
5350
5351    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv in " >&5
5352$as_echo_n "checking for iconv in ... " >&6; }
5353if ${ac_cv_lib_iconv_iconv+:} false; then :
5354  $as_echo_n "(cached) " >&6
5355else
5356  ac_check_lib_save_LIBS=$LIBS
5357LIBS="  $LIBS"
5358cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359/* end confdefs.h.  */
5360
5361/* Override any GCC internal prototype to avoid an error.
5362   Use char because int might match the return type of a GCC
5363   builtin and then its argument prototype would still apply.  */
5364#ifdef __cplusplus
5365extern "C"
5366#endif
5367char iconv ();
5368int
5369main ()
5370{
5371return iconv ();
5372  ;
5373  return 0;
5374}
5375_ACEOF
5376if ac_fn_c_try_link "$LINENO"; then :
5377  ac_cv_lib_iconv_iconv=yes
5378else
5379  ac_cv_lib_iconv_iconv=no
5380fi
5381rm -f core conftest.err conftest.$ac_objext \
5382    conftest$ac_exeext conftest.$ac_ext
5383LIBS=$ac_check_lib_save_LIBS
5384fi
5385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_iconv" >&5
5386$as_echo "$ac_cv_lib_iconv_iconv" >&6; }
5387if test "x$ac_cv_lib_iconv_iconv" = xyes; then :
5388  cat >>confdefs.h <<_ACEOF
5389#define HAVE_LIBICONV 1
5390_ACEOF
5391
5392  LIBS=" $LIBS"
5393
5394fi
5395
5396    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv in " >&5
5397$as_echo_n "checking for libiconv in ... " >&6; }
5398if ${ac_cv_lib_iconv_libiconv+:} false; then :
5399  $as_echo_n "(cached) " >&6
5400else
5401  ac_check_lib_save_LIBS=$LIBS
5402LIBS="  $LIBS"
5403cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5404/* end confdefs.h.  */
5405
5406/* Override any GCC internal prototype to avoid an error.
5407   Use char because int might match the return type of a GCC
5408   builtin and then its argument prototype would still apply.  */
5409#ifdef __cplusplus
5410extern "C"
5411#endif
5412char libiconv ();
5413int
5414main ()
5415{
5416return libiconv ();
5417  ;
5418  return 0;
5419}
5420_ACEOF
5421if ac_fn_c_try_link "$LINENO"; then :
5422  ac_cv_lib_iconv_libiconv=yes
5423else
5424  ac_cv_lib_iconv_libiconv=no
5425fi
5426rm -f core conftest.err conftest.$ac_objext \
5427    conftest$ac_exeext conftest.$ac_ext
5428LIBS=$ac_check_lib_save_LIBS
5429fi
5430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv" >&5
5431$as_echo "$ac_cv_lib_iconv_libiconv" >&6; }
5432if test "x$ac_cv_lib_iconv_libiconv" = xyes; then :
5433  cat >>confdefs.h <<_ACEOF
5434#define HAVE_LIBICONV 1
5435_ACEOF
5436
5437  LIBS=" $LIBS"
5438
5439fi
5440
5441
5442fi
5443
5444case `pwd` in
5445  *\ * | *\	*)
5446    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5447$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5448esac
5449
5450
5451
5452macro_version='2.4.2'
5453macro_revision='1.3337'
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467ltmain="$ac_aux_dir/ltmain.sh"
5468
5469# Backslashify metacharacters that are still active within
5470# double-quoted strings.
5471sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5472
5473# Same as above, but do not quote variable references.
5474double_quote_subst='s/\(["`\\]\)/\\\1/g'
5475
5476# Sed substitution to delay expansion of an escaped shell variable in a
5477# double_quote_subst'ed string.
5478delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5479
5480# Sed substitution to delay expansion of an escaped single quote.
5481delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5482
5483# Sed substitution to avoid accidental globbing in evaled expressions
5484no_glob_subst='s/\*/\\\*/g'
5485
5486ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5487ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5488ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5489
5490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5491$as_echo_n "checking how to print strings... " >&6; }
5492# Test print first, because it will be a builtin if present.
5493if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5494   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5495  ECHO='print -r --'
5496elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5497  ECHO='printf %s\n'
5498else
5499  # Use this function as a fallback that always works.
5500  func_fallback_echo ()
5501  {
5502    eval 'cat <<_LTECHO_EOF
5503$1
5504_LTECHO_EOF'
5505  }
5506  ECHO='func_fallback_echo'
5507fi
5508
5509# func_echo_all arg...
5510# Invoke $ECHO with all args, space-separated.
5511func_echo_all ()
5512{
5513    $ECHO ""
5514}
5515
5516case "$ECHO" in
5517  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5518$as_echo "printf" >&6; } ;;
5519  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5520$as_echo "print -r" >&6; } ;;
5521  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5522$as_echo "cat" >&6; } ;;
5523esac
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5539$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5540if ${ac_cv_path_SED+:} false; then :
5541  $as_echo_n "(cached) " >&6
5542else
5543            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5544     for ac_i in 1 2 3 4 5 6 7; do
5545       ac_script="$ac_script$as_nl$ac_script"
5546     done
5547     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5548     { ac_script=; unset ac_script;}
5549     if test -z "$SED"; then
5550  ac_path_SED_found=false
5551  # Loop through the user's path and test for each of PROGNAME-LIST
5552  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5553for as_dir in $PATH
5554do
5555  IFS=$as_save_IFS
5556  test -z "$as_dir" && as_dir=.
5557    for ac_prog in sed gsed; do
5558    for ac_exec_ext in '' $ac_executable_extensions; do
5559      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5560      as_fn_executable_p "$ac_path_SED" || continue
5561# Check for GNU ac_path_SED and select it if it is found.
5562  # Check for GNU $ac_path_SED
5563case `"$ac_path_SED" --version 2>&1` in
5564*GNU*)
5565  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5566*)
5567  ac_count=0
5568  $as_echo_n 0123456789 >"conftest.in"
5569  while :
5570  do
5571    cat "conftest.in" "conftest.in" >"conftest.tmp"
5572    mv "conftest.tmp" "conftest.in"
5573    cp "conftest.in" "conftest.nl"
5574    $as_echo '' >> "conftest.nl"
5575    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5576    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5577    as_fn_arith $ac_count + 1 && ac_count=$as_val
5578    if test $ac_count -gt ${ac_path_SED_max-0}; then
5579      # Best one so far, save it but keep looking for a better one
5580      ac_cv_path_SED="$ac_path_SED"
5581      ac_path_SED_max=$ac_count
5582    fi
5583    # 10*(2^10) chars as input seems more than enough
5584    test $ac_count -gt 10 && break
5585  done
5586  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5587esac
5588
5589      $ac_path_SED_found && break 3
5590    done
5591  done
5592  done
5593IFS=$as_save_IFS
5594  if test -z "$ac_cv_path_SED"; then
5595    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5596  fi
5597else
5598  ac_cv_path_SED=$SED
5599fi
5600
5601fi
5602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5603$as_echo "$ac_cv_path_SED" >&6; }
5604 SED="$ac_cv_path_SED"
5605  rm -f conftest.sed
5606
5607test -z "$SED" && SED=sed
5608Xsed="$SED -e 1s/^X//"
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5621$as_echo_n "checking for fgrep... " >&6; }
5622if ${ac_cv_path_FGREP+:} false; then :
5623  $as_echo_n "(cached) " >&6
5624else
5625  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5626   then ac_cv_path_FGREP="$GREP -F"
5627   else
5628     if test -z "$FGREP"; then
5629  ac_path_FGREP_found=false
5630  # Loop through the user's path and test for each of PROGNAME-LIST
5631  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5632for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5633do
5634  IFS=$as_save_IFS
5635  test -z "$as_dir" && as_dir=.
5636    for ac_prog in fgrep; do
5637    for ac_exec_ext in '' $ac_executable_extensions; do
5638      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5639      as_fn_executable_p "$ac_path_FGREP" || continue
5640# Check for GNU ac_path_FGREP and select it if it is found.
5641  # Check for GNU $ac_path_FGREP
5642case `"$ac_path_FGREP" --version 2>&1` in
5643*GNU*)
5644  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5645*)
5646  ac_count=0
5647  $as_echo_n 0123456789 >"conftest.in"
5648  while :
5649  do
5650    cat "conftest.in" "conftest.in" >"conftest.tmp"
5651    mv "conftest.tmp" "conftest.in"
5652    cp "conftest.in" "conftest.nl"
5653    $as_echo 'FGREP' >> "conftest.nl"
5654    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5655    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5656    as_fn_arith $ac_count + 1 && ac_count=$as_val
5657    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5658      # Best one so far, save it but keep looking for a better one
5659      ac_cv_path_FGREP="$ac_path_FGREP"
5660      ac_path_FGREP_max=$ac_count
5661    fi
5662    # 10*(2^10) chars as input seems more than enough
5663    test $ac_count -gt 10 && break
5664  done
5665  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5666esac
5667
5668      $ac_path_FGREP_found && break 3
5669    done
5670  done
5671  done
5672IFS=$as_save_IFS
5673  if test -z "$ac_cv_path_FGREP"; then
5674    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5675  fi
5676else
5677  ac_cv_path_FGREP=$FGREP
5678fi
5679
5680   fi
5681fi
5682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5683$as_echo "$ac_cv_path_FGREP" >&6; }
5684 FGREP="$ac_cv_path_FGREP"
5685
5686
5687test -z "$GREP" && GREP=grep
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707# Check whether --with-gnu-ld was given.
5708if test "${with_gnu_ld+set}" = set; then :
5709  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5710else
5711  with_gnu_ld=no
5712fi
5713
5714ac_prog=ld
5715if test "$GCC" = yes; then
5716  # Check if gcc -print-prog-name=ld gives a path.
5717  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5718$as_echo_n "checking for ld used by $CC... " >&6; }
5719  case $host in
5720  *-*-mingw*)
5721    # gcc leaves a trailing carriage return which upsets mingw
5722    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5723  *)
5724    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5725  esac
5726  case $ac_prog in
5727    # Accept absolute paths.
5728    [\\/]* | ?:[\\/]*)
5729      re_direlt='/[^/][^/]*/\.\./'
5730      # Canonicalize the pathname of ld
5731      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5732      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5733	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5734      done
5735      test -z "$LD" && LD="$ac_prog"
5736      ;;
5737  "")
5738    # If it fails, then pretend we aren't using GCC.
5739    ac_prog=ld
5740    ;;
5741  *)
5742    # If it is relative, then search for the first ld in PATH.
5743    with_gnu_ld=unknown
5744    ;;
5745  esac
5746elif test "$with_gnu_ld" = yes; then
5747  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5748$as_echo_n "checking for GNU ld... " >&6; }
5749else
5750  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5751$as_echo_n "checking for non-GNU ld... " >&6; }
5752fi
5753if ${lt_cv_path_LD+:} false; then :
5754  $as_echo_n "(cached) " >&6
5755else
5756  if test -z "$LD"; then
5757  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5758  for ac_dir in $PATH; do
5759    IFS="$lt_save_ifs"
5760    test -z "$ac_dir" && ac_dir=.
5761    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5762      lt_cv_path_LD="$ac_dir/$ac_prog"
5763      # Check to see if the program is GNU ld.  I'd rather use --version,
5764      # but apparently some variants of GNU ld only accept -v.
5765      # Break only if it was the GNU/non-GNU ld that we prefer.
5766      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5767      *GNU* | *'with BFD'*)
5768	test "$with_gnu_ld" != no && break
5769	;;
5770      *)
5771	test "$with_gnu_ld" != yes && break
5772	;;
5773      esac
5774    fi
5775  done
5776  IFS="$lt_save_ifs"
5777else
5778  lt_cv_path_LD="$LD" # Let the user override the test with a path.
5779fi
5780fi
5781
5782LD="$lt_cv_path_LD"
5783if test -n "$LD"; then
5784  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5785$as_echo "$LD" >&6; }
5786else
5787  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5788$as_echo "no" >&6; }
5789fi
5790test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5792$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5793if ${lt_cv_prog_gnu_ld+:} false; then :
5794  $as_echo_n "(cached) " >&6
5795else
5796  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5797case `$LD -v 2>&1 </dev/null` in
5798*GNU* | *'with BFD'*)
5799  lt_cv_prog_gnu_ld=yes
5800  ;;
5801*)
5802  lt_cv_prog_gnu_ld=no
5803  ;;
5804esac
5805fi
5806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5807$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5808with_gnu_ld=$lt_cv_prog_gnu_ld
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5819$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5820if ${lt_cv_path_NM+:} false; then :
5821  $as_echo_n "(cached) " >&6
5822else
5823  if test -n "$NM"; then
5824  # Let the user override the test.
5825  lt_cv_path_NM="$NM"
5826else
5827  lt_nm_to_check="${ac_tool_prefix}nm"
5828  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5829    lt_nm_to_check="$lt_nm_to_check nm"
5830  fi
5831  for lt_tmp_nm in $lt_nm_to_check; do
5832    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5833    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5834      IFS="$lt_save_ifs"
5835      test -z "$ac_dir" && ac_dir=.
5836      tmp_nm="$ac_dir/$lt_tmp_nm"
5837      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5838	# Check to see if the nm accepts a BSD-compat flag.
5839	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
5840	#   nm: unknown option "B" ignored
5841	# Tru64's nm complains that /dev/null is an invalid object file
5842	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5843	*/dev/null* | *'Invalid file or object type'*)
5844	  lt_cv_path_NM="$tmp_nm -B"
5845	  break
5846	  ;;
5847	*)
5848	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5849	  */dev/null*)
5850	    lt_cv_path_NM="$tmp_nm -p"
5851	    break
5852	    ;;
5853	  *)
5854	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5855	    continue # so that we can try to find one that supports BSD flags
5856	    ;;
5857	  esac
5858	  ;;
5859	esac
5860      fi
5861    done
5862    IFS="$lt_save_ifs"
5863  done
5864  : ${lt_cv_path_NM=no}
5865fi
5866fi
5867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5868$as_echo "$lt_cv_path_NM" >&6; }
5869if test "$lt_cv_path_NM" != "no"; then
5870  NM="$lt_cv_path_NM"
5871else
5872  # Didn't find any BSD compatible name lister, look for dumpbin.
5873  if test -n "$DUMPBIN"; then :
5874    # Let the user override the test.
5875  else
5876    if test -n "$ac_tool_prefix"; then
5877  for ac_prog in dumpbin "link -dump"
5878  do
5879    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5880set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5882$as_echo_n "checking for $ac_word... " >&6; }
5883if ${ac_cv_prog_DUMPBIN+:} false; then :
5884  $as_echo_n "(cached) " >&6
5885else
5886  if test -n "$DUMPBIN"; then
5887  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5888else
5889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890for as_dir in $PATH
5891do
5892  IFS=$as_save_IFS
5893  test -z "$as_dir" && as_dir=.
5894    for ac_exec_ext in '' $ac_executable_extensions; do
5895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5898    break 2
5899  fi
5900done
5901  done
5902IFS=$as_save_IFS
5903
5904fi
5905fi
5906DUMPBIN=$ac_cv_prog_DUMPBIN
5907if test -n "$DUMPBIN"; then
5908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5909$as_echo "$DUMPBIN" >&6; }
5910else
5911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5912$as_echo "no" >&6; }
5913fi
5914
5915
5916    test -n "$DUMPBIN" && break
5917  done
5918fi
5919if test -z "$DUMPBIN"; then
5920  ac_ct_DUMPBIN=$DUMPBIN
5921  for ac_prog in dumpbin "link -dump"
5922do
5923  # Extract the first word of "$ac_prog", so it can be a program name with args.
5924set dummy $ac_prog; ac_word=$2
5925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5926$as_echo_n "checking for $ac_word... " >&6; }
5927if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5928  $as_echo_n "(cached) " >&6
5929else
5930  if test -n "$ac_ct_DUMPBIN"; then
5931  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5932else
5933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5934for as_dir in $PATH
5935do
5936  IFS=$as_save_IFS
5937  test -z "$as_dir" && as_dir=.
5938    for ac_exec_ext in '' $ac_executable_extensions; do
5939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5940    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5942    break 2
5943  fi
5944done
5945  done
5946IFS=$as_save_IFS
5947
5948fi
5949fi
5950ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5951if test -n "$ac_ct_DUMPBIN"; then
5952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5953$as_echo "$ac_ct_DUMPBIN" >&6; }
5954else
5955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5956$as_echo "no" >&6; }
5957fi
5958
5959
5960  test -n "$ac_ct_DUMPBIN" && break
5961done
5962
5963  if test "x$ac_ct_DUMPBIN" = x; then
5964    DUMPBIN=":"
5965  else
5966    case $cross_compiling:$ac_tool_warned in
5967yes:)
5968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5970ac_tool_warned=yes ;;
5971esac
5972    DUMPBIN=$ac_ct_DUMPBIN
5973  fi
5974fi
5975
5976    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5977    *COFF*)
5978      DUMPBIN="$DUMPBIN -symbols"
5979      ;;
5980    *)
5981      DUMPBIN=:
5982      ;;
5983    esac
5984  fi
5985
5986  if test "$DUMPBIN" != ":"; then
5987    NM="$DUMPBIN"
5988  fi
5989fi
5990test -z "$NM" && NM=nm
5991
5992
5993
5994
5995
5996
5997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5998$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5999if ${lt_cv_nm_interface+:} false; then :
6000  $as_echo_n "(cached) " >&6
6001else
6002  lt_cv_nm_interface="BSD nm"
6003  echo "int some_variable = 0;" > conftest.$ac_ext
6004  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6005  (eval "$ac_compile" 2>conftest.err)
6006  cat conftest.err >&5
6007  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6008  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6009  cat conftest.err >&5
6010  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6011  cat conftest.out >&5
6012  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6013    lt_cv_nm_interface="MS dumpbin"
6014  fi
6015  rm -f conftest*
6016fi
6017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6018$as_echo "$lt_cv_nm_interface" >&6; }
6019
6020{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6021$as_echo_n "checking whether ln -s works... " >&6; }
6022LN_S=$as_ln_s
6023if test "$LN_S" = "ln -s"; then
6024  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6025$as_echo "yes" >&6; }
6026else
6027  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6028$as_echo "no, using $LN_S" >&6; }
6029fi
6030
6031# find the maximum length of command line arguments
6032{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6033$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6034if ${lt_cv_sys_max_cmd_len+:} false; then :
6035  $as_echo_n "(cached) " >&6
6036else
6037    i=0
6038  teststring="ABCD"
6039
6040  case $build_os in
6041  msdosdjgpp*)
6042    # On DJGPP, this test can blow up pretty badly due to problems in libc
6043    # (any single argument exceeding 2000 bytes causes a buffer overrun
6044    # during glob expansion).  Even if it were fixed, the result of this
6045    # check would be larger than it should be.
6046    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
6047    ;;
6048
6049  gnu*)
6050    # Under GNU Hurd, this test is not required because there is
6051    # no limit to the length of command line arguments.
6052    # Libtool will interpret -1 as no limit whatsoever
6053    lt_cv_sys_max_cmd_len=-1;
6054    ;;
6055
6056  cygwin* | mingw* | cegcc*)
6057    # On Win9x/ME, this test blows up -- it succeeds, but takes
6058    # about 5 minutes as the teststring grows exponentially.
6059    # Worse, since 9x/ME are not pre-emptively multitasking,
6060    # you end up with a "frozen" computer, even though with patience
6061    # the test eventually succeeds (with a max line length of 256k).
6062    # Instead, let's just punt: use the minimum linelength reported by
6063    # all of the supported platforms: 8192 (on NT/2K/XP).
6064    lt_cv_sys_max_cmd_len=8192;
6065    ;;
6066
6067  mint*)
6068    # On MiNT this can take a long time and run out of memory.
6069    lt_cv_sys_max_cmd_len=8192;
6070    ;;
6071
6072  amigaos*)
6073    # On AmigaOS with pdksh, this test takes hours, literally.
6074    # So we just punt and use a minimum line length of 8192.
6075    lt_cv_sys_max_cmd_len=8192;
6076    ;;
6077
6078  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6079    # This has been around since 386BSD, at least.  Likely further.
6080    if test -x /sbin/sysctl; then
6081      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6082    elif test -x /usr/sbin/sysctl; then
6083      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6084    else
6085      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
6086    fi
6087    # And add a safety zone
6088    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6089    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6090    ;;
6091
6092  interix*)
6093    # We know the value 262144 and hardcode it with a safety zone (like BSD)
6094    lt_cv_sys_max_cmd_len=196608
6095    ;;
6096
6097  os2*)
6098    # The test takes a long time on OS/2.
6099    lt_cv_sys_max_cmd_len=8192
6100    ;;
6101
6102  osf*)
6103    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6104    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6105    # nice to cause kernel panics so lets avoid the loop below.
6106    # First set a reasonable default.
6107    lt_cv_sys_max_cmd_len=16384
6108    #
6109    if test -x /sbin/sysconfig; then
6110      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6111        *1*) lt_cv_sys_max_cmd_len=-1 ;;
6112      esac
6113    fi
6114    ;;
6115  sco3.2v5*)
6116    lt_cv_sys_max_cmd_len=102400
6117    ;;
6118  sysv5* | sco5v6* | sysv4.2uw2*)
6119    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6120    if test -n "$kargmax"; then
6121      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
6122    else
6123      lt_cv_sys_max_cmd_len=32768
6124    fi
6125    ;;
6126  *)
6127    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6128    if test -n "$lt_cv_sys_max_cmd_len" && \
6129	test undefined != "$lt_cv_sys_max_cmd_len"; then
6130      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6131      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6132    else
6133      # Make teststring a little bigger before we do anything with it.
6134      # a 1K string should be a reasonable start.
6135      for i in 1 2 3 4 5 6 7 8 ; do
6136        teststring=$teststring$teststring
6137      done
6138      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6139      # If test is not a shell built-in, we'll probably end up computing a
6140      # maximum length that is only half of the actual maximum length, but
6141      # we can't tell.
6142      while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
6143	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6144	      test $i != 17 # 1/2 MB should be enough
6145      do
6146        i=`expr $i + 1`
6147        teststring=$teststring$teststring
6148      done
6149      # Only check the string length outside the loop.
6150      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6151      teststring=
6152      # Add a significant safety factor because C++ compilers can tack on
6153      # massive amounts of additional arguments before passing them to the
6154      # linker.  It appears as though 1/2 is a usable value.
6155      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6156    fi
6157    ;;
6158  esac
6159
6160fi
6161
6162if test -n $lt_cv_sys_max_cmd_len ; then
6163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6164$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6165else
6166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6167$as_echo "none" >&6; }
6168fi
6169max_cmd_len=$lt_cv_sys_max_cmd_len
6170
6171
6172
6173
6174
6175
6176: ${CP="cp -f"}
6177: ${MV="mv -f"}
6178: ${RM="rm -f"}
6179
6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6181$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6182# Try some XSI features
6183xsi_shell=no
6184( _lt_dummy="a/b/c"
6185  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
6186      = c,a/b,b/c, \
6187    && eval 'test $(( 1 + 1 )) -eq 2 \
6188    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6189  && xsi_shell=yes
6190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6191$as_echo "$xsi_shell" >&6; }
6192
6193
6194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6195$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6196lt_shell_append=no
6197( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6198    >/dev/null 2>&1 \
6199  && lt_shell_append=yes
6200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6201$as_echo "$lt_shell_append" >&6; }
6202
6203
6204if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6205  lt_unset=unset
6206else
6207  lt_unset=false
6208fi
6209
6210
6211
6212
6213
6214# test EBCDIC or ASCII
6215case `echo X|tr X '\101'` in
6216 A) # ASCII based system
6217    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6218  lt_SP2NL='tr \040 \012'
6219  lt_NL2SP='tr \015\012 \040\040'
6220  ;;
6221 *) # EBCDIC based system
6222  lt_SP2NL='tr \100 \n'
6223  lt_NL2SP='tr \r\n \100\100'
6224  ;;
6225esac
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6236$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6237if ${lt_cv_to_host_file_cmd+:} false; then :
6238  $as_echo_n "(cached) " >&6
6239else
6240  case $host in
6241  *-*-mingw* )
6242    case $build in
6243      *-*-mingw* ) # actually msys
6244        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6245        ;;
6246      *-*-cygwin* )
6247        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6248        ;;
6249      * ) # otherwise, assume *nix
6250        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6251        ;;
6252    esac
6253    ;;
6254  *-*-cygwin* )
6255    case $build in
6256      *-*-mingw* ) # actually msys
6257        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6258        ;;
6259      *-*-cygwin* )
6260        lt_cv_to_host_file_cmd=func_convert_file_noop
6261        ;;
6262      * ) # otherwise, assume *nix
6263        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6264        ;;
6265    esac
6266    ;;
6267  * ) # unhandled hosts (and "normal" native builds)
6268    lt_cv_to_host_file_cmd=func_convert_file_noop
6269    ;;
6270esac
6271
6272fi
6273
6274to_host_file_cmd=$lt_cv_to_host_file_cmd
6275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6276$as_echo "$lt_cv_to_host_file_cmd" >&6; }
6277
6278
6279
6280
6281
6282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6283$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6284if ${lt_cv_to_tool_file_cmd+:} false; then :
6285  $as_echo_n "(cached) " >&6
6286else
6287  #assume ordinary cross tools, or native build.
6288lt_cv_to_tool_file_cmd=func_convert_file_noop
6289case $host in
6290  *-*-mingw* )
6291    case $build in
6292      *-*-mingw* ) # actually msys
6293        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6294        ;;
6295    esac
6296    ;;
6297esac
6298
6299fi
6300
6301to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6303$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6304
6305
6306
6307
6308
6309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6310$as_echo_n "checking for $LD option to reload object files... " >&6; }
6311if ${lt_cv_ld_reload_flag+:} false; then :
6312  $as_echo_n "(cached) " >&6
6313else
6314  lt_cv_ld_reload_flag='-r'
6315fi
6316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6317$as_echo "$lt_cv_ld_reload_flag" >&6; }
6318reload_flag=$lt_cv_ld_reload_flag
6319case $reload_flag in
6320"" | " "*) ;;
6321*) reload_flag=" $reload_flag" ;;
6322esac
6323reload_cmds='$LD$reload_flag -o $output$reload_objs'
6324case $host_os in
6325  cygwin* | mingw* | pw32* | cegcc*)
6326    if test "$GCC" != yes; then
6327      reload_cmds=false
6328    fi
6329    ;;
6330  darwin*)
6331    if test "$GCC" = yes; then
6332      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6333    else
6334      reload_cmds='$LD$reload_flag -o $output$reload_objs'
6335    fi
6336    ;;
6337esac
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347if test -n "$ac_tool_prefix"; then
6348  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6349set dummy ${ac_tool_prefix}objdump; ac_word=$2
6350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6351$as_echo_n "checking for $ac_word... " >&6; }
6352if ${ac_cv_prog_OBJDUMP+:} false; then :
6353  $as_echo_n "(cached) " >&6
6354else
6355  if test -n "$OBJDUMP"; then
6356  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6357else
6358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6359for as_dir in $PATH
6360do
6361  IFS=$as_save_IFS
6362  test -z "$as_dir" && as_dir=.
6363    for ac_exec_ext in '' $ac_executable_extensions; do
6364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6365    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6367    break 2
6368  fi
6369done
6370  done
6371IFS=$as_save_IFS
6372
6373fi
6374fi
6375OBJDUMP=$ac_cv_prog_OBJDUMP
6376if test -n "$OBJDUMP"; then
6377  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6378$as_echo "$OBJDUMP" >&6; }
6379else
6380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6381$as_echo "no" >&6; }
6382fi
6383
6384
6385fi
6386if test -z "$ac_cv_prog_OBJDUMP"; then
6387  ac_ct_OBJDUMP=$OBJDUMP
6388  # Extract the first word of "objdump", so it can be a program name with args.
6389set dummy objdump; ac_word=$2
6390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6391$as_echo_n "checking for $ac_word... " >&6; }
6392if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6393  $as_echo_n "(cached) " >&6
6394else
6395  if test -n "$ac_ct_OBJDUMP"; then
6396  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6397else
6398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6399for as_dir in $PATH
6400do
6401  IFS=$as_save_IFS
6402  test -z "$as_dir" && as_dir=.
6403    for ac_exec_ext in '' $ac_executable_extensions; do
6404  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6405    ac_cv_prog_ac_ct_OBJDUMP="objdump"
6406    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6407    break 2
6408  fi
6409done
6410  done
6411IFS=$as_save_IFS
6412
6413fi
6414fi
6415ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6416if test -n "$ac_ct_OBJDUMP"; then
6417  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6418$as_echo "$ac_ct_OBJDUMP" >&6; }
6419else
6420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6421$as_echo "no" >&6; }
6422fi
6423
6424  if test "x$ac_ct_OBJDUMP" = x; then
6425    OBJDUMP="false"
6426  else
6427    case $cross_compiling:$ac_tool_warned in
6428yes:)
6429{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6430$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6431ac_tool_warned=yes ;;
6432esac
6433    OBJDUMP=$ac_ct_OBJDUMP
6434  fi
6435else
6436  OBJDUMP="$ac_cv_prog_OBJDUMP"
6437fi
6438
6439test -z "$OBJDUMP" && OBJDUMP=objdump
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6450$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6451if ${lt_cv_deplibs_check_method+:} false; then :
6452  $as_echo_n "(cached) " >&6
6453else
6454  lt_cv_file_magic_cmd='$MAGIC_CMD'
6455lt_cv_file_magic_test_file=
6456lt_cv_deplibs_check_method='unknown'
6457# Need to set the preceding variable on all platforms that support
6458# interlibrary dependencies.
6459# 'none' -- dependencies not supported.
6460# `unknown' -- same as none, but documents that we really don't know.
6461# 'pass_all' -- all dependencies passed with no checks.
6462# 'test_compile' -- check by making test program.
6463# 'file_magic [[regex]]' -- check by looking for files in library path
6464# which responds to the $file_magic_cmd with a given extended regex.
6465# If you have `file' or equivalent on your system and you're not sure
6466# whether `pass_all' will *always* work, you probably want this one.
6467
6468case $host_os in
6469aix[4-9]*)
6470  lt_cv_deplibs_check_method=pass_all
6471  ;;
6472
6473beos*)
6474  lt_cv_deplibs_check_method=pass_all
6475  ;;
6476
6477bsdi[45]*)
6478  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6479  lt_cv_file_magic_cmd='/usr/bin/file -L'
6480  lt_cv_file_magic_test_file=/shlib/libc.so
6481  ;;
6482
6483cygwin*)
6484  # func_win32_libid is a shell function defined in ltmain.sh
6485  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6486  lt_cv_file_magic_cmd='func_win32_libid'
6487  ;;
6488
6489mingw* | pw32*)
6490  # Base MSYS/MinGW do not provide the 'file' command needed by
6491  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6492  # unless we find 'file', for example because we are cross-compiling.
6493  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6494  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6495    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6496    lt_cv_file_magic_cmd='func_win32_libid'
6497  else
6498    # Keep this pattern in sync with the one in func_win32_libid.
6499    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6500    lt_cv_file_magic_cmd='$OBJDUMP -f'
6501  fi
6502  ;;
6503
6504cegcc*)
6505  # use the weaker test based on 'objdump'. See mingw*.
6506  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6507  lt_cv_file_magic_cmd='$OBJDUMP -f'
6508  ;;
6509
6510darwin* | rhapsody*)
6511  lt_cv_deplibs_check_method=pass_all
6512  ;;
6513
6514freebsd* | dragonfly*)
6515  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6516    case $host_cpu in
6517    i*86 )
6518      # Not sure whether the presence of OpenBSD here was a mistake.
6519      # Let's accept both of them until this is cleared up.
6520      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6521      lt_cv_file_magic_cmd=/usr/bin/file
6522      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6523      ;;
6524    esac
6525  else
6526    lt_cv_deplibs_check_method=pass_all
6527  fi
6528  ;;
6529
6530haiku*)
6531  lt_cv_deplibs_check_method=pass_all
6532  ;;
6533
6534hpux10.20* | hpux11*)
6535  lt_cv_file_magic_cmd=/usr/bin/file
6536  case $host_cpu in
6537  ia64*)
6538    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6539    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6540    ;;
6541  hppa*64*)
6542    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]'
6543    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6544    ;;
6545  *)
6546    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6547    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6548    ;;
6549  esac
6550  ;;
6551
6552interix[3-9]*)
6553  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6554  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6555  ;;
6556
6557irix5* | irix6* | nonstopux*)
6558  case $LD in
6559  *-32|*"-32 ") libmagic=32-bit;;
6560  *-n32|*"-n32 ") libmagic=N32;;
6561  *-64|*"-64 ") libmagic=64-bit;;
6562  *) libmagic=never-match;;
6563  esac
6564  lt_cv_deplibs_check_method=pass_all
6565  ;;
6566
6567# This must be glibc/ELF.
6568linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6569  lt_cv_deplibs_check_method=pass_all
6570  ;;
6571
6572netbsd* | netbsdelf*-gnu)
6573  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6574    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6575  else
6576    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6577  fi
6578  ;;
6579
6580newos6*)
6581  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6582  lt_cv_file_magic_cmd=/usr/bin/file
6583  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6584  ;;
6585
6586*nto* | *qnx*)
6587  lt_cv_deplibs_check_method=pass_all
6588  ;;
6589
6590openbsd*)
6591  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6592    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6593  else
6594    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6595  fi
6596  ;;
6597
6598osf3* | osf4* | osf5*)
6599  lt_cv_deplibs_check_method=pass_all
6600  ;;
6601
6602rdos*)
6603  lt_cv_deplibs_check_method=pass_all
6604  ;;
6605
6606solaris*)
6607  lt_cv_deplibs_check_method=pass_all
6608  ;;
6609
6610sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6611  lt_cv_deplibs_check_method=pass_all
6612  ;;
6613
6614sysv4 | sysv4.3*)
6615  case $host_vendor in
6616  motorola)
6617    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]'
6618    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6619    ;;
6620  ncr)
6621    lt_cv_deplibs_check_method=pass_all
6622    ;;
6623  sequent)
6624    lt_cv_file_magic_cmd='/bin/file'
6625    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6626    ;;
6627  sni)
6628    lt_cv_file_magic_cmd='/bin/file'
6629    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6630    lt_cv_file_magic_test_file=/lib/libc.so
6631    ;;
6632  siemens)
6633    lt_cv_deplibs_check_method=pass_all
6634    ;;
6635  pc)
6636    lt_cv_deplibs_check_method=pass_all
6637    ;;
6638  esac
6639  ;;
6640
6641tpf*)
6642  lt_cv_deplibs_check_method=pass_all
6643  ;;
6644esac
6645
6646fi
6647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6648$as_echo "$lt_cv_deplibs_check_method" >&6; }
6649
6650file_magic_glob=
6651want_nocaseglob=no
6652if test "$build" = "$host"; then
6653  case $host_os in
6654  mingw* | pw32*)
6655    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6656      want_nocaseglob=yes
6657    else
6658      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6659    fi
6660    ;;
6661  esac
6662fi
6663
6664file_magic_cmd=$lt_cv_file_magic_cmd
6665deplibs_check_method=$lt_cv_deplibs_check_method
6666test -z "$deplibs_check_method" && deplibs_check_method=unknown
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689if test -n "$ac_tool_prefix"; then
6690  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6691set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693$as_echo_n "checking for $ac_word... " >&6; }
6694if ${ac_cv_prog_DLLTOOL+:} false; then :
6695  $as_echo_n "(cached) " >&6
6696else
6697  if test -n "$DLLTOOL"; then
6698  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6699else
6700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701for as_dir in $PATH
6702do
6703  IFS=$as_save_IFS
6704  test -z "$as_dir" && as_dir=.
6705    for ac_exec_ext in '' $ac_executable_extensions; do
6706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709    break 2
6710  fi
6711done
6712  done
6713IFS=$as_save_IFS
6714
6715fi
6716fi
6717DLLTOOL=$ac_cv_prog_DLLTOOL
6718if test -n "$DLLTOOL"; then
6719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6720$as_echo "$DLLTOOL" >&6; }
6721else
6722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723$as_echo "no" >&6; }
6724fi
6725
6726
6727fi
6728if test -z "$ac_cv_prog_DLLTOOL"; then
6729  ac_ct_DLLTOOL=$DLLTOOL
6730  # Extract the first word of "dlltool", so it can be a program name with args.
6731set dummy dlltool; ac_word=$2
6732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6733$as_echo_n "checking for $ac_word... " >&6; }
6734if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6735  $as_echo_n "(cached) " >&6
6736else
6737  if test -n "$ac_ct_DLLTOOL"; then
6738  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6739else
6740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6741for as_dir in $PATH
6742do
6743  IFS=$as_save_IFS
6744  test -z "$as_dir" && as_dir=.
6745    for ac_exec_ext in '' $ac_executable_extensions; do
6746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6747    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6749    break 2
6750  fi
6751done
6752  done
6753IFS=$as_save_IFS
6754
6755fi
6756fi
6757ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6758if test -n "$ac_ct_DLLTOOL"; then
6759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6760$as_echo "$ac_ct_DLLTOOL" >&6; }
6761else
6762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6763$as_echo "no" >&6; }
6764fi
6765
6766  if test "x$ac_ct_DLLTOOL" = x; then
6767    DLLTOOL="false"
6768  else
6769    case $cross_compiling:$ac_tool_warned in
6770yes:)
6771{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6772$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6773ac_tool_warned=yes ;;
6774esac
6775    DLLTOOL=$ac_ct_DLLTOOL
6776  fi
6777else
6778  DLLTOOL="$ac_cv_prog_DLLTOOL"
6779fi
6780
6781test -z "$DLLTOOL" && DLLTOOL=dlltool
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6793$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6794if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6795  $as_echo_n "(cached) " >&6
6796else
6797  lt_cv_sharedlib_from_linklib_cmd='unknown'
6798
6799case $host_os in
6800cygwin* | mingw* | pw32* | cegcc*)
6801  # two different shell functions defined in ltmain.sh
6802  # decide which to use based on capabilities of $DLLTOOL
6803  case `$DLLTOOL --help 2>&1` in
6804  *--identify-strict*)
6805    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6806    ;;
6807  *)
6808    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6809    ;;
6810  esac
6811  ;;
6812*)
6813  # fallback: assume linklib IS sharedlib
6814  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6815  ;;
6816esac
6817
6818fi
6819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6820$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6821sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6822test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6823
6824
6825
6826
6827
6828
6829
6830if test -n "$ac_tool_prefix"; then
6831  for ac_prog in ar
6832  do
6833    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6834set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6836$as_echo_n "checking for $ac_word... " >&6; }
6837if ${ac_cv_prog_AR+:} false; then :
6838  $as_echo_n "(cached) " >&6
6839else
6840  if test -n "$AR"; then
6841  ac_cv_prog_AR="$AR" # Let the user override the test.
6842else
6843as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6844for as_dir in $PATH
6845do
6846  IFS=$as_save_IFS
6847  test -z "$as_dir" && as_dir=.
6848    for ac_exec_ext in '' $ac_executable_extensions; do
6849  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6850    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6851    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6852    break 2
6853  fi
6854done
6855  done
6856IFS=$as_save_IFS
6857
6858fi
6859fi
6860AR=$ac_cv_prog_AR
6861if test -n "$AR"; then
6862  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6863$as_echo "$AR" >&6; }
6864else
6865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6866$as_echo "no" >&6; }
6867fi
6868
6869
6870    test -n "$AR" && break
6871  done
6872fi
6873if test -z "$AR"; then
6874  ac_ct_AR=$AR
6875  for ac_prog in ar
6876do
6877  # Extract the first word of "$ac_prog", so it can be a program name with args.
6878set dummy $ac_prog; ac_word=$2
6879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6880$as_echo_n "checking for $ac_word... " >&6; }
6881if ${ac_cv_prog_ac_ct_AR+:} false; then :
6882  $as_echo_n "(cached) " >&6
6883else
6884  if test -n "$ac_ct_AR"; then
6885  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6886else
6887as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6888for as_dir in $PATH
6889do
6890  IFS=$as_save_IFS
6891  test -z "$as_dir" && as_dir=.
6892    for ac_exec_ext in '' $ac_executable_extensions; do
6893  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6894    ac_cv_prog_ac_ct_AR="$ac_prog"
6895    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6896    break 2
6897  fi
6898done
6899  done
6900IFS=$as_save_IFS
6901
6902fi
6903fi
6904ac_ct_AR=$ac_cv_prog_ac_ct_AR
6905if test -n "$ac_ct_AR"; then
6906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6907$as_echo "$ac_ct_AR" >&6; }
6908else
6909  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6910$as_echo "no" >&6; }
6911fi
6912
6913
6914  test -n "$ac_ct_AR" && break
6915done
6916
6917  if test "x$ac_ct_AR" = x; then
6918    AR="false"
6919  else
6920    case $cross_compiling:$ac_tool_warned in
6921yes:)
6922{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6923$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6924ac_tool_warned=yes ;;
6925esac
6926    AR=$ac_ct_AR
6927  fi
6928fi
6929
6930: ${AR=ar}
6931: ${AR_FLAGS=cru}
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6944$as_echo_n "checking for archiver @FILE support... " >&6; }
6945if ${lt_cv_ar_at_file+:} false; then :
6946  $as_echo_n "(cached) " >&6
6947else
6948  lt_cv_ar_at_file=no
6949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6950/* end confdefs.h.  */
6951
6952int
6953main ()
6954{
6955
6956  ;
6957  return 0;
6958}
6959_ACEOF
6960if ac_fn_c_try_compile "$LINENO"; then :
6961  echo conftest.$ac_objext > conftest.lst
6962      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6963      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6964  (eval $lt_ar_try) 2>&5
6965  ac_status=$?
6966  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6967  test $ac_status = 0; }
6968      if test "$ac_status" -eq 0; then
6969	# Ensure the archiver fails upon bogus file names.
6970	rm -f conftest.$ac_objext libconftest.a
6971	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6972  (eval $lt_ar_try) 2>&5
6973  ac_status=$?
6974  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6975  test $ac_status = 0; }
6976	if test "$ac_status" -ne 0; then
6977          lt_cv_ar_at_file=@
6978        fi
6979      fi
6980      rm -f conftest.* libconftest.a
6981
6982fi
6983rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984
6985fi
6986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6987$as_echo "$lt_cv_ar_at_file" >&6; }
6988
6989if test "x$lt_cv_ar_at_file" = xno; then
6990  archiver_list_spec=
6991else
6992  archiver_list_spec=$lt_cv_ar_at_file
6993fi
6994
6995
6996
6997
6998
6999
7000
7001if test -n "$ac_tool_prefix"; then
7002  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7003set dummy ${ac_tool_prefix}strip; ac_word=$2
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005$as_echo_n "checking for $ac_word... " >&6; }
7006if ${ac_cv_prog_STRIP+:} false; then :
7007  $as_echo_n "(cached) " >&6
7008else
7009  if test -n "$STRIP"; then
7010  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7011else
7012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013for as_dir in $PATH
7014do
7015  IFS=$as_save_IFS
7016  test -z "$as_dir" && as_dir=.
7017    for ac_exec_ext in '' $ac_executable_extensions; do
7018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021    break 2
7022  fi
7023done
7024  done
7025IFS=$as_save_IFS
7026
7027fi
7028fi
7029STRIP=$ac_cv_prog_STRIP
7030if test -n "$STRIP"; then
7031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7032$as_echo "$STRIP" >&6; }
7033else
7034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035$as_echo "no" >&6; }
7036fi
7037
7038
7039fi
7040if test -z "$ac_cv_prog_STRIP"; then
7041  ac_ct_STRIP=$STRIP
7042  # Extract the first word of "strip", so it can be a program name with args.
7043set dummy strip; ac_word=$2
7044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045$as_echo_n "checking for $ac_word... " >&6; }
7046if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7047  $as_echo_n "(cached) " >&6
7048else
7049  if test -n "$ac_ct_STRIP"; then
7050  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7051else
7052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053for as_dir in $PATH
7054do
7055  IFS=$as_save_IFS
7056  test -z "$as_dir" && as_dir=.
7057    for ac_exec_ext in '' $ac_executable_extensions; do
7058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059    ac_cv_prog_ac_ct_STRIP="strip"
7060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061    break 2
7062  fi
7063done
7064  done
7065IFS=$as_save_IFS
7066
7067fi
7068fi
7069ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7070if test -n "$ac_ct_STRIP"; then
7071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7072$as_echo "$ac_ct_STRIP" >&6; }
7073else
7074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075$as_echo "no" >&6; }
7076fi
7077
7078  if test "x$ac_ct_STRIP" = x; then
7079    STRIP=":"
7080  else
7081    case $cross_compiling:$ac_tool_warned in
7082yes:)
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085ac_tool_warned=yes ;;
7086esac
7087    STRIP=$ac_ct_STRIP
7088  fi
7089else
7090  STRIP="$ac_cv_prog_STRIP"
7091fi
7092
7093test -z "$STRIP" && STRIP=:
7094
7095
7096
7097
7098
7099
7100if test -n "$ac_tool_prefix"; then
7101  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7102set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7104$as_echo_n "checking for $ac_word... " >&6; }
7105if ${ac_cv_prog_RANLIB+:} false; then :
7106  $as_echo_n "(cached) " >&6
7107else
7108  if test -n "$RANLIB"; then
7109  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7110else
7111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7112for as_dir in $PATH
7113do
7114  IFS=$as_save_IFS
7115  test -z "$as_dir" && as_dir=.
7116    for ac_exec_ext in '' $ac_executable_extensions; do
7117  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7118    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7119    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7120    break 2
7121  fi
7122done
7123  done
7124IFS=$as_save_IFS
7125
7126fi
7127fi
7128RANLIB=$ac_cv_prog_RANLIB
7129if test -n "$RANLIB"; then
7130  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7131$as_echo "$RANLIB" >&6; }
7132else
7133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7134$as_echo "no" >&6; }
7135fi
7136
7137
7138fi
7139if test -z "$ac_cv_prog_RANLIB"; then
7140  ac_ct_RANLIB=$RANLIB
7141  # Extract the first word of "ranlib", so it can be a program name with args.
7142set dummy ranlib; ac_word=$2
7143{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7144$as_echo_n "checking for $ac_word... " >&6; }
7145if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7146  $as_echo_n "(cached) " >&6
7147else
7148  if test -n "$ac_ct_RANLIB"; then
7149  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7150else
7151as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7152for as_dir in $PATH
7153do
7154  IFS=$as_save_IFS
7155  test -z "$as_dir" && as_dir=.
7156    for ac_exec_ext in '' $ac_executable_extensions; do
7157  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7158    ac_cv_prog_ac_ct_RANLIB="ranlib"
7159    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7160    break 2
7161  fi
7162done
7163  done
7164IFS=$as_save_IFS
7165
7166fi
7167fi
7168ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7169if test -n "$ac_ct_RANLIB"; then
7170  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7171$as_echo "$ac_ct_RANLIB" >&6; }
7172else
7173  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7174$as_echo "no" >&6; }
7175fi
7176
7177  if test "x$ac_ct_RANLIB" = x; then
7178    RANLIB=":"
7179  else
7180    case $cross_compiling:$ac_tool_warned in
7181yes:)
7182{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7183$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7184ac_tool_warned=yes ;;
7185esac
7186    RANLIB=$ac_ct_RANLIB
7187  fi
7188else
7189  RANLIB="$ac_cv_prog_RANLIB"
7190fi
7191
7192test -z "$RANLIB" && RANLIB=:
7193
7194
7195
7196
7197
7198
7199# Determine commands to create old-style static archives.
7200old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7201old_postinstall_cmds='chmod 644 $oldlib'
7202old_postuninstall_cmds=
7203
7204if test -n "$RANLIB"; then
7205  case $host_os in
7206  openbsd*)
7207    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
7208    ;;
7209  *)
7210    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
7211    ;;
7212  esac
7213  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7214fi
7215
7216case $host_os in
7217  darwin*)
7218    lock_old_archive_extraction=yes ;;
7219  *)
7220    lock_old_archive_extraction=no ;;
7221esac
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261# If no C compiler was specified, use CC.
7262LTCC=${LTCC-"$CC"}
7263
7264# If no C compiler flags were specified, use CFLAGS.
7265LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7266
7267# Allow CC to be a program name with arguments.
7268compiler=$CC
7269
7270
7271# Check for command to grab the raw symbol name followed by C symbol from nm.
7272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7273$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7274if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7275  $as_echo_n "(cached) " >&6
7276else
7277
7278# These are sane defaults that work on at least a few old systems.
7279# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
7280
7281# Character class describing NM global symbol codes.
7282symcode='[BCDEGRST]'
7283
7284# Regexp to match symbols that can be accessed directly from C.
7285sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7286
7287# Define system-specific variables.
7288case $host_os in
7289aix*)
7290  symcode='[BCDT]'
7291  ;;
7292cygwin* | mingw* | pw32* | cegcc*)
7293  symcode='[ABCDGISTW]'
7294  ;;
7295hpux*)
7296  if test "$host_cpu" = ia64; then
7297    symcode='[ABCDEGRST]'
7298  fi
7299  ;;
7300irix* | nonstopux*)
7301  symcode='[BCDEGRST]'
7302  ;;
7303osf*)
7304  symcode='[BCDEGQRST]'
7305  ;;
7306solaris*)
7307  symcode='[BDRT]'
7308  ;;
7309sco3.2v5*)
7310  symcode='[DT]'
7311  ;;
7312sysv4.2uw2*)
7313  symcode='[DT]'
7314  ;;
7315sysv5* | sco5v6* | unixware* | OpenUNIX*)
7316  symcode='[ABDT]'
7317  ;;
7318sysv4)
7319  symcode='[DFNSTU]'
7320  ;;
7321esac
7322
7323# If we're using GNU nm, then use its standard symbol codes.
7324case `$NM -V 2>&1` in
7325*GNU* | *'with BFD'*)
7326  symcode='[ABCDGIRSTW]' ;;
7327esac
7328
7329# Transform an extracted symbol line into a proper C declaration.
7330# Some systems (esp. on ia64) link data and code symbols differently,
7331# so use this general approach.
7332lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7333
7334# Transform an extracted symbol line into symbol name and symbol address
7335lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
7336lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
7337
7338# Handle CRLF in mingw tool chain
7339opt_cr=
7340case $build_os in
7341mingw*)
7342  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7343  ;;
7344esac
7345
7346# Try without a prefix underscore, then with it.
7347for ac_symprfx in "" "_"; do
7348
7349  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7350  symxfrm="\\1 $ac_symprfx\\2 \\2"
7351
7352  # Write the raw and C identifiers.
7353  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7354    # Fake it for dumpbin and say T for any non-static function
7355    # and D for any global variable.
7356    # Also find C++ and __fastcall symbols from MSVC++,
7357    # which start with @ or ?.
7358    lt_cv_sys_global_symbol_pipe="$AWK '"\
7359"     {last_section=section; section=\$ 3};"\
7360"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7361"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7362"     \$ 0!~/External *\|/{next};"\
7363"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7364"     {if(hide[section]) next};"\
7365"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7366"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7367"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
7368"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7369"     ' prfx=^$ac_symprfx"
7370  else
7371    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7372  fi
7373  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7374
7375  # Check to see that the pipe works correctly.
7376  pipe_works=no
7377
7378  rm -f conftest*
7379  cat > conftest.$ac_ext <<_LT_EOF
7380#ifdef __cplusplus
7381extern "C" {
7382#endif
7383char nm_test_var;
7384void nm_test_func(void);
7385void nm_test_func(void){}
7386#ifdef __cplusplus
7387}
7388#endif
7389int main(){nm_test_var='a';nm_test_func();return(0);}
7390_LT_EOF
7391
7392  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7393  (eval $ac_compile) 2>&5
7394  ac_status=$?
7395  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7396  test $ac_status = 0; }; then
7397    # Now try to grab the symbols.
7398    nlist=conftest.nm
7399    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7400  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7401  ac_status=$?
7402  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7403  test $ac_status = 0; } && test -s "$nlist"; then
7404      # Try sorting and uniquifying the output.
7405      if sort "$nlist" | uniq > "$nlist"T; then
7406	mv -f "$nlist"T "$nlist"
7407      else
7408	rm -f "$nlist"T
7409      fi
7410
7411      # Make sure that we snagged all the symbols we need.
7412      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7413	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7414	  cat <<_LT_EOF > conftest.$ac_ext
7415/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7416#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7417/* DATA imports from DLLs on WIN32 con't be const, because runtime
7418   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7419# define LT_DLSYM_CONST
7420#elif defined(__osf__)
7421/* This system does not cope well with relocations in const data.  */
7422# define LT_DLSYM_CONST
7423#else
7424# define LT_DLSYM_CONST const
7425#endif
7426
7427#ifdef __cplusplus
7428extern "C" {
7429#endif
7430
7431_LT_EOF
7432	  # Now generate the symbol file.
7433	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7434
7435	  cat <<_LT_EOF >> conftest.$ac_ext
7436
7437/* The mapping between symbol names and symbols.  */
7438LT_DLSYM_CONST struct {
7439  const char *name;
7440  void       *address;
7441}
7442lt__PROGRAM__LTX_preloaded_symbols[] =
7443{
7444  { "@PROGRAM@", (void *) 0 },
7445_LT_EOF
7446	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7447	  cat <<\_LT_EOF >> conftest.$ac_ext
7448  {0, (void *) 0}
7449};
7450
7451/* This works around a problem in FreeBSD linker */
7452#ifdef FREEBSD_WORKAROUND
7453static const void *lt_preloaded_setup() {
7454  return lt__PROGRAM__LTX_preloaded_symbols;
7455}
7456#endif
7457
7458#ifdef __cplusplus
7459}
7460#endif
7461_LT_EOF
7462	  # Now try linking the two files.
7463	  mv conftest.$ac_objext conftstm.$ac_objext
7464	  lt_globsym_save_LIBS=$LIBS
7465	  lt_globsym_save_CFLAGS=$CFLAGS
7466	  LIBS="conftstm.$ac_objext"
7467	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7468	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7469  (eval $ac_link) 2>&5
7470  ac_status=$?
7471  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7472  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7473	    pipe_works=yes
7474	  fi
7475	  LIBS=$lt_globsym_save_LIBS
7476	  CFLAGS=$lt_globsym_save_CFLAGS
7477	else
7478	  echo "cannot find nm_test_func in $nlist" >&5
7479	fi
7480      else
7481	echo "cannot find nm_test_var in $nlist" >&5
7482      fi
7483    else
7484      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7485    fi
7486  else
7487    echo "$progname: failed program was:" >&5
7488    cat conftest.$ac_ext >&5
7489  fi
7490  rm -rf conftest* conftst*
7491
7492  # Do not use the global_symbol_pipe unless it works.
7493  if test "$pipe_works" = yes; then
7494    break
7495  else
7496    lt_cv_sys_global_symbol_pipe=
7497  fi
7498done
7499
7500fi
7501
7502if test -z "$lt_cv_sys_global_symbol_pipe"; then
7503  lt_cv_sys_global_symbol_to_cdecl=
7504fi
7505if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7506  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7507$as_echo "failed" >&6; }
7508else
7509  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7510$as_echo "ok" >&6; }
7511fi
7512
7513# Response file support.
7514if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7515  nm_file_list_spec='@'
7516elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7517  nm_file_list_spec='@'
7518fi
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7547$as_echo_n "checking for sysroot... " >&6; }
7548
7549# Check whether --with-sysroot was given.
7550if test "${with_sysroot+set}" = set; then :
7551  withval=$with_sysroot;
7552else
7553  with_sysroot=no
7554fi
7555
7556
7557lt_sysroot=
7558case ${with_sysroot} in #(
7559 yes)
7560   if test "$GCC" = yes; then
7561     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7562   fi
7563   ;; #(
7564 /*)
7565   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7566   ;; #(
7567 no|'')
7568   ;; #(
7569 *)
7570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7571$as_echo "${with_sysroot}" >&6; }
7572   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7573   ;;
7574esac
7575
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7577$as_echo "${lt_sysroot:-no}" >&6; }
7578
7579
7580
7581
7582
7583# Check whether --enable-libtool-lock was given.
7584if test "${enable_libtool_lock+set}" = set; then :
7585  enableval=$enable_libtool_lock;
7586fi
7587
7588test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7589
7590# Some flags need to be propagated to the compiler or linker for good
7591# libtool support.
7592case $host in
7593ia64-*-hpux*)
7594  # Find out which ABI we are using.
7595  echo 'int i;' > conftest.$ac_ext
7596  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7597  (eval $ac_compile) 2>&5
7598  ac_status=$?
7599  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7600  test $ac_status = 0; }; then
7601    case `/usr/bin/file conftest.$ac_objext` in
7602      *ELF-32*)
7603	HPUX_IA64_MODE="32"
7604	;;
7605      *ELF-64*)
7606	HPUX_IA64_MODE="64"
7607	;;
7608    esac
7609  fi
7610  rm -rf conftest*
7611  ;;
7612*-*-irix6*)
7613  # Find out which ABI we are using.
7614  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7615  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7616  (eval $ac_compile) 2>&5
7617  ac_status=$?
7618  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7619  test $ac_status = 0; }; then
7620    if test "$lt_cv_prog_gnu_ld" = yes; then
7621      case `/usr/bin/file conftest.$ac_objext` in
7622	*32-bit*)
7623	  LD="${LD-ld} -melf32bsmip"
7624	  ;;
7625	*N32*)
7626	  LD="${LD-ld} -melf32bmipn32"
7627	  ;;
7628	*64-bit*)
7629	  LD="${LD-ld} -melf64bmip"
7630	;;
7631      esac
7632    else
7633      case `/usr/bin/file conftest.$ac_objext` in
7634	*32-bit*)
7635	  LD="${LD-ld} -32"
7636	  ;;
7637	*N32*)
7638	  LD="${LD-ld} -n32"
7639	  ;;
7640	*64-bit*)
7641	  LD="${LD-ld} -64"
7642	  ;;
7643      esac
7644    fi
7645  fi
7646  rm -rf conftest*
7647  ;;
7648
7649x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7650s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7651  # Find out which ABI we are using.
7652  echo 'int i;' > conftest.$ac_ext
7653  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7654  (eval $ac_compile) 2>&5
7655  ac_status=$?
7656  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7657  test $ac_status = 0; }; then
7658    case `/usr/bin/file conftest.o` in
7659      *32-bit*)
7660	case $host in
7661	  x86_64-*kfreebsd*-gnu)
7662	    LD="${LD-ld} -m elf_i386_fbsd"
7663	    ;;
7664	  x86_64-*linux*)
7665	    case `/usr/bin/file conftest.o` in
7666	      *x86-64*)
7667		LD="${LD-ld} -m elf32_x86_64"
7668		;;
7669	      *)
7670		LD="${LD-ld} -m elf_i386"
7671		;;
7672	    esac
7673	    ;;
7674	  powerpc64le-*)
7675	    LD="${LD-ld} -m elf32lppclinux"
7676	    ;;
7677	  powerpc64-*)
7678	    LD="${LD-ld} -m elf32ppclinux"
7679	    ;;
7680	  s390x-*linux*)
7681	    LD="${LD-ld} -m elf_s390"
7682	    ;;
7683	  sparc64-*linux*)
7684	    LD="${LD-ld} -m elf32_sparc"
7685	    ;;
7686	esac
7687	;;
7688      *64-bit*)
7689	case $host in
7690	  x86_64-*kfreebsd*-gnu)
7691	    LD="${LD-ld} -m elf_x86_64_fbsd"
7692	    ;;
7693	  x86_64-*linux*)
7694	    LD="${LD-ld} -m elf_x86_64"
7695	    ;;
7696	  powerpcle-*)
7697	    LD="${LD-ld} -m elf64lppc"
7698	    ;;
7699	  powerpc-*)
7700	    LD="${LD-ld} -m elf64ppc"
7701	    ;;
7702	  s390*-*linux*|s390*-*tpf*)
7703	    LD="${LD-ld} -m elf64_s390"
7704	    ;;
7705	  sparc*-*linux*)
7706	    LD="${LD-ld} -m elf64_sparc"
7707	    ;;
7708	esac
7709	;;
7710    esac
7711  fi
7712  rm -rf conftest*
7713  ;;
7714
7715*-*-sco3.2v5*)
7716  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7717  SAVE_CFLAGS="$CFLAGS"
7718  CFLAGS="$CFLAGS -belf"
7719  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7720$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7721if ${lt_cv_cc_needs_belf+:} false; then :
7722  $as_echo_n "(cached) " >&6
7723else
7724  ac_ext=c
7725ac_cpp='$CPP $CPPFLAGS'
7726ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7727ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7728ac_compiler_gnu=$ac_cv_c_compiler_gnu
7729
7730     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7731/* end confdefs.h.  */
7732
7733int
7734main ()
7735{
7736
7737  ;
7738  return 0;
7739}
7740_ACEOF
7741if ac_fn_c_try_link "$LINENO"; then :
7742  lt_cv_cc_needs_belf=yes
7743else
7744  lt_cv_cc_needs_belf=no
7745fi
7746rm -f core conftest.err conftest.$ac_objext \
7747    conftest$ac_exeext conftest.$ac_ext
7748     ac_ext=c
7749ac_cpp='$CPP $CPPFLAGS'
7750ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7751ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7752ac_compiler_gnu=$ac_cv_c_compiler_gnu
7753
7754fi
7755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7756$as_echo "$lt_cv_cc_needs_belf" >&6; }
7757  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7758    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7759    CFLAGS="$SAVE_CFLAGS"
7760  fi
7761  ;;
7762*-*solaris*)
7763  # Find out which ABI we are using.
7764  echo 'int i;' > conftest.$ac_ext
7765  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7766  (eval $ac_compile) 2>&5
7767  ac_status=$?
7768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7769  test $ac_status = 0; }; then
7770    case `/usr/bin/file conftest.o` in
7771    *64-bit*)
7772      case $lt_cv_prog_gnu_ld in
7773      yes*)
7774        case $host in
7775        i?86-*-solaris*)
7776          LD="${LD-ld} -m elf_x86_64"
7777          ;;
7778        sparc*-*-solaris*)
7779          LD="${LD-ld} -m elf64_sparc"
7780          ;;
7781        esac
7782        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7783        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7784          LD="${LD-ld}_sol2"
7785        fi
7786        ;;
7787      *)
7788	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7789	  LD="${LD-ld} -64"
7790	fi
7791	;;
7792      esac
7793      ;;
7794    esac
7795  fi
7796  rm -rf conftest*
7797  ;;
7798esac
7799
7800need_locks="$enable_libtool_lock"
7801
7802if test -n "$ac_tool_prefix"; then
7803  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7804set dummy ${ac_tool_prefix}mt; ac_word=$2
7805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806$as_echo_n "checking for $ac_word... " >&6; }
7807if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7808  $as_echo_n "(cached) " >&6
7809else
7810  if test -n "$MANIFEST_TOOL"; then
7811  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7812else
7813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7814for as_dir in $PATH
7815do
7816  IFS=$as_save_IFS
7817  test -z "$as_dir" && as_dir=.
7818    for ac_exec_ext in '' $ac_executable_extensions; do
7819  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7820    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7821    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7822    break 2
7823  fi
7824done
7825  done
7826IFS=$as_save_IFS
7827
7828fi
7829fi
7830MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7831if test -n "$MANIFEST_TOOL"; then
7832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7833$as_echo "$MANIFEST_TOOL" >&6; }
7834else
7835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836$as_echo "no" >&6; }
7837fi
7838
7839
7840fi
7841if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7842  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7843  # Extract the first word of "mt", so it can be a program name with args.
7844set dummy mt; ac_word=$2
7845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7846$as_echo_n "checking for $ac_word... " >&6; }
7847if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7848  $as_echo_n "(cached) " >&6
7849else
7850  if test -n "$ac_ct_MANIFEST_TOOL"; then
7851  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7852else
7853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7854for as_dir in $PATH
7855do
7856  IFS=$as_save_IFS
7857  test -z "$as_dir" && as_dir=.
7858    for ac_exec_ext in '' $ac_executable_extensions; do
7859  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7860    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7861    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862    break 2
7863  fi
7864done
7865  done
7866IFS=$as_save_IFS
7867
7868fi
7869fi
7870ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7871if test -n "$ac_ct_MANIFEST_TOOL"; then
7872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7873$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7874else
7875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7876$as_echo "no" >&6; }
7877fi
7878
7879  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7880    MANIFEST_TOOL=":"
7881  else
7882    case $cross_compiling:$ac_tool_warned in
7883yes:)
7884{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7885$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7886ac_tool_warned=yes ;;
7887esac
7888    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7889  fi
7890else
7891  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7892fi
7893
7894test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7896$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7897if ${lt_cv_path_mainfest_tool+:} false; then :
7898  $as_echo_n "(cached) " >&6
7899else
7900  lt_cv_path_mainfest_tool=no
7901  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7902  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7903  cat conftest.err >&5
7904  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7905    lt_cv_path_mainfest_tool=yes
7906  fi
7907  rm -f conftest*
7908fi
7909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7910$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7911if test "x$lt_cv_path_mainfest_tool" != xyes; then
7912  MANIFEST_TOOL=:
7913fi
7914
7915
7916
7917
7918
7919
7920  case $host_os in
7921    rhapsody* | darwin*)
7922    if test -n "$ac_tool_prefix"; then
7923  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7924set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7926$as_echo_n "checking for $ac_word... " >&6; }
7927if ${ac_cv_prog_DSYMUTIL+:} false; then :
7928  $as_echo_n "(cached) " >&6
7929else
7930  if test -n "$DSYMUTIL"; then
7931  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7932else
7933as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7934for as_dir in $PATH
7935do
7936  IFS=$as_save_IFS
7937  test -z "$as_dir" && as_dir=.
7938    for ac_exec_ext in '' $ac_executable_extensions; do
7939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7940    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7942    break 2
7943  fi
7944done
7945  done
7946IFS=$as_save_IFS
7947
7948fi
7949fi
7950DSYMUTIL=$ac_cv_prog_DSYMUTIL
7951if test -n "$DSYMUTIL"; then
7952  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7953$as_echo "$DSYMUTIL" >&6; }
7954else
7955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7956$as_echo "no" >&6; }
7957fi
7958
7959
7960fi
7961if test -z "$ac_cv_prog_DSYMUTIL"; then
7962  ac_ct_DSYMUTIL=$DSYMUTIL
7963  # Extract the first word of "dsymutil", so it can be a program name with args.
7964set dummy dsymutil; ac_word=$2
7965{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7966$as_echo_n "checking for $ac_word... " >&6; }
7967if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7968  $as_echo_n "(cached) " >&6
7969else
7970  if test -n "$ac_ct_DSYMUTIL"; then
7971  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7972else
7973as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7974for as_dir in $PATH
7975do
7976  IFS=$as_save_IFS
7977  test -z "$as_dir" && as_dir=.
7978    for ac_exec_ext in '' $ac_executable_extensions; do
7979  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7980    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7981    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7982    break 2
7983  fi
7984done
7985  done
7986IFS=$as_save_IFS
7987
7988fi
7989fi
7990ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7991if test -n "$ac_ct_DSYMUTIL"; then
7992  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7993$as_echo "$ac_ct_DSYMUTIL" >&6; }
7994else
7995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996$as_echo "no" >&6; }
7997fi
7998
7999  if test "x$ac_ct_DSYMUTIL" = x; then
8000    DSYMUTIL=":"
8001  else
8002    case $cross_compiling:$ac_tool_warned in
8003yes:)
8004{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8005$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8006ac_tool_warned=yes ;;
8007esac
8008    DSYMUTIL=$ac_ct_DSYMUTIL
8009  fi
8010else
8011  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8012fi
8013
8014    if test -n "$ac_tool_prefix"; then
8015  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8016set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8017{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8018$as_echo_n "checking for $ac_word... " >&6; }
8019if ${ac_cv_prog_NMEDIT+:} false; then :
8020  $as_echo_n "(cached) " >&6
8021else
8022  if test -n "$NMEDIT"; then
8023  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8024else
8025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8026for as_dir in $PATH
8027do
8028  IFS=$as_save_IFS
8029  test -z "$as_dir" && as_dir=.
8030    for ac_exec_ext in '' $ac_executable_extensions; do
8031  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8032    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8033    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8034    break 2
8035  fi
8036done
8037  done
8038IFS=$as_save_IFS
8039
8040fi
8041fi
8042NMEDIT=$ac_cv_prog_NMEDIT
8043if test -n "$NMEDIT"; then
8044  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8045$as_echo "$NMEDIT" >&6; }
8046else
8047  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8048$as_echo "no" >&6; }
8049fi
8050
8051
8052fi
8053if test -z "$ac_cv_prog_NMEDIT"; then
8054  ac_ct_NMEDIT=$NMEDIT
8055  # Extract the first word of "nmedit", so it can be a program name with args.
8056set dummy nmedit; ac_word=$2
8057{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058$as_echo_n "checking for $ac_word... " >&6; }
8059if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8060  $as_echo_n "(cached) " >&6
8061else
8062  if test -n "$ac_ct_NMEDIT"; then
8063  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8064else
8065as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8066for as_dir in $PATH
8067do
8068  IFS=$as_save_IFS
8069  test -z "$as_dir" && as_dir=.
8070    for ac_exec_ext in '' $ac_executable_extensions; do
8071  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8072    ac_cv_prog_ac_ct_NMEDIT="nmedit"
8073    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8074    break 2
8075  fi
8076done
8077  done
8078IFS=$as_save_IFS
8079
8080fi
8081fi
8082ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8083if test -n "$ac_ct_NMEDIT"; then
8084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8085$as_echo "$ac_ct_NMEDIT" >&6; }
8086else
8087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088$as_echo "no" >&6; }
8089fi
8090
8091  if test "x$ac_ct_NMEDIT" = x; then
8092    NMEDIT=":"
8093  else
8094    case $cross_compiling:$ac_tool_warned in
8095yes:)
8096{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8097$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8098ac_tool_warned=yes ;;
8099esac
8100    NMEDIT=$ac_ct_NMEDIT
8101  fi
8102else
8103  NMEDIT="$ac_cv_prog_NMEDIT"
8104fi
8105
8106    if test -n "$ac_tool_prefix"; then
8107  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8108set dummy ${ac_tool_prefix}lipo; ac_word=$2
8109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110$as_echo_n "checking for $ac_word... " >&6; }
8111if ${ac_cv_prog_LIPO+:} false; then :
8112  $as_echo_n "(cached) " >&6
8113else
8114  if test -n "$LIPO"; then
8115  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8116else
8117as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118for as_dir in $PATH
8119do
8120  IFS=$as_save_IFS
8121  test -z "$as_dir" && as_dir=.
8122    for ac_exec_ext in '' $ac_executable_extensions; do
8123  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8125    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126    break 2
8127  fi
8128done
8129  done
8130IFS=$as_save_IFS
8131
8132fi
8133fi
8134LIPO=$ac_cv_prog_LIPO
8135if test -n "$LIPO"; then
8136  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8137$as_echo "$LIPO" >&6; }
8138else
8139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140$as_echo "no" >&6; }
8141fi
8142
8143
8144fi
8145if test -z "$ac_cv_prog_LIPO"; then
8146  ac_ct_LIPO=$LIPO
8147  # Extract the first word of "lipo", so it can be a program name with args.
8148set dummy lipo; ac_word=$2
8149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150$as_echo_n "checking for $ac_word... " >&6; }
8151if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8152  $as_echo_n "(cached) " >&6
8153else
8154  if test -n "$ac_ct_LIPO"; then
8155  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8156else
8157as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158for as_dir in $PATH
8159do
8160  IFS=$as_save_IFS
8161  test -z "$as_dir" && as_dir=.
8162    for ac_exec_ext in '' $ac_executable_extensions; do
8163  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164    ac_cv_prog_ac_ct_LIPO="lipo"
8165    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166    break 2
8167  fi
8168done
8169  done
8170IFS=$as_save_IFS
8171
8172fi
8173fi
8174ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8175if test -n "$ac_ct_LIPO"; then
8176  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8177$as_echo "$ac_ct_LIPO" >&6; }
8178else
8179  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180$as_echo "no" >&6; }
8181fi
8182
8183  if test "x$ac_ct_LIPO" = x; then
8184    LIPO=":"
8185  else
8186    case $cross_compiling:$ac_tool_warned in
8187yes:)
8188{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8189$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8190ac_tool_warned=yes ;;
8191esac
8192    LIPO=$ac_ct_LIPO
8193  fi
8194else
8195  LIPO="$ac_cv_prog_LIPO"
8196fi
8197
8198    if test -n "$ac_tool_prefix"; then
8199  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8200set dummy ${ac_tool_prefix}otool; ac_word=$2
8201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202$as_echo_n "checking for $ac_word... " >&6; }
8203if ${ac_cv_prog_OTOOL+:} false; then :
8204  $as_echo_n "(cached) " >&6
8205else
8206  if test -n "$OTOOL"; then
8207  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8208else
8209as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8210for as_dir in $PATH
8211do
8212  IFS=$as_save_IFS
8213  test -z "$as_dir" && as_dir=.
8214    for ac_exec_ext in '' $ac_executable_extensions; do
8215  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8217    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8218    break 2
8219  fi
8220done
8221  done
8222IFS=$as_save_IFS
8223
8224fi
8225fi
8226OTOOL=$ac_cv_prog_OTOOL
8227if test -n "$OTOOL"; then
8228  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8229$as_echo "$OTOOL" >&6; }
8230else
8231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232$as_echo "no" >&6; }
8233fi
8234
8235
8236fi
8237if test -z "$ac_cv_prog_OTOOL"; then
8238  ac_ct_OTOOL=$OTOOL
8239  # Extract the first word of "otool", so it can be a program name with args.
8240set dummy otool; ac_word=$2
8241{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242$as_echo_n "checking for $ac_word... " >&6; }
8243if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8244  $as_echo_n "(cached) " >&6
8245else
8246  if test -n "$ac_ct_OTOOL"; then
8247  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8248else
8249as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8250for as_dir in $PATH
8251do
8252  IFS=$as_save_IFS
8253  test -z "$as_dir" && as_dir=.
8254    for ac_exec_ext in '' $ac_executable_extensions; do
8255  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256    ac_cv_prog_ac_ct_OTOOL="otool"
8257    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8258    break 2
8259  fi
8260done
8261  done
8262IFS=$as_save_IFS
8263
8264fi
8265fi
8266ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8267if test -n "$ac_ct_OTOOL"; then
8268  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8269$as_echo "$ac_ct_OTOOL" >&6; }
8270else
8271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272$as_echo "no" >&6; }
8273fi
8274
8275  if test "x$ac_ct_OTOOL" = x; then
8276    OTOOL=":"
8277  else
8278    case $cross_compiling:$ac_tool_warned in
8279yes:)
8280{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282ac_tool_warned=yes ;;
8283esac
8284    OTOOL=$ac_ct_OTOOL
8285  fi
8286else
8287  OTOOL="$ac_cv_prog_OTOOL"
8288fi
8289
8290    if test -n "$ac_tool_prefix"; then
8291  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8292set dummy ${ac_tool_prefix}otool64; ac_word=$2
8293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8294$as_echo_n "checking for $ac_word... " >&6; }
8295if ${ac_cv_prog_OTOOL64+:} false; then :
8296  $as_echo_n "(cached) " >&6
8297else
8298  if test -n "$OTOOL64"; then
8299  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8300else
8301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8302for as_dir in $PATH
8303do
8304  IFS=$as_save_IFS
8305  test -z "$as_dir" && as_dir=.
8306    for ac_exec_ext in '' $ac_executable_extensions; do
8307  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8308    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8309    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8310    break 2
8311  fi
8312done
8313  done
8314IFS=$as_save_IFS
8315
8316fi
8317fi
8318OTOOL64=$ac_cv_prog_OTOOL64
8319if test -n "$OTOOL64"; then
8320  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8321$as_echo "$OTOOL64" >&6; }
8322else
8323  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8324$as_echo "no" >&6; }
8325fi
8326
8327
8328fi
8329if test -z "$ac_cv_prog_OTOOL64"; then
8330  ac_ct_OTOOL64=$OTOOL64
8331  # Extract the first word of "otool64", so it can be a program name with args.
8332set dummy otool64; ac_word=$2
8333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334$as_echo_n "checking for $ac_word... " >&6; }
8335if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8336  $as_echo_n "(cached) " >&6
8337else
8338  if test -n "$ac_ct_OTOOL64"; then
8339  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8340else
8341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8342for as_dir in $PATH
8343do
8344  IFS=$as_save_IFS
8345  test -z "$as_dir" && as_dir=.
8346    for ac_exec_ext in '' $ac_executable_extensions; do
8347  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8348    ac_cv_prog_ac_ct_OTOOL64="otool64"
8349    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8350    break 2
8351  fi
8352done
8353  done
8354IFS=$as_save_IFS
8355
8356fi
8357fi
8358ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8359if test -n "$ac_ct_OTOOL64"; then
8360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8361$as_echo "$ac_ct_OTOOL64" >&6; }
8362else
8363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364$as_echo "no" >&6; }
8365fi
8366
8367  if test "x$ac_ct_OTOOL64" = x; then
8368    OTOOL64=":"
8369  else
8370    case $cross_compiling:$ac_tool_warned in
8371yes:)
8372{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8373$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8374ac_tool_warned=yes ;;
8375esac
8376    OTOOL64=$ac_ct_OTOOL64
8377  fi
8378else
8379  OTOOL64="$ac_cv_prog_OTOOL64"
8380fi
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8409$as_echo_n "checking for -single_module linker flag... " >&6; }
8410if ${lt_cv_apple_cc_single_mod+:} false; then :
8411  $as_echo_n "(cached) " >&6
8412else
8413  lt_cv_apple_cc_single_mod=no
8414      if test -z "${LT_MULTI_MODULE}"; then
8415	# By default we will add the -single_module flag. You can override
8416	# by either setting the environment variable LT_MULTI_MODULE
8417	# non-empty at configure time, or by adding -multi_module to the
8418	# link flags.
8419	rm -rf libconftest.dylib*
8420	echo "int foo(void){return 1;}" > conftest.c
8421	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8422-dynamiclib -Wl,-single_module conftest.c" >&5
8423	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8424	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8425        _lt_result=$?
8426	# If there is a non-empty error log, and "single_module"
8427	# appears in it, assume the flag caused a linker warning
8428        if test -s conftest.err && $GREP single_module conftest.err; then
8429	  cat conftest.err >&5
8430	# Otherwise, if the output was created with a 0 exit code from
8431	# the compiler, it worked.
8432	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8433	  lt_cv_apple_cc_single_mod=yes
8434	else
8435	  cat conftest.err >&5
8436	fi
8437	rm -rf libconftest.dylib*
8438	rm -f conftest.*
8439      fi
8440fi
8441{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8442$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8443
8444    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8445$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8446if ${lt_cv_ld_exported_symbols_list+:} false; then :
8447  $as_echo_n "(cached) " >&6
8448else
8449  lt_cv_ld_exported_symbols_list=no
8450      save_LDFLAGS=$LDFLAGS
8451      echo "_main" > conftest.sym
8452      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8453      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8454/* end confdefs.h.  */
8455
8456int
8457main ()
8458{
8459
8460  ;
8461  return 0;
8462}
8463_ACEOF
8464if ac_fn_c_try_link "$LINENO"; then :
8465  lt_cv_ld_exported_symbols_list=yes
8466else
8467  lt_cv_ld_exported_symbols_list=no
8468fi
8469rm -f core conftest.err conftest.$ac_objext \
8470    conftest$ac_exeext conftest.$ac_ext
8471	LDFLAGS="$save_LDFLAGS"
8472
8473fi
8474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8475$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8476
8477    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8478$as_echo_n "checking for -force_load linker flag... " >&6; }
8479if ${lt_cv_ld_force_load+:} false; then :
8480  $as_echo_n "(cached) " >&6
8481else
8482  lt_cv_ld_force_load=no
8483      cat > conftest.c << _LT_EOF
8484int forced_loaded() { return 2;}
8485_LT_EOF
8486      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8487      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8488      echo "$AR cru libconftest.a conftest.o" >&5
8489      $AR cru libconftest.a conftest.o 2>&5
8490      echo "$RANLIB libconftest.a" >&5
8491      $RANLIB libconftest.a 2>&5
8492      cat > conftest.c << _LT_EOF
8493int main() { return 0;}
8494_LT_EOF
8495      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8496      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8497      _lt_result=$?
8498      if test -s conftest.err && $GREP force_load conftest.err; then
8499	cat conftest.err >&5
8500      elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8501	lt_cv_ld_force_load=yes
8502      else
8503	cat conftest.err >&5
8504      fi
8505        rm -f conftest.err libconftest.a conftest conftest.c
8506        rm -rf conftest.dSYM
8507
8508fi
8509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8510$as_echo "$lt_cv_ld_force_load" >&6; }
8511    case $host_os in
8512    rhapsody* | darwin1.[012])
8513      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8514    darwin1.*)
8515      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8516    darwin*) # darwin 5.x on
8517      # if running on 10.5 or later, the deployment target defaults
8518      # to the OS version, if on x86, and 10.4, the deployment
8519      # target defaults to 10.4. Don't you love it?
8520      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8521	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8522	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8523	10.[012]*)
8524	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8525	10.*)
8526	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8527      esac
8528    ;;
8529  esac
8530    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8531      _lt_dar_single_mod='$single_module'
8532    fi
8533    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8534      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8535    else
8536      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8537    fi
8538    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8539      _lt_dsymutil='~$DSYMUTIL $lib || :'
8540    else
8541      _lt_dsymutil=
8542    fi
8543    ;;
8544  esac
8545
8546for ac_header in dlfcn.h
8547do :
8548  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8549"
8550if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8551  cat >>confdefs.h <<_ACEOF
8552#define HAVE_DLFCN_H 1
8553_ACEOF
8554
8555fi
8556
8557done
8558
8559
8560
8561
8562
8563# Set options
8564
8565
8566
8567        enable_dlopen=no
8568
8569
8570  enable_win32_dll=no
8571
8572
8573            # Check whether --enable-shared was given.
8574if test "${enable_shared+set}" = set; then :
8575  enableval=$enable_shared; p=${PACKAGE-default}
8576    case $enableval in
8577    yes) enable_shared=yes ;;
8578    no) enable_shared=no ;;
8579    *)
8580      enable_shared=no
8581      # Look at the argument we got.  We use all the common list separators.
8582      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8583      for pkg in $enableval; do
8584	IFS="$lt_save_ifs"
8585	if test "X$pkg" = "X$p"; then
8586	  enable_shared=yes
8587	fi
8588      done
8589      IFS="$lt_save_ifs"
8590      ;;
8591    esac
8592else
8593  enable_shared=yes
8594fi
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604  # Check whether --enable-static was given.
8605if test "${enable_static+set}" = set; then :
8606  enableval=$enable_static; p=${PACKAGE-default}
8607    case $enableval in
8608    yes) enable_static=yes ;;
8609    no) enable_static=no ;;
8610    *)
8611     enable_static=no
8612      # Look at the argument we got.  We use all the common list separators.
8613      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8614      for pkg in $enableval; do
8615	IFS="$lt_save_ifs"
8616	if test "X$pkg" = "X$p"; then
8617	  enable_static=yes
8618	fi
8619      done
8620      IFS="$lt_save_ifs"
8621      ;;
8622    esac
8623else
8624  enable_static=yes
8625fi
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636# Check whether --with-pic was given.
8637if test "${with_pic+set}" = set; then :
8638  withval=$with_pic; lt_p=${PACKAGE-default}
8639    case $withval in
8640    yes|no) pic_mode=$withval ;;
8641    *)
8642      pic_mode=default
8643      # Look at the argument we got.  We use all the common list separators.
8644      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8645      for lt_pkg in $withval; do
8646	IFS="$lt_save_ifs"
8647	if test "X$lt_pkg" = "X$lt_p"; then
8648	  pic_mode=yes
8649	fi
8650      done
8651      IFS="$lt_save_ifs"
8652      ;;
8653    esac
8654else
8655  pic_mode=default
8656fi
8657
8658
8659test -z "$pic_mode" && pic_mode=default
8660
8661
8662
8663
8664
8665
8666
8667  # Check whether --enable-fast-install was given.
8668if test "${enable_fast_install+set}" = set; then :
8669  enableval=$enable_fast_install; p=${PACKAGE-default}
8670    case $enableval in
8671    yes) enable_fast_install=yes ;;
8672    no) enable_fast_install=no ;;
8673    *)
8674      enable_fast_install=no
8675      # Look at the argument we got.  We use all the common list separators.
8676      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8677      for pkg in $enableval; do
8678	IFS="$lt_save_ifs"
8679	if test "X$pkg" = "X$p"; then
8680	  enable_fast_install=yes
8681	fi
8682      done
8683      IFS="$lt_save_ifs"
8684      ;;
8685    esac
8686else
8687  enable_fast_install=yes
8688fi
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700# This can be used to rebuild libtool when needed
8701LIBTOOL_DEPS="$ltmain"
8702
8703# Always use our own libtool.
8704LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735test -z "$LN_S" && LN_S="ln -s"
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750if test -n "${ZSH_VERSION+set}" ; then
8751   setopt NO_GLOB_SUBST
8752fi
8753
8754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8755$as_echo_n "checking for objdir... " >&6; }
8756if ${lt_cv_objdir+:} false; then :
8757  $as_echo_n "(cached) " >&6
8758else
8759  rm -f .libs 2>/dev/null
8760mkdir .libs 2>/dev/null
8761if test -d .libs; then
8762  lt_cv_objdir=.libs
8763else
8764  # MS-DOS does not allow filenames that begin with a dot.
8765  lt_cv_objdir=_libs
8766fi
8767rmdir .libs 2>/dev/null
8768fi
8769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8770$as_echo "$lt_cv_objdir" >&6; }
8771objdir=$lt_cv_objdir
8772
8773
8774
8775
8776
8777cat >>confdefs.h <<_ACEOF
8778#define LT_OBJDIR "$lt_cv_objdir/"
8779_ACEOF
8780
8781
8782
8783
8784case $host_os in
8785aix3*)
8786  # AIX sometimes has problems with the GCC collect2 program.  For some
8787  # reason, if we set the COLLECT_NAMES environment variable, the problems
8788  # vanish in a puff of smoke.
8789  if test "X${COLLECT_NAMES+set}" != Xset; then
8790    COLLECT_NAMES=
8791    export COLLECT_NAMES
8792  fi
8793  ;;
8794esac
8795
8796# Global variables:
8797ofile=libtool
8798can_build_shared=yes
8799
8800# All known linkers require a `.a' archive for static linking (except MSVC,
8801# which needs '.lib').
8802libext=a
8803
8804with_gnu_ld="$lt_cv_prog_gnu_ld"
8805
8806old_CC="$CC"
8807old_CFLAGS="$CFLAGS"
8808
8809# Set sane defaults for various variables
8810test -z "$CC" && CC=cc
8811test -z "$LTCC" && LTCC=$CC
8812test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8813test -z "$LD" && LD=ld
8814test -z "$ac_objext" && ac_objext=o
8815
8816for cc_temp in $compiler""; do
8817  case $cc_temp in
8818    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8819    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8820    \-*) ;;
8821    *) break;;
8822  esac
8823done
8824cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8825
8826
8827# Only perform the check for file, if the check method requires it
8828test -z "$MAGIC_CMD" && MAGIC_CMD=file
8829case $deplibs_check_method in
8830file_magic*)
8831  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8832    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8833$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8834if ${lt_cv_path_MAGIC_CMD+:} false; then :
8835  $as_echo_n "(cached) " >&6
8836else
8837  case $MAGIC_CMD in
8838[\\/*] |  ?:[\\/]*)
8839  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8840  ;;
8841*)
8842  lt_save_MAGIC_CMD="$MAGIC_CMD"
8843  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8844  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8845  for ac_dir in $ac_dummy; do
8846    IFS="$lt_save_ifs"
8847    test -z "$ac_dir" && ac_dir=.
8848    if test -f $ac_dir/${ac_tool_prefix}file; then
8849      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8850      if test -n "$file_magic_test_file"; then
8851	case $deplibs_check_method in
8852	"file_magic "*)
8853	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8854	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8855	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8856	    $EGREP "$file_magic_regex" > /dev/null; then
8857	    :
8858	  else
8859	    cat <<_LT_EOF 1>&2
8860
8861*** Warning: the command libtool uses to detect shared libraries,
8862*** $file_magic_cmd, produces output that libtool cannot recognize.
8863*** The result is that libtool may fail to recognize shared libraries
8864*** as such.  This will affect the creation of libtool libraries that
8865*** depend on shared libraries, but programs linked with such libtool
8866*** libraries will work regardless of this problem.  Nevertheless, you
8867*** may want to report the problem to your system manager and/or to
8868*** bug-libtool@gnu.org
8869
8870_LT_EOF
8871	  fi ;;
8872	esac
8873      fi
8874      break
8875    fi
8876  done
8877  IFS="$lt_save_ifs"
8878  MAGIC_CMD="$lt_save_MAGIC_CMD"
8879  ;;
8880esac
8881fi
8882
8883MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8884if test -n "$MAGIC_CMD"; then
8885  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8886$as_echo "$MAGIC_CMD" >&6; }
8887else
8888  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889$as_echo "no" >&6; }
8890fi
8891
8892
8893
8894
8895
8896if test -z "$lt_cv_path_MAGIC_CMD"; then
8897  if test -n "$ac_tool_prefix"; then
8898    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8899$as_echo_n "checking for file... " >&6; }
8900if ${lt_cv_path_MAGIC_CMD+:} false; then :
8901  $as_echo_n "(cached) " >&6
8902else
8903  case $MAGIC_CMD in
8904[\\/*] |  ?:[\\/]*)
8905  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8906  ;;
8907*)
8908  lt_save_MAGIC_CMD="$MAGIC_CMD"
8909  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8910  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8911  for ac_dir in $ac_dummy; do
8912    IFS="$lt_save_ifs"
8913    test -z "$ac_dir" && ac_dir=.
8914    if test -f $ac_dir/file; then
8915      lt_cv_path_MAGIC_CMD="$ac_dir/file"
8916      if test -n "$file_magic_test_file"; then
8917	case $deplibs_check_method in
8918	"file_magic "*)
8919	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8920	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8921	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8922	    $EGREP "$file_magic_regex" > /dev/null; then
8923	    :
8924	  else
8925	    cat <<_LT_EOF 1>&2
8926
8927*** Warning: the command libtool uses to detect shared libraries,
8928*** $file_magic_cmd, produces output that libtool cannot recognize.
8929*** The result is that libtool may fail to recognize shared libraries
8930*** as such.  This will affect the creation of libtool libraries that
8931*** depend on shared libraries, but programs linked with such libtool
8932*** libraries will work regardless of this problem.  Nevertheless, you
8933*** may want to report the problem to your system manager and/or to
8934*** bug-libtool@gnu.org
8935
8936_LT_EOF
8937	  fi ;;
8938	esac
8939      fi
8940      break
8941    fi
8942  done
8943  IFS="$lt_save_ifs"
8944  MAGIC_CMD="$lt_save_MAGIC_CMD"
8945  ;;
8946esac
8947fi
8948
8949MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8950if test -n "$MAGIC_CMD"; then
8951  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8952$as_echo "$MAGIC_CMD" >&6; }
8953else
8954  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8955$as_echo "no" >&6; }
8956fi
8957
8958
8959  else
8960    MAGIC_CMD=:
8961  fi
8962fi
8963
8964  fi
8965  ;;
8966esac
8967
8968# Use C for the default configuration in the libtool script
8969
8970lt_save_CC="$CC"
8971ac_ext=c
8972ac_cpp='$CPP $CPPFLAGS'
8973ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8974ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8975ac_compiler_gnu=$ac_cv_c_compiler_gnu
8976
8977
8978# Source file extension for C test sources.
8979ac_ext=c
8980
8981# Object file extension for compiled C test sources.
8982objext=o
8983objext=$objext
8984
8985# Code to be used in simple compile tests
8986lt_simple_compile_test_code="int some_variable = 0;"
8987
8988# Code to be used in simple link tests
8989lt_simple_link_test_code='int main(){return(0);}'
8990
8991
8992
8993
8994
8995
8996
8997# If no C compiler was specified, use CC.
8998LTCC=${LTCC-"$CC"}
8999
9000# If no C compiler flags were specified, use CFLAGS.
9001LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9002
9003# Allow CC to be a program name with arguments.
9004compiler=$CC
9005
9006# Save the default compiler, since it gets overwritten when the other
9007# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9008compiler_DEFAULT=$CC
9009
9010# save warnings/boilerplate of simple test code
9011ac_outfile=conftest.$ac_objext
9012echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9013eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9014_lt_compiler_boilerplate=`cat conftest.err`
9015$RM conftest*
9016
9017ac_outfile=conftest.$ac_objext
9018echo "$lt_simple_link_test_code" >conftest.$ac_ext
9019eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9020_lt_linker_boilerplate=`cat conftest.err`
9021$RM -r conftest*
9022
9023
9024if test -n "$compiler"; then
9025
9026lt_prog_compiler_no_builtin_flag=
9027
9028if test "$GCC" = yes; then
9029  case $cc_basename in
9030  nvcc*)
9031    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9032  *)
9033    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9034  esac
9035
9036  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9037$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9038if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9039  $as_echo_n "(cached) " >&6
9040else
9041  lt_cv_prog_compiler_rtti_exceptions=no
9042   ac_outfile=conftest.$ac_objext
9043   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9044   lt_compiler_flag="-fno-rtti -fno-exceptions"
9045   # Insert the option either (1) after the last *FLAGS variable, or
9046   # (2) before a word containing "conftest.", or (3) at the end.
9047   # Note that $ac_compile itself does not contain backslashes and begins
9048   # with a dollar sign (not a hyphen), so the echo should work correctly.
9049   # The option is referenced via a variable to avoid confusing sed.
9050   lt_compile=`echo "$ac_compile" | $SED \
9051   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9052   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9053   -e 's:$: $lt_compiler_flag:'`
9054   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9055   (eval "$lt_compile" 2>conftest.err)
9056   ac_status=$?
9057   cat conftest.err >&5
9058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9059   if (exit $ac_status) && test -s "$ac_outfile"; then
9060     # The compiler can only warn and ignore the option if not recognized
9061     # So say no if there are warnings other than the usual output.
9062     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9063     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9064     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9065       lt_cv_prog_compiler_rtti_exceptions=yes
9066     fi
9067   fi
9068   $RM conftest*
9069
9070fi
9071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9072$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9073
9074if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9075    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9076else
9077    :
9078fi
9079
9080fi
9081
9082
9083
9084
9085
9086
9087  lt_prog_compiler_wl=
9088lt_prog_compiler_pic=
9089lt_prog_compiler_static=
9090
9091
9092  if test "$GCC" = yes; then
9093    lt_prog_compiler_wl='-Wl,'
9094    lt_prog_compiler_static='-static'
9095
9096    case $host_os in
9097      aix*)
9098      # All AIX code is PIC.
9099      if test "$host_cpu" = ia64; then
9100	# AIX 5 now supports IA64 processor
9101	lt_prog_compiler_static='-Bstatic'
9102      fi
9103      ;;
9104
9105    amigaos*)
9106      case $host_cpu in
9107      powerpc)
9108            # see comment about AmigaOS4 .so support
9109            lt_prog_compiler_pic='-fPIC'
9110        ;;
9111      m68k)
9112            # FIXME: we need at least 68020 code to build shared libraries, but
9113            # adding the `-m68020' flag to GCC prevents building anything better,
9114            # like `-m68040'.
9115            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9116        ;;
9117      esac
9118      ;;
9119
9120    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9121      # PIC is the default for these OSes.
9122      ;;
9123
9124    mingw* | cygwin* | pw32* | os2* | cegcc*)
9125      # This hack is so that the source file can tell whether it is being
9126      # built for inclusion in a dll (and should export symbols for example).
9127      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9128      # (--disable-auto-import) libraries
9129      lt_prog_compiler_pic='-DDLL_EXPORT'
9130      ;;
9131
9132    darwin* | rhapsody*)
9133      # PIC is the default on this platform
9134      # Common symbols not allowed in MH_DYLIB files
9135      lt_prog_compiler_pic='-fno-common'
9136      ;;
9137
9138    haiku*)
9139      # PIC is the default for Haiku.
9140      # The "-static" flag exists, but is broken.
9141      lt_prog_compiler_static=
9142      ;;
9143
9144    hpux*)
9145      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9146      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9147      # sets the default TLS model and affects inlining.
9148      case $host_cpu in
9149      hppa*64*)
9150	# +Z the default
9151	;;
9152      *)
9153	lt_prog_compiler_pic='-fPIC'
9154	;;
9155      esac
9156      ;;
9157
9158    interix[3-9]*)
9159      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9160      # Instead, we relocate shared libraries at runtime.
9161      ;;
9162
9163    msdosdjgpp*)
9164      # Just because we use GCC doesn't mean we suddenly get shared libraries
9165      # on systems that don't support them.
9166      lt_prog_compiler_can_build_shared=no
9167      enable_shared=no
9168      ;;
9169
9170    *nto* | *qnx*)
9171      # QNX uses GNU C++, but need to define -shared option too, otherwise
9172      # it will coredump.
9173      lt_prog_compiler_pic='-fPIC -shared'
9174      ;;
9175
9176    sysv4*MP*)
9177      if test -d /usr/nec; then
9178	lt_prog_compiler_pic=-Kconform_pic
9179      fi
9180      ;;
9181
9182    *)
9183      lt_prog_compiler_pic='-fPIC'
9184      ;;
9185    esac
9186
9187    case $cc_basename in
9188    nvcc*) # Cuda Compiler Driver 2.2
9189      lt_prog_compiler_wl='-Xlinker '
9190      if test -n "$lt_prog_compiler_pic"; then
9191        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9192      fi
9193      ;;
9194    esac
9195  else
9196    # PORTME Check for flag to pass linker flags through the system compiler.
9197    case $host_os in
9198    aix*)
9199      lt_prog_compiler_wl='-Wl,'
9200      if test "$host_cpu" = ia64; then
9201	# AIX 5 now supports IA64 processor
9202	lt_prog_compiler_static='-Bstatic'
9203      else
9204	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9205      fi
9206      ;;
9207
9208    mingw* | cygwin* | pw32* | os2* | cegcc*)
9209      # This hack is so that the source file can tell whether it is being
9210      # built for inclusion in a dll (and should export symbols for example).
9211      lt_prog_compiler_pic='-DDLL_EXPORT'
9212      ;;
9213
9214    hpux9* | hpux10* | hpux11*)
9215      lt_prog_compiler_wl='-Wl,'
9216      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9217      # not for PA HP-UX.
9218      case $host_cpu in
9219      hppa*64*|ia64*)
9220	# +Z the default
9221	;;
9222      *)
9223	lt_prog_compiler_pic='+Z'
9224	;;
9225      esac
9226      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9227      lt_prog_compiler_static='${wl}-a ${wl}archive'
9228      ;;
9229
9230    irix5* | irix6* | nonstopux*)
9231      lt_prog_compiler_wl='-Wl,'
9232      # PIC (with -KPIC) is the default.
9233      lt_prog_compiler_static='-non_shared'
9234      ;;
9235
9236    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9237      case $cc_basename in
9238      # old Intel for x86_64 which still supported -KPIC.
9239      ecc*)
9240	lt_prog_compiler_wl='-Wl,'
9241	lt_prog_compiler_pic='-KPIC'
9242	lt_prog_compiler_static='-static'
9243        ;;
9244      # icc used to be incompatible with GCC.
9245      # ICC 10 doesn't accept -KPIC any more.
9246      icc* | ifort*)
9247	lt_prog_compiler_wl='-Wl,'
9248	lt_prog_compiler_pic='-fPIC'
9249	lt_prog_compiler_static='-static'
9250        ;;
9251      # Lahey Fortran 8.1.
9252      lf95*)
9253	lt_prog_compiler_wl='-Wl,'
9254	lt_prog_compiler_pic='--shared'
9255	lt_prog_compiler_static='--static'
9256	;;
9257      nagfor*)
9258	# NAG Fortran compiler
9259	lt_prog_compiler_wl='-Wl,-Wl,,'
9260	lt_prog_compiler_pic='-PIC'
9261	lt_prog_compiler_static='-Bstatic'
9262	;;
9263      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9264        # Portland Group compilers (*not* the Pentium gcc compiler,
9265	# which looks to be a dead project)
9266	lt_prog_compiler_wl='-Wl,'
9267	lt_prog_compiler_pic='-fpic'
9268	lt_prog_compiler_static='-Bstatic'
9269        ;;
9270      ccc*)
9271        lt_prog_compiler_wl='-Wl,'
9272        # All Alpha code is PIC.
9273        lt_prog_compiler_static='-non_shared'
9274        ;;
9275      xl* | bgxl* | bgf* | mpixl*)
9276	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9277	lt_prog_compiler_wl='-Wl,'
9278	lt_prog_compiler_pic='-qpic'
9279	lt_prog_compiler_static='-qstaticlink'
9280	;;
9281      *)
9282	case `$CC -V 2>&1 | sed 5q` in
9283	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9284	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9285	  lt_prog_compiler_pic='-KPIC'
9286	  lt_prog_compiler_static='-Bstatic'
9287	  lt_prog_compiler_wl=''
9288	  ;;
9289	*Sun\ F* | *Sun*Fortran*)
9290	  lt_prog_compiler_pic='-KPIC'
9291	  lt_prog_compiler_static='-Bstatic'
9292	  lt_prog_compiler_wl='-Qoption ld '
9293	  ;;
9294	*Sun\ C*)
9295	  # Sun C 5.9
9296	  lt_prog_compiler_pic='-KPIC'
9297	  lt_prog_compiler_static='-Bstatic'
9298	  lt_prog_compiler_wl='-Wl,'
9299	  ;;
9300        *Intel*\ [CF]*Compiler*)
9301	  lt_prog_compiler_wl='-Wl,'
9302	  lt_prog_compiler_pic='-fPIC'
9303	  lt_prog_compiler_static='-static'
9304	  ;;
9305	*Portland\ Group*)
9306	  lt_prog_compiler_wl='-Wl,'
9307	  lt_prog_compiler_pic='-fpic'
9308	  lt_prog_compiler_static='-Bstatic'
9309	  ;;
9310	esac
9311	;;
9312      esac
9313      ;;
9314
9315    newsos6)
9316      lt_prog_compiler_pic='-KPIC'
9317      lt_prog_compiler_static='-Bstatic'
9318      ;;
9319
9320    *nto* | *qnx*)
9321      # QNX uses GNU C++, but need to define -shared option too, otherwise
9322      # it will coredump.
9323      lt_prog_compiler_pic='-fPIC -shared'
9324      ;;
9325
9326    osf3* | osf4* | osf5*)
9327      lt_prog_compiler_wl='-Wl,'
9328      # All OSF/1 code is PIC.
9329      lt_prog_compiler_static='-non_shared'
9330      ;;
9331
9332    rdos*)
9333      lt_prog_compiler_static='-non_shared'
9334      ;;
9335
9336    solaris*)
9337      lt_prog_compiler_pic='-KPIC'
9338      lt_prog_compiler_static='-Bstatic'
9339      case $cc_basename in
9340      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9341	lt_prog_compiler_wl='-Qoption ld ';;
9342      *)
9343	lt_prog_compiler_wl='-Wl,';;
9344      esac
9345      ;;
9346
9347    sunos4*)
9348      lt_prog_compiler_wl='-Qoption ld '
9349      lt_prog_compiler_pic='-PIC'
9350      lt_prog_compiler_static='-Bstatic'
9351      ;;
9352
9353    sysv4 | sysv4.2uw2* | sysv4.3*)
9354      lt_prog_compiler_wl='-Wl,'
9355      lt_prog_compiler_pic='-KPIC'
9356      lt_prog_compiler_static='-Bstatic'
9357      ;;
9358
9359    sysv4*MP*)
9360      if test -d /usr/nec ;then
9361	lt_prog_compiler_pic='-Kconform_pic'
9362	lt_prog_compiler_static='-Bstatic'
9363      fi
9364      ;;
9365
9366    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9367      lt_prog_compiler_wl='-Wl,'
9368      lt_prog_compiler_pic='-KPIC'
9369      lt_prog_compiler_static='-Bstatic'
9370      ;;
9371
9372    unicos*)
9373      lt_prog_compiler_wl='-Wl,'
9374      lt_prog_compiler_can_build_shared=no
9375      ;;
9376
9377    uts4*)
9378      lt_prog_compiler_pic='-pic'
9379      lt_prog_compiler_static='-Bstatic'
9380      ;;
9381
9382    *)
9383      lt_prog_compiler_can_build_shared=no
9384      ;;
9385    esac
9386  fi
9387
9388case $host_os in
9389  # For platforms which do not support PIC, -DPIC is meaningless:
9390  *djgpp*)
9391    lt_prog_compiler_pic=
9392    ;;
9393  *)
9394    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9395    ;;
9396esac
9397
9398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9399$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9400if ${lt_cv_prog_compiler_pic+:} false; then :
9401  $as_echo_n "(cached) " >&6
9402else
9403  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9404fi
9405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9406$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9407lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9408
9409#
9410# Check to make sure the PIC flag actually works.
9411#
9412if test -n "$lt_prog_compiler_pic"; then
9413  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9414$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9415if ${lt_cv_prog_compiler_pic_works+:} false; then :
9416  $as_echo_n "(cached) " >&6
9417else
9418  lt_cv_prog_compiler_pic_works=no
9419   ac_outfile=conftest.$ac_objext
9420   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9421   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9422   # Insert the option either (1) after the last *FLAGS variable, or
9423   # (2) before a word containing "conftest.", or (3) at the end.
9424   # Note that $ac_compile itself does not contain backslashes and begins
9425   # with a dollar sign (not a hyphen), so the echo should work correctly.
9426   # The option is referenced via a variable to avoid confusing sed.
9427   lt_compile=`echo "$ac_compile" | $SED \
9428   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9429   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9430   -e 's:$: $lt_compiler_flag:'`
9431   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9432   (eval "$lt_compile" 2>conftest.err)
9433   ac_status=$?
9434   cat conftest.err >&5
9435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9436   if (exit $ac_status) && test -s "$ac_outfile"; then
9437     # The compiler can only warn and ignore the option if not recognized
9438     # So say no if there are warnings other than the usual output.
9439     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9440     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9441     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9442       lt_cv_prog_compiler_pic_works=yes
9443     fi
9444   fi
9445   $RM conftest*
9446
9447fi
9448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9449$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9450
9451if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9452    case $lt_prog_compiler_pic in
9453     "" | " "*) ;;
9454     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9455     esac
9456else
9457    lt_prog_compiler_pic=
9458     lt_prog_compiler_can_build_shared=no
9459fi
9460
9461fi
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473#
9474# Check to make sure the static flag actually works.
9475#
9476wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9478$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9479if ${lt_cv_prog_compiler_static_works+:} false; then :
9480  $as_echo_n "(cached) " >&6
9481else
9482  lt_cv_prog_compiler_static_works=no
9483   save_LDFLAGS="$LDFLAGS"
9484   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9485   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9486   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9487     # The linker can only warn and ignore the option if not recognized
9488     # So say no if there are warnings
9489     if test -s conftest.err; then
9490       # Append any errors to the config.log.
9491       cat conftest.err 1>&5
9492       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9493       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9494       if diff conftest.exp conftest.er2 >/dev/null; then
9495         lt_cv_prog_compiler_static_works=yes
9496       fi
9497     else
9498       lt_cv_prog_compiler_static_works=yes
9499     fi
9500   fi
9501   $RM -r conftest*
9502   LDFLAGS="$save_LDFLAGS"
9503
9504fi
9505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9506$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9507
9508if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9509    :
9510else
9511    lt_prog_compiler_static=
9512fi
9513
9514
9515
9516
9517
9518
9519
9520  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9521$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9522if ${lt_cv_prog_compiler_c_o+:} false; then :
9523  $as_echo_n "(cached) " >&6
9524else
9525  lt_cv_prog_compiler_c_o=no
9526   $RM -r conftest 2>/dev/null
9527   mkdir conftest
9528   cd conftest
9529   mkdir out
9530   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9531
9532   lt_compiler_flag="-o out/conftest2.$ac_objext"
9533   # Insert the option either (1) after the last *FLAGS variable, or
9534   # (2) before a word containing "conftest.", or (3) at the end.
9535   # Note that $ac_compile itself does not contain backslashes and begins
9536   # with a dollar sign (not a hyphen), so the echo should work correctly.
9537   lt_compile=`echo "$ac_compile" | $SED \
9538   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9539   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9540   -e 's:$: $lt_compiler_flag:'`
9541   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9542   (eval "$lt_compile" 2>out/conftest.err)
9543   ac_status=$?
9544   cat out/conftest.err >&5
9545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9546   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9547   then
9548     # The compiler can only warn and ignore the option if not recognized
9549     # So say no if there are warnings
9550     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9551     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9552     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9553       lt_cv_prog_compiler_c_o=yes
9554     fi
9555   fi
9556   chmod u+w . 2>&5
9557   $RM conftest*
9558   # SGI C++ compiler will create directory out/ii_files/ for
9559   # template instantiation
9560   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9561   $RM out/* && rmdir out
9562   cd ..
9563   $RM -r conftest
9564   $RM conftest*
9565
9566fi
9567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9568$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9569
9570
9571
9572
9573
9574
9575  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9576$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9577if ${lt_cv_prog_compiler_c_o+:} false; then :
9578  $as_echo_n "(cached) " >&6
9579else
9580  lt_cv_prog_compiler_c_o=no
9581   $RM -r conftest 2>/dev/null
9582   mkdir conftest
9583   cd conftest
9584   mkdir out
9585   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9586
9587   lt_compiler_flag="-o out/conftest2.$ac_objext"
9588   # Insert the option either (1) after the last *FLAGS variable, or
9589   # (2) before a word containing "conftest.", or (3) at the end.
9590   # Note that $ac_compile itself does not contain backslashes and begins
9591   # with a dollar sign (not a hyphen), so the echo should work correctly.
9592   lt_compile=`echo "$ac_compile" | $SED \
9593   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9594   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9595   -e 's:$: $lt_compiler_flag:'`
9596   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9597   (eval "$lt_compile" 2>out/conftest.err)
9598   ac_status=$?
9599   cat out/conftest.err >&5
9600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9602   then
9603     # The compiler can only warn and ignore the option if not recognized
9604     # So say no if there are warnings
9605     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9606     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9607     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9608       lt_cv_prog_compiler_c_o=yes
9609     fi
9610   fi
9611   chmod u+w . 2>&5
9612   $RM conftest*
9613   # SGI C++ compiler will create directory out/ii_files/ for
9614   # template instantiation
9615   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9616   $RM out/* && rmdir out
9617   cd ..
9618   $RM -r conftest
9619   $RM conftest*
9620
9621fi
9622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9623$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9624
9625
9626
9627
9628hard_links="nottested"
9629if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9630  # do not overwrite the value of need_locks provided by the user
9631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9632$as_echo_n "checking if we can lock with hard links... " >&6; }
9633  hard_links=yes
9634  $RM conftest*
9635  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9636  touch conftest.a
9637  ln conftest.a conftest.b 2>&5 || hard_links=no
9638  ln conftest.a conftest.b 2>/dev/null && hard_links=no
9639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9640$as_echo "$hard_links" >&6; }
9641  if test "$hard_links" = no; then
9642    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9643$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9644    need_locks=warn
9645  fi
9646else
9647  need_locks=no
9648fi
9649
9650
9651
9652
9653
9654
9655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9656$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9657
9658  runpath_var=
9659  allow_undefined_flag=
9660  always_export_symbols=no
9661  archive_cmds=
9662  archive_expsym_cmds=
9663  compiler_needs_object=no
9664  enable_shared_with_static_runtimes=no
9665  export_dynamic_flag_spec=
9666  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9667  hardcode_automatic=no
9668  hardcode_direct=no
9669  hardcode_direct_absolute=no
9670  hardcode_libdir_flag_spec=
9671  hardcode_libdir_separator=
9672  hardcode_minus_L=no
9673  hardcode_shlibpath_var=unsupported
9674  inherit_rpath=no
9675  link_all_deplibs=unknown
9676  module_cmds=
9677  module_expsym_cmds=
9678  old_archive_from_new_cmds=
9679  old_archive_from_expsyms_cmds=
9680  thread_safe_flag_spec=
9681  whole_archive_flag_spec=
9682  # include_expsyms should be a list of space-separated symbols to be *always*
9683  # included in the symbol list
9684  include_expsyms=
9685  # exclude_expsyms can be an extended regexp of symbols to exclude
9686  # it will be wrapped by ` (' and `)$', so one must not match beginning or
9687  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9688  # as well as any symbol that contains `d'.
9689  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9690  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9691  # platforms (ab)use it in PIC code, but their linkers get confused if
9692  # the symbol is explicitly referenced.  Since portable code cannot
9693  # rely on this symbol name, it's probably fine to never include it in
9694  # preloaded symbol tables.
9695  # Exclude shared library initialization/finalization symbols.
9696  extract_expsyms_cmds=
9697
9698  case $host_os in
9699  cygwin* | mingw* | pw32* | cegcc*)
9700    # FIXME: the MSVC++ port hasn't been tested in a loooong time
9701    # When not using gcc, we currently assume that we are using
9702    # Microsoft Visual C++.
9703    if test "$GCC" != yes; then
9704      with_gnu_ld=no
9705    fi
9706    ;;
9707  interix*)
9708    # we just hope/assume this is gcc and not c89 (= MSVC++)
9709    with_gnu_ld=yes
9710    ;;
9711  openbsd*)
9712    with_gnu_ld=no
9713    ;;
9714  linux* | k*bsd*-gnu | gnu*)
9715    link_all_deplibs=no
9716    ;;
9717  esac
9718
9719  ld_shlibs=yes
9720
9721  # On some targets, GNU ld is compatible enough with the native linker
9722  # that we're better off using the native interface for both.
9723  lt_use_gnu_ld_interface=no
9724  if test "$with_gnu_ld" = yes; then
9725    case $host_os in
9726      aix*)
9727	# The AIX port of GNU ld has always aspired to compatibility
9728	# with the native linker.  However, as the warning in the GNU ld
9729	# block says, versions before 2.19.5* couldn't really create working
9730	# shared libraries, regardless of the interface used.
9731	case `$LD -v 2>&1` in
9732	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9733	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9734	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9735	  *)
9736	    lt_use_gnu_ld_interface=yes
9737	    ;;
9738	esac
9739	;;
9740      *)
9741	lt_use_gnu_ld_interface=yes
9742	;;
9743    esac
9744  fi
9745
9746  if test "$lt_use_gnu_ld_interface" = yes; then
9747    # If archive_cmds runs LD, not CC, wlarc should be empty
9748    wlarc='${wl}'
9749
9750    # Set some defaults for GNU ld with shared library support. These
9751    # are reset later if shared libraries are not supported. Putting them
9752    # here allows them to be overridden if necessary.
9753    runpath_var=LD_RUN_PATH
9754    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9755    export_dynamic_flag_spec='${wl}--export-dynamic'
9756    # ancient GNU ld didn't support --whole-archive et. al.
9757    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9758      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9759    else
9760      whole_archive_flag_spec=
9761    fi
9762    supports_anon_versioning=no
9763    case `$LD -v 2>&1` in
9764      *GNU\ gold*) supports_anon_versioning=yes ;;
9765      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9766      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9767      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9768      *\ 2.11.*) ;; # other 2.11 versions
9769      *) supports_anon_versioning=yes ;;
9770    esac
9771
9772    # See if GNU ld supports shared libraries.
9773    case $host_os in
9774    aix[3-9]*)
9775      # On AIX/PPC, the GNU linker is very broken
9776      if test "$host_cpu" != ia64; then
9777	ld_shlibs=no
9778	cat <<_LT_EOF 1>&2
9779
9780*** Warning: the GNU linker, at least up to release 2.19, is reported
9781*** to be unable to reliably create shared libraries on AIX.
9782*** Therefore, libtool is disabling shared libraries support.  If you
9783*** really care for shared libraries, you may want to install binutils
9784*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9785*** You will then need to restart the configuration process.
9786
9787_LT_EOF
9788      fi
9789      ;;
9790
9791    amigaos*)
9792      case $host_cpu in
9793      powerpc)
9794            # see comment about AmigaOS4 .so support
9795            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9796            archive_expsym_cmds=''
9797        ;;
9798      m68k)
9799            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)'
9800            hardcode_libdir_flag_spec='-L$libdir'
9801            hardcode_minus_L=yes
9802        ;;
9803      esac
9804      ;;
9805
9806    beos*)
9807      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9808	allow_undefined_flag=unsupported
9809	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9810	# support --undefined.  This deserves some investigation.  FIXME
9811	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9812      else
9813	ld_shlibs=no
9814      fi
9815      ;;
9816
9817    cygwin* | mingw* | pw32* | cegcc*)
9818      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9819      # as there is no search path for DLLs.
9820      hardcode_libdir_flag_spec='-L$libdir'
9821      export_dynamic_flag_spec='${wl}--export-all-symbols'
9822      allow_undefined_flag=unsupported
9823      always_export_symbols=no
9824      enable_shared_with_static_runtimes=yes
9825      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'
9826      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9827
9828      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9829        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9830	# If the export-symbols file already is a .def file (1st line
9831	# is EXPORTS), use it as is; otherwise, prepend...
9832	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9833	  cp $export_symbols $output_objdir/$soname.def;
9834	else
9835	  echo EXPORTS > $output_objdir/$soname.def;
9836	  cat $export_symbols >> $output_objdir/$soname.def;
9837	fi~
9838	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9839      else
9840	ld_shlibs=no
9841      fi
9842      ;;
9843
9844    haiku*)
9845      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9846      link_all_deplibs=yes
9847      ;;
9848
9849    interix[3-9]*)
9850      hardcode_direct=no
9851      hardcode_shlibpath_var=no
9852      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9853      export_dynamic_flag_spec='${wl}-E'
9854      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9855      # Instead, shared libraries are loaded at an image base (0x10000000 by
9856      # default) and relocated if they conflict, which is a slow very memory
9857      # consuming and fragmenting process.  To avoid this, we pick a random,
9858      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9859      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9860      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9861      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'
9862      ;;
9863
9864    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9865      tmp_diet=no
9866      if test "$host_os" = linux-dietlibc; then
9867	case $cc_basename in
9868	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9869	esac
9870      fi
9871      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9872	 && test "$tmp_diet" = no
9873      then
9874	tmp_addflag=' $pic_flag'
9875	tmp_sharedflag='-shared'
9876	case $cc_basename,$host_cpu in
9877        pgcc*)				# Portland Group C compiler
9878	  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'
9879	  tmp_addflag=' $pic_flag'
9880	  ;;
9881	pgf77* | pgf90* | pgf95* | pgfortran*)
9882					# Portland Group f77 and f90 compilers
9883	  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'
9884	  tmp_addflag=' $pic_flag -Mnomain' ;;
9885	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9886	  tmp_addflag=' -i_dynamic' ;;
9887	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9888	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9889	ifc* | ifort*)			# Intel Fortran compiler
9890	  tmp_addflag=' -nofor_main' ;;
9891	lf95*)				# Lahey Fortran 8.1
9892	  whole_archive_flag_spec=
9893	  tmp_sharedflag='--shared' ;;
9894	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9895	  tmp_sharedflag='-qmkshrobj'
9896	  tmp_addflag= ;;
9897	nvcc*)	# Cuda Compiler Driver 2.2
9898	  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'
9899	  compiler_needs_object=yes
9900	  ;;
9901	esac
9902	case `$CC -V 2>&1 | sed 5q` in
9903	*Sun\ C*)			# Sun C 5.9
9904	  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'
9905	  compiler_needs_object=yes
9906	  tmp_sharedflag='-G' ;;
9907	*Sun\ F*)			# Sun Fortran 8.3
9908	  tmp_sharedflag='-G' ;;
9909	esac
9910	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911
9912        if test "x$supports_anon_versioning" = xyes; then
9913          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9914	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9915	    echo "local: *; };" >> $output_objdir/$libname.ver~
9916	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9917        fi
9918
9919	case $cc_basename in
9920	xlf* | bgf* | bgxlf* | mpixlf*)
9921	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9922	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9923	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9924	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9925	  if test "x$supports_anon_versioning" = xyes; then
9926	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9927	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9928	      echo "local: *; };" >> $output_objdir/$libname.ver~
9929	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9930	  fi
9931	  ;;
9932	esac
9933      else
9934        ld_shlibs=no
9935      fi
9936      ;;
9937
9938    netbsd* | netbsdelf*-gnu)
9939      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9940	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9941	wlarc=
9942      else
9943	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9944	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9945      fi
9946      ;;
9947
9948    solaris*)
9949      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9950	ld_shlibs=no
9951	cat <<_LT_EOF 1>&2
9952
9953*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9954*** create shared libraries on Solaris systems.  Therefore, libtool
9955*** is disabling shared libraries support.  We urge you to upgrade GNU
9956*** binutils to release 2.9.1 or newer.  Another option is to modify
9957*** your PATH or compiler configuration so that the native linker is
9958*** used, and then restart.
9959
9960_LT_EOF
9961      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9962	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9963	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9964      else
9965	ld_shlibs=no
9966      fi
9967      ;;
9968
9969    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9970      case `$LD -v 2>&1` in
9971        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9972	ld_shlibs=no
9973	cat <<_LT_EOF 1>&2
9974
9975*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9976*** reliably create shared libraries on SCO systems.  Therefore, libtool
9977*** is disabling shared libraries support.  We urge you to upgrade GNU
9978*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9979*** your PATH or compiler configuration so that the native linker is
9980*** used, and then restart.
9981
9982_LT_EOF
9983	;;
9984	*)
9985	  # For security reasons, it is highly recommended that you always
9986	  # use absolute paths for naming shared libraries, and exclude the
9987	  # DT_RUNPATH tag from executables and libraries.  But doing so
9988	  # requires that you compile everything twice, which is a pain.
9989	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9990	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9991	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9992	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9993	  else
9994	    ld_shlibs=no
9995	  fi
9996	;;
9997      esac
9998      ;;
9999
10000    sunos4*)
10001      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10002      wlarc=
10003      hardcode_direct=yes
10004      hardcode_shlibpath_var=no
10005      ;;
10006
10007    *)
10008      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10009	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10011      else
10012	ld_shlibs=no
10013      fi
10014      ;;
10015    esac
10016
10017    if test "$ld_shlibs" = no; then
10018      runpath_var=
10019      hardcode_libdir_flag_spec=
10020      export_dynamic_flag_spec=
10021      whole_archive_flag_spec=
10022    fi
10023  else
10024    # PORTME fill in a description of your system's linker (not GNU ld)
10025    case $host_os in
10026    aix3*)
10027      allow_undefined_flag=unsupported
10028      always_export_symbols=yes
10029      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'
10030      # Note: this linker hardcodes the directories in LIBPATH if there
10031      # are no directories specified by -L.
10032      hardcode_minus_L=yes
10033      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10034	# Neither direct hardcoding nor static linking is supported with a
10035	# broken collect2.
10036	hardcode_direct=unsupported
10037      fi
10038      ;;
10039
10040    aix[4-9]*)
10041      if test "$host_cpu" = ia64; then
10042	# On IA64, the linker does run time linking by default, so we don't
10043	# have to do anything special.
10044	aix_use_runtimelinking=no
10045	exp_sym_flag='-Bexport'
10046	no_entry_flag=""
10047      else
10048	# If we're using GNU nm, then we don't want the "-C" option.
10049	# -C means demangle to AIX nm, but means don't demangle with GNU nm
10050	# Also, AIX nm treats weak defined symbols like other global
10051	# defined symbols, whereas GNU nm marks them as "W".
10052	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10053	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10054	else
10055	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10056	fi
10057	aix_use_runtimelinking=no
10058
10059	# Test if we are trying to use run time linking or normal
10060	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10061	# need to do runtime linking.
10062	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10063	  for ld_flag in $LDFLAGS; do
10064	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10065	    aix_use_runtimelinking=yes
10066	    break
10067	  fi
10068	  done
10069	  ;;
10070	esac
10071
10072	exp_sym_flag='-bexport'
10073	no_entry_flag='-bnoentry'
10074      fi
10075
10076      # When large executables or shared objects are built, AIX ld can
10077      # have problems creating the table of contents.  If linking a library
10078      # or program results in "error TOC overflow" add -mminimal-toc to
10079      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10080      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10081
10082      archive_cmds=''
10083      hardcode_direct=yes
10084      hardcode_direct_absolute=yes
10085      hardcode_libdir_separator=':'
10086      link_all_deplibs=yes
10087      file_list_spec='${wl}-f,'
10088
10089      if test "$GCC" = yes; then
10090	case $host_os in aix4.[012]|aix4.[012].*)
10091	# We only want to do this on AIX 4.2 and lower, the check
10092	# below for broken collect2 doesn't work under 4.3+
10093	  collect2name=`${CC} -print-prog-name=collect2`
10094	  if test -f "$collect2name" &&
10095	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10096	  then
10097	  # We have reworked collect2
10098	  :
10099	  else
10100	  # We have old collect2
10101	  hardcode_direct=unsupported
10102	  # It fails to find uninstalled libraries when the uninstalled
10103	  # path is not listed in the libpath.  Setting hardcode_minus_L
10104	  # to unsupported forces relinking
10105	  hardcode_minus_L=yes
10106	  hardcode_libdir_flag_spec='-L$libdir'
10107	  hardcode_libdir_separator=
10108	  fi
10109	  ;;
10110	esac
10111	shared_flag='-shared'
10112	if test "$aix_use_runtimelinking" = yes; then
10113	  shared_flag="$shared_flag "'${wl}-G'
10114	fi
10115	link_all_deplibs=no
10116      else
10117	# not using gcc
10118	if test "$host_cpu" = ia64; then
10119	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10120	# chokes on -Wl,-G. The following line is correct:
10121	  shared_flag='-G'
10122	else
10123	  if test "$aix_use_runtimelinking" = yes; then
10124	    shared_flag='${wl}-G'
10125	  else
10126	    shared_flag='${wl}-bM:SRE'
10127	  fi
10128	fi
10129      fi
10130
10131      export_dynamic_flag_spec='${wl}-bexpall'
10132      # It seems that -bexpall does not export symbols beginning with
10133      # underscore (_), so it is better to generate a list of symbols to export.
10134      always_export_symbols=yes
10135      if test "$aix_use_runtimelinking" = yes; then
10136	# Warning - without using the other runtime loading flags (-brtl),
10137	# -berok will link without error, but may produce a broken library.
10138	allow_undefined_flag='-berok'
10139        # Determine the default libpath from the value encoded in an
10140        # empty executable.
10141        if test "${lt_cv_aix_libpath+set}" = set; then
10142  aix_libpath=$lt_cv_aix_libpath
10143else
10144  if ${lt_cv_aix_libpath_+:} false; then :
10145  $as_echo_n "(cached) " >&6
10146else
10147  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148/* end confdefs.h.  */
10149
10150int
10151main ()
10152{
10153
10154  ;
10155  return 0;
10156}
10157_ACEOF
10158if ac_fn_c_try_link "$LINENO"; then :
10159
10160  lt_aix_libpath_sed='
10161      /Import File Strings/,/^$/ {
10162	  /^0/ {
10163	      s/^0  *\([^ ]*\) *$/\1/
10164	      p
10165	  }
10166      }'
10167  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10168  # Check for a 64-bit object if we didn't find anything.
10169  if test -z "$lt_cv_aix_libpath_"; then
10170    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10171  fi
10172fi
10173rm -f core conftest.err conftest.$ac_objext \
10174    conftest$ac_exeext conftest.$ac_ext
10175  if test -z "$lt_cv_aix_libpath_"; then
10176    lt_cv_aix_libpath_="/usr/lib:/lib"
10177  fi
10178
10179fi
10180
10181  aix_libpath=$lt_cv_aix_libpath_
10182fi
10183
10184        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10185        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10186      else
10187	if test "$host_cpu" = ia64; then
10188	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10189	  allow_undefined_flag="-z nodefs"
10190	  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"
10191	else
10192	 # Determine the default libpath from the value encoded in an
10193	 # empty executable.
10194	 if test "${lt_cv_aix_libpath+set}" = set; then
10195  aix_libpath=$lt_cv_aix_libpath
10196else
10197  if ${lt_cv_aix_libpath_+:} false; then :
10198  $as_echo_n "(cached) " >&6
10199else
10200  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10201/* end confdefs.h.  */
10202
10203int
10204main ()
10205{
10206
10207  ;
10208  return 0;
10209}
10210_ACEOF
10211if ac_fn_c_try_link "$LINENO"; then :
10212
10213  lt_aix_libpath_sed='
10214      /Import File Strings/,/^$/ {
10215	  /^0/ {
10216	      s/^0  *\([^ ]*\) *$/\1/
10217	      p
10218	  }
10219      }'
10220  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10221  # Check for a 64-bit object if we didn't find anything.
10222  if test -z "$lt_cv_aix_libpath_"; then
10223    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10224  fi
10225fi
10226rm -f core conftest.err conftest.$ac_objext \
10227    conftest$ac_exeext conftest.$ac_ext
10228  if test -z "$lt_cv_aix_libpath_"; then
10229    lt_cv_aix_libpath_="/usr/lib:/lib"
10230  fi
10231
10232fi
10233
10234  aix_libpath=$lt_cv_aix_libpath_
10235fi
10236
10237	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10238	  # Warning - without using the other run time loading flags,
10239	  # -berok will link without error, but may produce a broken library.
10240	  no_undefined_flag=' ${wl}-bernotok'
10241	  allow_undefined_flag=' ${wl}-berok'
10242	  if test "$with_gnu_ld" = yes; then
10243	    # We only use this code for GNU lds that support --whole-archive.
10244	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10245	  else
10246	    # Exported symbols can be pulled into shared objects from archives
10247	    whole_archive_flag_spec='$convenience'
10248	  fi
10249	  archive_cmds_need_lc=yes
10250	  # This is similar to how AIX traditionally builds its shared libraries.
10251	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
10252	fi
10253      fi
10254      ;;
10255
10256    amigaos*)
10257      case $host_cpu in
10258      powerpc)
10259            # see comment about AmigaOS4 .so support
10260            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10261            archive_expsym_cmds=''
10262        ;;
10263      m68k)
10264            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)'
10265            hardcode_libdir_flag_spec='-L$libdir'
10266            hardcode_minus_L=yes
10267        ;;
10268      esac
10269      ;;
10270
10271    bsdi[45]*)
10272      export_dynamic_flag_spec=-rdynamic
10273      ;;
10274
10275    cygwin* | mingw* | pw32* | cegcc*)
10276      # When not using gcc, we currently assume that we are using
10277      # Microsoft Visual C++.
10278      # hardcode_libdir_flag_spec is actually meaningless, as there is
10279      # no search path for DLLs.
10280      case $cc_basename in
10281      cl*)
10282	# Native MSVC
10283	hardcode_libdir_flag_spec=' '
10284	allow_undefined_flag=unsupported
10285	always_export_symbols=yes
10286	file_list_spec='@'
10287	# Tell ltmain to make .lib files, not .a files.
10288	libext=lib
10289	# Tell ltmain to make .dll files, not .so files.
10290	shrext_cmds=".dll"
10291	# FIXME: Setting linknames here is a bad hack.
10292	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10293	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10294	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10295	  else
10296	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10297	  fi~
10298	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10299	  linknames='
10300	# The linker will not automatically build a static lib if we build a DLL.
10301	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10302	enable_shared_with_static_runtimes=yes
10303	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10304	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10305	# Don't use ranlib
10306	old_postinstall_cmds='chmod 644 $oldlib'
10307	postlink_cmds='lt_outputfile="@OUTPUT@"~
10308	  lt_tool_outputfile="@TOOL_OUTPUT@"~
10309	  case $lt_outputfile in
10310	    *.exe|*.EXE) ;;
10311	    *)
10312	      lt_outputfile="$lt_outputfile.exe"
10313	      lt_tool_outputfile="$lt_tool_outputfile.exe"
10314	      ;;
10315	  esac~
10316	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10317	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10318	    $RM "$lt_outputfile.manifest";
10319	  fi'
10320	;;
10321      *)
10322	# Assume MSVC wrapper
10323	hardcode_libdir_flag_spec=' '
10324	allow_undefined_flag=unsupported
10325	# Tell ltmain to make .lib files, not .a files.
10326	libext=lib
10327	# Tell ltmain to make .dll files, not .so files.
10328	shrext_cmds=".dll"
10329	# FIXME: Setting linknames here is a bad hack.
10330	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10331	# The linker will automatically build a .lib file if we build a DLL.
10332	old_archive_from_new_cmds='true'
10333	# FIXME: Should let the user specify the lib program.
10334	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10335	enable_shared_with_static_runtimes=yes
10336	;;
10337      esac
10338      ;;
10339
10340    darwin* | rhapsody*)
10341
10342
10343  archive_cmds_need_lc=no
10344  hardcode_direct=no
10345  hardcode_automatic=yes
10346  hardcode_shlibpath_var=unsupported
10347  if test "$lt_cv_ld_force_load" = "yes"; then
10348    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\"`'
10349
10350  else
10351    whole_archive_flag_spec=''
10352  fi
10353  link_all_deplibs=yes
10354  allow_undefined_flag="$_lt_dar_allow_undefined"
10355  case $cc_basename in
10356     ifort*) _lt_dar_can_shared=yes ;;
10357     *) _lt_dar_can_shared=$GCC ;;
10358  esac
10359  if test "$_lt_dar_can_shared" = "yes"; then
10360    output_verbose_link_cmd=func_echo_all
10361    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10362    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10363    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}"
10364    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}"
10365
10366  else
10367  ld_shlibs=no
10368  fi
10369
10370      ;;
10371
10372    dgux*)
10373      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374      hardcode_libdir_flag_spec='-L$libdir'
10375      hardcode_shlibpath_var=no
10376      ;;
10377
10378    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379    # support.  Future versions do this automatically, but an explicit c++rt0.o
10380    # does not break anything, and helps significantly (at the cost of a little
10381    # extra space).
10382    freebsd2.2*)
10383      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384      hardcode_libdir_flag_spec='-R$libdir'
10385      hardcode_direct=yes
10386      hardcode_shlibpath_var=no
10387      ;;
10388
10389    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10390    freebsd2.*)
10391      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392      hardcode_direct=yes
10393      hardcode_minus_L=yes
10394      hardcode_shlibpath_var=no
10395      ;;
10396
10397    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398    freebsd* | dragonfly*)
10399      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10400      hardcode_libdir_flag_spec='-R$libdir'
10401      hardcode_direct=yes
10402      hardcode_shlibpath_var=no
10403      ;;
10404
10405    hpux9*)
10406      if test "$GCC" = yes; then
10407	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10408      else
10409	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10410      fi
10411      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412      hardcode_libdir_separator=:
10413      hardcode_direct=yes
10414
10415      # hardcode_minus_L: Not really in the search PATH,
10416      # but as the default location of the library.
10417      hardcode_minus_L=yes
10418      export_dynamic_flag_spec='${wl}-E'
10419      ;;
10420
10421    hpux10*)
10422      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10423	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10424      else
10425	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10426      fi
10427      if test "$with_gnu_ld" = no; then
10428	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429	hardcode_libdir_separator=:
10430	hardcode_direct=yes
10431	hardcode_direct_absolute=yes
10432	export_dynamic_flag_spec='${wl}-E'
10433	# hardcode_minus_L: Not really in the search PATH,
10434	# but as the default location of the library.
10435	hardcode_minus_L=yes
10436      fi
10437      ;;
10438
10439    hpux11*)
10440      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10441	case $host_cpu in
10442	hppa*64*)
10443	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10444	  ;;
10445	ia64*)
10446	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10447	  ;;
10448	*)
10449	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10450	  ;;
10451	esac
10452      else
10453	case $host_cpu in
10454	hppa*64*)
10455	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10456	  ;;
10457	ia64*)
10458	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10459	  ;;
10460	*)
10461
10462	  # Older versions of the 11.00 compiler do not understand -b yet
10463	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10464	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10465$as_echo_n "checking if $CC understands -b... " >&6; }
10466if ${lt_cv_prog_compiler__b+:} false; then :
10467  $as_echo_n "(cached) " >&6
10468else
10469  lt_cv_prog_compiler__b=no
10470   save_LDFLAGS="$LDFLAGS"
10471   LDFLAGS="$LDFLAGS -b"
10472   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10473   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10474     # The linker can only warn and ignore the option if not recognized
10475     # So say no if there are warnings
10476     if test -s conftest.err; then
10477       # Append any errors to the config.log.
10478       cat conftest.err 1>&5
10479       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10480       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10481       if diff conftest.exp conftest.er2 >/dev/null; then
10482         lt_cv_prog_compiler__b=yes
10483       fi
10484     else
10485       lt_cv_prog_compiler__b=yes
10486     fi
10487   fi
10488   $RM -r conftest*
10489   LDFLAGS="$save_LDFLAGS"
10490
10491fi
10492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10493$as_echo "$lt_cv_prog_compiler__b" >&6; }
10494
10495if test x"$lt_cv_prog_compiler__b" = xyes; then
10496    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10497else
10498    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10499fi
10500
10501	  ;;
10502	esac
10503      fi
10504      if test "$with_gnu_ld" = no; then
10505	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10506	hardcode_libdir_separator=:
10507
10508	case $host_cpu in
10509	hppa*64*|ia64*)
10510	  hardcode_direct=no
10511	  hardcode_shlibpath_var=no
10512	  ;;
10513	*)
10514	  hardcode_direct=yes
10515	  hardcode_direct_absolute=yes
10516	  export_dynamic_flag_spec='${wl}-E'
10517
10518	  # hardcode_minus_L: Not really in the search PATH,
10519	  # but as the default location of the library.
10520	  hardcode_minus_L=yes
10521	  ;;
10522	esac
10523      fi
10524      ;;
10525
10526    irix5* | irix6* | nonstopux*)
10527      if test "$GCC" = yes; then
10528	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'
10529	# Try to use the -exported_symbol ld option, if it does not
10530	# work, assume that -exports_file does not work either and
10531	# implicitly export all symbols.
10532	# This should be the same for all languages, so no per-tag cache variable.
10533	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10534$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10535if ${lt_cv_irix_exported_symbol+:} false; then :
10536  $as_echo_n "(cached) " >&6
10537else
10538  save_LDFLAGS="$LDFLAGS"
10539	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10540	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10541/* end confdefs.h.  */
10542int foo (void) { return 0; }
10543_ACEOF
10544if ac_fn_c_try_link "$LINENO"; then :
10545  lt_cv_irix_exported_symbol=yes
10546else
10547  lt_cv_irix_exported_symbol=no
10548fi
10549rm -f core conftest.err conftest.$ac_objext \
10550    conftest$ac_exeext conftest.$ac_ext
10551           LDFLAGS="$save_LDFLAGS"
10552fi
10553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10554$as_echo "$lt_cv_irix_exported_symbol" >&6; }
10555	if test "$lt_cv_irix_exported_symbol" = yes; then
10556          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'
10557	fi
10558      else
10559	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'
10560	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'
10561      fi
10562      archive_cmds_need_lc='no'
10563      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10564      hardcode_libdir_separator=:
10565      inherit_rpath=yes
10566      link_all_deplibs=yes
10567      ;;
10568
10569    netbsd* | netbsdelf*-gnu)
10570      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10571	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
10572      else
10573	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
10574      fi
10575      hardcode_libdir_flag_spec='-R$libdir'
10576      hardcode_direct=yes
10577      hardcode_shlibpath_var=no
10578      ;;
10579
10580    newsos6)
10581      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10582      hardcode_direct=yes
10583      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10584      hardcode_libdir_separator=:
10585      hardcode_shlibpath_var=no
10586      ;;
10587
10588    *nto* | *qnx*)
10589      ;;
10590
10591    openbsd*)
10592      if test -f /usr/libexec/ld.so; then
10593	hardcode_direct=yes
10594	hardcode_shlibpath_var=no
10595	hardcode_direct_absolute=yes
10596	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10597	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10598	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10599	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10600	  export_dynamic_flag_spec='${wl}-E'
10601	else
10602	  case $host_os in
10603	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10604	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10605	     hardcode_libdir_flag_spec='-R$libdir'
10606	     ;;
10607	   *)
10608	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10609	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10610	     ;;
10611	  esac
10612	fi
10613      else
10614	ld_shlibs=no
10615      fi
10616      ;;
10617
10618    os2*)
10619      hardcode_libdir_flag_spec='-L$libdir'
10620      hardcode_minus_L=yes
10621      allow_undefined_flag=unsupported
10622      archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10623      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10624      ;;
10625
10626    osf3*)
10627      if test "$GCC" = yes; then
10628	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10629	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'
10630      else
10631	allow_undefined_flag=' -expect_unresolved \*'
10632	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'
10633      fi
10634      archive_cmds_need_lc='no'
10635      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10636      hardcode_libdir_separator=:
10637      ;;
10638
10639    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10640      if test "$GCC" = yes; then
10641	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10642	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'
10643	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10644      else
10645	allow_undefined_flag=' -expect_unresolved \*'
10646	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'
10647	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~
10648	$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'
10649
10650	# Both c and cxx compiler support -rpath directly
10651	hardcode_libdir_flag_spec='-rpath $libdir'
10652      fi
10653      archive_cmds_need_lc='no'
10654      hardcode_libdir_separator=:
10655      ;;
10656
10657    solaris*)
10658      no_undefined_flag=' -z defs'
10659      if test "$GCC" = yes; then
10660	wlarc='${wl}'
10661	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10662	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10663	  $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'
10664      else
10665	case `$CC -V 2>&1` in
10666	*"Compilers 5.0"*)
10667	  wlarc=''
10668	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10669	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10670	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10671	  ;;
10672	*)
10673	  wlarc='${wl}'
10674	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10675	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10676	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10677	  ;;
10678	esac
10679      fi
10680      hardcode_libdir_flag_spec='-R$libdir'
10681      hardcode_shlibpath_var=no
10682      case $host_os in
10683      solaris2.[0-5] | solaris2.[0-5].*) ;;
10684      *)
10685	# The compiler driver will combine and reorder linker options,
10686	# but understands `-z linker_flag'.  GCC discards it without `$wl',
10687	# but is careful enough not to reorder.
10688	# Supported since Solaris 2.6 (maybe 2.5.1?)
10689	if test "$GCC" = yes; then
10690	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10691	else
10692	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10693	fi
10694	;;
10695      esac
10696      link_all_deplibs=yes
10697      ;;
10698
10699    sunos4*)
10700      if test "x$host_vendor" = xsequent; then
10701	# Use $CC to link under sequent, because it throws in some extra .o
10702	# files that make .init and .fini sections work.
10703	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10704      else
10705	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10706      fi
10707      hardcode_libdir_flag_spec='-L$libdir'
10708      hardcode_direct=yes
10709      hardcode_minus_L=yes
10710      hardcode_shlibpath_var=no
10711      ;;
10712
10713    sysv4)
10714      case $host_vendor in
10715	sni)
10716	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10717	  hardcode_direct=yes # is this really true???
10718	;;
10719	siemens)
10720	  ## LD is ld it makes a PLAMLIB
10721	  ## CC just makes a GrossModule.
10722	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10723	  reload_cmds='$CC -r -o $output$reload_objs'
10724	  hardcode_direct=no
10725        ;;
10726	motorola)
10727	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10728	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10729	;;
10730      esac
10731      runpath_var='LD_RUN_PATH'
10732      hardcode_shlibpath_var=no
10733      ;;
10734
10735    sysv4.3*)
10736      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10737      hardcode_shlibpath_var=no
10738      export_dynamic_flag_spec='-Bexport'
10739      ;;
10740
10741    sysv4*MP*)
10742      if test -d /usr/nec; then
10743	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10744	hardcode_shlibpath_var=no
10745	runpath_var=LD_RUN_PATH
10746	hardcode_runpath_var=yes
10747	ld_shlibs=yes
10748      fi
10749      ;;
10750
10751    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10752      no_undefined_flag='${wl}-z,text'
10753      archive_cmds_need_lc=no
10754      hardcode_shlibpath_var=no
10755      runpath_var='LD_RUN_PATH'
10756
10757      if test "$GCC" = yes; then
10758	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10759	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10760      else
10761	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10762	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10763      fi
10764      ;;
10765
10766    sysv5* | sco3.2v5* | sco5v6*)
10767      # Note: We can NOT use -z defs as we might desire, because we do not
10768      # link with -lc, and that would cause any symbols used from libc to
10769      # always be unresolved, which means just about no library would
10770      # ever link correctly.  If we're not using GNU ld we use -z text
10771      # though, which does catch some bad symbols but isn't as heavy-handed
10772      # as -z defs.
10773      no_undefined_flag='${wl}-z,text'
10774      allow_undefined_flag='${wl}-z,nodefs'
10775      archive_cmds_need_lc=no
10776      hardcode_shlibpath_var=no
10777      hardcode_libdir_flag_spec='${wl}-R,$libdir'
10778      hardcode_libdir_separator=':'
10779      link_all_deplibs=yes
10780      export_dynamic_flag_spec='${wl}-Bexport'
10781      runpath_var='LD_RUN_PATH'
10782
10783      if test "$GCC" = yes; then
10784	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10785	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10786      else
10787	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10788	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10789      fi
10790      ;;
10791
10792    uts4*)
10793      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10794      hardcode_libdir_flag_spec='-L$libdir'
10795      hardcode_shlibpath_var=no
10796      ;;
10797
10798    *)
10799      ld_shlibs=no
10800      ;;
10801    esac
10802
10803    if test x$host_vendor = xsni; then
10804      case $host in
10805      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10806	export_dynamic_flag_spec='${wl}-Blargedynsym'
10807	;;
10808      esac
10809    fi
10810  fi
10811
10812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10813$as_echo "$ld_shlibs" >&6; }
10814test "$ld_shlibs" = no && can_build_shared=no
10815
10816with_gnu_ld=$with_gnu_ld
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832#
10833# Do we need to explicitly link libc?
10834#
10835case "x$archive_cmds_need_lc" in
10836x|xyes)
10837  # Assume -lc should be added
10838  archive_cmds_need_lc=yes
10839
10840  if test "$enable_shared" = yes && test "$GCC" = yes; then
10841    case $archive_cmds in
10842    *'~'*)
10843      # FIXME: we may have to deal with multi-command sequences.
10844      ;;
10845    '$CC '*)
10846      # Test whether the compiler implicitly links with -lc since on some
10847      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10848      # to ld, don't add -lc before -lgcc.
10849      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10850$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10851if ${lt_cv_archive_cmds_need_lc+:} false; then :
10852  $as_echo_n "(cached) " >&6
10853else
10854  $RM conftest*
10855	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10856
10857	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10858  (eval $ac_compile) 2>&5
10859  ac_status=$?
10860  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10861  test $ac_status = 0; } 2>conftest.err; then
10862	  soname=conftest
10863	  lib=conftest
10864	  libobjs=conftest.$ac_objext
10865	  deplibs=
10866	  wl=$lt_prog_compiler_wl
10867	  pic_flag=$lt_prog_compiler_pic
10868	  compiler_flags=-v
10869	  linker_flags=-v
10870	  verstring=
10871	  output_objdir=.
10872	  libname=conftest
10873	  lt_save_allow_undefined_flag=$allow_undefined_flag
10874	  allow_undefined_flag=
10875	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10876  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10877  ac_status=$?
10878  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10879  test $ac_status = 0; }
10880	  then
10881	    lt_cv_archive_cmds_need_lc=no
10882	  else
10883	    lt_cv_archive_cmds_need_lc=yes
10884	  fi
10885	  allow_undefined_flag=$lt_save_allow_undefined_flag
10886	else
10887	  cat conftest.err 1>&5
10888	fi
10889	$RM conftest*
10890
10891fi
10892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10893$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10894      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10895      ;;
10896    esac
10897  fi
10898  ;;
10899esac
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11053$as_echo_n "checking dynamic linker characteristics... " >&6; }
11054
11055if test "$GCC" = yes; then
11056  case $host_os in
11057    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11058    *) lt_awk_arg="/^libraries:/" ;;
11059  esac
11060  case $host_os in
11061    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11062    *) lt_sed_strip_eq="s,=/,/,g" ;;
11063  esac
11064  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11065  case $lt_search_path_spec in
11066  *\;*)
11067    # if the path contains ";" then we assume it to be the separator
11068    # otherwise default to the standard path separator (i.e. ":") - it is
11069    # assumed that no part of a normal pathname contains ";" but that should
11070    # okay in the real world where ";" in dirpaths is itself problematic.
11071    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11072    ;;
11073  *)
11074    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11075    ;;
11076  esac
11077  # Ok, now we have the path, separated by spaces, we can step through it
11078  # and add multilib dir if necessary.
11079  lt_tmp_lt_search_path_spec=
11080  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11081  for lt_sys_path in $lt_search_path_spec; do
11082    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11083      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11084    else
11085      test -d "$lt_sys_path" && \
11086	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11087    fi
11088  done
11089  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11090BEGIN {RS=" "; FS="/|\n";} {
11091  lt_foo="";
11092  lt_count=0;
11093  for (lt_i = NF; lt_i > 0; lt_i--) {
11094    if ($lt_i != "" && $lt_i != ".") {
11095      if ($lt_i == "..") {
11096        lt_count++;
11097      } else {
11098        if (lt_count == 0) {
11099          lt_foo="/" $lt_i lt_foo;
11100        } else {
11101          lt_count--;
11102        }
11103      }
11104    }
11105  }
11106  if (lt_foo != "") { lt_freq[lt_foo]++; }
11107  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11108}'`
11109  # AWK program above erroneously prepends '/' to C:/dos/paths
11110  # for these hosts.
11111  case $host_os in
11112    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11113      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11114  esac
11115  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11116else
11117  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11118fi
11119library_names_spec=
11120libname_spec='lib$name'
11121soname_spec=
11122shrext_cmds=".so"
11123postinstall_cmds=
11124postuninstall_cmds=
11125finish_cmds=
11126finish_eval=
11127shlibpath_var=
11128shlibpath_overrides_runpath=unknown
11129version_type=none
11130dynamic_linker="$host_os ld.so"
11131sys_lib_dlsearch_path_spec="/lib /usr/lib"
11132need_lib_prefix=unknown
11133hardcode_into_libs=no
11134
11135# when you set need_version to no, make sure it does not cause -set_version
11136# flags to be left without arguments
11137need_version=unknown
11138
11139case $host_os in
11140aix3*)
11141  version_type=linux # correct to gnu/linux during the next big refactor
11142  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11143  shlibpath_var=LIBPATH
11144
11145  # AIX 3 has no versioning support, so we append a major version to the name.
11146  soname_spec='${libname}${release}${shared_ext}$major'
11147  ;;
11148
11149aix[4-9]*)
11150  version_type=linux # correct to gnu/linux during the next big refactor
11151  need_lib_prefix=no
11152  need_version=no
11153  hardcode_into_libs=yes
11154  if test "$host_cpu" = ia64; then
11155    # AIX 5 supports IA64
11156    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11157    shlibpath_var=LD_LIBRARY_PATH
11158  else
11159    # With GCC up to 2.95.x, collect2 would create an import file
11160    # for dependence libraries.  The import file would start with
11161    # the line `#! .'.  This would cause the generated library to
11162    # depend on `.', always an invalid library.  This was fixed in
11163    # development snapshots of GCC prior to 3.0.
11164    case $host_os in
11165      aix4 | aix4.[01] | aix4.[01].*)
11166      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11167	   echo ' yes '
11168	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11169	:
11170      else
11171	can_build_shared=no
11172      fi
11173      ;;
11174    esac
11175    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11176    # soname into executable. Probably we can add versioning support to
11177    # collect2, so additional links can be useful in future.
11178    if test "$aix_use_runtimelinking" = yes; then
11179      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11180      # instead of lib<name>.a to let people know that these are not
11181      # typical AIX shared libraries.
11182      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11183    else
11184      # We preserve .a as extension for shared libraries through AIX4.2
11185      # and later when we are not doing run time linking.
11186      library_names_spec='${libname}${release}.a $libname.a'
11187      soname_spec='${libname}${release}${shared_ext}$major'
11188    fi
11189    shlibpath_var=LIBPATH
11190  fi
11191  ;;
11192
11193amigaos*)
11194  case $host_cpu in
11195  powerpc)
11196    # Since July 2007 AmigaOS4 officially supports .so libraries.
11197    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11198    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11199    ;;
11200  m68k)
11201    library_names_spec='$libname.ixlibrary $libname.a'
11202    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11203    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
11204    ;;
11205  esac
11206  ;;
11207
11208beos*)
11209  library_names_spec='${libname}${shared_ext}'
11210  dynamic_linker="$host_os ld.so"
11211  shlibpath_var=LIBRARY_PATH
11212  ;;
11213
11214bsdi[45]*)
11215  version_type=linux # correct to gnu/linux during the next big refactor
11216  need_version=no
11217  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11218  soname_spec='${libname}${release}${shared_ext}$major'
11219  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11220  shlibpath_var=LD_LIBRARY_PATH
11221  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11222  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11223  # the default ld.so.conf also contains /usr/contrib/lib and
11224  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11225  # libtool to hard-code these into programs
11226  ;;
11227
11228cygwin* | mingw* | pw32* | cegcc*)
11229  version_type=windows
11230  shrext_cmds=".dll"
11231  need_version=no
11232  need_lib_prefix=no
11233
11234  case $GCC,$cc_basename in
11235  yes,*)
11236    # gcc
11237    library_names_spec='$libname.dll.a'
11238    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11239    postinstall_cmds='base_file=`basename \${file}`~
11240      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11241      dldir=$destdir/`dirname \$dlpath`~
11242      test -d \$dldir || mkdir -p \$dldir~
11243      $install_prog $dir/$dlname \$dldir/$dlname~
11244      chmod a+x \$dldir/$dlname~
11245      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11246        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11247      fi'
11248    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11249      dlpath=$dir/\$dldll~
11250       $RM \$dlpath'
11251    shlibpath_overrides_runpath=yes
11252
11253    case $host_os in
11254    cygwin*)
11255      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11256      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11257
11258      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11259      ;;
11260    mingw* | cegcc*)
11261      # MinGW DLLs use traditional 'lib' prefix
11262      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11263      ;;
11264    pw32*)
11265      # pw32 DLLs use 'pw' prefix rather than 'lib'
11266      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11267      ;;
11268    esac
11269    dynamic_linker='Win32 ld.exe'
11270    ;;
11271
11272  *,cl*)
11273    # Native MSVC
11274    libname_spec='$name'
11275    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11276    library_names_spec='${libname}.dll.lib'
11277
11278    case $build_os in
11279    mingw*)
11280      sys_lib_search_path_spec=
11281      lt_save_ifs=$IFS
11282      IFS=';'
11283      for lt_path in $LIB
11284      do
11285        IFS=$lt_save_ifs
11286        # Let DOS variable expansion print the short 8.3 style file name.
11287        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11288        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11289      done
11290      IFS=$lt_save_ifs
11291      # Convert to MSYS style.
11292      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11293      ;;
11294    cygwin*)
11295      # Convert to unix form, then to dos form, then back to unix form
11296      # but this time dos style (no spaces!) so that the unix form looks
11297      # like /cygdrive/c/PROGRA~1:/cygdr...
11298      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11299      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11300      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11301      ;;
11302    *)
11303      sys_lib_search_path_spec="$LIB"
11304      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11305        # It is most probably a Windows format PATH.
11306        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11307      else
11308        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11309      fi
11310      # FIXME: find the short name or the path components, as spaces are
11311      # common. (e.g. "Program Files" -> "PROGRA~1")
11312      ;;
11313    esac
11314
11315    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11316    postinstall_cmds='base_file=`basename \${file}`~
11317      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11318      dldir=$destdir/`dirname \$dlpath`~
11319      test -d \$dldir || mkdir -p \$dldir~
11320      $install_prog $dir/$dlname \$dldir/$dlname'
11321    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11322      dlpath=$dir/\$dldll~
11323       $RM \$dlpath'
11324    shlibpath_overrides_runpath=yes
11325    dynamic_linker='Win32 link.exe'
11326    ;;
11327
11328  *)
11329    # Assume MSVC wrapper
11330    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11331    dynamic_linker='Win32 ld.exe'
11332    ;;
11333  esac
11334  # FIXME: first we should search . and the directory the executable is in
11335  shlibpath_var=PATH
11336  ;;
11337
11338darwin* | rhapsody*)
11339  dynamic_linker="$host_os dyld"
11340  version_type=darwin
11341  need_lib_prefix=no
11342  need_version=no
11343  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11344  soname_spec='${libname}${release}${major}$shared_ext'
11345  shlibpath_overrides_runpath=yes
11346  shlibpath_var=DYLD_LIBRARY_PATH
11347  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11348
11349  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11350  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11351  ;;
11352
11353dgux*)
11354  version_type=linux # correct to gnu/linux during the next big refactor
11355  need_lib_prefix=no
11356  need_version=no
11357  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11358  soname_spec='${libname}${release}${shared_ext}$major'
11359  shlibpath_var=LD_LIBRARY_PATH
11360  ;;
11361
11362freebsd* | dragonfly*)
11363  # DragonFly does not have aout.  When/if they implement a new
11364  # versioning mechanism, adjust this.
11365  if test -x /usr/bin/objformat; then
11366    objformat=`/usr/bin/objformat`
11367  else
11368    case $host_os in
11369    freebsd[23].*) objformat=aout ;;
11370    *) objformat=elf ;;
11371    esac
11372  fi
11373  version_type=freebsd-$objformat
11374  case $version_type in
11375    freebsd-elf*)
11376      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11377      need_version=no
11378      need_lib_prefix=no
11379      ;;
11380    freebsd-*)
11381      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11382      need_version=yes
11383      ;;
11384  esac
11385  shlibpath_var=LD_LIBRARY_PATH
11386  case $host_os in
11387  freebsd2.*)
11388    shlibpath_overrides_runpath=yes
11389    ;;
11390  freebsd3.[01]* | freebsdelf3.[01]*)
11391    shlibpath_overrides_runpath=yes
11392    hardcode_into_libs=yes
11393    ;;
11394  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11395  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11396    shlibpath_overrides_runpath=no
11397    hardcode_into_libs=yes
11398    ;;
11399  *) # from 4.6 on, and DragonFly
11400    shlibpath_overrides_runpath=yes
11401    hardcode_into_libs=yes
11402    ;;
11403  esac
11404  ;;
11405
11406haiku*)
11407  version_type=linux # correct to gnu/linux during the next big refactor
11408  need_lib_prefix=no
11409  need_version=no
11410  dynamic_linker="$host_os runtime_loader"
11411  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11412  soname_spec='${libname}${release}${shared_ext}$major'
11413  shlibpath_var=LIBRARY_PATH
11414  shlibpath_overrides_runpath=yes
11415  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11416  hardcode_into_libs=yes
11417  ;;
11418
11419hpux9* | hpux10* | hpux11*)
11420  # Give a soname corresponding to the major version so that dld.sl refuses to
11421  # link against other versions.
11422  version_type=sunos
11423  need_lib_prefix=no
11424  need_version=no
11425  case $host_cpu in
11426  ia64*)
11427    shrext_cmds='.so'
11428    hardcode_into_libs=yes
11429    dynamic_linker="$host_os dld.so"
11430    shlibpath_var=LD_LIBRARY_PATH
11431    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11432    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11433    soname_spec='${libname}${release}${shared_ext}$major'
11434    if test "X$HPUX_IA64_MODE" = X32; then
11435      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11436    else
11437      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11438    fi
11439    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11440    ;;
11441  hppa*64*)
11442    shrext_cmds='.sl'
11443    hardcode_into_libs=yes
11444    dynamic_linker="$host_os dld.sl"
11445    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11446    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11447    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448    soname_spec='${libname}${release}${shared_ext}$major'
11449    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11450    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11451    ;;
11452  *)
11453    shrext_cmds='.sl'
11454    dynamic_linker="$host_os dld.sl"
11455    shlibpath_var=SHLIB_PATH
11456    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11457    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11458    soname_spec='${libname}${release}${shared_ext}$major'
11459    ;;
11460  esac
11461  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11462  postinstall_cmds='chmod 555 $lib'
11463  # or fails outright, so override atomically:
11464  install_override_mode=555
11465  ;;
11466
11467interix[3-9]*)
11468  version_type=linux # correct to gnu/linux during the next big refactor
11469  need_lib_prefix=no
11470  need_version=no
11471  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11472  soname_spec='${libname}${release}${shared_ext}$major'
11473  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11474  shlibpath_var=LD_LIBRARY_PATH
11475  shlibpath_overrides_runpath=no
11476  hardcode_into_libs=yes
11477  ;;
11478
11479irix5* | irix6* | nonstopux*)
11480  case $host_os in
11481    nonstopux*) version_type=nonstopux ;;
11482    *)
11483	if test "$lt_cv_prog_gnu_ld" = yes; then
11484		version_type=linux # correct to gnu/linux during the next big refactor
11485	else
11486		version_type=irix
11487	fi ;;
11488  esac
11489  need_lib_prefix=no
11490  need_version=no
11491  soname_spec='${libname}${release}${shared_ext}$major'
11492  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11493  case $host_os in
11494  irix5* | nonstopux*)
11495    libsuff= shlibsuff=
11496    ;;
11497  *)
11498    case $LD in # libtool.m4 will add one of these switches to LD
11499    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11500      libsuff= shlibsuff= libmagic=32-bit;;
11501    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11502      libsuff=32 shlibsuff=N32 libmagic=N32;;
11503    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11504      libsuff=64 shlibsuff=64 libmagic=64-bit;;
11505    *) libsuff= shlibsuff= libmagic=never-match;;
11506    esac
11507    ;;
11508  esac
11509  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11510  shlibpath_overrides_runpath=no
11511  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11512  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11513  hardcode_into_libs=yes
11514  ;;
11515
11516# No shared lib support for Linux oldld, aout, or coff.
11517linux*oldld* | linux*aout* | linux*coff*)
11518  dynamic_linker=no
11519  ;;
11520
11521# This must be glibc/ELF.
11522linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11523  version_type=linux # correct to gnu/linux during the next big refactor
11524  need_lib_prefix=no
11525  need_version=no
11526  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11527  soname_spec='${libname}${release}${shared_ext}$major'
11528  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11529  shlibpath_var=LD_LIBRARY_PATH
11530  shlibpath_overrides_runpath=no
11531
11532  # Some binutils ld are patched to set DT_RUNPATH
11533  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11534  $as_echo_n "(cached) " >&6
11535else
11536  lt_cv_shlibpath_overrides_runpath=no
11537    save_LDFLAGS=$LDFLAGS
11538    save_libdir=$libdir
11539    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11540	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11541    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11542/* end confdefs.h.  */
11543
11544int
11545main ()
11546{
11547
11548  ;
11549  return 0;
11550}
11551_ACEOF
11552if ac_fn_c_try_link "$LINENO"; then :
11553  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11554  lt_cv_shlibpath_overrides_runpath=yes
11555fi
11556fi
11557rm -f core conftest.err conftest.$ac_objext \
11558    conftest$ac_exeext conftest.$ac_ext
11559    LDFLAGS=$save_LDFLAGS
11560    libdir=$save_libdir
11561
11562fi
11563
11564  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11565
11566  # This implies no fast_install, which is unacceptable.
11567  # Some rework will be needed to allow for fast_install
11568  # before this can be enabled.
11569  hardcode_into_libs=yes
11570
11571  # Append ld.so.conf contents to the search path
11572  if test -f /etc/ld.so.conf; then
11573    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' ' '`
11574    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11575  fi
11576
11577  # We used to test for /lib/ld.so.1 and disable shared libraries on
11578  # powerpc, because MkLinux only supported shared libraries with the
11579  # GNU dynamic linker.  Since this was broken with cross compilers,
11580  # most powerpc-linux boxes support dynamic linking these days and
11581  # people can always --disable-shared, the test was removed, and we
11582  # assume the GNU/Linux dynamic linker is in use.
11583  dynamic_linker='GNU/Linux ld.so'
11584  ;;
11585
11586netbsdelf*-gnu)
11587  version_type=linux
11588  need_lib_prefix=no
11589  need_version=no
11590  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11591  soname_spec='${libname}${release}${shared_ext}$major'
11592  shlibpath_var=LD_LIBRARY_PATH
11593  shlibpath_overrides_runpath=no
11594  hardcode_into_libs=yes
11595  dynamic_linker='NetBSD ld.elf_so'
11596  ;;
11597
11598netbsd*)
11599  # ts B51007 : changed version_type for lt_main.sh from "sunos" to "netbsd"
11600  version_type=netbsd
11601  need_lib_prefix=no
11602  need_version=no
11603  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11604    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11605    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11606    dynamic_linker='NetBSD (a.out) ld.so'
11607  else
11608    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11609    soname_spec='${libname}${release}${shared_ext}$major'
11610    dynamic_linker='NetBSD ld.elf_so'
11611  fi
11612  shlibpath_var=LD_LIBRARY_PATH
11613  shlibpath_overrides_runpath=yes
11614  hardcode_into_libs=yes
11615  ;;
11616
11617newsos6)
11618  version_type=linux # correct to gnu/linux during the next big refactor
11619  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11620  shlibpath_var=LD_LIBRARY_PATH
11621  shlibpath_overrides_runpath=yes
11622  ;;
11623
11624*nto* | *qnx*)
11625  version_type=qnx
11626  need_lib_prefix=no
11627  need_version=no
11628  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11629  soname_spec='${libname}${release}${shared_ext}$major'
11630  shlibpath_var=LD_LIBRARY_PATH
11631  shlibpath_overrides_runpath=no
11632  hardcode_into_libs=yes
11633  dynamic_linker='ldqnx.so'
11634  ;;
11635
11636openbsd*)
11637  # ts B60722 : changed version_type for lt_main.sh from "sunos" to "netbsd"
11638  #             http://www.openbsd.org/faq/ports/specialtopics.html
11639  #             "Understanding shared libraries number rules"
11640  version_type=netbsd
11641  sys_lib_dlsearch_path_spec="/usr/lib"
11642  need_lib_prefix=no
11643  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11644  case $host_os in
11645    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
11646    *)				need_version=no  ;;
11647  esac
11648  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11649  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11650  shlibpath_var=LD_LIBRARY_PATH
11651  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11652    case $host_os in
11653      openbsd2.[89] | openbsd2.[89].*)
11654	shlibpath_overrides_runpath=no
11655	;;
11656      *)
11657	shlibpath_overrides_runpath=yes
11658	;;
11659      esac
11660  else
11661    shlibpath_overrides_runpath=yes
11662  fi
11663  ;;
11664
11665os2*)
11666  libname_spec='$name'
11667  shrext_cmds=".dll"
11668  need_lib_prefix=no
11669  library_names_spec='$libname${shared_ext} $libname.a'
11670  dynamic_linker='OS/2 ld.exe'
11671  shlibpath_var=LIBPATH
11672  ;;
11673
11674osf3* | osf4* | osf5*)
11675  version_type=osf
11676  need_lib_prefix=no
11677  need_version=no
11678  soname_spec='${libname}${release}${shared_ext}$major'
11679  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11680  shlibpath_var=LD_LIBRARY_PATH
11681  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11682  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11683  ;;
11684
11685rdos*)
11686  dynamic_linker=no
11687  ;;
11688
11689solaris*)
11690  version_type=linux # correct to gnu/linux during the next big refactor
11691  need_lib_prefix=no
11692  need_version=no
11693  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11694  soname_spec='${libname}${release}${shared_ext}$major'
11695  shlibpath_var=LD_LIBRARY_PATH
11696  shlibpath_overrides_runpath=yes
11697  hardcode_into_libs=yes
11698  # ldd complains unless libraries are executable
11699  postinstall_cmds='chmod +x $lib'
11700  ;;
11701
11702sunos4*)
11703  version_type=sunos
11704  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11705  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11706  shlibpath_var=LD_LIBRARY_PATH
11707  shlibpath_overrides_runpath=yes
11708  if test "$with_gnu_ld" = yes; then
11709    need_lib_prefix=no
11710  fi
11711  need_version=yes
11712  ;;
11713
11714sysv4 | sysv4.3*)
11715  version_type=linux # correct to gnu/linux during the next big refactor
11716  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11717  soname_spec='${libname}${release}${shared_ext}$major'
11718  shlibpath_var=LD_LIBRARY_PATH
11719  case $host_vendor in
11720    sni)
11721      shlibpath_overrides_runpath=no
11722      need_lib_prefix=no
11723      runpath_var=LD_RUN_PATH
11724      ;;
11725    siemens)
11726      need_lib_prefix=no
11727      ;;
11728    motorola)
11729      need_lib_prefix=no
11730      need_version=no
11731      shlibpath_overrides_runpath=no
11732      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11733      ;;
11734  esac
11735  ;;
11736
11737sysv4*MP*)
11738  if test -d /usr/nec ;then
11739    version_type=linux # correct to gnu/linux during the next big refactor
11740    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11741    soname_spec='$libname${shared_ext}.$major'
11742    shlibpath_var=LD_LIBRARY_PATH
11743  fi
11744  ;;
11745
11746sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11747  version_type=freebsd-elf
11748  need_lib_prefix=no
11749  need_version=no
11750  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11751  soname_spec='${libname}${release}${shared_ext}$major'
11752  shlibpath_var=LD_LIBRARY_PATH
11753  shlibpath_overrides_runpath=yes
11754  hardcode_into_libs=yes
11755  if test "$with_gnu_ld" = yes; then
11756    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11757  else
11758    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11759    case $host_os in
11760      sco3.2v5*)
11761        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11762	;;
11763    esac
11764  fi
11765  sys_lib_dlsearch_path_spec='/usr/lib'
11766  ;;
11767
11768tpf*)
11769  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11770  version_type=linux # correct to gnu/linux during the next big refactor
11771  need_lib_prefix=no
11772  need_version=no
11773  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11774  shlibpath_var=LD_LIBRARY_PATH
11775  shlibpath_overrides_runpath=no
11776  hardcode_into_libs=yes
11777  ;;
11778
11779uts4*)
11780  version_type=linux # correct to gnu/linux during the next big refactor
11781  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11782  soname_spec='${libname}${release}${shared_ext}$major'
11783  shlibpath_var=LD_LIBRARY_PATH
11784  ;;
11785
11786*)
11787  dynamic_linker=no
11788  ;;
11789esac
11790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11791$as_echo "$dynamic_linker" >&6; }
11792test "$dynamic_linker" = no && can_build_shared=no
11793
11794variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11795if test "$GCC" = yes; then
11796  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11797fi
11798
11799if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11800  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11801fi
11802if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11803  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11804fi
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11898$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11899hardcode_action=
11900if test -n "$hardcode_libdir_flag_spec" ||
11901   test -n "$runpath_var" ||
11902   test "X$hardcode_automatic" = "Xyes" ; then
11903
11904  # We can hardcode non-existent directories.
11905  if test "$hardcode_direct" != no &&
11906     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11907     # have to relink, otherwise we might link with an installed library
11908     # when we should be linking with a yet-to-be-installed one
11909     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11910     test "$hardcode_minus_L" != no; then
11911    # Linking always hardcodes the temporary library directory.
11912    hardcode_action=relink
11913  else
11914    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11915    hardcode_action=immediate
11916  fi
11917else
11918  # We cannot hardcode anything, or else we can only hardcode existing
11919  # directories.
11920  hardcode_action=unsupported
11921fi
11922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11923$as_echo "$hardcode_action" >&6; }
11924
11925if test "$hardcode_action" = relink ||
11926   test "$inherit_rpath" = yes; then
11927  # Fast installation is not supported
11928  enable_fast_install=no
11929elif test "$shlibpath_overrides_runpath" = yes ||
11930     test "$enable_shared" = no; then
11931  # Fast installation is not necessary
11932  enable_fast_install=needless
11933fi
11934
11935
11936
11937
11938
11939
11940  if test "x$enable_dlopen" != xyes; then
11941  enable_dlopen=unknown
11942  enable_dlopen_self=unknown
11943  enable_dlopen_self_static=unknown
11944else
11945  lt_cv_dlopen=no
11946  lt_cv_dlopen_libs=
11947
11948  case $host_os in
11949  beos*)
11950    lt_cv_dlopen="load_add_on"
11951    lt_cv_dlopen_libs=
11952    lt_cv_dlopen_self=yes
11953    ;;
11954
11955  mingw* | pw32* | cegcc*)
11956    lt_cv_dlopen="LoadLibrary"
11957    lt_cv_dlopen_libs=
11958    ;;
11959
11960  cygwin*)
11961    lt_cv_dlopen="dlopen"
11962    lt_cv_dlopen_libs=
11963    ;;
11964
11965  darwin*)
11966  # if libdl is installed we need to link against it
11967    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11968$as_echo_n "checking for dlopen in -ldl... " >&6; }
11969if ${ac_cv_lib_dl_dlopen+:} false; then :
11970  $as_echo_n "(cached) " >&6
11971else
11972  ac_check_lib_save_LIBS=$LIBS
11973LIBS="-ldl  $LIBS"
11974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11975/* end confdefs.h.  */
11976
11977/* Override any GCC internal prototype to avoid an error.
11978   Use char because int might match the return type of a GCC
11979   builtin and then its argument prototype would still apply.  */
11980#ifdef __cplusplus
11981extern "C"
11982#endif
11983char dlopen ();
11984int
11985main ()
11986{
11987return dlopen ();
11988  ;
11989  return 0;
11990}
11991_ACEOF
11992if ac_fn_c_try_link "$LINENO"; then :
11993  ac_cv_lib_dl_dlopen=yes
11994else
11995  ac_cv_lib_dl_dlopen=no
11996fi
11997rm -f core conftest.err conftest.$ac_objext \
11998    conftest$ac_exeext conftest.$ac_ext
11999LIBS=$ac_check_lib_save_LIBS
12000fi
12001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12002$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12003if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12004  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12005else
12006
12007    lt_cv_dlopen="dyld"
12008    lt_cv_dlopen_libs=
12009    lt_cv_dlopen_self=yes
12010
12011fi
12012
12013    ;;
12014
12015  *)
12016    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12017if test "x$ac_cv_func_shl_load" = xyes; then :
12018  lt_cv_dlopen="shl_load"
12019else
12020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12021$as_echo_n "checking for shl_load in -ldld... " >&6; }
12022if ${ac_cv_lib_dld_shl_load+:} false; then :
12023  $as_echo_n "(cached) " >&6
12024else
12025  ac_check_lib_save_LIBS=$LIBS
12026LIBS="-ldld  $LIBS"
12027cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028/* end confdefs.h.  */
12029
12030/* Override any GCC internal prototype to avoid an error.
12031   Use char because int might match the return type of a GCC
12032   builtin and then its argument prototype would still apply.  */
12033#ifdef __cplusplus
12034extern "C"
12035#endif
12036char shl_load ();
12037int
12038main ()
12039{
12040return shl_load ();
12041  ;
12042  return 0;
12043}
12044_ACEOF
12045if ac_fn_c_try_link "$LINENO"; then :
12046  ac_cv_lib_dld_shl_load=yes
12047else
12048  ac_cv_lib_dld_shl_load=no
12049fi
12050rm -f core conftest.err conftest.$ac_objext \
12051    conftest$ac_exeext conftest.$ac_ext
12052LIBS=$ac_check_lib_save_LIBS
12053fi
12054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12055$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12056if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12057  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12058else
12059  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12060if test "x$ac_cv_func_dlopen" = xyes; then :
12061  lt_cv_dlopen="dlopen"
12062else
12063  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12064$as_echo_n "checking for dlopen in -ldl... " >&6; }
12065if ${ac_cv_lib_dl_dlopen+:} false; then :
12066  $as_echo_n "(cached) " >&6
12067else
12068  ac_check_lib_save_LIBS=$LIBS
12069LIBS="-ldl  $LIBS"
12070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12071/* end confdefs.h.  */
12072
12073/* Override any GCC internal prototype to avoid an error.
12074   Use char because int might match the return type of a GCC
12075   builtin and then its argument prototype would still apply.  */
12076#ifdef __cplusplus
12077extern "C"
12078#endif
12079char dlopen ();
12080int
12081main ()
12082{
12083return dlopen ();
12084  ;
12085  return 0;
12086}
12087_ACEOF
12088if ac_fn_c_try_link "$LINENO"; then :
12089  ac_cv_lib_dl_dlopen=yes
12090else
12091  ac_cv_lib_dl_dlopen=no
12092fi
12093rm -f core conftest.err conftest.$ac_objext \
12094    conftest$ac_exeext conftest.$ac_ext
12095LIBS=$ac_check_lib_save_LIBS
12096fi
12097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12098$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12099if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12100  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12101else
12102  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12103$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12104if ${ac_cv_lib_svld_dlopen+:} false; then :
12105  $as_echo_n "(cached) " >&6
12106else
12107  ac_check_lib_save_LIBS=$LIBS
12108LIBS="-lsvld  $LIBS"
12109cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12110/* end confdefs.h.  */
12111
12112/* Override any GCC internal prototype to avoid an error.
12113   Use char because int might match the return type of a GCC
12114   builtin and then its argument prototype would still apply.  */
12115#ifdef __cplusplus
12116extern "C"
12117#endif
12118char dlopen ();
12119int
12120main ()
12121{
12122return dlopen ();
12123  ;
12124  return 0;
12125}
12126_ACEOF
12127if ac_fn_c_try_link "$LINENO"; then :
12128  ac_cv_lib_svld_dlopen=yes
12129else
12130  ac_cv_lib_svld_dlopen=no
12131fi
12132rm -f core conftest.err conftest.$ac_objext \
12133    conftest$ac_exeext conftest.$ac_ext
12134LIBS=$ac_check_lib_save_LIBS
12135fi
12136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12137$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12138if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12139  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12140else
12141  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12142$as_echo_n "checking for dld_link in -ldld... " >&6; }
12143if ${ac_cv_lib_dld_dld_link+:} false; then :
12144  $as_echo_n "(cached) " >&6
12145else
12146  ac_check_lib_save_LIBS=$LIBS
12147LIBS="-ldld  $LIBS"
12148cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149/* end confdefs.h.  */
12150
12151/* Override any GCC internal prototype to avoid an error.
12152   Use char because int might match the return type of a GCC
12153   builtin and then its argument prototype would still apply.  */
12154#ifdef __cplusplus
12155extern "C"
12156#endif
12157char dld_link ();
12158int
12159main ()
12160{
12161return dld_link ();
12162  ;
12163  return 0;
12164}
12165_ACEOF
12166if ac_fn_c_try_link "$LINENO"; then :
12167  ac_cv_lib_dld_dld_link=yes
12168else
12169  ac_cv_lib_dld_dld_link=no
12170fi
12171rm -f core conftest.err conftest.$ac_objext \
12172    conftest$ac_exeext conftest.$ac_ext
12173LIBS=$ac_check_lib_save_LIBS
12174fi
12175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12176$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12177if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12178  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12179fi
12180
12181
12182fi
12183
12184
12185fi
12186
12187
12188fi
12189
12190
12191fi
12192
12193
12194fi
12195
12196    ;;
12197  esac
12198
12199  if test "x$lt_cv_dlopen" != xno; then
12200    enable_dlopen=yes
12201  else
12202    enable_dlopen=no
12203  fi
12204
12205  case $lt_cv_dlopen in
12206  dlopen)
12207    save_CPPFLAGS="$CPPFLAGS"
12208    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12209
12210    save_LDFLAGS="$LDFLAGS"
12211    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12212
12213    save_LIBS="$LIBS"
12214    LIBS="$lt_cv_dlopen_libs $LIBS"
12215
12216    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12217$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12218if ${lt_cv_dlopen_self+:} false; then :
12219  $as_echo_n "(cached) " >&6
12220else
12221  	  if test "$cross_compiling" = yes; then :
12222  lt_cv_dlopen_self=cross
12223else
12224  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12225  lt_status=$lt_dlunknown
12226  cat > conftest.$ac_ext <<_LT_EOF
12227#line $LINENO "configure"
12228#include "confdefs.h"
12229
12230#if HAVE_DLFCN_H
12231#include <dlfcn.h>
12232#endif
12233
12234#include <stdio.h>
12235
12236#ifdef RTLD_GLOBAL
12237#  define LT_DLGLOBAL		RTLD_GLOBAL
12238#else
12239#  ifdef DL_GLOBAL
12240#    define LT_DLGLOBAL		DL_GLOBAL
12241#  else
12242#    define LT_DLGLOBAL		0
12243#  endif
12244#endif
12245
12246/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12247   find out it does not work in some platform. */
12248#ifndef LT_DLLAZY_OR_NOW
12249#  ifdef RTLD_LAZY
12250#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12251#  else
12252#    ifdef DL_LAZY
12253#      define LT_DLLAZY_OR_NOW		DL_LAZY
12254#    else
12255#      ifdef RTLD_NOW
12256#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12257#      else
12258#        ifdef DL_NOW
12259#          define LT_DLLAZY_OR_NOW	DL_NOW
12260#        else
12261#          define LT_DLLAZY_OR_NOW	0
12262#        endif
12263#      endif
12264#    endif
12265#  endif
12266#endif
12267
12268/* When -fvisbility=hidden is used, assume the code has been annotated
12269   correspondingly for the symbols needed.  */
12270#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12271int fnord () __attribute__((visibility("default")));
12272#endif
12273
12274int fnord () { return 42; }
12275int main ()
12276{
12277  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12278  int status = $lt_dlunknown;
12279
12280  if (self)
12281    {
12282      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12283      else
12284        {
12285	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12286          else puts (dlerror ());
12287	}
12288      /* dlclose (self); */
12289    }
12290  else
12291    puts (dlerror ());
12292
12293  return status;
12294}
12295_LT_EOF
12296  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12297  (eval $ac_link) 2>&5
12298  ac_status=$?
12299  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12300  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12301    (./conftest; exit; ) >&5 2>/dev/null
12302    lt_status=$?
12303    case x$lt_status in
12304      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12305      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12306      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12307    esac
12308  else :
12309    # compilation failed
12310    lt_cv_dlopen_self=no
12311  fi
12312fi
12313rm -fr conftest*
12314
12315
12316fi
12317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12318$as_echo "$lt_cv_dlopen_self" >&6; }
12319
12320    if test "x$lt_cv_dlopen_self" = xyes; then
12321      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12322      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12323$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12324if ${lt_cv_dlopen_self_static+:} false; then :
12325  $as_echo_n "(cached) " >&6
12326else
12327  	  if test "$cross_compiling" = yes; then :
12328  lt_cv_dlopen_self_static=cross
12329else
12330  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12331  lt_status=$lt_dlunknown
12332  cat > conftest.$ac_ext <<_LT_EOF
12333#line $LINENO "configure"
12334#include "confdefs.h"
12335
12336#if HAVE_DLFCN_H
12337#include <dlfcn.h>
12338#endif
12339
12340#include <stdio.h>
12341
12342#ifdef RTLD_GLOBAL
12343#  define LT_DLGLOBAL		RTLD_GLOBAL
12344#else
12345#  ifdef DL_GLOBAL
12346#    define LT_DLGLOBAL		DL_GLOBAL
12347#  else
12348#    define LT_DLGLOBAL		0
12349#  endif
12350#endif
12351
12352/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12353   find out it does not work in some platform. */
12354#ifndef LT_DLLAZY_OR_NOW
12355#  ifdef RTLD_LAZY
12356#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12357#  else
12358#    ifdef DL_LAZY
12359#      define LT_DLLAZY_OR_NOW		DL_LAZY
12360#    else
12361#      ifdef RTLD_NOW
12362#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12363#      else
12364#        ifdef DL_NOW
12365#          define LT_DLLAZY_OR_NOW	DL_NOW
12366#        else
12367#          define LT_DLLAZY_OR_NOW	0
12368#        endif
12369#      endif
12370#    endif
12371#  endif
12372#endif
12373
12374/* When -fvisbility=hidden is used, assume the code has been annotated
12375   correspondingly for the symbols needed.  */
12376#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12377int fnord () __attribute__((visibility("default")));
12378#endif
12379
12380int fnord () { return 42; }
12381int main ()
12382{
12383  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12384  int status = $lt_dlunknown;
12385
12386  if (self)
12387    {
12388      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12389      else
12390        {
12391	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12392          else puts (dlerror ());
12393	}
12394      /* dlclose (self); */
12395    }
12396  else
12397    puts (dlerror ());
12398
12399  return status;
12400}
12401_LT_EOF
12402  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12403  (eval $ac_link) 2>&5
12404  ac_status=$?
12405  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12406  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12407    (./conftest; exit; ) >&5 2>/dev/null
12408    lt_status=$?
12409    case x$lt_status in
12410      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12411      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12412      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12413    esac
12414  else :
12415    # compilation failed
12416    lt_cv_dlopen_self_static=no
12417  fi
12418fi
12419rm -fr conftest*
12420
12421
12422fi
12423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12424$as_echo "$lt_cv_dlopen_self_static" >&6; }
12425    fi
12426
12427    CPPFLAGS="$save_CPPFLAGS"
12428    LDFLAGS="$save_LDFLAGS"
12429    LIBS="$save_LIBS"
12430    ;;
12431  esac
12432
12433  case $lt_cv_dlopen_self in
12434  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12435  *) enable_dlopen_self=unknown ;;
12436  esac
12437
12438  case $lt_cv_dlopen_self_static in
12439  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12440  *) enable_dlopen_self_static=unknown ;;
12441  esac
12442fi
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460striplib=
12461old_striplib=
12462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12463$as_echo_n "checking whether stripping libraries is possible... " >&6; }
12464if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12465  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12466  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12468$as_echo "yes" >&6; }
12469else
12470# FIXME - insert some real tests, host_os isn't really good enough
12471  case $host_os in
12472  darwin*)
12473    if test -n "$STRIP" ; then
12474      striplib="$STRIP -x"
12475      old_striplib="$STRIP -S"
12476      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12477$as_echo "yes" >&6; }
12478    else
12479      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12480$as_echo "no" >&6; }
12481    fi
12482    ;;
12483  *)
12484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12485$as_echo "no" >&6; }
12486    ;;
12487  esac
12488fi
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501  # Report which library types will actually be built
12502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12503$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12504  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12505$as_echo "$can_build_shared" >&6; }
12506
12507  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12508$as_echo_n "checking whether to build shared libraries... " >&6; }
12509  test "$can_build_shared" = "no" && enable_shared=no
12510
12511  # On AIX, shared libraries and static libraries use the same namespace, and
12512  # are all built from PIC.
12513  case $host_os in
12514  aix3*)
12515    test "$enable_shared" = yes && enable_static=no
12516    if test -n "$RANLIB"; then
12517      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12518      postinstall_cmds='$RANLIB $lib'
12519    fi
12520    ;;
12521
12522  aix[4-9]*)
12523    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12524      test "$enable_shared" = yes && enable_static=no
12525    fi
12526    ;;
12527  esac
12528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12529$as_echo "$enable_shared" >&6; }
12530
12531  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12532$as_echo_n "checking whether to build static libraries... " >&6; }
12533  # Make sure either enable_shared or enable_static is yes.
12534  test "$enable_shared" = yes || enable_static=yes
12535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12536$as_echo "$enable_static" >&6; }
12537
12538
12539
12540
12541fi
12542ac_ext=c
12543ac_cpp='$CPP $CPPFLAGS'
12544ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12545ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12546ac_compiler_gnu=$ac_cv_c_compiler_gnu
12547
12548CC="$lt_save_CC"
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564        ac_config_commands="$ac_config_commands libtool"
12565
12566
12567
12568
12569# Only expand once:
12570
12571
12572
12573# LIBTOOL="$LIBTOOL --silent"
12574
12575
12576
12577for ac_header
12578do :
12579  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12580ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12581if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12582  cat >>confdefs.h <<_ACEOF
12583#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12584_ACEOF
12585
12586fi
12587
12588done
12589
12590
12591ac_fn_c_check_member "$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "#include <time.h>
12592"
12593if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes; then :
12594
12595$as_echo "#define HAVE_TM_GMTOFF 1" >>confdefs.h
12596
12597fi
12598
12599
12600
12601
12602    echo -n "checking for timezone variable ... "
12603    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604/* end confdefs.h.  */
12605 #include <time.h>
12606int
12607main ()
12608{
12609long int i; i = 1 - timezone;
12610  ;
12611  return 0;
12612}
12613_ACEOF
12614if ac_fn_c_try_link "$LINENO"; then :
12615  LIBBURNIA_TIMEZONE="timezone"
12616else
12617  LIBBURNIA_TIMEZONE="0"
12618
12619fi
12620rm -f core conftest.err conftest.$ac_objext \
12621    conftest$ac_exeext conftest.$ac_ext
12622    echo "$LIBBURNIA_TIMEZONE"
12623
12624if test x$LIBBURNIA_TIMEZONE = xtimezone
12625then
12626   $as_echo "#define Libburnia_timezonE timezone" >>confdefs.h
12627
12628else
12629   $as_echo "#define Libburnia_timezonE 0" >>confdefs.h
12630
12631fi
12632
12633THREAD_LIBS=-lpthread
12634
12635
12636
12637  ARCH=""
12638  LIBBURNIA_PKGCONFDIR="$libdir"/pkgconfig
12639
12640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking target operating system" >&5
12641$as_echo_n "checking target operating system... " >&6; }
12642
12643  LIBBURNIA_SUPP_ACL=none
12644  LIBBURNIA_SUPP_FATTR=none
12645  LIBBURNIA_LDCONFIG_CMD="echo 'No ldconfig run performed. If needed, configure manually for:'"
12646  case $target in
12647    *-*-linux*)
12648      ARCH=linux
12649      LIBBURN_ARCH_LIBS=
12650      LIBBURNIA_SUPP_ACL=libacl
12651      LIBBURNIA_SUPP_FATTR=xattr
12652      LIBBURNIA_LDCONFIG_CMD=ldconfig
12653      ;;
12654    *-*-freebsd*)
12655      ARCH=freebsd
12656      LIBBURN_ARCH_LIBS=-lcam
12657      LIBBURNIA_SUPP_ACL=libacl
12658      LIBBURNIA_SUPP_FATTR=extattr
12659
12660      # This may later be overridden by configure --enable-libdir-pkgconfig
12661      LIBBURNIA_PKGCONFDIR=$(echo "$libdir" | sed 's/\/lib$/\/libdata/')/pkgconfig
12662      ;;
12663    *-kfreebsd*-gnu*)
12664      ARCH=freebsd
12665      LIBBURN_ARCH_LIBS=-lcam
12666      ;;
12667    *-solaris*)
12668      ARCH=solaris
12669      LIBBURN_ARCH_LIBS=-lvolmgt
12670      ;;
12671    *)
12672      ARCH=
12673      LIBBURN_ARCH_LIBS=
12674#      AC_ERROR([You are attempting to compile for an unsupported platform])
12675      ;;
12676  esac
12677
12678  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARCH" >&5
12679$as_echo "$ARCH" >&6; }
12680
12681
12682
12683
12684
12685# Do not link libcam or libvolmgt if not available.
12686# (They are indirect dependency on FreeBSD or Solaris.)
12687
12688    libburnia_save_LIBS="$LIBS"
12689    if test "x$LIBBURN_ARCH_LIBS" = x
12690    then
12691      dummy=dummy
12692    else
12693      LIBS="$LIBS $LIBBURN_ARCH_LIBS"
12694      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12695/* end confdefs.h.  */
12696#include <stdio.h>
12697int
12698main ()
12699{
12700printf("Hello\n");
12701  ;
12702  return 0;
12703}
12704_ACEOF
12705if ac_fn_c_try_link "$LINENO"; then :
12706  archlibs_test="yes"
12707else
12708  archlibs_test="no"
12709fi
12710rm -f core conftest.err conftest.$ac_objext \
12711    conftest$ac_exeext conftest.$ac_ext
12712      LIBS="$libburnia_save_LIBS"
12713      if test x$archlibs_test = xno
12714      then
12715        if test x"optional" = xmandatory
12716        then
12717          echo >&2
12718          echo "FATAL: Test linking with mandatory library options failed: $LIBBURN_ARCH_LIBS" >&2
12719          echo >&2
12720          (exit 1); exit 1;
12721        else
12722          echo "disabled linking with $LIBBURN_ARCH_LIBS (because not found)"
12723          LIBBURN_ARCH_LIBS=""
12724        fi
12725      else
12726        echo "enabled  linking with $LIBBURN_ARCH_LIBS"
12727      fi
12728    fi
12729
12730
12731
12732### for testing --enable-libdir-pkgconfig on Linux
12733### LIBBURNIA_PKGCONFDIR="$libdir"data/pkgconfig
12734
12735if test "x$LIBBURNIA_PKGCONFDIR" = "x$libdir"/pkgconfig
12736then
12737  dummy=dummy
12738else
12739  # Check whether --enable-libdir-pkgconfig was given.
12740if test "${enable_libdir_pkgconfig+set}" = set; then :
12741  enableval=$enable_libdir_pkgconfig;
12742else
12743  enable_libdir_pkgconfig="no"
12744fi
12745
12746  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-libdir-pkgconfig" >&5
12747$as_echo_n "checking for --enable-libdir-pkgconfig... " >&6; }
12748  if test "x$enable_libdir_pkgconfig" = xyes
12749  then
12750    LIBBURNIA_PKGCONFDIR="$libdir"/pkgconfig
12751  fi
12752  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libdir_pkgconfig" >&5
12753$as_echo "$enable_libdir_pkgconfig" >&6; }
12754fi
12755
12756libburnia_pkgconfig_override="no"
12757# Check whether --enable-pkgconfig-path was given.
12758if test "${enable_pkgconfig_path+set}" = set; then :
12759  enableval=$enable_pkgconfig_path; libburnia_pkgconfig_override="yes"
12760else
12761  enable_pkgconfig_path="none"
12762fi
12763
12764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for overridden pkgconfig directory path" >&5
12765$as_echo_n "checking for overridden pkgconfig directory path... " >&6; }
12766if test "x$enable_pkgconfig_path" = xno
12767then
12768  libburnia_pkgconfig_override="no"
12769fi
12770if test "x$enable_pkgconfig_path" = x -o "x$enable_pkgconfig_path" = xyes
12771then
12772  libburnia_pkgconfig_override="invalid argument"
12773fi
12774if test "x$libburnia_pkgconfig_override" = xyes
12775then
12776  LIBBURNIA_PKGCONFDIR="$enable_pkgconfig_path"
12777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBBURNIA_PKGCONFDIR" >&5
12778$as_echo "$LIBBURNIA_PKGCONFDIR" >&6; }
12779else
12780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libburnia_pkgconfig_override" >&5
12781$as_echo "$libburnia_pkgconfig_override" >&6; }
12782fi
12783
12784
12785### AC_MSG_RESULT([LIBBURNIA_PKGCONFDIR = $LIBBURNIA_PKGCONFDIR])
12786
12787
12788
12789# Check whether --enable-libreadline was given.
12790if test "${enable_libreadline+set}" = set; then :
12791  enableval=$enable_libreadline;
12792else
12793  enable_libreadline=yes
12794fi
12795
12796if test x$enable_libreadline = xyes; then
12797    READLINE_DEF="-DXorriso_with_readlinE"
12798
12799    if test x$XORRISO_OLD_READLINE_CONFIGURE = x
12800    then
12801
12802
12803  if test x$XORRISO_ASSUME_READLINE = x
12804  then
12805        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for desired functions in libreadline" >&5
12806$as_echo_n "checking for desired functions in libreadline... " >&6; }
12807    readline_msg=
12808    libburnia_save_LIBS="$LIBS"
12809    LIBS="$LIBS -lreadline"
12810
12811    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12812/* end confdefs.h.  */
12813
12814#include <ctype.h>
12815#include <sys/types.h>
12816#include <unistd.h>
12817#include <stdlib.h>
12818#include <stdio.h>
12819#include <string.h>
12820#include <readline/readline.h>
12821#include <readline/history.h>
12822int
12823main ()
12824{
12825HIST_ENTRY **hl;
12826readline("");
12827add_history("");
12828hl= history_list();
12829
12830  ;
12831  return 0;
12832}
12833_ACEOF
12834if ac_fn_c_try_link "$LINENO"; then :
12835  readline_test="yes"
12836else
12837  readline_test="no"
12838
12839fi
12840rm -f core conftest.err conftest.$ac_objext \
12841    conftest$ac_exeext conftest.$ac_ext
12842
12843    if test x$readline_test = xno
12844    then
12845        LIBS="$libburnia_save_LIBS"
12846        LIBS="$LIBS -lreadline -lcurses"
12847
12848    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12849/* end confdefs.h.  */
12850
12851#include <ctype.h>
12852#include <sys/types.h>
12853#include <unistd.h>
12854#include <stdlib.h>
12855#include <stdio.h>
12856#include <string.h>
12857#include <readline/readline.h>
12858#include <readline/history.h>
12859int
12860main ()
12861{
12862HIST_ENTRY **hl;
12863readline("");
12864add_history("");
12865hl= history_list();
12866
12867  ;
12868  return 0;
12869}
12870_ACEOF
12871if ac_fn_c_try_link "$LINENO"; then :
12872  readline_test="yes"
12873else
12874  readline_test="no"
12875
12876fi
12877rm -f core conftest.err conftest.$ac_objext \
12878    conftest$ac_exeext conftest.$ac_ext
12879
12880        if test x$readline_test = xyes
12881        then
12882            readline_msg=", with -lcurses"
12883        fi
12884    fi
12885    if test x$readline_test = xno
12886    then
12887        READLINE_DEF=
12888        LIBS="$libburnia_save_LIBS"
12889    fi
12890    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $readline_test $readline_msg" >&5
12891$as_echo "$readline_test $readline_msg" >&6; }
12892  fi
12893
12894
12895    else
12896        ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
12897if test "x$ac_cv_header_readline_readline_h" = xyes; then :
12898  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12899$as_echo_n "checking for readline in -lreadline... " >&6; }
12900if ${ac_cv_lib_readline_readline+:} false; then :
12901  $as_echo_n "(cached) " >&6
12902else
12903  ac_check_lib_save_LIBS=$LIBS
12904LIBS="-lreadline  $LIBS"
12905cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12906/* end confdefs.h.  */
12907
12908/* Override any GCC internal prototype to avoid an error.
12909   Use char because int might match the return type of a GCC
12910   builtin and then its argument prototype would still apply.  */
12911#ifdef __cplusplus
12912extern "C"
12913#endif
12914char readline ();
12915int
12916main ()
12917{
12918return readline ();
12919  ;
12920  return 0;
12921}
12922_ACEOF
12923if ac_fn_c_try_link "$LINENO"; then :
12924  ac_cv_lib_readline_readline=yes
12925else
12926  ac_cv_lib_readline_readline=no
12927fi
12928rm -f core conftest.err conftest.$ac_objext \
12929    conftest$ac_exeext conftest.$ac_ext
12930LIBS=$ac_check_lib_save_LIBS
12931fi
12932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12933$as_echo "$ac_cv_lib_readline_readline" >&6; }
12934if test "x$ac_cv_lib_readline_readline" = xyes; then :
12935  cat >>confdefs.h <<_ACEOF
12936#define HAVE_LIBREADLINE 1
12937_ACEOF
12938
12939  LIBS="-lreadline $LIBS"
12940
12941else
12942  READLINE_DEF=
12943fi
12944
12945else
12946  READLINE_DEF=
12947fi
12948
12949
12950        ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
12951if test "x$ac_cv_header_readline_history_h" = xyes; then :
12952  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5
12953$as_echo_n "checking for add_history in -lreadline... " >&6; }
12954if ${ac_cv_lib_readline_add_history+:} false; then :
12955  $as_echo_n "(cached) " >&6
12956else
12957  ac_check_lib_save_LIBS=$LIBS
12958LIBS="-lreadline  $LIBS"
12959cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12960/* end confdefs.h.  */
12961
12962/* Override any GCC internal prototype to avoid an error.
12963   Use char because int might match the return type of a GCC
12964   builtin and then its argument prototype would still apply.  */
12965#ifdef __cplusplus
12966extern "C"
12967#endif
12968char add_history ();
12969int
12970main ()
12971{
12972return add_history ();
12973  ;
12974  return 0;
12975}
12976_ACEOF
12977if ac_fn_c_try_link "$LINENO"; then :
12978  ac_cv_lib_readline_add_history=yes
12979else
12980  ac_cv_lib_readline_add_history=no
12981fi
12982rm -f core conftest.err conftest.$ac_objext \
12983    conftest$ac_exeext conftest.$ac_ext
12984LIBS=$ac_check_lib_save_LIBS
12985fi
12986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5
12987$as_echo "$ac_cv_lib_readline_add_history" >&6; }
12988if test "x$ac_cv_lib_readline_add_history" = xyes; then :
12989  X=
12990else
12991  READLINE_DEF=
12992fi
12993
12994else
12995  READLINE_DEF=
12996fi
12997
12998
12999    fi
13000else
13001    READLINE_DEF=
13002    echo "disabled libreadline"
13003fi
13004if test x$READLINE_DEF = x; then
13005    if test x$enable_libreadline = xyes; then
13006        libedit_deflt=yes
13007    else
13008        libedit_deflt=no
13009    fi
13010    # Check whether --enable-libedit was given.
13011if test "${enable_libedit+set}" = set; then :
13012  enableval=$enable_libedit;
13013else
13014  enable_libedit=$libedit_deflt
13015fi
13016
13017    if test x$enable_libedit = xyes; then
13018        READLINE_DEF="-DXorriso_with_editlinE"
13019
13020
13021  if test x$XORRISO_ASSUME_EDITLINE = x
13022  then
13023        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for desired functions in libedit" >&5
13024$as_echo_n "checking for desired functions in libedit... " >&6; }
13025    libburnia_save_LIBS="$LIBS"
13026    LIBS="$LIBS -ledit"
13027
13028    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13029/* end confdefs.h.  */
13030
13031#include <ctype.h>
13032#include <sys/types.h>
13033#include <unistd.h>
13034#include <stdlib.h>
13035#include <stdio.h>
13036#include <string.h>
13037#include <histedit.h>
13038int
13039main ()
13040{
13041EditLine *editline_handle; History *editline_history; HistEvent ev; int count;
13042editline_handle= el_init("dummy", stdin, stdout, stderr);
13043el_set(editline_handle, EL_EDITOR, "emacs");
13044editline_history= history_init();
13045history(editline_history, &ev, H_SETSIZE, 1000);
13046el_gets(editline_handle, &count);
13047
13048  ;
13049  return 0;
13050}
13051_ACEOF
13052if ac_fn_c_try_link "$LINENO"; then :
13053  editline_test="yes"
13054else
13055  editline_test="no"
13056
13057fi
13058rm -f core conftest.err conftest.$ac_objext \
13059    conftest$ac_exeext conftest.$ac_ext
13060
13061    if test x$editline_test = xno
13062    then
13063        LIBS="$libburnia_save_LIBS"
13064        LIBS="$LIBS -ledit"
13065
13066    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13067/* end confdefs.h.  */
13068
13069#include <ctype.h>
13070#include <sys/types.h>
13071#include <unistd.h>
13072#include <stdlib.h>
13073#include <stdio.h>
13074#include <string.h>
13075#include <histedit.h>
13076int
13077main ()
13078{
13079EditLine *editline_handle; History *editline_history; HistEvent ev; int count;
13080editline_handle= el_init("dummy", stdin, stdout, stderr);
13081el_set(editline_handle, EL_EDITOR, "emacs");
13082editline_history= history_init();
13083history(editline_history, &ev, H_SETSIZE, 1000);
13084el_gets(editline_handle, &count);
13085
13086  ;
13087  return 0;
13088}
13089_ACEOF
13090if ac_fn_c_try_link "$LINENO"; then :
13091  editline_test="yes"
13092else
13093  editline_test="no"
13094
13095fi
13096rm -f core conftest.err conftest.$ac_objext \
13097    conftest$ac_exeext conftest.$ac_ext
13098
13099    fi
13100    if test x$editline_test = xno
13101    then
13102        READLINE_DEF=
13103        LIBS="$libburnia_save_LIBS"
13104    fi
13105    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $editline_test $editline_msg" >&5
13106$as_echo "$editline_test $editline_msg" >&6; }
13107  fi
13108
13109
13110    else
13111        READLINE_DEF=
13112        echo "disabled libedit"
13113    fi
13114fi
13115
13116
13117
13118# Check whether --enable-libacl was given.
13119if test "${enable_libacl+set}" = set; then :
13120  enableval=$enable_libacl;
13121else
13122  enable_libacl=yes
13123fi
13124
13125LIBACL_DEF=
13126if test x$LIBBURNIA_SUPP_ACL = xlibacl
13127then
13128    if test x$enable_libacl = xyes; then
13129        LIBACL_DEF="-DLibisofs_with_aaip_acL"
13130        has_acl_h_but_no_func=0
13131        ac_fn_c_check_header_mongrel "$LINENO" "sys/acl.h" "ac_cv_header_sys_acl_h" "$ac_includes_default"
13132if test "x$ac_cv_header_sys_acl_h" = xyes; then :
13133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_to_text in -lacl" >&5
13134$as_echo_n "checking for acl_to_text in -lacl... " >&6; }
13135if ${ac_cv_lib_acl_acl_to_text+:} false; then :
13136  $as_echo_n "(cached) " >&6
13137else
13138  ac_check_lib_save_LIBS=$LIBS
13139LIBS="-lacl  $LIBS"
13140cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13141/* end confdefs.h.  */
13142
13143/* Override any GCC internal prototype to avoid an error.
13144   Use char because int might match the return type of a GCC
13145   builtin and then its argument prototype would still apply.  */
13146#ifdef __cplusplus
13147extern "C"
13148#endif
13149char acl_to_text ();
13150int
13151main ()
13152{
13153return acl_to_text ();
13154  ;
13155  return 0;
13156}
13157_ACEOF
13158if ac_fn_c_try_link "$LINENO"; then :
13159  ac_cv_lib_acl_acl_to_text=yes
13160else
13161  ac_cv_lib_acl_acl_to_text=no
13162fi
13163rm -f core conftest.err conftest.$ac_objext \
13164    conftest$ac_exeext conftest.$ac_ext
13165LIBS=$ac_check_lib_save_LIBS
13166fi
13167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_acl_acl_to_text" >&5
13168$as_echo "$ac_cv_lib_acl_acl_to_text" >&6; }
13169if test "x$ac_cv_lib_acl_acl_to_text" = xyes; then :
13170  cat >>confdefs.h <<_ACEOF
13171#define HAVE_LIBACL 1
13172_ACEOF
13173
13174  LIBS="-lacl $LIBS"
13175
13176else
13177  has_acl_h_but_no_libacl=1
13178fi
13179
13180else
13181  LIBACL_DEF=
13182fi
13183
13184
13185        if test "$has_acl_h_but_no_libacl" = 1
13186        then
13187            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acl_to_text in -lc" >&5
13188$as_echo_n "checking for acl_to_text in -lc... " >&6; }
13189if ${ac_cv_lib_c_acl_to_text+:} false; then :
13190  $as_echo_n "(cached) " >&6
13191else
13192  ac_check_lib_save_LIBS=$LIBS
13193LIBS="-lc  $LIBS"
13194cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13195/* end confdefs.h.  */
13196
13197/* Override any GCC internal prototype to avoid an error.
13198   Use char because int might match the return type of a GCC
13199   builtin and then its argument prototype would still apply.  */
13200#ifdef __cplusplus
13201extern "C"
13202#endif
13203char acl_to_text ();
13204int
13205main ()
13206{
13207return acl_to_text ();
13208  ;
13209  return 0;
13210}
13211_ACEOF
13212if ac_fn_c_try_link "$LINENO"; then :
13213  ac_cv_lib_c_acl_to_text=yes
13214else
13215  ac_cv_lib_c_acl_to_text=no
13216fi
13217rm -f core conftest.err conftest.$ac_objext \
13218    conftest$ac_exeext conftest.$ac_ext
13219LIBS=$ac_check_lib_save_LIBS
13220fi
13221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_acl_to_text" >&5
13222$as_echo "$ac_cv_lib_c_acl_to_text" >&6; }
13223if test "x$ac_cv_lib_c_acl_to_text" = xyes; then :
13224  X=
13225else
13226  LIBACL_DEF=
13227fi
13228
13229        fi
13230    fi
13231fi
13232if test x$LIBACL_DEF = x-DLibisofs_with_aaip_acL
13233then
13234    if test x$has_acl_h_but_no_libacl = x1
13235    then
13236        echo "enabled  local processing of ACL"
13237    else
13238        echo "enabled  libacl, local processing of ACL"
13239    fi
13240else
13241    echo "disabled local processing of ACL"
13242fi
13243
13244
13245
13246# Check whether --enable-xattr was given.
13247if test "${enable_xattr+set}" = set; then :
13248  enableval=$enable_xattr;
13249else
13250  enable_xattr=yes
13251fi
13252
13253XATTR_DEF=
13254if test x"$LIBBURNIA_SUPP_FATTR" = xxattr
13255then
13256    if test "x$enable_xattr" = xyes; then
13257        XATTR_DEF="-DLibisofs_with_aaip_xattR"
13258        ac_fn_c_check_header_mongrel "$LINENO" "attr/xattr.h" "ac_cv_header_attr_xattr_h" "$ac_includes_default"
13259if test "x$ac_cv_header_attr_xattr_h" = xyes; then :
13260  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for listxattr in -lc" >&5
13261$as_echo_n "checking for listxattr in -lc... " >&6; }
13262if ${ac_cv_lib_c_listxattr+:} false; then :
13263  $as_echo_n "(cached) " >&6
13264else
13265  ac_check_lib_save_LIBS=$LIBS
13266LIBS="-lc  $LIBS"
13267cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13268/* end confdefs.h.  */
13269
13270/* Override any GCC internal prototype to avoid an error.
13271   Use char because int might match the return type of a GCC
13272   builtin and then its argument prototype would still apply.  */
13273#ifdef __cplusplus
13274extern "C"
13275#endif
13276char listxattr ();
13277int
13278main ()
13279{
13280return listxattr ();
13281  ;
13282  return 0;
13283}
13284_ACEOF
13285if ac_fn_c_try_link "$LINENO"; then :
13286  ac_cv_lib_c_listxattr=yes
13287else
13288  ac_cv_lib_c_listxattr=no
13289fi
13290rm -f core conftest.err conftest.$ac_objext \
13291    conftest$ac_exeext conftest.$ac_ext
13292LIBS=$ac_check_lib_save_LIBS
13293fi
13294{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_listxattr" >&5
13295$as_echo "$ac_cv_lib_c_listxattr" >&6; }
13296if test "x$ac_cv_lib_c_listxattr" = xyes; then :
13297  X=
13298else
13299  XATTR_DEF=
13300fi
13301
13302else
13303  XATTR_DEF=
13304fi
13305
13306
13307    fi
13308elif test x"$LIBBURNIA_SUPP_FATTR" = xextattr
13309then
13310    if test "x$enable_xattr" = xyes; then
13311        XATTR_DEF="-DLibisofs_with_freebsd_extattR"
13312        ac_fn_c_check_header_mongrel "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
13313if test "x$ac_cv_header_sys_extattr_h" = xyes; then :
13314  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extattr_list_file in -lc" >&5
13315$as_echo_n "checking for extattr_list_file in -lc... " >&6; }
13316if ${ac_cv_lib_c_extattr_list_file+:} false; then :
13317  $as_echo_n "(cached) " >&6
13318else
13319  ac_check_lib_save_LIBS=$LIBS
13320LIBS="-lc  $LIBS"
13321cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13322/* end confdefs.h.  */
13323
13324/* Override any GCC internal prototype to avoid an error.
13325   Use char because int might match the return type of a GCC
13326   builtin and then its argument prototype would still apply.  */
13327#ifdef __cplusplus
13328extern "C"
13329#endif
13330char extattr_list_file ();
13331int
13332main ()
13333{
13334return extattr_list_file ();
13335  ;
13336  return 0;
13337}
13338_ACEOF
13339if ac_fn_c_try_link "$LINENO"; then :
13340  ac_cv_lib_c_extattr_list_file=yes
13341else
13342  ac_cv_lib_c_extattr_list_file=no
13343fi
13344rm -f core conftest.err conftest.$ac_objext \
13345    conftest$ac_exeext conftest.$ac_ext
13346LIBS=$ac_check_lib_save_LIBS
13347fi
13348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_c_extattr_list_file" >&5
13349$as_echo "$ac_cv_lib_c_extattr_list_file" >&6; }
13350if test "x$ac_cv_lib_c_extattr_list_file" = xyes; then :
13351  X=
13352else
13353  XATTR_DEF=
13354fi
13355
13356else
13357  XATTR_DEF=
13358fi
13359
13360
13361    fi
13362fi
13363if test x$XATTR_DEF = x-DLibisofs_with_aaip_xattR
13364then
13365    echo "enabled  xattr, local processing of extended file attributes Linux style"
13366elif test x$XATTR_DEF = x-DLibisofs_with_freebsd_extattR
13367then
13368    echo "enabled  extattr, local processing of extended file attributes FreeBSD style"
13369else
13370    echo "disabled local processing of extended file attributes"
13371fi
13372
13373
13374
13375# Check whether --enable-zlib was given.
13376if test "${enable_zlib+set}" = set; then :
13377  enableval=$enable_zlib;
13378else
13379  enable_zlib=yes
13380fi
13381
13382if test x$enable_zlib = xyes; then
13383    ZLIB_DEF="-DLibisofs_with_zliB"
13384    ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
13385if test "x$ac_cv_header_zlib_h" = xyes; then :
13386  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compressBound in -lz" >&5
13387$as_echo_n "checking for compressBound in -lz... " >&6; }
13388if ${ac_cv_lib_z_compressBound+:} false; then :
13389  $as_echo_n "(cached) " >&6
13390else
13391  ac_check_lib_save_LIBS=$LIBS
13392LIBS="-lz  $LIBS"
13393cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13394/* end confdefs.h.  */
13395
13396/* Override any GCC internal prototype to avoid an error.
13397   Use char because int might match the return type of a GCC
13398   builtin and then its argument prototype would still apply.  */
13399#ifdef __cplusplus
13400extern "C"
13401#endif
13402char compressBound ();
13403int
13404main ()
13405{
13406return compressBound ();
13407  ;
13408  return 0;
13409}
13410_ACEOF
13411if ac_fn_c_try_link "$LINENO"; then :
13412  ac_cv_lib_z_compressBound=yes
13413else
13414  ac_cv_lib_z_compressBound=no
13415fi
13416rm -f core conftest.err conftest.$ac_objext \
13417    conftest$ac_exeext conftest.$ac_ext
13418LIBS=$ac_check_lib_save_LIBS
13419fi
13420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_compressBound" >&5
13421$as_echo "$ac_cv_lib_z_compressBound" >&6; }
13422if test "x$ac_cv_lib_z_compressBound" = xyes; then :
13423  cat >>confdefs.h <<_ACEOF
13424#define HAVE_LIBZ 1
13425_ACEOF
13426
13427  LIBS="-lz $LIBS"
13428
13429else
13430  ZLIB_DEF=
13431fi
13432
13433else
13434  ZLIB_DEF=
13435fi
13436
13437
13438else
13439    ZLIB_DEF=
13440fi
13441
13442
13443# Check whether --enable-libjte was given.
13444if test "${enable_libjte+set}" = set; then :
13445  enableval=$enable_libjte;
13446else
13447  enable_libjte=yes
13448fi
13449
13450if test "x$enable_libjte" = xyes; then
13451    LIBJTE_DEF="-DXorriso_with_libjtE"
13452    ac_fn_c_check_header_mongrel "$LINENO" "libjte/libjte.h" "ac_cv_header_libjte_libjte_h" "$ac_includes_default"
13453if test "x$ac_cv_header_libjte_libjte_h" = xyes; then :
13454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libjte_new in -ljte" >&5
13455$as_echo_n "checking for libjte_new in -ljte... " >&6; }
13456if ${ac_cv_lib_jte_libjte_new+:} false; then :
13457  $as_echo_n "(cached) " >&6
13458else
13459  ac_check_lib_save_LIBS=$LIBS
13460LIBS="-ljte  $LIBS"
13461cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462/* end confdefs.h.  */
13463
13464/* Override any GCC internal prototype to avoid an error.
13465   Use char because int might match the return type of a GCC
13466   builtin and then its argument prototype would still apply.  */
13467#ifdef __cplusplus
13468extern "C"
13469#endif
13470char libjte_new ();
13471int
13472main ()
13473{
13474return libjte_new ();
13475  ;
13476  return 0;
13477}
13478_ACEOF
13479if ac_fn_c_try_link "$LINENO"; then :
13480  ac_cv_lib_jte_libjte_new=yes
13481else
13482  ac_cv_lib_jte_libjte_new=no
13483fi
13484rm -f core conftest.err conftest.$ac_objext \
13485    conftest$ac_exeext conftest.$ac_ext
13486LIBS=$ac_check_lib_save_LIBS
13487fi
13488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jte_libjte_new" >&5
13489$as_echo "$ac_cv_lib_jte_libjte_new" >&6; }
13490if test "x$ac_cv_lib_jte_libjte_new" = xyes; then :
13491  cat >>confdefs.h <<_ACEOF
13492#define HAVE_LIBJTE 1
13493_ACEOF
13494
13495  LIBS="-ljte $LIBS"
13496
13497else
13498  LIBJTE_DEF=
13499fi
13500
13501else
13502  LIBJTE_DEF=
13503fi
13504
13505
13506else
13507    LIBJTE_DEF=
13508fi
13509
13510
13511case $host_os in
13512    cygwin*|mingw*)
13513        default_libcdio=yes
13514        ;;
13515    *)
13516        default_libcdio=no
13517        ;;
13518esac
13519# Check whether --enable-libcdio was given.
13520if test "${enable_libcdio+set}" = set; then :
13521  enableval=$enable_libcdio;
13522else
13523  enable_libcdio=$default_libcdio
13524fi
13525
13526if test x$enable_libcdio = xyes; then
13527    LIBCDIO_DEF="-DLibburn_use_libcdiO"
13528    ac_fn_c_check_header_mongrel "$LINENO" "cdio/cdio.h" "ac_cv_header_cdio_cdio_h" "$ac_includes_default"
13529if test "x$ac_cv_header_cdio_cdio_h" = xyes; then :
13530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mmc_last_cmd_sense in -lcdio" >&5
13531$as_echo_n "checking for mmc_last_cmd_sense in -lcdio... " >&6; }
13532if ${ac_cv_lib_cdio_mmc_last_cmd_sense+:} false; then :
13533  $as_echo_n "(cached) " >&6
13534else
13535  ac_check_lib_save_LIBS=$LIBS
13536LIBS="-lcdio  $LIBS"
13537cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13538/* end confdefs.h.  */
13539
13540/* Override any GCC internal prototype to avoid an error.
13541   Use char because int might match the return type of a GCC
13542   builtin and then its argument prototype would still apply.  */
13543#ifdef __cplusplus
13544extern "C"
13545#endif
13546char mmc_last_cmd_sense ();
13547int
13548main ()
13549{
13550return mmc_last_cmd_sense ();
13551  ;
13552  return 0;
13553}
13554_ACEOF
13555if ac_fn_c_try_link "$LINENO"; then :
13556  ac_cv_lib_cdio_mmc_last_cmd_sense=yes
13557else
13558  ac_cv_lib_cdio_mmc_last_cmd_sense=no
13559fi
13560rm -f core conftest.err conftest.$ac_objext \
13561    conftest$ac_exeext conftest.$ac_ext
13562LIBS=$ac_check_lib_save_LIBS
13563fi
13564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdio_mmc_last_cmd_sense" >&5
13565$as_echo "$ac_cv_lib_cdio_mmc_last_cmd_sense" >&6; }
13566if test "x$ac_cv_lib_cdio_mmc_last_cmd_sense" = xyes; then :
13567  cat >>confdefs.h <<_ACEOF
13568#define HAVE_LIBCDIO 1
13569_ACEOF
13570
13571  LIBS="-lcdio $LIBS"
13572
13573else
13574  LIBCDIO_DEF=
13575fi
13576
13577else
13578  LIBCDIO_DEF=
13579fi
13580
13581
13582else
13583    LIBCDIO_DEF=
13584fi
13585if test x$LIBCDIO_DEF = x
13586then
13587    if test x$enable_libcdio = xyes
13588    then
13589      echo "WARNING: could not enable use of libcdio as system adapter"
13590    fi
13591else
13592    echo "enabled  use of libcdio as system adapter"
13593fi
13594
13595
13596
13597# Check whether --enable-external-filters was given.
13598if test "${enable_external_filters+set}" = set; then :
13599  enableval=$enable_external_filters;
13600else
13601  enable_external_filters=yes
13602fi
13603
13604if test x"$enable_external_filters" = xyes; then
13605    EXTF_DEF="-DXorriso_allow_external_filterS"
13606    echo "enabled  xorriso external filter programs"
13607else
13608    EXTF_DEF=
13609    echo "disabled xorriso external filter programs"
13610fi
13611
13612
13613# Check whether --enable-external-filters-setuid was given.
13614if test "${enable_external_filters_setuid+set}" = set; then :
13615  enableval=$enable_external_filters_setuid;
13616else
13617  enable_external_filters_setuid=no
13618fi
13619
13620if test x$enable_external_filters_setuid = xyes; then
13621    EXTF_SUID_DEF="-DXorriso_allow_extf_suiD"
13622    echo "enabled  xorriso external filter programs under setuid"
13623else
13624    EXTF_SUID_DEF=
13625    echo "disabled xorriso external filter programs under setuid"
13626fi
13627
13628
13629
13630# Check whether --enable-launch-frontend was given.
13631if test "${enable_launch_frontend+set}" = set; then :
13632  enableval=$enable_launch_frontend;
13633else
13634  enable_launch_frontend=yes
13635fi
13636
13637if test x"$enable_launch_frontend" = xyes; then
13638    LFRONT_DEF="-DXorriso_allow_launch_frontenD"
13639    echo "enabled  xorriso command -launch_frontend"
13640else
13641    LFRONT_DEF=
13642    echo "disabled xorriso command -launch_frontend"
13643fi
13644
13645
13646# Check whether --enable-launch-frontend-setuid was given.
13647if test "${enable_launch_frontend_setuid+set}" = set; then :
13648  enableval=$enable_launch_frontend_setuid;
13649else
13650  enable_launch_frontend_setuid=no
13651fi
13652
13653if test x$enable_launch_frontend_setuid = xyes; then
13654    LFRONT_SUID_DEF="-DXorriso_allow_extf_suiD"
13655    echo "enabled  xorriso command -launch_frontend under setuid"
13656else
13657    LFRONT_SUID_DEF=
13658    echo "disabled xorriso command -launch_frontend under setuid"
13659fi
13660
13661
13662
13663# Check whether --enable-dvd-obs-64k was given.
13664if test "${enable_dvd_obs_64k+set}" = set; then :
13665  enableval=$enable_dvd_obs_64k;
13666else
13667  enable_dvd_obs_64=no
13668fi
13669
13670if test x$enable_dvd_obs_64k = xyes; then
13671    XORRISO_DVD_OBS_64K="-DXorriso_dvd_obs_default_64K"
13672    echo "enabled  xorriso write size default 64 KB on DVD"
13673else
13674    XORRISO_DVD_OBS_64K=
13675    echo "disabled xorriso write size default 64 KB on DVD"
13676fi
13677
13678
13679# Library versioning normally serves a complex purpose.
13680# Since libisoburn obeys strict ABI backward compatibility, it needs only the
13681# simple feature to declare function names "global:" or "local:". Only the
13682# global ones are visible to applications at library load time.
13683# Check whether --enable-versioned-libs was given.
13684if test "${enable_versioned_libs+set}" = set; then :
13685  enableval=$enable_versioned_libs;
13686else
13687  enable_versioned_libs=yes
13688fi
13689
13690if test x$enable_versioned_libs = xyes; then
13691    vers_libs_test=no
13692
13693    libburnia_save_LDFLAGS="$LDFLAGS"
13694    LDFLAGS="$LDFLAGS -Wl,--version-script=libisoburn/libisoburn.ver"
13695    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13696/* end confdefs.h.  */
13697#include <stdio.h>
13698int
13699main ()
13700{
13701printf("Hello\n");
13702  ;
13703  return 0;
13704}
13705_ACEOF
13706if ac_fn_c_try_link "$LINENO"; then :
13707  vers_libs_test="yes"
13708else
13709  vers_libs_test="no"
13710fi
13711rm -f core conftest.err conftest.$ac_objext \
13712    conftest$ac_exeext conftest.$ac_ext
13713    if test x$vers_libs_test = xyes
13714    then
13715        LIBLDFLAGS="-Wl,--version-script=libisoburn/libisoburn.ver"
13716    fi
13717    LDFLAGS="$libburnia_save_LDFLAGS"
13718
13719
13720    if test x$vers_libs_test = xno
13721    then
13722        echo "disabled strict symbol encapsulation (test failed)"
13723    else
13724        echo "enabled  strict symbol encapsulation"
13725    fi
13726else
13727    echo "disabled strict symbol encapsulation"
13728fi
13729
13730# Check whether --enable-ldconfig-at-install was given.
13731if test "${enable_ldconfig_at_install+set}" = set; then :
13732  enableval=$enable_ldconfig_at_install;
13733else
13734  ldconfig_at_install=yes
13735fi
13736
13737if test x$ldconfig_at_install = xyes; then
13738    dummy=dummy
13739else
13740    LIBBURNIA_LDCONFIG_CMD="echo 'NOTE: ldconfig is disabled. If needed, configure manually for:'"
13741    echo "disabled run of ldconfig during installation on GNU/Linux"
13742fi
13743
13744
13745
13746ac_fn_c_check_header_mongrel "$LINENO" "libburn/libburn.h" "ac_cv_header_libburn_libburn_h" "$ac_includes_default"
13747if test "x$ac_cv_header_libburn_libburn_h" = xyes; then :
13748  LIBBURNIA_HAVE_LIBBURN=1
13749else
13750  LIBBURNIA_HAVE_LIBBURN=0
13751fi
13752
13753
13754ac_fn_c_check_header_mongrel "$LINENO" "libisofs/libisofs.h" "ac_cv_header_libisofs_libisofs_h" "$ac_includes_default"
13755if test "x$ac_cv_header_libisofs_libisofs_h" = xyes; then :
13756  LIBBURNIA_HAVE_LIBISOFS=1
13757else
13758  LIBBURNIA_HAVE_LIBISOFS=0
13759fi
13760
13761
13762if test x$LIBBURNIA_HAVE_LIBBURN = x0; then
13763    echo "FATAL: Lacking libburn development header file <libburn/libburn.h>" 2>&1
13764    echo "HINT: You first have to install libburn before you can build libisoburn" 2>&1
13765fi
13766if test x$LIBBURNIA_HAVE_LIBISOFS = x0; then
13767    echo "FATAL: Lacking libisofs development header file <libisofs/libisofs.h>" 2>&1
13768    echo "HINT: You first have to install libisofs before you can build libisoburn" 2>&1
13769fi
13770if test x$LIBBURNIA_HAVE_LIBBURN = x0 -o x$LIBBURNIA_HAVE_LIBISOFS = x0; then
13771    echo "ABORT: Lacking mandatory prerequisites" 2>&1
13772    exit 1
13773fi
13774
13775# ------- Visible mark in configure : Start of library check
13776
13777# Check for proper library versions if this is desired.
13778# (It fails too often on too many systems.)
13779# Check whether --enable-pkg-check-modules was given.
13780if test "${enable_pkg_check_modules+set}" = set; then :
13781  enableval=$enable_pkg_check_modules;
13782else
13783  enable_pkg_check_modules=no
13784fi
13785
13786if test x$enable_pkg_check_modules = xyes; then
13787
13788
13789  LIBBURN_REQUIRED=1.5.0
13790  LIBISOFS_REQUIRED=1.5.0
13791
13792
13793
13794
13795
13796
13797
13798if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13799	if test -n "$ac_tool_prefix"; then
13800  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13801set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13803$as_echo_n "checking for $ac_word... " >&6; }
13804if ${ac_cv_path_PKG_CONFIG+:} false; then :
13805  $as_echo_n "(cached) " >&6
13806else
13807  case $PKG_CONFIG in
13808  [\\/]* | ?:[\\/]*)
13809  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13810  ;;
13811  *)
13812  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13813for as_dir in $PATH
13814do
13815  IFS=$as_save_IFS
13816  test -z "$as_dir" && as_dir=.
13817    for ac_exec_ext in '' $ac_executable_extensions; do
13818  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13819    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13820    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13821    break 2
13822  fi
13823done
13824  done
13825IFS=$as_save_IFS
13826
13827  ;;
13828esac
13829fi
13830PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13831if test -n "$PKG_CONFIG"; then
13832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13833$as_echo "$PKG_CONFIG" >&6; }
13834else
13835  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13836$as_echo "no" >&6; }
13837fi
13838
13839
13840fi
13841if test -z "$ac_cv_path_PKG_CONFIG"; then
13842  ac_pt_PKG_CONFIG=$PKG_CONFIG
13843  # Extract the first word of "pkg-config", so it can be a program name with args.
13844set dummy pkg-config; ac_word=$2
13845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13846$as_echo_n "checking for $ac_word... " >&6; }
13847if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13848  $as_echo_n "(cached) " >&6
13849else
13850  case $ac_pt_PKG_CONFIG in
13851  [\\/]* | ?:[\\/]*)
13852  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13853  ;;
13854  *)
13855  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13856for as_dir in $PATH
13857do
13858  IFS=$as_save_IFS
13859  test -z "$as_dir" && as_dir=.
13860    for ac_exec_ext in '' $ac_executable_extensions; do
13861  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13862    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13863    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13864    break 2
13865  fi
13866done
13867  done
13868IFS=$as_save_IFS
13869
13870  ;;
13871esac
13872fi
13873ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13874if test -n "$ac_pt_PKG_CONFIG"; then
13875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13876$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13877else
13878  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13879$as_echo "no" >&6; }
13880fi
13881
13882  if test "x$ac_pt_PKG_CONFIG" = x; then
13883    PKG_CONFIG=""
13884  else
13885    case $cross_compiling:$ac_tool_warned in
13886yes:)
13887{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13888$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13889ac_tool_warned=yes ;;
13890esac
13891    PKG_CONFIG=$ac_pt_PKG_CONFIG
13892  fi
13893else
13894  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13895fi
13896
13897fi
13898if test -n "$PKG_CONFIG"; then
13899	_pkg_min_version=0.9.0
13900	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13901$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13902	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13903		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13904$as_echo "yes" >&6; }
13905	else
13906		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13907$as_echo "no" >&6; }
13908		PKG_CONFIG=""
13909	fi
13910fi
13911
13912pkg_failed=no
13913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBBURN" >&5
13914$as_echo_n "checking for LIBBURN... " >&6; }
13915
13916if test -n "$LIBBURN_CFLAGS"; then
13917    pkg_cv_LIBBURN_CFLAGS="$LIBBURN_CFLAGS"
13918 elif test -n "$PKG_CONFIG"; then
13919    if test -n "$PKG_CONFIG" && \
13920    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libburn-1 >= \$LIBBURN_REQUIRED\""; } >&5
13921  ($PKG_CONFIG --exists --print-errors "libburn-1 >= $LIBBURN_REQUIRED") 2>&5
13922  ac_status=$?
13923  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13924  test $ac_status = 0; }; then
13925  pkg_cv_LIBBURN_CFLAGS=`$PKG_CONFIG --cflags "libburn-1 >= $LIBBURN_REQUIRED" 2>/dev/null`
13926		      test "x$?" != "x0" && pkg_failed=yes
13927else
13928  pkg_failed=yes
13929fi
13930 else
13931    pkg_failed=untried
13932fi
13933if test -n "$LIBBURN_LIBS"; then
13934    pkg_cv_LIBBURN_LIBS="$LIBBURN_LIBS"
13935 elif test -n "$PKG_CONFIG"; then
13936    if test -n "$PKG_CONFIG" && \
13937    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libburn-1 >= \$LIBBURN_REQUIRED\""; } >&5
13938  ($PKG_CONFIG --exists --print-errors "libburn-1 >= $LIBBURN_REQUIRED") 2>&5
13939  ac_status=$?
13940  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13941  test $ac_status = 0; }; then
13942  pkg_cv_LIBBURN_LIBS=`$PKG_CONFIG --libs "libburn-1 >= $LIBBURN_REQUIRED" 2>/dev/null`
13943		      test "x$?" != "x0" && pkg_failed=yes
13944else
13945  pkg_failed=yes
13946fi
13947 else
13948    pkg_failed=untried
13949fi
13950
13951
13952
13953if test $pkg_failed = yes; then
13954   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13955$as_echo "no" >&6; }
13956
13957if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13958        _pkg_short_errors_supported=yes
13959else
13960        _pkg_short_errors_supported=no
13961fi
13962        if test $_pkg_short_errors_supported = yes; then
13963	        LIBBURN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libburn-1 >= $LIBBURN_REQUIRED" 2>&1`
13964        else
13965	        LIBBURN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libburn-1 >= $LIBBURN_REQUIRED" 2>&1`
13966        fi
13967	# Put the nasty error message in config.log where it belongs
13968	echo "$LIBBURN_PKG_ERRORS" >&5
13969
13970	as_fn_error $? "Package requirements (libburn-1 >= $LIBBURN_REQUIRED) were not met:
13971
13972$LIBBURN_PKG_ERRORS
13973
13974Consider adjusting the PKG_CONFIG_PATH environment variable if you
13975installed software in a non-standard prefix.
13976
13977Alternatively, you may set the environment variables LIBBURN_CFLAGS
13978and LIBBURN_LIBS to avoid the need to call pkg-config.
13979See the pkg-config man page for more details." "$LINENO" 5
13980elif test $pkg_failed = untried; then
13981     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13982$as_echo "no" >&6; }
13983	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13984$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13985as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
13986is in your PATH or set the PKG_CONFIG environment variable to the full
13987path to pkg-config.
13988
13989Alternatively, you may set the environment variables LIBBURN_CFLAGS
13990and LIBBURN_LIBS to avoid the need to call pkg-config.
13991See the pkg-config man page for more details.
13992
13993To get pkg-config, see <http://pkg-config.freedesktop.org/>.
13994See \`config.log' for more details" "$LINENO" 5; }
13995else
13996	LIBBURN_CFLAGS=$pkg_cv_LIBBURN_CFLAGS
13997	LIBBURN_LIBS=$pkg_cv_LIBBURN_LIBS
13998        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13999$as_echo "yes" >&6; }
14000
14001fi
14002
14003pkg_failed=no
14004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBISOFS" >&5
14005$as_echo_n "checking for LIBISOFS... " >&6; }
14006
14007if test -n "$LIBISOFS_CFLAGS"; then
14008    pkg_cv_LIBISOFS_CFLAGS="$LIBISOFS_CFLAGS"
14009 elif test -n "$PKG_CONFIG"; then
14010    if test -n "$PKG_CONFIG" && \
14011    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libisofs-1 >= \$LIBISOFS_REQUIRED\""; } >&5
14012  ($PKG_CONFIG --exists --print-errors "libisofs-1 >= $LIBISOFS_REQUIRED") 2>&5
14013  ac_status=$?
14014  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14015  test $ac_status = 0; }; then
14016  pkg_cv_LIBISOFS_CFLAGS=`$PKG_CONFIG --cflags "libisofs-1 >= $LIBISOFS_REQUIRED" 2>/dev/null`
14017		      test "x$?" != "x0" && pkg_failed=yes
14018else
14019  pkg_failed=yes
14020fi
14021 else
14022    pkg_failed=untried
14023fi
14024if test -n "$LIBISOFS_LIBS"; then
14025    pkg_cv_LIBISOFS_LIBS="$LIBISOFS_LIBS"
14026 elif test -n "$PKG_CONFIG"; then
14027    if test -n "$PKG_CONFIG" && \
14028    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libisofs-1 >= \$LIBISOFS_REQUIRED\""; } >&5
14029  ($PKG_CONFIG --exists --print-errors "libisofs-1 >= $LIBISOFS_REQUIRED") 2>&5
14030  ac_status=$?
14031  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14032  test $ac_status = 0; }; then
14033  pkg_cv_LIBISOFS_LIBS=`$PKG_CONFIG --libs "libisofs-1 >= $LIBISOFS_REQUIRED" 2>/dev/null`
14034		      test "x$?" != "x0" && pkg_failed=yes
14035else
14036  pkg_failed=yes
14037fi
14038 else
14039    pkg_failed=untried
14040fi
14041
14042
14043
14044if test $pkg_failed = yes; then
14045   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14046$as_echo "no" >&6; }
14047
14048if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14049        _pkg_short_errors_supported=yes
14050else
14051        _pkg_short_errors_supported=no
14052fi
14053        if test $_pkg_short_errors_supported = yes; then
14054	        LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libisofs-1 >= $LIBISOFS_REQUIRED" 2>&1`
14055        else
14056	        LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libisofs-1 >= $LIBISOFS_REQUIRED" 2>&1`
14057        fi
14058	# Put the nasty error message in config.log where it belongs
14059	echo "$LIBISOFS_PKG_ERRORS" >&5
14060
14061	as_fn_error $? "Package requirements (libisofs-1 >= $LIBISOFS_REQUIRED) were not met:
14062
14063$LIBISOFS_PKG_ERRORS
14064
14065Consider adjusting the PKG_CONFIG_PATH environment variable if you
14066installed software in a non-standard prefix.
14067
14068Alternatively, you may set the environment variables LIBISOFS_CFLAGS
14069and LIBISOFS_LIBS to avoid the need to call pkg-config.
14070See the pkg-config man page for more details." "$LINENO" 5
14071elif test $pkg_failed = untried; then
14072     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14073$as_echo "no" >&6; }
14074	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14075$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14076as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14077is in your PATH or set the PKG_CONFIG environment variable to the full
14078path to pkg-config.
14079
14080Alternatively, you may set the environment variables LIBISOFS_CFLAGS
14081and LIBISOFS_LIBS to avoid the need to call pkg-config.
14082See the pkg-config man page for more details.
14083
14084To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14085See \`config.log' for more details" "$LINENO" 5; }
14086else
14087	LIBISOFS_CFLAGS=$pkg_cv_LIBISOFS_CFLAGS
14088	LIBISOFS_LIBS=$pkg_cv_LIBISOFS_LIBS
14089        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14090$as_echo "yes" >&6; }
14091
14092fi
14093  if test x$LIBCDIO_DEF = x; then
14094    dummy=dummy
14095  else
14096    LIBCDIO_REQUIRED=0.83
14097
14098pkg_failed=no
14099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCDIO" >&5
14100$as_echo_n "checking for LIBCDIO... " >&6; }
14101
14102if test -n "$LIBCDIO_CFLAGS"; then
14103    pkg_cv_LIBCDIO_CFLAGS="$LIBCDIO_CFLAGS"
14104 elif test -n "$PKG_CONFIG"; then
14105    if test -n "$PKG_CONFIG" && \
14106    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdio >= \$LIBCDIO_REQUIRED\""; } >&5
14107  ($PKG_CONFIG --exists --print-errors "libcdio >= $LIBCDIO_REQUIRED") 2>&5
14108  ac_status=$?
14109  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14110  test $ac_status = 0; }; then
14111  pkg_cv_LIBCDIO_CFLAGS=`$PKG_CONFIG --cflags "libcdio >= $LIBCDIO_REQUIRED" 2>/dev/null`
14112		      test "x$?" != "x0" && pkg_failed=yes
14113else
14114  pkg_failed=yes
14115fi
14116 else
14117    pkg_failed=untried
14118fi
14119if test -n "$LIBCDIO_LIBS"; then
14120    pkg_cv_LIBCDIO_LIBS="$LIBCDIO_LIBS"
14121 elif test -n "$PKG_CONFIG"; then
14122    if test -n "$PKG_CONFIG" && \
14123    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdio >= \$LIBCDIO_REQUIRED\""; } >&5
14124  ($PKG_CONFIG --exists --print-errors "libcdio >= $LIBCDIO_REQUIRED") 2>&5
14125  ac_status=$?
14126  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14127  test $ac_status = 0; }; then
14128  pkg_cv_LIBCDIO_LIBS=`$PKG_CONFIG --libs "libcdio >= $LIBCDIO_REQUIRED" 2>/dev/null`
14129		      test "x$?" != "x0" && pkg_failed=yes
14130else
14131  pkg_failed=yes
14132fi
14133 else
14134    pkg_failed=untried
14135fi
14136
14137
14138
14139if test $pkg_failed = yes; then
14140   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14141$as_echo "no" >&6; }
14142
14143if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14144        _pkg_short_errors_supported=yes
14145else
14146        _pkg_short_errors_supported=no
14147fi
14148        if test $_pkg_short_errors_supported = yes; then
14149	        LIBCDIO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdio >= $LIBCDIO_REQUIRED" 2>&1`
14150        else
14151	        LIBCDIO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdio >= $LIBCDIO_REQUIRED" 2>&1`
14152        fi
14153	# Put the nasty error message in config.log where it belongs
14154	echo "$LIBCDIO_PKG_ERRORS" >&5
14155
14156	as_fn_error $? "Package requirements (libcdio >= $LIBCDIO_REQUIRED) were not met:
14157
14158$LIBCDIO_PKG_ERRORS
14159
14160Consider adjusting the PKG_CONFIG_PATH environment variable if you
14161installed software in a non-standard prefix.
14162
14163Alternatively, you may set the environment variables LIBCDIO_CFLAGS
14164and LIBCDIO_LIBS to avoid the need to call pkg-config.
14165See the pkg-config man page for more details." "$LINENO" 5
14166elif test $pkg_failed = untried; then
14167     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14168$as_echo "no" >&6; }
14169	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14170$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14171as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
14172is in your PATH or set the PKG_CONFIG environment variable to the full
14173path to pkg-config.
14174
14175Alternatively, you may set the environment variables LIBCDIO_CFLAGS
14176and LIBCDIO_LIBS to avoid the need to call pkg-config.
14177See the pkg-config man page for more details.
14178
14179To get pkg-config, see <http://pkg-config.freedesktop.org/>.
14180See \`config.log' for more details" "$LINENO" 5; }
14181else
14182	LIBCDIO_CFLAGS=$pkg_cv_LIBCDIO_CFLAGS
14183	LIBCDIO_LIBS=$pkg_cv_LIBCDIO_LIBS
14184        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14185$as_echo "yes" >&6; }
14186
14187fi
14188  fi
14189else
14190  echo "checking for LIBBURN... skipped, no --enable-pkg-check-modules"
14191  echo "checking for LIBISOFS... skipped, no --enable-pkg-check-modules"
14192  if test x$LIBCDIO_DEF = x; then
14193    dummy=dummy
14194  else
14195    echo "checking for LIBCDIO... skipped, no --enable-pkg-check-modules"
14196  fi
14197fi
14198
14199# ------- Visible mark in configure : End of library check
14200
14201
14202# Check whether --enable-debug was given.
14203if test "${enable_debug+set}" = set; then :
14204  enableval=$enable_debug;
14205else
14206  enable_debug=yes
14207fi
14208
14209if test x$enable_debug != xyes; then
14210    if test x$GCC = xyes; then
14211        CFLAGS="-O3 $CFLAGS"
14212        CFLAGS="-fexpensive-optimizations $CFLAGS"
14213    fi
14214    CFLAGS="-DNDEBUG $CFLAGS"
14215else
14216    if test x$GCC = xyes; then
14217        CFLAGS="-g -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-char-subscripts $CFLAGS"
14218    fi
14219    CFLAGS="-DDEBUG $CFLAGS"
14220fi
14221
14222CFLAGS="$READLINE_DEF $LIBACL_DEF $XATTR_DEF $EXTF_DEF $EXTF_SUID_DEF $LFRONT_DEF $LFRONT_SUID_DEF $ZLIB_DEF $LIBJTE_DEF $XORRISO_DVD_OBS_64K $CFLAGS"
14223
14224ac_config_files="$ac_config_files Makefile doc/doxygen.conf version.h libisoburn-1.pc"
14225
14226cat >confcache <<\_ACEOF
14227# This file is a shell script that caches the results of configure
14228# tests run on this system so they can be shared between configure
14229# scripts and configure runs, see configure's option --config-cache.
14230# It is not useful on other systems.  If it contains results you don't
14231# want to keep, you may remove or edit it.
14232#
14233# config.status only pays attention to the cache file if you give it
14234# the --recheck option to rerun configure.
14235#
14236# `ac_cv_env_foo' variables (set or unset) will be overridden when
14237# loading this file, other *unset* `ac_cv_foo' will be assigned the
14238# following values.
14239
14240_ACEOF
14241
14242# The following way of writing the cache mishandles newlines in values,
14243# but we know of no workaround that is simple, portable, and efficient.
14244# So, we kill variables containing newlines.
14245# Ultrix sh set writes to stderr and can't be redirected directly,
14246# and sets the high bit in the cache file unless we assign to the vars.
14247(
14248  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14249    eval ac_val=\$$ac_var
14250    case $ac_val in #(
14251    *${as_nl}*)
14252      case $ac_var in #(
14253      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14254$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14255      esac
14256      case $ac_var in #(
14257      _ | IFS | as_nl) ;; #(
14258      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14259      *) { eval $ac_var=; unset $ac_var;} ;;
14260      esac ;;
14261    esac
14262  done
14263
14264  (set) 2>&1 |
14265    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14266    *${as_nl}ac_space=\ *)
14267      # `set' does not quote correctly, so add quotes: double-quote
14268      # substitution turns \\\\ into \\, and sed turns \\ into \.
14269      sed -n \
14270	"s/'/'\\\\''/g;
14271	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14272      ;; #(
14273    *)
14274      # `set' quotes correctly as required by POSIX, so do not add quotes.
14275      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14276      ;;
14277    esac |
14278    sort
14279) |
14280  sed '
14281     /^ac_cv_env_/b end
14282     t clear
14283     :clear
14284     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14285     t end
14286     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14287     :end' >>confcache
14288if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14289  if test -w "$cache_file"; then
14290    if test "x$cache_file" != "x/dev/null"; then
14291      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14292$as_echo "$as_me: updating cache $cache_file" >&6;}
14293      if test ! -f "$cache_file" || test -h "$cache_file"; then
14294	cat confcache >"$cache_file"
14295      else
14296        case $cache_file in #(
14297        */* | ?:*)
14298	  mv -f confcache "$cache_file"$$ &&
14299	  mv -f "$cache_file"$$ "$cache_file" ;; #(
14300        *)
14301	  mv -f confcache "$cache_file" ;;
14302	esac
14303      fi
14304    fi
14305  else
14306    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14307$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14308  fi
14309fi
14310rm -f confcache
14311
14312test "x$prefix" = xNONE && prefix=$ac_default_prefix
14313# Let make expand exec_prefix.
14314test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
14315
14316# Transform confdefs.h into DEFS.
14317# Protect against shell expansion while executing Makefile rules.
14318# Protect against Makefile macro expansion.
14319#
14320# If the first sed substitution is executed (which looks for macros that
14321# take arguments), then branch to the quote section.  Otherwise,
14322# look for a macro that doesn't take arguments.
14323ac_script='
14324:mline
14325/\\$/{
14326 N
14327 s,\\\n,,
14328 b mline
14329}
14330t clear
14331:clear
14332s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
14333t quote
14334s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
14335t quote
14336b any
14337:quote
14338s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
14339s/\[/\\&/g
14340s/\]/\\&/g
14341s/\$/$$/g
14342H
14343:any
14344${
14345	g
14346	s/^\n//
14347	s/\n/ /g
14348	p
14349}
14350'
14351DEFS=`sed -n "$ac_script" confdefs.h`
14352
14353
14354ac_libobjs=
14355ac_ltlibobjs=
14356U=
14357for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
14358  # 1. Remove the extension, and $U if already installed.
14359  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
14360  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
14361  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
14362  #    will be set to the directory where LIBOBJS objects are built.
14363  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14364  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
14365done
14366LIBOBJS=$ac_libobjs
14367
14368LTLIBOBJS=$ac_ltlibobjs
14369
14370
14371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
14372$as_echo_n "checking that generated files are newer than configure... " >&6; }
14373   if test -n "$am_sleep_pid"; then
14374     # Hide warnings about reused PIDs.
14375     wait $am_sleep_pid 2>/dev/null
14376   fi
14377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
14378$as_echo "done" >&6; }
14379 if test -n "$EXEEXT"; then
14380  am__EXEEXT_TRUE=
14381  am__EXEEXT_FALSE='#'
14382else
14383  am__EXEEXT_TRUE='#'
14384  am__EXEEXT_FALSE=
14385fi
14386
14387if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
14388  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
14389Usually this means the macro was only invoked conditionally." "$LINENO" 5
14390fi
14391if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
14392  as_fn_error $? "conditional \"AMDEP\" was never defined.
14393Usually this means the macro was only invoked conditionally." "$LINENO" 5
14394fi
14395if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
14396  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14397Usually this means the macro was only invoked conditionally." "$LINENO" 5
14398fi
14399
14400
14401: "${CONFIG_STATUS=./config.status}"
14402ac_write_fail=0
14403ac_clean_files_save=$ac_clean_files
14404ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14405{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14406$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14407as_write_fail=0
14408cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14409#! $SHELL
14410# Generated by $as_me.
14411# Run this file to recreate the current configuration.
14412# Compiler output produced by configure, useful for debugging
14413# configure, is in config.log if it exists.
14414
14415debug=false
14416ac_cs_recheck=false
14417ac_cs_silent=false
14418
14419SHELL=\${CONFIG_SHELL-$SHELL}
14420export SHELL
14421_ASEOF
14422cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
14423## -------------------- ##
14424## M4sh Initialization. ##
14425## -------------------- ##
14426
14427# Be more Bourne compatible
14428DUALCASE=1; export DUALCASE # for MKS sh
14429if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
14430  emulate sh
14431  NULLCMD=:
14432  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14433  # is contrary to our usage.  Disable this feature.
14434  alias -g '${1+"$@"}'='"$@"'
14435  setopt NO_GLOB_SUBST
14436else
14437  case `(set -o) 2>/dev/null` in #(
14438  *posix*) :
14439    set -o posix ;; #(
14440  *) :
14441     ;;
14442esac
14443fi
14444
14445
14446as_nl='
14447'
14448export as_nl
14449# Printing a long string crashes Solaris 7 /usr/bin/printf.
14450as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14451as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14452as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14453# Prefer a ksh shell builtin over an external printf program on Solaris,
14454# but without wasting forks for bash or zsh.
14455if test -z "$BASH_VERSION$ZSH_VERSION" \
14456    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14457  as_echo='print -r --'
14458  as_echo_n='print -rn --'
14459elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14460  as_echo='printf %s\n'
14461  as_echo_n='printf %s'
14462else
14463  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14464    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
14465    as_echo_n='/usr/ucb/echo -n'
14466  else
14467    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14468    as_echo_n_body='eval
14469      arg=$1;
14470      case $arg in #(
14471      *"$as_nl"*)
14472	expr "X$arg" : "X\\(.*\\)$as_nl";
14473	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14474      esac;
14475      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
14476    '
14477    export as_echo_n_body
14478    as_echo_n='sh -c $as_echo_n_body as_echo'
14479  fi
14480  export as_echo_body
14481  as_echo='sh -c $as_echo_body as_echo'
14482fi
14483
14484# The user is always right.
14485if test "${PATH_SEPARATOR+set}" != set; then
14486  PATH_SEPARATOR=:
14487  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14488    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14489      PATH_SEPARATOR=';'
14490  }
14491fi
14492
14493
14494# IFS
14495# We need space, tab and new line, in precisely that order.  Quoting is
14496# there to prevent editors from complaining about space-tab.
14497# (If _AS_PATH_WALK were called with IFS unset, it would disable word
14498# splitting by setting IFS to empty value.)
14499IFS=" ""	$as_nl"
14500
14501# Find who we are.  Look in the path if we contain no directory separator.
14502as_myself=
14503case $0 in #((
14504  *[\\/]* ) as_myself=$0 ;;
14505  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14506for as_dir in $PATH
14507do
14508  IFS=$as_save_IFS
14509  test -z "$as_dir" && as_dir=.
14510    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14511  done
14512IFS=$as_save_IFS
14513
14514     ;;
14515esac
14516# We did not find ourselves, most probably we were run as `sh COMMAND'
14517# in which case we are not to be found in the path.
14518if test "x$as_myself" = x; then
14519  as_myself=$0
14520fi
14521if test ! -f "$as_myself"; then
14522  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14523  exit 1
14524fi
14525
14526# Unset variables that we do not need and which cause bugs (e.g. in
14527# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
14528# suppresses any "Segmentation fault" message there.  '((' could
14529# trigger a bug in pdksh 5.2.14.
14530for as_var in BASH_ENV ENV MAIL MAILPATH
14531do eval test x\${$as_var+set} = xset \
14532  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
14533done
14534PS1='$ '
14535PS2='> '
14536PS4='+ '
14537
14538# NLS nuisances.
14539LC_ALL=C
14540export LC_ALL
14541LANGUAGE=C
14542export LANGUAGE
14543
14544# CDPATH.
14545(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14546
14547
14548# as_fn_error STATUS ERROR [LINENO LOG_FD]
14549# ----------------------------------------
14550# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14551# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14552# script with STATUS, using 1 if that was 0.
14553as_fn_error ()
14554{
14555  as_status=$1; test $as_status -eq 0 && as_status=1
14556  if test "$4"; then
14557    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
14558    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
14559  fi
14560  $as_echo "$as_me: error: $2" >&2
14561  as_fn_exit $as_status
14562} # as_fn_error
14563
14564
14565# as_fn_set_status STATUS
14566# -----------------------
14567# Set $? to STATUS, without forking.
14568as_fn_set_status ()
14569{
14570  return $1
14571} # as_fn_set_status
14572
14573# as_fn_exit STATUS
14574# -----------------
14575# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14576as_fn_exit ()
14577{
14578  set +e
14579  as_fn_set_status $1
14580  exit $1
14581} # as_fn_exit
14582
14583# as_fn_unset VAR
14584# ---------------
14585# Portably unset VAR.
14586as_fn_unset ()
14587{
14588  { eval $1=; unset $1;}
14589}
14590as_unset=as_fn_unset
14591# as_fn_append VAR VALUE
14592# ----------------------
14593# Append the text in VALUE to the end of the definition contained in VAR. Take
14594# advantage of any shell optimizations that allow amortized linear growth over
14595# repeated appends, instead of the typical quadratic growth present in naive
14596# implementations.
14597if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
14598  eval 'as_fn_append ()
14599  {
14600    eval $1+=\$2
14601  }'
14602else
14603  as_fn_append ()
14604  {
14605    eval $1=\$$1\$2
14606  }
14607fi # as_fn_append
14608
14609# as_fn_arith ARG...
14610# ------------------
14611# Perform arithmetic evaluation on the ARGs, and store the result in the
14612# global $as_val. Take advantage of shells that can avoid forks. The arguments
14613# must be portable across $(()) and expr.
14614if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
14615  eval 'as_fn_arith ()
14616  {
14617    as_val=$(( $* ))
14618  }'
14619else
14620  as_fn_arith ()
14621  {
14622    as_val=`expr "$@" || test $? -eq 1`
14623  }
14624fi # as_fn_arith
14625
14626
14627if expr a : '\(a\)' >/dev/null 2>&1 &&
14628   test "X`expr 00001 : '.*\(...\)'`" = X001; then
14629  as_expr=expr
14630else
14631  as_expr=false
14632fi
14633
14634if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14635  as_basename=basename
14636else
14637  as_basename=false
14638fi
14639
14640if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14641  as_dirname=dirname
14642else
14643  as_dirname=false
14644fi
14645
14646as_me=`$as_basename -- "$0" ||
14647$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14648	 X"$0" : 'X\(//\)$' \| \
14649	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14650$as_echo X/"$0" |
14651    sed '/^.*\/\([^/][^/]*\)\/*$/{
14652	    s//\1/
14653	    q
14654	  }
14655	  /^X\/\(\/\/\)$/{
14656	    s//\1/
14657	    q
14658	  }
14659	  /^X\/\(\/\).*/{
14660	    s//\1/
14661	    q
14662	  }
14663	  s/.*/./; q'`
14664
14665# Avoid depending upon Character Ranges.
14666as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14667as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14668as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14669as_cr_digits='0123456789'
14670as_cr_alnum=$as_cr_Letters$as_cr_digits
14671
14672ECHO_C= ECHO_N= ECHO_T=
14673case `echo -n x` in #(((((
14674-n*)
14675  case `echo 'xy\c'` in
14676  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14677  xy)  ECHO_C='\c';;
14678  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14679       ECHO_T='	';;
14680  esac;;
14681*)
14682  ECHO_N='-n';;
14683esac
14684
14685rm -f conf$$ conf$$.exe conf$$.file
14686if test -d conf$$.dir; then
14687  rm -f conf$$.dir/conf$$.file
14688else
14689  rm -f conf$$.dir
14690  mkdir conf$$.dir 2>/dev/null
14691fi
14692if (echo >conf$$.file) 2>/dev/null; then
14693  if ln -s conf$$.file conf$$ 2>/dev/null; then
14694    as_ln_s='ln -s'
14695    # ... but there are two gotchas:
14696    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14697    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14698    # In both cases, we have to default to `cp -pR'.
14699    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14700      as_ln_s='cp -pR'
14701  elif ln conf$$.file conf$$ 2>/dev/null; then
14702    as_ln_s=ln
14703  else
14704    as_ln_s='cp -pR'
14705  fi
14706else
14707  as_ln_s='cp -pR'
14708fi
14709rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14710rmdir conf$$.dir 2>/dev/null
14711
14712
14713# as_fn_mkdir_p
14714# -------------
14715# Create "$as_dir" as a directory, including parents if necessary.
14716as_fn_mkdir_p ()
14717{
14718
14719  case $as_dir in #(
14720  -*) as_dir=./$as_dir;;
14721  esac
14722  test -d "$as_dir" || eval $as_mkdir_p || {
14723    as_dirs=
14724    while :; do
14725      case $as_dir in #(
14726      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14727      *) as_qdir=$as_dir;;
14728      esac
14729      as_dirs="'$as_qdir' $as_dirs"
14730      as_dir=`$as_dirname -- "$as_dir" ||
14731$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14732	 X"$as_dir" : 'X\(//\)[^/]' \| \
14733	 X"$as_dir" : 'X\(//\)$' \| \
14734	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14735$as_echo X"$as_dir" |
14736    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14737	    s//\1/
14738	    q
14739	  }
14740	  /^X\(\/\/\)[^/].*/{
14741	    s//\1/
14742	    q
14743	  }
14744	  /^X\(\/\/\)$/{
14745	    s//\1/
14746	    q
14747	  }
14748	  /^X\(\/\).*/{
14749	    s//\1/
14750	    q
14751	  }
14752	  s/.*/./; q'`
14753      test -d "$as_dir" && break
14754    done
14755    test -z "$as_dirs" || eval "mkdir $as_dirs"
14756  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14757
14758
14759} # as_fn_mkdir_p
14760if mkdir -p . 2>/dev/null; then
14761  as_mkdir_p='mkdir -p "$as_dir"'
14762else
14763  test -d ./-p && rmdir ./-p
14764  as_mkdir_p=false
14765fi
14766
14767
14768# as_fn_executable_p FILE
14769# -----------------------
14770# Test if FILE is an executable regular file.
14771as_fn_executable_p ()
14772{
14773  test -f "$1" && test -x "$1"
14774} # as_fn_executable_p
14775as_test_x='test -x'
14776as_executable_p=as_fn_executable_p
14777
14778# Sed expression to map a string onto a valid CPP name.
14779as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14780
14781# Sed expression to map a string onto a valid variable name.
14782as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14783
14784
14785exec 6>&1
14786## ----------------------------------- ##
14787## Main body of $CONFIG_STATUS script. ##
14788## ----------------------------------- ##
14789_ASEOF
14790test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14791
14792cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14793# Save the log message, to keep $0 and so on meaningful, and to
14794# report actual input values of CONFIG_FILES etc. instead of their
14795# values after options handling.
14796ac_log="
14797This file was extended by libisoburn $as_me 1.5.0, which was
14798generated by GNU Autoconf 2.69.  Invocation command line was
14799
14800  CONFIG_FILES    = $CONFIG_FILES
14801  CONFIG_HEADERS  = $CONFIG_HEADERS
14802  CONFIG_LINKS    = $CONFIG_LINKS
14803  CONFIG_COMMANDS = $CONFIG_COMMANDS
14804  $ $0 $@
14805
14806on `(hostname || uname -n) 2>/dev/null | sed 1q`
14807"
14808
14809_ACEOF
14810
14811case $ac_config_files in *"
14812"*) set x $ac_config_files; shift; ac_config_files=$*;;
14813esac
14814
14815
14816
14817cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14818# Files that config.status was made for.
14819config_files="$ac_config_files"
14820config_commands="$ac_config_commands"
14821
14822_ACEOF
14823
14824cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14825ac_cs_usage="\
14826\`$as_me' instantiates files and other configuration actions
14827from templates according to the current configuration.  Unless the files
14828and actions are specified as TAGs, all are instantiated by default.
14829
14830Usage: $0 [OPTION]... [TAG]...
14831
14832  -h, --help       print this help, then exit
14833  -V, --version    print version number and configuration settings, then exit
14834      --config     print configuration, then exit
14835  -q, --quiet, --silent
14836                   do not print progress messages
14837  -d, --debug      don't remove temporary files
14838      --recheck    update $as_me by reconfiguring in the same conditions
14839      --file=FILE[:TEMPLATE]
14840                   instantiate the configuration file FILE
14841
14842Configuration files:
14843$config_files
14844
14845Configuration commands:
14846$config_commands
14847
14848Report bugs to <http://libburnia-project.org>."
14849
14850_ACEOF
14851cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14852ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14853ac_cs_version="\\
14854libisoburn config.status 1.5.0
14855configured by $0, generated by GNU Autoconf 2.69,
14856  with options \\"\$ac_cs_config\\"
14857
14858Copyright (C) 2012 Free Software Foundation, Inc.
14859This config.status script is free software; the Free Software Foundation
14860gives unlimited permission to copy, distribute and modify it."
14861
14862ac_pwd='$ac_pwd'
14863srcdir='$srcdir'
14864INSTALL='$INSTALL'
14865MKDIR_P='$MKDIR_P'
14866AWK='$AWK'
14867test -n "\$AWK" || AWK=awk
14868_ACEOF
14869
14870cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14871# The default lists apply if the user does not specify any file.
14872ac_need_defaults=:
14873while test $# != 0
14874do
14875  case $1 in
14876  --*=?*)
14877    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14878    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14879    ac_shift=:
14880    ;;
14881  --*=)
14882    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14883    ac_optarg=
14884    ac_shift=:
14885    ;;
14886  *)
14887    ac_option=$1
14888    ac_optarg=$2
14889    ac_shift=shift
14890    ;;
14891  esac
14892
14893  case $ac_option in
14894  # Handling of the options.
14895  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14896    ac_cs_recheck=: ;;
14897  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14898    $as_echo "$ac_cs_version"; exit ;;
14899  --config | --confi | --conf | --con | --co | --c )
14900    $as_echo "$ac_cs_config"; exit ;;
14901  --debug | --debu | --deb | --de | --d | -d )
14902    debug=: ;;
14903  --file | --fil | --fi | --f )
14904    $ac_shift
14905    case $ac_optarg in
14906    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14907    '') as_fn_error $? "missing file argument" ;;
14908    esac
14909    as_fn_append CONFIG_FILES " '$ac_optarg'"
14910    ac_need_defaults=false;;
14911  --he | --h |  --help | --hel | -h )
14912    $as_echo "$ac_cs_usage"; exit ;;
14913  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14914  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14915    ac_cs_silent=: ;;
14916
14917  # This is an error.
14918  -*) as_fn_error $? "unrecognized option: \`$1'
14919Try \`$0 --help' for more information." ;;
14920
14921  *) as_fn_append ac_config_targets " $1"
14922     ac_need_defaults=false ;;
14923
14924  esac
14925  shift
14926done
14927
14928ac_configure_extra_args=
14929
14930if $ac_cs_silent; then
14931  exec 6>/dev/null
14932  ac_configure_extra_args="$ac_configure_extra_args --silent"
14933fi
14934
14935_ACEOF
14936cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14937if \$ac_cs_recheck; then
14938  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14939  shift
14940  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14941  CONFIG_SHELL='$SHELL'
14942  export CONFIG_SHELL
14943  exec "\$@"
14944fi
14945
14946_ACEOF
14947cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14948exec 5>>config.log
14949{
14950  echo
14951  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14952## Running $as_me. ##
14953_ASBOX
14954  $as_echo "$ac_log"
14955} >&5
14956
14957_ACEOF
14958cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14959#
14960# INIT-COMMANDS
14961#
14962AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14963
14964
14965# The HP-UX ksh and POSIX shell print the target directory to stdout
14966# if CDPATH is set.
14967(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14968
14969sed_quote_subst='$sed_quote_subst'
14970double_quote_subst='$double_quote_subst'
14971delay_variable_subst='$delay_variable_subst'
14972macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14973macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14974enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14975enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14976pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14977enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14978SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14979ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14980PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14981host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14982host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14983host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14984build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14985build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14986build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14987SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14988Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14989GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14990EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14991FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14992LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14993NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14994LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14995max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14996ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14997exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14998lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14999lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15000lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15001lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15002lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15003reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15004reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15005OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15006deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15007file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15008file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15009want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15010DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15011sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15012AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15013AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15014archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15015STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15016RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15017old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15018old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15019old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15020lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15021CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15022CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15023compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15024GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15025lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15026lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15027lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15028lt_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"`'
15029nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15030lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15031objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15032MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15033lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15034lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15035lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15036lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15037lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15038need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15039MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15040DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15041NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15042LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15043OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15044OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15045libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15046shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15047extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15048archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15049enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15050export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15051whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15052compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15053old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15054old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15055archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15056archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15057module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15058module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15059with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15060allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15061no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15062hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15063hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15064hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15065hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15066hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15067hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15068hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15069inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15070link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15071always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15072export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15073exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15074include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15075prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15076postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15077file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15078variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15079need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15080need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15081version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15082runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15083shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15084shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15085libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15086library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15087soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15088install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15089postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15090postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15091finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15092finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15093hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15094sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15095sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
15096hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15097enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15098enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15099enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15100old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15101striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15102
15103LTCC='$LTCC'
15104LTCFLAGS='$LTCFLAGS'
15105compiler='$compiler_DEFAULT'
15106
15107# A function that is used when there is no print builtin or printf.
15108func_fallback_echo ()
15109{
15110  eval 'cat <<_LTECHO_EOF
15111\$1
15112_LTECHO_EOF'
15113}
15114
15115# Quote evaled strings.
15116for var in SHELL \
15117ECHO \
15118PATH_SEPARATOR \
15119SED \
15120GREP \
15121EGREP \
15122FGREP \
15123LD \
15124NM \
15125LN_S \
15126lt_SP2NL \
15127lt_NL2SP \
15128reload_flag \
15129OBJDUMP \
15130deplibs_check_method \
15131file_magic_cmd \
15132file_magic_glob \
15133want_nocaseglob \
15134DLLTOOL \
15135sharedlib_from_linklib_cmd \
15136AR \
15137AR_FLAGS \
15138archiver_list_spec \
15139STRIP \
15140RANLIB \
15141CC \
15142CFLAGS \
15143compiler \
15144lt_cv_sys_global_symbol_pipe \
15145lt_cv_sys_global_symbol_to_cdecl \
15146lt_cv_sys_global_symbol_to_c_name_address \
15147lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15148nm_file_list_spec \
15149lt_prog_compiler_no_builtin_flag \
15150lt_prog_compiler_pic \
15151lt_prog_compiler_wl \
15152lt_prog_compiler_static \
15153lt_cv_prog_compiler_c_o \
15154need_locks \
15155MANIFEST_TOOL \
15156DSYMUTIL \
15157NMEDIT \
15158LIPO \
15159OTOOL \
15160OTOOL64 \
15161shrext_cmds \
15162export_dynamic_flag_spec \
15163whole_archive_flag_spec \
15164compiler_needs_object \
15165with_gnu_ld \
15166allow_undefined_flag \
15167no_undefined_flag \
15168hardcode_libdir_flag_spec \
15169hardcode_libdir_separator \
15170exclude_expsyms \
15171include_expsyms \
15172file_list_spec \
15173variables_saved_for_relink \
15174libname_spec \
15175library_names_spec \
15176soname_spec \
15177install_override_mode \
15178finish_eval \
15179old_striplib \
15180striplib; do
15181    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15182    *[\\\\\\\`\\"\\\$]*)
15183      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
15184      ;;
15185    *)
15186      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15187      ;;
15188    esac
15189done
15190
15191# Double-quote double-evaled strings.
15192for var in reload_cmds \
15193old_postinstall_cmds \
15194old_postuninstall_cmds \
15195old_archive_cmds \
15196extract_expsyms_cmds \
15197old_archive_from_new_cmds \
15198old_archive_from_expsyms_cmds \
15199archive_cmds \
15200archive_expsym_cmds \
15201module_cmds \
15202module_expsym_cmds \
15203export_symbols_cmds \
15204prelink_cmds \
15205postlink_cmds \
15206postinstall_cmds \
15207postuninstall_cmds \
15208finish_cmds \
15209sys_lib_search_path_spec \
15210sys_lib_dlsearch_path_spec; do
15211    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15212    *[\\\\\\\`\\"\\\$]*)
15213      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
15214      ;;
15215    *)
15216      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15217      ;;
15218    esac
15219done
15220
15221ac_aux_dir='$ac_aux_dir'
15222xsi_shell='$xsi_shell'
15223lt_shell_append='$lt_shell_append'
15224
15225# See if we are running on zsh, and set the options which allow our
15226# commands through without removal of \ escapes INIT.
15227if test -n "\${ZSH_VERSION+set}" ; then
15228   setopt NO_GLOB_SUBST
15229fi
15230
15231
15232    PACKAGE='$PACKAGE'
15233    VERSION='$VERSION'
15234    TIMESTAMP='$TIMESTAMP'
15235    RM='$RM'
15236    ofile='$ofile'
15237
15238
15239
15240
15241_ACEOF
15242
15243cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15244
15245# Handling of arguments.
15246for ac_config_target in $ac_config_targets
15247do
15248  case $ac_config_target in
15249    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
15250    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
15251    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
15252    "doc/doxygen.conf") CONFIG_FILES="$CONFIG_FILES doc/doxygen.conf" ;;
15253    "version.h") CONFIG_FILES="$CONFIG_FILES version.h" ;;
15254    "libisoburn-1.pc") CONFIG_FILES="$CONFIG_FILES libisoburn-1.pc" ;;
15255
15256  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15257  esac
15258done
15259
15260
15261# If the user did not use the arguments to specify the items to instantiate,
15262# then the envvar interface is used.  Set only those that are not.
15263# We use the long form for the default assignment because of an extremely
15264# bizarre bug on SunOS 4.1.3.
15265if $ac_need_defaults; then
15266  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
15267  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
15268fi
15269
15270# Have a temporary directory for convenience.  Make it in the build tree
15271# simply because there is no reason against having it here, and in addition,
15272# creating and moving files from /tmp can sometimes cause problems.
15273# Hook for its removal unless debugging.
15274# Note that there is a small window in which the directory will not be cleaned:
15275# after its creation but before its name has been assigned to `$tmp'.
15276$debug ||
15277{
15278  tmp= ac_tmp=
15279  trap 'exit_status=$?
15280  : "${ac_tmp:=$tmp}"
15281  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15282' 0
15283  trap 'as_fn_exit 1' 1 2 13 15
15284}
15285# Create a (secure) tmp directory for tmp files.
15286
15287{
15288  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15289  test -d "$tmp"
15290}  ||
15291{
15292  tmp=./conf$$-$RANDOM
15293  (umask 077 && mkdir "$tmp")
15294} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
15295ac_tmp=$tmp
15296
15297# Set up the scripts for CONFIG_FILES section.
15298# No need to generate them if there are no CONFIG_FILES.
15299# This happens for instance with `./config.status config.h'.
15300if test -n "$CONFIG_FILES"; then
15301
15302
15303ac_cr=`echo X | tr X '\015'`
15304# On cygwin, bash can eat \r inside `` if the user requested igncr.
15305# But we know of no other shell where ac_cr would be empty at this
15306# point, so we can use a bashism as a fallback.
15307if test "x$ac_cr" = x; then
15308  eval ac_cr=\$\'\\r\'
15309fi
15310ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15311if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15312  ac_cs_awk_cr='\\r'
15313else
15314  ac_cs_awk_cr=$ac_cr
15315fi
15316
15317echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15318_ACEOF
15319
15320
15321{
15322  echo "cat >conf$$subs.awk <<_ACEOF" &&
15323  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15324  echo "_ACEOF"
15325} >conf$$subs.sh ||
15326  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15327ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
15328ac_delim='%!_!# '
15329for ac_last_try in false false false false false :; do
15330  . ./conf$$subs.sh ||
15331    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15332
15333  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
15334  if test $ac_delim_n = $ac_delim_num; then
15335    break
15336  elif $ac_last_try; then
15337    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
15338  else
15339    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
15340  fi
15341done
15342rm -f conf$$subs.sh
15343
15344cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15345cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15346_ACEOF
15347sed -n '
15348h
15349s/^/S["/; s/!.*/"]=/
15350p
15351g
15352s/^[^!]*!//
15353:repl
15354t repl
15355s/'"$ac_delim"'$//
15356t delim
15357:nl
15358h
15359s/\(.\{148\}\)..*/\1/
15360t more1
15361s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
15362p
15363n
15364b repl
15365:more1
15366s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15367p
15368g
15369s/.\{148\}//
15370t nl
15371:delim
15372h
15373s/\(.\{148\}\)..*/\1/
15374t more2
15375s/["\\]/\\&/g; s/^/"/; s/$/"/
15376p
15377b
15378:more2
15379s/["\\]/\\&/g; s/^/"/; s/$/"\\/
15380p
15381g
15382s/.\{148\}//
15383t delim
15384' <conf$$subs.awk | sed '
15385/^[^""]/{
15386  N
15387  s/\n//
15388}
15389' >>$CONFIG_STATUS || ac_write_fail=1
15390rm -f conf$$subs.awk
15391cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15392_ACAWK
15393cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15394  for (key in S) S_is_set[key] = 1
15395  FS = ""
15396
15397}
15398{
15399  line = $ 0
15400  nfields = split(line, field, "@")
15401  substed = 0
15402  len = length(field[1])
15403  for (i = 2; i < nfields; i++) {
15404    key = field[i]
15405    keylen = length(key)
15406    if (S_is_set[key]) {
15407      value = S[key]
15408      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15409      len += length(value) + length(field[++i])
15410      substed = 1
15411    } else
15412      len += 1 + keylen
15413  }
15414
15415  print line
15416}
15417
15418_ACAWK
15419_ACEOF
15420cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15421if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15422  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15423else
15424  cat
15425fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15426  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15427_ACEOF
15428
15429# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
15430# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
15431# trailing colons and then remove the whole line if VPATH becomes empty
15432# (actually we leave an empty line to preserve line numbers).
15433if test "x$srcdir" = x.; then
15434  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
15435h
15436s///
15437s/^/:/
15438s/[	 ]*$/:/
15439s/:\$(srcdir):/:/g
15440s/:\${srcdir}:/:/g
15441s/:@srcdir@:/:/g
15442s/^:*//
15443s/:*$//
15444x
15445s/\(=[	 ]*\).*/\1/
15446G
15447s/\n//
15448s/^[^=]*=[	 ]*$//
15449}'
15450fi
15451
15452cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15453fi # test -n "$CONFIG_FILES"
15454
15455
15456eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
15457shift
15458for ac_tag
15459do
15460  case $ac_tag in
15461  :[FHLC]) ac_mode=$ac_tag; continue;;
15462  esac
15463  case $ac_mode$ac_tag in
15464  :[FHL]*:*);;
15465  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15466  :[FH]-) ac_tag=-:-;;
15467  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15468  esac
15469  ac_save_IFS=$IFS
15470  IFS=:
15471  set x $ac_tag
15472  IFS=$ac_save_IFS
15473  shift
15474  ac_file=$1
15475  shift
15476
15477  case $ac_mode in
15478  :L) ac_source=$1;;
15479  :[FH])
15480    ac_file_inputs=
15481    for ac_f
15482    do
15483      case $ac_f in
15484      -) ac_f="$ac_tmp/stdin";;
15485      *) # Look for the file first in the build tree, then in the source tree
15486	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
15487	 # because $ac_f cannot contain `:'.
15488	 test -f "$ac_f" ||
15489	   case $ac_f in
15490	   [\\/$]*) false;;
15491	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15492	   esac ||
15493	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15494      esac
15495      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15496      as_fn_append ac_file_inputs " '$ac_f'"
15497    done
15498
15499    # Let's still pretend it is `configure' which instantiates (i.e., don't
15500    # use $as_me), people would be surprised to read:
15501    #    /* config.h.  Generated by config.status.  */
15502    configure_input='Generated from '`
15503	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15504	`' by configure.'
15505    if test x"$ac_file" != x-; then
15506      configure_input="$ac_file.  $configure_input"
15507      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15508$as_echo "$as_me: creating $ac_file" >&6;}
15509    fi
15510    # Neutralize special characters interpreted by sed in replacement strings.
15511    case $configure_input in #(
15512    *\&* | *\|* | *\\* )
15513       ac_sed_conf_input=`$as_echo "$configure_input" |
15514       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15515    *) ac_sed_conf_input=$configure_input;;
15516    esac
15517
15518    case $ac_tag in
15519    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15520      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15521    esac
15522    ;;
15523  esac
15524
15525  ac_dir=`$as_dirname -- "$ac_file" ||
15526$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15527	 X"$ac_file" : 'X\(//\)[^/]' \| \
15528	 X"$ac_file" : 'X\(//\)$' \| \
15529	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15530$as_echo X"$ac_file" |
15531    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15532	    s//\1/
15533	    q
15534	  }
15535	  /^X\(\/\/\)[^/].*/{
15536	    s//\1/
15537	    q
15538	  }
15539	  /^X\(\/\/\)$/{
15540	    s//\1/
15541	    q
15542	  }
15543	  /^X\(\/\).*/{
15544	    s//\1/
15545	    q
15546	  }
15547	  s/.*/./; q'`
15548  as_dir="$ac_dir"; as_fn_mkdir_p
15549  ac_builddir=.
15550
15551case "$ac_dir" in
15552.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15553*)
15554  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15555  # A ".." for each directory in $ac_dir_suffix.
15556  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15557  case $ac_top_builddir_sub in
15558  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15559  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15560  esac ;;
15561esac
15562ac_abs_top_builddir=$ac_pwd
15563ac_abs_builddir=$ac_pwd$ac_dir_suffix
15564# for backward compatibility:
15565ac_top_builddir=$ac_top_build_prefix
15566
15567case $srcdir in
15568  .)  # We are building in place.
15569    ac_srcdir=.
15570    ac_top_srcdir=$ac_top_builddir_sub
15571    ac_abs_top_srcdir=$ac_pwd ;;
15572  [\\/]* | ?:[\\/]* )  # Absolute name.
15573    ac_srcdir=$srcdir$ac_dir_suffix;
15574    ac_top_srcdir=$srcdir
15575    ac_abs_top_srcdir=$srcdir ;;
15576  *) # Relative name.
15577    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15578    ac_top_srcdir=$ac_top_build_prefix$srcdir
15579    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15580esac
15581ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15582
15583
15584  case $ac_mode in
15585  :F)
15586  #
15587  # CONFIG_FILE
15588  #
15589
15590  case $INSTALL in
15591  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15592  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15593  esac
15594  ac_MKDIR_P=$MKDIR_P
15595  case $MKDIR_P in
15596  [\\/$]* | ?:[\\/]* ) ;;
15597  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15598  esac
15599_ACEOF
15600
15601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15602# If the template does not know about datarootdir, expand it.
15603# FIXME: This hack should be removed a few years after 2.60.
15604ac_datarootdir_hack=; ac_datarootdir_seen=
15605ac_sed_dataroot='
15606/datarootdir/ {
15607  p
15608  q
15609}
15610/@datadir@/p
15611/@docdir@/p
15612/@infodir@/p
15613/@localedir@/p
15614/@mandir@/p'
15615case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15616*datarootdir*) ac_datarootdir_seen=yes;;
15617*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15618  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15619$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15620_ACEOF
15621cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15622  ac_datarootdir_hack='
15623  s&@datadir@&$datadir&g
15624  s&@docdir@&$docdir&g
15625  s&@infodir@&$infodir&g
15626  s&@localedir@&$localedir&g
15627  s&@mandir@&$mandir&g
15628  s&\\\${datarootdir}&$datarootdir&g' ;;
15629esac
15630_ACEOF
15631
15632# Neutralize VPATH when `$srcdir' = `.'.
15633# Shell code in configure.ac might set extrasub.
15634# FIXME: do we really want to maintain this feature?
15635cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15636ac_sed_extra="$ac_vpsub
15637$extrasub
15638_ACEOF
15639cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15640:t
15641/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15642s|@configure_input@|$ac_sed_conf_input|;t t
15643s&@top_builddir@&$ac_top_builddir_sub&;t t
15644s&@top_build_prefix@&$ac_top_build_prefix&;t t
15645s&@srcdir@&$ac_srcdir&;t t
15646s&@abs_srcdir@&$ac_abs_srcdir&;t t
15647s&@top_srcdir@&$ac_top_srcdir&;t t
15648s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15649s&@builddir@&$ac_builddir&;t t
15650s&@abs_builddir@&$ac_abs_builddir&;t t
15651s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15652s&@INSTALL@&$ac_INSTALL&;t t
15653s&@MKDIR_P@&$ac_MKDIR_P&;t t
15654$ac_datarootdir_hack
15655"
15656eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15657  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15658
15659test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15660  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15661  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15662      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15663  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15664which seems to be undefined.  Please make sure it is defined" >&5
15665$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15666which seems to be undefined.  Please make sure it is defined" >&2;}
15667
15668  rm -f "$ac_tmp/stdin"
15669  case $ac_file in
15670  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15671  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15672  esac \
15673  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15674 ;;
15675
15676
15677  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15678$as_echo "$as_me: executing $ac_file commands" >&6;}
15679 ;;
15680  esac
15681
15682
15683  case $ac_file$ac_mode in
15684    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15685  # Older Autoconf quotes --file arguments for eval, but not when files
15686  # are listed without --file.  Let's play safe and only enable the eval
15687  # if we detect the quoting.
15688  case $CONFIG_FILES in
15689  *\'*) eval set x "$CONFIG_FILES" ;;
15690  *)   set x $CONFIG_FILES ;;
15691  esac
15692  shift
15693  for mf
15694  do
15695    # Strip MF so we end up with the name of the file.
15696    mf=`echo "$mf" | sed -e 's/:.*$//'`
15697    # Check whether this is an Automake generated Makefile or not.
15698    # We used to match only the files named 'Makefile.in', but
15699    # some people rename them; so instead we look at the file content.
15700    # Grep'ing the first line is not enough: some people post-process
15701    # each Makefile.in and add a new line on top of each file to say so.
15702    # Grep'ing the whole file is not good either: AIX grep has a line
15703    # limit of 2048, but all sed's we know have understand at least 4000.
15704    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15705      dirpart=`$as_dirname -- "$mf" ||
15706$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15707	 X"$mf" : 'X\(//\)[^/]' \| \
15708	 X"$mf" : 'X\(//\)$' \| \
15709	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15710$as_echo X"$mf" |
15711    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15712	    s//\1/
15713	    q
15714	  }
15715	  /^X\(\/\/\)[^/].*/{
15716	    s//\1/
15717	    q
15718	  }
15719	  /^X\(\/\/\)$/{
15720	    s//\1/
15721	    q
15722	  }
15723	  /^X\(\/\).*/{
15724	    s//\1/
15725	    q
15726	  }
15727	  s/.*/./; q'`
15728    else
15729      continue
15730    fi
15731    # Extract the definition of DEPDIR, am__include, and am__quote
15732    # from the Makefile without running 'make'.
15733    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15734    test -z "$DEPDIR" && continue
15735    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15736    test -z "$am__include" && continue
15737    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15738    # Find all dependency output files, they are included files with
15739    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15740    # simplest approach to changing $(DEPDIR) to its actual value in the
15741    # expansion.
15742    for file in `sed -n "
15743      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15744	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15745      # Make sure the directory exists.
15746      test -f "$dirpart/$file" && continue
15747      fdir=`$as_dirname -- "$file" ||
15748$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15749	 X"$file" : 'X\(//\)[^/]' \| \
15750	 X"$file" : 'X\(//\)$' \| \
15751	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15752$as_echo X"$file" |
15753    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15754	    s//\1/
15755	    q
15756	  }
15757	  /^X\(\/\/\)[^/].*/{
15758	    s//\1/
15759	    q
15760	  }
15761	  /^X\(\/\/\)$/{
15762	    s//\1/
15763	    q
15764	  }
15765	  /^X\(\/\).*/{
15766	    s//\1/
15767	    q
15768	  }
15769	  s/.*/./; q'`
15770      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15771      # echo "creating $dirpart/$file"
15772      echo '# dummy' > "$dirpart/$file"
15773    done
15774  done
15775}
15776 ;;
15777    "libtool":C)
15778
15779    # See if we are running on zsh, and set the options which allow our
15780    # commands through without removal of \ escapes.
15781    if test -n "${ZSH_VERSION+set}" ; then
15782      setopt NO_GLOB_SUBST
15783    fi
15784
15785    cfgfile="${ofile}T"
15786    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15787    $RM "$cfgfile"
15788
15789    cat <<_LT_EOF >> "$cfgfile"
15790#! $SHELL
15791
15792# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
15793# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
15794# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15795# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15796#
15797#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15798#                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
15799#                 Foundation, Inc.
15800#   Written by Gordon Matzigkeit, 1996
15801#
15802#   This file is part of GNU Libtool.
15803#
15804# GNU Libtool is free software; you can redistribute it and/or
15805# modify it under the terms of the GNU General Public License as
15806# published by the Free Software Foundation; either version 2 of
15807# the License, or (at your option) any later version.
15808#
15809# As a special exception to the GNU General Public License,
15810# if you distribute this file as part of a program or library that
15811# is built using GNU Libtool, you may include this file under the
15812# same distribution terms that you use for the rest of that program.
15813#
15814# GNU Libtool is distributed in the hope that it will be useful,
15815# but WITHOUT ANY WARRANTY; without even the implied warranty of
15816# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15817# GNU General Public License for more details.
15818#
15819# You should have received a copy of the GNU General Public License
15820# along with GNU Libtool; see the file COPYING.  If not, a copy
15821# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15822# obtained by writing to the Free Software Foundation, Inc.,
15823# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15824
15825
15826# The names of the tagged configurations supported by this script.
15827available_tags=""
15828
15829# ### BEGIN LIBTOOL CONFIG
15830
15831# Which release of libtool.m4 was used?
15832macro_version=$macro_version
15833macro_revision=$macro_revision
15834
15835# Whether or not to build shared libraries.
15836build_libtool_libs=$enable_shared
15837
15838# Whether or not to build static libraries.
15839build_old_libs=$enable_static
15840
15841# What type of objects to build.
15842pic_mode=$pic_mode
15843
15844# Whether or not to optimize for fast installation.
15845fast_install=$enable_fast_install
15846
15847# Shell to use when invoking shell scripts.
15848SHELL=$lt_SHELL
15849
15850# An echo program that protects backslashes.
15851ECHO=$lt_ECHO
15852
15853# The PATH separator for the build system.
15854PATH_SEPARATOR=$lt_PATH_SEPARATOR
15855
15856# The host system.
15857host_alias=$host_alias
15858host=$host
15859host_os=$host_os
15860
15861# The build system.
15862build_alias=$build_alias
15863build=$build
15864build_os=$build_os
15865
15866# A sed program that does not truncate output.
15867SED=$lt_SED
15868
15869# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15870Xsed="\$SED -e 1s/^X//"
15871
15872# A grep program that handles long lines.
15873GREP=$lt_GREP
15874
15875# An ERE matcher.
15876EGREP=$lt_EGREP
15877
15878# A literal string matcher.
15879FGREP=$lt_FGREP
15880
15881# A BSD- or MS-compatible name lister.
15882NM=$lt_NM
15883
15884# Whether we need soft or hard links.
15885LN_S=$lt_LN_S
15886
15887# What is the maximum length of a command?
15888max_cmd_len=$max_cmd_len
15889
15890# Object file suffix (normally "o").
15891objext=$ac_objext
15892
15893# Executable file suffix (normally "").
15894exeext=$exeext
15895
15896# whether the shell understands "unset".
15897lt_unset=$lt_unset
15898
15899# turn spaces into newlines.
15900SP2NL=$lt_lt_SP2NL
15901
15902# turn newlines into spaces.
15903NL2SP=$lt_lt_NL2SP
15904
15905# convert \$build file names to \$host format.
15906to_host_file_cmd=$lt_cv_to_host_file_cmd
15907
15908# convert \$build files to toolchain format.
15909to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15910
15911# An object symbol dumper.
15912OBJDUMP=$lt_OBJDUMP
15913
15914# Method to check whether dependent libraries are shared objects.
15915deplibs_check_method=$lt_deplibs_check_method
15916
15917# Command to use when deplibs_check_method = "file_magic".
15918file_magic_cmd=$lt_file_magic_cmd
15919
15920# How to find potential files when deplibs_check_method = "file_magic".
15921file_magic_glob=$lt_file_magic_glob
15922
15923# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15924want_nocaseglob=$lt_want_nocaseglob
15925
15926# DLL creation program.
15927DLLTOOL=$lt_DLLTOOL
15928
15929# Command to associate shared and link libraries.
15930sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15931
15932# The archiver.
15933AR=$lt_AR
15934
15935# Flags to create an archive.
15936AR_FLAGS=$lt_AR_FLAGS
15937
15938# How to feed a file listing to the archiver.
15939archiver_list_spec=$lt_archiver_list_spec
15940
15941# A symbol stripping program.
15942STRIP=$lt_STRIP
15943
15944# Commands used to install an old-style archive.
15945RANLIB=$lt_RANLIB
15946old_postinstall_cmds=$lt_old_postinstall_cmds
15947old_postuninstall_cmds=$lt_old_postuninstall_cmds
15948
15949# Whether to use a lock for old archive extraction.
15950lock_old_archive_extraction=$lock_old_archive_extraction
15951
15952# A C compiler.
15953LTCC=$lt_CC
15954
15955# LTCC compiler flags.
15956LTCFLAGS=$lt_CFLAGS
15957
15958# Take the output of nm and produce a listing of raw symbols and C names.
15959global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15960
15961# Transform the output of nm in a proper C declaration.
15962global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15963
15964# Transform the output of nm in a C name address pair.
15965global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15966
15967# Transform the output of nm in a C name address pair when lib prefix is needed.
15968global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15969
15970# Specify filename containing input files for \$NM.
15971nm_file_list_spec=$lt_nm_file_list_spec
15972
15973# The root where to search for dependent libraries,and in which our libraries should be installed.
15974lt_sysroot=$lt_sysroot
15975
15976# The name of the directory that contains temporary libtool files.
15977objdir=$objdir
15978
15979# Used to examine libraries when file_magic_cmd begins with "file".
15980MAGIC_CMD=$MAGIC_CMD
15981
15982# Must we lock files when doing compilation?
15983need_locks=$lt_need_locks
15984
15985# Manifest tool.
15986MANIFEST_TOOL=$lt_MANIFEST_TOOL
15987
15988# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15989DSYMUTIL=$lt_DSYMUTIL
15990
15991# Tool to change global to local symbols on Mac OS X.
15992NMEDIT=$lt_NMEDIT
15993
15994# Tool to manipulate fat objects and archives on Mac OS X.
15995LIPO=$lt_LIPO
15996
15997# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15998OTOOL=$lt_OTOOL
15999
16000# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16001OTOOL64=$lt_OTOOL64
16002
16003# Old archive suffix (normally "a").
16004libext=$libext
16005
16006# Shared library suffix (normally ".so").
16007shrext_cmds=$lt_shrext_cmds
16008
16009# The commands to extract the exported symbol list from a shared archive.
16010extract_expsyms_cmds=$lt_extract_expsyms_cmds
16011
16012# Variables whose values should be saved in libtool wrapper scripts and
16013# restored at link time.
16014variables_saved_for_relink=$lt_variables_saved_for_relink
16015
16016# Do we need the "lib" prefix for modules?
16017need_lib_prefix=$need_lib_prefix
16018
16019# Do we need a version for libraries?
16020need_version=$need_version
16021
16022# Library versioning type.
16023version_type=$version_type
16024
16025# Shared library runtime path variable.
16026runpath_var=$runpath_var
16027
16028# Shared library path variable.
16029shlibpath_var=$shlibpath_var
16030
16031# Is shlibpath searched before the hard-coded library search path?
16032shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16033
16034# Format of library name prefix.
16035libname_spec=$lt_libname_spec
16036
16037# List of archive names.  First name is the real one, the rest are links.
16038# The last name is the one that the linker finds with -lNAME
16039library_names_spec=$lt_library_names_spec
16040
16041# The coded name of the library, if different from the real name.
16042soname_spec=$lt_soname_spec
16043
16044# Permission mode override for installation of shared libraries.
16045install_override_mode=$lt_install_override_mode
16046
16047# Command to use after installation of a shared archive.
16048postinstall_cmds=$lt_postinstall_cmds
16049
16050# Command to use after uninstallation of a shared archive.
16051postuninstall_cmds=$lt_postuninstall_cmds
16052
16053# Commands used to finish a libtool library installation in a directory.
16054finish_cmds=$lt_finish_cmds
16055
16056# As "finish_cmds", except a single script fragment to be evaled but
16057# not shown.
16058finish_eval=$lt_finish_eval
16059
16060# Whether we should hardcode library paths into libraries.
16061hardcode_into_libs=$hardcode_into_libs
16062
16063# Compile-time system search path for libraries.
16064sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16065
16066# Run-time system search path for libraries.
16067sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16068
16069# Whether dlopen is supported.
16070dlopen_support=$enable_dlopen
16071
16072# Whether dlopen of programs is supported.
16073dlopen_self=$enable_dlopen_self
16074
16075# Whether dlopen of statically linked programs is supported.
16076dlopen_self_static=$enable_dlopen_self_static
16077
16078# Commands to strip libraries.
16079old_striplib=$lt_old_striplib
16080striplib=$lt_striplib
16081
16082
16083# The linker used to build libraries.
16084LD=$lt_LD
16085
16086# How to create reloadable object files.
16087reload_flag=$lt_reload_flag
16088reload_cmds=$lt_reload_cmds
16089
16090# Commands used to build an old-style archive.
16091old_archive_cmds=$lt_old_archive_cmds
16092
16093# A language specific compiler.
16094CC=$lt_compiler
16095
16096# Is the compiler the GNU compiler?
16097with_gcc=$GCC
16098
16099# Compiler flag to turn off builtin functions.
16100no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16101
16102# Additional compiler flags for building library objects.
16103pic_flag=$lt_lt_prog_compiler_pic
16104
16105# How to pass a linker flag through the compiler.
16106wl=$lt_lt_prog_compiler_wl
16107
16108# Compiler flag to prevent dynamic linking.
16109link_static_flag=$lt_lt_prog_compiler_static
16110
16111# Does compiler simultaneously support -c and -o options?
16112compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16113
16114# Whether or not to add -lc for building shared libraries.
16115build_libtool_need_lc=$archive_cmds_need_lc
16116
16117# Whether or not to disallow shared libs when runtime libs are static.
16118allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16119
16120# Compiler flag to allow reflexive dlopens.
16121export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16122
16123# Compiler flag to generate shared objects directly from archives.
16124whole_archive_flag_spec=$lt_whole_archive_flag_spec
16125
16126# Whether the compiler copes with passing no objects directly.
16127compiler_needs_object=$lt_compiler_needs_object
16128
16129# Create an old-style archive from a shared archive.
16130old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16131
16132# Create a temporary old-style archive to link instead of a shared archive.
16133old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16134
16135# Commands used to build a shared archive.
16136archive_cmds=$lt_archive_cmds
16137archive_expsym_cmds=$lt_archive_expsym_cmds
16138
16139# Commands used to build a loadable module if different from building
16140# a shared archive.
16141module_cmds=$lt_module_cmds
16142module_expsym_cmds=$lt_module_expsym_cmds
16143
16144# Whether we are building with GNU ld or not.
16145with_gnu_ld=$lt_with_gnu_ld
16146
16147# Flag that allows shared libraries with undefined symbols to be built.
16148allow_undefined_flag=$lt_allow_undefined_flag
16149
16150# Flag that enforces no undefined symbols.
16151no_undefined_flag=$lt_no_undefined_flag
16152
16153# Flag to hardcode \$libdir into a binary during linking.
16154# This must work even if \$libdir does not exist
16155hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16156
16157# Whether we need a single "-rpath" flag with a separated argument.
16158hardcode_libdir_separator=$lt_hardcode_libdir_separator
16159
16160# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16161# DIR into the resulting binary.
16162hardcode_direct=$hardcode_direct
16163
16164# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
16165# DIR into the resulting binary and the resulting library dependency is
16166# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
16167# library is relocated.
16168hardcode_direct_absolute=$hardcode_direct_absolute
16169
16170# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16171# into the resulting binary.
16172hardcode_minus_L=$hardcode_minus_L
16173
16174# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16175# into the resulting binary.
16176hardcode_shlibpath_var=$hardcode_shlibpath_var
16177
16178# Set to "yes" if building a shared library automatically hardcodes DIR
16179# into the library and all subsequent libraries and executables linked
16180# against it.
16181hardcode_automatic=$hardcode_automatic
16182
16183# Set to yes if linker adds runtime paths of dependent libraries
16184# to runtime path list.
16185inherit_rpath=$inherit_rpath
16186
16187# Whether libtool must link a program against all its dependency libraries.
16188link_all_deplibs=$link_all_deplibs
16189
16190# Set to "yes" if exported symbols are required.
16191always_export_symbols=$always_export_symbols
16192
16193# The commands to list exported symbols.
16194export_symbols_cmds=$lt_export_symbols_cmds
16195
16196# Symbols that should not be listed in the preloaded symbols.
16197exclude_expsyms=$lt_exclude_expsyms
16198
16199# Symbols that must always be exported.
16200include_expsyms=$lt_include_expsyms
16201
16202# Commands necessary for linking programs (against libraries) with templates.
16203prelink_cmds=$lt_prelink_cmds
16204
16205# Commands necessary for finishing linking programs.
16206postlink_cmds=$lt_postlink_cmds
16207
16208# Specify filename containing input files.
16209file_list_spec=$lt_file_list_spec
16210
16211# How to hardcode a shared library path into an executable.
16212hardcode_action=$hardcode_action
16213
16214# ### END LIBTOOL CONFIG
16215
16216_LT_EOF
16217
16218  case $host_os in
16219  aix3*)
16220    cat <<\_LT_EOF >> "$cfgfile"
16221# AIX sometimes has problems with the GCC collect2 program.  For some
16222# reason, if we set the COLLECT_NAMES environment variable, the problems
16223# vanish in a puff of smoke.
16224if test "X${COLLECT_NAMES+set}" != Xset; then
16225  COLLECT_NAMES=
16226  export COLLECT_NAMES
16227fi
16228_LT_EOF
16229    ;;
16230  esac
16231
16232
16233ltmain="$ac_aux_dir/ltmain.sh"
16234
16235
16236  # We use sed instead of cat because bash on DJGPP gets confused if
16237  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16238  # text mode, it properly converts lines to CR/LF.  This bash problem
16239  # is reportedly fixed, but why not run on old versions too?
16240  sed '$q' "$ltmain" >> "$cfgfile" \
16241     || (rm -f "$cfgfile"; exit 1)
16242
16243  if test x"$xsi_shell" = xyes; then
16244  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
16245func_dirname ()\
16246{\
16247\    case ${1} in\
16248\      */*) func_dirname_result="${1%/*}${2}" ;;\
16249\      *  ) func_dirname_result="${3}" ;;\
16250\    esac\
16251} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
16252  && mv -f "$cfgfile.tmp" "$cfgfile" \
16253    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16254test 0 -eq $? || _lt_function_replace_fail=:
16255
16256
16257  sed -e '/^func_basename ()$/,/^} # func_basename /c\
16258func_basename ()\
16259{\
16260\    func_basename_result="${1##*/}"\
16261} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
16262  && mv -f "$cfgfile.tmp" "$cfgfile" \
16263    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16264test 0 -eq $? || _lt_function_replace_fail=:
16265
16266
16267  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
16268func_dirname_and_basename ()\
16269{\
16270\    case ${1} in\
16271\      */*) func_dirname_result="${1%/*}${2}" ;;\
16272\      *  ) func_dirname_result="${3}" ;;\
16273\    esac\
16274\    func_basename_result="${1##*/}"\
16275} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
16276  && mv -f "$cfgfile.tmp" "$cfgfile" \
16277    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16278test 0 -eq $? || _lt_function_replace_fail=:
16279
16280
16281  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
16282func_stripname ()\
16283{\
16284\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
16285\    # positional parameters, so assign one to ordinary parameter first.\
16286\    func_stripname_result=${3}\
16287\    func_stripname_result=${func_stripname_result#"${1}"}\
16288\    func_stripname_result=${func_stripname_result%"${2}"}\
16289} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
16290  && mv -f "$cfgfile.tmp" "$cfgfile" \
16291    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16292test 0 -eq $? || _lt_function_replace_fail=:
16293
16294
16295  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
16296func_split_long_opt ()\
16297{\
16298\    func_split_long_opt_name=${1%%=*}\
16299\    func_split_long_opt_arg=${1#*=}\
16300} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
16301  && mv -f "$cfgfile.tmp" "$cfgfile" \
16302    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16303test 0 -eq $? || _lt_function_replace_fail=:
16304
16305
16306  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
16307func_split_short_opt ()\
16308{\
16309\    func_split_short_opt_arg=${1#??}\
16310\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
16311} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
16312  && mv -f "$cfgfile.tmp" "$cfgfile" \
16313    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16314test 0 -eq $? || _lt_function_replace_fail=:
16315
16316
16317  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
16318func_lo2o ()\
16319{\
16320\    case ${1} in\
16321\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
16322\      *)    func_lo2o_result=${1} ;;\
16323\    esac\
16324} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
16325  && mv -f "$cfgfile.tmp" "$cfgfile" \
16326    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16327test 0 -eq $? || _lt_function_replace_fail=:
16328
16329
16330  sed -e '/^func_xform ()$/,/^} # func_xform /c\
16331func_xform ()\
16332{\
16333    func_xform_result=${1%.*}.lo\
16334} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
16335  && mv -f "$cfgfile.tmp" "$cfgfile" \
16336    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16337test 0 -eq $? || _lt_function_replace_fail=:
16338
16339
16340  sed -e '/^func_arith ()$/,/^} # func_arith /c\
16341func_arith ()\
16342{\
16343    func_arith_result=$(( $* ))\
16344} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
16345  && mv -f "$cfgfile.tmp" "$cfgfile" \
16346    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16347test 0 -eq $? || _lt_function_replace_fail=:
16348
16349
16350  sed -e '/^func_len ()$/,/^} # func_len /c\
16351func_len ()\
16352{\
16353    func_len_result=${#1}\
16354} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
16355  && mv -f "$cfgfile.tmp" "$cfgfile" \
16356    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16357test 0 -eq $? || _lt_function_replace_fail=:
16358
16359fi
16360
16361if test x"$lt_shell_append" = xyes; then
16362  sed -e '/^func_append ()$/,/^} # func_append /c\
16363func_append ()\
16364{\
16365    eval "${1}+=\\${2}"\
16366} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
16367  && mv -f "$cfgfile.tmp" "$cfgfile" \
16368    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16369test 0 -eq $? || _lt_function_replace_fail=:
16370
16371
16372  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
16373func_append_quoted ()\
16374{\
16375\    func_quote_for_eval "${2}"\
16376\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
16377} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
16378  && mv -f "$cfgfile.tmp" "$cfgfile" \
16379    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16380test 0 -eq $? || _lt_function_replace_fail=:
16381
16382
16383  # Save a `func_append' function call where possible by direct use of '+='
16384  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
16385    && mv -f "$cfgfile.tmp" "$cfgfile" \
16386      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16387  test 0 -eq $? || _lt_function_replace_fail=:
16388else
16389  # Save a `func_append' function call even when '+=' is not available
16390  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
16391    && mv -f "$cfgfile.tmp" "$cfgfile" \
16392      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
16393  test 0 -eq $? || _lt_function_replace_fail=:
16394fi
16395
16396if test x"$_lt_function_replace_fail" = x":"; then
16397  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
16398$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
16399fi
16400
16401
16402   mv -f "$cfgfile" "$ofile" ||
16403    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16404  chmod +x "$ofile"
16405
16406 ;;
16407
16408  esac
16409done # for ac_tag
16410
16411
16412as_fn_exit 0
16413_ACEOF
16414ac_clean_files=$ac_clean_files_save
16415
16416test $ac_write_fail = 0 ||
16417  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16418
16419
16420# configure is writing to config.log, and then calls config.status.
16421# config.status does its own redirection, appending to config.log.
16422# Unfortunately, on DOS this fails, as config.log is still kept open
16423# by configure, so config.status won't be able to write to it; its
16424# output is simply discarded.  So we exec the FD to /dev/null,
16425# effectively closing config.log, so it can be properly (re)opened and
16426# appended to by config.status.  When coming back to configure, we
16427# need to make the FD available again.
16428if test "$no_create" != yes; then
16429  ac_cs_success=:
16430  ac_config_status_args=
16431  test "$silent" = yes &&
16432    ac_config_status_args="$ac_config_status_args --quiet"
16433  exec 5>/dev/null
16434  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
16435  exec 5>>config.log
16436  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16437  # would make configure fail if this is the last instruction.
16438  $ac_cs_success || as_fn_exit 1
16439fi
16440if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
16441  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16442$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16443fi
16444
16445