1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.61 for libbpm 0.3.
4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7# This configure script is free software; the Free Software Foundation
8# gives unlimited permission to copy, distribute and modify it.
9## --------------------- ##
10## M4sh Initialization.  ##
11## --------------------- ##
12
13# Be more Bourne compatible
14DUALCASE=1; export DUALCASE # for MKS sh
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16  emulate sh
17  NULLCMD=:
18  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19  # is contrary to our usage.  Disable this feature.
20  alias -g '${1+"$@"}'='"$@"'
21  setopt NO_GLOB_SUBST
22else
23  case `(set -o) 2>/dev/null` in
24  *posix*) set -o posix ;;
25esac
26
27fi
28
29
30
31
32# PATH needs CR
33# Avoid depending upon Character Ranges.
34as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37as_cr_digits='0123456789'
38as_cr_alnum=$as_cr_Letters$as_cr_digits
39
40# The user is always right.
41if test "${PATH_SEPARATOR+set}" != set; then
42  echo "#! /bin/sh" >conf$$.sh
43  echo  "exit 0"   >>conf$$.sh
44  chmod +x conf$$.sh
45  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
46    PATH_SEPARATOR=';'
47  else
48    PATH_SEPARATOR=:
49  fi
50  rm -f conf$$.sh
51fi
52
53# Support unset when possible.
54if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
55  as_unset=unset
56else
57  as_unset=false
58fi
59
60
61# IFS
62# We need space, tab and new line, in precisely that order.  Quoting is
63# there to prevent editors from complaining about space-tab.
64# (If _AS_PATH_WALK were called with IFS unset, it would disable word
65# splitting by setting IFS to empty value.)
66as_nl='
67'
68IFS=" ""	$as_nl"
69
70# Find who we are.  Look in the path if we contain no directory separator.
71case $0 in
72  *[\\/]* ) as_myself=$0 ;;
73  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH
75do
76  IFS=$as_save_IFS
77  test -z "$as_dir" && as_dir=.
78  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done
80IFS=$as_save_IFS
81
82     ;;
83esac
84# We did not find ourselves, most probably we were run as `sh COMMAND'
85# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then
87  as_myself=$0
88fi
89if test ! -f "$as_myself"; then
90  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91  { (exit 1); exit 1; }
92fi
93
94# Work around bugs in pre-3.0 UWIN ksh.
95for as_var in ENV MAIL MAILPATH
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
97done
98PS1='$ '
99PS2='> '
100PS4='+ '
101
102# NLS nuisances.
103for as_var in \
104  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106  LC_TELEPHONE LC_TIME
107do
108  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109    eval $as_var=C; export $as_var
110  else
111    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
112  fi
113done
114
115# Required to use basename.
116if expr a : '\(a\)' >/dev/null 2>&1 &&
117   test "X`expr 00001 : '.*\(...\)'`" = X001; then
118  as_expr=expr
119else
120  as_expr=false
121fi
122
123if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
124  as_basename=basename
125else
126  as_basename=false
127fi
128
129
130# Name of the executable.
131as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133	 X"$0" : 'X\(//\)$' \| \
134	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" |
136    sed '/^.*\/\([^/][^/]*\)\/*$/{
137	    s//\1/
138	    q
139	  }
140	  /^X\/\(\/\/\)$/{
141	    s//\1/
142	    q
143	  }
144	  /^X\/\(\/\).*/{
145	    s//\1/
146	    q
147	  }
148	  s/.*/./; q'`
149
150# CDPATH.
151$as_unset CDPATH
152
153
154if test "x$CONFIG_SHELL" = x; then
155  if (eval ":") 2>/dev/null; then
156  as_have_required=yes
157else
158  as_have_required=no
159fi
160
161  if test $as_have_required = yes && 	 (eval ":
162(as_func_return () {
163  (exit \$1)
164}
165as_func_success () {
166  as_func_return 0
167}
168as_func_failure () {
169  as_func_return 1
170}
171as_func_ret_success () {
172  return 0
173}
174as_func_ret_failure () {
175  return 1
176}
177
178exitcode=0
179if as_func_success; then
180  :
181else
182  exitcode=1
183  echo as_func_success failed.
184fi
185
186if as_func_failure; then
187  exitcode=1
188  echo as_func_failure succeeded.
189fi
190
191if as_func_ret_success; then
192  :
193else
194  exitcode=1
195  echo as_func_ret_success failed.
196fi
197
198if as_func_ret_failure; then
199  exitcode=1
200  echo as_func_ret_failure succeeded.
201fi
202
203if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
204  :
205else
206  exitcode=1
207  echo positional parameters were not saved.
208fi
209
210test \$exitcode = 0) || { (exit 1); exit 1; }
211
212(
213  as_lineno_1=\$LINENO
214  as_lineno_2=\$LINENO
215  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217") 2> /dev/null; then
218  :
219else
220  as_candidate_shells=
221    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223do
224  IFS=$as_save_IFS
225  test -z "$as_dir" && as_dir=.
226  case $as_dir in
227	 /*)
228	   for as_base in sh bash ksh sh5; do
229	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
230	   done;;
231       esac
232done
233IFS=$as_save_IFS
234
235
236      for as_shell in $as_candidate_shells $SHELL; do
237	 # Try only shells that exist, to save several forks.
238	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239		{ ("$as_shell") 2> /dev/null <<\_ASEOF
240if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
241  emulate sh
242  NULLCMD=:
243  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244  # is contrary to our usage.  Disable this feature.
245  alias -g '${1+"$@"}'='"$@"'
246  setopt NO_GLOB_SUBST
247else
248  case `(set -o) 2>/dev/null` in
249  *posix*) set -o posix ;;
250esac
251
252fi
253
254
255:
256_ASEOF
257}; then
258  CONFIG_SHELL=$as_shell
259	       as_have_required=yes
260	       if { "$as_shell" 2> /dev/null <<\_ASEOF
261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262  emulate sh
263  NULLCMD=:
264  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265  # is contrary to our usage.  Disable this feature.
266  alias -g '${1+"$@"}'='"$@"'
267  setopt NO_GLOB_SUBST
268else
269  case `(set -o) 2>/dev/null` in
270  *posix*) set -o posix ;;
271esac
272
273fi
274
275
276:
277(as_func_return () {
278  (exit $1)
279}
280as_func_success () {
281  as_func_return 0
282}
283as_func_failure () {
284  as_func_return 1
285}
286as_func_ret_success () {
287  return 0
288}
289as_func_ret_failure () {
290  return 1
291}
292
293exitcode=0
294if as_func_success; then
295  :
296else
297  exitcode=1
298  echo as_func_success failed.
299fi
300
301if as_func_failure; then
302  exitcode=1
303  echo as_func_failure succeeded.
304fi
305
306if as_func_ret_success; then
307  :
308else
309  exitcode=1
310  echo as_func_ret_success failed.
311fi
312
313if as_func_ret_failure; then
314  exitcode=1
315  echo as_func_ret_failure succeeded.
316fi
317
318if ( set x; as_func_ret_success y && test x = "$1" ); then
319  :
320else
321  exitcode=1
322  echo positional parameters were not saved.
323fi
324
325test $exitcode = 0) || { (exit 1); exit 1; }
326
327(
328  as_lineno_1=$LINENO
329  as_lineno_2=$LINENO
330  test "x$as_lineno_1" != "x$as_lineno_2" &&
331  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
332
333_ASEOF
334}; then
335  break
336fi
337
338fi
339
340      done
341
342      if test "x$CONFIG_SHELL" != x; then
343  for as_var in BASH_ENV ENV
344        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
345        done
346        export CONFIG_SHELL
347        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
348fi
349
350
351    if test $as_have_required = no; then
352  echo This script requires a shell more modern than all the
353      echo shells that I found on your system.  Please install a
354      echo modern shell, or manually run the script under such a
355      echo shell if you do have one.
356      { (exit 1); exit 1; }
357fi
358
359
360fi
361
362fi
363
364
365
366(eval "as_func_return () {
367  (exit \$1)
368}
369as_func_success () {
370  as_func_return 0
371}
372as_func_failure () {
373  as_func_return 1
374}
375as_func_ret_success () {
376  return 0
377}
378as_func_ret_failure () {
379  return 1
380}
381
382exitcode=0
383if as_func_success; then
384  :
385else
386  exitcode=1
387  echo as_func_success failed.
388fi
389
390if as_func_failure; then
391  exitcode=1
392  echo as_func_failure succeeded.
393fi
394
395if as_func_ret_success; then
396  :
397else
398  exitcode=1
399  echo as_func_ret_success failed.
400fi
401
402if as_func_ret_failure; then
403  exitcode=1
404  echo as_func_ret_failure succeeded.
405fi
406
407if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
408  :
409else
410  exitcode=1
411  echo positional parameters were not saved.
412fi
413
414test \$exitcode = 0") || {
415  echo No shell found that supports shell functions.
416  echo Please tell autoconf@gnu.org about your system,
417  echo including any error possibly output before this
418  echo message
419}
420
421
422
423  as_lineno_1=$LINENO
424  as_lineno_2=$LINENO
425  test "x$as_lineno_1" != "x$as_lineno_2" &&
426  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
427
428  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429  # uniformly replaced by the line number.  The first 'sed' inserts a
430  # line-number line after each line using $LINENO; the second 'sed'
431  # does the real work.  The second script uses 'N' to pair each
432  # line-number line with the line containing $LINENO, and appends
433  # trailing '-' during substitution so that $LINENO is not a special
434  # case at line end.
435  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436  # scripts with optimization help from Paolo Bonzini.  Blame Lee
437  # E. McMahon (1931-1989) for sed's syntax.  :-)
438  sed -n '
439    p
440    /[$]LINENO/=
441  ' <$as_myself |
442    sed '
443      s/[$]LINENO.*/&-/
444      t lineno
445      b
446      :lineno
447      N
448      :loop
449      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450      t loop
451      s/-\n.*//
452    ' >$as_me.lineno &&
453  chmod +x "$as_me.lineno" ||
454    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
455   { (exit 1); exit 1; }; }
456
457  # Don't try to exec as it changes $[0], causing all sort of problems
458  # (the dirname of $[0] is not the place where we might find the
459  # original and so on.  Autoconf is especially sensitive to this).
460  . "./$as_me.lineno"
461  # Exit status is that of the last command.
462  exit
463}
464
465
466if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
467  as_dirname=dirname
468else
469  as_dirname=false
470fi
471
472ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in
474-n*)
475  case `echo 'x\c'` in
476  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
477  *)   ECHO_C='\c';;
478  esac;;
479*)
480  ECHO_N='-n';;
481esac
482
483if expr a : '\(a\)' >/dev/null 2>&1 &&
484   test "X`expr 00001 : '.*\(...\)'`" = X001; then
485  as_expr=expr
486else
487  as_expr=false
488fi
489
490rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then
492  rm -f conf$$.dir/conf$$.file
493else
494  rm -f conf$$.dir
495  mkdir conf$$.dir
496fi
497echo >conf$$.file
498if ln -s conf$$.file conf$$ 2>/dev/null; then
499  as_ln_s='ln -s'
500  # ... but there are two gotchas:
501  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503  # In both cases, we have to default to `cp -p'.
504  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
505    as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then
507  as_ln_s=ln
508else
509  as_ln_s='cp -p'
510fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null
513
514if mkdir -p . 2>/dev/null; then
515  as_mkdir_p=:
516else
517  test -d ./-p && rmdir ./-p
518  as_mkdir_p=false
519fi
520
521if test -x / >/dev/null 2>&1; then
522  as_test_x='test -x'
523else
524  if ls -dL / >/dev/null 2>&1; then
525    as_ls_L_option=L
526  else
527    as_ls_L_option=
528  fi
529  as_test_x='
530    eval sh -c '\''
531      if test -d "$1"; then
532        test -d "$1/.";
533      else
534	case $1 in
535        -*)set "./$1";;
536	esac;
537	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
538	???[sx]*):;;*)false;;esac;fi
539    '\'' sh
540  '
541fi
542as_executable_p=$as_test_x
543
544# Sed expression to map a string onto a valid CPP name.
545as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546
547# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550
551
552
553# Check that we are running under the correct shell.
554SHELL=${CONFIG_SHELL-/bin/sh}
555
556case X$ECHO in
557X*--fallback-echo)
558  # Remove one level of quotation (which was required for Make).
559  ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
560  ;;
561esac
562
563echo=${ECHO-echo}
564if test "X$1" = X--no-reexec; then
565  # Discard the --no-reexec flag, and continue.
566  shift
567elif test "X$1" = X--fallback-echo; then
568  # Avoid inline document here, it may be left over
569  :
570elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
571  # Yippee, $echo works!
572  :
573else
574  # Restart under the correct shell.
575  exec $SHELL "$0" --no-reexec ${1+"$@"}
576fi
577
578if test "X$1" = X--fallback-echo; then
579  # used as fallback echo
580  shift
581  cat <<EOF
582$*
583EOF
584  exit 0
585fi
586
587# The HP-UX ksh and POSIX shell print the target directory to stdout
588# if CDPATH is set.
589(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
590
591if test -z "$ECHO"; then
592if test "X${echo_test_string+set}" != Xset; then
593# find a string as large as possible, as long as the shell can cope with it
594  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
595    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
596    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
597       echo_test_string=`eval $cmd` &&
598       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
599    then
600      break
601    fi
602  done
603fi
604
605if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
606   echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
607   test "X$echo_testing_string" = "X$echo_test_string"; then
608  :
609else
610  # The Solaris, AIX, and Digital Unix default echo programs unquote
611  # backslashes.  This makes it impossible to quote backslashes using
612  #   echo "$something" | sed 's/\\/\\\\/g'
613  #
614  # So, first we look for a working echo in the user's PATH.
615
616  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
617  for dir in $PATH /usr/ucb; do
618    IFS="$lt_save_ifs"
619    if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
620       test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
621       echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
622       test "X$echo_testing_string" = "X$echo_test_string"; then
623      echo="$dir/echo"
624      break
625    fi
626  done
627  IFS="$lt_save_ifs"
628
629  if test "X$echo" = Xecho; then
630    # We didn't find a better echo, so look for alternatives.
631    if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
632       echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
633       test "X$echo_testing_string" = "X$echo_test_string"; then
634      # This shell has a builtin print -r that does the trick.
635      echo='print -r'
636    elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
637	 test "X$CONFIG_SHELL" != X/bin/ksh; then
638      # If we have ksh, try running configure again with it.
639      ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
640      export ORIGINAL_CONFIG_SHELL
641      CONFIG_SHELL=/bin/ksh
642      export CONFIG_SHELL
643      exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
644    else
645      # Try using printf.
646      echo='printf %s\n'
647      if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
648	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
649	 test "X$echo_testing_string" = "X$echo_test_string"; then
650	# Cool, printf works
651	:
652      elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
653	   test "X$echo_testing_string" = 'X\t' &&
654	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
655	   test "X$echo_testing_string" = "X$echo_test_string"; then
656	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
657	export CONFIG_SHELL
658	SHELL="$CONFIG_SHELL"
659	export SHELL
660	echo="$CONFIG_SHELL $0 --fallback-echo"
661      elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
662	   test "X$echo_testing_string" = 'X\t' &&
663	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
664	   test "X$echo_testing_string" = "X$echo_test_string"; then
665	echo="$CONFIG_SHELL $0 --fallback-echo"
666      else
667	# maybe with a smaller string...
668	prev=:
669
670	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
671	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
672	  then
673	    break
674	  fi
675	  prev="$cmd"
676	done
677
678	if test "$prev" != 'sed 50q "$0"'; then
679	  echo_test_string=`eval $prev`
680	  export echo_test_string
681	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
682	else
683	  # Oops.  We lost completely, so just stick with echo.
684	  echo=echo
685	fi
686      fi
687    fi
688  fi
689fi
690fi
691
692# Copy echo and quote the copy suitably for passing to libtool from
693# the Makefile, instead of quoting the original, which is used later.
694ECHO=$echo
695if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
696   ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
697fi
698
699
700
701
702exec 7<&0 </dev/null 6>&1
703
704# Name of the host.
705# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
706# so uname gets run too.
707ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
708
709#
710# Initializations.
711#
712ac_default_prefix=/usr/local
713ac_clean_files=
714ac_config_libobj_dir=.
715LIBOBJS=
716cross_compiling=no
717subdirs=
718MFLAGS=
719MAKEFLAGS=
720SHELL=${CONFIG_SHELL-/bin/sh}
721
722# Identity of this package.
723PACKAGE_NAME='libbpm'
724PACKAGE_TARNAME='libbpm'
725PACKAGE_VERSION='0.3'
726PACKAGE_STRING='libbpm 0.3'
727PACKAGE_BUGREPORT=''
728
729ac_unique_file="bpm_defs.h"
730# Factoring default headers for most tests.
731ac_includes_default="\
732#include <stdio.h>
733#ifdef HAVE_SYS_TYPES_H
734# include <sys/types.h>
735#endif
736#ifdef HAVE_SYS_STAT_H
737# include <sys/stat.h>
738#endif
739#ifdef STDC_HEADERS
740# include <stdlib.h>
741# include <stddef.h>
742#else
743# ifdef HAVE_STDLIB_H
744#  include <stdlib.h>
745# endif
746#endif
747#ifdef HAVE_STRING_H
748# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
749#  include <memory.h>
750# endif
751# include <string.h>
752#endif
753#ifdef HAVE_STRINGS_H
754# include <strings.h>
755#endif
756#ifdef HAVE_INTTYPES_H
757# include <inttypes.h>
758#endif
759#ifdef HAVE_STDINT_H
760# include <stdint.h>
761#endif
762#ifdef HAVE_UNISTD_H
763# include <unistd.h>
764#endif"
765
766ac_subst_vars='SHELL
767PATH_SEPARATOR
768PACKAGE_NAME
769PACKAGE_TARNAME
770PACKAGE_VERSION
771PACKAGE_STRING
772PACKAGE_BUGREPORT
773exec_prefix
774prefix
775program_transform_name
776bindir
777sbindir
778libexecdir
779datarootdir
780datadir
781sysconfdir
782sharedstatedir
783localstatedir
784includedir
785oldincludedir
786docdir
787infodir
788htmldir
789dvidir
790pdfdir
791psdir
792libdir
793localedir
794mandir
795DEFS
796ECHO_C
797ECHO_N
798ECHO_T
799LIBS
800build_alias
801host_alias
802target_alias
803BPM_LIB_VERSION
804INSTALL_PROGRAM
805INSTALL_SCRIPT
806INSTALL_DATA
807am__isrc
808CYGPATH_W
809PACKAGE
810VERSION
811ACLOCAL
812AUTOCONF
813AUTOMAKE
814AUTOHEADER
815MAKEINFO
816install_sh
817STRIP
818INSTALL_STRIP_PROGRAM
819mkdir_p
820AWK
821SET_MAKE
822am__leading_dot
823AMTAR
824am__tar
825am__untar
826build
827build_cpu
828build_vendor
829build_os
830host
831host_cpu
832host_vendor
833host_os
834CC
835CFLAGS
836LDFLAGS
837CPPFLAGS
838ac_ct_CC
839EXEEXT
840OBJEXT
841CPP
842LN_S
843SED
844GREP
845EGREP
846ECHO
847AR
848RANLIB
849DLLTOOL
850AS
851OBJDUMP
852LIBTOOL
853BPM_CFLAGS
854BPM_LIBS
855DX_PROJECT
856DX_CONFIG
857DX_DOCDIR
858DX_ENV
859DX_FLAG_doc
860DX_DOXYGEN
861DX_FLAG_[]DX_CURRENT_FEATURE
862DX_PERL
863DX_FLAG_[]DX_CURRENT_FEATURE
864DX_COND_doc_TRUE
865DX_COND_doc_FALSE
866DX_FLAG_dot
867DX_FLAG_[]DX_CURRENT_FEATURE
868DX_DOT
869DX_FLAG_[]DX_CURRENT_FEATURE
870DX_COND_dot_TRUE
871DX_COND_dot_FALSE
872DX_FLAG_man
873DX_FLAG_[]DX_CURRENT_FEATURE
874DX_COND_man_TRUE
875DX_COND_man_FALSE
876DX_FLAG_rtf
877DX_FLAG_[]DX_CURRENT_FEATURE
878DX_COND_rtf_TRUE
879DX_COND_rtf_FALSE
880DX_FLAG_xml
881DX_FLAG_[]DX_CURRENT_FEATURE
882DX_COND_xml_TRUE
883DX_COND_xml_FALSE
884DX_FLAG_chm
885DX_FLAG_[]DX_CURRENT_FEATURE
886DX_HHC
887DX_FLAG_[]DX_CURRENT_FEATURE
888DX_COND_chm_TRUE
889DX_COND_chm_FALSE
890DX_FLAG_chi
891DX_FLAG_[]DX_CURRENT_FEATURE
892DX_COND_chi_TRUE
893DX_COND_chi_FALSE
894DX_FLAG_html
895DX_FLAG_[]DX_CURRENT_FEATURE
896DX_FLAG_[]DX_CURRENT_FEATURE
897DX_COND_html_TRUE
898DX_COND_html_FALSE
899DX_FLAG_ps
900DX_FLAG_[]DX_CURRENT_FEATURE
901DX_LATEX
902DX_FLAG_[]DX_CURRENT_FEATURE
903DX_MAKEINDEX
904DX_FLAG_[]DX_CURRENT_FEATURE
905DX_DVIPS
906DX_FLAG_[]DX_CURRENT_FEATURE
907DX_EGREP
908DX_FLAG_[]DX_CURRENT_FEATURE
909DX_COND_ps_TRUE
910DX_COND_ps_FALSE
911DX_FLAG_pdf
912DX_FLAG_[]DX_CURRENT_FEATURE
913DX_PDFLATEX
914DX_FLAG_[]DX_CURRENT_FEATURE
915DX_FLAG_[]DX_CURRENT_FEATURE
916DX_FLAG_[]DX_CURRENT_FEATURE
917DX_COND_pdf_TRUE
918DX_COND_pdf_FALSE
919DX_COND_latex_TRUE
920DX_COND_latex_FALSE
921DOXYGEN_PAPER_SIZE
922LIBOBJS
923LTLIBOBJS'
924ac_subst_files=''
925      ac_precious_vars='build_alias
926host_alias
927target_alias
928CC
929CFLAGS
930LDFLAGS
931LIBS
932CPPFLAGS
933CPP
934DOXYGEN_PAPER_SIZE'
935
936
937# Initialize some variables set by options.
938ac_init_help=
939ac_init_version=false
940# The variables have the same names as the options, with
941# dashes changed to underlines.
942cache_file=/dev/null
943exec_prefix=NONE
944no_create=
945no_recursion=
946prefix=NONE
947program_prefix=NONE
948program_suffix=NONE
949program_transform_name=s,x,x,
950silent=
951site=
952srcdir=
953verbose=
954x_includes=NONE
955x_libraries=NONE
956
957# Installation directory options.
958# These are left unexpanded so users can "make install exec_prefix=/foo"
959# and all the variables that are supposed to be based on exec_prefix
960# by default will actually change.
961# Use braces instead of parens because sh, perl, etc. also accept them.
962# (The list follows the same order as the GNU Coding Standards.)
963bindir='${exec_prefix}/bin'
964sbindir='${exec_prefix}/sbin'
965libexecdir='${exec_prefix}/libexec'
966datarootdir='${prefix}/share'
967datadir='${datarootdir}'
968sysconfdir='${prefix}/etc'
969sharedstatedir='${prefix}/com'
970localstatedir='${prefix}/var'
971includedir='${prefix}/include'
972oldincludedir='/usr/include'
973docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
974infodir='${datarootdir}/info'
975htmldir='${docdir}'
976dvidir='${docdir}'
977pdfdir='${docdir}'
978psdir='${docdir}'
979libdir='${exec_prefix}/lib'
980localedir='${datarootdir}/locale'
981mandir='${datarootdir}/man'
982
983ac_prev=
984ac_dashdash=
985for ac_option
986do
987  # If the previous option needs an argument, assign it.
988  if test -n "$ac_prev"; then
989    eval $ac_prev=\$ac_option
990    ac_prev=
991    continue
992  fi
993
994  case $ac_option in
995  *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
996  *)	ac_optarg=yes ;;
997  esac
998
999  # Accept the important Cygnus configure options, so we can diagnose typos.
1000
1001  case $ac_dashdash$ac_option in
1002  --)
1003    ac_dashdash=yes ;;
1004
1005  -bindir | --bindir | --bindi | --bind | --bin | --bi)
1006    ac_prev=bindir ;;
1007  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1008    bindir=$ac_optarg ;;
1009
1010  -build | --build | --buil | --bui | --bu)
1011    ac_prev=build_alias ;;
1012  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1013    build_alias=$ac_optarg ;;
1014
1015  -cache-file | --cache-file | --cache-fil | --cache-fi \
1016  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1017    ac_prev=cache_file ;;
1018  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1019  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1020    cache_file=$ac_optarg ;;
1021
1022  --config-cache | -C)
1023    cache_file=config.cache ;;
1024
1025  -datadir | --datadir | --datadi | --datad)
1026    ac_prev=datadir ;;
1027  -datadir=* | --datadir=* | --datadi=* | --datad=*)
1028    datadir=$ac_optarg ;;
1029
1030  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1031  | --dataroo | --dataro | --datar)
1032    ac_prev=datarootdir ;;
1033  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1034  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1035    datarootdir=$ac_optarg ;;
1036
1037  -disable-* | --disable-*)
1038    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1039    # Reject names that are not valid shell variable names.
1040    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1041      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1042   { (exit 1); exit 1; }; }
1043    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1044    eval enable_$ac_feature=no ;;
1045
1046  -docdir | --docdir | --docdi | --doc | --do)
1047    ac_prev=docdir ;;
1048  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1049    docdir=$ac_optarg ;;
1050
1051  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1052    ac_prev=dvidir ;;
1053  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1054    dvidir=$ac_optarg ;;
1055
1056  -enable-* | --enable-*)
1057    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1058    # Reject names that are not valid shell variable names.
1059    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1060      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1061   { (exit 1); exit 1; }; }
1062    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1063    eval enable_$ac_feature=\$ac_optarg ;;
1064
1065  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1066  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1067  | --exec | --exe | --ex)
1068    ac_prev=exec_prefix ;;
1069  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1070  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1071  | --exec=* | --exe=* | --ex=*)
1072    exec_prefix=$ac_optarg ;;
1073
1074  -gas | --gas | --ga | --g)
1075    # Obsolete; use --with-gas.
1076    with_gas=yes ;;
1077
1078  -help | --help | --hel | --he | -h)
1079    ac_init_help=long ;;
1080  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1081    ac_init_help=recursive ;;
1082  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1083    ac_init_help=short ;;
1084
1085  -host | --host | --hos | --ho)
1086    ac_prev=host_alias ;;
1087  -host=* | --host=* | --hos=* | --ho=*)
1088    host_alias=$ac_optarg ;;
1089
1090  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1091    ac_prev=htmldir ;;
1092  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1093  | --ht=*)
1094    htmldir=$ac_optarg ;;
1095
1096  -includedir | --includedir | --includedi | --included | --include \
1097  | --includ | --inclu | --incl | --inc)
1098    ac_prev=includedir ;;
1099  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1100  | --includ=* | --inclu=* | --incl=* | --inc=*)
1101    includedir=$ac_optarg ;;
1102
1103  -infodir | --infodir | --infodi | --infod | --info | --inf)
1104    ac_prev=infodir ;;
1105  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1106    infodir=$ac_optarg ;;
1107
1108  -libdir | --libdir | --libdi | --libd)
1109    ac_prev=libdir ;;
1110  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1111    libdir=$ac_optarg ;;
1112
1113  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1114  | --libexe | --libex | --libe)
1115    ac_prev=libexecdir ;;
1116  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1117  | --libexe=* | --libex=* | --libe=*)
1118    libexecdir=$ac_optarg ;;
1119
1120  -localedir | --localedir | --localedi | --localed | --locale)
1121    ac_prev=localedir ;;
1122  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1123    localedir=$ac_optarg ;;
1124
1125  -localstatedir | --localstatedir | --localstatedi | --localstated \
1126  | --localstate | --localstat | --localsta | --localst | --locals)
1127    ac_prev=localstatedir ;;
1128  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1129  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1130    localstatedir=$ac_optarg ;;
1131
1132  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1133    ac_prev=mandir ;;
1134  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1135    mandir=$ac_optarg ;;
1136
1137  -nfp | --nfp | --nf)
1138    # Obsolete; use --without-fp.
1139    with_fp=no ;;
1140
1141  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1142  | --no-cr | --no-c | -n)
1143    no_create=yes ;;
1144
1145  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1146  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1147    no_recursion=yes ;;
1148
1149  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1150  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1151  | --oldin | --oldi | --old | --ol | --o)
1152    ac_prev=oldincludedir ;;
1153  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1154  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1155  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1156    oldincludedir=$ac_optarg ;;
1157
1158  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1159    ac_prev=prefix ;;
1160  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1161    prefix=$ac_optarg ;;
1162
1163  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1164  | --program-pre | --program-pr | --program-p)
1165    ac_prev=program_prefix ;;
1166  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1167  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1168    program_prefix=$ac_optarg ;;
1169
1170  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1171  | --program-suf | --program-su | --program-s)
1172    ac_prev=program_suffix ;;
1173  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1174  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1175    program_suffix=$ac_optarg ;;
1176
1177  -program-transform-name | --program-transform-name \
1178  | --program-transform-nam | --program-transform-na \
1179  | --program-transform-n | --program-transform- \
1180  | --program-transform | --program-transfor \
1181  | --program-transfo | --program-transf \
1182  | --program-trans | --program-tran \
1183  | --progr-tra | --program-tr | --program-t)
1184    ac_prev=program_transform_name ;;
1185  -program-transform-name=* | --program-transform-name=* \
1186  | --program-transform-nam=* | --program-transform-na=* \
1187  | --program-transform-n=* | --program-transform-=* \
1188  | --program-transform=* | --program-transfor=* \
1189  | --program-transfo=* | --program-transf=* \
1190  | --program-trans=* | --program-tran=* \
1191  | --progr-tra=* | --program-tr=* | --program-t=*)
1192    program_transform_name=$ac_optarg ;;
1193
1194  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1195    ac_prev=pdfdir ;;
1196  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1197    pdfdir=$ac_optarg ;;
1198
1199  -psdir | --psdir | --psdi | --psd | --ps)
1200    ac_prev=psdir ;;
1201  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1202    psdir=$ac_optarg ;;
1203
1204  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1205  | -silent | --silent | --silen | --sile | --sil)
1206    silent=yes ;;
1207
1208  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1209    ac_prev=sbindir ;;
1210  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1211  | --sbi=* | --sb=*)
1212    sbindir=$ac_optarg ;;
1213
1214  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1215  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1216  | --sharedst | --shareds | --shared | --share | --shar \
1217  | --sha | --sh)
1218    ac_prev=sharedstatedir ;;
1219  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1220  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1221  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1222  | --sha=* | --sh=*)
1223    sharedstatedir=$ac_optarg ;;
1224
1225  -site | --site | --sit)
1226    ac_prev=site ;;
1227  -site=* | --site=* | --sit=*)
1228    site=$ac_optarg ;;
1229
1230  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1231    ac_prev=srcdir ;;
1232  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1233    srcdir=$ac_optarg ;;
1234
1235  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1236  | --syscon | --sysco | --sysc | --sys | --sy)
1237    ac_prev=sysconfdir ;;
1238  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1239  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1240    sysconfdir=$ac_optarg ;;
1241
1242  -target | --target | --targe | --targ | --tar | --ta | --t)
1243    ac_prev=target_alias ;;
1244  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1245    target_alias=$ac_optarg ;;
1246
1247  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1248    verbose=yes ;;
1249
1250  -version | --version | --versio | --versi | --vers | -V)
1251    ac_init_version=: ;;
1252
1253  -with-* | --with-*)
1254    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1255    # Reject names that are not valid shell variable names.
1256    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1257      { echo "$as_me: error: invalid package name: $ac_package" >&2
1258   { (exit 1); exit 1; }; }
1259    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1260    eval with_$ac_package=\$ac_optarg ;;
1261
1262  -without-* | --without-*)
1263    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264    # Reject names that are not valid shell variable names.
1265    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1266      { echo "$as_me: error: invalid package name: $ac_package" >&2
1267   { (exit 1); exit 1; }; }
1268    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1269    eval with_$ac_package=no ;;
1270
1271  --x)
1272    # Obsolete; use --with-x.
1273    with_x=yes ;;
1274
1275  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1276  | --x-incl | --x-inc | --x-in | --x-i)
1277    ac_prev=x_includes ;;
1278  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1279  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1280    x_includes=$ac_optarg ;;
1281
1282  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1283  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1284    ac_prev=x_libraries ;;
1285  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1286  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1287    x_libraries=$ac_optarg ;;
1288
1289  -*) { echo "$as_me: error: unrecognized option: $ac_option
1290Try \`$0 --help' for more information." >&2
1291   { (exit 1); exit 1; }; }
1292    ;;
1293
1294  *=*)
1295    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1296    # Reject names that are not valid shell variable names.
1297    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1298      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1299   { (exit 1); exit 1; }; }
1300    eval $ac_envvar=\$ac_optarg
1301    export $ac_envvar ;;
1302
1303  *)
1304    # FIXME: should be removed in autoconf 3.0.
1305    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1307      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1309    ;;
1310
1311  esac
1312done
1313
1314if test -n "$ac_prev"; then
1315  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1316  { echo "$as_me: error: missing argument to $ac_option" >&2
1317   { (exit 1); exit 1; }; }
1318fi
1319
1320# Be sure to have absolute directory names.
1321for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1322		datadir sysconfdir sharedstatedir localstatedir includedir \
1323		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1324		libdir localedir mandir
1325do
1326  eval ac_val=\$$ac_var
1327  case $ac_val in
1328    [\\/$]* | ?:[\\/]* )  continue;;
1329    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1330  esac
1331  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1332   { (exit 1); exit 1; }; }
1333done
1334
1335# There might be people who depend on the old broken behavior: `$host'
1336# used to hold the argument of --host etc.
1337# FIXME: To remove some day.
1338build=$build_alias
1339host=$host_alias
1340target=$target_alias
1341
1342# FIXME: To remove some day.
1343if test "x$host_alias" != x; then
1344  if test "x$build_alias" = x; then
1345    cross_compiling=maybe
1346    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1347    If a cross compiler is detected then cross compile mode will be used." >&2
1348  elif test "x$build_alias" != "x$host_alias"; then
1349    cross_compiling=yes
1350  fi
1351fi
1352
1353ac_tool_prefix=
1354test -n "$host_alias" && ac_tool_prefix=$host_alias-
1355
1356test "$silent" = yes && exec 6>/dev/null
1357
1358
1359ac_pwd=`pwd` && test -n "$ac_pwd" &&
1360ac_ls_di=`ls -di .` &&
1361ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1362  { echo "$as_me: error: Working directory cannot be determined" >&2
1363   { (exit 1); exit 1; }; }
1364test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1365  { echo "$as_me: error: pwd does not report name of working directory" >&2
1366   { (exit 1); exit 1; }; }
1367
1368
1369# Find the source files, if location was not specified.
1370if test -z "$srcdir"; then
1371  ac_srcdir_defaulted=yes
1372  # Try the directory containing this script, then the parent directory.
1373  ac_confdir=`$as_dirname -- "$0" ||
1374$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1375	 X"$0" : 'X\(//\)[^/]' \| \
1376	 X"$0" : 'X\(//\)$' \| \
1377	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1378echo X"$0" |
1379    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1380	    s//\1/
1381	    q
1382	  }
1383	  /^X\(\/\/\)[^/].*/{
1384	    s//\1/
1385	    q
1386	  }
1387	  /^X\(\/\/\)$/{
1388	    s//\1/
1389	    q
1390	  }
1391	  /^X\(\/\).*/{
1392	    s//\1/
1393	    q
1394	  }
1395	  s/.*/./; q'`
1396  srcdir=$ac_confdir
1397  if test ! -r "$srcdir/$ac_unique_file"; then
1398    srcdir=..
1399  fi
1400else
1401  ac_srcdir_defaulted=no
1402fi
1403if test ! -r "$srcdir/$ac_unique_file"; then
1404  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1405  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1406   { (exit 1); exit 1; }; }
1407fi
1408ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409ac_abs_confdir=`(
1410	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1411   { (exit 1); exit 1; }; }
1412	pwd)`
1413# When building in place, set srcdir=.
1414if test "$ac_abs_confdir" = "$ac_pwd"; then
1415  srcdir=.
1416fi
1417# Remove unnecessary trailing slashes from srcdir.
1418# Double slashes in file names in object file debugging info
1419# mess up M-x gdb in Emacs.
1420case $srcdir in
1421*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1422esac
1423for ac_var in $ac_precious_vars; do
1424  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1425  eval ac_env_${ac_var}_value=\$${ac_var}
1426  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1427  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1428done
1429
1430#
1431# Report the --help message.
1432#
1433if test "$ac_init_help" = "long"; then
1434  # Omit some internal or obsolete options to make the list less imposing.
1435  # This message is too long to be a string in the A/UX 3.1 sh.
1436  cat <<_ACEOF
1437\`configure' configures libbpm 0.3 to adapt to many kinds of systems.
1438
1439Usage: $0 [OPTION]... [VAR=VALUE]...
1440
1441To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442VAR=VALUE.  See below for descriptions of some of the useful variables.
1443
1444Defaults for the options are specified in brackets.
1445
1446Configuration:
1447  -h, --help              display this help and exit
1448      --help=short        display options specific to this package
1449      --help=recursive    display the short help of all the included packages
1450  -V, --version           display version information and exit
1451  -q, --quiet, --silent   do not print \`checking...' messages
1452      --cache-file=FILE   cache test results in FILE [disabled]
1453  -C, --config-cache      alias for \`--cache-file=config.cache'
1454  -n, --no-create         do not create output files
1455      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1456
1457Installation directories:
1458  --prefix=PREFIX         install architecture-independent files in PREFIX
1459			  [$ac_default_prefix]
1460  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1461			  [PREFIX]
1462
1463By default, \`make install' will install all the files in
1464\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1465an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466for instance \`--prefix=\$HOME'.
1467
1468For better control, use the options below.
1469
1470Fine tuning of the installation directories:
1471  --bindir=DIR           user executables [EPREFIX/bin]
1472  --sbindir=DIR          system admin executables [EPREFIX/sbin]
1473  --libexecdir=DIR       program executables [EPREFIX/libexec]
1474  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1475  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1476  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1477  --libdir=DIR           object code libraries [EPREFIX/lib]
1478  --includedir=DIR       C header files [PREFIX/include]
1479  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1480  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1481  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1482  --infodir=DIR          info documentation [DATAROOTDIR/info]
1483  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1484  --mandir=DIR           man documentation [DATAROOTDIR/man]
1485  --docdir=DIR           documentation root [DATAROOTDIR/doc/libbpm]
1486  --htmldir=DIR          html documentation [DOCDIR]
1487  --dvidir=DIR           dvi documentation [DOCDIR]
1488  --pdfdir=DIR           pdf documentation [DOCDIR]
1489  --psdir=DIR            ps documentation [DOCDIR]
1490_ACEOF
1491
1492  cat <<\_ACEOF
1493
1494Program names:
1495  --program-prefix=PREFIX            prepend PREFIX to installed program names
1496  --program-suffix=SUFFIX            append SUFFIX to installed program names
1497  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1498
1499System types:
1500  --build=BUILD     configure for building on BUILD [guessed]
1501  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1502_ACEOF
1503fi
1504
1505if test -n "$ac_init_help"; then
1506  case $ac_init_help in
1507     short | recursive ) echo "Configuration of libbpm 0.3:";;
1508   esac
1509  cat <<\_ACEOF
1510
1511Optional Features:
1512  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1513  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1514  --enable-shared[=PKGS]  build shared libraries [default=yes]
1515  --enable-static[=PKGS]  build static libraries [default=yes]
1516  --enable-fast-install[=PKGS]
1517                          optimize for fast installation [default=yes]
1518  --disable-libtool-lock  avoid locking (might break parallel builds)
1519  --disable-doxygen-doc   don't generate any doxygen documentation
1520  --disable-doxygen-dot   don't generate graphics for doxygen documentation
1521  --enable-doxygen-man    generate doxygen manual pages
1522  --enable-doxygen-rtf    generate doxygen RTF documentation
1523  --enable-doxygen-xml    generate doxygen XML documentation
1524  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1525  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1526                          file
1527  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1528  --disable-doxygen-ps    don't generate doxygen PostScript documentation
1529  --disable-doxygen-pdf   don't generate doxygen PDF documentation
1530
1531Optional Packages:
1532  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1533  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1534  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1535  --with-pic              try to use only PIC/non-PIC objects [default=use
1536                          both]
1537  --with-tags[=TAGS]      include additional configurations [automatic]
1538
1539Some influential environment variables:
1540  CC          C compiler command
1541  CFLAGS      C compiler flags
1542  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1543              nonstandard directory <lib dir>
1544  LIBS        libraries to pass to the linker, e.g. -l<library>
1545  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1546              you have headers in a nonstandard directory <include dir>
1547  CPP         C preprocessor
1548  DOXYGEN_PAPER_SIZE
1549              a4wide (default), a4, letter, legal or executive
1550
1551Use these variables to override the choices made by `configure' or to help
1552it to find libraries and programs with nonstandard names/locations.
1553
1554_ACEOF
1555ac_status=$?
1556fi
1557
1558if test "$ac_init_help" = "recursive"; then
1559  # If there are subdirs, report their specific --help.
1560  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1561    test -d "$ac_dir" || continue
1562    ac_builddir=.
1563
1564case "$ac_dir" in
1565.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1566*)
1567  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1568  # A ".." for each directory in $ac_dir_suffix.
1569  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1570  case $ac_top_builddir_sub in
1571  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1572  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1573  esac ;;
1574esac
1575ac_abs_top_builddir=$ac_pwd
1576ac_abs_builddir=$ac_pwd$ac_dir_suffix
1577# for backward compatibility:
1578ac_top_builddir=$ac_top_build_prefix
1579
1580case $srcdir in
1581  .)  # We are building in place.
1582    ac_srcdir=.
1583    ac_top_srcdir=$ac_top_builddir_sub
1584    ac_abs_top_srcdir=$ac_pwd ;;
1585  [\\/]* | ?:[\\/]* )  # Absolute name.
1586    ac_srcdir=$srcdir$ac_dir_suffix;
1587    ac_top_srcdir=$srcdir
1588    ac_abs_top_srcdir=$srcdir ;;
1589  *) # Relative name.
1590    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1591    ac_top_srcdir=$ac_top_build_prefix$srcdir
1592    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1593esac
1594ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1595
1596    cd "$ac_dir" || { ac_status=$?; continue; }
1597    # Check for guested configure.
1598    if test -f "$ac_srcdir/configure.gnu"; then
1599      echo &&
1600      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1601    elif test -f "$ac_srcdir/configure"; then
1602      echo &&
1603      $SHELL "$ac_srcdir/configure" --help=recursive
1604    else
1605      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1606    fi || ac_status=$?
1607    cd "$ac_pwd" || { ac_status=$?; break; }
1608  done
1609fi
1610
1611test -n "$ac_init_help" && exit $ac_status
1612if $ac_init_version; then
1613  cat <<\_ACEOF
1614libbpm configure 0.3
1615generated by GNU Autoconf 2.61
1616
1617Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
16182002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1619This configure script is free software; the Free Software Foundation
1620gives unlimited permission to copy, distribute and modify it.
1621_ACEOF
1622  exit
1623fi
1624cat >config.log <<_ACEOF
1625This file contains any messages produced by compilers while
1626running configure, to aid debugging if configure makes a mistake.
1627
1628It was created by libbpm $as_me 0.3, which was
1629generated by GNU Autoconf 2.61.  Invocation command line was
1630
1631  $ $0 $@
1632
1633_ACEOF
1634exec 5>>config.log
1635{
1636cat <<_ASUNAME
1637## --------- ##
1638## Platform. ##
1639## --------- ##
1640
1641hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1642uname -m = `(uname -m) 2>/dev/null || echo unknown`
1643uname -r = `(uname -r) 2>/dev/null || echo unknown`
1644uname -s = `(uname -s) 2>/dev/null || echo unknown`
1645uname -v = `(uname -v) 2>/dev/null || echo unknown`
1646
1647/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1648/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1649
1650/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1651/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1652/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1653/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1654/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1655/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1656/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1657
1658_ASUNAME
1659
1660as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1661for as_dir in $PATH
1662do
1663  IFS=$as_save_IFS
1664  test -z "$as_dir" && as_dir=.
1665  echo "PATH: $as_dir"
1666done
1667IFS=$as_save_IFS
1668
1669} >&5
1670
1671cat >&5 <<_ACEOF
1672
1673
1674## ----------- ##
1675## Core tests. ##
1676## ----------- ##
1677
1678_ACEOF
1679
1680
1681# Keep a trace of the command line.
1682# Strip out --no-create and --no-recursion so they do not pile up.
1683# Strip out --silent because we don't want to record it for future runs.
1684# Also quote any args containing shell meta-characters.
1685# Make two passes to allow for proper duplicate-argument suppression.
1686ac_configure_args=
1687ac_configure_args0=
1688ac_configure_args1=
1689ac_must_keep_next=false
1690for ac_pass in 1 2
1691do
1692  for ac_arg
1693  do
1694    case $ac_arg in
1695    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1696    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1697    | -silent | --silent | --silen | --sile | --sil)
1698      continue ;;
1699    *\'*)
1700      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1701    esac
1702    case $ac_pass in
1703    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1704    2)
1705      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1706      if test $ac_must_keep_next = true; then
1707	ac_must_keep_next=false # Got value, back to normal.
1708      else
1709	case $ac_arg in
1710	  *=* | --config-cache | -C | -disable-* | --disable-* \
1711	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1712	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1713	  | -with-* | --with-* | -without-* | --without-* | --x)
1714	    case "$ac_configure_args0 " in
1715	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1716	    esac
1717	    ;;
1718	  -* ) ac_must_keep_next=true ;;
1719	esac
1720      fi
1721      ac_configure_args="$ac_configure_args '$ac_arg'"
1722      ;;
1723    esac
1724  done
1725done
1726$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1727$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1728
1729# When interrupted or exit'd, cleanup temporary files, and complete
1730# config.log.  We remove comments because anyway the quotes in there
1731# would cause problems or look ugly.
1732# WARNING: Use '\'' to represent an apostrophe within the trap.
1733# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1734trap 'exit_status=$?
1735  # Save into config.log some information that might help in debugging.
1736  {
1737    echo
1738
1739    cat <<\_ASBOX
1740## ---------------- ##
1741## Cache variables. ##
1742## ---------------- ##
1743_ASBOX
1744    echo
1745    # The following way of writing the cache mishandles newlines in values,
1746(
1747  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1748    eval ac_val=\$$ac_var
1749    case $ac_val in #(
1750    *${as_nl}*)
1751      case $ac_var in #(
1752      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1753echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1754      esac
1755      case $ac_var in #(
1756      _ | IFS | as_nl) ;; #(
1757      *) $as_unset $ac_var ;;
1758      esac ;;
1759    esac
1760  done
1761  (set) 2>&1 |
1762    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1763    *${as_nl}ac_space=\ *)
1764      sed -n \
1765	"s/'\''/'\''\\\\'\'''\''/g;
1766	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1767      ;; #(
1768    *)
1769      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1770      ;;
1771    esac |
1772    sort
1773)
1774    echo
1775
1776    cat <<\_ASBOX
1777## ----------------- ##
1778## Output variables. ##
1779## ----------------- ##
1780_ASBOX
1781    echo
1782    for ac_var in $ac_subst_vars
1783    do
1784      eval ac_val=\$$ac_var
1785      case $ac_val in
1786      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1787      esac
1788      echo "$ac_var='\''$ac_val'\''"
1789    done | sort
1790    echo
1791
1792    if test -n "$ac_subst_files"; then
1793      cat <<\_ASBOX
1794## ------------------- ##
1795## File substitutions. ##
1796## ------------------- ##
1797_ASBOX
1798      echo
1799      for ac_var in $ac_subst_files
1800      do
1801	eval ac_val=\$$ac_var
1802	case $ac_val in
1803	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1804	esac
1805	echo "$ac_var='\''$ac_val'\''"
1806      done | sort
1807      echo
1808    fi
1809
1810    if test -s confdefs.h; then
1811      cat <<\_ASBOX
1812## ----------- ##
1813## confdefs.h. ##
1814## ----------- ##
1815_ASBOX
1816      echo
1817      cat confdefs.h
1818      echo
1819    fi
1820    test "$ac_signal" != 0 &&
1821      echo "$as_me: caught signal $ac_signal"
1822    echo "$as_me: exit $exit_status"
1823  } >&5
1824  rm -f core *.core core.conftest.* &&
1825    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1826    exit $exit_status
1827' 0
1828for ac_signal in 1 2 13 15; do
1829  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1830done
1831ac_signal=0
1832
1833# confdefs.h avoids OS command line length limits that DEFS can exceed.
1834rm -f -r conftest* confdefs.h
1835
1836# Predefined preprocessor variables.
1837
1838cat >>confdefs.h <<_ACEOF
1839#define PACKAGE_NAME "$PACKAGE_NAME"
1840_ACEOF
1841
1842
1843cat >>confdefs.h <<_ACEOF
1844#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1845_ACEOF
1846
1847
1848cat >>confdefs.h <<_ACEOF
1849#define PACKAGE_VERSION "$PACKAGE_VERSION"
1850_ACEOF
1851
1852
1853cat >>confdefs.h <<_ACEOF
1854#define PACKAGE_STRING "$PACKAGE_STRING"
1855_ACEOF
1856
1857
1858cat >>confdefs.h <<_ACEOF
1859#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1860_ACEOF
1861
1862
1863# Let the site file select an alternate cache file if it wants to.
1864# Prefer explicitly selected file to automatically selected ones.
1865if test -n "$CONFIG_SITE"; then
1866  set x "$CONFIG_SITE"
1867elif test "x$prefix" != xNONE; then
1868  set x "$prefix/share/config.site" "$prefix/etc/config.site"
1869else
1870  set x "$ac_default_prefix/share/config.site" \
1871	"$ac_default_prefix/etc/config.site"
1872fi
1873shift
1874for ac_site_file
1875do
1876  if test -r "$ac_site_file"; then
1877    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1878echo "$as_me: loading site script $ac_site_file" >&6;}
1879    sed 's/^/| /' "$ac_site_file" >&5
1880    . "$ac_site_file"
1881  fi
1882done
1883
1884if test -r "$cache_file"; then
1885  # Some versions of bash will fail to source /dev/null (special
1886  # files actually), so we avoid doing that.
1887  if test -f "$cache_file"; then
1888    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1889echo "$as_me: loading cache $cache_file" >&6;}
1890    case $cache_file in
1891      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1892      *)                      . "./$cache_file";;
1893    esac
1894  fi
1895else
1896  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1897echo "$as_me: creating cache $cache_file" >&6;}
1898  >$cache_file
1899fi
1900
1901# Check that the precious variables saved in the cache have kept the same
1902# value.
1903ac_cache_corrupted=false
1904for ac_var in $ac_precious_vars; do
1905  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1906  eval ac_new_set=\$ac_env_${ac_var}_set
1907  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1908  eval ac_new_val=\$ac_env_${ac_var}_value
1909  case $ac_old_set,$ac_new_set in
1910    set,)
1911      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1912echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1913      ac_cache_corrupted=: ;;
1914    ,set)
1915      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1916echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1917      ac_cache_corrupted=: ;;
1918    ,);;
1919    *)
1920      if test "x$ac_old_val" != "x$ac_new_val"; then
1921	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1922echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1923	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1924echo "$as_me:   former value:  $ac_old_val" >&2;}
1925	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1926echo "$as_me:   current value: $ac_new_val" >&2;}
1927	ac_cache_corrupted=:
1928      fi;;
1929  esac
1930  # Pass precious variables to config.status.
1931  if test "$ac_new_set" = set; then
1932    case $ac_new_val in
1933    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1934    *) ac_arg=$ac_var=$ac_new_val ;;
1935    esac
1936    case " $ac_configure_args " in
1937      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1938      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1939    esac
1940  fi
1941done
1942if $ac_cache_corrupted; then
1943  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1944echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1945  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1946echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1947   { (exit 1); exit 1; }; }
1948fi
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974ac_ext=c
1975ac_cpp='$CPP $CPPFLAGS'
1976ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1977ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1978ac_compiler_gnu=$ac_cv_c_compiler_gnu
1979
1980
1981
1982BPM_LIB_VERSION="0.3"
1983
1984
1985am__api_version='1.10'
1986
1987ac_aux_dir=
1988for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1989  if test -f "$ac_dir/install-sh"; then
1990    ac_aux_dir=$ac_dir
1991    ac_install_sh="$ac_aux_dir/install-sh -c"
1992    break
1993  elif test -f "$ac_dir/install.sh"; then
1994    ac_aux_dir=$ac_dir
1995    ac_install_sh="$ac_aux_dir/install.sh -c"
1996    break
1997  elif test -f "$ac_dir/shtool"; then
1998    ac_aux_dir=$ac_dir
1999    ac_install_sh="$ac_aux_dir/shtool install -c"
2000    break
2001  fi
2002done
2003if test -z "$ac_aux_dir"; then
2004  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2005echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2006   { (exit 1); exit 1; }; }
2007fi
2008
2009# These three variables are undocumented and unsupported,
2010# and are intended to be withdrawn in a future Autoconf release.
2011# They can cause serious problems if a builder's source tree is in a directory
2012# whose full name contains unusual characters.
2013ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2014ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2015ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2016
2017
2018# Find a good install program.  We prefer a C program (faster),
2019# so one script is as good as another.  But avoid the broken or
2020# incompatible versions:
2021# SysV /etc/install, /usr/sbin/install
2022# SunOS /usr/etc/install
2023# IRIX /sbin/install
2024# AIX /bin/install
2025# AmigaOS /C/install, which installs bootblocks on floppy discs
2026# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2027# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2028# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2029# OS/2's system install, which has a completely different semantic
2030# ./install, which can be erroneously created by make from ./install.sh.
2031{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2032echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
2033if test -z "$INSTALL"; then
2034if test "${ac_cv_path_install+set}" = set; then
2035  echo $ECHO_N "(cached) $ECHO_C" >&6
2036else
2037  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2038for as_dir in $PATH
2039do
2040  IFS=$as_save_IFS
2041  test -z "$as_dir" && as_dir=.
2042  # Account for people who put trailing slashes in PATH elements.
2043case $as_dir/ in
2044  ./ | .// | /cC/* | \
2045  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2046  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2047  /usr/ucb/* ) ;;
2048  *)
2049    # OSF1 and SCO ODT 3.0 have their own names for install.
2050    # Don't use installbsd from OSF since it installs stuff as root
2051    # by default.
2052    for ac_prog in ginstall scoinst install; do
2053      for ac_exec_ext in '' $ac_executable_extensions; do
2054	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2055	  if test $ac_prog = install &&
2056	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2057	    # AIX install.  It has an incompatible calling convention.
2058	    :
2059	  elif test $ac_prog = install &&
2060	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2061	    # program-specific install script used by HP pwplus--don't use.
2062	    :
2063	  else
2064	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2065	    break 3
2066	  fi
2067	fi
2068      done
2069    done
2070    ;;
2071esac
2072done
2073IFS=$as_save_IFS
2074
2075
2076fi
2077  if test "${ac_cv_path_install+set}" = set; then
2078    INSTALL=$ac_cv_path_install
2079  else
2080    # As a last resort, use the slow shell script.  Don't cache a
2081    # value for INSTALL within a source directory, because that will
2082    # break other packages using the cache if that directory is
2083    # removed, or if the value is a relative name.
2084    INSTALL=$ac_install_sh
2085  fi
2086fi
2087{ echo "$as_me:$LINENO: result: $INSTALL" >&5
2088echo "${ECHO_T}$INSTALL" >&6; }
2089
2090# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2091# It thinks the first close brace ends the variable substitution.
2092test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2093
2094test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2095
2096test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2097
2098{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2099echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2100# Just in case
2101sleep 1
2102echo timestamp > conftest.file
2103# Do `set' in a subshell so we don't clobber the current shell's
2104# arguments.  Must try -L first in case configure is actually a
2105# symlink; some systems play weird games with the mod time of symlinks
2106# (eg FreeBSD returns the mod time of the symlink's containing
2107# directory).
2108if (
2109   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2110   if test "$*" = "X"; then
2111      # -L didn't work.
2112      set X `ls -t $srcdir/configure conftest.file`
2113   fi
2114   rm -f conftest.file
2115   if test "$*" != "X $srcdir/configure conftest.file" \
2116      && test "$*" != "X conftest.file $srcdir/configure"; then
2117
2118      # If neither matched, then we have a broken ls.  This can happen
2119      # if, for instance, CONFIG_SHELL is bash and it inherits a
2120      # broken ls alias from the environment.  This has actually
2121      # happened.  Such a system could not be considered "sane".
2122      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
2123alias in your environment" >&5
2124echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
2125alias in your environment" >&2;}
2126   { (exit 1); exit 1; }; }
2127   fi
2128
2129   test "$2" = conftest.file
2130   )
2131then
2132   # Ok.
2133   :
2134else
2135   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2136Check your system clock" >&5
2137echo "$as_me: error: newly created file is older than distributed files!
2138Check your system clock" >&2;}
2139   { (exit 1); exit 1; }; }
2140fi
2141{ echo "$as_me:$LINENO: result: yes" >&5
2142echo "${ECHO_T}yes" >&6; }
2143test "$program_prefix" != NONE &&
2144  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2145# Use a double $ so make ignores it.
2146test "$program_suffix" != NONE &&
2147  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2148# Double any \ or $.  echo might interpret backslashes.
2149# By default was `s,x,x', remove it if useless.
2150cat <<\_ACEOF >conftest.sed
2151s/[\\$]/&&/g;s/;s,x,x,$//
2152_ACEOF
2153program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2154rm -f conftest.sed
2155
2156# expand $ac_aux_dir to an absolute path
2157am_aux_dir=`cd $ac_aux_dir && pwd`
2158
2159test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2160# Use eval to expand $SHELL
2161if eval "$MISSING --run true"; then
2162  am_missing_run="$MISSING --run "
2163else
2164  am_missing_run=
2165  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2166echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2167fi
2168
2169{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2170echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2171if test -z "$MKDIR_P"; then
2172  if test "${ac_cv_path_mkdir+set}" = set; then
2173  echo $ECHO_N "(cached) $ECHO_C" >&6
2174else
2175  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2176for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2177do
2178  IFS=$as_save_IFS
2179  test -z "$as_dir" && as_dir=.
2180  for ac_prog in mkdir gmkdir; do
2181	 for ac_exec_ext in '' $ac_executable_extensions; do
2182	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2183	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2184	     'mkdir (GNU coreutils) '* | \
2185	     'mkdir (coreutils) '* | \
2186	     'mkdir (fileutils) '4.1*)
2187	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2188	       break 3;;
2189	   esac
2190	 done
2191       done
2192done
2193IFS=$as_save_IFS
2194
2195fi
2196
2197  if test "${ac_cv_path_mkdir+set}" = set; then
2198    MKDIR_P="$ac_cv_path_mkdir -p"
2199  else
2200    # As a last resort, use the slow shell script.  Don't cache a
2201    # value for MKDIR_P within a source directory, because that will
2202    # break other packages using the cache if that directory is
2203    # removed, or if the value is a relative name.
2204    test -d ./--version && rmdir ./--version
2205    MKDIR_P="$ac_install_sh -d"
2206  fi
2207fi
2208{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2209echo "${ECHO_T}$MKDIR_P" >&6; }
2210
2211mkdir_p="$MKDIR_P"
2212case $mkdir_p in
2213  [\\/$]* | ?:[\\/]*) ;;
2214  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2215esac
2216
2217for ac_prog in gawk mawk nawk awk
2218do
2219  # Extract the first word of "$ac_prog", so it can be a program name with args.
2220set dummy $ac_prog; ac_word=$2
2221{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2222echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2223if test "${ac_cv_prog_AWK+set}" = set; then
2224  echo $ECHO_N "(cached) $ECHO_C" >&6
2225else
2226  if test -n "$AWK"; then
2227  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2228else
2229as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2230for as_dir in $PATH
2231do
2232  IFS=$as_save_IFS
2233  test -z "$as_dir" && as_dir=.
2234  for ac_exec_ext in '' $ac_executable_extensions; do
2235  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2236    ac_cv_prog_AWK="$ac_prog"
2237    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2238    break 2
2239  fi
2240done
2241done
2242IFS=$as_save_IFS
2243
2244fi
2245fi
2246AWK=$ac_cv_prog_AWK
2247if test -n "$AWK"; then
2248  { echo "$as_me:$LINENO: result: $AWK" >&5
2249echo "${ECHO_T}$AWK" >&6; }
2250else
2251  { echo "$as_me:$LINENO: result: no" >&5
2252echo "${ECHO_T}no" >&6; }
2253fi
2254
2255
2256  test -n "$AWK" && break
2257done
2258
2259{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2260echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2261set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2262if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2263  echo $ECHO_N "(cached) $ECHO_C" >&6
2264else
2265  cat >conftest.make <<\_ACEOF
2266SHELL = /bin/sh
2267all:
2268	@echo '@@@%%%=$(MAKE)=@@@%%%'
2269_ACEOF
2270# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2271case `${MAKE-make} -f conftest.make 2>/dev/null` in
2272  *@@@%%%=?*=@@@%%%*)
2273    eval ac_cv_prog_make_${ac_make}_set=yes;;
2274  *)
2275    eval ac_cv_prog_make_${ac_make}_set=no;;
2276esac
2277rm -f conftest.make
2278fi
2279if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2280  { echo "$as_me:$LINENO: result: yes" >&5
2281echo "${ECHO_T}yes" >&6; }
2282  SET_MAKE=
2283else
2284  { echo "$as_me:$LINENO: result: no" >&5
2285echo "${ECHO_T}no" >&6; }
2286  SET_MAKE="MAKE=${MAKE-make}"
2287fi
2288
2289rm -rf .tst 2>/dev/null
2290mkdir .tst 2>/dev/null
2291if test -d .tst; then
2292  am__leading_dot=.
2293else
2294  am__leading_dot=_
2295fi
2296rmdir .tst 2>/dev/null
2297
2298if test "`cd $srcdir && pwd`" != "`pwd`"; then
2299  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2300  # is not polluted with repeated "-I."
2301  am__isrc=' -I$(srcdir)'
2302  # test to see if srcdir already configured
2303  if test -f $srcdir/config.status; then
2304    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2305echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2306   { (exit 1); exit 1; }; }
2307  fi
2308fi
2309
2310# test whether we have cygpath
2311if test -z "$CYGPATH_W"; then
2312  if (cygpath --version) >/dev/null 2>/dev/null; then
2313    CYGPATH_W='cygpath -w'
2314  else
2315    CYGPATH_W=echo
2316  fi
2317fi
2318
2319
2320# Define the identity of the package.
2321 PACKAGE='libbpm'
2322 VERSION='0.3'
2323
2324
2325cat >>confdefs.h <<_ACEOF
2326#define PACKAGE "$PACKAGE"
2327_ACEOF
2328
2329
2330cat >>confdefs.h <<_ACEOF
2331#define VERSION "$VERSION"
2332_ACEOF
2333
2334# Some tools Automake needs.
2335
2336ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2337
2338
2339AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2340
2341
2342AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2343
2344
2345AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2346
2347
2348MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2349
2350install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2351
2352# Installed binaries are usually stripped using `strip' when the user
2353# run `make install-strip'.  However `strip' might not be the right
2354# tool to use in cross-compilation environments, therefore Automake
2355# will honor the `STRIP' environment variable to overrule this program.
2356if test "$cross_compiling" != no; then
2357  if test -n "$ac_tool_prefix"; then
2358  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2359set dummy ${ac_tool_prefix}strip; ac_word=$2
2360{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2361echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2362if test "${ac_cv_prog_STRIP+set}" = set; then
2363  echo $ECHO_N "(cached) $ECHO_C" >&6
2364else
2365  if test -n "$STRIP"; then
2366  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2367else
2368as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369for as_dir in $PATH
2370do
2371  IFS=$as_save_IFS
2372  test -z "$as_dir" && as_dir=.
2373  for ac_exec_ext in '' $ac_executable_extensions; do
2374  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2375    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2376    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2377    break 2
2378  fi
2379done
2380done
2381IFS=$as_save_IFS
2382
2383fi
2384fi
2385STRIP=$ac_cv_prog_STRIP
2386if test -n "$STRIP"; then
2387  { echo "$as_me:$LINENO: result: $STRIP" >&5
2388echo "${ECHO_T}$STRIP" >&6; }
2389else
2390  { echo "$as_me:$LINENO: result: no" >&5
2391echo "${ECHO_T}no" >&6; }
2392fi
2393
2394
2395fi
2396if test -z "$ac_cv_prog_STRIP"; then
2397  ac_ct_STRIP=$STRIP
2398  # Extract the first word of "strip", so it can be a program name with args.
2399set dummy strip; ac_word=$2
2400{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2401echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2402if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2403  echo $ECHO_N "(cached) $ECHO_C" >&6
2404else
2405  if test -n "$ac_ct_STRIP"; then
2406  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2407else
2408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2409for as_dir in $PATH
2410do
2411  IFS=$as_save_IFS
2412  test -z "$as_dir" && as_dir=.
2413  for ac_exec_ext in '' $ac_executable_extensions; do
2414  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2415    ac_cv_prog_ac_ct_STRIP="strip"
2416    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2417    break 2
2418  fi
2419done
2420done
2421IFS=$as_save_IFS
2422
2423fi
2424fi
2425ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2426if test -n "$ac_ct_STRIP"; then
2427  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2428echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2429else
2430  { echo "$as_me:$LINENO: result: no" >&5
2431echo "${ECHO_T}no" >&6; }
2432fi
2433
2434  if test "x$ac_ct_STRIP" = x; then
2435    STRIP=":"
2436  else
2437    case $cross_compiling:$ac_tool_warned in
2438yes:)
2439{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2440whose name does not start with the host triplet.  If you think this
2441configuration is useful to you, please write to autoconf@gnu.org." >&5
2442echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2443whose name does not start with the host triplet.  If you think this
2444configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2445ac_tool_warned=yes ;;
2446esac
2447    STRIP=$ac_ct_STRIP
2448  fi
2449else
2450  STRIP="$ac_cv_prog_STRIP"
2451fi
2452
2453fi
2454INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2455
2456# We need awk for the "check" target.  The system "awk" is bad on
2457# some platforms.
2458# Always define AMTAR for backward compatibility.
2459
2460AMTAR=${AMTAR-"${am_missing_run}tar"}
2461
2462am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2463
2464
2465
2466
2467
2468{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2469echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2470set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2471if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2472  echo $ECHO_N "(cached) $ECHO_C" >&6
2473else
2474  cat >conftest.make <<\_ACEOF
2475SHELL = /bin/sh
2476all:
2477	@echo '@@@%%%=$(MAKE)=@@@%%%'
2478_ACEOF
2479# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2480case `${MAKE-make} -f conftest.make 2>/dev/null` in
2481  *@@@%%%=?*=@@@%%%*)
2482    eval ac_cv_prog_make_${ac_make}_set=yes;;
2483  *)
2484    eval ac_cv_prog_make_${ac_make}_set=no;;
2485esac
2486rm -f conftest.make
2487fi
2488if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2489  { echo "$as_me:$LINENO: result: yes" >&5
2490echo "${ECHO_T}yes" >&6; }
2491  SET_MAKE=
2492else
2493  { echo "$as_me:$LINENO: result: no" >&5
2494echo "${ECHO_T}no" >&6; }
2495  SET_MAKE="MAKE=${MAKE-make}"
2496fi
2497
2498
2499# Make sure we can run config.sub.
2500$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2501  { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2502echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2503   { (exit 1); exit 1; }; }
2504
2505{ echo "$as_me:$LINENO: checking build system type" >&5
2506echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2507if test "${ac_cv_build+set}" = set; then
2508  echo $ECHO_N "(cached) $ECHO_C" >&6
2509else
2510  ac_build_alias=$build_alias
2511test "x$ac_build_alias" = x &&
2512  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2513test "x$ac_build_alias" = x &&
2514  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2515echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2516   { (exit 1); exit 1; }; }
2517ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2518  { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2519echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2520   { (exit 1); exit 1; }; }
2521
2522fi
2523{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2524echo "${ECHO_T}$ac_cv_build" >&6; }
2525case $ac_cv_build in
2526*-*-*) ;;
2527*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2528echo "$as_me: error: invalid value of canonical build" >&2;}
2529   { (exit 1); exit 1; }; };;
2530esac
2531build=$ac_cv_build
2532ac_save_IFS=$IFS; IFS='-'
2533set x $ac_cv_build
2534shift
2535build_cpu=$1
2536build_vendor=$2
2537shift; shift
2538# Remember, the first character of IFS is used to create $*,
2539# except with old shells:
2540build_os=$*
2541IFS=$ac_save_IFS
2542case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2543
2544
2545{ echo "$as_me:$LINENO: checking host system type" >&5
2546echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2547if test "${ac_cv_host+set}" = set; then
2548  echo $ECHO_N "(cached) $ECHO_C" >&6
2549else
2550  if test "x$host_alias" = x; then
2551  ac_cv_host=$ac_cv_build
2552else
2553  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2554    { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2555echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2556   { (exit 1); exit 1; }; }
2557fi
2558
2559fi
2560{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2561echo "${ECHO_T}$ac_cv_host" >&6; }
2562case $ac_cv_host in
2563*-*-*) ;;
2564*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2565echo "$as_me: error: invalid value of canonical host" >&2;}
2566   { (exit 1); exit 1; }; };;
2567esac
2568host=$ac_cv_host
2569ac_save_IFS=$IFS; IFS='-'
2570set x $ac_cv_host
2571shift
2572host_cpu=$1
2573host_vendor=$2
2574shift; shift
2575# Remember, the first character of IFS is used to create $*,
2576# except with old shells:
2577host_os=$*
2578IFS=$ac_save_IFS
2579case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2580
2581
2582
2583ac_ext=c
2584ac_cpp='$CPP $CPPFLAGS'
2585ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2586ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2587ac_compiler_gnu=$ac_cv_c_compiler_gnu
2588
2589ac_ext=c
2590ac_cpp='$CPP $CPPFLAGS'
2591ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2592ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2593ac_compiler_gnu=$ac_cv_c_compiler_gnu
2594if test -n "$ac_tool_prefix"; then
2595  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2596set dummy ${ac_tool_prefix}gcc; ac_word=$2
2597{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2598echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2599if test "${ac_cv_prog_CC+set}" = set; then
2600  echo $ECHO_N "(cached) $ECHO_C" >&6
2601else
2602  if test -n "$CC"; then
2603  ac_cv_prog_CC="$CC" # Let the user override the test.
2604else
2605as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2606for as_dir in $PATH
2607do
2608  IFS=$as_save_IFS
2609  test -z "$as_dir" && as_dir=.
2610  for ac_exec_ext in '' $ac_executable_extensions; do
2611  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2612    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2613    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2614    break 2
2615  fi
2616done
2617done
2618IFS=$as_save_IFS
2619
2620fi
2621fi
2622CC=$ac_cv_prog_CC
2623if test -n "$CC"; then
2624  { echo "$as_me:$LINENO: result: $CC" >&5
2625echo "${ECHO_T}$CC" >&6; }
2626else
2627  { echo "$as_me:$LINENO: result: no" >&5
2628echo "${ECHO_T}no" >&6; }
2629fi
2630
2631
2632fi
2633if test -z "$ac_cv_prog_CC"; then
2634  ac_ct_CC=$CC
2635  # Extract the first word of "gcc", so it can be a program name with args.
2636set dummy gcc; ac_word=$2
2637{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2638echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2639if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2640  echo $ECHO_N "(cached) $ECHO_C" >&6
2641else
2642  if test -n "$ac_ct_CC"; then
2643  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2644else
2645as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2646for as_dir in $PATH
2647do
2648  IFS=$as_save_IFS
2649  test -z "$as_dir" && as_dir=.
2650  for ac_exec_ext in '' $ac_executable_extensions; do
2651  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2652    ac_cv_prog_ac_ct_CC="gcc"
2653    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2654    break 2
2655  fi
2656done
2657done
2658IFS=$as_save_IFS
2659
2660fi
2661fi
2662ac_ct_CC=$ac_cv_prog_ac_ct_CC
2663if test -n "$ac_ct_CC"; then
2664  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2665echo "${ECHO_T}$ac_ct_CC" >&6; }
2666else
2667  { echo "$as_me:$LINENO: result: no" >&5
2668echo "${ECHO_T}no" >&6; }
2669fi
2670
2671  if test "x$ac_ct_CC" = x; then
2672    CC=""
2673  else
2674    case $cross_compiling:$ac_tool_warned in
2675yes:)
2676{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2677whose name does not start with the host triplet.  If you think this
2678configuration is useful to you, please write to autoconf@gnu.org." >&5
2679echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2680whose name does not start with the host triplet.  If you think this
2681configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2682ac_tool_warned=yes ;;
2683esac
2684    CC=$ac_ct_CC
2685  fi
2686else
2687  CC="$ac_cv_prog_CC"
2688fi
2689
2690if test -z "$CC"; then
2691          if test -n "$ac_tool_prefix"; then
2692    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2693set dummy ${ac_tool_prefix}cc; ac_word=$2
2694{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2695echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2696if test "${ac_cv_prog_CC+set}" = set; then
2697  echo $ECHO_N "(cached) $ECHO_C" >&6
2698else
2699  if test -n "$CC"; then
2700  ac_cv_prog_CC="$CC" # Let the user override the test.
2701else
2702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2703for as_dir in $PATH
2704do
2705  IFS=$as_save_IFS
2706  test -z "$as_dir" && as_dir=.
2707  for ac_exec_ext in '' $ac_executable_extensions; do
2708  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2709    ac_cv_prog_CC="${ac_tool_prefix}cc"
2710    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2711    break 2
2712  fi
2713done
2714done
2715IFS=$as_save_IFS
2716
2717fi
2718fi
2719CC=$ac_cv_prog_CC
2720if test -n "$CC"; then
2721  { echo "$as_me:$LINENO: result: $CC" >&5
2722echo "${ECHO_T}$CC" >&6; }
2723else
2724  { echo "$as_me:$LINENO: result: no" >&5
2725echo "${ECHO_T}no" >&6; }
2726fi
2727
2728
2729  fi
2730fi
2731if test -z "$CC"; then
2732  # Extract the first word of "cc", so it can be a program name with args.
2733set dummy cc; ac_word=$2
2734{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2735echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2736if test "${ac_cv_prog_CC+set}" = set; then
2737  echo $ECHO_N "(cached) $ECHO_C" >&6
2738else
2739  if test -n "$CC"; then
2740  ac_cv_prog_CC="$CC" # Let the user override the test.
2741else
2742  ac_prog_rejected=no
2743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2744for as_dir in $PATH
2745do
2746  IFS=$as_save_IFS
2747  test -z "$as_dir" && as_dir=.
2748  for ac_exec_ext in '' $ac_executable_extensions; do
2749  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2750    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2751       ac_prog_rejected=yes
2752       continue
2753     fi
2754    ac_cv_prog_CC="cc"
2755    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2756    break 2
2757  fi
2758done
2759done
2760IFS=$as_save_IFS
2761
2762if test $ac_prog_rejected = yes; then
2763  # We found a bogon in the path, so make sure we never use it.
2764  set dummy $ac_cv_prog_CC
2765  shift
2766  if test $# != 0; then
2767    # We chose a different compiler from the bogus one.
2768    # However, it has the same basename, so the bogon will be chosen
2769    # first if we set CC to just the basename; use the full file name.
2770    shift
2771    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2772  fi
2773fi
2774fi
2775fi
2776CC=$ac_cv_prog_CC
2777if test -n "$CC"; then
2778  { echo "$as_me:$LINENO: result: $CC" >&5
2779echo "${ECHO_T}$CC" >&6; }
2780else
2781  { echo "$as_me:$LINENO: result: no" >&5
2782echo "${ECHO_T}no" >&6; }
2783fi
2784
2785
2786fi
2787if test -z "$CC"; then
2788  if test -n "$ac_tool_prefix"; then
2789  for ac_prog in cl.exe
2790  do
2791    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2792set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2793{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2794echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2795if test "${ac_cv_prog_CC+set}" = set; then
2796  echo $ECHO_N "(cached) $ECHO_C" >&6
2797else
2798  if test -n "$CC"; then
2799  ac_cv_prog_CC="$CC" # Let the user override the test.
2800else
2801as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2802for as_dir in $PATH
2803do
2804  IFS=$as_save_IFS
2805  test -z "$as_dir" && as_dir=.
2806  for ac_exec_ext in '' $ac_executable_extensions; do
2807  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2808    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2809    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810    break 2
2811  fi
2812done
2813done
2814IFS=$as_save_IFS
2815
2816fi
2817fi
2818CC=$ac_cv_prog_CC
2819if test -n "$CC"; then
2820  { echo "$as_me:$LINENO: result: $CC" >&5
2821echo "${ECHO_T}$CC" >&6; }
2822else
2823  { echo "$as_me:$LINENO: result: no" >&5
2824echo "${ECHO_T}no" >&6; }
2825fi
2826
2827
2828    test -n "$CC" && break
2829  done
2830fi
2831if test -z "$CC"; then
2832  ac_ct_CC=$CC
2833  for ac_prog in cl.exe
2834do
2835  # Extract the first word of "$ac_prog", so it can be a program name with args.
2836set dummy $ac_prog; ac_word=$2
2837{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2838echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2839if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2840  echo $ECHO_N "(cached) $ECHO_C" >&6
2841else
2842  if test -n "$ac_ct_CC"; then
2843  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2844else
2845as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846for as_dir in $PATH
2847do
2848  IFS=$as_save_IFS
2849  test -z "$as_dir" && as_dir=.
2850  for ac_exec_ext in '' $ac_executable_extensions; do
2851  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2852    ac_cv_prog_ac_ct_CC="$ac_prog"
2853    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2854    break 2
2855  fi
2856done
2857done
2858IFS=$as_save_IFS
2859
2860fi
2861fi
2862ac_ct_CC=$ac_cv_prog_ac_ct_CC
2863if test -n "$ac_ct_CC"; then
2864  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2865echo "${ECHO_T}$ac_ct_CC" >&6; }
2866else
2867  { echo "$as_me:$LINENO: result: no" >&5
2868echo "${ECHO_T}no" >&6; }
2869fi
2870
2871
2872  test -n "$ac_ct_CC" && break
2873done
2874
2875  if test "x$ac_ct_CC" = x; then
2876    CC=""
2877  else
2878    case $cross_compiling:$ac_tool_warned in
2879yes:)
2880{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2881whose name does not start with the host triplet.  If you think this
2882configuration is useful to you, please write to autoconf@gnu.org." >&5
2883echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2884whose name does not start with the host triplet.  If you think this
2885configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2886ac_tool_warned=yes ;;
2887esac
2888    CC=$ac_ct_CC
2889  fi
2890fi
2891
2892fi
2893
2894
2895test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2896See \`config.log' for more details." >&5
2897echo "$as_me: error: no acceptable C compiler found in \$PATH
2898See \`config.log' for more details." >&2;}
2899   { (exit 1); exit 1; }; }
2900
2901# Provide some information about the compiler.
2902echo "$as_me:$LINENO: checking for C compiler version" >&5
2903ac_compiler=`set X $ac_compile; echo $2`
2904{ (ac_try="$ac_compiler --version >&5"
2905case "(($ac_try" in
2906  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907  *) ac_try_echo=$ac_try;;
2908esac
2909eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910  (eval "$ac_compiler --version >&5") 2>&5
2911  ac_status=$?
2912  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913  (exit $ac_status); }
2914{ (ac_try="$ac_compiler -v >&5"
2915case "(($ac_try" in
2916  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2917  *) ac_try_echo=$ac_try;;
2918esac
2919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2920  (eval "$ac_compiler -v >&5") 2>&5
2921  ac_status=$?
2922  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923  (exit $ac_status); }
2924{ (ac_try="$ac_compiler -V >&5"
2925case "(($ac_try" in
2926  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2927  *) ac_try_echo=$ac_try;;
2928esac
2929eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2930  (eval "$ac_compiler -V >&5") 2>&5
2931  ac_status=$?
2932  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933  (exit $ac_status); }
2934
2935cat >conftest.$ac_ext <<_ACEOF
2936/* confdefs.h.  */
2937_ACEOF
2938cat confdefs.h >>conftest.$ac_ext
2939cat >>conftest.$ac_ext <<_ACEOF
2940/* end confdefs.h.  */
2941
2942int
2943main ()
2944{
2945
2946  ;
2947  return 0;
2948}
2949_ACEOF
2950ac_clean_files_save=$ac_clean_files
2951ac_clean_files="$ac_clean_files a.out a.exe b.out"
2952# Try to create an executable without -o first, disregard a.out.
2953# It will help us diagnose broken compilers, and finding out an intuition
2954# of exeext.
2955{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2956echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2957ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2958#
2959# List of possible output files, starting from the most likely.
2960# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2961# only as a last resort.  b.out is created by i960 compilers.
2962ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2963#
2964# The IRIX 6 linker writes into existing files which may not be
2965# executable, retaining their permissions.  Remove them first so a
2966# subsequent execution test works.
2967ac_rmfiles=
2968for ac_file in $ac_files
2969do
2970  case $ac_file in
2971    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2972    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2973  esac
2974done
2975rm -f $ac_rmfiles
2976
2977if { (ac_try="$ac_link_default"
2978case "(($ac_try" in
2979  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2980  *) ac_try_echo=$ac_try;;
2981esac
2982eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2983  (eval "$ac_link_default") 2>&5
2984  ac_status=$?
2985  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986  (exit $ac_status); }; then
2987  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2988# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2989# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2990# so that the user can short-circuit this test for compilers unknown to
2991# Autoconf.
2992for ac_file in $ac_files ''
2993do
2994  test -f "$ac_file" || continue
2995  case $ac_file in
2996    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2997	;;
2998    [ab].out )
2999	# We found the default executable, but exeext='' is most
3000	# certainly right.
3001	break;;
3002    *.* )
3003        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3004	then :; else
3005	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3006	fi
3007	# We set ac_cv_exeext here because the later test for it is not
3008	# safe: cross compilers may not add the suffix if given an `-o'
3009	# argument, so we may need to know it at that point already.
3010	# Even if this section looks crufty: it has the advantage of
3011	# actually working.
3012	break;;
3013    * )
3014	break;;
3015  esac
3016done
3017test "$ac_cv_exeext" = no && ac_cv_exeext=
3018
3019else
3020  ac_file=''
3021fi
3022
3023{ echo "$as_me:$LINENO: result: $ac_file" >&5
3024echo "${ECHO_T}$ac_file" >&6; }
3025if test -z "$ac_file"; then
3026  echo "$as_me: failed program was:" >&5
3027sed 's/^/| /' conftest.$ac_ext >&5
3028
3029{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
3030See \`config.log' for more details." >&5
3031echo "$as_me: error: C compiler cannot create executables
3032See \`config.log' for more details." >&2;}
3033   { (exit 77); exit 77; }; }
3034fi
3035
3036ac_exeext=$ac_cv_exeext
3037
3038# Check that the compiler produces executables we can run.  If not, either
3039# the compiler is broken, or we cross compile.
3040{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3041echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
3042# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3043# If not cross compiling, check that we can run a simple program.
3044if test "$cross_compiling" != yes; then
3045  if { ac_try='./$ac_file'
3046  { (case "(($ac_try" in
3047  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3048  *) ac_try_echo=$ac_try;;
3049esac
3050eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3051  (eval "$ac_try") 2>&5
3052  ac_status=$?
3053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054  (exit $ac_status); }; }; then
3055    cross_compiling=no
3056  else
3057    if test "$cross_compiling" = maybe; then
3058	cross_compiling=yes
3059    else
3060	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
3061If you meant to cross compile, use \`--host'.
3062See \`config.log' for more details." >&5
3063echo "$as_me: error: cannot run C compiled programs.
3064If you meant to cross compile, use \`--host'.
3065See \`config.log' for more details." >&2;}
3066   { (exit 1); exit 1; }; }
3067    fi
3068  fi
3069fi
3070{ echo "$as_me:$LINENO: result: yes" >&5
3071echo "${ECHO_T}yes" >&6; }
3072
3073rm -f a.out a.exe conftest$ac_cv_exeext b.out
3074ac_clean_files=$ac_clean_files_save
3075# Check that the compiler produces executables we can run.  If not, either
3076# the compiler is broken, or we cross compile.
3077{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3078echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
3079{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
3080echo "${ECHO_T}$cross_compiling" >&6; }
3081
3082{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
3083echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
3084if { (ac_try="$ac_link"
3085case "(($ac_try" in
3086  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3087  *) ac_try_echo=$ac_try;;
3088esac
3089eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3090  (eval "$ac_link") 2>&5
3091  ac_status=$?
3092  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093  (exit $ac_status); }; then
3094  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3095# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3096# work properly (i.e., refer to `conftest.exe'), while it won't with
3097# `rm'.
3098for ac_file in conftest.exe conftest conftest.*; do
3099  test -f "$ac_file" || continue
3100  case $ac_file in
3101    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
3102    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3103	  break;;
3104    * ) break;;
3105  esac
3106done
3107else
3108  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3109See \`config.log' for more details." >&5
3110echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3111See \`config.log' for more details." >&2;}
3112   { (exit 1); exit 1; }; }
3113fi
3114
3115rm -f conftest$ac_cv_exeext
3116{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3117echo "${ECHO_T}$ac_cv_exeext" >&6; }
3118
3119rm -f conftest.$ac_ext
3120EXEEXT=$ac_cv_exeext
3121ac_exeext=$EXEEXT
3122{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
3123echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
3124if test "${ac_cv_objext+set}" = set; then
3125  echo $ECHO_N "(cached) $ECHO_C" >&6
3126else
3127  cat >conftest.$ac_ext <<_ACEOF
3128/* confdefs.h.  */
3129_ACEOF
3130cat confdefs.h >>conftest.$ac_ext
3131cat >>conftest.$ac_ext <<_ACEOF
3132/* end confdefs.h.  */
3133
3134int
3135main ()
3136{
3137
3138  ;
3139  return 0;
3140}
3141_ACEOF
3142rm -f conftest.o conftest.obj
3143if { (ac_try="$ac_compile"
3144case "(($ac_try" in
3145  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146  *) ac_try_echo=$ac_try;;
3147esac
3148eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3149  (eval "$ac_compile") 2>&5
3150  ac_status=$?
3151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152  (exit $ac_status); }; then
3153  for ac_file in conftest.o conftest.obj conftest.*; do
3154  test -f "$ac_file" || continue;
3155  case $ac_file in
3156    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3157    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3158       break;;
3159  esac
3160done
3161else
3162  echo "$as_me: failed program was:" >&5
3163sed 's/^/| /' conftest.$ac_ext >&5
3164
3165{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3166See \`config.log' for more details." >&5
3167echo "$as_me: error: cannot compute suffix of object files: cannot compile
3168See \`config.log' for more details." >&2;}
3169   { (exit 1); exit 1; }; }
3170fi
3171
3172rm -f conftest.$ac_cv_objext conftest.$ac_ext
3173fi
3174{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3175echo "${ECHO_T}$ac_cv_objext" >&6; }
3176OBJEXT=$ac_cv_objext
3177ac_objext=$OBJEXT
3178{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3179echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3180if test "${ac_cv_c_compiler_gnu+set}" = set; then
3181  echo $ECHO_N "(cached) $ECHO_C" >&6
3182else
3183  cat >conftest.$ac_ext <<_ACEOF
3184/* confdefs.h.  */
3185_ACEOF
3186cat confdefs.h >>conftest.$ac_ext
3187cat >>conftest.$ac_ext <<_ACEOF
3188/* end confdefs.h.  */
3189
3190int
3191main ()
3192{
3193#ifndef __GNUC__
3194       choke me
3195#endif
3196
3197  ;
3198  return 0;
3199}
3200_ACEOF
3201rm -f conftest.$ac_objext
3202if { (ac_try="$ac_compile"
3203case "(($ac_try" in
3204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3205  *) ac_try_echo=$ac_try;;
3206esac
3207eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3208  (eval "$ac_compile") 2>conftest.er1
3209  ac_status=$?
3210  grep -v '^ *+' conftest.er1 >conftest.err
3211  rm -f conftest.er1
3212  cat conftest.err >&5
3213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214  (exit $ac_status); } && {
3215	 test -z "$ac_c_werror_flag" ||
3216	 test ! -s conftest.err
3217       } && test -s conftest.$ac_objext; then
3218  ac_compiler_gnu=yes
3219else
3220  echo "$as_me: failed program was:" >&5
3221sed 's/^/| /' conftest.$ac_ext >&5
3222
3223	ac_compiler_gnu=no
3224fi
3225
3226rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3227ac_cv_c_compiler_gnu=$ac_compiler_gnu
3228
3229fi
3230{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3231echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3232GCC=`test $ac_compiler_gnu = yes && echo yes`
3233ac_test_CFLAGS=${CFLAGS+set}
3234ac_save_CFLAGS=$CFLAGS
3235{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3236echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3237if test "${ac_cv_prog_cc_g+set}" = set; then
3238  echo $ECHO_N "(cached) $ECHO_C" >&6
3239else
3240  ac_save_c_werror_flag=$ac_c_werror_flag
3241   ac_c_werror_flag=yes
3242   ac_cv_prog_cc_g=no
3243   CFLAGS="-g"
3244   cat >conftest.$ac_ext <<_ACEOF
3245/* confdefs.h.  */
3246_ACEOF
3247cat confdefs.h >>conftest.$ac_ext
3248cat >>conftest.$ac_ext <<_ACEOF
3249/* end confdefs.h.  */
3250
3251int
3252main ()
3253{
3254
3255  ;
3256  return 0;
3257}
3258_ACEOF
3259rm -f conftest.$ac_objext
3260if { (ac_try="$ac_compile"
3261case "(($ac_try" in
3262  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3263  *) ac_try_echo=$ac_try;;
3264esac
3265eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3266  (eval "$ac_compile") 2>conftest.er1
3267  ac_status=$?
3268  grep -v '^ *+' conftest.er1 >conftest.err
3269  rm -f conftest.er1
3270  cat conftest.err >&5
3271  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272  (exit $ac_status); } && {
3273	 test -z "$ac_c_werror_flag" ||
3274	 test ! -s conftest.err
3275       } && test -s conftest.$ac_objext; then
3276  ac_cv_prog_cc_g=yes
3277else
3278  echo "$as_me: failed program was:" >&5
3279sed 's/^/| /' conftest.$ac_ext >&5
3280
3281	CFLAGS=""
3282      cat >conftest.$ac_ext <<_ACEOF
3283/* confdefs.h.  */
3284_ACEOF
3285cat confdefs.h >>conftest.$ac_ext
3286cat >>conftest.$ac_ext <<_ACEOF
3287/* end confdefs.h.  */
3288
3289int
3290main ()
3291{
3292
3293  ;
3294  return 0;
3295}
3296_ACEOF
3297rm -f conftest.$ac_objext
3298if { (ac_try="$ac_compile"
3299case "(($ac_try" in
3300  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301  *) ac_try_echo=$ac_try;;
3302esac
3303eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304  (eval "$ac_compile") 2>conftest.er1
3305  ac_status=$?
3306  grep -v '^ *+' conftest.er1 >conftest.err
3307  rm -f conftest.er1
3308  cat conftest.err >&5
3309  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310  (exit $ac_status); } && {
3311	 test -z "$ac_c_werror_flag" ||
3312	 test ! -s conftest.err
3313       } && test -s conftest.$ac_objext; then
3314  :
3315else
3316  echo "$as_me: failed program was:" >&5
3317sed 's/^/| /' conftest.$ac_ext >&5
3318
3319	ac_c_werror_flag=$ac_save_c_werror_flag
3320	 CFLAGS="-g"
3321	 cat >conftest.$ac_ext <<_ACEOF
3322/* confdefs.h.  */
3323_ACEOF
3324cat confdefs.h >>conftest.$ac_ext
3325cat >>conftest.$ac_ext <<_ACEOF
3326/* end confdefs.h.  */
3327
3328int
3329main ()
3330{
3331
3332  ;
3333  return 0;
3334}
3335_ACEOF
3336rm -f conftest.$ac_objext
3337if { (ac_try="$ac_compile"
3338case "(($ac_try" in
3339  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3340  *) ac_try_echo=$ac_try;;
3341esac
3342eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3343  (eval "$ac_compile") 2>conftest.er1
3344  ac_status=$?
3345  grep -v '^ *+' conftest.er1 >conftest.err
3346  rm -f conftest.er1
3347  cat conftest.err >&5
3348  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349  (exit $ac_status); } && {
3350	 test -z "$ac_c_werror_flag" ||
3351	 test ! -s conftest.err
3352       } && test -s conftest.$ac_objext; then
3353  ac_cv_prog_cc_g=yes
3354else
3355  echo "$as_me: failed program was:" >&5
3356sed 's/^/| /' conftest.$ac_ext >&5
3357
3358
3359fi
3360
3361rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3362fi
3363
3364rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3365fi
3366
3367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3368   ac_c_werror_flag=$ac_save_c_werror_flag
3369fi
3370{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3371echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3372if test "$ac_test_CFLAGS" = set; then
3373  CFLAGS=$ac_save_CFLAGS
3374elif test $ac_cv_prog_cc_g = yes; then
3375  if test "$GCC" = yes; then
3376    CFLAGS="-g -O2"
3377  else
3378    CFLAGS="-g"
3379  fi
3380else
3381  if test "$GCC" = yes; then
3382    CFLAGS="-O2"
3383  else
3384    CFLAGS=
3385  fi
3386fi
3387{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3388echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3389if test "${ac_cv_prog_cc_c89+set}" = set; then
3390  echo $ECHO_N "(cached) $ECHO_C" >&6
3391else
3392  ac_cv_prog_cc_c89=no
3393ac_save_CC=$CC
3394cat >conftest.$ac_ext <<_ACEOF
3395/* confdefs.h.  */
3396_ACEOF
3397cat confdefs.h >>conftest.$ac_ext
3398cat >>conftest.$ac_ext <<_ACEOF
3399/* end confdefs.h.  */
3400#include <stdarg.h>
3401#include <stdio.h>
3402#include <sys/types.h>
3403#include <sys/stat.h>
3404/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3405struct buf { int x; };
3406FILE * (*rcsopen) (struct buf *, struct stat *, int);
3407static char *e (p, i)
3408     char **p;
3409     int i;
3410{
3411  return p[i];
3412}
3413static char *f (char * (*g) (char **, int), char **p, ...)
3414{
3415  char *s;
3416  va_list v;
3417  va_start (v,p);
3418  s = g (p, va_arg (v,int));
3419  va_end (v);
3420  return s;
3421}
3422
3423/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3424   function prototypes and stuff, but not '\xHH' hex character constants.
3425   These don't provoke an error unfortunately, instead are silently treated
3426   as 'x'.  The following induces an error, until -std is added to get
3427   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3428   array size at least.  It's necessary to write '\x00'==0 to get something
3429   that's true only with -std.  */
3430int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3431
3432/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3433   inside strings and character constants.  */
3434#define FOO(x) 'x'
3435int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3436
3437int test (int i, double x);
3438struct s1 {int (*f) (int a);};
3439struct s2 {int (*f) (double a);};
3440int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3441int argc;
3442char **argv;
3443int
3444main ()
3445{
3446return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3447  ;
3448  return 0;
3449}
3450_ACEOF
3451for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3452	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3453do
3454  CC="$ac_save_CC $ac_arg"
3455  rm -f conftest.$ac_objext
3456if { (ac_try="$ac_compile"
3457case "(($ac_try" in
3458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3459  *) ac_try_echo=$ac_try;;
3460esac
3461eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3462  (eval "$ac_compile") 2>conftest.er1
3463  ac_status=$?
3464  grep -v '^ *+' conftest.er1 >conftest.err
3465  rm -f conftest.er1
3466  cat conftest.err >&5
3467  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468  (exit $ac_status); } && {
3469	 test -z "$ac_c_werror_flag" ||
3470	 test ! -s conftest.err
3471       } && test -s conftest.$ac_objext; then
3472  ac_cv_prog_cc_c89=$ac_arg
3473else
3474  echo "$as_me: failed program was:" >&5
3475sed 's/^/| /' conftest.$ac_ext >&5
3476
3477
3478fi
3479
3480rm -f core conftest.err conftest.$ac_objext
3481  test "x$ac_cv_prog_cc_c89" != "xno" && break
3482done
3483rm -f conftest.$ac_ext
3484CC=$ac_save_CC
3485
3486fi
3487# AC_CACHE_VAL
3488case "x$ac_cv_prog_cc_c89" in
3489  x)
3490    { echo "$as_me:$LINENO: result: none needed" >&5
3491echo "${ECHO_T}none needed" >&6; } ;;
3492  xno)
3493    { echo "$as_me:$LINENO: result: unsupported" >&5
3494echo "${ECHO_T}unsupported" >&6; } ;;
3495  *)
3496    CC="$CC $ac_cv_prog_cc_c89"
3497    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3498echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3499esac
3500
3501
3502ac_ext=c
3503ac_cpp='$CPP $CPPFLAGS'
3504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3506ac_compiler_gnu=$ac_cv_c_compiler_gnu
3507
3508ac_ext=c
3509ac_cpp='$CPP $CPPFLAGS'
3510ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3511ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3512ac_compiler_gnu=$ac_cv_c_compiler_gnu
3513{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3514echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3515# On Suns, sometimes $CPP names a directory.
3516if test -n "$CPP" && test -d "$CPP"; then
3517  CPP=
3518fi
3519if test -z "$CPP"; then
3520  if test "${ac_cv_prog_CPP+set}" = set; then
3521  echo $ECHO_N "(cached) $ECHO_C" >&6
3522else
3523      # Double quotes because CPP needs to be expanded
3524    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3525    do
3526      ac_preproc_ok=false
3527for ac_c_preproc_warn_flag in '' yes
3528do
3529  # Use a header file that comes with gcc, so configuring glibc
3530  # with a fresh cross-compiler works.
3531  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3532  # <limits.h> exists even on freestanding compilers.
3533  # On the NeXT, cc -E runs the code through the compiler's parser,
3534  # not just through cpp. "Syntax error" is here to catch this case.
3535  cat >conftest.$ac_ext <<_ACEOF
3536/* confdefs.h.  */
3537_ACEOF
3538cat confdefs.h >>conftest.$ac_ext
3539cat >>conftest.$ac_ext <<_ACEOF
3540/* end confdefs.h.  */
3541#ifdef __STDC__
3542# include <limits.h>
3543#else
3544# include <assert.h>
3545#endif
3546		     Syntax error
3547_ACEOF
3548if { (ac_try="$ac_cpp conftest.$ac_ext"
3549case "(($ac_try" in
3550  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3551  *) ac_try_echo=$ac_try;;
3552esac
3553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3554  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3555  ac_status=$?
3556  grep -v '^ *+' conftest.er1 >conftest.err
3557  rm -f conftest.er1
3558  cat conftest.err >&5
3559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560  (exit $ac_status); } >/dev/null && {
3561	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3562	 test ! -s conftest.err
3563       }; then
3564  :
3565else
3566  echo "$as_me: failed program was:" >&5
3567sed 's/^/| /' conftest.$ac_ext >&5
3568
3569  # Broken: fails on valid input.
3570continue
3571fi
3572
3573rm -f conftest.err conftest.$ac_ext
3574
3575  # OK, works on sane cases.  Now check whether nonexistent headers
3576  # can be detected and how.
3577  cat >conftest.$ac_ext <<_ACEOF
3578/* confdefs.h.  */
3579_ACEOF
3580cat confdefs.h >>conftest.$ac_ext
3581cat >>conftest.$ac_ext <<_ACEOF
3582/* end confdefs.h.  */
3583#include <ac_nonexistent.h>
3584_ACEOF
3585if { (ac_try="$ac_cpp conftest.$ac_ext"
3586case "(($ac_try" in
3587  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3588  *) ac_try_echo=$ac_try;;
3589esac
3590eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3591  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3592  ac_status=$?
3593  grep -v '^ *+' conftest.er1 >conftest.err
3594  rm -f conftest.er1
3595  cat conftest.err >&5
3596  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597  (exit $ac_status); } >/dev/null && {
3598	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3599	 test ! -s conftest.err
3600       }; then
3601  # Broken: success on invalid input.
3602continue
3603else
3604  echo "$as_me: failed program was:" >&5
3605sed 's/^/| /' conftest.$ac_ext >&5
3606
3607  # Passes both tests.
3608ac_preproc_ok=:
3609break
3610fi
3611
3612rm -f conftest.err conftest.$ac_ext
3613
3614done
3615# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3616rm -f conftest.err conftest.$ac_ext
3617if $ac_preproc_ok; then
3618  break
3619fi
3620
3621    done
3622    ac_cv_prog_CPP=$CPP
3623
3624fi
3625  CPP=$ac_cv_prog_CPP
3626else
3627  ac_cv_prog_CPP=$CPP
3628fi
3629{ echo "$as_me:$LINENO: result: $CPP" >&5
3630echo "${ECHO_T}$CPP" >&6; }
3631ac_preproc_ok=false
3632for ac_c_preproc_warn_flag in '' yes
3633do
3634  # Use a header file that comes with gcc, so configuring glibc
3635  # with a fresh cross-compiler works.
3636  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3637  # <limits.h> exists even on freestanding compilers.
3638  # On the NeXT, cc -E runs the code through the compiler's parser,
3639  # not just through cpp. "Syntax error" is here to catch this case.
3640  cat >conftest.$ac_ext <<_ACEOF
3641/* confdefs.h.  */
3642_ACEOF
3643cat confdefs.h >>conftest.$ac_ext
3644cat >>conftest.$ac_ext <<_ACEOF
3645/* end confdefs.h.  */
3646#ifdef __STDC__
3647# include <limits.h>
3648#else
3649# include <assert.h>
3650#endif
3651		     Syntax error
3652_ACEOF
3653if { (ac_try="$ac_cpp conftest.$ac_ext"
3654case "(($ac_try" in
3655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3656  *) ac_try_echo=$ac_try;;
3657esac
3658eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3659  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3660  ac_status=$?
3661  grep -v '^ *+' conftest.er1 >conftest.err
3662  rm -f conftest.er1
3663  cat conftest.err >&5
3664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665  (exit $ac_status); } >/dev/null && {
3666	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3667	 test ! -s conftest.err
3668       }; then
3669  :
3670else
3671  echo "$as_me: failed program was:" >&5
3672sed 's/^/| /' conftest.$ac_ext >&5
3673
3674  # Broken: fails on valid input.
3675continue
3676fi
3677
3678rm -f conftest.err conftest.$ac_ext
3679
3680  # OK, works on sane cases.  Now check whether nonexistent headers
3681  # can be detected and how.
3682  cat >conftest.$ac_ext <<_ACEOF
3683/* confdefs.h.  */
3684_ACEOF
3685cat confdefs.h >>conftest.$ac_ext
3686cat >>conftest.$ac_ext <<_ACEOF
3687/* end confdefs.h.  */
3688#include <ac_nonexistent.h>
3689_ACEOF
3690if { (ac_try="$ac_cpp conftest.$ac_ext"
3691case "(($ac_try" in
3692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3693  *) ac_try_echo=$ac_try;;
3694esac
3695eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3696  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3697  ac_status=$?
3698  grep -v '^ *+' conftest.er1 >conftest.err
3699  rm -f conftest.er1
3700  cat conftest.err >&5
3701  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702  (exit $ac_status); } >/dev/null && {
3703	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3704	 test ! -s conftest.err
3705       }; then
3706  # Broken: success on invalid input.
3707continue
3708else
3709  echo "$as_me: failed program was:" >&5
3710sed 's/^/| /' conftest.$ac_ext >&5
3711
3712  # Passes both tests.
3713ac_preproc_ok=:
3714break
3715fi
3716
3717rm -f conftest.err conftest.$ac_ext
3718
3719done
3720# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3721rm -f conftest.err conftest.$ac_ext
3722if $ac_preproc_ok; then
3723  :
3724else
3725  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3726See \`config.log' for more details." >&5
3727echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3728See \`config.log' for more details." >&2;}
3729   { (exit 1); exit 1; }; }
3730fi
3731
3732ac_ext=c
3733ac_cpp='$CPP $CPPFLAGS'
3734ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3735ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3736ac_compiler_gnu=$ac_cv_c_compiler_gnu
3737
3738# Find a good install program.  We prefer a C program (faster),
3739# so one script is as good as another.  But avoid the broken or
3740# incompatible versions:
3741# SysV /etc/install, /usr/sbin/install
3742# SunOS /usr/etc/install
3743# IRIX /sbin/install
3744# AIX /bin/install
3745# AmigaOS /C/install, which installs bootblocks on floppy discs
3746# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3747# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3748# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3749# OS/2's system install, which has a completely different semantic
3750# ./install, which can be erroneously created by make from ./install.sh.
3751{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3752echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3753if test -z "$INSTALL"; then
3754if test "${ac_cv_path_install+set}" = set; then
3755  echo $ECHO_N "(cached) $ECHO_C" >&6
3756else
3757  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758for as_dir in $PATH
3759do
3760  IFS=$as_save_IFS
3761  test -z "$as_dir" && as_dir=.
3762  # Account for people who put trailing slashes in PATH elements.
3763case $as_dir/ in
3764  ./ | .// | /cC/* | \
3765  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3766  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3767  /usr/ucb/* ) ;;
3768  *)
3769    # OSF1 and SCO ODT 3.0 have their own names for install.
3770    # Don't use installbsd from OSF since it installs stuff as root
3771    # by default.
3772    for ac_prog in ginstall scoinst install; do
3773      for ac_exec_ext in '' $ac_executable_extensions; do
3774	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3775	  if test $ac_prog = install &&
3776	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3777	    # AIX install.  It has an incompatible calling convention.
3778	    :
3779	  elif test $ac_prog = install &&
3780	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3781	    # program-specific install script used by HP pwplus--don't use.
3782	    :
3783	  else
3784	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3785	    break 3
3786	  fi
3787	fi
3788      done
3789    done
3790    ;;
3791esac
3792done
3793IFS=$as_save_IFS
3794
3795
3796fi
3797  if test "${ac_cv_path_install+set}" = set; then
3798    INSTALL=$ac_cv_path_install
3799  else
3800    # As a last resort, use the slow shell script.  Don't cache a
3801    # value for INSTALL within a source directory, because that will
3802    # break other packages using the cache if that directory is
3803    # removed, or if the value is a relative name.
3804    INSTALL=$ac_install_sh
3805  fi
3806fi
3807{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3808echo "${ECHO_T}$INSTALL" >&6; }
3809
3810# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3811# It thinks the first close brace ends the variable substitution.
3812test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3813
3814test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3815
3816test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3817
3818{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
3819echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
3820LN_S=$as_ln_s
3821if test "$LN_S" = "ln -s"; then
3822  { echo "$as_me:$LINENO: result: yes" >&5
3823echo "${ECHO_T}yes" >&6; }
3824else
3825  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3826echo "${ECHO_T}no, using $LN_S" >&6; }
3827fi
3828
3829
3830
3831
3832
3833# Check whether --enable-shared was given.
3834if test "${enable_shared+set}" = set; then
3835  enableval=$enable_shared; p=${PACKAGE-default}
3836    case $enableval in
3837    yes) enable_shared=yes ;;
3838    no) enable_shared=no ;;
3839    *)
3840      enable_shared=no
3841      # Look at the argument we got.  We use all the common list separators.
3842      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3843      for pkg in $enableval; do
3844	IFS="$lt_save_ifs"
3845	if test "X$pkg" = "X$p"; then
3846	  enable_shared=yes
3847	fi
3848      done
3849      IFS="$lt_save_ifs"
3850      ;;
3851    esac
3852else
3853  enable_shared=yes
3854fi
3855
3856
3857# Check whether --enable-static was given.
3858if test "${enable_static+set}" = set; then
3859  enableval=$enable_static; p=${PACKAGE-default}
3860    case $enableval in
3861    yes) enable_static=yes ;;
3862    no) enable_static=no ;;
3863    *)
3864     enable_static=no
3865      # Look at the argument we got.  We use all the common list separators.
3866      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3867      for pkg in $enableval; do
3868	IFS="$lt_save_ifs"
3869	if test "X$pkg" = "X$p"; then
3870	  enable_static=yes
3871	fi
3872      done
3873      IFS="$lt_save_ifs"
3874      ;;
3875    esac
3876else
3877  enable_static=yes
3878fi
3879
3880
3881# Check whether --enable-fast-install was given.
3882if test "${enable_fast_install+set}" = set; then
3883  enableval=$enable_fast_install; p=${PACKAGE-default}
3884    case $enableval in
3885    yes) enable_fast_install=yes ;;
3886    no) enable_fast_install=no ;;
3887    *)
3888      enable_fast_install=no
3889      # Look at the argument we got.  We use all the common list separators.
3890      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3891      for pkg in $enableval; do
3892	IFS="$lt_save_ifs"
3893	if test "X$pkg" = "X$p"; then
3894	  enable_fast_install=yes
3895	fi
3896      done
3897      IFS="$lt_save_ifs"
3898      ;;
3899    esac
3900else
3901  enable_fast_install=yes
3902fi
3903
3904
3905{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3906echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
3907if test "${lt_cv_path_SED+set}" = set; then
3908  echo $ECHO_N "(cached) $ECHO_C" >&6
3909else
3910  # Loop through the user's path and test for sed and gsed.
3911# Then use that list of sed's as ones to test for truncation.
3912as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913for as_dir in $PATH
3914do
3915  IFS=$as_save_IFS
3916  test -z "$as_dir" && as_dir=.
3917  for lt_ac_prog in sed gsed; do
3918    for ac_exec_ext in '' $ac_executable_extensions; do
3919      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
3920        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3921      fi
3922    done
3923  done
3924done
3925IFS=$as_save_IFS
3926lt_ac_max=0
3927lt_ac_count=0
3928# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3929# along with /bin/sed that truncates output.
3930for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3931  test ! -f $lt_ac_sed && continue
3932  cat /dev/null > conftest.in
3933  lt_ac_count=0
3934  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3935  # Check for GNU sed and select it if it is found.
3936  if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3937    lt_cv_path_SED=$lt_ac_sed
3938    break
3939  fi
3940  while true; do
3941    cat conftest.in conftest.in >conftest.tmp
3942    mv conftest.tmp conftest.in
3943    cp conftest.in conftest.nl
3944    echo >>conftest.nl
3945    $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3946    cmp -s conftest.out conftest.nl || break
3947    # 10000 chars as input seems more than enough
3948    test $lt_ac_count -gt 10 && break
3949    lt_ac_count=`expr $lt_ac_count + 1`
3950    if test $lt_ac_count -gt $lt_ac_max; then
3951      lt_ac_max=$lt_ac_count
3952      lt_cv_path_SED=$lt_ac_sed
3953    fi
3954  done
3955done
3956
3957fi
3958
3959SED=$lt_cv_path_SED
3960
3961{ echo "$as_me:$LINENO: result: $SED" >&5
3962echo "${ECHO_T}$SED" >&6; }
3963
3964{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3965echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3966if test "${ac_cv_path_GREP+set}" = set; then
3967  echo $ECHO_N "(cached) $ECHO_C" >&6
3968else
3969  # Extract the first word of "grep ggrep" to use in msg output
3970if test -z "$GREP"; then
3971set dummy grep ggrep; ac_prog_name=$2
3972if test "${ac_cv_path_GREP+set}" = set; then
3973  echo $ECHO_N "(cached) $ECHO_C" >&6
3974else
3975  ac_path_GREP_found=false
3976# Loop through the user's path and test for each of PROGNAME-LIST
3977as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3979do
3980  IFS=$as_save_IFS
3981  test -z "$as_dir" && as_dir=.
3982  for ac_prog in grep ggrep; do
3983  for ac_exec_ext in '' $ac_executable_extensions; do
3984    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3985    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3986    # Check for GNU ac_path_GREP and select it if it is found.
3987  # Check for GNU $ac_path_GREP
3988case `"$ac_path_GREP" --version 2>&1` in
3989*GNU*)
3990  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3991*)
3992  ac_count=0
3993  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3994  while :
3995  do
3996    cat "conftest.in" "conftest.in" >"conftest.tmp"
3997    mv "conftest.tmp" "conftest.in"
3998    cp "conftest.in" "conftest.nl"
3999    echo 'GREP' >> "conftest.nl"
4000    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4001    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4002    ac_count=`expr $ac_count + 1`
4003    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4004      # Best one so far, save it but keep looking for a better one
4005      ac_cv_path_GREP="$ac_path_GREP"
4006      ac_path_GREP_max=$ac_count
4007    fi
4008    # 10*(2^10) chars as input seems more than enough
4009    test $ac_count -gt 10 && break
4010  done
4011  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4012esac
4013
4014
4015    $ac_path_GREP_found && break 3
4016  done
4017done
4018
4019done
4020IFS=$as_save_IFS
4021
4022
4023fi
4024
4025GREP="$ac_cv_path_GREP"
4026if test -z "$GREP"; then
4027  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4028echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4029   { (exit 1); exit 1; }; }
4030fi
4031
4032else
4033  ac_cv_path_GREP=$GREP
4034fi
4035
4036
4037fi
4038{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4039echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4040 GREP="$ac_cv_path_GREP"
4041
4042
4043{ echo "$as_me:$LINENO: checking for egrep" >&5
4044echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4045if test "${ac_cv_path_EGREP+set}" = set; then
4046  echo $ECHO_N "(cached) $ECHO_C" >&6
4047else
4048  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4049   then ac_cv_path_EGREP="$GREP -E"
4050   else
4051     # Extract the first word of "egrep" to use in msg output
4052if test -z "$EGREP"; then
4053set dummy egrep; ac_prog_name=$2
4054if test "${ac_cv_path_EGREP+set}" = set; then
4055  echo $ECHO_N "(cached) $ECHO_C" >&6
4056else
4057  ac_path_EGREP_found=false
4058# Loop through the user's path and test for each of PROGNAME-LIST
4059as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4060for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4061do
4062  IFS=$as_save_IFS
4063  test -z "$as_dir" && as_dir=.
4064  for ac_prog in egrep; do
4065  for ac_exec_ext in '' $ac_executable_extensions; do
4066    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4067    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4068    # Check for GNU ac_path_EGREP and select it if it is found.
4069  # Check for GNU $ac_path_EGREP
4070case `"$ac_path_EGREP" --version 2>&1` in
4071*GNU*)
4072  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4073*)
4074  ac_count=0
4075  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4076  while :
4077  do
4078    cat "conftest.in" "conftest.in" >"conftest.tmp"
4079    mv "conftest.tmp" "conftest.in"
4080    cp "conftest.in" "conftest.nl"
4081    echo 'EGREP' >> "conftest.nl"
4082    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4083    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4084    ac_count=`expr $ac_count + 1`
4085    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4086      # Best one so far, save it but keep looking for a better one
4087      ac_cv_path_EGREP="$ac_path_EGREP"
4088      ac_path_EGREP_max=$ac_count
4089    fi
4090    # 10*(2^10) chars as input seems more than enough
4091    test $ac_count -gt 10 && break
4092  done
4093  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4094esac
4095
4096
4097    $ac_path_EGREP_found && break 3
4098  done
4099done
4100
4101done
4102IFS=$as_save_IFS
4103
4104
4105fi
4106
4107EGREP="$ac_cv_path_EGREP"
4108if test -z "$EGREP"; then
4109  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4110echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4111   { (exit 1); exit 1; }; }
4112fi
4113
4114else
4115  ac_cv_path_EGREP=$EGREP
4116fi
4117
4118
4119   fi
4120fi
4121{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4122echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4123 EGREP="$ac_cv_path_EGREP"
4124
4125
4126
4127# Check whether --with-gnu-ld was given.
4128if test "${with_gnu_ld+set}" = set; then
4129  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4130else
4131  with_gnu_ld=no
4132fi
4133
4134ac_prog=ld
4135if test "$GCC" = yes; then
4136  # Check if gcc -print-prog-name=ld gives a path.
4137  { echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4138echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
4139  case $host in
4140  *-*-mingw*)
4141    # gcc leaves a trailing carriage return which upsets mingw
4142    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4143  *)
4144    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4145  esac
4146  case $ac_prog in
4147    # Accept absolute paths.
4148    [\\/]* | ?:[\\/]*)
4149      re_direlt='/[^/][^/]*/\.\./'
4150      # Canonicalize the pathname of ld
4151      ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4152      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4153	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4154      done
4155      test -z "$LD" && LD="$ac_prog"
4156      ;;
4157  "")
4158    # If it fails, then pretend we aren't using GCC.
4159    ac_prog=ld
4160    ;;
4161  *)
4162    # If it is relative, then search for the first ld in PATH.
4163    with_gnu_ld=unknown
4164    ;;
4165  esac
4166elif test "$with_gnu_ld" = yes; then
4167  { echo "$as_me:$LINENO: checking for GNU ld" >&5
4168echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6; }
4169else
4170  { echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4171echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6; }
4172fi
4173if test "${lt_cv_path_LD+set}" = set; then
4174  echo $ECHO_N "(cached) $ECHO_C" >&6
4175else
4176  if test -z "$LD"; then
4177  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4178  for ac_dir in $PATH; do
4179    IFS="$lt_save_ifs"
4180    test -z "$ac_dir" && ac_dir=.
4181    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4182      lt_cv_path_LD="$ac_dir/$ac_prog"
4183      # Check to see if the program is GNU ld.  I'd rather use --version,
4184      # but apparently some variants of GNU ld only accept -v.
4185      # Break only if it was the GNU/non-GNU ld that we prefer.
4186      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4187      *GNU* | *'with BFD'*)
4188	test "$with_gnu_ld" != no && break
4189	;;
4190      *)
4191	test "$with_gnu_ld" != yes && break
4192	;;
4193      esac
4194    fi
4195  done
4196  IFS="$lt_save_ifs"
4197else
4198  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4199fi
4200fi
4201
4202LD="$lt_cv_path_LD"
4203if test -n "$LD"; then
4204  { echo "$as_me:$LINENO: result: $LD" >&5
4205echo "${ECHO_T}$LD" >&6; }
4206else
4207  { echo "$as_me:$LINENO: result: no" >&5
4208echo "${ECHO_T}no" >&6; }
4209fi
4210test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4211echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4212   { (exit 1); exit 1; }; }
4213{ echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4214echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6; }
4215if test "${lt_cv_prog_gnu_ld+set}" = set; then
4216  echo $ECHO_N "(cached) $ECHO_C" >&6
4217else
4218  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4219case `$LD -v 2>&1 </dev/null` in
4220*GNU* | *'with BFD'*)
4221  lt_cv_prog_gnu_ld=yes
4222  ;;
4223*)
4224  lt_cv_prog_gnu_ld=no
4225  ;;
4226esac
4227fi
4228{ echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4229echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6; }
4230with_gnu_ld=$lt_cv_prog_gnu_ld
4231
4232
4233{ echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4234echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6; }
4235if test "${lt_cv_ld_reload_flag+set}" = set; then
4236  echo $ECHO_N "(cached) $ECHO_C" >&6
4237else
4238  lt_cv_ld_reload_flag='-r'
4239fi
4240{ echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4241echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6; }
4242reload_flag=$lt_cv_ld_reload_flag
4243case $reload_flag in
4244"" | " "*) ;;
4245*) reload_flag=" $reload_flag" ;;
4246esac
4247reload_cmds='$LD$reload_flag -o $output$reload_objs'
4248case $host_os in
4249  darwin*)
4250    if test "$GCC" = yes; then
4251      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4252    else
4253      reload_cmds='$LD$reload_flag -o $output$reload_objs'
4254    fi
4255    ;;
4256esac
4257
4258{ echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4259echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6; }
4260if test "${lt_cv_path_NM+set}" = set; then
4261  echo $ECHO_N "(cached) $ECHO_C" >&6
4262else
4263  if test -n "$NM"; then
4264  # Let the user override the test.
4265  lt_cv_path_NM="$NM"
4266else
4267  lt_nm_to_check="${ac_tool_prefix}nm"
4268  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4269    lt_nm_to_check="$lt_nm_to_check nm"
4270  fi
4271  for lt_tmp_nm in $lt_nm_to_check; do
4272    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4273    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4274      IFS="$lt_save_ifs"
4275      test -z "$ac_dir" && ac_dir=.
4276      tmp_nm="$ac_dir/$lt_tmp_nm"
4277      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4278	# Check to see if the nm accepts a BSD-compat flag.
4279	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4280	#   nm: unknown option "B" ignored
4281	# Tru64's nm complains that /dev/null is an invalid object file
4282	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4283	*/dev/null* | *'Invalid file or object type'*)
4284	  lt_cv_path_NM="$tmp_nm -B"
4285	  break
4286	  ;;
4287	*)
4288	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4289	  */dev/null*)
4290	    lt_cv_path_NM="$tmp_nm -p"
4291	    break
4292	    ;;
4293	  *)
4294	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4295	    continue # so that we can try to find one that supports BSD flags
4296	    ;;
4297	  esac
4298	  ;;
4299	esac
4300      fi
4301    done
4302    IFS="$lt_save_ifs"
4303  done
4304  test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4305fi
4306fi
4307{ echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4308echo "${ECHO_T}$lt_cv_path_NM" >&6; }
4309NM="$lt_cv_path_NM"
4310
4311{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4312echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4313if test "${lt_cv_deplibs_check_method+set}" = set; then
4314  echo $ECHO_N "(cached) $ECHO_C" >&6
4315else
4316  lt_cv_file_magic_cmd='$MAGIC_CMD'
4317lt_cv_file_magic_test_file=
4318lt_cv_deplibs_check_method='unknown'
4319# Need to set the preceding variable on all platforms that support
4320# interlibrary dependencies.
4321# 'none' -- dependencies not supported.
4322# `unknown' -- same as none, but documents that we really don't know.
4323# 'pass_all' -- all dependencies passed with no checks.
4324# 'test_compile' -- check by making test program.
4325# 'file_magic [[regex]]' -- check by looking for files in library path
4326# which responds to the $file_magic_cmd with a given extended regex.
4327# If you have `file' or equivalent on your system and you're not sure
4328# whether `pass_all' will *always* work, you probably want this one.
4329
4330case $host_os in
4331aix4* | aix5*)
4332  lt_cv_deplibs_check_method=pass_all
4333  ;;
4334
4335beos*)
4336  lt_cv_deplibs_check_method=pass_all
4337  ;;
4338
4339bsdi[45]*)
4340  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4341  lt_cv_file_magic_cmd='/usr/bin/file -L'
4342  lt_cv_file_magic_test_file=/shlib/libc.so
4343  ;;
4344
4345cygwin*)
4346  # func_win32_libid is a shell function defined in ltmain.sh
4347  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4348  lt_cv_file_magic_cmd='func_win32_libid'
4349  ;;
4350
4351mingw* | pw32*)
4352  # Base MSYS/MinGW do not provide the 'file' command needed by
4353  # func_win32_libid shell function, so use a weaker test based on 'objdump',
4354  # unless we find 'file', for example because we are cross-compiling.
4355  if ( file / ) >/dev/null 2>&1; then
4356    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4357    lt_cv_file_magic_cmd='func_win32_libid'
4358  else
4359    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4360    lt_cv_file_magic_cmd='$OBJDUMP -f'
4361  fi
4362  ;;
4363
4364darwin* | rhapsody*)
4365  lt_cv_deplibs_check_method=pass_all
4366  ;;
4367
4368freebsd* | dragonfly*)
4369  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4370    case $host_cpu in
4371    i*86 )
4372      # Not sure whether the presence of OpenBSD here was a mistake.
4373      # Let's accept both of them until this is cleared up.
4374      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4375      lt_cv_file_magic_cmd=/usr/bin/file
4376      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4377      ;;
4378    esac
4379  else
4380    lt_cv_deplibs_check_method=pass_all
4381  fi
4382  ;;
4383
4384gnu*)
4385  lt_cv_deplibs_check_method=pass_all
4386  ;;
4387
4388hpux10.20* | hpux11*)
4389  lt_cv_file_magic_cmd=/usr/bin/file
4390  case $host_cpu in
4391  ia64*)
4392    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4393    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4394    ;;
4395  hppa*64*)
4396    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]'
4397    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4398    ;;
4399  *)
4400    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4401    lt_cv_file_magic_test_file=/usr/lib/libc.sl
4402    ;;
4403  esac
4404  ;;
4405
4406interix[3-9]*)
4407  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4408  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4409  ;;
4410
4411irix5* | irix6* | nonstopux*)
4412  case $LD in
4413  *-32|*"-32 ") libmagic=32-bit;;
4414  *-n32|*"-n32 ") libmagic=N32;;
4415  *-64|*"-64 ") libmagic=64-bit;;
4416  *) libmagic=never-match;;
4417  esac
4418  lt_cv_deplibs_check_method=pass_all
4419  ;;
4420
4421# This must be Linux ELF.
4422linux* | k*bsd*-gnu)
4423  lt_cv_deplibs_check_method=pass_all
4424  ;;
4425
4426netbsd*)
4427  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4428    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4429  else
4430    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4431  fi
4432  ;;
4433
4434newos6*)
4435  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4436  lt_cv_file_magic_cmd=/usr/bin/file
4437  lt_cv_file_magic_test_file=/usr/lib/libnls.so
4438  ;;
4439
4440nto-qnx*)
4441  lt_cv_deplibs_check_method=unknown
4442  ;;
4443
4444openbsd*)
4445  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4446    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4447  else
4448    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4449  fi
4450  ;;
4451
4452osf3* | osf4* | osf5*)
4453  lt_cv_deplibs_check_method=pass_all
4454  ;;
4455
4456rdos*)
4457  lt_cv_deplibs_check_method=pass_all
4458  ;;
4459
4460solaris*)
4461  lt_cv_deplibs_check_method=pass_all
4462  ;;
4463
4464sysv4 | sysv4.3*)
4465  case $host_vendor in
4466  motorola)
4467    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]'
4468    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4469    ;;
4470  ncr)
4471    lt_cv_deplibs_check_method=pass_all
4472    ;;
4473  sequent)
4474    lt_cv_file_magic_cmd='/bin/file'
4475    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4476    ;;
4477  sni)
4478    lt_cv_file_magic_cmd='/bin/file'
4479    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4480    lt_cv_file_magic_test_file=/lib/libc.so
4481    ;;
4482  siemens)
4483    lt_cv_deplibs_check_method=pass_all
4484    ;;
4485  pc)
4486    lt_cv_deplibs_check_method=pass_all
4487    ;;
4488  esac
4489  ;;
4490
4491sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4492  lt_cv_deplibs_check_method=pass_all
4493  ;;
4494esac
4495
4496fi
4497{ echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4498echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6; }
4499file_magic_cmd=$lt_cv_file_magic_cmd
4500deplibs_check_method=$lt_cv_deplibs_check_method
4501test -z "$deplibs_check_method" && deplibs_check_method=unknown
4502
4503
4504
4505
4506# If no C compiler was specified, use CC.
4507LTCC=${LTCC-"$CC"}
4508
4509# If no C compiler flags were specified, use CFLAGS.
4510LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
4511
4512# Allow CC to be a program name with arguments.
4513compiler=$CC
4514
4515
4516# Check whether --enable-libtool-lock was given.
4517if test "${enable_libtool_lock+set}" = set; then
4518  enableval=$enable_libtool_lock;
4519fi
4520
4521test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4522
4523# Some flags need to be propagated to the compiler or linker for good
4524# libtool support.
4525case $host in
4526ia64-*-hpux*)
4527  # Find out which ABI we are using.
4528  echo 'int i;' > conftest.$ac_ext
4529  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4530  (eval $ac_compile) 2>&5
4531  ac_status=$?
4532  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4533  (exit $ac_status); }; then
4534    case `/usr/bin/file conftest.$ac_objext` in
4535    *ELF-32*)
4536      HPUX_IA64_MODE="32"
4537      ;;
4538    *ELF-64*)
4539      HPUX_IA64_MODE="64"
4540      ;;
4541    esac
4542  fi
4543  rm -rf conftest*
4544  ;;
4545*-*-irix6*)
4546  # Find out which ABI we are using.
4547  echo '#line 4547 "configure"' > conftest.$ac_ext
4548  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4549  (eval $ac_compile) 2>&5
4550  ac_status=$?
4551  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552  (exit $ac_status); }; then
4553   if test "$lt_cv_prog_gnu_ld" = yes; then
4554    case `/usr/bin/file conftest.$ac_objext` in
4555    *32-bit*)
4556      LD="${LD-ld} -melf32bsmip"
4557      ;;
4558    *N32*)
4559      LD="${LD-ld} -melf32bmipn32"
4560      ;;
4561    *64-bit*)
4562      LD="${LD-ld} -melf64bmip"
4563      ;;
4564    esac
4565   else
4566    case `/usr/bin/file conftest.$ac_objext` in
4567    *32-bit*)
4568      LD="${LD-ld} -32"
4569      ;;
4570    *N32*)
4571      LD="${LD-ld} -n32"
4572      ;;
4573    *64-bit*)
4574      LD="${LD-ld} -64"
4575      ;;
4576    esac
4577   fi
4578  fi
4579  rm -rf conftest*
4580  ;;
4581
4582x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
4583s390*-*linux*|sparc*-*linux*)
4584  # Find out which ABI we are using.
4585  echo 'int i;' > conftest.$ac_ext
4586  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4587  (eval $ac_compile) 2>&5
4588  ac_status=$?
4589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590  (exit $ac_status); }; then
4591    case `/usr/bin/file conftest.o` in
4592    *32-bit*)
4593      case $host in
4594        x86_64-*kfreebsd*-gnu)
4595          LD="${LD-ld} -m elf_i386_fbsd"
4596          ;;
4597        x86_64-*linux*)
4598          LD="${LD-ld} -m elf_i386"
4599          ;;
4600        ppc64-*linux*|powerpc64-*linux*)
4601          LD="${LD-ld} -m elf32ppclinux"
4602          ;;
4603        s390x-*linux*)
4604          LD="${LD-ld} -m elf_s390"
4605          ;;
4606        sparc64-*linux*)
4607          LD="${LD-ld} -m elf32_sparc"
4608          ;;
4609      esac
4610      ;;
4611    *64-bit*)
4612      libsuff=64
4613      case $host in
4614        x86_64-*kfreebsd*-gnu)
4615          LD="${LD-ld} -m elf_x86_64_fbsd"
4616          ;;
4617        x86_64-*linux*)
4618          LD="${LD-ld} -m elf_x86_64"
4619          ;;
4620        ppc*-*linux*|powerpc*-*linux*)
4621          LD="${LD-ld} -m elf64ppc"
4622          ;;
4623        s390*-*linux*)
4624          LD="${LD-ld} -m elf64_s390"
4625          ;;
4626        sparc*-*linux*)
4627          LD="${LD-ld} -m elf64_sparc"
4628          ;;
4629      esac
4630      ;;
4631    esac
4632  fi
4633  rm -rf conftest*
4634  ;;
4635
4636*-*-sco3.2v5*)
4637  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4638  SAVE_CFLAGS="$CFLAGS"
4639  CFLAGS="$CFLAGS -belf"
4640  { echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4641echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6; }
4642if test "${lt_cv_cc_needs_belf+set}" = set; then
4643  echo $ECHO_N "(cached) $ECHO_C" >&6
4644else
4645  ac_ext=c
4646ac_cpp='$CPP $CPPFLAGS'
4647ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4648ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4649ac_compiler_gnu=$ac_cv_c_compiler_gnu
4650
4651     cat >conftest.$ac_ext <<_ACEOF
4652/* confdefs.h.  */
4653_ACEOF
4654cat confdefs.h >>conftest.$ac_ext
4655cat >>conftest.$ac_ext <<_ACEOF
4656/* end confdefs.h.  */
4657
4658int
4659main ()
4660{
4661
4662  ;
4663  return 0;
4664}
4665_ACEOF
4666rm -f conftest.$ac_objext conftest$ac_exeext
4667if { (ac_try="$ac_link"
4668case "(($ac_try" in
4669  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670  *) ac_try_echo=$ac_try;;
4671esac
4672eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4673  (eval "$ac_link") 2>conftest.er1
4674  ac_status=$?
4675  grep -v '^ *+' conftest.er1 >conftest.err
4676  rm -f conftest.er1
4677  cat conftest.err >&5
4678  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679  (exit $ac_status); } && {
4680	 test -z "$ac_c_werror_flag" ||
4681	 test ! -s conftest.err
4682       } && test -s conftest$ac_exeext &&
4683       $as_test_x conftest$ac_exeext; then
4684  lt_cv_cc_needs_belf=yes
4685else
4686  echo "$as_me: failed program was:" >&5
4687sed 's/^/| /' conftest.$ac_ext >&5
4688
4689	lt_cv_cc_needs_belf=no
4690fi
4691
4692rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4693      conftest$ac_exeext conftest.$ac_ext
4694     ac_ext=c
4695ac_cpp='$CPP $CPPFLAGS'
4696ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699
4700fi
4701{ echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4702echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6; }
4703  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4704    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4705    CFLAGS="$SAVE_CFLAGS"
4706  fi
4707  ;;
4708sparc*-*solaris*)
4709  # Find out which ABI we are using.
4710  echo 'int i;' > conftest.$ac_ext
4711  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4712  (eval $ac_compile) 2>&5
4713  ac_status=$?
4714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715  (exit $ac_status); }; then
4716    case `/usr/bin/file conftest.o` in
4717    *64-bit*)
4718      case $lt_cv_prog_gnu_ld in
4719      yes*) LD="${LD-ld} -m elf64_sparc" ;;
4720      *)    LD="${LD-ld} -64" ;;
4721      esac
4722      ;;
4723    esac
4724  fi
4725  rm -rf conftest*
4726  ;;
4727
4728*-*-cygwin* | *-*-mingw* | *-*-pw32*)
4729  if test -n "$ac_tool_prefix"; then
4730  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
4731set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4732{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4733echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4734if test "${ac_cv_prog_DLLTOOL+set}" = set; then
4735  echo $ECHO_N "(cached) $ECHO_C" >&6
4736else
4737  if test -n "$DLLTOOL"; then
4738  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
4739else
4740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4741for as_dir in $PATH
4742do
4743  IFS=$as_save_IFS
4744  test -z "$as_dir" && as_dir=.
4745  for ac_exec_ext in '' $ac_executable_extensions; do
4746  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
4748    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4749    break 2
4750  fi
4751done
4752done
4753IFS=$as_save_IFS
4754
4755fi
4756fi
4757DLLTOOL=$ac_cv_prog_DLLTOOL
4758if test -n "$DLLTOOL"; then
4759  { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
4760echo "${ECHO_T}$DLLTOOL" >&6; }
4761else
4762  { echo "$as_me:$LINENO: result: no" >&5
4763echo "${ECHO_T}no" >&6; }
4764fi
4765
4766
4767fi
4768if test -z "$ac_cv_prog_DLLTOOL"; then
4769  ac_ct_DLLTOOL=$DLLTOOL
4770  # Extract the first word of "dlltool", so it can be a program name with args.
4771set dummy dlltool; ac_word=$2
4772{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4773echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4774if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
4775  echo $ECHO_N "(cached) $ECHO_C" >&6
4776else
4777  if test -n "$ac_ct_DLLTOOL"; then
4778  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
4779else
4780as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4781for as_dir in $PATH
4782do
4783  IFS=$as_save_IFS
4784  test -z "$as_dir" && as_dir=.
4785  for ac_exec_ext in '' $ac_executable_extensions; do
4786  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4787    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
4788    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4789    break 2
4790  fi
4791done
4792done
4793IFS=$as_save_IFS
4794
4795fi
4796fi
4797ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
4798if test -n "$ac_ct_DLLTOOL"; then
4799  { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
4800echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
4801else
4802  { echo "$as_me:$LINENO: result: no" >&5
4803echo "${ECHO_T}no" >&6; }
4804fi
4805
4806  if test "x$ac_ct_DLLTOOL" = x; then
4807    DLLTOOL="false"
4808  else
4809    case $cross_compiling:$ac_tool_warned in
4810yes:)
4811{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4812whose name does not start with the host triplet.  If you think this
4813configuration is useful to you, please write to autoconf@gnu.org." >&5
4814echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4815whose name does not start with the host triplet.  If you think this
4816configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4817ac_tool_warned=yes ;;
4818esac
4819    DLLTOOL=$ac_ct_DLLTOOL
4820  fi
4821else
4822  DLLTOOL="$ac_cv_prog_DLLTOOL"
4823fi
4824
4825  if test -n "$ac_tool_prefix"; then
4826  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4827set dummy ${ac_tool_prefix}as; ac_word=$2
4828{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4829echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4830if test "${ac_cv_prog_AS+set}" = set; then
4831  echo $ECHO_N "(cached) $ECHO_C" >&6
4832else
4833  if test -n "$AS"; then
4834  ac_cv_prog_AS="$AS" # Let the user override the test.
4835else
4836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837for as_dir in $PATH
4838do
4839  IFS=$as_save_IFS
4840  test -z "$as_dir" && as_dir=.
4841  for ac_exec_ext in '' $ac_executable_extensions; do
4842  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843    ac_cv_prog_AS="${ac_tool_prefix}as"
4844    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4845    break 2
4846  fi
4847done
4848done
4849IFS=$as_save_IFS
4850
4851fi
4852fi
4853AS=$ac_cv_prog_AS
4854if test -n "$AS"; then
4855  { echo "$as_me:$LINENO: result: $AS" >&5
4856echo "${ECHO_T}$AS" >&6; }
4857else
4858  { echo "$as_me:$LINENO: result: no" >&5
4859echo "${ECHO_T}no" >&6; }
4860fi
4861
4862
4863fi
4864if test -z "$ac_cv_prog_AS"; then
4865  ac_ct_AS=$AS
4866  # Extract the first word of "as", so it can be a program name with args.
4867set dummy as; ac_word=$2
4868{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4869echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4870if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4871  echo $ECHO_N "(cached) $ECHO_C" >&6
4872else
4873  if test -n "$ac_ct_AS"; then
4874  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4875else
4876as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4877for as_dir in $PATH
4878do
4879  IFS=$as_save_IFS
4880  test -z "$as_dir" && as_dir=.
4881  for ac_exec_ext in '' $ac_executable_extensions; do
4882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883    ac_cv_prog_ac_ct_AS="as"
4884    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4885    break 2
4886  fi
4887done
4888done
4889IFS=$as_save_IFS
4890
4891fi
4892fi
4893ac_ct_AS=$ac_cv_prog_ac_ct_AS
4894if test -n "$ac_ct_AS"; then
4895  { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4896echo "${ECHO_T}$ac_ct_AS" >&6; }
4897else
4898  { echo "$as_me:$LINENO: result: no" >&5
4899echo "${ECHO_T}no" >&6; }
4900fi
4901
4902  if test "x$ac_ct_AS" = x; then
4903    AS="false"
4904  else
4905    case $cross_compiling:$ac_tool_warned in
4906yes:)
4907{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
4908whose name does not start with the host triplet.  If you think this
4909configuration is useful to you, please write to autoconf@gnu.org." >&5
4910echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
4911whose name does not start with the host triplet.  If you think this
4912configuration is useful to you, please write to autoconf@gnu.org." >&2;}
4913ac_tool_warned=yes ;;
4914esac
4915    AS=$ac_ct_AS
4916  fi
4917else
4918  AS="$ac_cv_prog_AS"
4919fi
4920
4921  if test -n "$ac_tool_prefix"; then
4922  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4923set dummy ${ac_tool_prefix}objdump; ac_word=$2
4924{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4925echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4926if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4927  echo $ECHO_N "(cached) $ECHO_C" >&6
4928else
4929  if test -n "$OBJDUMP"; then
4930  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4931else
4932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933for as_dir in $PATH
4934do
4935  IFS=$as_save_IFS
4936  test -z "$as_dir" && as_dir=.
4937  for ac_exec_ext in '' $ac_executable_extensions; do
4938  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4939    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4940    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4941    break 2
4942  fi
4943done
4944done
4945IFS=$as_save_IFS
4946
4947fi
4948fi
4949OBJDUMP=$ac_cv_prog_OBJDUMP
4950if test -n "$OBJDUMP"; then
4951  { echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4952echo "${ECHO_T}$OBJDUMP" >&6; }
4953else
4954  { echo "$as_me:$LINENO: result: no" >&5
4955echo "${ECHO_T}no" >&6; }
4956fi
4957
4958
4959fi
4960if test -z "$ac_cv_prog_OBJDUMP"; then
4961  ac_ct_OBJDUMP=$OBJDUMP
4962  # Extract the first word of "objdump", so it can be a program name with args.
4963set dummy objdump; ac_word=$2
4964{ echo "$as_me:$LINENO: checking for $ac_word" >&5
4965echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4966if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4967  echo $ECHO_N "(cached) $ECHO_C" >&6
4968else
4969  if test -n "$ac_ct_OBJDUMP"; then
4970  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4971else
4972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973for as_dir in $PATH
4974do
4975  IFS=$as_save_IFS
4976  test -z "$as_dir" && as_dir=.
4977  for ac_exec_ext in '' $ac_executable_extensions; do
4978  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979    ac_cv_prog_ac_ct_OBJDUMP="objdump"
4980    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4981    break 2
4982  fi
4983done
4984done
4985IFS=$as_save_IFS
4986
4987fi
4988fi
4989ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4990if test -n "$ac_ct_OBJDUMP"; then
4991  { echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4992echo "${ECHO_T}$ac_ct_OBJDUMP" >&6; }
4993else
4994  { echo "$as_me:$LINENO: result: no" >&5
4995echo "${ECHO_T}no" >&6; }
4996fi
4997
4998  if test "x$ac_ct_OBJDUMP" = x; then
4999    OBJDUMP="false"
5000  else
5001    case $cross_compiling:$ac_tool_warned in
5002yes:)
5003{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5004whose name does not start with the host triplet.  If you think this
5005configuration is useful to you, please write to autoconf@gnu.org." >&5
5006echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5007whose name does not start with the host triplet.  If you think this
5008configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5009ac_tool_warned=yes ;;
5010esac
5011    OBJDUMP=$ac_ct_OBJDUMP
5012  fi
5013else
5014  OBJDUMP="$ac_cv_prog_OBJDUMP"
5015fi
5016
5017  ;;
5018
5019esac
5020
5021need_locks="$enable_libtool_lock"
5022
5023
5024
5025{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5026echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5027if test "${ac_cv_header_stdc+set}" = set; then
5028  echo $ECHO_N "(cached) $ECHO_C" >&6
5029else
5030  cat >conftest.$ac_ext <<_ACEOF
5031/* confdefs.h.  */
5032_ACEOF
5033cat confdefs.h >>conftest.$ac_ext
5034cat >>conftest.$ac_ext <<_ACEOF
5035/* end confdefs.h.  */
5036#include <stdlib.h>
5037#include <stdarg.h>
5038#include <string.h>
5039#include <float.h>
5040
5041int
5042main ()
5043{
5044
5045  ;
5046  return 0;
5047}
5048_ACEOF
5049rm -f conftest.$ac_objext
5050if { (ac_try="$ac_compile"
5051case "(($ac_try" in
5052  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053  *) ac_try_echo=$ac_try;;
5054esac
5055eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056  (eval "$ac_compile") 2>conftest.er1
5057  ac_status=$?
5058  grep -v '^ *+' conftest.er1 >conftest.err
5059  rm -f conftest.er1
5060  cat conftest.err >&5
5061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062  (exit $ac_status); } && {
5063	 test -z "$ac_c_werror_flag" ||
5064	 test ! -s conftest.err
5065       } && test -s conftest.$ac_objext; then
5066  ac_cv_header_stdc=yes
5067else
5068  echo "$as_me: failed program was:" >&5
5069sed 's/^/| /' conftest.$ac_ext >&5
5070
5071	ac_cv_header_stdc=no
5072fi
5073
5074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075
5076if test $ac_cv_header_stdc = yes; then
5077  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5078  cat >conftest.$ac_ext <<_ACEOF
5079/* confdefs.h.  */
5080_ACEOF
5081cat confdefs.h >>conftest.$ac_ext
5082cat >>conftest.$ac_ext <<_ACEOF
5083/* end confdefs.h.  */
5084#include <string.h>
5085
5086_ACEOF
5087if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5088  $EGREP "memchr" >/dev/null 2>&1; then
5089  :
5090else
5091  ac_cv_header_stdc=no
5092fi
5093rm -f conftest*
5094
5095fi
5096
5097if test $ac_cv_header_stdc = yes; then
5098  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5099  cat >conftest.$ac_ext <<_ACEOF
5100/* confdefs.h.  */
5101_ACEOF
5102cat confdefs.h >>conftest.$ac_ext
5103cat >>conftest.$ac_ext <<_ACEOF
5104/* end confdefs.h.  */
5105#include <stdlib.h>
5106
5107_ACEOF
5108if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5109  $EGREP "free" >/dev/null 2>&1; then
5110  :
5111else
5112  ac_cv_header_stdc=no
5113fi
5114rm -f conftest*
5115
5116fi
5117
5118if test $ac_cv_header_stdc = yes; then
5119  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5120  if test "$cross_compiling" = yes; then
5121  :
5122else
5123  cat >conftest.$ac_ext <<_ACEOF
5124/* confdefs.h.  */
5125_ACEOF
5126cat confdefs.h >>conftest.$ac_ext
5127cat >>conftest.$ac_ext <<_ACEOF
5128/* end confdefs.h.  */
5129#include <ctype.h>
5130#include <stdlib.h>
5131#if ((' ' & 0x0FF) == 0x020)
5132# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5133# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5134#else
5135# define ISLOWER(c) \
5136		   (('a' <= (c) && (c) <= 'i') \
5137		     || ('j' <= (c) && (c) <= 'r') \
5138		     || ('s' <= (c) && (c) <= 'z'))
5139# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5140#endif
5141
5142#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5143int
5144main ()
5145{
5146  int i;
5147  for (i = 0; i < 256; i++)
5148    if (XOR (islower (i), ISLOWER (i))
5149	|| toupper (i) != TOUPPER (i))
5150      return 2;
5151  return 0;
5152}
5153_ACEOF
5154rm -f conftest$ac_exeext
5155if { (ac_try="$ac_link"
5156case "(($ac_try" in
5157  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5158  *) ac_try_echo=$ac_try;;
5159esac
5160eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5161  (eval "$ac_link") 2>&5
5162  ac_status=$?
5163  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5165  { (case "(($ac_try" in
5166  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5167  *) ac_try_echo=$ac_try;;
5168esac
5169eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5170  (eval "$ac_try") 2>&5
5171  ac_status=$?
5172  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173  (exit $ac_status); }; }; then
5174  :
5175else
5176  echo "$as_me: program exited with status $ac_status" >&5
5177echo "$as_me: failed program was:" >&5
5178sed 's/^/| /' conftest.$ac_ext >&5
5179
5180( exit $ac_status )
5181ac_cv_header_stdc=no
5182fi
5183rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5184fi
5185
5186
5187fi
5188fi
5189{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5190echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5191if test $ac_cv_header_stdc = yes; then
5192
5193cat >>confdefs.h <<\_ACEOF
5194#define STDC_HEADERS 1
5195_ACEOF
5196
5197fi
5198
5199# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5210		  inttypes.h stdint.h unistd.h
5211do
5212as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5213{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5214echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5215if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5216  echo $ECHO_N "(cached) $ECHO_C" >&6
5217else
5218  cat >conftest.$ac_ext <<_ACEOF
5219/* confdefs.h.  */
5220_ACEOF
5221cat confdefs.h >>conftest.$ac_ext
5222cat >>conftest.$ac_ext <<_ACEOF
5223/* end confdefs.h.  */
5224$ac_includes_default
5225
5226#include <$ac_header>
5227_ACEOF
5228rm -f conftest.$ac_objext
5229if { (ac_try="$ac_compile"
5230case "(($ac_try" in
5231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232  *) ac_try_echo=$ac_try;;
5233esac
5234eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5235  (eval "$ac_compile") 2>conftest.er1
5236  ac_status=$?
5237  grep -v '^ *+' conftest.er1 >conftest.err
5238  rm -f conftest.er1
5239  cat conftest.err >&5
5240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241  (exit $ac_status); } && {
5242	 test -z "$ac_c_werror_flag" ||
5243	 test ! -s conftest.err
5244       } && test -s conftest.$ac_objext; then
5245  eval "$as_ac_Header=yes"
5246else
5247  echo "$as_me: failed program was:" >&5
5248sed 's/^/| /' conftest.$ac_ext >&5
5249
5250	eval "$as_ac_Header=no"
5251fi
5252
5253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5254fi
5255ac_res=`eval echo '${'$as_ac_Header'}'`
5256	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5257echo "${ECHO_T}$ac_res" >&6; }
5258if test `eval echo '${'$as_ac_Header'}'` = yes; then
5259  cat >>confdefs.h <<_ACEOF
5260#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5261_ACEOF
5262
5263fi
5264
5265done
5266
5267
5268
5269for ac_header in dlfcn.h
5270do
5271as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5272if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5273  { echo "$as_me:$LINENO: checking for $ac_header" >&5
5274echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5275if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5276  echo $ECHO_N "(cached) $ECHO_C" >&6
5277fi
5278ac_res=`eval echo '${'$as_ac_Header'}'`
5279	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5280echo "${ECHO_T}$ac_res" >&6; }
5281else
5282  # Is the header compilable?
5283{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5284echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5285cat >conftest.$ac_ext <<_ACEOF
5286/* confdefs.h.  */
5287_ACEOF
5288cat confdefs.h >>conftest.$ac_ext
5289cat >>conftest.$ac_ext <<_ACEOF
5290/* end confdefs.h.  */
5291$ac_includes_default
5292#include <$ac_header>
5293_ACEOF
5294rm -f conftest.$ac_objext
5295if { (ac_try="$ac_compile"
5296case "(($ac_try" in
5297  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5298  *) ac_try_echo=$ac_try;;
5299esac
5300eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5301  (eval "$ac_compile") 2>conftest.er1
5302  ac_status=$?
5303  grep -v '^ *+' conftest.er1 >conftest.err
5304  rm -f conftest.er1
5305  cat conftest.err >&5
5306  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5307  (exit $ac_status); } && {
5308	 test -z "$ac_c_werror_flag" ||
5309	 test ! -s conftest.err
5310       } && test -s conftest.$ac_objext; then
5311  ac_header_compiler=yes
5312else
5313  echo "$as_me: failed program was:" >&5
5314sed 's/^/| /' conftest.$ac_ext >&5
5315
5316	ac_header_compiler=no
5317fi
5318
5319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5320{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5321echo "${ECHO_T}$ac_header_compiler" >&6; }
5322
5323# Is the header present?
5324{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5325echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5326cat >conftest.$ac_ext <<_ACEOF
5327/* confdefs.h.  */
5328_ACEOF
5329cat confdefs.h >>conftest.$ac_ext
5330cat >>conftest.$ac_ext <<_ACEOF
5331/* end confdefs.h.  */
5332#include <$ac_header>
5333_ACEOF
5334if { (ac_try="$ac_cpp conftest.$ac_ext"
5335case "(($ac_try" in
5336  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5337  *) ac_try_echo=$ac_try;;
5338esac
5339eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5340  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5341  ac_status=$?
5342  grep -v '^ *+' conftest.er1 >conftest.err
5343  rm -f conftest.er1
5344  cat conftest.err >&5
5345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346  (exit $ac_status); } >/dev/null && {
5347	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5348	 test ! -s conftest.err
5349       }; then
5350  ac_header_preproc=yes
5351else
5352  echo "$as_me: failed program was:" >&5
5353sed 's/^/| /' conftest.$ac_ext >&5
5354
5355  ac_header_preproc=no
5356fi
5357
5358rm -f conftest.err conftest.$ac_ext
5359{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5360echo "${ECHO_T}$ac_header_preproc" >&6; }
5361
5362# So?  What about this header?
5363case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5364  yes:no: )
5365    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5366echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5367    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5368echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5369    ac_header_preproc=yes
5370    ;;
5371  no:yes:* )
5372    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5373echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5374    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
5375echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
5376    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5377echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5378    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
5379echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
5380    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5381echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5382    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5383echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5384
5385    ;;
5386esac
5387{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5388echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5389if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5390  echo $ECHO_N "(cached) $ECHO_C" >&6
5391else
5392  eval "$as_ac_Header=\$ac_header_preproc"
5393fi
5394ac_res=`eval echo '${'$as_ac_Header'}'`
5395	       { echo "$as_me:$LINENO: result: $ac_res" >&5
5396echo "${ECHO_T}$ac_res" >&6; }
5397
5398fi
5399if test `eval echo '${'$as_ac_Header'}'` = yes; then
5400  cat >>confdefs.h <<_ACEOF
5401#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5402_ACEOF
5403
5404fi
5405
5406done
5407
5408
5409# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5410
5411# find the maximum length of command line arguments
5412{ echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5413echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6; }
5414if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5415  echo $ECHO_N "(cached) $ECHO_C" >&6
5416else
5417    i=0
5418  teststring="ABCD"
5419
5420  case $build_os in
5421  msdosdjgpp*)
5422    # On DJGPP, this test can blow up pretty badly due to problems in libc
5423    # (any single argument exceeding 2000 bytes causes a buffer overrun
5424    # during glob expansion).  Even if it were fixed, the result of this
5425    # check would be larger than it should be.
5426    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5427    ;;
5428
5429  gnu*)
5430    # Under GNU Hurd, this test is not required because there is
5431    # no limit to the length of command line arguments.
5432    # Libtool will interpret -1 as no limit whatsoever
5433    lt_cv_sys_max_cmd_len=-1;
5434    ;;
5435
5436  cygwin* | mingw*)
5437    # On Win9x/ME, this test blows up -- it succeeds, but takes
5438    # about 5 minutes as the teststring grows exponentially.
5439    # Worse, since 9x/ME are not pre-emptively multitasking,
5440    # you end up with a "frozen" computer, even though with patience
5441    # the test eventually succeeds (with a max line length of 256k).
5442    # Instead, let's just punt: use the minimum linelength reported by
5443    # all of the supported platforms: 8192 (on NT/2K/XP).
5444    lt_cv_sys_max_cmd_len=8192;
5445    ;;
5446
5447  amigaos*)
5448    # On AmigaOS with pdksh, this test takes hours, literally.
5449    # So we just punt and use a minimum line length of 8192.
5450    lt_cv_sys_max_cmd_len=8192;
5451    ;;
5452
5453  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5454    # This has been around since 386BSD, at least.  Likely further.
5455    if test -x /sbin/sysctl; then
5456      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5457    elif test -x /usr/sbin/sysctl; then
5458      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5459    else
5460      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5461    fi
5462    # And add a safety zone
5463    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5464    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5465    ;;
5466
5467  interix*)
5468    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5469    lt_cv_sys_max_cmd_len=196608
5470    ;;
5471
5472  osf*)
5473    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5474    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5475    # nice to cause kernel panics so lets avoid the loop below.
5476    # First set a reasonable default.
5477    lt_cv_sys_max_cmd_len=16384
5478    #
5479    if test -x /sbin/sysconfig; then
5480      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5481        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5482      esac
5483    fi
5484    ;;
5485  sco3.2v5*)
5486    lt_cv_sys_max_cmd_len=102400
5487    ;;
5488  sysv5* | sco5v6* | sysv4.2uw2*)
5489    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5490    if test -n "$kargmax"; then
5491      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
5492    else
5493      lt_cv_sys_max_cmd_len=32768
5494    fi
5495    ;;
5496  *)
5497    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5498    if test -n "$lt_cv_sys_max_cmd_len"; then
5499      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5500      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5501    else
5502      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5503      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5504	       = "XX$teststring") >/dev/null 2>&1 &&
5505	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
5506	      lt_cv_sys_max_cmd_len=$new_result &&
5507	      test $i != 17 # 1/2 MB should be enough
5508      do
5509        i=`expr $i + 1`
5510        teststring=$teststring$teststring
5511      done
5512      teststring=
5513      # Add a significant safety factor because C++ compilers can tack on massive
5514      # amounts of additional arguments before passing them to the linker.
5515      # It appears as though 1/2 is a usable value.
5516      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5517    fi
5518    ;;
5519  esac
5520
5521fi
5522
5523if test -n $lt_cv_sys_max_cmd_len ; then
5524  { echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5525echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6; }
5526else
5527  { echo "$as_me:$LINENO: result: none" >&5
5528echo "${ECHO_T}none" >&6; }
5529fi
5530
5531
5532
5533
5534
5535# Check for command to grab the raw symbol name followed by C symbol from nm.
5536{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5537echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
5538if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5539  echo $ECHO_N "(cached) $ECHO_C" >&6
5540else
5541
5542# These are sane defaults that work on at least a few old systems.
5543# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5544
5545# Character class describing NM global symbol codes.
5546symcode='[BCDEGRST]'
5547
5548# Regexp to match symbols that can be accessed directly from C.
5549sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5550
5551# Transform an extracted symbol line into a proper C declaration
5552lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5553
5554# Transform an extracted symbol line into symbol name and symbol address
5555lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5556
5557# Define system-specific variables.
5558case $host_os in
5559aix*)
5560  symcode='[BCDT]'
5561  ;;
5562cygwin* | mingw* | pw32*)
5563  symcode='[ABCDGISTW]'
5564  ;;
5565hpux*) # Its linker distinguishes data from code symbols
5566  if test "$host_cpu" = ia64; then
5567    symcode='[ABCDEGRST]'
5568  fi
5569  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5570  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5571  ;;
5572linux* | k*bsd*-gnu)
5573  if test "$host_cpu" = ia64; then
5574    symcode='[ABCDGIRSTW]'
5575    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5576    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5577  fi
5578  ;;
5579irix* | nonstopux*)
5580  symcode='[BCDEGRST]'
5581  ;;
5582osf*)
5583  symcode='[BCDEGQRST]'
5584  ;;
5585solaris*)
5586  symcode='[BDRT]'
5587  ;;
5588sco3.2v5*)
5589  symcode='[DT]'
5590  ;;
5591sysv4.2uw2*)
5592  symcode='[DT]'
5593  ;;
5594sysv5* | sco5v6* | unixware* | OpenUNIX*)
5595  symcode='[ABDT]'
5596  ;;
5597sysv4)
5598  symcode='[DFNSTU]'
5599  ;;
5600esac
5601
5602# Handle CRLF in mingw tool chain
5603opt_cr=
5604case $build_os in
5605mingw*)
5606  opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5607  ;;
5608esac
5609
5610# If we're using GNU nm, then use its standard symbol codes.
5611case `$NM -V 2>&1` in
5612*GNU* | *'with BFD'*)
5613  symcode='[ABCDGIRSTW]' ;;
5614esac
5615
5616# Try without a prefix undercore, then with it.
5617for ac_symprfx in "" "_"; do
5618
5619  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5620  symxfrm="\\1 $ac_symprfx\\2 \\2"
5621
5622  # Write the raw and C identifiers.
5623  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5624
5625  # Check to see that the pipe works correctly.
5626  pipe_works=no
5627
5628  rm -f conftest*
5629  cat > conftest.$ac_ext <<EOF
5630#ifdef __cplusplus
5631extern "C" {
5632#endif
5633char nm_test_var;
5634void nm_test_func(){}
5635#ifdef __cplusplus
5636}
5637#endif
5638int main(){nm_test_var='a';nm_test_func();return(0);}
5639EOF
5640
5641  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5642  (eval $ac_compile) 2>&5
5643  ac_status=$?
5644  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5645  (exit $ac_status); }; then
5646    # Now try to grab the symbols.
5647    nlist=conftest.nm
5648    if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5649  (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5650  ac_status=$?
5651  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652  (exit $ac_status); } && test -s "$nlist"; then
5653      # Try sorting and uniquifying the output.
5654      if sort "$nlist" | uniq > "$nlist"T; then
5655	mv -f "$nlist"T "$nlist"
5656      else
5657	rm -f "$nlist"T
5658      fi
5659
5660      # Make sure that we snagged all the symbols we need.
5661      if grep ' nm_test_var$' "$nlist" >/dev/null; then
5662	if grep ' nm_test_func$' "$nlist" >/dev/null; then
5663	  cat <<EOF > conftest.$ac_ext
5664#ifdef __cplusplus
5665extern "C" {
5666#endif
5667
5668EOF
5669	  # Now generate the symbol file.
5670	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5671
5672	  cat <<EOF >> conftest.$ac_ext
5673#if defined (__STDC__) && __STDC__
5674# define lt_ptr_t void *
5675#else
5676# define lt_ptr_t char *
5677# define const
5678#endif
5679
5680/* The mapping between symbol names and symbols. */
5681const struct {
5682  const char *name;
5683  lt_ptr_t address;
5684}
5685lt_preloaded_symbols[] =
5686{
5687EOF
5688	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5689	  cat <<\EOF >> conftest.$ac_ext
5690  {0, (lt_ptr_t) 0}
5691};
5692
5693#ifdef __cplusplus
5694}
5695#endif
5696EOF
5697	  # Now try linking the two files.
5698	  mv conftest.$ac_objext conftstm.$ac_objext
5699	  lt_save_LIBS="$LIBS"
5700	  lt_save_CFLAGS="$CFLAGS"
5701	  LIBS="conftstm.$ac_objext"
5702	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5703	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5704  (eval $ac_link) 2>&5
5705  ac_status=$?
5706  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5707  (exit $ac_status); } && test -s conftest${ac_exeext}; then
5708	    pipe_works=yes
5709	  fi
5710	  LIBS="$lt_save_LIBS"
5711	  CFLAGS="$lt_save_CFLAGS"
5712	else
5713	  echo "cannot find nm_test_func in $nlist" >&5
5714	fi
5715      else
5716	echo "cannot find nm_test_var in $nlist" >&5
5717      fi
5718    else
5719      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5720    fi
5721  else
5722    echo "$progname: failed program was:" >&5
5723    cat conftest.$ac_ext >&5
5724  fi
5725  rm -f conftest* conftst*
5726
5727  # Do not use the global_symbol_pipe unless it works.
5728  if test "$pipe_works" = yes; then
5729    break
5730  else
5731    lt_cv_sys_global_symbol_pipe=
5732  fi
5733done
5734
5735fi
5736
5737if test -z "$lt_cv_sys_global_symbol_pipe"; then
5738  lt_cv_sys_global_symbol_to_cdecl=
5739fi
5740if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5741  { echo "$as_me:$LINENO: result: failed" >&5
5742echo "${ECHO_T}failed" >&6; }
5743else
5744  { echo "$as_me:$LINENO: result: ok" >&5
5745echo "${ECHO_T}ok" >&6; }
5746fi
5747
5748{ echo "$as_me:$LINENO: checking for objdir" >&5
5749echo $ECHO_N "checking for objdir... $ECHO_C" >&6; }
5750if test "${lt_cv_objdir+set}" = set; then
5751  echo $ECHO_N "(cached) $ECHO_C" >&6
5752else
5753  rm -f .libs 2>/dev/null
5754mkdir .libs 2>/dev/null
5755if test -d .libs; then
5756  lt_cv_objdir=.libs
5757else
5758  # MS-DOS does not allow filenames that begin with a dot.
5759  lt_cv_objdir=_libs
5760fi
5761rmdir .libs 2>/dev/null
5762fi
5763{ echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5764echo "${ECHO_T}$lt_cv_objdir" >&6; }
5765objdir=$lt_cv_objdir
5766
5767
5768
5769
5770
5771case $host_os in
5772aix3*)
5773  # AIX sometimes has problems with the GCC collect2 program.  For some
5774  # reason, if we set the COLLECT_NAMES environment variable, the problems
5775  # vanish in a puff of smoke.
5776  if test "X${COLLECT_NAMES+set}" != Xset; then
5777    COLLECT_NAMES=
5778    export COLLECT_NAMES
5779  fi
5780  ;;
5781esac
5782
5783# Sed substitution that helps us do robust quoting.  It backslashifies
5784# metacharacters that are still active within double-quoted strings.
5785Xsed='sed -e 1s/^X//'
5786sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5787
5788# Same as above, but do not quote variable references.
5789double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5790
5791# Sed substitution to delay expansion of an escaped shell variable in a
5792# double_quote_subst'ed string.
5793delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5794
5795# Sed substitution to avoid accidental globbing in evaled expressions
5796no_glob_subst='s/\*/\\\*/g'
5797
5798# Constants:
5799rm="rm -f"
5800
5801# Global variables:
5802default_ofile=libtool
5803can_build_shared=yes
5804
5805# All known linkers require a `.a' archive for static linking (except MSVC,
5806# which needs '.lib').
5807libext=a
5808ltmain="$ac_aux_dir/ltmain.sh"
5809ofile="$default_ofile"
5810with_gnu_ld="$lt_cv_prog_gnu_ld"
5811
5812if test -n "$ac_tool_prefix"; then
5813  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5814set dummy ${ac_tool_prefix}ar; ac_word=$2
5815{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5816echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5817if test "${ac_cv_prog_AR+set}" = set; then
5818  echo $ECHO_N "(cached) $ECHO_C" >&6
5819else
5820  if test -n "$AR"; then
5821  ac_cv_prog_AR="$AR" # Let the user override the test.
5822else
5823as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824for as_dir in $PATH
5825do
5826  IFS=$as_save_IFS
5827  test -z "$as_dir" && as_dir=.
5828  for ac_exec_ext in '' $ac_executable_extensions; do
5829  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5830    ac_cv_prog_AR="${ac_tool_prefix}ar"
5831    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5832    break 2
5833  fi
5834done
5835done
5836IFS=$as_save_IFS
5837
5838fi
5839fi
5840AR=$ac_cv_prog_AR
5841if test -n "$AR"; then
5842  { echo "$as_me:$LINENO: result: $AR" >&5
5843echo "${ECHO_T}$AR" >&6; }
5844else
5845  { echo "$as_me:$LINENO: result: no" >&5
5846echo "${ECHO_T}no" >&6; }
5847fi
5848
5849
5850fi
5851if test -z "$ac_cv_prog_AR"; then
5852  ac_ct_AR=$AR
5853  # Extract the first word of "ar", so it can be a program name with args.
5854set dummy ar; ac_word=$2
5855{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5856echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5857if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5858  echo $ECHO_N "(cached) $ECHO_C" >&6
5859else
5860  if test -n "$ac_ct_AR"; then
5861  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5862else
5863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864for as_dir in $PATH
5865do
5866  IFS=$as_save_IFS
5867  test -z "$as_dir" && as_dir=.
5868  for ac_exec_ext in '' $ac_executable_extensions; do
5869  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870    ac_cv_prog_ac_ct_AR="ar"
5871    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5872    break 2
5873  fi
5874done
5875done
5876IFS=$as_save_IFS
5877
5878fi
5879fi
5880ac_ct_AR=$ac_cv_prog_ac_ct_AR
5881if test -n "$ac_ct_AR"; then
5882  { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5883echo "${ECHO_T}$ac_ct_AR" >&6; }
5884else
5885  { echo "$as_me:$LINENO: result: no" >&5
5886echo "${ECHO_T}no" >&6; }
5887fi
5888
5889  if test "x$ac_ct_AR" = x; then
5890    AR="false"
5891  else
5892    case $cross_compiling:$ac_tool_warned in
5893yes:)
5894{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5895whose name does not start with the host triplet.  If you think this
5896configuration is useful to you, please write to autoconf@gnu.org." >&5
5897echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5898whose name does not start with the host triplet.  If you think this
5899configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5900ac_tool_warned=yes ;;
5901esac
5902    AR=$ac_ct_AR
5903  fi
5904else
5905  AR="$ac_cv_prog_AR"
5906fi
5907
5908if test -n "$ac_tool_prefix"; then
5909  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5910set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5911{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5912echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5913if test "${ac_cv_prog_RANLIB+set}" = set; then
5914  echo $ECHO_N "(cached) $ECHO_C" >&6
5915else
5916  if test -n "$RANLIB"; then
5917  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5918else
5919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920for as_dir in $PATH
5921do
5922  IFS=$as_save_IFS
5923  test -z "$as_dir" && as_dir=.
5924  for ac_exec_ext in '' $ac_executable_extensions; do
5925  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5926    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5927    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5928    break 2
5929  fi
5930done
5931done
5932IFS=$as_save_IFS
5933
5934fi
5935fi
5936RANLIB=$ac_cv_prog_RANLIB
5937if test -n "$RANLIB"; then
5938  { echo "$as_me:$LINENO: result: $RANLIB" >&5
5939echo "${ECHO_T}$RANLIB" >&6; }
5940else
5941  { echo "$as_me:$LINENO: result: no" >&5
5942echo "${ECHO_T}no" >&6; }
5943fi
5944
5945
5946fi
5947if test -z "$ac_cv_prog_RANLIB"; then
5948  ac_ct_RANLIB=$RANLIB
5949  # Extract the first word of "ranlib", so it can be a program name with args.
5950set dummy ranlib; ac_word=$2
5951{ echo "$as_me:$LINENO: checking for $ac_word" >&5
5952echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5953if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5954  echo $ECHO_N "(cached) $ECHO_C" >&6
5955else
5956  if test -n "$ac_ct_RANLIB"; then
5957  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5958else
5959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5960for as_dir in $PATH
5961do
5962  IFS=$as_save_IFS
5963  test -z "$as_dir" && as_dir=.
5964  for ac_exec_ext in '' $ac_executable_extensions; do
5965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5966    ac_cv_prog_ac_ct_RANLIB="ranlib"
5967    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5968    break 2
5969  fi
5970done
5971done
5972IFS=$as_save_IFS
5973
5974fi
5975fi
5976ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5977if test -n "$ac_ct_RANLIB"; then
5978  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5979echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5980else
5981  { echo "$as_me:$LINENO: result: no" >&5
5982echo "${ECHO_T}no" >&6; }
5983fi
5984
5985  if test "x$ac_ct_RANLIB" = x; then
5986    RANLIB=":"
5987  else
5988    case $cross_compiling:$ac_tool_warned in
5989yes:)
5990{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5991whose name does not start with the host triplet.  If you think this
5992configuration is useful to you, please write to autoconf@gnu.org." >&5
5993echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5994whose name does not start with the host triplet.  If you think this
5995configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5996ac_tool_warned=yes ;;
5997esac
5998    RANLIB=$ac_ct_RANLIB
5999  fi
6000else
6001  RANLIB="$ac_cv_prog_RANLIB"
6002fi
6003
6004if test -n "$ac_tool_prefix"; then
6005  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6006set dummy ${ac_tool_prefix}strip; ac_word=$2
6007{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6008echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6009if test "${ac_cv_prog_STRIP+set}" = set; then
6010  echo $ECHO_N "(cached) $ECHO_C" >&6
6011else
6012  if test -n "$STRIP"; then
6013  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6014else
6015as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6016for as_dir in $PATH
6017do
6018  IFS=$as_save_IFS
6019  test -z "$as_dir" && as_dir=.
6020  for ac_exec_ext in '' $ac_executable_extensions; do
6021  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6022    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6023    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6024    break 2
6025  fi
6026done
6027done
6028IFS=$as_save_IFS
6029
6030fi
6031fi
6032STRIP=$ac_cv_prog_STRIP
6033if test -n "$STRIP"; then
6034  { echo "$as_me:$LINENO: result: $STRIP" >&5
6035echo "${ECHO_T}$STRIP" >&6; }
6036else
6037  { echo "$as_me:$LINENO: result: no" >&5
6038echo "${ECHO_T}no" >&6; }
6039fi
6040
6041
6042fi
6043if test -z "$ac_cv_prog_STRIP"; then
6044  ac_ct_STRIP=$STRIP
6045  # Extract the first word of "strip", so it can be a program name with args.
6046set dummy strip; ac_word=$2
6047{ echo "$as_me:$LINENO: checking for $ac_word" >&5
6048echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6050  echo $ECHO_N "(cached) $ECHO_C" >&6
6051else
6052  if test -n "$ac_ct_STRIP"; then
6053  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6054else
6055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056for as_dir in $PATH
6057do
6058  IFS=$as_save_IFS
6059  test -z "$as_dir" && as_dir=.
6060  for ac_exec_ext in '' $ac_executable_extensions; do
6061  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062    ac_cv_prog_ac_ct_STRIP="strip"
6063    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064    break 2
6065  fi
6066done
6067done
6068IFS=$as_save_IFS
6069
6070fi
6071fi
6072ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6073if test -n "$ac_ct_STRIP"; then
6074  { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6075echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6076else
6077  { echo "$as_me:$LINENO: result: no" >&5
6078echo "${ECHO_T}no" >&6; }
6079fi
6080
6081  if test "x$ac_ct_STRIP" = x; then
6082    STRIP=":"
6083  else
6084    case $cross_compiling:$ac_tool_warned in
6085yes:)
6086{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6087whose name does not start with the host triplet.  If you think this
6088configuration is useful to you, please write to autoconf@gnu.org." >&5
6089echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6090whose name does not start with the host triplet.  If you think this
6091configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6092ac_tool_warned=yes ;;
6093esac
6094    STRIP=$ac_ct_STRIP
6095  fi
6096else
6097  STRIP="$ac_cv_prog_STRIP"
6098fi
6099
6100
6101old_CC="$CC"
6102old_CFLAGS="$CFLAGS"
6103
6104# Set sane defaults for various variables
6105test -z "$AR" && AR=ar
6106test -z "$AR_FLAGS" && AR_FLAGS=cru
6107test -z "$AS" && AS=as
6108test -z "$CC" && CC=cc
6109test -z "$LTCC" && LTCC=$CC
6110test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6111test -z "$DLLTOOL" && DLLTOOL=dlltool
6112test -z "$LD" && LD=ld
6113test -z "$LN_S" && LN_S="ln -s"
6114test -z "$MAGIC_CMD" && MAGIC_CMD=file
6115test -z "$NM" && NM=nm
6116test -z "$SED" && SED=sed
6117test -z "$OBJDUMP" && OBJDUMP=objdump
6118test -z "$RANLIB" && RANLIB=:
6119test -z "$STRIP" && STRIP=:
6120test -z "$ac_objext" && ac_objext=o
6121
6122# Determine commands to create old-style static archives.
6123old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6124old_postinstall_cmds='chmod 644 $oldlib'
6125old_postuninstall_cmds=
6126
6127if test -n "$RANLIB"; then
6128  case $host_os in
6129  openbsd*)
6130    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6131    ;;
6132  *)
6133    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6134    ;;
6135  esac
6136  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6137fi
6138
6139for cc_temp in $compiler""; do
6140  case $cc_temp in
6141    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6142    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6143    \-*) ;;
6144    *) break;;
6145  esac
6146done
6147cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6148
6149
6150# Only perform the check for file, if the check method requires it
6151case $deplibs_check_method in
6152file_magic*)
6153  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6154    { echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6155echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6; }
6156if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6157  echo $ECHO_N "(cached) $ECHO_C" >&6
6158else
6159  case $MAGIC_CMD in
6160[\\/*] |  ?:[\\/]*)
6161  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6162  ;;
6163*)
6164  lt_save_MAGIC_CMD="$MAGIC_CMD"
6165  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6166  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6167  for ac_dir in $ac_dummy; do
6168    IFS="$lt_save_ifs"
6169    test -z "$ac_dir" && ac_dir=.
6170    if test -f $ac_dir/${ac_tool_prefix}file; then
6171      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6172      if test -n "$file_magic_test_file"; then
6173	case $deplibs_check_method in
6174	"file_magic "*)
6175	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6176	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6177	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6178	    $EGREP "$file_magic_regex" > /dev/null; then
6179	    :
6180	  else
6181	    cat <<EOF 1>&2
6182
6183*** Warning: the command libtool uses to detect shared libraries,
6184*** $file_magic_cmd, produces output that libtool cannot recognize.
6185*** The result is that libtool may fail to recognize shared libraries
6186*** as such.  This will affect the creation of libtool libraries that
6187*** depend on shared libraries, but programs linked with such libtool
6188*** libraries will work regardless of this problem.  Nevertheless, you
6189*** may want to report the problem to your system manager and/or to
6190*** bug-libtool@gnu.org
6191
6192EOF
6193	  fi ;;
6194	esac
6195      fi
6196      break
6197    fi
6198  done
6199  IFS="$lt_save_ifs"
6200  MAGIC_CMD="$lt_save_MAGIC_CMD"
6201  ;;
6202esac
6203fi
6204
6205MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6206if test -n "$MAGIC_CMD"; then
6207  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6208echo "${ECHO_T}$MAGIC_CMD" >&6; }
6209else
6210  { echo "$as_me:$LINENO: result: no" >&5
6211echo "${ECHO_T}no" >&6; }
6212fi
6213
6214if test -z "$lt_cv_path_MAGIC_CMD"; then
6215  if test -n "$ac_tool_prefix"; then
6216    { echo "$as_me:$LINENO: checking for file" >&5
6217echo $ECHO_N "checking for file... $ECHO_C" >&6; }
6218if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6219  echo $ECHO_N "(cached) $ECHO_C" >&6
6220else
6221  case $MAGIC_CMD in
6222[\\/*] |  ?:[\\/]*)
6223  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6224  ;;
6225*)
6226  lt_save_MAGIC_CMD="$MAGIC_CMD"
6227  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6228  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6229  for ac_dir in $ac_dummy; do
6230    IFS="$lt_save_ifs"
6231    test -z "$ac_dir" && ac_dir=.
6232    if test -f $ac_dir/file; then
6233      lt_cv_path_MAGIC_CMD="$ac_dir/file"
6234      if test -n "$file_magic_test_file"; then
6235	case $deplibs_check_method in
6236	"file_magic "*)
6237	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6238	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6239	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6240	    $EGREP "$file_magic_regex" > /dev/null; then
6241	    :
6242	  else
6243	    cat <<EOF 1>&2
6244
6245*** Warning: the command libtool uses to detect shared libraries,
6246*** $file_magic_cmd, produces output that libtool cannot recognize.
6247*** The result is that libtool may fail to recognize shared libraries
6248*** as such.  This will affect the creation of libtool libraries that
6249*** depend on shared libraries, but programs linked with such libtool
6250*** libraries will work regardless of this problem.  Nevertheless, you
6251*** may want to report the problem to your system manager and/or to
6252*** bug-libtool@gnu.org
6253
6254EOF
6255	  fi ;;
6256	esac
6257      fi
6258      break
6259    fi
6260  done
6261  IFS="$lt_save_ifs"
6262  MAGIC_CMD="$lt_save_MAGIC_CMD"
6263  ;;
6264esac
6265fi
6266
6267MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6268if test -n "$MAGIC_CMD"; then
6269  { echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6270echo "${ECHO_T}$MAGIC_CMD" >&6; }
6271else
6272  { echo "$as_me:$LINENO: result: no" >&5
6273echo "${ECHO_T}no" >&6; }
6274fi
6275
6276  else
6277    MAGIC_CMD=:
6278  fi
6279fi
6280
6281  fi
6282  ;;
6283esac
6284
6285enable_dlopen=no
6286enable_win32_dll=yes
6287
6288# Check whether --enable-libtool-lock was given.
6289if test "${enable_libtool_lock+set}" = set; then
6290  enableval=$enable_libtool_lock;
6291fi
6292
6293test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6294
6295
6296# Check whether --with-pic was given.
6297if test "${with_pic+set}" = set; then
6298  withval=$with_pic; pic_mode="$withval"
6299else
6300  pic_mode=default
6301fi
6302
6303test -z "$pic_mode" && pic_mode=default
6304
6305# Use C for the default configuration in the libtool script
6306tagname=
6307lt_save_CC="$CC"
6308ac_ext=c
6309ac_cpp='$CPP $CPPFLAGS'
6310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6312ac_compiler_gnu=$ac_cv_c_compiler_gnu
6313
6314
6315# Source file extension for C test sources.
6316ac_ext=c
6317
6318# Object file extension for compiled C test sources.
6319objext=o
6320objext=$objext
6321
6322# Code to be used in simple compile tests
6323lt_simple_compile_test_code="int some_variable = 0;"
6324
6325# Code to be used in simple link tests
6326lt_simple_link_test_code='int main(){return(0);}'
6327
6328
6329# If no C compiler was specified, use CC.
6330LTCC=${LTCC-"$CC"}
6331
6332# If no C compiler flags were specified, use CFLAGS.
6333LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6334
6335# Allow CC to be a program name with arguments.
6336compiler=$CC
6337
6338
6339# save warnings/boilerplate of simple test code
6340ac_outfile=conftest.$ac_objext
6341echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6342eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6343_lt_compiler_boilerplate=`cat conftest.err`
6344$rm conftest*
6345
6346ac_outfile=conftest.$ac_objext
6347echo "$lt_simple_link_test_code" >conftest.$ac_ext
6348eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6349_lt_linker_boilerplate=`cat conftest.err`
6350$rm conftest*
6351
6352
6353
6354lt_prog_compiler_no_builtin_flag=
6355
6356if test "$GCC" = yes; then
6357  lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6358
6359
6360{ echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6361echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6; }
6362if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6363  echo $ECHO_N "(cached) $ECHO_C" >&6
6364else
6365  lt_cv_prog_compiler_rtti_exceptions=no
6366  ac_outfile=conftest.$ac_objext
6367   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6368   lt_compiler_flag="-fno-rtti -fno-exceptions"
6369   # Insert the option either (1) after the last *FLAGS variable, or
6370   # (2) before a word containing "conftest.", or (3) at the end.
6371   # Note that $ac_compile itself does not contain backslashes and begins
6372   # with a dollar sign (not a hyphen), so the echo should work correctly.
6373   # The option is referenced via a variable to avoid confusing sed.
6374   lt_compile=`echo "$ac_compile" | $SED \
6375   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6376   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6377   -e 's:$: $lt_compiler_flag:'`
6378   (eval echo "\"\$as_me:6378: $lt_compile\"" >&5)
6379   (eval "$lt_compile" 2>conftest.err)
6380   ac_status=$?
6381   cat conftest.err >&5
6382   echo "$as_me:6382: \$? = $ac_status" >&5
6383   if (exit $ac_status) && test -s "$ac_outfile"; then
6384     # The compiler can only warn and ignore the option if not recognized
6385     # So say no if there are warnings other than the usual output.
6386     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6387     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6388     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6389       lt_cv_prog_compiler_rtti_exceptions=yes
6390     fi
6391   fi
6392   $rm conftest*
6393
6394fi
6395{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6396echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6; }
6397
6398if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6399    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6400else
6401    :
6402fi
6403
6404fi
6405
6406lt_prog_compiler_wl=
6407lt_prog_compiler_pic=
6408lt_prog_compiler_static=
6409
6410{ echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6411echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6; }
6412
6413  if test "$GCC" = yes; then
6414    lt_prog_compiler_wl='-Wl,'
6415    lt_prog_compiler_static='-static'
6416
6417    case $host_os in
6418      aix*)
6419      # All AIX code is PIC.
6420      if test "$host_cpu" = ia64; then
6421	# AIX 5 now supports IA64 processor
6422	lt_prog_compiler_static='-Bstatic'
6423      fi
6424      ;;
6425
6426    amigaos*)
6427      # FIXME: we need at least 68020 code to build shared libraries, but
6428      # adding the `-m68020' flag to GCC prevents building anything better,
6429      # like `-m68040'.
6430      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6431      ;;
6432
6433    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6434      # PIC is the default for these OSes.
6435      ;;
6436
6437    mingw* | cygwin* | pw32* | os2*)
6438      # This hack is so that the source file can tell whether it is being
6439      # built for inclusion in a dll (and should export symbols for example).
6440      # Although the cygwin gcc ignores -fPIC, still need this for old-style
6441      # (--disable-auto-import) libraries
6442      lt_prog_compiler_pic='-DDLL_EXPORT'
6443      ;;
6444
6445    darwin* | rhapsody*)
6446      # PIC is the default on this platform
6447      # Common symbols not allowed in MH_DYLIB files
6448      lt_prog_compiler_pic='-fno-common'
6449      ;;
6450
6451    interix[3-9]*)
6452      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6453      # Instead, we relocate shared libraries at runtime.
6454      ;;
6455
6456    msdosdjgpp*)
6457      # Just because we use GCC doesn't mean we suddenly get shared libraries
6458      # on systems that don't support them.
6459      lt_prog_compiler_can_build_shared=no
6460      enable_shared=no
6461      ;;
6462
6463    sysv4*MP*)
6464      if test -d /usr/nec; then
6465	lt_prog_compiler_pic=-Kconform_pic
6466      fi
6467      ;;
6468
6469    hpux*)
6470      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6471      # not for PA HP-UX.
6472      case $host_cpu in
6473      hppa*64*|ia64*)
6474	# +Z the default
6475	;;
6476      *)
6477	lt_prog_compiler_pic='-fPIC'
6478	;;
6479      esac
6480      ;;
6481
6482    *)
6483      lt_prog_compiler_pic='-fPIC'
6484      ;;
6485    esac
6486  else
6487    # PORTME Check for flag to pass linker flags through the system compiler.
6488    case $host_os in
6489    aix*)
6490      lt_prog_compiler_wl='-Wl,'
6491      if test "$host_cpu" = ia64; then
6492	# AIX 5 now supports IA64 processor
6493	lt_prog_compiler_static='-Bstatic'
6494      else
6495	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6496      fi
6497      ;;
6498      darwin*)
6499        # PIC is the default on this platform
6500        # Common symbols not allowed in MH_DYLIB files
6501       case $cc_basename in
6502         xlc*)
6503         lt_prog_compiler_pic='-qnocommon'
6504         lt_prog_compiler_wl='-Wl,'
6505         ;;
6506       esac
6507       ;;
6508
6509    mingw* | cygwin* | pw32* | os2*)
6510      # This hack is so that the source file can tell whether it is being
6511      # built for inclusion in a dll (and should export symbols for example).
6512      lt_prog_compiler_pic='-DDLL_EXPORT'
6513      ;;
6514
6515    hpux9* | hpux10* | hpux11*)
6516      lt_prog_compiler_wl='-Wl,'
6517      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6518      # not for PA HP-UX.
6519      case $host_cpu in
6520      hppa*64*|ia64*)
6521	# +Z the default
6522	;;
6523      *)
6524	lt_prog_compiler_pic='+Z'
6525	;;
6526      esac
6527      # Is there a better lt_prog_compiler_static that works with the bundled CC?
6528      lt_prog_compiler_static='${wl}-a ${wl}archive'
6529      ;;
6530
6531    irix5* | irix6* | nonstopux*)
6532      lt_prog_compiler_wl='-Wl,'
6533      # PIC (with -KPIC) is the default.
6534      lt_prog_compiler_static='-non_shared'
6535      ;;
6536
6537    newsos6)
6538      lt_prog_compiler_pic='-KPIC'
6539      lt_prog_compiler_static='-Bstatic'
6540      ;;
6541
6542    linux* | k*bsd*-gnu)
6543      case $cc_basename in
6544      icc* | ecc*)
6545	lt_prog_compiler_wl='-Wl,'
6546	lt_prog_compiler_pic='-KPIC'
6547	lt_prog_compiler_static='-static'
6548        ;;
6549      pgcc* | pgf77* | pgf90* | pgf95*)
6550        # Portland Group compilers (*not* the Pentium gcc compiler,
6551	# which looks to be a dead project)
6552	lt_prog_compiler_wl='-Wl,'
6553	lt_prog_compiler_pic='-fpic'
6554	lt_prog_compiler_static='-Bstatic'
6555        ;;
6556      ccc*)
6557        lt_prog_compiler_wl='-Wl,'
6558        # All Alpha code is PIC.
6559        lt_prog_compiler_static='-non_shared'
6560        ;;
6561      *)
6562        case `$CC -V 2>&1 | sed 5q` in
6563	*Sun\ C*)
6564	  # Sun C 5.9
6565	  lt_prog_compiler_pic='-KPIC'
6566	  lt_prog_compiler_static='-Bstatic'
6567	  lt_prog_compiler_wl='-Wl,'
6568	  ;;
6569	*Sun\ F*)
6570	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
6571	  lt_prog_compiler_pic='-KPIC'
6572	  lt_prog_compiler_static='-Bstatic'
6573	  lt_prog_compiler_wl=''
6574	  ;;
6575	esac
6576	;;
6577      esac
6578      ;;
6579
6580    osf3* | osf4* | osf5*)
6581      lt_prog_compiler_wl='-Wl,'
6582      # All OSF/1 code is PIC.
6583      lt_prog_compiler_static='-non_shared'
6584      ;;
6585
6586    rdos*)
6587      lt_prog_compiler_static='-non_shared'
6588      ;;
6589
6590    solaris*)
6591      lt_prog_compiler_pic='-KPIC'
6592      lt_prog_compiler_static='-Bstatic'
6593      case $cc_basename in
6594      f77* | f90* | f95*)
6595	lt_prog_compiler_wl='-Qoption ld ';;
6596      *)
6597	lt_prog_compiler_wl='-Wl,';;
6598      esac
6599      ;;
6600
6601    sunos4*)
6602      lt_prog_compiler_wl='-Qoption ld '
6603      lt_prog_compiler_pic='-PIC'
6604      lt_prog_compiler_static='-Bstatic'
6605      ;;
6606
6607    sysv4 | sysv4.2uw2* | sysv4.3*)
6608      lt_prog_compiler_wl='-Wl,'
6609      lt_prog_compiler_pic='-KPIC'
6610      lt_prog_compiler_static='-Bstatic'
6611      ;;
6612
6613    sysv4*MP*)
6614      if test -d /usr/nec ;then
6615	lt_prog_compiler_pic='-Kconform_pic'
6616	lt_prog_compiler_static='-Bstatic'
6617      fi
6618      ;;
6619
6620    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6621      lt_prog_compiler_wl='-Wl,'
6622      lt_prog_compiler_pic='-KPIC'
6623      lt_prog_compiler_static='-Bstatic'
6624      ;;
6625
6626    unicos*)
6627      lt_prog_compiler_wl='-Wl,'
6628      lt_prog_compiler_can_build_shared=no
6629      ;;
6630
6631    uts4*)
6632      lt_prog_compiler_pic='-pic'
6633      lt_prog_compiler_static='-Bstatic'
6634      ;;
6635
6636    *)
6637      lt_prog_compiler_can_build_shared=no
6638      ;;
6639    esac
6640  fi
6641
6642{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6643echo "${ECHO_T}$lt_prog_compiler_pic" >&6; }
6644
6645#
6646# Check to make sure the PIC flag actually works.
6647#
6648if test -n "$lt_prog_compiler_pic"; then
6649
6650{ echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6651echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6; }
6652if test "${lt_prog_compiler_pic_works+set}" = set; then
6653  echo $ECHO_N "(cached) $ECHO_C" >&6
6654else
6655  lt_prog_compiler_pic_works=no
6656  ac_outfile=conftest.$ac_objext
6657   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6658   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6659   # Insert the option either (1) after the last *FLAGS variable, or
6660   # (2) before a word containing "conftest.", or (3) at the end.
6661   # Note that $ac_compile itself does not contain backslashes and begins
6662   # with a dollar sign (not a hyphen), so the echo should work correctly.
6663   # The option is referenced via a variable to avoid confusing sed.
6664   lt_compile=`echo "$ac_compile" | $SED \
6665   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6666   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6667   -e 's:$: $lt_compiler_flag:'`
6668   (eval echo "\"\$as_me:6668: $lt_compile\"" >&5)
6669   (eval "$lt_compile" 2>conftest.err)
6670   ac_status=$?
6671   cat conftest.err >&5
6672   echo "$as_me:6672: \$? = $ac_status" >&5
6673   if (exit $ac_status) && test -s "$ac_outfile"; then
6674     # The compiler can only warn and ignore the option if not recognized
6675     # So say no if there are warnings other than the usual output.
6676     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6677     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6678     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6679       lt_prog_compiler_pic_works=yes
6680     fi
6681   fi
6682   $rm conftest*
6683
6684fi
6685{ echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6686echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6; }
6687
6688if test x"$lt_prog_compiler_pic_works" = xyes; then
6689    case $lt_prog_compiler_pic in
6690     "" | " "*) ;;
6691     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6692     esac
6693else
6694    lt_prog_compiler_pic=
6695     lt_prog_compiler_can_build_shared=no
6696fi
6697
6698fi
6699case $host_os in
6700  # For platforms which do not support PIC, -DPIC is meaningless:
6701  *djgpp*)
6702    lt_prog_compiler_pic=
6703    ;;
6704  *)
6705    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6706    ;;
6707esac
6708
6709#
6710# Check to make sure the static flag actually works.
6711#
6712wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6713{ echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6714echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6; }
6715if test "${lt_prog_compiler_static_works+set}" = set; then
6716  echo $ECHO_N "(cached) $ECHO_C" >&6
6717else
6718  lt_prog_compiler_static_works=no
6719   save_LDFLAGS="$LDFLAGS"
6720   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6721   echo "$lt_simple_link_test_code" > conftest.$ac_ext
6722   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6723     # The linker can only warn and ignore the option if not recognized
6724     # So say no if there are warnings
6725     if test -s conftest.err; then
6726       # Append any errors to the config.log.
6727       cat conftest.err 1>&5
6728       $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6729       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6730       if diff conftest.exp conftest.er2 >/dev/null; then
6731         lt_prog_compiler_static_works=yes
6732       fi
6733     else
6734       lt_prog_compiler_static_works=yes
6735     fi
6736   fi
6737   $rm conftest*
6738   LDFLAGS="$save_LDFLAGS"
6739
6740fi
6741{ echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6742echo "${ECHO_T}$lt_prog_compiler_static_works" >&6; }
6743
6744if test x"$lt_prog_compiler_static_works" = xyes; then
6745    :
6746else
6747    lt_prog_compiler_static=
6748fi
6749
6750
6751{ echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6752echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6; }
6753if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6754  echo $ECHO_N "(cached) $ECHO_C" >&6
6755else
6756  lt_cv_prog_compiler_c_o=no
6757   $rm -r conftest 2>/dev/null
6758   mkdir conftest
6759   cd conftest
6760   mkdir out
6761   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6762
6763   lt_compiler_flag="-o out/conftest2.$ac_objext"
6764   # Insert the option either (1) after the last *FLAGS variable, or
6765   # (2) before a word containing "conftest.", or (3) at the end.
6766   # Note that $ac_compile itself does not contain backslashes and begins
6767   # with a dollar sign (not a hyphen), so the echo should work correctly.
6768   lt_compile=`echo "$ac_compile" | $SED \
6769   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6770   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6771   -e 's:$: $lt_compiler_flag:'`
6772   (eval echo "\"\$as_me:6772: $lt_compile\"" >&5)
6773   (eval "$lt_compile" 2>out/conftest.err)
6774   ac_status=$?
6775   cat out/conftest.err >&5
6776   echo "$as_me:6776: \$? = $ac_status" >&5
6777   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6778   then
6779     # The compiler can only warn and ignore the option if not recognized
6780     # So say no if there are warnings
6781     $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6782     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6783     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6784       lt_cv_prog_compiler_c_o=yes
6785     fi
6786   fi
6787   chmod u+w . 2>&5
6788   $rm conftest*
6789   # SGI C++ compiler will create directory out/ii_files/ for
6790   # template instantiation
6791   test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
6792   $rm out/* && rmdir out
6793   cd ..
6794   rmdir conftest
6795   $rm conftest*
6796
6797fi
6798{ echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6799echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6; }
6800
6801
6802hard_links="nottested"
6803if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6804  # do not overwrite the value of need_locks provided by the user
6805  { echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6806echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6; }
6807  hard_links=yes
6808  $rm conftest*
6809  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6810  touch conftest.a
6811  ln conftest.a conftest.b 2>&5 || hard_links=no
6812  ln conftest.a conftest.b 2>/dev/null && hard_links=no
6813  { echo "$as_me:$LINENO: result: $hard_links" >&5
6814echo "${ECHO_T}$hard_links" >&6; }
6815  if test "$hard_links" = no; then
6816    { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6817echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6818    need_locks=warn
6819  fi
6820else
6821  need_locks=no
6822fi
6823
6824{ echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6825echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6; }
6826
6827  runpath_var=
6828  allow_undefined_flag=
6829  enable_shared_with_static_runtimes=no
6830  archive_cmds=
6831  archive_expsym_cmds=
6832  old_archive_From_new_cmds=
6833  old_archive_from_expsyms_cmds=
6834  export_dynamic_flag_spec=
6835  whole_archive_flag_spec=
6836  thread_safe_flag_spec=
6837  hardcode_libdir_flag_spec=
6838  hardcode_libdir_flag_spec_ld=
6839  hardcode_libdir_separator=
6840  hardcode_direct=no
6841  hardcode_minus_L=no
6842  hardcode_shlibpath_var=unsupported
6843  link_all_deplibs=unknown
6844  hardcode_automatic=no
6845  module_cmds=
6846  module_expsym_cmds=
6847  always_export_symbols=no
6848  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6849  # include_expsyms should be a list of space-separated symbols to be *always*
6850  # included in the symbol list
6851  include_expsyms=
6852  # exclude_expsyms can be an extended regexp of symbols to exclude
6853  # it will be wrapped by ` (' and `)$', so one must not match beginning or
6854  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6855  # as well as any symbol that contains `d'.
6856  exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6857  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6858  # platforms (ab)use it in PIC code, but their linkers get confused if
6859  # the symbol is explicitly referenced.  Since portable code cannot
6860  # rely on this symbol name, it's probably fine to never include it in
6861  # preloaded symbol tables.
6862  extract_expsyms_cmds=
6863  # Just being paranoid about ensuring that cc_basename is set.
6864  for cc_temp in $compiler""; do
6865  case $cc_temp in
6866    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6867    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6868    \-*) ;;
6869    *) break;;
6870  esac
6871done
6872cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6873
6874  case $host_os in
6875  cygwin* | mingw* | pw32*)
6876    # FIXME: the MSVC++ port hasn't been tested in a loooong time
6877    # When not using gcc, we currently assume that we are using
6878    # Microsoft Visual C++.
6879    if test "$GCC" != yes; then
6880      with_gnu_ld=no
6881    fi
6882    ;;
6883  interix*)
6884    # we just hope/assume this is gcc and not c89 (= MSVC++)
6885    with_gnu_ld=yes
6886    ;;
6887  openbsd*)
6888    with_gnu_ld=no
6889    ;;
6890  esac
6891
6892  ld_shlibs=yes
6893  if test "$with_gnu_ld" = yes; then
6894    # If archive_cmds runs LD, not CC, wlarc should be empty
6895    wlarc='${wl}'
6896
6897    # Set some defaults for GNU ld with shared library support. These
6898    # are reset later if shared libraries are not supported. Putting them
6899    # here allows them to be overridden if necessary.
6900    runpath_var=LD_RUN_PATH
6901    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6902    export_dynamic_flag_spec='${wl}--export-dynamic'
6903    # ancient GNU ld didn't support --whole-archive et. al.
6904    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6905	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6906      else
6907  	whole_archive_flag_spec=
6908    fi
6909    supports_anon_versioning=no
6910    case `$LD -v 2>/dev/null` in
6911      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6912      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6913      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6914      *\ 2.11.*) ;; # other 2.11 versions
6915      *) supports_anon_versioning=yes ;;
6916    esac
6917
6918    # See if GNU ld supports shared libraries.
6919    case $host_os in
6920    aix3* | aix4* | aix5*)
6921      # On AIX/PPC, the GNU linker is very broken
6922      if test "$host_cpu" != ia64; then
6923	ld_shlibs=no
6924	cat <<EOF 1>&2
6925
6926*** Warning: the GNU linker, at least up to release 2.9.1, is reported
6927*** to be unable to reliably create shared libraries on AIX.
6928*** Therefore, libtool is disabling shared libraries support.  If you
6929*** really care for shared libraries, you may want to modify your PATH
6930*** so that a non-GNU linker is found, and then restart.
6931
6932EOF
6933      fi
6934      ;;
6935
6936    amigaos*)
6937      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)'
6938      hardcode_libdir_flag_spec='-L$libdir'
6939      hardcode_minus_L=yes
6940
6941      # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6942      # that the semantics of dynamic libraries on AmigaOS, at least up
6943      # to version 4, is to share data among multiple programs linked
6944      # with the same dynamic library.  Since this doesn't match the
6945      # behavior of shared libraries on other platforms, we can't use
6946      # them.
6947      ld_shlibs=no
6948      ;;
6949
6950    beos*)
6951      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6952	allow_undefined_flag=unsupported
6953	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6954	# support --undefined.  This deserves some investigation.  FIXME
6955	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6956      else
6957	ld_shlibs=no
6958      fi
6959      ;;
6960
6961    cygwin* | mingw* | pw32*)
6962      # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6963      # as there is no search path for DLLs.
6964      hardcode_libdir_flag_spec='-L$libdir'
6965      allow_undefined_flag=unsupported
6966      always_export_symbols=no
6967      enable_shared_with_static_runtimes=yes
6968      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
6969
6970      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6971        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6972	# If the export-symbols file already is a .def file (1st line
6973	# is EXPORTS), use it as is; otherwise, prepend...
6974	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6975	  cp $export_symbols $output_objdir/$soname.def;
6976	else
6977	  echo EXPORTS > $output_objdir/$soname.def;
6978	  cat $export_symbols >> $output_objdir/$soname.def;
6979	fi~
6980	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
6981      else
6982	ld_shlibs=no
6983      fi
6984      ;;
6985
6986    interix[3-9]*)
6987      hardcode_direct=no
6988      hardcode_shlibpath_var=no
6989      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
6990      export_dynamic_flag_spec='${wl}-E'
6991      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
6992      # Instead, shared libraries are loaded at an image base (0x10000000 by
6993      # default) and relocated if they conflict, which is a slow very memory
6994      # consuming and fragmenting process.  To avoid this, we pick a random,
6995      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
6996      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
6997      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
6998      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'
6999      ;;
7000
7001    gnu* | linux* | k*bsd*-gnu)
7002      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7003	tmp_addflag=
7004	case $cc_basename,$host_cpu in
7005	pgcc*)				# Portland Group C compiler
7006	  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'
7007	  tmp_addflag=' $pic_flag'
7008	  ;;
7009	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
7010	  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'
7011	  tmp_addflag=' $pic_flag -Mnomain' ;;
7012	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
7013	  tmp_addflag=' -i_dynamic' ;;
7014	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
7015	  tmp_addflag=' -i_dynamic -nofor_main' ;;
7016	ifc* | ifort*)			# Intel Fortran compiler
7017	  tmp_addflag=' -nofor_main' ;;
7018	esac
7019	case `$CC -V 2>&1 | sed 5q` in
7020	*Sun\ C*)			# Sun C 5.9
7021	  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'
7022	  tmp_sharedflag='-G' ;;
7023	*Sun\ F*)			# Sun Fortran 8.3
7024	  tmp_sharedflag='-G' ;;
7025	*)
7026	  tmp_sharedflag='-shared' ;;
7027	esac
7028	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7029
7030	if test $supports_anon_versioning = yes; then
7031	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
7032  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7033  $echo "local: *; };" >> $output_objdir/$libname.ver~
7034	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7035	fi
7036      else
7037	ld_shlibs=no
7038      fi
7039      ;;
7040
7041    netbsd*)
7042      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7043	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7044	wlarc=
7045      else
7046	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7047	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7048      fi
7049      ;;
7050
7051    solaris*)
7052      if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
7053	ld_shlibs=no
7054	cat <<EOF 1>&2
7055
7056*** Warning: The releases 2.8.* of the GNU linker cannot reliably
7057*** create shared libraries on Solaris systems.  Therefore, libtool
7058*** is disabling shared libraries support.  We urge you to upgrade GNU
7059*** binutils to release 2.9.1 or newer.  Another option is to modify
7060*** your PATH or compiler configuration so that the native linker is
7061*** used, and then restart.
7062
7063EOF
7064      elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7065	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7066	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7067      else
7068	ld_shlibs=no
7069      fi
7070      ;;
7071
7072    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7073      case `$LD -v 2>&1` in
7074        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7075	ld_shlibs=no
7076	cat <<_LT_EOF 1>&2
7077
7078*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7079*** reliably create shared libraries on SCO systems.  Therefore, libtool
7080*** is disabling shared libraries support.  We urge you to upgrade GNU
7081*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7082*** your PATH or compiler configuration so that the native linker is
7083*** used, and then restart.
7084
7085_LT_EOF
7086	;;
7087	*)
7088	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7089	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
7090	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
7091	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
7092	  else
7093	    ld_shlibs=no
7094	  fi
7095	;;
7096      esac
7097      ;;
7098
7099    sunos4*)
7100      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7101      wlarc=
7102      hardcode_direct=yes
7103      hardcode_shlibpath_var=no
7104      ;;
7105
7106    *)
7107      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
7108	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7109	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7110      else
7111	ld_shlibs=no
7112      fi
7113      ;;
7114    esac
7115
7116    if test "$ld_shlibs" = no; then
7117      runpath_var=
7118      hardcode_libdir_flag_spec=
7119      export_dynamic_flag_spec=
7120      whole_archive_flag_spec=
7121    fi
7122  else
7123    # PORTME fill in a description of your system's linker (not GNU ld)
7124    case $host_os in
7125    aix3*)
7126      allow_undefined_flag=unsupported
7127      always_export_symbols=yes
7128      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'
7129      # Note: this linker hardcodes the directories in LIBPATH if there
7130      # are no directories specified by -L.
7131      hardcode_minus_L=yes
7132      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7133	# Neither direct hardcoding nor static linking is supported with a
7134	# broken collect2.
7135	hardcode_direct=unsupported
7136      fi
7137      ;;
7138
7139    aix4* | aix5*)
7140      if test "$host_cpu" = ia64; then
7141	# On IA64, the linker does run time linking by default, so we don't
7142	# have to do anything special.
7143	aix_use_runtimelinking=no
7144	exp_sym_flag='-Bexport'
7145	no_entry_flag=""
7146      else
7147	# If we're using GNU nm, then we don't want the "-C" option.
7148	# -C means demangle to AIX nm, but means don't demangle with GNU nm
7149	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
7150	  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'
7151	else
7152	  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'
7153	fi
7154	aix_use_runtimelinking=no
7155
7156	# Test if we are trying to use run time linking or normal
7157	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
7158	# need to do runtime linking.
7159	case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7160	  for ld_flag in $LDFLAGS; do
7161  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7162  	    aix_use_runtimelinking=yes
7163  	    break
7164  	  fi
7165	  done
7166	  ;;
7167	esac
7168
7169	exp_sym_flag='-bexport'
7170	no_entry_flag='-bnoentry'
7171      fi
7172
7173      # When large executables or shared objects are built, AIX ld can
7174      # have problems creating the table of contents.  If linking a library
7175      # or program results in "error TOC overflow" add -mminimal-toc to
7176      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
7177      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7178
7179      archive_cmds=''
7180      hardcode_direct=yes
7181      hardcode_libdir_separator=':'
7182      link_all_deplibs=yes
7183
7184      if test "$GCC" = yes; then
7185	case $host_os in aix4.[012]|aix4.[012].*)
7186	# We only want to do this on AIX 4.2 and lower, the check
7187	# below for broken collect2 doesn't work under 4.3+
7188	  collect2name=`${CC} -print-prog-name=collect2`
7189	  if test -f "$collect2name" && \
7190  	   strings "$collect2name" | grep resolve_lib_name >/dev/null
7191	  then
7192  	  # We have reworked collect2
7193  	  :
7194	  else
7195  	  # We have old collect2
7196  	  hardcode_direct=unsupported
7197  	  # It fails to find uninstalled libraries when the uninstalled
7198  	  # path is not listed in the libpath.  Setting hardcode_minus_L
7199  	  # to unsupported forces relinking
7200  	  hardcode_minus_L=yes
7201  	  hardcode_libdir_flag_spec='-L$libdir'
7202  	  hardcode_libdir_separator=
7203	  fi
7204	  ;;
7205	esac
7206	shared_flag='-shared'
7207	if test "$aix_use_runtimelinking" = yes; then
7208	  shared_flag="$shared_flag "'${wl}-G'
7209	fi
7210      else
7211	# not using gcc
7212	if test "$host_cpu" = ia64; then
7213  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7214  	# chokes on -Wl,-G. The following line is correct:
7215	  shared_flag='-G'
7216	else
7217	  if test "$aix_use_runtimelinking" = yes; then
7218	    shared_flag='${wl}-G'
7219	  else
7220	    shared_flag='${wl}-bM:SRE'
7221	  fi
7222	fi
7223      fi
7224
7225      # It seems that -bexpall does not export symbols beginning with
7226      # underscore (_), so it is better to generate a list of symbols to export.
7227      always_export_symbols=yes
7228      if test "$aix_use_runtimelinking" = yes; then
7229	# Warning - without using the other runtime loading flags (-brtl),
7230	# -berok will link without error, but may produce a broken library.
7231	allow_undefined_flag='-berok'
7232       # Determine the default libpath from the value encoded in an empty executable.
7233       cat >conftest.$ac_ext <<_ACEOF
7234/* confdefs.h.  */
7235_ACEOF
7236cat confdefs.h >>conftest.$ac_ext
7237cat >>conftest.$ac_ext <<_ACEOF
7238/* end confdefs.h.  */
7239
7240int
7241main ()
7242{
7243
7244  ;
7245  return 0;
7246}
7247_ACEOF
7248rm -f conftest.$ac_objext conftest$ac_exeext
7249if { (ac_try="$ac_link"
7250case "(($ac_try" in
7251  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7252  *) ac_try_echo=$ac_try;;
7253esac
7254eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7255  (eval "$ac_link") 2>conftest.er1
7256  ac_status=$?
7257  grep -v '^ *+' conftest.er1 >conftest.err
7258  rm -f conftest.er1
7259  cat conftest.err >&5
7260  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7261  (exit $ac_status); } && {
7262	 test -z "$ac_c_werror_flag" ||
7263	 test ! -s conftest.err
7264       } && test -s conftest$ac_exeext &&
7265       $as_test_x conftest$ac_exeext; then
7266
7267lt_aix_libpath_sed='
7268    /Import File Strings/,/^$/ {
7269	/^0/ {
7270	    s/^0  *\(.*\)$/\1/
7271	    p
7272	}
7273    }'
7274aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7275# Check for a 64-bit object if we didn't find anything.
7276if test -z "$aix_libpath"; then
7277  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7278fi
7279else
7280  echo "$as_me: failed program was:" >&5
7281sed 's/^/| /' conftest.$ac_ext >&5
7282
7283
7284fi
7285
7286rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7287      conftest$ac_exeext conftest.$ac_ext
7288if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7289
7290       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7291	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 "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7292       else
7293	if test "$host_cpu" = ia64; then
7294	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7295	  allow_undefined_flag="-z nodefs"
7296	  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"
7297	else
7298	 # Determine the default libpath from the value encoded in an empty executable.
7299	 cat >conftest.$ac_ext <<_ACEOF
7300/* confdefs.h.  */
7301_ACEOF
7302cat confdefs.h >>conftest.$ac_ext
7303cat >>conftest.$ac_ext <<_ACEOF
7304/* end confdefs.h.  */
7305
7306int
7307main ()
7308{
7309
7310  ;
7311  return 0;
7312}
7313_ACEOF
7314rm -f conftest.$ac_objext conftest$ac_exeext
7315if { (ac_try="$ac_link"
7316case "(($ac_try" in
7317  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7318  *) ac_try_echo=$ac_try;;
7319esac
7320eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7321  (eval "$ac_link") 2>conftest.er1
7322  ac_status=$?
7323  grep -v '^ *+' conftest.er1 >conftest.err
7324  rm -f conftest.er1
7325  cat conftest.err >&5
7326  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7327  (exit $ac_status); } && {
7328	 test -z "$ac_c_werror_flag" ||
7329	 test ! -s conftest.err
7330       } && test -s conftest$ac_exeext &&
7331       $as_test_x conftest$ac_exeext; then
7332
7333lt_aix_libpath_sed='
7334    /Import File Strings/,/^$/ {
7335	/^0/ {
7336	    s/^0  *\(.*\)$/\1/
7337	    p
7338	}
7339    }'
7340aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7341# Check for a 64-bit object if we didn't find anything.
7342if test -z "$aix_libpath"; then
7343  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7344fi
7345else
7346  echo "$as_me: failed program was:" >&5
7347sed 's/^/| /' conftest.$ac_ext >&5
7348
7349
7350fi
7351
7352rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7353      conftest$ac_exeext conftest.$ac_ext
7354if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7355
7356	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7357	  # Warning - without using the other run time loading flags,
7358	  # -berok will link without error, but may produce a broken library.
7359	  no_undefined_flag=' ${wl}-bernotok'
7360	  allow_undefined_flag=' ${wl}-berok'
7361	  # Exported symbols can be pulled into shared objects from archives
7362	  whole_archive_flag_spec='$convenience'
7363	  archive_cmds_need_lc=yes
7364	  # This is similar to how AIX traditionally builds its shared libraries.
7365	  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'
7366	fi
7367      fi
7368      ;;
7369
7370    amigaos*)
7371      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)'
7372      hardcode_libdir_flag_spec='-L$libdir'
7373      hardcode_minus_L=yes
7374      # see comment about different semantics on the GNU ld section
7375      ld_shlibs=no
7376      ;;
7377
7378    bsdi[45]*)
7379      export_dynamic_flag_spec=-rdynamic
7380      ;;
7381
7382    cygwin* | mingw* | pw32*)
7383      # When not using gcc, we currently assume that we are using
7384      # Microsoft Visual C++.
7385      # hardcode_libdir_flag_spec is actually meaningless, as there is
7386      # no search path for DLLs.
7387      hardcode_libdir_flag_spec=' '
7388      allow_undefined_flag=unsupported
7389      # Tell ltmain to make .lib files, not .a files.
7390      libext=lib
7391      # Tell ltmain to make .dll files, not .so files.
7392      shrext_cmds=".dll"
7393      # FIXME: Setting linknames here is a bad hack.
7394      archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7395      # The linker will automatically build a .lib file if we build a DLL.
7396      old_archive_From_new_cmds='true'
7397      # FIXME: Should let the user specify the lib program.
7398      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7399      fix_srcfile_path='`cygpath -w "$srcfile"`'
7400      enable_shared_with_static_runtimes=yes
7401      ;;
7402
7403    darwin* | rhapsody*)
7404      case $host_os in
7405        rhapsody* | darwin1.[012])
7406         allow_undefined_flag='${wl}-undefined ${wl}suppress'
7407         ;;
7408       *) # Darwin 1.3 on
7409         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
7410           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7411         else
7412           case ${MACOSX_DEPLOYMENT_TARGET} in
7413             10.[012])
7414               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7415               ;;
7416             10.*)
7417               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7418               ;;
7419           esac
7420         fi
7421         ;;
7422      esac
7423      archive_cmds_need_lc=no
7424      hardcode_direct=no
7425      hardcode_automatic=yes
7426      hardcode_shlibpath_var=unsupported
7427      whole_archive_flag_spec=''
7428      link_all_deplibs=yes
7429    if test "$GCC" = yes ; then
7430    	output_verbose_link_cmd='echo'
7431        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7432      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7433      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7434      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7435      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7436    else
7437      case $cc_basename in
7438        xlc*)
7439         output_verbose_link_cmd='echo'
7440         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
7441         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7442          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7443         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7444          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7445          ;;
7446       *)
7447         ld_shlibs=no
7448          ;;
7449      esac
7450    fi
7451      ;;
7452
7453    dgux*)
7454      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7455      hardcode_libdir_flag_spec='-L$libdir'
7456      hardcode_shlibpath_var=no
7457      ;;
7458
7459    freebsd1*)
7460      ld_shlibs=no
7461      ;;
7462
7463    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7464    # support.  Future versions do this automatically, but an explicit c++rt0.o
7465    # does not break anything, and helps significantly (at the cost of a little
7466    # extra space).
7467    freebsd2.2*)
7468      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7469      hardcode_libdir_flag_spec='-R$libdir'
7470      hardcode_direct=yes
7471      hardcode_shlibpath_var=no
7472      ;;
7473
7474    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7475    freebsd2*)
7476      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7477      hardcode_direct=yes
7478      hardcode_minus_L=yes
7479      hardcode_shlibpath_var=no
7480      ;;
7481
7482    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7483    freebsd* | dragonfly*)
7484      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7485      hardcode_libdir_flag_spec='-R$libdir'
7486      hardcode_direct=yes
7487      hardcode_shlibpath_var=no
7488      ;;
7489
7490    hpux9*)
7491      if test "$GCC" = yes; then
7492	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'
7493      else
7494	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'
7495      fi
7496      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7497      hardcode_libdir_separator=:
7498      hardcode_direct=yes
7499
7500      # hardcode_minus_L: Not really in the search PATH,
7501      # but as the default location of the library.
7502      hardcode_minus_L=yes
7503      export_dynamic_flag_spec='${wl}-E'
7504      ;;
7505
7506    hpux10*)
7507      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7508	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7509      else
7510	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7511      fi
7512      if test "$with_gnu_ld" = no; then
7513	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7514	hardcode_libdir_separator=:
7515
7516	hardcode_direct=yes
7517	export_dynamic_flag_spec='${wl}-E'
7518
7519	# hardcode_minus_L: Not really in the search PATH,
7520	# but as the default location of the library.
7521	hardcode_minus_L=yes
7522      fi
7523      ;;
7524
7525    hpux11*)
7526      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7527	case $host_cpu in
7528	hppa*64*)
7529	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7530	  ;;
7531	ia64*)
7532	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7533	  ;;
7534	*)
7535	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7536	  ;;
7537	esac
7538      else
7539	case $host_cpu in
7540	hppa*64*)
7541	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7542	  ;;
7543	ia64*)
7544	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7545	  ;;
7546	*)
7547	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7548	  ;;
7549	esac
7550      fi
7551      if test "$with_gnu_ld" = no; then
7552	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7553	hardcode_libdir_separator=:
7554
7555	case $host_cpu in
7556	hppa*64*|ia64*)
7557	  hardcode_libdir_flag_spec_ld='+b $libdir'
7558	  hardcode_direct=no
7559	  hardcode_shlibpath_var=no
7560	  ;;
7561	*)
7562	  hardcode_direct=yes
7563	  export_dynamic_flag_spec='${wl}-E'
7564
7565	  # hardcode_minus_L: Not really in the search PATH,
7566	  # but as the default location of the library.
7567	  hardcode_minus_L=yes
7568	  ;;
7569	esac
7570      fi
7571      ;;
7572
7573    irix5* | irix6* | nonstopux*)
7574      if test "$GCC" = yes; then
7575	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7576      else
7577	archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7578	hardcode_libdir_flag_spec_ld='-rpath $libdir'
7579      fi
7580      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7581      hardcode_libdir_separator=:
7582      link_all_deplibs=yes
7583      ;;
7584
7585    netbsd*)
7586      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7587	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7588      else
7589	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
7590      fi
7591      hardcode_libdir_flag_spec='-R$libdir'
7592      hardcode_direct=yes
7593      hardcode_shlibpath_var=no
7594      ;;
7595
7596    newsos6)
7597      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7598      hardcode_direct=yes
7599      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7600      hardcode_libdir_separator=:
7601      hardcode_shlibpath_var=no
7602      ;;
7603
7604    openbsd*)
7605      if test -f /usr/libexec/ld.so; then
7606	hardcode_direct=yes
7607	hardcode_shlibpath_var=no
7608	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7609	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7610	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7611	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7612	  export_dynamic_flag_spec='${wl}-E'
7613	else
7614	  case $host_os in
7615	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7616	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7617	     hardcode_libdir_flag_spec='-R$libdir'
7618	     ;;
7619	   *)
7620	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7621	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7622	     ;;
7623	  esac
7624        fi
7625      else
7626	ld_shlibs=no
7627      fi
7628      ;;
7629
7630    os2*)
7631      hardcode_libdir_flag_spec='-L$libdir'
7632      hardcode_minus_L=yes
7633      allow_undefined_flag=unsupported
7634      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'
7635      old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7636      ;;
7637
7638    osf3*)
7639      if test "$GCC" = yes; then
7640	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7641	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7642      else
7643	allow_undefined_flag=' -expect_unresolved \*'
7644	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7645      fi
7646      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7647      hardcode_libdir_separator=:
7648      ;;
7649
7650    osf4* | osf5*)	# as osf3* with the addition of -msym flag
7651      if test "$GCC" = yes; then
7652	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7653	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7654	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7655      else
7656	allow_undefined_flag=' -expect_unresolved \*'
7657	archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7658	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7659	$LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7660
7661	# Both c and cxx compiler support -rpath directly
7662	hardcode_libdir_flag_spec='-rpath $libdir'
7663      fi
7664      hardcode_libdir_separator=:
7665      ;;
7666
7667    solaris*)
7668      no_undefined_flag=' -z text'
7669      if test "$GCC" = yes; then
7670	wlarc='${wl}'
7671	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7672	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7673	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7674      else
7675	wlarc=''
7676	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7677	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7678  	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7679      fi
7680      hardcode_libdir_flag_spec='-R$libdir'
7681      hardcode_shlibpath_var=no
7682      case $host_os in
7683      solaris2.[0-5] | solaris2.[0-5].*) ;;
7684      *)
7685	# The compiler driver will combine and reorder linker options,
7686	# but understands `-z linker_flag'.  GCC discards it without `$wl',
7687	# but is careful enough not to reorder.
7688 	# Supported since Solaris 2.6 (maybe 2.5.1?)
7689	if test "$GCC" = yes; then
7690	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
7691	else
7692	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
7693	fi
7694	;;
7695      esac
7696      link_all_deplibs=yes
7697      ;;
7698
7699    sunos4*)
7700      if test "x$host_vendor" = xsequent; then
7701	# Use $CC to link under sequent, because it throws in some extra .o
7702	# files that make .init and .fini sections work.
7703	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7704      else
7705	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7706      fi
7707      hardcode_libdir_flag_spec='-L$libdir'
7708      hardcode_direct=yes
7709      hardcode_minus_L=yes
7710      hardcode_shlibpath_var=no
7711      ;;
7712
7713    sysv4)
7714      case $host_vendor in
7715	sni)
7716	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7717	  hardcode_direct=yes # is this really true???
7718	;;
7719	siemens)
7720	  ## LD is ld it makes a PLAMLIB
7721	  ## CC just makes a GrossModule.
7722	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7723	  reload_cmds='$CC -r -o $output$reload_objs'
7724	  hardcode_direct=no
7725        ;;
7726	motorola)
7727	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7728	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7729	;;
7730      esac
7731      runpath_var='LD_RUN_PATH'
7732      hardcode_shlibpath_var=no
7733      ;;
7734
7735    sysv4.3*)
7736      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7737      hardcode_shlibpath_var=no
7738      export_dynamic_flag_spec='-Bexport'
7739      ;;
7740
7741    sysv4*MP*)
7742      if test -d /usr/nec; then
7743	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7744	hardcode_shlibpath_var=no
7745	runpath_var=LD_RUN_PATH
7746	hardcode_runpath_var=yes
7747	ld_shlibs=yes
7748      fi
7749      ;;
7750
7751    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
7752      no_undefined_flag='${wl}-z,text'
7753      archive_cmds_need_lc=no
7754      hardcode_shlibpath_var=no
7755      runpath_var='LD_RUN_PATH'
7756
7757      if test "$GCC" = yes; then
7758	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7759	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7760      else
7761	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7762	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
7763      fi
7764      ;;
7765
7766    sysv5* | sco3.2v5* | sco5v6*)
7767      # Note: We can NOT use -z defs as we might desire, because we do not
7768      # link with -lc, and that would cause any symbols used from libc to
7769      # always be unresolved, which means just about no library would
7770      # ever link correctly.  If we're not using GNU ld we use -z text
7771      # though, which does catch some bad symbols but isn't as heavy-handed
7772      # as -z defs.
7773      no_undefined_flag='${wl}-z,text'
7774      allow_undefined_flag='${wl}-z,nodefs'
7775      archive_cmds_need_lc=no
7776      hardcode_shlibpath_var=no
7777      hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
7778      hardcode_libdir_separator=':'
7779      link_all_deplibs=yes
7780      export_dynamic_flag_spec='${wl}-Bexport'
7781      runpath_var='LD_RUN_PATH'
7782
7783      if test "$GCC" = yes; then
7784	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7785	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7786      else
7787	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7788	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
7789      fi
7790      ;;
7791
7792    uts4*)
7793      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7794      hardcode_libdir_flag_spec='-L$libdir'
7795      hardcode_shlibpath_var=no
7796      ;;
7797
7798    *)
7799      ld_shlibs=no
7800      ;;
7801    esac
7802  fi
7803
7804{ echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7805echo "${ECHO_T}$ld_shlibs" >&6; }
7806test "$ld_shlibs" = no && can_build_shared=no
7807
7808#
7809# Do we need to explicitly link libc?
7810#
7811case "x$archive_cmds_need_lc" in
7812x|xyes)
7813  # Assume -lc should be added
7814  archive_cmds_need_lc=yes
7815
7816  if test "$enable_shared" = yes && test "$GCC" = yes; then
7817    case $archive_cmds in
7818    *'~'*)
7819      # FIXME: we may have to deal with multi-command sequences.
7820      ;;
7821    '$CC '*)
7822      # Test whether the compiler implicitly links with -lc since on some
7823      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7824      # to ld, don't add -lc before -lgcc.
7825      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7826echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
7827      $rm conftest*
7828      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7829
7830      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7831  (eval $ac_compile) 2>&5
7832  ac_status=$?
7833  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7834  (exit $ac_status); } 2>conftest.err; then
7835        soname=conftest
7836        lib=conftest
7837        libobjs=conftest.$ac_objext
7838        deplibs=
7839        wl=$lt_prog_compiler_wl
7840	pic_flag=$lt_prog_compiler_pic
7841        compiler_flags=-v
7842        linker_flags=-v
7843        verstring=
7844        output_objdir=.
7845        libname=conftest
7846        lt_save_allow_undefined_flag=$allow_undefined_flag
7847        allow_undefined_flag=
7848        if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7849  (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7850  ac_status=$?
7851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852  (exit $ac_status); }
7853        then
7854	  archive_cmds_need_lc=no
7855        else
7856	  archive_cmds_need_lc=yes
7857        fi
7858        allow_undefined_flag=$lt_save_allow_undefined_flag
7859      else
7860        cat conftest.err 1>&5
7861      fi
7862      $rm conftest*
7863      { echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7864echo "${ECHO_T}$archive_cmds_need_lc" >&6; }
7865      ;;
7866    esac
7867  fi
7868  ;;
7869esac
7870
7871{ echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7872echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6; }
7873library_names_spec=
7874libname_spec='lib$name'
7875soname_spec=
7876shrext_cmds=".so"
7877postinstall_cmds=
7878postuninstall_cmds=
7879finish_cmds=
7880finish_eval=
7881shlibpath_var=
7882shlibpath_overrides_runpath=unknown
7883version_type=none
7884dynamic_linker="$host_os ld.so"
7885sys_lib_dlsearch_path_spec="/lib /usr/lib"
7886
7887if test "$GCC" = yes; then
7888  case $host_os in
7889    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
7890    *) lt_awk_arg="/^libraries:/" ;;
7891  esac
7892  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7893  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
7894    # if the path contains ";" then we assume it to be the separator
7895    # otherwise default to the standard path separator (i.e. ":") - it is
7896    # assumed that no part of a normal pathname contains ";" but that should
7897    # okay in the real world where ";" in dirpaths is itself problematic.
7898    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
7899  else
7900    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
7901  fi
7902  # Ok, now we have the path, separated by spaces, we can step through it
7903  # and add multilib dir if necessary.
7904  lt_tmp_lt_search_path_spec=
7905  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
7906  for lt_sys_path in $lt_search_path_spec; do
7907    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
7908      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
7909    else
7910      test -d "$lt_sys_path" && \
7911	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
7912    fi
7913  done
7914  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
7915BEGIN {RS=" "; FS="/|\n";} {
7916  lt_foo="";
7917  lt_count=0;
7918  for (lt_i = NF; lt_i > 0; lt_i--) {
7919    if ($lt_i != "" && $lt_i != ".") {
7920      if ($lt_i == "..") {
7921        lt_count++;
7922      } else {
7923        if (lt_count == 0) {
7924          lt_foo="/" $lt_i lt_foo;
7925        } else {
7926          lt_count--;
7927        }
7928      }
7929    }
7930  }
7931  if (lt_foo != "") { lt_freq[lt_foo]++; }
7932  if (lt_freq[lt_foo] == 1) { print lt_foo; }
7933}'`
7934  sys_lib_search_path_spec=`echo $lt_search_path_spec`
7935else
7936  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7937fi
7938need_lib_prefix=unknown
7939hardcode_into_libs=no
7940
7941# when you set need_version to no, make sure it does not cause -set_version
7942# flags to be left without arguments
7943need_version=unknown
7944
7945case $host_os in
7946aix3*)
7947  version_type=linux
7948  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7949  shlibpath_var=LIBPATH
7950
7951  # AIX 3 has no versioning support, so we append a major version to the name.
7952  soname_spec='${libname}${release}${shared_ext}$major'
7953  ;;
7954
7955aix4* | aix5*)
7956  version_type=linux
7957  need_lib_prefix=no
7958  need_version=no
7959  hardcode_into_libs=yes
7960  if test "$host_cpu" = ia64; then
7961    # AIX 5 supports IA64
7962    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7963    shlibpath_var=LD_LIBRARY_PATH
7964  else
7965    # With GCC up to 2.95.x, collect2 would create an import file
7966    # for dependence libraries.  The import file would start with
7967    # the line `#! .'.  This would cause the generated library to
7968    # depend on `.', always an invalid library.  This was fixed in
7969    # development snapshots of GCC prior to 3.0.
7970    case $host_os in
7971      aix4 | aix4.[01] | aix4.[01].*)
7972      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7973	   echo ' yes '
7974	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7975	:
7976      else
7977	can_build_shared=no
7978      fi
7979      ;;
7980    esac
7981    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7982    # soname into executable. Probably we can add versioning support to
7983    # collect2, so additional links can be useful in future.
7984    if test "$aix_use_runtimelinking" = yes; then
7985      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7986      # instead of lib<name>.a to let people know that these are not
7987      # typical AIX shared libraries.
7988      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7989    else
7990      # We preserve .a as extension for shared libraries through AIX4.2
7991      # and later when we are not doing run time linking.
7992      library_names_spec='${libname}${release}.a $libname.a'
7993      soname_spec='${libname}${release}${shared_ext}$major'
7994    fi
7995    shlibpath_var=LIBPATH
7996  fi
7997  ;;
7998
7999amigaos*)
8000  library_names_spec='$libname.ixlibrary $libname.a'
8001  # Create ${libname}_ixlibrary.a entries in /sys/libs.
8002  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'
8003  ;;
8004
8005beos*)
8006  library_names_spec='${libname}${shared_ext}'
8007  dynamic_linker="$host_os ld.so"
8008  shlibpath_var=LIBRARY_PATH
8009  ;;
8010
8011bsdi[45]*)
8012  version_type=linux
8013  need_version=no
8014  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8015  soname_spec='${libname}${release}${shared_ext}$major'
8016  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8017  shlibpath_var=LD_LIBRARY_PATH
8018  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8019  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8020  # the default ld.so.conf also contains /usr/contrib/lib and
8021  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8022  # libtool to hard-code these into programs
8023  ;;
8024
8025cygwin* | mingw* | pw32*)
8026  version_type=windows
8027  shrext_cmds=".dll"
8028  need_version=no
8029  need_lib_prefix=no
8030
8031  case $GCC,$host_os in
8032  yes,cygwin* | yes,mingw* | yes,pw32*)
8033    library_names_spec='$libname.dll.a'
8034    # DLL is installed to $(libdir)/../bin by postinstall_cmds
8035    postinstall_cmds='base_file=`basename \${file}`~
8036      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
8037      dldir=$destdir/`dirname \$dlpath`~
8038      test -d \$dldir || mkdir -p \$dldir~
8039      $install_prog $dir/$dlname \$dldir/$dlname~
8040      chmod a+x \$dldir/$dlname'
8041    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8042      dlpath=$dir/\$dldll~
8043       $rm \$dlpath'
8044    shlibpath_overrides_runpath=yes
8045
8046    case $host_os in
8047    cygwin*)
8048      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8049      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8050      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8051      ;;
8052    mingw*)
8053      # MinGW DLLs use traditional 'lib' prefix
8054      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8055      sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8056      if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
8057        # It is most probably a Windows format PATH printed by
8058        # mingw gcc, but we are running on Cygwin. Gcc prints its search
8059        # path with ; separators, and with drive letters. We can handle the
8060        # drive letters (cygwin fileutils understands them), so leave them,
8061        # especially as we might pass files found there to a mingw objdump,
8062        # which wouldn't understand a cygwinified path. Ahh.
8063        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8064      else
8065        sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8066      fi
8067      ;;
8068    pw32*)
8069      # pw32 DLLs use 'pw' prefix rather than 'lib'
8070      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8071      ;;
8072    esac
8073    ;;
8074
8075  *)
8076    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8077    ;;
8078  esac
8079  dynamic_linker='Win32 ld.exe'
8080  # FIXME: first we should search . and the directory the executable is in
8081  shlibpath_var=PATH
8082  ;;
8083
8084darwin* | rhapsody*)
8085  dynamic_linker="$host_os dyld"
8086  version_type=darwin
8087  need_lib_prefix=no
8088  need_version=no
8089  library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8090  soname_spec='${libname}${release}${major}$shared_ext'
8091  shlibpath_overrides_runpath=yes
8092  shlibpath_var=DYLD_LIBRARY_PATH
8093  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8094
8095  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8096  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8097  ;;
8098
8099dgux*)
8100  version_type=linux
8101  need_lib_prefix=no
8102  need_version=no
8103  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8104  soname_spec='${libname}${release}${shared_ext}$major'
8105  shlibpath_var=LD_LIBRARY_PATH
8106  ;;
8107
8108freebsd1*)
8109  dynamic_linker=no
8110  ;;
8111
8112freebsd* | dragonfly*)
8113  # DragonFly does not have aout.  When/if they implement a new
8114  # versioning mechanism, adjust this.
8115  if test -x /usr/bin/objformat; then
8116    objformat=`/usr/bin/objformat`
8117  else
8118    case $host_os in
8119    freebsd[123]*) objformat=aout ;;
8120    *) objformat=elf ;;
8121    esac
8122  fi
8123  version_type=freebsd-$objformat
8124  case $version_type in
8125    freebsd-elf*)
8126      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8127      need_version=no
8128      need_lib_prefix=no
8129      ;;
8130    freebsd-*)
8131      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8132      need_version=yes
8133      ;;
8134  esac
8135  shlibpath_var=LD_LIBRARY_PATH
8136  case $host_os in
8137  freebsd2*)
8138    shlibpath_overrides_runpath=yes
8139    ;;
8140  freebsd3.[01]* | freebsdelf3.[01]*)
8141    shlibpath_overrides_runpath=yes
8142    hardcode_into_libs=yes
8143    ;;
8144  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8145  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8146    shlibpath_overrides_runpath=no
8147    hardcode_into_libs=yes
8148    ;;
8149  *) # from 4.6 on, and DragonFly
8150    shlibpath_overrides_runpath=yes
8151    hardcode_into_libs=yes
8152    ;;
8153  esac
8154  ;;
8155
8156gnu*)
8157  version_type=linux
8158  need_lib_prefix=no
8159  need_version=no
8160  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8161  soname_spec='${libname}${release}${shared_ext}$major'
8162  shlibpath_var=LD_LIBRARY_PATH
8163  hardcode_into_libs=yes
8164  ;;
8165
8166hpux9* | hpux10* | hpux11*)
8167  # Give a soname corresponding to the major version so that dld.sl refuses to
8168  # link against other versions.
8169  version_type=sunos
8170  need_lib_prefix=no
8171  need_version=no
8172  case $host_cpu in
8173  ia64*)
8174    shrext_cmds='.so'
8175    hardcode_into_libs=yes
8176    dynamic_linker="$host_os dld.so"
8177    shlibpath_var=LD_LIBRARY_PATH
8178    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8179    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8180    soname_spec='${libname}${release}${shared_ext}$major'
8181    if test "X$HPUX_IA64_MODE" = X32; then
8182      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8183    else
8184      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8185    fi
8186    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8187    ;;
8188   hppa*64*)
8189     shrext_cmds='.sl'
8190     hardcode_into_libs=yes
8191     dynamic_linker="$host_os dld.sl"
8192     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8193     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8194     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8195     soname_spec='${libname}${release}${shared_ext}$major'
8196     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8197     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8198     ;;
8199   *)
8200    shrext_cmds='.sl'
8201    dynamic_linker="$host_os dld.sl"
8202    shlibpath_var=SHLIB_PATH
8203    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8204    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8205    soname_spec='${libname}${release}${shared_ext}$major'
8206    ;;
8207  esac
8208  # HP-UX runs *really* slowly unless shared libraries are mode 555.
8209  postinstall_cmds='chmod 555 $lib'
8210  ;;
8211
8212interix[3-9]*)
8213  version_type=linux
8214  need_lib_prefix=no
8215  need_version=no
8216  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8217  soname_spec='${libname}${release}${shared_ext}$major'
8218  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8219  shlibpath_var=LD_LIBRARY_PATH
8220  shlibpath_overrides_runpath=no
8221  hardcode_into_libs=yes
8222  ;;
8223
8224irix5* | irix6* | nonstopux*)
8225  case $host_os in
8226    nonstopux*) version_type=nonstopux ;;
8227    *)
8228	if test "$lt_cv_prog_gnu_ld" = yes; then
8229		version_type=linux
8230	else
8231		version_type=irix
8232	fi ;;
8233  esac
8234  need_lib_prefix=no
8235  need_version=no
8236  soname_spec='${libname}${release}${shared_ext}$major'
8237  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8238  case $host_os in
8239  irix5* | nonstopux*)
8240    libsuff= shlibsuff=
8241    ;;
8242  *)
8243    case $LD in # libtool.m4 will add one of these switches to LD
8244    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8245      libsuff= shlibsuff= libmagic=32-bit;;
8246    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8247      libsuff=32 shlibsuff=N32 libmagic=N32;;
8248    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8249      libsuff=64 shlibsuff=64 libmagic=64-bit;;
8250    *) libsuff= shlibsuff= libmagic=never-match;;
8251    esac
8252    ;;
8253  esac
8254  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8255  shlibpath_overrides_runpath=no
8256  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8257  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8258  hardcode_into_libs=yes
8259  ;;
8260
8261# No shared lib support for Linux oldld, aout, or coff.
8262linux*oldld* | linux*aout* | linux*coff*)
8263  dynamic_linker=no
8264  ;;
8265
8266# This must be Linux ELF.
8267linux* | k*bsd*-gnu)
8268  version_type=linux
8269  need_lib_prefix=no
8270  need_version=no
8271  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8272  soname_spec='${libname}${release}${shared_ext}$major'
8273  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8274  shlibpath_var=LD_LIBRARY_PATH
8275  shlibpath_overrides_runpath=no
8276  # This implies no fast_install, which is unacceptable.
8277  # Some rework will be needed to allow for fast_install
8278  # before this can be enabled.
8279  hardcode_into_libs=yes
8280  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8281  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8282
8283  # Append ld.so.conf contents to the search path
8284  if test -f /etc/ld.so.conf; then
8285    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' ' '`
8286    sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
8287  fi
8288
8289  # We used to test for /lib/ld.so.1 and disable shared libraries on
8290  # powerpc, because MkLinux only supported shared libraries with the
8291  # GNU dynamic linker.  Since this was broken with cross compilers,
8292  # most powerpc-linux boxes support dynamic linking these days and
8293  # people can always --disable-shared, the test was removed, and we
8294  # assume the GNU/Linux dynamic linker is in use.
8295  dynamic_linker='GNU/Linux ld.so'
8296  ;;
8297
8298netbsd*)
8299  version_type=sunos
8300  need_lib_prefix=no
8301  need_version=no
8302  if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
8303    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8304    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8305    dynamic_linker='NetBSD (a.out) ld.so'
8306  else
8307    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8308    soname_spec='${libname}${release}${shared_ext}$major'
8309    dynamic_linker='NetBSD ld.elf_so'
8310  fi
8311  shlibpath_var=LD_LIBRARY_PATH
8312  shlibpath_overrides_runpath=yes
8313  hardcode_into_libs=yes
8314  ;;
8315
8316newsos6)
8317  version_type=linux
8318  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8319  shlibpath_var=LD_LIBRARY_PATH
8320  shlibpath_overrides_runpath=yes
8321  ;;
8322
8323nto-qnx*)
8324  version_type=linux
8325  need_lib_prefix=no
8326  need_version=no
8327  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8328  soname_spec='${libname}${release}${shared_ext}$major'
8329  shlibpath_var=LD_LIBRARY_PATH
8330  shlibpath_overrides_runpath=yes
8331  ;;
8332
8333openbsd*)
8334  version_type=sunos
8335  sys_lib_dlsearch_path_spec="/usr/lib"
8336  need_lib_prefix=no
8337  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8338  case $host_os in
8339    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8340    *)                         need_version=no  ;;
8341  esac
8342  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8343  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8344  shlibpath_var=LD_LIBRARY_PATH
8345  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8346    case $host_os in
8347      openbsd2.[89] | openbsd2.[89].*)
8348	shlibpath_overrides_runpath=no
8349	;;
8350      *)
8351	shlibpath_overrides_runpath=yes
8352	;;
8353      esac
8354  else
8355    shlibpath_overrides_runpath=yes
8356  fi
8357  ;;
8358
8359os2*)
8360  libname_spec='$name'
8361  shrext_cmds=".dll"
8362  need_lib_prefix=no
8363  library_names_spec='$libname${shared_ext} $libname.a'
8364  dynamic_linker='OS/2 ld.exe'
8365  shlibpath_var=LIBPATH
8366  ;;
8367
8368osf3* | osf4* | osf5*)
8369  version_type=osf
8370  need_lib_prefix=no
8371  need_version=no
8372  soname_spec='${libname}${release}${shared_ext}$major'
8373  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8374  shlibpath_var=LD_LIBRARY_PATH
8375  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8376  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8377  ;;
8378
8379rdos*)
8380  dynamic_linker=no
8381  ;;
8382
8383solaris*)
8384  version_type=linux
8385  need_lib_prefix=no
8386  need_version=no
8387  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8388  soname_spec='${libname}${release}${shared_ext}$major'
8389  shlibpath_var=LD_LIBRARY_PATH
8390  shlibpath_overrides_runpath=yes
8391  hardcode_into_libs=yes
8392  # ldd complains unless libraries are executable
8393  postinstall_cmds='chmod +x $lib'
8394  ;;
8395
8396sunos4*)
8397  version_type=sunos
8398  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8399  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8400  shlibpath_var=LD_LIBRARY_PATH
8401  shlibpath_overrides_runpath=yes
8402  if test "$with_gnu_ld" = yes; then
8403    need_lib_prefix=no
8404  fi
8405  need_version=yes
8406  ;;
8407
8408sysv4 | sysv4.3*)
8409  version_type=linux
8410  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8411  soname_spec='${libname}${release}${shared_ext}$major'
8412  shlibpath_var=LD_LIBRARY_PATH
8413  case $host_vendor in
8414    sni)
8415      shlibpath_overrides_runpath=no
8416      need_lib_prefix=no
8417      export_dynamic_flag_spec='${wl}-Blargedynsym'
8418      runpath_var=LD_RUN_PATH
8419      ;;
8420    siemens)
8421      need_lib_prefix=no
8422      ;;
8423    motorola)
8424      need_lib_prefix=no
8425      need_version=no
8426      shlibpath_overrides_runpath=no
8427      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8428      ;;
8429  esac
8430  ;;
8431
8432sysv4*MP*)
8433  if test -d /usr/nec ;then
8434    version_type=linux
8435    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8436    soname_spec='$libname${shared_ext}.$major'
8437    shlibpath_var=LD_LIBRARY_PATH
8438  fi
8439  ;;
8440
8441sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8442  version_type=freebsd-elf
8443  need_lib_prefix=no
8444  need_version=no
8445  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8446  soname_spec='${libname}${release}${shared_ext}$major'
8447  shlibpath_var=LD_LIBRARY_PATH
8448  hardcode_into_libs=yes
8449  if test "$with_gnu_ld" = yes; then
8450    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
8451    shlibpath_overrides_runpath=no
8452  else
8453    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
8454    shlibpath_overrides_runpath=yes
8455    case $host_os in
8456      sco3.2v5*)
8457        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
8458	;;
8459    esac
8460  fi
8461  sys_lib_dlsearch_path_spec='/usr/lib'
8462  ;;
8463
8464uts4*)
8465  version_type=linux
8466  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8467  soname_spec='${libname}${release}${shared_ext}$major'
8468  shlibpath_var=LD_LIBRARY_PATH
8469  ;;
8470
8471*)
8472  dynamic_linker=no
8473  ;;
8474esac
8475{ echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8476echo "${ECHO_T}$dynamic_linker" >&6; }
8477test "$dynamic_linker" = no && can_build_shared=no
8478
8479variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
8480if test "$GCC" = yes; then
8481  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
8482fi
8483
8484{ echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
8485echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6; }
8486hardcode_action=
8487if test -n "$hardcode_libdir_flag_spec" || \
8488   test -n "$runpath_var" || \
8489   test "X$hardcode_automatic" = "Xyes" ; then
8490
8491  # We can hardcode non-existant directories.
8492  if test "$hardcode_direct" != no &&
8493     # If the only mechanism to avoid hardcoding is shlibpath_var, we
8494     # have to relink, otherwise we might link with an installed library
8495     # when we should be linking with a yet-to-be-installed one
8496     ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
8497     test "$hardcode_minus_L" != no; then
8498    # Linking always hardcodes the temporary library directory.
8499    hardcode_action=relink
8500  else
8501    # We can link without hardcoding, and we can hardcode nonexisting dirs.
8502    hardcode_action=immediate
8503  fi
8504else
8505  # We cannot hardcode anything, or else we can only hardcode existing
8506  # directories.
8507  hardcode_action=unsupported
8508fi
8509{ echo "$as_me:$LINENO: result: $hardcode_action" >&5
8510echo "${ECHO_T}$hardcode_action" >&6; }
8511
8512if test "$hardcode_action" = relink; then
8513  # Fast installation is not supported
8514  enable_fast_install=no
8515elif test "$shlibpath_overrides_runpath" = yes ||
8516     test "$enable_shared" = no; then
8517  # Fast installation is not necessary
8518  enable_fast_install=needless
8519fi
8520
8521striplib=
8522old_striplib=
8523{ echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
8524echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6; }
8525if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
8526  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
8527  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
8528  { echo "$as_me:$LINENO: result: yes" >&5
8529echo "${ECHO_T}yes" >&6; }
8530else
8531# FIXME - insert some real tests, host_os isn't really good enough
8532  case $host_os in
8533   darwin*)
8534       if test -n "$STRIP" ; then
8535         striplib="$STRIP -x"
8536         old_striplib="$STRIP -S"
8537         { echo "$as_me:$LINENO: result: yes" >&5
8538echo "${ECHO_T}yes" >&6; }
8539       else
8540  { echo "$as_me:$LINENO: result: no" >&5
8541echo "${ECHO_T}no" >&6; }
8542fi
8543       ;;
8544   *)
8545  { echo "$as_me:$LINENO: result: no" >&5
8546echo "${ECHO_T}no" >&6; }
8547    ;;
8548  esac
8549fi
8550
8551if test "x$enable_dlopen" != xyes; then
8552  enable_dlopen=unknown
8553  enable_dlopen_self=unknown
8554  enable_dlopen_self_static=unknown
8555else
8556  lt_cv_dlopen=no
8557  lt_cv_dlopen_libs=
8558
8559  case $host_os in
8560  beos*)
8561    lt_cv_dlopen="load_add_on"
8562    lt_cv_dlopen_libs=
8563    lt_cv_dlopen_self=yes
8564    ;;
8565
8566  mingw* | pw32*)
8567    lt_cv_dlopen="LoadLibrary"
8568    lt_cv_dlopen_libs=
8569   ;;
8570
8571  cygwin*)
8572    lt_cv_dlopen="dlopen"
8573    lt_cv_dlopen_libs=
8574   ;;
8575
8576  darwin*)
8577  # if libdl is installed we need to link against it
8578    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8579echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8580if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8581  echo $ECHO_N "(cached) $ECHO_C" >&6
8582else
8583  ac_check_lib_save_LIBS=$LIBS
8584LIBS="-ldl  $LIBS"
8585cat >conftest.$ac_ext <<_ACEOF
8586/* confdefs.h.  */
8587_ACEOF
8588cat confdefs.h >>conftest.$ac_ext
8589cat >>conftest.$ac_ext <<_ACEOF
8590/* end confdefs.h.  */
8591
8592/* Override any GCC internal prototype to avoid an error.
8593   Use char because int might match the return type of a GCC
8594   builtin and then its argument prototype would still apply.  */
8595#ifdef __cplusplus
8596extern "C"
8597#endif
8598char dlopen ();
8599int
8600main ()
8601{
8602return dlopen ();
8603  ;
8604  return 0;
8605}
8606_ACEOF
8607rm -f conftest.$ac_objext conftest$ac_exeext
8608if { (ac_try="$ac_link"
8609case "(($ac_try" in
8610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611  *) ac_try_echo=$ac_try;;
8612esac
8613eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614  (eval "$ac_link") 2>conftest.er1
8615  ac_status=$?
8616  grep -v '^ *+' conftest.er1 >conftest.err
8617  rm -f conftest.er1
8618  cat conftest.err >&5
8619  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620  (exit $ac_status); } && {
8621	 test -z "$ac_c_werror_flag" ||
8622	 test ! -s conftest.err
8623       } && test -s conftest$ac_exeext &&
8624       $as_test_x conftest$ac_exeext; then
8625  ac_cv_lib_dl_dlopen=yes
8626else
8627  echo "$as_me: failed program was:" >&5
8628sed 's/^/| /' conftest.$ac_ext >&5
8629
8630	ac_cv_lib_dl_dlopen=no
8631fi
8632
8633rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8634      conftest$ac_exeext conftest.$ac_ext
8635LIBS=$ac_check_lib_save_LIBS
8636fi
8637{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8638echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8639if test $ac_cv_lib_dl_dlopen = yes; then
8640  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8641else
8642
8643    lt_cv_dlopen="dyld"
8644    lt_cv_dlopen_libs=
8645    lt_cv_dlopen_self=yes
8646
8647fi
8648
8649   ;;
8650
8651  *)
8652    { echo "$as_me:$LINENO: checking for shl_load" >&5
8653echo $ECHO_N "checking for shl_load... $ECHO_C" >&6; }
8654if test "${ac_cv_func_shl_load+set}" = set; then
8655  echo $ECHO_N "(cached) $ECHO_C" >&6
8656else
8657  cat >conftest.$ac_ext <<_ACEOF
8658/* confdefs.h.  */
8659_ACEOF
8660cat confdefs.h >>conftest.$ac_ext
8661cat >>conftest.$ac_ext <<_ACEOF
8662/* end confdefs.h.  */
8663/* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
8664   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8665#define shl_load innocuous_shl_load
8666
8667/* System header to define __stub macros and hopefully few prototypes,
8668    which can conflict with char shl_load (); below.
8669    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8670    <limits.h> exists even on freestanding compilers.  */
8671
8672#ifdef __STDC__
8673# include <limits.h>
8674#else
8675# include <assert.h>
8676#endif
8677
8678#undef shl_load
8679
8680/* Override any GCC internal prototype to avoid an error.
8681   Use char because int might match the return type of a GCC
8682   builtin and then its argument prototype would still apply.  */
8683#ifdef __cplusplus
8684extern "C"
8685#endif
8686char shl_load ();
8687/* The GNU C library defines this for functions which it implements
8688    to always fail with ENOSYS.  Some functions are actually named
8689    something starting with __ and the normal name is an alias.  */
8690#if defined __stub_shl_load || defined __stub___shl_load
8691choke me
8692#endif
8693
8694int
8695main ()
8696{
8697return shl_load ();
8698  ;
8699  return 0;
8700}
8701_ACEOF
8702rm -f conftest.$ac_objext conftest$ac_exeext
8703if { (ac_try="$ac_link"
8704case "(($ac_try" in
8705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8706  *) ac_try_echo=$ac_try;;
8707esac
8708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8709  (eval "$ac_link") 2>conftest.er1
8710  ac_status=$?
8711  grep -v '^ *+' conftest.er1 >conftest.err
8712  rm -f conftest.er1
8713  cat conftest.err >&5
8714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8715  (exit $ac_status); } && {
8716	 test -z "$ac_c_werror_flag" ||
8717	 test ! -s conftest.err
8718       } && test -s conftest$ac_exeext &&
8719       $as_test_x conftest$ac_exeext; then
8720  ac_cv_func_shl_load=yes
8721else
8722  echo "$as_me: failed program was:" >&5
8723sed 's/^/| /' conftest.$ac_ext >&5
8724
8725	ac_cv_func_shl_load=no
8726fi
8727
8728rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8729      conftest$ac_exeext conftest.$ac_ext
8730fi
8731{ echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8732echo "${ECHO_T}$ac_cv_func_shl_load" >&6; }
8733if test $ac_cv_func_shl_load = yes; then
8734  lt_cv_dlopen="shl_load"
8735else
8736  { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8737echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
8738if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8739  echo $ECHO_N "(cached) $ECHO_C" >&6
8740else
8741  ac_check_lib_save_LIBS=$LIBS
8742LIBS="-ldld  $LIBS"
8743cat >conftest.$ac_ext <<_ACEOF
8744/* confdefs.h.  */
8745_ACEOF
8746cat confdefs.h >>conftest.$ac_ext
8747cat >>conftest.$ac_ext <<_ACEOF
8748/* end confdefs.h.  */
8749
8750/* Override any GCC internal prototype to avoid an error.
8751   Use char because int might match the return type of a GCC
8752   builtin and then its argument prototype would still apply.  */
8753#ifdef __cplusplus
8754extern "C"
8755#endif
8756char shl_load ();
8757int
8758main ()
8759{
8760return shl_load ();
8761  ;
8762  return 0;
8763}
8764_ACEOF
8765rm -f conftest.$ac_objext conftest$ac_exeext
8766if { (ac_try="$ac_link"
8767case "(($ac_try" in
8768  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8769  *) ac_try_echo=$ac_try;;
8770esac
8771eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8772  (eval "$ac_link") 2>conftest.er1
8773  ac_status=$?
8774  grep -v '^ *+' conftest.er1 >conftest.err
8775  rm -f conftest.er1
8776  cat conftest.err >&5
8777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8778  (exit $ac_status); } && {
8779	 test -z "$ac_c_werror_flag" ||
8780	 test ! -s conftest.err
8781       } && test -s conftest$ac_exeext &&
8782       $as_test_x conftest$ac_exeext; then
8783  ac_cv_lib_dld_shl_load=yes
8784else
8785  echo "$as_me: failed program was:" >&5
8786sed 's/^/| /' conftest.$ac_ext >&5
8787
8788	ac_cv_lib_dld_shl_load=no
8789fi
8790
8791rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8792      conftest$ac_exeext conftest.$ac_ext
8793LIBS=$ac_check_lib_save_LIBS
8794fi
8795{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8796echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
8797if test $ac_cv_lib_dld_shl_load = yes; then
8798  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8799else
8800  { echo "$as_me:$LINENO: checking for dlopen" >&5
8801echo $ECHO_N "checking for dlopen... $ECHO_C" >&6; }
8802if test "${ac_cv_func_dlopen+set}" = set; then
8803  echo $ECHO_N "(cached) $ECHO_C" >&6
8804else
8805  cat >conftest.$ac_ext <<_ACEOF
8806/* confdefs.h.  */
8807_ACEOF
8808cat confdefs.h >>conftest.$ac_ext
8809cat >>conftest.$ac_ext <<_ACEOF
8810/* end confdefs.h.  */
8811/* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8812   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8813#define dlopen innocuous_dlopen
8814
8815/* System header to define __stub macros and hopefully few prototypes,
8816    which can conflict with char dlopen (); below.
8817    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8818    <limits.h> exists even on freestanding compilers.  */
8819
8820#ifdef __STDC__
8821# include <limits.h>
8822#else
8823# include <assert.h>
8824#endif
8825
8826#undef dlopen
8827
8828/* Override any GCC internal prototype to avoid an error.
8829   Use char because int might match the return type of a GCC
8830   builtin and then its argument prototype would still apply.  */
8831#ifdef __cplusplus
8832extern "C"
8833#endif
8834char dlopen ();
8835/* The GNU C library defines this for functions which it implements
8836    to always fail with ENOSYS.  Some functions are actually named
8837    something starting with __ and the normal name is an alias.  */
8838#if defined __stub_dlopen || defined __stub___dlopen
8839choke me
8840#endif
8841
8842int
8843main ()
8844{
8845return dlopen ();
8846  ;
8847  return 0;
8848}
8849_ACEOF
8850rm -f conftest.$ac_objext conftest$ac_exeext
8851if { (ac_try="$ac_link"
8852case "(($ac_try" in
8853  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8854  *) ac_try_echo=$ac_try;;
8855esac
8856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8857  (eval "$ac_link") 2>conftest.er1
8858  ac_status=$?
8859  grep -v '^ *+' conftest.er1 >conftest.err
8860  rm -f conftest.er1
8861  cat conftest.err >&5
8862  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863  (exit $ac_status); } && {
8864	 test -z "$ac_c_werror_flag" ||
8865	 test ! -s conftest.err
8866       } && test -s conftest$ac_exeext &&
8867       $as_test_x conftest$ac_exeext; then
8868  ac_cv_func_dlopen=yes
8869else
8870  echo "$as_me: failed program was:" >&5
8871sed 's/^/| /' conftest.$ac_ext >&5
8872
8873	ac_cv_func_dlopen=no
8874fi
8875
8876rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8877      conftest$ac_exeext conftest.$ac_ext
8878fi
8879{ echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8880echo "${ECHO_T}$ac_cv_func_dlopen" >&6; }
8881if test $ac_cv_func_dlopen = yes; then
8882  lt_cv_dlopen="dlopen"
8883else
8884  { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8885echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
8886if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8887  echo $ECHO_N "(cached) $ECHO_C" >&6
8888else
8889  ac_check_lib_save_LIBS=$LIBS
8890LIBS="-ldl  $LIBS"
8891cat >conftest.$ac_ext <<_ACEOF
8892/* confdefs.h.  */
8893_ACEOF
8894cat confdefs.h >>conftest.$ac_ext
8895cat >>conftest.$ac_ext <<_ACEOF
8896/* end confdefs.h.  */
8897
8898/* Override any GCC internal prototype to avoid an error.
8899   Use char because int might match the return type of a GCC
8900   builtin and then its argument prototype would still apply.  */
8901#ifdef __cplusplus
8902extern "C"
8903#endif
8904char dlopen ();
8905int
8906main ()
8907{
8908return dlopen ();
8909  ;
8910  return 0;
8911}
8912_ACEOF
8913rm -f conftest.$ac_objext conftest$ac_exeext
8914if { (ac_try="$ac_link"
8915case "(($ac_try" in
8916  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8917  *) ac_try_echo=$ac_try;;
8918esac
8919eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8920  (eval "$ac_link") 2>conftest.er1
8921  ac_status=$?
8922  grep -v '^ *+' conftest.er1 >conftest.err
8923  rm -f conftest.er1
8924  cat conftest.err >&5
8925  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926  (exit $ac_status); } && {
8927	 test -z "$ac_c_werror_flag" ||
8928	 test ! -s conftest.err
8929       } && test -s conftest$ac_exeext &&
8930       $as_test_x conftest$ac_exeext; then
8931  ac_cv_lib_dl_dlopen=yes
8932else
8933  echo "$as_me: failed program was:" >&5
8934sed 's/^/| /' conftest.$ac_ext >&5
8935
8936	ac_cv_lib_dl_dlopen=no
8937fi
8938
8939rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8940      conftest$ac_exeext conftest.$ac_ext
8941LIBS=$ac_check_lib_save_LIBS
8942fi
8943{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8944echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
8945if test $ac_cv_lib_dl_dlopen = yes; then
8946  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8947else
8948  { echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8949echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6; }
8950if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8951  echo $ECHO_N "(cached) $ECHO_C" >&6
8952else
8953  ac_check_lib_save_LIBS=$LIBS
8954LIBS="-lsvld  $LIBS"
8955cat >conftest.$ac_ext <<_ACEOF
8956/* confdefs.h.  */
8957_ACEOF
8958cat confdefs.h >>conftest.$ac_ext
8959cat >>conftest.$ac_ext <<_ACEOF
8960/* end confdefs.h.  */
8961
8962/* Override any GCC internal prototype to avoid an error.
8963   Use char because int might match the return type of a GCC
8964   builtin and then its argument prototype would still apply.  */
8965#ifdef __cplusplus
8966extern "C"
8967#endif
8968char dlopen ();
8969int
8970main ()
8971{
8972return dlopen ();
8973  ;
8974  return 0;
8975}
8976_ACEOF
8977rm -f conftest.$ac_objext conftest$ac_exeext
8978if { (ac_try="$ac_link"
8979case "(($ac_try" in
8980  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8981  *) ac_try_echo=$ac_try;;
8982esac
8983eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8984  (eval "$ac_link") 2>conftest.er1
8985  ac_status=$?
8986  grep -v '^ *+' conftest.er1 >conftest.err
8987  rm -f conftest.er1
8988  cat conftest.err >&5
8989  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990  (exit $ac_status); } && {
8991	 test -z "$ac_c_werror_flag" ||
8992	 test ! -s conftest.err
8993       } && test -s conftest$ac_exeext &&
8994       $as_test_x conftest$ac_exeext; then
8995  ac_cv_lib_svld_dlopen=yes
8996else
8997  echo "$as_me: failed program was:" >&5
8998sed 's/^/| /' conftest.$ac_ext >&5
8999
9000	ac_cv_lib_svld_dlopen=no
9001fi
9002
9003rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9004      conftest$ac_exeext conftest.$ac_ext
9005LIBS=$ac_check_lib_save_LIBS
9006fi
9007{ echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9008echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6; }
9009if test $ac_cv_lib_svld_dlopen = yes; then
9010  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9011else
9012  { echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9013echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6; }
9014if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9015  echo $ECHO_N "(cached) $ECHO_C" >&6
9016else
9017  ac_check_lib_save_LIBS=$LIBS
9018LIBS="-ldld  $LIBS"
9019cat >conftest.$ac_ext <<_ACEOF
9020/* confdefs.h.  */
9021_ACEOF
9022cat confdefs.h >>conftest.$ac_ext
9023cat >>conftest.$ac_ext <<_ACEOF
9024/* end confdefs.h.  */
9025
9026/* Override any GCC internal prototype to avoid an error.
9027   Use char because int might match the return type of a GCC
9028   builtin and then its argument prototype would still apply.  */
9029#ifdef __cplusplus
9030extern "C"
9031#endif
9032char dld_link ();
9033int
9034main ()
9035{
9036return dld_link ();
9037  ;
9038  return 0;
9039}
9040_ACEOF
9041rm -f conftest.$ac_objext conftest$ac_exeext
9042if { (ac_try="$ac_link"
9043case "(($ac_try" in
9044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9045  *) ac_try_echo=$ac_try;;
9046esac
9047eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9048  (eval "$ac_link") 2>conftest.er1
9049  ac_status=$?
9050  grep -v '^ *+' conftest.er1 >conftest.err
9051  rm -f conftest.er1
9052  cat conftest.err >&5
9053  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9054  (exit $ac_status); } && {
9055	 test -z "$ac_c_werror_flag" ||
9056	 test ! -s conftest.err
9057       } && test -s conftest$ac_exeext &&
9058       $as_test_x conftest$ac_exeext; then
9059  ac_cv_lib_dld_dld_link=yes
9060else
9061  echo "$as_me: failed program was:" >&5
9062sed 's/^/| /' conftest.$ac_ext >&5
9063
9064	ac_cv_lib_dld_dld_link=no
9065fi
9066
9067rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9068      conftest$ac_exeext conftest.$ac_ext
9069LIBS=$ac_check_lib_save_LIBS
9070fi
9071{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9072echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6; }
9073if test $ac_cv_lib_dld_dld_link = yes; then
9074  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9075fi
9076
9077
9078fi
9079
9080
9081fi
9082
9083
9084fi
9085
9086
9087fi
9088
9089
9090fi
9091
9092    ;;
9093  esac
9094
9095  if test "x$lt_cv_dlopen" != xno; then
9096    enable_dlopen=yes
9097  else
9098    enable_dlopen=no
9099  fi
9100
9101  case $lt_cv_dlopen in
9102  dlopen)
9103    save_CPPFLAGS="$CPPFLAGS"
9104    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9105
9106    save_LDFLAGS="$LDFLAGS"
9107    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9108
9109    save_LIBS="$LIBS"
9110    LIBS="$lt_cv_dlopen_libs $LIBS"
9111
9112    { echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9113echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6; }
9114if test "${lt_cv_dlopen_self+set}" = set; then
9115  echo $ECHO_N "(cached) $ECHO_C" >&6
9116else
9117  	  if test "$cross_compiling" = yes; then :
9118  lt_cv_dlopen_self=cross
9119else
9120  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9121  lt_status=$lt_dlunknown
9122  cat > conftest.$ac_ext <<EOF
9123#line 9123 "configure"
9124#include "confdefs.h"
9125
9126#if HAVE_DLFCN_H
9127#include <dlfcn.h>
9128#endif
9129
9130#include <stdio.h>
9131
9132#ifdef RTLD_GLOBAL
9133#  define LT_DLGLOBAL		RTLD_GLOBAL
9134#else
9135#  ifdef DL_GLOBAL
9136#    define LT_DLGLOBAL		DL_GLOBAL
9137#  else
9138#    define LT_DLGLOBAL		0
9139#  endif
9140#endif
9141
9142/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9143   find out it does not work in some platform. */
9144#ifndef LT_DLLAZY_OR_NOW
9145#  ifdef RTLD_LAZY
9146#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
9147#  else
9148#    ifdef DL_LAZY
9149#      define LT_DLLAZY_OR_NOW		DL_LAZY
9150#    else
9151#      ifdef RTLD_NOW
9152#        define LT_DLLAZY_OR_NOW	RTLD_NOW
9153#      else
9154#        ifdef DL_NOW
9155#          define LT_DLLAZY_OR_NOW	DL_NOW
9156#        else
9157#          define LT_DLLAZY_OR_NOW	0
9158#        endif
9159#      endif
9160#    endif
9161#  endif
9162#endif
9163
9164#ifdef __cplusplus
9165extern "C" void exit (int);
9166#endif
9167
9168void fnord() { int i=42;}
9169int main ()
9170{
9171  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9172  int status = $lt_dlunknown;
9173
9174  if (self)
9175    {
9176      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9177      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9178      /* dlclose (self); */
9179    }
9180  else
9181    puts (dlerror ());
9182
9183    exit (status);
9184}
9185EOF
9186  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9187  (eval $ac_link) 2>&5
9188  ac_status=$?
9189  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9190  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9191    (./conftest; exit; ) >&5 2>/dev/null
9192    lt_status=$?
9193    case x$lt_status in
9194      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9195      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9196      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9197    esac
9198  else :
9199    # compilation failed
9200    lt_cv_dlopen_self=no
9201  fi
9202fi
9203rm -fr conftest*
9204
9205
9206fi
9207{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9208echo "${ECHO_T}$lt_cv_dlopen_self" >&6; }
9209
9210    if test "x$lt_cv_dlopen_self" = xyes; then
9211      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9212      { echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9213echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6; }
9214if test "${lt_cv_dlopen_self_static+set}" = set; then
9215  echo $ECHO_N "(cached) $ECHO_C" >&6
9216else
9217  	  if test "$cross_compiling" = yes; then :
9218  lt_cv_dlopen_self_static=cross
9219else
9220  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9221  lt_status=$lt_dlunknown
9222  cat > conftest.$ac_ext <<EOF
9223#line 9223 "configure"
9224#include "confdefs.h"
9225
9226#if HAVE_DLFCN_H
9227#include <dlfcn.h>
9228#endif
9229
9230#include <stdio.h>
9231
9232#ifdef RTLD_GLOBAL
9233#  define LT_DLGLOBAL		RTLD_GLOBAL
9234#else
9235#  ifdef DL_GLOBAL
9236#    define LT_DLGLOBAL		DL_GLOBAL
9237#  else
9238#    define LT_DLGLOBAL		0
9239#  endif
9240#endif
9241
9242/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9243   find out it does not work in some platform. */
9244#ifndef LT_DLLAZY_OR_NOW
9245#  ifdef RTLD_LAZY
9246#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
9247#  else
9248#    ifdef DL_LAZY
9249#      define LT_DLLAZY_OR_NOW		DL_LAZY
9250#    else
9251#      ifdef RTLD_NOW
9252#        define LT_DLLAZY_OR_NOW	RTLD_NOW
9253#      else
9254#        ifdef DL_NOW
9255#          define LT_DLLAZY_OR_NOW	DL_NOW
9256#        else
9257#          define LT_DLLAZY_OR_NOW	0
9258#        endif
9259#      endif
9260#    endif
9261#  endif
9262#endif
9263
9264#ifdef __cplusplus
9265extern "C" void exit (int);
9266#endif
9267
9268void fnord() { int i=42;}
9269int main ()
9270{
9271  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9272  int status = $lt_dlunknown;
9273
9274  if (self)
9275    {
9276      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
9277      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9278      /* dlclose (self); */
9279    }
9280  else
9281    puts (dlerror ());
9282
9283    exit (status);
9284}
9285EOF
9286  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9287  (eval $ac_link) 2>&5
9288  ac_status=$?
9289  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9290  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9291    (./conftest; exit; ) >&5 2>/dev/null
9292    lt_status=$?
9293    case x$lt_status in
9294      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9295      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9296      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
9297    esac
9298  else :
9299    # compilation failed
9300    lt_cv_dlopen_self_static=no
9301  fi
9302fi
9303rm -fr conftest*
9304
9305
9306fi
9307{ echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
9308echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6; }
9309    fi
9310
9311    CPPFLAGS="$save_CPPFLAGS"
9312    LDFLAGS="$save_LDFLAGS"
9313    LIBS="$save_LIBS"
9314    ;;
9315  esac
9316
9317  case $lt_cv_dlopen_self in
9318  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
9319  *) enable_dlopen_self=unknown ;;
9320  esac
9321
9322  case $lt_cv_dlopen_self_static in
9323  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
9324  *) enable_dlopen_self_static=unknown ;;
9325  esac
9326fi
9327
9328
9329# Report which library types will actually be built
9330{ echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
9331echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6; }
9332{ echo "$as_me:$LINENO: result: $can_build_shared" >&5
9333echo "${ECHO_T}$can_build_shared" >&6; }
9334
9335{ echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
9336echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6; }
9337test "$can_build_shared" = "no" && enable_shared=no
9338
9339# On AIX, shared libraries and static libraries use the same namespace, and
9340# are all built from PIC.
9341case $host_os in
9342aix3*)
9343  test "$enable_shared" = yes && enable_static=no
9344  if test -n "$RANLIB"; then
9345    archive_cmds="$archive_cmds~\$RANLIB \$lib"
9346    postinstall_cmds='$RANLIB $lib'
9347  fi
9348  ;;
9349
9350aix4* | aix5*)
9351  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
9352    test "$enable_shared" = yes && enable_static=no
9353  fi
9354    ;;
9355esac
9356{ echo "$as_me:$LINENO: result: $enable_shared" >&5
9357echo "${ECHO_T}$enable_shared" >&6; }
9358
9359{ echo "$as_me:$LINENO: checking whether to build static libraries" >&5
9360echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6; }
9361# Make sure either enable_shared or enable_static is yes.
9362test "$enable_shared" = yes || enable_static=yes
9363{ echo "$as_me:$LINENO: result: $enable_static" >&5
9364echo "${ECHO_T}$enable_static" >&6; }
9365
9366# The else clause should only fire when bootstrapping the
9367# libtool distribution, otherwise you forgot to ship ltmain.sh
9368# with your package, and you will get complaints that there are
9369# no rules to generate ltmain.sh.
9370if test -f "$ltmain"; then
9371  # See if we are running on zsh, and set the options which allow our commands through
9372  # without removal of \ escapes.
9373  if test -n "${ZSH_VERSION+set}" ; then
9374    setopt NO_GLOB_SUBST
9375  fi
9376  # Now quote all the things that may contain metacharacters while being
9377  # careful not to overquote the AC_SUBSTed values.  We take copies of the
9378  # variables and quote the copies for generation of the libtool script.
9379  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
9380    SED SHELL STRIP \
9381    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
9382    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
9383    deplibs_check_method reload_flag reload_cmds need_locks \
9384    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
9385    lt_cv_sys_global_symbol_to_c_name_address \
9386    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
9387    old_postinstall_cmds old_postuninstall_cmds \
9388    compiler \
9389    CC \
9390    LD \
9391    lt_prog_compiler_wl \
9392    lt_prog_compiler_pic \
9393    lt_prog_compiler_static \
9394    lt_prog_compiler_no_builtin_flag \
9395    export_dynamic_flag_spec \
9396    thread_safe_flag_spec \
9397    whole_archive_flag_spec \
9398    enable_shared_with_static_runtimes \
9399    old_archive_cmds \
9400    old_archive_from_new_cmds \
9401    predep_objects \
9402    postdep_objects \
9403    predeps \
9404    postdeps \
9405    compiler_lib_search_path \
9406    archive_cmds \
9407    archive_expsym_cmds \
9408    postinstall_cmds \
9409    postuninstall_cmds \
9410    old_archive_from_expsyms_cmds \
9411    allow_undefined_flag \
9412    no_undefined_flag \
9413    export_symbols_cmds \
9414    hardcode_libdir_flag_spec \
9415    hardcode_libdir_flag_spec_ld \
9416    hardcode_libdir_separator \
9417    hardcode_automatic \
9418    module_cmds \
9419    module_expsym_cmds \
9420    lt_cv_prog_compiler_c_o \
9421    fix_srcfile_path \
9422    exclude_expsyms \
9423    include_expsyms; do
9424
9425    case $var in
9426    old_archive_cmds | \
9427    old_archive_from_new_cmds | \
9428    archive_cmds | \
9429    archive_expsym_cmds | \
9430    module_cmds | \
9431    module_expsym_cmds | \
9432    old_archive_from_expsyms_cmds | \
9433    export_symbols_cmds | \
9434    extract_expsyms_cmds | reload_cmds | finish_cmds | \
9435    postinstall_cmds | postuninstall_cmds | \
9436    old_postinstall_cmds | old_postuninstall_cmds | \
9437    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
9438      # Double-quote double-evaled strings.
9439      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9440      ;;
9441    *)
9442      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9443      ;;
9444    esac
9445  done
9446
9447  case $lt_echo in
9448  *'\$0 --fallback-echo"')
9449    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9450    ;;
9451  esac
9452
9453cfgfile="${ofile}T"
9454  trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9455  $rm -f "$cfgfile"
9456  { echo "$as_me:$LINENO: creating $ofile" >&5
9457echo "$as_me: creating $ofile" >&6;}
9458
9459  cat <<__EOF__ >> "$cfgfile"
9460#! $SHELL
9461
9462# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9463# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9464# NOTE: Changes made to this file will be lost: look at ltmain.sh.
9465#
9466# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
9467# Free Software Foundation, Inc.
9468#
9469# This file is part of GNU Libtool:
9470# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9471#
9472# This program is free software; you can redistribute it and/or modify
9473# it under the terms of the GNU General Public License as published by
9474# the Free Software Foundation; either version 2 of the License, or
9475# (at your option) any later version.
9476#
9477# This program is distributed in the hope that it will be useful, but
9478# WITHOUT ANY WARRANTY; without even the implied warranty of
9479# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
9480# General Public License for more details.
9481#
9482# You should have received a copy of the GNU General Public License
9483# along with this program; if not, write to the Free Software
9484# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9485#
9486# As a special exception to the GNU General Public License, if you
9487# distribute this file as part of a program that contains a
9488# configuration script generated by Autoconf, you may include it under
9489# the same distribution terms that you use for the rest of that program.
9490
9491# A sed program that does not truncate output.
9492SED=$lt_SED
9493
9494# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9495Xsed="$SED -e 1s/^X//"
9496
9497# The HP-UX ksh and POSIX shell print the target directory to stdout
9498# if CDPATH is set.
9499(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9500
9501# The names of the tagged configurations supported by this script.
9502available_tags=
9503
9504# ### BEGIN LIBTOOL CONFIG
9505
9506# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9507
9508# Shell to use when invoking shell scripts.
9509SHELL=$lt_SHELL
9510
9511# Whether or not to build shared libraries.
9512build_libtool_libs=$enable_shared
9513
9514# Whether or not to build static libraries.
9515build_old_libs=$enable_static
9516
9517# Whether or not to add -lc for building shared libraries.
9518build_libtool_need_lc=$archive_cmds_need_lc
9519
9520# Whether or not to disallow shared libs when runtime libs are static
9521allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9522
9523# Whether or not to optimize for fast installation.
9524fast_install=$enable_fast_install
9525
9526# The host system.
9527host_alias=$host_alias
9528host=$host
9529host_os=$host_os
9530
9531# The build system.
9532build_alias=$build_alias
9533build=$build
9534build_os=$build_os
9535
9536# An echo program that does not interpret backslashes.
9537echo=$lt_echo
9538
9539# The archiver.
9540AR=$lt_AR
9541AR_FLAGS=$lt_AR_FLAGS
9542
9543# A C compiler.
9544LTCC=$lt_LTCC
9545
9546# LTCC compiler flags.
9547LTCFLAGS=$lt_LTCFLAGS
9548
9549# A language-specific compiler.
9550CC=$lt_compiler
9551
9552# Is the compiler the GNU C compiler?
9553with_gcc=$GCC
9554
9555# An ERE matcher.
9556EGREP=$lt_EGREP
9557
9558# The linker used to build libraries.
9559LD=$lt_LD
9560
9561# Whether we need hard or soft links.
9562LN_S=$lt_LN_S
9563
9564# A BSD-compatible nm program.
9565NM=$lt_NM
9566
9567# A symbol stripping program
9568STRIP=$lt_STRIP
9569
9570# Used to examine libraries when file_magic_cmd begins "file"
9571MAGIC_CMD=$MAGIC_CMD
9572
9573# Used on cygwin: DLL creation program.
9574DLLTOOL="$DLLTOOL"
9575
9576# Used on cygwin: object dumper.
9577OBJDUMP="$OBJDUMP"
9578
9579# Used on cygwin: assembler.
9580AS="$AS"
9581
9582# The name of the directory that contains temporary libtool files.
9583objdir=$objdir
9584
9585# How to create reloadable object files.
9586reload_flag=$lt_reload_flag
9587reload_cmds=$lt_reload_cmds
9588
9589# How to pass a linker flag through the compiler.
9590wl=$lt_lt_prog_compiler_wl
9591
9592# Object file suffix (normally "o").
9593objext="$ac_objext"
9594
9595# Old archive suffix (normally "a").
9596libext="$libext"
9597
9598# Shared library suffix (normally ".so").
9599shrext_cmds='$shrext_cmds'
9600
9601# Executable file suffix (normally "").
9602exeext="$exeext"
9603
9604# Additional compiler flags for building library objects.
9605pic_flag=$lt_lt_prog_compiler_pic
9606pic_mode=$pic_mode
9607
9608# What is the maximum length of a command?
9609max_cmd_len=$lt_cv_sys_max_cmd_len
9610
9611# Does compiler simultaneously support -c and -o options?
9612compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9613
9614# Must we lock files when doing compilation?
9615need_locks=$lt_need_locks
9616
9617# Do we need the lib prefix for modules?
9618need_lib_prefix=$need_lib_prefix
9619
9620# Do we need a version for libraries?
9621need_version=$need_version
9622
9623# Whether dlopen is supported.
9624dlopen_support=$enable_dlopen
9625
9626# Whether dlopen of programs is supported.
9627dlopen_self=$enable_dlopen_self
9628
9629# Whether dlopen of statically linked programs is supported.
9630dlopen_self_static=$enable_dlopen_self_static
9631
9632# Compiler flag to prevent dynamic linking.
9633link_static_flag=$lt_lt_prog_compiler_static
9634
9635# Compiler flag to turn off builtin functions.
9636no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9637
9638# Compiler flag to allow reflexive dlopens.
9639export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9640
9641# Compiler flag to generate shared objects directly from archives.
9642whole_archive_flag_spec=$lt_whole_archive_flag_spec
9643
9644# Compiler flag to generate thread-safe objects.
9645thread_safe_flag_spec=$lt_thread_safe_flag_spec
9646
9647# Library versioning type.
9648version_type=$version_type
9649
9650# Format of library name prefix.
9651libname_spec=$lt_libname_spec
9652
9653# List of archive names.  First name is the real one, the rest are links.
9654# The last name is the one that the linker finds with -lNAME.
9655library_names_spec=$lt_library_names_spec
9656
9657# The coded name of the library, if different from the real name.
9658soname_spec=$lt_soname_spec
9659
9660# Commands used to build and install an old-style archive.
9661RANLIB=$lt_RANLIB
9662old_archive_cmds=$lt_old_archive_cmds
9663old_postinstall_cmds=$lt_old_postinstall_cmds
9664old_postuninstall_cmds=$lt_old_postuninstall_cmds
9665
9666# Create an old-style archive from a shared archive.
9667old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9668
9669# Create a temporary old-style archive to link instead of a shared archive.
9670old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9671
9672# Commands used to build and install a shared archive.
9673archive_cmds=$lt_archive_cmds
9674archive_expsym_cmds=$lt_archive_expsym_cmds
9675postinstall_cmds=$lt_postinstall_cmds
9676postuninstall_cmds=$lt_postuninstall_cmds
9677
9678# Commands used to build a loadable module (assumed same as above if empty)
9679module_cmds=$lt_module_cmds
9680module_expsym_cmds=$lt_module_expsym_cmds
9681
9682# Commands to strip libraries.
9683old_striplib=$lt_old_striplib
9684striplib=$lt_striplib
9685
9686# Dependencies to place before the objects being linked to create a
9687# shared library.
9688predep_objects=$lt_predep_objects
9689
9690# Dependencies to place after the objects being linked to create a
9691# shared library.
9692postdep_objects=$lt_postdep_objects
9693
9694# Dependencies to place before the objects being linked to create a
9695# shared library.
9696predeps=$lt_predeps
9697
9698# Dependencies to place after the objects being linked to create a
9699# shared library.
9700postdeps=$lt_postdeps
9701
9702# The library search path used internally by the compiler when linking
9703# a shared library.
9704compiler_lib_search_path=$lt_compiler_lib_search_path
9705
9706# Method to check whether dependent libraries are shared objects.
9707deplibs_check_method=$lt_deplibs_check_method
9708
9709# Command to use when deplibs_check_method == file_magic.
9710file_magic_cmd=$lt_file_magic_cmd
9711
9712# Flag that allows shared libraries with undefined symbols to be built.
9713allow_undefined_flag=$lt_allow_undefined_flag
9714
9715# Flag that forces no undefined symbols.
9716no_undefined_flag=$lt_no_undefined_flag
9717
9718# Commands used to finish a libtool library installation in a directory.
9719finish_cmds=$lt_finish_cmds
9720
9721# Same as above, but a single script fragment to be evaled but not shown.
9722finish_eval=$lt_finish_eval
9723
9724# Take the output of nm and produce a listing of raw symbols and C names.
9725global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9726
9727# Transform the output of nm in a proper C declaration
9728global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9729
9730# Transform the output of nm in a C name address pair
9731global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9732
9733# This is the shared library runtime path variable.
9734runpath_var=$runpath_var
9735
9736# This is the shared library path variable.
9737shlibpath_var=$shlibpath_var
9738
9739# Is shlibpath searched before the hard-coded library search path?
9740shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9741
9742# How to hardcode a shared library path into an executable.
9743hardcode_action=$hardcode_action
9744
9745# Whether we should hardcode library paths into libraries.
9746hardcode_into_libs=$hardcode_into_libs
9747
9748# Flag to hardcode \$libdir into a binary during linking.
9749# This must work even if \$libdir does not exist.
9750hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9751
9752# If ld is used when linking, flag to hardcode \$libdir into
9753# a binary during linking. This must work even if \$libdir does
9754# not exist.
9755hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9756
9757# Whether we need a single -rpath flag with a separated argument.
9758hardcode_libdir_separator=$lt_hardcode_libdir_separator
9759
9760# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9761# resulting binary.
9762hardcode_direct=$hardcode_direct
9763
9764# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9765# resulting binary.
9766hardcode_minus_L=$hardcode_minus_L
9767
9768# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9769# the resulting binary.
9770hardcode_shlibpath_var=$hardcode_shlibpath_var
9771
9772# Set to yes if building a shared library automatically hardcodes DIR into the library
9773# and all subsequent libraries and executables linked against it.
9774hardcode_automatic=$hardcode_automatic
9775
9776# Variables whose values should be saved in libtool wrapper scripts and
9777# restored at relink time.
9778variables_saved_for_relink="$variables_saved_for_relink"
9779
9780# Whether libtool must link a program against all its dependency libraries.
9781link_all_deplibs=$link_all_deplibs
9782
9783# Compile-time system search path for libraries
9784sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9785
9786# Run-time system search path for libraries
9787sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9788
9789# Fix the shell variable \$srcfile for the compiler.
9790fix_srcfile_path=$lt_fix_srcfile_path
9791
9792# Set to yes if exported symbols are required.
9793always_export_symbols=$always_export_symbols
9794
9795# The commands to list exported symbols.
9796export_symbols_cmds=$lt_export_symbols_cmds
9797
9798# The commands to extract the exported symbol list from a shared archive.
9799extract_expsyms_cmds=$lt_extract_expsyms_cmds
9800
9801# Symbols that should not be listed in the preloaded symbols.
9802exclude_expsyms=$lt_exclude_expsyms
9803
9804# Symbols that must always be exported.
9805include_expsyms=$lt_include_expsyms
9806
9807# ### END LIBTOOL CONFIG
9808
9809__EOF__
9810
9811
9812  case $host_os in
9813  aix3*)
9814    cat <<\EOF >> "$cfgfile"
9815
9816# AIX sometimes has problems with the GCC collect2 program.  For some
9817# reason, if we set the COLLECT_NAMES environment variable, the problems
9818# vanish in a puff of smoke.
9819if test "X${COLLECT_NAMES+set}" != Xset; then
9820  COLLECT_NAMES=
9821  export COLLECT_NAMES
9822fi
9823EOF
9824    ;;
9825  esac
9826
9827  # We use sed instead of cat because bash on DJGPP gets confused if
9828  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
9829  # text mode, it properly converts lines to CR/LF.  This bash problem
9830  # is reportedly fixed, but why not run on old versions too?
9831  sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9832
9833  mv -f "$cfgfile" "$ofile" || \
9834    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9835  chmod +x "$ofile"
9836
9837else
9838  # If there is no Makefile yet, we rely on a make rule to execute
9839  # `config.status --recheck' to rerun these tests and create the
9840  # libtool script then.
9841  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
9842  if test -f "$ltmain_in"; then
9843    test -f Makefile && make "$ltmain"
9844  fi
9845fi
9846
9847
9848ac_ext=c
9849ac_cpp='$CPP $CPPFLAGS'
9850ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9851ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9852ac_compiler_gnu=$ac_cv_c_compiler_gnu
9853
9854CC="$lt_save_CC"
9855
9856
9857# Check whether --with-tags was given.
9858if test "${with_tags+set}" = set; then
9859  withval=$with_tags; tagnames="$withval"
9860fi
9861
9862
9863if test -f "$ltmain" && test -n "$tagnames"; then
9864  if test ! -f "${ofile}"; then
9865    { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9866echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9867  fi
9868
9869  if test -z "$LTCC"; then
9870    eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9871    if test -z "$LTCC"; then
9872      { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9873echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9874    else
9875      { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9876echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9877    fi
9878  fi
9879  if test -z "$LTCFLAGS"; then
9880    eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
9881  fi
9882
9883  # Extract list of available tagged configurations in $ofile.
9884  # Note that this assumes the entire list is on one line.
9885  available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9886
9887  lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9888  for tagname in $tagnames; do
9889    IFS="$lt_save_ifs"
9890    # Check whether tagname contains only valid characters
9891    case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9892    "") ;;
9893    *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9894echo "$as_me: error: invalid tag name: $tagname" >&2;}
9895   { (exit 1); exit 1; }; }
9896	;;
9897    esac
9898
9899    if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9900    then
9901      { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9902echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9903   { (exit 1); exit 1; }; }
9904    fi
9905
9906    # Update the list of available tags.
9907    if test -n "$tagname"; then
9908      echo appending configuration tag \"$tagname\" to $ofile
9909
9910      case $tagname in
9911      CXX)
9912	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
9913	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
9914	    (test "X$CXX" != "Xg++"))) ; then
9915	  :
9916	else
9917	  tagname=""
9918	fi
9919	;;
9920
9921      F77)
9922	if test -n "$F77" && test "X$F77" != "Xno"; then
9923	  :
9924	else
9925	  tagname=""
9926	fi
9927	;;
9928
9929      GCJ)
9930	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
9931	  :
9932	else
9933	  tagname=""
9934	fi
9935	;;
9936
9937      RC)
9938
9939
9940# Source file extension for RC test sources.
9941ac_ext=rc
9942
9943# Object file extension for compiled RC test sources.
9944objext=o
9945objext_RC=$objext
9946
9947# Code to be used in simple compile tests
9948lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
9949
9950# Code to be used in simple link tests
9951lt_simple_link_test_code="$lt_simple_compile_test_code"
9952
9953# ltmain only uses $CC for tagged configurations so make sure $CC is set.
9954
9955# If no C compiler was specified, use CC.
9956LTCC=${LTCC-"$CC"}
9957
9958# If no C compiler flags were specified, use CFLAGS.
9959LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9960
9961# Allow CC to be a program name with arguments.
9962compiler=$CC
9963
9964
9965# save warnings/boilerplate of simple test code
9966ac_outfile=conftest.$ac_objext
9967echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9968eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9969_lt_compiler_boilerplate=`cat conftest.err`
9970$rm conftest*
9971
9972ac_outfile=conftest.$ac_objext
9973echo "$lt_simple_link_test_code" >conftest.$ac_ext
9974eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9975_lt_linker_boilerplate=`cat conftest.err`
9976$rm conftest*
9977
9978
9979# Allow CC to be a program name with arguments.
9980lt_save_CC="$CC"
9981CC=${RC-"windres"}
9982compiler=$CC
9983compiler_RC=$CC
9984for cc_temp in $compiler""; do
9985  case $cc_temp in
9986    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9987    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9988    \-*) ;;
9989    *) break;;
9990  esac
9991done
9992cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
9993
9994lt_cv_prog_compiler_c_o_RC=yes
9995
9996# The else clause should only fire when bootstrapping the
9997# libtool distribution, otherwise you forgot to ship ltmain.sh
9998# with your package, and you will get complaints that there are
9999# no rules to generate ltmain.sh.
10000if test -f "$ltmain"; then
10001  # See if we are running on zsh, and set the options which allow our commands through
10002  # without removal of \ escapes.
10003  if test -n "${ZSH_VERSION+set}" ; then
10004    setopt NO_GLOB_SUBST
10005  fi
10006  # Now quote all the things that may contain metacharacters while being
10007  # careful not to overquote the AC_SUBSTed values.  We take copies of the
10008  # variables and quote the copies for generation of the libtool script.
10009  for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
10010    SED SHELL STRIP \
10011    libname_spec library_names_spec soname_spec extract_expsyms_cmds \
10012    old_striplib striplib file_magic_cmd finish_cmds finish_eval \
10013    deplibs_check_method reload_flag reload_cmds need_locks \
10014    lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
10015    lt_cv_sys_global_symbol_to_c_name_address \
10016    sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
10017    old_postinstall_cmds old_postuninstall_cmds \
10018    compiler_RC \
10019    CC_RC \
10020    LD_RC \
10021    lt_prog_compiler_wl_RC \
10022    lt_prog_compiler_pic_RC \
10023    lt_prog_compiler_static_RC \
10024    lt_prog_compiler_no_builtin_flag_RC \
10025    export_dynamic_flag_spec_RC \
10026    thread_safe_flag_spec_RC \
10027    whole_archive_flag_spec_RC \
10028    enable_shared_with_static_runtimes_RC \
10029    old_archive_cmds_RC \
10030    old_archive_from_new_cmds_RC \
10031    predep_objects_RC \
10032    postdep_objects_RC \
10033    predeps_RC \
10034    postdeps_RC \
10035    compiler_lib_search_path_RC \
10036    archive_cmds_RC \
10037    archive_expsym_cmds_RC \
10038    postinstall_cmds_RC \
10039    postuninstall_cmds_RC \
10040    old_archive_from_expsyms_cmds_RC \
10041    allow_undefined_flag_RC \
10042    no_undefined_flag_RC \
10043    export_symbols_cmds_RC \
10044    hardcode_libdir_flag_spec_RC \
10045    hardcode_libdir_flag_spec_ld_RC \
10046    hardcode_libdir_separator_RC \
10047    hardcode_automatic_RC \
10048    module_cmds_RC \
10049    module_expsym_cmds_RC \
10050    lt_cv_prog_compiler_c_o_RC \
10051    fix_srcfile_path_RC \
10052    exclude_expsyms_RC \
10053    include_expsyms_RC; do
10054
10055    case $var in
10056    old_archive_cmds_RC | \
10057    old_archive_from_new_cmds_RC | \
10058    archive_cmds_RC | \
10059    archive_expsym_cmds_RC | \
10060    module_cmds_RC | \
10061    module_expsym_cmds_RC | \
10062    old_archive_from_expsyms_cmds_RC | \
10063    export_symbols_cmds_RC | \
10064    extract_expsyms_cmds | reload_cmds | finish_cmds | \
10065    postinstall_cmds | postuninstall_cmds | \
10066    old_postinstall_cmds | old_postuninstall_cmds | \
10067    sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
10068      # Double-quote double-evaled strings.
10069      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
10070      ;;
10071    *)
10072      eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
10073      ;;
10074    esac
10075  done
10076
10077  case $lt_echo in
10078  *'\$0 --fallback-echo"')
10079    lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
10080    ;;
10081  esac
10082
10083cfgfile="$ofile"
10084
10085  cat <<__EOF__ >> "$cfgfile"
10086# ### BEGIN LIBTOOL TAG CONFIG: $tagname
10087
10088# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
10089
10090# Shell to use when invoking shell scripts.
10091SHELL=$lt_SHELL
10092
10093# Whether or not to build shared libraries.
10094build_libtool_libs=$enable_shared
10095
10096# Whether or not to build static libraries.
10097build_old_libs=$enable_static
10098
10099# Whether or not to add -lc for building shared libraries.
10100build_libtool_need_lc=$archive_cmds_need_lc_RC
10101
10102# Whether or not to disallow shared libs when runtime libs are static
10103allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
10104
10105# Whether or not to optimize for fast installation.
10106fast_install=$enable_fast_install
10107
10108# The host system.
10109host_alias=$host_alias
10110host=$host
10111host_os=$host_os
10112
10113# The build system.
10114build_alias=$build_alias
10115build=$build
10116build_os=$build_os
10117
10118# An echo program that does not interpret backslashes.
10119echo=$lt_echo
10120
10121# The archiver.
10122AR=$lt_AR
10123AR_FLAGS=$lt_AR_FLAGS
10124
10125# A C compiler.
10126LTCC=$lt_LTCC
10127
10128# LTCC compiler flags.
10129LTCFLAGS=$lt_LTCFLAGS
10130
10131# A language-specific compiler.
10132CC=$lt_compiler_RC
10133
10134# Is the compiler the GNU C compiler?
10135with_gcc=$GCC_RC
10136
10137# An ERE matcher.
10138EGREP=$lt_EGREP
10139
10140# The linker used to build libraries.
10141LD=$lt_LD_RC
10142
10143# Whether we need hard or soft links.
10144LN_S=$lt_LN_S
10145
10146# A BSD-compatible nm program.
10147NM=$lt_NM
10148
10149# A symbol stripping program
10150STRIP=$lt_STRIP
10151
10152# Used to examine libraries when file_magic_cmd begins "file"
10153MAGIC_CMD=$MAGIC_CMD
10154
10155# Used on cygwin: DLL creation program.
10156DLLTOOL="$DLLTOOL"
10157
10158# Used on cygwin: object dumper.
10159OBJDUMP="$OBJDUMP"
10160
10161# Used on cygwin: assembler.
10162AS="$AS"
10163
10164# The name of the directory that contains temporary libtool files.
10165objdir=$objdir
10166
10167# How to create reloadable object files.
10168reload_flag=$lt_reload_flag
10169reload_cmds=$lt_reload_cmds
10170
10171# How to pass a linker flag through the compiler.
10172wl=$lt_lt_prog_compiler_wl_RC
10173
10174# Object file suffix (normally "o").
10175objext="$ac_objext"
10176
10177# Old archive suffix (normally "a").
10178libext="$libext"
10179
10180# Shared library suffix (normally ".so").
10181shrext_cmds='$shrext_cmds'
10182
10183# Executable file suffix (normally "").
10184exeext="$exeext"
10185
10186# Additional compiler flags for building library objects.
10187pic_flag=$lt_lt_prog_compiler_pic_RC
10188pic_mode=$pic_mode
10189
10190# What is the maximum length of a command?
10191max_cmd_len=$lt_cv_sys_max_cmd_len
10192
10193# Does compiler simultaneously support -c and -o options?
10194compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
10195
10196# Must we lock files when doing compilation?
10197need_locks=$lt_need_locks
10198
10199# Do we need the lib prefix for modules?
10200need_lib_prefix=$need_lib_prefix
10201
10202# Do we need a version for libraries?
10203need_version=$need_version
10204
10205# Whether dlopen is supported.
10206dlopen_support=$enable_dlopen
10207
10208# Whether dlopen of programs is supported.
10209dlopen_self=$enable_dlopen_self
10210
10211# Whether dlopen of statically linked programs is supported.
10212dlopen_self_static=$enable_dlopen_self_static
10213
10214# Compiler flag to prevent dynamic linking.
10215link_static_flag=$lt_lt_prog_compiler_static_RC
10216
10217# Compiler flag to turn off builtin functions.
10218no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
10219
10220# Compiler flag to allow reflexive dlopens.
10221export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
10222
10223# Compiler flag to generate shared objects directly from archives.
10224whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
10225
10226# Compiler flag to generate thread-safe objects.
10227thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
10228
10229# Library versioning type.
10230version_type=$version_type
10231
10232# Format of library name prefix.
10233libname_spec=$lt_libname_spec
10234
10235# List of archive names.  First name is the real one, the rest are links.
10236# The last name is the one that the linker finds with -lNAME.
10237library_names_spec=$lt_library_names_spec
10238
10239# The coded name of the library, if different from the real name.
10240soname_spec=$lt_soname_spec
10241
10242# Commands used to build and install an old-style archive.
10243RANLIB=$lt_RANLIB
10244old_archive_cmds=$lt_old_archive_cmds_RC
10245old_postinstall_cmds=$lt_old_postinstall_cmds
10246old_postuninstall_cmds=$lt_old_postuninstall_cmds
10247
10248# Create an old-style archive from a shared archive.
10249old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
10250
10251# Create a temporary old-style archive to link instead of a shared archive.
10252old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
10253
10254# Commands used to build and install a shared archive.
10255archive_cmds=$lt_archive_cmds_RC
10256archive_expsym_cmds=$lt_archive_expsym_cmds_RC
10257postinstall_cmds=$lt_postinstall_cmds
10258postuninstall_cmds=$lt_postuninstall_cmds
10259
10260# Commands used to build a loadable module (assumed same as above if empty)
10261module_cmds=$lt_module_cmds_RC
10262module_expsym_cmds=$lt_module_expsym_cmds_RC
10263
10264# Commands to strip libraries.
10265old_striplib=$lt_old_striplib
10266striplib=$lt_striplib
10267
10268# Dependencies to place before the objects being linked to create a
10269# shared library.
10270predep_objects=$lt_predep_objects_RC
10271
10272# Dependencies to place after the objects being linked to create a
10273# shared library.
10274postdep_objects=$lt_postdep_objects_RC
10275
10276# Dependencies to place before the objects being linked to create a
10277# shared library.
10278predeps=$lt_predeps_RC
10279
10280# Dependencies to place after the objects being linked to create a
10281# shared library.
10282postdeps=$lt_postdeps_RC
10283
10284# The library search path used internally by the compiler when linking
10285# a shared library.
10286compiler_lib_search_path=$lt_compiler_lib_search_path_RC
10287
10288# Method to check whether dependent libraries are shared objects.
10289deplibs_check_method=$lt_deplibs_check_method
10290
10291# Command to use when deplibs_check_method == file_magic.
10292file_magic_cmd=$lt_file_magic_cmd
10293
10294# Flag that allows shared libraries with undefined symbols to be built.
10295allow_undefined_flag=$lt_allow_undefined_flag_RC
10296
10297# Flag that forces no undefined symbols.
10298no_undefined_flag=$lt_no_undefined_flag_RC
10299
10300# Commands used to finish a libtool library installation in a directory.
10301finish_cmds=$lt_finish_cmds
10302
10303# Same as above, but a single script fragment to be evaled but not shown.
10304finish_eval=$lt_finish_eval
10305
10306# Take the output of nm and produce a listing of raw symbols and C names.
10307global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
10308
10309# Transform the output of nm in a proper C declaration
10310global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
10311
10312# Transform the output of nm in a C name address pair
10313global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
10314
10315# This is the shared library runtime path variable.
10316runpath_var=$runpath_var
10317
10318# This is the shared library path variable.
10319shlibpath_var=$shlibpath_var
10320
10321# Is shlibpath searched before the hard-coded library search path?
10322shlibpath_overrides_runpath=$shlibpath_overrides_runpath
10323
10324# How to hardcode a shared library path into an executable.
10325hardcode_action=$hardcode_action_RC
10326
10327# Whether we should hardcode library paths into libraries.
10328hardcode_into_libs=$hardcode_into_libs
10329
10330# Flag to hardcode \$libdir into a binary during linking.
10331# This must work even if \$libdir does not exist.
10332hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
10333
10334# If ld is used when linking, flag to hardcode \$libdir into
10335# a binary during linking. This must work even if \$libdir does
10336# not exist.
10337hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
10338
10339# Whether we need a single -rpath flag with a separated argument.
10340hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
10341
10342# Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
10343# resulting binary.
10344hardcode_direct=$hardcode_direct_RC
10345
10346# Set to yes if using the -LDIR flag during linking hardcodes DIR into the
10347# resulting binary.
10348hardcode_minus_L=$hardcode_minus_L_RC
10349
10350# Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
10351# the resulting binary.
10352hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
10353
10354# Set to yes if building a shared library automatically hardcodes DIR into the library
10355# and all subsequent libraries and executables linked against it.
10356hardcode_automatic=$hardcode_automatic_RC
10357
10358# Variables whose values should be saved in libtool wrapper scripts and
10359# restored at relink time.
10360variables_saved_for_relink="$variables_saved_for_relink"
10361
10362# Whether libtool must link a program against all its dependency libraries.
10363link_all_deplibs=$link_all_deplibs_RC
10364
10365# Compile-time system search path for libraries
10366sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
10367
10368# Run-time system search path for libraries
10369sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10370
10371# Fix the shell variable \$srcfile for the compiler.
10372fix_srcfile_path=$lt_fix_srcfile_path
10373
10374# Set to yes if exported symbols are required.
10375always_export_symbols=$always_export_symbols_RC
10376
10377# The commands to list exported symbols.
10378export_symbols_cmds=$lt_export_symbols_cmds_RC
10379
10380# The commands to extract the exported symbol list from a shared archive.
10381extract_expsyms_cmds=$lt_extract_expsyms_cmds
10382
10383# Symbols that should not be listed in the preloaded symbols.
10384exclude_expsyms=$lt_exclude_expsyms_RC
10385
10386# Symbols that must always be exported.
10387include_expsyms=$lt_include_expsyms_RC
10388
10389# ### END LIBTOOL TAG CONFIG: $tagname
10390
10391__EOF__
10392
10393
10394else
10395  # If there is no Makefile yet, we rely on a make rule to execute
10396  # `config.status --recheck' to rerun these tests and create the
10397  # libtool script then.
10398  ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
10399  if test -f "$ltmain_in"; then
10400    test -f Makefile && make "$ltmain"
10401  fi
10402fi
10403
10404
10405ac_ext=c
10406ac_cpp='$CPP $CPPFLAGS'
10407ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10408ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10409ac_compiler_gnu=$ac_cv_c_compiler_gnu
10410
10411CC="$lt_save_CC"
10412
10413	;;
10414
10415      *)
10416	{ { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
10417echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
10418   { (exit 1); exit 1; }; }
10419	;;
10420      esac
10421
10422      # Append the new tag name to the list of available tags.
10423      if test -n "$tagname" ; then
10424      available_tags="$available_tags $tagname"
10425    fi
10426    fi
10427  done
10428  IFS="$lt_save_ifs"
10429
10430  # Now substitute the updated list of available tags.
10431  if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
10432    mv "${ofile}T" "$ofile"
10433    chmod +x "$ofile"
10434  else
10435    rm -f "${ofile}T"
10436    { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
10437echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
10438   { (exit 1); exit 1; }; }
10439  fi
10440fi
10441
10442
10443
10444# This can be used to rebuild libtool when needed
10445LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
10446
10447# Always use our own libtool.
10448LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10449
10450# Prevent multiple expansion
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461{ echo "$as_me:$LINENO: checking for size_t" >&5
10462echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
10463if test "${ac_cv_type_size_t+set}" = set; then
10464  echo $ECHO_N "(cached) $ECHO_C" >&6
10465else
10466  cat >conftest.$ac_ext <<_ACEOF
10467/* confdefs.h.  */
10468_ACEOF
10469cat confdefs.h >>conftest.$ac_ext
10470cat >>conftest.$ac_ext <<_ACEOF
10471/* end confdefs.h.  */
10472$ac_includes_default
10473typedef size_t ac__type_new_;
10474int
10475main ()
10476{
10477if ((ac__type_new_ *) 0)
10478  return 0;
10479if (sizeof (ac__type_new_))
10480  return 0;
10481  ;
10482  return 0;
10483}
10484_ACEOF
10485rm -f conftest.$ac_objext
10486if { (ac_try="$ac_compile"
10487case "(($ac_try" in
10488  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10489  *) ac_try_echo=$ac_try;;
10490esac
10491eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10492  (eval "$ac_compile") 2>conftest.er1
10493  ac_status=$?
10494  grep -v '^ *+' conftest.er1 >conftest.err
10495  rm -f conftest.er1
10496  cat conftest.err >&5
10497  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10498  (exit $ac_status); } && {
10499	 test -z "$ac_c_werror_flag" ||
10500	 test ! -s conftest.err
10501       } && test -s conftest.$ac_objext; then
10502  ac_cv_type_size_t=yes
10503else
10504  echo "$as_me: failed program was:" >&5
10505sed 's/^/| /' conftest.$ac_ext >&5
10506
10507	ac_cv_type_size_t=no
10508fi
10509
10510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10511fi
10512{ echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
10513echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
10514if test $ac_cv_type_size_t = yes; then
10515  :
10516else
10517
10518cat >>confdefs.h <<_ACEOF
10519#define size_t unsigned int
10520_ACEOF
10521
10522fi
10523
10524{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10525echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
10526if test "${ac_cv_c_const+set}" = set; then
10527  echo $ECHO_N "(cached) $ECHO_C" >&6
10528else
10529  cat >conftest.$ac_ext <<_ACEOF
10530/* confdefs.h.  */
10531_ACEOF
10532cat confdefs.h >>conftest.$ac_ext
10533cat >>conftest.$ac_ext <<_ACEOF
10534/* end confdefs.h.  */
10535
10536int
10537main ()
10538{
10539/* FIXME: Include the comments suggested by Paul. */
10540#ifndef __cplusplus
10541  /* Ultrix mips cc rejects this.  */
10542  typedef int charset[2];
10543  const charset cs;
10544  /* SunOS 4.1.1 cc rejects this.  */
10545  char const *const *pcpcc;
10546  char **ppc;
10547  /* NEC SVR4.0.2 mips cc rejects this.  */
10548  struct point {int x, y;};
10549  static struct point const zero = {0,0};
10550  /* AIX XL C 1.02.0.0 rejects this.
10551     It does not let you subtract one const X* pointer from another in
10552     an arm of an if-expression whose if-part is not a constant
10553     expression */
10554  const char *g = "string";
10555  pcpcc = &g + (g ? g-g : 0);
10556  /* HPUX 7.0 cc rejects these. */
10557  ++pcpcc;
10558  ppc = (char**) pcpcc;
10559  pcpcc = (char const *const *) ppc;
10560  { /* SCO 3.2v4 cc rejects this.  */
10561    char *t;
10562    char const *s = 0 ? (char *) 0 : (char const *) 0;
10563
10564    *t++ = 0;
10565    if (s) return 0;
10566  }
10567  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
10568    int x[] = {25, 17};
10569    const int *foo = &x[0];
10570    ++foo;
10571  }
10572  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10573    typedef const int *iptr;
10574    iptr p = 0;
10575    ++p;
10576  }
10577  { /* AIX XL C 1.02.0.0 rejects this saying
10578       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10579    struct s { int j; const int *ap[3]; };
10580    struct s *b; b->j = 5;
10581  }
10582  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10583    const int foo = 10;
10584    if (!foo) return 0;
10585  }
10586  return !cs[0] && !zero.x;
10587#endif
10588
10589  ;
10590  return 0;
10591}
10592_ACEOF
10593rm -f conftest.$ac_objext
10594if { (ac_try="$ac_compile"
10595case "(($ac_try" in
10596  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10597  *) ac_try_echo=$ac_try;;
10598esac
10599eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10600  (eval "$ac_compile") 2>conftest.er1
10601  ac_status=$?
10602  grep -v '^ *+' conftest.er1 >conftest.err
10603  rm -f conftest.er1
10604  cat conftest.err >&5
10605  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10606  (exit $ac_status); } && {
10607	 test -z "$ac_c_werror_flag" ||
10608	 test ! -s conftest.err
10609       } && test -s conftest.$ac_objext; then
10610  ac_cv_c_const=yes
10611else
10612  echo "$as_me: failed program was:" >&5
10613sed 's/^/| /' conftest.$ac_ext >&5
10614
10615	ac_cv_c_const=no
10616fi
10617
10618rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10619fi
10620{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10621echo "${ECHO_T}$ac_cv_c_const" >&6; }
10622if test $ac_cv_c_const = no; then
10623
10624cat >>confdefs.h <<\_ACEOF
10625#define const
10626_ACEOF
10627
10628fi
10629
10630
10631BPM_CFLAGS="-I$includedir"
10632BPM_LIBS="-L$libdir -lbpm -lbpmprocess -lbpmanalysis -lbpmcalibration"
10633BPM_LIBS="$BPM_LIBS -lbpminterface -lbpmmessages -lbpmnr -lbpmorbit -lbpmrf -lbpmsimulation"
10634BPM_LIBS="$BPM_LIBS -lbpmdsp -lbpmwf"
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647# Files:
10648DX_PROJECT=libbpm
10649
10650DX_CONFIG=doxygen.cfg
10651
10652DX_DOCDIR=documentation
10653
10654
10655# Environment variables used inside doxygen.cfg:
10656DX_ENV="$DX_ENV SRCDIR='$srcdir'"
10657
10658DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
10659
10660DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
10661
10662DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
10663
10664
10665# Doxygen itself:
10666
10667
10668
10669    # Check whether --enable-doxygen-doc was given.
10670if test "${enable_doxygen_doc+set}" = set; then
10671  enableval=$enable_doxygen_doc;
10672case "$enableval" in
10673#(
10674y|Y|yes|Yes|YES)
10675    DX_FLAG_doc=1
10676
10677
10678;; #(
10679n|N|no|No|NO)
10680    DX_FLAG_doc=0
10681
10682;; #(
10683*)
10684    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-doc" >&5
10685echo "$as_me: error: invalid value '$enableval' given to doxygen-doc" >&2;}
10686   { (exit 1); exit 1; }; }
10687;;
10688esac
10689
10690else
10691
10692DX_FLAG_doc=1
10693
10694
10695
10696fi
10697
10698if test "$DX_FLAG_doc" = 1; then
10699
10700if test -n "$ac_tool_prefix"; then
10701  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
10702set dummy ${ac_tool_prefix}doxygen; ac_word=$2
10703{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10704echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10705if test "${ac_cv_path_DX_DOXYGEN+set}" = set; then
10706  echo $ECHO_N "(cached) $ECHO_C" >&6
10707else
10708  case $DX_DOXYGEN in
10709  [\\/]* | ?:[\\/]*)
10710  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
10711  ;;
10712  *)
10713  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10714for as_dir in $PATH
10715do
10716  IFS=$as_save_IFS
10717  test -z "$as_dir" && as_dir=.
10718  for ac_exec_ext in '' $ac_executable_extensions; do
10719  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10720    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10721    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10722    break 2
10723  fi
10724done
10725done
10726IFS=$as_save_IFS
10727
10728  ;;
10729esac
10730fi
10731DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
10732if test -n "$DX_DOXYGEN"; then
10733  { echo "$as_me:$LINENO: result: $DX_DOXYGEN" >&5
10734echo "${ECHO_T}$DX_DOXYGEN" >&6; }
10735else
10736  { echo "$as_me:$LINENO: result: no" >&5
10737echo "${ECHO_T}no" >&6; }
10738fi
10739
10740
10741fi
10742if test -z "$ac_cv_path_DX_DOXYGEN"; then
10743  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
10744  # Extract the first word of "doxygen", so it can be a program name with args.
10745set dummy doxygen; ac_word=$2
10746{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10747echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10748if test "${ac_cv_path_ac_pt_DX_DOXYGEN+set}" = set; then
10749  echo $ECHO_N "(cached) $ECHO_C" >&6
10750else
10751  case $ac_pt_DX_DOXYGEN in
10752  [\\/]* | ?:[\\/]*)
10753  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
10754  ;;
10755  *)
10756  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10757for as_dir in $PATH
10758do
10759  IFS=$as_save_IFS
10760  test -z "$as_dir" && as_dir=.
10761  for ac_exec_ext in '' $ac_executable_extensions; do
10762  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10763    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
10764    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10765    break 2
10766  fi
10767done
10768done
10769IFS=$as_save_IFS
10770
10771  ;;
10772esac
10773fi
10774ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
10775if test -n "$ac_pt_DX_DOXYGEN"; then
10776  { echo "$as_me:$LINENO: result: $ac_pt_DX_DOXYGEN" >&5
10777echo "${ECHO_T}$ac_pt_DX_DOXYGEN" >&6; }
10778else
10779  { echo "$as_me:$LINENO: result: no" >&5
10780echo "${ECHO_T}no" >&6; }
10781fi
10782
10783  if test "x$ac_pt_DX_DOXYGEN" = x; then
10784    DX_DOXYGEN=""
10785  else
10786    case $cross_compiling:$ac_tool_warned in
10787yes:)
10788{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10789whose name does not start with the host triplet.  If you think this
10790configuration is useful to you, please write to autoconf@gnu.org." >&5
10791echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10792whose name does not start with the host triplet.  If you think this
10793configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10794ac_tool_warned=yes ;;
10795esac
10796    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
10797  fi
10798else
10799  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
10800fi
10801
10802if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
10803    { echo "$as_me:$LINENO: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
10804echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
10805    DX_FLAG_doc=0
10806
10807fi
10808
10809
10810if test -n "$ac_tool_prefix"; then
10811  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
10812set dummy ${ac_tool_prefix}perl; ac_word=$2
10813{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10814echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10815if test "${ac_cv_path_DX_PERL+set}" = set; then
10816  echo $ECHO_N "(cached) $ECHO_C" >&6
10817else
10818  case $DX_PERL in
10819  [\\/]* | ?:[\\/]*)
10820  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
10821  ;;
10822  *)
10823  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10824for as_dir in $PATH
10825do
10826  IFS=$as_save_IFS
10827  test -z "$as_dir" && as_dir=.
10828  for ac_exec_ext in '' $ac_executable_extensions; do
10829  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10830    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
10831    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10832    break 2
10833  fi
10834done
10835done
10836IFS=$as_save_IFS
10837
10838  ;;
10839esac
10840fi
10841DX_PERL=$ac_cv_path_DX_PERL
10842if test -n "$DX_PERL"; then
10843  { echo "$as_me:$LINENO: result: $DX_PERL" >&5
10844echo "${ECHO_T}$DX_PERL" >&6; }
10845else
10846  { echo "$as_me:$LINENO: result: no" >&5
10847echo "${ECHO_T}no" >&6; }
10848fi
10849
10850
10851fi
10852if test -z "$ac_cv_path_DX_PERL"; then
10853  ac_pt_DX_PERL=$DX_PERL
10854  # Extract the first word of "perl", so it can be a program name with args.
10855set dummy perl; ac_word=$2
10856{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10857echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10858if test "${ac_cv_path_ac_pt_DX_PERL+set}" = set; then
10859  echo $ECHO_N "(cached) $ECHO_C" >&6
10860else
10861  case $ac_pt_DX_PERL in
10862  [\\/]* | ?:[\\/]*)
10863  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
10864  ;;
10865  *)
10866  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10867for as_dir in $PATH
10868do
10869  IFS=$as_save_IFS
10870  test -z "$as_dir" && as_dir=.
10871  for ac_exec_ext in '' $ac_executable_extensions; do
10872  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10873    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
10874    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10875    break 2
10876  fi
10877done
10878done
10879IFS=$as_save_IFS
10880
10881  ;;
10882esac
10883fi
10884ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
10885if test -n "$ac_pt_DX_PERL"; then
10886  { echo "$as_me:$LINENO: result: $ac_pt_DX_PERL" >&5
10887echo "${ECHO_T}$ac_pt_DX_PERL" >&6; }
10888else
10889  { echo "$as_me:$LINENO: result: no" >&5
10890echo "${ECHO_T}no" >&6; }
10891fi
10892
10893  if test "x$ac_pt_DX_PERL" = x; then
10894    DX_PERL=""
10895  else
10896    case $cross_compiling:$ac_tool_warned in
10897yes:)
10898{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
10899whose name does not start with the host triplet.  If you think this
10900configuration is useful to you, please write to autoconf@gnu.org." >&5
10901echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
10902whose name does not start with the host triplet.  If you think this
10903configuration is useful to you, please write to autoconf@gnu.org." >&2;}
10904ac_tool_warned=yes ;;
10905esac
10906    DX_PERL=$ac_pt_DX_PERL
10907  fi
10908else
10909  DX_PERL="$ac_cv_path_DX_PERL"
10910fi
10911
10912if test "$DX_FLAG_doc$DX_PERL" = 1; then
10913    { echo "$as_me:$LINENO: WARNING: perl not found - will not generate any doxygen documentation" >&5
10914echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
10915    DX_FLAG_doc=0
10916
10917fi
10918
10919    :
10920fi
10921if test "$DX_FLAG_doc" = 1; then
10922     if :; then
10923  DX_COND_doc_TRUE=
10924  DX_COND_doc_FALSE='#'
10925else
10926  DX_COND_doc_TRUE='#'
10927  DX_COND_doc_FALSE=
10928fi
10929
10930    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
10931
10932    :
10933else
10934     if false; then
10935  DX_COND_doc_TRUE=
10936  DX_COND_doc_FALSE='#'
10937else
10938  DX_COND_doc_TRUE='#'
10939  DX_COND_doc_FALSE=
10940fi
10941
10942
10943    :
10944fi
10945
10946
10947# Dot for graphics:
10948
10949
10950
10951    # Check whether --enable-doxygen-dot was given.
10952if test "${enable_doxygen_dot+set}" = set; then
10953  enableval=$enable_doxygen_dot;
10954case "$enableval" in
10955#(
10956y|Y|yes|Yes|YES)
10957    DX_FLAG_dot=1
10958
10959
10960test "$DX_FLAG_doc" = "1" \
10961|| { { echo "$as_me:$LINENO: error: doxygen-dot requires doxygen-dot" >&5
10962echo "$as_me: error: doxygen-dot requires doxygen-dot" >&2;}
10963   { (exit 1); exit 1; }; }
10964
10965;; #(
10966n|N|no|No|NO)
10967    DX_FLAG_dot=0
10968
10969;; #(
10970*)
10971    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-dot" >&5
10972echo "$as_me: error: invalid value '$enableval' given to doxygen-dot" >&2;}
10973   { (exit 1); exit 1; }; }
10974;;
10975esac
10976
10977else
10978
10979DX_FLAG_dot=1
10980
10981
10982test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
10983
10984
10985
10986fi
10987
10988if test "$DX_FLAG_dot" = 1; then
10989
10990if test -n "$ac_tool_prefix"; then
10991  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
10992set dummy ${ac_tool_prefix}dot; ac_word=$2
10993{ echo "$as_me:$LINENO: checking for $ac_word" >&5
10994echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10995if test "${ac_cv_path_DX_DOT+set}" = set; then
10996  echo $ECHO_N "(cached) $ECHO_C" >&6
10997else
10998  case $DX_DOT in
10999  [\\/]* | ?:[\\/]*)
11000  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
11001  ;;
11002  *)
11003  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11004for as_dir in $PATH
11005do
11006  IFS=$as_save_IFS
11007  test -z "$as_dir" && as_dir=.
11008  for ac_exec_ext in '' $ac_executable_extensions; do
11009  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11010    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11011    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11012    break 2
11013  fi
11014done
11015done
11016IFS=$as_save_IFS
11017
11018  ;;
11019esac
11020fi
11021DX_DOT=$ac_cv_path_DX_DOT
11022if test -n "$DX_DOT"; then
11023  { echo "$as_me:$LINENO: result: $DX_DOT" >&5
11024echo "${ECHO_T}$DX_DOT" >&6; }
11025else
11026  { echo "$as_me:$LINENO: result: no" >&5
11027echo "${ECHO_T}no" >&6; }
11028fi
11029
11030
11031fi
11032if test -z "$ac_cv_path_DX_DOT"; then
11033  ac_pt_DX_DOT=$DX_DOT
11034  # Extract the first word of "dot", so it can be a program name with args.
11035set dummy dot; ac_word=$2
11036{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11037echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11038if test "${ac_cv_path_ac_pt_DX_DOT+set}" = set; then
11039  echo $ECHO_N "(cached) $ECHO_C" >&6
11040else
11041  case $ac_pt_DX_DOT in
11042  [\\/]* | ?:[\\/]*)
11043  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
11044  ;;
11045  *)
11046  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11047for as_dir in $PATH
11048do
11049  IFS=$as_save_IFS
11050  test -z "$as_dir" && as_dir=.
11051  for ac_exec_ext in '' $ac_executable_extensions; do
11052  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11053    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
11054    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11055    break 2
11056  fi
11057done
11058done
11059IFS=$as_save_IFS
11060
11061  ;;
11062esac
11063fi
11064ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
11065if test -n "$ac_pt_DX_DOT"; then
11066  { echo "$as_me:$LINENO: result: $ac_pt_DX_DOT" >&5
11067echo "${ECHO_T}$ac_pt_DX_DOT" >&6; }
11068else
11069  { echo "$as_me:$LINENO: result: no" >&5
11070echo "${ECHO_T}no" >&6; }
11071fi
11072
11073  if test "x$ac_pt_DX_DOT" = x; then
11074    DX_DOT=""
11075  else
11076    case $cross_compiling:$ac_tool_warned in
11077yes:)
11078{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11079whose name does not start with the host triplet.  If you think this
11080configuration is useful to you, please write to autoconf@gnu.org." >&5
11081echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11082whose name does not start with the host triplet.  If you think this
11083configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11084ac_tool_warned=yes ;;
11085esac
11086    DX_DOT=$ac_pt_DX_DOT
11087  fi
11088else
11089  DX_DOT="$ac_cv_path_DX_DOT"
11090fi
11091
11092if test "$DX_FLAG_dot$DX_DOT" = 1; then
11093    { echo "$as_me:$LINENO: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
11094echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
11095    DX_FLAG_dot=0
11096
11097fi
11098
11099    :
11100fi
11101if test "$DX_FLAG_dot" = 1; then
11102     if :; then
11103  DX_COND_dot_TRUE=
11104  DX_COND_dot_FALSE='#'
11105else
11106  DX_COND_dot_TRUE='#'
11107  DX_COND_dot_FALSE=
11108fi
11109
11110    DX_ENV="$DX_ENV HAVE_DOT='YES'"
11111
11112             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
11113
11114    :
11115else
11116     if false; then
11117  DX_COND_dot_TRUE=
11118  DX_COND_dot_FALSE='#'
11119else
11120  DX_COND_dot_TRUE='#'
11121  DX_COND_dot_FALSE=
11122fi
11123
11124    DX_ENV="$DX_ENV HAVE_DOT='NO'"
11125
11126    :
11127fi
11128
11129
11130# Man pages generation:
11131
11132
11133
11134    # Check whether --enable-doxygen-man was given.
11135if test "${enable_doxygen_man+set}" = set; then
11136  enableval=$enable_doxygen_man;
11137case "$enableval" in
11138#(
11139y|Y|yes|Yes|YES)
11140    DX_FLAG_man=1
11141
11142
11143test "$DX_FLAG_doc" = "1" \
11144|| { { echo "$as_me:$LINENO: error: doxygen-man requires doxygen-man" >&5
11145echo "$as_me: error: doxygen-man requires doxygen-man" >&2;}
11146   { (exit 1); exit 1; }; }
11147
11148;; #(
11149n|N|no|No|NO)
11150    DX_FLAG_man=0
11151
11152;; #(
11153*)
11154    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-man" >&5
11155echo "$as_me: error: invalid value '$enableval' given to doxygen-man" >&2;}
11156   { (exit 1); exit 1; }; }
11157;;
11158esac
11159
11160else
11161
11162DX_FLAG_man=0
11163
11164
11165test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
11166
11167
11168
11169fi
11170
11171if test "$DX_FLAG_man" = 1; then
11172
11173    :
11174fi
11175if test "$DX_FLAG_man" = 1; then
11176     if :; then
11177  DX_COND_man_TRUE=
11178  DX_COND_man_FALSE='#'
11179else
11180  DX_COND_man_TRUE='#'
11181  DX_COND_man_FALSE=
11182fi
11183
11184    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
11185
11186    :
11187else
11188     if false; then
11189  DX_COND_man_TRUE=
11190  DX_COND_man_FALSE='#'
11191else
11192  DX_COND_man_TRUE='#'
11193  DX_COND_man_FALSE=
11194fi
11195
11196    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
11197
11198    :
11199fi
11200
11201
11202# RTF file generation:
11203
11204
11205
11206    # Check whether --enable-doxygen-rtf was given.
11207if test "${enable_doxygen_rtf+set}" = set; then
11208  enableval=$enable_doxygen_rtf;
11209case "$enableval" in
11210#(
11211y|Y|yes|Yes|YES)
11212    DX_FLAG_rtf=1
11213
11214
11215test "$DX_FLAG_doc" = "1" \
11216|| { { echo "$as_me:$LINENO: error: doxygen-rtf requires doxygen-rtf" >&5
11217echo "$as_me: error: doxygen-rtf requires doxygen-rtf" >&2;}
11218   { (exit 1); exit 1; }; }
11219
11220;; #(
11221n|N|no|No|NO)
11222    DX_FLAG_rtf=0
11223
11224;; #(
11225*)
11226    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-rtf" >&5
11227echo "$as_me: error: invalid value '$enableval' given to doxygen-rtf" >&2;}
11228   { (exit 1); exit 1; }; }
11229;;
11230esac
11231
11232else
11233
11234DX_FLAG_rtf=0
11235
11236
11237test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
11238
11239
11240
11241fi
11242
11243if test "$DX_FLAG_rtf" = 1; then
11244
11245    :
11246fi
11247if test "$DX_FLAG_rtf" = 1; then
11248     if :; then
11249  DX_COND_rtf_TRUE=
11250  DX_COND_rtf_FALSE='#'
11251else
11252  DX_COND_rtf_TRUE='#'
11253  DX_COND_rtf_FALSE=
11254fi
11255
11256    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
11257
11258    :
11259else
11260     if false; then
11261  DX_COND_rtf_TRUE=
11262  DX_COND_rtf_FALSE='#'
11263else
11264  DX_COND_rtf_TRUE='#'
11265  DX_COND_rtf_FALSE=
11266fi
11267
11268    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
11269
11270    :
11271fi
11272
11273
11274# XML file generation:
11275
11276
11277
11278    # Check whether --enable-doxygen-xml was given.
11279if test "${enable_doxygen_xml+set}" = set; then
11280  enableval=$enable_doxygen_xml;
11281case "$enableval" in
11282#(
11283y|Y|yes|Yes|YES)
11284    DX_FLAG_xml=1
11285
11286
11287test "$DX_FLAG_doc" = "1" \
11288|| { { echo "$as_me:$LINENO: error: doxygen-xml requires doxygen-xml" >&5
11289echo "$as_me: error: doxygen-xml requires doxygen-xml" >&2;}
11290   { (exit 1); exit 1; }; }
11291
11292;; #(
11293n|N|no|No|NO)
11294    DX_FLAG_xml=0
11295
11296;; #(
11297*)
11298    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-xml" >&5
11299echo "$as_me: error: invalid value '$enableval' given to doxygen-xml" >&2;}
11300   { (exit 1); exit 1; }; }
11301;;
11302esac
11303
11304else
11305
11306DX_FLAG_xml=0
11307
11308
11309test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
11310
11311
11312
11313fi
11314
11315if test "$DX_FLAG_xml" = 1; then
11316
11317    :
11318fi
11319if test "$DX_FLAG_xml" = 1; then
11320     if :; then
11321  DX_COND_xml_TRUE=
11322  DX_COND_xml_FALSE='#'
11323else
11324  DX_COND_xml_TRUE='#'
11325  DX_COND_xml_FALSE=
11326fi
11327
11328    DX_ENV="$DX_ENV GENERATE_XML='YES'"
11329
11330    :
11331else
11332     if false; then
11333  DX_COND_xml_TRUE=
11334  DX_COND_xml_FALSE='#'
11335else
11336  DX_COND_xml_TRUE='#'
11337  DX_COND_xml_FALSE=
11338fi
11339
11340    DX_ENV="$DX_ENV GENERATE_XML='NO'"
11341
11342    :
11343fi
11344
11345
11346# (Compressed) HTML help generation:
11347
11348
11349
11350    # Check whether --enable-doxygen-chm was given.
11351if test "${enable_doxygen_chm+set}" = set; then
11352  enableval=$enable_doxygen_chm;
11353case "$enableval" in
11354#(
11355y|Y|yes|Yes|YES)
11356    DX_FLAG_chm=1
11357
11358
11359test "$DX_FLAG_doc" = "1" \
11360|| { { echo "$as_me:$LINENO: error: doxygen-chm requires doxygen-chm" >&5
11361echo "$as_me: error: doxygen-chm requires doxygen-chm" >&2;}
11362   { (exit 1); exit 1; }; }
11363
11364;; #(
11365n|N|no|No|NO)
11366    DX_FLAG_chm=0
11367
11368;; #(
11369*)
11370    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chm" >&5
11371echo "$as_me: error: invalid value '$enableval' given to doxygen-chm" >&2;}
11372   { (exit 1); exit 1; }; }
11373;;
11374esac
11375
11376else
11377
11378DX_FLAG_chm=0
11379
11380
11381test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
11382
11383
11384
11385fi
11386
11387if test "$DX_FLAG_chm" = 1; then
11388
11389if test -n "$ac_tool_prefix"; then
11390  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
11391set dummy ${ac_tool_prefix}hhc; ac_word=$2
11392{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11393echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11394if test "${ac_cv_path_DX_HHC+set}" = set; then
11395  echo $ECHO_N "(cached) $ECHO_C" >&6
11396else
11397  case $DX_HHC in
11398  [\\/]* | ?:[\\/]*)
11399  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
11400  ;;
11401  *)
11402  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11403for as_dir in $PATH
11404do
11405  IFS=$as_save_IFS
11406  test -z "$as_dir" && as_dir=.
11407  for ac_exec_ext in '' $ac_executable_extensions; do
11408  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11409    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11410    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11411    break 2
11412  fi
11413done
11414done
11415IFS=$as_save_IFS
11416
11417  ;;
11418esac
11419fi
11420DX_HHC=$ac_cv_path_DX_HHC
11421if test -n "$DX_HHC"; then
11422  { echo "$as_me:$LINENO: result: $DX_HHC" >&5
11423echo "${ECHO_T}$DX_HHC" >&6; }
11424else
11425  { echo "$as_me:$LINENO: result: no" >&5
11426echo "${ECHO_T}no" >&6; }
11427fi
11428
11429
11430fi
11431if test -z "$ac_cv_path_DX_HHC"; then
11432  ac_pt_DX_HHC=$DX_HHC
11433  # Extract the first word of "hhc", so it can be a program name with args.
11434set dummy hhc; ac_word=$2
11435{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11436echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11437if test "${ac_cv_path_ac_pt_DX_HHC+set}" = set; then
11438  echo $ECHO_N "(cached) $ECHO_C" >&6
11439else
11440  case $ac_pt_DX_HHC in
11441  [\\/]* | ?:[\\/]*)
11442  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
11443  ;;
11444  *)
11445  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11446for as_dir in $PATH
11447do
11448  IFS=$as_save_IFS
11449  test -z "$as_dir" && as_dir=.
11450  for ac_exec_ext in '' $ac_executable_extensions; do
11451  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11452    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
11453    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11454    break 2
11455  fi
11456done
11457done
11458IFS=$as_save_IFS
11459
11460  ;;
11461esac
11462fi
11463ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
11464if test -n "$ac_pt_DX_HHC"; then
11465  { echo "$as_me:$LINENO: result: $ac_pt_DX_HHC" >&5
11466echo "${ECHO_T}$ac_pt_DX_HHC" >&6; }
11467else
11468  { echo "$as_me:$LINENO: result: no" >&5
11469echo "${ECHO_T}no" >&6; }
11470fi
11471
11472  if test "x$ac_pt_DX_HHC" = x; then
11473    DX_HHC=""
11474  else
11475    case $cross_compiling:$ac_tool_warned in
11476yes:)
11477{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11478whose name does not start with the host triplet.  If you think this
11479configuration is useful to you, please write to autoconf@gnu.org." >&5
11480echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11481whose name does not start with the host triplet.  If you think this
11482configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11483ac_tool_warned=yes ;;
11484esac
11485    DX_HHC=$ac_pt_DX_HHC
11486  fi
11487else
11488  DX_HHC="$ac_cv_path_DX_HHC"
11489fi
11490
11491if test "$DX_FLAG_chm$DX_HHC" = 1; then
11492    { echo "$as_me:$LINENO: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
11493echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
11494    DX_FLAG_chm=0
11495
11496fi
11497
11498    :
11499fi
11500if test "$DX_FLAG_chm" = 1; then
11501     if :; then
11502  DX_COND_chm_TRUE=
11503  DX_COND_chm_FALSE='#'
11504else
11505  DX_COND_chm_TRUE='#'
11506  DX_COND_chm_FALSE=
11507fi
11508
11509    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
11510
11511             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11512
11513             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
11514
11515    :
11516else
11517     if false; then
11518  DX_COND_chm_TRUE=
11519  DX_COND_chm_FALSE='#'
11520else
11521  DX_COND_chm_TRUE='#'
11522  DX_COND_chm_FALSE=
11523fi
11524
11525    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
11526
11527    :
11528fi
11529
11530
11531# Seperate CHI file generation.
11532
11533
11534
11535    # Check whether --enable-doxygen-chi was given.
11536if test "${enable_doxygen_chi+set}" = set; then
11537  enableval=$enable_doxygen_chi;
11538case "$enableval" in
11539#(
11540y|Y|yes|Yes|YES)
11541    DX_FLAG_chi=1
11542
11543
11544test "$DX_FLAG_chm" = "1" \
11545|| { { echo "$as_me:$LINENO: error: doxygen-chi requires doxygen-chi" >&5
11546echo "$as_me: error: doxygen-chi requires doxygen-chi" >&2;}
11547   { (exit 1); exit 1; }; }
11548
11549;; #(
11550n|N|no|No|NO)
11551    DX_FLAG_chi=0
11552
11553;; #(
11554*)
11555    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-chi" >&5
11556echo "$as_me: error: invalid value '$enableval' given to doxygen-chi" >&2;}
11557   { (exit 1); exit 1; }; }
11558;;
11559esac
11560
11561else
11562
11563DX_FLAG_chi=0
11564
11565
11566test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
11567
11568
11569
11570fi
11571
11572if test "$DX_FLAG_chi" = 1; then
11573
11574    :
11575fi
11576if test "$DX_FLAG_chi" = 1; then
11577     if :; then
11578  DX_COND_chi_TRUE=
11579  DX_COND_chi_FALSE='#'
11580else
11581  DX_COND_chi_TRUE='#'
11582  DX_COND_chi_FALSE=
11583fi
11584
11585    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
11586
11587    :
11588else
11589     if false; then
11590  DX_COND_chi_TRUE=
11591  DX_COND_chi_FALSE='#'
11592else
11593  DX_COND_chi_TRUE='#'
11594  DX_COND_chi_FALSE=
11595fi
11596
11597    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
11598
11599    :
11600fi
11601
11602
11603# Plain HTML pages generation:
11604
11605
11606
11607    # Check whether --enable-doxygen-html was given.
11608if test "${enable_doxygen_html+set}" = set; then
11609  enableval=$enable_doxygen_html;
11610case "$enableval" in
11611#(
11612y|Y|yes|Yes|YES)
11613    DX_FLAG_html=1
11614
11615
11616test "$DX_FLAG_doc" = "1" \
11617|| { { echo "$as_me:$LINENO: error: doxygen-html requires doxygen-html" >&5
11618echo "$as_me: error: doxygen-html requires doxygen-html" >&2;}
11619   { (exit 1); exit 1; }; }
11620
11621test "$DX_FLAG_chm" = "0" \
11622|| { { echo "$as_me:$LINENO: error: doxygen-html contradicts doxygen-html" >&5
11623echo "$as_me: error: doxygen-html contradicts doxygen-html" >&2;}
11624   { (exit 1); exit 1; }; }
11625
11626;; #(
11627n|N|no|No|NO)
11628    DX_FLAG_html=0
11629
11630;; #(
11631*)
11632    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-html" >&5
11633echo "$as_me: error: invalid value '$enableval' given to doxygen-html" >&2;}
11634   { (exit 1); exit 1; }; }
11635;;
11636esac
11637
11638else
11639
11640DX_FLAG_html=1
11641
11642
11643test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
11644
11645
11646test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
11647
11648
11649
11650fi
11651
11652if test "$DX_FLAG_html" = 1; then
11653
11654    :
11655fi
11656if test "$DX_FLAG_html" = 1; then
11657     if :; then
11658  DX_COND_html_TRUE=
11659  DX_COND_html_FALSE='#'
11660else
11661  DX_COND_html_TRUE='#'
11662  DX_COND_html_FALSE=
11663fi
11664
11665    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
11666
11667    :
11668else
11669     if false; then
11670  DX_COND_html_TRUE=
11671  DX_COND_html_FALSE='#'
11672else
11673  DX_COND_html_TRUE='#'
11674  DX_COND_html_FALSE=
11675fi
11676
11677    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
11678
11679    :
11680fi
11681
11682
11683# PostScript file generation:
11684
11685
11686
11687    # Check whether --enable-doxygen-ps was given.
11688if test "${enable_doxygen_ps+set}" = set; then
11689  enableval=$enable_doxygen_ps;
11690case "$enableval" in
11691#(
11692y|Y|yes|Yes|YES)
11693    DX_FLAG_ps=1
11694
11695
11696test "$DX_FLAG_doc" = "1" \
11697|| { { echo "$as_me:$LINENO: error: doxygen-ps requires doxygen-ps" >&5
11698echo "$as_me: error: doxygen-ps requires doxygen-ps" >&2;}
11699   { (exit 1); exit 1; }; }
11700
11701;; #(
11702n|N|no|No|NO)
11703    DX_FLAG_ps=0
11704
11705;; #(
11706*)
11707    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-ps" >&5
11708echo "$as_me: error: invalid value '$enableval' given to doxygen-ps" >&2;}
11709   { (exit 1); exit 1; }; }
11710;;
11711esac
11712
11713else
11714
11715DX_FLAG_ps=1
11716
11717
11718test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
11719
11720
11721
11722fi
11723
11724if test "$DX_FLAG_ps" = 1; then
11725
11726if test -n "$ac_tool_prefix"; then
11727  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
11728set dummy ${ac_tool_prefix}latex; ac_word=$2
11729{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11730echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11731if test "${ac_cv_path_DX_LATEX+set}" = set; then
11732  echo $ECHO_N "(cached) $ECHO_C" >&6
11733else
11734  case $DX_LATEX in
11735  [\\/]* | ?:[\\/]*)
11736  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
11737  ;;
11738  *)
11739  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11740for as_dir in $PATH
11741do
11742  IFS=$as_save_IFS
11743  test -z "$as_dir" && as_dir=.
11744  for ac_exec_ext in '' $ac_executable_extensions; do
11745  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11746    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
11747    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11748    break 2
11749  fi
11750done
11751done
11752IFS=$as_save_IFS
11753
11754  ;;
11755esac
11756fi
11757DX_LATEX=$ac_cv_path_DX_LATEX
11758if test -n "$DX_LATEX"; then
11759  { echo "$as_me:$LINENO: result: $DX_LATEX" >&5
11760echo "${ECHO_T}$DX_LATEX" >&6; }
11761else
11762  { echo "$as_me:$LINENO: result: no" >&5
11763echo "${ECHO_T}no" >&6; }
11764fi
11765
11766
11767fi
11768if test -z "$ac_cv_path_DX_LATEX"; then
11769  ac_pt_DX_LATEX=$DX_LATEX
11770  # Extract the first word of "latex", so it can be a program name with args.
11771set dummy latex; ac_word=$2
11772{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11773echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11774if test "${ac_cv_path_ac_pt_DX_LATEX+set}" = set; then
11775  echo $ECHO_N "(cached) $ECHO_C" >&6
11776else
11777  case $ac_pt_DX_LATEX in
11778  [\\/]* | ?:[\\/]*)
11779  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
11780  ;;
11781  *)
11782  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11783for as_dir in $PATH
11784do
11785  IFS=$as_save_IFS
11786  test -z "$as_dir" && as_dir=.
11787  for ac_exec_ext in '' $ac_executable_extensions; do
11788  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11789    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
11790    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11791    break 2
11792  fi
11793done
11794done
11795IFS=$as_save_IFS
11796
11797  ;;
11798esac
11799fi
11800ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
11801if test -n "$ac_pt_DX_LATEX"; then
11802  { echo "$as_me:$LINENO: result: $ac_pt_DX_LATEX" >&5
11803echo "${ECHO_T}$ac_pt_DX_LATEX" >&6; }
11804else
11805  { echo "$as_me:$LINENO: result: no" >&5
11806echo "${ECHO_T}no" >&6; }
11807fi
11808
11809  if test "x$ac_pt_DX_LATEX" = x; then
11810    DX_LATEX=""
11811  else
11812    case $cross_compiling:$ac_tool_warned in
11813yes:)
11814{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11815whose name does not start with the host triplet.  If you think this
11816configuration is useful to you, please write to autoconf@gnu.org." >&5
11817echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11818whose name does not start with the host triplet.  If you think this
11819configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11820ac_tool_warned=yes ;;
11821esac
11822    DX_LATEX=$ac_pt_DX_LATEX
11823  fi
11824else
11825  DX_LATEX="$ac_cv_path_DX_LATEX"
11826fi
11827
11828if test "$DX_FLAG_ps$DX_LATEX" = 1; then
11829    { echo "$as_me:$LINENO: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
11830echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
11831    DX_FLAG_ps=0
11832
11833fi
11834
11835
11836if test -n "$ac_tool_prefix"; then
11837  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
11838set dummy ${ac_tool_prefix}makeindex; ac_word=$2
11839{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11840echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11841if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
11842  echo $ECHO_N "(cached) $ECHO_C" >&6
11843else
11844  case $DX_MAKEINDEX in
11845  [\\/]* | ?:[\\/]*)
11846  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
11847  ;;
11848  *)
11849  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11850for as_dir in $PATH
11851do
11852  IFS=$as_save_IFS
11853  test -z "$as_dir" && as_dir=.
11854  for ac_exec_ext in '' $ac_executable_extensions; do
11855  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11856    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
11857    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11858    break 2
11859  fi
11860done
11861done
11862IFS=$as_save_IFS
11863
11864  ;;
11865esac
11866fi
11867DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
11868if test -n "$DX_MAKEINDEX"; then
11869  { echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
11870echo "${ECHO_T}$DX_MAKEINDEX" >&6; }
11871else
11872  { echo "$as_me:$LINENO: result: no" >&5
11873echo "${ECHO_T}no" >&6; }
11874fi
11875
11876
11877fi
11878if test -z "$ac_cv_path_DX_MAKEINDEX"; then
11879  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
11880  # Extract the first word of "makeindex", so it can be a program name with args.
11881set dummy makeindex; ac_word=$2
11882{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11883echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11884if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
11885  echo $ECHO_N "(cached) $ECHO_C" >&6
11886else
11887  case $ac_pt_DX_MAKEINDEX in
11888  [\\/]* | ?:[\\/]*)
11889  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
11890  ;;
11891  *)
11892  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11893for as_dir in $PATH
11894do
11895  IFS=$as_save_IFS
11896  test -z "$as_dir" && as_dir=.
11897  for ac_exec_ext in '' $ac_executable_extensions; do
11898  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11899    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
11900    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11901    break 2
11902  fi
11903done
11904done
11905IFS=$as_save_IFS
11906
11907  ;;
11908esac
11909fi
11910ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
11911if test -n "$ac_pt_DX_MAKEINDEX"; then
11912  { echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
11913echo "${ECHO_T}$ac_pt_DX_MAKEINDEX" >&6; }
11914else
11915  { echo "$as_me:$LINENO: result: no" >&5
11916echo "${ECHO_T}no" >&6; }
11917fi
11918
11919  if test "x$ac_pt_DX_MAKEINDEX" = x; then
11920    DX_MAKEINDEX=""
11921  else
11922    case $cross_compiling:$ac_tool_warned in
11923yes:)
11924{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
11925whose name does not start with the host triplet.  If you think this
11926configuration is useful to you, please write to autoconf@gnu.org." >&5
11927echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
11928whose name does not start with the host triplet.  If you think this
11929configuration is useful to you, please write to autoconf@gnu.org." >&2;}
11930ac_tool_warned=yes ;;
11931esac
11932    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
11933  fi
11934else
11935  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
11936fi
11937
11938if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
11939    { echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
11940echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
11941    DX_FLAG_ps=0
11942
11943fi
11944
11945
11946if test -n "$ac_tool_prefix"; then
11947  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
11948set dummy ${ac_tool_prefix}dvips; ac_word=$2
11949{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11950echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11951if test "${ac_cv_path_DX_DVIPS+set}" = set; then
11952  echo $ECHO_N "(cached) $ECHO_C" >&6
11953else
11954  case $DX_DVIPS in
11955  [\\/]* | ?:[\\/]*)
11956  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
11957  ;;
11958  *)
11959  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11960for as_dir in $PATH
11961do
11962  IFS=$as_save_IFS
11963  test -z "$as_dir" && as_dir=.
11964  for ac_exec_ext in '' $ac_executable_extensions; do
11965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11966    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
11967    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11968    break 2
11969  fi
11970done
11971done
11972IFS=$as_save_IFS
11973
11974  ;;
11975esac
11976fi
11977DX_DVIPS=$ac_cv_path_DX_DVIPS
11978if test -n "$DX_DVIPS"; then
11979  { echo "$as_me:$LINENO: result: $DX_DVIPS" >&5
11980echo "${ECHO_T}$DX_DVIPS" >&6; }
11981else
11982  { echo "$as_me:$LINENO: result: no" >&5
11983echo "${ECHO_T}no" >&6; }
11984fi
11985
11986
11987fi
11988if test -z "$ac_cv_path_DX_DVIPS"; then
11989  ac_pt_DX_DVIPS=$DX_DVIPS
11990  # Extract the first word of "dvips", so it can be a program name with args.
11991set dummy dvips; ac_word=$2
11992{ echo "$as_me:$LINENO: checking for $ac_word" >&5
11993echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11994if test "${ac_cv_path_ac_pt_DX_DVIPS+set}" = set; then
11995  echo $ECHO_N "(cached) $ECHO_C" >&6
11996else
11997  case $ac_pt_DX_DVIPS in
11998  [\\/]* | ?:[\\/]*)
11999  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
12000  ;;
12001  *)
12002  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12003for as_dir in $PATH
12004do
12005  IFS=$as_save_IFS
12006  test -z "$as_dir" && as_dir=.
12007  for ac_exec_ext in '' $ac_executable_extensions; do
12008  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12009    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
12010    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12011    break 2
12012  fi
12013done
12014done
12015IFS=$as_save_IFS
12016
12017  ;;
12018esac
12019fi
12020ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
12021if test -n "$ac_pt_DX_DVIPS"; then
12022  { echo "$as_me:$LINENO: result: $ac_pt_DX_DVIPS" >&5
12023echo "${ECHO_T}$ac_pt_DX_DVIPS" >&6; }
12024else
12025  { echo "$as_me:$LINENO: result: no" >&5
12026echo "${ECHO_T}no" >&6; }
12027fi
12028
12029  if test "x$ac_pt_DX_DVIPS" = x; then
12030    DX_DVIPS=""
12031  else
12032    case $cross_compiling:$ac_tool_warned in
12033yes:)
12034{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12035whose name does not start with the host triplet.  If you think this
12036configuration is useful to you, please write to autoconf@gnu.org." >&5
12037echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12038whose name does not start with the host triplet.  If you think this
12039configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12040ac_tool_warned=yes ;;
12041esac
12042    DX_DVIPS=$ac_pt_DX_DVIPS
12043  fi
12044else
12045  DX_DVIPS="$ac_cv_path_DX_DVIPS"
12046fi
12047
12048if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
12049    { echo "$as_me:$LINENO: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
12050echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
12051    DX_FLAG_ps=0
12052
12053fi
12054
12055
12056if test -n "$ac_tool_prefix"; then
12057  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12058set dummy ${ac_tool_prefix}egrep; ac_word=$2
12059{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12060echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12061if test "${ac_cv_path_DX_EGREP+set}" = set; then
12062  echo $ECHO_N "(cached) $ECHO_C" >&6
12063else
12064  case $DX_EGREP in
12065  [\\/]* | ?:[\\/]*)
12066  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12067  ;;
12068  *)
12069  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12070for as_dir in $PATH
12071do
12072  IFS=$as_save_IFS
12073  test -z "$as_dir" && as_dir=.
12074  for ac_exec_ext in '' $ac_executable_extensions; do
12075  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12076    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12077    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12078    break 2
12079  fi
12080done
12081done
12082IFS=$as_save_IFS
12083
12084  ;;
12085esac
12086fi
12087DX_EGREP=$ac_cv_path_DX_EGREP
12088if test -n "$DX_EGREP"; then
12089  { echo "$as_me:$LINENO: result: $DX_EGREP" >&5
12090echo "${ECHO_T}$DX_EGREP" >&6; }
12091else
12092  { echo "$as_me:$LINENO: result: no" >&5
12093echo "${ECHO_T}no" >&6; }
12094fi
12095
12096
12097fi
12098if test -z "$ac_cv_path_DX_EGREP"; then
12099  ac_pt_DX_EGREP=$DX_EGREP
12100  # Extract the first word of "egrep", so it can be a program name with args.
12101set dummy egrep; ac_word=$2
12102{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12103echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12104if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
12105  echo $ECHO_N "(cached) $ECHO_C" >&6
12106else
12107  case $ac_pt_DX_EGREP in
12108  [\\/]* | ?:[\\/]*)
12109  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12110  ;;
12111  *)
12112  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12113for as_dir in $PATH
12114do
12115  IFS=$as_save_IFS
12116  test -z "$as_dir" && as_dir=.
12117  for ac_exec_ext in '' $ac_executable_extensions; do
12118  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12119    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12120    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12121    break 2
12122  fi
12123done
12124done
12125IFS=$as_save_IFS
12126
12127  ;;
12128esac
12129fi
12130ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12131if test -n "$ac_pt_DX_EGREP"; then
12132  { echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
12133echo "${ECHO_T}$ac_pt_DX_EGREP" >&6; }
12134else
12135  { echo "$as_me:$LINENO: result: no" >&5
12136echo "${ECHO_T}no" >&6; }
12137fi
12138
12139  if test "x$ac_pt_DX_EGREP" = x; then
12140    DX_EGREP=""
12141  else
12142    case $cross_compiling:$ac_tool_warned in
12143yes:)
12144{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12145whose name does not start with the host triplet.  If you think this
12146configuration is useful to you, please write to autoconf@gnu.org." >&5
12147echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12148whose name does not start with the host triplet.  If you think this
12149configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12150ac_tool_warned=yes ;;
12151esac
12152    DX_EGREP=$ac_pt_DX_EGREP
12153  fi
12154else
12155  DX_EGREP="$ac_cv_path_DX_EGREP"
12156fi
12157
12158if test "$DX_FLAG_ps$DX_EGREP" = 1; then
12159    { echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
12160echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
12161    DX_FLAG_ps=0
12162
12163fi
12164
12165    :
12166fi
12167if test "$DX_FLAG_ps" = 1; then
12168     if :; then
12169  DX_COND_ps_TRUE=
12170  DX_COND_ps_FALSE='#'
12171else
12172  DX_COND_ps_TRUE='#'
12173  DX_COND_ps_FALSE=
12174fi
12175
12176
12177    :
12178else
12179     if false; then
12180  DX_COND_ps_TRUE=
12181  DX_COND_ps_FALSE='#'
12182else
12183  DX_COND_ps_TRUE='#'
12184  DX_COND_ps_FALSE=
12185fi
12186
12187
12188    :
12189fi
12190
12191
12192# PDF file generation:
12193
12194
12195
12196    # Check whether --enable-doxygen-pdf was given.
12197if test "${enable_doxygen_pdf+set}" = set; then
12198  enableval=$enable_doxygen_pdf;
12199case "$enableval" in
12200#(
12201y|Y|yes|Yes|YES)
12202    DX_FLAG_pdf=1
12203
12204
12205test "$DX_FLAG_doc" = "1" \
12206|| { { echo "$as_me:$LINENO: error: doxygen-pdf requires doxygen-pdf" >&5
12207echo "$as_me: error: doxygen-pdf requires doxygen-pdf" >&2;}
12208   { (exit 1); exit 1; }; }
12209
12210;; #(
12211n|N|no|No|NO)
12212    DX_FLAG_pdf=0
12213
12214;; #(
12215*)
12216    { { echo "$as_me:$LINENO: error: invalid value '$enableval' given to doxygen-pdf" >&5
12217echo "$as_me: error: invalid value '$enableval' given to doxygen-pdf" >&2;}
12218   { (exit 1); exit 1; }; }
12219;;
12220esac
12221
12222else
12223
12224DX_FLAG_pdf=1
12225
12226
12227test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
12228
12229
12230
12231fi
12232
12233if test "$DX_FLAG_pdf" = 1; then
12234
12235if test -n "$ac_tool_prefix"; then
12236  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
12237set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
12238{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12239echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12240if test "${ac_cv_path_DX_PDFLATEX+set}" = set; then
12241  echo $ECHO_N "(cached) $ECHO_C" >&6
12242else
12243  case $DX_PDFLATEX in
12244  [\\/]* | ?:[\\/]*)
12245  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
12246  ;;
12247  *)
12248  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12249for as_dir in $PATH
12250do
12251  IFS=$as_save_IFS
12252  test -z "$as_dir" && as_dir=.
12253  for ac_exec_ext in '' $ac_executable_extensions; do
12254  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12255    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12256    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12257    break 2
12258  fi
12259done
12260done
12261IFS=$as_save_IFS
12262
12263  ;;
12264esac
12265fi
12266DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
12267if test -n "$DX_PDFLATEX"; then
12268  { echo "$as_me:$LINENO: result: $DX_PDFLATEX" >&5
12269echo "${ECHO_T}$DX_PDFLATEX" >&6; }
12270else
12271  { echo "$as_me:$LINENO: result: no" >&5
12272echo "${ECHO_T}no" >&6; }
12273fi
12274
12275
12276fi
12277if test -z "$ac_cv_path_DX_PDFLATEX"; then
12278  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
12279  # Extract the first word of "pdflatex", so it can be a program name with args.
12280set dummy pdflatex; ac_word=$2
12281{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12282echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12283if test "${ac_cv_path_ac_pt_DX_PDFLATEX+set}" = set; then
12284  echo $ECHO_N "(cached) $ECHO_C" >&6
12285else
12286  case $ac_pt_DX_PDFLATEX in
12287  [\\/]* | ?:[\\/]*)
12288  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
12289  ;;
12290  *)
12291  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12292for as_dir in $PATH
12293do
12294  IFS=$as_save_IFS
12295  test -z "$as_dir" && as_dir=.
12296  for ac_exec_ext in '' $ac_executable_extensions; do
12297  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12298    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
12299    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12300    break 2
12301  fi
12302done
12303done
12304IFS=$as_save_IFS
12305
12306  ;;
12307esac
12308fi
12309ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
12310if test -n "$ac_pt_DX_PDFLATEX"; then
12311  { echo "$as_me:$LINENO: result: $ac_pt_DX_PDFLATEX" >&5
12312echo "${ECHO_T}$ac_pt_DX_PDFLATEX" >&6; }
12313else
12314  { echo "$as_me:$LINENO: result: no" >&5
12315echo "${ECHO_T}no" >&6; }
12316fi
12317
12318  if test "x$ac_pt_DX_PDFLATEX" = x; then
12319    DX_PDFLATEX=""
12320  else
12321    case $cross_compiling:$ac_tool_warned in
12322yes:)
12323{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12324whose name does not start with the host triplet.  If you think this
12325configuration is useful to you, please write to autoconf@gnu.org." >&5
12326echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12327whose name does not start with the host triplet.  If you think this
12328configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12329ac_tool_warned=yes ;;
12330esac
12331    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
12332  fi
12333else
12334  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
12335fi
12336
12337if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
12338    { echo "$as_me:$LINENO: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
12339echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
12340    DX_FLAG_pdf=0
12341
12342fi
12343
12344
12345if test -n "$ac_tool_prefix"; then
12346  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
12347set dummy ${ac_tool_prefix}makeindex; ac_word=$2
12348{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12349echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12350if test "${ac_cv_path_DX_MAKEINDEX+set}" = set; then
12351  echo $ECHO_N "(cached) $ECHO_C" >&6
12352else
12353  case $DX_MAKEINDEX in
12354  [\\/]* | ?:[\\/]*)
12355  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
12356  ;;
12357  *)
12358  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12359for as_dir in $PATH
12360do
12361  IFS=$as_save_IFS
12362  test -z "$as_dir" && as_dir=.
12363  for ac_exec_ext in '' $ac_executable_extensions; do
12364  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12365    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12366    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12367    break 2
12368  fi
12369done
12370done
12371IFS=$as_save_IFS
12372
12373  ;;
12374esac
12375fi
12376DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
12377if test -n "$DX_MAKEINDEX"; then
12378  { echo "$as_me:$LINENO: result: $DX_MAKEINDEX" >&5
12379echo "${ECHO_T}$DX_MAKEINDEX" >&6; }
12380else
12381  { echo "$as_me:$LINENO: result: no" >&5
12382echo "${ECHO_T}no" >&6; }
12383fi
12384
12385
12386fi
12387if test -z "$ac_cv_path_DX_MAKEINDEX"; then
12388  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
12389  # Extract the first word of "makeindex", so it can be a program name with args.
12390set dummy makeindex; ac_word=$2
12391{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12392echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12393if test "${ac_cv_path_ac_pt_DX_MAKEINDEX+set}" = set; then
12394  echo $ECHO_N "(cached) $ECHO_C" >&6
12395else
12396  case $ac_pt_DX_MAKEINDEX in
12397  [\\/]* | ?:[\\/]*)
12398  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
12399  ;;
12400  *)
12401  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12402for as_dir in $PATH
12403do
12404  IFS=$as_save_IFS
12405  test -z "$as_dir" && as_dir=.
12406  for ac_exec_ext in '' $ac_executable_extensions; do
12407  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12408    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
12409    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12410    break 2
12411  fi
12412done
12413done
12414IFS=$as_save_IFS
12415
12416  ;;
12417esac
12418fi
12419ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
12420if test -n "$ac_pt_DX_MAKEINDEX"; then
12421  { echo "$as_me:$LINENO: result: $ac_pt_DX_MAKEINDEX" >&5
12422echo "${ECHO_T}$ac_pt_DX_MAKEINDEX" >&6; }
12423else
12424  { echo "$as_me:$LINENO: result: no" >&5
12425echo "${ECHO_T}no" >&6; }
12426fi
12427
12428  if test "x$ac_pt_DX_MAKEINDEX" = x; then
12429    DX_MAKEINDEX=""
12430  else
12431    case $cross_compiling:$ac_tool_warned in
12432yes:)
12433{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12434whose name does not start with the host triplet.  If you think this
12435configuration is useful to you, please write to autoconf@gnu.org." >&5
12436echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12437whose name does not start with the host triplet.  If you think this
12438configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12439ac_tool_warned=yes ;;
12440esac
12441    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
12442  fi
12443else
12444  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
12445fi
12446
12447if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
12448    { echo "$as_me:$LINENO: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
12449echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
12450    DX_FLAG_pdf=0
12451
12452fi
12453
12454
12455if test -n "$ac_tool_prefix"; then
12456  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
12457set dummy ${ac_tool_prefix}egrep; ac_word=$2
12458{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12459echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12460if test "${ac_cv_path_DX_EGREP+set}" = set; then
12461  echo $ECHO_N "(cached) $ECHO_C" >&6
12462else
12463  case $DX_EGREP in
12464  [\\/]* | ?:[\\/]*)
12465  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
12466  ;;
12467  *)
12468  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12469for as_dir in $PATH
12470do
12471  IFS=$as_save_IFS
12472  test -z "$as_dir" && as_dir=.
12473  for ac_exec_ext in '' $ac_executable_extensions; do
12474  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12475    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12476    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12477    break 2
12478  fi
12479done
12480done
12481IFS=$as_save_IFS
12482
12483  ;;
12484esac
12485fi
12486DX_EGREP=$ac_cv_path_DX_EGREP
12487if test -n "$DX_EGREP"; then
12488  { echo "$as_me:$LINENO: result: $DX_EGREP" >&5
12489echo "${ECHO_T}$DX_EGREP" >&6; }
12490else
12491  { echo "$as_me:$LINENO: result: no" >&5
12492echo "${ECHO_T}no" >&6; }
12493fi
12494
12495
12496fi
12497if test -z "$ac_cv_path_DX_EGREP"; then
12498  ac_pt_DX_EGREP=$DX_EGREP
12499  # Extract the first word of "egrep", so it can be a program name with args.
12500set dummy egrep; ac_word=$2
12501{ echo "$as_me:$LINENO: checking for $ac_word" >&5
12502echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12503if test "${ac_cv_path_ac_pt_DX_EGREP+set}" = set; then
12504  echo $ECHO_N "(cached) $ECHO_C" >&6
12505else
12506  case $ac_pt_DX_EGREP in
12507  [\\/]* | ?:[\\/]*)
12508  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
12509  ;;
12510  *)
12511  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12512for as_dir in $PATH
12513do
12514  IFS=$as_save_IFS
12515  test -z "$as_dir" && as_dir=.
12516  for ac_exec_ext in '' $ac_executable_extensions; do
12517  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12518    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
12519    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12520    break 2
12521  fi
12522done
12523done
12524IFS=$as_save_IFS
12525
12526  ;;
12527esac
12528fi
12529ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
12530if test -n "$ac_pt_DX_EGREP"; then
12531  { echo "$as_me:$LINENO: result: $ac_pt_DX_EGREP" >&5
12532echo "${ECHO_T}$ac_pt_DX_EGREP" >&6; }
12533else
12534  { echo "$as_me:$LINENO: result: no" >&5
12535echo "${ECHO_T}no" >&6; }
12536fi
12537
12538  if test "x$ac_pt_DX_EGREP" = x; then
12539    DX_EGREP=""
12540  else
12541    case $cross_compiling:$ac_tool_warned in
12542yes:)
12543{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12544whose name does not start with the host triplet.  If you think this
12545configuration is useful to you, please write to autoconf@gnu.org." >&5
12546echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12547whose name does not start with the host triplet.  If you think this
12548configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12549ac_tool_warned=yes ;;
12550esac
12551    DX_EGREP=$ac_pt_DX_EGREP
12552  fi
12553else
12554  DX_EGREP="$ac_cv_path_DX_EGREP"
12555fi
12556
12557if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
12558    { echo "$as_me:$LINENO: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
12559echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
12560    DX_FLAG_pdf=0
12561
12562fi
12563
12564    :
12565fi
12566if test "$DX_FLAG_pdf" = 1; then
12567     if :; then
12568  DX_COND_pdf_TRUE=
12569  DX_COND_pdf_FALSE='#'
12570else
12571  DX_COND_pdf_TRUE='#'
12572  DX_COND_pdf_FALSE=
12573fi
12574
12575
12576    :
12577else
12578     if false; then
12579  DX_COND_pdf_TRUE=
12580  DX_COND_pdf_FALSE='#'
12581else
12582  DX_COND_pdf_TRUE='#'
12583  DX_COND_pdf_FALSE=
12584fi
12585
12586
12587    :
12588fi
12589
12590
12591# LaTeX generation for PS and/or PDF:
12592if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
12593     if :; then
12594  DX_COND_latex_TRUE=
12595  DX_COND_latex_FALSE='#'
12596else
12597  DX_COND_latex_TRUE='#'
12598  DX_COND_latex_FALSE=
12599fi
12600
12601    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
12602
12603else
12604     if false; then
12605  DX_COND_latex_TRUE=
12606  DX_COND_latex_FALSE='#'
12607else
12608  DX_COND_latex_TRUE='#'
12609  DX_COND_latex_FALSE=
12610fi
12611
12612    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
12613
12614fi
12615
12616# Paper size for PS and/or PDF:
12617
12618case "$DOXYGEN_PAPER_SIZE" in
12619#(
12620"")
12621    DOXYGEN_PAPER_SIZE=""
12622
12623;; #(
12624a4wide|a4|letter|legal|executive)
12625    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
12626
12627;; #(
12628*)
12629    { { echo "$as_me:$LINENO: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&5
12630echo "$as_me: error: unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" >&2;}
12631   { (exit 1); exit 1; }; }
12632;;
12633esac
12634
12635#For debugging:
12636#echo DX_FLAG_doc=$DX_FLAG_doc
12637#echo DX_FLAG_dot=$DX_FLAG_dot
12638#echo DX_FLAG_man=$DX_FLAG_man
12639#echo DX_FLAG_html=$DX_FLAG_html
12640#echo DX_FLAG_chm=$DX_FLAG_chm
12641#echo DX_FLAG_chi=$DX_FLAG_chi
12642#echo DX_FLAG_rtf=$DX_FLAG_rtf
12643#echo DX_FLAG_xml=$DX_FLAG_xml
12644#echo DX_FLAG_pdf=$DX_FLAG_pdf
12645#echo DX_FLAG_ps=$DX_FLAG_ps
12646#echo DX_ENV=$DX_ENV
12647
12648
12649 if false; then
12650  DX_COND_doc_TRUE=
12651  DX_COND_doc_FALSE='#'
12652else
12653  DX_COND_doc_TRUE='#'
12654  DX_COND_doc_FALSE=
12655fi
12656
12657 if false; then
12658  DX_COND_dot_TRUE=
12659  DX_COND_dot_FALSE='#'
12660else
12661  DX_COND_dot_TRUE='#'
12662  DX_COND_dot_FALSE=
12663fi
12664
12665 if true; then
12666  DX_COND_html_TRUE=
12667  DX_COND_html_FALSE='#'
12668else
12669  DX_COND_html_TRUE='#'
12670  DX_COND_html_FALSE=
12671fi
12672
12673 if true; then
12674  DX_COND_ps_TRUE=
12675  DX_COND_ps_FALSE='#'
12676else
12677  DX_COND_ps_TRUE='#'
12678  DX_COND_ps_FALSE=
12679fi
12680
12681 if true; then
12682  DX_COND_pdf_TRUE=
12683  DX_COND_pdf_FALSE='#'
12684else
12685  DX_COND_pdf_TRUE='#'
12686  DX_COND_pdf_FALSE=
12687fi
12688
12689 if false; then
12690  DX_COND_chm_TRUE=
12691  DX_COND_chm_FALSE='#'
12692else
12693  DX_COND_chm_TRUE='#'
12694  DX_COND_chm_FALSE=
12695fi
12696
12697 if false; then
12698  DX_COND_chi_TRUE=
12699  DX_COND_chi_FALSE='#'
12700else
12701  DX_COND_chi_TRUE='#'
12702  DX_COND_chi_FALSE=
12703fi
12704
12705 if false; then
12706  DX_COND_man_TRUE=
12707  DX_COND_man_FALSE='#'
12708else
12709  DX_COND_man_TRUE='#'
12710  DX_COND_man_FALSE=
12711fi
12712
12713 if false; then
12714  DX_COND_rtf_TRUE=
12715  DX_COND_rtf_FALSE='#'
12716else
12717  DX_COND_rtf_TRUE='#'
12718  DX_COND_rtf_FALSE=
12719fi
12720
12721 if false; then
12722  DX_COND_xml_TRUE=
12723  DX_COND_xml_FALSE='#'
12724else
12725  DX_COND_xml_TRUE='#'
12726  DX_COND_xml_FALSE=
12727fi
12728
12729
12730ac_config_files="$ac_config_files libbpm-config libbpm.pc bpm_version.h Makefile bpm/Makefile bpmanalysis/Makefile bpmcalibration/Makefile bpminterface/Makefile bpmmessages/Makefile bpmnr/Makefile bpmorbit/Makefile bpmprocess/Makefile bpmrf/Makefile bpmsimulation/Makefile bpmdsp/Makefile bpmwf/Makefile"
12731
12732cat >confcache <<\_ACEOF
12733# This file is a shell script that caches the results of configure
12734# tests run on this system so they can be shared between configure
12735# scripts and configure runs, see configure's option --config-cache.
12736# It is not useful on other systems.  If it contains results you don't
12737# want to keep, you may remove or edit it.
12738#
12739# config.status only pays attention to the cache file if you give it
12740# the --recheck option to rerun configure.
12741#
12742# `ac_cv_env_foo' variables (set or unset) will be overridden when
12743# loading this file, other *unset* `ac_cv_foo' will be assigned the
12744# following values.
12745
12746_ACEOF
12747
12748# The following way of writing the cache mishandles newlines in values,
12749# but we know of no workaround that is simple, portable, and efficient.
12750# So, we kill variables containing newlines.
12751# Ultrix sh set writes to stderr and can't be redirected directly,
12752# and sets the high bit in the cache file unless we assign to the vars.
12753(
12754  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12755    eval ac_val=\$$ac_var
12756    case $ac_val in #(
12757    *${as_nl}*)
12758      case $ac_var in #(
12759      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12760echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12761      esac
12762      case $ac_var in #(
12763      _ | IFS | as_nl) ;; #(
12764      *) $as_unset $ac_var ;;
12765      esac ;;
12766    esac
12767  done
12768
12769  (set) 2>&1 |
12770    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12771    *${as_nl}ac_space=\ *)
12772      # `set' does not quote correctly, so add quotes (double-quote
12773      # substitution turns \\\\ into \\, and sed turns \\ into \).
12774      sed -n \
12775	"s/'/'\\\\''/g;
12776	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12777      ;; #(
12778    *)
12779      # `set' quotes correctly as required by POSIX, so do not add quotes.
12780      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12781      ;;
12782    esac |
12783    sort
12784) |
12785  sed '
12786     /^ac_cv_env_/b end
12787     t clear
12788     :clear
12789     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12790     t end
12791     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12792     :end' >>confcache
12793if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12794  if test -w "$cache_file"; then
12795    test "x$cache_file" != "x/dev/null" &&
12796      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12797echo "$as_me: updating cache $cache_file" >&6;}
12798    cat confcache >$cache_file
12799  else
12800    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12801echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12802  fi
12803fi
12804rm -f confcache
12805
12806test "x$prefix" = xNONE && prefix=$ac_default_prefix
12807# Let make expand exec_prefix.
12808test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12809
12810# Transform confdefs.h into DEFS.
12811# Protect against shell expansion while executing Makefile rules.
12812# Protect against Makefile macro expansion.
12813#
12814# If the first sed substitution is executed (which looks for macros that
12815# take arguments), then branch to the quote section.  Otherwise,
12816# look for a macro that doesn't take arguments.
12817ac_script='
12818t clear
12819:clear
12820s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
12821t quote
12822s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
12823t quote
12824b any
12825:quote
12826s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
12827s/\[/\\&/g
12828s/\]/\\&/g
12829s/\$/$$/g
12830H
12831:any
12832${
12833	g
12834	s/^\n//
12835	s/\n/ /g
12836	p
12837}
12838'
12839DEFS=`sed -n "$ac_script" confdefs.h`
12840
12841
12842ac_libobjs=
12843ac_ltlibobjs=
12844for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12845  # 1. Remove the extension, and $U if already installed.
12846  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12847  ac_i=`echo "$ac_i" | sed "$ac_script"`
12848  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12849  #    will be set to the directory where LIBOBJS objects are built.
12850  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12851  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12852done
12853LIBOBJS=$ac_libobjs
12854
12855LTLIBOBJS=$ac_ltlibobjs
12856
12857
12858if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
12859  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
12860Usually this means the macro was only invoked conditionally." >&5
12861echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
12862Usually this means the macro was only invoked conditionally." >&2;}
12863   { (exit 1); exit 1; }; }
12864fi
12865if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
12866  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
12867Usually this means the macro was only invoked conditionally." >&5
12868echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
12869Usually this means the macro was only invoked conditionally." >&2;}
12870   { (exit 1); exit 1; }; }
12871fi
12872if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
12873  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
12874Usually this means the macro was only invoked conditionally." >&5
12875echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
12876Usually this means the macro was only invoked conditionally." >&2;}
12877   { (exit 1); exit 1; }; }
12878fi
12879if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
12880  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
12881Usually this means the macro was only invoked conditionally." >&5
12882echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
12883Usually this means the macro was only invoked conditionally." >&2;}
12884   { (exit 1); exit 1; }; }
12885fi
12886if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
12887  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
12888Usually this means the macro was only invoked conditionally." >&5
12889echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
12890Usually this means the macro was only invoked conditionally." >&2;}
12891   { (exit 1); exit 1; }; }
12892fi
12893if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
12894  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
12895Usually this means the macro was only invoked conditionally." >&5
12896echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
12897Usually this means the macro was only invoked conditionally." >&2;}
12898   { (exit 1); exit 1; }; }
12899fi
12900if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
12901  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
12902Usually this means the macro was only invoked conditionally." >&5
12903echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
12904Usually this means the macro was only invoked conditionally." >&2;}
12905   { (exit 1); exit 1; }; }
12906fi
12907if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
12908  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
12909Usually this means the macro was only invoked conditionally." >&5
12910echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
12911Usually this means the macro was only invoked conditionally." >&2;}
12912   { (exit 1); exit 1; }; }
12913fi
12914if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
12915  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
12916Usually this means the macro was only invoked conditionally." >&5
12917echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
12918Usually this means the macro was only invoked conditionally." >&2;}
12919   { (exit 1); exit 1; }; }
12920fi
12921if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
12922  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
12923Usually this means the macro was only invoked conditionally." >&5
12924echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
12925Usually this means the macro was only invoked conditionally." >&2;}
12926   { (exit 1); exit 1; }; }
12927fi
12928if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
12929  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
12930Usually this means the macro was only invoked conditionally." >&5
12931echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
12932Usually this means the macro was only invoked conditionally." >&2;}
12933   { (exit 1); exit 1; }; }
12934fi
12935if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
12936  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
12937Usually this means the macro was only invoked conditionally." >&5
12938echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
12939Usually this means the macro was only invoked conditionally." >&2;}
12940   { (exit 1); exit 1; }; }
12941fi
12942if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
12943  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
12944Usually this means the macro was only invoked conditionally." >&5
12945echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
12946Usually this means the macro was only invoked conditionally." >&2;}
12947   { (exit 1); exit 1; }; }
12948fi
12949if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
12950  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
12951Usually this means the macro was only invoked conditionally." >&5
12952echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
12953Usually this means the macro was only invoked conditionally." >&2;}
12954   { (exit 1); exit 1; }; }
12955fi
12956if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
12957  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
12958Usually this means the macro was only invoked conditionally." >&5
12959echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
12960Usually this means the macro was only invoked conditionally." >&2;}
12961   { (exit 1); exit 1; }; }
12962fi
12963if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
12964  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
12965Usually this means the macro was only invoked conditionally." >&5
12966echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
12967Usually this means the macro was only invoked conditionally." >&2;}
12968   { (exit 1); exit 1; }; }
12969fi
12970if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
12971  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
12972Usually this means the macro was only invoked conditionally." >&5
12973echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
12974Usually this means the macro was only invoked conditionally." >&2;}
12975   { (exit 1); exit 1; }; }
12976fi
12977if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
12978  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
12979Usually this means the macro was only invoked conditionally." >&5
12980echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
12981Usually this means the macro was only invoked conditionally." >&2;}
12982   { (exit 1); exit 1; }; }
12983fi
12984if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
12985  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
12986Usually this means the macro was only invoked conditionally." >&5
12987echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
12988Usually this means the macro was only invoked conditionally." >&2;}
12989   { (exit 1); exit 1; }; }
12990fi
12991if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
12992  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
12993Usually this means the macro was only invoked conditionally." >&5
12994echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
12995Usually this means the macro was only invoked conditionally." >&2;}
12996   { (exit 1); exit 1; }; }
12997fi
12998if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
12999  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
13000Usually this means the macro was only invoked conditionally." >&5
13001echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
13002Usually this means the macro was only invoked conditionally." >&2;}
13003   { (exit 1); exit 1; }; }
13004fi
13005if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
13006  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_latex\" was never defined.
13007Usually this means the macro was only invoked conditionally." >&5
13008echo "$as_me: error: conditional \"DX_COND_latex\" was never defined.
13009Usually this means the macro was only invoked conditionally." >&2;}
13010   { (exit 1); exit 1; }; }
13011fi
13012if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
13013  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_doc\" was never defined.
13014Usually this means the macro was only invoked conditionally." >&5
13015echo "$as_me: error: conditional \"DX_COND_doc\" was never defined.
13016Usually this means the macro was only invoked conditionally." >&2;}
13017   { (exit 1); exit 1; }; }
13018fi
13019if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
13020  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_dot\" was never defined.
13021Usually this means the macro was only invoked conditionally." >&5
13022echo "$as_me: error: conditional \"DX_COND_dot\" was never defined.
13023Usually this means the macro was only invoked conditionally." >&2;}
13024   { (exit 1); exit 1; }; }
13025fi
13026if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
13027  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_html\" was never defined.
13028Usually this means the macro was only invoked conditionally." >&5
13029echo "$as_me: error: conditional \"DX_COND_html\" was never defined.
13030Usually this means the macro was only invoked conditionally." >&2;}
13031   { (exit 1); exit 1; }; }
13032fi
13033if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
13034  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_ps\" was never defined.
13035Usually this means the macro was only invoked conditionally." >&5
13036echo "$as_me: error: conditional \"DX_COND_ps\" was never defined.
13037Usually this means the macro was only invoked conditionally." >&2;}
13038   { (exit 1); exit 1; }; }
13039fi
13040if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
13041  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_pdf\" was never defined.
13042Usually this means the macro was only invoked conditionally." >&5
13043echo "$as_me: error: conditional \"DX_COND_pdf\" was never defined.
13044Usually this means the macro was only invoked conditionally." >&2;}
13045   { (exit 1); exit 1; }; }
13046fi
13047if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
13048  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chm\" was never defined.
13049Usually this means the macro was only invoked conditionally." >&5
13050echo "$as_me: error: conditional \"DX_COND_chm\" was never defined.
13051Usually this means the macro was only invoked conditionally." >&2;}
13052   { (exit 1); exit 1; }; }
13053fi
13054if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
13055  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_chi\" was never defined.
13056Usually this means the macro was only invoked conditionally." >&5
13057echo "$as_me: error: conditional \"DX_COND_chi\" was never defined.
13058Usually this means the macro was only invoked conditionally." >&2;}
13059   { (exit 1); exit 1; }; }
13060fi
13061if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
13062  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_man\" was never defined.
13063Usually this means the macro was only invoked conditionally." >&5
13064echo "$as_me: error: conditional \"DX_COND_man\" was never defined.
13065Usually this means the macro was only invoked conditionally." >&2;}
13066   { (exit 1); exit 1; }; }
13067fi
13068if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
13069  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_rtf\" was never defined.
13070Usually this means the macro was only invoked conditionally." >&5
13071echo "$as_me: error: conditional \"DX_COND_rtf\" was never defined.
13072Usually this means the macro was only invoked conditionally." >&2;}
13073   { (exit 1); exit 1; }; }
13074fi
13075if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
13076  { { echo "$as_me:$LINENO: error: conditional \"DX_COND_xml\" was never defined.
13077Usually this means the macro was only invoked conditionally." >&5
13078echo "$as_me: error: conditional \"DX_COND_xml\" was never defined.
13079Usually this means the macro was only invoked conditionally." >&2;}
13080   { (exit 1); exit 1; }; }
13081fi
13082
13083: ${CONFIG_STATUS=./config.status}
13084ac_clean_files_save=$ac_clean_files
13085ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13086{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13087echo "$as_me: creating $CONFIG_STATUS" >&6;}
13088cat >$CONFIG_STATUS <<_ACEOF
13089#! $SHELL
13090# Generated by $as_me.
13091# Run this file to recreate the current configuration.
13092# Compiler output produced by configure, useful for debugging
13093# configure, is in config.log if it exists.
13094
13095debug=false
13096ac_cs_recheck=false
13097ac_cs_silent=false
13098SHELL=\${CONFIG_SHELL-$SHELL}
13099_ACEOF
13100
13101cat >>$CONFIG_STATUS <<\_ACEOF
13102## --------------------- ##
13103## M4sh Initialization.  ##
13104## --------------------- ##
13105
13106# Be more Bourne compatible
13107DUALCASE=1; export DUALCASE # for MKS sh
13108if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13109  emulate sh
13110  NULLCMD=:
13111  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13112  # is contrary to our usage.  Disable this feature.
13113  alias -g '${1+"$@"}'='"$@"'
13114  setopt NO_GLOB_SUBST
13115else
13116  case `(set -o) 2>/dev/null` in
13117  *posix*) set -o posix ;;
13118esac
13119
13120fi
13121
13122
13123
13124
13125# PATH needs CR
13126# Avoid depending upon Character Ranges.
13127as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13128as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13129as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13130as_cr_digits='0123456789'
13131as_cr_alnum=$as_cr_Letters$as_cr_digits
13132
13133# The user is always right.
13134if test "${PATH_SEPARATOR+set}" != set; then
13135  echo "#! /bin/sh" >conf$$.sh
13136  echo  "exit 0"   >>conf$$.sh
13137  chmod +x conf$$.sh
13138  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13139    PATH_SEPARATOR=';'
13140  else
13141    PATH_SEPARATOR=:
13142  fi
13143  rm -f conf$$.sh
13144fi
13145
13146# Support unset when possible.
13147if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13148  as_unset=unset
13149else
13150  as_unset=false
13151fi
13152
13153
13154# IFS
13155# We need space, tab and new line, in precisely that order.  Quoting is
13156# there to prevent editors from complaining about space-tab.
13157# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13158# splitting by setting IFS to empty value.)
13159as_nl='
13160'
13161IFS=" ""	$as_nl"
13162
13163# Find who we are.  Look in the path if we contain no directory separator.
13164case $0 in
13165  *[\\/]* ) as_myself=$0 ;;
13166  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13167for as_dir in $PATH
13168do
13169  IFS=$as_save_IFS
13170  test -z "$as_dir" && as_dir=.
13171  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13172done
13173IFS=$as_save_IFS
13174
13175     ;;
13176esac
13177# We did not find ourselves, most probably we were run as `sh COMMAND'
13178# in which case we are not to be found in the path.
13179if test "x$as_myself" = x; then
13180  as_myself=$0
13181fi
13182if test ! -f "$as_myself"; then
13183  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13184  { (exit 1); exit 1; }
13185fi
13186
13187# Work around bugs in pre-3.0 UWIN ksh.
13188for as_var in ENV MAIL MAILPATH
13189do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13190done
13191PS1='$ '
13192PS2='> '
13193PS4='+ '
13194
13195# NLS nuisances.
13196for as_var in \
13197  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13198  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13199  LC_TELEPHONE LC_TIME
13200do
13201  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13202    eval $as_var=C; export $as_var
13203  else
13204    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
13205  fi
13206done
13207
13208# Required to use basename.
13209if expr a : '\(a\)' >/dev/null 2>&1 &&
13210   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13211  as_expr=expr
13212else
13213  as_expr=false
13214fi
13215
13216if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13217  as_basename=basename
13218else
13219  as_basename=false
13220fi
13221
13222
13223# Name of the executable.
13224as_me=`$as_basename -- "$0" ||
13225$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13226	 X"$0" : 'X\(//\)$' \| \
13227	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13228echo X/"$0" |
13229    sed '/^.*\/\([^/][^/]*\)\/*$/{
13230	    s//\1/
13231	    q
13232	  }
13233	  /^X\/\(\/\/\)$/{
13234	    s//\1/
13235	    q
13236	  }
13237	  /^X\/\(\/\).*/{
13238	    s//\1/
13239	    q
13240	  }
13241	  s/.*/./; q'`
13242
13243# CDPATH.
13244$as_unset CDPATH
13245
13246
13247
13248  as_lineno_1=$LINENO
13249  as_lineno_2=$LINENO
13250  test "x$as_lineno_1" != "x$as_lineno_2" &&
13251  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
13252
13253  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13254  # uniformly replaced by the line number.  The first 'sed' inserts a
13255  # line-number line after each line using $LINENO; the second 'sed'
13256  # does the real work.  The second script uses 'N' to pair each
13257  # line-number line with the line containing $LINENO, and appends
13258  # trailing '-' during substitution so that $LINENO is not a special
13259  # case at line end.
13260  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13261  # scripts with optimization help from Paolo Bonzini.  Blame Lee
13262  # E. McMahon (1931-1989) for sed's syntax.  :-)
13263  sed -n '
13264    p
13265    /[$]LINENO/=
13266  ' <$as_myself |
13267    sed '
13268      s/[$]LINENO.*/&-/
13269      t lineno
13270      b
13271      :lineno
13272      N
13273      :loop
13274      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
13275      t loop
13276      s/-\n.*//
13277    ' >$as_me.lineno &&
13278  chmod +x "$as_me.lineno" ||
13279    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
13280   { (exit 1); exit 1; }; }
13281
13282  # Don't try to exec as it changes $[0], causing all sort of problems
13283  # (the dirname of $[0] is not the place where we might find the
13284  # original and so on.  Autoconf is especially sensitive to this).
13285  . "./$as_me.lineno"
13286  # Exit status is that of the last command.
13287  exit
13288}
13289
13290
13291if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13292  as_dirname=dirname
13293else
13294  as_dirname=false
13295fi
13296
13297ECHO_C= ECHO_N= ECHO_T=
13298case `echo -n x` in
13299-n*)
13300  case `echo 'x\c'` in
13301  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13302  *)   ECHO_C='\c';;
13303  esac;;
13304*)
13305  ECHO_N='-n';;
13306esac
13307
13308if expr a : '\(a\)' >/dev/null 2>&1 &&
13309   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13310  as_expr=expr
13311else
13312  as_expr=false
13313fi
13314
13315rm -f conf$$ conf$$.exe conf$$.file
13316if test -d conf$$.dir; then
13317  rm -f conf$$.dir/conf$$.file
13318else
13319  rm -f conf$$.dir
13320  mkdir conf$$.dir
13321fi
13322echo >conf$$.file
13323if ln -s conf$$.file conf$$ 2>/dev/null; then
13324  as_ln_s='ln -s'
13325  # ... but there are two gotchas:
13326  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13327  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13328  # In both cases, we have to default to `cp -p'.
13329  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13330    as_ln_s='cp -p'
13331elif ln conf$$.file conf$$ 2>/dev/null; then
13332  as_ln_s=ln
13333else
13334  as_ln_s='cp -p'
13335fi
13336rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13337rmdir conf$$.dir 2>/dev/null
13338
13339if mkdir -p . 2>/dev/null; then
13340  as_mkdir_p=:
13341else
13342  test -d ./-p && rmdir ./-p
13343  as_mkdir_p=false
13344fi
13345
13346if test -x / >/dev/null 2>&1; then
13347  as_test_x='test -x'
13348else
13349  if ls -dL / >/dev/null 2>&1; then
13350    as_ls_L_option=L
13351  else
13352    as_ls_L_option=
13353  fi
13354  as_test_x='
13355    eval sh -c '\''
13356      if test -d "$1"; then
13357        test -d "$1/.";
13358      else
13359	case $1 in
13360        -*)set "./$1";;
13361	esac;
13362	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
13363	???[sx]*):;;*)false;;esac;fi
13364    '\'' sh
13365  '
13366fi
13367as_executable_p=$as_test_x
13368
13369# Sed expression to map a string onto a valid CPP name.
13370as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13371
13372# Sed expression to map a string onto a valid variable name.
13373as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13374
13375
13376exec 6>&1
13377
13378# Save the log message, to keep $[0] and so on meaningful, and to
13379# report actual input values of CONFIG_FILES etc. instead of their
13380# values after options handling.
13381ac_log="
13382This file was extended by libbpm $as_me 0.3, which was
13383generated by GNU Autoconf 2.61.  Invocation command line was
13384
13385  CONFIG_FILES    = $CONFIG_FILES
13386  CONFIG_HEADERS  = $CONFIG_HEADERS
13387  CONFIG_LINKS    = $CONFIG_LINKS
13388  CONFIG_COMMANDS = $CONFIG_COMMANDS
13389  $ $0 $@
13390
13391on `(hostname || uname -n) 2>/dev/null | sed 1q`
13392"
13393
13394_ACEOF
13395
13396cat >>$CONFIG_STATUS <<_ACEOF
13397# Files that config.status was made for.
13398config_files="$ac_config_files"
13399
13400_ACEOF
13401
13402cat >>$CONFIG_STATUS <<\_ACEOF
13403ac_cs_usage="\
13404\`$as_me' instantiates files from templates according to the
13405current configuration.
13406
13407Usage: $0 [OPTIONS] [FILE]...
13408
13409  -h, --help       print this help, then exit
13410  -V, --version    print version number and configuration settings, then exit
13411  -q, --quiet      do not print progress messages
13412  -d, --debug      don't remove temporary files
13413      --recheck    update $as_me by reconfiguring in the same conditions
13414  --file=FILE[:TEMPLATE]
13415		   instantiate the configuration file FILE
13416
13417Configuration files:
13418$config_files
13419
13420Report bugs to <bug-autoconf@gnu.org>."
13421
13422_ACEOF
13423cat >>$CONFIG_STATUS <<_ACEOF
13424ac_cs_version="\\
13425libbpm config.status 0.3
13426configured by $0, generated by GNU Autoconf 2.61,
13427  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
13428
13429Copyright (C) 2006 Free Software Foundation, Inc.
13430This config.status script is free software; the Free Software Foundation
13431gives unlimited permission to copy, distribute and modify it."
13432
13433ac_pwd='$ac_pwd'
13434srcdir='$srcdir'
13435INSTALL='$INSTALL'
13436MKDIR_P='$MKDIR_P'
13437_ACEOF
13438
13439cat >>$CONFIG_STATUS <<\_ACEOF
13440# If no file are specified by the user, then we need to provide default
13441# value.  By we need to know if files were specified by the user.
13442ac_need_defaults=:
13443while test $# != 0
13444do
13445  case $1 in
13446  --*=*)
13447    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13448    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13449    ac_shift=:
13450    ;;
13451  *)
13452    ac_option=$1
13453    ac_optarg=$2
13454    ac_shift=shift
13455    ;;
13456  esac
13457
13458  case $ac_option in
13459  # Handling of the options.
13460  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13461    ac_cs_recheck=: ;;
13462  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13463    echo "$ac_cs_version"; exit ;;
13464  --debug | --debu | --deb | --de | --d | -d )
13465    debug=: ;;
13466  --file | --fil | --fi | --f )
13467    $ac_shift
13468    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13469    ac_need_defaults=false;;
13470  --he | --h |  --help | --hel | -h )
13471    echo "$ac_cs_usage"; exit ;;
13472  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13473  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13474    ac_cs_silent=: ;;
13475
13476  # This is an error.
13477  -*) { echo "$as_me: error: unrecognized option: $1
13478Try \`$0 --help' for more information." >&2
13479   { (exit 1); exit 1; }; } ;;
13480
13481  *) ac_config_targets="$ac_config_targets $1"
13482     ac_need_defaults=false ;;
13483
13484  esac
13485  shift
13486done
13487
13488ac_configure_extra_args=
13489
13490if $ac_cs_silent; then
13491  exec 6>/dev/null
13492  ac_configure_extra_args="$ac_configure_extra_args --silent"
13493fi
13494
13495_ACEOF
13496cat >>$CONFIG_STATUS <<_ACEOF
13497if \$ac_cs_recheck; then
13498  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13499  CONFIG_SHELL=$SHELL
13500  export CONFIG_SHELL
13501  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13502fi
13503
13504_ACEOF
13505cat >>$CONFIG_STATUS <<\_ACEOF
13506exec 5>>config.log
13507{
13508  echo
13509  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13510## Running $as_me. ##
13511_ASBOX
13512  echo "$ac_log"
13513} >&5
13514
13515_ACEOF
13516cat >>$CONFIG_STATUS <<_ACEOF
13517_ACEOF
13518
13519cat >>$CONFIG_STATUS <<\_ACEOF
13520
13521# Handling of arguments.
13522for ac_config_target in $ac_config_targets
13523do
13524  case $ac_config_target in
13525    "libbpm-config") CONFIG_FILES="$CONFIG_FILES libbpm-config" ;;
13526    "libbpm.pc") CONFIG_FILES="$CONFIG_FILES libbpm.pc" ;;
13527    "bpm_version.h") CONFIG_FILES="$CONFIG_FILES bpm_version.h" ;;
13528    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13529    "bpm/Makefile") CONFIG_FILES="$CONFIG_FILES bpm/Makefile" ;;
13530    "bpmanalysis/Makefile") CONFIG_FILES="$CONFIG_FILES bpmanalysis/Makefile" ;;
13531    "bpmcalibration/Makefile") CONFIG_FILES="$CONFIG_FILES bpmcalibration/Makefile" ;;
13532    "bpminterface/Makefile") CONFIG_FILES="$CONFIG_FILES bpminterface/Makefile" ;;
13533    "bpmmessages/Makefile") CONFIG_FILES="$CONFIG_FILES bpmmessages/Makefile" ;;
13534    "bpmnr/Makefile") CONFIG_FILES="$CONFIG_FILES bpmnr/Makefile" ;;
13535    "bpmorbit/Makefile") CONFIG_FILES="$CONFIG_FILES bpmorbit/Makefile" ;;
13536    "bpmprocess/Makefile") CONFIG_FILES="$CONFIG_FILES bpmprocess/Makefile" ;;
13537    "bpmrf/Makefile") CONFIG_FILES="$CONFIG_FILES bpmrf/Makefile" ;;
13538    "bpmsimulation/Makefile") CONFIG_FILES="$CONFIG_FILES bpmsimulation/Makefile" ;;
13539    "bpmdsp/Makefile") CONFIG_FILES="$CONFIG_FILES bpmdsp/Makefile" ;;
13540    "bpmwf/Makefile") CONFIG_FILES="$CONFIG_FILES bpmwf/Makefile" ;;
13541
13542  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13543echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13544   { (exit 1); exit 1; }; };;
13545  esac
13546done
13547
13548
13549# If the user did not use the arguments to specify the items to instantiate,
13550# then the envvar interface is used.  Set only those that are not.
13551# We use the long form for the default assignment because of an extremely
13552# bizarre bug on SunOS 4.1.3.
13553if $ac_need_defaults; then
13554  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13555fi
13556
13557# Have a temporary directory for convenience.  Make it in the build tree
13558# simply because there is no reason against having it here, and in addition,
13559# creating and moving files from /tmp can sometimes cause problems.
13560# Hook for its removal unless debugging.
13561# Note that there is a small window in which the directory will not be cleaned:
13562# after its creation but before its name has been assigned to `$tmp'.
13563$debug ||
13564{
13565  tmp=
13566  trap 'exit_status=$?
13567  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13568' 0
13569  trap '{ (exit 1); exit 1; }' 1 2 13 15
13570}
13571# Create a (secure) tmp directory for tmp files.
13572
13573{
13574  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13575  test -n "$tmp" && test -d "$tmp"
13576}  ||
13577{
13578  tmp=./conf$$-$RANDOM
13579  (umask 077 && mkdir "$tmp")
13580} ||
13581{
13582   echo "$me: cannot create a temporary directory in ." >&2
13583   { (exit 1); exit 1; }
13584}
13585
13586#
13587# Set up the sed scripts for CONFIG_FILES section.
13588#
13589
13590# No need to generate the scripts if there are no CONFIG_FILES.
13591# This happens for instance when ./config.status config.h
13592if test -n "$CONFIG_FILES"; then
13593
13594_ACEOF
13595
13596
13597
13598ac_delim='%!_!# '
13599for ac_last_try in false false false false false :; do
13600  cat >conf$$subs.sed <<_ACEOF
13601SHELL!$SHELL$ac_delim
13602PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
13603PACKAGE_NAME!$PACKAGE_NAME$ac_delim
13604PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
13605PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
13606PACKAGE_STRING!$PACKAGE_STRING$ac_delim
13607PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
13608exec_prefix!$exec_prefix$ac_delim
13609prefix!$prefix$ac_delim
13610program_transform_name!$program_transform_name$ac_delim
13611bindir!$bindir$ac_delim
13612sbindir!$sbindir$ac_delim
13613libexecdir!$libexecdir$ac_delim
13614datarootdir!$datarootdir$ac_delim
13615datadir!$datadir$ac_delim
13616sysconfdir!$sysconfdir$ac_delim
13617sharedstatedir!$sharedstatedir$ac_delim
13618localstatedir!$localstatedir$ac_delim
13619includedir!$includedir$ac_delim
13620oldincludedir!$oldincludedir$ac_delim
13621docdir!$docdir$ac_delim
13622infodir!$infodir$ac_delim
13623htmldir!$htmldir$ac_delim
13624dvidir!$dvidir$ac_delim
13625pdfdir!$pdfdir$ac_delim
13626psdir!$psdir$ac_delim
13627libdir!$libdir$ac_delim
13628localedir!$localedir$ac_delim
13629mandir!$mandir$ac_delim
13630DEFS!$DEFS$ac_delim
13631ECHO_C!$ECHO_C$ac_delim
13632ECHO_N!$ECHO_N$ac_delim
13633ECHO_T!$ECHO_T$ac_delim
13634LIBS!$LIBS$ac_delim
13635build_alias!$build_alias$ac_delim
13636host_alias!$host_alias$ac_delim
13637target_alias!$target_alias$ac_delim
13638BPM_LIB_VERSION!$BPM_LIB_VERSION$ac_delim
13639INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13640INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13641INSTALL_DATA!$INSTALL_DATA$ac_delim
13642am__isrc!$am__isrc$ac_delim
13643CYGPATH_W!$CYGPATH_W$ac_delim
13644PACKAGE!$PACKAGE$ac_delim
13645VERSION!$VERSION$ac_delim
13646ACLOCAL!$ACLOCAL$ac_delim
13647AUTOCONF!$AUTOCONF$ac_delim
13648AUTOMAKE!$AUTOMAKE$ac_delim
13649AUTOHEADER!$AUTOHEADER$ac_delim
13650MAKEINFO!$MAKEINFO$ac_delim
13651install_sh!$install_sh$ac_delim
13652STRIP!$STRIP$ac_delim
13653INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13654mkdir_p!$mkdir_p$ac_delim
13655AWK!$AWK$ac_delim
13656SET_MAKE!$SET_MAKE$ac_delim
13657am__leading_dot!$am__leading_dot$ac_delim
13658AMTAR!$AMTAR$ac_delim
13659am__tar!$am__tar$ac_delim
13660am__untar!$am__untar$ac_delim
13661build!$build$ac_delim
13662build_cpu!$build_cpu$ac_delim
13663build_vendor!$build_vendor$ac_delim
13664build_os!$build_os$ac_delim
13665host!$host$ac_delim
13666host_cpu!$host_cpu$ac_delim
13667host_vendor!$host_vendor$ac_delim
13668host_os!$host_os$ac_delim
13669CC!$CC$ac_delim
13670CFLAGS!$CFLAGS$ac_delim
13671LDFLAGS!$LDFLAGS$ac_delim
13672CPPFLAGS!$CPPFLAGS$ac_delim
13673ac_ct_CC!$ac_ct_CC$ac_delim
13674EXEEXT!$EXEEXT$ac_delim
13675OBJEXT!$OBJEXT$ac_delim
13676CPP!$CPP$ac_delim
13677LN_S!$LN_S$ac_delim
13678SED!$SED$ac_delim
13679GREP!$GREP$ac_delim
13680EGREP!$EGREP$ac_delim
13681ECHO!$ECHO$ac_delim
13682AR!$AR$ac_delim
13683RANLIB!$RANLIB$ac_delim
13684DLLTOOL!$DLLTOOL$ac_delim
13685AS!$AS$ac_delim
13686OBJDUMP!$OBJDUMP$ac_delim
13687LIBTOOL!$LIBTOOL$ac_delim
13688BPM_CFLAGS!$BPM_CFLAGS$ac_delim
13689BPM_LIBS!$BPM_LIBS$ac_delim
13690DX_PROJECT!$DX_PROJECT$ac_delim
13691DX_CONFIG!$DX_CONFIG$ac_delim
13692DX_DOCDIR!$DX_DOCDIR$ac_delim
13693DX_ENV!$DX_ENV$ac_delim
13694DX_FLAG_doc!$DX_FLAG_doc$ac_delim
13695DX_DOXYGEN!$DX_DOXYGEN$ac_delim
13696DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13697DX_PERL!$DX_PERL$ac_delim
13698_ACEOF
13699
13700  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13701    break
13702  elif $ac_last_try; then
13703    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13704echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13705   { (exit 1); exit 1; }; }
13706  else
13707    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13708  fi
13709done
13710
13711ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13712if test -n "$ac_eof"; then
13713  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13714  ac_eof=`expr $ac_eof + 1`
13715fi
13716
13717cat >>$CONFIG_STATUS <<_ACEOF
13718cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13719/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13720_ACEOF
13721sed '
13722s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13723s/^/s,@/; s/!/@,|#_!!_#|/
13724:n
13725t n
13726s/'"$ac_delim"'$/,g/; t
13727s/$/\\/; p
13728N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13729' >>$CONFIG_STATUS <conf$$subs.sed
13730rm -f conf$$subs.sed
13731cat >>$CONFIG_STATUS <<_ACEOF
13732CEOF$ac_eof
13733_ACEOF
13734
13735
13736ac_delim='%!_!# '
13737for ac_last_try in false false false false false :; do
13738  cat >conf$$subs.sed <<_ACEOF
13739DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13740DX_COND_doc_TRUE!$DX_COND_doc_TRUE$ac_delim
13741DX_COND_doc_FALSE!$DX_COND_doc_FALSE$ac_delim
13742DX_FLAG_dot!$DX_FLAG_dot$ac_delim
13743DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13744DX_DOT!$DX_DOT$ac_delim
13745DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13746DX_COND_dot_TRUE!$DX_COND_dot_TRUE$ac_delim
13747DX_COND_dot_FALSE!$DX_COND_dot_FALSE$ac_delim
13748DX_FLAG_man!$DX_FLAG_man$ac_delim
13749DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13750DX_COND_man_TRUE!$DX_COND_man_TRUE$ac_delim
13751DX_COND_man_FALSE!$DX_COND_man_FALSE$ac_delim
13752DX_FLAG_rtf!$DX_FLAG_rtf$ac_delim
13753DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13754DX_COND_rtf_TRUE!$DX_COND_rtf_TRUE$ac_delim
13755DX_COND_rtf_FALSE!$DX_COND_rtf_FALSE$ac_delim
13756DX_FLAG_xml!$DX_FLAG_xml$ac_delim
13757DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13758DX_COND_xml_TRUE!$DX_COND_xml_TRUE$ac_delim
13759DX_COND_xml_FALSE!$DX_COND_xml_FALSE$ac_delim
13760DX_FLAG_chm!$DX_FLAG_chm$ac_delim
13761DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13762DX_HHC!$DX_HHC$ac_delim
13763DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13764DX_COND_chm_TRUE!$DX_COND_chm_TRUE$ac_delim
13765DX_COND_chm_FALSE!$DX_COND_chm_FALSE$ac_delim
13766DX_FLAG_chi!$DX_FLAG_chi$ac_delim
13767DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13768DX_COND_chi_TRUE!$DX_COND_chi_TRUE$ac_delim
13769DX_COND_chi_FALSE!$DX_COND_chi_FALSE$ac_delim
13770DX_FLAG_html!$DX_FLAG_html$ac_delim
13771DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13772DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13773DX_COND_html_TRUE!$DX_COND_html_TRUE$ac_delim
13774DX_COND_html_FALSE!$DX_COND_html_FALSE$ac_delim
13775DX_FLAG_ps!$DX_FLAG_ps$ac_delim
13776DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13777DX_LATEX!$DX_LATEX$ac_delim
13778DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13779DX_MAKEINDEX!$DX_MAKEINDEX$ac_delim
13780DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13781DX_DVIPS!$DX_DVIPS$ac_delim
13782DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13783DX_EGREP!$DX_EGREP$ac_delim
13784DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13785DX_COND_ps_TRUE!$DX_COND_ps_TRUE$ac_delim
13786DX_COND_ps_FALSE!$DX_COND_ps_FALSE$ac_delim
13787DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13788DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13789DX_PDFLATEX!$DX_PDFLATEX$ac_delim
13790DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13791DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13792DX_FLAG_pdf!$DX_FLAG_pdf$ac_delim
13793DX_COND_pdf_TRUE!$DX_COND_pdf_TRUE$ac_delim
13794DX_COND_pdf_FALSE!$DX_COND_pdf_FALSE$ac_delim
13795DX_COND_latex_TRUE!$DX_COND_latex_TRUE$ac_delim
13796DX_COND_latex_FALSE!$DX_COND_latex_FALSE$ac_delim
13797DOXYGEN_PAPER_SIZE!$DOXYGEN_PAPER_SIZE$ac_delim
13798LIBOBJS!$LIBOBJS$ac_delim
13799LTLIBOBJS!$LTLIBOBJS$ac_delim
13800_ACEOF
13801
13802  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 61; then
13803    break
13804  elif $ac_last_try; then
13805    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13806echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13807   { (exit 1); exit 1; }; }
13808  else
13809    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13810  fi
13811done
13812
13813ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13814if test -n "$ac_eof"; then
13815  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13816  ac_eof=`expr $ac_eof + 1`
13817fi
13818
13819cat >>$CONFIG_STATUS <<_ACEOF
13820cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13821/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13822_ACEOF
13823sed '
13824s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13825s/^/s,@/; s/!/@,|#_!!_#|/
13826:n
13827t n
13828s/'"$ac_delim"'$/,g/; t
13829s/$/\\/; p
13830N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13831' >>$CONFIG_STATUS <conf$$subs.sed
13832rm -f conf$$subs.sed
13833cat >>$CONFIG_STATUS <<_ACEOF
13834:end
13835s/|#_!!_#|//g
13836CEOF$ac_eof
13837_ACEOF
13838
13839
13840# VPATH may cause trouble with some makes, so we remove $(srcdir),
13841# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13842# trailing colons and then remove the whole line if VPATH becomes empty
13843# (actually we leave an empty line to preserve line numbers).
13844if test "x$srcdir" = x.; then
13845  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
13846s/:*\$(srcdir):*/:/
13847s/:*\${srcdir}:*/:/
13848s/:*@srcdir@:*/:/
13849s/^\([^=]*=[	 ]*\):*/\1/
13850s/:*$//
13851s/^[^=]*=[	 ]*$//
13852}'
13853fi
13854
13855cat >>$CONFIG_STATUS <<\_ACEOF
13856fi # test -n "$CONFIG_FILES"
13857
13858
13859for ac_tag in  :F $CONFIG_FILES
13860do
13861  case $ac_tag in
13862  :[FHLC]) ac_mode=$ac_tag; continue;;
13863  esac
13864  case $ac_mode$ac_tag in
13865  :[FHL]*:*);;
13866  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13867echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13868   { (exit 1); exit 1; }; };;
13869  :[FH]-) ac_tag=-:-;;
13870  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13871  esac
13872  ac_save_IFS=$IFS
13873  IFS=:
13874  set x $ac_tag
13875  IFS=$ac_save_IFS
13876  shift
13877  ac_file=$1
13878  shift
13879
13880  case $ac_mode in
13881  :L) ac_source=$1;;
13882  :[FH])
13883    ac_file_inputs=
13884    for ac_f
13885    do
13886      case $ac_f in
13887      -) ac_f="$tmp/stdin";;
13888      *) # Look for the file first in the build tree, then in the source tree
13889	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
13890	 # because $ac_f cannot contain `:'.
13891	 test -f "$ac_f" ||
13892	   case $ac_f in
13893	   [\\/$]*) false;;
13894	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13895	   esac ||
13896	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13897echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13898   { (exit 1); exit 1; }; };;
13899      esac
13900      ac_file_inputs="$ac_file_inputs $ac_f"
13901    done
13902
13903    # Let's still pretend it is `configure' which instantiates (i.e., don't
13904    # use $as_me), people would be surprised to read:
13905    #    /* config.h.  Generated by config.status.  */
13906    configure_input="Generated from "`IFS=:
13907	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13908    if test x"$ac_file" != x-; then
13909      configure_input="$ac_file.  $configure_input"
13910      { echo "$as_me:$LINENO: creating $ac_file" >&5
13911echo "$as_me: creating $ac_file" >&6;}
13912    fi
13913
13914    case $ac_tag in
13915    *:-:* | *:-) cat >"$tmp/stdin";;
13916    esac
13917    ;;
13918  esac
13919
13920  ac_dir=`$as_dirname -- "$ac_file" ||
13921$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13922	 X"$ac_file" : 'X\(//\)[^/]' \| \
13923	 X"$ac_file" : 'X\(//\)$' \| \
13924	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13925echo X"$ac_file" |
13926    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13927	    s//\1/
13928	    q
13929	  }
13930	  /^X\(\/\/\)[^/].*/{
13931	    s//\1/
13932	    q
13933	  }
13934	  /^X\(\/\/\)$/{
13935	    s//\1/
13936	    q
13937	  }
13938	  /^X\(\/\).*/{
13939	    s//\1/
13940	    q
13941	  }
13942	  s/.*/./; q'`
13943  { as_dir="$ac_dir"
13944  case $as_dir in #(
13945  -*) as_dir=./$as_dir;;
13946  esac
13947  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13948    as_dirs=
13949    while :; do
13950      case $as_dir in #(
13951      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13952      *) as_qdir=$as_dir;;
13953      esac
13954      as_dirs="'$as_qdir' $as_dirs"
13955      as_dir=`$as_dirname -- "$as_dir" ||
13956$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13957	 X"$as_dir" : 'X\(//\)[^/]' \| \
13958	 X"$as_dir" : 'X\(//\)$' \| \
13959	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13960echo X"$as_dir" |
13961    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13962	    s//\1/
13963	    q
13964	  }
13965	  /^X\(\/\/\)[^/].*/{
13966	    s//\1/
13967	    q
13968	  }
13969	  /^X\(\/\/\)$/{
13970	    s//\1/
13971	    q
13972	  }
13973	  /^X\(\/\).*/{
13974	    s//\1/
13975	    q
13976	  }
13977	  s/.*/./; q'`
13978      test -d "$as_dir" && break
13979    done
13980    test -z "$as_dirs" || eval "mkdir $as_dirs"
13981  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13982echo "$as_me: error: cannot create directory $as_dir" >&2;}
13983   { (exit 1); exit 1; }; }; }
13984  ac_builddir=.
13985
13986case "$ac_dir" in
13987.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13988*)
13989  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13990  # A ".." for each directory in $ac_dir_suffix.
13991  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13992  case $ac_top_builddir_sub in
13993  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13994  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13995  esac ;;
13996esac
13997ac_abs_top_builddir=$ac_pwd
13998ac_abs_builddir=$ac_pwd$ac_dir_suffix
13999# for backward compatibility:
14000ac_top_builddir=$ac_top_build_prefix
14001
14002case $srcdir in
14003  .)  # We are building in place.
14004    ac_srcdir=.
14005    ac_top_srcdir=$ac_top_builddir_sub
14006    ac_abs_top_srcdir=$ac_pwd ;;
14007  [\\/]* | ?:[\\/]* )  # Absolute name.
14008    ac_srcdir=$srcdir$ac_dir_suffix;
14009    ac_top_srcdir=$srcdir
14010    ac_abs_top_srcdir=$srcdir ;;
14011  *) # Relative name.
14012    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14013    ac_top_srcdir=$ac_top_build_prefix$srcdir
14014    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14015esac
14016ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14017
14018
14019  case $ac_mode in
14020  :F)
14021  #
14022  # CONFIG_FILE
14023  #
14024
14025  case $INSTALL in
14026  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14027  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14028  esac
14029  ac_MKDIR_P=$MKDIR_P
14030  case $MKDIR_P in
14031  [\\/$]* | ?:[\\/]* ) ;;
14032  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14033  esac
14034_ACEOF
14035
14036cat >>$CONFIG_STATUS <<\_ACEOF
14037# If the template does not know about datarootdir, expand it.
14038# FIXME: This hack should be removed a few years after 2.60.
14039ac_datarootdir_hack=; ac_datarootdir_seen=
14040
14041case `sed -n '/datarootdir/ {
14042  p
14043  q
14044}
14045/@datadir@/p
14046/@docdir@/p
14047/@infodir@/p
14048/@localedir@/p
14049/@mandir@/p
14050' $ac_file_inputs` in
14051*datarootdir*) ac_datarootdir_seen=yes;;
14052*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14053  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14054echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14055_ACEOF
14056cat >>$CONFIG_STATUS <<_ACEOF
14057  ac_datarootdir_hack='
14058  s&@datadir@&$datadir&g
14059  s&@docdir@&$docdir&g
14060  s&@infodir@&$infodir&g
14061  s&@localedir@&$localedir&g
14062  s&@mandir@&$mandir&g
14063    s&\\\${datarootdir}&$datarootdir&g' ;;
14064esac
14065_ACEOF
14066
14067# Neutralize VPATH when `$srcdir' = `.'.
14068# Shell code in configure.ac might set extrasub.
14069# FIXME: do we really want to maintain this feature?
14070cat >>$CONFIG_STATUS <<_ACEOF
14071  sed "$ac_vpsub
14072$extrasub
14073_ACEOF
14074cat >>$CONFIG_STATUS <<\_ACEOF
14075:t
14076/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14077s&@configure_input@&$configure_input&;t t
14078s&@top_builddir@&$ac_top_builddir_sub&;t t
14079s&@srcdir@&$ac_srcdir&;t t
14080s&@abs_srcdir@&$ac_abs_srcdir&;t t
14081s&@top_srcdir@&$ac_top_srcdir&;t t
14082s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14083s&@builddir@&$ac_builddir&;t t
14084s&@abs_builddir@&$ac_abs_builddir&;t t
14085s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14086s&@INSTALL@&$ac_INSTALL&;t t
14087s&@MKDIR_P@&$ac_MKDIR_P&;t t
14088$ac_datarootdir_hack
14089" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
14090
14091test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14092  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
14093  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
14094  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14095which seems to be undefined.  Please make sure it is defined." >&5
14096echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14097which seems to be undefined.  Please make sure it is defined." >&2;}
14098
14099  rm -f "$tmp/stdin"
14100  case $ac_file in
14101  -) cat "$tmp/out"; rm -f "$tmp/out";;
14102  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
14103  esac
14104 ;;
14105
14106
14107
14108  esac
14109
14110done # for ac_tag
14111
14112
14113{ (exit 0); exit 0; }
14114_ACEOF
14115chmod +x $CONFIG_STATUS
14116ac_clean_files=$ac_clean_files_save
14117
14118
14119# configure is writing to config.log, and then calls config.status.
14120# config.status does its own redirection, appending to config.log.
14121# Unfortunately, on DOS this fails, as config.log is still kept open
14122# by configure, so config.status won't be able to write to it; its
14123# output is simply discarded.  So we exec the FD to /dev/null,
14124# effectively closing config.log, so it can be properly (re)opened and
14125# appended to by config.status.  When coming back to configure, we
14126# need to make the FD available again.
14127if test "$no_create" != yes; then
14128  ac_cs_success=:
14129  ac_config_status_args=
14130  test "$silent" = yes &&
14131    ac_config_status_args="$ac_config_status_args --quiet"
14132  exec 5>/dev/null
14133  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14134  exec 5>>config.log
14135  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14136  # would make configure fail if this is the last instruction.
14137  $ac_cs_success || { (exit 1); exit 1; }
14138fi
14139
14140