• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for libvorbis 1.3.1.
4#
5# Report bugs to <vorbis-dev@xiph.org>.
6#
7# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## --------------------- ##
12## M4sh Initialization.  ##
13## --------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18  emulate sh
19  NULLCMD=:
20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in
26  *posix*) set -o posix ;;
27esac
28
29fi
30
31
32
33
34# PATH needs CR
35# Avoid depending upon Character Ranges.
36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39as_cr_digits='0123456789'
40as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42# The user is always right.
43if test "${PATH_SEPARATOR+set}" != set; then
44  echo "#! /bin/sh" >conf$$.sh
45  echo  "exit 0"   >>conf$$.sh
46  chmod +x conf$$.sh
47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48    PATH_SEPARATOR=';'
49  else
50    PATH_SEPARATOR=:
51  fi
52  rm -f conf$$.sh
53fi
54
55# Support unset when possible.
56if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57  as_unset=unset
58else
59  as_unset=false
60fi
61
62
63# IFS
64# We need space, tab and new line, in precisely that order.  Quoting is
65# there to prevent editors from complaining about space-tab.
66# (If _AS_PATH_WALK were called with IFS unset, it would disable word
67# splitting by setting IFS to empty value.)
68as_nl='
69'
70IFS=" ""	$as_nl"
71
72# Find who we are.  Look in the path if we contain no directory separator.
73case $0 in
74  *[\\/]* ) as_myself=$0 ;;
75  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76for as_dir in $PATH
77do
78  IFS=$as_save_IFS
79  test -z "$as_dir" && as_dir=.
80  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81done
82IFS=$as_save_IFS
83
84     ;;
85esac
86# We did not find ourselves, most probably we were run as `sh COMMAND'
87# in which case we are not to be found in the path.
88if test "x$as_myself" = x; then
89  as_myself=$0
90fi
91if test ! -f "$as_myself"; then
92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93  { (exit 1); exit 1; }
94fi
95
96# Work around bugs in pre-3.0 UWIN ksh.
97for as_var in ENV MAIL MAILPATH
98do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99done
100PS1='$ '
101PS2='> '
102PS4='+ '
103
104# NLS nuisances.
105for as_var in \
106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108  LC_TELEPHONE LC_TIME
109do
110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111    eval $as_var=C; export $as_var
112  else
113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114  fi
115done
116
117# Required to use basename.
118if expr a : '\(a\)' >/dev/null 2>&1 &&
119   test "X`expr 00001 : '.*\(...\)'`" = X001; then
120  as_expr=expr
121else
122  as_expr=false
123fi
124
125if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126  as_basename=basename
127else
128  as_basename=false
129fi
130
131
132# Name of the executable.
133as_me=`$as_basename -- "$0" ||
134$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135	 X"$0" : 'X\(//\)$' \| \
136	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137echo X/"$0" |
138    sed '/^.*\/\([^/][^/]*\)\/*$/{
139	    s//\1/
140	    q
141	  }
142	  /^X\/\(\/\/\)$/{
143	    s//\1/
144	    q
145	  }
146	  /^X\/\(\/\).*/{
147	    s//\1/
148	    q
149	  }
150	  s/.*/./; q'`
151
152# CDPATH.
153$as_unset CDPATH
154
155
156if test "x$CONFIG_SHELL" = x; then
157  if (eval ":") 2>/dev/null; then
158  as_have_required=yes
159else
160  as_have_required=no
161fi
162
163  if test $as_have_required = yes && 	 (eval ":
164(as_func_return () {
165  (exit \$1)
166}
167as_func_success () {
168  as_func_return 0
169}
170as_func_failure () {
171  as_func_return 1
172}
173as_func_ret_success () {
174  return 0
175}
176as_func_ret_failure () {
177  return 1
178}
179
180exitcode=0
181if as_func_success; then
182  :
183else
184  exitcode=1
185  echo as_func_success failed.
186fi
187
188if as_func_failure; then
189  exitcode=1
190  echo as_func_failure succeeded.
191fi
192
193if as_func_ret_success; then
194  :
195else
196  exitcode=1
197  echo as_func_ret_success failed.
198fi
199
200if as_func_ret_failure; then
201  exitcode=1
202  echo as_func_ret_failure succeeded.
203fi
204
205if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206  :
207else
208  exitcode=1
209  echo positional parameters were not saved.
210fi
211
212test \$exitcode = 0) || { (exit 1); exit 1; }
213
214(
215  as_lineno_1=\$LINENO
216  as_lineno_2=\$LINENO
217  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219") 2> /dev/null; then
220  :
221else
222  as_candidate_shells=
223    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225do
226  IFS=$as_save_IFS
227  test -z "$as_dir" && as_dir=.
228  case $as_dir in
229	 /*)
230	   for as_base in sh bash ksh sh5; do
231	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232	   done;;
233       esac
234done
235IFS=$as_save_IFS
236
237
238      for as_shell in $as_candidate_shells $SHELL; do
239	 # Try only shells that exist, to save several forks.
240	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241		{ ("$as_shell") 2> /dev/null <<\_ASEOF
242if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243  emulate sh
244  NULLCMD=:
245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246  # is contrary to our usage.  Disable this feature.
247  alias -g '${1+"$@"}'='"$@"'
248  setopt NO_GLOB_SUBST
249else
250  case `(set -o) 2>/dev/null` in
251  *posix*) set -o posix ;;
252esac
253
254fi
255
256
257:
258_ASEOF
259}; then
260  CONFIG_SHELL=$as_shell
261	       as_have_required=yes
262	       if { "$as_shell" 2> /dev/null <<\_ASEOF
263if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264  emulate sh
265  NULLCMD=:
266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267  # is contrary to our usage.  Disable this feature.
268  alias -g '${1+"$@"}'='"$@"'
269  setopt NO_GLOB_SUBST
270else
271  case `(set -o) 2>/dev/null` in
272  *posix*) set -o posix ;;
273esac
274
275fi
276
277
278:
279(as_func_return () {
280  (exit $1)
281}
282as_func_success () {
283  as_func_return 0
284}
285as_func_failure () {
286  as_func_return 1
287}
288as_func_ret_success () {
289  return 0
290}
291as_func_ret_failure () {
292  return 1
293}
294
295exitcode=0
296if as_func_success; then
297  :
298else
299  exitcode=1
300  echo as_func_success failed.
301fi
302
303if as_func_failure; then
304  exitcode=1
305  echo as_func_failure succeeded.
306fi
307
308if as_func_ret_success; then
309  :
310else
311  exitcode=1
312  echo as_func_ret_success failed.
313fi
314
315if as_func_ret_failure; then
316  exitcode=1
317  echo as_func_ret_failure succeeded.
318fi
319
320if ( set x; as_func_ret_success y && test x = "$1" ); then
321  :
322else
323  exitcode=1
324  echo positional parameters were not saved.
325fi
326
327test $exitcode = 0) || { (exit 1); exit 1; }
328
329(
330  as_lineno_1=$LINENO
331  as_lineno_2=$LINENO
332  test "x$as_lineno_1" != "x$as_lineno_2" &&
333  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335_ASEOF
336}; then
337  break
338fi
339
340fi
341
342      done
343
344      if test "x$CONFIG_SHELL" != x; then
345  for as_var in BASH_ENV ENV
346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347        done
348        export CONFIG_SHELL
349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350fi
351
352
353    if test $as_have_required = no; then
354  echo This script requires a shell more modern than all the
355      echo shells that I found on your system.  Please install a
356      echo modern shell, or manually run the script under such a
357      echo shell if you do have one.
358      { (exit 1); exit 1; }
359fi
360
361
362fi
363
364fi
365
366
367
368(eval "as_func_return () {
369  (exit \$1)
370}
371as_func_success () {
372  as_func_return 0
373}
374as_func_failure () {
375  as_func_return 1
376}
377as_func_ret_success () {
378  return 0
379}
380as_func_ret_failure () {
381  return 1
382}
383
384exitcode=0
385if as_func_success; then
386  :
387else
388  exitcode=1
389  echo as_func_success failed.
390fi
391
392if as_func_failure; then
393  exitcode=1
394  echo as_func_failure succeeded.
395fi
396
397if as_func_ret_success; then
398  :
399else
400  exitcode=1
401  echo as_func_ret_success failed.
402fi
403
404if as_func_ret_failure; then
405  exitcode=1
406  echo as_func_ret_failure succeeded.
407fi
408
409if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410  :
411else
412  exitcode=1
413  echo positional parameters were not saved.
414fi
415
416test \$exitcode = 0") || {
417  echo No shell found that supports shell functions.
418  echo Please tell autoconf@gnu.org about your system,
419  echo including any error possibly output before this
420  echo message
421}
422
423
424
425  as_lineno_1=$LINENO
426  as_lineno_2=$LINENO
427  test "x$as_lineno_1" != "x$as_lineno_2" &&
428  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431  # uniformly replaced by the line number.  The first 'sed' inserts a
432  # line-number line after each line using $LINENO; the second 'sed'
433  # does the real work.  The second script uses 'N' to pair each
434  # line-number line with the line containing $LINENO, and appends
435  # trailing '-' during substitution so that $LINENO is not a special
436  # case at line end.
437  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438  # scripts with optimization help from Paolo Bonzini.  Blame Lee
439  # E. McMahon (1931-1989) for sed's syntax.  :-)
440  sed -n '
441    p
442    /[$]LINENO/=
443  ' <$as_myself |
444    sed '
445      s/[$]LINENO.*/&-/
446      t lineno
447      b
448      :lineno
449      N
450      :loop
451      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452      t loop
453      s/-\n.*//
454    ' >$as_me.lineno &&
455  chmod +x "$as_me.lineno" ||
456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457   { (exit 1); exit 1; }; }
458
459  # Don't try to exec as it changes $[0], causing all sort of problems
460  # (the dirname of $[0] is not the place where we might find the
461  # original and so on.  Autoconf is especially sensitive to this).
462  . "./$as_me.lineno"
463  # Exit status is that of the last command.
464  exit
465}
466
467
468if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469  as_dirname=dirname
470else
471  as_dirname=false
472fi
473
474ECHO_C= ECHO_N= ECHO_T=
475case `echo -n x` in
476-n*)
477  case `echo 'x\c'` in
478  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
479  *)   ECHO_C='\c';;
480  esac;;
481*)
482  ECHO_N='-n';;
483esac
484
485if expr a : '\(a\)' >/dev/null 2>&1 &&
486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
487  as_expr=expr
488else
489  as_expr=false
490fi
491
492rm -f conf$$ conf$$.exe conf$$.file
493if test -d conf$$.dir; then
494  rm -f conf$$.dir/conf$$.file
495else
496  rm -f conf$$.dir
497  mkdir conf$$.dir
498fi
499echo >conf$$.file
500if ln -s conf$$.file conf$$ 2>/dev/null; then
501  as_ln_s='ln -s'
502  # ... but there are two gotchas:
503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505  # In both cases, we have to default to `cp -p'.
506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507    as_ln_s='cp -p'
508elif ln conf$$.file conf$$ 2>/dev/null; then
509  as_ln_s=ln
510else
511  as_ln_s='cp -p'
512fi
513rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514rmdir conf$$.dir 2>/dev/null
515
516if mkdir -p . 2>/dev/null; then
517  as_mkdir_p=:
518else
519  test -d ./-p && rmdir ./-p
520  as_mkdir_p=false
521fi
522
523if test -x / >/dev/null 2>&1; then
524  as_test_x='test -x'
525else
526  if ls -dL / >/dev/null 2>&1; then
527    as_ls_L_option=L
528  else
529    as_ls_L_option=
530  fi
531  as_test_x='
532    eval sh -c '\''
533      if test -d "$1"; then
534        test -d "$1/.";
535      else
536	case $1 in
537        -*)set "./$1";;
538	esac;
539	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540	???[sx]*):;;*)false;;esac;fi
541    '\'' sh
542  '
543fi
544as_executable_p=$as_test_x
545
546# Sed expression to map a string onto a valid CPP name.
547as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549# Sed expression to map a string onto a valid variable name.
550as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554
555# Check that we are running under the correct shell.
556SHELL=${CONFIG_SHELL-/bin/sh}
557
558case X$lt_ECHO in
559X*--fallback-echo)
560  # Remove one level of quotation (which was required for Make).
561  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
562  ;;
563esac
564
565ECHO=${lt_ECHO-echo}
566if test "X$1" = X--no-reexec; then
567  # Discard the --no-reexec flag, and continue.
568  shift
569elif test "X$1" = X--fallback-echo; then
570  # Avoid inline document here, it may be left over
571  :
572elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
573  # Yippee, $ECHO works!
574  :
575else
576  # Restart under the correct shell.
577  exec $SHELL "$0" --no-reexec ${1+"$@"}
578fi
579
580if test "X$1" = X--fallback-echo; then
581  # used as fallback echo
582  shift
583  cat <<_LT_EOF
584$*
585_LT_EOF
586  exit 0
587fi
588
589# The HP-UX ksh and POSIX shell print the target directory to stdout
590# if CDPATH is set.
591(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
592
593if test -z "$lt_ECHO"; then
594  if test "X${echo_test_string+set}" != Xset; then
595    # find a string as large as possible, as long as the shell can cope with it
596    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
597      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
598      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
599	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
600      then
601        break
602      fi
603    done
604  fi
605
606  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
607     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
608     test "X$echo_testing_string" = "X$echo_test_string"; then
609    :
610  else
611    # The Solaris, AIX, and Digital Unix default echo programs unquote
612    # backslashes.  This makes it impossible to quote backslashes using
613    #   echo "$something" | sed 's/\\/\\\\/g'
614    #
615    # So, first we look for a working echo in the user's PATH.
616
617    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
618    for dir in $PATH /usr/ucb; do
619      IFS="$lt_save_ifs"
620      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
621         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
622         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
623         test "X$echo_testing_string" = "X$echo_test_string"; then
624        ECHO="$dir/echo"
625        break
626      fi
627    done
628    IFS="$lt_save_ifs"
629
630    if test "X$ECHO" = Xecho; then
631      # We didn't find a better echo, so look for alternatives.
632      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
633         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
634         test "X$echo_testing_string" = "X$echo_test_string"; then
635        # This shell has a builtin print -r that does the trick.
636        ECHO='print -r'
637      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
638	   test "X$CONFIG_SHELL" != X/bin/ksh; then
639        # If we have ksh, try running configure again with it.
640        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
641        export ORIGINAL_CONFIG_SHELL
642        CONFIG_SHELL=/bin/ksh
643        export CONFIG_SHELL
644        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
645      else
646        # Try using printf.
647        ECHO='printf %s\n'
648        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
649	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
650	   test "X$echo_testing_string" = "X$echo_test_string"; then
651	  # Cool, printf works
652	  :
653        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
654	     test "X$echo_testing_string" = 'X\t' &&
655	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
656	     test "X$echo_testing_string" = "X$echo_test_string"; then
657	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
658	  export CONFIG_SHELL
659	  SHELL="$CONFIG_SHELL"
660	  export SHELL
661	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
662        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
663	     test "X$echo_testing_string" = 'X\t' &&
664	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
665	     test "X$echo_testing_string" = "X$echo_test_string"; then
666	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
667        else
668	  # maybe with a smaller string...
669	  prev=:
670
671	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
672	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
673	    then
674	      break
675	    fi
676	    prev="$cmd"
677	  done
678
679	  if test "$prev" != 'sed 50q "$0"'; then
680	    echo_test_string=`eval $prev`
681	    export echo_test_string
682	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
683	  else
684	    # Oops.  We lost completely, so just stick with echo.
685	    ECHO=echo
686	  fi
687        fi
688      fi
689    fi
690  fi
691fi
692
693# Copy echo and quote the copy suitably for passing to libtool from
694# the Makefile, instead of quoting the original, which is used later.
695lt_ECHO=$ECHO
696if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
697   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
698fi
699
700
701
702
703exec 7<&0 </dev/null 6>&1
704
705# Name of the host.
706# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
707# so uname gets run too.
708ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
709
710#
711# Initializations.
712#
713ac_default_prefix=/usr/local
714ac_clean_files=
715ac_config_libobj_dir=.
716LIBOBJS=
717cross_compiling=no
718subdirs=
719MFLAGS=
720MAKEFLAGS=
721SHELL=${CONFIG_SHELL-/bin/sh}
722
723# Identity of this package.
724PACKAGE_NAME='libvorbis'
725PACKAGE_TARNAME='libvorbis'
726PACKAGE_VERSION='1.3.1'
727PACKAGE_STRING='libvorbis 1.3.1'
728PACKAGE_BUGREPORT='vorbis-dev@xiph.org'
729
730ac_unique_file="lib/mdct.c"
731# Factoring default headers for most tests.
732ac_includes_default="\
733#include <stdio.h>
734#ifdef HAVE_SYS_TYPES_H
735# include <sys/types.h>
736#endif
737#ifdef HAVE_SYS_STAT_H
738# include <sys/stat.h>
739#endif
740#ifdef STDC_HEADERS
741# include <stdlib.h>
742# include <stddef.h>
743#else
744# ifdef HAVE_STDLIB_H
745#  include <stdlib.h>
746# endif
747#endif
748#ifdef HAVE_STRING_H
749# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
750#  include <memory.h>
751# endif
752# include <string.h>
753#endif
754#ifdef HAVE_STRINGS_H
755# include <strings.h>
756#endif
757#ifdef HAVE_INTTYPES_H
758# include <inttypes.h>
759#endif
760#ifdef HAVE_STDINT_H
761# include <stdint.h>
762#endif
763#ifdef HAVE_UNISTD_H
764# include <unistd.h>
765#endif"
766
767ac_subst_vars='SHELL
768PATH_SEPARATOR
769PACKAGE_NAME
770PACKAGE_TARNAME
771PACKAGE_VERSION
772PACKAGE_STRING
773PACKAGE_BUGREPORT
774exec_prefix
775prefix
776program_transform_name
777bindir
778sbindir
779libexecdir
780datarootdir
781datadir
782sysconfdir
783sharedstatedir
784localstatedir
785includedir
786oldincludedir
787docdir
788infodir
789htmldir
790dvidir
791pdfdir
792psdir
793libdir
794localedir
795mandir
796DEFS
797ECHO_C
798ECHO_N
799ECHO_T
800LIBS
801build_alias
802host_alias
803target_alias
804build
805build_cpu
806build_vendor
807build_os
808host
809host_cpu
810host_vendor
811host_os
812target
813target_cpu
814target_vendor
815target_os
816INSTALL_PROGRAM
817INSTALL_SCRIPT
818INSTALL_DATA
819am__isrc
820CYGPATH_W
821PACKAGE
822VERSION
823ACLOCAL
824AUTOCONF
825AUTOMAKE
826AUTOHEADER
827MAKEINFO
828install_sh
829STRIP
830INSTALL_STRIP_PROGRAM
831mkdir_p
832AWK
833SET_MAKE
834am__leading_dot
835AMTAR
836am__tar
837am__untar
838MAINTAINER_MODE_TRUE
839MAINTAINER_MODE_FALSE
840MAINT
841ACLOCAL_AMFLAGS
842V_LIB_CURRENT
843V_LIB_REVISION
844V_LIB_AGE
845VF_LIB_CURRENT
846VF_LIB_REVISION
847VF_LIB_AGE
848VE_LIB_CURRENT
849VE_LIB_REVISION
850VE_LIB_AGE
851CC
852CFLAGS
853LDFLAGS
854CPPFLAGS
855ac_ct_CC
856EXEEXT
857OBJEXT
858DEPDIR
859am__include
860am__quote
861AMDEP_TRUE
862AMDEP_FALSE
863AMDEPBACKSLASH
864CCDEPMODE
865am__fastdepCC_TRUE
866am__fastdepCC_FALSE
867CPP
868AS
869DLLTOOL
870OBJDUMP
871LIBTOOL
872SED
873GREP
874EGREP
875FGREP
876LD
877DUMPBIN
878ac_ct_DUMPBIN
879NM
880LN_S
881AR
882RANLIB
883lt_ECHO
884DSYMUTIL
885NMEDIT
886LIPO
887OTOOL
888OTOOL64
889HAVE_DOXYGEN
890HAVE_DOXYGEN_TRUE
891HAVE_DOXYGEN_FALSE
892PDFLATEX
893HTLATEX
894BUILD_DOCS_TRUE
895BUILD_DOCS_FALSE
896BUILD_EXAMPLES_TRUE
897BUILD_EXAMPLES_FALSE
898PKG_CONFIG
899OGG_CFLAGS
900OGG_LIBS
901ALLOCA
902LIBOBJS
903VORBIS_LIBS
904DEBUG
905PROFILE
906pthread_lib
907LIBTOOL_DEPS
908LTLIBOBJS'
909ac_subst_files=''
910      ac_precious_vars='build_alias
911host_alias
912target_alias
913CC
914CFLAGS
915LDFLAGS
916LIBS
917CPPFLAGS
918CPP
919PKG_CONFIG
920OGG_CFLAGS
921OGG_LIBS'
922
923
924# Initialize some variables set by options.
925ac_init_help=
926ac_init_version=false
927# The variables have the same names as the options, with
928# dashes changed to underlines.
929cache_file=/dev/null
930exec_prefix=NONE
931no_create=
932no_recursion=
933prefix=NONE
934program_prefix=NONE
935program_suffix=NONE
936program_transform_name=s,x,x,
937silent=
938site=
939srcdir=
940verbose=
941x_includes=NONE
942x_libraries=NONE
943
944# Installation directory options.
945# These are left unexpanded so users can "make install exec_prefix=/foo"
946# and all the variables that are supposed to be based on exec_prefix
947# by default will actually change.
948# Use braces instead of parens because sh, perl, etc. also accept them.
949# (The list follows the same order as the GNU Coding Standards.)
950bindir='${exec_prefix}/bin'
951sbindir='${exec_prefix}/sbin'
952libexecdir='${exec_prefix}/libexec'
953datarootdir='${prefix}/share'
954datadir='${datarootdir}'
955sysconfdir='${prefix}/etc'
956sharedstatedir='${prefix}/com'
957localstatedir='${prefix}/var'
958includedir='${prefix}/include'
959oldincludedir='/usr/include'
960docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
961infodir='${datarootdir}/info'
962htmldir='${docdir}'
963dvidir='${docdir}'
964pdfdir='${docdir}'
965psdir='${docdir}'
966libdir='${exec_prefix}/lib'
967localedir='${datarootdir}/locale'
968mandir='${datarootdir}/man'
969
970ac_prev=
971ac_dashdash=
972for ac_option
973do
974  # If the previous option needs an argument, assign it.
975  if test -n "$ac_prev"; then
976    eval $ac_prev=\$ac_option
977    ac_prev=
978    continue
979  fi
980
981  case $ac_option in
982  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
983  *)	ac_optarg=yes ;;
984  esac
985
986  # Accept the important Cygnus configure options, so we can diagnose typos.
987
988  case $ac_dashdash$ac_option in
989  --)
990    ac_dashdash=yes ;;
991
992  -bindir | --bindir | --bindi | --bind | --bin | --bi)
993    ac_prev=bindir ;;
994  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
995    bindir=$ac_optarg ;;
996
997  -build | --build | --buil | --bui | --bu)
998    ac_prev=build_alias ;;
999  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1000    build_alias=$ac_optarg ;;
1001
1002  -cache-file | --cache-file | --cache-fil | --cache-fi \
1003  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1004    ac_prev=cache_file ;;
1005  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1006  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1007    cache_file=$ac_optarg ;;
1008
1009  --config-cache | -C)
1010    cache_file=config.cache ;;
1011
1012  -datadir | --datadir | --datadi | --datad)
1013    ac_prev=datadir ;;
1014  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1015    datadir=$ac_optarg ;;
1016
1017  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1018  | --dataroo | --dataro | --datar)
1019    ac_prev=datarootdir ;;
1020  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1021  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1022    datarootdir=$ac_optarg ;;
1023
1024  -disable-* | --disable-*)
1025    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1026    # Reject names that are not valid shell variable names.
1027    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1028      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1029   { (exit 1); exit 1; }; }
1030    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1031    eval enable_$ac_feature=no ;;
1032
1033  -docdir | --docdir | --docdi | --doc | --do)
1034    ac_prev=docdir ;;
1035  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1036    docdir=$ac_optarg ;;
1037
1038  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1039    ac_prev=dvidir ;;
1040  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1041    dvidir=$ac_optarg ;;
1042
1043  -enable-* | --enable-*)
1044    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045    # Reject names that are not valid shell variable names.
1046    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1047      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1048   { (exit 1); exit 1; }; }
1049    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1050    eval enable_$ac_feature=\$ac_optarg ;;
1051
1052  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1053  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1054  | --exec | --exe | --ex)
1055    ac_prev=exec_prefix ;;
1056  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1057  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1058  | --exec=* | --exe=* | --ex=*)
1059    exec_prefix=$ac_optarg ;;
1060
1061  -gas | --gas | --ga | --g)
1062    # Obsolete; use --with-gas.
1063    with_gas=yes ;;
1064
1065  -help | --help | --hel | --he | -h)
1066    ac_init_help=long ;;
1067  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1068    ac_init_help=recursive ;;
1069  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1070    ac_init_help=short ;;
1071
1072  -host | --host | --hos | --ho)
1073    ac_prev=host_alias ;;
1074  -host=* | --host=* | --hos=* | --ho=*)
1075    host_alias=$ac_optarg ;;
1076
1077  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1078    ac_prev=htmldir ;;
1079  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1080  | --ht=*)
1081    htmldir=$ac_optarg ;;
1082
1083  -includedir | --includedir | --includedi | --included | --include \
1084  | --includ | --inclu | --incl | --inc)
1085    ac_prev=includedir ;;
1086  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1087  | --includ=* | --inclu=* | --incl=* | --inc=*)
1088    includedir=$ac_optarg ;;
1089
1090  -infodir | --infodir | --infodi | --infod | --info | --inf)
1091    ac_prev=infodir ;;
1092  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1093    infodir=$ac_optarg ;;
1094
1095  -libdir | --libdir | --libdi | --libd)
1096    ac_prev=libdir ;;
1097  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1098    libdir=$ac_optarg ;;
1099
1100  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1101  | --libexe | --libex | --libe)
1102    ac_prev=libexecdir ;;
1103  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1104  | --libexe=* | --libex=* | --libe=*)
1105    libexecdir=$ac_optarg ;;
1106
1107  -localedir | --localedir | --localedi | --localed | --locale)
1108    ac_prev=localedir ;;
1109  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1110    localedir=$ac_optarg ;;
1111
1112  -localstatedir | --localstatedir | --localstatedi | --localstated \
1113  | --localstate | --localstat | --localsta | --localst | --locals)
1114    ac_prev=localstatedir ;;
1115  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1116  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1117    localstatedir=$ac_optarg ;;
1118
1119  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1120    ac_prev=mandir ;;
1121  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1122    mandir=$ac_optarg ;;
1123
1124  -nfp | --nfp | --nf)
1125    # Obsolete; use --without-fp.
1126    with_fp=no ;;
1127
1128  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1129  | --no-cr | --no-c | -n)
1130    no_create=yes ;;
1131
1132  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1133  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1134    no_recursion=yes ;;
1135
1136  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1137  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1138  | --oldin | --oldi | --old | --ol | --o)
1139    ac_prev=oldincludedir ;;
1140  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1141  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1142  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1143    oldincludedir=$ac_optarg ;;
1144
1145  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1146    ac_prev=prefix ;;
1147  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1148    prefix=$ac_optarg ;;
1149
1150  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1151  | --program-pre | --program-pr | --program-p)
1152    ac_prev=program_prefix ;;
1153  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1154  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1155    program_prefix=$ac_optarg ;;
1156
1157  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1158  | --program-suf | --program-su | --program-s)
1159    ac_prev=program_suffix ;;
1160  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1161  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1162    program_suffix=$ac_optarg ;;
1163
1164  -program-transform-name | --program-transform-name \
1165  | --program-transform-nam | --program-transform-na \
1166  | --program-transform-n | --program-transform- \
1167  | --program-transform | --program-transfor \
1168  | --program-transfo | --program-transf \
1169  | --program-trans | --program-tran \
1170  | --progr-tra | --program-tr | --program-t)
1171    ac_prev=program_transform_name ;;
1172  -program-transform-name=* | --program-transform-name=* \
1173  | --program-transform-nam=* | --program-transform-na=* \
1174  | --program-transform-n=* | --program-transform-=* \
1175  | --program-transform=* | --program-transfor=* \
1176  | --program-transfo=* | --program-transf=* \
1177  | --program-trans=* | --program-tran=* \
1178  | --progr-tra=* | --program-tr=* | --program-t=*)
1179    program_transform_name=$ac_optarg ;;
1180
1181  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1182    ac_prev=pdfdir ;;
1183  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1184    pdfdir=$ac_optarg ;;
1185
1186  -psdir | --psdir | --psdi | --psd | --ps)
1187    ac_prev=psdir ;;
1188  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1189    psdir=$ac_optarg ;;
1190
1191  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1192  | -silent | --silent | --silen | --sile | --sil)
1193    silent=yes ;;
1194
1195  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1196    ac_prev=sbindir ;;
1197  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1198  | --sbi=* | --sb=*)
1199    sbindir=$ac_optarg ;;
1200
1201  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1202  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1203  | --sharedst | --shareds | --shared | --share | --shar \
1204  | --sha | --sh)
1205    ac_prev=sharedstatedir ;;
1206  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1207  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1208  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1209  | --sha=* | --sh=*)
1210    sharedstatedir=$ac_optarg ;;
1211
1212  -site | --site | --sit)
1213    ac_prev=site ;;
1214  -site=* | --site=* | --sit=*)
1215    site=$ac_optarg ;;
1216
1217  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1218    ac_prev=srcdir ;;
1219  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1220    srcdir=$ac_optarg ;;
1221
1222  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1223  | --syscon | --sysco | --sysc | --sys | --sy)
1224    ac_prev=sysconfdir ;;
1225  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1226  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1227    sysconfdir=$ac_optarg ;;
1228
1229  -target | --target | --targe | --targ | --tar | --ta | --t)
1230    ac_prev=target_alias ;;
1231  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1232    target_alias=$ac_optarg ;;
1233
1234  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1235    verbose=yes ;;
1236
1237  -version | --version | --versio | --versi | --vers | -V)
1238    ac_init_version=: ;;
1239
1240  -with-* | --with-*)
1241    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1242    # Reject names that are not valid shell variable names.
1243    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1244      { echo "$as_me: error: invalid package name: $ac_package" >&2
1245   { (exit 1); exit 1; }; }
1246    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1247    eval with_$ac_package=\$ac_optarg ;;
1248
1249  -without-* | --without-*)
1250    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1251    # Reject names that are not valid shell variable names.
1252    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1253      { echo "$as_me: error: invalid package name: $ac_package" >&2
1254   { (exit 1); exit 1; }; }
1255    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1256    eval with_$ac_package=no ;;
1257
1258  --x)
1259    # Obsolete; use --with-x.
1260    with_x=yes ;;
1261
1262  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1263  | --x-incl | --x-inc | --x-in | --x-i)
1264    ac_prev=x_includes ;;
1265  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1266  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1267    x_includes=$ac_optarg ;;
1268
1269  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1270  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1271    ac_prev=x_libraries ;;
1272  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1273  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1274    x_libraries=$ac_optarg ;;
1275
1276  -*) { echo "$as_me: error: unrecognized option: $ac_option
1277Try \`$0 --help' for more information." >&2
1278   { (exit 1); exit 1; }; }
1279    ;;
1280
1281  *=*)
1282    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1283    # Reject names that are not valid shell variable names.
1284    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1285      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1286   { (exit 1); exit 1; }; }
1287    eval $ac_envvar=\$ac_optarg
1288    export $ac_envvar ;;
1289
1290  *)
1291    # FIXME: should be removed in autoconf 3.0.
1292    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1293    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1294      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1295    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1296    ;;
1297
1298  esac
1299done
1300
1301if test -n "$ac_prev"; then
1302  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1303  { echo "$as_me: error: missing argument to $ac_option" >&2
1304   { (exit 1); exit 1; }; }
1305fi
1306
1307# Be sure to have absolute directory names.
1308for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1309		datadir sysconfdir sharedstatedir localstatedir includedir \
1310		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1311		libdir localedir mandir
1312do
1313  eval ac_val=\$$ac_var
1314  case $ac_val in
1315    [\\/$]* | ?:[\\/]* )  continue;;
1316    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1317  esac
1318  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1319   { (exit 1); exit 1; }; }
1320done
1321
1322# There might be people who depend on the old broken behavior: `$host'
1323# used to hold the argument of --host etc.
1324# FIXME: To remove some day.
1325build=$build_alias
1326host=$host_alias
1327target=$target_alias
1328
1329# FIXME: To remove some day.
1330if test "x$host_alias" != x; then
1331  if test "x$build_alias" = x; then
1332    cross_compiling=maybe
1333    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1334    If a cross compiler is detected then cross compile mode will be used." >&2
1335  elif test "x$build_alias" != "x$host_alias"; then
1336    cross_compiling=yes
1337  fi
1338fi
1339
1340ac_tool_prefix=
1341test -n "$host_alias" && ac_tool_prefix=$host_alias-
1342
1343test "$silent" = yes && exec 6>/dev/null
1344
1345
1346ac_pwd=`pwd` && test -n "$ac_pwd" &&
1347ac_ls_di=`ls -di .` &&
1348ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1349  { echo "$as_me: error: Working directory cannot be determined" >&2
1350   { (exit 1); exit 1; }; }
1351test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1352  { echo "$as_me: error: pwd does not report name of working directory" >&2
1353   { (exit 1); exit 1; }; }
1354
1355
1356# Find the source files, if location was not specified.
1357if test -z "$srcdir"; then
1358  ac_srcdir_defaulted=yes
1359  # Try the directory containing this script, then the parent directory.
1360  ac_confdir=`$as_dirname -- "$0" ||
1361$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1362	 X"$0" : 'X\(//\)[^/]' \| \
1363	 X"$0" : 'X\(//\)$' \| \
1364	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1365echo X"$0" |
1366    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1367	    s//\1/
1368	    q
1369	  }
1370	  /^X\(\/\/\)[^/].*/{
1371	    s//\1/
1372	    q
1373	  }
1374	  /^X\(\/\/\)$/{
1375	    s//\1/
1376	    q
1377	  }
1378	  /^X\(\/\).*/{
1379	    s//\1/
1380	    q
1381	  }
1382	  s/.*/./; q'`
1383  srcdir=$ac_confdir
1384  if test ! -r "$srcdir/$ac_unique_file"; then
1385    srcdir=..
1386  fi
1387else
1388  ac_srcdir_defaulted=no
1389fi
1390if test ! -r "$srcdir/$ac_unique_file"; then
1391  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1392  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1393   { (exit 1); exit 1; }; }
1394fi
1395ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1396ac_abs_confdir=`(
1397	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1398   { (exit 1); exit 1; }; }
1399	pwd)`
1400# When building in place, set srcdir=.
1401if test "$ac_abs_confdir" = "$ac_pwd"; then
1402  srcdir=.
1403fi
1404# Remove unnecessary trailing slashes from srcdir.
1405# Double slashes in file names in object file debugging info
1406# mess up M-x gdb in Emacs.
1407case $srcdir in
1408*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1409esac
1410for ac_var in $ac_precious_vars; do
1411  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1412  eval ac_env_${ac_var}_value=\$${ac_var}
1413  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1414  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1415done
1416
1417#
1418# Report the --help message.
1419#
1420if test "$ac_init_help" = "long"; then
1421  # Omit some internal or obsolete options to make the list less imposing.
1422  # This message is too long to be a string in the A/UX 3.1 sh.
1423  cat <<_ACEOF
1424\`configure' configures libvorbis 1.3.1 to adapt to many kinds of systems.
1425
1426Usage: $0 [OPTION]... [VAR=VALUE]...
1427
1428To assign environment variables (e.g., CC, CFLAGS...), specify them as
1429VAR=VALUE.  See below for descriptions of some of the useful variables.
1430
1431Defaults for the options are specified in brackets.
1432
1433Configuration:
1434  -h, --help              display this help and exit
1435      --help=short        display options specific to this package
1436      --help=recursive    display the short help of all the included packages
1437  -V, --version           display version information and exit
1438  -q, --quiet, --silent   do not print \`checking...' messages
1439      --cache-file=FILE   cache test results in FILE [disabled]
1440  -C, --config-cache      alias for \`--cache-file=config.cache'
1441  -n, --no-create         do not create output files
1442      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1443
1444Installation directories:
1445  --prefix=PREFIX         install architecture-independent files in PREFIX
1446			  [$ac_default_prefix]
1447  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1448			  [PREFIX]
1449
1450By default, \`make install' will install all the files in
1451\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1452an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1453for instance \`--prefix=\$HOME'.
1454
1455For better control, use the options below.
1456
1457Fine tuning of the installation directories:
1458  --bindir=DIR           user executables [EPREFIX/bin]
1459  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1460  --libexecdir=DIR       program executables [EPREFIX/libexec]
1461  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1462  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1463  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1464  --libdir=DIR           object code libraries [EPREFIX/lib]
1465  --includedir=DIR       C header files [PREFIX/include]
1466  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1467  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1468  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1469  --infodir=DIR          info documentation [DATAROOTDIR/info]
1470  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1471  --mandir=DIR           man documentation [DATAROOTDIR/man]
1472  --docdir=DIR           documentation root [DATAROOTDIR/doc/libvorbis]
1473  --htmldir=DIR          html documentation [DOCDIR]
1474  --dvidir=DIR           dvi documentation [DOCDIR]
1475  --pdfdir=DIR           pdf documentation [DOCDIR]
1476  --psdir=DIR            ps documentation [DOCDIR]
1477_ACEOF
1478
1479  cat <<\_ACEOF
1480
1481Program names:
1482  --program-prefix=PREFIX            prepend PREFIX to installed program names
1483  --program-suffix=SUFFIX            append SUFFIX to installed program names
1484  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1485
1486System types:
1487  --build=BUILD     configure for building on BUILD [guessed]
1488  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1489  --target=TARGET   configure for building compilers for TARGET [HOST]
1490_ACEOF
1491fi
1492
1493if test -n "$ac_init_help"; then
1494  case $ac_init_help in
1495     short | recursive ) echo "Configuration of libvorbis 1.3.1:";;
1496   esac
1497  cat <<\_ACEOF
1498
1499Optional Features:
1500  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1501  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1502  --enable-maintainer-mode  enable make rules and dependencies not useful
1503			  (and sometimes confusing) to the casual installer
1504  --disable-dependency-tracking  speeds up one-time build
1505  --enable-dependency-tracking   do not reject slow dependency extractors
1506  --enable-shared[=PKGS]  build shared libraries [default=yes]
1507  --enable-static[=PKGS]  build static libraries [default=yes]
1508  --enable-fast-install[=PKGS]
1509                          optimize for fast installation [default=yes]
1510  --disable-libtool-lock  avoid locking (might break parallel builds)
1511  --enable-docs           build the documentation
1512  --enable-examples       build the examples
1513  --disable-oggtest       Do not try to compile and run a test Ogg program
1514
1515Optional Packages:
1516  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1517  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1518  --with-pic              try to use only PIC/non-PIC objects [default=use
1519                          both]
1520  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1521  --with-ogg=PFX          Prefix where libogg is installed (optional)
1522  --with-ogg-libraries=DIR
1523                          Directory where libogg library is installed
1524                          (optional)
1525  --with-ogg-includes=DIR Directory where libogg header files are installed
1526                          (optional)
1527
1528Some influential environment variables:
1529  CC          C compiler command
1530  CFLAGS      C compiler flags
1531  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1532              nonstandard directory <lib dir>
1533  LIBS        libraries to pass to the linker, e.g. -l<library>
1534  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1535              you have headers in a nonstandard directory <include dir>
1536  CPP         C preprocessor
1537  PKG_CONFIG  path to pkg-config utility
1538  OGG_CFLAGS  C compiler flags for OGG, overriding pkg-config
1539  OGG_LIBS    linker flags for OGG, overriding pkg-config
1540
1541Use these variables to override the choices made by `configure' or to help
1542it to find libraries and programs with nonstandard names/locations.
1543
1544Report bugs to <vorbis-dev@xiph.org>.
1545_ACEOF
1546ac_status=$?
1547fi
1548
1549if test "$ac_init_help" = "recursive"; then
1550  # If there are subdirs, report their specific --help.
1551  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1552    test -d "$ac_dir" || continue
1553    ac_builddir=.
1554
1555case "$ac_dir" in
1556.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1557*)
1558  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1559  # A ".." for each directory in $ac_dir_suffix.
1560  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1561  case $ac_top_builddir_sub in
1562  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1563  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564  esac ;;
1565esac
1566ac_abs_top_builddir=$ac_pwd
1567ac_abs_builddir=$ac_pwd$ac_dir_suffix
1568# for backward compatibility:
1569ac_top_builddir=$ac_top_build_prefix
1570
1571case $srcdir in
1572  .)  # We are building in place.
1573    ac_srcdir=.
1574    ac_top_srcdir=$ac_top_builddir_sub
1575    ac_abs_top_srcdir=$ac_pwd ;;
1576  [\\/]* | ?:[\\/]* )  # Absolute name.
1577    ac_srcdir=$srcdir$ac_dir_suffix;
1578    ac_top_srcdir=$srcdir
1579    ac_abs_top_srcdir=$srcdir ;;
1580  *) # Relative name.
1581    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1582    ac_top_srcdir=$ac_top_build_prefix$srcdir
1583    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1584esac
1585ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1586
1587    cd "$ac_dir" || { ac_status=$?; continue; }
1588    # Check for guested configure.
1589    if test -f "$ac_srcdir/configure.gnu"; then
1590      echo &&
1591      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1592    elif test -f "$ac_srcdir/configure"; then
1593      echo &&
1594      $SHELL "$ac_srcdir/configure" --help=recursive
1595    else
1596      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1597    fi || ac_status=$?
1598    cd "$ac_pwd" || { ac_status=$?; break; }
1599  done
1600fi
1601
1602test -n "$ac_init_help" && exit $ac_status
1603if $ac_init_version; then
1604  cat <<\_ACEOF
1605libvorbis configure 1.3.1
1606generated by GNU Autoconf 2.61
1607
1608Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16092002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1610This configure script is free software; the Free Software Foundation
1611gives unlimited permission to copy, distribute and modify it.
1612_ACEOF
1613  exit
1614fi
1615cat >config.log <<_ACEOF
1616This file contains any messages produced by compilers while
1617running configure, to aid debugging if configure makes a mistake.
1618
1619It was created by libvorbis $as_me 1.3.1, which was
1620generated by GNU Autoconf 2.61.  Invocation command line was
1621
1622  $ $0 $@
1623
1624_ACEOF
1625exec 5>>config.log
1626{
1627cat <<_ASUNAME
1628## --------- ##
1629## Platform. ##
1630## --------- ##
1631
1632hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1633uname -m = `(uname -m) 2>/dev/null || echo unknown`
1634uname -r = `(uname -r) 2>/dev/null || echo unknown`
1635uname -s = `(uname -s) 2>/dev/null || echo unknown`
1636uname -v = `(uname -v) 2>/dev/null || echo unknown`
1637
1638/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1639/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1640
1641/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1642/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1643/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1644/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1645/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1646/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1647/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1648
1649_ASUNAME
1650
1651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652for as_dir in $PATH
1653do
1654  IFS=$as_save_IFS
1655  test -z "$as_dir" && as_dir=.
1656  echo "PATH: $as_dir"
1657done
1658IFS=$as_save_IFS
1659
1660} >&5
1661
1662cat >&5 <<_ACEOF
1663
1664
1665## ----------- ##
1666## Core tests. ##
1667## ----------- ##
1668
1669_ACEOF
1670
1671
1672# Keep a trace of the command line.
1673# Strip out --no-create and --no-recursion so they do not pile up.
1674# Strip out --silent because we don't want to record it for future runs.
1675# Also quote any args containing shell meta-characters.
1676# Make two passes to allow for proper duplicate-argument suppression.
1677ac_configure_args=
1678ac_configure_args0=
1679ac_configure_args1=
1680ac_must_keep_next=false
1681for ac_pass in 1 2
1682do
1683  for ac_arg
1684  do
1685    case $ac_arg in
1686    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1687    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1688    | -silent | --silent | --silen | --sile | --sil)
1689      continue ;;
1690    *\'*)
1691      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1692    esac
1693    case $ac_pass in
1694    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1695    2)
1696      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1697      if test $ac_must_keep_next = true; then
1698	ac_must_keep_next=false # Got value, back to normal.
1699      else
1700	case $ac_arg in
1701	  *=* | --config-cache | -C | -disable-* | --disable-* \
1702	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1703	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1704	  | -with-* | --with-* | -without-* | --without-* | --x)
1705	    case "$ac_configure_args0 " in
1706	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1707	    esac
1708	    ;;
1709	  -* ) ac_must_keep_next=true ;;
1710	esac
1711      fi
1712      ac_configure_args="$ac_configure_args '$ac_arg'"
1713      ;;
1714    esac
1715  done
1716done
1717$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1718$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1719
1720# When interrupted or exit'd, cleanup temporary files, and complete
1721# config.log.  We remove comments because anyway the quotes in there
1722# would cause problems or look ugly.
1723# WARNING: Use '\'' to represent an apostrophe within the trap.
1724# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1725trap 'exit_status=$?
1726  # Save into config.log some information that might help in debugging.
1727  {
1728    echo
1729
1730    cat <<\_ASBOX
1731## ---------------- ##
1732## Cache variables. ##
1733## ---------------- ##
1734_ASBOX
1735    echo
1736    # The following way of writing the cache mishandles newlines in values,
1737(
1738  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1739    eval ac_val=\$$ac_var
1740    case $ac_val in #(
1741    *${as_nl}*)
1742      case $ac_var in #(
1743      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1744echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1745      esac
1746      case $ac_var in #(
1747      _ | IFS | as_nl) ;; #(
1748      *) $as_unset $ac_var ;;
1749      esac ;;
1750    esac
1751  done
1752  (set) 2>&1 |
1753    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1754    *${as_nl}ac_space=\ *)
1755      sed -n \
1756	"s/'\''/'\''\\\\'\'''\''/g;
1757	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1758      ;; #(
1759    *)
1760      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1761      ;;
1762    esac |
1763    sort
1764)
1765    echo
1766
1767    cat <<\_ASBOX
1768## ----------------- ##
1769## Output variables. ##
1770## ----------------- ##
1771_ASBOX
1772    echo
1773    for ac_var in $ac_subst_vars
1774    do
1775      eval ac_val=\$$ac_var
1776      case $ac_val in
1777      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1778      esac
1779      echo "$ac_var='\''$ac_val'\''"
1780    done | sort
1781    echo
1782
1783    if test -n "$ac_subst_files"; then
1784      cat <<\_ASBOX
1785## ------------------- ##
1786## File substitutions. ##
1787## ------------------- ##
1788_ASBOX
1789      echo
1790      for ac_var in $ac_subst_files
1791      do
1792	eval ac_val=\$$ac_var
1793	case $ac_val in
1794	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1795	esac
1796	echo "$ac_var='\''$ac_val'\''"
1797      done | sort
1798      echo
1799    fi
1800
1801    if test -s confdefs.h; then
1802      cat <<\_ASBOX
1803## ----------- ##
1804## confdefs.h. ##
1805## ----------- ##
1806_ASBOX
1807      echo
1808      cat confdefs.h
1809      echo
1810    fi
1811    test "$ac_signal" != 0 &&
1812      echo "$as_me: caught signal $ac_signal"
1813    echo "$as_me: exit $exit_status"
1814  } >&5
1815  rm -f core *.core core.conftest.* &&
1816    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1817    exit $exit_status
1818' 0
1819for ac_signal in 1 2 13 15; do
1820  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1821done
1822ac_signal=0
1823
1824# confdefs.h avoids OS command line length limits that DEFS can exceed.
1825rm -f -r conftest* confdefs.h
1826
1827# Predefined preprocessor variables.
1828
1829cat >>confdefs.h <<_ACEOF
1830#define PACKAGE_NAME "$PACKAGE_NAME"
1831_ACEOF
1832
1833
1834cat >>confdefs.h <<_ACEOF
1835#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1836_ACEOF
1837
1838
1839cat >>confdefs.h <<_ACEOF
1840#define PACKAGE_VERSION "$PACKAGE_VERSION"
1841_ACEOF
1842
1843
1844cat >>confdefs.h <<_ACEOF
1845#define PACKAGE_STRING "$PACKAGE_STRING"
1846_ACEOF
1847
1848
1849cat >>confdefs.h <<_ACEOF
1850#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1851_ACEOF
1852
1853
1854# Let the site file select an alternate cache file if it wants to.
1855# Prefer explicitly selected file to automatically selected ones.
1856if test -n "$CONFIG_SITE"; then
1857  set x "$CONFIG_SITE"
1858elif test "x$prefix" != xNONE; then
1859  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1860else
1861  set x "$ac_default_prefix/share/config.site" \
1862	"$ac_default_prefix/etc/config.site"
1863fi
1864shift
1865for ac_site_file
1866do
1867  if test -r "$ac_site_file"; then
1868    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1869echo "$as_me: loading site script $ac_site_file" >&6;}
1870    sed 's/^/| /' "$ac_site_file" >&5
1871    . "$ac_site_file"
1872  fi
1873done
1874
1875if test -r "$cache_file"; then
1876  # Some versions of bash will fail to source /dev/null (special
1877  # files actually), so we avoid doing that.
1878  if test -f "$cache_file"; then
1879    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1880echo "$as_me: loading cache $cache_file" >&6;}
1881    case $cache_file in
1882      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1883      *)                      . "./$cache_file";;
1884    esac
1885  fi
1886else
1887  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1888echo "$as_me: creating cache $cache_file" >&6;}
1889  >$cache_file
1890fi
1891
1892# Check that the precious variables saved in the cache have kept the same
1893# value.
1894ac_cache_corrupted=false
1895for ac_var in $ac_precious_vars; do
1896  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1897  eval ac_new_set=\$ac_env_${ac_var}_set
1898  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1899  eval ac_new_val=\$ac_env_${ac_var}_value
1900  case $ac_old_set,$ac_new_set in
1901    set,)
1902      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1903echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1904      ac_cache_corrupted=: ;;
1905    ,set)
1906      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1907echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1908      ac_cache_corrupted=: ;;
1909    ,);;
1910    *)
1911      if test "x$ac_old_val" != "x$ac_new_val"; then
1912	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1914	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1915echo "$as_me:   former value:  $ac_old_val" >&2;}
1916	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1917echo "$as_me:   current value: $ac_new_val" >&2;}
1918	ac_cache_corrupted=:
1919      fi;;
1920  esac
1921  # Pass precious variables to config.status.
1922  if test "$ac_new_set" = set; then
1923    case $ac_new_val in
1924    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1925    *) ac_arg=$ac_var=$ac_new_val ;;
1926    esac
1927    case " $ac_configure_args " in
1928      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1929      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1930    esac
1931  fi
1932done
1933if $ac_cache_corrupted; then
1934  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1935echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1936  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1937echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1938   { (exit 1); exit 1; }; }
1939fi
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965ac_ext=c
1966ac_cpp='$CPP $CPPFLAGS'
1967ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1968ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1969ac_compiler_gnu=$ac_cv_c_compiler_gnu
1970
1971
1972
1973
1974
1975ac_aux_dir=
1976for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1977  if test -f "$ac_dir/install-sh"; then
1978    ac_aux_dir=$ac_dir
1979    ac_install_sh="$ac_aux_dir/install-sh -c"
1980    break
1981  elif test -f "$ac_dir/install.sh"; then
1982    ac_aux_dir=$ac_dir
1983    ac_install_sh="$ac_aux_dir/install.sh -c"
1984    break
1985  elif test -f "$ac_dir/shtool"; then
1986    ac_aux_dir=$ac_dir
1987    ac_install_sh="$ac_aux_dir/shtool install -c"
1988    break
1989  fi
1990done
1991if test -z "$ac_aux_dir"; then
1992  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1993echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1994   { (exit 1); exit 1; }; }
1995fi
1996
1997# These three variables are undocumented and unsupported,
1998# and are intended to be withdrawn in a future Autoconf release.
1999# They can cause serious problems if a builder's source tree is in a directory
2000# whose full name contains unusual characters.
2001ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2002ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2003ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2004
2005
2006# Make sure we can run config.sub.
2007$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2008  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2009echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2010   { (exit 1); exit 1; }; }
2011
2012{ echo "$as_me:$LINENO: checking build system type" >&5
2013echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2014if test "${ac_cv_build+set}" = set; then
2015  echo $ECHO_N "(cached) $ECHO_C" >&6
2016else
2017  ac_build_alias=$build_alias
2018test "x$ac_build_alias" = x &&
2019  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2020test "x$ac_build_alias" = x &&
2021  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2022echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2023   { (exit 1); exit 1; }; }
2024ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2025  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2026echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2027   { (exit 1); exit 1; }; }
2028
2029fi
2030{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2031echo "${ECHO_T}$ac_cv_build" >&6; }
2032case $ac_cv_build in
2033*-*-*) ;;
2034*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2035echo "$as_me: error: invalid value of canonical build" >&2;}
2036   { (exit 1); exit 1; }; };;
2037esac
2038build=$ac_cv_build
2039ac_save_IFS=$IFS; IFS='-'
2040set x $ac_cv_build
2041shift
2042build_cpu=$1
2043build_vendor=$2
2044shift; shift
2045# Remember, the first character of IFS is used to create $*,
2046# except with old shells:
2047build_os=$*
2048IFS=$ac_save_IFS
2049case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2050
2051
2052{ echo "$as_me:$LINENO: checking host system type" >&5
2053echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2054if test "${ac_cv_host+set}" = set; then
2055  echo $ECHO_N "(cached) $ECHO_C" >&6
2056else
2057  if test "x$host_alias" = x; then
2058  ac_cv_host=$ac_cv_build
2059else
2060  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2061    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2062echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2063   { (exit 1); exit 1; }; }
2064fi
2065
2066fi
2067{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2068echo "${ECHO_T}$ac_cv_host" >&6; }
2069case $ac_cv_host in
2070*-*-*) ;;
2071*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2072echo "$as_me: error: invalid value of canonical host" >&2;}
2073   { (exit 1); exit 1; }; };;
2074esac
2075host=$ac_cv_host
2076ac_save_IFS=$IFS; IFS='-'
2077set x $ac_cv_host
2078shift
2079host_cpu=$1
2080host_vendor=$2
2081shift; shift
2082# Remember, the first character of IFS is used to create $*,
2083# except with old shells:
2084host_os=$*
2085IFS=$ac_save_IFS
2086case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2087
2088
2089{ echo "$as_me:$LINENO: checking target system type" >&5
2090echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2091if test "${ac_cv_target+set}" = set; then
2092  echo $ECHO_N "(cached) $ECHO_C" >&6
2093else
2094  if test "x$target_alias" = x; then
2095  ac_cv_target=$ac_cv_host
2096else
2097  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2098    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2099echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2100   { (exit 1); exit 1; }; }
2101fi
2102
2103fi
2104{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2105echo "${ECHO_T}$ac_cv_target" >&6; }
2106case $ac_cv_target in
2107*-*-*) ;;
2108*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2109echo "$as_me: error: invalid value of canonical target" >&2;}
2110   { (exit 1); exit 1; }; };;
2111esac
2112target=$ac_cv_target
2113ac_save_IFS=$IFS; IFS='-'
2114set x $ac_cv_target
2115shift
2116target_cpu=$1
2117target_vendor=$2
2118shift; shift
2119# Remember, the first character of IFS is used to create $*,
2120# except with old shells:
2121target_os=$*
2122IFS=$ac_save_IFS
2123case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2124
2125
2126# The aliases save the names the user supplied, while $host etc.
2127# will get canonicalized.
2128test -n "$target_alias" &&
2129  test "$program_prefix$program_suffix$program_transform_name" = \
2130    NONENONEs,x,x, &&
2131  program_prefix=${target_alias}-
2132
2133am__api_version='1.10'
2134
2135# Find a good install program.  We prefer a C program (faster),
2136# so one script is as good as another.  But avoid the broken or
2137# incompatible versions:
2138# SysV /etc/install, /usr/sbin/install
2139# SunOS /usr/etc/install
2140# IRIX /sbin/install
2141# AIX /bin/install
2142# AmigaOS /C/install, which installs bootblocks on floppy discs
2143# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2144# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2145# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2146# OS/2's system install, which has a completely different semantic
2147# ./install, which can be erroneously created by make from ./install.sh.
2148{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2149echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2150if test -z "$INSTALL"; then
2151if test "${ac_cv_path_install+set}" = set; then
2152  echo $ECHO_N "(cached) $ECHO_C" >&6
2153else
2154  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155for as_dir in $PATH
2156do
2157  IFS=$as_save_IFS
2158  test -z "$as_dir" && as_dir=.
2159  # Account for people who put trailing slashes in PATH elements.
2160case $as_dir/ in
2161  ./ | .// | /cC/* | \
2162  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2163  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2164  /usr/ucb/* ) ;;
2165  *)
2166    # OSF1 and SCO ODT 3.0 have their own names for install.
2167    # Don't use installbsd from OSF since it installs stuff as root
2168    # by default.
2169    for ac_prog in ginstall scoinst install; do
2170      for ac_exec_ext in '' $ac_executable_extensions; do
2171	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2172	  if test $ac_prog = install &&
2173	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2174	    # AIX install.  It has an incompatible calling convention.
2175	    :
2176	  elif test $ac_prog = install &&
2177	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2178	    # program-specific install script used by HP pwplus--don't use.
2179	    :
2180	  else
2181	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2182	    break 3
2183	  fi
2184	fi
2185      done
2186    done
2187    ;;
2188esac
2189done
2190IFS=$as_save_IFS
2191
2192
2193fi
2194  if test "${ac_cv_path_install+set}" = set; then
2195    INSTALL=$ac_cv_path_install
2196  else
2197    # As a last resort, use the slow shell script.  Don't cache a
2198    # value for INSTALL within a source directory, because that will
2199    # break other packages using the cache if that directory is
2200    # removed, or if the value is a relative name.
2201    INSTALL=$ac_install_sh
2202  fi
2203fi
2204{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2205echo "${ECHO_T}$INSTALL" >&6; }
2206
2207# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2208# It thinks the first close brace ends the variable substitution.
2209test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2210
2211test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2212
2213test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2214
2215{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2216echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2217# Just in case
2218sleep 1
2219echo timestamp > conftest.file
2220# Do `set' in a subshell so we don't clobber the current shell's
2221# arguments.  Must try -L first in case configure is actually a
2222# symlink; some systems play weird games with the mod time of symlinks
2223# (eg FreeBSD returns the mod time of the symlink's containing
2224# directory).
2225if (
2226   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2227   if test "$*" = "X"; then
2228      # -L didn't work.
2229      set X `ls -t $srcdir/configure conftest.file`
2230   fi
2231   rm -f conftest.file
2232   if test "$*" != "X $srcdir/configure conftest.file" \
2233      && test "$*" != "X conftest.file $srcdir/configure"; then
2234
2235      # If neither matched, then we have a broken ls.  This can happen
2236      # if, for instance, CONFIG_SHELL is bash and it inherits a
2237      # broken ls alias from the environment.  This has actually
2238      # happened.  Such a system could not be considered "sane".
2239      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2240alias in your environment" >&5
2241echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2242alias in your environment" >&2;}
2243   { (exit 1); exit 1; }; }
2244   fi
2245
2246   test "$2" = conftest.file
2247   )
2248then
2249   # Ok.
2250   :
2251else
2252   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2253Check your system clock" >&5
2254echo "$as_me: error: newly created file is older than distributed files!
2255Check your system clock" >&2;}
2256   { (exit 1); exit 1; }; }
2257fi
2258{ echo "$as_me:$LINENO: result: yes" >&5
2259echo "${ECHO_T}yes" >&6; }
2260test "$program_prefix" != NONE &&
2261  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2262# Use a double $ so make ignores it.
2263test "$program_suffix" != NONE &&
2264  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2265# Double any \ or $.  echo might interpret backslashes.
2266# By default was `s,x,x', remove it if useless.
2267cat <<\_ACEOF >conftest.sed
2268s/[\\$]/&&/g;s/;s,x,x,$//
2269_ACEOF
2270program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2271rm -f conftest.sed
2272
2273# expand $ac_aux_dir to an absolute path
2274am_aux_dir=`cd $ac_aux_dir && pwd`
2275
2276test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2277# Use eval to expand $SHELL
2278if eval "$MISSING --run true"; then
2279  am_missing_run="$MISSING --run "
2280else
2281  am_missing_run=
2282  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2283echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2284fi
2285
2286{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2287echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2288if test -z "$MKDIR_P"; then
2289  if test "${ac_cv_path_mkdir+set}" = set; then
2290  echo $ECHO_N "(cached) $ECHO_C" >&6
2291else
2292  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2294do
2295  IFS=$as_save_IFS
2296  test -z "$as_dir" && as_dir=.
2297  for ac_prog in mkdir gmkdir; do
2298	 for ac_exec_ext in '' $ac_executable_extensions; do
2299	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2300	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2301	     'mkdir (GNU coreutils) '* | \
2302	     'mkdir (coreutils) '* | \
2303	     'mkdir (fileutils) '4.1*)
2304	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2305	       break 3;;
2306	   esac
2307	 done
2308       done
2309done
2310IFS=$as_save_IFS
2311
2312fi
2313
2314  if test "${ac_cv_path_mkdir+set}" = set; then
2315    MKDIR_P="$ac_cv_path_mkdir -p"
2316  else
2317    # As a last resort, use the slow shell script.  Don't cache a
2318    # value for MKDIR_P within a source directory, because that will
2319    # break other packages using the cache if that directory is
2320    # removed, or if the value is a relative name.
2321    test -d ./--version && rmdir ./--version
2322    MKDIR_P="$ac_install_sh -d"
2323  fi
2324fi
2325{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2326echo "${ECHO_T}$MKDIR_P" >&6; }
2327
2328mkdir_p="$MKDIR_P"
2329case $mkdir_p in
2330  [\\/$]* | ?:[\\/]*) ;;
2331  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2332esac
2333
2334for ac_prog in gawk mawk nawk awk
2335do
2336  # Extract the first word of "$ac_prog", so it can be a program name with args.
2337set dummy $ac_prog; ac_word=$2
2338{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2339echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2340if test "${ac_cv_prog_AWK+set}" = set; then
2341  echo $ECHO_N "(cached) $ECHO_C" >&6
2342else
2343  if test -n "$AWK"; then
2344  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2345else
2346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347for as_dir in $PATH
2348do
2349  IFS=$as_save_IFS
2350  test -z "$as_dir" && as_dir=.
2351  for ac_exec_ext in '' $ac_executable_extensions; do
2352  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2353    ac_cv_prog_AWK="$ac_prog"
2354    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2355    break 2
2356  fi
2357done
2358done
2359IFS=$as_save_IFS
2360
2361fi
2362fi
2363AWK=$ac_cv_prog_AWK
2364if test -n "$AWK"; then
2365  { echo "$as_me:$LINENO: result: $AWK" >&5
2366echo "${ECHO_T}$AWK" >&6; }
2367else
2368  { echo "$as_me:$LINENO: result: no" >&5
2369echo "${ECHO_T}no" >&6; }
2370fi
2371
2372
2373  test -n "$AWK" && break
2374done
2375
2376{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2377echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2378set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2379if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2380  echo $ECHO_N "(cached) $ECHO_C" >&6
2381else
2382  cat >conftest.make <<\_ACEOF
2383SHELL = /bin/sh
2384all:
2385	@echo '@@@%%%=$(MAKE)=@@@%%%'
2386_ACEOF
2387# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2388case `${MAKE-make} -f conftest.make 2>/dev/null` in
2389  *@@@%%%=?*=@@@%%%*)
2390    eval ac_cv_prog_make_${ac_make}_set=yes;;
2391  *)
2392    eval ac_cv_prog_make_${ac_make}_set=no;;
2393esac
2394rm -f conftest.make
2395fi
2396if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2397  { echo "$as_me:$LINENO: result: yes" >&5
2398echo "${ECHO_T}yes" >&6; }
2399  SET_MAKE=
2400else
2401  { echo "$as_me:$LINENO: result: no" >&5
2402echo "${ECHO_T}no" >&6; }
2403  SET_MAKE="MAKE=${MAKE-make}"
2404fi
2405
2406rm -rf .tst 2>/dev/null
2407mkdir .tst 2>/dev/null
2408if test -d .tst; then
2409  am__leading_dot=.
2410else
2411  am__leading_dot=_
2412fi
2413rmdir .tst 2>/dev/null
2414
2415if test "`cd $srcdir && pwd`" != "`pwd`"; then
2416  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2417  # is not polluted with repeated "-I."
2418  am__isrc=' -I$(srcdir)'
2419  # test to see if srcdir already configured
2420  if test -f $srcdir/config.status; then
2421    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2422echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2423   { (exit 1); exit 1; }; }
2424  fi
2425fi
2426
2427# test whether we have cygpath
2428if test -z "$CYGPATH_W"; then
2429  if (cygpath --version) >/dev/null 2>/dev/null; then
2430    CYGPATH_W='cygpath -w'
2431  else
2432    CYGPATH_W=echo
2433  fi
2434fi
2435
2436
2437# Define the identity of the package.
2438 PACKAGE=$PACKAGE_NAME
2439 VERSION=$PACKAGE_VERSION
2440
2441
2442cat >>confdefs.h <<_ACEOF
2443#define PACKAGE "$PACKAGE"
2444_ACEOF
2445
2446
2447cat >>confdefs.h <<_ACEOF
2448#define VERSION "$VERSION"
2449_ACEOF
2450
2451# Some tools Automake needs.
2452
2453ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2454
2455
2456AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2457
2458
2459AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2460
2461
2462AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2463
2464
2465MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2466
2467install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2468
2469# Installed binaries are usually stripped using `strip' when the user
2470# run `make install-strip'.  However `strip' might not be the right
2471# tool to use in cross-compilation environments, therefore Automake
2472# will honor the `STRIP' environment variable to overrule this program.
2473if test "$cross_compiling" != no; then
2474  if test -n "$ac_tool_prefix"; then
2475  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2476set dummy ${ac_tool_prefix}strip; ac_word=$2
2477{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2478echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2479if test "${ac_cv_prog_STRIP+set}" = set; then
2480  echo $ECHO_N "(cached) $ECHO_C" >&6
2481else
2482  if test -n "$STRIP"; then
2483  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2484else
2485as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2486for as_dir in $PATH
2487do
2488  IFS=$as_save_IFS
2489  test -z "$as_dir" && as_dir=.
2490  for ac_exec_ext in '' $ac_executable_extensions; do
2491  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2492    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2493    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494    break 2
2495  fi
2496done
2497done
2498IFS=$as_save_IFS
2499
2500fi
2501fi
2502STRIP=$ac_cv_prog_STRIP
2503if test -n "$STRIP"; then
2504  { echo "$as_me:$LINENO: result: $STRIP" >&5
2505echo "${ECHO_T}$STRIP" >&6; }
2506else
2507  { echo "$as_me:$LINENO: result: no" >&5
2508echo "${ECHO_T}no" >&6; }
2509fi
2510
2511
2512fi
2513if test -z "$ac_cv_prog_STRIP"; then
2514  ac_ct_STRIP=$STRIP
2515  # Extract the first word of "strip", so it can be a program name with args.
2516set dummy strip; ac_word=$2
2517{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2518echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2519if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2520  echo $ECHO_N "(cached) $ECHO_C" >&6
2521else
2522  if test -n "$ac_ct_STRIP"; then
2523  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2524else
2525as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2526for as_dir in $PATH
2527do
2528  IFS=$as_save_IFS
2529  test -z "$as_dir" && as_dir=.
2530  for ac_exec_ext in '' $ac_executable_extensions; do
2531  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2532    ac_cv_prog_ac_ct_STRIP="strip"
2533    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534    break 2
2535  fi
2536done
2537done
2538IFS=$as_save_IFS
2539
2540fi
2541fi
2542ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2543if test -n "$ac_ct_STRIP"; then
2544  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2545echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2546else
2547  { echo "$as_me:$LINENO: result: no" >&5
2548echo "${ECHO_T}no" >&6; }
2549fi
2550
2551  if test "x$ac_ct_STRIP" = x; then
2552    STRIP=":"
2553  else
2554    case $cross_compiling:$ac_tool_warned in
2555yes:)
2556{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557whose name does not start with the host triplet.  If you think this
2558configuration is useful to you, please write to autoconf@gnu.org." >&5
2559echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560whose name does not start with the host triplet.  If you think this
2561configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562ac_tool_warned=yes ;;
2563esac
2564    STRIP=$ac_ct_STRIP
2565  fi
2566else
2567  STRIP="$ac_cv_prog_STRIP"
2568fi
2569
2570fi
2571INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2572
2573# We need awk for the "check" target.  The system "awk" is bad on
2574# some platforms.
2575# Always define AMTAR for backward compatibility.
2576
2577AMTAR=${AMTAR-"${am_missing_run}tar"}
2578
2579am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2580
2581
2582
2583
2584
2585{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2586echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2587    # Check whether --enable-maintainer-mode was given.
2588if test "${enable_maintainer_mode+set}" = set; then
2589  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2590else
2591  USE_MAINTAINER_MODE=no
2592fi
2593
2594  { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2595echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2596   if test $USE_MAINTAINER_MODE = yes; then
2597  MAINTAINER_MODE_TRUE=
2598  MAINTAINER_MODE_FALSE='#'
2599else
2600  MAINTAINER_MODE_TRUE='#'
2601  MAINTAINER_MODE_FALSE=
2602fi
2603
2604  MAINT=$MAINTAINER_MODE_TRUE
2605
2606
2607ac_config_headers="$ac_config_headers config.h"
2608
2609
2610ACLOCAL_AMFLAGS="-I m4"
2611
2612
2613
2614V_LIB_CURRENT=4
2615V_LIB_REVISION=4
2616V_LIB_AGE=4
2617
2618VF_LIB_CURRENT=6
2619VF_LIB_REVISION=2
2620VF_LIB_AGE=3
2621
2622VE_LIB_CURRENT=2
2623VE_LIB_REVISION=7
2624VE_LIB_AGE=0
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637cflags_save="$CFLAGS"
2638ac_ext=c
2639ac_cpp='$CPP $CPPFLAGS'
2640ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2641ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2642ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643if test -n "$ac_tool_prefix"; then
2644  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2645set dummy ${ac_tool_prefix}gcc; ac_word=$2
2646{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2647echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2648if test "${ac_cv_prog_CC+set}" = set; then
2649  echo $ECHO_N "(cached) $ECHO_C" >&6
2650else
2651  if test -n "$CC"; then
2652  ac_cv_prog_CC="$CC" # Let the user override the test.
2653else
2654as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2655for as_dir in $PATH
2656do
2657  IFS=$as_save_IFS
2658  test -z "$as_dir" && as_dir=.
2659  for ac_exec_ext in '' $ac_executable_extensions; do
2660  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2661    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2662    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2663    break 2
2664  fi
2665done
2666done
2667IFS=$as_save_IFS
2668
2669fi
2670fi
2671CC=$ac_cv_prog_CC
2672if test -n "$CC"; then
2673  { echo "$as_me:$LINENO: result: $CC" >&5
2674echo "${ECHO_T}$CC" >&6; }
2675else
2676  { echo "$as_me:$LINENO: result: no" >&5
2677echo "${ECHO_T}no" >&6; }
2678fi
2679
2680
2681fi
2682if test -z "$ac_cv_prog_CC"; then
2683  ac_ct_CC=$CC
2684  # Extract the first word of "gcc", so it can be a program name with args.
2685set dummy gcc; ac_word=$2
2686{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2687echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2688if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2689  echo $ECHO_N "(cached) $ECHO_C" >&6
2690else
2691  if test -n "$ac_ct_CC"; then
2692  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2693else
2694as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2695for as_dir in $PATH
2696do
2697  IFS=$as_save_IFS
2698  test -z "$as_dir" && as_dir=.
2699  for ac_exec_ext in '' $ac_executable_extensions; do
2700  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2701    ac_cv_prog_ac_ct_CC="gcc"
2702    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703    break 2
2704  fi
2705done
2706done
2707IFS=$as_save_IFS
2708
2709fi
2710fi
2711ac_ct_CC=$ac_cv_prog_ac_ct_CC
2712if test -n "$ac_ct_CC"; then
2713  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2714echo "${ECHO_T}$ac_ct_CC" >&6; }
2715else
2716  { echo "$as_me:$LINENO: result: no" >&5
2717echo "${ECHO_T}no" >&6; }
2718fi
2719
2720  if test "x$ac_ct_CC" = x; then
2721    CC=""
2722  else
2723    case $cross_compiling:$ac_tool_warned in
2724yes:)
2725{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2726whose name does not start with the host triplet.  If you think this
2727configuration is useful to you, please write to autoconf@gnu.org." >&5
2728echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2729whose name does not start with the host triplet.  If you think this
2730configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2731ac_tool_warned=yes ;;
2732esac
2733    CC=$ac_ct_CC
2734  fi
2735else
2736  CC="$ac_cv_prog_CC"
2737fi
2738
2739if test -z "$CC"; then
2740          if test -n "$ac_tool_prefix"; then
2741    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2742set dummy ${ac_tool_prefix}cc; ac_word=$2
2743{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2744echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2745if test "${ac_cv_prog_CC+set}" = set; then
2746  echo $ECHO_N "(cached) $ECHO_C" >&6
2747else
2748  if test -n "$CC"; then
2749  ac_cv_prog_CC="$CC" # Let the user override the test.
2750else
2751as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2752for as_dir in $PATH
2753do
2754  IFS=$as_save_IFS
2755  test -z "$as_dir" && as_dir=.
2756  for ac_exec_ext in '' $ac_executable_extensions; do
2757  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2758    ac_cv_prog_CC="${ac_tool_prefix}cc"
2759    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2760    break 2
2761  fi
2762done
2763done
2764IFS=$as_save_IFS
2765
2766fi
2767fi
2768CC=$ac_cv_prog_CC
2769if test -n "$CC"; then
2770  { echo "$as_me:$LINENO: result: $CC" >&5
2771echo "${ECHO_T}$CC" >&6; }
2772else
2773  { echo "$as_me:$LINENO: result: no" >&5
2774echo "${ECHO_T}no" >&6; }
2775fi
2776
2777
2778  fi
2779fi
2780if test -z "$CC"; then
2781  # Extract the first word of "cc", so it can be a program name with args.
2782set dummy cc; ac_word=$2
2783{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2784echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2785if test "${ac_cv_prog_CC+set}" = set; then
2786  echo $ECHO_N "(cached) $ECHO_C" >&6
2787else
2788  if test -n "$CC"; then
2789  ac_cv_prog_CC="$CC" # Let the user override the test.
2790else
2791  ac_prog_rejected=no
2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2793for as_dir in $PATH
2794do
2795  IFS=$as_save_IFS
2796  test -z "$as_dir" && as_dir=.
2797  for ac_exec_ext in '' $ac_executable_extensions; do
2798  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2799    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2800       ac_prog_rejected=yes
2801       continue
2802     fi
2803    ac_cv_prog_CC="cc"
2804    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805    break 2
2806  fi
2807done
2808done
2809IFS=$as_save_IFS
2810
2811if test $ac_prog_rejected = yes; then
2812  # We found a bogon in the path, so make sure we never use it.
2813  set dummy $ac_cv_prog_CC
2814  shift
2815  if test $# != 0; then
2816    # We chose a different compiler from the bogus one.
2817    # However, it has the same basename, so the bogon will be chosen
2818    # first if we set CC to just the basename; use the full file name.
2819    shift
2820    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2821  fi
2822fi
2823fi
2824fi
2825CC=$ac_cv_prog_CC
2826if test -n "$CC"; then
2827  { echo "$as_me:$LINENO: result: $CC" >&5
2828echo "${ECHO_T}$CC" >&6; }
2829else
2830  { echo "$as_me:$LINENO: result: no" >&5
2831echo "${ECHO_T}no" >&6; }
2832fi
2833
2834
2835fi
2836if test -z "$CC"; then
2837  if test -n "$ac_tool_prefix"; then
2838  for ac_prog in cl.exe
2839  do
2840    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2841set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2842{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2843echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2844if test "${ac_cv_prog_CC+set}" = set; then
2845  echo $ECHO_N "(cached) $ECHO_C" >&6
2846else
2847  if test -n "$CC"; then
2848  ac_cv_prog_CC="$CC" # Let the user override the test.
2849else
2850as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851for as_dir in $PATH
2852do
2853  IFS=$as_save_IFS
2854  test -z "$as_dir" && as_dir=.
2855  for ac_exec_ext in '' $ac_executable_extensions; do
2856  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2857    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2858    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859    break 2
2860  fi
2861done
2862done
2863IFS=$as_save_IFS
2864
2865fi
2866fi
2867CC=$ac_cv_prog_CC
2868if test -n "$CC"; then
2869  { echo "$as_me:$LINENO: result: $CC" >&5
2870echo "${ECHO_T}$CC" >&6; }
2871else
2872  { echo "$as_me:$LINENO: result: no" >&5
2873echo "${ECHO_T}no" >&6; }
2874fi
2875
2876
2877    test -n "$CC" && break
2878  done
2879fi
2880if test -z "$CC"; then
2881  ac_ct_CC=$CC
2882  for ac_prog in cl.exe
2883do
2884  # Extract the first word of "$ac_prog", so it can be a program name with args.
2885set dummy $ac_prog; ac_word=$2
2886{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2887echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2888if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2889  echo $ECHO_N "(cached) $ECHO_C" >&6
2890else
2891  if test -n "$ac_ct_CC"; then
2892  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2893else
2894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895for as_dir in $PATH
2896do
2897  IFS=$as_save_IFS
2898  test -z "$as_dir" && as_dir=.
2899  for ac_exec_ext in '' $ac_executable_extensions; do
2900  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2901    ac_cv_prog_ac_ct_CC="$ac_prog"
2902    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2903    break 2
2904  fi
2905done
2906done
2907IFS=$as_save_IFS
2908
2909fi
2910fi
2911ac_ct_CC=$ac_cv_prog_ac_ct_CC
2912if test -n "$ac_ct_CC"; then
2913  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2914echo "${ECHO_T}$ac_ct_CC" >&6; }
2915else
2916  { echo "$as_me:$LINENO: result: no" >&5
2917echo "${ECHO_T}no" >&6; }
2918fi
2919
2920
2921  test -n "$ac_ct_CC" && break
2922done
2923
2924  if test "x$ac_ct_CC" = x; then
2925    CC=""
2926  else
2927    case $cross_compiling:$ac_tool_warned in
2928yes:)
2929{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2930whose name does not start with the host triplet.  If you think this
2931configuration is useful to you, please write to autoconf@gnu.org." >&5
2932echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2933whose name does not start with the host triplet.  If you think this
2934configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2935ac_tool_warned=yes ;;
2936esac
2937    CC=$ac_ct_CC
2938  fi
2939fi
2940
2941fi
2942
2943
2944test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2945See \`config.log' for more details." >&5
2946echo "$as_me: error: no acceptable C compiler found in \$PATH
2947See \`config.log' for more details." >&2;}
2948   { (exit 1); exit 1; }; }
2949
2950# Provide some information about the compiler.
2951echo "$as_me:$LINENO: checking for C compiler version" >&5
2952ac_compiler=`set X $ac_compile; echo $2`
2953{ (ac_try="$ac_compiler --version >&5"
2954case "(($ac_try" in
2955  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956  *) ac_try_echo=$ac_try;;
2957esac
2958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2959  (eval "$ac_compiler --version >&5") 2>&5
2960  ac_status=$?
2961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962  (exit $ac_status); }
2963{ (ac_try="$ac_compiler -v >&5"
2964case "(($ac_try" in
2965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966  *) ac_try_echo=$ac_try;;
2967esac
2968eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2969  (eval "$ac_compiler -v >&5") 2>&5
2970  ac_status=$?
2971  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972  (exit $ac_status); }
2973{ (ac_try="$ac_compiler -V >&5"
2974case "(($ac_try" in
2975  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976  *) ac_try_echo=$ac_try;;
2977esac
2978eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2979  (eval "$ac_compiler -V >&5") 2>&5
2980  ac_status=$?
2981  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982  (exit $ac_status); }
2983
2984cat >conftest.$ac_ext <<_ACEOF
2985/* confdefs.h.  */
2986_ACEOF
2987cat confdefs.h >>conftest.$ac_ext
2988cat >>conftest.$ac_ext <<_ACEOF
2989/* end confdefs.h.  */
2990
2991int
2992main ()
2993{
2994
2995  ;
2996  return 0;
2997}
2998_ACEOF
2999ac_clean_files_save=$ac_clean_files
3000ac_clean_files="$ac_clean_files a.out a.exe b.out"
3001# Try to create an executable without -o first, disregard a.out.
3002# It will help us diagnose broken compilers, and finding out an intuition
3003# of exeext.
3004{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3005echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
3006ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3007#
3008# List of possible output files, starting from the most likely.
3009# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
3010# only as a last resort.  b.out is created by i960 compilers.
3011ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
3012#
3013# The IRIX 6 linker writes into existing files which may not be
3014# executable, retaining their permissions.  Remove them first so a
3015# subsequent execution test works.
3016ac_rmfiles=
3017for ac_file in $ac_files
3018do
3019  case $ac_file in
3020    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3021    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3022  esac
3023done
3024rm -f $ac_rmfiles
3025
3026if { (ac_try="$ac_link_default"
3027case "(($ac_try" in
3028  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3029  *) ac_try_echo=$ac_try;;
3030esac
3031eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3032  (eval "$ac_link_default") 2>&5
3033  ac_status=$?
3034  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035  (exit $ac_status); }; then
3036  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3037# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3038# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3039# so that the user can short-circuit this test for compilers unknown to
3040# Autoconf.
3041for ac_file in $ac_files ''
3042do
3043  test -f "$ac_file" || continue
3044  case $ac_file in
3045    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
3046	;;
3047    [ab].out )
3048	# We found the default executable, but exeext='' is most
3049	# certainly right.
3050	break;;
3051    *.* )
3052        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3053	then :; else
3054	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3055	fi
3056	# We set ac_cv_exeext here because the later test for it is not
3057	# safe: cross compilers may not add the suffix if given an `-o'
3058	# argument, so we may need to know it at that point already.
3059	# Even if this section looks crufty: it has the advantage of
3060	# actually working.
3061	break;;
3062    * )
3063	break;;
3064  esac
3065done
3066test "$ac_cv_exeext" = no && ac_cv_exeext=
3067
3068else
3069  ac_file=''
3070fi
3071
3072{ echo "$as_me:$LINENO: result: $ac_file" >&5
3073echo "${ECHO_T}$ac_file" >&6; }
3074if test -z "$ac_file"; then
3075  echo "$as_me: failed program was:" >&5
3076sed 's/^/| /' conftest.$ac_ext >&5
3077
3078{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3079See \`config.log' for more details." >&5
3080echo "$as_me: error: C compiler cannot create executables
3081See \`config.log' for more details." >&2;}
3082   { (exit 77); exit 77; }; }
3083fi
3084
3085ac_exeext=$ac_cv_exeext
3086
3087# Check that the compiler produces executables we can run.  If not, either
3088# the compiler is broken, or we cross compile.
3089{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3090echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3091# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3092# If not cross compiling, check that we can run a simple program.
3093if test "$cross_compiling" != yes; then
3094  if { ac_try='./$ac_file'
3095  { (case "(($ac_try" in
3096  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3097  *) ac_try_echo=$ac_try;;
3098esac
3099eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3100  (eval "$ac_try") 2>&5
3101  ac_status=$?
3102  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103  (exit $ac_status); }; }; then
3104    cross_compiling=no
3105  else
3106    if test "$cross_compiling" = maybe; then
3107	cross_compiling=yes
3108    else
3109	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3110If you meant to cross compile, use \`--host'.
3111See \`config.log' for more details." >&5
3112echo "$as_me: error: cannot run C compiled programs.
3113If you meant to cross compile, use \`--host'.
3114See \`config.log' for more details." >&2;}
3115   { (exit 1); exit 1; }; }
3116    fi
3117  fi
3118fi
3119{ echo "$as_me:$LINENO: result: yes" >&5
3120echo "${ECHO_T}yes" >&6; }
3121
3122rm -f a.out a.exe conftest$ac_cv_exeext b.out
3123ac_clean_files=$ac_clean_files_save
3124# Check that the compiler produces executables we can run.  If not, either
3125# the compiler is broken, or we cross compile.
3126{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3127echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3128{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3129echo "${ECHO_T}$cross_compiling" >&6; }
3130
3131{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3132echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3133if { (ac_try="$ac_link"
3134case "(($ac_try" in
3135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136  *) ac_try_echo=$ac_try;;
3137esac
3138eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139  (eval "$ac_link") 2>&5
3140  ac_status=$?
3141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142  (exit $ac_status); }; then
3143  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3144# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3145# work properly (i.e., refer to `conftest.exe'), while it won't with
3146# `rm'.
3147for ac_file in conftest.exe conftest conftest.*; do
3148  test -f "$ac_file" || continue
3149  case $ac_file in
3150    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3151    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3152	  break;;
3153    * ) break;;
3154  esac
3155done
3156else
3157  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3158See \`config.log' for more details." >&5
3159echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3160See \`config.log' for more details." >&2;}
3161   { (exit 1); exit 1; }; }
3162fi
3163
3164rm -f conftest$ac_cv_exeext
3165{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3166echo "${ECHO_T}$ac_cv_exeext" >&6; }
3167
3168rm -f conftest.$ac_ext
3169EXEEXT=$ac_cv_exeext
3170ac_exeext=$EXEEXT
3171{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3172echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3173if test "${ac_cv_objext+set}" = set; then
3174  echo $ECHO_N "(cached) $ECHO_C" >&6
3175else
3176  cat >conftest.$ac_ext <<_ACEOF
3177/* confdefs.h.  */
3178_ACEOF
3179cat confdefs.h >>conftest.$ac_ext
3180cat >>conftest.$ac_ext <<_ACEOF
3181/* end confdefs.h.  */
3182
3183int
3184main ()
3185{
3186
3187  ;
3188  return 0;
3189}
3190_ACEOF
3191rm -f conftest.o conftest.obj
3192if { (ac_try="$ac_compile"
3193case "(($ac_try" in
3194  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195  *) ac_try_echo=$ac_try;;
3196esac
3197eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198  (eval "$ac_compile") 2>&5
3199  ac_status=$?
3200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201  (exit $ac_status); }; then
3202  for ac_file in conftest.o conftest.obj conftest.*; do
3203  test -f "$ac_file" || continue;
3204  case $ac_file in
3205    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3206    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3207       break;;
3208  esac
3209done
3210else
3211  echo "$as_me: failed program was:" >&5
3212sed 's/^/| /' conftest.$ac_ext >&5
3213
3214{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3215See \`config.log' for more details." >&5
3216echo "$as_me: error: cannot compute suffix of object files: cannot compile
3217See \`config.log' for more details." >&2;}
3218   { (exit 1); exit 1; }; }
3219fi
3220
3221rm -f conftest.$ac_cv_objext conftest.$ac_ext
3222fi
3223{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3224echo "${ECHO_T}$ac_cv_objext" >&6; }
3225OBJEXT=$ac_cv_objext
3226ac_objext=$OBJEXT
3227{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3228echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3229if test "${ac_cv_c_compiler_gnu+set}" = set; then
3230  echo $ECHO_N "(cached) $ECHO_C" >&6
3231else
3232  cat >conftest.$ac_ext <<_ACEOF
3233/* confdefs.h.  */
3234_ACEOF
3235cat confdefs.h >>conftest.$ac_ext
3236cat >>conftest.$ac_ext <<_ACEOF
3237/* end confdefs.h.  */
3238
3239int
3240main ()
3241{
3242#ifndef __GNUC__
3243       choke me
3244#endif
3245
3246  ;
3247  return 0;
3248}
3249_ACEOF
3250rm -f conftest.$ac_objext
3251if { (ac_try="$ac_compile"
3252case "(($ac_try" in
3253  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254  *) ac_try_echo=$ac_try;;
3255esac
3256eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3257  (eval "$ac_compile") 2>conftest.er1
3258  ac_status=$?
3259  grep -v '^ *+' conftest.er1 >conftest.err
3260  rm -f conftest.er1
3261  cat conftest.err >&5
3262  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263  (exit $ac_status); } && {
3264	 test -z "$ac_c_werror_flag" ||
3265	 test ! -s conftest.err
3266       } && test -s conftest.$ac_objext; then
3267  ac_compiler_gnu=yes
3268else
3269  echo "$as_me: failed program was:" >&5
3270sed 's/^/| /' conftest.$ac_ext >&5
3271
3272	ac_compiler_gnu=no
3273fi
3274
3275rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276ac_cv_c_compiler_gnu=$ac_compiler_gnu
3277
3278fi
3279{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3280echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3281GCC=`test $ac_compiler_gnu = yes && echo yes`
3282ac_test_CFLAGS=${CFLAGS+set}
3283ac_save_CFLAGS=$CFLAGS
3284{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3285echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3286if test "${ac_cv_prog_cc_g+set}" = set; then
3287  echo $ECHO_N "(cached) $ECHO_C" >&6
3288else
3289  ac_save_c_werror_flag=$ac_c_werror_flag
3290   ac_c_werror_flag=yes
3291   ac_cv_prog_cc_g=no
3292   CFLAGS="-g"
3293   cat >conftest.$ac_ext <<_ACEOF
3294/* confdefs.h.  */
3295_ACEOF
3296cat confdefs.h >>conftest.$ac_ext
3297cat >>conftest.$ac_ext <<_ACEOF
3298/* end confdefs.h.  */
3299
3300int
3301main ()
3302{
3303
3304  ;
3305  return 0;
3306}
3307_ACEOF
3308rm -f conftest.$ac_objext
3309if { (ac_try="$ac_compile"
3310case "(($ac_try" in
3311  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3312  *) ac_try_echo=$ac_try;;
3313esac
3314eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3315  (eval "$ac_compile") 2>conftest.er1
3316  ac_status=$?
3317  grep -v '^ *+' conftest.er1 >conftest.err
3318  rm -f conftest.er1
3319  cat conftest.err >&5
3320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321  (exit $ac_status); } && {
3322	 test -z "$ac_c_werror_flag" ||
3323	 test ! -s conftest.err
3324       } && test -s conftest.$ac_objext; then
3325  ac_cv_prog_cc_g=yes
3326else
3327  echo "$as_me: failed program was:" >&5
3328sed 's/^/| /' conftest.$ac_ext >&5
3329
3330	CFLAGS=""
3331      cat >conftest.$ac_ext <<_ACEOF
3332/* confdefs.h.  */
3333_ACEOF
3334cat confdefs.h >>conftest.$ac_ext
3335cat >>conftest.$ac_ext <<_ACEOF
3336/* end confdefs.h.  */
3337
3338int
3339main ()
3340{
3341
3342  ;
3343  return 0;
3344}
3345_ACEOF
3346rm -f conftest.$ac_objext
3347if { (ac_try="$ac_compile"
3348case "(($ac_try" in
3349  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3350  *) ac_try_echo=$ac_try;;
3351esac
3352eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3353  (eval "$ac_compile") 2>conftest.er1
3354  ac_status=$?
3355  grep -v '^ *+' conftest.er1 >conftest.err
3356  rm -f conftest.er1
3357  cat conftest.err >&5
3358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3359  (exit $ac_status); } && {
3360	 test -z "$ac_c_werror_flag" ||
3361	 test ! -s conftest.err
3362       } && test -s conftest.$ac_objext; then
3363  :
3364else
3365  echo "$as_me: failed program was:" >&5
3366sed 's/^/| /' conftest.$ac_ext >&5
3367
3368	ac_c_werror_flag=$ac_save_c_werror_flag
3369	 CFLAGS="-g"
3370	 cat >conftest.$ac_ext <<_ACEOF
3371/* confdefs.h.  */
3372_ACEOF
3373cat confdefs.h >>conftest.$ac_ext
3374cat >>conftest.$ac_ext <<_ACEOF
3375/* end confdefs.h.  */
3376
3377int
3378main ()
3379{
3380
3381  ;
3382  return 0;
3383}
3384_ACEOF
3385rm -f conftest.$ac_objext
3386if { (ac_try="$ac_compile"
3387case "(($ac_try" in
3388  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389  *) ac_try_echo=$ac_try;;
3390esac
3391eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392  (eval "$ac_compile") 2>conftest.er1
3393  ac_status=$?
3394  grep -v '^ *+' conftest.er1 >conftest.err
3395  rm -f conftest.er1
3396  cat conftest.err >&5
3397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398  (exit $ac_status); } && {
3399	 test -z "$ac_c_werror_flag" ||
3400	 test ! -s conftest.err
3401       } && test -s conftest.$ac_objext; then
3402  ac_cv_prog_cc_g=yes
3403else
3404  echo "$as_me: failed program was:" >&5
3405sed 's/^/| /' conftest.$ac_ext >&5
3406
3407
3408fi
3409
3410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3411fi
3412
3413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3414fi
3415
3416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3417   ac_c_werror_flag=$ac_save_c_werror_flag
3418fi
3419{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3420echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3421if test "$ac_test_CFLAGS" = set; then
3422  CFLAGS=$ac_save_CFLAGS
3423elif test $ac_cv_prog_cc_g = yes; then
3424  if test "$GCC" = yes; then
3425    CFLAGS="-g -O2"
3426  else
3427    CFLAGS="-g"
3428  fi
3429else
3430  if test "$GCC" = yes; then
3431    CFLAGS="-O2"
3432  else
3433    CFLAGS=
3434  fi
3435fi
3436{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3437echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3438if test "${ac_cv_prog_cc_c89+set}" = set; then
3439  echo $ECHO_N "(cached) $ECHO_C" >&6
3440else
3441  ac_cv_prog_cc_c89=no
3442ac_save_CC=$CC
3443cat >conftest.$ac_ext <<_ACEOF
3444/* confdefs.h.  */
3445_ACEOF
3446cat confdefs.h >>conftest.$ac_ext
3447cat >>conftest.$ac_ext <<_ACEOF
3448/* end confdefs.h.  */
3449#include <stdarg.h>
3450#include <stdio.h>
3451#include <sys/types.h>
3452#include <sys/stat.h>
3453/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3454struct buf { int x; };
3455FILE * (*rcsopen) (struct buf *, struct stat *, int);
3456static char *e (p, i)
3457     char **p;
3458     int i;
3459{
3460  return p[i];
3461}
3462static char *f (char * (*g) (char **, int), char **p, ...)
3463{
3464  char *s;
3465  va_list v;
3466  va_start (v,p);
3467  s = g (p, va_arg (v,int));
3468  va_end (v);
3469  return s;
3470}
3471
3472/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3473   function prototypes and stuff, but not '\xHH' hex character constants.
3474   These don't provoke an error unfortunately, instead are silently treated
3475   as 'x'.  The following induces an error, until -std is added to get
3476   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3477   array size at least.  It's necessary to write '\x00'==0 to get something
3478   that's true only with -std.  */
3479int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3480
3481/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3482   inside strings and character constants.  */
3483#define FOO(x) 'x'
3484int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3485
3486int test (int i, double x);
3487struct s1 {int (*f) (int a);};
3488struct s2 {int (*f) (double a);};
3489int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3490int argc;
3491char **argv;
3492int
3493main ()
3494{
3495return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3496  ;
3497  return 0;
3498}
3499_ACEOF
3500for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3501	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3502do
3503  CC="$ac_save_CC $ac_arg"
3504  rm -f conftest.$ac_objext
3505if { (ac_try="$ac_compile"
3506case "(($ac_try" in
3507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3508  *) ac_try_echo=$ac_try;;
3509esac
3510eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3511  (eval "$ac_compile") 2>conftest.er1
3512  ac_status=$?
3513  grep -v '^ *+' conftest.er1 >conftest.err
3514  rm -f conftest.er1
3515  cat conftest.err >&5
3516  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517  (exit $ac_status); } && {
3518	 test -z "$ac_c_werror_flag" ||
3519	 test ! -s conftest.err
3520       } && test -s conftest.$ac_objext; then
3521  ac_cv_prog_cc_c89=$ac_arg
3522else
3523  echo "$as_me: failed program was:" >&5
3524sed 's/^/| /' conftest.$ac_ext >&5
3525
3526
3527fi
3528
3529rm -f core conftest.err conftest.$ac_objext
3530  test "x$ac_cv_prog_cc_c89" != "xno" && break
3531done
3532rm -f conftest.$ac_ext
3533CC=$ac_save_CC
3534
3535fi
3536# AC_CACHE_VAL
3537case "x$ac_cv_prog_cc_c89" in
3538  x)
3539    { echo "$as_me:$LINENO: result: none needed" >&5
3540echo "${ECHO_T}none needed" >&6; } ;;
3541  xno)
3542    { echo "$as_me:$LINENO: result: unsupported" >&5
3543echo "${ECHO_T}unsupported" >&6; } ;;
3544  *)
3545    CC="$CC $ac_cv_prog_cc_c89"
3546    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3547echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3548esac
3549
3550
3551ac_ext=c
3552ac_cpp='$CPP $CPPFLAGS'
3553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556DEPDIR="${am__leading_dot}deps"
3557
3558ac_config_commands="$ac_config_commands depfiles"
3559
3560
3561am_make=${MAKE-make}
3562cat > confinc << 'END'
3563am__doit:
3564	@echo done
3565.PHONY: am__doit
3566END
3567# If we don't find an include directive, just comment out the code.
3568{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3569echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3570am__include="#"
3571am__quote=
3572_am_result=none
3573# First try GNU make style include.
3574echo "include confinc" > confmf
3575# We grep out `Entering directory' and `Leaving directory'
3576# messages which can occur if `w' ends up in MAKEFLAGS.
3577# In particular we don't look at `^make:' because GNU make might
3578# be invoked under some other name (usually "gmake"), in which
3579# case it prints its new name instead of `make'.
3580if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3581   am__include=include
3582   am__quote=
3583   _am_result=GNU
3584fi
3585# Now try BSD make style include.
3586if test "$am__include" = "#"; then
3587   echo '.include "confinc"' > confmf
3588   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3589      am__include=.include
3590      am__quote="\""
3591      _am_result=BSD
3592   fi
3593fi
3594
3595
3596{ echo "$as_me:$LINENO: result: $_am_result" >&5
3597echo "${ECHO_T}$_am_result" >&6; }
3598rm -f confinc confmf
3599
3600# Check whether --enable-dependency-tracking was given.
3601if test "${enable_dependency_tracking+set}" = set; then
3602  enableval=$enable_dependency_tracking;
3603fi
3604
3605if test "x$enable_dependency_tracking" != xno; then
3606  am_depcomp="$ac_aux_dir/depcomp"
3607  AMDEPBACKSLASH='\'
3608fi
3609 if test "x$enable_dependency_tracking" != xno; then
3610  AMDEP_TRUE=
3611  AMDEP_FALSE='#'
3612else
3613  AMDEP_TRUE='#'
3614  AMDEP_FALSE=
3615fi
3616
3617
3618
3619depcc="$CC"   am_compiler_list=
3620
3621{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3622echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3623if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3624  echo $ECHO_N "(cached) $ECHO_C" >&6
3625else
3626  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3627  # We make a subdir and do the tests there.  Otherwise we can end up
3628  # making bogus files that we don't know about and never remove.  For
3629  # instance it was reported that on HP-UX the gcc test will end up
3630  # making a dummy file named `D' -- because `-MD' means `put the output
3631  # in D'.
3632  mkdir conftest.dir
3633  # Copy depcomp to subdir because otherwise we won't find it if we're
3634  # using a relative directory.
3635  cp "$am_depcomp" conftest.dir
3636  cd conftest.dir
3637  # We will build objects and dependencies in a subdirectory because
3638  # it helps to detect inapplicable dependency modes.  For instance
3639  # both Tru64's cc and ICC support -MD to output dependencies as a
3640  # side effect of compilation, but ICC will put the dependencies in
3641  # the current directory while Tru64 will put them in the object
3642  # directory.
3643  mkdir sub
3644
3645  am_cv_CC_dependencies_compiler_type=none
3646  if test "$am_compiler_list" = ""; then
3647     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3648  fi
3649  for depmode in $am_compiler_list; do
3650    # Setup a source with many dependencies, because some compilers
3651    # like to wrap large dependency lists on column 80 (with \), and
3652    # we should not choose a depcomp mode which is confused by this.
3653    #
3654    # We need to recreate these files for each test, as the compiler may
3655    # overwrite some of them when testing with obscure command lines.
3656    # This happens at least with the AIX C compiler.
3657    : > sub/conftest.c
3658    for i in 1 2 3 4 5 6; do
3659      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3660      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3661      # Solaris 8's {/usr,}/bin/sh.
3662      touch sub/conftst$i.h
3663    done
3664    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3665
3666    case $depmode in
3667    nosideeffect)
3668      # after this tag, mechanisms are not by side-effect, so they'll
3669      # only be used when explicitly requested
3670      if test "x$enable_dependency_tracking" = xyes; then
3671	continue
3672      else
3673	break
3674      fi
3675      ;;
3676    none) break ;;
3677    esac
3678    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3679    # mode.  It turns out that the SunPro C++ compiler does not properly
3680    # handle `-M -o', and we need to detect this.
3681    if depmode=$depmode \
3682       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3683       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3684       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3685         >/dev/null 2>conftest.err &&
3686       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3687       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3688       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3689       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3690      # icc doesn't choke on unknown options, it will just issue warnings
3691      # or remarks (even with -Werror).  So we grep stderr for any message
3692      # that says an option was ignored or not supported.
3693      # When given -MP, icc 7.0 and 7.1 complain thusly:
3694      #   icc: Command line warning: ignoring option '-M'; no argument required
3695      # The diagnosis changed in icc 8.0:
3696      #   icc: Command line remark: option '-MP' not supported
3697      if (grep 'ignoring option' conftest.err ||
3698          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3699        am_cv_CC_dependencies_compiler_type=$depmode
3700        break
3701      fi
3702    fi
3703  done
3704
3705  cd ..
3706  rm -rf conftest.dir
3707else
3708  am_cv_CC_dependencies_compiler_type=none
3709fi
3710
3711fi
3712{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3713echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3714CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3715
3716 if
3717  test "x$enable_dependency_tracking" != xno \
3718  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3719  am__fastdepCC_TRUE=
3720  am__fastdepCC_FALSE='#'
3721else
3722  am__fastdepCC_TRUE='#'
3723  am__fastdepCC_FALSE=
3724fi
3725
3726
3727ac_ext=c
3728ac_cpp='$CPP $CPPFLAGS'
3729ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3733echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3734# On Suns, sometimes $CPP names a directory.
3735if test -n "$CPP" && test -d "$CPP"; then
3736  CPP=
3737fi
3738if test -z "$CPP"; then
3739  if test "${ac_cv_prog_CPP+set}" = set; then
3740  echo $ECHO_N "(cached) $ECHO_C" >&6
3741else
3742      # Double quotes because CPP needs to be expanded
3743    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3744    do
3745      ac_preproc_ok=false
3746for ac_c_preproc_warn_flag in '' yes
3747do
3748  # Use a header file that comes with gcc, so configuring glibc
3749  # with a fresh cross-compiler works.
3750  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3751  # <limits.h> exists even on freestanding compilers.
3752  # On the NeXT, cc -E runs the code through the compiler's parser,
3753  # not just through cpp. "Syntax error" is here to catch this case.
3754  cat >conftest.$ac_ext <<_ACEOF
3755/* confdefs.h.  */
3756_ACEOF
3757cat confdefs.h >>conftest.$ac_ext
3758cat >>conftest.$ac_ext <<_ACEOF
3759/* end confdefs.h.  */
3760#ifdef __STDC__
3761# include <limits.h>
3762#else
3763# include <assert.h>
3764#endif
3765		     Syntax error
3766_ACEOF
3767if { (ac_try="$ac_cpp conftest.$ac_ext"
3768case "(($ac_try" in
3769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3770  *) ac_try_echo=$ac_try;;
3771esac
3772eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3773  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3774  ac_status=$?
3775  grep -v '^ *+' conftest.er1 >conftest.err
3776  rm -f conftest.er1
3777  cat conftest.err >&5
3778  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3779  (exit $ac_status); } >/dev/null && {
3780	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3781	 test ! -s conftest.err
3782       }; then
3783  :
3784else
3785  echo "$as_me: failed program was:" >&5
3786sed 's/^/| /' conftest.$ac_ext >&5
3787
3788  # Broken: fails on valid input.
3789continue
3790fi
3791
3792rm -f conftest.err conftest.$ac_ext
3793
3794  # OK, works on sane cases.  Now check whether nonexistent headers
3795  # can be detected and how.
3796  cat >conftest.$ac_ext <<_ACEOF
3797/* confdefs.h.  */
3798_ACEOF
3799cat confdefs.h >>conftest.$ac_ext
3800cat >>conftest.$ac_ext <<_ACEOF
3801/* end confdefs.h.  */
3802#include <ac_nonexistent.h>
3803_ACEOF
3804if { (ac_try="$ac_cpp conftest.$ac_ext"
3805case "(($ac_try" in
3806  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807  *) ac_try_echo=$ac_try;;
3808esac
3809eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3811  ac_status=$?
3812  grep -v '^ *+' conftest.er1 >conftest.err
3813  rm -f conftest.er1
3814  cat conftest.err >&5
3815  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816  (exit $ac_status); } >/dev/null && {
3817	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3818	 test ! -s conftest.err
3819       }; then
3820  # Broken: success on invalid input.
3821continue
3822else
3823  echo "$as_me: failed program was:" >&5
3824sed 's/^/| /' conftest.$ac_ext >&5
3825
3826  # Passes both tests.
3827ac_preproc_ok=:
3828break
3829fi
3830
3831rm -f conftest.err conftest.$ac_ext
3832
3833done
3834# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3835rm -f conftest.err conftest.$ac_ext
3836if $ac_preproc_ok; then
3837  break
3838fi
3839
3840    done
3841    ac_cv_prog_CPP=$CPP
3842
3843fi
3844  CPP=$ac_cv_prog_CPP
3845else
3846  ac_cv_prog_CPP=$CPP
3847fi
3848{ echo "$as_me:$LINENO: result: $CPP" >&5
3849echo "${ECHO_T}$CPP" >&6; }
3850ac_preproc_ok=false
3851for ac_c_preproc_warn_flag in '' yes
3852do
3853  # Use a header file that comes with gcc, so configuring glibc
3854  # with a fresh cross-compiler works.
3855  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3856  # <limits.h> exists even on freestanding compilers.
3857  # On the NeXT, cc -E runs the code through the compiler's parser,
3858  # not just through cpp. "Syntax error" is here to catch this case.
3859  cat >conftest.$ac_ext <<_ACEOF
3860/* confdefs.h.  */
3861_ACEOF
3862cat confdefs.h >>conftest.$ac_ext
3863cat >>conftest.$ac_ext <<_ACEOF
3864/* end confdefs.h.  */
3865#ifdef __STDC__
3866# include <limits.h>
3867#else
3868# include <assert.h>
3869#endif
3870		     Syntax error
3871_ACEOF
3872if { (ac_try="$ac_cpp conftest.$ac_ext"
3873case "(($ac_try" in
3874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3875  *) ac_try_echo=$ac_try;;
3876esac
3877eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3878  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3879  ac_status=$?
3880  grep -v '^ *+' conftest.er1 >conftest.err
3881  rm -f conftest.er1
3882  cat conftest.err >&5
3883  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884  (exit $ac_status); } >/dev/null && {
3885	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3886	 test ! -s conftest.err
3887       }; then
3888  :
3889else
3890  echo "$as_me: failed program was:" >&5
3891sed 's/^/| /' conftest.$ac_ext >&5
3892
3893  # Broken: fails on valid input.
3894continue
3895fi
3896
3897rm -f conftest.err conftest.$ac_ext
3898
3899  # OK, works on sane cases.  Now check whether nonexistent headers
3900  # can be detected and how.
3901  cat >conftest.$ac_ext <<_ACEOF
3902/* confdefs.h.  */
3903_ACEOF
3904cat confdefs.h >>conftest.$ac_ext
3905cat >>conftest.$ac_ext <<_ACEOF
3906/* end confdefs.h.  */
3907#include <ac_nonexistent.h>
3908_ACEOF
3909if { (ac_try="$ac_cpp conftest.$ac_ext"
3910case "(($ac_try" in
3911  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3912  *) ac_try_echo=$ac_try;;
3913esac
3914eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3915  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3916  ac_status=$?
3917  grep -v '^ *+' conftest.er1 >conftest.err
3918  rm -f conftest.er1
3919  cat conftest.err >&5
3920  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3921  (exit $ac_status); } >/dev/null && {
3922	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3923	 test ! -s conftest.err
3924       }; then
3925  # Broken: success on invalid input.
3926continue
3927else
3928  echo "$as_me: failed program was:" >&5
3929sed 's/^/| /' conftest.$ac_ext >&5
3930
3931  # Passes both tests.
3932ac_preproc_ok=:
3933break
3934fi
3935
3936rm -f conftest.err conftest.$ac_ext
3937
3938done
3939# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3940rm -f conftest.err conftest.$ac_ext
3941if $ac_preproc_ok; then
3942  :
3943else
3944  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3945See \`config.log' for more details." >&5
3946echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3947See \`config.log' for more details." >&2;}
3948   { (exit 1); exit 1; }; }
3949fi
3950
3951ac_ext=c
3952ac_cpp='$CPP $CPPFLAGS'
3953ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955ac_compiler_gnu=$ac_cv_c_compiler_gnu
3956
3957CFLAGS="$cflags_save"
3958
3959
3960{ echo "$as_me:$LINENO: checking for inline" >&5
3961echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
3962if test "${ac_cv_c_inline+set}" = set; then
3963  echo $ECHO_N "(cached) $ECHO_C" >&6
3964else
3965  ac_cv_c_inline=no
3966for ac_kw in inline __inline__ __inline; do
3967  cat >conftest.$ac_ext <<_ACEOF
3968/* confdefs.h.  */
3969_ACEOF
3970cat confdefs.h >>conftest.$ac_ext
3971cat >>conftest.$ac_ext <<_ACEOF
3972/* end confdefs.h.  */
3973#ifndef __cplusplus
3974typedef int foo_t;
3975static $ac_kw foo_t static_foo () {return 0; }
3976$ac_kw foo_t foo () {return 0; }
3977#endif
3978
3979_ACEOF
3980rm -f conftest.$ac_objext
3981if { (ac_try="$ac_compile"
3982case "(($ac_try" in
3983  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3984  *) ac_try_echo=$ac_try;;
3985esac
3986eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3987  (eval "$ac_compile") 2>conftest.er1
3988  ac_status=$?
3989  grep -v '^ *+' conftest.er1 >conftest.err
3990  rm -f conftest.er1
3991  cat conftest.err >&5
3992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3993  (exit $ac_status); } && {
3994	 test -z "$ac_c_werror_flag" ||
3995	 test ! -s conftest.err
3996       } && test -s conftest.$ac_objext; then
3997  ac_cv_c_inline=$ac_kw
3998else
3999  echo "$as_me: failed program was:" >&5
4000sed 's/^/| /' conftest.$ac_ext >&5
4001
4002
4003fi
4004
4005rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4006  test "$ac_cv_c_inline" != no && break
4007done
4008
4009fi
4010{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4011echo "${ECHO_T}$ac_cv_c_inline" >&6; }
4012
4013
4014case $ac_cv_c_inline in
4015  inline | yes) ;;
4016  *)
4017    case $ac_cv_c_inline in
4018      no) ac_val=;;
4019      *) ac_val=$ac_cv_c_inline;;
4020    esac
4021    cat >>confdefs.h <<_ACEOF
4022#ifndef __cplusplus
4023#define inline $ac_val
4024#endif
4025_ACEOF
4026    ;;
4027esac
4028
4029
4030enable_win32_dll=yes
4031
4032case $host in
4033*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
4034  if test -n "$ac_tool_prefix"; then
4035  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4036set dummy ${ac_tool_prefix}as; ac_word=$2
4037{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4038echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4039if test "${ac_cv_prog_AS+set}" = set; then
4040  echo $ECHO_N "(cached) $ECHO_C" >&6
4041else
4042  if test -n "$AS"; then
4043  ac_cv_prog_AS="$AS" # Let the user override the test.
4044else
4045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4046for as_dir in $PATH
4047do
4048  IFS=$as_save_IFS
4049  test -z "$as_dir" && as_dir=.
4050  for ac_exec_ext in '' $ac_executable_extensions; do
4051  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4052    ac_cv_prog_AS="${ac_tool_prefix}as"
4053    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4054    break 2
4055  fi
4056done
4057done
4058IFS=$as_save_IFS
4059
4060fi
4061fi
4062AS=$ac_cv_prog_AS
4063if test -n "$AS"; then
4064  { echo "$as_me:$LINENO: result: $AS" >&5
4065echo "${ECHO_T}$AS" >&6; }
4066else
4067  { echo "$as_me:$LINENO: result: no" >&5
4068echo "${ECHO_T}no" >&6; }
4069fi
4070
4071
4072fi
4073if test -z "$ac_cv_prog_AS"; then
4074  ac_ct_AS=$AS
4075  # Extract the first word of "as", so it can be a program name with args.
4076set dummy as; ac_word=$2
4077{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4078echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4079if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4080  echo $ECHO_N "(cached) $ECHO_C" >&6
4081else
4082  if test -n "$ac_ct_AS"; then
4083  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4084else
4085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4086for as_dir in $PATH
4087do
4088  IFS=$as_save_IFS
4089  test -z "$as_dir" && as_dir=.
4090  for ac_exec_ext in '' $ac_executable_extensions; do
4091  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4092    ac_cv_prog_ac_ct_AS="as"
4093    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4094    break 2
4095  fi
4096done
4097done
4098IFS=$as_save_IFS
4099
4100fi
4101fi
4102ac_ct_AS=$ac_cv_prog_ac_ct_AS
4103if test -n "$ac_ct_AS"; then
4104  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4105echo "${ECHO_T}$ac_ct_AS" >&6; }
4106else
4107  { echo "$as_me:$LINENO: result: no" >&5
4108echo "${ECHO_T}no" >&6; }
4109fi
4110
4111  if test "x$ac_ct_AS" = x; then
4112    AS="false"
4113  else
4114    case $cross_compiling:$ac_tool_warned in
4115yes:)
4116{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4117whose name does not start with the host triplet.  If you think this
4118configuration is useful to you, please write to autoconf@gnu.org." >&5
4119echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4120whose name does not start with the host triplet.  If you think this
4121configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4122ac_tool_warned=yes ;;
4123esac
4124    AS=$ac_ct_AS
4125  fi
4126else
4127  AS="$ac_cv_prog_AS"
4128fi
4129
4130  if test -n "$ac_tool_prefix"; then
4131  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4132set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4133{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4134echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4135if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4136  echo $ECHO_N "(cached) $ECHO_C" >&6
4137else
4138  if test -n "$DLLTOOL"; then
4139  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4140else
4141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142for as_dir in $PATH
4143do
4144  IFS=$as_save_IFS
4145  test -z "$as_dir" && as_dir=.
4146  for ac_exec_ext in '' $ac_executable_extensions; do
4147  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4148    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4149    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4150    break 2
4151  fi
4152done
4153done
4154IFS=$as_save_IFS
4155
4156fi
4157fi
4158DLLTOOL=$ac_cv_prog_DLLTOOL
4159if test -n "$DLLTOOL"; then
4160  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4161echo "${ECHO_T}$DLLTOOL" >&6; }
4162else
4163  { echo "$as_me:$LINENO: result: no" >&5
4164echo "${ECHO_T}no" >&6; }
4165fi
4166
4167
4168fi
4169if test -z "$ac_cv_prog_DLLTOOL"; then
4170  ac_ct_DLLTOOL=$DLLTOOL
4171  # Extract the first word of "dlltool", so it can be a program name with args.
4172set dummy dlltool; ac_word=$2
4173{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4174echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4175if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4176  echo $ECHO_N "(cached) $ECHO_C" >&6
4177else
4178  if test -n "$ac_ct_DLLTOOL"; then
4179  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4180else
4181as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4182for as_dir in $PATH
4183do
4184  IFS=$as_save_IFS
4185  test -z "$as_dir" && as_dir=.
4186  for ac_exec_ext in '' $ac_executable_extensions; do
4187  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4188    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4189    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4190    break 2
4191  fi
4192done
4193done
4194IFS=$as_save_IFS
4195
4196fi
4197fi
4198ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4199if test -n "$ac_ct_DLLTOOL"; then
4200  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4201echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4202else
4203  { echo "$as_me:$LINENO: result: no" >&5
4204echo "${ECHO_T}no" >&6; }
4205fi
4206
4207  if test "x$ac_ct_DLLTOOL" = x; then
4208    DLLTOOL="false"
4209  else
4210    case $cross_compiling:$ac_tool_warned in
4211yes:)
4212{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4213whose name does not start with the host triplet.  If you think this
4214configuration is useful to you, please write to autoconf@gnu.org." >&5
4215echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4216whose name does not start with the host triplet.  If you think this
4217configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4218ac_tool_warned=yes ;;
4219esac
4220    DLLTOOL=$ac_ct_DLLTOOL
4221  fi
4222else
4223  DLLTOOL="$ac_cv_prog_DLLTOOL"
4224fi
4225
4226  if test -n "$ac_tool_prefix"; then
4227  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4228set dummy ${ac_tool_prefix}objdump; ac_word=$2
4229{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4230echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4231if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4232  echo $ECHO_N "(cached) $ECHO_C" >&6
4233else
4234  if test -n "$OBJDUMP"; then
4235  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4236else
4237as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4238for as_dir in $PATH
4239do
4240  IFS=$as_save_IFS
4241  test -z "$as_dir" && as_dir=.
4242  for ac_exec_ext in '' $ac_executable_extensions; do
4243  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4244    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4245    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4246    break 2
4247  fi
4248done
4249done
4250IFS=$as_save_IFS
4251
4252fi
4253fi
4254OBJDUMP=$ac_cv_prog_OBJDUMP
4255if test -n "$OBJDUMP"; then
4256  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4257echo "${ECHO_T}$OBJDUMP" >&6; }
4258else
4259  { echo "$as_me:$LINENO: result: no" >&5
4260echo "${ECHO_T}no" >&6; }
4261fi
4262
4263
4264fi
4265if test -z "$ac_cv_prog_OBJDUMP"; then
4266  ac_ct_OBJDUMP=$OBJDUMP
4267  # Extract the first word of "objdump", so it can be a program name with args.
4268set dummy objdump; ac_word=$2
4269{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4270echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4271if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4272  echo $ECHO_N "(cached) $ECHO_C" >&6
4273else
4274  if test -n "$ac_ct_OBJDUMP"; then
4275  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4276else
4277as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4278for as_dir in $PATH
4279do
4280  IFS=$as_save_IFS
4281  test -z "$as_dir" && as_dir=.
4282  for ac_exec_ext in '' $ac_executable_extensions; do
4283  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4284    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4285    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4286    break 2
4287  fi
4288done
4289done
4290IFS=$as_save_IFS
4291
4292fi
4293fi
4294ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4295if test -n "$ac_ct_OBJDUMP"; then
4296  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4297echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4298else
4299  { echo "$as_me:$LINENO: result: no" >&5
4300echo "${ECHO_T}no" >&6; }
4301fi
4302
4303  if test "x$ac_ct_OBJDUMP" = x; then
4304    OBJDUMP="false"
4305  else
4306    case $cross_compiling:$ac_tool_warned in
4307yes:)
4308{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4309whose name does not start with the host triplet.  If you think this
4310configuration is useful to you, please write to autoconf@gnu.org." >&5
4311echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4312whose name does not start with the host triplet.  If you think this
4313configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4314ac_tool_warned=yes ;;
4315esac
4316    OBJDUMP=$ac_ct_OBJDUMP
4317  fi
4318else
4319  OBJDUMP="$ac_cv_prog_OBJDUMP"
4320fi
4321
4322  ;;
4323esac
4324
4325test -z "$AS" && AS=as
4326
4327
4328
4329
4330
4331test -z "$DLLTOOL" && DLLTOOL=dlltool
4332
4333
4334
4335
4336
4337test -z "$OBJDUMP" && OBJDUMP=objdump
4338
4339
4340
4341
4342
4343
4344
4345case `pwd` in
4346  *\ * | *\	*)
4347    { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4348echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4349esac
4350
4351
4352
4353macro_version='2.2.6'
4354macro_revision='1.3012'
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368ltmain="$ac_aux_dir/ltmain.sh"
4369
4370{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4371echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4372if test "${ac_cv_path_SED+set}" = set; then
4373  echo $ECHO_N "(cached) $ECHO_C" >&6
4374else
4375            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4376     for ac_i in 1 2 3 4 5 6 7; do
4377       ac_script="$ac_script$as_nl$ac_script"
4378     done
4379     echo "$ac_script" | sed 99q >conftest.sed
4380     $as_unset ac_script || ac_script=
4381     # Extract the first word of "sed gsed" to use in msg output
4382if test -z "$SED"; then
4383set dummy sed gsed; ac_prog_name=$2
4384if test "${ac_cv_path_SED+set}" = set; then
4385  echo $ECHO_N "(cached) $ECHO_C" >&6
4386else
4387  ac_path_SED_found=false
4388# Loop through the user's path and test for each of PROGNAME-LIST
4389as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4390for as_dir in $PATH
4391do
4392  IFS=$as_save_IFS
4393  test -z "$as_dir" && as_dir=.
4394  for ac_prog in sed gsed; do
4395  for ac_exec_ext in '' $ac_executable_extensions; do
4396    ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4397    { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4398    # Check for GNU ac_path_SED and select it if it is found.
4399  # Check for GNU $ac_path_SED
4400case `"$ac_path_SED" --version 2>&1` in
4401*GNU*)
4402  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4403*)
4404  ac_count=0
4405  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4406  while :
4407  do
4408    cat "conftest.in" "conftest.in" >"conftest.tmp"
4409    mv "conftest.tmp" "conftest.in"
4410    cp "conftest.in" "conftest.nl"
4411    echo '' >> "conftest.nl"
4412    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4413    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4414    ac_count=`expr $ac_count + 1`
4415    if test $ac_count -gt ${ac_path_SED_max-0}; then
4416      # Best one so far, save it but keep looking for a better one
4417      ac_cv_path_SED="$ac_path_SED"
4418      ac_path_SED_max=$ac_count
4419    fi
4420    # 10*(2^10) chars as input seems more than enough
4421    test $ac_count -gt 10 && break
4422  done
4423  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4424esac
4425
4426
4427    $ac_path_SED_found && break 3
4428  done
4429done
4430
4431done
4432IFS=$as_save_IFS
4433
4434
4435fi
4436
4437SED="$ac_cv_path_SED"
4438if test -z "$SED"; then
4439  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
4440echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
4441   { (exit 1); exit 1; }; }
4442fi
4443
4444else
4445  ac_cv_path_SED=$SED
4446fi
4447
4448fi
4449{ echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
4450echo "${ECHO_T}$ac_cv_path_SED" >&6; }
4451 SED="$ac_cv_path_SED"
4452  rm -f conftest.sed
4453
4454test -z "$SED" && SED=sed
4455Xsed="$SED -e 1s/^X//"
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4468echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4469if test "${ac_cv_path_GREP+set}" = set; then
4470  echo $ECHO_N "(cached) $ECHO_C" >&6
4471else
4472  # Extract the first word of "grep ggrep" to use in msg output
4473if test -z "$GREP"; then
4474set dummy grep ggrep; ac_prog_name=$2
4475if test "${ac_cv_path_GREP+set}" = set; then
4476  echo $ECHO_N "(cached) $ECHO_C" >&6
4477else
4478  ac_path_GREP_found=false
4479# Loop through the user's path and test for each of PROGNAME-LIST
4480as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4481for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4482do
4483  IFS=$as_save_IFS
4484  test -z "$as_dir" && as_dir=.
4485  for ac_prog in grep ggrep; do
4486  for ac_exec_ext in '' $ac_executable_extensions; do
4487    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4488    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4489    # Check for GNU ac_path_GREP and select it if it is found.
4490  # Check for GNU $ac_path_GREP
4491case `"$ac_path_GREP" --version 2>&1` in
4492*GNU*)
4493  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4494*)
4495  ac_count=0
4496  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4497  while :
4498  do
4499    cat "conftest.in" "conftest.in" >"conftest.tmp"
4500    mv "conftest.tmp" "conftest.in"
4501    cp "conftest.in" "conftest.nl"
4502    echo 'GREP' >> "conftest.nl"
4503    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4504    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4505    ac_count=`expr $ac_count + 1`
4506    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4507      # Best one so far, save it but keep looking for a better one
4508      ac_cv_path_GREP="$ac_path_GREP"
4509      ac_path_GREP_max=$ac_count
4510    fi
4511    # 10*(2^10) chars as input seems more than enough
4512    test $ac_count -gt 10 && break
4513  done
4514  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4515esac
4516
4517
4518    $ac_path_GREP_found && break 3
4519  done
4520done
4521
4522done
4523IFS=$as_save_IFS
4524
4525
4526fi
4527
4528GREP="$ac_cv_path_GREP"
4529if test -z "$GREP"; then
4530  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4531echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4532   { (exit 1); exit 1; }; }
4533fi
4534
4535else
4536  ac_cv_path_GREP=$GREP
4537fi
4538
4539
4540fi
4541{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4542echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4543 GREP="$ac_cv_path_GREP"
4544
4545
4546{ echo "$as_me:$LINENO: checking for egrep" >&5
4547echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4548if test "${ac_cv_path_EGREP+set}" = set; then
4549  echo $ECHO_N "(cached) $ECHO_C" >&6
4550else
4551  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4552   then ac_cv_path_EGREP="$GREP -E"
4553   else
4554     # Extract the first word of "egrep" to use in msg output
4555if test -z "$EGREP"; then
4556set dummy egrep; ac_prog_name=$2
4557if test "${ac_cv_path_EGREP+set}" = set; then
4558  echo $ECHO_N "(cached) $ECHO_C" >&6
4559else
4560  ac_path_EGREP_found=false
4561# Loop through the user's path and test for each of PROGNAME-LIST
4562as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4564do
4565  IFS=$as_save_IFS
4566  test -z "$as_dir" && as_dir=.
4567  for ac_prog in egrep; do
4568  for ac_exec_ext in '' $ac_executable_extensions; do
4569    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4570    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4571    # Check for GNU ac_path_EGREP and select it if it is found.
4572  # Check for GNU $ac_path_EGREP
4573case `"$ac_path_EGREP" --version 2>&1` in
4574*GNU*)
4575  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4576*)
4577  ac_count=0
4578  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4579  while :
4580  do
4581    cat "conftest.in" "conftest.in" >"conftest.tmp"
4582    mv "conftest.tmp" "conftest.in"
4583    cp "conftest.in" "conftest.nl"
4584    echo 'EGREP' >> "conftest.nl"
4585    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4586    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4587    ac_count=`expr $ac_count + 1`
4588    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4589      # Best one so far, save it but keep looking for a better one
4590      ac_cv_path_EGREP="$ac_path_EGREP"
4591      ac_path_EGREP_max=$ac_count
4592    fi
4593    # 10*(2^10) chars as input seems more than enough
4594    test $ac_count -gt 10 && break
4595  done
4596  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4597esac
4598
4599
4600    $ac_path_EGREP_found && break 3
4601  done
4602done
4603
4604done
4605IFS=$as_save_IFS
4606
4607
4608fi
4609
4610EGREP="$ac_cv_path_EGREP"
4611if test -z "$EGREP"; then
4612  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4613echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4614   { (exit 1); exit 1; }; }
4615fi
4616
4617else
4618  ac_cv_path_EGREP=$EGREP
4619fi
4620
4621
4622   fi
4623fi
4624{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4625echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4626 EGREP="$ac_cv_path_EGREP"
4627
4628
4629{ echo "$as_me:$LINENO: checking for fgrep" >&5
4630echo $ECHO_N "checking for fgrep... $ECHO_C" >&6; }
4631if test "${ac_cv_path_FGREP+set}" = set; then
4632  echo $ECHO_N "(cached) $ECHO_C" >&6
4633else
4634  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4635   then ac_cv_path_FGREP="$GREP -F"
4636   else
4637     # Extract the first word of "fgrep" to use in msg output
4638if test -z "$FGREP"; then
4639set dummy fgrep; ac_prog_name=$2
4640if test "${ac_cv_path_FGREP+set}" = set; then
4641  echo $ECHO_N "(cached) $ECHO_C" >&6
4642else
4643  ac_path_FGREP_found=false
4644# Loop through the user's path and test for each of PROGNAME-LIST
4645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4646for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4647do
4648  IFS=$as_save_IFS
4649  test -z "$as_dir" && as_dir=.
4650  for ac_prog in fgrep; do
4651  for ac_exec_ext in '' $ac_executable_extensions; do
4652    ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4653    { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4654    # Check for GNU ac_path_FGREP and select it if it is found.
4655  # Check for GNU $ac_path_FGREP
4656case `"$ac_path_FGREP" --version 2>&1` in
4657*GNU*)
4658  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4659*)
4660  ac_count=0
4661  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4662  while :
4663  do
4664    cat "conftest.in" "conftest.in" >"conftest.tmp"
4665    mv "conftest.tmp" "conftest.in"
4666    cp "conftest.in" "conftest.nl"
4667    echo 'FGREP' >> "conftest.nl"
4668    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4669    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4670    ac_count=`expr $ac_count + 1`
4671    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4672      # Best one so far, save it but keep looking for a better one
4673      ac_cv_path_FGREP="$ac_path_FGREP"
4674      ac_path_FGREP_max=$ac_count
4675    fi
4676    # 10*(2^10) chars as input seems more than enough
4677    test $ac_count -gt 10 && break
4678  done
4679  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4680esac
4681
4682
4683    $ac_path_FGREP_found && break 3
4684  done
4685done
4686
4687done
4688IFS=$as_save_IFS
4689
4690
4691fi
4692
4693FGREP="$ac_cv_path_FGREP"
4694if test -z "$FGREP"; then
4695  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4696echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4697   { (exit 1); exit 1; }; }
4698fi
4699
4700else
4701  ac_cv_path_FGREP=$FGREP
4702fi
4703
4704
4705   fi
4706fi
4707{ echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
4708echo "${ECHO_T}$ac_cv_path_FGREP" >&6; }
4709 FGREP="$ac_cv_path_FGREP"
4710
4711
4712test -z "$GREP" && GREP=grep
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732# Check whether --with-gnu-ld was given.
4733if test "${with_gnu_ld+set}" = set; then
4734  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4735else
4736  with_gnu_ld=no
4737fi
4738
4739ac_prog=ld
4740if test "$GCC" = yes; then
4741  # Check if gcc -print-prog-name=ld gives a path.
4742  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4743echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4744  case $host in
4745  *-*-mingw*)
4746    # gcc leaves a trailing carriage return which upsets mingw
4747    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4748  *)
4749    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4750  esac
4751  case $ac_prog in
4752    # Accept absolute paths.
4753    [\\/]* | ?:[\\/]*)
4754      re_direlt='/[^/][^/]*/\.\./'
4755      # Canonicalize the pathname of ld
4756      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4757      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4758	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4759      done
4760      test -z "$LD" && LD="$ac_prog"
4761      ;;
4762  "")
4763    # If it fails, then pretend we aren't using GCC.
4764    ac_prog=ld
4765    ;;
4766  *)
4767    # If it is relative, then search for the first ld in PATH.
4768    with_gnu_ld=unknown
4769    ;;
4770  esac
4771elif test "$with_gnu_ld" = yes; then
4772  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4773echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4774else
4775  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4776echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4777fi
4778if test "${lt_cv_path_LD+set}" = set; then
4779  echo $ECHO_N "(cached) $ECHO_C" >&6
4780else
4781  if test -z "$LD"; then
4782  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4783  for ac_dir in $PATH; do
4784    IFS="$lt_save_ifs"
4785    test -z "$ac_dir" && ac_dir=.
4786    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4787      lt_cv_path_LD="$ac_dir/$ac_prog"
4788      # Check to see if the program is GNU ld.  I'd rather use --version,
4789      # but apparently some variants of GNU ld only accept -v.
4790      # Break only if it was the GNU/non-GNU ld that we prefer.
4791      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4792      *GNU* | *'with BFD'*)
4793	test "$with_gnu_ld" != no && break
4794	;;
4795      *)
4796	test "$with_gnu_ld" != yes && break
4797	;;
4798      esac
4799    fi
4800  done
4801  IFS="$lt_save_ifs"
4802else
4803  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4804fi
4805fi
4806
4807LD="$lt_cv_path_LD"
4808if test -n "$LD"; then
4809  { echo "$as_me:$LINENO: result: $LD" >&5
4810echo "${ECHO_T}$LD" >&6; }
4811else
4812  { echo "$as_me:$LINENO: result: no" >&5
4813echo "${ECHO_T}no" >&6; }
4814fi
4815test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4816echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4817   { (exit 1); exit 1; }; }
4818{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4819echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4820if test "${lt_cv_prog_gnu_ld+set}" = set; then
4821  echo $ECHO_N "(cached) $ECHO_C" >&6
4822else
4823  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4824case `$LD -v 2>&1 </dev/null` in
4825*GNU* | *'with BFD'*)
4826  lt_cv_prog_gnu_ld=yes
4827  ;;
4828*)
4829  lt_cv_prog_gnu_ld=no
4830  ;;
4831esac
4832fi
4833{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4834echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4835with_gnu_ld=$lt_cv_prog_gnu_ld
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845{ echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4846echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6; }
4847if test "${lt_cv_path_NM+set}" = set; then
4848  echo $ECHO_N "(cached) $ECHO_C" >&6
4849else
4850  if test -n "$NM"; then
4851  # Let the user override the test.
4852  lt_cv_path_NM="$NM"
4853else
4854  lt_nm_to_check="${ac_tool_prefix}nm"
4855  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4856    lt_nm_to_check="$lt_nm_to_check nm"
4857  fi
4858  for lt_tmp_nm in $lt_nm_to_check; do
4859    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4860    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4861      IFS="$lt_save_ifs"
4862      test -z "$ac_dir" && ac_dir=.
4863      tmp_nm="$ac_dir/$lt_tmp_nm"
4864      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4865	# Check to see if the nm accepts a BSD-compat flag.
4866	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4867	#   nm: unknown option "B" ignored
4868	# Tru64's nm complains that /dev/null is an invalid object file
4869	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4870	*/dev/null* | *'Invalid file or object type'*)
4871	  lt_cv_path_NM="$tmp_nm -B"
4872	  break
4873	  ;;
4874	*)
4875	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4876	  */dev/null*)
4877	    lt_cv_path_NM="$tmp_nm -p"
4878	    break
4879	    ;;
4880	  *)
4881	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4882	    continue # so that we can try to find one that supports BSD flags
4883	    ;;
4884	  esac
4885	  ;;
4886	esac
4887      fi
4888    done
4889    IFS="$lt_save_ifs"
4890  done
4891  : ${lt_cv_path_NM=no}
4892fi
4893fi
4894{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4895echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4896if test "$lt_cv_path_NM" != "no"; then
4897  NM="$lt_cv_path_NM"
4898else
4899  # Didn't find any BSD compatible name lister, look for dumpbin.
4900  if test -n "$ac_tool_prefix"; then
4901  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4902  do
4903    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4904set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4905{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4906echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4907if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4908  echo $ECHO_N "(cached) $ECHO_C" >&6
4909else
4910  if test -n "$DUMPBIN"; then
4911  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4912else
4913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4914for as_dir in $PATH
4915do
4916  IFS=$as_save_IFS
4917  test -z "$as_dir" && as_dir=.
4918  for ac_exec_ext in '' $ac_executable_extensions; do
4919  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4921    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4922    break 2
4923  fi
4924done
4925done
4926IFS=$as_save_IFS
4927
4928fi
4929fi
4930DUMPBIN=$ac_cv_prog_DUMPBIN
4931if test -n "$DUMPBIN"; then
4932  { echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4933echo "${ECHO_T}$DUMPBIN" >&6; }
4934else
4935  { echo "$as_me:$LINENO: result: no" >&5
4936echo "${ECHO_T}no" >&6; }
4937fi
4938
4939
4940    test -n "$DUMPBIN" && break
4941  done
4942fi
4943if test -z "$DUMPBIN"; then
4944  ac_ct_DUMPBIN=$DUMPBIN
4945  for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4946do
4947  # Extract the first word of "$ac_prog", so it can be a program name with args.
4948set dummy $ac_prog; ac_word=$2
4949{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4950echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4951if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4952  echo $ECHO_N "(cached) $ECHO_C" >&6
4953else
4954  if test -n "$ac_ct_DUMPBIN"; then
4955  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4956else
4957as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958for as_dir in $PATH
4959do
4960  IFS=$as_save_IFS
4961  test -z "$as_dir" && as_dir=.
4962  for ac_exec_ext in '' $ac_executable_extensions; do
4963  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4964    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4965    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4966    break 2
4967  fi
4968done
4969done
4970IFS=$as_save_IFS
4971
4972fi
4973fi
4974ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4975if test -n "$ac_ct_DUMPBIN"; then
4976  { echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4977echo "${ECHO_T}$ac_ct_DUMPBIN" >&6; }
4978else
4979  { echo "$as_me:$LINENO: result: no" >&5
4980echo "${ECHO_T}no" >&6; }
4981fi
4982
4983
4984  test -n "$ac_ct_DUMPBIN" && break
4985done
4986
4987  if test "x$ac_ct_DUMPBIN" = x; then
4988    DUMPBIN=":"
4989  else
4990    case $cross_compiling:$ac_tool_warned in
4991yes:)
4992{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4993whose name does not start with the host triplet.  If you think this
4994configuration is useful to you, please write to autoconf@gnu.org." >&5
4995echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4996whose name does not start with the host triplet.  If you think this
4997configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4998ac_tool_warned=yes ;;
4999esac
5000    DUMPBIN=$ac_ct_DUMPBIN
5001  fi
5002fi
5003
5004
5005  if test "$DUMPBIN" != ":"; then
5006    NM="$DUMPBIN"
5007  fi
5008fi
5009test -z "$NM" && NM=nm
5010
5011
5012
5013
5014
5015
5016{ echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5017echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6; }
5018if test "${lt_cv_nm_interface+set}" = set; then
5019  echo $ECHO_N "(cached) $ECHO_C" >&6
5020else
5021  lt_cv_nm_interface="BSD nm"
5022  echo "int some_variable = 0;" > conftest.$ac_ext
5023  (eval echo "\"\$as_me:5023: $ac_compile\"" >&5)
5024  (eval "$ac_compile" 2>conftest.err)
5025  cat conftest.err >&5
5026  (eval echo "\"\$as_me:5026: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5027  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5028  cat conftest.err >&5
5029  (eval echo "\"\$as_me:5029: output\"" >&5)
5030  cat conftest.out >&5
5031  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5032    lt_cv_nm_interface="MS dumpbin"
5033  fi
5034  rm -f conftest*
5035fi
5036{ echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5037echo "${ECHO_T}$lt_cv_nm_interface" >&6; }
5038
5039{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
5040echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5041LN_S=$as_ln_s
5042if test "$LN_S" = "ln -s"; then
5043  { echo "$as_me:$LINENO: result: yes" >&5
5044echo "${ECHO_T}yes" >&6; }
5045else
5046  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5047echo "${ECHO_T}no, using $LN_S" >&6; }
5048fi
5049
5050# find the maximum length of command line arguments
5051{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5052echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5053if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5054  echo $ECHO_N "(cached) $ECHO_C" >&6
5055else
5056    i=0
5057  teststring="ABCD"
5058
5059  case $build_os in
5060  msdosdjgpp*)
5061    # On DJGPP, this test can blow up pretty badly due to problems in libc
5062    # (any single argument exceeding 2000 bytes causes a buffer overrun
5063    # during glob expansion).  Even if it were fixed, the result of this
5064    # check would be larger than it should be.
5065    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5066    ;;
5067
5068  gnu*)
5069    # Under GNU Hurd, this test is not required because there is
5070    # no limit to the length of command line arguments.
5071    # Libtool will interpret -1 as no limit whatsoever
5072    lt_cv_sys_max_cmd_len=-1;
5073    ;;
5074
5075  cygwin* | mingw* | cegcc*)
5076    # On Win9x/ME, this test blows up -- it succeeds, but takes
5077    # about 5 minutes as the teststring grows exponentially.
5078    # Worse, since 9x/ME are not pre-emptively multitasking,
5079    # you end up with a "frozen" computer, even though with patience
5080    # the test eventually succeeds (with a max line length of 256k).
5081    # Instead, let's just punt: use the minimum linelength reported by
5082    # all of the supported platforms: 8192 (on NT/2K/XP).
5083    lt_cv_sys_max_cmd_len=8192;
5084    ;;
5085
5086  amigaos*)
5087    # On AmigaOS with pdksh, this test takes hours, literally.
5088    # So we just punt and use a minimum line length of 8192.
5089    lt_cv_sys_max_cmd_len=8192;
5090    ;;
5091
5092  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5093    # This has been around since 386BSD, at least.  Likely further.
5094    if test -x /sbin/sysctl; then
5095      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5096    elif test -x /usr/sbin/sysctl; then
5097      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5098    else
5099      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5100    fi
5101    # And add a safety zone
5102    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5103    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5104    ;;
5105
5106  interix*)
5107    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5108    lt_cv_sys_max_cmd_len=196608
5109    ;;
5110
5111  osf*)
5112    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5113    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5114    # nice to cause kernel panics so lets avoid the loop below.
5115    # First set a reasonable default.
5116    lt_cv_sys_max_cmd_len=16384
5117    #
5118    if test -x /sbin/sysconfig; then
5119      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5120        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5121      esac
5122    fi
5123    ;;
5124  sco3.2v5*)
5125    lt_cv_sys_max_cmd_len=102400
5126    ;;
5127  sysv5* | sco5v6* | sysv4.2uw2*)
5128    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5129    if test -n "$kargmax"; then
5130      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5131    else
5132      lt_cv_sys_max_cmd_len=32768
5133    fi
5134    ;;
5135  *)
5136    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5137    if test -n "$lt_cv_sys_max_cmd_len"; then
5138      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5139      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5140    else
5141      # Make teststring a little bigger before we do anything with it.
5142      # a 1K string should be a reasonable start.
5143      for i in 1 2 3 4 5 6 7 8 ; do
5144        teststring=$teststring$teststring
5145      done
5146      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5147      # If test is not a shell built-in, we'll probably end up computing a
5148      # maximum length that is only half of the actual maximum length, but
5149      # we can't tell.
5150      while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
5151	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
5152	      test $i != 17 # 1/2 MB should be enough
5153      do
5154        i=`expr $i + 1`
5155        teststring=$teststring$teststring
5156      done
5157      # Only check the string length outside the loop.
5158      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5159      teststring=
5160      # Add a significant safety factor because C++ compilers can tack on
5161      # massive amounts of additional arguments before passing them to the
5162      # linker.  It appears as though 1/2 is a usable value.
5163      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5164    fi
5165    ;;
5166  esac
5167
5168fi
5169
5170if test -n $lt_cv_sys_max_cmd_len ; then
5171  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5172echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5173else
5174  { echo "$as_me:$LINENO: result: none" >&5
5175echo "${ECHO_T}none" >&6; }
5176fi
5177max_cmd_len=$lt_cv_sys_max_cmd_len
5178
5179
5180
5181
5182
5183
5184: ${CP="cp -f"}
5185: ${MV="mv -f"}
5186: ${RM="rm -f"}
5187
5188{ echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5189echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6; }
5190# Try some XSI features
5191xsi_shell=no
5192( _lt_dummy="a/b/c"
5193  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5194      = c,a/b,, \
5195    && eval 'test $(( 1 + 1 )) -eq 2 \
5196    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5197  && xsi_shell=yes
5198{ echo "$as_me:$LINENO: result: $xsi_shell" >&5
5199echo "${ECHO_T}$xsi_shell" >&6; }
5200
5201
5202{ echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5203echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6; }
5204lt_shell_append=no
5205( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5206    >/dev/null 2>&1 \
5207  && lt_shell_append=yes
5208{ echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5209echo "${ECHO_T}$lt_shell_append" >&6; }
5210
5211
5212if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5213  lt_unset=unset
5214else
5215  lt_unset=false
5216fi
5217
5218
5219
5220
5221
5222# test EBCDIC or ASCII
5223case `echo X|tr X '\101'` in
5224 A) # ASCII based system
5225    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5226  lt_SP2NL='tr \040 \012'
5227  lt_NL2SP='tr \015\012 \040\040'
5228  ;;
5229 *) # EBCDIC based system
5230  lt_SP2NL='tr \100 \n'
5231  lt_NL2SP='tr \r\n \100\100'
5232  ;;
5233esac
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5244echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
5245if test "${lt_cv_ld_reload_flag+set}" = set; then
5246  echo $ECHO_N "(cached) $ECHO_C" >&6
5247else
5248  lt_cv_ld_reload_flag='-r'
5249fi
5250{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5251echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
5252reload_flag=$lt_cv_ld_reload_flag
5253case $reload_flag in
5254"" | " "*) ;;
5255*) reload_flag=" $reload_flag" ;;
5256esac
5257reload_cmds='$LD$reload_flag -o $output$reload_objs'
5258case $host_os in
5259  darwin*)
5260    if test "$GCC" = yes; then
5261      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5262    else
5263      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5264    fi
5265    ;;
5266esac
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276if test -n "$ac_tool_prefix"; then
5277  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5278set dummy ${ac_tool_prefix}objdump; ac_word=$2
5279{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5280echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5281if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5282  echo $ECHO_N "(cached) $ECHO_C" >&6
5283else
5284  if test -n "$OBJDUMP"; then
5285  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5286else
5287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5288for as_dir in $PATH
5289do
5290  IFS=$as_save_IFS
5291  test -z "$as_dir" && as_dir=.
5292  for ac_exec_ext in '' $ac_executable_extensions; do
5293  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5294    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5295    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5296    break 2
5297  fi
5298done
5299done
5300IFS=$as_save_IFS
5301
5302fi
5303fi
5304OBJDUMP=$ac_cv_prog_OBJDUMP
5305if test -n "$OBJDUMP"; then
5306  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
5307echo "${ECHO_T}$OBJDUMP" >&6; }
5308else
5309  { echo "$as_me:$LINENO: result: no" >&5
5310echo "${ECHO_T}no" >&6; }
5311fi
5312
5313
5314fi
5315if test -z "$ac_cv_prog_OBJDUMP"; then
5316  ac_ct_OBJDUMP=$OBJDUMP
5317  # Extract the first word of "objdump", so it can be a program name with args.
5318set dummy objdump; ac_word=$2
5319{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5320echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5321if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
5322  echo $ECHO_N "(cached) $ECHO_C" >&6
5323else
5324  if test -n "$ac_ct_OBJDUMP"; then
5325  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5326else
5327as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5328for as_dir in $PATH
5329do
5330  IFS=$as_save_IFS
5331  test -z "$as_dir" && as_dir=.
5332  for ac_exec_ext in '' $ac_executable_extensions; do
5333  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5334    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5335    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336    break 2
5337  fi
5338done
5339done
5340IFS=$as_save_IFS
5341
5342fi
5343fi
5344ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5345if test -n "$ac_ct_OBJDUMP"; then
5346  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
5347echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
5348else
5349  { echo "$as_me:$LINENO: result: no" >&5
5350echo "${ECHO_T}no" >&6; }
5351fi
5352
5353  if test "x$ac_ct_OBJDUMP" = x; then
5354    OBJDUMP="false"
5355  else
5356    case $cross_compiling:$ac_tool_warned in
5357yes:)
5358{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5359whose name does not start with the host triplet.  If you think this
5360configuration is useful to you, please write to autoconf@gnu.org." >&5
5361echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5362whose name does not start with the host triplet.  If you think this
5363configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5364ac_tool_warned=yes ;;
5365esac
5366    OBJDUMP=$ac_ct_OBJDUMP
5367  fi
5368else
5369  OBJDUMP="$ac_cv_prog_OBJDUMP"
5370fi
5371
5372test -z "$OBJDUMP" && OBJDUMP=objdump
5373
5374
5375
5376
5377
5378
5379{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
5380echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
5381if test "${lt_cv_deplibs_check_method+set}" = set; then
5382  echo $ECHO_N "(cached) $ECHO_C" >&6
5383else
5384  lt_cv_file_magic_cmd='$MAGIC_CMD'
5385lt_cv_file_magic_test_file=
5386lt_cv_deplibs_check_method='unknown'
5387# Need to set the preceding variable on all platforms that support
5388# interlibrary dependencies.
5389# 'none' -- dependencies not supported.
5390# `unknown' -- same as none, but documents that we really don't know.
5391# 'pass_all' -- all dependencies passed with no checks.
5392# 'test_compile' -- check by making test program.
5393# 'file_magic [[regex]]' -- check by looking for files in library path
5394# which responds to the $file_magic_cmd with a given extended regex.
5395# If you have `file' or equivalent on your system and you're not sure
5396# whether `pass_all' will *always* work, you probably want this one.
5397
5398case $host_os in
5399aix[4-9]*)
5400  lt_cv_deplibs_check_method=pass_all
5401  ;;
5402
5403beos*)
5404  lt_cv_deplibs_check_method=pass_all
5405  ;;
5406
5407bsdi[45]*)
5408  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5409  lt_cv_file_magic_cmd='/usr/bin/file -L'
5410  lt_cv_file_magic_test_file=/shlib/libc.so
5411  ;;
5412
5413cygwin*)
5414  # func_win32_libid is a shell function defined in ltmain.sh
5415  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5416  lt_cv_file_magic_cmd='func_win32_libid'
5417  ;;
5418
5419mingw* | pw32*)
5420  # Base MSYS/MinGW do not provide the 'file' command needed by
5421  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5422  # unless we find 'file', for example because we are cross-compiling.
5423  if ( file / ) >/dev/null 2>&1; then
5424    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5425    lt_cv_file_magic_cmd='func_win32_libid'
5426  else
5427    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
5428    lt_cv_file_magic_cmd='$OBJDUMP -f'
5429  fi
5430  ;;
5431
5432cegcc)
5433  # use the weaker test based on 'objdump'. See mingw*.
5434  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5435  lt_cv_file_magic_cmd='$OBJDUMP -f'
5436  ;;
5437
5438darwin* | rhapsody*)
5439  lt_cv_deplibs_check_method=pass_all
5440  ;;
5441
5442freebsd* | dragonfly*)
5443  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5444    case $host_cpu in
5445    i*86 )
5446      # Not sure whether the presence of OpenBSD here was a mistake.
5447      # Let's accept both of them until this is cleared up.
5448      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5449      lt_cv_file_magic_cmd=/usr/bin/file
5450      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5451      ;;
5452    esac
5453  else
5454    lt_cv_deplibs_check_method=pass_all
5455  fi
5456  ;;
5457
5458gnu*)
5459  lt_cv_deplibs_check_method=pass_all
5460  ;;
5461
5462hpux10.20* | hpux11*)
5463  lt_cv_file_magic_cmd=/usr/bin/file
5464  case $host_cpu in
5465  ia64*)
5466    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5467    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5468    ;;
5469  hppa*64*)
5470    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5471    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5472    ;;
5473  *)
5474    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5475    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5476    ;;
5477  esac
5478  ;;
5479
5480interix[3-9]*)
5481  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5482  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5483  ;;
5484
5485irix5* | irix6* | nonstopux*)
5486  case $LD in
5487  *-32|*"-32 ") libmagic=32-bit;;
5488  *-n32|*"-n32 ") libmagic=N32;;
5489  *-64|*"-64 ") libmagic=64-bit;;
5490  *) libmagic=never-match;;
5491  esac
5492  lt_cv_deplibs_check_method=pass_all
5493  ;;
5494
5495# This must be Linux ELF.
5496linux* | k*bsd*-gnu)
5497  lt_cv_deplibs_check_method=pass_all
5498  ;;
5499
5500netbsd* | netbsdelf*-gnu)
5501  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5502    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5503  else
5504    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5505  fi
5506  ;;
5507
5508newos6*)
5509  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5510  lt_cv_file_magic_cmd=/usr/bin/file
5511  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5512  ;;
5513
5514*nto* | *qnx*)
5515  lt_cv_deplibs_check_method=pass_all
5516  ;;
5517
5518openbsd*)
5519  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5520    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5521  else
5522    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5523  fi
5524  ;;
5525
5526osf3* | osf4* | osf5*)
5527  lt_cv_deplibs_check_method=pass_all
5528  ;;
5529
5530rdos*)
5531  lt_cv_deplibs_check_method=pass_all
5532  ;;
5533
5534solaris*)
5535  lt_cv_deplibs_check_method=pass_all
5536  ;;
5537
5538sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5539  lt_cv_deplibs_check_method=pass_all
5540  ;;
5541
5542sysv4 | sysv4.3*)
5543  case $host_vendor in
5544  motorola)
5545    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]'
5546    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5547    ;;
5548  ncr)
5549    lt_cv_deplibs_check_method=pass_all
5550    ;;
5551  sequent)
5552    lt_cv_file_magic_cmd='/bin/file'
5553    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5554    ;;
5555  sni)
5556    lt_cv_file_magic_cmd='/bin/file'
5557    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5558    lt_cv_file_magic_test_file=/lib/libc.so
5559    ;;
5560  siemens)
5561    lt_cv_deplibs_check_method=pass_all
5562    ;;
5563  pc)
5564    lt_cv_deplibs_check_method=pass_all
5565    ;;
5566  esac
5567  ;;
5568
5569tpf*)
5570  lt_cv_deplibs_check_method=pass_all
5571  ;;
5572esac
5573
5574fi
5575{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5576echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
5577file_magic_cmd=$lt_cv_file_magic_cmd
5578deplibs_check_method=$lt_cv_deplibs_check_method
5579test -z "$deplibs_check_method" && deplibs_check_method=unknown
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592if test -n "$ac_tool_prefix"; then
5593  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5594set dummy ${ac_tool_prefix}ar; ac_word=$2
5595{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5596echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5597if test "${ac_cv_prog_AR+set}" = set; then
5598  echo $ECHO_N "(cached) $ECHO_C" >&6
5599else
5600  if test -n "$AR"; then
5601  ac_cv_prog_AR="$AR" # Let the user override the test.
5602else
5603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5604for as_dir in $PATH
5605do
5606  IFS=$as_save_IFS
5607  test -z "$as_dir" && as_dir=.
5608  for ac_exec_ext in '' $ac_executable_extensions; do
5609  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5610    ac_cv_prog_AR="${ac_tool_prefix}ar"
5611    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5612    break 2
5613  fi
5614done
5615done
5616IFS=$as_save_IFS
5617
5618fi
5619fi
5620AR=$ac_cv_prog_AR
5621if test -n "$AR"; then
5622  { echo "$as_me:$LINENO: result: $AR" >&5
5623echo "${ECHO_T}$AR" >&6; }
5624else
5625  { echo "$as_me:$LINENO: result: no" >&5
5626echo "${ECHO_T}no" >&6; }
5627fi
5628
5629
5630fi
5631if test -z "$ac_cv_prog_AR"; then
5632  ac_ct_AR=$AR
5633  # Extract the first word of "ar", so it can be a program name with args.
5634set dummy ar; ac_word=$2
5635{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5636echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5637if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5638  echo $ECHO_N "(cached) $ECHO_C" >&6
5639else
5640  if test -n "$ac_ct_AR"; then
5641  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5642else
5643as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644for as_dir in $PATH
5645do
5646  IFS=$as_save_IFS
5647  test -z "$as_dir" && as_dir=.
5648  for ac_exec_ext in '' $ac_executable_extensions; do
5649  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5650    ac_cv_prog_ac_ct_AR="ar"
5651    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5652    break 2
5653  fi
5654done
5655done
5656IFS=$as_save_IFS
5657
5658fi
5659fi
5660ac_ct_AR=$ac_cv_prog_ac_ct_AR
5661if test -n "$ac_ct_AR"; then
5662  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5663echo "${ECHO_T}$ac_ct_AR" >&6; }
5664else
5665  { echo "$as_me:$LINENO: result: no" >&5
5666echo "${ECHO_T}no" >&6; }
5667fi
5668
5669  if test "x$ac_ct_AR" = x; then
5670    AR="false"
5671  else
5672    case $cross_compiling:$ac_tool_warned in
5673yes:)
5674{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5675whose name does not start with the host triplet.  If you think this
5676configuration is useful to you, please write to autoconf@gnu.org." >&5
5677echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5678whose name does not start with the host triplet.  If you think this
5679configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5680ac_tool_warned=yes ;;
5681esac
5682    AR=$ac_ct_AR
5683  fi
5684else
5685  AR="$ac_cv_prog_AR"
5686fi
5687
5688test -z "$AR" && AR=ar
5689test -z "$AR_FLAGS" && AR_FLAGS=cru
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701if test -n "$ac_tool_prefix"; then
5702  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5703set dummy ${ac_tool_prefix}strip; ac_word=$2
5704{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5705echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5706if test "${ac_cv_prog_STRIP+set}" = set; then
5707  echo $ECHO_N "(cached) $ECHO_C" >&6
5708else
5709  if test -n "$STRIP"; then
5710  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5711else
5712as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713for as_dir in $PATH
5714do
5715  IFS=$as_save_IFS
5716  test -z "$as_dir" && as_dir=.
5717  for ac_exec_ext in '' $ac_executable_extensions; do
5718  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5719    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5720    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5721    break 2
5722  fi
5723done
5724done
5725IFS=$as_save_IFS
5726
5727fi
5728fi
5729STRIP=$ac_cv_prog_STRIP
5730if test -n "$STRIP"; then
5731  { echo "$as_me:$LINENO: result: $STRIP" >&5
5732echo "${ECHO_T}$STRIP" >&6; }
5733else
5734  { echo "$as_me:$LINENO: result: no" >&5
5735echo "${ECHO_T}no" >&6; }
5736fi
5737
5738
5739fi
5740if test -z "$ac_cv_prog_STRIP"; then
5741  ac_ct_STRIP=$STRIP
5742  # Extract the first word of "strip", so it can be a program name with args.
5743set dummy strip; ac_word=$2
5744{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5745echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5746if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5747  echo $ECHO_N "(cached) $ECHO_C" >&6
5748else
5749  if test -n "$ac_ct_STRIP"; then
5750  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5751else
5752as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753for as_dir in $PATH
5754do
5755  IFS=$as_save_IFS
5756  test -z "$as_dir" && as_dir=.
5757  for ac_exec_ext in '' $ac_executable_extensions; do
5758  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5759    ac_cv_prog_ac_ct_STRIP="strip"
5760    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5761    break 2
5762  fi
5763done
5764done
5765IFS=$as_save_IFS
5766
5767fi
5768fi
5769ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5770if test -n "$ac_ct_STRIP"; then
5771  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5772echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5773else
5774  { echo "$as_me:$LINENO: result: no" >&5
5775echo "${ECHO_T}no" >&6; }
5776fi
5777
5778  if test "x$ac_ct_STRIP" = x; then
5779    STRIP=":"
5780  else
5781    case $cross_compiling:$ac_tool_warned in
5782yes:)
5783{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5784whose name does not start with the host triplet.  If you think this
5785configuration is useful to you, please write to autoconf@gnu.org." >&5
5786echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5787whose name does not start with the host triplet.  If you think this
5788configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5789ac_tool_warned=yes ;;
5790esac
5791    STRIP=$ac_ct_STRIP
5792  fi
5793else
5794  STRIP="$ac_cv_prog_STRIP"
5795fi
5796
5797test -z "$STRIP" && STRIP=:
5798
5799
5800
5801
5802
5803
5804if test -n "$ac_tool_prefix"; then
5805  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5806set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5807{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5808echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5809if test "${ac_cv_prog_RANLIB+set}" = set; then
5810  echo $ECHO_N "(cached) $ECHO_C" >&6
5811else
5812  if test -n "$RANLIB"; then
5813  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5814else
5815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5816for as_dir in $PATH
5817do
5818  IFS=$as_save_IFS
5819  test -z "$as_dir" && as_dir=.
5820  for ac_exec_ext in '' $ac_executable_extensions; do
5821  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5822    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5823    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824    break 2
5825  fi
5826done
5827done
5828IFS=$as_save_IFS
5829
5830fi
5831fi
5832RANLIB=$ac_cv_prog_RANLIB
5833if test -n "$RANLIB"; then
5834  { echo "$as_me:$LINENO: result: $RANLIB" >&5
5835echo "${ECHO_T}$RANLIB" >&6; }
5836else
5837  { echo "$as_me:$LINENO: result: no" >&5
5838echo "${ECHO_T}no" >&6; }
5839fi
5840
5841
5842fi
5843if test -z "$ac_cv_prog_RANLIB"; then
5844  ac_ct_RANLIB=$RANLIB
5845  # Extract the first word of "ranlib", so it can be a program name with args.
5846set dummy ranlib; ac_word=$2
5847{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5848echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5849if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5850  echo $ECHO_N "(cached) $ECHO_C" >&6
5851else
5852  if test -n "$ac_ct_RANLIB"; then
5853  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5854else
5855as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5856for as_dir in $PATH
5857do
5858  IFS=$as_save_IFS
5859  test -z "$as_dir" && as_dir=.
5860  for ac_exec_ext in '' $ac_executable_extensions; do
5861  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5862    ac_cv_prog_ac_ct_RANLIB="ranlib"
5863    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5864    break 2
5865  fi
5866done
5867done
5868IFS=$as_save_IFS
5869
5870fi
5871fi
5872ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5873if test -n "$ac_ct_RANLIB"; then
5874  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5875echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5876else
5877  { echo "$as_me:$LINENO: result: no" >&5
5878echo "${ECHO_T}no" >&6; }
5879fi
5880
5881  if test "x$ac_ct_RANLIB" = x; then
5882    RANLIB=":"
5883  else
5884    case $cross_compiling:$ac_tool_warned in
5885yes:)
5886{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5887whose name does not start with the host triplet.  If you think this
5888configuration is useful to you, please write to autoconf@gnu.org." >&5
5889echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5890whose name does not start with the host triplet.  If you think this
5891configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5892ac_tool_warned=yes ;;
5893esac
5894    RANLIB=$ac_ct_RANLIB
5895  fi
5896else
5897  RANLIB="$ac_cv_prog_RANLIB"
5898fi
5899
5900test -z "$RANLIB" && RANLIB=:
5901
5902
5903
5904
5905
5906
5907# Determine commands to create old-style static archives.
5908old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5909old_postinstall_cmds='chmod 644 $oldlib'
5910old_postuninstall_cmds=
5911
5912if test -n "$RANLIB"; then
5913  case $host_os in
5914  openbsd*)
5915    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5916    ;;
5917  *)
5918    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5919    ;;
5920  esac
5921  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5922fi
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957# If no C compiler was specified, use CC.
5958LTCC=${LTCC-"$CC"}
5959
5960# If no C compiler flags were specified, use CFLAGS.
5961LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5962
5963# Allow CC to be a program name with arguments.
5964compiler=$CC
5965
5966
5967# Check for command to grab the raw symbol name followed by C symbol from nm.
5968{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5969echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5970if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5971  echo $ECHO_N "(cached) $ECHO_C" >&6
5972else
5973
5974# These are sane defaults that work on at least a few old systems.
5975# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5976
5977# Character class describing NM global symbol codes.
5978symcode='[BCDEGRST]'
5979
5980# Regexp to match symbols that can be accessed directly from C.
5981sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5982
5983# Define system-specific variables.
5984case $host_os in
5985aix*)
5986  symcode='[BCDT]'
5987  ;;
5988cygwin* | mingw* | pw32* | cegcc*)
5989  symcode='[ABCDGISTW]'
5990  ;;
5991hpux*)
5992  if test "$host_cpu" = ia64; then
5993    symcode='[ABCDEGRST]'
5994  fi
5995  ;;
5996irix* | nonstopux*)
5997  symcode='[BCDEGRST]'
5998  ;;
5999osf*)
6000  symcode='[BCDEGQRST]'
6001  ;;
6002solaris*)
6003  symcode='[BDRT]'
6004  ;;
6005sco3.2v5*)
6006  symcode='[DT]'
6007  ;;
6008sysv4.2uw2*)
6009  symcode='[DT]'
6010  ;;
6011sysv5* | sco5v6* | unixware* | OpenUNIX*)
6012  symcode='[ABDT]'
6013  ;;
6014sysv4)
6015  symcode='[DFNSTU]'
6016  ;;
6017esac
6018
6019# If we're using GNU nm, then use its standard symbol codes.
6020case `$NM -V 2>&1` in
6021*GNU* | *'with BFD'*)
6022  symcode='[ABCDGIRSTW]' ;;
6023esac
6024
6025# Transform an extracted symbol line into a proper C declaration.
6026# Some systems (esp. on ia64) link data and code symbols differently,
6027# so use this general approach.
6028lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6029
6030# Transform an extracted symbol line into symbol name and symbol address
6031lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6032lt_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'"
6033
6034# Handle CRLF in mingw tool chain
6035opt_cr=
6036case $build_os in
6037mingw*)
6038  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6039  ;;
6040esac
6041
6042# Try without a prefix underscore, then with it.
6043for ac_symprfx in "" "_"; do
6044
6045  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6046  symxfrm="\\1 $ac_symprfx\\2 \\2"
6047
6048  # Write the raw and C identifiers.
6049  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6050    # Fake it for dumpbin and say T for any non-static function
6051    # and D for any global variable.
6052    # Also find C++ and __fastcall symbols from MSVC++,
6053    # which start with @ or ?.
6054    lt_cv_sys_global_symbol_pipe="$AWK '"\
6055"     {last_section=section; section=\$ 3};"\
6056"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6057"     \$ 0!~/External *\|/{next};"\
6058"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6059"     {if(hide[section]) next};"\
6060"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6061"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6062"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6063"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6064"     ' prfx=^$ac_symprfx"
6065  else
6066    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6067  fi
6068
6069  # Check to see that the pipe works correctly.
6070  pipe_works=no
6071
6072  rm -f conftest*
6073  cat > conftest.$ac_ext <<_LT_EOF
6074#ifdef __cplusplus
6075extern "C" {
6076#endif
6077char nm_test_var;
6078void nm_test_func(void);
6079void nm_test_func(void){}
6080#ifdef __cplusplus
6081}
6082#endif
6083int main(){nm_test_var='a';nm_test_func();return(0);}
6084_LT_EOF
6085
6086  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6087  (eval $ac_compile) 2>&5
6088  ac_status=$?
6089  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6090  (exit $ac_status); }; then
6091    # Now try to grab the symbols.
6092    nlist=conftest.nm
6093    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6094  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
6095  ac_status=$?
6096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097  (exit $ac_status); } && test -s "$nlist"; then
6098      # Try sorting and uniquifying the output.
6099      if sort "$nlist" | uniq > "$nlist"T; then
6100	mv -f "$nlist"T "$nlist"
6101      else
6102	rm -f "$nlist"T
6103      fi
6104
6105      # Make sure that we snagged all the symbols we need.
6106      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6107	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6108	  cat <<_LT_EOF > conftest.$ac_ext
6109#ifdef __cplusplus
6110extern "C" {
6111#endif
6112
6113_LT_EOF
6114	  # Now generate the symbol file.
6115	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6116
6117	  cat <<_LT_EOF >> conftest.$ac_ext
6118
6119/* The mapping between symbol names and symbols.  */
6120const struct {
6121  const char *name;
6122  void       *address;
6123}
6124lt__PROGRAM__LTX_preloaded_symbols[] =
6125{
6126  { "@PROGRAM@", (void *) 0 },
6127_LT_EOF
6128	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6129	  cat <<\_LT_EOF >> conftest.$ac_ext
6130  {0, (void *) 0}
6131};
6132
6133/* This works around a problem in FreeBSD linker */
6134#ifdef FREEBSD_WORKAROUND
6135static const void *lt_preloaded_setup() {
6136  return lt__PROGRAM__LTX_preloaded_symbols;
6137}
6138#endif
6139
6140#ifdef __cplusplus
6141}
6142#endif
6143_LT_EOF
6144	  # Now try linking the two files.
6145	  mv conftest.$ac_objext conftstm.$ac_objext
6146	  lt_save_LIBS="$LIBS"
6147	  lt_save_CFLAGS="$CFLAGS"
6148	  LIBS="conftstm.$ac_objext"
6149	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6150	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6151  (eval $ac_link) 2>&5
6152  ac_status=$?
6153  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154  (exit $ac_status); } && test -s conftest${ac_exeext}; then
6155	    pipe_works=yes
6156	  fi
6157	  LIBS="$lt_save_LIBS"
6158	  CFLAGS="$lt_save_CFLAGS"
6159	else
6160	  echo "cannot find nm_test_func in $nlist" >&5
6161	fi
6162      else
6163	echo "cannot find nm_test_var in $nlist" >&5
6164      fi
6165    else
6166      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6167    fi
6168  else
6169    echo "$progname: failed program was:" >&5
6170    cat conftest.$ac_ext >&5
6171  fi
6172  rm -rf conftest* conftst*
6173
6174  # Do not use the global_symbol_pipe unless it works.
6175  if test "$pipe_works" = yes; then
6176    break
6177  else
6178    lt_cv_sys_global_symbol_pipe=
6179  fi
6180done
6181
6182fi
6183
6184if test -z "$lt_cv_sys_global_symbol_pipe"; then
6185  lt_cv_sys_global_symbol_to_cdecl=
6186fi
6187if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6188  { echo "$as_me:$LINENO: result: failed" >&5
6189echo "${ECHO_T}failed" >&6; }
6190else
6191  { echo "$as_me:$LINENO: result: ok" >&5
6192echo "${ECHO_T}ok" >&6; }
6193fi
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216# Check whether --enable-libtool-lock was given.
6217if test "${enable_libtool_lock+set}" = set; then
6218  enableval=$enable_libtool_lock;
6219fi
6220
6221test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6222
6223# Some flags need to be propagated to the compiler or linker for good
6224# libtool support.
6225case $host in
6226ia64-*-hpux*)
6227  # Find out which ABI we are using.
6228  echo 'int i;' > conftest.$ac_ext
6229  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6230  (eval $ac_compile) 2>&5
6231  ac_status=$?
6232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6233  (exit $ac_status); }; then
6234    case `/usr/bin/file conftest.$ac_objext` in
6235      *ELF-32*)
6236	HPUX_IA64_MODE="32"
6237	;;
6238      *ELF-64*)
6239	HPUX_IA64_MODE="64"
6240	;;
6241    esac
6242  fi
6243  rm -rf conftest*
6244  ;;
6245*-*-irix6*)
6246  # Find out which ABI we are using.
6247  echo '#line 6247 "configure"' > conftest.$ac_ext
6248  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6249  (eval $ac_compile) 2>&5
6250  ac_status=$?
6251  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6252  (exit $ac_status); }; then
6253    if test "$lt_cv_prog_gnu_ld" = yes; then
6254      case `/usr/bin/file conftest.$ac_objext` in
6255	*32-bit*)
6256	  LD="${LD-ld} -melf32bsmip"
6257	  ;;
6258	*N32*)
6259	  LD="${LD-ld} -melf32bmipn32"
6260	  ;;
6261	*64-bit*)
6262	  LD="${LD-ld} -melf64bmip"
6263	;;
6264      esac
6265    else
6266      case `/usr/bin/file conftest.$ac_objext` in
6267	*32-bit*)
6268	  LD="${LD-ld} -32"
6269	  ;;
6270	*N32*)
6271	  LD="${LD-ld} -n32"
6272	  ;;
6273	*64-bit*)
6274	  LD="${LD-ld} -64"
6275	  ;;
6276      esac
6277    fi
6278  fi
6279  rm -rf conftest*
6280  ;;
6281
6282x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6283s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6284  # Find out which ABI we are using.
6285  echo 'int i;' > conftest.$ac_ext
6286  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6287  (eval $ac_compile) 2>&5
6288  ac_status=$?
6289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290  (exit $ac_status); }; then
6291    case `/usr/bin/file conftest.o` in
6292      *32-bit*)
6293	case $host in
6294	  x86_64-*kfreebsd*-gnu)
6295	    LD="${LD-ld} -m elf_i386_fbsd"
6296	    ;;
6297	  x86_64-*linux*)
6298	    LD="${LD-ld} -m elf_i386"
6299	    ;;
6300	  ppc64-*linux*|powerpc64-*linux*)
6301	    LD="${LD-ld} -m elf32ppclinux"
6302	    ;;
6303	  s390x-*linux*)
6304	    LD="${LD-ld} -m elf_s390"
6305	    ;;
6306	  sparc64-*linux*)
6307	    LD="${LD-ld} -m elf32_sparc"
6308	    ;;
6309	esac
6310	;;
6311      *64-bit*)
6312	case $host in
6313	  x86_64-*kfreebsd*-gnu)
6314	    LD="${LD-ld} -m elf_x86_64_fbsd"
6315	    ;;
6316	  x86_64-*linux*)
6317	    LD="${LD-ld} -m elf_x86_64"
6318	    ;;
6319	  ppc*-*linux*|powerpc*-*linux*)
6320	    LD="${LD-ld} -m elf64ppc"
6321	    ;;
6322	  s390*-*linux*|s390*-*tpf*)
6323	    LD="${LD-ld} -m elf64_s390"
6324	    ;;
6325	  sparc*-*linux*)
6326	    LD="${LD-ld} -m elf64_sparc"
6327	    ;;
6328	esac
6329	;;
6330    esac
6331  fi
6332  rm -rf conftest*
6333  ;;
6334
6335*-*-sco3.2v5*)
6336  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6337  SAVE_CFLAGS="$CFLAGS"
6338  CFLAGS="$CFLAGS -belf"
6339  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
6340echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
6341if test "${lt_cv_cc_needs_belf+set}" = set; then
6342  echo $ECHO_N "(cached) $ECHO_C" >&6
6343else
6344  ac_ext=c
6345ac_cpp='$CPP $CPPFLAGS'
6346ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6347ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6348ac_compiler_gnu=$ac_cv_c_compiler_gnu
6349
6350     cat >conftest.$ac_ext <<_ACEOF
6351/* confdefs.h.  */
6352_ACEOF
6353cat confdefs.h >>conftest.$ac_ext
6354cat >>conftest.$ac_ext <<_ACEOF
6355/* end confdefs.h.  */
6356
6357int
6358main ()
6359{
6360
6361  ;
6362  return 0;
6363}
6364_ACEOF
6365rm -f conftest.$ac_objext conftest$ac_exeext
6366if { (ac_try="$ac_link"
6367case "(($ac_try" in
6368  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6369  *) ac_try_echo=$ac_try;;
6370esac
6371eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6372  (eval "$ac_link") 2>conftest.er1
6373  ac_status=$?
6374  grep -v '^ *+' conftest.er1 >conftest.err
6375  rm -f conftest.er1
6376  cat conftest.err >&5
6377  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6378  (exit $ac_status); } && {
6379	 test -z "$ac_c_werror_flag" ||
6380	 test ! -s conftest.err
6381       } && test -s conftest$ac_exeext &&
6382       $as_test_x conftest$ac_exeext; then
6383  lt_cv_cc_needs_belf=yes
6384else
6385  echo "$as_me: failed program was:" >&5
6386sed 's/^/| /' conftest.$ac_ext >&5
6387
6388	lt_cv_cc_needs_belf=no
6389fi
6390
6391rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6392      conftest$ac_exeext conftest.$ac_ext
6393     ac_ext=c
6394ac_cpp='$CPP $CPPFLAGS'
6395ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6396ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6397ac_compiler_gnu=$ac_cv_c_compiler_gnu
6398
6399fi
6400{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
6401echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
6402  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6403    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6404    CFLAGS="$SAVE_CFLAGS"
6405  fi
6406  ;;
6407sparc*-*solaris*)
6408  # Find out which ABI we are using.
6409  echo 'int i;' > conftest.$ac_ext
6410  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411  (eval $ac_compile) 2>&5
6412  ac_status=$?
6413  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6414  (exit $ac_status); }; then
6415    case `/usr/bin/file conftest.o` in
6416    *64-bit*)
6417      case $lt_cv_prog_gnu_ld in
6418      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6419      *)
6420	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6421	  LD="${LD-ld} -64"
6422	fi
6423	;;
6424      esac
6425      ;;
6426    esac
6427  fi
6428  rm -rf conftest*
6429  ;;
6430esac
6431
6432need_locks="$enable_libtool_lock"
6433
6434
6435  case $host_os in
6436    rhapsody* | darwin*)
6437    if test -n "$ac_tool_prefix"; then
6438  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6439set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6440{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6441echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6442if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
6443  echo $ECHO_N "(cached) $ECHO_C" >&6
6444else
6445  if test -n "$DSYMUTIL"; then
6446  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6447else
6448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449for as_dir in $PATH
6450do
6451  IFS=$as_save_IFS
6452  test -z "$as_dir" && as_dir=.
6453  for ac_exec_ext in '' $ac_executable_extensions; do
6454  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6455    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6456    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6457    break 2
6458  fi
6459done
6460done
6461IFS=$as_save_IFS
6462
6463fi
6464fi
6465DSYMUTIL=$ac_cv_prog_DSYMUTIL
6466if test -n "$DSYMUTIL"; then
6467  { echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
6468echo "${ECHO_T}$DSYMUTIL" >&6; }
6469else
6470  { echo "$as_me:$LINENO: result: no" >&5
6471echo "${ECHO_T}no" >&6; }
6472fi
6473
6474
6475fi
6476if test -z "$ac_cv_prog_DSYMUTIL"; then
6477  ac_ct_DSYMUTIL=$DSYMUTIL
6478  # Extract the first word of "dsymutil", so it can be a program name with args.
6479set dummy dsymutil; ac_word=$2
6480{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6481echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6482if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
6483  echo $ECHO_N "(cached) $ECHO_C" >&6
6484else
6485  if test -n "$ac_ct_DSYMUTIL"; then
6486  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6487else
6488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6489for as_dir in $PATH
6490do
6491  IFS=$as_save_IFS
6492  test -z "$as_dir" && as_dir=.
6493  for ac_exec_ext in '' $ac_executable_extensions; do
6494  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6495    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6496    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6497    break 2
6498  fi
6499done
6500done
6501IFS=$as_save_IFS
6502
6503fi
6504fi
6505ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6506if test -n "$ac_ct_DSYMUTIL"; then
6507  { echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6508echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
6509else
6510  { echo "$as_me:$LINENO: result: no" >&5
6511echo "${ECHO_T}no" >&6; }
6512fi
6513
6514  if test "x$ac_ct_DSYMUTIL" = x; then
6515    DSYMUTIL=":"
6516  else
6517    case $cross_compiling:$ac_tool_warned in
6518yes:)
6519{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6520whose name does not start with the host triplet.  If you think this
6521configuration is useful to you, please write to autoconf@gnu.org." >&5
6522echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6523whose name does not start with the host triplet.  If you think this
6524configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6525ac_tool_warned=yes ;;
6526esac
6527    DSYMUTIL=$ac_ct_DSYMUTIL
6528  fi
6529else
6530  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6531fi
6532
6533    if test -n "$ac_tool_prefix"; then
6534  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6535set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6536{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6537echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6538if test "${ac_cv_prog_NMEDIT+set}" = set; then
6539  echo $ECHO_N "(cached) $ECHO_C" >&6
6540else
6541  if test -n "$NMEDIT"; then
6542  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6543else
6544as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545for as_dir in $PATH
6546do
6547  IFS=$as_save_IFS
6548  test -z "$as_dir" && as_dir=.
6549  for ac_exec_ext in '' $ac_executable_extensions; do
6550  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6551    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6552    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6553    break 2
6554  fi
6555done
6556done
6557IFS=$as_save_IFS
6558
6559fi
6560fi
6561NMEDIT=$ac_cv_prog_NMEDIT
6562if test -n "$NMEDIT"; then
6563  { echo "$as_me:$LINENO: result: $NMEDIT" >&5
6564echo "${ECHO_T}$NMEDIT" >&6; }
6565else
6566  { echo "$as_me:$LINENO: result: no" >&5
6567echo "${ECHO_T}no" >&6; }
6568fi
6569
6570
6571fi
6572if test -z "$ac_cv_prog_NMEDIT"; then
6573  ac_ct_NMEDIT=$NMEDIT
6574  # Extract the first word of "nmedit", so it can be a program name with args.
6575set dummy nmedit; ac_word=$2
6576{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6577echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6578if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6579  echo $ECHO_N "(cached) $ECHO_C" >&6
6580else
6581  if test -n "$ac_ct_NMEDIT"; then
6582  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6583else
6584as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6585for as_dir in $PATH
6586do
6587  IFS=$as_save_IFS
6588  test -z "$as_dir" && as_dir=.
6589  for ac_exec_ext in '' $ac_executable_extensions; do
6590  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6591    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6592    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6593    break 2
6594  fi
6595done
6596done
6597IFS=$as_save_IFS
6598
6599fi
6600fi
6601ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6602if test -n "$ac_ct_NMEDIT"; then
6603  { echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6604echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
6605else
6606  { echo "$as_me:$LINENO: result: no" >&5
6607echo "${ECHO_T}no" >&6; }
6608fi
6609
6610  if test "x$ac_ct_NMEDIT" = x; then
6611    NMEDIT=":"
6612  else
6613    case $cross_compiling:$ac_tool_warned in
6614yes:)
6615{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6616whose name does not start with the host triplet.  If you think this
6617configuration is useful to you, please write to autoconf@gnu.org." >&5
6618echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6619whose name does not start with the host triplet.  If you think this
6620configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6621ac_tool_warned=yes ;;
6622esac
6623    NMEDIT=$ac_ct_NMEDIT
6624  fi
6625else
6626  NMEDIT="$ac_cv_prog_NMEDIT"
6627fi
6628
6629    if test -n "$ac_tool_prefix"; then
6630  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6631set dummy ${ac_tool_prefix}lipo; ac_word=$2
6632{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6633echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6634if test "${ac_cv_prog_LIPO+set}" = set; then
6635  echo $ECHO_N "(cached) $ECHO_C" >&6
6636else
6637  if test -n "$LIPO"; then
6638  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6639else
6640as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641for as_dir in $PATH
6642do
6643  IFS=$as_save_IFS
6644  test -z "$as_dir" && as_dir=.
6645  for ac_exec_ext in '' $ac_executable_extensions; do
6646  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6648    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6649    break 2
6650  fi
6651done
6652done
6653IFS=$as_save_IFS
6654
6655fi
6656fi
6657LIPO=$ac_cv_prog_LIPO
6658if test -n "$LIPO"; then
6659  { echo "$as_me:$LINENO: result: $LIPO" >&5
6660echo "${ECHO_T}$LIPO" >&6; }
6661else
6662  { echo "$as_me:$LINENO: result: no" >&5
6663echo "${ECHO_T}no" >&6; }
6664fi
6665
6666
6667fi
6668if test -z "$ac_cv_prog_LIPO"; then
6669  ac_ct_LIPO=$LIPO
6670  # Extract the first word of "lipo", so it can be a program name with args.
6671set dummy lipo; ac_word=$2
6672{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6673echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6674if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6675  echo $ECHO_N "(cached) $ECHO_C" >&6
6676else
6677  if test -n "$ac_ct_LIPO"; then
6678  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6679else
6680as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681for as_dir in $PATH
6682do
6683  IFS=$as_save_IFS
6684  test -z "$as_dir" && as_dir=.
6685  for ac_exec_ext in '' $ac_executable_extensions; do
6686  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687    ac_cv_prog_ac_ct_LIPO="lipo"
6688    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6689    break 2
6690  fi
6691done
6692done
6693IFS=$as_save_IFS
6694
6695fi
6696fi
6697ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6698if test -n "$ac_ct_LIPO"; then
6699  { echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6700echo "${ECHO_T}$ac_ct_LIPO" >&6; }
6701else
6702  { echo "$as_me:$LINENO: result: no" >&5
6703echo "${ECHO_T}no" >&6; }
6704fi
6705
6706  if test "x$ac_ct_LIPO" = x; then
6707    LIPO=":"
6708  else
6709    case $cross_compiling:$ac_tool_warned in
6710yes:)
6711{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6712whose name does not start with the host triplet.  If you think this
6713configuration is useful to you, please write to autoconf@gnu.org." >&5
6714echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6715whose name does not start with the host triplet.  If you think this
6716configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6717ac_tool_warned=yes ;;
6718esac
6719    LIPO=$ac_ct_LIPO
6720  fi
6721else
6722  LIPO="$ac_cv_prog_LIPO"
6723fi
6724
6725    if test -n "$ac_tool_prefix"; then
6726  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6727set dummy ${ac_tool_prefix}otool; ac_word=$2
6728{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6729echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6730if test "${ac_cv_prog_OTOOL+set}" = set; then
6731  echo $ECHO_N "(cached) $ECHO_C" >&6
6732else
6733  if test -n "$OTOOL"; then
6734  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6735else
6736as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6737for as_dir in $PATH
6738do
6739  IFS=$as_save_IFS
6740  test -z "$as_dir" && as_dir=.
6741  for ac_exec_ext in '' $ac_executable_extensions; do
6742  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6743    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6744    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6745    break 2
6746  fi
6747done
6748done
6749IFS=$as_save_IFS
6750
6751fi
6752fi
6753OTOOL=$ac_cv_prog_OTOOL
6754if test -n "$OTOOL"; then
6755  { echo "$as_me:$LINENO: result: $OTOOL" >&5
6756echo "${ECHO_T}$OTOOL" >&6; }
6757else
6758  { echo "$as_me:$LINENO: result: no" >&5
6759echo "${ECHO_T}no" >&6; }
6760fi
6761
6762
6763fi
6764if test -z "$ac_cv_prog_OTOOL"; then
6765  ac_ct_OTOOL=$OTOOL
6766  # Extract the first word of "otool", so it can be a program name with args.
6767set dummy otool; ac_word=$2
6768{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6769echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6770if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6771  echo $ECHO_N "(cached) $ECHO_C" >&6
6772else
6773  if test -n "$ac_ct_OTOOL"; then
6774  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6775else
6776as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6777for as_dir in $PATH
6778do
6779  IFS=$as_save_IFS
6780  test -z "$as_dir" && as_dir=.
6781  for ac_exec_ext in '' $ac_executable_extensions; do
6782  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6783    ac_cv_prog_ac_ct_OTOOL="otool"
6784    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6785    break 2
6786  fi
6787done
6788done
6789IFS=$as_save_IFS
6790
6791fi
6792fi
6793ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6794if test -n "$ac_ct_OTOOL"; then
6795  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6796echo "${ECHO_T}$ac_ct_OTOOL" >&6; }
6797else
6798  { echo "$as_me:$LINENO: result: no" >&5
6799echo "${ECHO_T}no" >&6; }
6800fi
6801
6802  if test "x$ac_ct_OTOOL" = x; then
6803    OTOOL=":"
6804  else
6805    case $cross_compiling:$ac_tool_warned in
6806yes:)
6807{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6808whose name does not start with the host triplet.  If you think this
6809configuration is useful to you, please write to autoconf@gnu.org." >&5
6810echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6811whose name does not start with the host triplet.  If you think this
6812configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6813ac_tool_warned=yes ;;
6814esac
6815    OTOOL=$ac_ct_OTOOL
6816  fi
6817else
6818  OTOOL="$ac_cv_prog_OTOOL"
6819fi
6820
6821    if test -n "$ac_tool_prefix"; then
6822  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6823set dummy ${ac_tool_prefix}otool64; ac_word=$2
6824{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6825echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6826if test "${ac_cv_prog_OTOOL64+set}" = set; then
6827  echo $ECHO_N "(cached) $ECHO_C" >&6
6828else
6829  if test -n "$OTOOL64"; then
6830  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6831else
6832as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6833for as_dir in $PATH
6834do
6835  IFS=$as_save_IFS
6836  test -z "$as_dir" && as_dir=.
6837  for ac_exec_ext in '' $ac_executable_extensions; do
6838  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6839    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6840    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6841    break 2
6842  fi
6843done
6844done
6845IFS=$as_save_IFS
6846
6847fi
6848fi
6849OTOOL64=$ac_cv_prog_OTOOL64
6850if test -n "$OTOOL64"; then
6851  { echo "$as_me:$LINENO: result: $OTOOL64" >&5
6852echo "${ECHO_T}$OTOOL64" >&6; }
6853else
6854  { echo "$as_me:$LINENO: result: no" >&5
6855echo "${ECHO_T}no" >&6; }
6856fi
6857
6858
6859fi
6860if test -z "$ac_cv_prog_OTOOL64"; then
6861  ac_ct_OTOOL64=$OTOOL64
6862  # Extract the first word of "otool64", so it can be a program name with args.
6863set dummy otool64; ac_word=$2
6864{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6865echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6866if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6867  echo $ECHO_N "(cached) $ECHO_C" >&6
6868else
6869  if test -n "$ac_ct_OTOOL64"; then
6870  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6871else
6872as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6873for as_dir in $PATH
6874do
6875  IFS=$as_save_IFS
6876  test -z "$as_dir" && as_dir=.
6877  for ac_exec_ext in '' $ac_executable_extensions; do
6878  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6879    ac_cv_prog_ac_ct_OTOOL64="otool64"
6880    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6881    break 2
6882  fi
6883done
6884done
6885IFS=$as_save_IFS
6886
6887fi
6888fi
6889ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6890if test -n "$ac_ct_OTOOL64"; then
6891  { echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6892echo "${ECHO_T}$ac_ct_OTOOL64" >&6; }
6893else
6894  { echo "$as_me:$LINENO: result: no" >&5
6895echo "${ECHO_T}no" >&6; }
6896fi
6897
6898  if test "x$ac_ct_OTOOL64" = x; then
6899    OTOOL64=":"
6900  else
6901    case $cross_compiling:$ac_tool_warned in
6902yes:)
6903{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6904whose name does not start with the host triplet.  If you think this
6905configuration is useful to you, please write to autoconf@gnu.org." >&5
6906echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6907whose name does not start with the host triplet.  If you think this
6908configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6909ac_tool_warned=yes ;;
6910esac
6911    OTOOL64=$ac_ct_OTOOL64
6912  fi
6913else
6914  OTOOL64="$ac_cv_prog_OTOOL64"
6915fi
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943    { echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6944echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
6945if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6946  echo $ECHO_N "(cached) $ECHO_C" >&6
6947else
6948  lt_cv_apple_cc_single_mod=no
6949      if test -z "${LT_MULTI_MODULE}"; then
6950	# By default we will add the -single_module flag. You can override
6951	# by either setting the environment variable LT_MULTI_MODULE
6952	# non-empty at configure time, or by adding -multi_module to the
6953	# link flags.
6954	rm -rf libconftest.dylib*
6955	echo "int foo(void){return 1;}" > conftest.c
6956	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6957-dynamiclib -Wl,-single_module conftest.c" >&5
6958	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6959	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6960        _lt_result=$?
6961	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6962	  lt_cv_apple_cc_single_mod=yes
6963	else
6964	  cat conftest.err >&5
6965	fi
6966	rm -rf libconftest.dylib*
6967	rm -f conftest.*
6968      fi
6969fi
6970{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6971echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
6972    { echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6973echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
6974if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6975  echo $ECHO_N "(cached) $ECHO_C" >&6
6976else
6977  lt_cv_ld_exported_symbols_list=no
6978      save_LDFLAGS=$LDFLAGS
6979      echo "_main" > conftest.sym
6980      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6981      cat >conftest.$ac_ext <<_ACEOF
6982/* confdefs.h.  */
6983_ACEOF
6984cat confdefs.h >>conftest.$ac_ext
6985cat >>conftest.$ac_ext <<_ACEOF
6986/* end confdefs.h.  */
6987
6988int
6989main ()
6990{
6991
6992  ;
6993  return 0;
6994}
6995_ACEOF
6996rm -f conftest.$ac_objext conftest$ac_exeext
6997if { (ac_try="$ac_link"
6998case "(($ac_try" in
6999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000  *) ac_try_echo=$ac_try;;
7001esac
7002eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003  (eval "$ac_link") 2>conftest.er1
7004  ac_status=$?
7005  grep -v '^ *+' conftest.er1 >conftest.err
7006  rm -f conftest.er1
7007  cat conftest.err >&5
7008  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009  (exit $ac_status); } && {
7010	 test -z "$ac_c_werror_flag" ||
7011	 test ! -s conftest.err
7012       } && test -s conftest$ac_exeext &&
7013       $as_test_x conftest$ac_exeext; then
7014  lt_cv_ld_exported_symbols_list=yes
7015else
7016  echo "$as_me: failed program was:" >&5
7017sed 's/^/| /' conftest.$ac_ext >&5
7018
7019	lt_cv_ld_exported_symbols_list=no
7020fi
7021
7022rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7023      conftest$ac_exeext conftest.$ac_ext
7024	LDFLAGS="$save_LDFLAGS"
7025
7026fi
7027{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7028echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
7029    case $host_os in
7030    rhapsody* | darwin1.[012])
7031      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7032    darwin1.*)
7033      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7034    darwin*) # darwin 5.x on
7035      # if running on 10.5 or later, the deployment target defaults
7036      # to the OS version, if on x86, and 10.4, the deployment
7037      # target defaults to 10.4. Don't you love it?
7038      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7039	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7040	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7041	10.[012]*)
7042	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7043	10.*)
7044	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7045      esac
7046    ;;
7047  esac
7048    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7049      _lt_dar_single_mod='$single_module'
7050    fi
7051    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7052      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7053    else
7054      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7055    fi
7056    if test "$DSYMUTIL" != ":"; then
7057      _lt_dsymutil='~$DSYMUTIL $lib || :'
7058    else
7059      _lt_dsymutil=
7060    fi
7061    ;;
7062  esac
7063
7064
7065{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7066echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7067if test "${ac_cv_header_stdc+set}" = set; then
7068  echo $ECHO_N "(cached) $ECHO_C" >&6
7069else
7070  cat >conftest.$ac_ext <<_ACEOF
7071/* confdefs.h.  */
7072_ACEOF
7073cat confdefs.h >>conftest.$ac_ext
7074cat >>conftest.$ac_ext <<_ACEOF
7075/* end confdefs.h.  */
7076#include <stdlib.h>
7077#include <stdarg.h>
7078#include <string.h>
7079#include <float.h>
7080
7081int
7082main ()
7083{
7084
7085  ;
7086  return 0;
7087}
7088_ACEOF
7089rm -f conftest.$ac_objext
7090if { (ac_try="$ac_compile"
7091case "(($ac_try" in
7092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7093  *) ac_try_echo=$ac_try;;
7094esac
7095eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7096  (eval "$ac_compile") 2>conftest.er1
7097  ac_status=$?
7098  grep -v '^ *+' conftest.er1 >conftest.err
7099  rm -f conftest.er1
7100  cat conftest.err >&5
7101  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7102  (exit $ac_status); } && {
7103	 test -z "$ac_c_werror_flag" ||
7104	 test ! -s conftest.err
7105       } && test -s conftest.$ac_objext; then
7106  ac_cv_header_stdc=yes
7107else
7108  echo "$as_me: failed program was:" >&5
7109sed 's/^/| /' conftest.$ac_ext >&5
7110
7111	ac_cv_header_stdc=no
7112fi
7113
7114rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7115
7116if test $ac_cv_header_stdc = yes; then
7117  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7118  cat >conftest.$ac_ext <<_ACEOF
7119/* confdefs.h.  */
7120_ACEOF
7121cat confdefs.h >>conftest.$ac_ext
7122cat >>conftest.$ac_ext <<_ACEOF
7123/* end confdefs.h.  */
7124#include <string.h>
7125
7126_ACEOF
7127if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7128  $EGREP "memchr" >/dev/null 2>&1; then
7129  :
7130else
7131  ac_cv_header_stdc=no
7132fi
7133rm -f conftest*
7134
7135fi
7136
7137if test $ac_cv_header_stdc = yes; then
7138  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7139  cat >conftest.$ac_ext <<_ACEOF
7140/* confdefs.h.  */
7141_ACEOF
7142cat confdefs.h >>conftest.$ac_ext
7143cat >>conftest.$ac_ext <<_ACEOF
7144/* end confdefs.h.  */
7145#include <stdlib.h>
7146
7147_ACEOF
7148if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7149  $EGREP "free" >/dev/null 2>&1; then
7150  :
7151else
7152  ac_cv_header_stdc=no
7153fi
7154rm -f conftest*
7155
7156fi
7157
7158if test $ac_cv_header_stdc = yes; then
7159  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7160  if test "$cross_compiling" = yes; then
7161  :
7162else
7163  cat >conftest.$ac_ext <<_ACEOF
7164/* confdefs.h.  */
7165_ACEOF
7166cat confdefs.h >>conftest.$ac_ext
7167cat >>conftest.$ac_ext <<_ACEOF
7168/* end confdefs.h.  */
7169#include <ctype.h>
7170#include <stdlib.h>
7171#if ((' ' & 0x0FF) == 0x020)
7172# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7173# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7174#else
7175# define ISLOWER(c) \
7176		   (('a' <= (c) && (c) <= 'i') \
7177		     || ('j' <= (c) && (c) <= 'r') \
7178		     || ('s' <= (c) && (c) <= 'z'))
7179# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7180#endif
7181
7182#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7183int
7184main ()
7185{
7186  int i;
7187  for (i = 0; i < 256; i++)
7188    if (XOR (islower (i), ISLOWER (i))
7189	|| toupper (i) != TOUPPER (i))
7190      return 2;
7191  return 0;
7192}
7193_ACEOF
7194rm -f conftest$ac_exeext
7195if { (ac_try="$ac_link"
7196case "(($ac_try" in
7197  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7198  *) ac_try_echo=$ac_try;;
7199esac
7200eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7201  (eval "$ac_link") 2>&5
7202  ac_status=$?
7203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7205  { (case "(($ac_try" in
7206  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7207  *) ac_try_echo=$ac_try;;
7208esac
7209eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7210  (eval "$ac_try") 2>&5
7211  ac_status=$?
7212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7213  (exit $ac_status); }; }; then
7214  :
7215else
7216  echo "$as_me: program exited with status $ac_status" >&5
7217echo "$as_me: failed program was:" >&5
7218sed 's/^/| /' conftest.$ac_ext >&5
7219
7220( exit $ac_status )
7221ac_cv_header_stdc=no
7222fi
7223rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7224fi
7225
7226
7227fi
7228fi
7229{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7230echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7231if test $ac_cv_header_stdc = yes; then
7232
7233cat >>confdefs.h <<\_ACEOF
7234#define STDC_HEADERS 1
7235_ACEOF
7236
7237fi
7238
7239# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7250		  inttypes.h stdint.h unistd.h
7251do
7252as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7253{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7254echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7255if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7256  echo $ECHO_N "(cached) $ECHO_C" >&6
7257else
7258  cat >conftest.$ac_ext <<_ACEOF
7259/* confdefs.h.  */
7260_ACEOF
7261cat confdefs.h >>conftest.$ac_ext
7262cat >>conftest.$ac_ext <<_ACEOF
7263/* end confdefs.h.  */
7264$ac_includes_default
7265
7266#include <$ac_header>
7267_ACEOF
7268rm -f conftest.$ac_objext
7269if { (ac_try="$ac_compile"
7270case "(($ac_try" in
7271  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7272  *) ac_try_echo=$ac_try;;
7273esac
7274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7275  (eval "$ac_compile") 2>conftest.er1
7276  ac_status=$?
7277  grep -v '^ *+' conftest.er1 >conftest.err
7278  rm -f conftest.er1
7279  cat conftest.err >&5
7280  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281  (exit $ac_status); } && {
7282	 test -z "$ac_c_werror_flag" ||
7283	 test ! -s conftest.err
7284       } && test -s conftest.$ac_objext; then
7285  eval "$as_ac_Header=yes"
7286else
7287  echo "$as_me: failed program was:" >&5
7288sed 's/^/| /' conftest.$ac_ext >&5
7289
7290	eval "$as_ac_Header=no"
7291fi
7292
7293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7294fi
7295ac_res=`eval echo '${'$as_ac_Header'}'`
7296	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7297echo "${ECHO_T}$ac_res" >&6; }
7298if test `eval echo '${'$as_ac_Header'}'` = yes; then
7299  cat >>confdefs.h <<_ACEOF
7300#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7301_ACEOF
7302
7303fi
7304
7305done
7306
7307
7308
7309for ac_header in dlfcn.h
7310do
7311as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7312{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7313echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7314if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7315  echo $ECHO_N "(cached) $ECHO_C" >&6
7316else
7317  cat >conftest.$ac_ext <<_ACEOF
7318/* confdefs.h.  */
7319_ACEOF
7320cat confdefs.h >>conftest.$ac_ext
7321cat >>conftest.$ac_ext <<_ACEOF
7322/* end confdefs.h.  */
7323$ac_includes_default
7324
7325#include <$ac_header>
7326_ACEOF
7327rm -f conftest.$ac_objext
7328if { (ac_try="$ac_compile"
7329case "(($ac_try" in
7330  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7331  *) ac_try_echo=$ac_try;;
7332esac
7333eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7334  (eval "$ac_compile") 2>conftest.er1
7335  ac_status=$?
7336  grep -v '^ *+' conftest.er1 >conftest.err
7337  rm -f conftest.er1
7338  cat conftest.err >&5
7339  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340  (exit $ac_status); } && {
7341	 test -z "$ac_c_werror_flag" ||
7342	 test ! -s conftest.err
7343       } && test -s conftest.$ac_objext; then
7344  eval "$as_ac_Header=yes"
7345else
7346  echo "$as_me: failed program was:" >&5
7347sed 's/^/| /' conftest.$ac_ext >&5
7348
7349	eval "$as_ac_Header=no"
7350fi
7351
7352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7353fi
7354ac_res=`eval echo '${'$as_ac_Header'}'`
7355	       { echo "$as_me:$LINENO: result: $ac_res" >&5
7356echo "${ECHO_T}$ac_res" >&6; }
7357if test `eval echo '${'$as_ac_Header'}'` = yes; then
7358  cat >>confdefs.h <<_ACEOF
7359#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7360_ACEOF
7361
7362fi
7363
7364done
7365
7366
7367
7368# Set options
7369
7370
7371
7372        enable_dlopen=no
7373
7374
7375
7376            # Check whether --enable-shared was given.
7377if test "${enable_shared+set}" = set; then
7378  enableval=$enable_shared; p=${PACKAGE-default}
7379    case $enableval in
7380    yes) enable_shared=yes ;;
7381    no) enable_shared=no ;;
7382    *)
7383      enable_shared=no
7384      # Look at the argument we got.  We use all the common list separators.
7385      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7386      for pkg in $enableval; do
7387	IFS="$lt_save_ifs"
7388	if test "X$pkg" = "X$p"; then
7389	  enable_shared=yes
7390	fi
7391      done
7392      IFS="$lt_save_ifs"
7393      ;;
7394    esac
7395else
7396  enable_shared=yes
7397fi
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407  # Check whether --enable-static was given.
7408if test "${enable_static+set}" = set; then
7409  enableval=$enable_static; p=${PACKAGE-default}
7410    case $enableval in
7411    yes) enable_static=yes ;;
7412    no) enable_static=no ;;
7413    *)
7414     enable_static=no
7415      # Look at the argument we got.  We use all the common list separators.
7416      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7417      for pkg in $enableval; do
7418	IFS="$lt_save_ifs"
7419	if test "X$pkg" = "X$p"; then
7420	  enable_static=yes
7421	fi
7422      done
7423      IFS="$lt_save_ifs"
7424      ;;
7425    esac
7426else
7427  enable_static=yes
7428fi
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439# Check whether --with-pic was given.
7440if test "${with_pic+set}" = set; then
7441  withval=$with_pic; pic_mode="$withval"
7442else
7443  pic_mode=default
7444fi
7445
7446
7447test -z "$pic_mode" && pic_mode=default
7448
7449
7450
7451
7452
7453
7454
7455  # Check whether --enable-fast-install was given.
7456if test "${enable_fast_install+set}" = set; then
7457  enableval=$enable_fast_install; p=${PACKAGE-default}
7458    case $enableval in
7459    yes) enable_fast_install=yes ;;
7460    no) enable_fast_install=no ;;
7461    *)
7462      enable_fast_install=no
7463      # Look at the argument we got.  We use all the common list separators.
7464      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7465      for pkg in $enableval; do
7466	IFS="$lt_save_ifs"
7467	if test "X$pkg" = "X$p"; then
7468	  enable_fast_install=yes
7469	fi
7470      done
7471      IFS="$lt_save_ifs"
7472      ;;
7473    esac
7474else
7475  enable_fast_install=yes
7476fi
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488# This can be used to rebuild libtool when needed
7489LIBTOOL_DEPS="$ltmain"
7490
7491# Always use our own libtool.
7492LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518test -z "$LN_S" && LN_S="ln -s"
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533if test -n "${ZSH_VERSION+set}" ; then
7534   setopt NO_GLOB_SUBST
7535fi
7536
7537{ echo "$as_me:$LINENO: checking for objdir" >&5
7538echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
7539if test "${lt_cv_objdir+set}" = set; then
7540  echo $ECHO_N "(cached) $ECHO_C" >&6
7541else
7542  rm -f .libs 2>/dev/null
7543mkdir .libs 2>/dev/null
7544if test -d .libs; then
7545  lt_cv_objdir=.libs
7546else
7547  # MS-DOS does not allow filenames that begin with a dot.
7548  lt_cv_objdir=_libs
7549fi
7550rmdir .libs 2>/dev/null
7551fi
7552{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7553echo "${ECHO_T}$lt_cv_objdir" >&6; }
7554objdir=$lt_cv_objdir
7555
7556
7557
7558
7559
7560cat >>confdefs.h <<_ACEOF
7561#define LT_OBJDIR "$lt_cv_objdir/"
7562_ACEOF
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580case $host_os in
7581aix3*)
7582  # AIX sometimes has problems with the GCC collect2 program.  For some
7583  # reason, if we set the COLLECT_NAMES environment variable, the problems
7584  # vanish in a puff of smoke.
7585  if test "X${COLLECT_NAMES+set}" != Xset; then
7586    COLLECT_NAMES=
7587    export COLLECT_NAMES
7588  fi
7589  ;;
7590esac
7591
7592# Sed substitution that helps us do robust quoting.  It backslashifies
7593# metacharacters that are still active within double-quoted strings.
7594sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7595
7596# Same as above, but do not quote variable references.
7597double_quote_subst='s/\(["`\\]\)/\\\1/g'
7598
7599# Sed substitution to delay expansion of an escaped shell variable in a
7600# double_quote_subst'ed string.
7601delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7602
7603# Sed substitution to delay expansion of an escaped single quote.
7604delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7605
7606# Sed substitution to avoid accidental globbing in evaled expressions
7607no_glob_subst='s/\*/\\\*/g'
7608
7609# Global variables:
7610ofile=libtool
7611can_build_shared=yes
7612
7613# All known linkers require a `.a' archive for static linking (except MSVC,
7614# which needs '.lib').
7615libext=a
7616
7617with_gnu_ld="$lt_cv_prog_gnu_ld"
7618
7619old_CC="$CC"
7620old_CFLAGS="$CFLAGS"
7621
7622# Set sane defaults for various variables
7623test -z "$CC" && CC=cc
7624test -z "$LTCC" && LTCC=$CC
7625test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7626test -z "$LD" && LD=ld
7627test -z "$ac_objext" && ac_objext=o
7628
7629for cc_temp in $compiler""; do
7630  case $cc_temp in
7631    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7632    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7633    \-*) ;;
7634    *) break;;
7635  esac
7636done
7637cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7638
7639
7640# Only perform the check for file, if the check method requires it
7641test -z "$MAGIC_CMD" && MAGIC_CMD=file
7642case $deplibs_check_method in
7643file_magic*)
7644  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7645    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7646echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
7647if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7648  echo $ECHO_N "(cached) $ECHO_C" >&6
7649else
7650  case $MAGIC_CMD in
7651[\\/*] |  ?:[\\/]*)
7652  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7653  ;;
7654*)
7655  lt_save_MAGIC_CMD="$MAGIC_CMD"
7656  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7657  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7658  for ac_dir in $ac_dummy; do
7659    IFS="$lt_save_ifs"
7660    test -z "$ac_dir" && ac_dir=.
7661    if test -f $ac_dir/${ac_tool_prefix}file; then
7662      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7663      if test -n "$file_magic_test_file"; then
7664	case $deplibs_check_method in
7665	"file_magic "*)
7666	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7667	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7668	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7669	    $EGREP "$file_magic_regex" > /dev/null; then
7670	    :
7671	  else
7672	    cat <<_LT_EOF 1>&2
7673
7674*** Warning: the command libtool uses to detect shared libraries,
7675*** $file_magic_cmd, produces output that libtool cannot recognize.
7676*** The result is that libtool may fail to recognize shared libraries
7677*** as such.  This will affect the creation of libtool libraries that
7678*** depend on shared libraries, but programs linked with such libtool
7679*** libraries will work regardless of this problem.  Nevertheless, you
7680*** may want to report the problem to your system manager and/or to
7681*** bug-libtool@gnu.org
7682
7683_LT_EOF
7684	  fi ;;
7685	esac
7686      fi
7687      break
7688    fi
7689  done
7690  IFS="$lt_save_ifs"
7691  MAGIC_CMD="$lt_save_MAGIC_CMD"
7692  ;;
7693esac
7694fi
7695
7696MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7697if test -n "$MAGIC_CMD"; then
7698  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7699echo "${ECHO_T}$MAGIC_CMD" >&6; }
7700else
7701  { echo "$as_me:$LINENO: result: no" >&5
7702echo "${ECHO_T}no" >&6; }
7703fi
7704
7705
7706
7707
7708
7709if test -z "$lt_cv_path_MAGIC_CMD"; then
7710  if test -n "$ac_tool_prefix"; then
7711    { echo "$as_me:$LINENO: checking for file" >&5
7712echo $ECHO_N "checking for file... $ECHO_C" >&6; }
7713if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7714  echo $ECHO_N "(cached) $ECHO_C" >&6
7715else
7716  case $MAGIC_CMD in
7717[\\/*] |  ?:[\\/]*)
7718  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7719  ;;
7720*)
7721  lt_save_MAGIC_CMD="$MAGIC_CMD"
7722  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7723  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7724  for ac_dir in $ac_dummy; do
7725    IFS="$lt_save_ifs"
7726    test -z "$ac_dir" && ac_dir=.
7727    if test -f $ac_dir/file; then
7728      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7729      if test -n "$file_magic_test_file"; then
7730	case $deplibs_check_method in
7731	"file_magic "*)
7732	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7733	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7734	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7735	    $EGREP "$file_magic_regex" > /dev/null; then
7736	    :
7737	  else
7738	    cat <<_LT_EOF 1>&2
7739
7740*** Warning: the command libtool uses to detect shared libraries,
7741*** $file_magic_cmd, produces output that libtool cannot recognize.
7742*** The result is that libtool may fail to recognize shared libraries
7743*** as such.  This will affect the creation of libtool libraries that
7744*** depend on shared libraries, but programs linked with such libtool
7745*** libraries will work regardless of this problem.  Nevertheless, you
7746*** may want to report the problem to your system manager and/or to
7747*** bug-libtool@gnu.org
7748
7749_LT_EOF
7750	  fi ;;
7751	esac
7752      fi
7753      break
7754    fi
7755  done
7756  IFS="$lt_save_ifs"
7757  MAGIC_CMD="$lt_save_MAGIC_CMD"
7758  ;;
7759esac
7760fi
7761
7762MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7763if test -n "$MAGIC_CMD"; then
7764  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7765echo "${ECHO_T}$MAGIC_CMD" >&6; }
7766else
7767  { echo "$as_me:$LINENO: result: no" >&5
7768echo "${ECHO_T}no" >&6; }
7769fi
7770
7771
7772  else
7773    MAGIC_CMD=:
7774  fi
7775fi
7776
7777  fi
7778  ;;
7779esac
7780
7781# Use C for the default configuration in the libtool script
7782
7783lt_save_CC="$CC"
7784ac_ext=c
7785ac_cpp='$CPP $CPPFLAGS'
7786ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7787ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7788ac_compiler_gnu=$ac_cv_c_compiler_gnu
7789
7790
7791# Source file extension for C test sources.
7792ac_ext=c
7793
7794# Object file extension for compiled C test sources.
7795objext=o
7796objext=$objext
7797
7798# Code to be used in simple compile tests
7799lt_simple_compile_test_code="int some_variable = 0;"
7800
7801# Code to be used in simple link tests
7802lt_simple_link_test_code='int main(){return(0);}'
7803
7804
7805
7806
7807
7808
7809
7810# If no C compiler was specified, use CC.
7811LTCC=${LTCC-"$CC"}
7812
7813# If no C compiler flags were specified, use CFLAGS.
7814LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7815
7816# Allow CC to be a program name with arguments.
7817compiler=$CC
7818
7819# Save the default compiler, since it gets overwritten when the other
7820# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7821compiler_DEFAULT=$CC
7822
7823# save warnings/boilerplate of simple test code
7824ac_outfile=conftest.$ac_objext
7825echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7826eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7827_lt_compiler_boilerplate=`cat conftest.err`
7828$RM conftest*
7829
7830ac_outfile=conftest.$ac_objext
7831echo "$lt_simple_link_test_code" >conftest.$ac_ext
7832eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7833_lt_linker_boilerplate=`cat conftest.err`
7834$RM -r conftest*
7835
7836
7837if test -n "$compiler"; then
7838
7839lt_prog_compiler_no_builtin_flag=
7840
7841if test "$GCC" = yes; then
7842  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7843
7844  { echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7845echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
7846if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7847  echo $ECHO_N "(cached) $ECHO_C" >&6
7848else
7849  lt_cv_prog_compiler_rtti_exceptions=no
7850   ac_outfile=conftest.$ac_objext
7851   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7852   lt_compiler_flag="-fno-rtti -fno-exceptions"
7853   # Insert the option either (1) after the last *FLAGS variable, or
7854   # (2) before a word containing "conftest.", or (3) at the end.
7855   # Note that $ac_compile itself does not contain backslashes and begins
7856   # with a dollar sign (not a hyphen), so the echo should work correctly.
7857   # The option is referenced via a variable to avoid confusing sed.
7858   lt_compile=`echo "$ac_compile" | $SED \
7859   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7860   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7861   -e 's:$: $lt_compiler_flag:'`
7862   (eval echo "\"\$as_me:7862: $lt_compile\"" >&5)
7863   (eval "$lt_compile" 2>conftest.err)
7864   ac_status=$?
7865   cat conftest.err >&5
7866   echo "$as_me:7866: \$? = $ac_status" >&5
7867   if (exit $ac_status) && test -s "$ac_outfile"; then
7868     # The compiler can only warn and ignore the option if not recognized
7869     # So say no if there are warnings other than the usual output.
7870     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7871     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7872     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7873       lt_cv_prog_compiler_rtti_exceptions=yes
7874     fi
7875   fi
7876   $RM conftest*
7877
7878fi
7879{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7880echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7881
7882if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7883    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7884else
7885    :
7886fi
7887
7888fi
7889
7890
7891
7892
7893
7894
7895  lt_prog_compiler_wl=
7896lt_prog_compiler_pic=
7897lt_prog_compiler_static=
7898
7899{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7900echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
7901
7902  if test "$GCC" = yes; then
7903    lt_prog_compiler_wl='-Wl,'
7904    lt_prog_compiler_static='-static'
7905
7906    case $host_os in
7907      aix*)
7908      # All AIX code is PIC.
7909      if test "$host_cpu" = ia64; then
7910	# AIX 5 now supports IA64 processor
7911	lt_prog_compiler_static='-Bstatic'
7912      fi
7913      ;;
7914
7915    amigaos*)
7916      case $host_cpu in
7917      powerpc)
7918            # see comment about AmigaOS4 .so support
7919            lt_prog_compiler_pic='-fPIC'
7920        ;;
7921      m68k)
7922            # FIXME: we need at least 68020 code to build shared libraries, but
7923            # adding the `-m68020' flag to GCC prevents building anything better,
7924            # like `-m68040'.
7925            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7926        ;;
7927      esac
7928      ;;
7929
7930    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7931      # PIC is the default for these OSes.
7932      ;;
7933
7934    mingw* | cygwin* | pw32* | os2* | cegcc*)
7935      # This hack is so that the source file can tell whether it is being
7936      # built for inclusion in a dll (and should export symbols for example).
7937      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7938      # (--disable-auto-import) libraries
7939      lt_prog_compiler_pic='-DDLL_EXPORT'
7940      ;;
7941
7942    darwin* | rhapsody*)
7943      # PIC is the default on this platform
7944      # Common symbols not allowed in MH_DYLIB files
7945      lt_prog_compiler_pic='-fno-common'
7946      ;;
7947
7948    hpux*)
7949      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7950      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7951      # sets the default TLS model and affects inlining.
7952      case $host_cpu in
7953      hppa*64*)
7954	# +Z the default
7955	;;
7956      *)
7957	lt_prog_compiler_pic='-fPIC'
7958	;;
7959      esac
7960      ;;
7961
7962    interix[3-9]*)
7963      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7964      # Instead, we relocate shared libraries at runtime.
7965      ;;
7966
7967    msdosdjgpp*)
7968      # Just because we use GCC doesn't mean we suddenly get shared libraries
7969      # on systems that don't support them.
7970      lt_prog_compiler_can_build_shared=no
7971      enable_shared=no
7972      ;;
7973
7974    *nto* | *qnx*)
7975      # QNX uses GNU C++, but need to define -shared option too, otherwise
7976      # it will coredump.
7977      lt_prog_compiler_pic='-fPIC -shared'
7978      ;;
7979
7980    sysv4*MP*)
7981      if test -d /usr/nec; then
7982	lt_prog_compiler_pic=-Kconform_pic
7983      fi
7984      ;;
7985
7986    *)
7987      lt_prog_compiler_pic='-fPIC'
7988      ;;
7989    esac
7990  else
7991    # PORTME Check for flag to pass linker flags through the system compiler.
7992    case $host_os in
7993    aix*)
7994      lt_prog_compiler_wl='-Wl,'
7995      if test "$host_cpu" = ia64; then
7996	# AIX 5 now supports IA64 processor
7997	lt_prog_compiler_static='-Bstatic'
7998      else
7999	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8000      fi
8001      ;;
8002
8003    mingw* | cygwin* | pw32* | os2* | cegcc*)
8004      # This hack is so that the source file can tell whether it is being
8005      # built for inclusion in a dll (and should export symbols for example).
8006      lt_prog_compiler_pic='-DDLL_EXPORT'
8007      ;;
8008
8009    hpux9* | hpux10* | hpux11*)
8010      lt_prog_compiler_wl='-Wl,'
8011      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8012      # not for PA HP-UX.
8013      case $host_cpu in
8014      hppa*64*|ia64*)
8015	# +Z the default
8016	;;
8017      *)
8018	lt_prog_compiler_pic='+Z'
8019	;;
8020      esac
8021      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8022      lt_prog_compiler_static='${wl}-a ${wl}archive'
8023      ;;
8024
8025    irix5* | irix6* | nonstopux*)
8026      lt_prog_compiler_wl='-Wl,'
8027      # PIC (with -KPIC) is the default.
8028      lt_prog_compiler_static='-non_shared'
8029      ;;
8030
8031    linux* | k*bsd*-gnu)
8032      case $cc_basename in
8033      # old Intel for x86_64 which still supported -KPIC.
8034      ecc*)
8035	lt_prog_compiler_wl='-Wl,'
8036	lt_prog_compiler_pic='-KPIC'
8037	lt_prog_compiler_static='-static'
8038        ;;
8039      # icc used to be incompatible with GCC.
8040      # ICC 10 doesn't accept -KPIC any more.
8041      icc* | ifort*)
8042	lt_prog_compiler_wl='-Wl,'
8043	lt_prog_compiler_pic='-fPIC'
8044	lt_prog_compiler_static='-static'
8045        ;;
8046      # Lahey Fortran 8.1.
8047      lf95*)
8048	lt_prog_compiler_wl='-Wl,'
8049	lt_prog_compiler_pic='--shared'
8050	lt_prog_compiler_static='--static'
8051	;;
8052      pgcc* | pgf77* | pgf90* | pgf95*)
8053        # Portland Group compilers (*not* the Pentium gcc compiler,
8054	# which looks to be a dead project)
8055	lt_prog_compiler_wl='-Wl,'
8056	lt_prog_compiler_pic='-fpic'
8057	lt_prog_compiler_static='-Bstatic'
8058        ;;
8059      ccc*)
8060        lt_prog_compiler_wl='-Wl,'
8061        # All Alpha code is PIC.
8062        lt_prog_compiler_static='-non_shared'
8063        ;;
8064      xl*)
8065	# IBM XL C 8.0/Fortran 10.1 on PPC
8066	lt_prog_compiler_wl='-Wl,'
8067	lt_prog_compiler_pic='-qpic'
8068	lt_prog_compiler_static='-qstaticlink'
8069	;;
8070      *)
8071	case `$CC -V 2>&1 | sed 5q` in
8072	*Sun\ C*)
8073	  # Sun C 5.9
8074	  lt_prog_compiler_pic='-KPIC'
8075	  lt_prog_compiler_static='-Bstatic'
8076	  lt_prog_compiler_wl='-Wl,'
8077	  ;;
8078	*Sun\ F*)
8079	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8080	  lt_prog_compiler_pic='-KPIC'
8081	  lt_prog_compiler_static='-Bstatic'
8082	  lt_prog_compiler_wl=''
8083	  ;;
8084	esac
8085	;;
8086      esac
8087      ;;
8088
8089    newsos6)
8090      lt_prog_compiler_pic='-KPIC'
8091      lt_prog_compiler_static='-Bstatic'
8092      ;;
8093
8094    *nto* | *qnx*)
8095      # QNX uses GNU C++, but need to define -shared option too, otherwise
8096      # it will coredump.
8097      lt_prog_compiler_pic='-fPIC -shared'
8098      ;;
8099
8100    osf3* | osf4* | osf5*)
8101      lt_prog_compiler_wl='-Wl,'
8102      # All OSF/1 code is PIC.
8103      lt_prog_compiler_static='-non_shared'
8104      ;;
8105
8106    rdos*)
8107      lt_prog_compiler_static='-non_shared'
8108      ;;
8109
8110    solaris*)
8111      lt_prog_compiler_pic='-KPIC'
8112      lt_prog_compiler_static='-Bstatic'
8113      case $cc_basename in
8114      f77* | f90* | f95*)
8115	lt_prog_compiler_wl='-Qoption ld ';;
8116      *)
8117	lt_prog_compiler_wl='-Wl,';;
8118      esac
8119      ;;
8120
8121    sunos4*)
8122      lt_prog_compiler_wl='-Qoption ld '
8123      lt_prog_compiler_pic='-PIC'
8124      lt_prog_compiler_static='-Bstatic'
8125      ;;
8126
8127    sysv4 | sysv4.2uw2* | sysv4.3*)
8128      lt_prog_compiler_wl='-Wl,'
8129      lt_prog_compiler_pic='-KPIC'
8130      lt_prog_compiler_static='-Bstatic'
8131      ;;
8132
8133    sysv4*MP*)
8134      if test -d /usr/nec ;then
8135	lt_prog_compiler_pic='-Kconform_pic'
8136	lt_prog_compiler_static='-Bstatic'
8137      fi
8138      ;;
8139
8140    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8141      lt_prog_compiler_wl='-Wl,'
8142      lt_prog_compiler_pic='-KPIC'
8143      lt_prog_compiler_static='-Bstatic'
8144      ;;
8145
8146    unicos*)
8147      lt_prog_compiler_wl='-Wl,'
8148      lt_prog_compiler_can_build_shared=no
8149      ;;
8150
8151    uts4*)
8152      lt_prog_compiler_pic='-pic'
8153      lt_prog_compiler_static='-Bstatic'
8154      ;;
8155
8156    *)
8157      lt_prog_compiler_can_build_shared=no
8158      ;;
8159    esac
8160  fi
8161
8162case $host_os in
8163  # For platforms which do not support PIC, -DPIC is meaningless:
8164  *djgpp*)
8165    lt_prog_compiler_pic=
8166    ;;
8167  *)
8168    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8169    ;;
8170esac
8171{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8172echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
8173
8174
8175
8176
8177
8178
8179#
8180# Check to make sure the PIC flag actually works.
8181#
8182if test -n "$lt_prog_compiler_pic"; then
8183  { echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8184echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
8185if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8186  echo $ECHO_N "(cached) $ECHO_C" >&6
8187else
8188  lt_cv_prog_compiler_pic_works=no
8189   ac_outfile=conftest.$ac_objext
8190   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8191   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8192   # Insert the option either (1) after the last *FLAGS variable, or
8193   # (2) before a word containing "conftest.", or (3) at the end.
8194   # Note that $ac_compile itself does not contain backslashes and begins
8195   # with a dollar sign (not a hyphen), so the echo should work correctly.
8196   # The option is referenced via a variable to avoid confusing sed.
8197   lt_compile=`echo "$ac_compile" | $SED \
8198   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8199   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8200   -e 's:$: $lt_compiler_flag:'`
8201   (eval echo "\"\$as_me:8201: $lt_compile\"" >&5)
8202   (eval "$lt_compile" 2>conftest.err)
8203   ac_status=$?
8204   cat conftest.err >&5
8205   echo "$as_me:8205: \$? = $ac_status" >&5
8206   if (exit $ac_status) && test -s "$ac_outfile"; then
8207     # The compiler can only warn and ignore the option if not recognized
8208     # So say no if there are warnings other than the usual output.
8209     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8210     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8211     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8212       lt_cv_prog_compiler_pic_works=yes
8213     fi
8214   fi
8215   $RM conftest*
8216
8217fi
8218{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8219echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6; }
8220
8221if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8222    case $lt_prog_compiler_pic in
8223     "" | " "*) ;;
8224     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8225     esac
8226else
8227    lt_prog_compiler_pic=
8228     lt_prog_compiler_can_build_shared=no
8229fi
8230
8231fi
8232
8233
8234
8235
8236
8237
8238#
8239# Check to make sure the static flag actually works.
8240#
8241wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8242{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8243echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
8244if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8245  echo $ECHO_N "(cached) $ECHO_C" >&6
8246else
8247  lt_cv_prog_compiler_static_works=no
8248   save_LDFLAGS="$LDFLAGS"
8249   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8250   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8251   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8252     # The linker can only warn and ignore the option if not recognized
8253     # So say no if there are warnings
8254     if test -s conftest.err; then
8255       # Append any errors to the config.log.
8256       cat conftest.err 1>&5
8257       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8258       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8259       if diff conftest.exp conftest.er2 >/dev/null; then
8260         lt_cv_prog_compiler_static_works=yes
8261       fi
8262     else
8263       lt_cv_prog_compiler_static_works=yes
8264     fi
8265   fi
8266   $RM -r conftest*
8267   LDFLAGS="$save_LDFLAGS"
8268
8269fi
8270{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8271echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6; }
8272
8273if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8274    :
8275else
8276    lt_prog_compiler_static=
8277fi
8278
8279
8280
8281
8282
8283
8284
8285  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8286echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8287if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8288  echo $ECHO_N "(cached) $ECHO_C" >&6
8289else
8290  lt_cv_prog_compiler_c_o=no
8291   $RM -r conftest 2>/dev/null
8292   mkdir conftest
8293   cd conftest
8294   mkdir out
8295   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8296
8297   lt_compiler_flag="-o out/conftest2.$ac_objext"
8298   # Insert the option either (1) after the last *FLAGS variable, or
8299   # (2) before a word containing "conftest.", or (3) at the end.
8300   # Note that $ac_compile itself does not contain backslashes and begins
8301   # with a dollar sign (not a hyphen), so the echo should work correctly.
8302   lt_compile=`echo "$ac_compile" | $SED \
8303   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8304   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8305   -e 's:$: $lt_compiler_flag:'`
8306   (eval echo "\"\$as_me:8306: $lt_compile\"" >&5)
8307   (eval "$lt_compile" 2>out/conftest.err)
8308   ac_status=$?
8309   cat out/conftest.err >&5
8310   echo "$as_me:8310: \$? = $ac_status" >&5
8311   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8312   then
8313     # The compiler can only warn and ignore the option if not recognized
8314     # So say no if there are warnings
8315     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8316     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8317     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8318       lt_cv_prog_compiler_c_o=yes
8319     fi
8320   fi
8321   chmod u+w . 2>&5
8322   $RM conftest*
8323   # SGI C++ compiler will create directory out/ii_files/ for
8324   # template instantiation
8325   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8326   $RM out/* && rmdir out
8327   cd ..
8328   $RM -r conftest
8329   $RM conftest*
8330
8331fi
8332{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8333echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8334
8335
8336
8337
8338
8339
8340  { echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8341echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
8342if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8343  echo $ECHO_N "(cached) $ECHO_C" >&6
8344else
8345  lt_cv_prog_compiler_c_o=no
8346   $RM -r conftest 2>/dev/null
8347   mkdir conftest
8348   cd conftest
8349   mkdir out
8350   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8351
8352   lt_compiler_flag="-o out/conftest2.$ac_objext"
8353   # Insert the option either (1) after the last *FLAGS variable, or
8354   # (2) before a word containing "conftest.", or (3) at the end.
8355   # Note that $ac_compile itself does not contain backslashes and begins
8356   # with a dollar sign (not a hyphen), so the echo should work correctly.
8357   lt_compile=`echo "$ac_compile" | $SED \
8358   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8359   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8360   -e 's:$: $lt_compiler_flag:'`
8361   (eval echo "\"\$as_me:8361: $lt_compile\"" >&5)
8362   (eval "$lt_compile" 2>out/conftest.err)
8363   ac_status=$?
8364   cat out/conftest.err >&5
8365   echo "$as_me:8365: \$? = $ac_status" >&5
8366   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8367   then
8368     # The compiler can only warn and ignore the option if not recognized
8369     # So say no if there are warnings
8370     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8371     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8372     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8373       lt_cv_prog_compiler_c_o=yes
8374     fi
8375   fi
8376   chmod u+w . 2>&5
8377   $RM conftest*
8378   # SGI C++ compiler will create directory out/ii_files/ for
8379   # template instantiation
8380   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8381   $RM out/* && rmdir out
8382   cd ..
8383   $RM -r conftest
8384   $RM conftest*
8385
8386fi
8387{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8388echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
8389
8390
8391
8392
8393hard_links="nottested"
8394if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8395  # do not overwrite the value of need_locks provided by the user
8396  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8397echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
8398  hard_links=yes
8399  $RM conftest*
8400  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8401  touch conftest.a
8402  ln conftest.a conftest.b 2>&5 || hard_links=no
8403  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8404  { echo "$as_me:$LINENO: result: $hard_links" >&5
8405echo "${ECHO_T}$hard_links" >&6; }
8406  if test "$hard_links" = no; then
8407    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8408echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8409    need_locks=warn
8410  fi
8411else
8412  need_locks=no
8413fi
8414
8415
8416
8417
8418
8419
8420  { echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8421echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
8422
8423  runpath_var=
8424  allow_undefined_flag=
8425  always_export_symbols=no
8426  archive_cmds=
8427  archive_expsym_cmds=
8428  compiler_needs_object=no
8429  enable_shared_with_static_runtimes=no
8430  export_dynamic_flag_spec=
8431  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8432  hardcode_automatic=no
8433  hardcode_direct=no
8434  hardcode_direct_absolute=no
8435  hardcode_libdir_flag_spec=
8436  hardcode_libdir_flag_spec_ld=
8437  hardcode_libdir_separator=
8438  hardcode_minus_L=no
8439  hardcode_shlibpath_var=unsupported
8440  inherit_rpath=no
8441  link_all_deplibs=unknown
8442  module_cmds=
8443  module_expsym_cmds=
8444  old_archive_from_new_cmds=
8445  old_archive_from_expsyms_cmds=
8446  thread_safe_flag_spec=
8447  whole_archive_flag_spec=
8448  # include_expsyms should be a list of space-separated symbols to be *always*
8449  # included in the symbol list
8450  include_expsyms=
8451  # exclude_expsyms can be an extended regexp of symbols to exclude
8452  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8453  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8454  # as well as any symbol that contains `d'.
8455  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8456  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8457  # platforms (ab)use it in PIC code, but their linkers get confused if
8458  # the symbol is explicitly referenced.  Since portable code cannot
8459  # rely on this symbol name, it's probably fine to never include it in
8460  # preloaded symbol tables.
8461  # Exclude shared library initialization/finalization symbols.
8462  extract_expsyms_cmds=
8463
8464  case $host_os in
8465  cygwin* | mingw* | pw32* | cegcc*)
8466    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8467    # When not using gcc, we currently assume that we are using
8468    # Microsoft Visual C++.
8469    if test "$GCC" != yes; then
8470      with_gnu_ld=no
8471    fi
8472    ;;
8473  interix*)
8474    # we just hope/assume this is gcc and not c89 (= MSVC++)
8475    with_gnu_ld=yes
8476    ;;
8477  openbsd*)
8478    with_gnu_ld=no
8479    ;;
8480  linux* | k*bsd*-gnu)
8481    link_all_deplibs=no
8482    ;;
8483  esac
8484
8485  ld_shlibs=yes
8486  if test "$with_gnu_ld" = yes; then
8487    # If archive_cmds runs LD, not CC, wlarc should be empty
8488    wlarc='${wl}'
8489
8490    # Set some defaults for GNU ld with shared library support. These
8491    # are reset later if shared libraries are not supported. Putting them
8492    # here allows them to be overridden if necessary.
8493    runpath_var=LD_RUN_PATH
8494    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8495    export_dynamic_flag_spec='${wl}--export-dynamic'
8496    # ancient GNU ld didn't support --whole-archive et. al.
8497    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8498      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8499    else
8500      whole_archive_flag_spec=
8501    fi
8502    supports_anon_versioning=no
8503    case `$LD -v 2>&1` in
8504      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8505      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8506      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8507      *\ 2.11.*) ;; # other 2.11 versions
8508      *) supports_anon_versioning=yes ;;
8509    esac
8510
8511    # See if GNU ld supports shared libraries.
8512    case $host_os in
8513    aix[3-9]*)
8514      # On AIX/PPC, the GNU linker is very broken
8515      if test "$host_cpu" != ia64; then
8516	ld_shlibs=no
8517	cat <<_LT_EOF 1>&2
8518
8519*** Warning: the GNU linker, at least up to release 2.9.1, is reported
8520*** to be unable to reliably create shared libraries on AIX.
8521*** Therefore, libtool is disabling shared libraries support.  If you
8522*** really care for shared libraries, you may want to modify your PATH
8523*** so that a non-GNU linker is found, and then restart.
8524
8525_LT_EOF
8526      fi
8527      ;;
8528
8529    amigaos*)
8530      case $host_cpu in
8531      powerpc)
8532            # see comment about AmigaOS4 .so support
8533            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8534            archive_expsym_cmds=''
8535        ;;
8536      m68k)
8537            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)'
8538            hardcode_libdir_flag_spec='-L$libdir'
8539            hardcode_minus_L=yes
8540        ;;
8541      esac
8542      ;;
8543
8544    beos*)
8545      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8546	allow_undefined_flag=unsupported
8547	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8548	# support --undefined.  This deserves some investigation.  FIXME
8549	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8550      else
8551	ld_shlibs=no
8552      fi
8553      ;;
8554
8555    cygwin* | mingw* | pw32* | cegcc*)
8556      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8557      # as there is no search path for DLLs.
8558      hardcode_libdir_flag_spec='-L$libdir'
8559      allow_undefined_flag=unsupported
8560      always_export_symbols=no
8561      enable_shared_with_static_runtimes=yes
8562      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8563
8564      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8565        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8566	# If the export-symbols file already is a .def file (1st line
8567	# is EXPORTS), use it as is; otherwise, prepend...
8568	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8569	  cp $export_symbols $output_objdir/$soname.def;
8570	else
8571	  echo EXPORTS > $output_objdir/$soname.def;
8572	  cat $export_symbols >> $output_objdir/$soname.def;
8573	fi~
8574	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8575      else
8576	ld_shlibs=no
8577      fi
8578      ;;
8579
8580    interix[3-9]*)
8581      hardcode_direct=no
8582      hardcode_shlibpath_var=no
8583      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8584      export_dynamic_flag_spec='${wl}-E'
8585      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8586      # Instead, shared libraries are loaded at an image base (0x10000000 by
8587      # default) and relocated if they conflict, which is a slow very memory
8588      # consuming and fragmenting process.  To avoid this, we pick a random,
8589      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8590      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8591      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8592      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'
8593      ;;
8594
8595    gnu* | linux* | tpf* | k*bsd*-gnu)
8596      tmp_diet=no
8597      if test "$host_os" = linux-dietlibc; then
8598	case $cc_basename in
8599	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8600	esac
8601      fi
8602      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8603	 && test "$tmp_diet" = no
8604      then
8605	tmp_addflag=
8606	tmp_sharedflag='-shared'
8607	case $cc_basename,$host_cpu in
8608        pgcc*)				# Portland Group C compiler
8609	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8610	  tmp_addflag=' $pic_flag'
8611	  ;;
8612	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
8613	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8614	  tmp_addflag=' $pic_flag -Mnomain' ;;
8615	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8616	  tmp_addflag=' -i_dynamic' ;;
8617	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8618	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8619	ifc* | ifort*)			# Intel Fortran compiler
8620	  tmp_addflag=' -nofor_main' ;;
8621	lf95*)				# Lahey Fortran 8.1
8622	  whole_archive_flag_spec=
8623	  tmp_sharedflag='--shared' ;;
8624	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
8625	  tmp_sharedflag='-qmkshrobj'
8626	  tmp_addflag= ;;
8627	esac
8628	case `$CC -V 2>&1 | sed 5q` in
8629	*Sun\ C*)			# Sun C 5.9
8630	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8631	  compiler_needs_object=yes
8632	  tmp_sharedflag='-G' ;;
8633	*Sun\ F*)			# Sun Fortran 8.3
8634	  tmp_sharedflag='-G' ;;
8635	esac
8636	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8637
8638        if test "x$supports_anon_versioning" = xyes; then
8639          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8640	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8641	    echo "local: *; };" >> $output_objdir/$libname.ver~
8642	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8643        fi
8644
8645	case $cc_basename in
8646	xlf*)
8647	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8648	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8649	  hardcode_libdir_flag_spec=
8650	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8651	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8652	  if test "x$supports_anon_versioning" = xyes; then
8653	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655	      echo "local: *; };" >> $output_objdir/$libname.ver~
8656	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8657	  fi
8658	  ;;
8659	esac
8660      else
8661        ld_shlibs=no
8662      fi
8663      ;;
8664
8665    netbsd* | netbsdelf*-gnu)
8666      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8667	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8668	wlarc=
8669      else
8670	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8671	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8672      fi
8673      ;;
8674
8675    solaris*)
8676      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8677	ld_shlibs=no
8678	cat <<_LT_EOF 1>&2
8679
8680*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8681*** create shared libraries on Solaris systems.  Therefore, libtool
8682*** is disabling shared libraries support.  We urge you to upgrade GNU
8683*** binutils to release 2.9.1 or newer.  Another option is to modify
8684*** your PATH or compiler configuration so that the native linker is
8685*** used, and then restart.
8686
8687_LT_EOF
8688      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8689	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8690	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8691      else
8692	ld_shlibs=no
8693      fi
8694      ;;
8695
8696    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8697      case `$LD -v 2>&1` in
8698        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8699	ld_shlibs=no
8700	cat <<_LT_EOF 1>&2
8701
8702*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8703*** reliably create shared libraries on SCO systems.  Therefore, libtool
8704*** is disabling shared libraries support.  We urge you to upgrade GNU
8705*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8706*** your PATH or compiler configuration so that the native linker is
8707*** used, and then restart.
8708
8709_LT_EOF
8710	;;
8711	*)
8712	  # For security reasons, it is highly recommended that you always
8713	  # use absolute paths for naming shared libraries, and exclude the
8714	  # DT_RUNPATH tag from executables and libraries.  But doing so
8715	  # requires that you compile everything twice, which is a pain.
8716	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8717	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8718	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8719	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8720	  else
8721	    ld_shlibs=no
8722	  fi
8723	;;
8724      esac
8725      ;;
8726
8727    sunos4*)
8728      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8729      wlarc=
8730      hardcode_direct=yes
8731      hardcode_shlibpath_var=no
8732      ;;
8733
8734    *)
8735      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8736	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8737	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8738      else
8739	ld_shlibs=no
8740      fi
8741      ;;
8742    esac
8743
8744    if test "$ld_shlibs" = no; then
8745      runpath_var=
8746      hardcode_libdir_flag_spec=
8747      export_dynamic_flag_spec=
8748      whole_archive_flag_spec=
8749    fi
8750  else
8751    # PORTME fill in a description of your system's linker (not GNU ld)
8752    case $host_os in
8753    aix3*)
8754      allow_undefined_flag=unsupported
8755      always_export_symbols=yes
8756      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'
8757      # Note: this linker hardcodes the directories in LIBPATH if there
8758      # are no directories specified by -L.
8759      hardcode_minus_L=yes
8760      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8761	# Neither direct hardcoding nor static linking is supported with a
8762	# broken collect2.
8763	hardcode_direct=unsupported
8764      fi
8765      ;;
8766
8767    aix[4-9]*)
8768      if test "$host_cpu" = ia64; then
8769	# On IA64, the linker does run time linking by default, so we don't
8770	# have to do anything special.
8771	aix_use_runtimelinking=no
8772	exp_sym_flag='-Bexport'
8773	no_entry_flag=""
8774      else
8775	# If we're using GNU nm, then we don't want the "-C" option.
8776	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8777	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8778	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8779	else
8780	  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'
8781	fi
8782	aix_use_runtimelinking=no
8783
8784	# Test if we are trying to use run time linking or normal
8785	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8786	# need to do runtime linking.
8787	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8788	  for ld_flag in $LDFLAGS; do
8789	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8790	    aix_use_runtimelinking=yes
8791	    break
8792	  fi
8793	  done
8794	  ;;
8795	esac
8796
8797	exp_sym_flag='-bexport'
8798	no_entry_flag='-bnoentry'
8799      fi
8800
8801      # When large executables or shared objects are built, AIX ld can
8802      # have problems creating the table of contents.  If linking a library
8803      # or program results in "error TOC overflow" add -mminimal-toc to
8804      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8805      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8806
8807      archive_cmds=''
8808      hardcode_direct=yes
8809      hardcode_direct_absolute=yes
8810      hardcode_libdir_separator=':'
8811      link_all_deplibs=yes
8812      file_list_spec='${wl}-f,'
8813
8814      if test "$GCC" = yes; then
8815	case $host_os in aix4.[012]|aix4.[012].*)
8816	# We only want to do this on AIX 4.2 and lower, the check
8817	# below for broken collect2 doesn't work under 4.3+
8818	  collect2name=`${CC} -print-prog-name=collect2`
8819	  if test -f "$collect2name" &&
8820	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8821	  then
8822	  # We have reworked collect2
8823	  :
8824	  else
8825	  # We have old collect2
8826	  hardcode_direct=unsupported
8827	  # It fails to find uninstalled libraries when the uninstalled
8828	  # path is not listed in the libpath.  Setting hardcode_minus_L
8829	  # to unsupported forces relinking
8830	  hardcode_minus_L=yes
8831	  hardcode_libdir_flag_spec='-L$libdir'
8832	  hardcode_libdir_separator=
8833	  fi
8834	  ;;
8835	esac
8836	shared_flag='-shared'
8837	if test "$aix_use_runtimelinking" = yes; then
8838	  shared_flag="$shared_flag "'${wl}-G'
8839	fi
8840	link_all_deplibs=no
8841      else
8842	# not using gcc
8843	if test "$host_cpu" = ia64; then
8844	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8845	# chokes on -Wl,-G. The following line is correct:
8846	  shared_flag='-G'
8847	else
8848	  if test "$aix_use_runtimelinking" = yes; then
8849	    shared_flag='${wl}-G'
8850	  else
8851	    shared_flag='${wl}-bM:SRE'
8852	  fi
8853	fi
8854      fi
8855
8856      export_dynamic_flag_spec='${wl}-bexpall'
8857      # It seems that -bexpall does not export symbols beginning with
8858      # underscore (_), so it is better to generate a list of symbols to export.
8859      always_export_symbols=yes
8860      if test "$aix_use_runtimelinking" = yes; then
8861	# Warning - without using the other runtime loading flags (-brtl),
8862	# -berok will link without error, but may produce a broken library.
8863	allow_undefined_flag='-berok'
8864        # Determine the default libpath from the value encoded in an
8865        # empty executable.
8866        cat >conftest.$ac_ext <<_ACEOF
8867/* confdefs.h.  */
8868_ACEOF
8869cat confdefs.h >>conftest.$ac_ext
8870cat >>conftest.$ac_ext <<_ACEOF
8871/* end confdefs.h.  */
8872
8873int
8874main ()
8875{
8876
8877  ;
8878  return 0;
8879}
8880_ACEOF
8881rm -f conftest.$ac_objext conftest$ac_exeext
8882if { (ac_try="$ac_link"
8883case "(($ac_try" in
8884  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8885  *) ac_try_echo=$ac_try;;
8886esac
8887eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8888  (eval "$ac_link") 2>conftest.er1
8889  ac_status=$?
8890  grep -v '^ *+' conftest.er1 >conftest.err
8891  rm -f conftest.er1
8892  cat conftest.err >&5
8893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894  (exit $ac_status); } && {
8895	 test -z "$ac_c_werror_flag" ||
8896	 test ! -s conftest.err
8897       } && test -s conftest$ac_exeext &&
8898       $as_test_x conftest$ac_exeext; then
8899
8900lt_aix_libpath_sed='
8901    /Import File Strings/,/^$/ {
8902	/^0/ {
8903	    s/^0  *\(.*\)$/\1/
8904	    p
8905	}
8906    }'
8907aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8908# Check for a 64-bit object if we didn't find anything.
8909if test -z "$aix_libpath"; then
8910  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8911fi
8912else
8913  echo "$as_me: failed program was:" >&5
8914sed 's/^/| /' conftest.$ac_ext >&5
8915
8916
8917fi
8918
8919rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8920      conftest$ac_exeext conftest.$ac_ext
8921if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8922
8923        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8924        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8925      else
8926	if test "$host_cpu" = ia64; then
8927	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8928	  allow_undefined_flag="-z nodefs"
8929	  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"
8930	else
8931	 # Determine the default libpath from the value encoded in an
8932	 # empty executable.
8933	 cat >conftest.$ac_ext <<_ACEOF
8934/* confdefs.h.  */
8935_ACEOF
8936cat confdefs.h >>conftest.$ac_ext
8937cat >>conftest.$ac_ext <<_ACEOF
8938/* end confdefs.h.  */
8939
8940int
8941main ()
8942{
8943
8944  ;
8945  return 0;
8946}
8947_ACEOF
8948rm -f conftest.$ac_objext conftest$ac_exeext
8949if { (ac_try="$ac_link"
8950case "(($ac_try" in
8951  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8952  *) ac_try_echo=$ac_try;;
8953esac
8954eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8955  (eval "$ac_link") 2>conftest.er1
8956  ac_status=$?
8957  grep -v '^ *+' conftest.er1 >conftest.err
8958  rm -f conftest.er1
8959  cat conftest.err >&5
8960  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961  (exit $ac_status); } && {
8962	 test -z "$ac_c_werror_flag" ||
8963	 test ! -s conftest.err
8964       } && test -s conftest$ac_exeext &&
8965       $as_test_x conftest$ac_exeext; then
8966
8967lt_aix_libpath_sed='
8968    /Import File Strings/,/^$/ {
8969	/^0/ {
8970	    s/^0  *\(.*\)$/\1/
8971	    p
8972	}
8973    }'
8974aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8975# Check for a 64-bit object if we didn't find anything.
8976if test -z "$aix_libpath"; then
8977  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8978fi
8979else
8980  echo "$as_me: failed program was:" >&5
8981sed 's/^/| /' conftest.$ac_ext >&5
8982
8983
8984fi
8985
8986rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8987      conftest$ac_exeext conftest.$ac_ext
8988if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8989
8990	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8991	  # Warning - without using the other run time loading flags,
8992	  # -berok will link without error, but may produce a broken library.
8993	  no_undefined_flag=' ${wl}-bernotok'
8994	  allow_undefined_flag=' ${wl}-berok'
8995	  # Exported symbols can be pulled into shared objects from archives
8996	  whole_archive_flag_spec='$convenience'
8997	  archive_cmds_need_lc=yes
8998	  # This is similar to how AIX traditionally builds its shared libraries.
8999	  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'
9000	fi
9001      fi
9002      ;;
9003
9004    amigaos*)
9005      case $host_cpu in
9006      powerpc)
9007            # see comment about AmigaOS4 .so support
9008            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9009            archive_expsym_cmds=''
9010        ;;
9011      m68k)
9012            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)'
9013            hardcode_libdir_flag_spec='-L$libdir'
9014            hardcode_minus_L=yes
9015        ;;
9016      esac
9017      ;;
9018
9019    bsdi[45]*)
9020      export_dynamic_flag_spec=-rdynamic
9021      ;;
9022
9023    cygwin* | mingw* | pw32* | cegcc*)
9024      # When not using gcc, we currently assume that we are using
9025      # Microsoft Visual C++.
9026      # hardcode_libdir_flag_spec is actually meaningless, as there is
9027      # no search path for DLLs.
9028      hardcode_libdir_flag_spec=' '
9029      allow_undefined_flag=unsupported
9030      # Tell ltmain to make .lib files, not .a files.
9031      libext=lib
9032      # Tell ltmain to make .dll files, not .so files.
9033      shrext_cmds=".dll"
9034      # FIXME: Setting linknames here is a bad hack.
9035      archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9036      # The linker will automatically build a .lib file if we build a DLL.
9037      old_archive_from_new_cmds='true'
9038      # FIXME: Should let the user specify the lib program.
9039      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9040      fix_srcfile_path='`cygpath -w "$srcfile"`'
9041      enable_shared_with_static_runtimes=yes
9042      ;;
9043
9044    darwin* | rhapsody*)
9045
9046
9047  archive_cmds_need_lc=no
9048  hardcode_direct=no
9049  hardcode_automatic=yes
9050  hardcode_shlibpath_var=unsupported
9051  whole_archive_flag_spec=''
9052  link_all_deplibs=yes
9053  allow_undefined_flag="$_lt_dar_allow_undefined"
9054  case $cc_basename in
9055     ifort*) _lt_dar_can_shared=yes ;;
9056     *) _lt_dar_can_shared=$GCC ;;
9057  esac
9058  if test "$_lt_dar_can_shared" = "yes"; then
9059    output_verbose_link_cmd=echo
9060    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9061    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9062    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}"
9063    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}"
9064
9065  else
9066  ld_shlibs=no
9067  fi
9068
9069      ;;
9070
9071    dgux*)
9072      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9073      hardcode_libdir_flag_spec='-L$libdir'
9074      hardcode_shlibpath_var=no
9075      ;;
9076
9077    freebsd1*)
9078      ld_shlibs=no
9079      ;;
9080
9081    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9082    # support.  Future versions do this automatically, but an explicit c++rt0.o
9083    # does not break anything, and helps significantly (at the cost of a little
9084    # extra space).
9085    freebsd2.2*)
9086      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9087      hardcode_libdir_flag_spec='-R$libdir'
9088      hardcode_direct=yes
9089      hardcode_shlibpath_var=no
9090      ;;
9091
9092    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9093    freebsd2*)
9094      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9095      hardcode_direct=yes
9096      hardcode_minus_L=yes
9097      hardcode_shlibpath_var=no
9098      ;;
9099
9100    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9101    freebsd* | dragonfly*)
9102      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9103      hardcode_libdir_flag_spec='-R$libdir'
9104      hardcode_direct=yes
9105      hardcode_shlibpath_var=no
9106      ;;
9107
9108    hpux9*)
9109      if test "$GCC" = yes; then
9110	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9111      else
9112	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'
9113      fi
9114      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9115      hardcode_libdir_separator=:
9116      hardcode_direct=yes
9117
9118      # hardcode_minus_L: Not really in the search PATH,
9119      # but as the default location of the library.
9120      hardcode_minus_L=yes
9121      export_dynamic_flag_spec='${wl}-E'
9122      ;;
9123
9124    hpux10*)
9125      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9126	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9127      else
9128	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9129      fi
9130      if test "$with_gnu_ld" = no; then
9131	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9132	hardcode_libdir_flag_spec_ld='+b $libdir'
9133	hardcode_libdir_separator=:
9134	hardcode_direct=yes
9135	hardcode_direct_absolute=yes
9136	export_dynamic_flag_spec='${wl}-E'
9137	# hardcode_minus_L: Not really in the search PATH,
9138	# but as the default location of the library.
9139	hardcode_minus_L=yes
9140      fi
9141      ;;
9142
9143    hpux11*)
9144      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9145	case $host_cpu in
9146	hppa*64*)
9147	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9148	  ;;
9149	ia64*)
9150	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9151	  ;;
9152	*)
9153	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9154	  ;;
9155	esac
9156      else
9157	case $host_cpu in
9158	hppa*64*)
9159	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9160	  ;;
9161	ia64*)
9162	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9163	  ;;
9164	*)
9165	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9166	  ;;
9167	esac
9168      fi
9169      if test "$with_gnu_ld" = no; then
9170	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9171	hardcode_libdir_separator=:
9172
9173	case $host_cpu in
9174	hppa*64*|ia64*)
9175	  hardcode_direct=no
9176	  hardcode_shlibpath_var=no
9177	  ;;
9178	*)
9179	  hardcode_direct=yes
9180	  hardcode_direct_absolute=yes
9181	  export_dynamic_flag_spec='${wl}-E'
9182
9183	  # hardcode_minus_L: Not really in the search PATH,
9184	  # but as the default location of the library.
9185	  hardcode_minus_L=yes
9186	  ;;
9187	esac
9188      fi
9189      ;;
9190
9191    irix5* | irix6* | nonstopux*)
9192      if test "$GCC" = yes; then
9193	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9194	# Try to use the -exported_symbol ld option, if it does not
9195	# work, assume that -exports_file does not work either and
9196	# implicitly export all symbols.
9197        save_LDFLAGS="$LDFLAGS"
9198        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9199        cat >conftest.$ac_ext <<_ACEOF
9200int foo(void) {}
9201_ACEOF
9202rm -f conftest.$ac_objext conftest$ac_exeext
9203if { (ac_try="$ac_link"
9204case "(($ac_try" in
9205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9206  *) ac_try_echo=$ac_try;;
9207esac
9208eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9209  (eval "$ac_link") 2>conftest.er1
9210  ac_status=$?
9211  grep -v '^ *+' conftest.er1 >conftest.err
9212  rm -f conftest.er1
9213  cat conftest.err >&5
9214  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9215  (exit $ac_status); } && {
9216	 test -z "$ac_c_werror_flag" ||
9217	 test ! -s conftest.err
9218       } && test -s conftest$ac_exeext &&
9219       $as_test_x conftest$ac_exeext; then
9220  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9221
9222else
9223  echo "$as_me: failed program was:" >&5
9224sed 's/^/| /' conftest.$ac_ext >&5
9225
9226
9227fi
9228
9229rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9230      conftest$ac_exeext conftest.$ac_ext
9231        LDFLAGS="$save_LDFLAGS"
9232      else
9233	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9234	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9235      fi
9236      archive_cmds_need_lc='no'
9237      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9238      hardcode_libdir_separator=:
9239      inherit_rpath=yes
9240      link_all_deplibs=yes
9241      ;;
9242
9243    netbsd* | netbsdelf*-gnu)
9244      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9245	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9246      else
9247	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9248      fi
9249      hardcode_libdir_flag_spec='-R$libdir'
9250      hardcode_direct=yes
9251      hardcode_shlibpath_var=no
9252      ;;
9253
9254    newsos6)
9255      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9256      hardcode_direct=yes
9257      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9258      hardcode_libdir_separator=:
9259      hardcode_shlibpath_var=no
9260      ;;
9261
9262    *nto* | *qnx*)
9263      ;;
9264
9265    openbsd*)
9266      if test -f /usr/libexec/ld.so; then
9267	hardcode_direct=yes
9268	hardcode_shlibpath_var=no
9269	hardcode_direct_absolute=yes
9270	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9271	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9272	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9273	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9274	  export_dynamic_flag_spec='${wl}-E'
9275	else
9276	  case $host_os in
9277	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9278	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9279	     hardcode_libdir_flag_spec='-R$libdir'
9280	     ;;
9281	   *)
9282	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9283	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9284	     ;;
9285	  esac
9286	fi
9287      else
9288	ld_shlibs=no
9289      fi
9290      ;;
9291
9292    os2*)
9293      hardcode_libdir_flag_spec='-L$libdir'
9294      hardcode_minus_L=yes
9295      allow_undefined_flag=unsupported
9296      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'
9297      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9298      ;;
9299
9300    osf3*)
9301      if test "$GCC" = yes; then
9302	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9303	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9304      else
9305	allow_undefined_flag=' -expect_unresolved \*'
9306	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9307      fi
9308      archive_cmds_need_lc='no'
9309      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9310      hardcode_libdir_separator=:
9311      ;;
9312
9313    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9314      if test "$GCC" = yes; then
9315	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9316	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9317	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9318      else
9319	allow_undefined_flag=' -expect_unresolved \*'
9320	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
9321	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~
9322	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9323
9324	# Both c and cxx compiler support -rpath directly
9325	hardcode_libdir_flag_spec='-rpath $libdir'
9326      fi
9327      archive_cmds_need_lc='no'
9328      hardcode_libdir_separator=:
9329      ;;
9330
9331    solaris*)
9332      no_undefined_flag=' -z defs'
9333      if test "$GCC" = yes; then
9334	wlarc='${wl}'
9335	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9336	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9337	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9338      else
9339	case `$CC -V 2>&1` in
9340	*"Compilers 5.0"*)
9341	  wlarc=''
9342	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9343	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9344	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9345	  ;;
9346	*)
9347	  wlarc='${wl}'
9348	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9349	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9350	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9351	  ;;
9352	esac
9353      fi
9354      hardcode_libdir_flag_spec='-R$libdir'
9355      hardcode_shlibpath_var=no
9356      case $host_os in
9357      solaris2.[0-5] | solaris2.[0-5].*) ;;
9358      *)
9359	# The compiler driver will combine and reorder linker options,
9360	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9361	# but is careful enough not to reorder.
9362	# Supported since Solaris 2.6 (maybe 2.5.1?)
9363	if test "$GCC" = yes; then
9364	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9365	else
9366	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9367	fi
9368	;;
9369      esac
9370      link_all_deplibs=yes
9371      ;;
9372
9373    sunos4*)
9374      if test "x$host_vendor" = xsequent; then
9375	# Use $CC to link under sequent, because it throws in some extra .o
9376	# files that make .init and .fini sections work.
9377	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9378      else
9379	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9380      fi
9381      hardcode_libdir_flag_spec='-L$libdir'
9382      hardcode_direct=yes
9383      hardcode_minus_L=yes
9384      hardcode_shlibpath_var=no
9385      ;;
9386
9387    sysv4)
9388      case $host_vendor in
9389	sni)
9390	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9391	  hardcode_direct=yes # is this really true???
9392	;;
9393	siemens)
9394	  ## LD is ld it makes a PLAMLIB
9395	  ## CC just makes a GrossModule.
9396	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9397	  reload_cmds='$CC -r -o $output$reload_objs'
9398	  hardcode_direct=no
9399        ;;
9400	motorola)
9401	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9402	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9403	;;
9404      esac
9405      runpath_var='LD_RUN_PATH'
9406      hardcode_shlibpath_var=no
9407      ;;
9408
9409    sysv4.3*)
9410      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9411      hardcode_shlibpath_var=no
9412      export_dynamic_flag_spec='-Bexport'
9413      ;;
9414
9415    sysv4*MP*)
9416      if test -d /usr/nec; then
9417	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9418	hardcode_shlibpath_var=no
9419	runpath_var=LD_RUN_PATH
9420	hardcode_runpath_var=yes
9421	ld_shlibs=yes
9422      fi
9423      ;;
9424
9425    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9426      no_undefined_flag='${wl}-z,text'
9427      archive_cmds_need_lc=no
9428      hardcode_shlibpath_var=no
9429      runpath_var='LD_RUN_PATH'
9430
9431      if test "$GCC" = yes; then
9432	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9433	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9434      else
9435	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9436	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9437      fi
9438      ;;
9439
9440    sysv5* | sco3.2v5* | sco5v6*)
9441      # Note: We can NOT use -z defs as we might desire, because we do not
9442      # link with -lc, and that would cause any symbols used from libc to
9443      # always be unresolved, which means just about no library would
9444      # ever link correctly.  If we're not using GNU ld we use -z text
9445      # though, which does catch some bad symbols but isn't as heavy-handed
9446      # as -z defs.
9447      no_undefined_flag='${wl}-z,text'
9448      allow_undefined_flag='${wl}-z,nodefs'
9449      archive_cmds_need_lc=no
9450      hardcode_shlibpath_var=no
9451      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9452      hardcode_libdir_separator=':'
9453      link_all_deplibs=yes
9454      export_dynamic_flag_spec='${wl}-Bexport'
9455      runpath_var='LD_RUN_PATH'
9456
9457      if test "$GCC" = yes; then
9458	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9459	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9460      else
9461	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9462	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9463      fi
9464      ;;
9465
9466    uts4*)
9467      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9468      hardcode_libdir_flag_spec='-L$libdir'
9469      hardcode_shlibpath_var=no
9470      ;;
9471
9472    *)
9473      ld_shlibs=no
9474      ;;
9475    esac
9476
9477    if test x$host_vendor = xsni; then
9478      case $host in
9479      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9480	export_dynamic_flag_spec='${wl}-Blargedynsym'
9481	;;
9482      esac
9483    fi
9484  fi
9485
9486{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9487echo "${ECHO_T}$ld_shlibs" >&6; }
9488test "$ld_shlibs" = no && can_build_shared=no
9489
9490with_gnu_ld=$with_gnu_ld
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506#
9507# Do we need to explicitly link libc?
9508#
9509case "x$archive_cmds_need_lc" in
9510x|xyes)
9511  # Assume -lc should be added
9512  archive_cmds_need_lc=yes
9513
9514  if test "$enable_shared" = yes && test "$GCC" = yes; then
9515    case $archive_cmds in
9516    *'~'*)
9517      # FIXME: we may have to deal with multi-command sequences.
9518      ;;
9519    '$CC '*)
9520      # Test whether the compiler implicitly links with -lc since on some
9521      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9522      # to ld, don't add -lc before -lgcc.
9523      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9524echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
9525      $RM conftest*
9526      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9527
9528      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9529  (eval $ac_compile) 2>&5
9530  ac_status=$?
9531  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532  (exit $ac_status); } 2>conftest.err; then
9533        soname=conftest
9534        lib=conftest
9535        libobjs=conftest.$ac_objext
9536        deplibs=
9537        wl=$lt_prog_compiler_wl
9538	pic_flag=$lt_prog_compiler_pic
9539        compiler_flags=-v
9540        linker_flags=-v
9541        verstring=
9542        output_objdir=.
9543        libname=conftest
9544        lt_save_allow_undefined_flag=$allow_undefined_flag
9545        allow_undefined_flag=
9546        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9547  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9548  ac_status=$?
9549  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550  (exit $ac_status); }
9551        then
9552	  archive_cmds_need_lc=no
9553        else
9554	  archive_cmds_need_lc=yes
9555        fi
9556        allow_undefined_flag=$lt_save_allow_undefined_flag
9557      else
9558        cat conftest.err 1>&5
9559      fi
9560      $RM conftest*
9561      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
9562echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
9563      ;;
9564    esac
9565  fi
9566  ;;
9567esac
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725  { echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9726echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
9727
9728if test "$GCC" = yes; then
9729  case $host_os in
9730    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9731    *) lt_awk_arg="/^libraries:/" ;;
9732  esac
9733  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9734  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9735    # if the path contains ";" then we assume it to be the separator
9736    # otherwise default to the standard path separator (i.e. ":") - it is
9737    # assumed that no part of a normal pathname contains ";" but that should
9738    # okay in the real world where ";" in dirpaths is itself problematic.
9739    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9740  else
9741    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9742  fi
9743  # Ok, now we have the path, separated by spaces, we can step through it
9744  # and add multilib dir if necessary.
9745  lt_tmp_lt_search_path_spec=
9746  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9747  for lt_sys_path in $lt_search_path_spec; do
9748    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9749      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9750    else
9751      test -d "$lt_sys_path" && \
9752	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9753    fi
9754  done
9755  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9756BEGIN {RS=" "; FS="/|\n";} {
9757  lt_foo="";
9758  lt_count=0;
9759  for (lt_i = NF; lt_i > 0; lt_i--) {
9760    if ($lt_i != "" && $lt_i != ".") {
9761      if ($lt_i == "..") {
9762        lt_count++;
9763      } else {
9764        if (lt_count == 0) {
9765          lt_foo="/" $lt_i lt_foo;
9766        } else {
9767          lt_count--;
9768        }
9769      }
9770    }
9771  }
9772  if (lt_foo != "") { lt_freq[lt_foo]++; }
9773  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9774}'`
9775  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9776else
9777  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9778fi
9779library_names_spec=
9780libname_spec='lib$name'
9781soname_spec=
9782shrext_cmds=".so"
9783postinstall_cmds=
9784postuninstall_cmds=
9785finish_cmds=
9786finish_eval=
9787shlibpath_var=
9788shlibpath_overrides_runpath=unknown
9789version_type=none
9790dynamic_linker="$host_os ld.so"
9791sys_lib_dlsearch_path_spec="/lib /usr/lib"
9792need_lib_prefix=unknown
9793hardcode_into_libs=no
9794
9795# when you set need_version to no, make sure it does not cause -set_version
9796# flags to be left without arguments
9797need_version=unknown
9798
9799case $host_os in
9800aix3*)
9801  version_type=linux
9802  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9803  shlibpath_var=LIBPATH
9804
9805  # AIX 3 has no versioning support, so we append a major version to the name.
9806  soname_spec='${libname}${release}${shared_ext}$major'
9807  ;;
9808
9809aix[4-9]*)
9810  version_type=linux
9811  need_lib_prefix=no
9812  need_version=no
9813  hardcode_into_libs=yes
9814  if test "$host_cpu" = ia64; then
9815    # AIX 5 supports IA64
9816    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9817    shlibpath_var=LD_LIBRARY_PATH
9818  else
9819    # With GCC up to 2.95.x, collect2 would create an import file
9820    # for dependence libraries.  The import file would start with
9821    # the line `#! .'.  This would cause the generated library to
9822    # depend on `.', always an invalid library.  This was fixed in
9823    # development snapshots of GCC prior to 3.0.
9824    case $host_os in
9825      aix4 | aix4.[01] | aix4.[01].*)
9826      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9827	   echo ' yes '
9828	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9829	:
9830      else
9831	can_build_shared=no
9832      fi
9833      ;;
9834    esac
9835    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9836    # soname into executable. Probably we can add versioning support to
9837    # collect2, so additional links can be useful in future.
9838    if test "$aix_use_runtimelinking" = yes; then
9839      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9840      # instead of lib<name>.a to let people know that these are not
9841      # typical AIX shared libraries.
9842      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9843    else
9844      # We preserve .a as extension for shared libraries through AIX4.2
9845      # and later when we are not doing run time linking.
9846      library_names_spec='${libname}${release}.a $libname.a'
9847      soname_spec='${libname}${release}${shared_ext}$major'
9848    fi
9849    shlibpath_var=LIBPATH
9850  fi
9851  ;;
9852
9853amigaos*)
9854  case $host_cpu in
9855  powerpc)
9856    # Since July 2007 AmigaOS4 officially supports .so libraries.
9857    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9858    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9859    ;;
9860  m68k)
9861    library_names_spec='$libname.ixlibrary $libname.a'
9862    # Create ${libname}_ixlibrary.a entries in /sys/libs.
9863    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''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'
9864    ;;
9865  esac
9866  ;;
9867
9868beos*)
9869  library_names_spec='${libname}${shared_ext}'
9870  dynamic_linker="$host_os ld.so"
9871  shlibpath_var=LIBRARY_PATH
9872  ;;
9873
9874bsdi[45]*)
9875  version_type=linux
9876  need_version=no
9877  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9878  soname_spec='${libname}${release}${shared_ext}$major'
9879  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9880  shlibpath_var=LD_LIBRARY_PATH
9881  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9882  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9883  # the default ld.so.conf also contains /usr/contrib/lib and
9884  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9885  # libtool to hard-code these into programs
9886  ;;
9887
9888cygwin* | mingw* | pw32* | cegcc*)
9889  version_type=windows
9890  shrext_cmds=".dll"
9891  need_version=no
9892  need_lib_prefix=no
9893
9894  case $GCC,$host_os in
9895  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9896    library_names_spec='$libname.dll.a'
9897    # DLL is installed to $(libdir)/../bin by postinstall_cmds
9898    postinstall_cmds='base_file=`basename \${file}`~
9899      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9900      dldir=$destdir/`dirname \$dlpath`~
9901      test -d \$dldir || mkdir -p \$dldir~
9902      $install_prog $dir/$dlname \$dldir/$dlname~
9903      chmod a+x \$dldir/$dlname~
9904      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9905        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9906      fi'
9907    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9908      dlpath=$dir/\$dldll~
9909       $RM \$dlpath'
9910    shlibpath_overrides_runpath=yes
9911
9912    case $host_os in
9913    cygwin*)
9914      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9915      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9916      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9917      ;;
9918    mingw* | cegcc*)
9919      # MinGW DLLs use traditional 'lib' prefix
9920      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9921      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9922      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9923        # It is most probably a Windows format PATH printed by
9924        # mingw gcc, but we are running on Cygwin. Gcc prints its search
9925        # path with ; separators, and with drive letters. We can handle the
9926        # drive letters (cygwin fileutils understands them), so leave them,
9927        # especially as we might pass files found there to a mingw objdump,
9928        # which wouldn't understand a cygwinified path. Ahh.
9929        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9930      else
9931        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9932      fi
9933      ;;
9934    pw32*)
9935      # pw32 DLLs use 'pw' prefix rather than 'lib'
9936      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9937      ;;
9938    esac
9939    ;;
9940
9941  *)
9942    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9943    ;;
9944  esac
9945  dynamic_linker='Win32 ld.exe'
9946  # FIXME: first we should search . and the directory the executable is in
9947  shlibpath_var=PATH
9948  ;;
9949
9950darwin* | rhapsody*)
9951  dynamic_linker="$host_os dyld"
9952  version_type=darwin
9953  need_lib_prefix=no
9954  need_version=no
9955  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9956  soname_spec='${libname}${release}${major}$shared_ext'
9957  shlibpath_overrides_runpath=yes
9958  shlibpath_var=DYLD_LIBRARY_PATH
9959  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9960
9961  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9962  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9963  ;;
9964
9965dgux*)
9966  version_type=linux
9967  need_lib_prefix=no
9968  need_version=no
9969  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9970  soname_spec='${libname}${release}${shared_ext}$major'
9971  shlibpath_var=LD_LIBRARY_PATH
9972  ;;
9973
9974freebsd1*)
9975  dynamic_linker=no
9976  ;;
9977
9978freebsd* | dragonfly*)
9979  # DragonFly does not have aout.  When/if they implement a new
9980  # versioning mechanism, adjust this.
9981  if test -x /usr/bin/objformat; then
9982    objformat=`/usr/bin/objformat`
9983  else
9984    case $host_os in
9985    freebsd[123]*) objformat=aout ;;
9986    *) objformat=elf ;;
9987    esac
9988  fi
9989  version_type=freebsd-$objformat
9990  case $version_type in
9991    freebsd-elf*)
9992      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9993      need_version=no
9994      need_lib_prefix=no
9995      ;;
9996    freebsd-*)
9997      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9998      need_version=yes
9999      ;;
10000  esac
10001  shlibpath_var=LD_LIBRARY_PATH
10002  case $host_os in
10003  freebsd2*)
10004    shlibpath_overrides_runpath=yes
10005    ;;
10006  freebsd3.[01]* | freebsdelf3.[01]*)
10007    shlibpath_overrides_runpath=yes
10008    hardcode_into_libs=yes
10009    ;;
10010  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10011  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10012    shlibpath_overrides_runpath=no
10013    hardcode_into_libs=yes
10014    ;;
10015  *) # from 4.6 on, and DragonFly
10016    shlibpath_overrides_runpath=yes
10017    hardcode_into_libs=yes
10018    ;;
10019  esac
10020  ;;
10021
10022gnu*)
10023  version_type=linux
10024  need_lib_prefix=no
10025  need_version=no
10026  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10027  soname_spec='${libname}${release}${shared_ext}$major'
10028  shlibpath_var=LD_LIBRARY_PATH
10029  hardcode_into_libs=yes
10030  ;;
10031
10032hpux9* | hpux10* | hpux11*)
10033  # Give a soname corresponding to the major version so that dld.sl refuses to
10034  # link against other versions.
10035  version_type=sunos
10036  need_lib_prefix=no
10037  need_version=no
10038  case $host_cpu in
10039  ia64*)
10040    shrext_cmds='.so'
10041    hardcode_into_libs=yes
10042    dynamic_linker="$host_os dld.so"
10043    shlibpath_var=LD_LIBRARY_PATH
10044    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10045    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10046    soname_spec='${libname}${release}${shared_ext}$major'
10047    if test "X$HPUX_IA64_MODE" = X32; then
10048      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10049    else
10050      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10051    fi
10052    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10053    ;;
10054  hppa*64*)
10055    shrext_cmds='.sl'
10056    hardcode_into_libs=yes
10057    dynamic_linker="$host_os dld.sl"
10058    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10059    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10060    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10061    soname_spec='${libname}${release}${shared_ext}$major'
10062    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10063    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10064    ;;
10065  *)
10066    shrext_cmds='.sl'
10067    dynamic_linker="$host_os dld.sl"
10068    shlibpath_var=SHLIB_PATH
10069    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10070    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10071    soname_spec='${libname}${release}${shared_ext}$major'
10072    ;;
10073  esac
10074  # HP-UX runs *really* slowly unless shared libraries are mode 555.
10075  postinstall_cmds='chmod 555 $lib'
10076  ;;
10077
10078interix[3-9]*)
10079  version_type=linux
10080  need_lib_prefix=no
10081  need_version=no
10082  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10083  soname_spec='${libname}${release}${shared_ext}$major'
10084  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10085  shlibpath_var=LD_LIBRARY_PATH
10086  shlibpath_overrides_runpath=no
10087  hardcode_into_libs=yes
10088  ;;
10089
10090irix5* | irix6* | nonstopux*)
10091  case $host_os in
10092    nonstopux*) version_type=nonstopux ;;
10093    *)
10094	if test "$lt_cv_prog_gnu_ld" = yes; then
10095		version_type=linux
10096	else
10097		version_type=irix
10098	fi ;;
10099  esac
10100  need_lib_prefix=no
10101  need_version=no
10102  soname_spec='${libname}${release}${shared_ext}$major'
10103  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10104  case $host_os in
10105  irix5* | nonstopux*)
10106    libsuff= shlibsuff=
10107    ;;
10108  *)
10109    case $LD in # libtool.m4 will add one of these switches to LD
10110    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10111      libsuff= shlibsuff= libmagic=32-bit;;
10112    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10113      libsuff=32 shlibsuff=N32 libmagic=N32;;
10114    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10115      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10116    *) libsuff= shlibsuff= libmagic=never-match;;
10117    esac
10118    ;;
10119  esac
10120  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10121  shlibpath_overrides_runpath=no
10122  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10123  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10124  hardcode_into_libs=yes
10125  ;;
10126
10127# No shared lib support for Linux oldld, aout, or coff.
10128linux*oldld* | linux*aout* | linux*coff*)
10129  dynamic_linker=no
10130  ;;
10131
10132# This must be Linux ELF.
10133linux* | k*bsd*-gnu)
10134  version_type=linux
10135  need_lib_prefix=no
10136  need_version=no
10137  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10138  soname_spec='${libname}${release}${shared_ext}$major'
10139  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10140  shlibpath_var=LD_LIBRARY_PATH
10141  shlibpath_overrides_runpath=no
10142  # Some binutils ld are patched to set DT_RUNPATH
10143  save_LDFLAGS=$LDFLAGS
10144  save_libdir=$libdir
10145  eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10146       LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10147  cat >conftest.$ac_ext <<_ACEOF
10148/* confdefs.h.  */
10149_ACEOF
10150cat confdefs.h >>conftest.$ac_ext
10151cat >>conftest.$ac_ext <<_ACEOF
10152/* end confdefs.h.  */
10153
10154int
10155main ()
10156{
10157
10158  ;
10159  return 0;
10160}
10161_ACEOF
10162rm -f conftest.$ac_objext conftest$ac_exeext
10163if { (ac_try="$ac_link"
10164case "(($ac_try" in
10165  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10166  *) ac_try_echo=$ac_try;;
10167esac
10168eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10169  (eval "$ac_link") 2>conftest.er1
10170  ac_status=$?
10171  grep -v '^ *+' conftest.er1 >conftest.err
10172  rm -f conftest.er1
10173  cat conftest.err >&5
10174  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175  (exit $ac_status); } && {
10176	 test -z "$ac_c_werror_flag" ||
10177	 test ! -s conftest.err
10178       } && test -s conftest$ac_exeext &&
10179       $as_test_x conftest$ac_exeext; then
10180  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10181  shlibpath_overrides_runpath=yes
10182fi
10183
10184else
10185  echo "$as_me: failed program was:" >&5
10186sed 's/^/| /' conftest.$ac_ext >&5
10187
10188
10189fi
10190
10191rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10192      conftest$ac_exeext conftest.$ac_ext
10193  LDFLAGS=$save_LDFLAGS
10194  libdir=$save_libdir
10195
10196  # This implies no fast_install, which is unacceptable.
10197  # Some rework will be needed to allow for fast_install
10198  # before this can be enabled.
10199  hardcode_into_libs=yes
10200
10201  # Append ld.so.conf contents to the search path
10202  if test -f /etc/ld.so.conf; then
10203    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;/^$/d' | tr '\n' ' '`
10204    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10205  fi
10206
10207  # We used to test for /lib/ld.so.1 and disable shared libraries on
10208  # powerpc, because MkLinux only supported shared libraries with the
10209  # GNU dynamic linker.  Since this was broken with cross compilers,
10210  # most powerpc-linux boxes support dynamic linking these days and
10211  # people can always --disable-shared, the test was removed, and we
10212  # assume the GNU/Linux dynamic linker is in use.
10213  dynamic_linker='GNU/Linux ld.so'
10214  ;;
10215
10216netbsdelf*-gnu)
10217  version_type=linux
10218  need_lib_prefix=no
10219  need_version=no
10220  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10221  soname_spec='${libname}${release}${shared_ext}$major'
10222  shlibpath_var=LD_LIBRARY_PATH
10223  shlibpath_overrides_runpath=no
10224  hardcode_into_libs=yes
10225  dynamic_linker='NetBSD ld.elf_so'
10226  ;;
10227
10228netbsd*)
10229  version_type=sunos
10230  need_lib_prefix=no
10231  need_version=no
10232  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10233    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10234    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10235    dynamic_linker='NetBSD (a.out) ld.so'
10236  else
10237    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10238    soname_spec='${libname}${release}${shared_ext}$major'
10239    dynamic_linker='NetBSD ld.elf_so'
10240  fi
10241  shlibpath_var=LD_LIBRARY_PATH
10242  shlibpath_overrides_runpath=yes
10243  hardcode_into_libs=yes
10244  ;;
10245
10246newsos6)
10247  version_type=linux
10248  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10249  shlibpath_var=LD_LIBRARY_PATH
10250  shlibpath_overrides_runpath=yes
10251  ;;
10252
10253*nto* | *qnx*)
10254  version_type=qnx
10255  need_lib_prefix=no
10256  need_version=no
10257  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10258  soname_spec='${libname}${release}${shared_ext}$major'
10259  shlibpath_var=LD_LIBRARY_PATH
10260  shlibpath_overrides_runpath=no
10261  hardcode_into_libs=yes
10262  dynamic_linker='ldqnx.so'
10263  ;;
10264
10265openbsd*)
10266  version_type=sunos
10267  sys_lib_dlsearch_path_spec="/usr/lib"
10268  need_lib_prefix=no
10269  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10270  case $host_os in
10271    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10272    *)				need_version=no  ;;
10273  esac
10274  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10275  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10276  shlibpath_var=LD_LIBRARY_PATH
10277  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10278    case $host_os in
10279      openbsd2.[89] | openbsd2.[89].*)
10280	shlibpath_overrides_runpath=no
10281	;;
10282      *)
10283	shlibpath_overrides_runpath=yes
10284	;;
10285      esac
10286  else
10287    shlibpath_overrides_runpath=yes
10288  fi
10289  ;;
10290
10291os2*)
10292  libname_spec='$name'
10293  shrext_cmds=".dll"
10294  need_lib_prefix=no
10295  library_names_spec='$libname${shared_ext} $libname.a'
10296  dynamic_linker='OS/2 ld.exe'
10297  shlibpath_var=LIBPATH
10298  ;;
10299
10300osf3* | osf4* | osf5*)
10301  version_type=osf
10302  need_lib_prefix=no
10303  need_version=no
10304  soname_spec='${libname}${release}${shared_ext}$major'
10305  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10306  shlibpath_var=LD_LIBRARY_PATH
10307  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10308  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10309  ;;
10310
10311rdos*)
10312  dynamic_linker=no
10313  ;;
10314
10315solaris*)
10316  version_type=linux
10317  need_lib_prefix=no
10318  need_version=no
10319  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10320  soname_spec='${libname}${release}${shared_ext}$major'
10321  shlibpath_var=LD_LIBRARY_PATH
10322  shlibpath_overrides_runpath=yes
10323  hardcode_into_libs=yes
10324  # ldd complains unless libraries are executable
10325  postinstall_cmds='chmod +x $lib'
10326  ;;
10327
10328sunos4*)
10329  version_type=sunos
10330  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10331  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10332  shlibpath_var=LD_LIBRARY_PATH
10333  shlibpath_overrides_runpath=yes
10334  if test "$with_gnu_ld" = yes; then
10335    need_lib_prefix=no
10336  fi
10337  need_version=yes
10338  ;;
10339
10340sysv4 | sysv4.3*)
10341  version_type=linux
10342  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10343  soname_spec='${libname}${release}${shared_ext}$major'
10344  shlibpath_var=LD_LIBRARY_PATH
10345  case $host_vendor in
10346    sni)
10347      shlibpath_overrides_runpath=no
10348      need_lib_prefix=no
10349      runpath_var=LD_RUN_PATH
10350      ;;
10351    siemens)
10352      need_lib_prefix=no
10353      ;;
10354    motorola)
10355      need_lib_prefix=no
10356      need_version=no
10357      shlibpath_overrides_runpath=no
10358      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10359      ;;
10360  esac
10361  ;;
10362
10363sysv4*MP*)
10364  if test -d /usr/nec ;then
10365    version_type=linux
10366    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10367    soname_spec='$libname${shared_ext}.$major'
10368    shlibpath_var=LD_LIBRARY_PATH
10369  fi
10370  ;;
10371
10372sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10373  version_type=freebsd-elf
10374  need_lib_prefix=no
10375  need_version=no
10376  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10377  soname_spec='${libname}${release}${shared_ext}$major'
10378  shlibpath_var=LD_LIBRARY_PATH
10379  shlibpath_overrides_runpath=yes
10380  hardcode_into_libs=yes
10381  if test "$with_gnu_ld" = yes; then
10382    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10383  else
10384    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10385    case $host_os in
10386      sco3.2v5*)
10387        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10388	;;
10389    esac
10390  fi
10391  sys_lib_dlsearch_path_spec='/usr/lib'
10392  ;;
10393
10394tpf*)
10395  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10396  version_type=linux
10397  need_lib_prefix=no
10398  need_version=no
10399  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10400  shlibpath_var=LD_LIBRARY_PATH
10401  shlibpath_overrides_runpath=no
10402  hardcode_into_libs=yes
10403  ;;
10404
10405uts4*)
10406  version_type=linux
10407  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10408  soname_spec='${libname}${release}${shared_ext}$major'
10409  shlibpath_var=LD_LIBRARY_PATH
10410  ;;
10411
10412*)
10413  dynamic_linker=no
10414  ;;
10415esac
10416{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10417echo "${ECHO_T}$dynamic_linker" >&6; }
10418test "$dynamic_linker" = no && can_build_shared=no
10419
10420variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10421if test "$GCC" = yes; then
10422  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10423fi
10424
10425if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10426  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10427fi
10428if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10429  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10430fi
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518  { echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10519echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
10520hardcode_action=
10521if test -n "$hardcode_libdir_flag_spec" ||
10522   test -n "$runpath_var" ||
10523   test "X$hardcode_automatic" = "Xyes" ; then
10524
10525  # We can hardcode non-existent directories.
10526  if test "$hardcode_direct" != no &&
10527     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10528     # have to relink, otherwise we might link with an installed library
10529     # when we should be linking with a yet-to-be-installed one
10530     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10531     test "$hardcode_minus_L" != no; then
10532    # Linking always hardcodes the temporary library directory.
10533    hardcode_action=relink
10534  else
10535    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10536    hardcode_action=immediate
10537  fi
10538else
10539  # We cannot hardcode anything, or else we can only hardcode existing
10540  # directories.
10541  hardcode_action=unsupported
10542fi
10543{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
10544echo "${ECHO_T}$hardcode_action" >&6; }
10545
10546if test "$hardcode_action" = relink ||
10547   test "$inherit_rpath" = yes; then
10548  # Fast installation is not supported
10549  enable_fast_install=no
10550elif test "$shlibpath_overrides_runpath" = yes ||
10551     test "$enable_shared" = no; then
10552  # Fast installation is not necessary
10553  enable_fast_install=needless
10554fi
10555
10556
10557
10558
10559
10560
10561  if test "x$enable_dlopen" != xyes; then
10562  enable_dlopen=unknown
10563  enable_dlopen_self=unknown
10564  enable_dlopen_self_static=unknown
10565else
10566  lt_cv_dlopen=no
10567  lt_cv_dlopen_libs=
10568
10569  case $host_os in
10570  beos*)
10571    lt_cv_dlopen="load_add_on"
10572    lt_cv_dlopen_libs=
10573    lt_cv_dlopen_self=yes
10574    ;;
10575
10576  mingw* | pw32* | cegcc*)
10577    lt_cv_dlopen="LoadLibrary"
10578    lt_cv_dlopen_libs=
10579    ;;
10580
10581  cygwin*)
10582    lt_cv_dlopen="dlopen"
10583    lt_cv_dlopen_libs=
10584    ;;
10585
10586  darwin*)
10587  # if libdl is installed we need to link against it
10588    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10589echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10590if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10591  echo $ECHO_N "(cached) $ECHO_C" >&6
10592else
10593  ac_check_lib_save_LIBS=$LIBS
10594LIBS="-ldl  $LIBS"
10595cat >conftest.$ac_ext <<_ACEOF
10596/* confdefs.h.  */
10597_ACEOF
10598cat confdefs.h >>conftest.$ac_ext
10599cat >>conftest.$ac_ext <<_ACEOF
10600/* end confdefs.h.  */
10601
10602/* Override any GCC internal prototype to avoid an error.
10603   Use char because int might match the return type of a GCC
10604   builtin and then its argument prototype would still apply.  */
10605#ifdef __cplusplus
10606extern "C"
10607#endif
10608char dlopen ();
10609int
10610main ()
10611{
10612return dlopen ();
10613  ;
10614  return 0;
10615}
10616_ACEOF
10617rm -f conftest.$ac_objext conftest$ac_exeext
10618if { (ac_try="$ac_link"
10619case "(($ac_try" in
10620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10621  *) ac_try_echo=$ac_try;;
10622esac
10623eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624  (eval "$ac_link") 2>conftest.er1
10625  ac_status=$?
10626  grep -v '^ *+' conftest.er1 >conftest.err
10627  rm -f conftest.er1
10628  cat conftest.err >&5
10629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10630  (exit $ac_status); } && {
10631	 test -z "$ac_c_werror_flag" ||
10632	 test ! -s conftest.err
10633       } && test -s conftest$ac_exeext &&
10634       $as_test_x conftest$ac_exeext; then
10635  ac_cv_lib_dl_dlopen=yes
10636else
10637  echo "$as_me: failed program was:" >&5
10638sed 's/^/| /' conftest.$ac_ext >&5
10639
10640	ac_cv_lib_dl_dlopen=no
10641fi
10642
10643rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10644      conftest$ac_exeext conftest.$ac_ext
10645LIBS=$ac_check_lib_save_LIBS
10646fi
10647{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10648echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10649if test $ac_cv_lib_dl_dlopen = yes; then
10650  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10651else
10652
10653    lt_cv_dlopen="dyld"
10654    lt_cv_dlopen_libs=
10655    lt_cv_dlopen_self=yes
10656
10657fi
10658
10659    ;;
10660
10661  *)
10662    { echo "$as_me:$LINENO: checking for shl_load" >&5
10663echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
10664if test "${ac_cv_func_shl_load+set}" = set; then
10665  echo $ECHO_N "(cached) $ECHO_C" >&6
10666else
10667  cat >conftest.$ac_ext <<_ACEOF
10668/* confdefs.h.  */
10669_ACEOF
10670cat confdefs.h >>conftest.$ac_ext
10671cat >>conftest.$ac_ext <<_ACEOF
10672/* end confdefs.h.  */
10673/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10674   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10675#define shl_load innocuous_shl_load
10676
10677/* System header to define __stub macros and hopefully few prototypes,
10678    which can conflict with char shl_load (); below.
10679    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10680    <limits.h> exists even on freestanding compilers.  */
10681
10682#ifdef __STDC__
10683# include <limits.h>
10684#else
10685# include <assert.h>
10686#endif
10687
10688#undef shl_load
10689
10690/* Override any GCC internal prototype to avoid an error.
10691   Use char because int might match the return type of a GCC
10692   builtin and then its argument prototype would still apply.  */
10693#ifdef __cplusplus
10694extern "C"
10695#endif
10696char shl_load ();
10697/* The GNU C library defines this for functions which it implements
10698    to always fail with ENOSYS.  Some functions are actually named
10699    something starting with __ and the normal name is an alias.  */
10700#if defined __stub_shl_load || defined __stub___shl_load
10701choke me
10702#endif
10703
10704int
10705main ()
10706{
10707return shl_load ();
10708  ;
10709  return 0;
10710}
10711_ACEOF
10712rm -f conftest.$ac_objext conftest$ac_exeext
10713if { (ac_try="$ac_link"
10714case "(($ac_try" in
10715  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10716  *) ac_try_echo=$ac_try;;
10717esac
10718eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10719  (eval "$ac_link") 2>conftest.er1
10720  ac_status=$?
10721  grep -v '^ *+' conftest.er1 >conftest.err
10722  rm -f conftest.er1
10723  cat conftest.err >&5
10724  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10725  (exit $ac_status); } && {
10726	 test -z "$ac_c_werror_flag" ||
10727	 test ! -s conftest.err
10728       } && test -s conftest$ac_exeext &&
10729       $as_test_x conftest$ac_exeext; then
10730  ac_cv_func_shl_load=yes
10731else
10732  echo "$as_me: failed program was:" >&5
10733sed 's/^/| /' conftest.$ac_ext >&5
10734
10735	ac_cv_func_shl_load=no
10736fi
10737
10738rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10739      conftest$ac_exeext conftest.$ac_ext
10740fi
10741{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10742echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
10743if test $ac_cv_func_shl_load = yes; then
10744  lt_cv_dlopen="shl_load"
10745else
10746  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10747echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
10748if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10749  echo $ECHO_N "(cached) $ECHO_C" >&6
10750else
10751  ac_check_lib_save_LIBS=$LIBS
10752LIBS="-ldld  $LIBS"
10753cat >conftest.$ac_ext <<_ACEOF
10754/* confdefs.h.  */
10755_ACEOF
10756cat confdefs.h >>conftest.$ac_ext
10757cat >>conftest.$ac_ext <<_ACEOF
10758/* end confdefs.h.  */
10759
10760/* Override any GCC internal prototype to avoid an error.
10761   Use char because int might match the return type of a GCC
10762   builtin and then its argument prototype would still apply.  */
10763#ifdef __cplusplus
10764extern "C"
10765#endif
10766char shl_load ();
10767int
10768main ()
10769{
10770return shl_load ();
10771  ;
10772  return 0;
10773}
10774_ACEOF
10775rm -f conftest.$ac_objext conftest$ac_exeext
10776if { (ac_try="$ac_link"
10777case "(($ac_try" in
10778  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10779  *) ac_try_echo=$ac_try;;
10780esac
10781eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10782  (eval "$ac_link") 2>conftest.er1
10783  ac_status=$?
10784  grep -v '^ *+' conftest.er1 >conftest.err
10785  rm -f conftest.er1
10786  cat conftest.err >&5
10787  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10788  (exit $ac_status); } && {
10789	 test -z "$ac_c_werror_flag" ||
10790	 test ! -s conftest.err
10791       } && test -s conftest$ac_exeext &&
10792       $as_test_x conftest$ac_exeext; then
10793  ac_cv_lib_dld_shl_load=yes
10794else
10795  echo "$as_me: failed program was:" >&5
10796sed 's/^/| /' conftest.$ac_ext >&5
10797
10798	ac_cv_lib_dld_shl_load=no
10799fi
10800
10801rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10802      conftest$ac_exeext conftest.$ac_ext
10803LIBS=$ac_check_lib_save_LIBS
10804fi
10805{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10806echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
10807if test $ac_cv_lib_dld_shl_load = yes; then
10808  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10809else
10810  { echo "$as_me:$LINENO: checking for dlopen" >&5
10811echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
10812if test "${ac_cv_func_dlopen+set}" = set; then
10813  echo $ECHO_N "(cached) $ECHO_C" >&6
10814else
10815  cat >conftest.$ac_ext <<_ACEOF
10816/* confdefs.h.  */
10817_ACEOF
10818cat confdefs.h >>conftest.$ac_ext
10819cat >>conftest.$ac_ext <<_ACEOF
10820/* end confdefs.h.  */
10821/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10822   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10823#define dlopen innocuous_dlopen
10824
10825/* System header to define __stub macros and hopefully few prototypes,
10826    which can conflict with char dlopen (); below.
10827    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10828    <limits.h> exists even on freestanding compilers.  */
10829
10830#ifdef __STDC__
10831# include <limits.h>
10832#else
10833# include <assert.h>
10834#endif
10835
10836#undef dlopen
10837
10838/* Override any GCC internal prototype to avoid an error.
10839   Use char because int might match the return type of a GCC
10840   builtin and then its argument prototype would still apply.  */
10841#ifdef __cplusplus
10842extern "C"
10843#endif
10844char dlopen ();
10845/* The GNU C library defines this for functions which it implements
10846    to always fail with ENOSYS.  Some functions are actually named
10847    something starting with __ and the normal name is an alias.  */
10848#if defined __stub_dlopen || defined __stub___dlopen
10849choke me
10850#endif
10851
10852int
10853main ()
10854{
10855return dlopen ();
10856  ;
10857  return 0;
10858}
10859_ACEOF
10860rm -f conftest.$ac_objext conftest$ac_exeext
10861if { (ac_try="$ac_link"
10862case "(($ac_try" in
10863  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864  *) ac_try_echo=$ac_try;;
10865esac
10866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867  (eval "$ac_link") 2>conftest.er1
10868  ac_status=$?
10869  grep -v '^ *+' conftest.er1 >conftest.err
10870  rm -f conftest.er1
10871  cat conftest.err >&5
10872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873  (exit $ac_status); } && {
10874	 test -z "$ac_c_werror_flag" ||
10875	 test ! -s conftest.err
10876       } && test -s conftest$ac_exeext &&
10877       $as_test_x conftest$ac_exeext; then
10878  ac_cv_func_dlopen=yes
10879else
10880  echo "$as_me: failed program was:" >&5
10881sed 's/^/| /' conftest.$ac_ext >&5
10882
10883	ac_cv_func_dlopen=no
10884fi
10885
10886rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10887      conftest$ac_exeext conftest.$ac_ext
10888fi
10889{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10890echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
10891if test $ac_cv_func_dlopen = yes; then
10892  lt_cv_dlopen="dlopen"
10893else
10894  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10895echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
10896if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10897  echo $ECHO_N "(cached) $ECHO_C" >&6
10898else
10899  ac_check_lib_save_LIBS=$LIBS
10900LIBS="-ldl  $LIBS"
10901cat >conftest.$ac_ext <<_ACEOF
10902/* confdefs.h.  */
10903_ACEOF
10904cat confdefs.h >>conftest.$ac_ext
10905cat >>conftest.$ac_ext <<_ACEOF
10906/* end confdefs.h.  */
10907
10908/* Override any GCC internal prototype to avoid an error.
10909   Use char because int might match the return type of a GCC
10910   builtin and then its argument prototype would still apply.  */
10911#ifdef __cplusplus
10912extern "C"
10913#endif
10914char dlopen ();
10915int
10916main ()
10917{
10918return dlopen ();
10919  ;
10920  return 0;
10921}
10922_ACEOF
10923rm -f conftest.$ac_objext conftest$ac_exeext
10924if { (ac_try="$ac_link"
10925case "(($ac_try" in
10926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10927  *) ac_try_echo=$ac_try;;
10928esac
10929eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10930  (eval "$ac_link") 2>conftest.er1
10931  ac_status=$?
10932  grep -v '^ *+' conftest.er1 >conftest.err
10933  rm -f conftest.er1
10934  cat conftest.err >&5
10935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10936  (exit $ac_status); } && {
10937	 test -z "$ac_c_werror_flag" ||
10938	 test ! -s conftest.err
10939       } && test -s conftest$ac_exeext &&
10940       $as_test_x conftest$ac_exeext; then
10941  ac_cv_lib_dl_dlopen=yes
10942else
10943  echo "$as_me: failed program was:" >&5
10944sed 's/^/| /' conftest.$ac_ext >&5
10945
10946	ac_cv_lib_dl_dlopen=no
10947fi
10948
10949rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10950      conftest$ac_exeext conftest.$ac_ext
10951LIBS=$ac_check_lib_save_LIBS
10952fi
10953{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10954echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
10955if test $ac_cv_lib_dl_dlopen = yes; then
10956  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10957else
10958  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10959echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
10960if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10961  echo $ECHO_N "(cached) $ECHO_C" >&6
10962else
10963  ac_check_lib_save_LIBS=$LIBS
10964LIBS="-lsvld  $LIBS"
10965cat >conftest.$ac_ext <<_ACEOF
10966/* confdefs.h.  */
10967_ACEOF
10968cat confdefs.h >>conftest.$ac_ext
10969cat >>conftest.$ac_ext <<_ACEOF
10970/* end confdefs.h.  */
10971
10972/* Override any GCC internal prototype to avoid an error.
10973   Use char because int might match the return type of a GCC
10974   builtin and then its argument prototype would still apply.  */
10975#ifdef __cplusplus
10976extern "C"
10977#endif
10978char dlopen ();
10979int
10980main ()
10981{
10982return dlopen ();
10983  ;
10984  return 0;
10985}
10986_ACEOF
10987rm -f conftest.$ac_objext conftest$ac_exeext
10988if { (ac_try="$ac_link"
10989case "(($ac_try" in
10990  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10991  *) ac_try_echo=$ac_try;;
10992esac
10993eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10994  (eval "$ac_link") 2>conftest.er1
10995  ac_status=$?
10996  grep -v '^ *+' conftest.er1 >conftest.err
10997  rm -f conftest.er1
10998  cat conftest.err >&5
10999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000  (exit $ac_status); } && {
11001	 test -z "$ac_c_werror_flag" ||
11002	 test ! -s conftest.err
11003       } && test -s conftest$ac_exeext &&
11004       $as_test_x conftest$ac_exeext; then
11005  ac_cv_lib_svld_dlopen=yes
11006else
11007  echo "$as_me: failed program was:" >&5
11008sed 's/^/| /' conftest.$ac_ext >&5
11009
11010	ac_cv_lib_svld_dlopen=no
11011fi
11012
11013rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11014      conftest$ac_exeext conftest.$ac_ext
11015LIBS=$ac_check_lib_save_LIBS
11016fi
11017{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11018echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
11019if test $ac_cv_lib_svld_dlopen = yes; then
11020  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11021else
11022  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11023echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
11024if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11025  echo $ECHO_N "(cached) $ECHO_C" >&6
11026else
11027  ac_check_lib_save_LIBS=$LIBS
11028LIBS="-ldld  $LIBS"
11029cat >conftest.$ac_ext <<_ACEOF
11030/* confdefs.h.  */
11031_ACEOF
11032cat confdefs.h >>conftest.$ac_ext
11033cat >>conftest.$ac_ext <<_ACEOF
11034/* end confdefs.h.  */
11035
11036/* Override any GCC internal prototype to avoid an error.
11037   Use char because int might match the return type of a GCC
11038   builtin and then its argument prototype would still apply.  */
11039#ifdef __cplusplus
11040extern "C"
11041#endif
11042char dld_link ();
11043int
11044main ()
11045{
11046return dld_link ();
11047  ;
11048  return 0;
11049}
11050_ACEOF
11051rm -f conftest.$ac_objext conftest$ac_exeext
11052if { (ac_try="$ac_link"
11053case "(($ac_try" in
11054  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11055  *) ac_try_echo=$ac_try;;
11056esac
11057eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11058  (eval "$ac_link") 2>conftest.er1
11059  ac_status=$?
11060  grep -v '^ *+' conftest.er1 >conftest.err
11061  rm -f conftest.er1
11062  cat conftest.err >&5
11063  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11064  (exit $ac_status); } && {
11065	 test -z "$ac_c_werror_flag" ||
11066	 test ! -s conftest.err
11067       } && test -s conftest$ac_exeext &&
11068       $as_test_x conftest$ac_exeext; then
11069  ac_cv_lib_dld_dld_link=yes
11070else
11071  echo "$as_me: failed program was:" >&5
11072sed 's/^/| /' conftest.$ac_ext >&5
11073
11074	ac_cv_lib_dld_dld_link=no
11075fi
11076
11077rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11078      conftest$ac_exeext conftest.$ac_ext
11079LIBS=$ac_check_lib_save_LIBS
11080fi
11081{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11082echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
11083if test $ac_cv_lib_dld_dld_link = yes; then
11084  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11085fi
11086
11087
11088fi
11089
11090
11091fi
11092
11093
11094fi
11095
11096
11097fi
11098
11099
11100fi
11101
11102    ;;
11103  esac
11104
11105  if test "x$lt_cv_dlopen" != xno; then
11106    enable_dlopen=yes
11107  else
11108    enable_dlopen=no
11109  fi
11110
11111  case $lt_cv_dlopen in
11112  dlopen)
11113    save_CPPFLAGS="$CPPFLAGS"
11114    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11115
11116    save_LDFLAGS="$LDFLAGS"
11117    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11118
11119    save_LIBS="$LIBS"
11120    LIBS="$lt_cv_dlopen_libs $LIBS"
11121
11122    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11123echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
11124if test "${lt_cv_dlopen_self+set}" = set; then
11125  echo $ECHO_N "(cached) $ECHO_C" >&6
11126else
11127  	  if test "$cross_compiling" = yes; then :
11128  lt_cv_dlopen_self=cross
11129else
11130  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11131  lt_status=$lt_dlunknown
11132  cat > conftest.$ac_ext <<_LT_EOF
11133#line 11133 "configure"
11134#include "confdefs.h"
11135
11136#if HAVE_DLFCN_H
11137#include <dlfcn.h>
11138#endif
11139
11140#include <stdio.h>
11141
11142#ifdef RTLD_GLOBAL
11143#  define LT_DLGLOBAL		RTLD_GLOBAL
11144#else
11145#  ifdef DL_GLOBAL
11146#    define LT_DLGLOBAL		DL_GLOBAL
11147#  else
11148#    define LT_DLGLOBAL		0
11149#  endif
11150#endif
11151
11152/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11153   find out it does not work in some platform. */
11154#ifndef LT_DLLAZY_OR_NOW
11155#  ifdef RTLD_LAZY
11156#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11157#  else
11158#    ifdef DL_LAZY
11159#      define LT_DLLAZY_OR_NOW		DL_LAZY
11160#    else
11161#      ifdef RTLD_NOW
11162#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11163#      else
11164#        ifdef DL_NOW
11165#          define LT_DLLAZY_OR_NOW	DL_NOW
11166#        else
11167#          define LT_DLLAZY_OR_NOW	0
11168#        endif
11169#      endif
11170#    endif
11171#  endif
11172#endif
11173
11174void fnord() { int i=42;}
11175int main ()
11176{
11177  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11178  int status = $lt_dlunknown;
11179
11180  if (self)
11181    {
11182      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11183      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11184      /* dlclose (self); */
11185    }
11186  else
11187    puts (dlerror ());
11188
11189  return status;
11190}
11191_LT_EOF
11192  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11193  (eval $ac_link) 2>&5
11194  ac_status=$?
11195  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11196  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11197    (./conftest; exit; ) >&5 2>/dev/null
11198    lt_status=$?
11199    case x$lt_status in
11200      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11201      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11202      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11203    esac
11204  else :
11205    # compilation failed
11206    lt_cv_dlopen_self=no
11207  fi
11208fi
11209rm -fr conftest*
11210
11211
11212fi
11213{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11214echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
11215
11216    if test "x$lt_cv_dlopen_self" = xyes; then
11217      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11218      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11219echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
11220if test "${lt_cv_dlopen_self_static+set}" = set; then
11221  echo $ECHO_N "(cached) $ECHO_C" >&6
11222else
11223  	  if test "$cross_compiling" = yes; then :
11224  lt_cv_dlopen_self_static=cross
11225else
11226  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11227  lt_status=$lt_dlunknown
11228  cat > conftest.$ac_ext <<_LT_EOF
11229#line 11229 "configure"
11230#include "confdefs.h"
11231
11232#if HAVE_DLFCN_H
11233#include <dlfcn.h>
11234#endif
11235
11236#include <stdio.h>
11237
11238#ifdef RTLD_GLOBAL
11239#  define LT_DLGLOBAL		RTLD_GLOBAL
11240#else
11241#  ifdef DL_GLOBAL
11242#    define LT_DLGLOBAL		DL_GLOBAL
11243#  else
11244#    define LT_DLGLOBAL		0
11245#  endif
11246#endif
11247
11248/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11249   find out it does not work in some platform. */
11250#ifndef LT_DLLAZY_OR_NOW
11251#  ifdef RTLD_LAZY
11252#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11253#  else
11254#    ifdef DL_LAZY
11255#      define LT_DLLAZY_OR_NOW		DL_LAZY
11256#    else
11257#      ifdef RTLD_NOW
11258#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11259#      else
11260#        ifdef DL_NOW
11261#          define LT_DLLAZY_OR_NOW	DL_NOW
11262#        else
11263#          define LT_DLLAZY_OR_NOW	0
11264#        endif
11265#      endif
11266#    endif
11267#  endif
11268#endif
11269
11270void fnord() { int i=42;}
11271int main ()
11272{
11273  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11274  int status = $lt_dlunknown;
11275
11276  if (self)
11277    {
11278      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11279      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11280      /* dlclose (self); */
11281    }
11282  else
11283    puts (dlerror ());
11284
11285  return status;
11286}
11287_LT_EOF
11288  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11289  (eval $ac_link) 2>&5
11290  ac_status=$?
11291  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11293    (./conftest; exit; ) >&5 2>/dev/null
11294    lt_status=$?
11295    case x$lt_status in
11296      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11297      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11298      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11299    esac
11300  else :
11301    # compilation failed
11302    lt_cv_dlopen_self_static=no
11303  fi
11304fi
11305rm -fr conftest*
11306
11307
11308fi
11309{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11310echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
11311    fi
11312
11313    CPPFLAGS="$save_CPPFLAGS"
11314    LDFLAGS="$save_LDFLAGS"
11315    LIBS="$save_LIBS"
11316    ;;
11317  esac
11318
11319  case $lt_cv_dlopen_self in
11320  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11321  *) enable_dlopen_self=unknown ;;
11322  esac
11323
11324  case $lt_cv_dlopen_self_static in
11325  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11326  *) enable_dlopen_self_static=unknown ;;
11327  esac
11328fi
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346striplib=
11347old_striplib=
11348{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11349echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
11350if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11351  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11352  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11353  { echo "$as_me:$LINENO: result: yes" >&5
11354echo "${ECHO_T}yes" >&6; }
11355else
11356# FIXME - insert some real tests, host_os isn't really good enough
11357  case $host_os in
11358  darwin*)
11359    if test -n "$STRIP" ; then
11360      striplib="$STRIP -x"
11361      old_striplib="$STRIP -S"
11362      { echo "$as_me:$LINENO: result: yes" >&5
11363echo "${ECHO_T}yes" >&6; }
11364    else
11365      { echo "$as_me:$LINENO: result: no" >&5
11366echo "${ECHO_T}no" >&6; }
11367    fi
11368    ;;
11369  *)
11370    { echo "$as_me:$LINENO: result: no" >&5
11371echo "${ECHO_T}no" >&6; }
11372    ;;
11373  esac
11374fi
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387  # Report which library types will actually be built
11388  { echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11389echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
11390  { echo "$as_me:$LINENO: result: $can_build_shared" >&5
11391echo "${ECHO_T}$can_build_shared" >&6; }
11392
11393  { echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11394echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
11395  test "$can_build_shared" = "no" && enable_shared=no
11396
11397  # On AIX, shared libraries and static libraries use the same namespace, and
11398  # are all built from PIC.
11399  case $host_os in
11400  aix3*)
11401    test "$enable_shared" = yes && enable_static=no
11402    if test -n "$RANLIB"; then
11403      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11404      postinstall_cmds='$RANLIB $lib'
11405    fi
11406    ;;
11407
11408  aix[4-9]*)
11409    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11410      test "$enable_shared" = yes && enable_static=no
11411    fi
11412    ;;
11413  esac
11414  { echo "$as_me:$LINENO: result: $enable_shared" >&5
11415echo "${ECHO_T}$enable_shared" >&6; }
11416
11417  { echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11418echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
11419  # Make sure either enable_shared or enable_static is yes.
11420  test "$enable_shared" = yes || enable_static=yes
11421  { echo "$as_me:$LINENO: result: $enable_static" >&5
11422echo "${ECHO_T}$enable_static" >&6; }
11423
11424
11425
11426
11427fi
11428ac_ext=c
11429ac_cpp='$CPP $CPPFLAGS'
11430ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11431ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11432ac_compiler_gnu=$ac_cv_c_compiler_gnu
11433
11434CC="$lt_save_CC"
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448        ac_config_commands="$ac_config_commands libtool"
11449
11450
11451
11452
11453# Only expand once:
11454
11455
11456if test "x$CC" != xcc; then
11457  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
11458echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
11459else
11460  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
11461echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
11462fi
11463set dummy $CC; ac_cc=`echo $2 |
11464		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11465if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
11466  echo $ECHO_N "(cached) $ECHO_C" >&6
11467else
11468  cat >conftest.$ac_ext <<_ACEOF
11469/* confdefs.h.  */
11470_ACEOF
11471cat confdefs.h >>conftest.$ac_ext
11472cat >>conftest.$ac_ext <<_ACEOF
11473/* end confdefs.h.  */
11474
11475int
11476main ()
11477{
11478
11479  ;
11480  return 0;
11481}
11482_ACEOF
11483# Make sure it works both with $CC and with simple cc.
11484# We do the test twice because some compilers refuse to overwrite an
11485# existing .o file with -o, though they will create one.
11486ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11487rm -f conftest2.*
11488if { (case "(($ac_try" in
11489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11490  *) ac_try_echo=$ac_try;;
11491esac
11492eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11493  (eval "$ac_try") 2>&5
11494  ac_status=$?
11495  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11496  (exit $ac_status); } &&
11497   test -f conftest2.$ac_objext && { (case "(($ac_try" in
11498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11499  *) ac_try_echo=$ac_try;;
11500esac
11501eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11502  (eval "$ac_try") 2>&5
11503  ac_status=$?
11504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11505  (exit $ac_status); };
11506then
11507  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
11508  if test "x$CC" != xcc; then
11509    # Test first that cc exists at all.
11510    if { ac_try='cc -c conftest.$ac_ext >&5'
11511  { (case "(($ac_try" in
11512  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11513  *) ac_try_echo=$ac_try;;
11514esac
11515eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11516  (eval "$ac_try") 2>&5
11517  ac_status=$?
11518  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519  (exit $ac_status); }; }; then
11520      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
11521      rm -f conftest2.*
11522      if { (case "(($ac_try" in
11523  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11524  *) ac_try_echo=$ac_try;;
11525esac
11526eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11527  (eval "$ac_try") 2>&5
11528  ac_status=$?
11529  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530  (exit $ac_status); } &&
11531	 test -f conftest2.$ac_objext && { (case "(($ac_try" in
11532  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11533  *) ac_try_echo=$ac_try;;
11534esac
11535eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11536  (eval "$ac_try") 2>&5
11537  ac_status=$?
11538  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11539  (exit $ac_status); };
11540      then
11541	# cc works too.
11542	:
11543      else
11544	# cc exists but doesn't like -o.
11545	eval ac_cv_prog_cc_${ac_cc}_c_o=no
11546      fi
11547    fi
11548  fi
11549else
11550  eval ac_cv_prog_cc_${ac_cc}_c_o=no
11551fi
11552rm -f core conftest*
11553
11554fi
11555if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
11556  { echo "$as_me:$LINENO: result: yes" >&5
11557echo "${ECHO_T}yes" >&6; }
11558else
11559  { echo "$as_me:$LINENO: result: no" >&5
11560echo "${ECHO_T}no" >&6; }
11561
11562cat >>confdefs.h <<\_ACEOF
11563#define NO_MINUS_C_MINUS_O 1
11564_ACEOF
11565
11566fi
11567
11568# FIXME: we rely on the cache variable name because
11569# there is no other way.
11570set dummy $CC
11571am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
11572eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
11573if test "$am_t" != yes; then
11574   # Losing compiler, so override with the script.
11575   # FIXME: It is wrong to rewrite CC.
11576   # But if we don't then we get into trouble of one sort or another.
11577   # A longer-term fix would be to have automake use am__CC in this case,
11578   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
11579   CC="$am_aux_dir/compile $CC"
11580fi
11581
11582
11583
11584if test "x$enable_docs" = xyes; then
11585  # Extract the first word of "doxygen", so it can be a program name with args.
11586set dummy doxygen; ac_word=$2
11587{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11588echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11589if test "${ac_cv_prog_HAVE_DOXYGEN+set}" = set; then
11590  echo $ECHO_N "(cached) $ECHO_C" >&6
11591else
11592  if test -n "$HAVE_DOXYGEN"; then
11593  ac_cv_prog_HAVE_DOXYGEN="$HAVE_DOXYGEN" # Let the user override the test.
11594else
11595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11596for as_dir in $PATH
11597do
11598  IFS=$as_save_IFS
11599  test -z "$as_dir" && as_dir=.
11600  for ac_exec_ext in '' $ac_executable_extensions; do
11601  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11602    ac_cv_prog_HAVE_DOXYGEN="true"
11603    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11604    break 2
11605  fi
11606done
11607done
11608IFS=$as_save_IFS
11609
11610  test -z "$ac_cv_prog_HAVE_DOXYGEN" && ac_cv_prog_HAVE_DOXYGEN="false"
11611fi
11612fi
11613HAVE_DOXYGEN=$ac_cv_prog_HAVE_DOXYGEN
11614if test -n "$HAVE_DOXYGEN"; then
11615  { echo "$as_me:$LINENO: result: $HAVE_DOXYGEN" >&5
11616echo "${ECHO_T}$HAVE_DOXYGEN" >&6; }
11617else
11618  { echo "$as_me:$LINENO: result: no" >&5
11619echo "${ECHO_T}no" >&6; }
11620fi
11621
11622
11623  if test $HAVE_DOXYGEN = "false"; then
11624    { echo "$as_me:$LINENO: WARNING: *** doxygen not found, API documentation will not be built" >&5
11625echo "$as_me: WARNING: *** doxygen not found, API documentation will not be built" >&2;}
11626  fi
11627else
11628  HAVE_DOXYGEN=false
11629fi
11630 if $HAVE_DOXYGEN; then
11631  HAVE_DOXYGEN_TRUE=
11632  HAVE_DOXYGEN_FALSE='#'
11633else
11634  HAVE_DOXYGEN_TRUE='#'
11635  HAVE_DOXYGEN_FALSE=
11636fi
11637
11638
11639# Check whether --enable-docs was given.
11640if test "${enable_docs+set}" = set; then
11641  enableval=$enable_docs;
11642fi
11643
11644
11645if test "x$enable_docs" = xyes; then
11646  for ac_prog in pdflatex
11647do
11648  # Extract the first word of "$ac_prog", so it can be a program name with args.
11649set dummy $ac_prog; ac_word=$2
11650{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11651echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11652if test "${ac_cv_prog_PDFLATEX+set}" = set; then
11653  echo $ECHO_N "(cached) $ECHO_C" >&6
11654else
11655  if test -n "$PDFLATEX"; then
11656  ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
11657else
11658as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11659for as_dir in $PATH
11660do
11661  IFS=$as_save_IFS
11662  test -z "$as_dir" && as_dir=.
11663  for ac_exec_ext in '' $ac_executable_extensions; do
11664  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11665    ac_cv_prog_PDFLATEX="$ac_prog"
11666    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11667    break 2
11668  fi
11669done
11670done
11671IFS=$as_save_IFS
11672
11673fi
11674fi
11675PDFLATEX=$ac_cv_prog_PDFLATEX
11676if test -n "$PDFLATEX"; then
11677  { echo "$as_me:$LINENO: result: $PDFLATEX" >&5
11678echo "${ECHO_T}$PDFLATEX" >&6; }
11679else
11680  { echo "$as_me:$LINENO: result: no" >&5
11681echo "${ECHO_T}no" >&6; }
11682fi
11683
11684
11685  test -n "$PDFLATEX" && break
11686done
11687test -n "$PDFLATEX" || PDFLATEX="/bin/false"
11688
11689  for ac_prog in htlatex
11690do
11691  # Extract the first word of "$ac_prog", so it can be a program name with args.
11692set dummy $ac_prog; ac_word=$2
11693{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11694echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11695if test "${ac_cv_prog_HTLATEX+set}" = set; then
11696  echo $ECHO_N "(cached) $ECHO_C" >&6
11697else
11698  if test -n "$HTLATEX"; then
11699  ac_cv_prog_HTLATEX="$HTLATEX" # Let the user override the test.
11700else
11701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11702for as_dir in $PATH
11703do
11704  IFS=$as_save_IFS
11705  test -z "$as_dir" && as_dir=.
11706  for ac_exec_ext in '' $ac_executable_extensions; do
11707  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11708    ac_cv_prog_HTLATEX="$ac_prog"
11709    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11710    break 2
11711  fi
11712done
11713done
11714IFS=$as_save_IFS
11715
11716fi
11717fi
11718HTLATEX=$ac_cv_prog_HTLATEX
11719if test -n "$HTLATEX"; then
11720  { echo "$as_me:$LINENO: result: $HTLATEX" >&5
11721echo "${ECHO_T}$HTLATEX" >&6; }
11722else
11723  { echo "$as_me:$LINENO: result: no" >&5
11724echo "${ECHO_T}no" >&6; }
11725fi
11726
11727
11728  test -n "$HTLATEX" && break
11729done
11730test -n "$HTLATEX" || HTLATEX="/bin/false"
11731
11732  if test "x$PDFLATEX" = x/bin/false || test "x$HTLATEX" = x/bin/false; then
11733    enable_docs=no
11734    { echo "$as_me:$LINENO: WARNING: Documentation will not be built!" >&5
11735echo "$as_me: WARNING: Documentation will not be built!" >&2;}
11736  fi
11737fi
11738
11739 if test "x$enable_docs" = xyes; then
11740  BUILD_DOCS_TRUE=
11741  BUILD_DOCS_FALSE='#'
11742else
11743  BUILD_DOCS_TRUE='#'
11744  BUILD_DOCS_FALSE=
11745fi
11746
11747
11748# Check whether --enable-examples was given.
11749if test "${enable_examples+set}" = set; then
11750  enableval=$enable_examples;
11751fi
11752
11753
11754 if test "x$enable_examples" = xyes; then
11755  BUILD_EXAMPLES_TRUE=
11756  BUILD_EXAMPLES_FALSE='#'
11757else
11758  BUILD_EXAMPLES_TRUE='#'
11759  BUILD_EXAMPLES_FALSE=
11760fi
11761
11762
11763
11764
11765cflags_save="$CFLAGS"
11766if test -z "$GCC"; then
11767	case $host in
11768	*-*-irix*)
11769						if test -z "$CC"; then
11770			CC=cc
11771		fi
11772		DEBUG="-g -signed"
11773		CFLAGS="-O2 -w -signed"
11774		PROFILE="-p -g3 -O2 -signed" ;;
11775	sparc-sun-solaris*)
11776		DEBUG="-v -g"
11777		CFLAGS="-xO4 -fast -w -fsimple -native -xcg92"
11778		PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;;
11779	*)
11780		DEBUG="-g"
11781		CFLAGS="-O"
11782		PROFILE="-g -p" ;;
11783        esac
11784else
11785
11786	{ echo "$as_me:$LINENO: checking GCC version" >&5
11787echo $ECHO_N "checking GCC version... $ECHO_C" >&6; }
11788	GCC_VERSION=`$CC -dumpversion`
11789	{ echo "$as_me:$LINENO: result: $GCC_VERSION" >&5
11790echo "${ECHO_T}$GCC_VERSION" >&6; }
11791	case $host in
11792	*86-*-linux*)
11793		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11794		CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
11795#              	PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inline -static"
11796		PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
11797
11798		# glibc < 2.1.3 has a serious FP bug in the math inline header
11799		# that will cripple Vorbis.  Look to see if the magic FP stack
11800		# clobber is missing in the mathinline header, thus indicating
11801		# the buggy version
11802
11803		cat >conftest.$ac_ext <<_ACEOF
11804/* confdefs.h.  */
11805_ACEOF
11806cat confdefs.h >>conftest.$ac_ext
11807cat >>conftest.$ac_ext <<_ACEOF
11808/* end confdefs.h.  */
11809
11810				#define __LIBC_INTERNAL_MATH_INLINES 1
11811			     	#define __OPTIMIZE__
11812				#include <math.h>
11813
11814_ACEOF
11815if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11816  $EGREP "log10.*fldlg2.*fxch" >/dev/null 2>&1; then
11817  bad=maybe
11818else
11819  bad=no
11820fi
11821rm -f conftest*
11822
11823		if test ${bad} = "maybe" ;then
11824		      cat >conftest.$ac_ext <<_ACEOF
11825/* confdefs.h.  */
11826_ACEOF
11827cat confdefs.h >>conftest.$ac_ext
11828cat >>conftest.$ac_ext <<_ACEOF
11829/* end confdefs.h.  */
11830
11831					#define __LIBC_INTERNAL_MATH_INLINES 1
11832				     	#define __OPTIMIZE__
11833					#include <math.h>
11834
11835_ACEOF
11836if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11837  $EGREP "log10.*fldlg2.*fxch.*st\([0123456789]*\)" >/dev/null 2>&1; then
11838  bad=no
11839else
11840  bad=yes
11841fi
11842rm -f conftest*
11843
11844		fi
11845 		if test ${bad} = "yes" ;then
11846 { echo "$as_me:$LINENO: WARNING:                                                         " >&5
11847echo "$as_me: WARNING:                                                         " >&2;}
11848 { echo "$as_me:$LINENO: WARNING: ********************************************************" >&5
11849echo "$as_me: WARNING: ********************************************************" >&2;}
11850 { echo "$as_me:$LINENO: WARNING: * The glibc headers on this machine have a serious bug *" >&5
11851echo "$as_me: WARNING: * The glibc headers on this machine have a serious bug *" >&2;}
11852 { echo "$as_me:$LINENO: WARNING: * in /usr/include/bits/mathinline.h  This bug affects  *" >&5
11853echo "$as_me: WARNING: * in /usr/include/bits/mathinline.h  This bug affects  *" >&2;}
11854 { echo "$as_me:$LINENO: WARNING: * all floating point code, not just Ogg, built on this *" >&5
11855echo "$as_me: WARNING: * all floating point code, not just Ogg, built on this *" >&2;}
11856 { echo "$as_me:$LINENO: WARNING: * machine.  Upgrading to glibc 2.1.3 is strongly urged *" >&5
11857echo "$as_me: WARNING: * machine.  Upgrading to glibc 2.1.3 is strongly urged *" >&2;}
11858 { echo "$as_me:$LINENO: WARNING: * to correct the problem.  Note that upgrading glibc   *" >&5
11859echo "$as_me: WARNING: * to correct the problem.  Note that upgrading glibc   *" >&2;}
11860 { echo "$as_me:$LINENO: WARNING: * will not fix any previously built programs; this is  *" >&5
11861echo "$as_me: WARNING: * will not fix any previously built programs; this is  *" >&2;}
11862 { echo "$as_me:$LINENO: WARNING: * a compile-time time bug.                             *" >&5
11863echo "$as_me: WARNING: * a compile-time time bug.                             *" >&2;}
11864 { echo "$as_me:$LINENO: WARNING: * To work around the problem for this build of Ogg,    *" >&5
11865echo "$as_me: WARNING: * To work around the problem for this build of Ogg,    *" >&2;}
11866 { echo "$as_me:$LINENO: WARNING: * autoconf is disabling all math inlining.  This will  *" >&5
11867echo "$as_me: WARNING: * autoconf is disabling all math inlining.  This will  *" >&2;}
11868 { echo "$as_me:$LINENO: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&5
11869echo "$as_me: WARNING: * hurt Ogg performace but is necessary for an Ogg that *" >&2;}
11870 { echo "$as_me:$LINENO: WARNING: * will actually work.  Once glibc is upgraded, rerun   *" >&5
11871echo "$as_me: WARNING: * will actually work.  Once glibc is upgraded, rerun   *" >&2;}
11872 { echo "$as_me:$LINENO: WARNING: * configure and make to build with inlining.           *" >&5
11873echo "$as_me: WARNING: * configure and make to build with inlining.           *" >&2;}
11874 { echo "$as_me:$LINENO: WARNING: ********************************************************" >&5
11875echo "$as_me: WARNING: ********************************************************" >&2;}
11876 { echo "$as_me:$LINENO: WARNING:                                                         " >&5
11877echo "$as_me: WARNING:                                                         " >&2;}
11878
11879  		CFLAGS=${OPT}" -D__NO_MATH_INLINES"
11880  		PROFILE=${PROFILE}" -D__NO_MATH_INLINES"
11881  		fi;;
11882        powerpc-*-linux*spe)
11883 	        DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
11884 	        CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT"
11885 	        PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";;
11886	powerpc-*-linux*)
11887		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES"
11888		CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
11889		PROFILE="-pg -g -O3 -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT";;
11890	*-*-linux*)
11891		DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11892		CFLAGS="-O20 -Wall -Wextra -ffast-math -D_REENTRANT -fsigned-char"
11893		PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
11894	sparc-sun-*)
11895		sparc_cpu=""
11896		{ echo "$as_me:$LINENO: checking if gcc supports -mv8" >&5
11897echo $ECHO_N "checking if gcc supports -mv8... $ECHO_C" >&6; }
11898		old_cflags="$CFLAGS"
11899		CFLAGS="$CFLAGS -mv8"
11900		cat >conftest.$ac_ext <<_ACEOF
11901/* confdefs.h.  */
11902_ACEOF
11903cat confdefs.h >>conftest.$ac_ext
11904cat >>conftest.$ac_ext <<_ACEOF
11905/* end confdefs.h.  */
11906
11907int
11908main ()
11909{
11910return 0;
11911  ;
11912  return 0;
11913}
11914_ACEOF
11915rm -f conftest.$ac_objext
11916if { (ac_try="$ac_compile"
11917case "(($ac_try" in
11918  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11919  *) ac_try_echo=$ac_try;;
11920esac
11921eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11922  (eval "$ac_compile") 2>conftest.er1
11923  ac_status=$?
11924  grep -v '^ *+' conftest.er1 >conftest.err
11925  rm -f conftest.er1
11926  cat conftest.err >&5
11927  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928  (exit $ac_status); } && {
11929	 test -z "$ac_c_werror_flag" ||
11930	 test ! -s conftest.err
11931       } && test -s conftest.$ac_objext; then
11932
11933			{ echo "$as_me:$LINENO: result: yes" >&5
11934echo "${ECHO_T}yes" >&6; }
11935			sparc_cpu="-mv8"
11936
11937else
11938  echo "$as_me: failed program was:" >&5
11939sed 's/^/| /' conftest.$ac_ext >&5
11940
11941
11942fi
11943
11944rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11945		CFLAGS="$old_cflags"
11946		DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
11947		CFLAGS="-O20 -Wall -Wextra -ffast-math -D__NO_MATH_INLINES -fsigned-char $sparc_cpu"
11948		PROFILE="-pg -g -O20 -D__NO_MATH_INLINES -fsigned-char $sparc_cpu" ;;
11949	*-*-darwin*)
11950		DEBUG="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O0 -fsigned-char"
11951		CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char"
11952		PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";;
11953	*-*-os2*)
11954		# Use -W instead of -Wextra because gcc on OS/2 is an old version.
11955		DEBUG="-g -Wall -W -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char"
11956		CFLAGS="-O20 -Wall -W -ffast-math -D_REENTRANT -fsigned-char"
11957		PROFILE="-pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char";;
11958 	*)
11959		DEBUG="-g -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
11960		CFLAGS="-O20 -Wall -Wextra -D__NO_MATH_INLINES -fsigned-char"
11961		PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;;
11962        esac
11963
11964        { echo "$as_me:$LINENO: checking if $CC accepts -Wdeclaration-after-statement" >&5
11965echo $ECHO_N "checking if $CC accepts -Wdeclaration-after-statement... $ECHO_C" >&6; }
11966	ac_add_cflags__old_cflags="$CFLAGS"
11967	CFLAGS="$CFLAGS -Wdeclaration-after-statement"
11968	cat >conftest.$ac_ext <<_ACEOF
11969/* confdefs.h.  */
11970_ACEOF
11971cat confdefs.h >>conftest.$ac_ext
11972cat >>conftest.$ac_ext <<_ACEOF
11973/* end confdefs.h.  */
11974#include <stdio.h>
11975int
11976main ()
11977{
11978puts("Hello, World!"); return 0;
11979  ;
11980  return 0;
11981}
11982_ACEOF
11983rm -f conftest.$ac_objext conftest$ac_exeext
11984if { (ac_try="$ac_link"
11985case "(($ac_try" in
11986  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11987  *) ac_try_echo=$ac_try;;
11988esac
11989eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11990  (eval "$ac_link") 2>conftest.er1
11991  ac_status=$?
11992  grep -v '^ *+' conftest.er1 >conftest.err
11993  rm -f conftest.er1
11994  cat conftest.err >&5
11995  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996  (exit $ac_status); } && {
11997	 test -z "$ac_c_werror_flag" ||
11998	 test ! -s conftest.err
11999       } && test -s conftest$ac_exeext &&
12000       $as_test_x conftest$ac_exeext; then
12001  { echo "$as_me:$LINENO: result: yes" >&5
12002echo "${ECHO_T}yes" >&6; }
12003else
12004  echo "$as_me: failed program was:" >&5
12005sed 's/^/| /' conftest.$ac_ext >&5
12006
12007	{ echo "$as_me:$LINENO: result: no" >&5
12008echo "${ECHO_T}no" >&6; }
12009		CFLAGS="$ac_add_cflags__old_cflags"
12010fi
12011
12012rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12013      conftest$ac_exeext conftest.$ac_ext
12014
12015fi
12016CFLAGS="$CFLAGS $cflags_save"
12017
12018
12019if test "${ac_cv_header_memory_h+set}" = set; then
12020  { echo "$as_me:$LINENO: checking for memory.h" >&5
12021echo $ECHO_N "checking for memory.h... $ECHO_C" >&6; }
12022if test "${ac_cv_header_memory_h+set}" = set; then
12023  echo $ECHO_N "(cached) $ECHO_C" >&6
12024fi
12025{ echo "$as_me:$LINENO: result: $ac_cv_header_memory_h" >&5
12026echo "${ECHO_T}$ac_cv_header_memory_h" >&6; }
12027else
12028  # Is the header compilable?
12029{ echo "$as_me:$LINENO: checking memory.h usability" >&5
12030echo $ECHO_N "checking memory.h usability... $ECHO_C" >&6; }
12031cat >conftest.$ac_ext <<_ACEOF
12032/* confdefs.h.  */
12033_ACEOF
12034cat confdefs.h >>conftest.$ac_ext
12035cat >>conftest.$ac_ext <<_ACEOF
12036/* end confdefs.h.  */
12037$ac_includes_default
12038#include <memory.h>
12039_ACEOF
12040rm -f conftest.$ac_objext
12041if { (ac_try="$ac_compile"
12042case "(($ac_try" in
12043  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12044  *) ac_try_echo=$ac_try;;
12045esac
12046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12047  (eval "$ac_compile") 2>conftest.er1
12048  ac_status=$?
12049  grep -v '^ *+' conftest.er1 >conftest.err
12050  rm -f conftest.er1
12051  cat conftest.err >&5
12052  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053  (exit $ac_status); } && {
12054	 test -z "$ac_c_werror_flag" ||
12055	 test ! -s conftest.err
12056       } && test -s conftest.$ac_objext; then
12057  ac_header_compiler=yes
12058else
12059  echo "$as_me: failed program was:" >&5
12060sed 's/^/| /' conftest.$ac_ext >&5
12061
12062	ac_header_compiler=no
12063fi
12064
12065rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12066{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12067echo "${ECHO_T}$ac_header_compiler" >&6; }
12068
12069# Is the header present?
12070{ echo "$as_me:$LINENO: checking memory.h presence" >&5
12071echo $ECHO_N "checking memory.h presence... $ECHO_C" >&6; }
12072cat >conftest.$ac_ext <<_ACEOF
12073/* confdefs.h.  */
12074_ACEOF
12075cat confdefs.h >>conftest.$ac_ext
12076cat >>conftest.$ac_ext <<_ACEOF
12077/* end confdefs.h.  */
12078#include <memory.h>
12079_ACEOF
12080if { (ac_try="$ac_cpp conftest.$ac_ext"
12081case "(($ac_try" in
12082  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12083  *) ac_try_echo=$ac_try;;
12084esac
12085eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12086  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12087  ac_status=$?
12088  grep -v '^ *+' conftest.er1 >conftest.err
12089  rm -f conftest.er1
12090  cat conftest.err >&5
12091  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12092  (exit $ac_status); } >/dev/null && {
12093	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12094	 test ! -s conftest.err
12095       }; then
12096  ac_header_preproc=yes
12097else
12098  echo "$as_me: failed program was:" >&5
12099sed 's/^/| /' conftest.$ac_ext >&5
12100
12101  ac_header_preproc=no
12102fi
12103
12104rm -f conftest.err conftest.$ac_ext
12105{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12106echo "${ECHO_T}$ac_header_preproc" >&6; }
12107
12108# So?  What about this header?
12109case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12110  yes:no: )
12111    { echo "$as_me:$LINENO: WARNING: memory.h: accepted by the compiler, rejected by the preprocessor!" >&5
12112echo "$as_me: WARNING: memory.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12113    { echo "$as_me:$LINENO: WARNING: memory.h: proceeding with the compiler's result" >&5
12114echo "$as_me: WARNING: memory.h: proceeding with the compiler's result" >&2;}
12115    ac_header_preproc=yes
12116    ;;
12117  no:yes:* )
12118    { echo "$as_me:$LINENO: WARNING: memory.h: present but cannot be compiled" >&5
12119echo "$as_me: WARNING: memory.h: present but cannot be compiled" >&2;}
12120    { echo "$as_me:$LINENO: WARNING: memory.h:     check for missing prerequisite headers?" >&5
12121echo "$as_me: WARNING: memory.h:     check for missing prerequisite headers?" >&2;}
12122    { echo "$as_me:$LINENO: WARNING: memory.h: see the Autoconf documentation" >&5
12123echo "$as_me: WARNING: memory.h: see the Autoconf documentation" >&2;}
12124    { echo "$as_me:$LINENO: WARNING: memory.h:     section \"Present But Cannot Be Compiled\"" >&5
12125echo "$as_me: WARNING: memory.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12126    { echo "$as_me:$LINENO: WARNING: memory.h: proceeding with the preprocessor's result" >&5
12127echo "$as_me: WARNING: memory.h: proceeding with the preprocessor's result" >&2;}
12128    { echo "$as_me:$LINENO: WARNING: memory.h: in the future, the compiler will take precedence" >&5
12129echo "$as_me: WARNING: memory.h: in the future, the compiler will take precedence" >&2;}
12130    ( cat <<\_ASBOX
12131## ---------------------------------- ##
12132## Report this to vorbis-dev@xiph.org ##
12133## ---------------------------------- ##
12134_ASBOX
12135     ) | sed "s/^/$as_me: WARNING:     /" >&2
12136    ;;
12137esac
12138{ echo "$as_me:$LINENO: checking for memory.h" >&5
12139echo $ECHO_N "checking for memory.h... $ECHO_C" >&6; }
12140if test "${ac_cv_header_memory_h+set}" = set; then
12141  echo $ECHO_N "(cached) $ECHO_C" >&6
12142else
12143  ac_cv_header_memory_h=$ac_header_preproc
12144fi
12145{ echo "$as_me:$LINENO: result: $ac_cv_header_memory_h" >&5
12146echo "${ECHO_T}$ac_cv_header_memory_h" >&6; }
12147
12148fi
12149if test $ac_cv_header_memory_h = yes; then
12150  CFLAGS="$CFLAGS -DUSE_MEMORY_H"
12151else
12152  :
12153fi
12154
12155
12156
12157
12158
12159
12160{ echo "$as_me:$LINENO: checking for cos in -lm" >&5
12161echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6; }
12162if test "${ac_cv_lib_m_cos+set}" = set; then
12163  echo $ECHO_N "(cached) $ECHO_C" >&6
12164else
12165  ac_check_lib_save_LIBS=$LIBS
12166LIBS="-lm  $LIBS"
12167cat >conftest.$ac_ext <<_ACEOF
12168/* confdefs.h.  */
12169_ACEOF
12170cat confdefs.h >>conftest.$ac_ext
12171cat >>conftest.$ac_ext <<_ACEOF
12172/* end confdefs.h.  */
12173
12174/* Override any GCC internal prototype to avoid an error.
12175   Use char because int might match the return type of a GCC
12176   builtin and then its argument prototype would still apply.  */
12177#ifdef __cplusplus
12178extern "C"
12179#endif
12180char cos ();
12181int
12182main ()
12183{
12184return cos ();
12185  ;
12186  return 0;
12187}
12188_ACEOF
12189rm -f conftest.$ac_objext conftest$ac_exeext
12190if { (ac_try="$ac_link"
12191case "(($ac_try" in
12192  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12193  *) ac_try_echo=$ac_try;;
12194esac
12195eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12196  (eval "$ac_link") 2>conftest.er1
12197  ac_status=$?
12198  grep -v '^ *+' conftest.er1 >conftest.err
12199  rm -f conftest.er1
12200  cat conftest.err >&5
12201  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12202  (exit $ac_status); } && {
12203	 test -z "$ac_c_werror_flag" ||
12204	 test ! -s conftest.err
12205       } && test -s conftest$ac_exeext &&
12206       $as_test_x conftest$ac_exeext; then
12207  ac_cv_lib_m_cos=yes
12208else
12209  echo "$as_me: failed program was:" >&5
12210sed 's/^/| /' conftest.$ac_ext >&5
12211
12212	ac_cv_lib_m_cos=no
12213fi
12214
12215rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12216      conftest$ac_exeext conftest.$ac_ext
12217LIBS=$ac_check_lib_save_LIBS
12218fi
12219{ echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
12220echo "${ECHO_T}$ac_cv_lib_m_cos" >&6; }
12221if test $ac_cv_lib_m_cos = yes; then
12222  VORBIS_LIBS="-lm"
12223else
12224  VORBIS_LIBS=""
12225fi
12226
12227{ echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
12228echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
12229if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
12230  echo $ECHO_N "(cached) $ECHO_C" >&6
12231else
12232  ac_check_lib_save_LIBS=$LIBS
12233LIBS="-lpthread  $LIBS"
12234cat >conftest.$ac_ext <<_ACEOF
12235/* confdefs.h.  */
12236_ACEOF
12237cat confdefs.h >>conftest.$ac_ext
12238cat >>conftest.$ac_ext <<_ACEOF
12239/* end confdefs.h.  */
12240
12241/* Override any GCC internal prototype to avoid an error.
12242   Use char because int might match the return type of a GCC
12243   builtin and then its argument prototype would still apply.  */
12244#ifdef __cplusplus
12245extern "C"
12246#endif
12247char pthread_create ();
12248int
12249main ()
12250{
12251return pthread_create ();
12252  ;
12253  return 0;
12254}
12255_ACEOF
12256rm -f conftest.$ac_objext conftest$ac_exeext
12257if { (ac_try="$ac_link"
12258case "(($ac_try" in
12259  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12260  *) ac_try_echo=$ac_try;;
12261esac
12262eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12263  (eval "$ac_link") 2>conftest.er1
12264  ac_status=$?
12265  grep -v '^ *+' conftest.er1 >conftest.err
12266  rm -f conftest.er1
12267  cat conftest.err >&5
12268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269  (exit $ac_status); } && {
12270	 test -z "$ac_c_werror_flag" ||
12271	 test ! -s conftest.err
12272       } && test -s conftest$ac_exeext &&
12273       $as_test_x conftest$ac_exeext; then
12274  ac_cv_lib_pthread_pthread_create=yes
12275else
12276  echo "$as_me: failed program was:" >&5
12277sed 's/^/| /' conftest.$ac_ext >&5
12278
12279	ac_cv_lib_pthread_pthread_create=no
12280fi
12281
12282rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12283      conftest$ac_exeext conftest.$ac_ext
12284LIBS=$ac_check_lib_save_LIBS
12285fi
12286{ echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
12287echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
12288if test $ac_cv_lib_pthread_pthread_create = yes; then
12289  pthread_lib="-lpthread"
12290else
12291  :
12292fi
12293
12294
12295
12296
12297if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
12298	if test -n "$ac_tool_prefix"; then
12299  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
12300set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
12301{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12302echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12303if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
12304  echo $ECHO_N "(cached) $ECHO_C" >&6
12305else
12306  case $PKG_CONFIG in
12307  [\\/]* | ?:[\\/]*)
12308  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
12309  ;;
12310  *)
12311  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12312for as_dir in $PATH
12313do
12314  IFS=$as_save_IFS
12315  test -z "$as_dir" && as_dir=.
12316  for ac_exec_ext in '' $ac_executable_extensions; do
12317  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12318    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12319    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12320    break 2
12321  fi
12322done
12323done
12324IFS=$as_save_IFS
12325
12326  ;;
12327esac
12328fi
12329PKG_CONFIG=$ac_cv_path_PKG_CONFIG
12330if test -n "$PKG_CONFIG"; then
12331  { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
12332echo "${ECHO_T}$PKG_CONFIG" >&6; }
12333else
12334  { echo "$as_me:$LINENO: result: no" >&5
12335echo "${ECHO_T}no" >&6; }
12336fi
12337
12338
12339fi
12340if test -z "$ac_cv_path_PKG_CONFIG"; then
12341  ac_pt_PKG_CONFIG=$PKG_CONFIG
12342  # Extract the first word of "pkg-config", so it can be a program name with args.
12343set dummy pkg-config; ac_word=$2
12344{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12346if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
12347  echo $ECHO_N "(cached) $ECHO_C" >&6
12348else
12349  case $ac_pt_PKG_CONFIG in
12350  [\\/]* | ?:[\\/]*)
12351  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
12352  ;;
12353  *)
12354  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12355for as_dir in $PATH
12356do
12357  IFS=$as_save_IFS
12358  test -z "$as_dir" && as_dir=.
12359  for ac_exec_ext in '' $ac_executable_extensions; do
12360  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12361    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12362    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12363    break 2
12364  fi
12365done
12366done
12367IFS=$as_save_IFS
12368
12369  ;;
12370esac
12371fi
12372ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
12373if test -n "$ac_pt_PKG_CONFIG"; then
12374  { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
12375echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
12376else
12377  { echo "$as_me:$LINENO: result: no" >&5
12378echo "${ECHO_T}no" >&6; }
12379fi
12380
12381  if test "x$ac_pt_PKG_CONFIG" = x; then
12382    PKG_CONFIG=""
12383  else
12384    case $cross_compiling:$ac_tool_warned in
12385yes:)
12386{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12387whose name does not start with the host triplet.  If you think this
12388configuration is useful to you, please write to autoconf@gnu.org." >&5
12389echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12390whose name does not start with the host triplet.  If you think this
12391configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12392ac_tool_warned=yes ;;
12393esac
12394    PKG_CONFIG=$ac_pt_PKG_CONFIG
12395  fi
12396else
12397  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
12398fi
12399
12400fi
12401if test -n "$PKG_CONFIG"; then
12402	_pkg_min_version=0.9.0
12403	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
12404echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
12405	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
12406		{ echo "$as_me:$LINENO: result: yes" >&5
12407echo "${ECHO_T}yes" >&6; }
12408	else
12409		{ echo "$as_me:$LINENO: result: no" >&5
12410echo "${ECHO_T}no" >&6; }
12411		PKG_CONFIG=""
12412	fi
12413
12414fi
12415
12416HAVE_OGG=no
12417if test "x$PKG_CONFIG" != "x"
12418then
12419
12420pkg_failed=no
12421{ echo "$as_me:$LINENO: checking for OGG" >&5
12422echo $ECHO_N "checking for OGG... $ECHO_C" >&6; }
12423
12424if test -n "$PKG_CONFIG"; then
12425    if test -n "$OGG_CFLAGS"; then
12426        pkg_cv_OGG_CFLAGS="$OGG_CFLAGS"
12427    else
12428        if test -n "$PKG_CONFIG" && \
12429    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
12430  ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
12431  ac_status=$?
12432  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12433  (exit $ac_status); }; then
12434  pkg_cv_OGG_CFLAGS=`$PKG_CONFIG --cflags "ogg >= 1.0" 2>/dev/null`
12435else
12436  pkg_failed=yes
12437fi
12438    fi
12439else
12440	pkg_failed=untried
12441fi
12442if test -n "$PKG_CONFIG"; then
12443    if test -n "$OGG_LIBS"; then
12444        pkg_cv_OGG_LIBS="$OGG_LIBS"
12445    else
12446        if test -n "$PKG_CONFIG" && \
12447    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"ogg >= 1.0\"") >&5
12448  ($PKG_CONFIG --exists --print-errors "ogg >= 1.0") 2>&5
12449  ac_status=$?
12450  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451  (exit $ac_status); }; then
12452  pkg_cv_OGG_LIBS=`$PKG_CONFIG --libs "ogg >= 1.0" 2>/dev/null`
12453else
12454  pkg_failed=yes
12455fi
12456    fi
12457else
12458	pkg_failed=untried
12459fi
12460
12461
12462
12463if test $pkg_failed = yes; then
12464
12465if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
12466        _pkg_short_errors_supported=yes
12467else
12468        _pkg_short_errors_supported=no
12469fi
12470        if test $_pkg_short_errors_supported = yes; then
12471	        OGG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "ogg >= 1.0"`
12472        else
12473	        OGG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "ogg >= 1.0"`
12474        fi
12475	# Put the nasty error message in config.log where it belongs
12476	echo "$OGG_PKG_ERRORS" >&5
12477
12478	{ echo "$as_me:$LINENO: result: no" >&5
12479echo "${ECHO_T}no" >&6; }
12480                HAVE_OGG=no
12481elif test $pkg_failed = untried; then
12482	HAVE_OGG=no
12483else
12484	OGG_CFLAGS=$pkg_cv_OGG_CFLAGS
12485	OGG_LIBS=$pkg_cv_OGG_LIBS
12486        { echo "$as_me:$LINENO: result: yes" >&5
12487echo "${ECHO_T}yes" >&6; }
12488	HAVE_OGG=yes
12489fi
12490fi
12491if test "x$HAVE_OGG" = "xno"
12492then
12493
12494# Check whether --with-ogg was given.
12495if test "${with_ogg+set}" = set; then
12496  withval=$with_ogg; ogg_prefix="$withval"
12497else
12498  ogg_prefix=""
12499fi
12500
12501
12502# Check whether --with-ogg-libraries was given.
12503if test "${with_ogg_libraries+set}" = set; then
12504  withval=$with_ogg_libraries; ogg_libraries="$withval"
12505else
12506  ogg_libraries=""
12507fi
12508
12509
12510# Check whether --with-ogg-includes was given.
12511if test "${with_ogg_includes+set}" = set; then
12512  withval=$with_ogg_includes; ogg_includes="$withval"
12513else
12514  ogg_includes=""
12515fi
12516
12517# Check whether --enable-oggtest was given.
12518if test "${enable_oggtest+set}" = set; then
12519  enableval=$enable_oggtest;
12520else
12521  enable_oggtest=yes
12522fi
12523
12524
12525  if test "x$ogg_libraries" != "x" ; then
12526    OGG_LIBS="-L$ogg_libraries"
12527  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
12528    OGG_LIBS=""
12529  elif test "x$ogg_prefix" != "x" ; then
12530    OGG_LIBS="-L$ogg_prefix/lib"
12531  elif test "x$prefix" != "xNONE" ; then
12532    OGG_LIBS="-L$prefix/lib"
12533  fi
12534
12535  if test "x$ogg_prefix" != "xno" ; then
12536    OGG_LIBS="$OGG_LIBS -logg"
12537  fi
12538
12539  if test "x$ogg_includes" != "x" ; then
12540    OGG_CFLAGS="-I$ogg_includes"
12541  elif test "x$ogg_prefix" = "xno" || test "x$ogg_prefix" = "xyes" ; then
12542    OGG_CFLAGS=""
12543  elif test "x$ogg_prefix" != "x" ; then
12544    OGG_CFLAGS="-I$ogg_prefix/include"
12545  elif test "x$prefix" != "xNONE"; then
12546    OGG_CFLAGS="-I$prefix/include"
12547  fi
12548
12549  { echo "$as_me:$LINENO: checking for Ogg" >&5
12550echo $ECHO_N "checking for Ogg... $ECHO_C" >&6; }
12551  if test "x$ogg_prefix" = "xno" ; then
12552    no_ogg="disabled"
12553    enable_oggtest="no"
12554  else
12555    no_ogg=""
12556  fi
12557
12558
12559  if test "x$enable_oggtest" = "xyes" ; then
12560    ac_save_CFLAGS="$CFLAGS"
12561    ac_save_LIBS="$LIBS"
12562    CFLAGS="$CFLAGS $OGG_CFLAGS"
12563    LIBS="$LIBS $OGG_LIBS"
12564      rm -f conf.oggtest
12565      if test "$cross_compiling" = yes; then
12566  echo $ac_n "cross compiling; assumed OK... $ac_c"
12567else
12568  cat >conftest.$ac_ext <<_ACEOF
12569/* confdefs.h.  */
12570_ACEOF
12571cat confdefs.h >>conftest.$ac_ext
12572cat >>conftest.$ac_ext <<_ACEOF
12573/* end confdefs.h.  */
12574
12575#include <stdio.h>
12576#include <stdlib.h>
12577#include <string.h>
12578#include <ogg/ogg.h>
12579
12580int main ()
12581{
12582  system("touch conf.oggtest");
12583  return 0;
12584}
12585
12586
12587_ACEOF
12588rm -f conftest$ac_exeext
12589if { (ac_try="$ac_link"
12590case "(($ac_try" in
12591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12592  *) ac_try_echo=$ac_try;;
12593esac
12594eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12595  (eval "$ac_link") 2>&5
12596  ac_status=$?
12597  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12599  { (case "(($ac_try" in
12600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12601  *) ac_try_echo=$ac_try;;
12602esac
12603eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12604  (eval "$ac_try") 2>&5
12605  ac_status=$?
12606  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607  (exit $ac_status); }; }; then
12608  :
12609else
12610  echo "$as_me: program exited with status $ac_status" >&5
12611echo "$as_me: failed program was:" >&5
12612sed 's/^/| /' conftest.$ac_ext >&5
12613
12614( exit $ac_status )
12615no_ogg=yes
12616fi
12617rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12618fi
12619
12620
12621       CFLAGS="$ac_save_CFLAGS"
12622       LIBS="$ac_save_LIBS"
12623  fi
12624
12625  if test "x$no_ogg" = "xdisabled" ; then
12626     { echo "$as_me:$LINENO: result: no" >&5
12627echo "${ECHO_T}no" >&6; }
12628     { { echo "$as_me:$LINENO: error: must have Ogg installed!" >&5
12629echo "$as_me: error: must have Ogg installed!" >&2;}
12630   { (exit 1); exit 1; }; }
12631  elif test "x$no_ogg" = "x" ; then
12632     { echo "$as_me:$LINENO: result: yes" >&5
12633echo "${ECHO_T}yes" >&6; }
12634     :
12635  else
12636     { echo "$as_me:$LINENO: result: no" >&5
12637echo "${ECHO_T}no" >&6; }
12638     if test -f conf.oggtest ; then
12639       :
12640     else
12641       echo "*** Could not run Ogg test program, checking why..."
12642       CFLAGS="$CFLAGS $OGG_CFLAGS"
12643       LIBS="$LIBS $OGG_LIBS"
12644       cat >conftest.$ac_ext <<_ACEOF
12645/* confdefs.h.  */
12646_ACEOF
12647cat confdefs.h >>conftest.$ac_ext
12648cat >>conftest.$ac_ext <<_ACEOF
12649/* end confdefs.h.  */
12650
12651#include <stdio.h>
12652#include <ogg/ogg.h>
12653
12654int
12655main ()
12656{
12657 return 0;
12658  ;
12659  return 0;
12660}
12661_ACEOF
12662rm -f conftest.$ac_objext conftest$ac_exeext
12663if { (ac_try="$ac_link"
12664case "(($ac_try" in
12665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12666  *) ac_try_echo=$ac_try;;
12667esac
12668eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12669  (eval "$ac_link") 2>conftest.er1
12670  ac_status=$?
12671  grep -v '^ *+' conftest.er1 >conftest.err
12672  rm -f conftest.er1
12673  cat conftest.err >&5
12674  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12675  (exit $ac_status); } && {
12676	 test -z "$ac_c_werror_flag" ||
12677	 test ! -s conftest.err
12678       } && test -s conftest$ac_exeext &&
12679       $as_test_x conftest$ac_exeext; then
12680   echo "*** The test program compiled, but did not run. This usually means"
12681       echo "*** that the run-time linker is not finding Ogg or finding the wrong"
12682       echo "*** version of Ogg. If it is not finding Ogg, you'll need to set your"
12683       echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12684       echo "*** to the installed location  Also, make sure you have run ldconfig if that"
12685       echo "*** is required on your system"
12686       echo "***"
12687       echo "*** If you have an old version installed, it is best to remove it, although"
12688       echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12689else
12690  echo "$as_me: failed program was:" >&5
12691sed 's/^/| /' conftest.$ac_ext >&5
12692
12693	 echo "*** The test program failed to compile or link. See the file config.log for the"
12694       echo "*** exact error that occured. This usually means Ogg was incorrectly installed"
12695       echo "*** or that you have moved Ogg since it was installed."
12696fi
12697
12698rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12699      conftest$ac_exeext conftest.$ac_ext
12700       CFLAGS="$ac_save_CFLAGS"
12701       LIBS="$ac_save_LIBS"
12702     fi
12703     OGG_CFLAGS=""
12704     OGG_LIBS=""
12705     { { echo "$as_me:$LINENO: error: must have Ogg installed!" >&5
12706echo "$as_me: error: must have Ogg installed!" >&2;}
12707   { (exit 1); exit 1; }; }
12708  fi
12709
12710
12711  rm -f conf.oggtest
12712
12713  libs_save=$LIBS
12714  LIBS="$OGG_LIBS $VORBIS_LIBS"
12715  { echo "$as_me:$LINENO: checking for oggpack_writealign" >&5
12716echo $ECHO_N "checking for oggpack_writealign... $ECHO_C" >&6; }
12717if test "${ac_cv_func_oggpack_writealign+set}" = set; then
12718  echo $ECHO_N "(cached) $ECHO_C" >&6
12719else
12720  cat >conftest.$ac_ext <<_ACEOF
12721/* confdefs.h.  */
12722_ACEOF
12723cat confdefs.h >>conftest.$ac_ext
12724cat >>conftest.$ac_ext <<_ACEOF
12725/* end confdefs.h.  */
12726/* Define oggpack_writealign to an innocuous variant, in case <limits.h> declares oggpack_writealign.
12727   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12728#define oggpack_writealign innocuous_oggpack_writealign
12729
12730/* System header to define __stub macros and hopefully few prototypes,
12731    which can conflict with char oggpack_writealign (); below.
12732    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12733    <limits.h> exists even on freestanding compilers.  */
12734
12735#ifdef __STDC__
12736# include <limits.h>
12737#else
12738# include <assert.h>
12739#endif
12740
12741#undef oggpack_writealign
12742
12743/* Override any GCC internal prototype to avoid an error.
12744   Use char because int might match the return type of a GCC
12745   builtin and then its argument prototype would still apply.  */
12746#ifdef __cplusplus
12747extern "C"
12748#endif
12749char oggpack_writealign ();
12750/* The GNU C library defines this for functions which it implements
12751    to always fail with ENOSYS.  Some functions are actually named
12752    something starting with __ and the normal name is an alias.  */
12753#if defined __stub_oggpack_writealign || defined __stub___oggpack_writealign
12754choke me
12755#endif
12756
12757int
12758main ()
12759{
12760return oggpack_writealign ();
12761  ;
12762  return 0;
12763}
12764_ACEOF
12765rm -f conftest.$ac_objext conftest$ac_exeext
12766if { (ac_try="$ac_link"
12767case "(($ac_try" in
12768  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12769  *) ac_try_echo=$ac_try;;
12770esac
12771eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12772  (eval "$ac_link") 2>conftest.er1
12773  ac_status=$?
12774  grep -v '^ *+' conftest.er1 >conftest.err
12775  rm -f conftest.er1
12776  cat conftest.err >&5
12777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778  (exit $ac_status); } && {
12779	 test -z "$ac_c_werror_flag" ||
12780	 test ! -s conftest.err
12781       } && test -s conftest$ac_exeext &&
12782       $as_test_x conftest$ac_exeext; then
12783  ac_cv_func_oggpack_writealign=yes
12784else
12785  echo "$as_me: failed program was:" >&5
12786sed 's/^/| /' conftest.$ac_ext >&5
12787
12788	ac_cv_func_oggpack_writealign=no
12789fi
12790
12791rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12792      conftest$ac_exeext conftest.$ac_ext
12793fi
12794{ echo "$as_me:$LINENO: result: $ac_cv_func_oggpack_writealign" >&5
12795echo "${ECHO_T}$ac_cv_func_oggpack_writealign" >&6; }
12796if test $ac_cv_func_oggpack_writealign = yes; then
12797  :
12798else
12799  { { echo "$as_me:$LINENO: error: Ogg >= 1.0 required !" >&5
12800echo "$as_me: error: Ogg >= 1.0 required !" >&2;}
12801   { (exit 1); exit 1; }; }
12802fi
12803
12804  LIBS=$libs_save
12805fi
12806
12807
12808# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12809# for constant arguments.  Useless!
12810{ echo "$as_me:$LINENO: checking for working alloca.h" >&5
12811echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6; }
12812if test "${ac_cv_working_alloca_h+set}" = set; then
12813  echo $ECHO_N "(cached) $ECHO_C" >&6
12814else
12815  cat >conftest.$ac_ext <<_ACEOF
12816/* confdefs.h.  */
12817_ACEOF
12818cat confdefs.h >>conftest.$ac_ext
12819cat >>conftest.$ac_ext <<_ACEOF
12820/* end confdefs.h.  */
12821#include <alloca.h>
12822int
12823main ()
12824{
12825char *p = (char *) alloca (2 * sizeof (int));
12826			  if (p) return 0;
12827  ;
12828  return 0;
12829}
12830_ACEOF
12831rm -f conftest.$ac_objext conftest$ac_exeext
12832if { (ac_try="$ac_link"
12833case "(($ac_try" in
12834  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12835  *) ac_try_echo=$ac_try;;
12836esac
12837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12838  (eval "$ac_link") 2>conftest.er1
12839  ac_status=$?
12840  grep -v '^ *+' conftest.er1 >conftest.err
12841  rm -f conftest.er1
12842  cat conftest.err >&5
12843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844  (exit $ac_status); } && {
12845	 test -z "$ac_c_werror_flag" ||
12846	 test ! -s conftest.err
12847       } && test -s conftest$ac_exeext &&
12848       $as_test_x conftest$ac_exeext; then
12849  ac_cv_working_alloca_h=yes
12850else
12851  echo "$as_me: failed program was:" >&5
12852sed 's/^/| /' conftest.$ac_ext >&5
12853
12854	ac_cv_working_alloca_h=no
12855fi
12856
12857rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12858      conftest$ac_exeext conftest.$ac_ext
12859fi
12860{ echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
12861echo "${ECHO_T}$ac_cv_working_alloca_h" >&6; }
12862if test $ac_cv_working_alloca_h = yes; then
12863
12864cat >>confdefs.h <<\_ACEOF
12865#define HAVE_ALLOCA_H 1
12866_ACEOF
12867
12868fi
12869
12870{ echo "$as_me:$LINENO: checking for alloca" >&5
12871echo $ECHO_N "checking for alloca... $ECHO_C" >&6; }
12872if test "${ac_cv_func_alloca_works+set}" = set; then
12873  echo $ECHO_N "(cached) $ECHO_C" >&6
12874else
12875  cat >conftest.$ac_ext <<_ACEOF
12876/* confdefs.h.  */
12877_ACEOF
12878cat confdefs.h >>conftest.$ac_ext
12879cat >>conftest.$ac_ext <<_ACEOF
12880/* end confdefs.h.  */
12881#ifdef __GNUC__
12882# define alloca __builtin_alloca
12883#else
12884# ifdef _MSC_VER
12885#  include <malloc.h>
12886#  define alloca _alloca
12887# else
12888#  ifdef HAVE_ALLOCA_H
12889#   include <alloca.h>
12890#  else
12891#   ifdef _AIX
12892 #pragma alloca
12893#   else
12894#    ifndef alloca /* predefined by HP cc +Olibcalls */
12895char *alloca ();
12896#    endif
12897#   endif
12898#  endif
12899# endif
12900#endif
12901
12902int
12903main ()
12904{
12905char *p = (char *) alloca (1);
12906				    if (p) return 0;
12907  ;
12908  return 0;
12909}
12910_ACEOF
12911rm -f conftest.$ac_objext conftest$ac_exeext
12912if { (ac_try="$ac_link"
12913case "(($ac_try" in
12914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12915  *) ac_try_echo=$ac_try;;
12916esac
12917eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12918  (eval "$ac_link") 2>conftest.er1
12919  ac_status=$?
12920  grep -v '^ *+' conftest.er1 >conftest.err
12921  rm -f conftest.er1
12922  cat conftest.err >&5
12923  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924  (exit $ac_status); } && {
12925	 test -z "$ac_c_werror_flag" ||
12926	 test ! -s conftest.err
12927       } && test -s conftest$ac_exeext &&
12928       $as_test_x conftest$ac_exeext; then
12929  ac_cv_func_alloca_works=yes
12930else
12931  echo "$as_me: failed program was:" >&5
12932sed 's/^/| /' conftest.$ac_ext >&5
12933
12934	ac_cv_func_alloca_works=no
12935fi
12936
12937rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12938      conftest$ac_exeext conftest.$ac_ext
12939fi
12940{ echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
12941echo "${ECHO_T}$ac_cv_func_alloca_works" >&6; }
12942
12943if test $ac_cv_func_alloca_works = yes; then
12944
12945cat >>confdefs.h <<\_ACEOF
12946#define HAVE_ALLOCA 1
12947_ACEOF
12948
12949else
12950  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
12951# that cause trouble.  Some versions do not even contain alloca or
12952# contain a buggy version.  If you still want to use their alloca,
12953# use ar to extract alloca.o from them instead of compiling alloca.c.
12954
12955ALLOCA=\${LIBOBJDIR}alloca.$ac_objext
12956
12957cat >>confdefs.h <<\_ACEOF
12958#define C_ALLOCA 1
12959_ACEOF
12960
12961
12962{ echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
12963echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6; }
12964if test "${ac_cv_os_cray+set}" = set; then
12965  echo $ECHO_N "(cached) $ECHO_C" >&6
12966else
12967  cat >conftest.$ac_ext <<_ACEOF
12968/* confdefs.h.  */
12969_ACEOF
12970cat confdefs.h >>conftest.$ac_ext
12971cat >>conftest.$ac_ext <<_ACEOF
12972/* end confdefs.h.  */
12973#if defined CRAY && ! defined CRAY2
12974webecray
12975#else
12976wenotbecray
12977#endif
12978
12979_ACEOF
12980if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12981  $EGREP "webecray" >/dev/null 2>&1; then
12982  ac_cv_os_cray=yes
12983else
12984  ac_cv_os_cray=no
12985fi
12986rm -f conftest*
12987
12988fi
12989{ echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
12990echo "${ECHO_T}$ac_cv_os_cray" >&6; }
12991if test $ac_cv_os_cray = yes; then
12992  for ac_func in _getb67 GETB67 getb67; do
12993    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12994{ echo "$as_me:$LINENO: checking for $ac_func" >&5
12995echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12996if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12997  echo $ECHO_N "(cached) $ECHO_C" >&6
12998else
12999  cat >conftest.$ac_ext <<_ACEOF
13000/* confdefs.h.  */
13001_ACEOF
13002cat confdefs.h >>conftest.$ac_ext
13003cat >>conftest.$ac_ext <<_ACEOF
13004/* end confdefs.h.  */
13005/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13006   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13007#define $ac_func innocuous_$ac_func
13008
13009/* System header to define __stub macros and hopefully few prototypes,
13010    which can conflict with char $ac_func (); below.
13011    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13012    <limits.h> exists even on freestanding compilers.  */
13013
13014#ifdef __STDC__
13015# include <limits.h>
13016#else
13017# include <assert.h>
13018#endif
13019
13020#undef $ac_func
13021
13022/* Override any GCC internal prototype to avoid an error.
13023   Use char because int might match the return type of a GCC
13024   builtin and then its argument prototype would still apply.  */
13025#ifdef __cplusplus
13026extern "C"
13027#endif
13028char $ac_func ();
13029/* The GNU C library defines this for functions which it implements
13030    to always fail with ENOSYS.  Some functions are actually named
13031    something starting with __ and the normal name is an alias.  */
13032#if defined __stub_$ac_func || defined __stub___$ac_func
13033choke me
13034#endif
13035
13036int
13037main ()
13038{
13039return $ac_func ();
13040  ;
13041  return 0;
13042}
13043_ACEOF
13044rm -f conftest.$ac_objext conftest$ac_exeext
13045if { (ac_try="$ac_link"
13046case "(($ac_try" in
13047  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13048  *) ac_try_echo=$ac_try;;
13049esac
13050eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13051  (eval "$ac_link") 2>conftest.er1
13052  ac_status=$?
13053  grep -v '^ *+' conftest.er1 >conftest.err
13054  rm -f conftest.er1
13055  cat conftest.err >&5
13056  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13057  (exit $ac_status); } && {
13058	 test -z "$ac_c_werror_flag" ||
13059	 test ! -s conftest.err
13060       } && test -s conftest$ac_exeext &&
13061       $as_test_x conftest$ac_exeext; then
13062  eval "$as_ac_var=yes"
13063else
13064  echo "$as_me: failed program was:" >&5
13065sed 's/^/| /' conftest.$ac_ext >&5
13066
13067	eval "$as_ac_var=no"
13068fi
13069
13070rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13071      conftest$ac_exeext conftest.$ac_ext
13072fi
13073ac_res=`eval echo '${'$as_ac_var'}'`
13074	       { echo "$as_me:$LINENO: result: $ac_res" >&5
13075echo "${ECHO_T}$ac_res" >&6; }
13076if test `eval echo '${'$as_ac_var'}'` = yes; then
13077
13078cat >>confdefs.h <<_ACEOF
13079#define CRAY_STACKSEG_END $ac_func
13080_ACEOF
13081
13082    break
13083fi
13084
13085  done
13086fi
13087
13088{ echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
13089echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6; }
13090if test "${ac_cv_c_stack_direction+set}" = set; then
13091  echo $ECHO_N "(cached) $ECHO_C" >&6
13092else
13093  if test "$cross_compiling" = yes; then
13094  ac_cv_c_stack_direction=0
13095else
13096  cat >conftest.$ac_ext <<_ACEOF
13097/* confdefs.h.  */
13098_ACEOF
13099cat confdefs.h >>conftest.$ac_ext
13100cat >>conftest.$ac_ext <<_ACEOF
13101/* end confdefs.h.  */
13102$ac_includes_default
13103int
13104find_stack_direction ()
13105{
13106  static char *addr = 0;
13107  auto char dummy;
13108  if (addr == 0)
13109    {
13110      addr = &dummy;
13111      return find_stack_direction ();
13112    }
13113  else
13114    return (&dummy > addr) ? 1 : -1;
13115}
13116
13117int
13118main ()
13119{
13120  return find_stack_direction () < 0;
13121}
13122_ACEOF
13123rm -f conftest$ac_exeext
13124if { (ac_try="$ac_link"
13125case "(($ac_try" in
13126  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13127  *) ac_try_echo=$ac_try;;
13128esac
13129eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13130  (eval "$ac_link") 2>&5
13131  ac_status=$?
13132  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13134  { (case "(($ac_try" in
13135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13136  *) ac_try_echo=$ac_try;;
13137esac
13138eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13139  (eval "$ac_try") 2>&5
13140  ac_status=$?
13141  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142  (exit $ac_status); }; }; then
13143  ac_cv_c_stack_direction=1
13144else
13145  echo "$as_me: program exited with status $ac_status" >&5
13146echo "$as_me: failed program was:" >&5
13147sed 's/^/| /' conftest.$ac_ext >&5
13148
13149( exit $ac_status )
13150ac_cv_c_stack_direction=-1
13151fi
13152rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13153fi
13154
13155
13156fi
13157{ echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
13158echo "${ECHO_T}$ac_cv_c_stack_direction" >&6; }
13159
13160cat >>confdefs.h <<_ACEOF
13161#define STACK_DIRECTION $ac_cv_c_stack_direction
13162_ACEOF
13163
13164
13165fi
13166
13167{ echo "$as_me:$LINENO: checking for working memcmp" >&5
13168echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6; }
13169if test "${ac_cv_func_memcmp_working+set}" = set; then
13170  echo $ECHO_N "(cached) $ECHO_C" >&6
13171else
13172  if test "$cross_compiling" = yes; then
13173  ac_cv_func_memcmp_working=no
13174else
13175  cat >conftest.$ac_ext <<_ACEOF
13176/* confdefs.h.  */
13177_ACEOF
13178cat confdefs.h >>conftest.$ac_ext
13179cat >>conftest.$ac_ext <<_ACEOF
13180/* end confdefs.h.  */
13181$ac_includes_default
13182int
13183main ()
13184{
13185
13186  /* Some versions of memcmp are not 8-bit clean.  */
13187  char c0 = '\100', c1 = '\200', c2 = '\201';
13188  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
13189    return 1;
13190
13191  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
13192     or more and with at least one buffer not starting on a 4-byte boundary.
13193     William Lewis provided this test program.   */
13194  {
13195    char foo[21];
13196    char bar[21];
13197    int i;
13198    for (i = 0; i < 4; i++)
13199      {
13200	char *a = foo + i;
13201	char *b = bar + i;
13202	strcpy (a, "--------01111111");
13203	strcpy (b, "--------10000000");
13204	if (memcmp (a, b, 16) >= 0)
13205	  return 1;
13206      }
13207    return 0;
13208  }
13209
13210  ;
13211  return 0;
13212}
13213_ACEOF
13214rm -f conftest$ac_exeext
13215if { (ac_try="$ac_link"
13216case "(($ac_try" in
13217  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13218  *) ac_try_echo=$ac_try;;
13219esac
13220eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13221  (eval "$ac_link") 2>&5
13222  ac_status=$?
13223  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13225  { (case "(($ac_try" in
13226  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227  *) ac_try_echo=$ac_try;;
13228esac
13229eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230  (eval "$ac_try") 2>&5
13231  ac_status=$?
13232  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13233  (exit $ac_status); }; }; then
13234  ac_cv_func_memcmp_working=yes
13235else
13236  echo "$as_me: program exited with status $ac_status" >&5
13237echo "$as_me: failed program was:" >&5
13238sed 's/^/| /' conftest.$ac_ext >&5
13239
13240( exit $ac_status )
13241ac_cv_func_memcmp_working=no
13242fi
13243rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13244fi
13245
13246
13247fi
13248{ echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
13249echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6; }
13250test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
13251  *" memcmp.$ac_objext "* ) ;;
13252  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
13253 ;;
13254esac
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266ac_config_files="$ac_config_files Makefile m4/Makefile lib/Makefile lib/modes/Makefile lib/books/Makefile lib/books/coupled/Makefile lib/books/uncoupled/Makefile lib/books/floor/Makefile doc/Makefile doc/vorbisfile/Makefile doc/vorbisenc/Makefile doc/Doxyfile include/Makefile include/vorbis/Makefile examples/Makefile test/Makefile vq/Makefile libvorbis.spec vorbis.pc vorbisenc.pc vorbisfile.pc vorbis-uninstalled.pc vorbisenc-uninstalled.pc vorbisfile-uninstalled.pc"
13267
13268cat >confcache <<\_ACEOF
13269# This file is a shell script that caches the results of configure
13270# tests run on this system so they can be shared between configure
13271# scripts and configure runs, see configure's option --config-cache.
13272# It is not useful on other systems.  If it contains results you don't
13273# want to keep, you may remove or edit it.
13274#
13275# config.status only pays attention to the cache file if you give it
13276# the --recheck option to rerun configure.
13277#
13278# `ac_cv_env_foo' variables (set or unset) will be overridden when
13279# loading this file, other *unset* `ac_cv_foo' will be assigned the
13280# following values.
13281
13282_ACEOF
13283
13284# The following way of writing the cache mishandles newlines in values,
13285# but we know of no workaround that is simple, portable, and efficient.
13286# So, we kill variables containing newlines.
13287# Ultrix sh set writes to stderr and can't be redirected directly,
13288# and sets the high bit in the cache file unless we assign to the vars.
13289(
13290  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13291    eval ac_val=\$$ac_var
13292    case $ac_val in #(
13293    *${as_nl}*)
13294      case $ac_var in #(
13295      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13296echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13297      esac
13298      case $ac_var in #(
13299      _ | IFS | as_nl) ;; #(
13300      *) $as_unset $ac_var ;;
13301      esac ;;
13302    esac
13303  done
13304
13305  (set) 2>&1 |
13306    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13307    *${as_nl}ac_space=\ *)
13308      # `set' does not quote correctly, so add quotes (double-quote
13309      # substitution turns \\\\ into \\, and sed turns \\ into \).
13310      sed -n \
13311	"s/'/'\\\\''/g;
13312	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13313      ;; #(
13314    *)
13315      # `set' quotes correctly as required by POSIX, so do not add quotes.
13316      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13317      ;;
13318    esac |
13319    sort
13320) |
13321  sed '
13322     /^ac_cv_env_/b end
13323     t clear
13324     :clear
13325     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13326     t end
13327     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13328     :end' >>confcache
13329if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13330  if test -w "$cache_file"; then
13331    test "x$cache_file" != "x/dev/null" &&
13332      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13333echo "$as_me: updating cache $cache_file" >&6;}
13334    cat confcache >$cache_file
13335  else
13336    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13337echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13338  fi
13339fi
13340rm -f confcache
13341
13342test "x$prefix" = xNONE && prefix=$ac_default_prefix
13343# Let make expand exec_prefix.
13344test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13345
13346DEFS=-DHAVE_CONFIG_H
13347
13348ac_libobjs=
13349ac_ltlibobjs=
13350for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13351  # 1. Remove the extension, and $U if already installed.
13352  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13353  ac_i=`echo "$ac_i" | sed "$ac_script"`
13354  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13355  #    will be set to the directory where LIBOBJS objects are built.
13356  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13357  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
13358done
13359LIBOBJS=$ac_libobjs
13360
13361LTLIBOBJS=$ac_ltlibobjs
13362
13363
13364if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13365  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13366Usually this means the macro was only invoked conditionally." >&5
13367echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13368Usually this means the macro was only invoked conditionally." >&2;}
13369   { (exit 1); exit 1; }; }
13370fi
13371if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13372  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13373Usually this means the macro was only invoked conditionally." >&5
13374echo "$as_me: error: conditional \"AMDEP\" was never defined.
13375Usually this means the macro was only invoked conditionally." >&2;}
13376   { (exit 1); exit 1; }; }
13377fi
13378if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13379  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13380Usually this means the macro was only invoked conditionally." >&5
13381echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13382Usually this means the macro was only invoked conditionally." >&2;}
13383   { (exit 1); exit 1; }; }
13384fi
13385if test -z "${HAVE_DOXYGEN_TRUE}" && test -z "${HAVE_DOXYGEN_FALSE}"; then
13386  { { echo "$as_me:$LINENO: error: conditional \"HAVE_DOXYGEN\" was never defined.
13387Usually this means the macro was only invoked conditionally." >&5
13388echo "$as_me: error: conditional \"HAVE_DOXYGEN\" was never defined.
13389Usually this means the macro was only invoked conditionally." >&2;}
13390   { (exit 1); exit 1; }; }
13391fi
13392if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
13393  { { echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
13394Usually this means the macro was only invoked conditionally." >&5
13395echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
13396Usually this means the macro was only invoked conditionally." >&2;}
13397   { (exit 1); exit 1; }; }
13398fi
13399if test -z "${BUILD_EXAMPLES_TRUE}" && test -z "${BUILD_EXAMPLES_FALSE}"; then
13400  { { echo "$as_me:$LINENO: error: conditional \"BUILD_EXAMPLES\" was never defined.
13401Usually this means the macro was only invoked conditionally." >&5
13402echo "$as_me: error: conditional \"BUILD_EXAMPLES\" was never defined.
13403Usually this means the macro was only invoked conditionally." >&2;}
13404   { (exit 1); exit 1; }; }
13405fi
13406
13407: ${CONFIG_STATUS=./config.status}
13408ac_clean_files_save=$ac_clean_files
13409ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13410{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13411echo "$as_me: creating $CONFIG_STATUS" >&6;}
13412cat >$CONFIG_STATUS <<_ACEOF
13413#! $SHELL
13414# Generated by $as_me.
13415# Run this file to recreate the current configuration.
13416# Compiler output produced by configure, useful for debugging
13417# configure, is in config.log if it exists.
13418
13419debug=false
13420ac_cs_recheck=false
13421ac_cs_silent=false
13422SHELL=\${CONFIG_SHELL-$SHELL}
13423_ACEOF
13424
13425cat >>$CONFIG_STATUS <<\_ACEOF
13426## --------------------- ##
13427## M4sh Initialization.  ##
13428## --------------------- ##
13429
13430# Be more Bourne compatible
13431DUALCASE=1; export DUALCASE # for MKS sh
13432if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13433  emulate sh
13434  NULLCMD=:
13435  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13436  # is contrary to our usage.  Disable this feature.
13437  alias -g '${1+"$@"}'='"$@"'
13438  setopt NO_GLOB_SUBST
13439else
13440  case `(set -o) 2>/dev/null` in
13441  *posix*) set -o posix ;;
13442esac
13443
13444fi
13445
13446
13447
13448
13449# PATH needs CR
13450# Avoid depending upon Character Ranges.
13451as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13452as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13453as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13454as_cr_digits='0123456789'
13455as_cr_alnum=$as_cr_Letters$as_cr_digits
13456
13457# The user is always right.
13458if test "${PATH_SEPARATOR+set}" != set; then
13459  echo "#! /bin/sh" >conf$$.sh
13460  echo  "exit 0"   >>conf$$.sh
13461  chmod +x conf$$.sh
13462  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13463    PATH_SEPARATOR=';'
13464  else
13465    PATH_SEPARATOR=:
13466  fi
13467  rm -f conf$$.sh
13468fi
13469
13470# Support unset when possible.
13471if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13472  as_unset=unset
13473else
13474  as_unset=false
13475fi
13476
13477
13478# IFS
13479# We need space, tab and new line, in precisely that order.  Quoting is
13480# there to prevent editors from complaining about space-tab.
13481# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13482# splitting by setting IFS to empty value.)
13483as_nl='
13484'
13485IFS=" ""	$as_nl"
13486
13487# Find who we are.  Look in the path if we contain no directory separator.
13488case $0 in
13489  *[\\/]* ) as_myself=$0 ;;
13490  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13491for as_dir in $PATH
13492do
13493  IFS=$as_save_IFS
13494  test -z "$as_dir" && as_dir=.
13495  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13496done
13497IFS=$as_save_IFS
13498
13499     ;;
13500esac
13501# We did not find ourselves, most probably we were run as `sh COMMAND'
13502# in which case we are not to be found in the path.
13503if test "x$as_myself" = x; then
13504  as_myself=$0
13505fi
13506if test ! -f "$as_myself"; then
13507  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13508  { (exit 1); exit 1; }
13509fi
13510
13511# Work around bugs in pre-3.0 UWIN ksh.
13512for as_var in ENV MAIL MAILPATH
13513do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13514done
13515PS1='$ '
13516PS2='> '
13517PS4='+ '
13518
13519# NLS nuisances.
13520for as_var in \
13521  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13522  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13523  LC_TELEPHONE LC_TIME
13524do
13525  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13526    eval $as_var=C; export $as_var
13527  else
13528    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13529  fi
13530done
13531
13532# Required to use basename.
13533if expr a : '\(a\)' >/dev/null 2>&1 &&
13534   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13535  as_expr=expr
13536else
13537  as_expr=false
13538fi
13539
13540if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13541  as_basename=basename
13542else
13543  as_basename=false
13544fi
13545
13546
13547# Name of the executable.
13548as_me=`$as_basename -- "$0" ||
13549$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13550	 X"$0" : 'X\(//\)$' \| \
13551	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13552echo X/"$0" |
13553    sed '/^.*\/\([^/][^/]*\)\/*$/{
13554	    s//\1/
13555	    q
13556	  }
13557	  /^X\/\(\/\/\)$/{
13558	    s//\1/
13559	    q
13560	  }
13561	  /^X\/\(\/\).*/{
13562	    s//\1/
13563	    q
13564	  }
13565	  s/.*/./; q'`
13566
13567# CDPATH.
13568$as_unset CDPATH
13569
13570
13571
13572  as_lineno_1=$LINENO
13573  as_lineno_2=$LINENO
13574  test "x$as_lineno_1" != "x$as_lineno_2" &&
13575  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13576
13577  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13578  # uniformly replaced by the line number.  The first 'sed' inserts a
13579  # line-number line after each line using $LINENO; the second 'sed'
13580  # does the real work.  The second script uses 'N' to pair each
13581  # line-number line with the line containing $LINENO, and appends
13582  # trailing '-' during substitution so that $LINENO is not a special
13583  # case at line end.
13584  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13585  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13586  # E. McMahon (1931-1989) for sed's syntax.  :-)
13587  sed -n '
13588    p
13589    /[$]LINENO/=
13590  ' <$as_myself |
13591    sed '
13592      s/[$]LINENO.*/&-/
13593      t lineno
13594      b
13595      :lineno
13596      N
13597      :loop
13598      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13599      t loop
13600      s/-\n.*//
13601    ' >$as_me.lineno &&
13602  chmod +x "$as_me.lineno" ||
13603    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13604   { (exit 1); exit 1; }; }
13605
13606  # Don't try to exec as it changes $[0], causing all sort of problems
13607  # (the dirname of $[0] is not the place where we might find the
13608  # original and so on.  Autoconf is especially sensitive to this).
13609  . "./$as_me.lineno"
13610  # Exit status is that of the last command.
13611  exit
13612}
13613
13614
13615if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13616  as_dirname=dirname
13617else
13618  as_dirname=false
13619fi
13620
13621ECHO_C= ECHO_N= ECHO_T=
13622case `echo -n x` in
13623-n*)
13624  case `echo 'x\c'` in
13625  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13626  *)   ECHO_C='\c';;
13627  esac;;
13628*)
13629  ECHO_N='-n';;
13630esac
13631
13632if expr a : '\(a\)' >/dev/null 2>&1 &&
13633   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13634  as_expr=expr
13635else
13636  as_expr=false
13637fi
13638
13639rm -f conf$$ conf$$.exe conf$$.file
13640if test -d conf$$.dir; then
13641  rm -f conf$$.dir/conf$$.file
13642else
13643  rm -f conf$$.dir
13644  mkdir conf$$.dir
13645fi
13646echo >conf$$.file
13647if ln -s conf$$.file conf$$ 2>/dev/null; then
13648  as_ln_s='ln -s'
13649  # ... but there are two gotchas:
13650  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13651  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13652  # In both cases, we have to default to `cp -p'.
13653  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13654    as_ln_s='cp -p'
13655elif ln conf$$.file conf$$ 2>/dev/null; then
13656  as_ln_s=ln
13657else
13658  as_ln_s='cp -p'
13659fi
13660rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13661rmdir conf$$.dir 2>/dev/null
13662
13663if mkdir -p . 2>/dev/null; then
13664  as_mkdir_p=:
13665else
13666  test -d ./-p && rmdir ./-p
13667  as_mkdir_p=false
13668fi
13669
13670if test -x / >/dev/null 2>&1; then
13671  as_test_x='test -x'
13672else
13673  if ls -dL / >/dev/null 2>&1; then
13674    as_ls_L_option=L
13675  else
13676    as_ls_L_option=
13677  fi
13678  as_test_x='
13679    eval sh -c '\''
13680      if test -d "$1"; then
13681        test -d "$1/.";
13682      else
13683	case $1 in
13684        -*)set "./$1";;
13685	esac;
13686	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13687	???[sx]*):;;*)false;;esac;fi
13688    '\'' sh
13689  '
13690fi
13691as_executable_p=$as_test_x
13692
13693# Sed expression to map a string onto a valid CPP name.
13694as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13695
13696# Sed expression to map a string onto a valid variable name.
13697as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13698
13699
13700exec 6>&1
13701
13702# Save the log message, to keep $[0] and so on meaningful, and to
13703# report actual input values of CONFIG_FILES etc. instead of their
13704# values after options handling.
13705ac_log="
13706This file was extended by libvorbis $as_me 1.3.1, which was
13707generated by GNU Autoconf 2.61.  Invocation command line was
13708
13709  CONFIG_FILES    = $CONFIG_FILES
13710  CONFIG_HEADERS  = $CONFIG_HEADERS
13711  CONFIG_LINKS    = $CONFIG_LINKS
13712  CONFIG_COMMANDS = $CONFIG_COMMANDS
13713  $ $0 $@
13714
13715on `(hostname || uname -n) 2>/dev/null | sed 1q`
13716"
13717
13718_ACEOF
13719
13720cat >>$CONFIG_STATUS <<_ACEOF
13721# Files that config.status was made for.
13722config_files="$ac_config_files"
13723config_headers="$ac_config_headers"
13724config_commands="$ac_config_commands"
13725
13726_ACEOF
13727
13728cat >>$CONFIG_STATUS <<\_ACEOF
13729ac_cs_usage="\
13730\`$as_me' instantiates files from templates according to the
13731current configuration.
13732
13733Usage: $0 [OPTIONS] [FILE]...
13734
13735  -h, --help       print this help, then exit
13736  -V, --version    print version number and configuration settings, then exit
13737  -q, --quiet      do not print progress messages
13738  -d, --debug      don't remove temporary files
13739      --recheck    update $as_me by reconfiguring in the same conditions
13740  --file=FILE[:TEMPLATE]
13741		   instantiate the configuration file FILE
13742  --header=FILE[:TEMPLATE]
13743		   instantiate the configuration header FILE
13744
13745Configuration files:
13746$config_files
13747
13748Configuration headers:
13749$config_headers
13750
13751Configuration commands:
13752$config_commands
13753
13754Report bugs to <bug-autoconf@gnu.org>."
13755
13756_ACEOF
13757cat >>$CONFIG_STATUS <<_ACEOF
13758ac_cs_version="\\
13759libvorbis config.status 1.3.1
13760configured by $0, generated by GNU Autoconf 2.61,
13761  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13762
13763Copyright (C) 2006 Free Software Foundation, Inc.
13764This config.status script is free software; the Free Software Foundation
13765gives unlimited permission to copy, distribute and modify it."
13766
13767ac_pwd='$ac_pwd'
13768srcdir='$srcdir'
13769INSTALL='$INSTALL'
13770MKDIR_P='$MKDIR_P'
13771_ACEOF
13772
13773cat >>$CONFIG_STATUS <<\_ACEOF
13774# If no file are specified by the user, then we need to provide default
13775# value.  By we need to know if files were specified by the user.
13776ac_need_defaults=:
13777while test $# != 0
13778do
13779  case $1 in
13780  --*=*)
13781    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13782    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13783    ac_shift=:
13784    ;;
13785  *)
13786    ac_option=$1
13787    ac_optarg=$2
13788    ac_shift=shift
13789    ;;
13790  esac
13791
13792  case $ac_option in
13793  # Handling of the options.
13794  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13795    ac_cs_recheck=: ;;
13796  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13797    echo "$ac_cs_version"; exit ;;
13798  --debug | --debu | --deb | --de | --d | -d )
13799    debug=: ;;
13800  --file | --fil | --fi | --f )
13801    $ac_shift
13802    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13803    ac_need_defaults=false;;
13804  --header | --heade | --head | --hea )
13805    $ac_shift
13806    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13807    ac_need_defaults=false;;
13808  --he | --h)
13809    # Conflict between --help and --header
13810    { echo "$as_me: error: ambiguous option: $1
13811Try \`$0 --help' for more information." >&2
13812   { (exit 1); exit 1; }; };;
13813  --help | --hel | -h )
13814    echo "$ac_cs_usage"; exit ;;
13815  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13816  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13817    ac_cs_silent=: ;;
13818
13819  # This is an error.
13820  -*) { echo "$as_me: error: unrecognized option: $1
13821Try \`$0 --help' for more information." >&2
13822   { (exit 1); exit 1; }; } ;;
13823
13824  *) ac_config_targets="$ac_config_targets $1"
13825     ac_need_defaults=false ;;
13826
13827  esac
13828  shift
13829done
13830
13831ac_configure_extra_args=
13832
13833if $ac_cs_silent; then
13834  exec 6>/dev/null
13835  ac_configure_extra_args="$ac_configure_extra_args --silent"
13836fi
13837
13838_ACEOF
13839cat >>$CONFIG_STATUS <<_ACEOF
13840if \$ac_cs_recheck; then
13841  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13842  CONFIG_SHELL=$SHELL
13843  export CONFIG_SHELL
13844  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13845fi
13846
13847_ACEOF
13848cat >>$CONFIG_STATUS <<\_ACEOF
13849exec 5>>config.log
13850{
13851  echo
13852  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13853## Running $as_me. ##
13854_ASBOX
13855  echo "$ac_log"
13856} >&5
13857
13858_ACEOF
13859cat >>$CONFIG_STATUS <<_ACEOF
13860#
13861# INIT-COMMANDS
13862#
13863AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13864
13865
13866# The HP-UX ksh and POSIX shell print the target directory to stdout
13867# if CDPATH is set.
13868(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13869
13870sed_quote_subst='$sed_quote_subst'
13871double_quote_subst='$double_quote_subst'
13872delay_variable_subst='$delay_variable_subst'
13873AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
13874DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13875OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
13876macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
13877macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
13878enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
13879enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
13880pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
13881enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
13882host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
13883host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
13884host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
13885build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
13886build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
13887build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
13888SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
13889Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
13890GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
13891EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
13892FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
13893LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
13894NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
13895LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
13896max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
13897ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
13898exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
13899lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
13900lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
13901lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
13902reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
13903reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13904deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
13905file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
13906AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
13907AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13908STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
13909RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
13910old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13911old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13912old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13913CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
13914CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
13915compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
13916GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
13917lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
13918lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
13919lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
13920lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13921objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
13922SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
13923ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
13924MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
13925lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
13926lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
13927lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
13928lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
13929lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
13930need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
13931DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
13932NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
13933LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
13934OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
13935OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
13936libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
13937shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13938extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13939archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
13940enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
13941export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13942whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13943compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
13944old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13945old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13946archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13947archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13948module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13949module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13950with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
13951allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13952no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
13953hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
13954hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
13955hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
13956hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
13957hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
13958hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
13959hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13960hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
13961inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
13962link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
13963fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
13964always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
13965export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13966exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13967include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
13968prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13969file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
13970variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
13971need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
13972need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
13973version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
13974runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13975shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
13976shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
13977libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13978library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
13979soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
13980postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13981postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13982finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
13983finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
13984hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
13985sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13986sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
13987hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
13988enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
13989enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
13990enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
13991old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
13992striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
13993
13994LTCC='$LTCC'
13995LTCFLAGS='$LTCFLAGS'
13996compiler='$compiler_DEFAULT'
13997
13998# Quote evaled strings.
13999for var in SED \
14000GREP \
14001EGREP \
14002FGREP \
14003LD \
14004NM \
14005LN_S \
14006lt_SP2NL \
14007lt_NL2SP \
14008reload_flag \
14009deplibs_check_method \
14010file_magic_cmd \
14011AR \
14012AR_FLAGS \
14013STRIP \
14014RANLIB \
14015CC \
14016CFLAGS \
14017compiler \
14018lt_cv_sys_global_symbol_pipe \
14019lt_cv_sys_global_symbol_to_cdecl \
14020lt_cv_sys_global_symbol_to_c_name_address \
14021lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14022SHELL \
14023ECHO \
14024lt_prog_compiler_no_builtin_flag \
14025lt_prog_compiler_wl \
14026lt_prog_compiler_pic \
14027lt_prog_compiler_static \
14028lt_cv_prog_compiler_c_o \
14029need_locks \
14030DSYMUTIL \
14031NMEDIT \
14032LIPO \
14033OTOOL \
14034OTOOL64 \
14035shrext_cmds \
14036export_dynamic_flag_spec \
14037whole_archive_flag_spec \
14038compiler_needs_object \
14039with_gnu_ld \
14040allow_undefined_flag \
14041no_undefined_flag \
14042hardcode_libdir_flag_spec \
14043hardcode_libdir_flag_spec_ld \
14044hardcode_libdir_separator \
14045fix_srcfile_path \
14046exclude_expsyms \
14047include_expsyms \
14048file_list_spec \
14049variables_saved_for_relink \
14050libname_spec \
14051library_names_spec \
14052soname_spec \
14053finish_eval \
14054old_striplib \
14055striplib; do
14056    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14057    *[\\\\\\\`\\"\\\$]*)
14058      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
14059      ;;
14060    *)
14061      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14062      ;;
14063    esac
14064done
14065
14066# Double-quote double-evaled strings.
14067for var in reload_cmds \
14068old_postinstall_cmds \
14069old_postuninstall_cmds \
14070old_archive_cmds \
14071extract_expsyms_cmds \
14072old_archive_from_new_cmds \
14073old_archive_from_expsyms_cmds \
14074archive_cmds \
14075archive_expsym_cmds \
14076module_cmds \
14077module_expsym_cmds \
14078export_symbols_cmds \
14079prelink_cmds \
14080postinstall_cmds \
14081postuninstall_cmds \
14082finish_cmds \
14083sys_lib_search_path_spec \
14084sys_lib_dlsearch_path_spec; do
14085    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
14086    *[\\\\\\\`\\"\\\$]*)
14087      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
14088      ;;
14089    *)
14090      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14091      ;;
14092    esac
14093done
14094
14095# Fix-up fallback echo if it was mangled by the above quoting rules.
14096case \$lt_ECHO in
14097*'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
14098  ;;
14099esac
14100
14101ac_aux_dir='$ac_aux_dir'
14102xsi_shell='$xsi_shell'
14103lt_shell_append='$lt_shell_append'
14104
14105# See if we are running on zsh, and set the options which allow our
14106# commands through without removal of \ escapes INIT.
14107if test -n "\${ZSH_VERSION+set}" ; then
14108   setopt NO_GLOB_SUBST
14109fi
14110
14111
14112    PACKAGE='$PACKAGE'
14113    VERSION='$VERSION'
14114    TIMESTAMP='$TIMESTAMP'
14115    RM='$RM'
14116    ofile='$ofile'
14117
14118
14119
14120
14121_ACEOF
14122
14123cat >>$CONFIG_STATUS <<\_ACEOF
14124
14125# Handling of arguments.
14126for ac_config_target in $ac_config_targets
14127do
14128  case $ac_config_target in
14129    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14130    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14131    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14132    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14133    "m4/Makefile") CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
14134    "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
14135    "lib/modes/Makefile") CONFIG_FILES="$CONFIG_FILES lib/modes/Makefile" ;;
14136    "lib/books/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/Makefile" ;;
14137    "lib/books/coupled/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/coupled/Makefile" ;;
14138    "lib/books/uncoupled/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/uncoupled/Makefile" ;;
14139    "lib/books/floor/Makefile") CONFIG_FILES="$CONFIG_FILES lib/books/floor/Makefile" ;;
14140    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
14141    "doc/vorbisfile/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vorbisfile/Makefile" ;;
14142    "doc/vorbisenc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/vorbisenc/Makefile" ;;
14143    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
14144    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
14145    "include/vorbis/Makefile") CONFIG_FILES="$CONFIG_FILES include/vorbis/Makefile" ;;
14146    "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
14147    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
14148    "vq/Makefile") CONFIG_FILES="$CONFIG_FILES vq/Makefile" ;;
14149    "libvorbis.spec") CONFIG_FILES="$CONFIG_FILES libvorbis.spec" ;;
14150    "vorbis.pc") CONFIG_FILES="$CONFIG_FILES vorbis.pc" ;;
14151    "vorbisenc.pc") CONFIG_FILES="$CONFIG_FILES vorbisenc.pc" ;;
14152    "vorbisfile.pc") CONFIG_FILES="$CONFIG_FILES vorbisfile.pc" ;;
14153    "vorbis-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbis-uninstalled.pc" ;;
14154    "vorbisenc-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbisenc-uninstalled.pc" ;;
14155    "vorbisfile-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES vorbisfile-uninstalled.pc" ;;
14156
14157  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
14158echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
14159   { (exit 1); exit 1; }; };;
14160  esac
14161done
14162
14163
14164# If the user did not use the arguments to specify the items to instantiate,
14165# then the envvar interface is used.  Set only those that are not.
14166# We use the long form for the default assignment because of an extremely
14167# bizarre bug on SunOS 4.1.3.
14168if $ac_need_defaults; then
14169  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14170  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14171  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14172fi
14173
14174# Have a temporary directory for convenience.  Make it in the build tree
14175# simply because there is no reason against having it here, and in addition,
14176# creating and moving files from /tmp can sometimes cause problems.
14177# Hook for its removal unless debugging.
14178# Note that there is a small window in which the directory will not be cleaned:
14179# after its creation but before its name has been assigned to `$tmp'.
14180$debug ||
14181{
14182  tmp=
14183  trap 'exit_status=$?
14184  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
14185' 0
14186  trap '{ (exit 1); exit 1; }' 1 2 13 15
14187}
14188# Create a (secure) tmp directory for tmp files.
14189
14190{
14191  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14192  test -n "$tmp" && test -d "$tmp"
14193}  ||
14194{
14195  tmp=./conf$$-$RANDOM
14196  (umask 077 && mkdir "$tmp")
14197} ||
14198{
14199   echo "$me: cannot create a temporary directory in ." >&2
14200   { (exit 1); exit 1; }
14201}
14202
14203#
14204# Set up the sed scripts for CONFIG_FILES section.
14205#
14206
14207# No need to generate the scripts if there are no CONFIG_FILES.
14208# This happens for instance when ./config.status config.h
14209if test -n "$CONFIG_FILES"; then
14210
14211_ACEOF
14212
14213
14214
14215ac_delim='%!_!# '
14216for ac_last_try in false false false false false :; do
14217  cat >conf$$subs.sed <<_ACEOF
14218SHELL!$SHELL$ac_delim
14219PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
14220PACKAGE_NAME!$PACKAGE_NAME$ac_delim
14221PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
14222PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
14223PACKAGE_STRING!$PACKAGE_STRING$ac_delim
14224PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
14225exec_prefix!$exec_prefix$ac_delim
14226prefix!$prefix$ac_delim
14227program_transform_name!$program_transform_name$ac_delim
14228bindir!$bindir$ac_delim
14229sbindir!$sbindir$ac_delim
14230libexecdir!$libexecdir$ac_delim
14231datarootdir!$datarootdir$ac_delim
14232datadir!$datadir$ac_delim
14233sysconfdir!$sysconfdir$ac_delim
14234sharedstatedir!$sharedstatedir$ac_delim
14235localstatedir!$localstatedir$ac_delim
14236includedir!$includedir$ac_delim
14237oldincludedir!$oldincludedir$ac_delim
14238docdir!$docdir$ac_delim
14239infodir!$infodir$ac_delim
14240htmldir!$htmldir$ac_delim
14241dvidir!$dvidir$ac_delim
14242pdfdir!$pdfdir$ac_delim
14243psdir!$psdir$ac_delim
14244libdir!$libdir$ac_delim
14245localedir!$localedir$ac_delim
14246mandir!$mandir$ac_delim
14247DEFS!$DEFS$ac_delim
14248ECHO_C!$ECHO_C$ac_delim
14249ECHO_N!$ECHO_N$ac_delim
14250ECHO_T!$ECHO_T$ac_delim
14251LIBS!$LIBS$ac_delim
14252build_alias!$build_alias$ac_delim
14253host_alias!$host_alias$ac_delim
14254target_alias!$target_alias$ac_delim
14255build!$build$ac_delim
14256build_cpu!$build_cpu$ac_delim
14257build_vendor!$build_vendor$ac_delim
14258build_os!$build_os$ac_delim
14259host!$host$ac_delim
14260host_cpu!$host_cpu$ac_delim
14261host_vendor!$host_vendor$ac_delim
14262host_os!$host_os$ac_delim
14263target!$target$ac_delim
14264target_cpu!$target_cpu$ac_delim
14265target_vendor!$target_vendor$ac_delim
14266target_os!$target_os$ac_delim
14267INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
14268INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14269INSTALL_DATA!$INSTALL_DATA$ac_delim
14270am__isrc!$am__isrc$ac_delim
14271CYGPATH_W!$CYGPATH_W$ac_delim
14272PACKAGE!$PACKAGE$ac_delim
14273VERSION!$VERSION$ac_delim
14274ACLOCAL!$ACLOCAL$ac_delim
14275AUTOCONF!$AUTOCONF$ac_delim
14276AUTOMAKE!$AUTOMAKE$ac_delim
14277AUTOHEADER!$AUTOHEADER$ac_delim
14278MAKEINFO!$MAKEINFO$ac_delim
14279install_sh!$install_sh$ac_delim
14280STRIP!$STRIP$ac_delim
14281INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
14282mkdir_p!$mkdir_p$ac_delim
14283AWK!$AWK$ac_delim
14284SET_MAKE!$SET_MAKE$ac_delim
14285am__leading_dot!$am__leading_dot$ac_delim
14286AMTAR!$AMTAR$ac_delim
14287am__tar!$am__tar$ac_delim
14288am__untar!$am__untar$ac_delim
14289MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
14290MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
14291MAINT!$MAINT$ac_delim
14292ACLOCAL_AMFLAGS!$ACLOCAL_AMFLAGS$ac_delim
14293V_LIB_CURRENT!$V_LIB_CURRENT$ac_delim
14294V_LIB_REVISION!$V_LIB_REVISION$ac_delim
14295V_LIB_AGE!$V_LIB_AGE$ac_delim
14296VF_LIB_CURRENT!$VF_LIB_CURRENT$ac_delim
14297VF_LIB_REVISION!$VF_LIB_REVISION$ac_delim
14298VF_LIB_AGE!$VF_LIB_AGE$ac_delim
14299VE_LIB_CURRENT!$VE_LIB_CURRENT$ac_delim
14300VE_LIB_REVISION!$VE_LIB_REVISION$ac_delim
14301VE_LIB_AGE!$VE_LIB_AGE$ac_delim
14302CC!$CC$ac_delim
14303CFLAGS!$CFLAGS$ac_delim
14304LDFLAGS!$LDFLAGS$ac_delim
14305CPPFLAGS!$CPPFLAGS$ac_delim
14306ac_ct_CC!$ac_ct_CC$ac_delim
14307EXEEXT!$EXEEXT$ac_delim
14308OBJEXT!$OBJEXT$ac_delim
14309DEPDIR!$DEPDIR$ac_delim
14310am__include!$am__include$ac_delim
14311am__quote!$am__quote$ac_delim
14312AMDEP_TRUE!$AMDEP_TRUE$ac_delim
14313AMDEP_FALSE!$AMDEP_FALSE$ac_delim
14314AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
14315_ACEOF
14316
14317  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14318    break
14319  elif $ac_last_try; then
14320    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14321echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14322   { (exit 1); exit 1; }; }
14323  else
14324    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14325  fi
14326done
14327
14328ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14329if test -n "$ac_eof"; then
14330  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14331  ac_eof=`expr $ac_eof + 1`
14332fi
14333
14334cat >>$CONFIG_STATUS <<_ACEOF
14335cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
14336/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14337_ACEOF
14338sed '
14339s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14340s/^/s,@/; s/!/@,|#_!!_#|/
14341:n
14342t n
14343s/'"$ac_delim"'$/,g/; t
14344s/$/\\/; p
14345N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14346' >>$CONFIG_STATUS <conf$$subs.sed
14347rm -f conf$$subs.sed
14348cat >>$CONFIG_STATUS <<_ACEOF
14349CEOF$ac_eof
14350_ACEOF
14351
14352
14353ac_delim='%!_!# '
14354for ac_last_try in false false false false false :; do
14355  cat >conf$$subs.sed <<_ACEOF
14356CCDEPMODE!$CCDEPMODE$ac_delim
14357am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
14358am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
14359CPP!$CPP$ac_delim
14360AS!$AS$ac_delim
14361DLLTOOL!$DLLTOOL$ac_delim
14362OBJDUMP!$OBJDUMP$ac_delim
14363LIBTOOL!$LIBTOOL$ac_delim
14364SED!$SED$ac_delim
14365GREP!$GREP$ac_delim
14366EGREP!$EGREP$ac_delim
14367FGREP!$FGREP$ac_delim
14368LD!$LD$ac_delim
14369DUMPBIN!$DUMPBIN$ac_delim
14370ac_ct_DUMPBIN!$ac_ct_DUMPBIN$ac_delim
14371NM!$NM$ac_delim
14372LN_S!$LN_S$ac_delim
14373AR!$AR$ac_delim
14374RANLIB!$RANLIB$ac_delim
14375lt_ECHO!$lt_ECHO$ac_delim
14376DSYMUTIL!$DSYMUTIL$ac_delim
14377NMEDIT!$NMEDIT$ac_delim
14378LIPO!$LIPO$ac_delim
14379OTOOL!$OTOOL$ac_delim
14380OTOOL64!$OTOOL64$ac_delim
14381HAVE_DOXYGEN!$HAVE_DOXYGEN$ac_delim
14382HAVE_DOXYGEN_TRUE!$HAVE_DOXYGEN_TRUE$ac_delim
14383HAVE_DOXYGEN_FALSE!$HAVE_DOXYGEN_FALSE$ac_delim
14384PDFLATEX!$PDFLATEX$ac_delim
14385HTLATEX!$HTLATEX$ac_delim
14386BUILD_DOCS_TRUE!$BUILD_DOCS_TRUE$ac_delim
14387BUILD_DOCS_FALSE!$BUILD_DOCS_FALSE$ac_delim
14388BUILD_EXAMPLES_TRUE!$BUILD_EXAMPLES_TRUE$ac_delim
14389BUILD_EXAMPLES_FALSE!$BUILD_EXAMPLES_FALSE$ac_delim
14390PKG_CONFIG!$PKG_CONFIG$ac_delim
14391OGG_CFLAGS!$OGG_CFLAGS$ac_delim
14392OGG_LIBS!$OGG_LIBS$ac_delim
14393ALLOCA!$ALLOCA$ac_delim
14394LIBOBJS!$LIBOBJS$ac_delim
14395VORBIS_LIBS!$VORBIS_LIBS$ac_delim
14396DEBUG!$DEBUG$ac_delim
14397PROFILE!$PROFILE$ac_delim
14398pthread_lib!$pthread_lib$ac_delim
14399LIBTOOL_DEPS!$LIBTOOL_DEPS$ac_delim
14400LTLIBOBJS!$LTLIBOBJS$ac_delim
14401_ACEOF
14402
14403  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 45; then
14404    break
14405  elif $ac_last_try; then
14406    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14407echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14408   { (exit 1); exit 1; }; }
14409  else
14410    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14411  fi
14412done
14413
14414ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
14415if test -n "$ac_eof"; then
14416  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
14417  ac_eof=`expr $ac_eof + 1`
14418fi
14419
14420cat >>$CONFIG_STATUS <<_ACEOF
14421cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
14422/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
14423_ACEOF
14424sed '
14425s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
14426s/^/s,@/; s/!/@,|#_!!_#|/
14427:n
14428t n
14429s/'"$ac_delim"'$/,g/; t
14430s/$/\\/; p
14431N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
14432' >>$CONFIG_STATUS <conf$$subs.sed
14433rm -f conf$$subs.sed
14434cat >>$CONFIG_STATUS <<_ACEOF
14435:end
14436s/|#_!!_#|//g
14437CEOF$ac_eof
14438_ACEOF
14439
14440
14441# VPATH may cause trouble with some makes, so we remove $(srcdir),
14442# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
14443# trailing colons and then remove the whole line if VPATH becomes empty
14444# (actually we leave an empty line to preserve line numbers).
14445if test "x$srcdir" = x.; then
14446  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
14447s/:*\$(srcdir):*/:/
14448s/:*\${srcdir}:*/:/
14449s/:*@srcdir@:*/:/
14450s/^\([^=]*=[	 ]*\):*/\1/
14451s/:*$//
14452s/^[^=]*=[	 ]*$//
14453}'
14454fi
14455
14456cat >>$CONFIG_STATUS <<\_ACEOF
14457fi # test -n "$CONFIG_FILES"
14458
14459
14460for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
14461do
14462  case $ac_tag in
14463  :[FHLC]) ac_mode=$ac_tag; continue;;
14464  esac
14465  case $ac_mode$ac_tag in
14466  :[FHL]*:*);;
14467  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
14468echo "$as_me: error: Invalid tag $ac_tag." >&2;}
14469   { (exit 1); exit 1; }; };;
14470  :[FH]-) ac_tag=-:-;;
14471  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14472  esac
14473  ac_save_IFS=$IFS
14474  IFS=:
14475  set x $ac_tag
14476  IFS=$ac_save_IFS
14477  shift
14478  ac_file=$1
14479  shift
14480
14481  case $ac_mode in
14482  :L) ac_source=$1;;
14483  :[FH])
14484    ac_file_inputs=
14485    for ac_f
14486    do
14487      case $ac_f in
14488      -) ac_f="$tmp/stdin";;
14489      *) # Look for the file first in the build tree, then in the source tree
14490	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14491	 # because $ac_f cannot contain `:'.
14492	 test -f "$ac_f" ||
14493	   case $ac_f in
14494	   [\\/$]*) false;;
14495	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14496	   esac ||
14497	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
14498echo "$as_me: error: cannot find input file: $ac_f" >&2;}
14499   { (exit 1); exit 1; }; };;
14500      esac
14501      ac_file_inputs="$ac_file_inputs $ac_f"
14502    done
14503
14504    # Let's still pretend it is `configure' which instantiates (i.e., don't
14505    # use $as_me), people would be surprised to read:
14506    #    /* config.h.  Generated by config.status.  */
14507    configure_input="Generated from "`IFS=:
14508	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
14509    if test x"$ac_file" != x-; then
14510      configure_input="$ac_file.  $configure_input"
14511      { echo "$as_me:$LINENO: creating $ac_file" >&5
14512echo "$as_me: creating $ac_file" >&6;}
14513    fi
14514
14515    case $ac_tag in
14516    *:-:* | *:-) cat >"$tmp/stdin";;
14517    esac
14518    ;;
14519  esac
14520
14521  ac_dir=`$as_dirname -- "$ac_file" ||
14522$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14523	 X"$ac_file" : 'X\(//\)[^/]' \| \
14524	 X"$ac_file" : 'X\(//\)$' \| \
14525	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14526echo X"$ac_file" |
14527    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14528	    s//\1/
14529	    q
14530	  }
14531	  /^X\(\/\/\)[^/].*/{
14532	    s//\1/
14533	    q
14534	  }
14535	  /^X\(\/\/\)$/{
14536	    s//\1/
14537	    q
14538	  }
14539	  /^X\(\/\).*/{
14540	    s//\1/
14541	    q
14542	  }
14543	  s/.*/./; q'`
14544  { as_dir="$ac_dir"
14545  case $as_dir in #(
14546  -*) as_dir=./$as_dir;;
14547  esac
14548  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14549    as_dirs=
14550    while :; do
14551      case $as_dir in #(
14552      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14553      *) as_qdir=$as_dir;;
14554      esac
14555      as_dirs="'$as_qdir' $as_dirs"
14556      as_dir=`$as_dirname -- "$as_dir" ||
14557$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14558	 X"$as_dir" : 'X\(//\)[^/]' \| \
14559	 X"$as_dir" : 'X\(//\)$' \| \
14560	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14561echo X"$as_dir" |
14562    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14563	    s//\1/
14564	    q
14565	  }
14566	  /^X\(\/\/\)[^/].*/{
14567	    s//\1/
14568	    q
14569	  }
14570	  /^X\(\/\/\)$/{
14571	    s//\1/
14572	    q
14573	  }
14574	  /^X\(\/\).*/{
14575	    s//\1/
14576	    q
14577	  }
14578	  s/.*/./; q'`
14579      test -d "$as_dir" && break
14580    done
14581    test -z "$as_dirs" || eval "mkdir $as_dirs"
14582  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14583echo "$as_me: error: cannot create directory $as_dir" >&2;}
14584   { (exit 1); exit 1; }; }; }
14585  ac_builddir=.
14586
14587case "$ac_dir" in
14588.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14589*)
14590  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14591  # A ".." for each directory in $ac_dir_suffix.
14592  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
14593  case $ac_top_builddir_sub in
14594  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14595  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14596  esac ;;
14597esac
14598ac_abs_top_builddir=$ac_pwd
14599ac_abs_builddir=$ac_pwd$ac_dir_suffix
14600# for backward compatibility:
14601ac_top_builddir=$ac_top_build_prefix
14602
14603case $srcdir in
14604  .)  # We are building in place.
14605    ac_srcdir=.
14606    ac_top_srcdir=$ac_top_builddir_sub
14607    ac_abs_top_srcdir=$ac_pwd ;;
14608  [\\/]* | ?:[\\/]* )  # Absolute name.
14609    ac_srcdir=$srcdir$ac_dir_suffix;
14610    ac_top_srcdir=$srcdir
14611    ac_abs_top_srcdir=$srcdir ;;
14612  *) # Relative name.
14613    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14614    ac_top_srcdir=$ac_top_build_prefix$srcdir
14615    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14616esac
14617ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14618
14619
14620  case $ac_mode in
14621  :F)
14622  #
14623  # CONFIG_FILE
14624  #
14625
14626  case $INSTALL in
14627  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14628  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14629  esac
14630  ac_MKDIR_P=$MKDIR_P
14631  case $MKDIR_P in
14632  [\\/$]* | ?:[\\/]* ) ;;
14633  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14634  esac
14635_ACEOF
14636
14637cat >>$CONFIG_STATUS <<\_ACEOF
14638# If the template does not know about datarootdir, expand it.
14639# FIXME: This hack should be removed a few years after 2.60.
14640ac_datarootdir_hack=; ac_datarootdir_seen=
14641
14642case `sed -n '/datarootdir/ {
14643  p
14644  q
14645}
14646/@datadir@/p
14647/@docdir@/p
14648/@infodir@/p
14649/@localedir@/p
14650/@mandir@/p
14651' $ac_file_inputs` in
14652*datarootdir*) ac_datarootdir_seen=yes;;
14653*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14654  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14655echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14656_ACEOF
14657cat >>$CONFIG_STATUS <<_ACEOF
14658  ac_datarootdir_hack='
14659  s&@datadir@&$datadir&g
14660  s&@docdir@&$docdir&g
14661  s&@infodir@&$infodir&g
14662  s&@localedir@&$localedir&g
14663  s&@mandir@&$mandir&g
14664    s&\\\${datarootdir}&$datarootdir&g' ;;
14665esac
14666_ACEOF
14667
14668# Neutralize VPATH when `$srcdir' = `.'.
14669# Shell code in configure.ac might set extrasub.
14670# FIXME: do we really want to maintain this feature?
14671cat >>$CONFIG_STATUS <<_ACEOF
14672  sed "$ac_vpsub
14673$extrasub
14674_ACEOF
14675cat >>$CONFIG_STATUS <<\_ACEOF
14676:t
14677/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14678s&@configure_input@&$configure_input&;t t
14679s&@top_builddir@&$ac_top_builddir_sub&;t t
14680s&@srcdir@&$ac_srcdir&;t t
14681s&@abs_srcdir@&$ac_abs_srcdir&;t t
14682s&@top_srcdir@&$ac_top_srcdir&;t t
14683s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14684s&@builddir@&$ac_builddir&;t t
14685s&@abs_builddir@&$ac_abs_builddir&;t t
14686s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14687s&@INSTALL@&$ac_INSTALL&;t t
14688s&@MKDIR_P@&$ac_MKDIR_P&;t t
14689$ac_datarootdir_hack
14690" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14691
14692test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14693  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14694  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14695  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14696which seems to be undefined.  Please make sure it is defined." >&5
14697echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14698which seems to be undefined.  Please make sure it is defined." >&2;}
14699
14700  rm -f "$tmp/stdin"
14701  case $ac_file in
14702  -) cat "$tmp/out"; rm -f "$tmp/out";;
14703  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14704  esac
14705 ;;
14706  :H)
14707  #
14708  # CONFIG_HEADER
14709  #
14710_ACEOF
14711
14712# Transform confdefs.h into a sed script `conftest.defines', that
14713# substitutes the proper values into config.h.in to produce config.h.
14714rm -f conftest.defines conftest.tail
14715# First, append a space to every undef/define line, to ease matching.
14716echo 's/$/ /' >conftest.defines
14717# Then, protect against being on the right side of a sed subst, or in
14718# an unquoted here document, in config.status.  If some macros were
14719# called several times there might be several #defines for the same
14720# symbol, which is useless.  But do not sort them, since the last
14721# AC_DEFINE must be honored.
14722ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14723# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
14724# NAME is the cpp macro being defined, VALUE is the value it is being given.
14725# PARAMS is the parameter list in the macro definition--in most cases, it's
14726# just an empty string.
14727ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
14728ac_dB='\\)[	 (].*,\\1define\\2'
14729ac_dC=' '
14730ac_dD=' ,'
14731
14732uniq confdefs.h |
14733  sed -n '
14734	t rset
14735	:rset
14736	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
14737	t ok
14738	d
14739	:ok
14740	s/[\\&,]/\\&/g
14741	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
14742	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
14743  ' >>conftest.defines
14744
14745# Remove the space that was appended to ease matching.
14746# Then replace #undef with comments.  This is necessary, for
14747# example, in the case of _POSIX_SOURCE, which is predefined and required
14748# on some systems where configure will not decide to define it.
14749# (The regexp can be short, since the line contains either #define or #undef.)
14750echo 's/ $//
14751s,^[	 #]*u.*,/* & */,' >>conftest.defines
14752
14753# Break up conftest.defines:
14754ac_max_sed_lines=50
14755
14756# First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
14757# Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
14758# Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
14759# et cetera.
14760ac_in='$ac_file_inputs'
14761ac_out='"$tmp/out1"'
14762ac_nxt='"$tmp/out2"'
14763
14764while :
14765do
14766  # Write a here document:
14767    cat >>$CONFIG_STATUS <<_ACEOF
14768    # First, check the format of the line:
14769    cat >"\$tmp/defines.sed" <<\\CEOF
14770/^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
14771/^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
14772b
14773:def
14774_ACEOF
14775  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
14776  echo 'CEOF
14777    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
14778  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
14779  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
14780  grep . conftest.tail >/dev/null || break
14781  rm -f conftest.defines
14782  mv conftest.tail conftest.defines
14783done
14784rm -f conftest.defines conftest.tail
14785
14786echo "ac_result=$ac_in" >>$CONFIG_STATUS
14787cat >>$CONFIG_STATUS <<\_ACEOF
14788  if test x"$ac_file" != x-; then
14789    echo "/* $configure_input  */" >"$tmp/config.h"
14790    cat "$ac_result" >>"$tmp/config.h"
14791    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
14792      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14793echo "$as_me: $ac_file is unchanged" >&6;}
14794    else
14795      rm -f $ac_file
14796      mv "$tmp/config.h" $ac_file
14797    fi
14798  else
14799    echo "/* $configure_input  */"
14800    cat "$ac_result"
14801  fi
14802  rm -f "$tmp/out12"
14803# Compute $ac_file's index in $config_headers.
14804_am_arg=$ac_file
14805_am_stamp_count=1
14806for _am_header in $config_headers :; do
14807  case $_am_header in
14808    $_am_arg | $_am_arg:* )
14809      break ;;
14810    * )
14811      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14812  esac
14813done
14814echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14815$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14816	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14817	 X"$_am_arg" : 'X\(//\)$' \| \
14818	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14819echo X"$_am_arg" |
14820    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14821	    s//\1/
14822	    q
14823	  }
14824	  /^X\(\/\/\)[^/].*/{
14825	    s//\1/
14826	    q
14827	  }
14828	  /^X\(\/\/\)$/{
14829	    s//\1/
14830	    q
14831	  }
14832	  /^X\(\/\).*/{
14833	    s//\1/
14834	    q
14835	  }
14836	  s/.*/./; q'`/stamp-h$_am_stamp_count
14837 ;;
14838
14839  :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
14840echo "$as_me: executing $ac_file commands" >&6;}
14841 ;;
14842  esac
14843
14844
14845  case $ac_file$ac_mode in
14846    "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
14847# are listed without --file.  Let's play safe and only enable the eval
14848# if we detect the quoting.
14849case $CONFIG_FILES in
14850*\'*) eval set x "$CONFIG_FILES" ;;
14851*)   set x $CONFIG_FILES ;;
14852esac
14853shift
14854for mf
14855do
14856  # Strip MF so we end up with the name of the file.
14857  mf=`echo "$mf" | sed -e 's/:.*$//'`
14858  # Check whether this is an Automake generated Makefile or not.
14859  # We used to match only the files named `Makefile.in', but
14860  # some people rename them; so instead we look at the file content.
14861  # Grep'ing the first line is not enough: some people post-process
14862  # each Makefile.in and add a new line on top of each file to say so.
14863  # Grep'ing the whole file is not good either: AIX grep has a line
14864  # limit of 2048, but all sed's we know have understand at least 4000.
14865  if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14866    dirpart=`$as_dirname -- "$mf" ||
14867$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14868	 X"$mf" : 'X\(//\)[^/]' \| \
14869	 X"$mf" : 'X\(//\)$' \| \
14870	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14871echo X"$mf" |
14872    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14873	    s//\1/
14874	    q
14875	  }
14876	  /^X\(\/\/\)[^/].*/{
14877	    s//\1/
14878	    q
14879	  }
14880	  /^X\(\/\/\)$/{
14881	    s//\1/
14882	    q
14883	  }
14884	  /^X\(\/\).*/{
14885	    s//\1/
14886	    q
14887	  }
14888	  s/.*/./; q'`
14889  else
14890    continue
14891  fi
14892  # Extract the definition of DEPDIR, am__include, and am__quote
14893  # from the Makefile without running `make'.
14894  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14895  test -z "$DEPDIR" && continue
14896  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14897  test -z "am__include" && continue
14898  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14899  # When using ansi2knr, U may be empty or an underscore; expand it
14900  U=`sed -n 's/^U = //p' < "$mf"`
14901  # Find all dependency output files, they are included files with
14902  # $(DEPDIR) in their names.  We invoke sed twice because it is the
14903  # simplest approach to changing $(DEPDIR) to its actual value in the
14904  # expansion.
14905  for file in `sed -n "
14906    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14907       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14908    # Make sure the directory exists.
14909    test -f "$dirpart/$file" && continue
14910    fdir=`$as_dirname -- "$file" ||
14911$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14912	 X"$file" : 'X\(//\)[^/]' \| \
14913	 X"$file" : 'X\(//\)$' \| \
14914	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14915echo X"$file" |
14916    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14917	    s//\1/
14918	    q
14919	  }
14920	  /^X\(\/\/\)[^/].*/{
14921	    s//\1/
14922	    q
14923	  }
14924	  /^X\(\/\/\)$/{
14925	    s//\1/
14926	    q
14927	  }
14928	  /^X\(\/\).*/{
14929	    s//\1/
14930	    q
14931	  }
14932	  s/.*/./; q'`
14933    { as_dir=$dirpart/$fdir
14934  case $as_dir in #(
14935  -*) as_dir=./$as_dir;;
14936  esac
14937  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
14938    as_dirs=
14939    while :; do
14940      case $as_dir in #(
14941      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
14942      *) as_qdir=$as_dir;;
14943      esac
14944      as_dirs="'$as_qdir' $as_dirs"
14945      as_dir=`$as_dirname -- "$as_dir" ||
14946$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14947	 X"$as_dir" : 'X\(//\)[^/]' \| \
14948	 X"$as_dir" : 'X\(//\)$' \| \
14949	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14950echo X"$as_dir" |
14951    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14952	    s//\1/
14953	    q
14954	  }
14955	  /^X\(\/\/\)[^/].*/{
14956	    s//\1/
14957	    q
14958	  }
14959	  /^X\(\/\/\)$/{
14960	    s//\1/
14961	    q
14962	  }
14963	  /^X\(\/\).*/{
14964	    s//\1/
14965	    q
14966	  }
14967	  s/.*/./; q'`
14968      test -d "$as_dir" && break
14969    done
14970    test -z "$as_dirs" || eval "mkdir $as_dirs"
14971  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
14972echo "$as_me: error: cannot create directory $as_dir" >&2;}
14973   { (exit 1); exit 1; }; }; }
14974    # echo "creating $dirpart/$file"
14975    echo '# dummy' > "$dirpart/$file"
14976  done
14977done
14978 ;;
14979    "libtool":C)
14980
14981    # See if we are running on zsh, and set the options which allow our
14982    # commands through without removal of \ escapes.
14983    if test -n "${ZSH_VERSION+set}" ; then
14984      setopt NO_GLOB_SUBST
14985    fi
14986
14987    cfgfile="${ofile}T"
14988    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14989    $RM "$cfgfile"
14990
14991    cat <<_LT_EOF >> "$cfgfile"
14992#! $SHELL
14993
14994# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14995# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14996# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14997# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14998#
14999#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
15000#                 2006, 2007, 2008 Free Software Foundation, Inc.
15001#   Written by Gordon Matzigkeit, 1996
15002#
15003#   This file is part of GNU Libtool.
15004#
15005# GNU Libtool is free software; you can redistribute it and/or
15006# modify it under the terms of the GNU General Public License as
15007# published by the Free Software Foundation; either version 2 of
15008# the License, or (at your option) any later version.
15009#
15010# As a special exception to the GNU General Public License,
15011# if you distribute this file as part of a program or library that
15012# is built using GNU Libtool, you may include this file under the
15013# same distribution terms that you use for the rest of that program.
15014#
15015# GNU Libtool is distributed in the hope that it will be useful,
15016# but WITHOUT ANY WARRANTY; without even the implied warranty of
15017# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15018# GNU General Public License for more details.
15019#
15020# You should have received a copy of the GNU General Public License
15021# along with GNU Libtool; see the file COPYING.  If not, a copy
15022# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
15023# obtained by writing to the Free Software Foundation, Inc.,
15024# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15025
15026
15027# The names of the tagged configurations supported by this script.
15028available_tags=""
15029
15030# ### BEGIN LIBTOOL CONFIG
15031
15032# Assembler program.
15033AS=$AS
15034
15035# DLL creation program.
15036DLLTOOL=$DLLTOOL
15037
15038# Object dumper program.
15039OBJDUMP=$OBJDUMP
15040
15041# Which release of libtool.m4 was used?
15042macro_version=$macro_version
15043macro_revision=$macro_revision
15044
15045# Whether or not to build shared libraries.
15046build_libtool_libs=$enable_shared
15047
15048# Whether or not to build static libraries.
15049build_old_libs=$enable_static
15050
15051# What type of objects to build.
15052pic_mode=$pic_mode
15053
15054# Whether or not to optimize for fast installation.
15055fast_install=$enable_fast_install
15056
15057# The host system.
15058host_alias=$host_alias
15059host=$host
15060host_os=$host_os
15061
15062# The build system.
15063build_alias=$build_alias
15064build=$build
15065build_os=$build_os
15066
15067# A sed program that does not truncate output.
15068SED=$lt_SED
15069
15070# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15071Xsed="\$SED -e 1s/^X//"
15072
15073# A grep program that handles long lines.
15074GREP=$lt_GREP
15075
15076# An ERE matcher.
15077EGREP=$lt_EGREP
15078
15079# A literal string matcher.
15080FGREP=$lt_FGREP
15081
15082# A BSD- or MS-compatible name lister.
15083NM=$lt_NM
15084
15085# Whether we need soft or hard links.
15086LN_S=$lt_LN_S
15087
15088# What is the maximum length of a command?
15089max_cmd_len=$max_cmd_len
15090
15091# Object file suffix (normally "o").
15092objext=$ac_objext
15093
15094# Executable file suffix (normally "").
15095exeext=$exeext
15096
15097# whether the shell understands "unset".
15098lt_unset=$lt_unset
15099
15100# turn spaces into newlines.
15101SP2NL=$lt_lt_SP2NL
15102
15103# turn newlines into spaces.
15104NL2SP=$lt_lt_NL2SP
15105
15106# How to create reloadable object files.
15107reload_flag=$lt_reload_flag
15108reload_cmds=$lt_reload_cmds
15109
15110# Method to check whether dependent libraries are shared objects.
15111deplibs_check_method=$lt_deplibs_check_method
15112
15113# Command to use when deplibs_check_method == "file_magic".
15114file_magic_cmd=$lt_file_magic_cmd
15115
15116# The archiver.
15117AR=$lt_AR
15118AR_FLAGS=$lt_AR_FLAGS
15119
15120# A symbol stripping program.
15121STRIP=$lt_STRIP
15122
15123# Commands used to install an old-style archive.
15124RANLIB=$lt_RANLIB
15125old_postinstall_cmds=$lt_old_postinstall_cmds
15126old_postuninstall_cmds=$lt_old_postuninstall_cmds
15127
15128# A C compiler.
15129LTCC=$lt_CC
15130
15131# LTCC compiler flags.
15132LTCFLAGS=$lt_CFLAGS
15133
15134# Take the output of nm and produce a listing of raw symbols and C names.
15135global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15136
15137# Transform the output of nm in a proper C declaration.
15138global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15139
15140# Transform the output of nm in a C name address pair.
15141global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15142
15143# Transform the output of nm in a C name address pair when lib prefix is needed.
15144global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15145
15146# The name of the directory that contains temporary libtool files.
15147objdir=$objdir
15148
15149# Shell to use when invoking shell scripts.
15150SHELL=$lt_SHELL
15151
15152# An echo program that does not interpret backslashes.
15153ECHO=$lt_ECHO
15154
15155# Used to examine libraries when file_magic_cmd begins with "file".
15156MAGIC_CMD=$MAGIC_CMD
15157
15158# Must we lock files when doing compilation?
15159need_locks=$lt_need_locks
15160
15161# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15162DSYMUTIL=$lt_DSYMUTIL
15163
15164# Tool to change global to local symbols on Mac OS X.
15165NMEDIT=$lt_NMEDIT
15166
15167# Tool to manipulate fat objects and archives on Mac OS X.
15168LIPO=$lt_LIPO
15169
15170# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15171OTOOL=$lt_OTOOL
15172
15173# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15174OTOOL64=$lt_OTOOL64
15175
15176# Old archive suffix (normally "a").
15177libext=$libext
15178
15179# Shared library suffix (normally ".so").
15180shrext_cmds=$lt_shrext_cmds
15181
15182# The commands to extract the exported symbol list from a shared archive.
15183extract_expsyms_cmds=$lt_extract_expsyms_cmds
15184
15185# Variables whose values should be saved in libtool wrapper scripts and
15186# restored at link time.
15187variables_saved_for_relink=$lt_variables_saved_for_relink
15188
15189# Do we need the "lib" prefix for modules?
15190need_lib_prefix=$need_lib_prefix
15191
15192# Do we need a version for libraries?
15193need_version=$need_version
15194
15195# Library versioning type.
15196version_type=$version_type
15197
15198# Shared library runtime path variable.
15199runpath_var=$runpath_var
15200
15201# Shared library path variable.
15202shlibpath_var=$shlibpath_var
15203
15204# Is shlibpath searched before the hard-coded library search path?
15205shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15206
15207# Format of library name prefix.
15208libname_spec=$lt_libname_spec
15209
15210# List of archive names.  First name is the real one, the rest are links.
15211# The last name is the one that the linker finds with -lNAME
15212library_names_spec=$lt_library_names_spec
15213
15214# The coded name of the library, if different from the real name.
15215soname_spec=$lt_soname_spec
15216
15217# Command to use after installation of a shared archive.
15218postinstall_cmds=$lt_postinstall_cmds
15219
15220# Command to use after uninstallation of a shared archive.
15221postuninstall_cmds=$lt_postuninstall_cmds
15222
15223# Commands used to finish a libtool library installation in a directory.
15224finish_cmds=$lt_finish_cmds
15225
15226# As "finish_cmds", except a single script fragment to be evaled but
15227# not shown.
15228finish_eval=$lt_finish_eval
15229
15230# Whether we should hardcode library paths into libraries.
15231hardcode_into_libs=$hardcode_into_libs
15232
15233# Compile-time system search path for libraries.
15234sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15235
15236# Run-time system search path for libraries.
15237sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15238
15239# Whether dlopen is supported.
15240dlopen_support=$enable_dlopen
15241
15242# Whether dlopen of programs is supported.
15243dlopen_self=$enable_dlopen_self
15244
15245# Whether dlopen of statically linked programs is supported.
15246dlopen_self_static=$enable_dlopen_self_static
15247
15248# Commands to strip libraries.
15249old_striplib=$lt_old_striplib
15250striplib=$lt_striplib
15251
15252
15253# The linker used to build libraries.
15254LD=$lt_LD
15255
15256# Commands used to build an old-style archive.
15257old_archive_cmds=$lt_old_archive_cmds
15258
15259# A language specific compiler.
15260CC=$lt_compiler
15261
15262# Is the compiler the GNU compiler?
15263with_gcc=$GCC
15264
15265# Compiler flag to turn off builtin functions.
15266no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15267
15268# How to pass a linker flag through the compiler.
15269wl=$lt_lt_prog_compiler_wl
15270
15271# Additional compiler flags for building library objects.
15272pic_flag=$lt_lt_prog_compiler_pic
15273
15274# Compiler flag to prevent dynamic linking.
15275link_static_flag=$lt_lt_prog_compiler_static
15276
15277# Does compiler simultaneously support -c and -o options?
15278compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15279
15280# Whether or not to add -lc for building shared libraries.
15281build_libtool_need_lc=$archive_cmds_need_lc
15282
15283# Whether or not to disallow shared libs when runtime libs are static.
15284allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15285
15286# Compiler flag to allow reflexive dlopens.
15287export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15288
15289# Compiler flag to generate shared objects directly from archives.
15290whole_archive_flag_spec=$lt_whole_archive_flag_spec
15291
15292# Whether the compiler copes with passing no objects directly.
15293compiler_needs_object=$lt_compiler_needs_object
15294
15295# Create an old-style archive from a shared archive.
15296old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15297
15298# Create a temporary old-style archive to link instead of a shared archive.
15299old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15300
15301# Commands used to build a shared archive.
15302archive_cmds=$lt_archive_cmds
15303archive_expsym_cmds=$lt_archive_expsym_cmds
15304
15305# Commands used to build a loadable module if different from building
15306# a shared archive.
15307module_cmds=$lt_module_cmds
15308module_expsym_cmds=$lt_module_expsym_cmds
15309
15310# Whether we are building with GNU ld or not.
15311with_gnu_ld=$lt_with_gnu_ld
15312
15313# Flag that allows shared libraries with undefined symbols to be built.
15314allow_undefined_flag=$lt_allow_undefined_flag
15315
15316# Flag that enforces no undefined symbols.
15317no_undefined_flag=$lt_no_undefined_flag
15318
15319# Flag to hardcode \$libdir into a binary during linking.
15320# This must work even if \$libdir does not exist
15321hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15322
15323# If ld is used when linking, flag to hardcode \$libdir into a binary
15324# during linking.  This must work even if \$libdir does not exist.
15325hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
15326
15327# Whether we need a single "-rpath" flag with a separated argument.
15328hardcode_libdir_separator=$lt_hardcode_libdir_separator
15329
15330# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15331# DIR into the resulting binary.
15332hardcode_direct=$hardcode_direct
15333
15334# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
15335# DIR into the resulting binary and the resulting library dependency is
15336# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
15337# library is relocated.
15338hardcode_direct_absolute=$hardcode_direct_absolute
15339
15340# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15341# into the resulting binary.
15342hardcode_minus_L=$hardcode_minus_L
15343
15344# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15345# into the resulting binary.
15346hardcode_shlibpath_var=$hardcode_shlibpath_var
15347
15348# Set to "yes" if building a shared library automatically hardcodes DIR
15349# into the library and all subsequent libraries and executables linked
15350# against it.
15351hardcode_automatic=$hardcode_automatic
15352
15353# Set to yes if linker adds runtime paths of dependent libraries
15354# to runtime path list.
15355inherit_rpath=$inherit_rpath
15356
15357# Whether libtool must link a program against all its dependency libraries.
15358link_all_deplibs=$link_all_deplibs
15359
15360# Fix the shell variable \$srcfile for the compiler.
15361fix_srcfile_path=$lt_fix_srcfile_path
15362
15363# Set to "yes" if exported symbols are required.
15364always_export_symbols=$always_export_symbols
15365
15366# The commands to list exported symbols.
15367export_symbols_cmds=$lt_export_symbols_cmds
15368
15369# Symbols that should not be listed in the preloaded symbols.
15370exclude_expsyms=$lt_exclude_expsyms
15371
15372# Symbols that must always be exported.
15373include_expsyms=$lt_include_expsyms
15374
15375# Commands necessary for linking programs (against libraries) with templates.
15376prelink_cmds=$lt_prelink_cmds
15377
15378# Specify filename containing input files.
15379file_list_spec=$lt_file_list_spec
15380
15381# How to hardcode a shared library path into an executable.
15382hardcode_action=$hardcode_action
15383
15384# ### END LIBTOOL CONFIG
15385
15386_LT_EOF
15387
15388  case $host_os in
15389  aix3*)
15390    cat <<\_LT_EOF >> "$cfgfile"
15391# AIX sometimes has problems with the GCC collect2 program.  For some
15392# reason, if we set the COLLECT_NAMES environment variable, the problems
15393# vanish in a puff of smoke.
15394if test "X${COLLECT_NAMES+set}" != Xset; then
15395  COLLECT_NAMES=
15396  export COLLECT_NAMES
15397fi
15398_LT_EOF
15399    ;;
15400  esac
15401
15402
15403ltmain="$ac_aux_dir/ltmain.sh"
15404
15405
15406  # We use sed instead of cat because bash on DJGPP gets confused if
15407  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15408  # text mode, it properly converts lines to CR/LF.  This bash problem
15409  # is reportedly fixed, but why not run on old versions too?
15410  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
15411    || (rm -f "$cfgfile"; exit 1)
15412
15413  case $xsi_shell in
15414  yes)
15415    cat << \_LT_EOF >> "$cfgfile"
15416
15417# func_dirname file append nondir_replacement
15418# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15419# otherwise set result to NONDIR_REPLACEMENT.
15420func_dirname ()
15421{
15422  case ${1} in
15423    */*) func_dirname_result="${1%/*}${2}" ;;
15424    *  ) func_dirname_result="${3}" ;;
15425  esac
15426}
15427
15428# func_basename file
15429func_basename ()
15430{
15431  func_basename_result="${1##*/}"
15432}
15433
15434# func_dirname_and_basename file append nondir_replacement
15435# perform func_basename and func_dirname in a single function
15436# call:
15437#   dirname:  Compute the dirname of FILE.  If nonempty,
15438#             add APPEND to the result, otherwise set result
15439#             to NONDIR_REPLACEMENT.
15440#             value returned in "$func_dirname_result"
15441#   basename: Compute filename of FILE.
15442#             value retuned in "$func_basename_result"
15443# Implementation must be kept synchronized with func_dirname
15444# and func_basename. For efficiency, we do not delegate to
15445# those functions but instead duplicate the functionality here.
15446func_dirname_and_basename ()
15447{
15448  case ${1} in
15449    */*) func_dirname_result="${1%/*}${2}" ;;
15450    *  ) func_dirname_result="${3}" ;;
15451  esac
15452  func_basename_result="${1##*/}"
15453}
15454
15455# func_stripname prefix suffix name
15456# strip PREFIX and SUFFIX off of NAME.
15457# PREFIX and SUFFIX must not contain globbing or regex special
15458# characters, hashes, percent signs, but SUFFIX may contain a leading
15459# dot (in which case that matches only a dot).
15460func_stripname ()
15461{
15462  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
15463  # positional parameters, so assign one to ordinary parameter first.
15464  func_stripname_result=${3}
15465  func_stripname_result=${func_stripname_result#"${1}"}
15466  func_stripname_result=${func_stripname_result%"${2}"}
15467}
15468
15469# func_opt_split
15470func_opt_split ()
15471{
15472  func_opt_split_opt=${1%%=*}
15473  func_opt_split_arg=${1#*=}
15474}
15475
15476# func_lo2o object
15477func_lo2o ()
15478{
15479  case ${1} in
15480    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
15481    *)    func_lo2o_result=${1} ;;
15482  esac
15483}
15484
15485# func_xform libobj-or-source
15486func_xform ()
15487{
15488  func_xform_result=${1%.*}.lo
15489}
15490
15491# func_arith arithmetic-term...
15492func_arith ()
15493{
15494  func_arith_result=$(( $* ))
15495}
15496
15497# func_len string
15498# STRING may not start with a hyphen.
15499func_len ()
15500{
15501  func_len_result=${#1}
15502}
15503
15504_LT_EOF
15505    ;;
15506  *) # Bourne compatible functions.
15507    cat << \_LT_EOF >> "$cfgfile"
15508
15509# func_dirname file append nondir_replacement
15510# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
15511# otherwise set result to NONDIR_REPLACEMENT.
15512func_dirname ()
15513{
15514  # Extract subdirectory from the argument.
15515  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
15516  if test "X$func_dirname_result" = "X${1}"; then
15517    func_dirname_result="${3}"
15518  else
15519    func_dirname_result="$func_dirname_result${2}"
15520  fi
15521}
15522
15523# func_basename file
15524func_basename ()
15525{
15526  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
15527}
15528
15529
15530# func_stripname prefix suffix name
15531# strip PREFIX and SUFFIX off of NAME.
15532# PREFIX and SUFFIX must not contain globbing or regex special
15533# characters, hashes, percent signs, but SUFFIX may contain a leading
15534# dot (in which case that matches only a dot).
15535# func_strip_suffix prefix name
15536func_stripname ()
15537{
15538  case ${2} in
15539    .*) func_stripname_result=`$ECHO "X${3}" \
15540           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
15541    *)  func_stripname_result=`$ECHO "X${3}" \
15542           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
15543  esac
15544}
15545
15546# sed scripts:
15547my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
15548my_sed_long_arg='1s/^-[^=]*=//'
15549
15550# func_opt_split
15551func_opt_split ()
15552{
15553  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
15554  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
15555}
15556
15557# func_lo2o object
15558func_lo2o ()
15559{
15560  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
15561}
15562
15563# func_xform libobj-or-source
15564func_xform ()
15565{
15566  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
15567}
15568
15569# func_arith arithmetic-term...
15570func_arith ()
15571{
15572  func_arith_result=`expr "$@"`
15573}
15574
15575# func_len string
15576# STRING may not start with a hyphen.
15577func_len ()
15578{
15579  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
15580}
15581
15582_LT_EOF
15583esac
15584
15585case $lt_shell_append in
15586  yes)
15587    cat << \_LT_EOF >> "$cfgfile"
15588
15589# func_append var value
15590# Append VALUE to the end of shell variable VAR.
15591func_append ()
15592{
15593  eval "$1+=\$2"
15594}
15595_LT_EOF
15596    ;;
15597  *)
15598    cat << \_LT_EOF >> "$cfgfile"
15599
15600# func_append var value
15601# Append VALUE to the end of shell variable VAR.
15602func_append ()
15603{
15604  eval "$1=\$$1\$2"
15605}
15606
15607_LT_EOF
15608    ;;
15609  esac
15610
15611
15612  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
15613    || (rm -f "$cfgfile"; exit 1)
15614
15615  mv -f "$cfgfile" "$ofile" ||
15616    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15617  chmod +x "$ofile"
15618
15619 ;;
15620
15621  esac
15622done # for ac_tag
15623
15624
15625{ (exit 0); exit 0; }
15626_ACEOF
15627chmod +x $CONFIG_STATUS
15628ac_clean_files=$ac_clean_files_save
15629
15630
15631# configure is writing to config.log, and then calls config.status.
15632# config.status does its own redirection, appending to config.log.
15633# Unfortunately, on DOS this fails, as config.log is still kept open
15634# by configure, so config.status won't be able to write to it; its
15635# output is simply discarded.  So we exec the FD to /dev/null,
15636# effectively closing config.log, so it can be properly (re)opened and
15637# appended to by config.status.  When coming back to configure, we
15638# need to make the FD available again.
15639if test "$no_create" != yes; then
15640  ac_cs_success=:
15641  ac_config_status_args=
15642  test "$silent" = yes &&
15643    ac_config_status_args="$ac_config_status_args --quiet"
15644  exec 5>/dev/null
15645  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15646  exec 5>>config.log
15647  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15648  # would make configure fail if this is the last instruction.
15649  $ac_cs_success || { (exit 1); exit 1; }
15650fi
15651
15652