1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for maloc 1.0.
4#
5# Report bugs to <mholst@math.ucsd.edu>.
6#
7#
8# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
10# Foundation, Inc.
11#
12#
13# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
15## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
18
19# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22  emulate sh
23  NULLCMD=:
24  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25  # is contrary to our usage.  Disable this feature.
26  alias -g '${1+"$@"}'='"$@"'
27  setopt NO_GLOB_SUBST
28else
29  case `(set -o) 2>/dev/null` in #(
30  *posix*) :
31    set -o posix ;; #(
32  *) :
33     ;;
34esac
35fi
36
37
38as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49  as_echo='print -r --'
50  as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52  as_echo='printf %s\n'
53  as_echo_n='printf %s'
54else
55  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57    as_echo_n='/usr/ucb/echo -n'
58  else
59    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60    as_echo_n_body='eval
61      arg=$1;
62      case $arg in #(
63      *"$as_nl"*)
64	expr "X$arg" : "X\\(.*\\)$as_nl";
65	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66      esac;
67      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68    '
69    export as_echo_n_body
70    as_echo_n='sh -c $as_echo_n_body as_echo'
71  fi
72  export as_echo_body
73  as_echo='sh -c $as_echo_body as_echo'
74fi
75
76# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
78  PATH_SEPARATOR=:
79  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81      PATH_SEPARATOR=';'
82  }
83fi
84
85
86# IFS
87# We need space, tab and new line, in precisely that order.  Quoting is
88# there to prevent editors from complaining about space-tab.
89# (If _AS_PATH_WALK were called with IFS unset, it would disable word
90# splitting by setting IFS to empty value.)
91IFS=" ""	$as_nl"
92
93# Find who we are.  Look in the path if we contain no directory separator.
94as_myself=
95case $0 in #((
96  *[\\/]* ) as_myself=$0 ;;
97  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98for as_dir in $PATH
99do
100  IFS=$as_save_IFS
101  test -z "$as_dir" && as_dir=.
102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103  done
104IFS=$as_save_IFS
105
106     ;;
107esac
108# We did not find ourselves, most probably we were run as `sh COMMAND'
109# in which case we are not to be found in the path.
110if test "x$as_myself" = x; then
111  as_myself=$0
112fi
113if test ! -f "$as_myself"; then
114  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115  exit 1
116fi
117
118# Unset variables that we do not need and which cause bugs (e.g. in
119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
120# suppresses any "Segmentation fault" message there.  '((' could
121# trigger a bug in pdksh 5.2.14.
122for as_var in BASH_ENV ENV MAIL MAILPATH
123do eval test x\${$as_var+set} = xset \
124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
125done
126PS1='$ '
127PS2='> '
128PS4='+ '
129
130# NLS nuisances.
131LC_ALL=C
132export LC_ALL
133LANGUAGE=C
134export LANGUAGE
135
136# CDPATH.
137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
138
139if test "x$CONFIG_SHELL" = x; then
140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141  emulate sh
142  NULLCMD=:
143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144  # is contrary to our usage.  Disable this feature.
145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
146  setopt NO_GLOB_SUBST
147else
148  case \`(set -o) 2>/dev/null\` in #(
149  *posix*) :
150    set -o posix ;; #(
151  *) :
152     ;;
153esac
154fi
155"
156  as_required="as_fn_return () { (exit \$1); }
157as_fn_success () { as_fn_return 0; }
158as_fn_failure () { as_fn_return 1; }
159as_fn_ret_success () { return 0; }
160as_fn_ret_failure () { return 1; }
161
162exitcode=0
163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168
169else
170  exitcode=1; echo positional parameters were not saved.
171fi
172test x\$exitcode = x0 || exit 1"
173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177
178  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
179    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
180    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
181    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
182    PATH=/empty FPATH=/empty; export PATH FPATH
183    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
184      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
185test \$(( 1 + 1 )) = 2 || exit 1"
186  if (eval "$as_required") 2>/dev/null; then :
187  as_have_required=yes
188else
189  as_have_required=no
190fi
191  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
192
193else
194  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195as_found=false
196for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197do
198  IFS=$as_save_IFS
199  test -z "$as_dir" && as_dir=.
200  as_found=:
201  case $as_dir in #(
202	 /*)
203	   for as_base in sh bash ksh sh5; do
204	     # Try only shells that exist, to save several forks.
205	     as_shell=$as_dir/$as_base
206	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
207		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
208  CONFIG_SHELL=$as_shell as_have_required=yes
209		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
210  break 2
211fi
212fi
213	   done;;
214       esac
215  as_found=false
216done
217$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
218	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
219  CONFIG_SHELL=$SHELL as_have_required=yes
220fi; }
221IFS=$as_save_IFS
222
223
224      if test "x$CONFIG_SHELL" != x; then :
225  # We cannot yet assume a decent shell, so we have to provide a
226	# neutralization value for shells without unset; and this also
227	# works around shells that cannot unset nonexistent variables.
228	# Preserve -v and -x to the replacement shell.
229	BASH_ENV=/dev/null
230	ENV=/dev/null
231	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
232	export CONFIG_SHELL
233	case $- in # ((((
234	  *v*x* | *x*v* ) as_opts=-vx ;;
235	  *v* ) as_opts=-v ;;
236	  *x* ) as_opts=-x ;;
237	  * ) as_opts= ;;
238	esac
239	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
240fi
241
242    if test x$as_have_required = xno; then :
243  $as_echo "$0: This script requires a shell more modern than all"
244  $as_echo "$0: the shells that I found on your system."
245  if test x${ZSH_VERSION+set} = xset ; then
246    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
247    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
248  else
249    $as_echo "$0: Please tell bug-autoconf@gnu.org and
250$0: mholst@math.ucsd.edu about your system, including any
251$0: error possibly output before this message. Then install
252$0: a modern shell, or manually run the script under such a
253$0: shell if you do have one."
254  fi
255  exit 1
256fi
257fi
258fi
259SHELL=${CONFIG_SHELL-/bin/sh}
260export SHELL
261# Unset more variables known to interfere with behavior of common tools.
262CLICOLOR_FORCE= GREP_OPTIONS=
263unset CLICOLOR_FORCE GREP_OPTIONS
264
265## --------------------- ##
266## M4sh Shell Functions. ##
267## --------------------- ##
268# as_fn_unset VAR
269# ---------------
270# Portably unset VAR.
271as_fn_unset ()
272{
273  { eval $1=; unset $1;}
274}
275as_unset=as_fn_unset
276
277# as_fn_set_status STATUS
278# -----------------------
279# Set $? to STATUS, without forking.
280as_fn_set_status ()
281{
282  return $1
283} # as_fn_set_status
284
285# as_fn_exit STATUS
286# -----------------
287# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
288as_fn_exit ()
289{
290  set +e
291  as_fn_set_status $1
292  exit $1
293} # as_fn_exit
294
295# as_fn_mkdir_p
296# -------------
297# Create "$as_dir" as a directory, including parents if necessary.
298as_fn_mkdir_p ()
299{
300
301  case $as_dir in #(
302  -*) as_dir=./$as_dir;;
303  esac
304  test -d "$as_dir" || eval $as_mkdir_p || {
305    as_dirs=
306    while :; do
307      case $as_dir in #(
308      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
309      *) as_qdir=$as_dir;;
310      esac
311      as_dirs="'$as_qdir' $as_dirs"
312      as_dir=`$as_dirname -- "$as_dir" ||
313$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
314	 X"$as_dir" : 'X\(//\)[^/]' \| \
315	 X"$as_dir" : 'X\(//\)$' \| \
316	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
317$as_echo X"$as_dir" |
318    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319	    s//\1/
320	    q
321	  }
322	  /^X\(\/\/\)[^/].*/{
323	    s//\1/
324	    q
325	  }
326	  /^X\(\/\/\)$/{
327	    s//\1/
328	    q
329	  }
330	  /^X\(\/\).*/{
331	    s//\1/
332	    q
333	  }
334	  s/.*/./; q'`
335      test -d "$as_dir" && break
336    done
337    test -z "$as_dirs" || eval "mkdir $as_dirs"
338  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
339
340
341} # as_fn_mkdir_p
342# as_fn_append VAR VALUE
343# ----------------------
344# Append the text in VALUE to the end of the definition contained in VAR. Take
345# advantage of any shell optimizations that allow amortized linear growth over
346# repeated appends, instead of the typical quadratic growth present in naive
347# implementations.
348if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
349  eval 'as_fn_append ()
350  {
351    eval $1+=\$2
352  }'
353else
354  as_fn_append ()
355  {
356    eval $1=\$$1\$2
357  }
358fi # as_fn_append
359
360# as_fn_arith ARG...
361# ------------------
362# Perform arithmetic evaluation on the ARGs, and store the result in the
363# global $as_val. Take advantage of shells that can avoid forks. The arguments
364# must be portable across $(()) and expr.
365if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
366  eval 'as_fn_arith ()
367  {
368    as_val=$(( $* ))
369  }'
370else
371  as_fn_arith ()
372  {
373    as_val=`expr "$@" || test $? -eq 1`
374  }
375fi # as_fn_arith
376
377
378# as_fn_error STATUS ERROR [LINENO LOG_FD]
379# ----------------------------------------
380# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
381# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
382# script with STATUS, using 1 if that was 0.
383as_fn_error ()
384{
385  as_status=$1; test $as_status -eq 0 && as_status=1
386  if test "$4"; then
387    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
388    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
389  fi
390  $as_echo "$as_me: error: $2" >&2
391  as_fn_exit $as_status
392} # as_fn_error
393
394if expr a : '\(a\)' >/dev/null 2>&1 &&
395   test "X`expr 00001 : '.*\(...\)'`" = X001; then
396  as_expr=expr
397else
398  as_expr=false
399fi
400
401if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
402  as_basename=basename
403else
404  as_basename=false
405fi
406
407if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
408  as_dirname=dirname
409else
410  as_dirname=false
411fi
412
413as_me=`$as_basename -- "$0" ||
414$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
415	 X"$0" : 'X\(//\)$' \| \
416	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
417$as_echo X/"$0" |
418    sed '/^.*\/\([^/][^/]*\)\/*$/{
419	    s//\1/
420	    q
421	  }
422	  /^X\/\(\/\/\)$/{
423	    s//\1/
424	    q
425	  }
426	  /^X\/\(\/\).*/{
427	    s//\1/
428	    q
429	  }
430	  s/.*/./; q'`
431
432# Avoid depending upon Character Ranges.
433as_cr_letters='abcdefghijklmnopqrstuvwxyz'
434as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
435as_cr_Letters=$as_cr_letters$as_cr_LETTERS
436as_cr_digits='0123456789'
437as_cr_alnum=$as_cr_Letters$as_cr_digits
438
439
440  as_lineno_1=$LINENO as_lineno_1a=$LINENO
441  as_lineno_2=$LINENO as_lineno_2a=$LINENO
442  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
443  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
444  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
445  sed -n '
446    p
447    /[$]LINENO/=
448  ' <$as_myself |
449    sed '
450      s/[$]LINENO.*/&-/
451      t lineno
452      b
453      :lineno
454      N
455      :loop
456      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
457      t loop
458      s/-\n.*//
459    ' >$as_me.lineno &&
460  chmod +x "$as_me.lineno" ||
461    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
462
463  # Don't try to exec as it changes $[0], causing all sort of problems
464  # (the dirname of $[0] is not the place where we might find the
465  # original and so on.  Autoconf is especially sensitive to this).
466  . "./$as_me.lineno"
467  # Exit status is that of the last command.
468  exit
469}
470
471ECHO_C= ECHO_N= ECHO_T=
472case `echo -n x` in #(((((
473-n*)
474  case `echo 'xy\c'` in
475  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
476  xy)  ECHO_C='\c';;
477  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
478       ECHO_T='	';;
479  esac;;
480*)
481  ECHO_N='-n';;
482esac
483
484rm -f conf$$ conf$$.exe conf$$.file
485if test -d conf$$.dir; then
486  rm -f conf$$.dir/conf$$.file
487else
488  rm -f conf$$.dir
489  mkdir conf$$.dir 2>/dev/null
490fi
491if (echo >conf$$.file) 2>/dev/null; then
492  if ln -s conf$$.file conf$$ 2>/dev/null; then
493    as_ln_s='ln -s'
494    # ... but there are two gotchas:
495    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497    # In both cases, we have to default to `cp -p'.
498    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
499      as_ln_s='cp -p'
500  elif ln conf$$.file conf$$ 2>/dev/null; then
501    as_ln_s=ln
502  else
503    as_ln_s='cp -p'
504  fi
505else
506  as_ln_s='cp -p'
507fi
508rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
509rmdir conf$$.dir 2>/dev/null
510
511if mkdir -p . 2>/dev/null; then
512  as_mkdir_p='mkdir -p "$as_dir"'
513else
514  test -d ./-p && rmdir ./-p
515  as_mkdir_p=false
516fi
517
518if test -x / >/dev/null 2>&1; then
519  as_test_x='test -x'
520else
521  if ls -dL / >/dev/null 2>&1; then
522    as_ls_L_option=L
523  else
524    as_ls_L_option=
525  fi
526  as_test_x='
527    eval sh -c '\''
528      if test -d "$1"; then
529	test -d "$1/.";
530      else
531	case $1 in #(
532	-*)set "./$1";;
533	esac;
534	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
535	???[sx]*):;;*)false;;esac;fi
536    '\'' sh
537  '
538fi
539as_executable_p=$as_test_x
540
541# Sed expression to map a string onto a valid CPP name.
542as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
543
544# Sed expression to map a string onto a valid variable name.
545as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
546
547SHELL=${CONFIG_SHELL-/bin/sh}
548
549
550test -n "$DJDIR" || exec 7<&0 </dev/null
551exec 6>&1
552
553# Name of the host.
554# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
555# so uname gets run too.
556ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
557
558#
559# Initializations.
560#
561ac_default_prefix=/usr/local
562ac_clean_files=
563ac_config_libobj_dir=.
564LIBOBJS=
565cross_compiling=no
566subdirs=
567MFLAGS=
568MAKEFLAGS=
569
570# Identity of this package.
571PACKAGE_NAME='maloc'
572PACKAGE_TARNAME='maloc'
573PACKAGE_VERSION='1.0'
574PACKAGE_STRING='maloc 1.0'
575PACKAGE_BUGREPORT='mholst@math.ucsd.edu'
576PACKAGE_URL=''
577
578ac_unique_file="src/aaa_inc/maloc/maloc.h"
579ac_default_prefix=${HOME}
580# Factoring default headers for most tests.
581ac_includes_default="\
582#include <stdio.h>
583#ifdef HAVE_SYS_TYPES_H
584# include <sys/types.h>
585#endif
586#ifdef HAVE_SYS_STAT_H
587# include <sys/stat.h>
588#endif
589#ifdef STDC_HEADERS
590# include <stdlib.h>
591# include <stddef.h>
592#else
593# ifdef HAVE_STDLIB_H
594#  include <stdlib.h>
595# endif
596#endif
597#ifdef HAVE_STRING_H
598# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
599#  include <memory.h>
600# endif
601# include <string.h>
602#endif
603#ifdef HAVE_STRINGS_H
604# include <strings.h>
605#endif
606#ifdef HAVE_INTTYPES_H
607# include <inttypes.h>
608#endif
609#ifdef HAVE_STDINT_H
610# include <stdint.h>
611#endif
612#ifdef HAVE_UNISTD_H
613# include <unistd.h>
614#endif"
615
616ac_subst_vars='am__EXEEXT_FALSE
617am__EXEEXT_TRUE
618LTLIBOBJS
619LIBOBJS
620MAKE_DOC
621MAKE_DOC_FALSE
622MAKE_DOC_TRUE
623dot_path
624doxygen_path
625BUILD_EFENCE_FALSE
626BUILD_EFENCE_TRUE
627efence
628profile_lib
629profile
630pedantic_ansi
631wall_pedantic_ansi
632wall_pedantic
633wall
634mpi_inc
635mpi_lib
636rl_inc
637rl_lib
638fetk_cpu_vendor_os
639thread_lib
640socket_lib
641nsl_lib
642liberty_lib
643math_lib
644OTOOL64
645OTOOL
646LIPO
647NMEDIT
648DSYMUTIL
649MANIFEST_TOOL
650RANLIB
651ac_ct_AR
652AR
653DLLTOOL
654OBJDUMP
655LN_S
656NM
657ac_ct_DUMPBIN
658DUMPBIN
659LD
660FGREP
661EGREP
662GREP
663SED
664LIBTOOL
665CPP
666am__fastdepCC_FALSE
667am__fastdepCC_TRUE
668CCDEPMODE
669AMDEPBACKSLASH
670AMDEP_FALSE
671AMDEP_TRUE
672am__quote
673am__include
674DEPDIR
675OBJEXT
676EXEEXT
677ac_ct_CC
678CPPFLAGS
679LDFLAGS
680CFLAGS
681CC
682MAINT
683MAINTAINER_MODE_FALSE
684MAINTAINER_MODE_TRUE
685FETK_VERSION
686am__untar
687am__tar
688AMTAR
689am__leading_dot
690SET_MAKE
691AWK
692mkdir_p
693MKDIR_P
694INSTALL_STRIP_PROGRAM
695STRIP
696install_sh
697MAKEINFO
698AUTOHEADER
699AUTOMAKE
700AUTOCONF
701ACLOCAL
702VERSION
703PACKAGE
704CYGPATH_W
705am__isrc
706INSTALL_DATA
707INSTALL_SCRIPT
708INSTALL_PROGRAM
709target_os
710target_vendor
711target_cpu
712target
713host_os
714host_vendor
715host_cpu
716host
717build_os
718build_vendor
719build_cpu
720build
721target_alias
722host_alias
723build_alias
724LIBS
725ECHO_T
726ECHO_N
727ECHO_C
728DEFS
729mandir
730localedir
731libdir
732psdir
733pdfdir
734dvidir
735htmldir
736infodir
737docdir
738oldincludedir
739includedir
740localstatedir
741sharedstatedir
742sysconfdir
743datadir
744datarootdir
745libexecdir
746sbindir
747bindir
748program_transform_name
749prefix
750exec_prefix
751PACKAGE_URL
752PACKAGE_BUGREPORT
753PACKAGE_STRING
754PACKAGE_VERSION
755PACKAGE_TARNAME
756PACKAGE_NAME
757PATH_SEPARATOR
758SHELL'
759ac_subst_files=''
760ac_user_opts='
761enable_option_checking
762enable_maintainer_mode
763enable_dependency_tracking
764enable_static
765enable_shared
766with_pic
767enable_fast_install
768with_gnu_ld
769with_sysroot
770enable_libtool_lock
771enable_triplet
772enable_mpi
773enable_vdebug
774enable_pansi
775enable_gprof
776enable_efence
777with_doxygen
778with_dot
779'
780      ac_precious_vars='build_alias
781host_alias
782target_alias
783CC
784CFLAGS
785LDFLAGS
786LIBS
787CPPFLAGS
788CPP
789CPPFLAGS'
790
791
792# Initialize some variables set by options.
793ac_init_help=
794ac_init_version=false
795ac_unrecognized_opts=
796ac_unrecognized_sep=
797# The variables have the same names as the options, with
798# dashes changed to underlines.
799cache_file=/dev/null
800exec_prefix=NONE
801no_create=
802no_recursion=
803prefix=NONE
804program_prefix=NONE
805program_suffix=NONE
806program_transform_name=s,x,x,
807silent=
808site=
809srcdir=
810verbose=
811x_includes=NONE
812x_libraries=NONE
813
814# Installation directory options.
815# These are left unexpanded so users can "make install exec_prefix=/foo"
816# and all the variables that are supposed to be based on exec_prefix
817# by default will actually change.
818# Use braces instead of parens because sh, perl, etc. also accept them.
819# (The list follows the same order as the GNU Coding Standards.)
820bindir='${exec_prefix}/bin'
821sbindir='${exec_prefix}/sbin'
822libexecdir='${exec_prefix}/libexec'
823datarootdir='${prefix}/share'
824datadir='${datarootdir}'
825sysconfdir='${prefix}/etc'
826sharedstatedir='${prefix}/com'
827localstatedir='${prefix}/var'
828includedir='${prefix}/include'
829oldincludedir='/usr/include'
830docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831infodir='${datarootdir}/info'
832htmldir='${docdir}'
833dvidir='${docdir}'
834pdfdir='${docdir}'
835psdir='${docdir}'
836libdir='${exec_prefix}/lib'
837localedir='${datarootdir}/locale'
838mandir='${datarootdir}/man'
839
840ac_prev=
841ac_dashdash=
842for ac_option
843do
844  # If the previous option needs an argument, assign it.
845  if test -n "$ac_prev"; then
846    eval $ac_prev=\$ac_option
847    ac_prev=
848    continue
849  fi
850
851  case $ac_option in
852  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853  *=)   ac_optarg= ;;
854  *)    ac_optarg=yes ;;
855  esac
856
857  # Accept the important Cygnus configure options, so we can diagnose typos.
858
859  case $ac_dashdash$ac_option in
860  --)
861    ac_dashdash=yes ;;
862
863  -bindir | --bindir | --bindi | --bind | --bin | --bi)
864    ac_prev=bindir ;;
865  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866    bindir=$ac_optarg ;;
867
868  -build | --build | --buil | --bui | --bu)
869    ac_prev=build_alias ;;
870  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871    build_alias=$ac_optarg ;;
872
873  -cache-file | --cache-file | --cache-fil | --cache-fi \
874  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875    ac_prev=cache_file ;;
876  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878    cache_file=$ac_optarg ;;
879
880  --config-cache | -C)
881    cache_file=config.cache ;;
882
883  -datadir | --datadir | --datadi | --datad)
884    ac_prev=datadir ;;
885  -datadir=* | --datadir=* | --datadi=* | --datad=*)
886    datadir=$ac_optarg ;;
887
888  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889  | --dataroo | --dataro | --datar)
890    ac_prev=datarootdir ;;
891  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893    datarootdir=$ac_optarg ;;
894
895  -disable-* | --disable-*)
896    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897    # Reject names that are not valid shell variable names.
898    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899      as_fn_error $? "invalid feature name: $ac_useropt"
900    ac_useropt_orig=$ac_useropt
901    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902    case $ac_user_opts in
903      *"
904"enable_$ac_useropt"
905"*) ;;
906      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
907	 ac_unrecognized_sep=', ';;
908    esac
909    eval enable_$ac_useropt=no ;;
910
911  -docdir | --docdir | --docdi | --doc | --do)
912    ac_prev=docdir ;;
913  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914    docdir=$ac_optarg ;;
915
916  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917    ac_prev=dvidir ;;
918  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919    dvidir=$ac_optarg ;;
920
921  -enable-* | --enable-*)
922    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
923    # Reject names that are not valid shell variable names.
924    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
925      as_fn_error $? "invalid feature name: $ac_useropt"
926    ac_useropt_orig=$ac_useropt
927    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
928    case $ac_user_opts in
929      *"
930"enable_$ac_useropt"
931"*) ;;
932      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
933	 ac_unrecognized_sep=', ';;
934    esac
935    eval enable_$ac_useropt=\$ac_optarg ;;
936
937  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
938  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
939  | --exec | --exe | --ex)
940    ac_prev=exec_prefix ;;
941  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
942  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
943  | --exec=* | --exe=* | --ex=*)
944    exec_prefix=$ac_optarg ;;
945
946  -gas | --gas | --ga | --g)
947    # Obsolete; use --with-gas.
948    with_gas=yes ;;
949
950  -help | --help | --hel | --he | -h)
951    ac_init_help=long ;;
952  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
953    ac_init_help=recursive ;;
954  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
955    ac_init_help=short ;;
956
957  -host | --host | --hos | --ho)
958    ac_prev=host_alias ;;
959  -host=* | --host=* | --hos=* | --ho=*)
960    host_alias=$ac_optarg ;;
961
962  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963    ac_prev=htmldir ;;
964  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965  | --ht=*)
966    htmldir=$ac_optarg ;;
967
968  -includedir | --includedir | --includedi | --included | --include \
969  | --includ | --inclu | --incl | --inc)
970    ac_prev=includedir ;;
971  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
972  | --includ=* | --inclu=* | --incl=* | --inc=*)
973    includedir=$ac_optarg ;;
974
975  -infodir | --infodir | --infodi | --infod | --info | --inf)
976    ac_prev=infodir ;;
977  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
978    infodir=$ac_optarg ;;
979
980  -libdir | --libdir | --libdi | --libd)
981    ac_prev=libdir ;;
982  -libdir=* | --libdir=* | --libdi=* | --libd=*)
983    libdir=$ac_optarg ;;
984
985  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
986  | --libexe | --libex | --libe)
987    ac_prev=libexecdir ;;
988  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
989  | --libexe=* | --libex=* | --libe=*)
990    libexecdir=$ac_optarg ;;
991
992  -localedir | --localedir | --localedi | --localed | --locale)
993    ac_prev=localedir ;;
994  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
995    localedir=$ac_optarg ;;
996
997  -localstatedir | --localstatedir | --localstatedi | --localstated \
998  | --localstate | --localstat | --localsta | --localst | --locals)
999    ac_prev=localstatedir ;;
1000  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1001  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1002    localstatedir=$ac_optarg ;;
1003
1004  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005    ac_prev=mandir ;;
1006  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1007    mandir=$ac_optarg ;;
1008
1009  -nfp | --nfp | --nf)
1010    # Obsolete; use --without-fp.
1011    with_fp=no ;;
1012
1013  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1014  | --no-cr | --no-c | -n)
1015    no_create=yes ;;
1016
1017  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1018  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019    no_recursion=yes ;;
1020
1021  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1022  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1023  | --oldin | --oldi | --old | --ol | --o)
1024    ac_prev=oldincludedir ;;
1025  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1026  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1027  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1028    oldincludedir=$ac_optarg ;;
1029
1030  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031    ac_prev=prefix ;;
1032  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1033    prefix=$ac_optarg ;;
1034
1035  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1036  | --program-pre | --program-pr | --program-p)
1037    ac_prev=program_prefix ;;
1038  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1039  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1040    program_prefix=$ac_optarg ;;
1041
1042  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1043  | --program-suf | --program-su | --program-s)
1044    ac_prev=program_suffix ;;
1045  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1046  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1047    program_suffix=$ac_optarg ;;
1048
1049  -program-transform-name | --program-transform-name \
1050  | --program-transform-nam | --program-transform-na \
1051  | --program-transform-n | --program-transform- \
1052  | --program-transform | --program-transfor \
1053  | --program-transfo | --program-transf \
1054  | --program-trans | --program-tran \
1055  | --progr-tra | --program-tr | --program-t)
1056    ac_prev=program_transform_name ;;
1057  -program-transform-name=* | --program-transform-name=* \
1058  | --program-transform-nam=* | --program-transform-na=* \
1059  | --program-transform-n=* | --program-transform-=* \
1060  | --program-transform=* | --program-transfor=* \
1061  | --program-transfo=* | --program-transf=* \
1062  | --program-trans=* | --program-tran=* \
1063  | --progr-tra=* | --program-tr=* | --program-t=*)
1064    program_transform_name=$ac_optarg ;;
1065
1066  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067    ac_prev=pdfdir ;;
1068  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1069    pdfdir=$ac_optarg ;;
1070
1071  -psdir | --psdir | --psdi | --psd | --ps)
1072    ac_prev=psdir ;;
1073  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074    psdir=$ac_optarg ;;
1075
1076  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1077  | -silent | --silent | --silen | --sile | --sil)
1078    silent=yes ;;
1079
1080  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081    ac_prev=sbindir ;;
1082  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083  | --sbi=* | --sb=*)
1084    sbindir=$ac_optarg ;;
1085
1086  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1087  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1088  | --sharedst | --shareds | --shared | --share | --shar \
1089  | --sha | --sh)
1090    ac_prev=sharedstatedir ;;
1091  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1092  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1093  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094  | --sha=* | --sh=*)
1095    sharedstatedir=$ac_optarg ;;
1096
1097  -site | --site | --sit)
1098    ac_prev=site ;;
1099  -site=* | --site=* | --sit=*)
1100    site=$ac_optarg ;;
1101
1102  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103    ac_prev=srcdir ;;
1104  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1105    srcdir=$ac_optarg ;;
1106
1107  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1108  | --syscon | --sysco | --sysc | --sys | --sy)
1109    ac_prev=sysconfdir ;;
1110  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1111  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1112    sysconfdir=$ac_optarg ;;
1113
1114  -target | --target | --targe | --targ | --tar | --ta | --t)
1115    ac_prev=target_alias ;;
1116  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1117    target_alias=$ac_optarg ;;
1118
1119  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120    verbose=yes ;;
1121
1122  -version | --version | --versio | --versi | --vers | -V)
1123    ac_init_version=: ;;
1124
1125  -with-* | --with-*)
1126    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1127    # Reject names that are not valid shell variable names.
1128    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1129      as_fn_error $? "invalid package name: $ac_useropt"
1130    ac_useropt_orig=$ac_useropt
1131    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132    case $ac_user_opts in
1133      *"
1134"with_$ac_useropt"
1135"*) ;;
1136      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1137	 ac_unrecognized_sep=', ';;
1138    esac
1139    eval with_$ac_useropt=\$ac_optarg ;;
1140
1141  -without-* | --without-*)
1142    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1143    # Reject names that are not valid shell variable names.
1144    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1145      as_fn_error $? "invalid package name: $ac_useropt"
1146    ac_useropt_orig=$ac_useropt
1147    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1148    case $ac_user_opts in
1149      *"
1150"with_$ac_useropt"
1151"*) ;;
1152      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1153	 ac_unrecognized_sep=', ';;
1154    esac
1155    eval with_$ac_useropt=no ;;
1156
1157  --x)
1158    # Obsolete; use --with-x.
1159    with_x=yes ;;
1160
1161  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1162  | --x-incl | --x-inc | --x-in | --x-i)
1163    ac_prev=x_includes ;;
1164  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1165  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1166    x_includes=$ac_optarg ;;
1167
1168  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1169  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1170    ac_prev=x_libraries ;;
1171  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1172  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1173    x_libraries=$ac_optarg ;;
1174
1175  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1176Try \`$0 --help' for more information"
1177    ;;
1178
1179  *=*)
1180    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1181    # Reject names that are not valid shell variable names.
1182    case $ac_envvar in #(
1183      '' | [0-9]* | *[!_$as_cr_alnum]* )
1184      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185    esac
1186    eval $ac_envvar=\$ac_optarg
1187    export $ac_envvar ;;
1188
1189  *)
1190    # FIXME: should be removed in autoconf 3.0.
1191    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1192    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1193      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1194    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1195    ;;
1196
1197  esac
1198done
1199
1200if test -n "$ac_prev"; then
1201  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1202  as_fn_error $? "missing argument to $ac_option"
1203fi
1204
1205if test -n "$ac_unrecognized_opts"; then
1206  case $enable_option_checking in
1207    no) ;;
1208    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1209    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1210  esac
1211fi
1212
1213# Check all directory arguments for consistency.
1214for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1215		datadir sysconfdir sharedstatedir localstatedir includedir \
1216		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1217		libdir localedir mandir
1218do
1219  eval ac_val=\$$ac_var
1220  # Remove trailing slashes.
1221  case $ac_val in
1222    */ )
1223      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1224      eval $ac_var=\$ac_val;;
1225  esac
1226  # Be sure to have absolute directory names.
1227  case $ac_val in
1228    [\\/$]* | ?:[\\/]* )  continue;;
1229    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230  esac
1231  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232done
1233
1234# There might be people who depend on the old broken behavior: `$host'
1235# used to hold the argument of --host etc.
1236# FIXME: To remove some day.
1237build=$build_alias
1238host=$host_alias
1239target=$target_alias
1240
1241# FIXME: To remove some day.
1242if test "x$host_alias" != x; then
1243  if test "x$build_alias" = x; then
1244    cross_compiling=maybe
1245    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1246    If a cross compiler is detected then cross compile mode will be used" >&2
1247  elif test "x$build_alias" != "x$host_alias"; then
1248    cross_compiling=yes
1249  fi
1250fi
1251
1252ac_tool_prefix=
1253test -n "$host_alias" && ac_tool_prefix=$host_alias-
1254
1255test "$silent" = yes && exec 6>/dev/null
1256
1257
1258ac_pwd=`pwd` && test -n "$ac_pwd" &&
1259ac_ls_di=`ls -di .` &&
1260ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1261  as_fn_error $? "working directory cannot be determined"
1262test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1263  as_fn_error $? "pwd does not report name of working directory"
1264
1265
1266# Find the source files, if location was not specified.
1267if test -z "$srcdir"; then
1268  ac_srcdir_defaulted=yes
1269  # Try the directory containing this script, then the parent directory.
1270  ac_confdir=`$as_dirname -- "$as_myself" ||
1271$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1272	 X"$as_myself" : 'X\(//\)[^/]' \| \
1273	 X"$as_myself" : 'X\(//\)$' \| \
1274	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1275$as_echo X"$as_myself" |
1276    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1277	    s//\1/
1278	    q
1279	  }
1280	  /^X\(\/\/\)[^/].*/{
1281	    s//\1/
1282	    q
1283	  }
1284	  /^X\(\/\/\)$/{
1285	    s//\1/
1286	    q
1287	  }
1288	  /^X\(\/\).*/{
1289	    s//\1/
1290	    q
1291	  }
1292	  s/.*/./; q'`
1293  srcdir=$ac_confdir
1294  if test ! -r "$srcdir/$ac_unique_file"; then
1295    srcdir=..
1296  fi
1297else
1298  ac_srcdir_defaulted=no
1299fi
1300if test ! -r "$srcdir/$ac_unique_file"; then
1301  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1302  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1303fi
1304ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1305ac_abs_confdir=`(
1306	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1307	pwd)`
1308# When building in place, set srcdir=.
1309if test "$ac_abs_confdir" = "$ac_pwd"; then
1310  srcdir=.
1311fi
1312# Remove unnecessary trailing slashes from srcdir.
1313# Double slashes in file names in object file debugging info
1314# mess up M-x gdb in Emacs.
1315case $srcdir in
1316*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1317esac
1318for ac_var in $ac_precious_vars; do
1319  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1320  eval ac_env_${ac_var}_value=\$${ac_var}
1321  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1322  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323done
1324
1325#
1326# Report the --help message.
1327#
1328if test "$ac_init_help" = "long"; then
1329  # Omit some internal or obsolete options to make the list less imposing.
1330  # This message is too long to be a string in the A/UX 3.1 sh.
1331  cat <<_ACEOF
1332\`configure' configures maloc 1.0 to adapt to many kinds of systems.
1333
1334Usage: $0 [OPTION]... [VAR=VALUE]...
1335
1336To assign environment variables (e.g., CC, CFLAGS...), specify them as
1337VAR=VALUE.  See below for descriptions of some of the useful variables.
1338
1339Defaults for the options are specified in brackets.
1340
1341Configuration:
1342  -h, --help              display this help and exit
1343      --help=short        display options specific to this package
1344      --help=recursive    display the short help of all the included packages
1345  -V, --version           display version information and exit
1346  -q, --quiet, --silent   do not print \`checking ...' messages
1347      --cache-file=FILE   cache test results in FILE [disabled]
1348  -C, --config-cache      alias for \`--cache-file=config.cache'
1349  -n, --no-create         do not create output files
1350      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1351
1352Installation directories:
1353  --prefix=PREFIX         install architecture-independent files in PREFIX
1354                          [$ac_default_prefix]
1355  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1356                          [PREFIX]
1357
1358By default, \`make install' will install all the files in
1359\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1360an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1361for instance \`--prefix=\$HOME'.
1362
1363For better control, use the options below.
1364
1365Fine tuning of the installation directories:
1366  --bindir=DIR            user executables [EPREFIX/bin]
1367  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1368  --libexecdir=DIR        program executables [EPREFIX/libexec]
1369  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1370  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1371  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1372  --libdir=DIR            object code libraries [EPREFIX/lib]
1373  --includedir=DIR        C header files [PREFIX/include]
1374  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1375  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1376  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1377  --infodir=DIR           info documentation [DATAROOTDIR/info]
1378  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1379  --mandir=DIR            man documentation [DATAROOTDIR/man]
1380  --docdir=DIR            documentation root [DATAROOTDIR/doc/maloc]
1381  --htmldir=DIR           html documentation [DOCDIR]
1382  --dvidir=DIR            dvi documentation [DOCDIR]
1383  --pdfdir=DIR            pdf documentation [DOCDIR]
1384  --psdir=DIR             ps documentation [DOCDIR]
1385_ACEOF
1386
1387  cat <<\_ACEOF
1388
1389Program names:
1390  --program-prefix=PREFIX            prepend PREFIX to installed program names
1391  --program-suffix=SUFFIX            append SUFFIX to installed program names
1392  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1393
1394System types:
1395  --build=BUILD     configure for building on BUILD [guessed]
1396  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1397  --target=TARGET   configure for building compilers for TARGET [HOST]
1398_ACEOF
1399fi
1400
1401if test -n "$ac_init_help"; then
1402  case $ac_init_help in
1403     short | recursive ) echo "Configuration of maloc 1.0:";;
1404   esac
1405  cat <<\_ACEOF
1406
1407Optional Features:
1408  --disable-option-checking  ignore unrecognized --enable/--with options
1409  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1410  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1411  --enable-maintainer-mode  enable make rules and dependencies not useful
1412			  (and sometimes confusing) to the casual installer
1413  --disable-dependency-tracking  speeds up one-time build
1414  --enable-dependency-tracking   do not reject slow dependency extractors
1415  --enable-static[=PKGS]  build static libraries [default=no]
1416  --enable-shared[=PKGS]  build shared libraries [default=yes]
1417  --enable-fast-install[=PKGS]
1418                          optimize for fast installation [default=yes]
1419  --disable-libtool-lock  avoid locking (might break parallel builds)
1420  --disable-triplet       disable CPU-VENDOR-OS install triplet [default=no]
1421  --enable-mpi            enable MPI layer [default=no]
1422  --enable-vdebug         enable debug compilation [default=no]
1423  --enable-pansi          enable pedantic ANSI compilation [default=no]
1424  --enable-gprof          enable gprof profiling [default=no]
1425  --enable-efence         build ElectricFence ourself [default=no]
1426
1427Optional Packages:
1428  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1429  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1430  --with-pic              try to use only PIC/non-PIC objects [default=use
1431                          both]
1432  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1433  --with-sysroot=DIR Search for dependent libraries within DIR
1434                        (or the compiler's sysroot if not specified).
1435  --with-doxygen          Doxygen path
1436  --with-dot              Dot path
1437
1438Some influential environment variables:
1439  CC          C compiler command
1440  CFLAGS      C compiler flags
1441  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1442              nonstandard directory <lib dir>
1443  LIBS        libraries to pass to the linker, e.g. -l<library>
1444  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1445              you have headers in a nonstandard directory <include dir>
1446  CPP         C preprocessor
1447
1448Use these variables to override the choices made by `configure' or to help
1449it to find libraries and programs with nonstandard names/locations.
1450
1451Report bugs to <mholst@math.ucsd.edu>.
1452_ACEOF
1453ac_status=$?
1454fi
1455
1456if test "$ac_init_help" = "recursive"; then
1457  # If there are subdirs, report their specific --help.
1458  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1459    test -d "$ac_dir" ||
1460      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1461      continue
1462    ac_builddir=.
1463
1464case "$ac_dir" in
1465.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1466*)
1467  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1468  # A ".." for each directory in $ac_dir_suffix.
1469  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1470  case $ac_top_builddir_sub in
1471  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1473  esac ;;
1474esac
1475ac_abs_top_builddir=$ac_pwd
1476ac_abs_builddir=$ac_pwd$ac_dir_suffix
1477# for backward compatibility:
1478ac_top_builddir=$ac_top_build_prefix
1479
1480case $srcdir in
1481  .)  # We are building in place.
1482    ac_srcdir=.
1483    ac_top_srcdir=$ac_top_builddir_sub
1484    ac_abs_top_srcdir=$ac_pwd ;;
1485  [\\/]* | ?:[\\/]* )  # Absolute name.
1486    ac_srcdir=$srcdir$ac_dir_suffix;
1487    ac_top_srcdir=$srcdir
1488    ac_abs_top_srcdir=$srcdir ;;
1489  *) # Relative name.
1490    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1491    ac_top_srcdir=$ac_top_build_prefix$srcdir
1492    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1493esac
1494ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1495
1496    cd "$ac_dir" || { ac_status=$?; continue; }
1497    # Check for guested configure.
1498    if test -f "$ac_srcdir/configure.gnu"; then
1499      echo &&
1500      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1501    elif test -f "$ac_srcdir/configure"; then
1502      echo &&
1503      $SHELL "$ac_srcdir/configure" --help=recursive
1504    else
1505      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1506    fi || ac_status=$?
1507    cd "$ac_pwd" || { ac_status=$?; break; }
1508  done
1509fi
1510
1511test -n "$ac_init_help" && exit $ac_status
1512if $ac_init_version; then
1513  cat <<\_ACEOF
1514maloc configure 1.0
1515generated by GNU Autoconf 2.68
1516
1517Copyright (C) 2010 Free Software Foundation, Inc.
1518This configure script is free software; the Free Software Foundation
1519gives unlimited permission to copy, distribute and modify it.
1520_ACEOF
1521  exit
1522fi
1523
1524## ------------------------ ##
1525## Autoconf initialization. ##
1526## ------------------------ ##
1527
1528# ac_fn_c_try_compile LINENO
1529# --------------------------
1530# Try to compile conftest.$ac_ext, and return whether this succeeded.
1531ac_fn_c_try_compile ()
1532{
1533  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534  rm -f conftest.$ac_objext
1535  if { { ac_try="$ac_compile"
1536case "(($ac_try" in
1537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1538  *) ac_try_echo=$ac_try;;
1539esac
1540eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1541$as_echo "$ac_try_echo"; } >&5
1542  (eval "$ac_compile") 2>conftest.err
1543  ac_status=$?
1544  if test -s conftest.err; then
1545    grep -v '^ *+' conftest.err >conftest.er1
1546    cat conftest.er1 >&5
1547    mv -f conftest.er1 conftest.err
1548  fi
1549  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550  test $ac_status = 0; } && {
1551	 test -z "$ac_c_werror_flag" ||
1552	 test ! -s conftest.err
1553       } && test -s conftest.$ac_objext; then :
1554  ac_retval=0
1555else
1556  $as_echo "$as_me: failed program was:" >&5
1557sed 's/^/| /' conftest.$ac_ext >&5
1558
1559	ac_retval=1
1560fi
1561  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1562  as_fn_set_status $ac_retval
1563
1564} # ac_fn_c_try_compile
1565
1566# ac_fn_c_try_cpp LINENO
1567# ----------------------
1568# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1569ac_fn_c_try_cpp ()
1570{
1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572  if { { ac_try="$ac_cpp conftest.$ac_ext"
1573case "(($ac_try" in
1574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575  *) ac_try_echo=$ac_try;;
1576esac
1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578$as_echo "$ac_try_echo"; } >&5
1579  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1580  ac_status=$?
1581  if test -s conftest.err; then
1582    grep -v '^ *+' conftest.err >conftest.er1
1583    cat conftest.er1 >&5
1584    mv -f conftest.er1 conftest.err
1585  fi
1586  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1587  test $ac_status = 0; } > conftest.i && {
1588	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1589	 test ! -s conftest.err
1590       }; then :
1591  ac_retval=0
1592else
1593  $as_echo "$as_me: failed program was:" >&5
1594sed 's/^/| /' conftest.$ac_ext >&5
1595
1596    ac_retval=1
1597fi
1598  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1599  as_fn_set_status $ac_retval
1600
1601} # ac_fn_c_try_cpp
1602
1603# ac_fn_c_try_link LINENO
1604# -----------------------
1605# Try to link conftest.$ac_ext, and return whether this succeeded.
1606ac_fn_c_try_link ()
1607{
1608  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609  rm -f conftest.$ac_objext conftest$ac_exeext
1610  if { { ac_try="$ac_link"
1611case "(($ac_try" in
1612  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613  *) ac_try_echo=$ac_try;;
1614esac
1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616$as_echo "$ac_try_echo"; } >&5
1617  (eval "$ac_link") 2>conftest.err
1618  ac_status=$?
1619  if test -s conftest.err; then
1620    grep -v '^ *+' conftest.err >conftest.er1
1621    cat conftest.er1 >&5
1622    mv -f conftest.er1 conftest.err
1623  fi
1624  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625  test $ac_status = 0; } && {
1626	 test -z "$ac_c_werror_flag" ||
1627	 test ! -s conftest.err
1628       } && test -s conftest$ac_exeext && {
1629	 test "$cross_compiling" = yes ||
1630	 $as_test_x conftest$ac_exeext
1631       }; then :
1632  ac_retval=0
1633else
1634  $as_echo "$as_me: failed program was:" >&5
1635sed 's/^/| /' conftest.$ac_ext >&5
1636
1637	ac_retval=1
1638fi
1639  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1640  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1641  # interfere with the next link command; also delete a directory that is
1642  # left behind by Apple's compiler.  We do this before executing the actions.
1643  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1644  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645  as_fn_set_status $ac_retval
1646
1647} # ac_fn_c_try_link
1648
1649# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1650# -------------------------------------------------------
1651# Tests whether HEADER exists and can be compiled using the include files in
1652# INCLUDES, setting the cache variable VAR accordingly.
1653ac_fn_c_check_header_compile ()
1654{
1655  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1656  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1657$as_echo_n "checking for $2... " >&6; }
1658if eval \${$3+:} false; then :
1659  $as_echo_n "(cached) " >&6
1660else
1661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662/* end confdefs.h.  */
1663$4
1664#include <$2>
1665_ACEOF
1666if ac_fn_c_try_compile "$LINENO"; then :
1667  eval "$3=yes"
1668else
1669  eval "$3=no"
1670fi
1671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1672fi
1673eval ac_res=\$$3
1674	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1675$as_echo "$ac_res" >&6; }
1676  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677
1678} # ac_fn_c_check_header_compile
1679
1680# ac_fn_c_try_run LINENO
1681# ----------------------
1682# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1683# that executables *can* be run.
1684ac_fn_c_try_run ()
1685{
1686  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687  if { { ac_try="$ac_link"
1688case "(($ac_try" in
1689  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1690  *) ac_try_echo=$ac_try;;
1691esac
1692eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693$as_echo "$ac_try_echo"; } >&5
1694  (eval "$ac_link") 2>&5
1695  ac_status=$?
1696  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1698  { { case "(($ac_try" in
1699  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1700  *) ac_try_echo=$ac_try;;
1701esac
1702eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1703$as_echo "$ac_try_echo"; } >&5
1704  (eval "$ac_try") 2>&5
1705  ac_status=$?
1706  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707  test $ac_status = 0; }; }; then :
1708  ac_retval=0
1709else
1710  $as_echo "$as_me: program exited with status $ac_status" >&5
1711       $as_echo "$as_me: failed program was:" >&5
1712sed 's/^/| /' conftest.$ac_ext >&5
1713
1714       ac_retval=$ac_status
1715fi
1716  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718  as_fn_set_status $ac_retval
1719
1720} # ac_fn_c_try_run
1721
1722# ac_fn_c_check_func LINENO FUNC VAR
1723# ----------------------------------
1724# Tests whether FUNC exists, setting the cache variable VAR accordingly
1725ac_fn_c_check_func ()
1726{
1727  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729$as_echo_n "checking for $2... " >&6; }
1730if eval \${$3+:} false; then :
1731  $as_echo_n "(cached) " >&6
1732else
1733  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734/* end confdefs.h.  */
1735/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1736   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1737#define $2 innocuous_$2
1738
1739/* System header to define __stub macros and hopefully few prototypes,
1740    which can conflict with char $2 (); below.
1741    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1742    <limits.h> exists even on freestanding compilers.  */
1743
1744#ifdef __STDC__
1745# include <limits.h>
1746#else
1747# include <assert.h>
1748#endif
1749
1750#undef $2
1751
1752/* Override any GCC internal prototype to avoid an error.
1753   Use char because int might match the return type of a GCC
1754   builtin and then its argument prototype would still apply.  */
1755#ifdef __cplusplus
1756extern "C"
1757#endif
1758char $2 ();
1759/* The GNU C library defines this for functions which it implements
1760    to always fail with ENOSYS.  Some functions are actually named
1761    something starting with __ and the normal name is an alias.  */
1762#if defined __stub_$2 || defined __stub___$2
1763choke me
1764#endif
1765
1766int
1767main ()
1768{
1769return $2 ();
1770  ;
1771  return 0;
1772}
1773_ACEOF
1774if ac_fn_c_try_link "$LINENO"; then :
1775  eval "$3=yes"
1776else
1777  eval "$3=no"
1778fi
1779rm -f core conftest.err conftest.$ac_objext \
1780    conftest$ac_exeext conftest.$ac_ext
1781fi
1782eval ac_res=\$$3
1783	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784$as_echo "$ac_res" >&6; }
1785  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786
1787} # ac_fn_c_check_func
1788
1789# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1790# -------------------------------------------------------
1791# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1792# the include files in INCLUDES and setting the cache variable VAR
1793# accordingly.
1794ac_fn_c_check_header_mongrel ()
1795{
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  if eval \${$3+:} false; then :
1798  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799$as_echo_n "checking for $2... " >&6; }
1800if eval \${$3+:} false; then :
1801  $as_echo_n "(cached) " >&6
1802fi
1803eval ac_res=\$$3
1804	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1805$as_echo "$ac_res" >&6; }
1806else
1807  # Is the header compilable?
1808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1809$as_echo_n "checking $2 usability... " >&6; }
1810cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811/* end confdefs.h.  */
1812$4
1813#include <$2>
1814_ACEOF
1815if ac_fn_c_try_compile "$LINENO"; then :
1816  ac_header_compiler=yes
1817else
1818  ac_header_compiler=no
1819fi
1820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1822$as_echo "$ac_header_compiler" >&6; }
1823
1824# Is the header present?
1825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1826$as_echo_n "checking $2 presence... " >&6; }
1827cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1828/* end confdefs.h.  */
1829#include <$2>
1830_ACEOF
1831if ac_fn_c_try_cpp "$LINENO"; then :
1832  ac_header_preproc=yes
1833else
1834  ac_header_preproc=no
1835fi
1836rm -f conftest.err conftest.i conftest.$ac_ext
1837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1838$as_echo "$ac_header_preproc" >&6; }
1839
1840# So?  What about this header?
1841case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1842  yes:no: )
1843    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1844$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1845    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1846$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1847    ;;
1848  no:yes:* )
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1850$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1852$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1853    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1854$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1856$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1858$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1859( $as_echo "## ----------------------------------- ##
1860## Report this to mholst@math.ucsd.edu ##
1861## ----------------------------------- ##"
1862     ) | sed "s/^/$as_me: WARNING:     /" >&2
1863    ;;
1864esac
1865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866$as_echo_n "checking for $2... " >&6; }
1867if eval \${$3+:} false; then :
1868  $as_echo_n "(cached) " >&6
1869else
1870  eval "$3=\$ac_header_compiler"
1871fi
1872eval ac_res=\$$3
1873	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1874$as_echo "$ac_res" >&6; }
1875fi
1876  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877
1878} # ac_fn_c_check_header_mongrel
1879
1880# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1881# -------------------------------------------
1882# Tests whether TYPE exists after having included INCLUDES, setting cache
1883# variable VAR accordingly.
1884ac_fn_c_check_type ()
1885{
1886  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1888$as_echo_n "checking for $2... " >&6; }
1889if eval \${$3+:} false; then :
1890  $as_echo_n "(cached) " >&6
1891else
1892  eval "$3=no"
1893  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1894/* end confdefs.h.  */
1895$4
1896int
1897main ()
1898{
1899if (sizeof ($2))
1900	 return 0;
1901  ;
1902  return 0;
1903}
1904_ACEOF
1905if ac_fn_c_try_compile "$LINENO"; then :
1906  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1907/* end confdefs.h.  */
1908$4
1909int
1910main ()
1911{
1912if (sizeof (($2)))
1913	    return 0;
1914  ;
1915  return 0;
1916}
1917_ACEOF
1918if ac_fn_c_try_compile "$LINENO"; then :
1919
1920else
1921  eval "$3=yes"
1922fi
1923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1924fi
1925rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1926fi
1927eval ac_res=\$$3
1928	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929$as_echo "$ac_res" >&6; }
1930  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931
1932} # ac_fn_c_check_type
1933cat >config.log <<_ACEOF
1934This file contains any messages produced by compilers while
1935running configure, to aid debugging if configure makes a mistake.
1936
1937It was created by maloc $as_me 1.0, which was
1938generated by GNU Autoconf 2.68.  Invocation command line was
1939
1940  $ $0 $@
1941
1942_ACEOF
1943exec 5>>config.log
1944{
1945cat <<_ASUNAME
1946## --------- ##
1947## Platform. ##
1948## --------- ##
1949
1950hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1951uname -m = `(uname -m) 2>/dev/null || echo unknown`
1952uname -r = `(uname -r) 2>/dev/null || echo unknown`
1953uname -s = `(uname -s) 2>/dev/null || echo unknown`
1954uname -v = `(uname -v) 2>/dev/null || echo unknown`
1955
1956/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1957/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1958
1959/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1960/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1961/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1962/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1963/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1964/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1965/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1966
1967_ASUNAME
1968
1969as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970for as_dir in $PATH
1971do
1972  IFS=$as_save_IFS
1973  test -z "$as_dir" && as_dir=.
1974    $as_echo "PATH: $as_dir"
1975  done
1976IFS=$as_save_IFS
1977
1978} >&5
1979
1980cat >&5 <<_ACEOF
1981
1982
1983## ----------- ##
1984## Core tests. ##
1985## ----------- ##
1986
1987_ACEOF
1988
1989
1990# Keep a trace of the command line.
1991# Strip out --no-create and --no-recursion so they do not pile up.
1992# Strip out --silent because we don't want to record it for future runs.
1993# Also quote any args containing shell meta-characters.
1994# Make two passes to allow for proper duplicate-argument suppression.
1995ac_configure_args=
1996ac_configure_args0=
1997ac_configure_args1=
1998ac_must_keep_next=false
1999for ac_pass in 1 2
2000do
2001  for ac_arg
2002  do
2003    case $ac_arg in
2004    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2005    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2006    | -silent | --silent | --silen | --sile | --sil)
2007      continue ;;
2008    *\'*)
2009      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2010    esac
2011    case $ac_pass in
2012    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2013    2)
2014      as_fn_append ac_configure_args1 " '$ac_arg'"
2015      if test $ac_must_keep_next = true; then
2016	ac_must_keep_next=false # Got value, back to normal.
2017      else
2018	case $ac_arg in
2019	  *=* | --config-cache | -C | -disable-* | --disable-* \
2020	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2021	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2022	  | -with-* | --with-* | -without-* | --without-* | --x)
2023	    case "$ac_configure_args0 " in
2024	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2025	    esac
2026	    ;;
2027	  -* ) ac_must_keep_next=true ;;
2028	esac
2029      fi
2030      as_fn_append ac_configure_args " '$ac_arg'"
2031      ;;
2032    esac
2033  done
2034done
2035{ ac_configure_args0=; unset ac_configure_args0;}
2036{ ac_configure_args1=; unset ac_configure_args1;}
2037
2038# When interrupted or exit'd, cleanup temporary files, and complete
2039# config.log.  We remove comments because anyway the quotes in there
2040# would cause problems or look ugly.
2041# WARNING: Use '\'' to represent an apostrophe within the trap.
2042# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2043trap 'exit_status=$?
2044  # Save into config.log some information that might help in debugging.
2045  {
2046    echo
2047
2048    $as_echo "## ---------------- ##
2049## Cache variables. ##
2050## ---------------- ##"
2051    echo
2052    # The following way of writing the cache mishandles newlines in values,
2053(
2054  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2055    eval ac_val=\$$ac_var
2056    case $ac_val in #(
2057    *${as_nl}*)
2058      case $ac_var in #(
2059      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2060$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2061      esac
2062      case $ac_var in #(
2063      _ | IFS | as_nl) ;; #(
2064      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2065      *) { eval $ac_var=; unset $ac_var;} ;;
2066      esac ;;
2067    esac
2068  done
2069  (set) 2>&1 |
2070    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2071    *${as_nl}ac_space=\ *)
2072      sed -n \
2073	"s/'\''/'\''\\\\'\'''\''/g;
2074	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2075      ;; #(
2076    *)
2077      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2078      ;;
2079    esac |
2080    sort
2081)
2082    echo
2083
2084    $as_echo "## ----------------- ##
2085## Output variables. ##
2086## ----------------- ##"
2087    echo
2088    for ac_var in $ac_subst_vars
2089    do
2090      eval ac_val=\$$ac_var
2091      case $ac_val in
2092      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093      esac
2094      $as_echo "$ac_var='\''$ac_val'\''"
2095    done | sort
2096    echo
2097
2098    if test -n "$ac_subst_files"; then
2099      $as_echo "## ------------------- ##
2100## File substitutions. ##
2101## ------------------- ##"
2102      echo
2103      for ac_var in $ac_subst_files
2104      do
2105	eval ac_val=\$$ac_var
2106	case $ac_val in
2107	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2108	esac
2109	$as_echo "$ac_var='\''$ac_val'\''"
2110      done | sort
2111      echo
2112    fi
2113
2114    if test -s confdefs.h; then
2115      $as_echo "## ----------- ##
2116## confdefs.h. ##
2117## ----------- ##"
2118      echo
2119      cat confdefs.h
2120      echo
2121    fi
2122    test "$ac_signal" != 0 &&
2123      $as_echo "$as_me: caught signal $ac_signal"
2124    $as_echo "$as_me: exit $exit_status"
2125  } >&5
2126  rm -f core *.core core.conftest.* &&
2127    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2128    exit $exit_status
2129' 0
2130for ac_signal in 1 2 13 15; do
2131  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2132done
2133ac_signal=0
2134
2135# confdefs.h avoids OS command line length limits that DEFS can exceed.
2136rm -f -r conftest* confdefs.h
2137
2138$as_echo "/* confdefs.h */" > confdefs.h
2139
2140# Predefined preprocessor variables.
2141
2142cat >>confdefs.h <<_ACEOF
2143#define PACKAGE_NAME "$PACKAGE_NAME"
2144_ACEOF
2145
2146cat >>confdefs.h <<_ACEOF
2147#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2148_ACEOF
2149
2150cat >>confdefs.h <<_ACEOF
2151#define PACKAGE_VERSION "$PACKAGE_VERSION"
2152_ACEOF
2153
2154cat >>confdefs.h <<_ACEOF
2155#define PACKAGE_STRING "$PACKAGE_STRING"
2156_ACEOF
2157
2158cat >>confdefs.h <<_ACEOF
2159#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2160_ACEOF
2161
2162cat >>confdefs.h <<_ACEOF
2163#define PACKAGE_URL "$PACKAGE_URL"
2164_ACEOF
2165
2166
2167# Let the site file select an alternate cache file if it wants to.
2168# Prefer an explicitly selected file to automatically selected ones.
2169ac_site_file1=NONE
2170ac_site_file2=NONE
2171if test -n "$CONFIG_SITE"; then
2172  # We do not want a PATH search for config.site.
2173  case $CONFIG_SITE in #((
2174    -*)  ac_site_file1=./$CONFIG_SITE;;
2175    */*) ac_site_file1=$CONFIG_SITE;;
2176    *)   ac_site_file1=./$CONFIG_SITE;;
2177  esac
2178elif test "x$prefix" != xNONE; then
2179  ac_site_file1=$prefix/share/config.site
2180  ac_site_file2=$prefix/etc/config.site
2181else
2182  ac_site_file1=$ac_default_prefix/share/config.site
2183  ac_site_file2=$ac_default_prefix/etc/config.site
2184fi
2185for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2186do
2187  test "x$ac_site_file" = xNONE && continue
2188  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2189    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2190$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2191    sed 's/^/| /' "$ac_site_file" >&5
2192    . "$ac_site_file" \
2193      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2194$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2195as_fn_error $? "failed to load site script $ac_site_file
2196See \`config.log' for more details" "$LINENO" 5; }
2197  fi
2198done
2199
2200if test -r "$cache_file"; then
2201  # Some versions of bash will fail to source /dev/null (special files
2202  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2203  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2204    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2205$as_echo "$as_me: loading cache $cache_file" >&6;}
2206    case $cache_file in
2207      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2208      *)                      . "./$cache_file";;
2209    esac
2210  fi
2211else
2212  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2213$as_echo "$as_me: creating cache $cache_file" >&6;}
2214  >$cache_file
2215fi
2216
2217# Check that the precious variables saved in the cache have kept the same
2218# value.
2219ac_cache_corrupted=false
2220for ac_var in $ac_precious_vars; do
2221  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2222  eval ac_new_set=\$ac_env_${ac_var}_set
2223  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2224  eval ac_new_val=\$ac_env_${ac_var}_value
2225  case $ac_old_set,$ac_new_set in
2226    set,)
2227      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2228$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2229      ac_cache_corrupted=: ;;
2230    ,set)
2231      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2232$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2233      ac_cache_corrupted=: ;;
2234    ,);;
2235    *)
2236      if test "x$ac_old_val" != "x$ac_new_val"; then
2237	# differences in whitespace do not lead to failure.
2238	ac_old_val_w=`echo x $ac_old_val`
2239	ac_new_val_w=`echo x $ac_new_val`
2240	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2241	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2242$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2243	  ac_cache_corrupted=:
2244	else
2245	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2246$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2247	  eval $ac_var=\$ac_old_val
2248	fi
2249	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2250$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2251	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2252$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2253      fi;;
2254  esac
2255  # Pass precious variables to config.status.
2256  if test "$ac_new_set" = set; then
2257    case $ac_new_val in
2258    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2259    *) ac_arg=$ac_var=$ac_new_val ;;
2260    esac
2261    case " $ac_configure_args " in
2262      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2263      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2264    esac
2265  fi
2266done
2267if $ac_cache_corrupted; then
2268  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2269$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2270  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2271$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2272  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2273fi
2274## -------------------- ##
2275## Main body of script. ##
2276## -------------------- ##
2277
2278ac_ext=c
2279ac_cpp='$CPP $CPPFLAGS'
2280ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2281ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2282ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283
2284
2285
2286ac_config_headers="$ac_config_headers src/aaa_inc/maloccf.h"
2287
2288ac_aux_dir=
2289for ac_dir in config "$srcdir"/config; do
2290  if test -f "$ac_dir/install-sh"; then
2291    ac_aux_dir=$ac_dir
2292    ac_install_sh="$ac_aux_dir/install-sh -c"
2293    break
2294  elif test -f "$ac_dir/install.sh"; then
2295    ac_aux_dir=$ac_dir
2296    ac_install_sh="$ac_aux_dir/install.sh -c"
2297    break
2298  elif test -f "$ac_dir/shtool"; then
2299    ac_aux_dir=$ac_dir
2300    ac_install_sh="$ac_aux_dir/shtool install -c"
2301    break
2302  fi
2303done
2304if test -z "$ac_aux_dir"; then
2305  as_fn_error $? "cannot find install-sh, install.sh, or shtool in config \"$srcdir\"/config" "$LINENO" 5
2306fi
2307
2308# These three variables are undocumented and unsupported,
2309# and are intended to be withdrawn in a future Autoconf release.
2310# They can cause serious problems if a builder's source tree is in a directory
2311# whose full name contains unusual characters.
2312ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2313ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2314ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2315
2316
2317
2318
2319# Make sure we can run config.sub.
2320$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2321  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2322
2323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2324$as_echo_n "checking build system type... " >&6; }
2325if ${ac_cv_build+:} false; then :
2326  $as_echo_n "(cached) " >&6
2327else
2328  ac_build_alias=$build_alias
2329test "x$ac_build_alias" = x &&
2330  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2331test "x$ac_build_alias" = x &&
2332  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2333ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2334  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2335
2336fi
2337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2338$as_echo "$ac_cv_build" >&6; }
2339case $ac_cv_build in
2340*-*-*) ;;
2341*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2342esac
2343build=$ac_cv_build
2344ac_save_IFS=$IFS; IFS='-'
2345set x $ac_cv_build
2346shift
2347build_cpu=$1
2348build_vendor=$2
2349shift; shift
2350# Remember, the first character of IFS is used to create $*,
2351# except with old shells:
2352build_os=$*
2353IFS=$ac_save_IFS
2354case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2355
2356
2357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2358$as_echo_n "checking host system type... " >&6; }
2359if ${ac_cv_host+:} false; then :
2360  $as_echo_n "(cached) " >&6
2361else
2362  if test "x$host_alias" = x; then
2363  ac_cv_host=$ac_cv_build
2364else
2365  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2366    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2367fi
2368
2369fi
2370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2371$as_echo "$ac_cv_host" >&6; }
2372case $ac_cv_host in
2373*-*-*) ;;
2374*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2375esac
2376host=$ac_cv_host
2377ac_save_IFS=$IFS; IFS='-'
2378set x $ac_cv_host
2379shift
2380host_cpu=$1
2381host_vendor=$2
2382shift; shift
2383# Remember, the first character of IFS is used to create $*,
2384# except with old shells:
2385host_os=$*
2386IFS=$ac_save_IFS
2387case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2388
2389
2390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2391$as_echo_n "checking target system type... " >&6; }
2392if ${ac_cv_target+:} false; then :
2393  $as_echo_n "(cached) " >&6
2394else
2395  if test "x$target_alias" = x; then
2396  ac_cv_target=$ac_cv_host
2397else
2398  ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2399    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2400fi
2401
2402fi
2403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2404$as_echo "$ac_cv_target" >&6; }
2405case $ac_cv_target in
2406*-*-*) ;;
2407*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
2408esac
2409target=$ac_cv_target
2410ac_save_IFS=$IFS; IFS='-'
2411set x $ac_cv_target
2412shift
2413target_cpu=$1
2414target_vendor=$2
2415shift; shift
2416# Remember, the first character of IFS is used to create $*,
2417# except with old shells:
2418target_os=$*
2419IFS=$ac_save_IFS
2420case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2421
2422
2423# The aliases save the names the user supplied, while $host etc.
2424# will get canonicalized.
2425test -n "$target_alias" &&
2426  test "$program_prefix$program_suffix$program_transform_name" = \
2427    NONENONEs,x,x, &&
2428  program_prefix=${target_alias}-
2429
2430
2431am__api_version='1.11'
2432
2433# Find a good install program.  We prefer a C program (faster),
2434# so one script is as good as another.  But avoid the broken or
2435# incompatible versions:
2436# SysV /etc/install, /usr/sbin/install
2437# SunOS /usr/etc/install
2438# IRIX /sbin/install
2439# AIX /bin/install
2440# AmigaOS /C/install, which installs bootblocks on floppy discs
2441# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2442# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2443# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2444# OS/2's system install, which has a completely different semantic
2445# ./install, which can be erroneously created by make from ./install.sh.
2446# Reject install programs that cannot install multiple files.
2447{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2448$as_echo_n "checking for a BSD-compatible install... " >&6; }
2449if test -z "$INSTALL"; then
2450if ${ac_cv_path_install+:} false; then :
2451  $as_echo_n "(cached) " >&6
2452else
2453  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2454for as_dir in $PATH
2455do
2456  IFS=$as_save_IFS
2457  test -z "$as_dir" && as_dir=.
2458    # Account for people who put trailing slashes in PATH elements.
2459case $as_dir/ in #((
2460  ./ | .// | /[cC]/* | \
2461  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2462  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2463  /usr/ucb/* ) ;;
2464  *)
2465    # OSF1 and SCO ODT 3.0 have their own names for install.
2466    # Don't use installbsd from OSF since it installs stuff as root
2467    # by default.
2468    for ac_prog in ginstall scoinst install; do
2469      for ac_exec_ext in '' $ac_executable_extensions; do
2470	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2471	  if test $ac_prog = install &&
2472	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2473	    # AIX install.  It has an incompatible calling convention.
2474	    :
2475	  elif test $ac_prog = install &&
2476	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2477	    # program-specific install script used by HP pwplus--don't use.
2478	    :
2479	  else
2480	    rm -rf conftest.one conftest.two conftest.dir
2481	    echo one > conftest.one
2482	    echo two > conftest.two
2483	    mkdir conftest.dir
2484	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2485	      test -s conftest.one && test -s conftest.two &&
2486	      test -s conftest.dir/conftest.one &&
2487	      test -s conftest.dir/conftest.two
2488	    then
2489	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2490	      break 3
2491	    fi
2492	  fi
2493	fi
2494      done
2495    done
2496    ;;
2497esac
2498
2499  done
2500IFS=$as_save_IFS
2501
2502rm -rf conftest.one conftest.two conftest.dir
2503
2504fi
2505  if test "${ac_cv_path_install+set}" = set; then
2506    INSTALL=$ac_cv_path_install
2507  else
2508    # As a last resort, use the slow shell script.  Don't cache a
2509    # value for INSTALL within a source directory, because that will
2510    # break other packages using the cache if that directory is
2511    # removed, or if the value is a relative name.
2512    INSTALL=$ac_install_sh
2513  fi
2514fi
2515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2516$as_echo "$INSTALL" >&6; }
2517
2518# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2519# It thinks the first close brace ends the variable substitution.
2520test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2521
2522test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2523
2524test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2525
2526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2527$as_echo_n "checking whether build environment is sane... " >&6; }
2528# Just in case
2529sleep 1
2530echo timestamp > conftest.file
2531# Reject unsafe characters in $srcdir or the absolute working directory
2532# name.  Accept space and tab only in the latter.
2533am_lf='
2534'
2535case `pwd` in
2536  *[\\\"\#\$\&\'\`$am_lf]*)
2537    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2538esac
2539case $srcdir in
2540  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2541    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2542esac
2543
2544# Do `set' in a subshell so we don't clobber the current shell's
2545# arguments.  Must try -L first in case configure is actually a
2546# symlink; some systems play weird games with the mod time of symlinks
2547# (eg FreeBSD returns the mod time of the symlink's containing
2548# directory).
2549if (
2550   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2551   if test "$*" = "X"; then
2552      # -L didn't work.
2553      set X `ls -t "$srcdir/configure" conftest.file`
2554   fi
2555   rm -f conftest.file
2556   if test "$*" != "X $srcdir/configure conftest.file" \
2557      && test "$*" != "X conftest.file $srcdir/configure"; then
2558
2559      # If neither matched, then we have a broken ls.  This can happen
2560      # if, for instance, CONFIG_SHELL is bash and it inherits a
2561      # broken ls alias from the environment.  This has actually
2562      # happened.  Such a system could not be considered "sane".
2563      as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2564alias in your environment" "$LINENO" 5
2565   fi
2566
2567   test "$2" = conftest.file
2568   )
2569then
2570   # Ok.
2571   :
2572else
2573   as_fn_error $? "newly created file is older than distributed files!
2574Check your system clock" "$LINENO" 5
2575fi
2576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2577$as_echo "yes" >&6; }
2578test "$program_prefix" != NONE &&
2579  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2580# Use a double $ so make ignores it.
2581test "$program_suffix" != NONE &&
2582  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2583# Double any \ or $.
2584# By default was `s,x,x', remove it if useless.
2585ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2586program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2587
2588# expand $ac_aux_dir to an absolute path
2589am_aux_dir=`cd $ac_aux_dir && pwd`
2590
2591if test x"${MISSING+set}" != xset; then
2592  case $am_aux_dir in
2593  *\ * | *\	*)
2594    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2595  *)
2596    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2597  esac
2598fi
2599# Use eval to expand $SHELL
2600if eval "$MISSING --run true"; then
2601  am_missing_run="$MISSING --run "
2602else
2603  am_missing_run=
2604  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2605$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2606fi
2607
2608if test x"${install_sh}" != xset; then
2609  case $am_aux_dir in
2610  *\ * | *\	*)
2611    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2612  *)
2613    install_sh="\${SHELL} $am_aux_dir/install-sh"
2614  esac
2615fi
2616
2617# Installed binaries are usually stripped using `strip' when the user
2618# run `make install-strip'.  However `strip' might not be the right
2619# tool to use in cross-compilation environments, therefore Automake
2620# will honor the `STRIP' environment variable to overrule this program.
2621if test "$cross_compiling" != no; then
2622  if test -n "$ac_tool_prefix"; then
2623  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2624set dummy ${ac_tool_prefix}strip; ac_word=$2
2625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2626$as_echo_n "checking for $ac_word... " >&6; }
2627if ${ac_cv_prog_STRIP+:} false; then :
2628  $as_echo_n "(cached) " >&6
2629else
2630  if test -n "$STRIP"; then
2631  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2632else
2633as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2634for as_dir in $PATH
2635do
2636  IFS=$as_save_IFS
2637  test -z "$as_dir" && as_dir=.
2638    for ac_exec_ext in '' $ac_executable_extensions; do
2639  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2640    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2641    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642    break 2
2643  fi
2644done
2645  done
2646IFS=$as_save_IFS
2647
2648fi
2649fi
2650STRIP=$ac_cv_prog_STRIP
2651if test -n "$STRIP"; then
2652  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2653$as_echo "$STRIP" >&6; }
2654else
2655  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2656$as_echo "no" >&6; }
2657fi
2658
2659
2660fi
2661if test -z "$ac_cv_prog_STRIP"; then
2662  ac_ct_STRIP=$STRIP
2663  # Extract the first word of "strip", so it can be a program name with args.
2664set dummy strip; ac_word=$2
2665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2666$as_echo_n "checking for $ac_word... " >&6; }
2667if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2668  $as_echo_n "(cached) " >&6
2669else
2670  if test -n "$ac_ct_STRIP"; then
2671  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2672else
2673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674for as_dir in $PATH
2675do
2676  IFS=$as_save_IFS
2677  test -z "$as_dir" && as_dir=.
2678    for ac_exec_ext in '' $ac_executable_extensions; do
2679  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2680    ac_cv_prog_ac_ct_STRIP="strip"
2681    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2682    break 2
2683  fi
2684done
2685  done
2686IFS=$as_save_IFS
2687
2688fi
2689fi
2690ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2691if test -n "$ac_ct_STRIP"; then
2692  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2693$as_echo "$ac_ct_STRIP" >&6; }
2694else
2695  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2696$as_echo "no" >&6; }
2697fi
2698
2699  if test "x$ac_ct_STRIP" = x; then
2700    STRIP=":"
2701  else
2702    case $cross_compiling:$ac_tool_warned in
2703yes:)
2704{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2705$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2706ac_tool_warned=yes ;;
2707esac
2708    STRIP=$ac_ct_STRIP
2709  fi
2710else
2711  STRIP="$ac_cv_prog_STRIP"
2712fi
2713
2714fi
2715INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2716
2717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2718$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2719if test -z "$MKDIR_P"; then
2720  if ${ac_cv_path_mkdir+:} false; then :
2721  $as_echo_n "(cached) " >&6
2722else
2723  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2725do
2726  IFS=$as_save_IFS
2727  test -z "$as_dir" && as_dir=.
2728    for ac_prog in mkdir gmkdir; do
2729	 for ac_exec_ext in '' $ac_executable_extensions; do
2730	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2731	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2732	     'mkdir (GNU coreutils) '* | \
2733	     'mkdir (coreutils) '* | \
2734	     'mkdir (fileutils) '4.1*)
2735	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2736	       break 3;;
2737	   esac
2738	 done
2739       done
2740  done
2741IFS=$as_save_IFS
2742
2743fi
2744
2745  test -d ./--version && rmdir ./--version
2746  if test "${ac_cv_path_mkdir+set}" = set; then
2747    MKDIR_P="$ac_cv_path_mkdir -p"
2748  else
2749    # As a last resort, use the slow shell script.  Don't cache a
2750    # value for MKDIR_P within a source directory, because that will
2751    # break other packages using the cache if that directory is
2752    # removed, or if the value is a relative name.
2753    MKDIR_P="$ac_install_sh -d"
2754  fi
2755fi
2756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2757$as_echo "$MKDIR_P" >&6; }
2758
2759mkdir_p="$MKDIR_P"
2760case $mkdir_p in
2761  [\\/$]* | ?:[\\/]*) ;;
2762  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2763esac
2764
2765for ac_prog in gawk mawk nawk awk
2766do
2767  # Extract the first word of "$ac_prog", so it can be a program name with args.
2768set dummy $ac_prog; ac_word=$2
2769{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2770$as_echo_n "checking for $ac_word... " >&6; }
2771if ${ac_cv_prog_AWK+:} false; then :
2772  $as_echo_n "(cached) " >&6
2773else
2774  if test -n "$AWK"; then
2775  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2776else
2777as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778for as_dir in $PATH
2779do
2780  IFS=$as_save_IFS
2781  test -z "$as_dir" && as_dir=.
2782    for ac_exec_ext in '' $ac_executable_extensions; do
2783  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2784    ac_cv_prog_AWK="$ac_prog"
2785    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2786    break 2
2787  fi
2788done
2789  done
2790IFS=$as_save_IFS
2791
2792fi
2793fi
2794AWK=$ac_cv_prog_AWK
2795if test -n "$AWK"; then
2796  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2797$as_echo "$AWK" >&6; }
2798else
2799  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2800$as_echo "no" >&6; }
2801fi
2802
2803
2804  test -n "$AWK" && break
2805done
2806
2807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2808$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2809set x ${MAKE-make}
2810ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2811if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2812  $as_echo_n "(cached) " >&6
2813else
2814  cat >conftest.make <<\_ACEOF
2815SHELL = /bin/sh
2816all:
2817	@echo '@@@%%%=$(MAKE)=@@@%%%'
2818_ACEOF
2819# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2820case `${MAKE-make} -f conftest.make 2>/dev/null` in
2821  *@@@%%%=?*=@@@%%%*)
2822    eval ac_cv_prog_make_${ac_make}_set=yes;;
2823  *)
2824    eval ac_cv_prog_make_${ac_make}_set=no;;
2825esac
2826rm -f conftest.make
2827fi
2828if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2829  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2830$as_echo "yes" >&6; }
2831  SET_MAKE=
2832else
2833  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834$as_echo "no" >&6; }
2835  SET_MAKE="MAKE=${MAKE-make}"
2836fi
2837
2838rm -rf .tst 2>/dev/null
2839mkdir .tst 2>/dev/null
2840if test -d .tst; then
2841  am__leading_dot=.
2842else
2843  am__leading_dot=_
2844fi
2845rmdir .tst 2>/dev/null
2846
2847if test "`cd $srcdir && pwd`" != "`pwd`"; then
2848  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2849  # is not polluted with repeated "-I."
2850  am__isrc=' -I$(srcdir)'
2851  # test to see if srcdir already configured
2852  if test -f $srcdir/config.status; then
2853    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2854  fi
2855fi
2856
2857# test whether we have cygpath
2858if test -z "$CYGPATH_W"; then
2859  if (cygpath --version) >/dev/null 2>/dev/null; then
2860    CYGPATH_W='cygpath -w'
2861  else
2862    CYGPATH_W=echo
2863  fi
2864fi
2865
2866
2867# Define the identity of the package.
2868 PACKAGE='maloc'
2869 VERSION='1.0'
2870
2871
2872cat >>confdefs.h <<_ACEOF
2873#define PACKAGE "$PACKAGE"
2874_ACEOF
2875
2876
2877cat >>confdefs.h <<_ACEOF
2878#define VERSION "$VERSION"
2879_ACEOF
2880
2881# Some tools Automake needs.
2882
2883ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2884
2885
2886AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2887
2888
2889AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2890
2891
2892AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2893
2894
2895MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2896
2897# We need awk for the "check" target.  The system "awk" is bad on
2898# some platforms.
2899# Always define AMTAR for backward compatibility.
2900
2901AMTAR=${AMTAR-"${am_missing_run}tar"}
2902
2903am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2904
2905
2906
2907
2908
2909
2910FETK_VERSION="1:0:0"
2911
2912
2913
2914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2915$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2916    # Check whether --enable-maintainer-mode was given.
2917if test "${enable_maintainer_mode+set}" = set; then :
2918  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2919else
2920  USE_MAINTAINER_MODE=no
2921fi
2922
2923  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2924$as_echo "$USE_MAINTAINER_MODE" >&6; }
2925   if test $USE_MAINTAINER_MODE = yes; then
2926  MAINTAINER_MODE_TRUE=
2927  MAINTAINER_MODE_FALSE='#'
2928else
2929  MAINTAINER_MODE_TRUE='#'
2930  MAINTAINER_MODE_FALSE=
2931fi
2932
2933  MAINT=$MAINTAINER_MODE_TRUE
2934
2935
2936
2937
2938ac_ext=c
2939ac_cpp='$CPP $CPPFLAGS'
2940ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2941ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2942ac_compiler_gnu=$ac_cv_c_compiler_gnu
2943
2944ac_ext=c
2945ac_cpp='$CPP $CPPFLAGS'
2946ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2947ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2948ac_compiler_gnu=$ac_cv_c_compiler_gnu
2949if test -n "$ac_tool_prefix"; then
2950  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2951set dummy ${ac_tool_prefix}gcc; ac_word=$2
2952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2953$as_echo_n "checking for $ac_word... " >&6; }
2954if ${ac_cv_prog_CC+:} false; then :
2955  $as_echo_n "(cached) " >&6
2956else
2957  if test -n "$CC"; then
2958  ac_cv_prog_CC="$CC" # Let the user override the test.
2959else
2960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2961for as_dir in $PATH
2962do
2963  IFS=$as_save_IFS
2964  test -z "$as_dir" && as_dir=.
2965    for ac_exec_ext in '' $ac_executable_extensions; do
2966  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2967    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969    break 2
2970  fi
2971done
2972  done
2973IFS=$as_save_IFS
2974
2975fi
2976fi
2977CC=$ac_cv_prog_CC
2978if test -n "$CC"; then
2979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2980$as_echo "$CC" >&6; }
2981else
2982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2983$as_echo "no" >&6; }
2984fi
2985
2986
2987fi
2988if test -z "$ac_cv_prog_CC"; then
2989  ac_ct_CC=$CC
2990  # Extract the first word of "gcc", so it can be a program name with args.
2991set dummy gcc; ac_word=$2
2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2993$as_echo_n "checking for $ac_word... " >&6; }
2994if ${ac_cv_prog_ac_ct_CC+:} false; then :
2995  $as_echo_n "(cached) " >&6
2996else
2997  if test -n "$ac_ct_CC"; then
2998  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2999else
3000as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3001for as_dir in $PATH
3002do
3003  IFS=$as_save_IFS
3004  test -z "$as_dir" && as_dir=.
3005    for ac_exec_ext in '' $ac_executable_extensions; do
3006  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3007    ac_cv_prog_ac_ct_CC="gcc"
3008    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009    break 2
3010  fi
3011done
3012  done
3013IFS=$as_save_IFS
3014
3015fi
3016fi
3017ac_ct_CC=$ac_cv_prog_ac_ct_CC
3018if test -n "$ac_ct_CC"; then
3019  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3020$as_echo "$ac_ct_CC" >&6; }
3021else
3022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3023$as_echo "no" >&6; }
3024fi
3025
3026  if test "x$ac_ct_CC" = x; then
3027    CC=""
3028  else
3029    case $cross_compiling:$ac_tool_warned in
3030yes:)
3031{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3032$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3033ac_tool_warned=yes ;;
3034esac
3035    CC=$ac_ct_CC
3036  fi
3037else
3038  CC="$ac_cv_prog_CC"
3039fi
3040
3041if test -z "$CC"; then
3042          if test -n "$ac_tool_prefix"; then
3043    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3044set dummy ${ac_tool_prefix}cc; ac_word=$2
3045{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3046$as_echo_n "checking for $ac_word... " >&6; }
3047if ${ac_cv_prog_CC+:} false; then :
3048  $as_echo_n "(cached) " >&6
3049else
3050  if test -n "$CC"; then
3051  ac_cv_prog_CC="$CC" # Let the user override the test.
3052else
3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3054for as_dir in $PATH
3055do
3056  IFS=$as_save_IFS
3057  test -z "$as_dir" && as_dir=.
3058    for ac_exec_ext in '' $ac_executable_extensions; do
3059  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3060    ac_cv_prog_CC="${ac_tool_prefix}cc"
3061    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3062    break 2
3063  fi
3064done
3065  done
3066IFS=$as_save_IFS
3067
3068fi
3069fi
3070CC=$ac_cv_prog_CC
3071if test -n "$CC"; then
3072  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073$as_echo "$CC" >&6; }
3074else
3075  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076$as_echo "no" >&6; }
3077fi
3078
3079
3080  fi
3081fi
3082if test -z "$CC"; then
3083  # Extract the first word of "cc", so it can be a program name with args.
3084set dummy cc; ac_word=$2
3085{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3086$as_echo_n "checking for $ac_word... " >&6; }
3087if ${ac_cv_prog_CC+:} false; then :
3088  $as_echo_n "(cached) " >&6
3089else
3090  if test -n "$CC"; then
3091  ac_cv_prog_CC="$CC" # Let the user override the test.
3092else
3093  ac_prog_rejected=no
3094as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3095for as_dir in $PATH
3096do
3097  IFS=$as_save_IFS
3098  test -z "$as_dir" && as_dir=.
3099    for ac_exec_ext in '' $ac_executable_extensions; do
3100  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3102       ac_prog_rejected=yes
3103       continue
3104     fi
3105    ac_cv_prog_CC="cc"
3106    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3107    break 2
3108  fi
3109done
3110  done
3111IFS=$as_save_IFS
3112
3113if test $ac_prog_rejected = yes; then
3114  # We found a bogon in the path, so make sure we never use it.
3115  set dummy $ac_cv_prog_CC
3116  shift
3117  if test $# != 0; then
3118    # We chose a different compiler from the bogus one.
3119    # However, it has the same basename, so the bogon will be chosen
3120    # first if we set CC to just the basename; use the full file name.
3121    shift
3122    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3123  fi
3124fi
3125fi
3126fi
3127CC=$ac_cv_prog_CC
3128if test -n "$CC"; then
3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3130$as_echo "$CC" >&6; }
3131else
3132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3133$as_echo "no" >&6; }
3134fi
3135
3136
3137fi
3138if test -z "$CC"; then
3139  if test -n "$ac_tool_prefix"; then
3140  for ac_prog in cl.exe
3141  do
3142    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3143set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145$as_echo_n "checking for $ac_word... " >&6; }
3146if ${ac_cv_prog_CC+:} false; then :
3147  $as_echo_n "(cached) " >&6
3148else
3149  if test -n "$CC"; then
3150  ac_cv_prog_CC="$CC" # Let the user override the test.
3151else
3152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153for as_dir in $PATH
3154do
3155  IFS=$as_save_IFS
3156  test -z "$as_dir" && as_dir=.
3157    for ac_exec_ext in '' $ac_executable_extensions; do
3158  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3159    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161    break 2
3162  fi
3163done
3164  done
3165IFS=$as_save_IFS
3166
3167fi
3168fi
3169CC=$ac_cv_prog_CC
3170if test -n "$CC"; then
3171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172$as_echo "$CC" >&6; }
3173else
3174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175$as_echo "no" >&6; }
3176fi
3177
3178
3179    test -n "$CC" && break
3180  done
3181fi
3182if test -z "$CC"; then
3183  ac_ct_CC=$CC
3184  for ac_prog in cl.exe
3185do
3186  # Extract the first word of "$ac_prog", so it can be a program name with args.
3187set dummy $ac_prog; ac_word=$2
3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189$as_echo_n "checking for $ac_word... " >&6; }
3190if ${ac_cv_prog_ac_ct_CC+:} false; then :
3191  $as_echo_n "(cached) " >&6
3192else
3193  if test -n "$ac_ct_CC"; then
3194  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3195else
3196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197for as_dir in $PATH
3198do
3199  IFS=$as_save_IFS
3200  test -z "$as_dir" && as_dir=.
3201    for ac_exec_ext in '' $ac_executable_extensions; do
3202  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3203    ac_cv_prog_ac_ct_CC="$ac_prog"
3204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3205    break 2
3206  fi
3207done
3208  done
3209IFS=$as_save_IFS
3210
3211fi
3212fi
3213ac_ct_CC=$ac_cv_prog_ac_ct_CC
3214if test -n "$ac_ct_CC"; then
3215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3216$as_echo "$ac_ct_CC" >&6; }
3217else
3218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3219$as_echo "no" >&6; }
3220fi
3221
3222
3223  test -n "$ac_ct_CC" && break
3224done
3225
3226  if test "x$ac_ct_CC" = x; then
3227    CC=""
3228  else
3229    case $cross_compiling:$ac_tool_warned in
3230yes:)
3231{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3232$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3233ac_tool_warned=yes ;;
3234esac
3235    CC=$ac_ct_CC
3236  fi
3237fi
3238
3239fi
3240
3241
3242test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3243$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3244as_fn_error $? "no acceptable C compiler found in \$PATH
3245See \`config.log' for more details" "$LINENO" 5; }
3246
3247# Provide some information about the compiler.
3248$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3249set X $ac_compile
3250ac_compiler=$2
3251for ac_option in --version -v -V -qversion; do
3252  { { ac_try="$ac_compiler $ac_option >&5"
3253case "(($ac_try" in
3254  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3255  *) ac_try_echo=$ac_try;;
3256esac
3257eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3258$as_echo "$ac_try_echo"; } >&5
3259  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3260  ac_status=$?
3261  if test -s conftest.err; then
3262    sed '10a\
3263... rest of stderr output deleted ...
3264         10q' conftest.err >conftest.er1
3265    cat conftest.er1 >&5
3266  fi
3267  rm -f conftest.er1 conftest.err
3268  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3269  test $ac_status = 0; }
3270done
3271
3272cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273/* end confdefs.h.  */
3274
3275int
3276main ()
3277{
3278
3279  ;
3280  return 0;
3281}
3282_ACEOF
3283ac_clean_files_save=$ac_clean_files
3284ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3285# Try to create an executable without -o first, disregard a.out.
3286# It will help us diagnose broken compilers, and finding out an intuition
3287# of exeext.
3288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3289$as_echo_n "checking whether the C compiler works... " >&6; }
3290ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3291
3292# The possible output files:
3293ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3294
3295ac_rmfiles=
3296for ac_file in $ac_files
3297do
3298  case $ac_file in
3299    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3300    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3301  esac
3302done
3303rm -f $ac_rmfiles
3304
3305if { { ac_try="$ac_link_default"
3306case "(($ac_try" in
3307  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3308  *) ac_try_echo=$ac_try;;
3309esac
3310eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3311$as_echo "$ac_try_echo"; } >&5
3312  (eval "$ac_link_default") 2>&5
3313  ac_status=$?
3314  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3315  test $ac_status = 0; }; then :
3316  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3317# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3318# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3319# so that the user can short-circuit this test for compilers unknown to
3320# Autoconf.
3321for ac_file in $ac_files ''
3322do
3323  test -f "$ac_file" || continue
3324  case $ac_file in
3325    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3326	;;
3327    [ab].out )
3328	# We found the default executable, but exeext='' is most
3329	# certainly right.
3330	break;;
3331    *.* )
3332	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3333	then :; else
3334	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3335	fi
3336	# We set ac_cv_exeext here because the later test for it is not
3337	# safe: cross compilers may not add the suffix if given an `-o'
3338	# argument, so we may need to know it at that point already.
3339	# Even if this section looks crufty: it has the advantage of
3340	# actually working.
3341	break;;
3342    * )
3343	break;;
3344  esac
3345done
3346test "$ac_cv_exeext" = no && ac_cv_exeext=
3347
3348else
3349  ac_file=''
3350fi
3351if test -z "$ac_file"; then :
3352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3353$as_echo "no" >&6; }
3354$as_echo "$as_me: failed program was:" >&5
3355sed 's/^/| /' conftest.$ac_ext >&5
3356
3357{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3359as_fn_error 77 "C compiler cannot create executables
3360See \`config.log' for more details" "$LINENO" 5; }
3361else
3362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3363$as_echo "yes" >&6; }
3364fi
3365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3366$as_echo_n "checking for C compiler default output file name... " >&6; }
3367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3368$as_echo "$ac_file" >&6; }
3369ac_exeext=$ac_cv_exeext
3370
3371rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3372ac_clean_files=$ac_clean_files_save
3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3374$as_echo_n "checking for suffix of executables... " >&6; }
3375if { { ac_try="$ac_link"
3376case "(($ac_try" in
3377  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3378  *) ac_try_echo=$ac_try;;
3379esac
3380eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381$as_echo "$ac_try_echo"; } >&5
3382  (eval "$ac_link") 2>&5
3383  ac_status=$?
3384  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385  test $ac_status = 0; }; then :
3386  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3387# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3388# work properly (i.e., refer to `conftest.exe'), while it won't with
3389# `rm'.
3390for ac_file in conftest.exe conftest conftest.*; do
3391  test -f "$ac_file" || continue
3392  case $ac_file in
3393    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3394    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3395	  break;;
3396    * ) break;;
3397  esac
3398done
3399else
3400  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3403See \`config.log' for more details" "$LINENO" 5; }
3404fi
3405rm -f conftest conftest$ac_cv_exeext
3406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3407$as_echo "$ac_cv_exeext" >&6; }
3408
3409rm -f conftest.$ac_ext
3410EXEEXT=$ac_cv_exeext
3411ac_exeext=$EXEEXT
3412cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3413/* end confdefs.h.  */
3414#include <stdio.h>
3415int
3416main ()
3417{
3418FILE *f = fopen ("conftest.out", "w");
3419 return ferror (f) || fclose (f) != 0;
3420
3421  ;
3422  return 0;
3423}
3424_ACEOF
3425ac_clean_files="$ac_clean_files conftest.out"
3426# Check that the compiler produces executables we can run.  If not, either
3427# the compiler is broken, or we cross compile.
3428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3429$as_echo_n "checking whether we are cross compiling... " >&6; }
3430if test "$cross_compiling" != yes; then
3431  { { ac_try="$ac_link"
3432case "(($ac_try" in
3433  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3434  *) ac_try_echo=$ac_try;;
3435esac
3436eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437$as_echo "$ac_try_echo"; } >&5
3438  (eval "$ac_link") 2>&5
3439  ac_status=$?
3440  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441  test $ac_status = 0; }
3442  if { ac_try='./conftest$ac_cv_exeext'
3443  { { case "(($ac_try" in
3444  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3445  *) ac_try_echo=$ac_try;;
3446esac
3447eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3448$as_echo "$ac_try_echo"; } >&5
3449  (eval "$ac_try") 2>&5
3450  ac_status=$?
3451  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3452  test $ac_status = 0; }; }; then
3453    cross_compiling=no
3454  else
3455    if test "$cross_compiling" = maybe; then
3456	cross_compiling=yes
3457    else
3458	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3459$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3460as_fn_error $? "cannot run C compiled programs.
3461If you meant to cross compile, use \`--host'.
3462See \`config.log' for more details" "$LINENO" 5; }
3463    fi
3464  fi
3465fi
3466{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3467$as_echo "$cross_compiling" >&6; }
3468
3469rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3470ac_clean_files=$ac_clean_files_save
3471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3472$as_echo_n "checking for suffix of object files... " >&6; }
3473if ${ac_cv_objext+:} false; then :
3474  $as_echo_n "(cached) " >&6
3475else
3476  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477/* end confdefs.h.  */
3478
3479int
3480main ()
3481{
3482
3483  ;
3484  return 0;
3485}
3486_ACEOF
3487rm -f conftest.o conftest.obj
3488if { { ac_try="$ac_compile"
3489case "(($ac_try" in
3490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491  *) ac_try_echo=$ac_try;;
3492esac
3493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3494$as_echo "$ac_try_echo"; } >&5
3495  (eval "$ac_compile") 2>&5
3496  ac_status=$?
3497  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3498  test $ac_status = 0; }; then :
3499  for ac_file in conftest.o conftest.obj conftest.*; do
3500  test -f "$ac_file" || continue;
3501  case $ac_file in
3502    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3503    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3504       break;;
3505  esac
3506done
3507else
3508  $as_echo "$as_me: failed program was:" >&5
3509sed 's/^/| /' conftest.$ac_ext >&5
3510
3511{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3512$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3513as_fn_error $? "cannot compute suffix of object files: cannot compile
3514See \`config.log' for more details" "$LINENO" 5; }
3515fi
3516rm -f conftest.$ac_cv_objext conftest.$ac_ext
3517fi
3518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3519$as_echo "$ac_cv_objext" >&6; }
3520OBJEXT=$ac_cv_objext
3521ac_objext=$OBJEXT
3522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3523$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3524if ${ac_cv_c_compiler_gnu+:} false; then :
3525  $as_echo_n "(cached) " >&6
3526else
3527  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528/* end confdefs.h.  */
3529
3530int
3531main ()
3532{
3533#ifndef __GNUC__
3534       choke me
3535#endif
3536
3537  ;
3538  return 0;
3539}
3540_ACEOF
3541if ac_fn_c_try_compile "$LINENO"; then :
3542  ac_compiler_gnu=yes
3543else
3544  ac_compiler_gnu=no
3545fi
3546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547ac_cv_c_compiler_gnu=$ac_compiler_gnu
3548
3549fi
3550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3551$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3552if test $ac_compiler_gnu = yes; then
3553  GCC=yes
3554else
3555  GCC=
3556fi
3557ac_test_CFLAGS=${CFLAGS+set}
3558ac_save_CFLAGS=$CFLAGS
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3560$as_echo_n "checking whether $CC accepts -g... " >&6; }
3561if ${ac_cv_prog_cc_g+:} false; then :
3562  $as_echo_n "(cached) " >&6
3563else
3564  ac_save_c_werror_flag=$ac_c_werror_flag
3565   ac_c_werror_flag=yes
3566   ac_cv_prog_cc_g=no
3567   CFLAGS="-g"
3568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3569/* end confdefs.h.  */
3570
3571int
3572main ()
3573{
3574
3575  ;
3576  return 0;
3577}
3578_ACEOF
3579if ac_fn_c_try_compile "$LINENO"; then :
3580  ac_cv_prog_cc_g=yes
3581else
3582  CFLAGS=""
3583      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3584/* end confdefs.h.  */
3585
3586int
3587main ()
3588{
3589
3590  ;
3591  return 0;
3592}
3593_ACEOF
3594if ac_fn_c_try_compile "$LINENO"; then :
3595
3596else
3597  ac_c_werror_flag=$ac_save_c_werror_flag
3598	 CFLAGS="-g"
3599	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600/* end confdefs.h.  */
3601
3602int
3603main ()
3604{
3605
3606  ;
3607  return 0;
3608}
3609_ACEOF
3610if ac_fn_c_try_compile "$LINENO"; then :
3611  ac_cv_prog_cc_g=yes
3612fi
3613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3614fi
3615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616fi
3617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3618   ac_c_werror_flag=$ac_save_c_werror_flag
3619fi
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3621$as_echo "$ac_cv_prog_cc_g" >&6; }
3622if test "$ac_test_CFLAGS" = set; then
3623  CFLAGS=$ac_save_CFLAGS
3624elif test $ac_cv_prog_cc_g = yes; then
3625  if test "$GCC" = yes; then
3626    CFLAGS="-g -O2"
3627  else
3628    CFLAGS="-g"
3629  fi
3630else
3631  if test "$GCC" = yes; then
3632    CFLAGS="-O2"
3633  else
3634    CFLAGS=
3635  fi
3636fi
3637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3638$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3639if ${ac_cv_prog_cc_c89+:} false; then :
3640  $as_echo_n "(cached) " >&6
3641else
3642  ac_cv_prog_cc_c89=no
3643ac_save_CC=$CC
3644cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645/* end confdefs.h.  */
3646#include <stdarg.h>
3647#include <stdio.h>
3648#include <sys/types.h>
3649#include <sys/stat.h>
3650/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3651struct buf { int x; };
3652FILE * (*rcsopen) (struct buf *, struct stat *, int);
3653static char *e (p, i)
3654     char **p;
3655     int i;
3656{
3657  return p[i];
3658}
3659static char *f (char * (*g) (char **, int), char **p, ...)
3660{
3661  char *s;
3662  va_list v;
3663  va_start (v,p);
3664  s = g (p, va_arg (v,int));
3665  va_end (v);
3666  return s;
3667}
3668
3669/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3670   function prototypes and stuff, but not '\xHH' hex character constants.
3671   These don't provoke an error unfortunately, instead are silently treated
3672   as 'x'.  The following induces an error, until -std is added to get
3673   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3674   array size at least.  It's necessary to write '\x00'==0 to get something
3675   that's true only with -std.  */
3676int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3677
3678/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3679   inside strings and character constants.  */
3680#define FOO(x) 'x'
3681int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3682
3683int test (int i, double x);
3684struct s1 {int (*f) (int a);};
3685struct s2 {int (*f) (double a);};
3686int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3687int argc;
3688char **argv;
3689int
3690main ()
3691{
3692return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3698	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3699do
3700  CC="$ac_save_CC $ac_arg"
3701  if ac_fn_c_try_compile "$LINENO"; then :
3702  ac_cv_prog_cc_c89=$ac_arg
3703fi
3704rm -f core conftest.err conftest.$ac_objext
3705  test "x$ac_cv_prog_cc_c89" != "xno" && break
3706done
3707rm -f conftest.$ac_ext
3708CC=$ac_save_CC
3709
3710fi
3711# AC_CACHE_VAL
3712case "x$ac_cv_prog_cc_c89" in
3713  x)
3714    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3715$as_echo "none needed" >&6; } ;;
3716  xno)
3717    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3718$as_echo "unsupported" >&6; } ;;
3719  *)
3720    CC="$CC $ac_cv_prog_cc_c89"
3721    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3722$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3723esac
3724if test "x$ac_cv_prog_cc_c89" != xno; then :
3725
3726fi
3727
3728ac_ext=c
3729ac_cpp='$CPP $CPPFLAGS'
3730ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3731ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3732ac_compiler_gnu=$ac_cv_c_compiler_gnu
3733DEPDIR="${am__leading_dot}deps"
3734
3735ac_config_commands="$ac_config_commands depfiles"
3736
3737
3738am_make=${MAKE-make}
3739cat > confinc << 'END'
3740am__doit:
3741	@echo this is the am__doit target
3742.PHONY: am__doit
3743END
3744# If we don't find an include directive, just comment out the code.
3745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3746$as_echo_n "checking for style of include used by $am_make... " >&6; }
3747am__include="#"
3748am__quote=
3749_am_result=none
3750# First try GNU make style include.
3751echo "include confinc" > confmf
3752# Ignore all kinds of additional output from `make'.
3753case `$am_make -s -f confmf 2> /dev/null` in #(
3754*the\ am__doit\ target*)
3755  am__include=include
3756  am__quote=
3757  _am_result=GNU
3758  ;;
3759esac
3760# Now try BSD make style include.
3761if test "$am__include" = "#"; then
3762   echo '.include "confinc"' > confmf
3763   case `$am_make -s -f confmf 2> /dev/null` in #(
3764   *the\ am__doit\ target*)
3765     am__include=.include
3766     am__quote="\""
3767     _am_result=BSD
3768     ;;
3769   esac
3770fi
3771
3772
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3774$as_echo "$_am_result" >&6; }
3775rm -f confinc confmf
3776
3777# Check whether --enable-dependency-tracking was given.
3778if test "${enable_dependency_tracking+set}" = set; then :
3779  enableval=$enable_dependency_tracking;
3780fi
3781
3782if test "x$enable_dependency_tracking" != xno; then
3783  am_depcomp="$ac_aux_dir/depcomp"
3784  AMDEPBACKSLASH='\'
3785fi
3786 if test "x$enable_dependency_tracking" != xno; then
3787  AMDEP_TRUE=
3788  AMDEP_FALSE='#'
3789else
3790  AMDEP_TRUE='#'
3791  AMDEP_FALSE=
3792fi
3793
3794
3795
3796depcc="$CC"   am_compiler_list=
3797
3798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3799$as_echo_n "checking dependency style of $depcc... " >&6; }
3800if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3801  $as_echo_n "(cached) " >&6
3802else
3803  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3804  # We make a subdir and do the tests there.  Otherwise we can end up
3805  # making bogus files that we don't know about and never remove.  For
3806  # instance it was reported that on HP-UX the gcc test will end up
3807  # making a dummy file named `D' -- because `-MD' means `put the output
3808  # in D'.
3809  mkdir conftest.dir
3810  # Copy depcomp to subdir because otherwise we won't find it if we're
3811  # using a relative directory.
3812  cp "$am_depcomp" conftest.dir
3813  cd conftest.dir
3814  # We will build objects and dependencies in a subdirectory because
3815  # it helps to detect inapplicable dependency modes.  For instance
3816  # both Tru64's cc and ICC support -MD to output dependencies as a
3817  # side effect of compilation, but ICC will put the dependencies in
3818  # the current directory while Tru64 will put them in the object
3819  # directory.
3820  mkdir sub
3821
3822  am_cv_CC_dependencies_compiler_type=none
3823  if test "$am_compiler_list" = ""; then
3824     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3825  fi
3826  am__universal=false
3827  case " $depcc " in #(
3828     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3829     esac
3830
3831  for depmode in $am_compiler_list; do
3832    # Setup a source with many dependencies, because some compilers
3833    # like to wrap large dependency lists on column 80 (with \), and
3834    # we should not choose a depcomp mode which is confused by this.
3835    #
3836    # We need to recreate these files for each test, as the compiler may
3837    # overwrite some of them when testing with obscure command lines.
3838    # This happens at least with the AIX C compiler.
3839    : > sub/conftest.c
3840    for i in 1 2 3 4 5 6; do
3841      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3842      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843      # Solaris 8's {/usr,}/bin/sh.
3844      touch sub/conftst$i.h
3845    done
3846    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3847
3848    # We check with `-c' and `-o' for the sake of the "dashmstdout"
3849    # mode.  It turns out that the SunPro C++ compiler does not properly
3850    # handle `-M -o', and we need to detect this.  Also, some Intel
3851    # versions had trouble with output in subdirs
3852    am__obj=sub/conftest.${OBJEXT-o}
3853    am__minus_obj="-o $am__obj"
3854    case $depmode in
3855    gcc)
3856      # This depmode causes a compiler race in universal mode.
3857      test "$am__universal" = false || continue
3858      ;;
3859    nosideeffect)
3860      # after this tag, mechanisms are not by side-effect, so they'll
3861      # only be used when explicitly requested
3862      if test "x$enable_dependency_tracking" = xyes; then
3863	continue
3864      else
3865	break
3866      fi
3867      ;;
3868    msvisualcpp | msvcmsys)
3869      # This compiler won't grok `-c -o', but also, the minuso test has
3870      # not run yet.  These depmodes are late enough in the game, and
3871      # so weak that their functioning should not be impacted.
3872      am__obj=conftest.${OBJEXT-o}
3873      am__minus_obj=
3874      ;;
3875    none) break ;;
3876    esac
3877    if depmode=$depmode \
3878       source=sub/conftest.c object=$am__obj \
3879       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3880       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3881         >/dev/null 2>conftest.err &&
3882       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3883       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3884       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3885       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3886      # icc doesn't choke on unknown options, it will just issue warnings
3887      # or remarks (even with -Werror).  So we grep stderr for any message
3888      # that says an option was ignored or not supported.
3889      # When given -MP, icc 7.0 and 7.1 complain thusly:
3890      #   icc: Command line warning: ignoring option '-M'; no argument required
3891      # The diagnosis changed in icc 8.0:
3892      #   icc: Command line remark: option '-MP' not supported
3893      if (grep 'ignoring option' conftest.err ||
3894          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3895        am_cv_CC_dependencies_compiler_type=$depmode
3896        break
3897      fi
3898    fi
3899  done
3900
3901  cd ..
3902  rm -rf conftest.dir
3903else
3904  am_cv_CC_dependencies_compiler_type=none
3905fi
3906
3907fi
3908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3909$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3910CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3911
3912 if
3913  test "x$enable_dependency_tracking" != xno \
3914  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3915  am__fastdepCC_TRUE=
3916  am__fastdepCC_FALSE='#'
3917else
3918  am__fastdepCC_TRUE='#'
3919  am__fastdepCC_FALSE=
3920fi
3921
3922
3923ac_ext=c
3924ac_cpp='$CPP $CPPFLAGS'
3925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3927ac_compiler_gnu=$ac_cv_c_compiler_gnu
3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3929$as_echo_n "checking how to run the C preprocessor... " >&6; }
3930# On Suns, sometimes $CPP names a directory.
3931if test -n "$CPP" && test -d "$CPP"; then
3932  CPP=
3933fi
3934if test -z "$CPP"; then
3935  if ${ac_cv_prog_CPP+:} false; then :
3936  $as_echo_n "(cached) " >&6
3937else
3938      # Double quotes because CPP needs to be expanded
3939    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3940    do
3941      ac_preproc_ok=false
3942for ac_c_preproc_warn_flag in '' yes
3943do
3944  # Use a header file that comes with gcc, so configuring glibc
3945  # with a fresh cross-compiler works.
3946  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3947  # <limits.h> exists even on freestanding compilers.
3948  # On the NeXT, cc -E runs the code through the compiler's parser,
3949  # not just through cpp. "Syntax error" is here to catch this case.
3950  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3951/* end confdefs.h.  */
3952#ifdef __STDC__
3953# include <limits.h>
3954#else
3955# include <assert.h>
3956#endif
3957		     Syntax error
3958_ACEOF
3959if ac_fn_c_try_cpp "$LINENO"; then :
3960
3961else
3962  # Broken: fails on valid input.
3963continue
3964fi
3965rm -f conftest.err conftest.i conftest.$ac_ext
3966
3967  # OK, works on sane cases.  Now check whether nonexistent headers
3968  # can be detected and how.
3969  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3970/* end confdefs.h.  */
3971#include <ac_nonexistent.h>
3972_ACEOF
3973if ac_fn_c_try_cpp "$LINENO"; then :
3974  # Broken: success on invalid input.
3975continue
3976else
3977  # Passes both tests.
3978ac_preproc_ok=:
3979break
3980fi
3981rm -f conftest.err conftest.i conftest.$ac_ext
3982
3983done
3984# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3985rm -f conftest.i conftest.err conftest.$ac_ext
3986if $ac_preproc_ok; then :
3987  break
3988fi
3989
3990    done
3991    ac_cv_prog_CPP=$CPP
3992
3993fi
3994  CPP=$ac_cv_prog_CPP
3995else
3996  ac_cv_prog_CPP=$CPP
3997fi
3998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3999$as_echo "$CPP" >&6; }
4000ac_preproc_ok=false
4001for ac_c_preproc_warn_flag in '' yes
4002do
4003  # Use a header file that comes with gcc, so configuring glibc
4004  # with a fresh cross-compiler works.
4005  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4006  # <limits.h> exists even on freestanding compilers.
4007  # On the NeXT, cc -E runs the code through the compiler's parser,
4008  # not just through cpp. "Syntax error" is here to catch this case.
4009  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4010/* end confdefs.h.  */
4011#ifdef __STDC__
4012# include <limits.h>
4013#else
4014# include <assert.h>
4015#endif
4016		     Syntax error
4017_ACEOF
4018if ac_fn_c_try_cpp "$LINENO"; then :
4019
4020else
4021  # Broken: fails on valid input.
4022continue
4023fi
4024rm -f conftest.err conftest.i conftest.$ac_ext
4025
4026  # OK, works on sane cases.  Now check whether nonexistent headers
4027  # can be detected and how.
4028  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4029/* end confdefs.h.  */
4030#include <ac_nonexistent.h>
4031_ACEOF
4032if ac_fn_c_try_cpp "$LINENO"; then :
4033  # Broken: success on invalid input.
4034continue
4035else
4036  # Passes both tests.
4037ac_preproc_ok=:
4038break
4039fi
4040rm -f conftest.err conftest.i conftest.$ac_ext
4041
4042done
4043# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4044rm -f conftest.i conftest.err conftest.$ac_ext
4045if $ac_preproc_ok; then :
4046
4047else
4048  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4049$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4050as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4051See \`config.log' for more details" "$LINENO" 5; }
4052fi
4053
4054ac_ext=c
4055ac_cpp='$CPP $CPPFLAGS'
4056ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4057ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4058ac_compiler_gnu=$ac_cv_c_compiler_gnu
4059
4060
4061# Check whether --enable-static was given.
4062if test "${enable_static+set}" = set; then :
4063  enableval=$enable_static; p=${PACKAGE-default}
4064    case $enableval in
4065    yes) enable_static=yes ;;
4066    no) enable_static=no ;;
4067    *)
4068     enable_static=no
4069      # Look at the argument we got.  We use all the common list separators.
4070      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4071      for pkg in $enableval; do
4072	IFS="$lt_save_ifs"
4073	if test "X$pkg" = "X$p"; then
4074	  enable_static=yes
4075	fi
4076      done
4077      IFS="$lt_save_ifs"
4078      ;;
4079    esac
4080else
4081  enable_static=no
4082fi
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092case `pwd` in
4093  *\ * | *\	*)
4094    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4095$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4096esac
4097
4098
4099
4100macro_version='2.4'
4101macro_revision='1.3293'
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115ltmain="$ac_aux_dir/ltmain.sh"
4116
4117# Backslashify metacharacters that are still active within
4118# double-quoted strings.
4119sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4120
4121# Same as above, but do not quote variable references.
4122double_quote_subst='s/\(["`\\]\)/\\\1/g'
4123
4124# Sed substitution to delay expansion of an escaped shell variable in a
4125# double_quote_subst'ed string.
4126delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4127
4128# Sed substitution to delay expansion of an escaped single quote.
4129delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4130
4131# Sed substitution to avoid accidental globbing in evaled expressions
4132no_glob_subst='s/\*/\\\*/g'
4133
4134ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4135ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4136ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4137
4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4139$as_echo_n "checking how to print strings... " >&6; }
4140# Test print first, because it will be a builtin if present.
4141if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4142   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4143  ECHO='print -r --'
4144elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4145  ECHO='printf %s\n'
4146else
4147  # Use this function as a fallback that always works.
4148  func_fallback_echo ()
4149  {
4150    eval 'cat <<_LTECHO_EOF
4151$1
4152_LTECHO_EOF'
4153  }
4154  ECHO='func_fallback_echo'
4155fi
4156
4157# func_echo_all arg...
4158# Invoke $ECHO with all args, space-separated.
4159func_echo_all ()
4160{
4161    $ECHO ""
4162}
4163
4164case "$ECHO" in
4165  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4166$as_echo "printf" >&6; } ;;
4167  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4168$as_echo "print -r" >&6; } ;;
4169  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4170$as_echo "cat" >&6; } ;;
4171esac
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4187$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4188if ${ac_cv_path_SED+:} false; then :
4189  $as_echo_n "(cached) " >&6
4190else
4191            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4192     for ac_i in 1 2 3 4 5 6 7; do
4193       ac_script="$ac_script$as_nl$ac_script"
4194     done
4195     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4196     { ac_script=; unset ac_script;}
4197     if test -z "$SED"; then
4198  ac_path_SED_found=false
4199  # Loop through the user's path and test for each of PROGNAME-LIST
4200  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201for as_dir in $PATH
4202do
4203  IFS=$as_save_IFS
4204  test -z "$as_dir" && as_dir=.
4205    for ac_prog in sed gsed; do
4206    for ac_exec_ext in '' $ac_executable_extensions; do
4207      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4208      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
4209# Check for GNU ac_path_SED and select it if it is found.
4210  # Check for GNU $ac_path_SED
4211case `"$ac_path_SED" --version 2>&1` in
4212*GNU*)
4213  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4214*)
4215  ac_count=0
4216  $as_echo_n 0123456789 >"conftest.in"
4217  while :
4218  do
4219    cat "conftest.in" "conftest.in" >"conftest.tmp"
4220    mv "conftest.tmp" "conftest.in"
4221    cp "conftest.in" "conftest.nl"
4222    $as_echo '' >> "conftest.nl"
4223    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4224    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4225    as_fn_arith $ac_count + 1 && ac_count=$as_val
4226    if test $ac_count -gt ${ac_path_SED_max-0}; then
4227      # Best one so far, save it but keep looking for a better one
4228      ac_cv_path_SED="$ac_path_SED"
4229      ac_path_SED_max=$ac_count
4230    fi
4231    # 10*(2^10) chars as input seems more than enough
4232    test $ac_count -gt 10 && break
4233  done
4234  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4235esac
4236
4237      $ac_path_SED_found && break 3
4238    done
4239  done
4240  done
4241IFS=$as_save_IFS
4242  if test -z "$ac_cv_path_SED"; then
4243    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4244  fi
4245else
4246  ac_cv_path_SED=$SED
4247fi
4248
4249fi
4250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4251$as_echo "$ac_cv_path_SED" >&6; }
4252 SED="$ac_cv_path_SED"
4253  rm -f conftest.sed
4254
4255test -z "$SED" && SED=sed
4256Xsed="$SED -e 1s/^X//"
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4269$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4270if ${ac_cv_path_GREP+:} false; then :
4271  $as_echo_n "(cached) " >&6
4272else
4273  if test -z "$GREP"; then
4274  ac_path_GREP_found=false
4275  # Loop through the user's path and test for each of PROGNAME-LIST
4276  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4278do
4279  IFS=$as_save_IFS
4280  test -z "$as_dir" && as_dir=.
4281    for ac_prog in grep ggrep; do
4282    for ac_exec_ext in '' $ac_executable_extensions; do
4283      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4284      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4285# Check for GNU ac_path_GREP and select it if it is found.
4286  # Check for GNU $ac_path_GREP
4287case `"$ac_path_GREP" --version 2>&1` in
4288*GNU*)
4289  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4290*)
4291  ac_count=0
4292  $as_echo_n 0123456789 >"conftest.in"
4293  while :
4294  do
4295    cat "conftest.in" "conftest.in" >"conftest.tmp"
4296    mv "conftest.tmp" "conftest.in"
4297    cp "conftest.in" "conftest.nl"
4298    $as_echo 'GREP' >> "conftest.nl"
4299    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4300    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4301    as_fn_arith $ac_count + 1 && ac_count=$as_val
4302    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4303      # Best one so far, save it but keep looking for a better one
4304      ac_cv_path_GREP="$ac_path_GREP"
4305      ac_path_GREP_max=$ac_count
4306    fi
4307    # 10*(2^10) chars as input seems more than enough
4308    test $ac_count -gt 10 && break
4309  done
4310  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4311esac
4312
4313      $ac_path_GREP_found && break 3
4314    done
4315  done
4316  done
4317IFS=$as_save_IFS
4318  if test -z "$ac_cv_path_GREP"; then
4319    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4320  fi
4321else
4322  ac_cv_path_GREP=$GREP
4323fi
4324
4325fi
4326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4327$as_echo "$ac_cv_path_GREP" >&6; }
4328 GREP="$ac_cv_path_GREP"
4329
4330
4331{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4332$as_echo_n "checking for egrep... " >&6; }
4333if ${ac_cv_path_EGREP+:} false; then :
4334  $as_echo_n "(cached) " >&6
4335else
4336  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4337   then ac_cv_path_EGREP="$GREP -E"
4338   else
4339     if test -z "$EGREP"; then
4340  ac_path_EGREP_found=false
4341  # Loop through the user's path and test for each of PROGNAME-LIST
4342  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4344do
4345  IFS=$as_save_IFS
4346  test -z "$as_dir" && as_dir=.
4347    for ac_prog in egrep; do
4348    for ac_exec_ext in '' $ac_executable_extensions; do
4349      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4350      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4351# Check for GNU ac_path_EGREP and select it if it is found.
4352  # Check for GNU $ac_path_EGREP
4353case `"$ac_path_EGREP" --version 2>&1` in
4354*GNU*)
4355  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4356*)
4357  ac_count=0
4358  $as_echo_n 0123456789 >"conftest.in"
4359  while :
4360  do
4361    cat "conftest.in" "conftest.in" >"conftest.tmp"
4362    mv "conftest.tmp" "conftest.in"
4363    cp "conftest.in" "conftest.nl"
4364    $as_echo 'EGREP' >> "conftest.nl"
4365    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4366    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4367    as_fn_arith $ac_count + 1 && ac_count=$as_val
4368    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4369      # Best one so far, save it but keep looking for a better one
4370      ac_cv_path_EGREP="$ac_path_EGREP"
4371      ac_path_EGREP_max=$ac_count
4372    fi
4373    # 10*(2^10) chars as input seems more than enough
4374    test $ac_count -gt 10 && break
4375  done
4376  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4377esac
4378
4379      $ac_path_EGREP_found && break 3
4380    done
4381  done
4382  done
4383IFS=$as_save_IFS
4384  if test -z "$ac_cv_path_EGREP"; then
4385    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4386  fi
4387else
4388  ac_cv_path_EGREP=$EGREP
4389fi
4390
4391   fi
4392fi
4393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4394$as_echo "$ac_cv_path_EGREP" >&6; }
4395 EGREP="$ac_cv_path_EGREP"
4396
4397
4398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4399$as_echo_n "checking for fgrep... " >&6; }
4400if ${ac_cv_path_FGREP+:} false; then :
4401  $as_echo_n "(cached) " >&6
4402else
4403  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4404   then ac_cv_path_FGREP="$GREP -F"
4405   else
4406     if test -z "$FGREP"; then
4407  ac_path_FGREP_found=false
4408  # Loop through the user's path and test for each of PROGNAME-LIST
4409  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4410for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4411do
4412  IFS=$as_save_IFS
4413  test -z "$as_dir" && as_dir=.
4414    for ac_prog in fgrep; do
4415    for ac_exec_ext in '' $ac_executable_extensions; do
4416      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4417      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
4418# Check for GNU ac_path_FGREP and select it if it is found.
4419  # Check for GNU $ac_path_FGREP
4420case `"$ac_path_FGREP" --version 2>&1` in
4421*GNU*)
4422  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4423*)
4424  ac_count=0
4425  $as_echo_n 0123456789 >"conftest.in"
4426  while :
4427  do
4428    cat "conftest.in" "conftest.in" >"conftest.tmp"
4429    mv "conftest.tmp" "conftest.in"
4430    cp "conftest.in" "conftest.nl"
4431    $as_echo 'FGREP' >> "conftest.nl"
4432    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4433    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4434    as_fn_arith $ac_count + 1 && ac_count=$as_val
4435    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4436      # Best one so far, save it but keep looking for a better one
4437      ac_cv_path_FGREP="$ac_path_FGREP"
4438      ac_path_FGREP_max=$ac_count
4439    fi
4440    # 10*(2^10) chars as input seems more than enough
4441    test $ac_count -gt 10 && break
4442  done
4443  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4444esac
4445
4446      $ac_path_FGREP_found && break 3
4447    done
4448  done
4449  done
4450IFS=$as_save_IFS
4451  if test -z "$ac_cv_path_FGREP"; then
4452    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4453  fi
4454else
4455  ac_cv_path_FGREP=$FGREP
4456fi
4457
4458   fi
4459fi
4460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4461$as_echo "$ac_cv_path_FGREP" >&6; }
4462 FGREP="$ac_cv_path_FGREP"
4463
4464
4465test -z "$GREP" && GREP=grep
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485# Check whether --with-gnu-ld was given.
4486if test "${with_gnu_ld+set}" = set; then :
4487  withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
4488else
4489  with_gnu_ld=no
4490fi
4491
4492ac_prog=ld
4493if test "$GCC" = yes; then
4494  # Check if gcc -print-prog-name=ld gives a path.
4495  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4496$as_echo_n "checking for ld used by $CC... " >&6; }
4497  case $host in
4498  *-*-mingw*)
4499    # gcc leaves a trailing carriage return which upsets mingw
4500    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4501  *)
4502    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4503  esac
4504  case $ac_prog in
4505    # Accept absolute paths.
4506    [\\/]* | ?:[\\/]*)
4507      re_direlt='/[^/][^/]*/\.\./'
4508      # Canonicalize the pathname of ld
4509      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4510      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4511	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4512      done
4513      test -z "$LD" && LD="$ac_prog"
4514      ;;
4515  "")
4516    # If it fails, then pretend we aren't using GCC.
4517    ac_prog=ld
4518    ;;
4519  *)
4520    # If it is relative, then search for the first ld in PATH.
4521    with_gnu_ld=unknown
4522    ;;
4523  esac
4524elif test "$with_gnu_ld" = yes; then
4525  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4526$as_echo_n "checking for GNU ld... " >&6; }
4527else
4528  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4529$as_echo_n "checking for non-GNU ld... " >&6; }
4530fi
4531if ${lt_cv_path_LD+:} false; then :
4532  $as_echo_n "(cached) " >&6
4533else
4534  if test -z "$LD"; then
4535  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4536  for ac_dir in $PATH; do
4537    IFS="$lt_save_ifs"
4538    test -z "$ac_dir" && ac_dir=.
4539    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4540      lt_cv_path_LD="$ac_dir/$ac_prog"
4541      # Check to see if the program is GNU ld.  I'd rather use --version,
4542      # but apparently some variants of GNU ld only accept -v.
4543      # Break only if it was the GNU/non-GNU ld that we prefer.
4544      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4545      *GNU* | *'with BFD'*)
4546	test "$with_gnu_ld" != no && break
4547	;;
4548      *)
4549	test "$with_gnu_ld" != yes && break
4550	;;
4551      esac
4552    fi
4553  done
4554  IFS="$lt_save_ifs"
4555else
4556  lt_cv_path_LD="$LD" # Let the user override the test with a path.
4557fi
4558fi
4559
4560LD="$lt_cv_path_LD"
4561if test -n "$LD"; then
4562  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4563$as_echo "$LD" >&6; }
4564else
4565  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566$as_echo "no" >&6; }
4567fi
4568test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4570$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4571if ${lt_cv_prog_gnu_ld+:} false; then :
4572  $as_echo_n "(cached) " >&6
4573else
4574  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4575case `$LD -v 2>&1 </dev/null` in
4576*GNU* | *'with BFD'*)
4577  lt_cv_prog_gnu_ld=yes
4578  ;;
4579*)
4580  lt_cv_prog_gnu_ld=no
4581  ;;
4582esac
4583fi
4584{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4585$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4586with_gnu_ld=$lt_cv_prog_gnu_ld
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4597$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4598if ${lt_cv_path_NM+:} false; then :
4599  $as_echo_n "(cached) " >&6
4600else
4601  if test -n "$NM"; then
4602  # Let the user override the test.
4603  lt_cv_path_NM="$NM"
4604else
4605  lt_nm_to_check="${ac_tool_prefix}nm"
4606  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4607    lt_nm_to_check="$lt_nm_to_check nm"
4608  fi
4609  for lt_tmp_nm in $lt_nm_to_check; do
4610    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4611    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4612      IFS="$lt_save_ifs"
4613      test -z "$ac_dir" && ac_dir=.
4614      tmp_nm="$ac_dir/$lt_tmp_nm"
4615      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4616	# Check to see if the nm accepts a BSD-compat flag.
4617	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
4618	#   nm: unknown option "B" ignored
4619	# Tru64's nm complains that /dev/null is an invalid object file
4620	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4621	*/dev/null* | *'Invalid file or object type'*)
4622	  lt_cv_path_NM="$tmp_nm -B"
4623	  break
4624	  ;;
4625	*)
4626	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4627	  */dev/null*)
4628	    lt_cv_path_NM="$tmp_nm -p"
4629	    break
4630	    ;;
4631	  *)
4632	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4633	    continue # so that we can try to find one that supports BSD flags
4634	    ;;
4635	  esac
4636	  ;;
4637	esac
4638      fi
4639    done
4640    IFS="$lt_save_ifs"
4641  done
4642  : ${lt_cv_path_NM=no}
4643fi
4644fi
4645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4646$as_echo "$lt_cv_path_NM" >&6; }
4647if test "$lt_cv_path_NM" != "no"; then
4648  NM="$lt_cv_path_NM"
4649else
4650  # Didn't find any BSD compatible name lister, look for dumpbin.
4651  if test -n "$DUMPBIN"; then :
4652    # Let the user override the test.
4653  else
4654    if test -n "$ac_tool_prefix"; then
4655  for ac_prog in dumpbin "link -dump"
4656  do
4657    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4658set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4660$as_echo_n "checking for $ac_word... " >&6; }
4661if ${ac_cv_prog_DUMPBIN+:} false; then :
4662  $as_echo_n "(cached) " >&6
4663else
4664  if test -n "$DUMPBIN"; then
4665  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4666else
4667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4668for as_dir in $PATH
4669do
4670  IFS=$as_save_IFS
4671  test -z "$as_dir" && as_dir=.
4672    for ac_exec_ext in '' $ac_executable_extensions; do
4673  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4675    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4676    break 2
4677  fi
4678done
4679  done
4680IFS=$as_save_IFS
4681
4682fi
4683fi
4684DUMPBIN=$ac_cv_prog_DUMPBIN
4685if test -n "$DUMPBIN"; then
4686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4687$as_echo "$DUMPBIN" >&6; }
4688else
4689  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4690$as_echo "no" >&6; }
4691fi
4692
4693
4694    test -n "$DUMPBIN" && break
4695  done
4696fi
4697if test -z "$DUMPBIN"; then
4698  ac_ct_DUMPBIN=$DUMPBIN
4699  for ac_prog in dumpbin "link -dump"
4700do
4701  # Extract the first word of "$ac_prog", so it can be a program name with args.
4702set dummy $ac_prog; ac_word=$2
4703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4704$as_echo_n "checking for $ac_word... " >&6; }
4705if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4706  $as_echo_n "(cached) " >&6
4707else
4708  if test -n "$ac_ct_DUMPBIN"; then
4709  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4710else
4711as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4712for as_dir in $PATH
4713do
4714  IFS=$as_save_IFS
4715  test -z "$as_dir" && as_dir=.
4716    for ac_exec_ext in '' $ac_executable_extensions; do
4717  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4718    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4719    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4720    break 2
4721  fi
4722done
4723  done
4724IFS=$as_save_IFS
4725
4726fi
4727fi
4728ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4729if test -n "$ac_ct_DUMPBIN"; then
4730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4731$as_echo "$ac_ct_DUMPBIN" >&6; }
4732else
4733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4734$as_echo "no" >&6; }
4735fi
4736
4737
4738  test -n "$ac_ct_DUMPBIN" && break
4739done
4740
4741  if test "x$ac_ct_DUMPBIN" = x; then
4742    DUMPBIN=":"
4743  else
4744    case $cross_compiling:$ac_tool_warned in
4745yes:)
4746{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4747$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4748ac_tool_warned=yes ;;
4749esac
4750    DUMPBIN=$ac_ct_DUMPBIN
4751  fi
4752fi
4753
4754    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
4755    *COFF*)
4756      DUMPBIN="$DUMPBIN -symbols"
4757      ;;
4758    *)
4759      DUMPBIN=:
4760      ;;
4761    esac
4762  fi
4763
4764  if test "$DUMPBIN" != ":"; then
4765    NM="$DUMPBIN"
4766  fi
4767fi
4768test -z "$NM" && NM=nm
4769
4770
4771
4772
4773
4774
4775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4776$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4777if ${lt_cv_nm_interface+:} false; then :
4778  $as_echo_n "(cached) " >&6
4779else
4780  lt_cv_nm_interface="BSD nm"
4781  echo "int some_variable = 0;" > conftest.$ac_ext
4782  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4783  (eval "$ac_compile" 2>conftest.err)
4784  cat conftest.err >&5
4785  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4786  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4787  cat conftest.err >&5
4788  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4789  cat conftest.out >&5
4790  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4791    lt_cv_nm_interface="MS dumpbin"
4792  fi
4793  rm -f conftest*
4794fi
4795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4796$as_echo "$lt_cv_nm_interface" >&6; }
4797
4798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4799$as_echo_n "checking whether ln -s works... " >&6; }
4800LN_S=$as_ln_s
4801if test "$LN_S" = "ln -s"; then
4802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4803$as_echo "yes" >&6; }
4804else
4805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4806$as_echo "no, using $LN_S" >&6; }
4807fi
4808
4809# find the maximum length of command line arguments
4810{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4811$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4812if ${lt_cv_sys_max_cmd_len+:} false; then :
4813  $as_echo_n "(cached) " >&6
4814else
4815    i=0
4816  teststring="ABCD"
4817
4818  case $build_os in
4819  msdosdjgpp*)
4820    # On DJGPP, this test can blow up pretty badly due to problems in libc
4821    # (any single argument exceeding 2000 bytes causes a buffer overrun
4822    # during glob expansion).  Even if it were fixed, the result of this
4823    # check would be larger than it should be.
4824    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4825    ;;
4826
4827  gnu*)
4828    # Under GNU Hurd, this test is not required because there is
4829    # no limit to the length of command line arguments.
4830    # Libtool will interpret -1 as no limit whatsoever
4831    lt_cv_sys_max_cmd_len=-1;
4832    ;;
4833
4834  cygwin* | mingw* | cegcc*)
4835    # On Win9x/ME, this test blows up -- it succeeds, but takes
4836    # about 5 minutes as the teststring grows exponentially.
4837    # Worse, since 9x/ME are not pre-emptively multitasking,
4838    # you end up with a "frozen" computer, even though with patience
4839    # the test eventually succeeds (with a max line length of 256k).
4840    # Instead, let's just punt: use the minimum linelength reported by
4841    # all of the supported platforms: 8192 (on NT/2K/XP).
4842    lt_cv_sys_max_cmd_len=8192;
4843    ;;
4844
4845  mint*)
4846    # On MiNT this can take a long time and run out of memory.
4847    lt_cv_sys_max_cmd_len=8192;
4848    ;;
4849
4850  amigaos*)
4851    # On AmigaOS with pdksh, this test takes hours, literally.
4852    # So we just punt and use a minimum line length of 8192.
4853    lt_cv_sys_max_cmd_len=8192;
4854    ;;
4855
4856  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4857    # This has been around since 386BSD, at least.  Likely further.
4858    if test -x /sbin/sysctl; then
4859      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4860    elif test -x /usr/sbin/sysctl; then
4861      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4862    else
4863      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4864    fi
4865    # And add a safety zone
4866    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4867    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4868    ;;
4869
4870  interix*)
4871    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4872    lt_cv_sys_max_cmd_len=196608
4873    ;;
4874
4875  osf*)
4876    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4877    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4878    # nice to cause kernel panics so lets avoid the loop below.
4879    # First set a reasonable default.
4880    lt_cv_sys_max_cmd_len=16384
4881    #
4882    if test -x /sbin/sysconfig; then
4883      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4884        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4885      esac
4886    fi
4887    ;;
4888  sco3.2v5*)
4889    lt_cv_sys_max_cmd_len=102400
4890    ;;
4891  sysv5* | sco5v6* | sysv4.2uw2*)
4892    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4893    if test -n "$kargmax"; then
4894      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4895    else
4896      lt_cv_sys_max_cmd_len=32768
4897    fi
4898    ;;
4899  *)
4900    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4901    if test -n "$lt_cv_sys_max_cmd_len"; then
4902      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4903      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4904    else
4905      # Make teststring a little bigger before we do anything with it.
4906      # a 1K string should be a reasonable start.
4907      for i in 1 2 3 4 5 6 7 8 ; do
4908        teststring=$teststring$teststring
4909      done
4910      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4911      # If test is not a shell built-in, we'll probably end up computing a
4912      # maximum length that is only half of the actual maximum length, but
4913      # we can't tell.
4914      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
4915	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4916	      test $i != 17 # 1/2 MB should be enough
4917      do
4918        i=`expr $i + 1`
4919        teststring=$teststring$teststring
4920      done
4921      # Only check the string length outside the loop.
4922      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4923      teststring=
4924      # Add a significant safety factor because C++ compilers can tack on
4925      # massive amounts of additional arguments before passing them to the
4926      # linker.  It appears as though 1/2 is a usable value.
4927      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4928    fi
4929    ;;
4930  esac
4931
4932fi
4933
4934if test -n $lt_cv_sys_max_cmd_len ; then
4935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4936$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4937else
4938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4939$as_echo "none" >&6; }
4940fi
4941max_cmd_len=$lt_cv_sys_max_cmd_len
4942
4943
4944
4945
4946
4947
4948: ${CP="cp -f"}
4949: ${MV="mv -f"}
4950: ${RM="rm -f"}
4951
4952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
4953$as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
4954# Try some XSI features
4955xsi_shell=no
4956( _lt_dummy="a/b/c"
4957  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
4958      = c,a/b,b/c, \
4959    && eval 'test $(( 1 + 1 )) -eq 2 \
4960    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4961  && xsi_shell=yes
4962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
4963$as_echo "$xsi_shell" >&6; }
4964
4965
4966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
4967$as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
4968lt_shell_append=no
4969( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4970    >/dev/null 2>&1 \
4971  && lt_shell_append=yes
4972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
4973$as_echo "$lt_shell_append" >&6; }
4974
4975
4976if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4977  lt_unset=unset
4978else
4979  lt_unset=false
4980fi
4981
4982
4983
4984
4985
4986# test EBCDIC or ASCII
4987case `echo X|tr X '\101'` in
4988 A) # ASCII based system
4989    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4990  lt_SP2NL='tr \040 \012'
4991  lt_NL2SP='tr \015\012 \040\040'
4992  ;;
4993 *) # EBCDIC based system
4994  lt_SP2NL='tr \100 \n'
4995  lt_NL2SP='tr \r\n \100\100'
4996  ;;
4997esac
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5008$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5009if ${lt_cv_to_host_file_cmd+:} false; then :
5010  $as_echo_n "(cached) " >&6
5011else
5012  case $host in
5013  *-*-mingw* )
5014    case $build in
5015      *-*-mingw* ) # actually msys
5016        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5017        ;;
5018      *-*-cygwin* )
5019        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5020        ;;
5021      * ) # otherwise, assume *nix
5022        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5023        ;;
5024    esac
5025    ;;
5026  *-*-cygwin* )
5027    case $build in
5028      *-*-mingw* ) # actually msys
5029        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5030        ;;
5031      *-*-cygwin* )
5032        lt_cv_to_host_file_cmd=func_convert_file_noop
5033        ;;
5034      * ) # otherwise, assume *nix
5035        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5036        ;;
5037    esac
5038    ;;
5039  * ) # unhandled hosts (and "normal" native builds)
5040    lt_cv_to_host_file_cmd=func_convert_file_noop
5041    ;;
5042esac
5043
5044fi
5045
5046to_host_file_cmd=$lt_cv_to_host_file_cmd
5047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5048$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5049
5050
5051
5052
5053
5054{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5055$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5056if ${lt_cv_to_tool_file_cmd+:} false; then :
5057  $as_echo_n "(cached) " >&6
5058else
5059  #assume ordinary cross tools, or native build.
5060lt_cv_to_tool_file_cmd=func_convert_file_noop
5061case $host in
5062  *-*-mingw* )
5063    case $build in
5064      *-*-mingw* ) # actually msys
5065        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5066        ;;
5067    esac
5068    ;;
5069esac
5070
5071fi
5072
5073to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5075$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5076
5077
5078
5079
5080
5081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5082$as_echo_n "checking for $LD option to reload object files... " >&6; }
5083if ${lt_cv_ld_reload_flag+:} false; then :
5084  $as_echo_n "(cached) " >&6
5085else
5086  lt_cv_ld_reload_flag='-r'
5087fi
5088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5089$as_echo "$lt_cv_ld_reload_flag" >&6; }
5090reload_flag=$lt_cv_ld_reload_flag
5091case $reload_flag in
5092"" | " "*) ;;
5093*) reload_flag=" $reload_flag" ;;
5094esac
5095reload_cmds='$LD$reload_flag -o $output$reload_objs'
5096case $host_os in
5097  cygwin* | mingw* | pw32* | cegcc*)
5098    if test "$GCC" != yes; then
5099      reload_cmds=false
5100    fi
5101    ;;
5102  darwin*)
5103    if test "$GCC" = yes; then
5104      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5105    else
5106      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5107    fi
5108    ;;
5109esac
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119if test -n "$ac_tool_prefix"; then
5120  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5121set dummy ${ac_tool_prefix}objdump; ac_word=$2
5122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123$as_echo_n "checking for $ac_word... " >&6; }
5124if ${ac_cv_prog_OBJDUMP+:} false; then :
5125  $as_echo_n "(cached) " >&6
5126else
5127  if test -n "$OBJDUMP"; then
5128  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5129else
5130as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131for as_dir in $PATH
5132do
5133  IFS=$as_save_IFS
5134  test -z "$as_dir" && as_dir=.
5135    for ac_exec_ext in '' $ac_executable_extensions; do
5136  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5138    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139    break 2
5140  fi
5141done
5142  done
5143IFS=$as_save_IFS
5144
5145fi
5146fi
5147OBJDUMP=$ac_cv_prog_OBJDUMP
5148if test -n "$OBJDUMP"; then
5149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5150$as_echo "$OBJDUMP" >&6; }
5151else
5152  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153$as_echo "no" >&6; }
5154fi
5155
5156
5157fi
5158if test -z "$ac_cv_prog_OBJDUMP"; then
5159  ac_ct_OBJDUMP=$OBJDUMP
5160  # Extract the first word of "objdump", so it can be a program name with args.
5161set dummy objdump; ac_word=$2
5162{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163$as_echo_n "checking for $ac_word... " >&6; }
5164if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5165  $as_echo_n "(cached) " >&6
5166else
5167  if test -n "$ac_ct_OBJDUMP"; then
5168  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5169else
5170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171for as_dir in $PATH
5172do
5173  IFS=$as_save_IFS
5174  test -z "$as_dir" && as_dir=.
5175    for ac_exec_ext in '' $ac_executable_extensions; do
5176  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5178    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179    break 2
5180  fi
5181done
5182  done
5183IFS=$as_save_IFS
5184
5185fi
5186fi
5187ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5188if test -n "$ac_ct_OBJDUMP"; then
5189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5190$as_echo "$ac_ct_OBJDUMP" >&6; }
5191else
5192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193$as_echo "no" >&6; }
5194fi
5195
5196  if test "x$ac_ct_OBJDUMP" = x; then
5197    OBJDUMP="false"
5198  else
5199    case $cross_compiling:$ac_tool_warned in
5200yes:)
5201{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203ac_tool_warned=yes ;;
5204esac
5205    OBJDUMP=$ac_ct_OBJDUMP
5206  fi
5207else
5208  OBJDUMP="$ac_cv_prog_OBJDUMP"
5209fi
5210
5211test -z "$OBJDUMP" && OBJDUMP=objdump
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5222$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5223if ${lt_cv_deplibs_check_method+:} false; then :
5224  $as_echo_n "(cached) " >&6
5225else
5226  lt_cv_file_magic_cmd='$MAGIC_CMD'
5227lt_cv_file_magic_test_file=
5228lt_cv_deplibs_check_method='unknown'
5229# Need to set the preceding variable on all platforms that support
5230# interlibrary dependencies.
5231# 'none' -- dependencies not supported.
5232# `unknown' -- same as none, but documents that we really don't know.
5233# 'pass_all' -- all dependencies passed with no checks.
5234# 'test_compile' -- check by making test program.
5235# 'file_magic [[regex]]' -- check by looking for files in library path
5236# which responds to the $file_magic_cmd with a given extended regex.
5237# If you have `file' or equivalent on your system and you're not sure
5238# whether `pass_all' will *always* work, you probably want this one.
5239
5240case $host_os in
5241aix[4-9]*)
5242  lt_cv_deplibs_check_method=pass_all
5243  ;;
5244
5245beos*)
5246  lt_cv_deplibs_check_method=pass_all
5247  ;;
5248
5249bsdi[45]*)
5250  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5251  lt_cv_file_magic_cmd='/usr/bin/file -L'
5252  lt_cv_file_magic_test_file=/shlib/libc.so
5253  ;;
5254
5255cygwin*)
5256  # func_win32_libid is a shell function defined in ltmain.sh
5257  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5258  lt_cv_file_magic_cmd='func_win32_libid'
5259  ;;
5260
5261mingw* | pw32*)
5262  # Base MSYS/MinGW do not provide the 'file' command needed by
5263  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5264  # unless we find 'file', for example because we are cross-compiling.
5265  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
5266  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5267    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5268    lt_cv_file_magic_cmd='func_win32_libid'
5269  else
5270    # Keep this pattern in sync with the one in func_win32_libid.
5271    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5272    lt_cv_file_magic_cmd='$OBJDUMP -f'
5273  fi
5274  ;;
5275
5276cegcc*)
5277  # use the weaker test based on 'objdump'. See mingw*.
5278  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5279  lt_cv_file_magic_cmd='$OBJDUMP -f'
5280  ;;
5281
5282darwin* | rhapsody*)
5283  lt_cv_deplibs_check_method=pass_all
5284  ;;
5285
5286freebsd* | dragonfly*)
5287  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5288    case $host_cpu in
5289    i*86 )
5290      # Not sure whether the presence of OpenBSD here was a mistake.
5291      # Let's accept both of them until this is cleared up.
5292      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5293      lt_cv_file_magic_cmd=/usr/bin/file
5294      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5295      ;;
5296    esac
5297  else
5298    lt_cv_deplibs_check_method=pass_all
5299  fi
5300  ;;
5301
5302gnu*)
5303  lt_cv_deplibs_check_method=pass_all
5304  ;;
5305
5306haiku*)
5307  lt_cv_deplibs_check_method=pass_all
5308  ;;
5309
5310hpux10.20* | hpux11*)
5311  lt_cv_file_magic_cmd=/usr/bin/file
5312  case $host_cpu in
5313  ia64*)
5314    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5315    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5316    ;;
5317  hppa*64*)
5318    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
5319    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5320    ;;
5321  *)
5322    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5323    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5324    ;;
5325  esac
5326  ;;
5327
5328interix[3-9]*)
5329  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5330  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5331  ;;
5332
5333irix5* | irix6* | nonstopux*)
5334  case $LD in
5335  *-32|*"-32 ") libmagic=32-bit;;
5336  *-n32|*"-n32 ") libmagic=N32;;
5337  *-64|*"-64 ") libmagic=64-bit;;
5338  *) libmagic=never-match;;
5339  esac
5340  lt_cv_deplibs_check_method=pass_all
5341  ;;
5342
5343# This must be Linux ELF.
5344linux* | k*bsd*-gnu | kopensolaris*-gnu)
5345  lt_cv_deplibs_check_method=pass_all
5346  ;;
5347
5348netbsd*)
5349  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5350    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5351  else
5352    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5353  fi
5354  ;;
5355
5356newos6*)
5357  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5358  lt_cv_file_magic_cmd=/usr/bin/file
5359  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5360  ;;
5361
5362*nto* | *qnx*)
5363  lt_cv_deplibs_check_method=pass_all
5364  ;;
5365
5366openbsd*)
5367  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5368    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5369  else
5370    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5371  fi
5372  ;;
5373
5374osf3* | osf4* | osf5*)
5375  lt_cv_deplibs_check_method=pass_all
5376  ;;
5377
5378rdos*)
5379  lt_cv_deplibs_check_method=pass_all
5380  ;;
5381
5382solaris*)
5383  lt_cv_deplibs_check_method=pass_all
5384  ;;
5385
5386sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5387  lt_cv_deplibs_check_method=pass_all
5388  ;;
5389
5390sysv4 | sysv4.3*)
5391  case $host_vendor in
5392  motorola)
5393    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]'
5394    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5395    ;;
5396  ncr)
5397    lt_cv_deplibs_check_method=pass_all
5398    ;;
5399  sequent)
5400    lt_cv_file_magic_cmd='/bin/file'
5401    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5402    ;;
5403  sni)
5404    lt_cv_file_magic_cmd='/bin/file'
5405    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5406    lt_cv_file_magic_test_file=/lib/libc.so
5407    ;;
5408  siemens)
5409    lt_cv_deplibs_check_method=pass_all
5410    ;;
5411  pc)
5412    lt_cv_deplibs_check_method=pass_all
5413    ;;
5414  esac
5415  ;;
5416
5417tpf*)
5418  lt_cv_deplibs_check_method=pass_all
5419  ;;
5420esac
5421
5422fi
5423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5424$as_echo "$lt_cv_deplibs_check_method" >&6; }
5425
5426file_magic_glob=
5427want_nocaseglob=no
5428if test "$build" = "$host"; then
5429  case $host_os in
5430  mingw* | pw32*)
5431    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5432      want_nocaseglob=yes
5433    else
5434      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5435    fi
5436    ;;
5437  esac
5438fi
5439
5440file_magic_cmd=$lt_cv_file_magic_cmd
5441deplibs_check_method=$lt_cv_deplibs_check_method
5442test -z "$deplibs_check_method" && deplibs_check_method=unknown
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465if test -n "$ac_tool_prefix"; then
5466  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5467set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5469$as_echo_n "checking for $ac_word... " >&6; }
5470if ${ac_cv_prog_DLLTOOL+:} false; then :
5471  $as_echo_n "(cached) " >&6
5472else
5473  if test -n "$DLLTOOL"; then
5474  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5475else
5476as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477for as_dir in $PATH
5478do
5479  IFS=$as_save_IFS
5480  test -z "$as_dir" && as_dir=.
5481    for ac_exec_ext in '' $ac_executable_extensions; do
5482  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5484    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5485    break 2
5486  fi
5487done
5488  done
5489IFS=$as_save_IFS
5490
5491fi
5492fi
5493DLLTOOL=$ac_cv_prog_DLLTOOL
5494if test -n "$DLLTOOL"; then
5495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5496$as_echo "$DLLTOOL" >&6; }
5497else
5498  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5499$as_echo "no" >&6; }
5500fi
5501
5502
5503fi
5504if test -z "$ac_cv_prog_DLLTOOL"; then
5505  ac_ct_DLLTOOL=$DLLTOOL
5506  # Extract the first word of "dlltool", so it can be a program name with args.
5507set dummy dlltool; ac_word=$2
5508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5509$as_echo_n "checking for $ac_word... " >&6; }
5510if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5511  $as_echo_n "(cached) " >&6
5512else
5513  if test -n "$ac_ct_DLLTOOL"; then
5514  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5515else
5516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517for as_dir in $PATH
5518do
5519  IFS=$as_save_IFS
5520  test -z "$as_dir" && as_dir=.
5521    for ac_exec_ext in '' $ac_executable_extensions; do
5522  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5524    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5525    break 2
5526  fi
5527done
5528  done
5529IFS=$as_save_IFS
5530
5531fi
5532fi
5533ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5534if test -n "$ac_ct_DLLTOOL"; then
5535  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5536$as_echo "$ac_ct_DLLTOOL" >&6; }
5537else
5538  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5539$as_echo "no" >&6; }
5540fi
5541
5542  if test "x$ac_ct_DLLTOOL" = x; then
5543    DLLTOOL="false"
5544  else
5545    case $cross_compiling:$ac_tool_warned in
5546yes:)
5547{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5548$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5549ac_tool_warned=yes ;;
5550esac
5551    DLLTOOL=$ac_ct_DLLTOOL
5552  fi
5553else
5554  DLLTOOL="$ac_cv_prog_DLLTOOL"
5555fi
5556
5557test -z "$DLLTOOL" && DLLTOOL=dlltool
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5569$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5570if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5571  $as_echo_n "(cached) " >&6
5572else
5573  lt_cv_sharedlib_from_linklib_cmd='unknown'
5574
5575case $host_os in
5576cygwin* | mingw* | pw32* | cegcc*)
5577  # two different shell functions defined in ltmain.sh
5578  # decide which to use based on capabilities of $DLLTOOL
5579  case `$DLLTOOL --help 2>&1` in
5580  *--identify-strict*)
5581    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5582    ;;
5583  *)
5584    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5585    ;;
5586  esac
5587  ;;
5588*)
5589  # fallback: assume linklib IS sharedlib
5590  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
5591  ;;
5592esac
5593
5594fi
5595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5596$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5597sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5598test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5599
5600
5601
5602
5603
5604
5605
5606
5607if test -n "$ac_tool_prefix"; then
5608  for ac_prog in ar
5609  do
5610    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5611set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5613$as_echo_n "checking for $ac_word... " >&6; }
5614if ${ac_cv_prog_AR+:} false; then :
5615  $as_echo_n "(cached) " >&6
5616else
5617  if test -n "$AR"; then
5618  ac_cv_prog_AR="$AR" # Let the user override the test.
5619else
5620as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621for as_dir in $PATH
5622do
5623  IFS=$as_save_IFS
5624  test -z "$as_dir" && as_dir=.
5625    for ac_exec_ext in '' $ac_executable_extensions; do
5626  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5627    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5628    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5629    break 2
5630  fi
5631done
5632  done
5633IFS=$as_save_IFS
5634
5635fi
5636fi
5637AR=$ac_cv_prog_AR
5638if test -n "$AR"; then
5639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5640$as_echo "$AR" >&6; }
5641else
5642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643$as_echo "no" >&6; }
5644fi
5645
5646
5647    test -n "$AR" && break
5648  done
5649fi
5650if test -z "$AR"; then
5651  ac_ct_AR=$AR
5652  for ac_prog in ar
5653do
5654  # Extract the first word of "$ac_prog", so it can be a program name with args.
5655set dummy $ac_prog; ac_word=$2
5656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5657$as_echo_n "checking for $ac_word... " >&6; }
5658if ${ac_cv_prog_ac_ct_AR+:} false; then :
5659  $as_echo_n "(cached) " >&6
5660else
5661  if test -n "$ac_ct_AR"; then
5662  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5663else
5664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5665for as_dir in $PATH
5666do
5667  IFS=$as_save_IFS
5668  test -z "$as_dir" && as_dir=.
5669    for ac_exec_ext in '' $ac_executable_extensions; do
5670  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5671    ac_cv_prog_ac_ct_AR="$ac_prog"
5672    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5673    break 2
5674  fi
5675done
5676  done
5677IFS=$as_save_IFS
5678
5679fi
5680fi
5681ac_ct_AR=$ac_cv_prog_ac_ct_AR
5682if test -n "$ac_ct_AR"; then
5683  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5684$as_echo "$ac_ct_AR" >&6; }
5685else
5686  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5687$as_echo "no" >&6; }
5688fi
5689
5690
5691  test -n "$ac_ct_AR" && break
5692done
5693
5694  if test "x$ac_ct_AR" = x; then
5695    AR="false"
5696  else
5697    case $cross_compiling:$ac_tool_warned in
5698yes:)
5699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5701ac_tool_warned=yes ;;
5702esac
5703    AR=$ac_ct_AR
5704  fi
5705fi
5706
5707: ${AR=ar}
5708: ${AR_FLAGS=cru}
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5721$as_echo_n "checking for archiver @FILE support... " >&6; }
5722if ${lt_cv_ar_at_file+:} false; then :
5723  $as_echo_n "(cached) " >&6
5724else
5725  lt_cv_ar_at_file=no
5726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5727/* end confdefs.h.  */
5728
5729int
5730main ()
5731{
5732
5733  ;
5734  return 0;
5735}
5736_ACEOF
5737if ac_fn_c_try_compile "$LINENO"; then :
5738  echo conftest.$ac_objext > conftest.lst
5739      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5740      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5741  (eval $lt_ar_try) 2>&5
5742  ac_status=$?
5743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5744  test $ac_status = 0; }
5745      if test "$ac_status" -eq 0; then
5746	# Ensure the archiver fails upon bogus file names.
5747	rm -f conftest.$ac_objext libconftest.a
5748	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5749  (eval $lt_ar_try) 2>&5
5750  ac_status=$?
5751  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5752  test $ac_status = 0; }
5753	if test "$ac_status" -ne 0; then
5754          lt_cv_ar_at_file=@
5755        fi
5756      fi
5757      rm -f conftest.* libconftest.a
5758
5759fi
5760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5761
5762fi
5763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5764$as_echo "$lt_cv_ar_at_file" >&6; }
5765
5766if test "x$lt_cv_ar_at_file" = xno; then
5767  archiver_list_spec=
5768else
5769  archiver_list_spec=$lt_cv_ar_at_file
5770fi
5771
5772
5773
5774
5775
5776
5777
5778if test -n "$ac_tool_prefix"; then
5779  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5780set dummy ${ac_tool_prefix}strip; ac_word=$2
5781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5782$as_echo_n "checking for $ac_word... " >&6; }
5783if ${ac_cv_prog_STRIP+:} false; then :
5784  $as_echo_n "(cached) " >&6
5785else
5786  if test -n "$STRIP"; then
5787  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5788else
5789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790for as_dir in $PATH
5791do
5792  IFS=$as_save_IFS
5793  test -z "$as_dir" && as_dir=.
5794    for ac_exec_ext in '' $ac_executable_extensions; do
5795  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5796    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5797    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5798    break 2
5799  fi
5800done
5801  done
5802IFS=$as_save_IFS
5803
5804fi
5805fi
5806STRIP=$ac_cv_prog_STRIP
5807if test -n "$STRIP"; then
5808  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5809$as_echo "$STRIP" >&6; }
5810else
5811  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5812$as_echo "no" >&6; }
5813fi
5814
5815
5816fi
5817if test -z "$ac_cv_prog_STRIP"; then
5818  ac_ct_STRIP=$STRIP
5819  # Extract the first word of "strip", so it can be a program name with args.
5820set dummy strip; ac_word=$2
5821{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822$as_echo_n "checking for $ac_word... " >&6; }
5823if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5824  $as_echo_n "(cached) " >&6
5825else
5826  if test -n "$ac_ct_STRIP"; then
5827  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5828else
5829as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830for as_dir in $PATH
5831do
5832  IFS=$as_save_IFS
5833  test -z "$as_dir" && as_dir=.
5834    for ac_exec_ext in '' $ac_executable_extensions; do
5835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5836    ac_cv_prog_ac_ct_STRIP="strip"
5837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838    break 2
5839  fi
5840done
5841  done
5842IFS=$as_save_IFS
5843
5844fi
5845fi
5846ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5847if test -n "$ac_ct_STRIP"; then
5848  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5849$as_echo "$ac_ct_STRIP" >&6; }
5850else
5851  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852$as_echo "no" >&6; }
5853fi
5854
5855  if test "x$ac_ct_STRIP" = x; then
5856    STRIP=":"
5857  else
5858    case $cross_compiling:$ac_tool_warned in
5859yes:)
5860{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5861$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5862ac_tool_warned=yes ;;
5863esac
5864    STRIP=$ac_ct_STRIP
5865  fi
5866else
5867  STRIP="$ac_cv_prog_STRIP"
5868fi
5869
5870test -z "$STRIP" && STRIP=:
5871
5872
5873
5874
5875
5876
5877if test -n "$ac_tool_prefix"; then
5878  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5879set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5881$as_echo_n "checking for $ac_word... " >&6; }
5882if ${ac_cv_prog_RANLIB+:} false; then :
5883  $as_echo_n "(cached) " >&6
5884else
5885  if test -n "$RANLIB"; then
5886  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5887else
5888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5889for as_dir in $PATH
5890do
5891  IFS=$as_save_IFS
5892  test -z "$as_dir" && as_dir=.
5893    for ac_exec_ext in '' $ac_executable_extensions; do
5894  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5895    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5896    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5897    break 2
5898  fi
5899done
5900  done
5901IFS=$as_save_IFS
5902
5903fi
5904fi
5905RANLIB=$ac_cv_prog_RANLIB
5906if test -n "$RANLIB"; then
5907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5908$as_echo "$RANLIB" >&6; }
5909else
5910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5911$as_echo "no" >&6; }
5912fi
5913
5914
5915fi
5916if test -z "$ac_cv_prog_RANLIB"; then
5917  ac_ct_RANLIB=$RANLIB
5918  # Extract the first word of "ranlib", so it can be a program name with args.
5919set dummy ranlib; ac_word=$2
5920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5921$as_echo_n "checking for $ac_word... " >&6; }
5922if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5923  $as_echo_n "(cached) " >&6
5924else
5925  if test -n "$ac_ct_RANLIB"; then
5926  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5927else
5928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929for as_dir in $PATH
5930do
5931  IFS=$as_save_IFS
5932  test -z "$as_dir" && as_dir=.
5933    for ac_exec_ext in '' $ac_executable_extensions; do
5934  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5935    ac_cv_prog_ac_ct_RANLIB="ranlib"
5936    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5937    break 2
5938  fi
5939done
5940  done
5941IFS=$as_save_IFS
5942
5943fi
5944fi
5945ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5946if test -n "$ac_ct_RANLIB"; then
5947  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5948$as_echo "$ac_ct_RANLIB" >&6; }
5949else
5950  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5951$as_echo "no" >&6; }
5952fi
5953
5954  if test "x$ac_ct_RANLIB" = x; then
5955    RANLIB=":"
5956  else
5957    case $cross_compiling:$ac_tool_warned in
5958yes:)
5959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5961ac_tool_warned=yes ;;
5962esac
5963    RANLIB=$ac_ct_RANLIB
5964  fi
5965else
5966  RANLIB="$ac_cv_prog_RANLIB"
5967fi
5968
5969test -z "$RANLIB" && RANLIB=:
5970
5971
5972
5973
5974
5975
5976# Determine commands to create old-style static archives.
5977old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5978old_postinstall_cmds='chmod 644 $oldlib'
5979old_postuninstall_cmds=
5980
5981if test -n "$RANLIB"; then
5982  case $host_os in
5983  openbsd*)
5984    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5985    ;;
5986  *)
5987    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5988    ;;
5989  esac
5990  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5991fi
5992
5993case $host_os in
5994  darwin*)
5995    lock_old_archive_extraction=yes ;;
5996  *)
5997    lock_old_archive_extraction=no ;;
5998esac
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038# If no C compiler was specified, use CC.
6039LTCC=${LTCC-"$CC"}
6040
6041# If no C compiler flags were specified, use CFLAGS.
6042LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6043
6044# Allow CC to be a program name with arguments.
6045compiler=$CC
6046
6047
6048# Check for command to grab the raw symbol name followed by C symbol from nm.
6049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6050$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6051if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6052  $as_echo_n "(cached) " >&6
6053else
6054
6055# These are sane defaults that work on at least a few old systems.
6056# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6057
6058# Character class describing NM global symbol codes.
6059symcode='[BCDEGRST]'
6060
6061# Regexp to match symbols that can be accessed directly from C.
6062sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6063
6064# Define system-specific variables.
6065case $host_os in
6066aix*)
6067  symcode='[BCDT]'
6068  ;;
6069cygwin* | mingw* | pw32* | cegcc*)
6070  symcode='[ABCDGISTW]'
6071  ;;
6072hpux*)
6073  if test "$host_cpu" = ia64; then
6074    symcode='[ABCDEGRST]'
6075  fi
6076  ;;
6077irix* | nonstopux*)
6078  symcode='[BCDEGRST]'
6079  ;;
6080osf*)
6081  symcode='[BCDEGQRST]'
6082  ;;
6083solaris*)
6084  symcode='[BDRT]'
6085  ;;
6086sco3.2v5*)
6087  symcode='[DT]'
6088  ;;
6089sysv4.2uw2*)
6090  symcode='[DT]'
6091  ;;
6092sysv5* | sco5v6* | unixware* | OpenUNIX*)
6093  symcode='[ABDT]'
6094  ;;
6095sysv4)
6096  symcode='[DFNSTU]'
6097  ;;
6098esac
6099
6100# If we're using GNU nm, then use its standard symbol codes.
6101case `$NM -V 2>&1` in
6102*GNU* | *'with BFD'*)
6103  symcode='[ABCDGIRSTW]' ;;
6104esac
6105
6106# Transform an extracted symbol line into a proper C declaration.
6107# Some systems (esp. on ia64) link data and code symbols differently,
6108# so use this general approach.
6109lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6110
6111# Transform an extracted symbol line into symbol name and symbol address
6112lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6113lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6114
6115# Handle CRLF in mingw tool chain
6116opt_cr=
6117case $build_os in
6118mingw*)
6119  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6120  ;;
6121esac
6122
6123# Try without a prefix underscore, then with it.
6124for ac_symprfx in "" "_"; do
6125
6126  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6127  symxfrm="\\1 $ac_symprfx\\2 \\2"
6128
6129  # Write the raw and C identifiers.
6130  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6131    # Fake it for dumpbin and say T for any non-static function
6132    # and D for any global variable.
6133    # Also find C++ and __fastcall symbols from MSVC++,
6134    # which start with @ or ?.
6135    lt_cv_sys_global_symbol_pipe="$AWK '"\
6136"     {last_section=section; section=\$ 3};"\
6137"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6138"     \$ 0!~/External *\|/{next};"\
6139"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6140"     {if(hide[section]) next};"\
6141"     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6142"     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6143"     s[1]~/^[@?]/{print s[1], s[1]; next};"\
6144"     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6145"     ' prfx=^$ac_symprfx"
6146  else
6147    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6148  fi
6149  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6150
6151  # Check to see that the pipe works correctly.
6152  pipe_works=no
6153
6154  rm -f conftest*
6155  cat > conftest.$ac_ext <<_LT_EOF
6156#ifdef __cplusplus
6157extern "C" {
6158#endif
6159char nm_test_var;
6160void nm_test_func(void);
6161void nm_test_func(void){}
6162#ifdef __cplusplus
6163}
6164#endif
6165int main(){nm_test_var='a';nm_test_func();return(0);}
6166_LT_EOF
6167
6168  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6169  (eval $ac_compile) 2>&5
6170  ac_status=$?
6171  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6172  test $ac_status = 0; }; then
6173    # Now try to grab the symbols.
6174    nlist=conftest.nm
6175    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6176  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6177  ac_status=$?
6178  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6179  test $ac_status = 0; } && test -s "$nlist"; then
6180      # Try sorting and uniquifying the output.
6181      if sort "$nlist" | uniq > "$nlist"T; then
6182	mv -f "$nlist"T "$nlist"
6183      else
6184	rm -f "$nlist"T
6185      fi
6186
6187      # Make sure that we snagged all the symbols we need.
6188      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6189	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6190	  cat <<_LT_EOF > conftest.$ac_ext
6191/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6192#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
6193/* DATA imports from DLLs on WIN32 con't be const, because runtime
6194   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6195# define LT_DLSYM_CONST
6196#elif defined(__osf__)
6197/* This system does not cope well with relocations in const data.  */
6198# define LT_DLSYM_CONST
6199#else
6200# define LT_DLSYM_CONST const
6201#endif
6202
6203#ifdef __cplusplus
6204extern "C" {
6205#endif
6206
6207_LT_EOF
6208	  # Now generate the symbol file.
6209	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6210
6211	  cat <<_LT_EOF >> conftest.$ac_ext
6212
6213/* The mapping between symbol names and symbols.  */
6214LT_DLSYM_CONST struct {
6215  const char *name;
6216  void       *address;
6217}
6218lt__PROGRAM__LTX_preloaded_symbols[] =
6219{
6220  { "@PROGRAM@", (void *) 0 },
6221_LT_EOF
6222	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6223	  cat <<\_LT_EOF >> conftest.$ac_ext
6224  {0, (void *) 0}
6225};
6226
6227/* This works around a problem in FreeBSD linker */
6228#ifdef FREEBSD_WORKAROUND
6229static const void *lt_preloaded_setup() {
6230  return lt__PROGRAM__LTX_preloaded_symbols;
6231}
6232#endif
6233
6234#ifdef __cplusplus
6235}
6236#endif
6237_LT_EOF
6238	  # Now try linking the two files.
6239	  mv conftest.$ac_objext conftstm.$ac_objext
6240	  lt_globsym_save_LIBS=$LIBS
6241	  lt_globsym_save_CFLAGS=$CFLAGS
6242	  LIBS="conftstm.$ac_objext"
6243	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6244	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6245  (eval $ac_link) 2>&5
6246  ac_status=$?
6247  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6248  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6249	    pipe_works=yes
6250	  fi
6251	  LIBS=$lt_globsym_save_LIBS
6252	  CFLAGS=$lt_globsym_save_CFLAGS
6253	else
6254	  echo "cannot find nm_test_func in $nlist" >&5
6255	fi
6256      else
6257	echo "cannot find nm_test_var in $nlist" >&5
6258      fi
6259    else
6260      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6261    fi
6262  else
6263    echo "$progname: failed program was:" >&5
6264    cat conftest.$ac_ext >&5
6265  fi
6266  rm -rf conftest* conftst*
6267
6268  # Do not use the global_symbol_pipe unless it works.
6269  if test "$pipe_works" = yes; then
6270    break
6271  else
6272    lt_cv_sys_global_symbol_pipe=
6273  fi
6274done
6275
6276fi
6277
6278if test -z "$lt_cv_sys_global_symbol_pipe"; then
6279  lt_cv_sys_global_symbol_to_cdecl=
6280fi
6281if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6282  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6283$as_echo "failed" >&6; }
6284else
6285  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6286$as_echo "ok" >&6; }
6287fi
6288
6289# Response file support.
6290if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6291  nm_file_list_spec='@'
6292elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6293  nm_file_list_spec='@'
6294fi
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6323$as_echo_n "checking for sysroot... " >&6; }
6324
6325# Check whether --with-sysroot was given.
6326if test "${with_sysroot+set}" = set; then :
6327  withval=$with_sysroot;
6328else
6329  with_sysroot=no
6330fi
6331
6332
6333lt_sysroot=
6334case ${with_sysroot} in #(
6335 yes)
6336   if test "$GCC" = yes; then
6337     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6338   fi
6339   ;; #(
6340 /*)
6341   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6342   ;; #(
6343 no|'')
6344   ;; #(
6345 *)
6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
6347$as_echo "${with_sysroot}" >&6; }
6348   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6349   ;;
6350esac
6351
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6353$as_echo "${lt_sysroot:-no}" >&6; }
6354
6355
6356
6357
6358
6359# Check whether --enable-libtool-lock was given.
6360if test "${enable_libtool_lock+set}" = set; then :
6361  enableval=$enable_libtool_lock;
6362fi
6363
6364test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6365
6366# Some flags need to be propagated to the compiler or linker for good
6367# libtool support.
6368case $host in
6369ia64-*-hpux*)
6370  # Find out which ABI we are using.
6371  echo 'int i;' > conftest.$ac_ext
6372  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6373  (eval $ac_compile) 2>&5
6374  ac_status=$?
6375  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6376  test $ac_status = 0; }; then
6377    case `/usr/bin/file conftest.$ac_objext` in
6378      *ELF-32*)
6379	HPUX_IA64_MODE="32"
6380	;;
6381      *ELF-64*)
6382	HPUX_IA64_MODE="64"
6383	;;
6384    esac
6385  fi
6386  rm -rf conftest*
6387  ;;
6388*-*-irix6*)
6389  # Find out which ABI we are using.
6390  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6391  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6392  (eval $ac_compile) 2>&5
6393  ac_status=$?
6394  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6395  test $ac_status = 0; }; then
6396    if test "$lt_cv_prog_gnu_ld" = yes; then
6397      case `/usr/bin/file conftest.$ac_objext` in
6398	*32-bit*)
6399	  LD="${LD-ld} -melf32bsmip"
6400	  ;;
6401	*N32*)
6402	  LD="${LD-ld} -melf32bmipn32"
6403	  ;;
6404	*64-bit*)
6405	  LD="${LD-ld} -melf64bmip"
6406	;;
6407      esac
6408    else
6409      case `/usr/bin/file conftest.$ac_objext` in
6410	*32-bit*)
6411	  LD="${LD-ld} -32"
6412	  ;;
6413	*N32*)
6414	  LD="${LD-ld} -n32"
6415	  ;;
6416	*64-bit*)
6417	  LD="${LD-ld} -64"
6418	  ;;
6419      esac
6420    fi
6421  fi
6422  rm -rf conftest*
6423  ;;
6424
6425x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
6426s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6427  # Find out which ABI we are using.
6428  echo 'int i;' > conftest.$ac_ext
6429  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6430  (eval $ac_compile) 2>&5
6431  ac_status=$?
6432  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6433  test $ac_status = 0; }; then
6434    case `/usr/bin/file conftest.o` in
6435      *32-bit*)
6436	case $host in
6437	  x86_64-*kfreebsd*-gnu)
6438	    LD="${LD-ld} -m elf_i386_fbsd"
6439	    ;;
6440	  x86_64-*linux*)
6441	    LD="${LD-ld} -m elf_i386"
6442	    ;;
6443	  ppc64-*linux*|powerpc64-*linux*)
6444	    LD="${LD-ld} -m elf32ppclinux"
6445	    ;;
6446	  s390x-*linux*)
6447	    LD="${LD-ld} -m elf_s390"
6448	    ;;
6449	  sparc64-*linux*)
6450	    LD="${LD-ld} -m elf32_sparc"
6451	    ;;
6452	esac
6453	;;
6454      *64-bit*)
6455	case $host in
6456	  x86_64-*kfreebsd*-gnu)
6457	    LD="${LD-ld} -m elf_x86_64_fbsd"
6458	    ;;
6459	  x86_64-*linux*)
6460	    LD="${LD-ld} -m elf_x86_64"
6461	    ;;
6462	  ppc*-*linux*|powerpc*-*linux*)
6463	    LD="${LD-ld} -m elf64ppc"
6464	    ;;
6465	  s390*-*linux*|s390*-*tpf*)
6466	    LD="${LD-ld} -m elf64_s390"
6467	    ;;
6468	  sparc*-*linux*)
6469	    LD="${LD-ld} -m elf64_sparc"
6470	    ;;
6471	esac
6472	;;
6473    esac
6474  fi
6475  rm -rf conftest*
6476  ;;
6477
6478*-*-sco3.2v5*)
6479  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6480  SAVE_CFLAGS="$CFLAGS"
6481  CFLAGS="$CFLAGS -belf"
6482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6483$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6484if ${lt_cv_cc_needs_belf+:} false; then :
6485  $as_echo_n "(cached) " >&6
6486else
6487  ac_ext=c
6488ac_cpp='$CPP $CPPFLAGS'
6489ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6490ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6491ac_compiler_gnu=$ac_cv_c_compiler_gnu
6492
6493     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6494/* end confdefs.h.  */
6495
6496int
6497main ()
6498{
6499
6500  ;
6501  return 0;
6502}
6503_ACEOF
6504if ac_fn_c_try_link "$LINENO"; then :
6505  lt_cv_cc_needs_belf=yes
6506else
6507  lt_cv_cc_needs_belf=no
6508fi
6509rm -f core conftest.err conftest.$ac_objext \
6510    conftest$ac_exeext conftest.$ac_ext
6511     ac_ext=c
6512ac_cpp='$CPP $CPPFLAGS'
6513ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6514ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6515ac_compiler_gnu=$ac_cv_c_compiler_gnu
6516
6517fi
6518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6519$as_echo "$lt_cv_cc_needs_belf" >&6; }
6520  if test x"$lt_cv_cc_needs_belf" != x"yes"; then
6521    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6522    CFLAGS="$SAVE_CFLAGS"
6523  fi
6524  ;;
6525sparc*-*solaris*)
6526  # Find out which ABI we are using.
6527  echo 'int i;' > conftest.$ac_ext
6528  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6529  (eval $ac_compile) 2>&5
6530  ac_status=$?
6531  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6532  test $ac_status = 0; }; then
6533    case `/usr/bin/file conftest.o` in
6534    *64-bit*)
6535      case $lt_cv_prog_gnu_ld in
6536      yes*) LD="${LD-ld} -m elf64_sparc" ;;
6537      *)
6538	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6539	  LD="${LD-ld} -64"
6540	fi
6541	;;
6542      esac
6543      ;;
6544    esac
6545  fi
6546  rm -rf conftest*
6547  ;;
6548esac
6549
6550need_locks="$enable_libtool_lock"
6551
6552if test -n "$ac_tool_prefix"; then
6553  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6554set dummy ${ac_tool_prefix}mt; ac_word=$2
6555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556$as_echo_n "checking for $ac_word... " >&6; }
6557if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6558  $as_echo_n "(cached) " >&6
6559else
6560  if test -n "$MANIFEST_TOOL"; then
6561  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6562else
6563as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564for as_dir in $PATH
6565do
6566  IFS=$as_save_IFS
6567  test -z "$as_dir" && as_dir=.
6568    for ac_exec_ext in '' $ac_executable_extensions; do
6569  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6571    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572    break 2
6573  fi
6574done
6575  done
6576IFS=$as_save_IFS
6577
6578fi
6579fi
6580MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6581if test -n "$MANIFEST_TOOL"; then
6582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6583$as_echo "$MANIFEST_TOOL" >&6; }
6584else
6585  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586$as_echo "no" >&6; }
6587fi
6588
6589
6590fi
6591if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6592  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6593  # Extract the first word of "mt", so it can be a program name with args.
6594set dummy mt; ac_word=$2
6595{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6596$as_echo_n "checking for $ac_word... " >&6; }
6597if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6598  $as_echo_n "(cached) " >&6
6599else
6600  if test -n "$ac_ct_MANIFEST_TOOL"; then
6601  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6602else
6603as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6604for as_dir in $PATH
6605do
6606  IFS=$as_save_IFS
6607  test -z "$as_dir" && as_dir=.
6608    for ac_exec_ext in '' $ac_executable_extensions; do
6609  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6610    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6611    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6612    break 2
6613  fi
6614done
6615  done
6616IFS=$as_save_IFS
6617
6618fi
6619fi
6620ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6621if test -n "$ac_ct_MANIFEST_TOOL"; then
6622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6623$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6624else
6625  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626$as_echo "no" >&6; }
6627fi
6628
6629  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6630    MANIFEST_TOOL=":"
6631  else
6632    case $cross_compiling:$ac_tool_warned in
6633yes:)
6634{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6635$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6636ac_tool_warned=yes ;;
6637esac
6638    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6639  fi
6640else
6641  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6642fi
6643
6644test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6645{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6646$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6647if ${lt_cv_path_mainfest_tool+:} false; then :
6648  $as_echo_n "(cached) " >&6
6649else
6650  lt_cv_path_mainfest_tool=no
6651  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6652  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6653  cat conftest.err >&5
6654  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6655    lt_cv_path_mainfest_tool=yes
6656  fi
6657  rm -f conftest*
6658fi
6659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6660$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6661if test "x$lt_cv_path_mainfest_tool" != xyes; then
6662  MANIFEST_TOOL=:
6663fi
6664
6665
6666
6667
6668
6669
6670  case $host_os in
6671    rhapsody* | darwin*)
6672    if test -n "$ac_tool_prefix"; then
6673  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6674set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6676$as_echo_n "checking for $ac_word... " >&6; }
6677if ${ac_cv_prog_DSYMUTIL+:} false; then :
6678  $as_echo_n "(cached) " >&6
6679else
6680  if test -n "$DSYMUTIL"; then
6681  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6682else
6683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6684for as_dir in $PATH
6685do
6686  IFS=$as_save_IFS
6687  test -z "$as_dir" && as_dir=.
6688    for ac_exec_ext in '' $ac_executable_extensions; do
6689  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6690    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6691    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6692    break 2
6693  fi
6694done
6695  done
6696IFS=$as_save_IFS
6697
6698fi
6699fi
6700DSYMUTIL=$ac_cv_prog_DSYMUTIL
6701if test -n "$DSYMUTIL"; then
6702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6703$as_echo "$DSYMUTIL" >&6; }
6704else
6705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6706$as_echo "no" >&6; }
6707fi
6708
6709
6710fi
6711if test -z "$ac_cv_prog_DSYMUTIL"; then
6712  ac_ct_DSYMUTIL=$DSYMUTIL
6713  # Extract the first word of "dsymutil", so it can be a program name with args.
6714set dummy dsymutil; ac_word=$2
6715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716$as_echo_n "checking for $ac_word... " >&6; }
6717if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6718  $as_echo_n "(cached) " >&6
6719else
6720  if test -n "$ac_ct_DSYMUTIL"; then
6721  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6722else
6723as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6724for as_dir in $PATH
6725do
6726  IFS=$as_save_IFS
6727  test -z "$as_dir" && as_dir=.
6728    for ac_exec_ext in '' $ac_executable_extensions; do
6729  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6730    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6731    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6732    break 2
6733  fi
6734done
6735  done
6736IFS=$as_save_IFS
6737
6738fi
6739fi
6740ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6741if test -n "$ac_ct_DSYMUTIL"; then
6742  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6743$as_echo "$ac_ct_DSYMUTIL" >&6; }
6744else
6745  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6746$as_echo "no" >&6; }
6747fi
6748
6749  if test "x$ac_ct_DSYMUTIL" = x; then
6750    DSYMUTIL=":"
6751  else
6752    case $cross_compiling:$ac_tool_warned in
6753yes:)
6754{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6755$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6756ac_tool_warned=yes ;;
6757esac
6758    DSYMUTIL=$ac_ct_DSYMUTIL
6759  fi
6760else
6761  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6762fi
6763
6764    if test -n "$ac_tool_prefix"; then
6765  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6766set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6767{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768$as_echo_n "checking for $ac_word... " >&6; }
6769if ${ac_cv_prog_NMEDIT+:} false; then :
6770  $as_echo_n "(cached) " >&6
6771else
6772  if test -n "$NMEDIT"; then
6773  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6774else
6775as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776for as_dir in $PATH
6777do
6778  IFS=$as_save_IFS
6779  test -z "$as_dir" && as_dir=.
6780    for ac_exec_ext in '' $ac_executable_extensions; do
6781  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6783    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784    break 2
6785  fi
6786done
6787  done
6788IFS=$as_save_IFS
6789
6790fi
6791fi
6792NMEDIT=$ac_cv_prog_NMEDIT
6793if test -n "$NMEDIT"; then
6794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6795$as_echo "$NMEDIT" >&6; }
6796else
6797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798$as_echo "no" >&6; }
6799fi
6800
6801
6802fi
6803if test -z "$ac_cv_prog_NMEDIT"; then
6804  ac_ct_NMEDIT=$NMEDIT
6805  # Extract the first word of "nmedit", so it can be a program name with args.
6806set dummy nmedit; ac_word=$2
6807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808$as_echo_n "checking for $ac_word... " >&6; }
6809if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6810  $as_echo_n "(cached) " >&6
6811else
6812  if test -n "$ac_ct_NMEDIT"; then
6813  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6814else
6815as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816for as_dir in $PATH
6817do
6818  IFS=$as_save_IFS
6819  test -z "$as_dir" && as_dir=.
6820    for ac_exec_ext in '' $ac_executable_extensions; do
6821  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6823    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824    break 2
6825  fi
6826done
6827  done
6828IFS=$as_save_IFS
6829
6830fi
6831fi
6832ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6833if test -n "$ac_ct_NMEDIT"; then
6834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6835$as_echo "$ac_ct_NMEDIT" >&6; }
6836else
6837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838$as_echo "no" >&6; }
6839fi
6840
6841  if test "x$ac_ct_NMEDIT" = x; then
6842    NMEDIT=":"
6843  else
6844    case $cross_compiling:$ac_tool_warned in
6845yes:)
6846{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6847$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6848ac_tool_warned=yes ;;
6849esac
6850    NMEDIT=$ac_ct_NMEDIT
6851  fi
6852else
6853  NMEDIT="$ac_cv_prog_NMEDIT"
6854fi
6855
6856    if test -n "$ac_tool_prefix"; then
6857  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6858set dummy ${ac_tool_prefix}lipo; ac_word=$2
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860$as_echo_n "checking for $ac_word... " >&6; }
6861if ${ac_cv_prog_LIPO+:} false; then :
6862  $as_echo_n "(cached) " >&6
6863else
6864  if test -n "$LIPO"; then
6865  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6866else
6867as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868for as_dir in $PATH
6869do
6870  IFS=$as_save_IFS
6871  test -z "$as_dir" && as_dir=.
6872    for ac_exec_ext in '' $ac_executable_extensions; do
6873  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6874    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6875    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876    break 2
6877  fi
6878done
6879  done
6880IFS=$as_save_IFS
6881
6882fi
6883fi
6884LIPO=$ac_cv_prog_LIPO
6885if test -n "$LIPO"; then
6886  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6887$as_echo "$LIPO" >&6; }
6888else
6889  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890$as_echo "no" >&6; }
6891fi
6892
6893
6894fi
6895if test -z "$ac_cv_prog_LIPO"; then
6896  ac_ct_LIPO=$LIPO
6897  # Extract the first word of "lipo", so it can be a program name with args.
6898set dummy lipo; ac_word=$2
6899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900$as_echo_n "checking for $ac_word... " >&6; }
6901if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
6902  $as_echo_n "(cached) " >&6
6903else
6904  if test -n "$ac_ct_LIPO"; then
6905  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6906else
6907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908for as_dir in $PATH
6909do
6910  IFS=$as_save_IFS
6911  test -z "$as_dir" && as_dir=.
6912    for ac_exec_ext in '' $ac_executable_extensions; do
6913  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914    ac_cv_prog_ac_ct_LIPO="lipo"
6915    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916    break 2
6917  fi
6918done
6919  done
6920IFS=$as_save_IFS
6921
6922fi
6923fi
6924ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6925if test -n "$ac_ct_LIPO"; then
6926  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
6927$as_echo "$ac_ct_LIPO" >&6; }
6928else
6929  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930$as_echo "no" >&6; }
6931fi
6932
6933  if test "x$ac_ct_LIPO" = x; then
6934    LIPO=":"
6935  else
6936    case $cross_compiling:$ac_tool_warned in
6937yes:)
6938{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6939$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6940ac_tool_warned=yes ;;
6941esac
6942    LIPO=$ac_ct_LIPO
6943  fi
6944else
6945  LIPO="$ac_cv_prog_LIPO"
6946fi
6947
6948    if test -n "$ac_tool_prefix"; then
6949  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6950set dummy ${ac_tool_prefix}otool; ac_word=$2
6951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6952$as_echo_n "checking for $ac_word... " >&6; }
6953if ${ac_cv_prog_OTOOL+:} false; then :
6954  $as_echo_n "(cached) " >&6
6955else
6956  if test -n "$OTOOL"; then
6957  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6958else
6959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6960for as_dir in $PATH
6961do
6962  IFS=$as_save_IFS
6963  test -z "$as_dir" && as_dir=.
6964    for ac_exec_ext in '' $ac_executable_extensions; do
6965  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6966    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6967    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968    break 2
6969  fi
6970done
6971  done
6972IFS=$as_save_IFS
6973
6974fi
6975fi
6976OTOOL=$ac_cv_prog_OTOOL
6977if test -n "$OTOOL"; then
6978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
6979$as_echo "$OTOOL" >&6; }
6980else
6981  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982$as_echo "no" >&6; }
6983fi
6984
6985
6986fi
6987if test -z "$ac_cv_prog_OTOOL"; then
6988  ac_ct_OTOOL=$OTOOL
6989  # Extract the first word of "otool", so it can be a program name with args.
6990set dummy otool; ac_word=$2
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6992$as_echo_n "checking for $ac_word... " >&6; }
6993if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
6994  $as_echo_n "(cached) " >&6
6995else
6996  if test -n "$ac_ct_OTOOL"; then
6997  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6998else
6999as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7000for as_dir in $PATH
7001do
7002  IFS=$as_save_IFS
7003  test -z "$as_dir" && as_dir=.
7004    for ac_exec_ext in '' $ac_executable_extensions; do
7005  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7006    ac_cv_prog_ac_ct_OTOOL="otool"
7007    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7008    break 2
7009  fi
7010done
7011  done
7012IFS=$as_save_IFS
7013
7014fi
7015fi
7016ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7017if test -n "$ac_ct_OTOOL"; then
7018  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7019$as_echo "$ac_ct_OTOOL" >&6; }
7020else
7021  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7022$as_echo "no" >&6; }
7023fi
7024
7025  if test "x$ac_ct_OTOOL" = x; then
7026    OTOOL=":"
7027  else
7028    case $cross_compiling:$ac_tool_warned in
7029yes:)
7030{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7031$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7032ac_tool_warned=yes ;;
7033esac
7034    OTOOL=$ac_ct_OTOOL
7035  fi
7036else
7037  OTOOL="$ac_cv_prog_OTOOL"
7038fi
7039
7040    if test -n "$ac_tool_prefix"; then
7041  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7042set dummy ${ac_tool_prefix}otool64; ac_word=$2
7043{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044$as_echo_n "checking for $ac_word... " >&6; }
7045if ${ac_cv_prog_OTOOL64+:} false; then :
7046  $as_echo_n "(cached) " >&6
7047else
7048  if test -n "$OTOOL64"; then
7049  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7050else
7051as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7052for as_dir in $PATH
7053do
7054  IFS=$as_save_IFS
7055  test -z "$as_dir" && as_dir=.
7056    for ac_exec_ext in '' $ac_executable_extensions; do
7057  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7058    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7059    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7060    break 2
7061  fi
7062done
7063  done
7064IFS=$as_save_IFS
7065
7066fi
7067fi
7068OTOOL64=$ac_cv_prog_OTOOL64
7069if test -n "$OTOOL64"; then
7070  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7071$as_echo "$OTOOL64" >&6; }
7072else
7073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074$as_echo "no" >&6; }
7075fi
7076
7077
7078fi
7079if test -z "$ac_cv_prog_OTOOL64"; then
7080  ac_ct_OTOOL64=$OTOOL64
7081  # Extract the first word of "otool64", so it can be a program name with args.
7082set dummy otool64; ac_word=$2
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084$as_echo_n "checking for $ac_word... " >&6; }
7085if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7086  $as_echo_n "(cached) " >&6
7087else
7088  if test -n "$ac_ct_OTOOL64"; then
7089  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7090else
7091as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7092for as_dir in $PATH
7093do
7094  IFS=$as_save_IFS
7095  test -z "$as_dir" && as_dir=.
7096    for ac_exec_ext in '' $ac_executable_extensions; do
7097  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7098    ac_cv_prog_ac_ct_OTOOL64="otool64"
7099    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7100    break 2
7101  fi
7102done
7103  done
7104IFS=$as_save_IFS
7105
7106fi
7107fi
7108ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7109if test -n "$ac_ct_OTOOL64"; then
7110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7111$as_echo "$ac_ct_OTOOL64" >&6; }
7112else
7113  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7114$as_echo "no" >&6; }
7115fi
7116
7117  if test "x$ac_ct_OTOOL64" = x; then
7118    OTOOL64=":"
7119  else
7120    case $cross_compiling:$ac_tool_warned in
7121yes:)
7122{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7123$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7124ac_tool_warned=yes ;;
7125esac
7126    OTOOL64=$ac_ct_OTOOL64
7127  fi
7128else
7129  OTOOL64="$ac_cv_prog_OTOOL64"
7130fi
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7159$as_echo_n "checking for -single_module linker flag... " >&6; }
7160if ${lt_cv_apple_cc_single_mod+:} false; then :
7161  $as_echo_n "(cached) " >&6
7162else
7163  lt_cv_apple_cc_single_mod=no
7164      if test -z "${LT_MULTI_MODULE}"; then
7165	# By default we will add the -single_module flag. You can override
7166	# by either setting the environment variable LT_MULTI_MODULE
7167	# non-empty at configure time, or by adding -multi_module to the
7168	# link flags.
7169	rm -rf libconftest.dylib*
7170	echo "int foo(void){return 1;}" > conftest.c
7171	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7172-dynamiclib -Wl,-single_module conftest.c" >&5
7173	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7174	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7175        _lt_result=$?
7176	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7177	  lt_cv_apple_cc_single_mod=yes
7178	else
7179	  cat conftest.err >&5
7180	fi
7181	rm -rf libconftest.dylib*
7182	rm -f conftest.*
7183      fi
7184fi
7185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7186$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7187    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7188$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7189if ${lt_cv_ld_exported_symbols_list+:} false; then :
7190  $as_echo_n "(cached) " >&6
7191else
7192  lt_cv_ld_exported_symbols_list=no
7193      save_LDFLAGS=$LDFLAGS
7194      echo "_main" > conftest.sym
7195      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7196      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7197/* end confdefs.h.  */
7198
7199int
7200main ()
7201{
7202
7203  ;
7204  return 0;
7205}
7206_ACEOF
7207if ac_fn_c_try_link "$LINENO"; then :
7208  lt_cv_ld_exported_symbols_list=yes
7209else
7210  lt_cv_ld_exported_symbols_list=no
7211fi
7212rm -f core conftest.err conftest.$ac_objext \
7213    conftest$ac_exeext conftest.$ac_ext
7214	LDFLAGS="$save_LDFLAGS"
7215
7216fi
7217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7218$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7219    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7220$as_echo_n "checking for -force_load linker flag... " >&6; }
7221if ${lt_cv_ld_force_load+:} false; then :
7222  $as_echo_n "(cached) " >&6
7223else
7224  lt_cv_ld_force_load=no
7225      cat > conftest.c << _LT_EOF
7226int forced_loaded() { return 2;}
7227_LT_EOF
7228      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7229      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7230      echo "$AR cru libconftest.a conftest.o" >&5
7231      $AR cru libconftest.a conftest.o 2>&5
7232      echo "$RANLIB libconftest.a" >&5
7233      $RANLIB libconftest.a 2>&5
7234      cat > conftest.c << _LT_EOF
7235int main() { return 0;}
7236_LT_EOF
7237      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7238      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7239      _lt_result=$?
7240      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7241	lt_cv_ld_force_load=yes
7242      else
7243	cat conftest.err >&5
7244      fi
7245        rm -f conftest.err libconftest.a conftest conftest.c
7246        rm -rf conftest.dSYM
7247
7248fi
7249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7250$as_echo "$lt_cv_ld_force_load" >&6; }
7251    case $host_os in
7252    rhapsody* | darwin1.[012])
7253      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7254    darwin1.*)
7255      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7256    darwin*) # darwin 5.x on
7257      # if running on 10.5 or later, the deployment target defaults
7258      # to the OS version, if on x86, and 10.4, the deployment
7259      # target defaults to 10.4. Don't you love it?
7260      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7261	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7262	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7263	10.[012]*)
7264	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7265	10.*)
7266	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7267      esac
7268    ;;
7269  esac
7270    if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7271      _lt_dar_single_mod='$single_module'
7272    fi
7273    if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7274      _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7275    else
7276      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7277    fi
7278    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7279      _lt_dsymutil='~$DSYMUTIL $lib || :'
7280    else
7281      _lt_dsymutil=
7282    fi
7283    ;;
7284  esac
7285
7286
7287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7288$as_echo_n "checking for ANSI C header files... " >&6; }
7289if ${ac_cv_header_stdc+:} false; then :
7290  $as_echo_n "(cached) " >&6
7291else
7292  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7293/* end confdefs.h.  */
7294#include <stdlib.h>
7295#include <stdarg.h>
7296#include <string.h>
7297#include <float.h>
7298
7299int
7300main ()
7301{
7302
7303  ;
7304  return 0;
7305}
7306_ACEOF
7307if ac_fn_c_try_compile "$LINENO"; then :
7308  ac_cv_header_stdc=yes
7309else
7310  ac_cv_header_stdc=no
7311fi
7312rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7313
7314if test $ac_cv_header_stdc = yes; then
7315  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7316  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7317/* end confdefs.h.  */
7318#include <string.h>
7319
7320_ACEOF
7321if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7322  $EGREP "memchr" >/dev/null 2>&1; then :
7323
7324else
7325  ac_cv_header_stdc=no
7326fi
7327rm -f conftest*
7328
7329fi
7330
7331if test $ac_cv_header_stdc = yes; then
7332  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7333  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7334/* end confdefs.h.  */
7335#include <stdlib.h>
7336
7337_ACEOF
7338if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7339  $EGREP "free" >/dev/null 2>&1; then :
7340
7341else
7342  ac_cv_header_stdc=no
7343fi
7344rm -f conftest*
7345
7346fi
7347
7348if test $ac_cv_header_stdc = yes; then
7349  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7350  if test "$cross_compiling" = yes; then :
7351  :
7352else
7353  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7354/* end confdefs.h.  */
7355#include <ctype.h>
7356#include <stdlib.h>
7357#if ((' ' & 0x0FF) == 0x020)
7358# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7359# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7360#else
7361# define ISLOWER(c) \
7362		   (('a' <= (c) && (c) <= 'i') \
7363		     || ('j' <= (c) && (c) <= 'r') \
7364		     || ('s' <= (c) && (c) <= 'z'))
7365# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7366#endif
7367
7368#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7369int
7370main ()
7371{
7372  int i;
7373  for (i = 0; i < 256; i++)
7374    if (XOR (islower (i), ISLOWER (i))
7375	|| toupper (i) != TOUPPER (i))
7376      return 2;
7377  return 0;
7378}
7379_ACEOF
7380if ac_fn_c_try_run "$LINENO"; then :
7381
7382else
7383  ac_cv_header_stdc=no
7384fi
7385rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7386  conftest.$ac_objext conftest.beam conftest.$ac_ext
7387fi
7388
7389fi
7390fi
7391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7392$as_echo "$ac_cv_header_stdc" >&6; }
7393if test $ac_cv_header_stdc = yes; then
7394
7395$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7396
7397fi
7398
7399# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7400for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7401		  inttypes.h stdint.h unistd.h
7402do :
7403  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7404ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7405"
7406if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7407  cat >>confdefs.h <<_ACEOF
7408#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7409_ACEOF
7410
7411fi
7412
7413done
7414
7415
7416for ac_header in dlfcn.h
7417do :
7418  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7419"
7420if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7421  cat >>confdefs.h <<_ACEOF
7422#define HAVE_DLFCN_H 1
7423_ACEOF
7424
7425fi
7426
7427done
7428
7429
7430
7431
7432
7433# Set options
7434
7435
7436
7437        enable_dlopen=no
7438
7439
7440  enable_win32_dll=no
7441
7442
7443            # Check whether --enable-shared was given.
7444if test "${enable_shared+set}" = set; then :
7445  enableval=$enable_shared; p=${PACKAGE-default}
7446    case $enableval in
7447    yes) enable_shared=yes ;;
7448    no) enable_shared=no ;;
7449    *)
7450      enable_shared=no
7451      # Look at the argument we got.  We use all the common list separators.
7452      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7453      for pkg in $enableval; do
7454	IFS="$lt_save_ifs"
7455	if test "X$pkg" = "X$p"; then
7456	  enable_shared=yes
7457	fi
7458      done
7459      IFS="$lt_save_ifs"
7460      ;;
7461    esac
7462else
7463  enable_shared=yes
7464fi
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476# Check whether --with-pic was given.
7477if test "${with_pic+set}" = set; then :
7478  withval=$with_pic; pic_mode="$withval"
7479else
7480  pic_mode=default
7481fi
7482
7483
7484test -z "$pic_mode" && pic_mode=default
7485
7486
7487
7488
7489
7490
7491
7492  # Check whether --enable-fast-install was given.
7493if test "${enable_fast_install+set}" = set; then :
7494  enableval=$enable_fast_install; p=${PACKAGE-default}
7495    case $enableval in
7496    yes) enable_fast_install=yes ;;
7497    no) enable_fast_install=no ;;
7498    *)
7499      enable_fast_install=no
7500      # Look at the argument we got.  We use all the common list separators.
7501      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7502      for pkg in $enableval; do
7503	IFS="$lt_save_ifs"
7504	if test "X$pkg" = "X$p"; then
7505	  enable_fast_install=yes
7506	fi
7507      done
7508      IFS="$lt_save_ifs"
7509      ;;
7510    esac
7511else
7512  enable_fast_install=yes
7513fi
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525# This can be used to rebuild libtool when needed
7526LIBTOOL_DEPS="$ltmain"
7527
7528# Always use our own libtool.
7529LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556test -z "$LN_S" && LN_S="ln -s"
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571if test -n "${ZSH_VERSION+set}" ; then
7572   setopt NO_GLOB_SUBST
7573fi
7574
7575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7576$as_echo_n "checking for objdir... " >&6; }
7577if ${lt_cv_objdir+:} false; then :
7578  $as_echo_n "(cached) " >&6
7579else
7580  rm -f .libs 2>/dev/null
7581mkdir .libs 2>/dev/null
7582if test -d .libs; then
7583  lt_cv_objdir=.libs
7584else
7585  # MS-DOS does not allow filenames that begin with a dot.
7586  lt_cv_objdir=_libs
7587fi
7588rmdir .libs 2>/dev/null
7589fi
7590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7591$as_echo "$lt_cv_objdir" >&6; }
7592objdir=$lt_cv_objdir
7593
7594
7595
7596
7597
7598cat >>confdefs.h <<_ACEOF
7599#define LT_OBJDIR "$lt_cv_objdir/"
7600_ACEOF
7601
7602
7603
7604
7605case $host_os in
7606aix3*)
7607  # AIX sometimes has problems with the GCC collect2 program.  For some
7608  # reason, if we set the COLLECT_NAMES environment variable, the problems
7609  # vanish in a puff of smoke.
7610  if test "X${COLLECT_NAMES+set}" != Xset; then
7611    COLLECT_NAMES=
7612    export COLLECT_NAMES
7613  fi
7614  ;;
7615esac
7616
7617# Global variables:
7618ofile=libtool
7619can_build_shared=yes
7620
7621# All known linkers require a `.a' archive for static linking (except MSVC,
7622# which needs '.lib').
7623libext=a
7624
7625with_gnu_ld="$lt_cv_prog_gnu_ld"
7626
7627old_CC="$CC"
7628old_CFLAGS="$CFLAGS"
7629
7630# Set sane defaults for various variables
7631test -z "$CC" && CC=cc
7632test -z "$LTCC" && LTCC=$CC
7633test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7634test -z "$LD" && LD=ld
7635test -z "$ac_objext" && ac_objext=o
7636
7637for cc_temp in $compiler""; do
7638  case $cc_temp in
7639    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7640    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7641    \-*) ;;
7642    *) break;;
7643  esac
7644done
7645cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7646
7647
7648# Only perform the check for file, if the check method requires it
7649test -z "$MAGIC_CMD" && MAGIC_CMD=file
7650case $deplibs_check_method in
7651file_magic*)
7652  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7653    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7654$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7655if ${lt_cv_path_MAGIC_CMD+:} false; then :
7656  $as_echo_n "(cached) " >&6
7657else
7658  case $MAGIC_CMD in
7659[\\/*] |  ?:[\\/]*)
7660  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7661  ;;
7662*)
7663  lt_save_MAGIC_CMD="$MAGIC_CMD"
7664  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7665  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7666  for ac_dir in $ac_dummy; do
7667    IFS="$lt_save_ifs"
7668    test -z "$ac_dir" && ac_dir=.
7669    if test -f $ac_dir/${ac_tool_prefix}file; then
7670      lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7671      if test -n "$file_magic_test_file"; then
7672	case $deplibs_check_method in
7673	"file_magic "*)
7674	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7675	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7676	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7677	    $EGREP "$file_magic_regex" > /dev/null; then
7678	    :
7679	  else
7680	    cat <<_LT_EOF 1>&2
7681
7682*** Warning: the command libtool uses to detect shared libraries,
7683*** $file_magic_cmd, produces output that libtool cannot recognize.
7684*** The result is that libtool may fail to recognize shared libraries
7685*** as such.  This will affect the creation of libtool libraries that
7686*** depend on shared libraries, but programs linked with such libtool
7687*** libraries will work regardless of this problem.  Nevertheless, you
7688*** may want to report the problem to your system manager and/or to
7689*** bug-libtool@gnu.org
7690
7691_LT_EOF
7692	  fi ;;
7693	esac
7694      fi
7695      break
7696    fi
7697  done
7698  IFS="$lt_save_ifs"
7699  MAGIC_CMD="$lt_save_MAGIC_CMD"
7700  ;;
7701esac
7702fi
7703
7704MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7705if test -n "$MAGIC_CMD"; then
7706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7707$as_echo "$MAGIC_CMD" >&6; }
7708else
7709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710$as_echo "no" >&6; }
7711fi
7712
7713
7714
7715
7716
7717if test -z "$lt_cv_path_MAGIC_CMD"; then
7718  if test -n "$ac_tool_prefix"; then
7719    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7720$as_echo_n "checking for file... " >&6; }
7721if ${lt_cv_path_MAGIC_CMD+:} false; then :
7722  $as_echo_n "(cached) " >&6
7723else
7724  case $MAGIC_CMD in
7725[\\/*] |  ?:[\\/]*)
7726  lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7727  ;;
7728*)
7729  lt_save_MAGIC_CMD="$MAGIC_CMD"
7730  lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7731  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7732  for ac_dir in $ac_dummy; do
7733    IFS="$lt_save_ifs"
7734    test -z "$ac_dir" && ac_dir=.
7735    if test -f $ac_dir/file; then
7736      lt_cv_path_MAGIC_CMD="$ac_dir/file"
7737      if test -n "$file_magic_test_file"; then
7738	case $deplibs_check_method in
7739	"file_magic "*)
7740	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7741	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7742	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7743	    $EGREP "$file_magic_regex" > /dev/null; then
7744	    :
7745	  else
7746	    cat <<_LT_EOF 1>&2
7747
7748*** Warning: the command libtool uses to detect shared libraries,
7749*** $file_magic_cmd, produces output that libtool cannot recognize.
7750*** The result is that libtool may fail to recognize shared libraries
7751*** as such.  This will affect the creation of libtool libraries that
7752*** depend on shared libraries, but programs linked with such libtool
7753*** libraries will work regardless of this problem.  Nevertheless, you
7754*** may want to report the problem to your system manager and/or to
7755*** bug-libtool@gnu.org
7756
7757_LT_EOF
7758	  fi ;;
7759	esac
7760      fi
7761      break
7762    fi
7763  done
7764  IFS="$lt_save_ifs"
7765  MAGIC_CMD="$lt_save_MAGIC_CMD"
7766  ;;
7767esac
7768fi
7769
7770MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7771if test -n "$MAGIC_CMD"; then
7772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
7773$as_echo "$MAGIC_CMD" >&6; }
7774else
7775  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776$as_echo "no" >&6; }
7777fi
7778
7779
7780  else
7781    MAGIC_CMD=:
7782  fi
7783fi
7784
7785  fi
7786  ;;
7787esac
7788
7789# Use C for the default configuration in the libtool script
7790
7791lt_save_CC="$CC"
7792ac_ext=c
7793ac_cpp='$CPP $CPPFLAGS'
7794ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7795ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7796ac_compiler_gnu=$ac_cv_c_compiler_gnu
7797
7798
7799# Source file extension for C test sources.
7800ac_ext=c
7801
7802# Object file extension for compiled C test sources.
7803objext=o
7804objext=$objext
7805
7806# Code to be used in simple compile tests
7807lt_simple_compile_test_code="int some_variable = 0;"
7808
7809# Code to be used in simple link tests
7810lt_simple_link_test_code='int main(){return(0);}'
7811
7812
7813
7814
7815
7816
7817
7818# If no C compiler was specified, use CC.
7819LTCC=${LTCC-"$CC"}
7820
7821# If no C compiler flags were specified, use CFLAGS.
7822LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7823
7824# Allow CC to be a program name with arguments.
7825compiler=$CC
7826
7827# Save the default compiler, since it gets overwritten when the other
7828# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7829compiler_DEFAULT=$CC
7830
7831# save warnings/boilerplate of simple test code
7832ac_outfile=conftest.$ac_objext
7833echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7834eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7835_lt_compiler_boilerplate=`cat conftest.err`
7836$RM conftest*
7837
7838ac_outfile=conftest.$ac_objext
7839echo "$lt_simple_link_test_code" >conftest.$ac_ext
7840eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7841_lt_linker_boilerplate=`cat conftest.err`
7842$RM -r conftest*
7843
7844
7845if test -n "$compiler"; then
7846
7847lt_prog_compiler_no_builtin_flag=
7848
7849if test "$GCC" = yes; then
7850  case $cc_basename in
7851  nvcc*)
7852    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
7853  *)
7854    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
7855  esac
7856
7857  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7858$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
7859if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
7860  $as_echo_n "(cached) " >&6
7861else
7862  lt_cv_prog_compiler_rtti_exceptions=no
7863   ac_outfile=conftest.$ac_objext
7864   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7865   lt_compiler_flag="-fno-rtti -fno-exceptions"
7866   # Insert the option either (1) after the last *FLAGS variable, or
7867   # (2) before a word containing "conftest.", or (3) at the end.
7868   # Note that $ac_compile itself does not contain backslashes and begins
7869   # with a dollar sign (not a hyphen), so the echo should work correctly.
7870   # The option is referenced via a variable to avoid confusing sed.
7871   lt_compile=`echo "$ac_compile" | $SED \
7872   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7873   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7874   -e 's:$: $lt_compiler_flag:'`
7875   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
7876   (eval "$lt_compile" 2>conftest.err)
7877   ac_status=$?
7878   cat conftest.err >&5
7879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7880   if (exit $ac_status) && test -s "$ac_outfile"; then
7881     # The compiler can only warn and ignore the option if not recognized
7882     # So say no if there are warnings other than the usual output.
7883     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
7884     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7885     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7886       lt_cv_prog_compiler_rtti_exceptions=yes
7887     fi
7888   fi
7889   $RM conftest*
7890
7891fi
7892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7893$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
7894
7895if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7896    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7897else
7898    :
7899fi
7900
7901fi
7902
7903
7904
7905
7906
7907
7908  lt_prog_compiler_wl=
7909lt_prog_compiler_pic=
7910lt_prog_compiler_static=
7911
7912
7913  if test "$GCC" = yes; then
7914    lt_prog_compiler_wl='-Wl,'
7915    lt_prog_compiler_static='-static'
7916
7917    case $host_os in
7918      aix*)
7919      # All AIX code is PIC.
7920      if test "$host_cpu" = ia64; then
7921	# AIX 5 now supports IA64 processor
7922	lt_prog_compiler_static='-Bstatic'
7923      fi
7924      ;;
7925
7926    amigaos*)
7927      case $host_cpu in
7928      powerpc)
7929            # see comment about AmigaOS4 .so support
7930            lt_prog_compiler_pic='-fPIC'
7931        ;;
7932      m68k)
7933            # FIXME: we need at least 68020 code to build shared libraries, but
7934            # adding the `-m68020' flag to GCC prevents building anything better,
7935            # like `-m68040'.
7936            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7937        ;;
7938      esac
7939      ;;
7940
7941    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7942      # PIC is the default for these OSes.
7943      ;;
7944
7945    mingw* | cygwin* | pw32* | os2* | cegcc*)
7946      # This hack is so that the source file can tell whether it is being
7947      # built for inclusion in a dll (and should export symbols for example).
7948      # Although the cygwin gcc ignores -fPIC, still need this for old-style
7949      # (--disable-auto-import) libraries
7950      lt_prog_compiler_pic='-DDLL_EXPORT'
7951      ;;
7952
7953    darwin* | rhapsody*)
7954      # PIC is the default on this platform
7955      # Common symbols not allowed in MH_DYLIB files
7956      lt_prog_compiler_pic='-fno-common'
7957      ;;
7958
7959    haiku*)
7960      # PIC is the default for Haiku.
7961      # The "-static" flag exists, but is broken.
7962      lt_prog_compiler_static=
7963      ;;
7964
7965    hpux*)
7966      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7967      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
7968      # sets the default TLS model and affects inlining.
7969      case $host_cpu in
7970      hppa*64*)
7971	# +Z the default
7972	;;
7973      *)
7974	lt_prog_compiler_pic='-fPIC'
7975	;;
7976      esac
7977      ;;
7978
7979    interix[3-9]*)
7980      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7981      # Instead, we relocate shared libraries at runtime.
7982      ;;
7983
7984    msdosdjgpp*)
7985      # Just because we use GCC doesn't mean we suddenly get shared libraries
7986      # on systems that don't support them.
7987      lt_prog_compiler_can_build_shared=no
7988      enable_shared=no
7989      ;;
7990
7991    *nto* | *qnx*)
7992      # QNX uses GNU C++, but need to define -shared option too, otherwise
7993      # it will coredump.
7994      lt_prog_compiler_pic='-fPIC -shared'
7995      ;;
7996
7997    sysv4*MP*)
7998      if test -d /usr/nec; then
7999	lt_prog_compiler_pic=-Kconform_pic
8000      fi
8001      ;;
8002
8003    *)
8004      lt_prog_compiler_pic='-fPIC'
8005      ;;
8006    esac
8007
8008    case $cc_basename in
8009    nvcc*) # Cuda Compiler Driver 2.2
8010      lt_prog_compiler_wl='-Xlinker '
8011      lt_prog_compiler_pic='-Xcompiler -fPIC'
8012      ;;
8013    esac
8014  else
8015    # PORTME Check for flag to pass linker flags through the system compiler.
8016    case $host_os in
8017    aix*)
8018      lt_prog_compiler_wl='-Wl,'
8019      if test "$host_cpu" = ia64; then
8020	# AIX 5 now supports IA64 processor
8021	lt_prog_compiler_static='-Bstatic'
8022      else
8023	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8024      fi
8025      ;;
8026
8027    mingw* | cygwin* | pw32* | os2* | cegcc*)
8028      # This hack is so that the source file can tell whether it is being
8029      # built for inclusion in a dll (and should export symbols for example).
8030      lt_prog_compiler_pic='-DDLL_EXPORT'
8031      ;;
8032
8033    hpux9* | hpux10* | hpux11*)
8034      lt_prog_compiler_wl='-Wl,'
8035      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8036      # not for PA HP-UX.
8037      case $host_cpu in
8038      hppa*64*|ia64*)
8039	# +Z the default
8040	;;
8041      *)
8042	lt_prog_compiler_pic='+Z'
8043	;;
8044      esac
8045      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8046      lt_prog_compiler_static='${wl}-a ${wl}archive'
8047      ;;
8048
8049    irix5* | irix6* | nonstopux*)
8050      lt_prog_compiler_wl='-Wl,'
8051      # PIC (with -KPIC) is the default.
8052      lt_prog_compiler_static='-non_shared'
8053      ;;
8054
8055    linux* | k*bsd*-gnu | kopensolaris*-gnu)
8056      case $cc_basename in
8057      # old Intel for x86_64 which still supported -KPIC.
8058      ecc*)
8059	lt_prog_compiler_wl='-Wl,'
8060	lt_prog_compiler_pic='-KPIC'
8061	lt_prog_compiler_static='-static'
8062        ;;
8063      # icc used to be incompatible with GCC.
8064      # ICC 10 doesn't accept -KPIC any more.
8065      icc* | ifort*)
8066	lt_prog_compiler_wl='-Wl,'
8067	lt_prog_compiler_pic='-fPIC'
8068	lt_prog_compiler_static='-static'
8069        ;;
8070      # Lahey Fortran 8.1.
8071      lf95*)
8072	lt_prog_compiler_wl='-Wl,'
8073	lt_prog_compiler_pic='--shared'
8074	lt_prog_compiler_static='--static'
8075	;;
8076      nagfor*)
8077	# NAG Fortran compiler
8078	lt_prog_compiler_wl='-Wl,-Wl,,'
8079	lt_prog_compiler_pic='-PIC'
8080	lt_prog_compiler_static='-Bstatic'
8081	;;
8082      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8083        # Portland Group compilers (*not* the Pentium gcc compiler,
8084	# which looks to be a dead project)
8085	lt_prog_compiler_wl='-Wl,'
8086	lt_prog_compiler_pic='-fpic'
8087	lt_prog_compiler_static='-Bstatic'
8088        ;;
8089      ccc*)
8090        lt_prog_compiler_wl='-Wl,'
8091        # All Alpha code is PIC.
8092        lt_prog_compiler_static='-non_shared'
8093        ;;
8094      xl* | bgxl* | bgf* | mpixl*)
8095	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8096	lt_prog_compiler_wl='-Wl,'
8097	lt_prog_compiler_pic='-qpic'
8098	lt_prog_compiler_static='-qstaticlink'
8099	;;
8100      *)
8101	case `$CC -V 2>&1 | sed 5q` in
8102	*Sun\ F* | *Sun*Fortran*)
8103	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8104	  lt_prog_compiler_pic='-KPIC'
8105	  lt_prog_compiler_static='-Bstatic'
8106	  lt_prog_compiler_wl=''
8107	  ;;
8108	*Sun\ C*)
8109	  # Sun C 5.9
8110	  lt_prog_compiler_pic='-KPIC'
8111	  lt_prog_compiler_static='-Bstatic'
8112	  lt_prog_compiler_wl='-Wl,'
8113	  ;;
8114	esac
8115	;;
8116      esac
8117      ;;
8118
8119    newsos6)
8120      lt_prog_compiler_pic='-KPIC'
8121      lt_prog_compiler_static='-Bstatic'
8122      ;;
8123
8124    *nto* | *qnx*)
8125      # QNX uses GNU C++, but need to define -shared option too, otherwise
8126      # it will coredump.
8127      lt_prog_compiler_pic='-fPIC -shared'
8128      ;;
8129
8130    osf3* | osf4* | osf5*)
8131      lt_prog_compiler_wl='-Wl,'
8132      # All OSF/1 code is PIC.
8133      lt_prog_compiler_static='-non_shared'
8134      ;;
8135
8136    rdos*)
8137      lt_prog_compiler_static='-non_shared'
8138      ;;
8139
8140    solaris*)
8141      lt_prog_compiler_pic='-KPIC'
8142      lt_prog_compiler_static='-Bstatic'
8143      case $cc_basename in
8144      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8145	lt_prog_compiler_wl='-Qoption ld ';;
8146      *)
8147	lt_prog_compiler_wl='-Wl,';;
8148      esac
8149      ;;
8150
8151    sunos4*)
8152      lt_prog_compiler_wl='-Qoption ld '
8153      lt_prog_compiler_pic='-PIC'
8154      lt_prog_compiler_static='-Bstatic'
8155      ;;
8156
8157    sysv4 | sysv4.2uw2* | sysv4.3*)
8158      lt_prog_compiler_wl='-Wl,'
8159      lt_prog_compiler_pic='-KPIC'
8160      lt_prog_compiler_static='-Bstatic'
8161      ;;
8162
8163    sysv4*MP*)
8164      if test -d /usr/nec ;then
8165	lt_prog_compiler_pic='-Kconform_pic'
8166	lt_prog_compiler_static='-Bstatic'
8167      fi
8168      ;;
8169
8170    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8171      lt_prog_compiler_wl='-Wl,'
8172      lt_prog_compiler_pic='-KPIC'
8173      lt_prog_compiler_static='-Bstatic'
8174      ;;
8175
8176    unicos*)
8177      lt_prog_compiler_wl='-Wl,'
8178      lt_prog_compiler_can_build_shared=no
8179      ;;
8180
8181    uts4*)
8182      lt_prog_compiler_pic='-pic'
8183      lt_prog_compiler_static='-Bstatic'
8184      ;;
8185
8186    *)
8187      lt_prog_compiler_can_build_shared=no
8188      ;;
8189    esac
8190  fi
8191
8192case $host_os in
8193  # For platforms which do not support PIC, -DPIC is meaningless:
8194  *djgpp*)
8195    lt_prog_compiler_pic=
8196    ;;
8197  *)
8198    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8199    ;;
8200esac
8201
8202{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8203$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8204if ${lt_cv_prog_compiler_pic+:} false; then :
8205  $as_echo_n "(cached) " >&6
8206else
8207  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8208fi
8209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8210$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8211lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8212
8213#
8214# Check to make sure the PIC flag actually works.
8215#
8216if test -n "$lt_prog_compiler_pic"; then
8217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8218$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8219if ${lt_cv_prog_compiler_pic_works+:} false; then :
8220  $as_echo_n "(cached) " >&6
8221else
8222  lt_cv_prog_compiler_pic_works=no
8223   ac_outfile=conftest.$ac_objext
8224   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8225   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8226   # Insert the option either (1) after the last *FLAGS variable, or
8227   # (2) before a word containing "conftest.", or (3) at the end.
8228   # Note that $ac_compile itself does not contain backslashes and begins
8229   # with a dollar sign (not a hyphen), so the echo should work correctly.
8230   # The option is referenced via a variable to avoid confusing sed.
8231   lt_compile=`echo "$ac_compile" | $SED \
8232   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8233   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8234   -e 's:$: $lt_compiler_flag:'`
8235   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8236   (eval "$lt_compile" 2>conftest.err)
8237   ac_status=$?
8238   cat conftest.err >&5
8239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240   if (exit $ac_status) && test -s "$ac_outfile"; then
8241     # The compiler can only warn and ignore the option if not recognized
8242     # So say no if there are warnings other than the usual output.
8243     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8244     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8245     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8246       lt_cv_prog_compiler_pic_works=yes
8247     fi
8248   fi
8249   $RM conftest*
8250
8251fi
8252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8253$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8254
8255if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8256    case $lt_prog_compiler_pic in
8257     "" | " "*) ;;
8258     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8259     esac
8260else
8261    lt_prog_compiler_pic=
8262     lt_prog_compiler_can_build_shared=no
8263fi
8264
8265fi
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277#
8278# Check to make sure the static flag actually works.
8279#
8280wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8282$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8283if ${lt_cv_prog_compiler_static_works+:} false; then :
8284  $as_echo_n "(cached) " >&6
8285else
8286  lt_cv_prog_compiler_static_works=no
8287   save_LDFLAGS="$LDFLAGS"
8288   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8289   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8290   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8291     # The linker can only warn and ignore the option if not recognized
8292     # So say no if there are warnings
8293     if test -s conftest.err; then
8294       # Append any errors to the config.log.
8295       cat conftest.err 1>&5
8296       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8297       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8298       if diff conftest.exp conftest.er2 >/dev/null; then
8299         lt_cv_prog_compiler_static_works=yes
8300       fi
8301     else
8302       lt_cv_prog_compiler_static_works=yes
8303     fi
8304   fi
8305   $RM -r conftest*
8306   LDFLAGS="$save_LDFLAGS"
8307
8308fi
8309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8310$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8311
8312if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8313    :
8314else
8315    lt_prog_compiler_static=
8316fi
8317
8318
8319
8320
8321
8322
8323
8324  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8325$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8326if ${lt_cv_prog_compiler_c_o+:} false; then :
8327  $as_echo_n "(cached) " >&6
8328else
8329  lt_cv_prog_compiler_c_o=no
8330   $RM -r conftest 2>/dev/null
8331   mkdir conftest
8332   cd conftest
8333   mkdir out
8334   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8335
8336   lt_compiler_flag="-o out/conftest2.$ac_objext"
8337   # Insert the option either (1) after the last *FLAGS variable, or
8338   # (2) before a word containing "conftest.", or (3) at the end.
8339   # Note that $ac_compile itself does not contain backslashes and begins
8340   # with a dollar sign (not a hyphen), so the echo should work correctly.
8341   lt_compile=`echo "$ac_compile" | $SED \
8342   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8343   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8344   -e 's:$: $lt_compiler_flag:'`
8345   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8346   (eval "$lt_compile" 2>out/conftest.err)
8347   ac_status=$?
8348   cat out/conftest.err >&5
8349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8351   then
8352     # The compiler can only warn and ignore the option if not recognized
8353     # So say no if there are warnings
8354     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8355     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8356     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8357       lt_cv_prog_compiler_c_o=yes
8358     fi
8359   fi
8360   chmod u+w . 2>&5
8361   $RM conftest*
8362   # SGI C++ compiler will create directory out/ii_files/ for
8363   # template instantiation
8364   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8365   $RM out/* && rmdir out
8366   cd ..
8367   $RM -r conftest
8368   $RM conftest*
8369
8370fi
8371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8372$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8373
8374
8375
8376
8377
8378
8379  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8380$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8381if ${lt_cv_prog_compiler_c_o+:} false; then :
8382  $as_echo_n "(cached) " >&6
8383else
8384  lt_cv_prog_compiler_c_o=no
8385   $RM -r conftest 2>/dev/null
8386   mkdir conftest
8387   cd conftest
8388   mkdir out
8389   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8390
8391   lt_compiler_flag="-o out/conftest2.$ac_objext"
8392   # Insert the option either (1) after the last *FLAGS variable, or
8393   # (2) before a word containing "conftest.", or (3) at the end.
8394   # Note that $ac_compile itself does not contain backslashes and begins
8395   # with a dollar sign (not a hyphen), so the echo should work correctly.
8396   lt_compile=`echo "$ac_compile" | $SED \
8397   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8398   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8399   -e 's:$: $lt_compiler_flag:'`
8400   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8401   (eval "$lt_compile" 2>out/conftest.err)
8402   ac_status=$?
8403   cat out/conftest.err >&5
8404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8405   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8406   then
8407     # The compiler can only warn and ignore the option if not recognized
8408     # So say no if there are warnings
8409     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8410     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8411     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8412       lt_cv_prog_compiler_c_o=yes
8413     fi
8414   fi
8415   chmod u+w . 2>&5
8416   $RM conftest*
8417   # SGI C++ compiler will create directory out/ii_files/ for
8418   # template instantiation
8419   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8420   $RM out/* && rmdir out
8421   cd ..
8422   $RM -r conftest
8423   $RM conftest*
8424
8425fi
8426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8427$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8428
8429
8430
8431
8432hard_links="nottested"
8433if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8434  # do not overwrite the value of need_locks provided by the user
8435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8436$as_echo_n "checking if we can lock with hard links... " >&6; }
8437  hard_links=yes
8438  $RM conftest*
8439  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8440  touch conftest.a
8441  ln conftest.a conftest.b 2>&5 || hard_links=no
8442  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8443  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8444$as_echo "$hard_links" >&6; }
8445  if test "$hard_links" = no; then
8446    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8447$as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8448    need_locks=warn
8449  fi
8450else
8451  need_locks=no
8452fi
8453
8454
8455
8456
8457
8458
8459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8460$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8461
8462  runpath_var=
8463  allow_undefined_flag=
8464  always_export_symbols=no
8465  archive_cmds=
8466  archive_expsym_cmds=
8467  compiler_needs_object=no
8468  enable_shared_with_static_runtimes=no
8469  export_dynamic_flag_spec=
8470  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8471  hardcode_automatic=no
8472  hardcode_direct=no
8473  hardcode_direct_absolute=no
8474  hardcode_libdir_flag_spec=
8475  hardcode_libdir_flag_spec_ld=
8476  hardcode_libdir_separator=
8477  hardcode_minus_L=no
8478  hardcode_shlibpath_var=unsupported
8479  inherit_rpath=no
8480  link_all_deplibs=unknown
8481  module_cmds=
8482  module_expsym_cmds=
8483  old_archive_from_new_cmds=
8484  old_archive_from_expsyms_cmds=
8485  thread_safe_flag_spec=
8486  whole_archive_flag_spec=
8487  # include_expsyms should be a list of space-separated symbols to be *always*
8488  # included in the symbol list
8489  include_expsyms=
8490  # exclude_expsyms can be an extended regexp of symbols to exclude
8491  # it will be wrapped by ` (' and `)$', so one must not match beginning or
8492  # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8493  # as well as any symbol that contains `d'.
8494  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8495  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8496  # platforms (ab)use it in PIC code, but their linkers get confused if
8497  # the symbol is explicitly referenced.  Since portable code cannot
8498  # rely on this symbol name, it's probably fine to never include it in
8499  # preloaded symbol tables.
8500  # Exclude shared library initialization/finalization symbols.
8501  extract_expsyms_cmds=
8502
8503  case $host_os in
8504  cygwin* | mingw* | pw32* | cegcc*)
8505    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8506    # When not using gcc, we currently assume that we are using
8507    # Microsoft Visual C++.
8508    if test "$GCC" != yes; then
8509      with_gnu_ld=no
8510    fi
8511    ;;
8512  interix*)
8513    # we just hope/assume this is gcc and not c89 (= MSVC++)
8514    with_gnu_ld=yes
8515    ;;
8516  openbsd*)
8517    with_gnu_ld=no
8518    ;;
8519  esac
8520
8521  ld_shlibs=yes
8522
8523  # On some targets, GNU ld is compatible enough with the native linker
8524  # that we're better off using the native interface for both.
8525  lt_use_gnu_ld_interface=no
8526  if test "$with_gnu_ld" = yes; then
8527    case $host_os in
8528      aix*)
8529	# The AIX port of GNU ld has always aspired to compatibility
8530	# with the native linker.  However, as the warning in the GNU ld
8531	# block says, versions before 2.19.5* couldn't really create working
8532	# shared libraries, regardless of the interface used.
8533	case `$LD -v 2>&1` in
8534	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8535	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8536	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8537	  *)
8538	    lt_use_gnu_ld_interface=yes
8539	    ;;
8540	esac
8541	;;
8542      *)
8543	lt_use_gnu_ld_interface=yes
8544	;;
8545    esac
8546  fi
8547
8548  if test "$lt_use_gnu_ld_interface" = yes; then
8549    # If archive_cmds runs LD, not CC, wlarc should be empty
8550    wlarc='${wl}'
8551
8552    # Set some defaults for GNU ld with shared library support. These
8553    # are reset later if shared libraries are not supported. Putting them
8554    # here allows them to be overridden if necessary.
8555    runpath_var=LD_RUN_PATH
8556    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8557    export_dynamic_flag_spec='${wl}--export-dynamic'
8558    # ancient GNU ld didn't support --whole-archive et. al.
8559    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8560      whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8561    else
8562      whole_archive_flag_spec=
8563    fi
8564    supports_anon_versioning=no
8565    case `$LD -v 2>&1` in
8566      *GNU\ gold*) supports_anon_versioning=yes ;;
8567      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8568      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8569      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8570      *\ 2.11.*) ;; # other 2.11 versions
8571      *) supports_anon_versioning=yes ;;
8572    esac
8573
8574    # See if GNU ld supports shared libraries.
8575    case $host_os in
8576    aix[3-9]*)
8577      # On AIX/PPC, the GNU linker is very broken
8578      if test "$host_cpu" != ia64; then
8579	ld_shlibs=no
8580	cat <<_LT_EOF 1>&2
8581
8582*** Warning: the GNU linker, at least up to release 2.19, is reported
8583*** to be unable to reliably create shared libraries on AIX.
8584*** Therefore, libtool is disabling shared libraries support.  If you
8585*** really care for shared libraries, you may want to install binutils
8586*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
8587*** You will then need to restart the configuration process.
8588
8589_LT_EOF
8590      fi
8591      ;;
8592
8593    amigaos*)
8594      case $host_cpu in
8595      powerpc)
8596            # see comment about AmigaOS4 .so support
8597            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8598            archive_expsym_cmds=''
8599        ;;
8600      m68k)
8601            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)'
8602            hardcode_libdir_flag_spec='-L$libdir'
8603            hardcode_minus_L=yes
8604        ;;
8605      esac
8606      ;;
8607
8608    beos*)
8609      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8610	allow_undefined_flag=unsupported
8611	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8612	# support --undefined.  This deserves some investigation.  FIXME
8613	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8614      else
8615	ld_shlibs=no
8616      fi
8617      ;;
8618
8619    cygwin* | mingw* | pw32* | cegcc*)
8620      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8621      # as there is no search path for DLLs.
8622      hardcode_libdir_flag_spec='-L$libdir'
8623      export_dynamic_flag_spec='${wl}--export-all-symbols'
8624      allow_undefined_flag=unsupported
8625      always_export_symbols=no
8626      enable_shared_with_static_runtimes=yes
8627      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
8628      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8629
8630      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8631        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8632	# If the export-symbols file already is a .def file (1st line
8633	# is EXPORTS), use it as is; otherwise, prepend...
8634	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8635	  cp $export_symbols $output_objdir/$soname.def;
8636	else
8637	  echo EXPORTS > $output_objdir/$soname.def;
8638	  cat $export_symbols >> $output_objdir/$soname.def;
8639	fi~
8640	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8641      else
8642	ld_shlibs=no
8643      fi
8644      ;;
8645
8646    haiku*)
8647      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8648      link_all_deplibs=yes
8649      ;;
8650
8651    interix[3-9]*)
8652      hardcode_direct=no
8653      hardcode_shlibpath_var=no
8654      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8655      export_dynamic_flag_spec='${wl}-E'
8656      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8657      # Instead, shared libraries are loaded at an image base (0x10000000 by
8658      # default) and relocated if they conflict, which is a slow very memory
8659      # consuming and fragmenting process.  To avoid this, we pick a random,
8660      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8661      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
8662      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8663      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'
8664      ;;
8665
8666    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8667      tmp_diet=no
8668      if test "$host_os" = linux-dietlibc; then
8669	case $cc_basename in
8670	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
8671	esac
8672      fi
8673      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8674	 && test "$tmp_diet" = no
8675      then
8676	tmp_addflag=' $pic_flag'
8677	tmp_sharedflag='-shared'
8678	case $cc_basename,$host_cpu in
8679        pgcc*)				# Portland Group C compiler
8680	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8681	  tmp_addflag=' $pic_flag'
8682	  ;;
8683	pgf77* | pgf90* | pgf95* | pgfortran*)
8684					# Portland Group f77 and f90 compilers
8685	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8686	  tmp_addflag=' $pic_flag -Mnomain' ;;
8687	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
8688	  tmp_addflag=' -i_dynamic' ;;
8689	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
8690	  tmp_addflag=' -i_dynamic -nofor_main' ;;
8691	ifc* | ifort*)			# Intel Fortran compiler
8692	  tmp_addflag=' -nofor_main' ;;
8693	lf95*)				# Lahey Fortran 8.1
8694	  whole_archive_flag_spec=
8695	  tmp_sharedflag='--shared' ;;
8696	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8697	  tmp_sharedflag='-qmkshrobj'
8698	  tmp_addflag= ;;
8699	nvcc*)	# Cuda Compiler Driver 2.2
8700	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8701	  compiler_needs_object=yes
8702	  ;;
8703	esac
8704	case `$CC -V 2>&1 | sed 5q` in
8705	*Sun\ C*)			# Sun C 5.9
8706	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
8707	  compiler_needs_object=yes
8708	  tmp_sharedflag='-G' ;;
8709	*Sun\ F*)			# Sun Fortran 8.3
8710	  tmp_sharedflag='-G' ;;
8711	esac
8712	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8713
8714        if test "x$supports_anon_versioning" = xyes; then
8715          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8716	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8717	    echo "local: *; };" >> $output_objdir/$libname.ver~
8718	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8719        fi
8720
8721	case $cc_basename in
8722	xlf* | bgf* | bgxlf* | mpixlf*)
8723	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8724	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8725	  hardcode_libdir_flag_spec=
8726	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
8727	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
8728	  if test "x$supports_anon_versioning" = xyes; then
8729	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8730	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8731	      echo "local: *; };" >> $output_objdir/$libname.ver~
8732	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8733	  fi
8734	  ;;
8735	esac
8736      else
8737        ld_shlibs=no
8738      fi
8739      ;;
8740
8741    netbsd*)
8742      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8743	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8744	wlarc=
8745      else
8746	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8747	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8748      fi
8749      ;;
8750
8751    solaris*)
8752      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8753	ld_shlibs=no
8754	cat <<_LT_EOF 1>&2
8755
8756*** Warning: The releases 2.8.* of the GNU linker cannot reliably
8757*** create shared libraries on Solaris systems.  Therefore, libtool
8758*** is disabling shared libraries support.  We urge you to upgrade GNU
8759*** binutils to release 2.9.1 or newer.  Another option is to modify
8760*** your PATH or compiler configuration so that the native linker is
8761*** used, and then restart.
8762
8763_LT_EOF
8764      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8765	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8766	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8767      else
8768	ld_shlibs=no
8769      fi
8770      ;;
8771
8772    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8773      case `$LD -v 2>&1` in
8774        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8775	ld_shlibs=no
8776	cat <<_LT_EOF 1>&2
8777
8778*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8779*** reliably create shared libraries on SCO systems.  Therefore, libtool
8780*** is disabling shared libraries support.  We urge you to upgrade GNU
8781*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
8782*** your PATH or compiler configuration so that the native linker is
8783*** used, and then restart.
8784
8785_LT_EOF
8786	;;
8787	*)
8788	  # For security reasons, it is highly recommended that you always
8789	  # use absolute paths for naming shared libraries, and exclude the
8790	  # DT_RUNPATH tag from executables and libraries.  But doing so
8791	  # requires that you compile everything twice, which is a pain.
8792	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8793	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8794	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8795	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8796	  else
8797	    ld_shlibs=no
8798	  fi
8799	;;
8800      esac
8801      ;;
8802
8803    sunos4*)
8804      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8805      wlarc=
8806      hardcode_direct=yes
8807      hardcode_shlibpath_var=no
8808      ;;
8809
8810    *)
8811      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8812	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8813	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8814      else
8815	ld_shlibs=no
8816      fi
8817      ;;
8818    esac
8819
8820    if test "$ld_shlibs" = no; then
8821      runpath_var=
8822      hardcode_libdir_flag_spec=
8823      export_dynamic_flag_spec=
8824      whole_archive_flag_spec=
8825    fi
8826  else
8827    # PORTME fill in a description of your system's linker (not GNU ld)
8828    case $host_os in
8829    aix3*)
8830      allow_undefined_flag=unsupported
8831      always_export_symbols=yes
8832      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'
8833      # Note: this linker hardcodes the directories in LIBPATH if there
8834      # are no directories specified by -L.
8835      hardcode_minus_L=yes
8836      if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8837	# Neither direct hardcoding nor static linking is supported with a
8838	# broken collect2.
8839	hardcode_direct=unsupported
8840      fi
8841      ;;
8842
8843    aix[4-9]*)
8844      if test "$host_cpu" = ia64; then
8845	# On IA64, the linker does run time linking by default, so we don't
8846	# have to do anything special.
8847	aix_use_runtimelinking=no
8848	exp_sym_flag='-Bexport'
8849	no_entry_flag=""
8850      else
8851	# If we're using GNU nm, then we don't want the "-C" option.
8852	# -C means demangle to AIX nm, but means don't demangle with GNU nm
8853	# Also, AIX nm treats weak defined symbols like other global
8854	# defined symbols, whereas GNU nm marks them as "W".
8855	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8856	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8857	else
8858	  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'
8859	fi
8860	aix_use_runtimelinking=no
8861
8862	# Test if we are trying to use run time linking or normal
8863	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
8864	# need to do runtime linking.
8865	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8866	  for ld_flag in $LDFLAGS; do
8867	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8868	    aix_use_runtimelinking=yes
8869	    break
8870	  fi
8871	  done
8872	  ;;
8873	esac
8874
8875	exp_sym_flag='-bexport'
8876	no_entry_flag='-bnoentry'
8877      fi
8878
8879      # When large executables or shared objects are built, AIX ld can
8880      # have problems creating the table of contents.  If linking a library
8881      # or program results in "error TOC overflow" add -mminimal-toc to
8882      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8883      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8884
8885      archive_cmds=''
8886      hardcode_direct=yes
8887      hardcode_direct_absolute=yes
8888      hardcode_libdir_separator=':'
8889      link_all_deplibs=yes
8890      file_list_spec='${wl}-f,'
8891
8892      if test "$GCC" = yes; then
8893	case $host_os in aix4.[012]|aix4.[012].*)
8894	# We only want to do this on AIX 4.2 and lower, the check
8895	# below for broken collect2 doesn't work under 4.3+
8896	  collect2name=`${CC} -print-prog-name=collect2`
8897	  if test -f "$collect2name" &&
8898	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8899	  then
8900	  # We have reworked collect2
8901	  :
8902	  else
8903	  # We have old collect2
8904	  hardcode_direct=unsupported
8905	  # It fails to find uninstalled libraries when the uninstalled
8906	  # path is not listed in the libpath.  Setting hardcode_minus_L
8907	  # to unsupported forces relinking
8908	  hardcode_minus_L=yes
8909	  hardcode_libdir_flag_spec='-L$libdir'
8910	  hardcode_libdir_separator=
8911	  fi
8912	  ;;
8913	esac
8914	shared_flag='-shared'
8915	if test "$aix_use_runtimelinking" = yes; then
8916	  shared_flag="$shared_flag "'${wl}-G'
8917	fi
8918      else
8919	# not using gcc
8920	if test "$host_cpu" = ia64; then
8921	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8922	# chokes on -Wl,-G. The following line is correct:
8923	  shared_flag='-G'
8924	else
8925	  if test "$aix_use_runtimelinking" = yes; then
8926	    shared_flag='${wl}-G'
8927	  else
8928	    shared_flag='${wl}-bM:SRE'
8929	  fi
8930	fi
8931      fi
8932
8933      export_dynamic_flag_spec='${wl}-bexpall'
8934      # It seems that -bexpall does not export symbols beginning with
8935      # underscore (_), so it is better to generate a list of symbols to export.
8936      always_export_symbols=yes
8937      if test "$aix_use_runtimelinking" = yes; then
8938	# Warning - without using the other runtime loading flags (-brtl),
8939	# -berok will link without error, but may produce a broken library.
8940	allow_undefined_flag='-berok'
8941        # Determine the default libpath from the value encoded in an
8942        # empty executable.
8943        if test "${lt_cv_aix_libpath+set}" = set; then
8944  aix_libpath=$lt_cv_aix_libpath
8945else
8946  if ${lt_cv_aix_libpath_+:} false; then :
8947  $as_echo_n "(cached) " >&6
8948else
8949  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8950/* end confdefs.h.  */
8951
8952int
8953main ()
8954{
8955
8956  ;
8957  return 0;
8958}
8959_ACEOF
8960if ac_fn_c_try_link "$LINENO"; then :
8961
8962  lt_aix_libpath_sed='
8963      /Import File Strings/,/^$/ {
8964	  /^0/ {
8965	      s/^0  *\([^ ]*\) *$/\1/
8966	      p
8967	  }
8968      }'
8969  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8970  # Check for a 64-bit object if we didn't find anything.
8971  if test -z "$lt_cv_aix_libpath_"; then
8972    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8973  fi
8974fi
8975rm -f core conftest.err conftest.$ac_objext \
8976    conftest$ac_exeext conftest.$ac_ext
8977  if test -z "$lt_cv_aix_libpath_"; then
8978    lt_cv_aix_libpath_="/usr/lib:/lib"
8979  fi
8980
8981fi
8982
8983  aix_libpath=$lt_cv_aix_libpath_
8984fi
8985
8986        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8987        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8988      else
8989	if test "$host_cpu" = ia64; then
8990	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8991	  allow_undefined_flag="-z nodefs"
8992	  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"
8993	else
8994	 # Determine the default libpath from the value encoded in an
8995	 # empty executable.
8996	 if test "${lt_cv_aix_libpath+set}" = set; then
8997  aix_libpath=$lt_cv_aix_libpath
8998else
8999  if ${lt_cv_aix_libpath_+:} false; then :
9000  $as_echo_n "(cached) " >&6
9001else
9002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003/* end confdefs.h.  */
9004
9005int
9006main ()
9007{
9008
9009  ;
9010  return 0;
9011}
9012_ACEOF
9013if ac_fn_c_try_link "$LINENO"; then :
9014
9015  lt_aix_libpath_sed='
9016      /Import File Strings/,/^$/ {
9017	  /^0/ {
9018	      s/^0  *\([^ ]*\) *$/\1/
9019	      p
9020	  }
9021      }'
9022  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9023  # Check for a 64-bit object if we didn't find anything.
9024  if test -z "$lt_cv_aix_libpath_"; then
9025    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9026  fi
9027fi
9028rm -f core conftest.err conftest.$ac_objext \
9029    conftest$ac_exeext conftest.$ac_ext
9030  if test -z "$lt_cv_aix_libpath_"; then
9031    lt_cv_aix_libpath_="/usr/lib:/lib"
9032  fi
9033
9034fi
9035
9036  aix_libpath=$lt_cv_aix_libpath_
9037fi
9038
9039	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9040	  # Warning - without using the other run time loading flags,
9041	  # -berok will link without error, but may produce a broken library.
9042	  no_undefined_flag=' ${wl}-bernotok'
9043	  allow_undefined_flag=' ${wl}-berok'
9044	  if test "$with_gnu_ld" = yes; then
9045	    # We only use this code for GNU lds that support --whole-archive.
9046	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9047	  else
9048	    # Exported symbols can be pulled into shared objects from archives
9049	    whole_archive_flag_spec='$convenience'
9050	  fi
9051	  archive_cmds_need_lc=yes
9052	  # This is similar to how AIX traditionally builds its shared libraries.
9053	  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'
9054	fi
9055      fi
9056      ;;
9057
9058    amigaos*)
9059      case $host_cpu in
9060      powerpc)
9061            # see comment about AmigaOS4 .so support
9062            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9063            archive_expsym_cmds=''
9064        ;;
9065      m68k)
9066            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)'
9067            hardcode_libdir_flag_spec='-L$libdir'
9068            hardcode_minus_L=yes
9069        ;;
9070      esac
9071      ;;
9072
9073    bsdi[45]*)
9074      export_dynamic_flag_spec=-rdynamic
9075      ;;
9076
9077    cygwin* | mingw* | pw32* | cegcc*)
9078      # When not using gcc, we currently assume that we are using
9079      # Microsoft Visual C++.
9080      # hardcode_libdir_flag_spec is actually meaningless, as there is
9081      # no search path for DLLs.
9082      case $cc_basename in
9083      cl*)
9084	# Native MSVC
9085	hardcode_libdir_flag_spec=' '
9086	allow_undefined_flag=unsupported
9087	always_export_symbols=yes
9088	file_list_spec='@'
9089	# Tell ltmain to make .lib files, not .a files.
9090	libext=lib
9091	# Tell ltmain to make .dll files, not .so files.
9092	shrext_cmds=".dll"
9093	# FIXME: Setting linknames here is a bad hack.
9094	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
9095	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9096	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
9097	  else
9098	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
9099	  fi~
9100	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9101	  linknames='
9102	# The linker will not automatically build a static lib if we build a DLL.
9103	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9104	enable_shared_with_static_runtimes=yes
9105	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9106	# Don't use ranlib
9107	old_postinstall_cmds='chmod 644 $oldlib'
9108	postlink_cmds='lt_outputfile="@OUTPUT@"~
9109	  lt_tool_outputfile="@TOOL_OUTPUT@"~
9110	  case $lt_outputfile in
9111	    *.exe|*.EXE) ;;
9112	    *)
9113	      lt_outputfile="$lt_outputfile.exe"
9114	      lt_tool_outputfile="$lt_tool_outputfile.exe"
9115	      ;;
9116	  esac~
9117	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
9118	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9119	    $RM "$lt_outputfile.manifest";
9120	  fi'
9121	;;
9122      *)
9123	# Assume MSVC wrapper
9124	hardcode_libdir_flag_spec=' '
9125	allow_undefined_flag=unsupported
9126	# Tell ltmain to make .lib files, not .a files.
9127	libext=lib
9128	# Tell ltmain to make .dll files, not .so files.
9129	shrext_cmds=".dll"
9130	# FIXME: Setting linknames here is a bad hack.
9131	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9132	# The linker will automatically build a .lib file if we build a DLL.
9133	old_archive_from_new_cmds='true'
9134	# FIXME: Should let the user specify the lib program.
9135	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9136	enable_shared_with_static_runtimes=yes
9137	;;
9138      esac
9139      ;;
9140
9141    darwin* | rhapsody*)
9142
9143
9144  archive_cmds_need_lc=no
9145  hardcode_direct=no
9146  hardcode_automatic=yes
9147  hardcode_shlibpath_var=unsupported
9148  if test "$lt_cv_ld_force_load" = "yes"; then
9149    whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9150  else
9151    whole_archive_flag_spec=''
9152  fi
9153  link_all_deplibs=yes
9154  allow_undefined_flag="$_lt_dar_allow_undefined"
9155  case $cc_basename in
9156     ifort*) _lt_dar_can_shared=yes ;;
9157     *) _lt_dar_can_shared=$GCC ;;
9158  esac
9159  if test "$_lt_dar_can_shared" = "yes"; then
9160    output_verbose_link_cmd=func_echo_all
9161    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9162    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9163    archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9164    module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9165
9166  else
9167  ld_shlibs=no
9168  fi
9169
9170      ;;
9171
9172    dgux*)
9173      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9174      hardcode_libdir_flag_spec='-L$libdir'
9175      hardcode_shlibpath_var=no
9176      ;;
9177
9178    freebsd1*)
9179      ld_shlibs=no
9180      ;;
9181
9182    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9183    # support.  Future versions do this automatically, but an explicit c++rt0.o
9184    # does not break anything, and helps significantly (at the cost of a little
9185    # extra space).
9186    freebsd2.2*)
9187      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9188      hardcode_libdir_flag_spec='-R$libdir'
9189      hardcode_direct=yes
9190      hardcode_shlibpath_var=no
9191      ;;
9192
9193    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9194    freebsd2*)
9195      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9196      hardcode_direct=yes
9197      hardcode_minus_L=yes
9198      hardcode_shlibpath_var=no
9199      ;;
9200
9201    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9202    freebsd* | dragonfly*)
9203      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9204      hardcode_libdir_flag_spec='-R$libdir'
9205      hardcode_direct=yes
9206      hardcode_shlibpath_var=no
9207      ;;
9208
9209    hpux9*)
9210      if test "$GCC" = yes; then
9211	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9212      else
9213	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'
9214      fi
9215      hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9216      hardcode_libdir_separator=:
9217      hardcode_direct=yes
9218
9219      # hardcode_minus_L: Not really in the search PATH,
9220      # but as the default location of the library.
9221      hardcode_minus_L=yes
9222      export_dynamic_flag_spec='${wl}-E'
9223      ;;
9224
9225    hpux10*)
9226      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9227	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9228      else
9229	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9230      fi
9231      if test "$with_gnu_ld" = no; then
9232	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9233	hardcode_libdir_flag_spec_ld='+b $libdir'
9234	hardcode_libdir_separator=:
9235	hardcode_direct=yes
9236	hardcode_direct_absolute=yes
9237	export_dynamic_flag_spec='${wl}-E'
9238	# hardcode_minus_L: Not really in the search PATH,
9239	# but as the default location of the library.
9240	hardcode_minus_L=yes
9241      fi
9242      ;;
9243
9244    hpux11*)
9245      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9246	case $host_cpu in
9247	hppa*64*)
9248	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9249	  ;;
9250	ia64*)
9251	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9252	  ;;
9253	*)
9254	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9255	  ;;
9256	esac
9257      else
9258	case $host_cpu in
9259	hppa*64*)
9260	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9261	  ;;
9262	ia64*)
9263	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9264	  ;;
9265	*)
9266
9267	  # Older versions of the 11.00 compiler do not understand -b yet
9268	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9269	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9270$as_echo_n "checking if $CC understands -b... " >&6; }
9271if ${lt_cv_prog_compiler__b+:} false; then :
9272  $as_echo_n "(cached) " >&6
9273else
9274  lt_cv_prog_compiler__b=no
9275   save_LDFLAGS="$LDFLAGS"
9276   LDFLAGS="$LDFLAGS -b"
9277   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9278   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9279     # The linker can only warn and ignore the option if not recognized
9280     # So say no if there are warnings
9281     if test -s conftest.err; then
9282       # Append any errors to the config.log.
9283       cat conftest.err 1>&5
9284       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9285       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9286       if diff conftest.exp conftest.er2 >/dev/null; then
9287         lt_cv_prog_compiler__b=yes
9288       fi
9289     else
9290       lt_cv_prog_compiler__b=yes
9291     fi
9292   fi
9293   $RM -r conftest*
9294   LDFLAGS="$save_LDFLAGS"
9295
9296fi
9297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9298$as_echo "$lt_cv_prog_compiler__b" >&6; }
9299
9300if test x"$lt_cv_prog_compiler__b" = xyes; then
9301    archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9302else
9303    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9304fi
9305
9306	  ;;
9307	esac
9308      fi
9309      if test "$with_gnu_ld" = no; then
9310	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9311	hardcode_libdir_separator=:
9312
9313	case $host_cpu in
9314	hppa*64*|ia64*)
9315	  hardcode_direct=no
9316	  hardcode_shlibpath_var=no
9317	  ;;
9318	*)
9319	  hardcode_direct=yes
9320	  hardcode_direct_absolute=yes
9321	  export_dynamic_flag_spec='${wl}-E'
9322
9323	  # hardcode_minus_L: Not really in the search PATH,
9324	  # but as the default location of the library.
9325	  hardcode_minus_L=yes
9326	  ;;
9327	esac
9328      fi
9329      ;;
9330
9331    irix5* | irix6* | nonstopux*)
9332      if test "$GCC" = yes; then
9333	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9334	# Try to use the -exported_symbol ld option, if it does not
9335	# work, assume that -exports_file does not work either and
9336	# implicitly export all symbols.
9337	# This should be the same for all languages, so no per-tag cache variable.
9338	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9339$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9340if ${lt_cv_irix_exported_symbol+:} false; then :
9341  $as_echo_n "(cached) " >&6
9342else
9343  save_LDFLAGS="$LDFLAGS"
9344	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9345	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346/* end confdefs.h.  */
9347int foo (void) { return 0; }
9348_ACEOF
9349if ac_fn_c_try_link "$LINENO"; then :
9350  lt_cv_irix_exported_symbol=yes
9351else
9352  lt_cv_irix_exported_symbol=no
9353fi
9354rm -f core conftest.err conftest.$ac_objext \
9355    conftest$ac_exeext conftest.$ac_ext
9356           LDFLAGS="$save_LDFLAGS"
9357fi
9358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9359$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9360	if test "$lt_cv_irix_exported_symbol" = yes; then
9361          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9362	fi
9363      else
9364	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9365	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9366      fi
9367      archive_cmds_need_lc='no'
9368      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9369      hardcode_libdir_separator=:
9370      inherit_rpath=yes
9371      link_all_deplibs=yes
9372      ;;
9373
9374    netbsd*)
9375      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9376	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9377      else
9378	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9379      fi
9380      hardcode_libdir_flag_spec='-R$libdir'
9381      hardcode_direct=yes
9382      hardcode_shlibpath_var=no
9383      ;;
9384
9385    newsos6)
9386      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9387      hardcode_direct=yes
9388      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9389      hardcode_libdir_separator=:
9390      hardcode_shlibpath_var=no
9391      ;;
9392
9393    *nto* | *qnx*)
9394      ;;
9395
9396    openbsd*)
9397      if test -f /usr/libexec/ld.so; then
9398	hardcode_direct=yes
9399	hardcode_shlibpath_var=no
9400	hardcode_direct_absolute=yes
9401	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9402	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9403	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9404	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9405	  export_dynamic_flag_spec='${wl}-E'
9406	else
9407	  case $host_os in
9408	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9409	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9410	     hardcode_libdir_flag_spec='-R$libdir'
9411	     ;;
9412	   *)
9413	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9414	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9415	     ;;
9416	  esac
9417	fi
9418      else
9419	ld_shlibs=no
9420      fi
9421      ;;
9422
9423    os2*)
9424      hardcode_libdir_flag_spec='-L$libdir'
9425      hardcode_minus_L=yes
9426      allow_undefined_flag=unsupported
9427      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'
9428      old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9429      ;;
9430
9431    osf3*)
9432      if test "$GCC" = yes; then
9433	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9434	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9435      else
9436	allow_undefined_flag=' -expect_unresolved \*'
9437	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9438      fi
9439      archive_cmds_need_lc='no'
9440      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9441      hardcode_libdir_separator=:
9442      ;;
9443
9444    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9445      if test "$GCC" = yes; then
9446	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9447	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9448	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9449      else
9450	allow_undefined_flag=' -expect_unresolved \*'
9451	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9452	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9453	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9454
9455	# Both c and cxx compiler support -rpath directly
9456	hardcode_libdir_flag_spec='-rpath $libdir'
9457      fi
9458      archive_cmds_need_lc='no'
9459      hardcode_libdir_separator=:
9460      ;;
9461
9462    solaris*)
9463      no_undefined_flag=' -z defs'
9464      if test "$GCC" = yes; then
9465	wlarc='${wl}'
9466	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9467	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9468	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9469      else
9470	case `$CC -V 2>&1` in
9471	*"Compilers 5.0"*)
9472	  wlarc=''
9473	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9474	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9475	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9476	  ;;
9477	*)
9478	  wlarc='${wl}'
9479	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9480	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9481	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9482	  ;;
9483	esac
9484      fi
9485      hardcode_libdir_flag_spec='-R$libdir'
9486      hardcode_shlibpath_var=no
9487      case $host_os in
9488      solaris2.[0-5] | solaris2.[0-5].*) ;;
9489      *)
9490	# The compiler driver will combine and reorder linker options,
9491	# but understands `-z linker_flag'.  GCC discards it without `$wl',
9492	# but is careful enough not to reorder.
9493	# Supported since Solaris 2.6 (maybe 2.5.1?)
9494	if test "$GCC" = yes; then
9495	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9496	else
9497	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9498	fi
9499	;;
9500      esac
9501      link_all_deplibs=yes
9502      ;;
9503
9504    sunos4*)
9505      if test "x$host_vendor" = xsequent; then
9506	# Use $CC to link under sequent, because it throws in some extra .o
9507	# files that make .init and .fini sections work.
9508	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9509      else
9510	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9511      fi
9512      hardcode_libdir_flag_spec='-L$libdir'
9513      hardcode_direct=yes
9514      hardcode_minus_L=yes
9515      hardcode_shlibpath_var=no
9516      ;;
9517
9518    sysv4)
9519      case $host_vendor in
9520	sni)
9521	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9522	  hardcode_direct=yes # is this really true???
9523	;;
9524	siemens)
9525	  ## LD is ld it makes a PLAMLIB
9526	  ## CC just makes a GrossModule.
9527	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9528	  reload_cmds='$CC -r -o $output$reload_objs'
9529	  hardcode_direct=no
9530        ;;
9531	motorola)
9532	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9533	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9534	;;
9535      esac
9536      runpath_var='LD_RUN_PATH'
9537      hardcode_shlibpath_var=no
9538      ;;
9539
9540    sysv4.3*)
9541      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9542      hardcode_shlibpath_var=no
9543      export_dynamic_flag_spec='-Bexport'
9544      ;;
9545
9546    sysv4*MP*)
9547      if test -d /usr/nec; then
9548	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9549	hardcode_shlibpath_var=no
9550	runpath_var=LD_RUN_PATH
9551	hardcode_runpath_var=yes
9552	ld_shlibs=yes
9553      fi
9554      ;;
9555
9556    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9557      no_undefined_flag='${wl}-z,text'
9558      archive_cmds_need_lc=no
9559      hardcode_shlibpath_var=no
9560      runpath_var='LD_RUN_PATH'
9561
9562      if test "$GCC" = yes; then
9563	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9564	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9565      else
9566	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9567	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9568      fi
9569      ;;
9570
9571    sysv5* | sco3.2v5* | sco5v6*)
9572      # Note: We can NOT use -z defs as we might desire, because we do not
9573      # link with -lc, and that would cause any symbols used from libc to
9574      # always be unresolved, which means just about no library would
9575      # ever link correctly.  If we're not using GNU ld we use -z text
9576      # though, which does catch some bad symbols but isn't as heavy-handed
9577      # as -z defs.
9578      no_undefined_flag='${wl}-z,text'
9579      allow_undefined_flag='${wl}-z,nodefs'
9580      archive_cmds_need_lc=no
9581      hardcode_shlibpath_var=no
9582      hardcode_libdir_flag_spec='${wl}-R,$libdir'
9583      hardcode_libdir_separator=':'
9584      link_all_deplibs=yes
9585      export_dynamic_flag_spec='${wl}-Bexport'
9586      runpath_var='LD_RUN_PATH'
9587
9588      if test "$GCC" = yes; then
9589	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9590	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9591      else
9592	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9593	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9594      fi
9595      ;;
9596
9597    uts4*)
9598      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9599      hardcode_libdir_flag_spec='-L$libdir'
9600      hardcode_shlibpath_var=no
9601      ;;
9602
9603    *)
9604      ld_shlibs=no
9605      ;;
9606    esac
9607
9608    if test x$host_vendor = xsni; then
9609      case $host in
9610      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9611	export_dynamic_flag_spec='${wl}-Blargedynsym'
9612	;;
9613      esac
9614    fi
9615  fi
9616
9617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
9618$as_echo "$ld_shlibs" >&6; }
9619test "$ld_shlibs" = no && can_build_shared=no
9620
9621with_gnu_ld=$with_gnu_ld
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637#
9638# Do we need to explicitly link libc?
9639#
9640case "x$archive_cmds_need_lc" in
9641x|xyes)
9642  # Assume -lc should be added
9643  archive_cmds_need_lc=yes
9644
9645  if test "$enable_shared" = yes && test "$GCC" = yes; then
9646    case $archive_cmds in
9647    *'~'*)
9648      # FIXME: we may have to deal with multi-command sequences.
9649      ;;
9650    '$CC '*)
9651      # Test whether the compiler implicitly links with -lc since on some
9652      # systems, -lgcc has to come before -lc. If gcc already passes -lc
9653      # to ld, don't add -lc before -lgcc.
9654      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9655$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9656if ${lt_cv_archive_cmds_need_lc+:} false; then :
9657  $as_echo_n "(cached) " >&6
9658else
9659  $RM conftest*
9660	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9661
9662	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9663  (eval $ac_compile) 2>&5
9664  ac_status=$?
9665  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9666  test $ac_status = 0; } 2>conftest.err; then
9667	  soname=conftest
9668	  lib=conftest
9669	  libobjs=conftest.$ac_objext
9670	  deplibs=
9671	  wl=$lt_prog_compiler_wl
9672	  pic_flag=$lt_prog_compiler_pic
9673	  compiler_flags=-v
9674	  linker_flags=-v
9675	  verstring=
9676	  output_objdir=.
9677	  libname=conftest
9678	  lt_save_allow_undefined_flag=$allow_undefined_flag
9679	  allow_undefined_flag=
9680	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
9681  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9682  ac_status=$?
9683  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9684  test $ac_status = 0; }
9685	  then
9686	    lt_cv_archive_cmds_need_lc=no
9687	  else
9688	    lt_cv_archive_cmds_need_lc=yes
9689	  fi
9690	  allow_undefined_flag=$lt_save_allow_undefined_flag
9691	else
9692	  cat conftest.err 1>&5
9693	fi
9694	$RM conftest*
9695
9696fi
9697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
9698$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
9699      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9700      ;;
9701    esac
9702  fi
9703  ;;
9704esac
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
9863$as_echo_n "checking dynamic linker characteristics... " >&6; }
9864
9865if test "$GCC" = yes; then
9866  case $host_os in
9867    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9868    *) lt_awk_arg="/^libraries:/" ;;
9869  esac
9870  case $host_os in
9871    mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
9872    *) lt_sed_strip_eq="s,=/,/,g" ;;
9873  esac
9874  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
9875  case $lt_search_path_spec in
9876  *\;*)
9877    # if the path contains ";" then we assume it to be the separator
9878    # otherwise default to the standard path separator (i.e. ":") - it is
9879    # assumed that no part of a normal pathname contains ";" but that should
9880    # okay in the real world where ";" in dirpaths is itself problematic.
9881    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
9882    ;;
9883  *)
9884    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
9885    ;;
9886  esac
9887  # Ok, now we have the path, separated by spaces, we can step through it
9888  # and add multilib dir if necessary.
9889  lt_tmp_lt_search_path_spec=
9890  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9891  for lt_sys_path in $lt_search_path_spec; do
9892    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9893      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9894    else
9895      test -d "$lt_sys_path" && \
9896	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9897    fi
9898  done
9899  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
9900BEGIN {RS=" "; FS="/|\n";} {
9901  lt_foo="";
9902  lt_count=0;
9903  for (lt_i = NF; lt_i > 0; lt_i--) {
9904    if ($lt_i != "" && $lt_i != ".") {
9905      if ($lt_i == "..") {
9906        lt_count++;
9907      } else {
9908        if (lt_count == 0) {
9909          lt_foo="/" $lt_i lt_foo;
9910        } else {
9911          lt_count--;
9912        }
9913      }
9914    }
9915  }
9916  if (lt_foo != "") { lt_freq[lt_foo]++; }
9917  if (lt_freq[lt_foo] == 1) { print lt_foo; }
9918}'`
9919  # AWK program above erroneously prepends '/' to C:/dos/paths
9920  # for these hosts.
9921  case $host_os in
9922    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
9923      $SED 's,/\([A-Za-z]:\),\1,g'` ;;
9924  esac
9925  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
9926else
9927  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9928fi
9929library_names_spec=
9930libname_spec='lib$name'
9931soname_spec=
9932shrext_cmds=".so"
9933postinstall_cmds=
9934postuninstall_cmds=
9935finish_cmds=
9936finish_eval=
9937shlibpath_var=
9938shlibpath_overrides_runpath=unknown
9939version_type=none
9940dynamic_linker="$host_os ld.so"
9941sys_lib_dlsearch_path_spec="/lib /usr/lib"
9942need_lib_prefix=unknown
9943hardcode_into_libs=no
9944
9945# when you set need_version to no, make sure it does not cause -set_version
9946# flags to be left without arguments
9947need_version=unknown
9948
9949case $host_os in
9950aix3*)
9951  version_type=linux
9952  library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9953  shlibpath_var=LIBPATH
9954
9955  # AIX 3 has no versioning support, so we append a major version to the name.
9956  soname_spec='${libname}${release}${shared_ext}$major'
9957  ;;
9958
9959aix[4-9]*)
9960  version_type=linux
9961  need_lib_prefix=no
9962  need_version=no
9963  hardcode_into_libs=yes
9964  if test "$host_cpu" = ia64; then
9965    # AIX 5 supports IA64
9966    library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9967    shlibpath_var=LD_LIBRARY_PATH
9968  else
9969    # With GCC up to 2.95.x, collect2 would create an import file
9970    # for dependence libraries.  The import file would start with
9971    # the line `#! .'.  This would cause the generated library to
9972    # depend on `.', always an invalid library.  This was fixed in
9973    # development snapshots of GCC prior to 3.0.
9974    case $host_os in
9975      aix4 | aix4.[01] | aix4.[01].*)
9976      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9977	   echo ' yes '
9978	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9979	:
9980      else
9981	can_build_shared=no
9982      fi
9983      ;;
9984    esac
9985    # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9986    # soname into executable. Probably we can add versioning support to
9987    # collect2, so additional links can be useful in future.
9988    if test "$aix_use_runtimelinking" = yes; then
9989      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9990      # instead of lib<name>.a to let people know that these are not
9991      # typical AIX shared libraries.
9992      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9993    else
9994      # We preserve .a as extension for shared libraries through AIX4.2
9995      # and later when we are not doing run time linking.
9996      library_names_spec='${libname}${release}.a $libname.a'
9997      soname_spec='${libname}${release}${shared_ext}$major'
9998    fi
9999    shlibpath_var=LIBPATH
10000  fi
10001  ;;
10002
10003amigaos*)
10004  case $host_cpu in
10005  powerpc)
10006    # Since July 2007 AmigaOS4 officially supports .so libraries.
10007    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10008    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10009    ;;
10010  m68k)
10011    library_names_spec='$libname.ixlibrary $libname.a'
10012    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10013    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10014    ;;
10015  esac
10016  ;;
10017
10018beos*)
10019  library_names_spec='${libname}${shared_ext}'
10020  dynamic_linker="$host_os ld.so"
10021  shlibpath_var=LIBRARY_PATH
10022  ;;
10023
10024bsdi[45]*)
10025  version_type=linux
10026  need_version=no
10027  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10028  soname_spec='${libname}${release}${shared_ext}$major'
10029  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10030  shlibpath_var=LD_LIBRARY_PATH
10031  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10032  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10033  # the default ld.so.conf also contains /usr/contrib/lib and
10034  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10035  # libtool to hard-code these into programs
10036  ;;
10037
10038cygwin* | mingw* | pw32* | cegcc*)
10039  version_type=windows
10040  shrext_cmds=".dll"
10041  need_version=no
10042  need_lib_prefix=no
10043
10044  case $GCC,$cc_basename in
10045  yes,*)
10046    # gcc
10047    library_names_spec='$libname.dll.a'
10048    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10049    postinstall_cmds='base_file=`basename \${file}`~
10050      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10051      dldir=$destdir/`dirname \$dlpath`~
10052      test -d \$dldir || mkdir -p \$dldir~
10053      $install_prog $dir/$dlname \$dldir/$dlname~
10054      chmod a+x \$dldir/$dlname~
10055      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10056        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10057      fi'
10058    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10059      dlpath=$dir/\$dldll~
10060       $RM \$dlpath'
10061    shlibpath_overrides_runpath=yes
10062
10063    case $host_os in
10064    cygwin*)
10065      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10066      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10067
10068      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10069      ;;
10070    mingw* | cegcc*)
10071      # MinGW DLLs use traditional 'lib' prefix
10072      soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10073      ;;
10074    pw32*)
10075      # pw32 DLLs use 'pw' prefix rather than 'lib'
10076      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10077      ;;
10078    esac
10079    dynamic_linker='Win32 ld.exe'
10080    ;;
10081
10082  *,cl*)
10083    # Native MSVC
10084    libname_spec='$name'
10085    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10086    library_names_spec='${libname}.dll.lib'
10087
10088    case $build_os in
10089    mingw*)
10090      sys_lib_search_path_spec=
10091      lt_save_ifs=$IFS
10092      IFS=';'
10093      for lt_path in $LIB
10094      do
10095        IFS=$lt_save_ifs
10096        # Let DOS variable expansion print the short 8.3 style file name.
10097        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10098        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10099      done
10100      IFS=$lt_save_ifs
10101      # Convert to MSYS style.
10102      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10103      ;;
10104    cygwin*)
10105      # Convert to unix form, then to dos form, then back to unix form
10106      # but this time dos style (no spaces!) so that the unix form looks
10107      # like /cygdrive/c/PROGRA~1:/cygdr...
10108      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10109      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10110      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10111      ;;
10112    *)
10113      sys_lib_search_path_spec="$LIB"
10114      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10115        # It is most probably a Windows format PATH.
10116        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10117      else
10118        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10119      fi
10120      # FIXME: find the short name or the path components, as spaces are
10121      # common. (e.g. "Program Files" -> "PROGRA~1")
10122      ;;
10123    esac
10124
10125    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10126    postinstall_cmds='base_file=`basename \${file}`~
10127      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10128      dldir=$destdir/`dirname \$dlpath`~
10129      test -d \$dldir || mkdir -p \$dldir~
10130      $install_prog $dir/$dlname \$dldir/$dlname'
10131    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10132      dlpath=$dir/\$dldll~
10133       $RM \$dlpath'
10134    shlibpath_overrides_runpath=yes
10135    dynamic_linker='Win32 link.exe'
10136    ;;
10137
10138  *)
10139    # Assume MSVC wrapper
10140    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10141    dynamic_linker='Win32 ld.exe'
10142    ;;
10143  esac
10144  # FIXME: first we should search . and the directory the executable is in
10145  shlibpath_var=PATH
10146  ;;
10147
10148darwin* | rhapsody*)
10149  dynamic_linker="$host_os dyld"
10150  version_type=darwin
10151  need_lib_prefix=no
10152  need_version=no
10153  library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10154  soname_spec='${libname}${release}${major}$shared_ext'
10155  shlibpath_overrides_runpath=yes
10156  shlibpath_var=DYLD_LIBRARY_PATH
10157  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10158
10159  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10160  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10161  ;;
10162
10163dgux*)
10164  version_type=linux
10165  need_lib_prefix=no
10166  need_version=no
10167  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10168  soname_spec='${libname}${release}${shared_ext}$major'
10169  shlibpath_var=LD_LIBRARY_PATH
10170  ;;
10171
10172freebsd1*)
10173  dynamic_linker=no
10174  ;;
10175
10176freebsd* | dragonfly*)
10177  # DragonFly does not have aout.  When/if they implement a new
10178  # versioning mechanism, adjust this.
10179  if test -x /usr/bin/objformat; then
10180    objformat=`/usr/bin/objformat`
10181  else
10182    case $host_os in
10183    freebsd[123]*) objformat=aout ;;
10184    *) objformat=elf ;;
10185    esac
10186  fi
10187  version_type=freebsd-$objformat
10188  case $version_type in
10189    freebsd-elf*)
10190      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10191      need_version=no
10192      need_lib_prefix=no
10193      ;;
10194    freebsd-*)
10195      library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10196      need_version=yes
10197      ;;
10198  esac
10199  shlibpath_var=LD_LIBRARY_PATH
10200  case $host_os in
10201  freebsd2*)
10202    shlibpath_overrides_runpath=yes
10203    ;;
10204  freebsd3.[01]* | freebsdelf3.[01]*)
10205    shlibpath_overrides_runpath=yes
10206    hardcode_into_libs=yes
10207    ;;
10208  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10209  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10210    shlibpath_overrides_runpath=no
10211    hardcode_into_libs=yes
10212    ;;
10213  *) # from 4.6 on, and DragonFly
10214    shlibpath_overrides_runpath=yes
10215    hardcode_into_libs=yes
10216    ;;
10217  esac
10218  ;;
10219
10220gnu*)
10221  version_type=linux
10222  need_lib_prefix=no
10223  need_version=no
10224  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10225  soname_spec='${libname}${release}${shared_ext}$major'
10226  shlibpath_var=LD_LIBRARY_PATH
10227  hardcode_into_libs=yes
10228  ;;
10229
10230haiku*)
10231  version_type=linux
10232  need_lib_prefix=no
10233  need_version=no
10234  dynamic_linker="$host_os runtime_loader"
10235  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10236  soname_spec='${libname}${release}${shared_ext}$major'
10237  shlibpath_var=LIBRARY_PATH
10238  shlibpath_overrides_runpath=yes
10239  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10240  hardcode_into_libs=yes
10241  ;;
10242
10243hpux9* | hpux10* | hpux11*)
10244  # Give a soname corresponding to the major version so that dld.sl refuses to
10245  # link against other versions.
10246  version_type=sunos
10247  need_lib_prefix=no
10248  need_version=no
10249  case $host_cpu in
10250  ia64*)
10251    shrext_cmds='.so'
10252    hardcode_into_libs=yes
10253    dynamic_linker="$host_os dld.so"
10254    shlibpath_var=LD_LIBRARY_PATH
10255    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10256    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10257    soname_spec='${libname}${release}${shared_ext}$major'
10258    if test "X$HPUX_IA64_MODE" = X32; then
10259      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10260    else
10261      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10262    fi
10263    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10264    ;;
10265  hppa*64*)
10266    shrext_cmds='.sl'
10267    hardcode_into_libs=yes
10268    dynamic_linker="$host_os dld.sl"
10269    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10270    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10271    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10272    soname_spec='${libname}${release}${shared_ext}$major'
10273    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10274    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10275    ;;
10276  *)
10277    shrext_cmds='.sl'
10278    dynamic_linker="$host_os dld.sl"
10279    shlibpath_var=SHLIB_PATH
10280    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10281    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10282    soname_spec='${libname}${release}${shared_ext}$major'
10283    ;;
10284  esac
10285  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10286  postinstall_cmds='chmod 555 $lib'
10287  # or fails outright, so override atomically:
10288  install_override_mode=555
10289  ;;
10290
10291interix[3-9]*)
10292  version_type=linux
10293  need_lib_prefix=no
10294  need_version=no
10295  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10296  soname_spec='${libname}${release}${shared_ext}$major'
10297  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10298  shlibpath_var=LD_LIBRARY_PATH
10299  shlibpath_overrides_runpath=no
10300  hardcode_into_libs=yes
10301  ;;
10302
10303irix5* | irix6* | nonstopux*)
10304  case $host_os in
10305    nonstopux*) version_type=nonstopux ;;
10306    *)
10307	if test "$lt_cv_prog_gnu_ld" = yes; then
10308		version_type=linux
10309	else
10310		version_type=irix
10311	fi ;;
10312  esac
10313  need_lib_prefix=no
10314  need_version=no
10315  soname_spec='${libname}${release}${shared_ext}$major'
10316  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10317  case $host_os in
10318  irix5* | nonstopux*)
10319    libsuff= shlibsuff=
10320    ;;
10321  *)
10322    case $LD in # libtool.m4 will add one of these switches to LD
10323    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10324      libsuff= shlibsuff= libmagic=32-bit;;
10325    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10326      libsuff=32 shlibsuff=N32 libmagic=N32;;
10327    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10328      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10329    *) libsuff= shlibsuff= libmagic=never-match;;
10330    esac
10331    ;;
10332  esac
10333  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10334  shlibpath_overrides_runpath=no
10335  sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10336  sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10337  hardcode_into_libs=yes
10338  ;;
10339
10340# No shared lib support for Linux oldld, aout, or coff.
10341linux*oldld* | linux*aout* | linux*coff*)
10342  dynamic_linker=no
10343  ;;
10344
10345# This must be Linux ELF.
10346linux* | k*bsd*-gnu | kopensolaris*-gnu)
10347  version_type=linux
10348  need_lib_prefix=no
10349  need_version=no
10350  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10351  soname_spec='${libname}${release}${shared_ext}$major'
10352  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10353  shlibpath_var=LD_LIBRARY_PATH
10354  shlibpath_overrides_runpath=no
10355
10356  # Some binutils ld are patched to set DT_RUNPATH
10357  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10358  $as_echo_n "(cached) " >&6
10359else
10360  lt_cv_shlibpath_overrides_runpath=no
10361    save_LDFLAGS=$LDFLAGS
10362    save_libdir=$libdir
10363    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10364	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10365    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10366/* end confdefs.h.  */
10367
10368int
10369main ()
10370{
10371
10372  ;
10373  return 0;
10374}
10375_ACEOF
10376if ac_fn_c_try_link "$LINENO"; then :
10377  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10378  lt_cv_shlibpath_overrides_runpath=yes
10379fi
10380fi
10381rm -f core conftest.err conftest.$ac_objext \
10382    conftest$ac_exeext conftest.$ac_ext
10383    LDFLAGS=$save_LDFLAGS
10384    libdir=$save_libdir
10385
10386fi
10387
10388  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10389
10390  # This implies no fast_install, which is unacceptable.
10391  # Some rework will be needed to allow for fast_install
10392  # before this can be enabled.
10393  hardcode_into_libs=yes
10394
10395  # Append ld.so.conf contents to the search path
10396  if test -f /etc/ld.so.conf; then
10397    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10398    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10399  fi
10400
10401  # We used to test for /lib/ld.so.1 and disable shared libraries on
10402  # powerpc, because MkLinux only supported shared libraries with the
10403  # GNU dynamic linker.  Since this was broken with cross compilers,
10404  # most powerpc-linux boxes support dynamic linking these days and
10405  # people can always --disable-shared, the test was removed, and we
10406  # assume the GNU/Linux dynamic linker is in use.
10407  dynamic_linker='GNU/Linux ld.so'
10408  ;;
10409
10410netbsd*)
10411  version_type=sunos
10412  need_lib_prefix=no
10413  need_version=no
10414  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10415    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10416    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10417    dynamic_linker='NetBSD (a.out) ld.so'
10418  else
10419    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10420    soname_spec='${libname}${release}${shared_ext}$major'
10421    dynamic_linker='NetBSD ld.elf_so'
10422  fi
10423  shlibpath_var=LD_LIBRARY_PATH
10424  shlibpath_overrides_runpath=yes
10425  hardcode_into_libs=yes
10426  ;;
10427
10428newsos6)
10429  version_type=linux
10430  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10431  shlibpath_var=LD_LIBRARY_PATH
10432  shlibpath_overrides_runpath=yes
10433  ;;
10434
10435*nto* | *qnx*)
10436  version_type=qnx
10437  need_lib_prefix=no
10438  need_version=no
10439  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10440  soname_spec='${libname}${release}${shared_ext}$major'
10441  shlibpath_var=LD_LIBRARY_PATH
10442  shlibpath_overrides_runpath=no
10443  hardcode_into_libs=yes
10444  dynamic_linker='ldqnx.so'
10445  ;;
10446
10447openbsd*)
10448  version_type=sunos
10449  sys_lib_dlsearch_path_spec="/usr/lib"
10450  need_lib_prefix=no
10451  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10452  case $host_os in
10453    openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
10454    *)				need_version=no  ;;
10455  esac
10456  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10457  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10458  shlibpath_var=LD_LIBRARY_PATH
10459  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10460    case $host_os in
10461      openbsd2.[89] | openbsd2.[89].*)
10462	shlibpath_overrides_runpath=no
10463	;;
10464      *)
10465	shlibpath_overrides_runpath=yes
10466	;;
10467      esac
10468  else
10469    shlibpath_overrides_runpath=yes
10470  fi
10471  ;;
10472
10473os2*)
10474  libname_spec='$name'
10475  shrext_cmds=".dll"
10476  need_lib_prefix=no
10477  library_names_spec='$libname${shared_ext} $libname.a'
10478  dynamic_linker='OS/2 ld.exe'
10479  shlibpath_var=LIBPATH
10480  ;;
10481
10482osf3* | osf4* | osf5*)
10483  version_type=osf
10484  need_lib_prefix=no
10485  need_version=no
10486  soname_spec='${libname}${release}${shared_ext}$major'
10487  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10488  shlibpath_var=LD_LIBRARY_PATH
10489  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10490  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10491  ;;
10492
10493rdos*)
10494  dynamic_linker=no
10495  ;;
10496
10497solaris*)
10498  version_type=linux
10499  need_lib_prefix=no
10500  need_version=no
10501  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10502  soname_spec='${libname}${release}${shared_ext}$major'
10503  shlibpath_var=LD_LIBRARY_PATH
10504  shlibpath_overrides_runpath=yes
10505  hardcode_into_libs=yes
10506  # ldd complains unless libraries are executable
10507  postinstall_cmds='chmod +x $lib'
10508  ;;
10509
10510sunos4*)
10511  version_type=sunos
10512  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10513  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10514  shlibpath_var=LD_LIBRARY_PATH
10515  shlibpath_overrides_runpath=yes
10516  if test "$with_gnu_ld" = yes; then
10517    need_lib_prefix=no
10518  fi
10519  need_version=yes
10520  ;;
10521
10522sysv4 | sysv4.3*)
10523  version_type=linux
10524  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10525  soname_spec='${libname}${release}${shared_ext}$major'
10526  shlibpath_var=LD_LIBRARY_PATH
10527  case $host_vendor in
10528    sni)
10529      shlibpath_overrides_runpath=no
10530      need_lib_prefix=no
10531      runpath_var=LD_RUN_PATH
10532      ;;
10533    siemens)
10534      need_lib_prefix=no
10535      ;;
10536    motorola)
10537      need_lib_prefix=no
10538      need_version=no
10539      shlibpath_overrides_runpath=no
10540      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10541      ;;
10542  esac
10543  ;;
10544
10545sysv4*MP*)
10546  if test -d /usr/nec ;then
10547    version_type=linux
10548    library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10549    soname_spec='$libname${shared_ext}.$major'
10550    shlibpath_var=LD_LIBRARY_PATH
10551  fi
10552  ;;
10553
10554sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10555  version_type=freebsd-elf
10556  need_lib_prefix=no
10557  need_version=no
10558  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10559  soname_spec='${libname}${release}${shared_ext}$major'
10560  shlibpath_var=LD_LIBRARY_PATH
10561  shlibpath_overrides_runpath=yes
10562  hardcode_into_libs=yes
10563  if test "$with_gnu_ld" = yes; then
10564    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10565  else
10566    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10567    case $host_os in
10568      sco3.2v5*)
10569        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10570	;;
10571    esac
10572  fi
10573  sys_lib_dlsearch_path_spec='/usr/lib'
10574  ;;
10575
10576tpf*)
10577  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
10578  version_type=linux
10579  need_lib_prefix=no
10580  need_version=no
10581  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10582  shlibpath_var=LD_LIBRARY_PATH
10583  shlibpath_overrides_runpath=no
10584  hardcode_into_libs=yes
10585  ;;
10586
10587uts4*)
10588  version_type=linux
10589  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10590  soname_spec='${libname}${release}${shared_ext}$major'
10591  shlibpath_var=LD_LIBRARY_PATH
10592  ;;
10593
10594*)
10595  dynamic_linker=no
10596  ;;
10597esac
10598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
10599$as_echo "$dynamic_linker" >&6; }
10600test "$dynamic_linker" = no && can_build_shared=no
10601
10602variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10603if test "$GCC" = yes; then
10604  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10605fi
10606
10607if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10608  sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10609fi
10610if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10611  sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10612fi
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
10706$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
10707hardcode_action=
10708if test -n "$hardcode_libdir_flag_spec" ||
10709   test -n "$runpath_var" ||
10710   test "X$hardcode_automatic" = "Xyes" ; then
10711
10712  # We can hardcode non-existent directories.
10713  if test "$hardcode_direct" != no &&
10714     # If the only mechanism to avoid hardcoding is shlibpath_var, we
10715     # have to relink, otherwise we might link with an installed library
10716     # when we should be linking with a yet-to-be-installed one
10717     ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10718     test "$hardcode_minus_L" != no; then
10719    # Linking always hardcodes the temporary library directory.
10720    hardcode_action=relink
10721  else
10722    # We can link without hardcoding, and we can hardcode nonexisting dirs.
10723    hardcode_action=immediate
10724  fi
10725else
10726  # We cannot hardcode anything, or else we can only hardcode existing
10727  # directories.
10728  hardcode_action=unsupported
10729fi
10730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
10731$as_echo "$hardcode_action" >&6; }
10732
10733if test "$hardcode_action" = relink ||
10734   test "$inherit_rpath" = yes; then
10735  # Fast installation is not supported
10736  enable_fast_install=no
10737elif test "$shlibpath_overrides_runpath" = yes ||
10738     test "$enable_shared" = no; then
10739  # Fast installation is not necessary
10740  enable_fast_install=needless
10741fi
10742
10743
10744
10745
10746
10747
10748  if test "x$enable_dlopen" != xyes; then
10749  enable_dlopen=unknown
10750  enable_dlopen_self=unknown
10751  enable_dlopen_self_static=unknown
10752else
10753  lt_cv_dlopen=no
10754  lt_cv_dlopen_libs=
10755
10756  case $host_os in
10757  beos*)
10758    lt_cv_dlopen="load_add_on"
10759    lt_cv_dlopen_libs=
10760    lt_cv_dlopen_self=yes
10761    ;;
10762
10763  mingw* | pw32* | cegcc*)
10764    lt_cv_dlopen="LoadLibrary"
10765    lt_cv_dlopen_libs=
10766    ;;
10767
10768  cygwin*)
10769    lt_cv_dlopen="dlopen"
10770    lt_cv_dlopen_libs=
10771    ;;
10772
10773  darwin*)
10774  # if libdl is installed we need to link against it
10775    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10776$as_echo_n "checking for dlopen in -ldl... " >&6; }
10777if ${ac_cv_lib_dl_dlopen+:} false; then :
10778  $as_echo_n "(cached) " >&6
10779else
10780  ac_check_lib_save_LIBS=$LIBS
10781LIBS="-ldl  $LIBS"
10782cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10783/* end confdefs.h.  */
10784
10785/* Override any GCC internal prototype to avoid an error.
10786   Use char because int might match the return type of a GCC
10787   builtin and then its argument prototype would still apply.  */
10788#ifdef __cplusplus
10789extern "C"
10790#endif
10791char dlopen ();
10792int
10793main ()
10794{
10795return dlopen ();
10796  ;
10797  return 0;
10798}
10799_ACEOF
10800if ac_fn_c_try_link "$LINENO"; then :
10801  ac_cv_lib_dl_dlopen=yes
10802else
10803  ac_cv_lib_dl_dlopen=no
10804fi
10805rm -f core conftest.err conftest.$ac_objext \
10806    conftest$ac_exeext conftest.$ac_ext
10807LIBS=$ac_check_lib_save_LIBS
10808fi
10809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10810$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10811if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10812  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10813else
10814
10815    lt_cv_dlopen="dyld"
10816    lt_cv_dlopen_libs=
10817    lt_cv_dlopen_self=yes
10818
10819fi
10820
10821    ;;
10822
10823  *)
10824    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10825if test "x$ac_cv_func_shl_load" = xyes; then :
10826  lt_cv_dlopen="shl_load"
10827else
10828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10829$as_echo_n "checking for shl_load in -ldld... " >&6; }
10830if ${ac_cv_lib_dld_shl_load+:} false; then :
10831  $as_echo_n "(cached) " >&6
10832else
10833  ac_check_lib_save_LIBS=$LIBS
10834LIBS="-ldld  $LIBS"
10835cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836/* end confdefs.h.  */
10837
10838/* Override any GCC internal prototype to avoid an error.
10839   Use char because int might match the return type of a GCC
10840   builtin and then its argument prototype would still apply.  */
10841#ifdef __cplusplus
10842extern "C"
10843#endif
10844char shl_load ();
10845int
10846main ()
10847{
10848return shl_load ();
10849  ;
10850  return 0;
10851}
10852_ACEOF
10853if ac_fn_c_try_link "$LINENO"; then :
10854  ac_cv_lib_dld_shl_load=yes
10855else
10856  ac_cv_lib_dld_shl_load=no
10857fi
10858rm -f core conftest.err conftest.$ac_objext \
10859    conftest$ac_exeext conftest.$ac_ext
10860LIBS=$ac_check_lib_save_LIBS
10861fi
10862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10863$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10864if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10865  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10866else
10867  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10868if test "x$ac_cv_func_dlopen" = xyes; then :
10869  lt_cv_dlopen="dlopen"
10870else
10871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10872$as_echo_n "checking for dlopen in -ldl... " >&6; }
10873if ${ac_cv_lib_dl_dlopen+:} false; then :
10874  $as_echo_n "(cached) " >&6
10875else
10876  ac_check_lib_save_LIBS=$LIBS
10877LIBS="-ldl  $LIBS"
10878cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10879/* end confdefs.h.  */
10880
10881/* Override any GCC internal prototype to avoid an error.
10882   Use char because int might match the return type of a GCC
10883   builtin and then its argument prototype would still apply.  */
10884#ifdef __cplusplus
10885extern "C"
10886#endif
10887char dlopen ();
10888int
10889main ()
10890{
10891return dlopen ();
10892  ;
10893  return 0;
10894}
10895_ACEOF
10896if ac_fn_c_try_link "$LINENO"; then :
10897  ac_cv_lib_dl_dlopen=yes
10898else
10899  ac_cv_lib_dl_dlopen=no
10900fi
10901rm -f core conftest.err conftest.$ac_objext \
10902    conftest$ac_exeext conftest.$ac_ext
10903LIBS=$ac_check_lib_save_LIBS
10904fi
10905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10906$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10907if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10908  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10909else
10910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10911$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10912if ${ac_cv_lib_svld_dlopen+:} false; then :
10913  $as_echo_n "(cached) " >&6
10914else
10915  ac_check_lib_save_LIBS=$LIBS
10916LIBS="-lsvld  $LIBS"
10917cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10918/* end confdefs.h.  */
10919
10920/* Override any GCC internal prototype to avoid an error.
10921   Use char because int might match the return type of a GCC
10922   builtin and then its argument prototype would still apply.  */
10923#ifdef __cplusplus
10924extern "C"
10925#endif
10926char dlopen ();
10927int
10928main ()
10929{
10930return dlopen ();
10931  ;
10932  return 0;
10933}
10934_ACEOF
10935if ac_fn_c_try_link "$LINENO"; then :
10936  ac_cv_lib_svld_dlopen=yes
10937else
10938  ac_cv_lib_svld_dlopen=no
10939fi
10940rm -f core conftest.err conftest.$ac_objext \
10941    conftest$ac_exeext conftest.$ac_ext
10942LIBS=$ac_check_lib_save_LIBS
10943fi
10944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10945$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10946if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10947  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10948else
10949  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10950$as_echo_n "checking for dld_link in -ldld... " >&6; }
10951if ${ac_cv_lib_dld_dld_link+:} false; then :
10952  $as_echo_n "(cached) " >&6
10953else
10954  ac_check_lib_save_LIBS=$LIBS
10955LIBS="-ldld  $LIBS"
10956cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10957/* end confdefs.h.  */
10958
10959/* Override any GCC internal prototype to avoid an error.
10960   Use char because int might match the return type of a GCC
10961   builtin and then its argument prototype would still apply.  */
10962#ifdef __cplusplus
10963extern "C"
10964#endif
10965char dld_link ();
10966int
10967main ()
10968{
10969return dld_link ();
10970  ;
10971  return 0;
10972}
10973_ACEOF
10974if ac_fn_c_try_link "$LINENO"; then :
10975  ac_cv_lib_dld_dld_link=yes
10976else
10977  ac_cv_lib_dld_dld_link=no
10978fi
10979rm -f core conftest.err conftest.$ac_objext \
10980    conftest$ac_exeext conftest.$ac_ext
10981LIBS=$ac_check_lib_save_LIBS
10982fi
10983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
10984$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
10985if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
10986  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10987fi
10988
10989
10990fi
10991
10992
10993fi
10994
10995
10996fi
10997
10998
10999fi
11000
11001
11002fi
11003
11004    ;;
11005  esac
11006
11007  if test "x$lt_cv_dlopen" != xno; then
11008    enable_dlopen=yes
11009  else
11010    enable_dlopen=no
11011  fi
11012
11013  case $lt_cv_dlopen in
11014  dlopen)
11015    save_CPPFLAGS="$CPPFLAGS"
11016    test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11017
11018    save_LDFLAGS="$LDFLAGS"
11019    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11020
11021    save_LIBS="$LIBS"
11022    LIBS="$lt_cv_dlopen_libs $LIBS"
11023
11024    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11025$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11026if ${lt_cv_dlopen_self+:} false; then :
11027  $as_echo_n "(cached) " >&6
11028else
11029  	  if test "$cross_compiling" = yes; then :
11030  lt_cv_dlopen_self=cross
11031else
11032  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11033  lt_status=$lt_dlunknown
11034  cat > conftest.$ac_ext <<_LT_EOF
11035#line $LINENO "configure"
11036#include "confdefs.h"
11037
11038#if HAVE_DLFCN_H
11039#include <dlfcn.h>
11040#endif
11041
11042#include <stdio.h>
11043
11044#ifdef RTLD_GLOBAL
11045#  define LT_DLGLOBAL		RTLD_GLOBAL
11046#else
11047#  ifdef DL_GLOBAL
11048#    define LT_DLGLOBAL		DL_GLOBAL
11049#  else
11050#    define LT_DLGLOBAL		0
11051#  endif
11052#endif
11053
11054/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11055   find out it does not work in some platform. */
11056#ifndef LT_DLLAZY_OR_NOW
11057#  ifdef RTLD_LAZY
11058#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11059#  else
11060#    ifdef DL_LAZY
11061#      define LT_DLLAZY_OR_NOW		DL_LAZY
11062#    else
11063#      ifdef RTLD_NOW
11064#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11065#      else
11066#        ifdef DL_NOW
11067#          define LT_DLLAZY_OR_NOW	DL_NOW
11068#        else
11069#          define LT_DLLAZY_OR_NOW	0
11070#        endif
11071#      endif
11072#    endif
11073#  endif
11074#endif
11075
11076/* When -fvisbility=hidden is used, assume the code has been annotated
11077   correspondingly for the symbols needed.  */
11078#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11079int fnord () __attribute__((visibility("default")));
11080#endif
11081
11082int fnord () { return 42; }
11083int main ()
11084{
11085  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11086  int status = $lt_dlunknown;
11087
11088  if (self)
11089    {
11090      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11091      else
11092        {
11093	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11094          else puts (dlerror ());
11095	}
11096      /* dlclose (self); */
11097    }
11098  else
11099    puts (dlerror ());
11100
11101  return status;
11102}
11103_LT_EOF
11104  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11105  (eval $ac_link) 2>&5
11106  ac_status=$?
11107  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11108  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11109    (./conftest; exit; ) >&5 2>/dev/null
11110    lt_status=$?
11111    case x$lt_status in
11112      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11113      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11114      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11115    esac
11116  else :
11117    # compilation failed
11118    lt_cv_dlopen_self=no
11119  fi
11120fi
11121rm -fr conftest*
11122
11123
11124fi
11125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11126$as_echo "$lt_cv_dlopen_self" >&6; }
11127
11128    if test "x$lt_cv_dlopen_self" = xyes; then
11129      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11130      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11131$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11132if ${lt_cv_dlopen_self_static+:} false; then :
11133  $as_echo_n "(cached) " >&6
11134else
11135  	  if test "$cross_compiling" = yes; then :
11136  lt_cv_dlopen_self_static=cross
11137else
11138  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11139  lt_status=$lt_dlunknown
11140  cat > conftest.$ac_ext <<_LT_EOF
11141#line $LINENO "configure"
11142#include "confdefs.h"
11143
11144#if HAVE_DLFCN_H
11145#include <dlfcn.h>
11146#endif
11147
11148#include <stdio.h>
11149
11150#ifdef RTLD_GLOBAL
11151#  define LT_DLGLOBAL		RTLD_GLOBAL
11152#else
11153#  ifdef DL_GLOBAL
11154#    define LT_DLGLOBAL		DL_GLOBAL
11155#  else
11156#    define LT_DLGLOBAL		0
11157#  endif
11158#endif
11159
11160/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11161   find out it does not work in some platform. */
11162#ifndef LT_DLLAZY_OR_NOW
11163#  ifdef RTLD_LAZY
11164#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11165#  else
11166#    ifdef DL_LAZY
11167#      define LT_DLLAZY_OR_NOW		DL_LAZY
11168#    else
11169#      ifdef RTLD_NOW
11170#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11171#      else
11172#        ifdef DL_NOW
11173#          define LT_DLLAZY_OR_NOW	DL_NOW
11174#        else
11175#          define LT_DLLAZY_OR_NOW	0
11176#        endif
11177#      endif
11178#    endif
11179#  endif
11180#endif
11181
11182/* When -fvisbility=hidden is used, assume the code has been annotated
11183   correspondingly for the symbols needed.  */
11184#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11185int fnord () __attribute__((visibility("default")));
11186#endif
11187
11188int fnord () { return 42; }
11189int main ()
11190{
11191  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11192  int status = $lt_dlunknown;
11193
11194  if (self)
11195    {
11196      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11197      else
11198        {
11199	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11200          else puts (dlerror ());
11201	}
11202      /* dlclose (self); */
11203    }
11204  else
11205    puts (dlerror ());
11206
11207  return status;
11208}
11209_LT_EOF
11210  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11211  (eval $ac_link) 2>&5
11212  ac_status=$?
11213  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11214  test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11215    (./conftest; exit; ) >&5 2>/dev/null
11216    lt_status=$?
11217    case x$lt_status in
11218      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11219      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11220      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11221    esac
11222  else :
11223    # compilation failed
11224    lt_cv_dlopen_self_static=no
11225  fi
11226fi
11227rm -fr conftest*
11228
11229
11230fi
11231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11232$as_echo "$lt_cv_dlopen_self_static" >&6; }
11233    fi
11234
11235    CPPFLAGS="$save_CPPFLAGS"
11236    LDFLAGS="$save_LDFLAGS"
11237    LIBS="$save_LIBS"
11238    ;;
11239  esac
11240
11241  case $lt_cv_dlopen_self in
11242  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11243  *) enable_dlopen_self=unknown ;;
11244  esac
11245
11246  case $lt_cv_dlopen_self_static in
11247  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11248  *) enable_dlopen_self_static=unknown ;;
11249  esac
11250fi
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268striplib=
11269old_striplib=
11270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11271$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11272if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11273  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11274  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11276$as_echo "yes" >&6; }
11277else
11278# FIXME - insert some real tests, host_os isn't really good enough
11279  case $host_os in
11280  darwin*)
11281    if test -n "$STRIP" ; then
11282      striplib="$STRIP -x"
11283      old_striplib="$STRIP -S"
11284      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11285$as_echo "yes" >&6; }
11286    else
11287      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11288$as_echo "no" >&6; }
11289    fi
11290    ;;
11291  *)
11292    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11293$as_echo "no" >&6; }
11294    ;;
11295  esac
11296fi
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309  # Report which library types will actually be built
11310  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11311$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11313$as_echo "$can_build_shared" >&6; }
11314
11315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11316$as_echo_n "checking whether to build shared libraries... " >&6; }
11317  test "$can_build_shared" = "no" && enable_shared=no
11318
11319  # On AIX, shared libraries and static libraries use the same namespace, and
11320  # are all built from PIC.
11321  case $host_os in
11322  aix3*)
11323    test "$enable_shared" = yes && enable_static=no
11324    if test -n "$RANLIB"; then
11325      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11326      postinstall_cmds='$RANLIB $lib'
11327    fi
11328    ;;
11329
11330  aix[4-9]*)
11331    if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11332      test "$enable_shared" = yes && enable_static=no
11333    fi
11334    ;;
11335  esac
11336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11337$as_echo "$enable_shared" >&6; }
11338
11339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11340$as_echo_n "checking whether to build static libraries... " >&6; }
11341  # Make sure either enable_shared or enable_static is yes.
11342  test "$enable_shared" = yes || enable_static=yes
11343  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11344$as_echo "$enable_static" >&6; }
11345
11346
11347
11348
11349fi
11350ac_ext=c
11351ac_cpp='$CPP $CPPFLAGS'
11352ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11353ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11354ac_compiler_gnu=$ac_cv_c_compiler_gnu
11355
11356CC="$lt_save_CC"
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370        ac_config_commands="$ac_config_commands libtool"
11371
11372
11373
11374
11375# Only expand once:
11376
11377
11378
11379
11380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow in -lm" >&5
11381$as_echo_n "checking for pow in -lm... " >&6; }
11382if ${ac_cv_lib_m_pow+:} false; then :
11383  $as_echo_n "(cached) " >&6
11384else
11385  ac_check_lib_save_LIBS=$LIBS
11386LIBS="-lm  $LIBS"
11387cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11388/* end confdefs.h.  */
11389
11390/* Override any GCC internal prototype to avoid an error.
11391   Use char because int might match the return type of a GCC
11392   builtin and then its argument prototype would still apply.  */
11393#ifdef __cplusplus
11394extern "C"
11395#endif
11396char pow ();
11397int
11398main ()
11399{
11400return pow ();
11401  ;
11402  return 0;
11403}
11404_ACEOF
11405if ac_fn_c_try_link "$LINENO"; then :
11406  ac_cv_lib_m_pow=yes
11407else
11408  ac_cv_lib_m_pow=no
11409fi
11410rm -f core conftest.err conftest.$ac_objext \
11411    conftest$ac_exeext conftest.$ac_ext
11412LIBS=$ac_check_lib_save_LIBS
11413fi
11414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_pow" >&5
11415$as_echo "$ac_cv_lib_m_pow" >&6; }
11416if test "x$ac_cv_lib_m_pow" = xyes; then :
11417  math_lib="-lm"
11418else
11419  math_lib=""
11420fi
11421
11422
11423
11424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for strerrno in -liberty" >&5
11425$as_echo_n "checking for strerrno in -liberty... " >&6; }
11426if ${ac_cv_lib_iberty_strerrno+:} false; then :
11427  $as_echo_n "(cached) " >&6
11428else
11429  ac_check_lib_save_LIBS=$LIBS
11430LIBS="-liberty  $LIBS"
11431cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432/* end confdefs.h.  */
11433
11434/* Override any GCC internal prototype to avoid an error.
11435   Use char because int might match the return type of a GCC
11436   builtin and then its argument prototype would still apply.  */
11437#ifdef __cplusplus
11438extern "C"
11439#endif
11440char strerrno ();
11441int
11442main ()
11443{
11444return strerrno ();
11445  ;
11446  return 0;
11447}
11448_ACEOF
11449if ac_fn_c_try_link "$LINENO"; then :
11450  ac_cv_lib_iberty_strerrno=yes
11451else
11452  ac_cv_lib_iberty_strerrno=no
11453fi
11454rm -f core conftest.err conftest.$ac_objext \
11455    conftest$ac_exeext conftest.$ac_ext
11456LIBS=$ac_check_lib_save_LIBS
11457fi
11458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iberty_strerrno" >&5
11459$as_echo "$ac_cv_lib_iberty_strerrno" >&6; }
11460if test "x$ac_cv_lib_iberty_strerrno" = xyes; then :
11461  liberty_lib="-liberty"
11462else
11463  liberty_lib=""
11464fi
11465
11466
11467
11468nsl_lib="";
11469ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
11470if test "x$ac_cv_func_gethostbyname" = xyes; then :
11471  try_nsl=""
11472else
11473  try_nsl="yes"
11474fi
11475
11476if test -n "${try_nsl}"; then
11477    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
11478$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
11479if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
11480  $as_echo_n "(cached) " >&6
11481else
11482  ac_check_lib_save_LIBS=$LIBS
11483LIBS="-lnsl  $LIBS"
11484cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11485/* end confdefs.h.  */
11486
11487/* Override any GCC internal prototype to avoid an error.
11488   Use char because int might match the return type of a GCC
11489   builtin and then its argument prototype would still apply.  */
11490#ifdef __cplusplus
11491extern "C"
11492#endif
11493char gethostbyname ();
11494int
11495main ()
11496{
11497return gethostbyname ();
11498  ;
11499  return 0;
11500}
11501_ACEOF
11502if ac_fn_c_try_link "$LINENO"; then :
11503  ac_cv_lib_nsl_gethostbyname=yes
11504else
11505  ac_cv_lib_nsl_gethostbyname=no
11506fi
11507rm -f core conftest.err conftest.$ac_objext \
11508    conftest$ac_exeext conftest.$ac_ext
11509LIBS=$ac_check_lib_save_LIBS
11510fi
11511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11512$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11513if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11514  nsl_lib="-lnsl"
11515else
11516  nsl_lib=""
11517fi
11518
11519fi
11520
11521
11522socket_lib="";
11523ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11524if test "x$ac_cv_func_connect" = xyes; then :
11525  try_socket=""
11526else
11527  try_socket="yes"
11528fi
11529
11530if test -n "${try_socket}"; then
11531    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11532$as_echo_n "checking for connect in -lsocket... " >&6; }
11533if ${ac_cv_lib_socket_connect+:} false; then :
11534  $as_echo_n "(cached) " >&6
11535else
11536  ac_check_lib_save_LIBS=$LIBS
11537LIBS="-lsocket  $LIBS"
11538cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11539/* end confdefs.h.  */
11540
11541/* Override any GCC internal prototype to avoid an error.
11542   Use char because int might match the return type of a GCC
11543   builtin and then its argument prototype would still apply.  */
11544#ifdef __cplusplus
11545extern "C"
11546#endif
11547char connect ();
11548int
11549main ()
11550{
11551return connect ();
11552  ;
11553  return 0;
11554}
11555_ACEOF
11556if ac_fn_c_try_link "$LINENO"; then :
11557  ac_cv_lib_socket_connect=yes
11558else
11559  ac_cv_lib_socket_connect=no
11560fi
11561rm -f core conftest.err conftest.$ac_objext \
11562    conftest$ac_exeext conftest.$ac_ext
11563LIBS=$ac_check_lib_save_LIBS
11564fi
11565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11566$as_echo "$ac_cv_lib_socket_connect" >&6; }
11567if test "x$ac_cv_lib_socket_connect" = xyes; then :
11568  socket_lib="-lsocket"
11569else
11570  socket_lib=""
11571fi
11572
11573fi
11574
11575
11576thread_lib="";
11577ac_fn_c_check_func "$LINENO" "thr_create" "ac_cv_func_thr_create"
11578if test "x$ac_cv_func_thr_create" = xyes; then :
11579  try_thread=""
11580else
11581  try_thread="yes"
11582fi
11583
11584if test -n "${try_thread}"; then
11585    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thr_create in -lthread" >&5
11586$as_echo_n "checking for thr_create in -lthread... " >&6; }
11587if ${ac_cv_lib_thread_thr_create+:} false; then :
11588  $as_echo_n "(cached) " >&6
11589else
11590  ac_check_lib_save_LIBS=$LIBS
11591LIBS="-lthread  $LIBS"
11592cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11593/* end confdefs.h.  */
11594
11595/* Override any GCC internal prototype to avoid an error.
11596   Use char because int might match the return type of a GCC
11597   builtin and then its argument prototype would still apply.  */
11598#ifdef __cplusplus
11599extern "C"
11600#endif
11601char thr_create ();
11602int
11603main ()
11604{
11605return thr_create ();
11606  ;
11607  return 0;
11608}
11609_ACEOF
11610if ac_fn_c_try_link "$LINENO"; then :
11611  ac_cv_lib_thread_thr_create=yes
11612else
11613  ac_cv_lib_thread_thr_create=no
11614fi
11615rm -f core conftest.err conftest.$ac_objext \
11616    conftest$ac_exeext conftest.$ac_ext
11617LIBS=$ac_check_lib_save_LIBS
11618fi
11619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_thread_thr_create" >&5
11620$as_echo "$ac_cv_lib_thread_thr_create" >&6; }
11621if test "x$ac_cv_lib_thread_thr_create" = xyes; then :
11622  thread_lib="-lthread"
11623else
11624  thread_lib=""
11625fi
11626
11627fi
11628
11629
11630
11631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
11632$as_echo_n "checking for ANSI C header files... " >&6; }
11633if ${ac_cv_header_stdc+:} false; then :
11634  $as_echo_n "(cached) " >&6
11635else
11636  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637/* end confdefs.h.  */
11638#include <stdlib.h>
11639#include <stdarg.h>
11640#include <string.h>
11641#include <float.h>
11642
11643int
11644main ()
11645{
11646
11647  ;
11648  return 0;
11649}
11650_ACEOF
11651if ac_fn_c_try_compile "$LINENO"; then :
11652  ac_cv_header_stdc=yes
11653else
11654  ac_cv_header_stdc=no
11655fi
11656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11657
11658if test $ac_cv_header_stdc = yes; then
11659  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11660  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11661/* end confdefs.h.  */
11662#include <string.h>
11663
11664_ACEOF
11665if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11666  $EGREP "memchr" >/dev/null 2>&1; then :
11667
11668else
11669  ac_cv_header_stdc=no
11670fi
11671rm -f conftest*
11672
11673fi
11674
11675if test $ac_cv_header_stdc = yes; then
11676  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11677  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11678/* end confdefs.h.  */
11679#include <stdlib.h>
11680
11681_ACEOF
11682if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11683  $EGREP "free" >/dev/null 2>&1; then :
11684
11685else
11686  ac_cv_header_stdc=no
11687fi
11688rm -f conftest*
11689
11690fi
11691
11692if test $ac_cv_header_stdc = yes; then
11693  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11694  if test "$cross_compiling" = yes; then :
11695  :
11696else
11697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698/* end confdefs.h.  */
11699#include <ctype.h>
11700#include <stdlib.h>
11701#if ((' ' & 0x0FF) == 0x020)
11702# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11703# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11704#else
11705# define ISLOWER(c) \
11706		   (('a' <= (c) && (c) <= 'i') \
11707		     || ('j' <= (c) && (c) <= 'r') \
11708		     || ('s' <= (c) && (c) <= 'z'))
11709# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
11710#endif
11711
11712#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11713int
11714main ()
11715{
11716  int i;
11717  for (i = 0; i < 256; i++)
11718    if (XOR (islower (i), ISLOWER (i))
11719	|| toupper (i) != TOUPPER (i))
11720      return 2;
11721  return 0;
11722}
11723_ACEOF
11724if ac_fn_c_try_run "$LINENO"; then :
11725
11726else
11727  ac_cv_header_stdc=no
11728fi
11729rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11730  conftest.$ac_objext conftest.beam conftest.$ac_ext
11731fi
11732
11733fi
11734fi
11735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
11736$as_echo "$ac_cv_header_stdc" >&6; }
11737if test $ac_cv_header_stdc = yes; then
11738
11739$as_echo "#define STDC_HEADERS 1" >>confdefs.h
11740
11741fi
11742
11743
11744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
11745$as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
11746if ${ac_cv_header_sys_wait_h+:} false; then :
11747  $as_echo_n "(cached) " >&6
11748else
11749  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11750/* end confdefs.h.  */
11751#include <sys/types.h>
11752#include <sys/wait.h>
11753#ifndef WEXITSTATUS
11754# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
11755#endif
11756#ifndef WIFEXITED
11757# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
11758#endif
11759
11760int
11761main ()
11762{
11763  int s;
11764  wait (&s);
11765  s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
11766  ;
11767  return 0;
11768}
11769_ACEOF
11770if ac_fn_c_try_compile "$LINENO"; then :
11771  ac_cv_header_sys_wait_h=yes
11772else
11773  ac_cv_header_sys_wait_h=no
11774fi
11775rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11776fi
11777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
11778$as_echo "$ac_cv_header_sys_wait_h" >&6; }
11779if test $ac_cv_header_sys_wait_h = yes; then
11780
11781$as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
11782
11783fi
11784
11785for ac_header in \
11786    unistd.h \
11787    sys/types.h \
11788    sys/time.h \
11789    sys/times.h \
11790    sys/stat.h \
11791    fcntl.h \
11792    sys/socket.h \
11793    sys/un.h \
11794    netinet/in.h \
11795    arpa/inet.h \
11796    netdb.h \
11797    rpc/rpc.h \
11798
11799do :
11800  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11801ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11802if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11803  cat >>confdefs.h <<_ACEOF
11804#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11805_ACEOF
11806
11807fi
11808
11809done
11810
11811
11812
11813ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
11814if test "x$ac_cv_type_mode_t" = xyes; then :
11815
11816else
11817
11818cat >>confdefs.h <<_ACEOF
11819#define mode_t int
11820_ACEOF
11821
11822fi
11823
11824ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
11825if test "x$ac_cv_type_pid_t" = xyes; then :
11826
11827else
11828
11829cat >>confdefs.h <<_ACEOF
11830#define pid_t int
11831_ACEOF
11832
11833fi
11834
11835ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
11836if test "x$ac_cv_type_size_t" = xyes; then :
11837
11838else
11839
11840cat >>confdefs.h <<_ACEOF
11841#define size_t unsigned int
11842_ACEOF
11843
11844fi
11845
11846
11847
11848
11849
11850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
11851$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
11852if ${ac_cv_header_stat_broken+:} false; then :
11853  $as_echo_n "(cached) " >&6
11854else
11855  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856/* end confdefs.h.  */
11857#include <sys/types.h>
11858#include <sys/stat.h>
11859
11860#if defined S_ISBLK && defined S_IFDIR
11861extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
11862#endif
11863
11864#if defined S_ISBLK && defined S_IFCHR
11865extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
11866#endif
11867
11868#if defined S_ISLNK && defined S_IFREG
11869extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
11870#endif
11871
11872#if defined S_ISSOCK && defined S_IFREG
11873extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
11874#endif
11875
11876_ACEOF
11877if ac_fn_c_try_compile "$LINENO"; then :
11878  ac_cv_header_stat_broken=no
11879else
11880  ac_cv_header_stat_broken=yes
11881fi
11882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883fi
11884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
11885$as_echo "$ac_cv_header_stat_broken" >&6; }
11886if test $ac_cv_header_stat_broken = yes; then
11887
11888$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
11889
11890fi
11891
11892
11893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xdrmem_create in <rpc/rpc.h>" >&5
11894$as_echo_n "checking for xdrmem_create in <rpc/rpc.h>... " >&6; }
11895cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11896/* end confdefs.h.  */
11897#include <rpc/rpc.h>
11898
11899_ACEOF
11900if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11901  $EGREP "xdrmem_create" >/dev/null 2>&1; then :
11902  xdrmem_create_ok=yes;$as_echo "#define HAVE_XDR 1" >>confdefs.h
11903
11904else
11905  xdrmem_create_ok=no;
11906fi
11907rm -f conftest*
11908
11909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${xdrmem_create_ok}" >&5
11910$as_echo "${xdrmem_create_ok}" >&6; }
11911
11912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd in <unistd.h>" >&5
11913$as_echo_n "checking for getcwd in <unistd.h>... " >&6; }
11914cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11915/* end confdefs.h.  */
11916#include <unistd.h>
11917
11918_ACEOF
11919if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11920  $EGREP "getcwd" >/dev/null 2>&1; then :
11921  getcwd_ok=yes;$as_echo "#define HAVE_GETCWD 1" >>confdefs.h
11922
11923else
11924  getcwd_ok=no;
11925fi
11926rm -f conftest*
11927
11928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${getcwd_ok}" >&5
11929$as_echo "${getcwd_ok}" >&6; }
11930
11931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for O_NONBLOCK in <fcntl.h>" >&5
11932$as_echo_n "checking for O_NONBLOCK in <fcntl.h>... " >&6; }
11933cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11934/* end confdefs.h.  */
11935#include <fcntl.h>
11936int
11937main ()
11938{
11939unsigned short a; a && O_NONBLOCK;
11940  ;
11941  return 0;
11942}
11943_ACEOF
11944if ac_fn_c_try_compile "$LINENO"; then :
11945  o_nonblock_ok=yes;$as_echo "#define HAVE_O_NONBLOCK 1" >>confdefs.h
11946
11947else
11948  o_nonblock_ok=no
11949fi
11950rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${o_nonblock_ok}" >&5
11952$as_echo "${o_nonblock_ok}" >&6; }
11953
11954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether accept() in <sys/socket.h> wants ulong, uint, or int" >&5
11955$as_echo_n "checking whether accept() in <sys/socket.h> wants ulong, uint, or int... " >&6; }
11956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unclear" >&5
11957$as_echo "unclear" >&6; }
11958
11959
11960
11961fetk_cpu_vendor_os="";
11962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you want to disable the CPU-VENDOR-OS install triplet" >&5
11963$as_echo_n "checking whether you want to disable the CPU-VENDOR-OS install triplet... " >&6; }
11964# Check whether --enable-triplet was given.
11965if test "${enable_triplet+set}" = set; then :
11966  enableval=$enable_triplet;  triplet_kill="yes"
11967else
11968   triplet_kill=""
11969
11970fi
11971
11972if test "${triplet_kill}" = yes; then
11973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11974$as_echo "yes" >&6; }
11975    fetk_cpu_vendor_os="";
11976else
11977    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978$as_echo "no" >&6; }
11979    fetk_cpu_vendor_os="${host_cpu}-${host_vendor}-${host_os}";
11980fi
11981
11982
11983if test "${host_os}" = "cygwin"; then
11984    $as_echo "#define HAVE_CYGWIN 1" >>confdefs.h
11985
11986fi
11987
11988rl_lib="";
11989rl_inc="";
11990
11991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your environment defines FETK_RL_INCLUDE" >&5
11992$as_echo_n "checking whether your environment defines FETK_RL_INCLUDE... " >&6; }
11993if test -n "${FETK_RL_INCLUDE}"; then
11994    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11995$as_echo "yes" >&6; }
11996    rl_inc_path="-I${FETK_RL_INCLUDE} ";
11997else
11998    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11999$as_echo "no" >&6; }
12000    rl_inc_path="";
12001fi
12002
12003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your environment defines FETK_RL_LIBRARY" >&5
12004$as_echo_n "checking whether your environment defines FETK_RL_LIBRARY... " >&6; }
12005if test -n "${FETK_RL_LIBRARY}"; then
12006    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12007$as_echo "yes" >&6; }
12008    rl_lib_path="-L${FETK_RL_LIBRARY} ";
12009else
12010    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12011$as_echo "no" >&6; }
12012    rl_lib_path="";
12013fi
12014
12015LDFLAGS_SAVE=${LDFLAGS};
12016CPPFLAGS_SAVE=${CPPFLAGS};
12017LDFLAGS=${rl_lib_path};
12018CPPFLAGS=${rl_inc_path};
12019ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
12020if test "x$ac_cv_header_readline_readline_h" = xyes; then :
12021  rl_use="yes";rl_inc="${rl_inc_path}"
12022else
12023  rl_use="";rl_inc=""
12024fi
12025
12026
12027if test -n "${rl_use}"; then
12028    ac_fn_c_check_header_mongrel "$LINENO" "readline/history.h" "ac_cv_header_readline_history_h" "$ac_includes_default"
12029if test "x$ac_cv_header_readline_history_h" = xyes; then :
12030  rl_use="yes";rl_inc="${rl_inc_path}"
12031else
12032  rl_use="";rl_inc=""
12033fi
12034
12035
12036    if test -n "${rl_use}"; then
12037        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetnum in -lncurses" >&5
12038$as_echo_n "checking for tgetnum in -lncurses... " >&6; }
12039if ${ac_cv_lib_ncurses_tgetnum+:} false; then :
12040  $as_echo_n "(cached) " >&6
12041else
12042  ac_check_lib_save_LIBS=$LIBS
12043LIBS="-lncurses ${math_lib} $LIBS"
12044cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045/* end confdefs.h.  */
12046
12047/* Override any GCC internal prototype to avoid an error.
12048   Use char because int might match the return type of a GCC
12049   builtin and then its argument prototype would still apply.  */
12050#ifdef __cplusplus
12051extern "C"
12052#endif
12053char tgetnum ();
12054int
12055main ()
12056{
12057return tgetnum ();
12058  ;
12059  return 0;
12060}
12061_ACEOF
12062if ac_fn_c_try_link "$LINENO"; then :
12063  ac_cv_lib_ncurses_tgetnum=yes
12064else
12065  ac_cv_lib_ncurses_tgetnum=no
12066fi
12067rm -f core conftest.err conftest.$ac_objext \
12068    conftest$ac_exeext conftest.$ac_ext
12069LIBS=$ac_check_lib_save_LIBS
12070fi
12071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ncurses_tgetnum" >&5
12072$as_echo "$ac_cv_lib_ncurses_tgetnum" >&6; }
12073if test "x$ac_cv_lib_ncurses_tgetnum" = xyes; then :
12074  ncurses_lib="-lncurses"
12075else
12076  ncurses_lib=""
12077fi
12078
12079        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline in -lreadline" >&5
12080$as_echo_n "checking for readline in -lreadline... " >&6; }
12081if ${ac_cv_lib_readline_readline+:} false; then :
12082  $as_echo_n "(cached) " >&6
12083else
12084  ac_check_lib_save_LIBS=$LIBS
12085LIBS="-lreadline ${rl_lib_path} ${ncurses_lib} ${math_lib} $LIBS"
12086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12087/* end confdefs.h.  */
12088
12089/* Override any GCC internal prototype to avoid an error.
12090   Use char because int might match the return type of a GCC
12091   builtin and then its argument prototype would still apply.  */
12092#ifdef __cplusplus
12093extern "C"
12094#endif
12095char readline ();
12096int
12097main ()
12098{
12099return readline ();
12100  ;
12101  return 0;
12102}
12103_ACEOF
12104if ac_fn_c_try_link "$LINENO"; then :
12105  ac_cv_lib_readline_readline=yes
12106else
12107  ac_cv_lib_readline_readline=no
12108fi
12109rm -f core conftest.err conftest.$ac_objext \
12110    conftest$ac_exeext conftest.$ac_ext
12111LIBS=$ac_check_lib_save_LIBS
12112fi
12113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_readline" >&5
12114$as_echo "$ac_cv_lib_readline_readline" >&6; }
12115if test "x$ac_cv_lib_readline_readline" = xyes; then :
12116  rl_use="yes";rl_lib="${rl_lib_path}-lreadline ${ncurses_lib}"
12117else
12118  rl_use="";rl_lib=""
12119fi
12120
12121        if test -n "${rl_use}"; then
12122            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for add_history in -lreadline" >&5
12123$as_echo_n "checking for add_history in -lreadline... " >&6; }
12124if ${ac_cv_lib_readline_add_history+:} false; then :
12125  $as_echo_n "(cached) " >&6
12126else
12127  ac_check_lib_save_LIBS=$LIBS
12128LIBS="-lreadline ${rl_lib_path} ${ncurses_lib} ${math_lib} $LIBS"
12129cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12130/* end confdefs.h.  */
12131
12132/* Override any GCC internal prototype to avoid an error.
12133   Use char because int might match the return type of a GCC
12134   builtin and then its argument prototype would still apply.  */
12135#ifdef __cplusplus
12136extern "C"
12137#endif
12138char add_history ();
12139int
12140main ()
12141{
12142return add_history ();
12143  ;
12144  return 0;
12145}
12146_ACEOF
12147if ac_fn_c_try_link "$LINENO"; then :
12148  ac_cv_lib_readline_add_history=yes
12149else
12150  ac_cv_lib_readline_add_history=no
12151fi
12152rm -f core conftest.err conftest.$ac_objext \
12153    conftest$ac_exeext conftest.$ac_ext
12154LIBS=$ac_check_lib_save_LIBS
12155fi
12156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_readline_add_history" >&5
12157$as_echo "$ac_cv_lib_readline_add_history" >&6; }
12158if test "x$ac_cv_lib_readline_add_history" = xyes; then :
12159  rl_use="yes";rl_lib="${rl_lib_path}-lreadline ${ncurses_lib}"
12160else
12161  rl_use="";rl_lib=""
12162fi
12163
12164        fi
12165        if test -n "${rl_use}"; then
12166            $as_echo "#define HAVE_READLINE_READLINE_H 1" >>confdefs.h
12167
12168            $as_echo "#define HAVE_READLINE_HISTORY_H 1" >>confdefs.h
12169
12170        fi
12171    fi
12172fi
12173
12174LDFLAGS=${LDFLAGS_SAVE};
12175CPPFLAGS=${CPPFLAGS_SAVE};
12176
12177
12178
12179
12180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you want MPI" >&5
12181$as_echo_n "checking whether you want MPI... " >&6; }
12182# Check whether --enable-mpi was given.
12183if test "${enable_mpi+set}" = set; then :
12184  enableval=$enable_mpi;  mpi_use="yes"
12185else
12186   mpi_use=""
12187
12188fi
12189
12190mpi_lib="";
12191mpi_inc="";
12192if test -z "${mpi_use}"; then
12193    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12194$as_echo "no" >&6; }
12195else
12196    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ...poking around" >&5
12197$as_echo "yes ...poking around" >&6; }
12198
12199        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your environment defines FETK_MPI_INCLUDE" >&5
12200$as_echo_n "checking whether your environment defines FETK_MPI_INCLUDE... " >&6; }
12201    if test -n "${FETK_MPI_INCLUDE}"; then
12202        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12203$as_echo "yes" >&6; }
12204        mpi_inc_path="-I${FETK_MPI_INCLUDE} ";
12205    else
12206        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12207$as_echo "no" >&6; }
12208        mpi_inc_path="";
12209    fi
12210
12211        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether your environment defines FETK_MPI_LIBRARY" >&5
12212$as_echo_n "checking whether your environment defines FETK_MPI_LIBRARY... " >&6; }
12213    if test -n "${FETK_MPI_LIBRARY}"; then
12214        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12215$as_echo "yes" >&6; }
12216        mpi_lib_path="-L${FETK_MPI_LIBRARY} ";
12217    else
12218        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12219$as_echo "no" >&6; }
12220        mpi_lib_path="";
12221    fi
12222
12223        LDFLAGS_SAVE=${LDFLAGS};
12224    CPPFLAGS_SAVE=${CPPFLAGS};
12225    LDFLAGS=${mpi_lib_path};
12226    CPPFLAGS=${mpi_inc_path};
12227    mpi_use="";
12228    ac_fn_c_check_header_mongrel "$LINENO" "mpi.h" "ac_cv_header_mpi_h" "$ac_includes_default"
12229if test "x$ac_cv_header_mpi_h" = xyes; then :
12230  mpi_use="yes";mpi_inc="${mpi_inc_path}"
12231else
12232  mpi_use="";mpi_inc=""
12233fi
12234
12235
12236    if test -n "${mpi_use}"; then
12237        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpi" >&5
12238$as_echo_n "checking for main in -lmpi... " >&6; }
12239if ${ac_cv_lib_mpi_main+:} false; then :
12240  $as_echo_n "(cached) " >&6
12241else
12242  ac_check_lib_save_LIBS=$LIBS
12243LIBS="-lmpi ${mpi_lib_path} $LIBS"
12244cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12245/* end confdefs.h.  */
12246
12247
12248int
12249main ()
12250{
12251return main ();
12252  ;
12253  return 0;
12254}
12255_ACEOF
12256if ac_fn_c_try_link "$LINENO"; then :
12257  ac_cv_lib_mpi_main=yes
12258else
12259  ac_cv_lib_mpi_main=no
12260fi
12261rm -f core conftest.err conftest.$ac_objext \
12262    conftest$ac_exeext conftest.$ac_ext
12263LIBS=$ac_check_lib_save_LIBS
12264fi
12265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpi_main" >&5
12266$as_echo "$ac_cv_lib_mpi_main" >&6; }
12267if test "x$ac_cv_lib_mpi_main" = xyes; then :
12268  mpi_use="yes";mpi_lib="${mpi_lib_path}-lmpi"
12269else
12270  mpi_use="";mpi_lib=""
12271fi
12272
12273        if test -z "${mpi_use}"; then
12274            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lmpich" >&5
12275$as_echo_n "checking for main in -lmpich... " >&6; }
12276if ${ac_cv_lib_mpich_main+:} false; then :
12277  $as_echo_n "(cached) " >&6
12278else
12279  ac_check_lib_save_LIBS=$LIBS
12280LIBS="-lmpich ${mpi_lib_path} $LIBS"
12281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282/* end confdefs.h.  */
12283
12284
12285int
12286main ()
12287{
12288return main ();
12289  ;
12290  return 0;
12291}
12292_ACEOF
12293if ac_fn_c_try_link "$LINENO"; then :
12294  ac_cv_lib_mpich_main=yes
12295else
12296  ac_cv_lib_mpich_main=no
12297fi
12298rm -f core conftest.err conftest.$ac_objext \
12299    conftest$ac_exeext conftest.$ac_ext
12300LIBS=$ac_check_lib_save_LIBS
12301fi
12302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpich_main" >&5
12303$as_echo "$ac_cv_lib_mpich_main" >&6; }
12304if test "x$ac_cv_lib_mpich_main" = xyes; then :
12305  mpi_use="yes";mpi_lib="${mpi_lib_path}-lmpich"
12306else
12307  mpi_use="";mpi_lib=""
12308fi
12309
12310        fi
12311        if test -n "${mpi_use}"; then
12312
12313$as_echo "#define HAVE_MPI_H /**/" >>confdefs.h
12314
12315        fi
12316    fi
12317
12318        LDFLAGS=${LDFLAGS_SAVE};
12319    CPPFLAGS=${CPPFLAGS_SAVE};
12320fi
12321
12322
12323
12324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether EMBED macro can be used without compilation errors" >&5
12325$as_echo_n "checking whether EMBED macro can be used without compilation errors... " >&6; }
12326cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327/* end confdefs.h.  */
12328
12329int
12330main ()
12331{
12332#define EMBED(rctag) \
12333     static const char* rctag; \
12334     static void* use_rcsid=(0 ? &use_rcsid : (void*)&rcsid);
12335     EMBED(rcsid)
12336  ;
12337  return 0;
12338}
12339_ACEOF
12340if ac_fn_c_try_compile "$LINENO"; then :
12341  embed_ok=yes;$as_echo "#define HAVE_EMBED 1" >>confdefs.h
12342
12343else
12344  embed_ok=no
12345fi
12346rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${embed_ok}" >&5
12348$as_echo "${embed_ok}" >&6; }
12349
12350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ----------- begin processing MALOC configure options ---------" >&5
12351$as_echo "----------- begin processing MALOC configure options ---------" >&6; }
12352
12353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you want debug compilation" >&5
12354$as_echo_n "checking whether you want debug compilation... " >&6; }
12355# Check whether --enable-vdebug was given.
12356if test "${enable_vdebug+set}" = set; then :
12357  enableval=$enable_vdebug;  vdebug_use="yes"
12358else
12359   vdebug_use=""
12360
12361fi
12362
12363if test -z "${vdebug_use}"; then
12364    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12365$as_echo "no" >&6; }
12366else
12367    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12368$as_echo "yes" >&6; }
12369    $as_echo "#define HAVE_DEBUG 1" >>confdefs.h
12370
12371fi
12372
12373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you want pedantic ANSI compilation" >&5
12374$as_echo_n "checking whether you want pedantic ANSI compilation... " >&6; }
12375# Check whether --enable-pansi was given.
12376if test "${enable_pansi+set}" = set; then :
12377  enableval=$enable_pansi;  pansi_use="yes"
12378else
12379   pansi_use=""
12380
12381fi
12382
12383if test -z "${pansi_use}"; then
12384    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12385$as_echo "no" >&6; }
12386    wall=""
12387    wall_pedantic=""
12388    wall_pedantic_ansi=""
12389    pedantic_ansi=""
12390else
12391    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12392$as_echo "yes" >&6; }
12393    wall="-Wall"
12394    wall_pedantic="-Wall -pedantic"
12395    wall_pedantic_ansi="-Wall -pedantic -ansi"
12396    pedantic_ansi="-pedantic -ansi"
12397fi
12398
12399
12400
12401
12402
12403{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you want profiling" >&5
12404$as_echo_n "checking whether you want profiling... " >&6; }
12405# Check whether --enable-gprof was given.
12406if test "${enable_gprof+set}" = set; then :
12407  enableval=$enable_gprof;  gprof_use="yes"
12408else
12409   gprof_use=""
12410
12411fi
12412
12413if test -z "${gprof_use}"; then
12414    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12415$as_echo "no" >&6; }
12416    profile=""
12417    profile_lib=""
12418else
12419    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12420$as_echo "yes" >&6; }
12421    profile="-pg"
12422    profile_lib="-pg"
12423fi
12424
12425
12426
12427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether you want to build ElectricFence" >&5
12428$as_echo_n "checking whether you want to build ElectricFence... " >&6; }
12429# Check whether --enable-efence was given.
12430if test "${enable_efence+set}" = set; then :
12431  enableval=$enable_efence;  efence_build="yes"
12432else
12433   efence_build=""
12434
12435fi
12436
12437if test -n "${efence_build}"; then
12438    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12439$as_echo "yes" >&6; }
12440    efence="efence"
12441else
12442    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443$as_echo "no" >&6; }
12444    efence=""
12445fi
12446
12447 if test x$efence = xefence; then
12448  BUILD_EFENCE_TRUE=
12449  BUILD_EFENCE_FALSE='#'
12450else
12451  BUILD_EFENCE_TRUE='#'
12452  BUILD_EFENCE_FALSE=
12453fi
12454
12455
12456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ------------ end processing MALOC configure options ----------" >&5
12457$as_echo "------------ end processing MALOC configure options ----------" >&6; }
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487cwd=`pwd`
12488cd ${srcdir}
12489TOPDIR=`pwd`
12490cd ${cwd}
12491
12492
12493# Check whether --with-doxygen was given.
12494if test "${with_doxygen+set}" = set; then :
12495  withval=$with_doxygen; with_doxygen=$withval
12496else
12497  with_doxygen=no
12498fi
12499
12500
12501if test "$with_doxygen" = "no"; then
12502  # Extract the first word of "doxygen", so it can be a program name with args.
12503set dummy doxygen; ac_word=$2
12504{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12505$as_echo_n "checking for $ac_word... " >&6; }
12506if ${ac_cv_path_doxygen_path+:} false; then :
12507  $as_echo_n "(cached) " >&6
12508else
12509  case $doxygen_path in
12510  [\\/]* | ?:[\\/]*)
12511  ac_cv_path_doxygen_path="$doxygen_path" # Let the user override the test with a path.
12512  ;;
12513  *)
12514  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12515for as_dir in $PATH
12516do
12517  IFS=$as_save_IFS
12518  test -z "$as_dir" && as_dir=.
12519    for ac_exec_ext in '' $ac_executable_extensions; do
12520  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12521    ac_cv_path_doxygen_path="$as_dir/$ac_word$ac_exec_ext"
12522    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12523    break 2
12524  fi
12525done
12526  done
12527IFS=$as_save_IFS
12528
12529  ;;
12530esac
12531fi
12532doxygen_path=$ac_cv_path_doxygen_path
12533if test -n "$doxygen_path"; then
12534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $doxygen_path" >&5
12535$as_echo "$doxygen_path" >&6; }
12536else
12537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12538$as_echo "no" >&6; }
12539fi
12540
12541
12542  if test -z "${doxygen_path}"; then
12543    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find doxygen!" >&5
12544$as_echo "$as_me: WARNING: Unable to find doxygen!" >&2;}
12545  fi
12546else
12547  doxygen_path=$with_doxygen
12548fi
12549
12550
12551# Check whether --with-dot was given.
12552if test "${with_dot+set}" = set; then :
12553  withval=$with_dot; with_dot=$withval
12554else
12555  with_dot=no
12556fi
12557
12558
12559if test "$with_dot" = "no"; then
12560  # Extract the first word of "dot", so it can be a program name with args.
12561set dummy dot; ac_word=$2
12562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12563$as_echo_n "checking for $ac_word... " >&6; }
12564if ${ac_cv_path_dot_path+:} false; then :
12565  $as_echo_n "(cached) " >&6
12566else
12567  case $dot_path in
12568  [\\/]* | ?:[\\/]*)
12569  ac_cv_path_dot_path="$dot_path" # Let the user override the test with a path.
12570  ;;
12571  *)
12572  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12573for as_dir in $PATH
12574do
12575  IFS=$as_save_IFS
12576  test -z "$as_dir" && as_dir=.
12577    for ac_exec_ext in '' $ac_executable_extensions; do
12578  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12579    ac_cv_path_dot_path="$as_dir/$ac_word$ac_exec_ext"
12580    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12581    break 2
12582  fi
12583done
12584  done
12585IFS=$as_save_IFS
12586
12587  ;;
12588esac
12589fi
12590dot_path=$ac_cv_path_dot_path
12591if test -n "$dot_path"; then
12592  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dot_path" >&5
12593$as_echo "$dot_path" >&6; }
12594else
12595  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12596$as_echo "no" >&6; }
12597fi
12598
12599
12600  if test -z "${dot_path}"; then
12601    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to find dot!" >&5
12602$as_echo "$as_me: WARNING: Unable to find dot!" >&2;}
12603  fi
12604else
12605  dot_path=$with_dot
12606fi
12607
12608if test "$dot_path" = ""; then
12609  sed -e 's%@have_dot@%'NO'%' $TOPDIR/doc/doxygen/maloc.dox.in > $TOPDIR/doc/doxygen/maloc.dox.in.temp
12610  sed -e 's%@dot_path@%''%' $TOPDIR/doc/doxygen/maloc.dox.in.temp > $TOPDIR/doc/doxygen/maloc.dox.in.temp.2
12611else
12612  sed -e 's%@have_dot@%'YES'%' $TOPDIR/doc/doxygen/maloc.dox.in > $TOPDIR/doc/doxygen/maloc.dox.in.temp
12613  sed -e 's%@dot_path@%'${dot_path}'%' $TOPDIR/doc/doxygen/maloc.dox.in.temp > $TOPDIR/doc/doxygen/maloc.dox.in.temp.2
12614fi
12615
12616sed -e 's%@topdir@%'${TOPDIR}'%' $TOPDIR/doc/doxygen/maloc.dox.in.temp.2 > $TOPDIR/doc/doxygen/maloc.dox
12617rm -f $TOPDIR/doc/doxygen/maloc.dox.in.temp*
12618
12619 if test "$doxygen_path" != ""; then
12620  MAKE_DOC_TRUE=
12621  MAKE_DOC_FALSE='#'
12622else
12623  MAKE_DOC_TRUE='#'
12624  MAKE_DOC_FALSE=
12625fi
12626
12627
12628
12629
12630
12631
12632ac_config_files="$ac_config_files Makefile src/Makefile src/base/Makefile src/efence/Makefile src/vsys/Makefile src/vsh/Makefile src/psh/Makefile src/aaa_inc/Makefile src/aaa_inc/maloc/Makefile src/aaa_lib/Makefile doc/Makefile doc/doxygen/Makefile"
12633
12634cat >confcache <<\_ACEOF
12635# This file is a shell script that caches the results of configure
12636# tests run on this system so they can be shared between configure
12637# scripts and configure runs, see configure's option --config-cache.
12638# It is not useful on other systems.  If it contains results you don't
12639# want to keep, you may remove or edit it.
12640#
12641# config.status only pays attention to the cache file if you give it
12642# the --recheck option to rerun configure.
12643#
12644# `ac_cv_env_foo' variables (set or unset) will be overridden when
12645# loading this file, other *unset* `ac_cv_foo' will be assigned the
12646# following values.
12647
12648_ACEOF
12649
12650# The following way of writing the cache mishandles newlines in values,
12651# but we know of no workaround that is simple, portable, and efficient.
12652# So, we kill variables containing newlines.
12653# Ultrix sh set writes to stderr and can't be redirected directly,
12654# and sets the high bit in the cache file unless we assign to the vars.
12655(
12656  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12657    eval ac_val=\$$ac_var
12658    case $ac_val in #(
12659    *${as_nl}*)
12660      case $ac_var in #(
12661      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12662$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12663      esac
12664      case $ac_var in #(
12665      _ | IFS | as_nl) ;; #(
12666      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
12667      *) { eval $ac_var=; unset $ac_var;} ;;
12668      esac ;;
12669    esac
12670  done
12671
12672  (set) 2>&1 |
12673    case $as_nl`(ac_space=' '; set) 2>&1` in #(
12674    *${as_nl}ac_space=\ *)
12675      # `set' does not quote correctly, so add quotes: double-quote
12676      # substitution turns \\\\ into \\, and sed turns \\ into \.
12677      sed -n \
12678	"s/'/'\\\\''/g;
12679	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12680      ;; #(
12681    *)
12682      # `set' quotes correctly as required by POSIX, so do not add quotes.
12683      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12684      ;;
12685    esac |
12686    sort
12687) |
12688  sed '
12689     /^ac_cv_env_/b end
12690     t clear
12691     :clear
12692     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12693     t end
12694     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12695     :end' >>confcache
12696if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12697  if test -w "$cache_file"; then
12698    if test "x$cache_file" != "x/dev/null"; then
12699      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12700$as_echo "$as_me: updating cache $cache_file" >&6;}
12701      if test ! -f "$cache_file" || test -h "$cache_file"; then
12702	cat confcache >"$cache_file"
12703      else
12704        case $cache_file in #(
12705        */* | ?:*)
12706	  mv -f confcache "$cache_file"$$ &&
12707	  mv -f "$cache_file"$$ "$cache_file" ;; #(
12708        *)
12709	  mv -f confcache "$cache_file" ;;
12710	esac
12711      fi
12712    fi
12713  else
12714    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12715$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12716  fi
12717fi
12718rm -f confcache
12719
12720test "x$prefix" = xNONE && prefix=$ac_default_prefix
12721# Let make expand exec_prefix.
12722test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12723
12724DEFS=-DHAVE_CONFIG_H
12725
12726ac_libobjs=
12727ac_ltlibobjs=
12728U=
12729for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12730  # 1. Remove the extension, and $U if already installed.
12731  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12732  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
12733  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
12734  #    will be set to the directory where LIBOBJS objects are built.
12735  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12736  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
12737done
12738LIBOBJS=$ac_libobjs
12739
12740LTLIBOBJS=$ac_ltlibobjs
12741
12742
12743 if test -n "$EXEEXT"; then
12744  am__EXEEXT_TRUE=
12745  am__EXEEXT_FALSE='#'
12746else
12747  am__EXEEXT_TRUE='#'
12748  am__EXEEXT_FALSE=
12749fi
12750
12751if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
12752  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
12753Usually this means the macro was only invoked conditionally." "$LINENO" 5
12754fi
12755if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12756  as_fn_error $? "conditional \"AMDEP\" was never defined.
12757Usually this means the macro was only invoked conditionally." "$LINENO" 5
12758fi
12759if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12760  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
12761Usually this means the macro was only invoked conditionally." "$LINENO" 5
12762fi
12763if test -z "${BUILD_EFENCE_TRUE}" && test -z "${BUILD_EFENCE_FALSE}"; then
12764  as_fn_error $? "conditional \"BUILD_EFENCE\" was never defined.
12765Usually this means the macro was only invoked conditionally." "$LINENO" 5
12766fi
12767if test -z "${MAKE_DOC_TRUE}" && test -z "${MAKE_DOC_FALSE}"; then
12768  as_fn_error $? "conditional \"MAKE_DOC\" was never defined.
12769Usually this means the macro was only invoked conditionally." "$LINENO" 5
12770fi
12771
12772: "${CONFIG_STATUS=./config.status}"
12773ac_write_fail=0
12774ac_clean_files_save=$ac_clean_files
12775ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12776{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12777$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12778as_write_fail=0
12779cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12780#! $SHELL
12781# Generated by $as_me.
12782# Run this file to recreate the current configuration.
12783# Compiler output produced by configure, useful for debugging
12784# configure, is in config.log if it exists.
12785
12786debug=false
12787ac_cs_recheck=false
12788ac_cs_silent=false
12789
12790SHELL=\${CONFIG_SHELL-$SHELL}
12791export SHELL
12792_ASEOF
12793cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
12794## -------------------- ##
12795## M4sh Initialization. ##
12796## -------------------- ##
12797
12798# Be more Bourne compatible
12799DUALCASE=1; export DUALCASE # for MKS sh
12800if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
12801  emulate sh
12802  NULLCMD=:
12803  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12804  # is contrary to our usage.  Disable this feature.
12805  alias -g '${1+"$@"}'='"$@"'
12806  setopt NO_GLOB_SUBST
12807else
12808  case `(set -o) 2>/dev/null` in #(
12809  *posix*) :
12810    set -o posix ;; #(
12811  *) :
12812     ;;
12813esac
12814fi
12815
12816
12817as_nl='
12818'
12819export as_nl
12820# Printing a long string crashes Solaris 7 /usr/bin/printf.
12821as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12822as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12823as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12824# Prefer a ksh shell builtin over an external printf program on Solaris,
12825# but without wasting forks for bash or zsh.
12826if test -z "$BASH_VERSION$ZSH_VERSION" \
12827    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12828  as_echo='print -r --'
12829  as_echo_n='print -rn --'
12830elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12831  as_echo='printf %s\n'
12832  as_echo_n='printf %s'
12833else
12834  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12835    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
12836    as_echo_n='/usr/ucb/echo -n'
12837  else
12838    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12839    as_echo_n_body='eval
12840      arg=$1;
12841      case $arg in #(
12842      *"$as_nl"*)
12843	expr "X$arg" : "X\\(.*\\)$as_nl";
12844	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12845      esac;
12846      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
12847    '
12848    export as_echo_n_body
12849    as_echo_n='sh -c $as_echo_n_body as_echo'
12850  fi
12851  export as_echo_body
12852  as_echo='sh -c $as_echo_body as_echo'
12853fi
12854
12855# The user is always right.
12856if test "${PATH_SEPARATOR+set}" != set; then
12857  PATH_SEPARATOR=:
12858  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12859    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12860      PATH_SEPARATOR=';'
12861  }
12862fi
12863
12864
12865# IFS
12866# We need space, tab and new line, in precisely that order.  Quoting is
12867# there to prevent editors from complaining about space-tab.
12868# (If _AS_PATH_WALK were called with IFS unset, it would disable word
12869# splitting by setting IFS to empty value.)
12870IFS=" ""	$as_nl"
12871
12872# Find who we are.  Look in the path if we contain no directory separator.
12873as_myself=
12874case $0 in #((
12875  *[\\/]* ) as_myself=$0 ;;
12876  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12877for as_dir in $PATH
12878do
12879  IFS=$as_save_IFS
12880  test -z "$as_dir" && as_dir=.
12881    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12882  done
12883IFS=$as_save_IFS
12884
12885     ;;
12886esac
12887# We did not find ourselves, most probably we were run as `sh COMMAND'
12888# in which case we are not to be found in the path.
12889if test "x$as_myself" = x; then
12890  as_myself=$0
12891fi
12892if test ! -f "$as_myself"; then
12893  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12894  exit 1
12895fi
12896
12897# Unset variables that we do not need and which cause bugs (e.g. in
12898# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
12899# suppresses any "Segmentation fault" message there.  '((' could
12900# trigger a bug in pdksh 5.2.14.
12901for as_var in BASH_ENV ENV MAIL MAILPATH
12902do eval test x\${$as_var+set} = xset \
12903  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
12904done
12905PS1='$ '
12906PS2='> '
12907PS4='+ '
12908
12909# NLS nuisances.
12910LC_ALL=C
12911export LC_ALL
12912LANGUAGE=C
12913export LANGUAGE
12914
12915# CDPATH.
12916(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
12917
12918
12919# as_fn_error STATUS ERROR [LINENO LOG_FD]
12920# ----------------------------------------
12921# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12922# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12923# script with STATUS, using 1 if that was 0.
12924as_fn_error ()
12925{
12926  as_status=$1; test $as_status -eq 0 && as_status=1
12927  if test "$4"; then
12928    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
12929    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12930  fi
12931  $as_echo "$as_me: error: $2" >&2
12932  as_fn_exit $as_status
12933} # as_fn_error
12934
12935
12936# as_fn_set_status STATUS
12937# -----------------------
12938# Set $? to STATUS, without forking.
12939as_fn_set_status ()
12940{
12941  return $1
12942} # as_fn_set_status
12943
12944# as_fn_exit STATUS
12945# -----------------
12946# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12947as_fn_exit ()
12948{
12949  set +e
12950  as_fn_set_status $1
12951  exit $1
12952} # as_fn_exit
12953
12954# as_fn_unset VAR
12955# ---------------
12956# Portably unset VAR.
12957as_fn_unset ()
12958{
12959  { eval $1=; unset $1;}
12960}
12961as_unset=as_fn_unset
12962# as_fn_append VAR VALUE
12963# ----------------------
12964# Append the text in VALUE to the end of the definition contained in VAR. Take
12965# advantage of any shell optimizations that allow amortized linear growth over
12966# repeated appends, instead of the typical quadratic growth present in naive
12967# implementations.
12968if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
12969  eval 'as_fn_append ()
12970  {
12971    eval $1+=\$2
12972  }'
12973else
12974  as_fn_append ()
12975  {
12976    eval $1=\$$1\$2
12977  }
12978fi # as_fn_append
12979
12980# as_fn_arith ARG...
12981# ------------------
12982# Perform arithmetic evaluation on the ARGs, and store the result in the
12983# global $as_val. Take advantage of shells that can avoid forks. The arguments
12984# must be portable across $(()) and expr.
12985if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
12986  eval 'as_fn_arith ()
12987  {
12988    as_val=$(( $* ))
12989  }'
12990else
12991  as_fn_arith ()
12992  {
12993    as_val=`expr "$@" || test $? -eq 1`
12994  }
12995fi # as_fn_arith
12996
12997
12998if expr a : '\(a\)' >/dev/null 2>&1 &&
12999   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13000  as_expr=expr
13001else
13002  as_expr=false
13003fi
13004
13005if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13006  as_basename=basename
13007else
13008  as_basename=false
13009fi
13010
13011if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13012  as_dirname=dirname
13013else
13014  as_dirname=false
13015fi
13016
13017as_me=`$as_basename -- "$0" ||
13018$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13019	 X"$0" : 'X\(//\)$' \| \
13020	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13021$as_echo X/"$0" |
13022    sed '/^.*\/\([^/][^/]*\)\/*$/{
13023	    s//\1/
13024	    q
13025	  }
13026	  /^X\/\(\/\/\)$/{
13027	    s//\1/
13028	    q
13029	  }
13030	  /^X\/\(\/\).*/{
13031	    s//\1/
13032	    q
13033	  }
13034	  s/.*/./; q'`
13035
13036# Avoid depending upon Character Ranges.
13037as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13038as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13039as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13040as_cr_digits='0123456789'
13041as_cr_alnum=$as_cr_Letters$as_cr_digits
13042
13043ECHO_C= ECHO_N= ECHO_T=
13044case `echo -n x` in #(((((
13045-n*)
13046  case `echo 'xy\c'` in
13047  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13048  xy)  ECHO_C='\c';;
13049  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13050       ECHO_T='	';;
13051  esac;;
13052*)
13053  ECHO_N='-n';;
13054esac
13055
13056rm -f conf$$ conf$$.exe conf$$.file
13057if test -d conf$$.dir; then
13058  rm -f conf$$.dir/conf$$.file
13059else
13060  rm -f conf$$.dir
13061  mkdir conf$$.dir 2>/dev/null
13062fi
13063if (echo >conf$$.file) 2>/dev/null; then
13064  if ln -s conf$$.file conf$$ 2>/dev/null; then
13065    as_ln_s='ln -s'
13066    # ... but there are two gotchas:
13067    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13068    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13069    # In both cases, we have to default to `cp -p'.
13070    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13071      as_ln_s='cp -p'
13072  elif ln conf$$.file conf$$ 2>/dev/null; then
13073    as_ln_s=ln
13074  else
13075    as_ln_s='cp -p'
13076  fi
13077else
13078  as_ln_s='cp -p'
13079fi
13080rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13081rmdir conf$$.dir 2>/dev/null
13082
13083
13084# as_fn_mkdir_p
13085# -------------
13086# Create "$as_dir" as a directory, including parents if necessary.
13087as_fn_mkdir_p ()
13088{
13089
13090  case $as_dir in #(
13091  -*) as_dir=./$as_dir;;
13092  esac
13093  test -d "$as_dir" || eval $as_mkdir_p || {
13094    as_dirs=
13095    while :; do
13096      case $as_dir in #(
13097      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13098      *) as_qdir=$as_dir;;
13099      esac
13100      as_dirs="'$as_qdir' $as_dirs"
13101      as_dir=`$as_dirname -- "$as_dir" ||
13102$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13103	 X"$as_dir" : 'X\(//\)[^/]' \| \
13104	 X"$as_dir" : 'X\(//\)$' \| \
13105	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13106$as_echo X"$as_dir" |
13107    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13108	    s//\1/
13109	    q
13110	  }
13111	  /^X\(\/\/\)[^/].*/{
13112	    s//\1/
13113	    q
13114	  }
13115	  /^X\(\/\/\)$/{
13116	    s//\1/
13117	    q
13118	  }
13119	  /^X\(\/\).*/{
13120	    s//\1/
13121	    q
13122	  }
13123	  s/.*/./; q'`
13124      test -d "$as_dir" && break
13125    done
13126    test -z "$as_dirs" || eval "mkdir $as_dirs"
13127  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13128
13129
13130} # as_fn_mkdir_p
13131if mkdir -p . 2>/dev/null; then
13132  as_mkdir_p='mkdir -p "$as_dir"'
13133else
13134  test -d ./-p && rmdir ./-p
13135  as_mkdir_p=false
13136fi
13137
13138if test -x / >/dev/null 2>&1; then
13139  as_test_x='test -x'
13140else
13141  if ls -dL / >/dev/null 2>&1; then
13142    as_ls_L_option=L
13143  else
13144    as_ls_L_option=
13145  fi
13146  as_test_x='
13147    eval sh -c '\''
13148      if test -d "$1"; then
13149	test -d "$1/.";
13150      else
13151	case $1 in #(
13152	-*)set "./$1";;
13153	esac;
13154	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
13155	???[sx]*):;;*)false;;esac;fi
13156    '\'' sh
13157  '
13158fi
13159as_executable_p=$as_test_x
13160
13161# Sed expression to map a string onto a valid CPP name.
13162as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13163
13164# Sed expression to map a string onto a valid variable name.
13165as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13166
13167
13168exec 6>&1
13169## ----------------------------------- ##
13170## Main body of $CONFIG_STATUS script. ##
13171## ----------------------------------- ##
13172_ASEOF
13173test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
13174
13175cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13176# Save the log message, to keep $0 and so on meaningful, and to
13177# report actual input values of CONFIG_FILES etc. instead of their
13178# values after options handling.
13179ac_log="
13180This file was extended by maloc $as_me 1.0, which was
13181generated by GNU Autoconf 2.68.  Invocation command line was
13182
13183  CONFIG_FILES    = $CONFIG_FILES
13184  CONFIG_HEADERS  = $CONFIG_HEADERS
13185  CONFIG_LINKS    = $CONFIG_LINKS
13186  CONFIG_COMMANDS = $CONFIG_COMMANDS
13187  $ $0 $@
13188
13189on `(hostname || uname -n) 2>/dev/null | sed 1q`
13190"
13191
13192_ACEOF
13193
13194case $ac_config_files in *"
13195"*) set x $ac_config_files; shift; ac_config_files=$*;;
13196esac
13197
13198case $ac_config_headers in *"
13199"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
13200esac
13201
13202
13203cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13204# Files that config.status was made for.
13205config_files="$ac_config_files"
13206config_headers="$ac_config_headers"
13207config_commands="$ac_config_commands"
13208
13209_ACEOF
13210
13211cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13212ac_cs_usage="\
13213\`$as_me' instantiates files and other configuration actions
13214from templates according to the current configuration.  Unless the files
13215and actions are specified as TAGs, all are instantiated by default.
13216
13217Usage: $0 [OPTION]... [TAG]...
13218
13219  -h, --help       print this help, then exit
13220  -V, --version    print version number and configuration settings, then exit
13221      --config     print configuration, then exit
13222  -q, --quiet, --silent
13223                   do not print progress messages
13224  -d, --debug      don't remove temporary files
13225      --recheck    update $as_me by reconfiguring in the same conditions
13226      --file=FILE[:TEMPLATE]
13227                   instantiate the configuration file FILE
13228      --header=FILE[:TEMPLATE]
13229                   instantiate the configuration header FILE
13230
13231Configuration files:
13232$config_files
13233
13234Configuration headers:
13235$config_headers
13236
13237Configuration commands:
13238$config_commands
13239
13240Report bugs to <mholst@math.ucsd.edu>."
13241
13242_ACEOF
13243cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13244ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
13245ac_cs_version="\\
13246maloc config.status 1.0
13247configured by $0, generated by GNU Autoconf 2.68,
13248  with options \\"\$ac_cs_config\\"
13249
13250Copyright (C) 2010 Free Software Foundation, Inc.
13251This config.status script is free software; the Free Software Foundation
13252gives unlimited permission to copy, distribute and modify it."
13253
13254ac_pwd='$ac_pwd'
13255srcdir='$srcdir'
13256INSTALL='$INSTALL'
13257MKDIR_P='$MKDIR_P'
13258AWK='$AWK'
13259test -n "\$AWK" || AWK=awk
13260_ACEOF
13261
13262cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13263# The default lists apply if the user does not specify any file.
13264ac_need_defaults=:
13265while test $# != 0
13266do
13267  case $1 in
13268  --*=?*)
13269    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13270    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
13271    ac_shift=:
13272    ;;
13273  --*=)
13274    ac_option=`expr "X$1" : 'X\([^=]*\)='`
13275    ac_optarg=
13276    ac_shift=:
13277    ;;
13278  *)
13279    ac_option=$1
13280    ac_optarg=$2
13281    ac_shift=shift
13282    ;;
13283  esac
13284
13285  case $ac_option in
13286  # Handling of the options.
13287  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13288    ac_cs_recheck=: ;;
13289  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
13290    $as_echo "$ac_cs_version"; exit ;;
13291  --config | --confi | --conf | --con | --co | --c )
13292    $as_echo "$ac_cs_config"; exit ;;
13293  --debug | --debu | --deb | --de | --d | -d )
13294    debug=: ;;
13295  --file | --fil | --fi | --f )
13296    $ac_shift
13297    case $ac_optarg in
13298    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13299    '') as_fn_error $? "missing file argument" ;;
13300    esac
13301    as_fn_append CONFIG_FILES " '$ac_optarg'"
13302    ac_need_defaults=false;;
13303  --header | --heade | --head | --hea )
13304    $ac_shift
13305    case $ac_optarg in
13306    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
13307    esac
13308    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
13309    ac_need_defaults=false;;
13310  --he | --h)
13311    # Conflict between --help and --header
13312    as_fn_error $? "ambiguous option: \`$1'
13313Try \`$0 --help' for more information.";;
13314  --help | --hel | -h )
13315    $as_echo "$ac_cs_usage"; exit ;;
13316  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13317  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13318    ac_cs_silent=: ;;
13319
13320  # This is an error.
13321  -*) as_fn_error $? "unrecognized option: \`$1'
13322Try \`$0 --help' for more information." ;;
13323
13324  *) as_fn_append ac_config_targets " $1"
13325     ac_need_defaults=false ;;
13326
13327  esac
13328  shift
13329done
13330
13331ac_configure_extra_args=
13332
13333if $ac_cs_silent; then
13334  exec 6>/dev/null
13335  ac_configure_extra_args="$ac_configure_extra_args --silent"
13336fi
13337
13338_ACEOF
13339cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13340if \$ac_cs_recheck; then
13341  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13342  shift
13343  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
13344  CONFIG_SHELL='$SHELL'
13345  export CONFIG_SHELL
13346  exec "\$@"
13347fi
13348
13349_ACEOF
13350cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13351exec 5>>config.log
13352{
13353  echo
13354  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13355## Running $as_me. ##
13356_ASBOX
13357  $as_echo "$ac_log"
13358} >&5
13359
13360_ACEOF
13361cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13362#
13363# INIT-COMMANDS
13364#
13365AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13366
13367
13368# The HP-UX ksh and POSIX shell print the target directory to stdout
13369# if CDPATH is set.
13370(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13371
13372sed_quote_subst='$sed_quote_subst'
13373double_quote_subst='$double_quote_subst'
13374delay_variable_subst='$delay_variable_subst'
13375enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
13376macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
13377macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
13378enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
13379pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
13380enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
13381SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
13382ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
13383host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
13384host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
13385host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
13386build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
13387build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
13388build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
13389SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
13390Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
13391GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
13392EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
13393FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
13394LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
13395NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
13396LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
13397max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
13398ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
13399exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
13400lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
13401lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
13402lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
13403lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
13404lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
13405reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
13406reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
13407OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
13408deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
13409file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
13410file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
13411want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
13412DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
13413sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
13414AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
13415AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
13416archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
13417STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
13418RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
13419old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13420old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13421old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
13422lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
13423CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
13424CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
13425compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
13426GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
13427lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
13428lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
13429lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
13430lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
13431nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
13432lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
13433objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
13434MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
13435lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
13436lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
13437lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
13438lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
13439lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
13440need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
13441MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
13442DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
13443NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
13444LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
13445OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
13446OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
13447libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
13448shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
13449extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13450archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
13451enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
13452export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
13453whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
13454compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
13455old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
13456old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
13457archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
13458archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13459module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
13460module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
13461with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
13462allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
13463no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
13464hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
13465hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
13466hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
13467hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
13468hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
13469hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
13470hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
13471hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
13472inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
13473link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
13474always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
13475export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
13476exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
13477include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
13478prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
13479postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
13480file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
13481variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
13482need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
13483need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
13484version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
13485runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
13486shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
13487shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
13488libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
13489library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
13490soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
13491install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
13492postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
13493postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
13494finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
13495finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
13496hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
13497sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
13498sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
13499hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
13500enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
13501enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
13502enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
13503old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
13504striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
13505
13506LTCC='$LTCC'
13507LTCFLAGS='$LTCFLAGS'
13508compiler='$compiler_DEFAULT'
13509
13510# A function that is used when there is no print builtin or printf.
13511func_fallback_echo ()
13512{
13513  eval 'cat <<_LTECHO_EOF
13514\$1
13515_LTECHO_EOF'
13516}
13517
13518# Quote evaled strings.
13519for var in SHELL \
13520ECHO \
13521SED \
13522GREP \
13523EGREP \
13524FGREP \
13525LD \
13526NM \
13527LN_S \
13528lt_SP2NL \
13529lt_NL2SP \
13530reload_flag \
13531OBJDUMP \
13532deplibs_check_method \
13533file_magic_cmd \
13534file_magic_glob \
13535want_nocaseglob \
13536DLLTOOL \
13537sharedlib_from_linklib_cmd \
13538AR \
13539AR_FLAGS \
13540archiver_list_spec \
13541STRIP \
13542RANLIB \
13543CC \
13544CFLAGS \
13545compiler \
13546lt_cv_sys_global_symbol_pipe \
13547lt_cv_sys_global_symbol_to_cdecl \
13548lt_cv_sys_global_symbol_to_c_name_address \
13549lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
13550nm_file_list_spec \
13551lt_prog_compiler_no_builtin_flag \
13552lt_prog_compiler_pic \
13553lt_prog_compiler_wl \
13554lt_prog_compiler_static \
13555lt_cv_prog_compiler_c_o \
13556need_locks \
13557MANIFEST_TOOL \
13558DSYMUTIL \
13559NMEDIT \
13560LIPO \
13561OTOOL \
13562OTOOL64 \
13563shrext_cmds \
13564export_dynamic_flag_spec \
13565whole_archive_flag_spec \
13566compiler_needs_object \
13567with_gnu_ld \
13568allow_undefined_flag \
13569no_undefined_flag \
13570hardcode_libdir_flag_spec \
13571hardcode_libdir_flag_spec_ld \
13572hardcode_libdir_separator \
13573exclude_expsyms \
13574include_expsyms \
13575file_list_spec \
13576variables_saved_for_relink \
13577libname_spec \
13578library_names_spec \
13579soname_spec \
13580install_override_mode \
13581finish_eval \
13582old_striplib \
13583striplib; do
13584    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13585    *[\\\\\\\`\\"\\\$]*)
13586      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
13587      ;;
13588    *)
13589      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13590      ;;
13591    esac
13592done
13593
13594# Double-quote double-evaled strings.
13595for var in reload_cmds \
13596old_postinstall_cmds \
13597old_postuninstall_cmds \
13598old_archive_cmds \
13599extract_expsyms_cmds \
13600old_archive_from_new_cmds \
13601old_archive_from_expsyms_cmds \
13602archive_cmds \
13603archive_expsym_cmds \
13604module_cmds \
13605module_expsym_cmds \
13606export_symbols_cmds \
13607prelink_cmds \
13608postlink_cmds \
13609postinstall_cmds \
13610postuninstall_cmds \
13611finish_cmds \
13612sys_lib_search_path_spec \
13613sys_lib_dlsearch_path_spec; do
13614    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
13615    *[\\\\\\\`\\"\\\$]*)
13616      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
13617      ;;
13618    *)
13619      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
13620      ;;
13621    esac
13622done
13623
13624ac_aux_dir='$ac_aux_dir'
13625xsi_shell='$xsi_shell'
13626lt_shell_append='$lt_shell_append'
13627
13628# See if we are running on zsh, and set the options which allow our
13629# commands through without removal of \ escapes INIT.
13630if test -n "\${ZSH_VERSION+set}" ; then
13631   setopt NO_GLOB_SUBST
13632fi
13633
13634
13635    PACKAGE='$PACKAGE'
13636    VERSION='$VERSION'
13637    TIMESTAMP='$TIMESTAMP'
13638    RM='$RM'
13639    ofile='$ofile'
13640
13641
13642
13643
13644_ACEOF
13645
13646cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13647
13648# Handling of arguments.
13649for ac_config_target in $ac_config_targets
13650do
13651  case $ac_config_target in
13652    "src/aaa_inc/maloccf.h") CONFIG_HEADERS="$CONFIG_HEADERS src/aaa_inc/maloccf.h" ;;
13653    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13654    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
13655    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13656    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
13657    "src/base/Makefile") CONFIG_FILES="$CONFIG_FILES src/base/Makefile" ;;
13658    "src/efence/Makefile") CONFIG_FILES="$CONFIG_FILES src/efence/Makefile" ;;
13659    "src/vsys/Makefile") CONFIG_FILES="$CONFIG_FILES src/vsys/Makefile" ;;
13660    "src/vsh/Makefile") CONFIG_FILES="$CONFIG_FILES src/vsh/Makefile" ;;
13661    "src/psh/Makefile") CONFIG_FILES="$CONFIG_FILES src/psh/Makefile" ;;
13662    "src/aaa_inc/Makefile") CONFIG_FILES="$CONFIG_FILES src/aaa_inc/Makefile" ;;
13663    "src/aaa_inc/maloc/Makefile") CONFIG_FILES="$CONFIG_FILES src/aaa_inc/maloc/Makefile" ;;
13664    "src/aaa_lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/aaa_lib/Makefile" ;;
13665    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13666    "doc/doxygen/Makefile") CONFIG_FILES="$CONFIG_FILES doc/doxygen/Makefile" ;;
13667
13668  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
13669  esac
13670done
13671
13672
13673# If the user did not use the arguments to specify the items to instantiate,
13674# then the envvar interface is used.  Set only those that are not.
13675# We use the long form for the default assignment because of an extremely
13676# bizarre bug on SunOS 4.1.3.
13677if $ac_need_defaults; then
13678  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13679  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13680  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13681fi
13682
13683# Have a temporary directory for convenience.  Make it in the build tree
13684# simply because there is no reason against having it here, and in addition,
13685# creating and moving files from /tmp can sometimes cause problems.
13686# Hook for its removal unless debugging.
13687# Note that there is a small window in which the directory will not be cleaned:
13688# after its creation but before its name has been assigned to `$tmp'.
13689$debug ||
13690{
13691  tmp= ac_tmp=
13692  trap 'exit_status=$?
13693  : "${ac_tmp:=$tmp}"
13694  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
13695' 0
13696  trap 'as_fn_exit 1' 1 2 13 15
13697}
13698# Create a (secure) tmp directory for tmp files.
13699
13700{
13701  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13702  test -d "$tmp"
13703}  ||
13704{
13705  tmp=./conf$$-$RANDOM
13706  (umask 077 && mkdir "$tmp")
13707} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
13708ac_tmp=$tmp
13709
13710# Set up the scripts for CONFIG_FILES section.
13711# No need to generate them if there are no CONFIG_FILES.
13712# This happens for instance with `./config.status config.h'.
13713if test -n "$CONFIG_FILES"; then
13714
13715
13716ac_cr=`echo X | tr X '\015'`
13717# On cygwin, bash can eat \r inside `` if the user requested igncr.
13718# But we know of no other shell where ac_cr would be empty at this
13719# point, so we can use a bashism as a fallback.
13720if test "x$ac_cr" = x; then
13721  eval ac_cr=\$\'\\r\'
13722fi
13723ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13724if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13725  ac_cs_awk_cr='\\r'
13726else
13727  ac_cs_awk_cr=$ac_cr
13728fi
13729
13730echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
13731_ACEOF
13732
13733
13734{
13735  echo "cat >conf$$subs.awk <<_ACEOF" &&
13736  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13737  echo "_ACEOF"
13738} >conf$$subs.sh ||
13739  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13740ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13741ac_delim='%!_!# '
13742for ac_last_try in false false false false false :; do
13743  . ./conf$$subs.sh ||
13744    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13745
13746  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
13747  if test $ac_delim_n = $ac_delim_num; then
13748    break
13749  elif $ac_last_try; then
13750    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
13751  else
13752    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13753  fi
13754done
13755rm -f conf$$subs.sh
13756
13757cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13758cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
13759_ACEOF
13760sed -n '
13761h
13762s/^/S["/; s/!.*/"]=/
13763p
13764g
13765s/^[^!]*!//
13766:repl
13767t repl
13768s/'"$ac_delim"'$//
13769t delim
13770:nl
13771h
13772s/\(.\{148\}\)..*/\1/
13773t more1
13774s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
13775p
13776n
13777b repl
13778:more1
13779s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13780p
13781g
13782s/.\{148\}//
13783t nl
13784:delim
13785h
13786s/\(.\{148\}\)..*/\1/
13787t more2
13788s/["\\]/\\&/g; s/^/"/; s/$/"/
13789p
13790b
13791:more2
13792s/["\\]/\\&/g; s/^/"/; s/$/"\\/
13793p
13794g
13795s/.\{148\}//
13796t delim
13797' <conf$$subs.awk | sed '
13798/^[^""]/{
13799  N
13800  s/\n//
13801}
13802' >>$CONFIG_STATUS || ac_write_fail=1
13803rm -f conf$$subs.awk
13804cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13805_ACAWK
13806cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
13807  for (key in S) S_is_set[key] = 1
13808  FS = ""
13809
13810}
13811{
13812  line = $ 0
13813  nfields = split(line, field, "@")
13814  substed = 0
13815  len = length(field[1])
13816  for (i = 2; i < nfields; i++) {
13817    key = field[i]
13818    keylen = length(key)
13819    if (S_is_set[key]) {
13820      value = S[key]
13821      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13822      len += length(value) + length(field[++i])
13823      substed = 1
13824    } else
13825      len += 1 + keylen
13826  }
13827
13828  print line
13829}
13830
13831_ACAWK
13832_ACEOF
13833cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13834if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13835  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
13836else
13837  cat
13838fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
13839  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
13840_ACEOF
13841
13842# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13843# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
13844# trailing colons and then remove the whole line if VPATH becomes empty
13845# (actually we leave an empty line to preserve line numbers).
13846if test "x$srcdir" = x.; then
13847  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
13848h
13849s///
13850s/^/:/
13851s/[	 ]*$/:/
13852s/:\$(srcdir):/:/g
13853s/:\${srcdir}:/:/g
13854s/:@srcdir@:/:/g
13855s/^:*//
13856s/:*$//
13857x
13858s/\(=[	 ]*\).*/\1/
13859G
13860s/\n//
13861s/^[^=]*=[	 ]*$//
13862}'
13863fi
13864
13865cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13866fi # test -n "$CONFIG_FILES"
13867
13868# Set up the scripts for CONFIG_HEADERS section.
13869# No need to generate them if there are no CONFIG_HEADERS.
13870# This happens for instance with `./config.status Makefile'.
13871if test -n "$CONFIG_HEADERS"; then
13872cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
13873BEGIN {
13874_ACEOF
13875
13876# Transform confdefs.h into an awk script `defines.awk', embedded as
13877# here-document in config.status, that substitutes the proper values into
13878# config.h.in to produce config.h.
13879
13880# Create a delimiter string that does not exist in confdefs.h, to ease
13881# handling of long lines.
13882ac_delim='%!_!# '
13883for ac_last_try in false false :; do
13884  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
13885  if test -z "$ac_tt"; then
13886    break
13887  elif $ac_last_try; then
13888    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
13889  else
13890    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13891  fi
13892done
13893
13894# For the awk script, D is an array of macro values keyed by name,
13895# likewise P contains macro parameters if any.  Preserve backslash
13896# newline sequences.
13897
13898ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13899sed -n '
13900s/.\{148\}/&'"$ac_delim"'/g
13901t rset
13902:rset
13903s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
13904t def
13905d
13906:def
13907s/\\$//
13908t bsnl
13909s/["\\]/\\&/g
13910s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13911D["\1"]=" \3"/p
13912s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
13913d
13914:bsnl
13915s/["\\]/\\&/g
13916s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
13917D["\1"]=" \3\\\\\\n"\\/p
13918t cont
13919s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
13920t cont
13921d
13922:cont
13923n
13924s/.\{148\}/&'"$ac_delim"'/g
13925t clear
13926:clear
13927s/\\$//
13928t bsnlc
13929s/["\\]/\\&/g; s/^/"/; s/$/"/p
13930d
13931:bsnlc
13932s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
13933b cont
13934' <confdefs.h | sed '
13935s/'"$ac_delim"'/"\\\
13936"/g' >>$CONFIG_STATUS || ac_write_fail=1
13937
13938cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13939  for (key in D) D_is_set[key] = 1
13940  FS = ""
13941}
13942/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13943  line = \$ 0
13944  split(line, arg, " ")
13945  if (arg[1] == "#") {
13946    defundef = arg[2]
13947    mac1 = arg[3]
13948  } else {
13949    defundef = substr(arg[1], 2)
13950    mac1 = arg[2]
13951  }
13952  split(mac1, mac2, "(") #)
13953  macro = mac2[1]
13954  prefix = substr(line, 1, index(line, defundef) - 1)
13955  if (D_is_set[macro]) {
13956    # Preserve the white space surrounding the "#".
13957    print prefix "define", macro P[macro] D[macro]
13958    next
13959  } else {
13960    # Replace #undef with comments.  This is necessary, for example,
13961    # in the case of _POSIX_SOURCE, which is predefined and required
13962    # on some systems where configure will not decide to define it.
13963    if (defundef == "undef") {
13964      print "/*", prefix defundef, macro, "*/"
13965      next
13966    }
13967  }
13968}
13969{ print }
13970_ACAWK
13971_ACEOF
13972cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13973  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
13974fi # test -n "$CONFIG_HEADERS"
13975
13976
13977eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
13978shift
13979for ac_tag
13980do
13981  case $ac_tag in
13982  :[FHLC]) ac_mode=$ac_tag; continue;;
13983  esac
13984  case $ac_mode$ac_tag in
13985  :[FHL]*:*);;
13986  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
13987  :[FH]-) ac_tag=-:-;;
13988  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13989  esac
13990  ac_save_IFS=$IFS
13991  IFS=:
13992  set x $ac_tag
13993  IFS=$ac_save_IFS
13994  shift
13995  ac_file=$1
13996  shift
13997
13998  case $ac_mode in
13999  :L) ac_source=$1;;
14000  :[FH])
14001    ac_file_inputs=
14002    for ac_f
14003    do
14004      case $ac_f in
14005      -) ac_f="$ac_tmp/stdin";;
14006      *) # Look for the file first in the build tree, then in the source tree
14007	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14008	 # because $ac_f cannot contain `:'.
14009	 test -f "$ac_f" ||
14010	   case $ac_f in
14011	   [\\/$]*) false;;
14012	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14013	   esac ||
14014	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14015      esac
14016      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14017      as_fn_append ac_file_inputs " '$ac_f'"
14018    done
14019
14020    # Let's still pretend it is `configure' which instantiates (i.e., don't
14021    # use $as_me), people would be surprised to read:
14022    #    /* config.h.  Generated by config.status.  */
14023    configure_input='Generated from '`
14024	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14025	`' by configure.'
14026    if test x"$ac_file" != x-; then
14027      configure_input="$ac_file.  $configure_input"
14028      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14029$as_echo "$as_me: creating $ac_file" >&6;}
14030    fi
14031    # Neutralize special characters interpreted by sed in replacement strings.
14032    case $configure_input in #(
14033    *\&* | *\|* | *\\* )
14034       ac_sed_conf_input=`$as_echo "$configure_input" |
14035       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14036    *) ac_sed_conf_input=$configure_input;;
14037    esac
14038
14039    case $ac_tag in
14040    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14041      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14042    esac
14043    ;;
14044  esac
14045
14046  ac_dir=`$as_dirname -- "$ac_file" ||
14047$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14048	 X"$ac_file" : 'X\(//\)[^/]' \| \
14049	 X"$ac_file" : 'X\(//\)$' \| \
14050	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14051$as_echo X"$ac_file" |
14052    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14053	    s//\1/
14054	    q
14055	  }
14056	  /^X\(\/\/\)[^/].*/{
14057	    s//\1/
14058	    q
14059	  }
14060	  /^X\(\/\/\)$/{
14061	    s//\1/
14062	    q
14063	  }
14064	  /^X\(\/\).*/{
14065	    s//\1/
14066	    q
14067	  }
14068	  s/.*/./; q'`
14069  as_dir="$ac_dir"; as_fn_mkdir_p
14070  ac_builddir=.
14071
14072case "$ac_dir" in
14073.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14074*)
14075  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14076  # A ".." for each directory in $ac_dir_suffix.
14077  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14078  case $ac_top_builddir_sub in
14079  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14080  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14081  esac ;;
14082esac
14083ac_abs_top_builddir=$ac_pwd
14084ac_abs_builddir=$ac_pwd$ac_dir_suffix
14085# for backward compatibility:
14086ac_top_builddir=$ac_top_build_prefix
14087
14088case $srcdir in
14089  .)  # We are building in place.
14090    ac_srcdir=.
14091    ac_top_srcdir=$ac_top_builddir_sub
14092    ac_abs_top_srcdir=$ac_pwd ;;
14093  [\\/]* | ?:[\\/]* )  # Absolute name.
14094    ac_srcdir=$srcdir$ac_dir_suffix;
14095    ac_top_srcdir=$srcdir
14096    ac_abs_top_srcdir=$srcdir ;;
14097  *) # Relative name.
14098    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14099    ac_top_srcdir=$ac_top_build_prefix$srcdir
14100    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14101esac
14102ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14103
14104
14105  case $ac_mode in
14106  :F)
14107  #
14108  # CONFIG_FILE
14109  #
14110
14111  case $INSTALL in
14112  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14113  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14114  esac
14115  ac_MKDIR_P=$MKDIR_P
14116  case $MKDIR_P in
14117  [\\/$]* | ?:[\\/]* ) ;;
14118  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14119  esac
14120_ACEOF
14121
14122cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14123# If the template does not know about datarootdir, expand it.
14124# FIXME: This hack should be removed a few years after 2.60.
14125ac_datarootdir_hack=; ac_datarootdir_seen=
14126ac_sed_dataroot='
14127/datarootdir/ {
14128  p
14129  q
14130}
14131/@datadir@/p
14132/@docdir@/p
14133/@infodir@/p
14134/@localedir@/p
14135/@mandir@/p'
14136case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14137*datarootdir*) ac_datarootdir_seen=yes;;
14138*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14139  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14140$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14141_ACEOF
14142cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14143  ac_datarootdir_hack='
14144  s&@datadir@&$datadir&g
14145  s&@docdir@&$docdir&g
14146  s&@infodir@&$infodir&g
14147  s&@localedir@&$localedir&g
14148  s&@mandir@&$mandir&g
14149  s&\\\${datarootdir}&$datarootdir&g' ;;
14150esac
14151_ACEOF
14152
14153# Neutralize VPATH when `$srcdir' = `.'.
14154# Shell code in configure.ac might set extrasub.
14155# FIXME: do we really want to maintain this feature?
14156cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14157ac_sed_extra="$ac_vpsub
14158$extrasub
14159_ACEOF
14160cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14161:t
14162/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14163s|@configure_input@|$ac_sed_conf_input|;t t
14164s&@top_builddir@&$ac_top_builddir_sub&;t t
14165s&@top_build_prefix@&$ac_top_build_prefix&;t t
14166s&@srcdir@&$ac_srcdir&;t t
14167s&@abs_srcdir@&$ac_abs_srcdir&;t t
14168s&@top_srcdir@&$ac_top_srcdir&;t t
14169s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
14170s&@builddir@&$ac_builddir&;t t
14171s&@abs_builddir@&$ac_abs_builddir&;t t
14172s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
14173s&@INSTALL@&$ac_INSTALL&;t t
14174s&@MKDIR_P@&$ac_MKDIR_P&;t t
14175$ac_datarootdir_hack
14176"
14177eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
14178  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14179
14180test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
14181  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
14182  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
14183      "$ac_tmp/out"`; test -z "$ac_out"; } &&
14184  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14185which seems to be undefined.  Please make sure it is defined" >&5
14186$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
14187which seems to be undefined.  Please make sure it is defined" >&2;}
14188
14189  rm -f "$ac_tmp/stdin"
14190  case $ac_file in
14191  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
14192  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
14193  esac \
14194  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14195 ;;
14196  :H)
14197  #
14198  # CONFIG_HEADER
14199  #
14200  if test x"$ac_file" != x-; then
14201    {
14202      $as_echo "/* $configure_input  */" \
14203      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
14204    } >"$ac_tmp/config.h" \
14205      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
14206    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
14207      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
14208$as_echo "$as_me: $ac_file is unchanged" >&6;}
14209    else
14210      rm -f "$ac_file"
14211      mv "$ac_tmp/config.h" "$ac_file" \
14212	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
14213    fi
14214  else
14215    $as_echo "/* $configure_input  */" \
14216      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
14217      || as_fn_error $? "could not create -" "$LINENO" 5
14218  fi
14219# Compute "$ac_file"'s index in $config_headers.
14220_am_arg="$ac_file"
14221_am_stamp_count=1
14222for _am_header in $config_headers :; do
14223  case $_am_header in
14224    $_am_arg | $_am_arg:* )
14225      break ;;
14226    * )
14227      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14228  esac
14229done
14230echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
14231$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14232	 X"$_am_arg" : 'X\(//\)[^/]' \| \
14233	 X"$_am_arg" : 'X\(//\)$' \| \
14234	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
14235$as_echo X"$_am_arg" |
14236    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14237	    s//\1/
14238	    q
14239	  }
14240	  /^X\(\/\/\)[^/].*/{
14241	    s//\1/
14242	    q
14243	  }
14244	  /^X\(\/\/\)$/{
14245	    s//\1/
14246	    q
14247	  }
14248	  /^X\(\/\).*/{
14249	    s//\1/
14250	    q
14251	  }
14252	  s/.*/./; q'`/stamp-h$_am_stamp_count
14253 ;;
14254
14255  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
14256$as_echo "$as_me: executing $ac_file commands" >&6;}
14257 ;;
14258  esac
14259
14260
14261  case $ac_file$ac_mode in
14262    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
14263  # Autoconf 2.62 quotes --file arguments for eval, but not when files
14264  # are listed without --file.  Let's play safe and only enable the eval
14265  # if we detect the quoting.
14266  case $CONFIG_FILES in
14267  *\'*) eval set x "$CONFIG_FILES" ;;
14268  *)   set x $CONFIG_FILES ;;
14269  esac
14270  shift
14271  for mf
14272  do
14273    # Strip MF so we end up with the name of the file.
14274    mf=`echo "$mf" | sed -e 's/:.*$//'`
14275    # Check whether this is an Automake generated Makefile or not.
14276    # We used to match only the files named `Makefile.in', but
14277    # some people rename them; so instead we look at the file content.
14278    # Grep'ing the first line is not enough: some people post-process
14279    # each Makefile.in and add a new line on top of each file to say so.
14280    # Grep'ing the whole file is not good either: AIX grep has a line
14281    # limit of 2048, but all sed's we know have understand at least 4000.
14282    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
14283      dirpart=`$as_dirname -- "$mf" ||
14284$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14285	 X"$mf" : 'X\(//\)[^/]' \| \
14286	 X"$mf" : 'X\(//\)$' \| \
14287	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
14288$as_echo X"$mf" |
14289    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14290	    s//\1/
14291	    q
14292	  }
14293	  /^X\(\/\/\)[^/].*/{
14294	    s//\1/
14295	    q
14296	  }
14297	  /^X\(\/\/\)$/{
14298	    s//\1/
14299	    q
14300	  }
14301	  /^X\(\/\).*/{
14302	    s//\1/
14303	    q
14304	  }
14305	  s/.*/./; q'`
14306    else
14307      continue
14308    fi
14309    # Extract the definition of DEPDIR, am__include, and am__quote
14310    # from the Makefile without running `make'.
14311    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14312    test -z "$DEPDIR" && continue
14313    am__include=`sed -n 's/^am__include = //p' < "$mf"`
14314    test -z "am__include" && continue
14315    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14316    # When using ansi2knr, U may be empty or an underscore; expand it
14317    U=`sed -n 's/^U = //p' < "$mf"`
14318    # Find all dependency output files, they are included files with
14319    # $(DEPDIR) in their names.  We invoke sed twice because it is the
14320    # simplest approach to changing $(DEPDIR) to its actual value in the
14321    # expansion.
14322    for file in `sed -n "
14323      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14324	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14325      # Make sure the directory exists.
14326      test -f "$dirpart/$file" && continue
14327      fdir=`$as_dirname -- "$file" ||
14328$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14329	 X"$file" : 'X\(//\)[^/]' \| \
14330	 X"$file" : 'X\(//\)$' \| \
14331	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
14332$as_echo X"$file" |
14333    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14334	    s//\1/
14335	    q
14336	  }
14337	  /^X\(\/\/\)[^/].*/{
14338	    s//\1/
14339	    q
14340	  }
14341	  /^X\(\/\/\)$/{
14342	    s//\1/
14343	    q
14344	  }
14345	  /^X\(\/\).*/{
14346	    s//\1/
14347	    q
14348	  }
14349	  s/.*/./; q'`
14350      as_dir=$dirpart/$fdir; as_fn_mkdir_p
14351      # echo "creating $dirpart/$file"
14352      echo '# dummy' > "$dirpart/$file"
14353    done
14354  done
14355}
14356 ;;
14357    "libtool":C)
14358
14359    # See if we are running on zsh, and set the options which allow our
14360    # commands through without removal of \ escapes.
14361    if test -n "${ZSH_VERSION+set}" ; then
14362      setopt NO_GLOB_SUBST
14363    fi
14364
14365    cfgfile="${ofile}T"
14366    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
14367    $RM "$cfgfile"
14368
14369    cat <<_LT_EOF >> "$cfgfile"
14370#! $SHELL
14371
14372# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
14373# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
14374# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14375# NOTE: Changes made to this file will be lost: look at ltmain.sh.
14376#
14377#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
14378#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
14379#                 Inc.
14380#   Written by Gordon Matzigkeit, 1996
14381#
14382#   This file is part of GNU Libtool.
14383#
14384# GNU Libtool is free software; you can redistribute it and/or
14385# modify it under the terms of the GNU General Public License as
14386# published by the Free Software Foundation; either version 2 of
14387# the License, or (at your option) any later version.
14388#
14389# As a special exception to the GNU General Public License,
14390# if you distribute this file as part of a program or library that
14391# is built using GNU Libtool, you may include this file under the
14392# same distribution terms that you use for the rest of that program.
14393#
14394# GNU Libtool is distributed in the hope that it will be useful,
14395# but WITHOUT ANY WARRANTY; without even the implied warranty of
14396# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14397# GNU General Public License for more details.
14398#
14399# You should have received a copy of the GNU General Public License
14400# along with GNU Libtool; see the file COPYING.  If not, a copy
14401# can be downloaded from http://www.gnu.org/licenses/gpl.html, or
14402# obtained by writing to the Free Software Foundation, Inc.,
14403# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
14404
14405
14406# The names of the tagged configurations supported by this script.
14407available_tags=""
14408
14409# ### BEGIN LIBTOOL CONFIG
14410
14411# Whether or not to build static libraries.
14412build_old_libs=$enable_static
14413
14414# Which release of libtool.m4 was used?
14415macro_version=$macro_version
14416macro_revision=$macro_revision
14417
14418# Whether or not to build shared libraries.
14419build_libtool_libs=$enable_shared
14420
14421# What type of objects to build.
14422pic_mode=$pic_mode
14423
14424# Whether or not to optimize for fast installation.
14425fast_install=$enable_fast_install
14426
14427# Shell to use when invoking shell scripts.
14428SHELL=$lt_SHELL
14429
14430# An echo program that protects backslashes.
14431ECHO=$lt_ECHO
14432
14433# The host system.
14434host_alias=$host_alias
14435host=$host
14436host_os=$host_os
14437
14438# The build system.
14439build_alias=$build_alias
14440build=$build
14441build_os=$build_os
14442
14443# A sed program that does not truncate output.
14444SED=$lt_SED
14445
14446# Sed that helps us avoid accidentally triggering echo(1) options like -n.
14447Xsed="\$SED -e 1s/^X//"
14448
14449# A grep program that handles long lines.
14450GREP=$lt_GREP
14451
14452# An ERE matcher.
14453EGREP=$lt_EGREP
14454
14455# A literal string matcher.
14456FGREP=$lt_FGREP
14457
14458# A BSD- or MS-compatible name lister.
14459NM=$lt_NM
14460
14461# Whether we need soft or hard links.
14462LN_S=$lt_LN_S
14463
14464# What is the maximum length of a command?
14465max_cmd_len=$max_cmd_len
14466
14467# Object file suffix (normally "o").
14468objext=$ac_objext
14469
14470# Executable file suffix (normally "").
14471exeext=$exeext
14472
14473# whether the shell understands "unset".
14474lt_unset=$lt_unset
14475
14476# turn spaces into newlines.
14477SP2NL=$lt_lt_SP2NL
14478
14479# turn newlines into spaces.
14480NL2SP=$lt_lt_NL2SP
14481
14482# convert \$build file names to \$host format.
14483to_host_file_cmd=$lt_cv_to_host_file_cmd
14484
14485# convert \$build files to toolchain format.
14486to_tool_file_cmd=$lt_cv_to_tool_file_cmd
14487
14488# An object symbol dumper.
14489OBJDUMP=$lt_OBJDUMP
14490
14491# Method to check whether dependent libraries are shared objects.
14492deplibs_check_method=$lt_deplibs_check_method
14493
14494# Command to use when deplibs_check_method = "file_magic".
14495file_magic_cmd=$lt_file_magic_cmd
14496
14497# How to find potential files when deplibs_check_method = "file_magic".
14498file_magic_glob=$lt_file_magic_glob
14499
14500# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
14501want_nocaseglob=$lt_want_nocaseglob
14502
14503# DLL creation program.
14504DLLTOOL=$lt_DLLTOOL
14505
14506# Command to associate shared and link libraries.
14507sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
14508
14509# The archiver.
14510AR=$lt_AR
14511
14512# Flags to create an archive.
14513AR_FLAGS=$lt_AR_FLAGS
14514
14515# How to feed a file listing to the archiver.
14516archiver_list_spec=$lt_archiver_list_spec
14517
14518# A symbol stripping program.
14519STRIP=$lt_STRIP
14520
14521# Commands used to install an old-style archive.
14522RANLIB=$lt_RANLIB
14523old_postinstall_cmds=$lt_old_postinstall_cmds
14524old_postuninstall_cmds=$lt_old_postuninstall_cmds
14525
14526# Whether to use a lock for old archive extraction.
14527lock_old_archive_extraction=$lock_old_archive_extraction
14528
14529# A C compiler.
14530LTCC=$lt_CC
14531
14532# LTCC compiler flags.
14533LTCFLAGS=$lt_CFLAGS
14534
14535# Take the output of nm and produce a listing of raw symbols and C names.
14536global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14537
14538# Transform the output of nm in a proper C declaration.
14539global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14540
14541# Transform the output of nm in a C name address pair.
14542global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14543
14544# Transform the output of nm in a C name address pair when lib prefix is needed.
14545global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
14546
14547# Specify filename containing input files for \$NM.
14548nm_file_list_spec=$lt_nm_file_list_spec
14549
14550# The root where to search for dependent libraries,and in which our libraries should be installed.
14551lt_sysroot=$lt_sysroot
14552
14553# The name of the directory that contains temporary libtool files.
14554objdir=$objdir
14555
14556# Used to examine libraries when file_magic_cmd begins with "file".
14557MAGIC_CMD=$MAGIC_CMD
14558
14559# Must we lock files when doing compilation?
14560need_locks=$lt_need_locks
14561
14562# Manifest tool.
14563MANIFEST_TOOL=$lt_MANIFEST_TOOL
14564
14565# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
14566DSYMUTIL=$lt_DSYMUTIL
14567
14568# Tool to change global to local symbols on Mac OS X.
14569NMEDIT=$lt_NMEDIT
14570
14571# Tool to manipulate fat objects and archives on Mac OS X.
14572LIPO=$lt_LIPO
14573
14574# ldd/readelf like tool for Mach-O binaries on Mac OS X.
14575OTOOL=$lt_OTOOL
14576
14577# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
14578OTOOL64=$lt_OTOOL64
14579
14580# Old archive suffix (normally "a").
14581libext=$libext
14582
14583# Shared library suffix (normally ".so").
14584shrext_cmds=$lt_shrext_cmds
14585
14586# The commands to extract the exported symbol list from a shared archive.
14587extract_expsyms_cmds=$lt_extract_expsyms_cmds
14588
14589# Variables whose values should be saved in libtool wrapper scripts and
14590# restored at link time.
14591variables_saved_for_relink=$lt_variables_saved_for_relink
14592
14593# Do we need the "lib" prefix for modules?
14594need_lib_prefix=$need_lib_prefix
14595
14596# Do we need a version for libraries?
14597need_version=$need_version
14598
14599# Library versioning type.
14600version_type=$version_type
14601
14602# Shared library runtime path variable.
14603runpath_var=$runpath_var
14604
14605# Shared library path variable.
14606shlibpath_var=$shlibpath_var
14607
14608# Is shlibpath searched before the hard-coded library search path?
14609shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14610
14611# Format of library name prefix.
14612libname_spec=$lt_libname_spec
14613
14614# List of archive names.  First name is the real one, the rest are links.
14615# The last name is the one that the linker finds with -lNAME
14616library_names_spec=$lt_library_names_spec
14617
14618# The coded name of the library, if different from the real name.
14619soname_spec=$lt_soname_spec
14620
14621# Permission mode override for installation of shared libraries.
14622install_override_mode=$lt_install_override_mode
14623
14624# Command to use after installation of a shared archive.
14625postinstall_cmds=$lt_postinstall_cmds
14626
14627# Command to use after uninstallation of a shared archive.
14628postuninstall_cmds=$lt_postuninstall_cmds
14629
14630# Commands used to finish a libtool library installation in a directory.
14631finish_cmds=$lt_finish_cmds
14632
14633# As "finish_cmds", except a single script fragment to be evaled but
14634# not shown.
14635finish_eval=$lt_finish_eval
14636
14637# Whether we should hardcode library paths into libraries.
14638hardcode_into_libs=$hardcode_into_libs
14639
14640# Compile-time system search path for libraries.
14641sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14642
14643# Run-time system search path for libraries.
14644sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14645
14646# Whether dlopen is supported.
14647dlopen_support=$enable_dlopen
14648
14649# Whether dlopen of programs is supported.
14650dlopen_self=$enable_dlopen_self
14651
14652# Whether dlopen of statically linked programs is supported.
14653dlopen_self_static=$enable_dlopen_self_static
14654
14655# Commands to strip libraries.
14656old_striplib=$lt_old_striplib
14657striplib=$lt_striplib
14658
14659
14660# The linker used to build libraries.
14661LD=$lt_LD
14662
14663# How to create reloadable object files.
14664reload_flag=$lt_reload_flag
14665reload_cmds=$lt_reload_cmds
14666
14667# Commands used to build an old-style archive.
14668old_archive_cmds=$lt_old_archive_cmds
14669
14670# A language specific compiler.
14671CC=$lt_compiler
14672
14673# Is the compiler the GNU compiler?
14674with_gcc=$GCC
14675
14676# Compiler flag to turn off builtin functions.
14677no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
14678
14679# Additional compiler flags for building library objects.
14680pic_flag=$lt_lt_prog_compiler_pic
14681
14682# How to pass a linker flag through the compiler.
14683wl=$lt_lt_prog_compiler_wl
14684
14685# Compiler flag to prevent dynamic linking.
14686link_static_flag=$lt_lt_prog_compiler_static
14687
14688# Does compiler simultaneously support -c and -o options?
14689compiler_c_o=$lt_lt_cv_prog_compiler_c_o
14690
14691# Whether or not to add -lc for building shared libraries.
14692build_libtool_need_lc=$archive_cmds_need_lc
14693
14694# Whether or not to disallow shared libs when runtime libs are static.
14695allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
14696
14697# Compiler flag to allow reflexive dlopens.
14698export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
14699
14700# Compiler flag to generate shared objects directly from archives.
14701whole_archive_flag_spec=$lt_whole_archive_flag_spec
14702
14703# Whether the compiler copes with passing no objects directly.
14704compiler_needs_object=$lt_compiler_needs_object
14705
14706# Create an old-style archive from a shared archive.
14707old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
14708
14709# Create a temporary old-style archive to link instead of a shared archive.
14710old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
14711
14712# Commands used to build a shared archive.
14713archive_cmds=$lt_archive_cmds
14714archive_expsym_cmds=$lt_archive_expsym_cmds
14715
14716# Commands used to build a loadable module if different from building
14717# a shared archive.
14718module_cmds=$lt_module_cmds
14719module_expsym_cmds=$lt_module_expsym_cmds
14720
14721# Whether we are building with GNU ld or not.
14722with_gnu_ld=$lt_with_gnu_ld
14723
14724# Flag that allows shared libraries with undefined symbols to be built.
14725allow_undefined_flag=$lt_allow_undefined_flag
14726
14727# Flag that enforces no undefined symbols.
14728no_undefined_flag=$lt_no_undefined_flag
14729
14730# Flag to hardcode \$libdir into a binary during linking.
14731# This must work even if \$libdir does not exist
14732hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
14733
14734# If ld is used when linking, flag to hardcode \$libdir into a binary
14735# during linking.  This must work even if \$libdir does not exist.
14736hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
14737
14738# Whether we need a single "-rpath" flag with a separated argument.
14739hardcode_libdir_separator=$lt_hardcode_libdir_separator
14740
14741# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14742# DIR into the resulting binary.
14743hardcode_direct=$hardcode_direct
14744
14745# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
14746# DIR into the resulting binary and the resulting library dependency is
14747# "absolute",i.e impossible to change by setting \${shlibpath_var} if the
14748# library is relocated.
14749hardcode_direct_absolute=$hardcode_direct_absolute
14750
14751# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
14752# into the resulting binary.
14753hardcode_minus_L=$hardcode_minus_L
14754
14755# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
14756# into the resulting binary.
14757hardcode_shlibpath_var=$hardcode_shlibpath_var
14758
14759# Set to "yes" if building a shared library automatically hardcodes DIR
14760# into the library and all subsequent libraries and executables linked
14761# against it.
14762hardcode_automatic=$hardcode_automatic
14763
14764# Set to yes if linker adds runtime paths of dependent libraries
14765# to runtime path list.
14766inherit_rpath=$inherit_rpath
14767
14768# Whether libtool must link a program against all its dependency libraries.
14769link_all_deplibs=$link_all_deplibs
14770
14771# Set to "yes" if exported symbols are required.
14772always_export_symbols=$always_export_symbols
14773
14774# The commands to list exported symbols.
14775export_symbols_cmds=$lt_export_symbols_cmds
14776
14777# Symbols that should not be listed in the preloaded symbols.
14778exclude_expsyms=$lt_exclude_expsyms
14779
14780# Symbols that must always be exported.
14781include_expsyms=$lt_include_expsyms
14782
14783# Commands necessary for linking programs (against libraries) with templates.
14784prelink_cmds=$lt_prelink_cmds
14785
14786# Commands necessary for finishing linking programs.
14787postlink_cmds=$lt_postlink_cmds
14788
14789# Specify filename containing input files.
14790file_list_spec=$lt_file_list_spec
14791
14792# How to hardcode a shared library path into an executable.
14793hardcode_action=$hardcode_action
14794
14795# ### END LIBTOOL CONFIG
14796
14797_LT_EOF
14798
14799  case $host_os in
14800  aix3*)
14801    cat <<\_LT_EOF >> "$cfgfile"
14802# AIX sometimes has problems with the GCC collect2 program.  For some
14803# reason, if we set the COLLECT_NAMES environment variable, the problems
14804# vanish in a puff of smoke.
14805if test "X${COLLECT_NAMES+set}" != Xset; then
14806  COLLECT_NAMES=
14807  export COLLECT_NAMES
14808fi
14809_LT_EOF
14810    ;;
14811  esac
14812
14813
14814ltmain="$ac_aux_dir/ltmain.sh"
14815
14816
14817  # We use sed instead of cat because bash on DJGPP gets confused if
14818  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
14819  # text mode, it properly converts lines to CR/LF.  This bash problem
14820  # is reportedly fixed, but why not run on old versions too?
14821  sed '$q' "$ltmain" >> "$cfgfile" \
14822     || (rm -f "$cfgfile"; exit 1)
14823
14824  if test x"$xsi_shell" = xyes; then
14825  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
14826func_dirname ()\
14827{\
14828\    case ${1} in\
14829\      */*) func_dirname_result="${1%/*}${2}" ;;\
14830\      *  ) func_dirname_result="${3}" ;;\
14831\    esac\
14832} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
14833  && mv -f "$cfgfile.tmp" "$cfgfile" \
14834    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14835test 0 -eq $? || _lt_function_replace_fail=:
14836
14837
14838  sed -e '/^func_basename ()$/,/^} # func_basename /c\
14839func_basename ()\
14840{\
14841\    func_basename_result="${1##*/}"\
14842} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
14843  && mv -f "$cfgfile.tmp" "$cfgfile" \
14844    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14845test 0 -eq $? || _lt_function_replace_fail=:
14846
14847
14848  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
14849func_dirname_and_basename ()\
14850{\
14851\    case ${1} in\
14852\      */*) func_dirname_result="${1%/*}${2}" ;;\
14853\      *  ) func_dirname_result="${3}" ;;\
14854\    esac\
14855\    func_basename_result="${1##*/}"\
14856} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
14857  && mv -f "$cfgfile.tmp" "$cfgfile" \
14858    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14859test 0 -eq $? || _lt_function_replace_fail=:
14860
14861
14862  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
14863func_stripname ()\
14864{\
14865\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
14866\    # positional parameters, so assign one to ordinary parameter first.\
14867\    func_stripname_result=${3}\
14868\    func_stripname_result=${func_stripname_result#"${1}"}\
14869\    func_stripname_result=${func_stripname_result%"${2}"}\
14870} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
14871  && mv -f "$cfgfile.tmp" "$cfgfile" \
14872    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14873test 0 -eq $? || _lt_function_replace_fail=:
14874
14875
14876  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
14877func_split_long_opt ()\
14878{\
14879\    func_split_long_opt_name=${1%%=*}\
14880\    func_split_long_opt_arg=${1#*=}\
14881} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
14882  && mv -f "$cfgfile.tmp" "$cfgfile" \
14883    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14884test 0 -eq $? || _lt_function_replace_fail=:
14885
14886
14887  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
14888func_split_short_opt ()\
14889{\
14890\    func_split_short_opt_arg=${1#??}\
14891\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
14892} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
14893  && mv -f "$cfgfile.tmp" "$cfgfile" \
14894    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14895test 0 -eq $? || _lt_function_replace_fail=:
14896
14897
14898  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
14899func_lo2o ()\
14900{\
14901\    case ${1} in\
14902\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
14903\      *)    func_lo2o_result=${1} ;;\
14904\    esac\
14905} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
14906  && mv -f "$cfgfile.tmp" "$cfgfile" \
14907    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14908test 0 -eq $? || _lt_function_replace_fail=:
14909
14910
14911  sed -e '/^func_xform ()$/,/^} # func_xform /c\
14912func_xform ()\
14913{\
14914    func_xform_result=${1%.*}.lo\
14915} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
14916  && mv -f "$cfgfile.tmp" "$cfgfile" \
14917    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14918test 0 -eq $? || _lt_function_replace_fail=:
14919
14920
14921  sed -e '/^func_arith ()$/,/^} # func_arith /c\
14922func_arith ()\
14923{\
14924    func_arith_result=$(( $* ))\
14925} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
14926  && mv -f "$cfgfile.tmp" "$cfgfile" \
14927    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14928test 0 -eq $? || _lt_function_replace_fail=:
14929
14930
14931  sed -e '/^func_len ()$/,/^} # func_len /c\
14932func_len ()\
14933{\
14934    func_len_result=${#1}\
14935} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
14936  && mv -f "$cfgfile.tmp" "$cfgfile" \
14937    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14938test 0 -eq $? || _lt_function_replace_fail=:
14939
14940fi
14941
14942if test x"$lt_shell_append" = xyes; then
14943  sed -e '/^func_append ()$/,/^} # func_append /c\
14944func_append ()\
14945{\
14946    eval "${1}+=\\${2}"\
14947} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
14948  && mv -f "$cfgfile.tmp" "$cfgfile" \
14949    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14950test 0 -eq $? || _lt_function_replace_fail=:
14951
14952
14953  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
14954func_append_quoted ()\
14955{\
14956\    func_quote_for_eval "${2}"\
14957\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
14958} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
14959  && mv -f "$cfgfile.tmp" "$cfgfile" \
14960    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14961test 0 -eq $? || _lt_function_replace_fail=:
14962
14963
14964  # Save a `func_append' function call where possible by direct use of '+='
14965  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
14966    && mv -f "$cfgfile.tmp" "$cfgfile" \
14967      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14968  test 0 -eq $? || _lt_function_replace_fail=:
14969else
14970  # Save a `func_append' function call even when '+=' is not available
14971  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
14972    && mv -f "$cfgfile.tmp" "$cfgfile" \
14973      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
14974  test 0 -eq $? || _lt_function_replace_fail=:
14975fi
14976
14977if test x"$_lt_function_replace_fail" = x":"; then
14978  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
14979$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
14980fi
14981
14982
14983   mv -f "$cfgfile" "$ofile" ||
14984    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
14985  chmod +x "$ofile"
14986
14987 ;;
14988
14989  esac
14990done # for ac_tag
14991
14992
14993as_fn_exit 0
14994_ACEOF
14995ac_clean_files=$ac_clean_files_save
14996
14997test $ac_write_fail = 0 ||
14998  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
14999
15000
15001# configure is writing to config.log, and then calls config.status.
15002# config.status does its own redirection, appending to config.log.
15003# Unfortunately, on DOS this fails, as config.log is still kept open
15004# by configure, so config.status won't be able to write to it; its
15005# output is simply discarded.  So we exec the FD to /dev/null,
15006# effectively closing config.log, so it can be properly (re)opened and
15007# appended to by config.status.  When coming back to configure, we
15008# need to make the FD available again.
15009if test "$no_create" != yes; then
15010  ac_cs_success=:
15011  ac_config_status_args=
15012  test "$silent" = yes &&
15013    ac_config_status_args="$ac_config_status_args --quiet"
15014  exec 5>/dev/null
15015  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15016  exec 5>>config.log
15017  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15018  # would make configure fail if this is the last instruction.
15019  $ac_cs_success || as_fn_exit 1
15020fi
15021if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15022  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15023$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15024fi
15025
15026