1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for sctplib 1.0.26.
4#
5# Report bugs to <dreib@iem.uni-due.de>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20  emulate sh
21  NULLCMD=:
22  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23  # is contrary to our usage.  Disable this feature.
24  alias -g '${1+"$@"}'='"$@"'
25  setopt NO_GLOB_SUBST
26else
27  case `(set -o) 2>/dev/null` in #(
28  *posix*) :
29    set -o posix ;; #(
30  *) :
31     ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47  as_echo='print -r --'
48  as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50  as_echo='printf %s\n'
51  as_echo_n='printf %s'
52else
53  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55    as_echo_n='/usr/ucb/echo -n'
56  else
57    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58    as_echo_n_body='eval
59      arg=$1;
60      case $arg in #(
61      *"$as_nl"*)
62	expr "X$arg" : "X\\(.*\\)$as_nl";
63	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64      esac;
65      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66    '
67    export as_echo_n_body
68    as_echo_n='sh -c $as_echo_n_body as_echo'
69  fi
70  export as_echo_body
71  as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76  PATH_SEPARATOR=:
77  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79      PATH_SEPARATOR=';'
80  }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order.  Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" ""	$as_nl"
90
91# Find who we are.  Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94  *[\\/]* ) as_myself=$0 ;;
95  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98  IFS=$as_save_IFS
99  test -z "$as_dir" && as_dir=.
100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101  done
102IFS=$as_save_IFS
103
104     ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109  as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113  exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there.  '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138  # into an infinite loop, continuously re-executing ourselves.
139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140    _as_can_reexec=no; export _as_can_reexec;
141    # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149  *v*x* | *x*v* ) as_opts=-vx ;;
150  *v* ) as_opts=-v ;;
151  *x* ) as_opts=-x ;;
152  * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159  fi
160  # We don't want this to propagate to other subprocesses.
161          { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164  emulate sh
165  NULLCMD=:
166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167  # is contrary to our usage.  Disable this feature.
168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
169  setopt NO_GLOB_SUBST
170else
171  case \`(set -o) 2>/dev/null\` in #(
172  *posix*) :
173    set -o posix ;; #(
174  *) :
175     ;;
176esac
177fi
178"
179  as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193  exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201
202  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
203    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
204    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206    PATH=/empty FPATH=/empty; export PATH FPATH
207    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
208      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
209test \$(( 1 + 1 )) = 2 || exit 1"
210  if (eval "$as_required") 2>/dev/null; then :
211  as_have_required=yes
212else
213  as_have_required=no
214fi
215  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
216
217else
218  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
219as_found=false
220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222  IFS=$as_save_IFS
223  test -z "$as_dir" && as_dir=.
224  as_found=:
225  case $as_dir in #(
226	 /*)
227	   for as_base in sh bash ksh sh5; do
228	     # Try only shells that exist, to save several forks.
229	     as_shell=$as_dir/$as_base
230	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  CONFIG_SHELL=$as_shell as_have_required=yes
233		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
234  break 2
235fi
236fi
237	   done;;
238       esac
239  as_found=false
240done
241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243  CONFIG_SHELL=$SHELL as_have_required=yes
244fi; }
245IFS=$as_save_IFS
246
247
248      if test "x$CONFIG_SHELL" != x; then :
249  export CONFIG_SHELL
250             # We cannot yet assume a decent shell, so we have to provide a
251# neutralization value for shells without unset; and this also
252# works around shells that cannot unset nonexistent variables.
253# Preserve -v and -x to the replacement shell.
254BASH_ENV=/dev/null
255ENV=/dev/null
256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
257case $- in # ((((
258  *v*x* | *x*v* ) as_opts=-vx ;;
259  *v* ) as_opts=-v ;;
260  *x* ) as_opts=-x ;;
261  * ) as_opts= ;;
262esac
263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264# Admittedly, this is quite paranoid, since all the known shells bail
265# out after a failed `exec'.
266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
267exit 255
268fi
269
270    if test x$as_have_required = xno; then :
271  $as_echo "$0: This script requires a shell more modern than all"
272  $as_echo "$0: the shells that I found on your system."
273  if test x${ZSH_VERSION+set} = xset ; then
274    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
276  else
277    $as_echo "$0: Please tell bug-autoconf@gnu.org and
278$0: dreib@iem.uni-due.de about your system, including any
279$0: error possibly output before this message. Then install
280$0: a modern shell, or manually run the script under such a
281$0: shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='sctplib'
592PACKAGE_TARNAME='sctplib'
593PACKAGE_VERSION='1.0.26'
594PACKAGE_STRING='sctplib 1.0.26'
595PACKAGE_BUGREPORT='dreib@iem.uni-due.de'
596PACKAGE_URL=''
597
598ac_default_prefix=/usr/local
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638SCTPLIB_AGE
639SCTPLIB_REVISION
640SCTPLIB_CURRENT
641thread_LIBS
642glib_LIBS
643GLIB_COMPILE_RESOURCES
644GLIB_MKENUMS
645GOBJECT_QUERY
646GLIB_GENMARSHAL
647GLIB_LIBS
648GLIB_CFLAGS
649PKG_CONFIG_LIBDIR
650PKG_CONFIG_PATH
651PKG_CONFIG
652LIB_IPV6
653COLORGCC
654LIBOBJS
655CPP
656LT_SYS_LIBRARY_PATH
657OTOOL64
658OTOOL
659LIPO
660NMEDIT
661DSYMUTIL
662MANIFEST_TOOL
663RANLIB
664ac_ct_AR
665AR
666DLLTOOL
667OBJDUMP
668LN_S
669NM
670ac_ct_DUMPBIN
671DUMPBIN
672LD
673FGREP
674EGREP
675GREP
676SED
677LIBTOOL
678am__fastdepCC_FALSE
679am__fastdepCC_TRUE
680CCDEPMODE
681am__nodep
682AMDEPBACKSLASH
683AMDEP_FALSE
684AMDEP_TRUE
685am__include
686DEPDIR
687OBJEXT
688EXEEXT
689ac_ct_CC
690CPPFLAGS
691LDFLAGS
692CFLAGS
693CC
694host_os
695host_vendor
696host_cpu
697host
698build_os
699build_vendor
700build_cpu
701build
702AM_BACKSLASH
703AM_DEFAULT_VERBOSITY
704AM_DEFAULT_V
705AM_V
706am__untar
707am__tar
708AMTAR
709am__leading_dot
710SET_MAKE
711AWK
712mkdir_p
713MKDIR_P
714INSTALL_STRIP_PROGRAM
715STRIP
716install_sh
717MAKEINFO
718AUTOHEADER
719AUTOMAKE
720AUTOCONF
721ACLOCAL
722VERSION
723PACKAGE
724CYGPATH_W
725am__isrc
726INSTALL_DATA
727INSTALL_SCRIPT
728INSTALL_PROGRAM
729target_alias
730host_alias
731build_alias
732LIBS
733ECHO_T
734ECHO_N
735ECHO_C
736DEFS
737mandir
738localedir
739libdir
740psdir
741pdfdir
742dvidir
743htmldir
744infodir
745docdir
746oldincludedir
747includedir
748runstatedir
749localstatedir
750sharedstatedir
751sysconfdir
752datadir
753datarootdir
754libexecdir
755sbindir
756bindir
757program_transform_name
758prefix
759exec_prefix
760PACKAGE_URL
761PACKAGE_BUGREPORT
762PACKAGE_STRING
763PACKAGE_VERSION
764PACKAGE_TARNAME
765PACKAGE_NAME
766PATH_SEPARATOR
767SHELL
768am__quote'
769ac_subst_files=''
770ac_user_opts='
771enable_option_checking
772enable_silent_rules
773enable_dependency_tracking
774enable_shared
775enable_static
776with_pic
777enable_fast_install
778with_aix_soname
779with_gnu_ld
780with_sysroot
781enable_libtool_lock
782enable_sctp_over_udp
783with_sctp_over_udp_port
784enable_maintainer_mode
785enable_ipv6
786enable_glibtest
787'
788      ac_precious_vars='build_alias
789host_alias
790target_alias
791CC
792CFLAGS
793LDFLAGS
794LIBS
795CPPFLAGS
796LT_SYS_LIBRARY_PATH
797CPP
798PKG_CONFIG
799PKG_CONFIG_PATH
800PKG_CONFIG_LIBDIR
801GLIB_CFLAGS
802GLIB_LIBS
803GLIB_GENMARSHAL
804GOBJECT_QUERY
805GLIB_MKENUMS
806GLIB_COMPILE_RESOURCES'
807
808
809# Initialize some variables set by options.
810ac_init_help=
811ac_init_version=false
812ac_unrecognized_opts=
813ac_unrecognized_sep=
814# The variables have the same names as the options, with
815# dashes changed to underlines.
816cache_file=/dev/null
817exec_prefix=NONE
818no_create=
819no_recursion=
820prefix=NONE
821program_prefix=NONE
822program_suffix=NONE
823program_transform_name=s,x,x,
824silent=
825site=
826srcdir=
827verbose=
828x_includes=NONE
829x_libraries=NONE
830
831# Installation directory options.
832# These are left unexpanded so users can "make install exec_prefix=/foo"
833# and all the variables that are supposed to be based on exec_prefix
834# by default will actually change.
835# Use braces instead of parens because sh, perl, etc. also accept them.
836# (The list follows the same order as the GNU Coding Standards.)
837bindir='${exec_prefix}/bin'
838sbindir='${exec_prefix}/sbin'
839libexecdir='${exec_prefix}/libexec'
840datarootdir='${prefix}/share'
841datadir='${datarootdir}'
842sysconfdir='${prefix}/etc'
843sharedstatedir='${prefix}/com'
844localstatedir='${prefix}/var'
845runstatedir='${localstatedir}/run'
846includedir='${prefix}/include'
847oldincludedir='/usr/include'
848docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
849infodir='${datarootdir}/info'
850htmldir='${docdir}'
851dvidir='${docdir}'
852pdfdir='${docdir}'
853psdir='${docdir}'
854libdir='${exec_prefix}/lib'
855localedir='${datarootdir}/locale'
856mandir='${datarootdir}/man'
857
858ac_prev=
859ac_dashdash=
860for ac_option
861do
862  # If the previous option needs an argument, assign it.
863  if test -n "$ac_prev"; then
864    eval $ac_prev=\$ac_option
865    ac_prev=
866    continue
867  fi
868
869  case $ac_option in
870  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871  *=)   ac_optarg= ;;
872  *)    ac_optarg=yes ;;
873  esac
874
875  # Accept the important Cygnus configure options, so we can diagnose typos.
876
877  case $ac_dashdash$ac_option in
878  --)
879    ac_dashdash=yes ;;
880
881  -bindir | --bindir | --bindi | --bind | --bin | --bi)
882    ac_prev=bindir ;;
883  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
884    bindir=$ac_optarg ;;
885
886  -build | --build | --buil | --bui | --bu)
887    ac_prev=build_alias ;;
888  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
889    build_alias=$ac_optarg ;;
890
891  -cache-file | --cache-file | --cache-fil | --cache-fi \
892  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
893    ac_prev=cache_file ;;
894  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
895  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
896    cache_file=$ac_optarg ;;
897
898  --config-cache | -C)
899    cache_file=config.cache ;;
900
901  -datadir | --datadir | --datadi | --datad)
902    ac_prev=datadir ;;
903  -datadir=* | --datadir=* | --datadi=* | --datad=*)
904    datadir=$ac_optarg ;;
905
906  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
907  | --dataroo | --dataro | --datar)
908    ac_prev=datarootdir ;;
909  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
910  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
911    datarootdir=$ac_optarg ;;
912
913  -disable-* | --disable-*)
914    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
915    # Reject names that are not valid shell variable names.
916    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917      as_fn_error $? "invalid feature name: $ac_useropt"
918    ac_useropt_orig=$ac_useropt
919    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920    case $ac_user_opts in
921      *"
922"enable_$ac_useropt"
923"*) ;;
924      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
925	 ac_unrecognized_sep=', ';;
926    esac
927    eval enable_$ac_useropt=no ;;
928
929  -docdir | --docdir | --docdi | --doc | --do)
930    ac_prev=docdir ;;
931  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
932    docdir=$ac_optarg ;;
933
934  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
935    ac_prev=dvidir ;;
936  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
937    dvidir=$ac_optarg ;;
938
939  -enable-* | --enable-*)
940    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
941    # Reject names that are not valid shell variable names.
942    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
943      as_fn_error $? "invalid feature name: $ac_useropt"
944    ac_useropt_orig=$ac_useropt
945    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946    case $ac_user_opts in
947      *"
948"enable_$ac_useropt"
949"*) ;;
950      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
951	 ac_unrecognized_sep=', ';;
952    esac
953    eval enable_$ac_useropt=\$ac_optarg ;;
954
955  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
956  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
957  | --exec | --exe | --ex)
958    ac_prev=exec_prefix ;;
959  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
960  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
961  | --exec=* | --exe=* | --ex=*)
962    exec_prefix=$ac_optarg ;;
963
964  -gas | --gas | --ga | --g)
965    # Obsolete; use --with-gas.
966    with_gas=yes ;;
967
968  -help | --help | --hel | --he | -h)
969    ac_init_help=long ;;
970  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
971    ac_init_help=recursive ;;
972  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
973    ac_init_help=short ;;
974
975  -host | --host | --hos | --ho)
976    ac_prev=host_alias ;;
977  -host=* | --host=* | --hos=* | --ho=*)
978    host_alias=$ac_optarg ;;
979
980  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
981    ac_prev=htmldir ;;
982  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
983  | --ht=*)
984    htmldir=$ac_optarg ;;
985
986  -includedir | --includedir | --includedi | --included | --include \
987  | --includ | --inclu | --incl | --inc)
988    ac_prev=includedir ;;
989  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
990  | --includ=* | --inclu=* | --incl=* | --inc=*)
991    includedir=$ac_optarg ;;
992
993  -infodir | --infodir | --infodi | --infod | --info | --inf)
994    ac_prev=infodir ;;
995  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
996    infodir=$ac_optarg ;;
997
998  -libdir | --libdir | --libdi | --libd)
999    ac_prev=libdir ;;
1000  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1001    libdir=$ac_optarg ;;
1002
1003  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1004  | --libexe | --libex | --libe)
1005    ac_prev=libexecdir ;;
1006  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1007  | --libexe=* | --libex=* | --libe=*)
1008    libexecdir=$ac_optarg ;;
1009
1010  -localedir | --localedir | --localedi | --localed | --locale)
1011    ac_prev=localedir ;;
1012  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1013    localedir=$ac_optarg ;;
1014
1015  -localstatedir | --localstatedir | --localstatedi | --localstated \
1016  | --localstate | --localstat | --localsta | --localst | --locals)
1017    ac_prev=localstatedir ;;
1018  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1019  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1020    localstatedir=$ac_optarg ;;
1021
1022  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1023    ac_prev=mandir ;;
1024  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1025    mandir=$ac_optarg ;;
1026
1027  -nfp | --nfp | --nf)
1028    # Obsolete; use --without-fp.
1029    with_fp=no ;;
1030
1031  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1032  | --no-cr | --no-c | -n)
1033    no_create=yes ;;
1034
1035  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1036  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1037    no_recursion=yes ;;
1038
1039  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1040  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1041  | --oldin | --oldi | --old | --ol | --o)
1042    ac_prev=oldincludedir ;;
1043  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1044  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1045  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1046    oldincludedir=$ac_optarg ;;
1047
1048  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1049    ac_prev=prefix ;;
1050  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1051    prefix=$ac_optarg ;;
1052
1053  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1054  | --program-pre | --program-pr | --program-p)
1055    ac_prev=program_prefix ;;
1056  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1057  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1058    program_prefix=$ac_optarg ;;
1059
1060  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1061  | --program-suf | --program-su | --program-s)
1062    ac_prev=program_suffix ;;
1063  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1064  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1065    program_suffix=$ac_optarg ;;
1066
1067  -program-transform-name | --program-transform-name \
1068  | --program-transform-nam | --program-transform-na \
1069  | --program-transform-n | --program-transform- \
1070  | --program-transform | --program-transfor \
1071  | --program-transfo | --program-transf \
1072  | --program-trans | --program-tran \
1073  | --progr-tra | --program-tr | --program-t)
1074    ac_prev=program_transform_name ;;
1075  -program-transform-name=* | --program-transform-name=* \
1076  | --program-transform-nam=* | --program-transform-na=* \
1077  | --program-transform-n=* | --program-transform-=* \
1078  | --program-transform=* | --program-transfor=* \
1079  | --program-transfo=* | --program-transf=* \
1080  | --program-trans=* | --program-tran=* \
1081  | --progr-tra=* | --program-tr=* | --program-t=*)
1082    program_transform_name=$ac_optarg ;;
1083
1084  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1085    ac_prev=pdfdir ;;
1086  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1087    pdfdir=$ac_optarg ;;
1088
1089  -psdir | --psdir | --psdi | --psd | --ps)
1090    ac_prev=psdir ;;
1091  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1092    psdir=$ac_optarg ;;
1093
1094  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1095  | -silent | --silent | --silen | --sile | --sil)
1096    silent=yes ;;
1097
1098  -runstatedir | --runstatedir | --runstatedi | --runstated \
1099  | --runstate | --runstat | --runsta | --runst | --runs \
1100  | --run | --ru | --r)
1101    ac_prev=runstatedir ;;
1102  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1103  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1104  | --run=* | --ru=* | --r=*)
1105    runstatedir=$ac_optarg ;;
1106
1107  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1108    ac_prev=sbindir ;;
1109  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1110  | --sbi=* | --sb=*)
1111    sbindir=$ac_optarg ;;
1112
1113  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1114  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1115  | --sharedst | --shareds | --shared | --share | --shar \
1116  | --sha | --sh)
1117    ac_prev=sharedstatedir ;;
1118  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1119  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1120  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1121  | --sha=* | --sh=*)
1122    sharedstatedir=$ac_optarg ;;
1123
1124  -site | --site | --sit)
1125    ac_prev=site ;;
1126  -site=* | --site=* | --sit=*)
1127    site=$ac_optarg ;;
1128
1129  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1130    ac_prev=srcdir ;;
1131  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1132    srcdir=$ac_optarg ;;
1133
1134  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1135  | --syscon | --sysco | --sysc | --sys | --sy)
1136    ac_prev=sysconfdir ;;
1137  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1138  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1139    sysconfdir=$ac_optarg ;;
1140
1141  -target | --target | --targe | --targ | --tar | --ta | --t)
1142    ac_prev=target_alias ;;
1143  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1144    target_alias=$ac_optarg ;;
1145
1146  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1147    verbose=yes ;;
1148
1149  -version | --version | --versio | --versi | --vers | -V)
1150    ac_init_version=: ;;
1151
1152  -with-* | --with-*)
1153    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1154    # Reject names that are not valid shell variable names.
1155    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1156      as_fn_error $? "invalid package name: $ac_useropt"
1157    ac_useropt_orig=$ac_useropt
1158    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1159    case $ac_user_opts in
1160      *"
1161"with_$ac_useropt"
1162"*) ;;
1163      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1164	 ac_unrecognized_sep=', ';;
1165    esac
1166    eval with_$ac_useropt=\$ac_optarg ;;
1167
1168  -without-* | --without-*)
1169    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1170    # Reject names that are not valid shell variable names.
1171    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1172      as_fn_error $? "invalid package name: $ac_useropt"
1173    ac_useropt_orig=$ac_useropt
1174    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1175    case $ac_user_opts in
1176      *"
1177"with_$ac_useropt"
1178"*) ;;
1179      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1180	 ac_unrecognized_sep=', ';;
1181    esac
1182    eval with_$ac_useropt=no ;;
1183
1184  --x)
1185    # Obsolete; use --with-x.
1186    with_x=yes ;;
1187
1188  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1189  | --x-incl | --x-inc | --x-in | --x-i)
1190    ac_prev=x_includes ;;
1191  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1192  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1193    x_includes=$ac_optarg ;;
1194
1195  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1196  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1197    ac_prev=x_libraries ;;
1198  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1199  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1200    x_libraries=$ac_optarg ;;
1201
1202  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1203Try \`$0 --help' for more information"
1204    ;;
1205
1206  *=*)
1207    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1208    # Reject names that are not valid shell variable names.
1209    case $ac_envvar in #(
1210      '' | [0-9]* | *[!_$as_cr_alnum]* )
1211      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1212    esac
1213    eval $ac_envvar=\$ac_optarg
1214    export $ac_envvar ;;
1215
1216  *)
1217    # FIXME: should be removed in autoconf 3.0.
1218    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1219    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1220      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1221    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1222    ;;
1223
1224  esac
1225done
1226
1227if test -n "$ac_prev"; then
1228  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1229  as_fn_error $? "missing argument to $ac_option"
1230fi
1231
1232if test -n "$ac_unrecognized_opts"; then
1233  case $enable_option_checking in
1234    no) ;;
1235    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1236    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1237  esac
1238fi
1239
1240# Check all directory arguments for consistency.
1241for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1242		datadir sysconfdir sharedstatedir localstatedir includedir \
1243		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1244		libdir localedir mandir runstatedir
1245do
1246  eval ac_val=\$$ac_var
1247  # Remove trailing slashes.
1248  case $ac_val in
1249    */ )
1250      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1251      eval $ac_var=\$ac_val;;
1252  esac
1253  # Be sure to have absolute directory names.
1254  case $ac_val in
1255    [\\/$]* | ?:[\\/]* )  continue;;
1256    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1257  esac
1258  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1259done
1260
1261# There might be people who depend on the old broken behavior: `$host'
1262# used to hold the argument of --host etc.
1263# FIXME: To remove some day.
1264build=$build_alias
1265host=$host_alias
1266target=$target_alias
1267
1268# FIXME: To remove some day.
1269if test "x$host_alias" != x; then
1270  if test "x$build_alias" = x; then
1271    cross_compiling=maybe
1272  elif test "x$build_alias" != "x$host_alias"; then
1273    cross_compiling=yes
1274  fi
1275fi
1276
1277ac_tool_prefix=
1278test -n "$host_alias" && ac_tool_prefix=$host_alias-
1279
1280test "$silent" = yes && exec 6>/dev/null
1281
1282
1283ac_pwd=`pwd` && test -n "$ac_pwd" &&
1284ac_ls_di=`ls -di .` &&
1285ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1286  as_fn_error $? "working directory cannot be determined"
1287test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1288  as_fn_error $? "pwd does not report name of working directory"
1289
1290
1291# Find the source files, if location was not specified.
1292if test -z "$srcdir"; then
1293  ac_srcdir_defaulted=yes
1294  # Try the directory containing this script, then the parent directory.
1295  ac_confdir=`$as_dirname -- "$as_myself" ||
1296$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1297	 X"$as_myself" : 'X\(//\)[^/]' \| \
1298	 X"$as_myself" : 'X\(//\)$' \| \
1299	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1300$as_echo X"$as_myself" |
1301    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1302	    s//\1/
1303	    q
1304	  }
1305	  /^X\(\/\/\)[^/].*/{
1306	    s//\1/
1307	    q
1308	  }
1309	  /^X\(\/\/\)$/{
1310	    s//\1/
1311	    q
1312	  }
1313	  /^X\(\/\).*/{
1314	    s//\1/
1315	    q
1316	  }
1317	  s/.*/./; q'`
1318  srcdir=$ac_confdir
1319  if test ! -r "$srcdir/$ac_unique_file"; then
1320    srcdir=..
1321  fi
1322else
1323  ac_srcdir_defaulted=no
1324fi
1325if test ! -r "$srcdir/$ac_unique_file"; then
1326  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1327  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1328fi
1329ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1330ac_abs_confdir=`(
1331	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1332	pwd)`
1333# When building in place, set srcdir=.
1334if test "$ac_abs_confdir" = "$ac_pwd"; then
1335  srcdir=.
1336fi
1337# Remove unnecessary trailing slashes from srcdir.
1338# Double slashes in file names in object file debugging info
1339# mess up M-x gdb in Emacs.
1340case $srcdir in
1341*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1342esac
1343for ac_var in $ac_precious_vars; do
1344  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1345  eval ac_env_${ac_var}_value=\$${ac_var}
1346  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1347  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1348done
1349
1350#
1351# Report the --help message.
1352#
1353if test "$ac_init_help" = "long"; then
1354  # Omit some internal or obsolete options to make the list less imposing.
1355  # This message is too long to be a string in the A/UX 3.1 sh.
1356  cat <<_ACEOF
1357\`configure' configures sctplib 1.0.26 to adapt to many kinds of systems.
1358
1359Usage: $0 [OPTION]... [VAR=VALUE]...
1360
1361To assign environment variables (e.g., CC, CFLAGS...), specify them as
1362VAR=VALUE.  See below for descriptions of some of the useful variables.
1363
1364Defaults for the options are specified in brackets.
1365
1366Configuration:
1367  -h, --help              display this help and exit
1368      --help=short        display options specific to this package
1369      --help=recursive    display the short help of all the included packages
1370  -V, --version           display version information and exit
1371  -q, --quiet, --silent   do not print \`checking ...' messages
1372      --cache-file=FILE   cache test results in FILE [disabled]
1373  -C, --config-cache      alias for \`--cache-file=config.cache'
1374  -n, --no-create         do not create output files
1375      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1376
1377Installation directories:
1378  --prefix=PREFIX         install architecture-independent files in PREFIX
1379                          [$ac_default_prefix]
1380  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1381                          [PREFIX]
1382
1383By default, \`make install' will install all the files in
1384\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1385an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1386for instance \`--prefix=\$HOME'.
1387
1388For better control, use the options below.
1389
1390Fine tuning of the installation directories:
1391  --bindir=DIR            user executables [EPREFIX/bin]
1392  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1393  --libexecdir=DIR        program executables [EPREFIX/libexec]
1394  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1395  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1396  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1397  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
1398  --libdir=DIR            object code libraries [EPREFIX/lib]
1399  --includedir=DIR        C header files [PREFIX/include]
1400  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1401  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1402  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1403  --infodir=DIR           info documentation [DATAROOTDIR/info]
1404  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1405  --mandir=DIR            man documentation [DATAROOTDIR/man]
1406  --docdir=DIR            documentation root [DATAROOTDIR/doc/sctplib]
1407  --htmldir=DIR           html documentation [DOCDIR]
1408  --dvidir=DIR            dvi documentation [DOCDIR]
1409  --pdfdir=DIR            pdf documentation [DOCDIR]
1410  --psdir=DIR             ps documentation [DOCDIR]
1411_ACEOF
1412
1413  cat <<\_ACEOF
1414
1415Program names:
1416  --program-prefix=PREFIX            prepend PREFIX to installed program names
1417  --program-suffix=SUFFIX            append SUFFIX to installed program names
1418  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1419
1420System types:
1421  --build=BUILD     configure for building on BUILD [guessed]
1422  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1423_ACEOF
1424fi
1425
1426if test -n "$ac_init_help"; then
1427  case $ac_init_help in
1428     short | recursive ) echo "Configuration of sctplib 1.0.26:";;
1429   esac
1430  cat <<\_ACEOF
1431
1432Optional Features:
1433  --disable-option-checking  ignore unrecognized --enable/--with options
1434  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1435  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1436  --enable-silent-rules   less verbose build output (undo: "make V=1")
1437  --disable-silent-rules  verbose build output (undo: "make V=0")
1438  --enable-dependency-tracking
1439                          do not reject slow dependency extractors
1440  --disable-dependency-tracking
1441                          speeds up one-time build
1442  --enable-shared[=PKGS]  build shared libraries [default=yes]
1443  --enable-static[=PKGS]  build static libraries [default=yes]
1444  --enable-fast-install[=PKGS]
1445                          optimize for fast installation [default=yes]
1446  --disable-libtool-lock  avoid locking (might break parallel builds)
1447  --enable-sctp-over-udp            enable SCTP over UDP mode
1448  --enable-maintainer-mode            enable maintainer mode
1449default=no]
1450  --disable-ipv6          turn off IPv6 support
1451  --disable-glibtest      do not try to compile and run a test GLIB program
1452
1453Optional Packages:
1454  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1455  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1456  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1457                          both]
1458  --with-aix-soname=aix|svr4|both
1459                          shared library versioning (aka "SONAME") variant to
1460                          provide on AIX, [default=aix].
1461  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1462  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1463                          compiler's sysroot if not specified).
1464  --with-sctp-over-udp-port=FLAGS
1465                          SCTP over UDO port (default: 9899).
1466
1467Some influential environment variables:
1468  CC          C compiler command
1469  CFLAGS      C compiler flags
1470  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1471              nonstandard directory <lib dir>
1472  LIBS        libraries to pass to the linker, e.g. -l<library>
1473  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1474              you have headers in a nonstandard directory <include dir>
1475  LT_SYS_LIBRARY_PATH
1476              User-defined run-time library search path.
1477  CPP         C preprocessor
1478  PKG_CONFIG  path to pkg-config utility
1479  PKG_CONFIG_PATH
1480              directories to add to pkg-config's search path
1481  PKG_CONFIG_LIBDIR
1482              path overriding pkg-config's built-in search path
1483  GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
1484  GLIB_LIBS   linker flags for GLIB, overriding pkg-config
1485  GLIB_GENMARSHAL
1486              value of glib_genmarshal for glib-2.0, overriding pkg-config
1487  GOBJECT_QUERY
1488              value of gobject_query for glib-2.0, overriding pkg-config
1489  GLIB_MKENUMS
1490              value of glib_mkenums for glib-2.0, overriding pkg-config
1491  GLIB_COMPILE_RESOURCES
1492              value of glib_compile_resources for gio-2.0, overriding
1493              pkg-config
1494
1495Use these variables to override the choices made by `configure' or to help
1496it to find libraries and programs with nonstandard names/locations.
1497
1498Report bugs to <dreib@iem.uni-due.de>.
1499_ACEOF
1500ac_status=$?
1501fi
1502
1503if test "$ac_init_help" = "recursive"; then
1504  # If there are subdirs, report their specific --help.
1505  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1506    test -d "$ac_dir" ||
1507      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1508      continue
1509    ac_builddir=.
1510
1511case "$ac_dir" in
1512.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1513*)
1514  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1515  # A ".." for each directory in $ac_dir_suffix.
1516  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1517  case $ac_top_builddir_sub in
1518  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1519  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1520  esac ;;
1521esac
1522ac_abs_top_builddir=$ac_pwd
1523ac_abs_builddir=$ac_pwd$ac_dir_suffix
1524# for backward compatibility:
1525ac_top_builddir=$ac_top_build_prefix
1526
1527case $srcdir in
1528  .)  # We are building in place.
1529    ac_srcdir=.
1530    ac_top_srcdir=$ac_top_builddir_sub
1531    ac_abs_top_srcdir=$ac_pwd ;;
1532  [\\/]* | ?:[\\/]* )  # Absolute name.
1533    ac_srcdir=$srcdir$ac_dir_suffix;
1534    ac_top_srcdir=$srcdir
1535    ac_abs_top_srcdir=$srcdir ;;
1536  *) # Relative name.
1537    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1538    ac_top_srcdir=$ac_top_build_prefix$srcdir
1539    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1540esac
1541ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1542
1543    cd "$ac_dir" || { ac_status=$?; continue; }
1544    # Check for guested configure.
1545    if test -f "$ac_srcdir/configure.gnu"; then
1546      echo &&
1547      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1548    elif test -f "$ac_srcdir/configure"; then
1549      echo &&
1550      $SHELL "$ac_srcdir/configure" --help=recursive
1551    else
1552      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1553    fi || ac_status=$?
1554    cd "$ac_pwd" || { ac_status=$?; break; }
1555  done
1556fi
1557
1558test -n "$ac_init_help" && exit $ac_status
1559if $ac_init_version; then
1560  cat <<\_ACEOF
1561sctplib configure 1.0.26
1562generated by GNU Autoconf 2.69
1563
1564Copyright (C) 2012 Free Software Foundation, Inc.
1565This configure script is free software; the Free Software Foundation
1566gives unlimited permission to copy, distribute and modify it.
1567_ACEOF
1568  exit
1569fi
1570
1571## ------------------------ ##
1572## Autoconf initialization. ##
1573## ------------------------ ##
1574
1575# ac_fn_c_try_compile LINENO
1576# --------------------------
1577# Try to compile conftest.$ac_ext, and return whether this succeeded.
1578ac_fn_c_try_compile ()
1579{
1580  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1581  rm -f conftest.$ac_objext
1582  if { { ac_try="$ac_compile"
1583case "(($ac_try" in
1584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585  *) ac_try_echo=$ac_try;;
1586esac
1587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588$as_echo "$ac_try_echo"; } >&5
1589  (eval "$ac_compile") 2>conftest.err
1590  ac_status=$?
1591  if test -s conftest.err; then
1592    grep -v '^ *+' conftest.err >conftest.er1
1593    cat conftest.er1 >&5
1594    mv -f conftest.er1 conftest.err
1595  fi
1596  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597  test $ac_status = 0; } && {
1598	 test -z "$ac_c_werror_flag" ||
1599	 test ! -s conftest.err
1600       } && test -s conftest.$ac_objext; then :
1601  ac_retval=0
1602else
1603  $as_echo "$as_me: failed program was:" >&5
1604sed 's/^/| /' conftest.$ac_ext >&5
1605
1606	ac_retval=1
1607fi
1608  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609  as_fn_set_status $ac_retval
1610
1611} # ac_fn_c_try_compile
1612
1613# ac_fn_c_try_link LINENO
1614# -----------------------
1615# Try to link conftest.$ac_ext, and return whether this succeeded.
1616ac_fn_c_try_link ()
1617{
1618  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1619  rm -f conftest.$ac_objext conftest$ac_exeext
1620  if { { ac_try="$ac_link"
1621case "(($ac_try" in
1622  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1623  *) ac_try_echo=$ac_try;;
1624esac
1625eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1626$as_echo "$ac_try_echo"; } >&5
1627  (eval "$ac_link") 2>conftest.err
1628  ac_status=$?
1629  if test -s conftest.err; then
1630    grep -v '^ *+' conftest.err >conftest.er1
1631    cat conftest.er1 >&5
1632    mv -f conftest.er1 conftest.err
1633  fi
1634  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1635  test $ac_status = 0; } && {
1636	 test -z "$ac_c_werror_flag" ||
1637	 test ! -s conftest.err
1638       } && test -s conftest$ac_exeext && {
1639	 test "$cross_compiling" = yes ||
1640	 test -x conftest$ac_exeext
1641       }; then :
1642  ac_retval=0
1643else
1644  $as_echo "$as_me: failed program was:" >&5
1645sed 's/^/| /' conftest.$ac_ext >&5
1646
1647	ac_retval=1
1648fi
1649  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1650  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1651  # interfere with the next link command; also delete a directory that is
1652  # left behind by Apple's compiler.  We do this before executing the actions.
1653  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1654  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655  as_fn_set_status $ac_retval
1656
1657} # ac_fn_c_try_link
1658
1659# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1660# -------------------------------------------------------
1661# Tests whether HEADER exists and can be compiled using the include files in
1662# INCLUDES, setting the cache variable VAR accordingly.
1663ac_fn_c_check_header_compile ()
1664{
1665  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1666  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1667$as_echo_n "checking for $2... " >&6; }
1668if eval \${$3+:} false; then :
1669  $as_echo_n "(cached) " >&6
1670else
1671  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1672/* end confdefs.h.  */
1673$4
1674#include <$2>
1675_ACEOF
1676if ac_fn_c_try_compile "$LINENO"; then :
1677  eval "$3=yes"
1678else
1679  eval "$3=no"
1680fi
1681rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1682fi
1683eval ac_res=\$$3
1684	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685$as_echo "$ac_res" >&6; }
1686  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1687
1688} # ac_fn_c_check_header_compile
1689
1690# ac_fn_c_try_cpp LINENO
1691# ----------------------
1692# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1693ac_fn_c_try_cpp ()
1694{
1695  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1696  if { { ac_try="$ac_cpp conftest.$ac_ext"
1697case "(($ac_try" in
1698  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699  *) ac_try_echo=$ac_try;;
1700esac
1701eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702$as_echo "$ac_try_echo"; } >&5
1703  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1704  ac_status=$?
1705  if test -s conftest.err; then
1706    grep -v '^ *+' conftest.err >conftest.er1
1707    cat conftest.er1 >&5
1708    mv -f conftest.er1 conftest.err
1709  fi
1710  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1711  test $ac_status = 0; } > conftest.i && {
1712	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1713	 test ! -s conftest.err
1714       }; then :
1715  ac_retval=0
1716else
1717  $as_echo "$as_me: failed program was:" >&5
1718sed 's/^/| /' conftest.$ac_ext >&5
1719
1720    ac_retval=1
1721fi
1722  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1723  as_fn_set_status $ac_retval
1724
1725} # ac_fn_c_try_cpp
1726
1727# ac_fn_c_try_run LINENO
1728# ----------------------
1729# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1730# that executables *can* be run.
1731ac_fn_c_try_run ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  if { { ac_try="$ac_link"
1735case "(($ac_try" in
1736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1737  *) ac_try_echo=$ac_try;;
1738esac
1739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1740$as_echo "$ac_try_echo"; } >&5
1741  (eval "$ac_link") 2>&5
1742  ac_status=$?
1743  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1745  { { case "(($ac_try" in
1746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1747  *) ac_try_echo=$ac_try;;
1748esac
1749eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1750$as_echo "$ac_try_echo"; } >&5
1751  (eval "$ac_try") 2>&5
1752  ac_status=$?
1753  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754  test $ac_status = 0; }; }; then :
1755  ac_retval=0
1756else
1757  $as_echo "$as_me: program exited with status $ac_status" >&5
1758       $as_echo "$as_me: failed program was:" >&5
1759sed 's/^/| /' conftest.$ac_ext >&5
1760
1761       ac_retval=$ac_status
1762fi
1763  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1764  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765  as_fn_set_status $ac_retval
1766
1767} # ac_fn_c_try_run
1768
1769# ac_fn_c_check_func LINENO FUNC VAR
1770# ----------------------------------
1771# Tests whether FUNC exists, setting the cache variable VAR accordingly
1772ac_fn_c_check_func ()
1773{
1774  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1776$as_echo_n "checking for $2... " >&6; }
1777if eval \${$3+:} false; then :
1778  $as_echo_n "(cached) " >&6
1779else
1780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1781/* end confdefs.h.  */
1782/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1783   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1784#define $2 innocuous_$2
1785
1786/* System header to define __stub macros and hopefully few prototypes,
1787    which can conflict with char $2 (); below.
1788    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1789    <limits.h> exists even on freestanding compilers.  */
1790
1791#ifdef __STDC__
1792# include <limits.h>
1793#else
1794# include <assert.h>
1795#endif
1796
1797#undef $2
1798
1799/* Override any GCC internal prototype to avoid an error.
1800   Use char because int might match the return type of a GCC
1801   builtin and then its argument prototype would still apply.  */
1802#ifdef __cplusplus
1803extern "C"
1804#endif
1805char $2 ();
1806/* The GNU C library defines this for functions which it implements
1807    to always fail with ENOSYS.  Some functions are actually named
1808    something starting with __ and the normal name is an alias.  */
1809#if defined __stub_$2 || defined __stub___$2
1810choke me
1811#endif
1812
1813int
1814main ()
1815{
1816return $2 ();
1817  ;
1818  return 0;
1819}
1820_ACEOF
1821if ac_fn_c_try_link "$LINENO"; then :
1822  eval "$3=yes"
1823else
1824  eval "$3=no"
1825fi
1826rm -f core conftest.err conftest.$ac_objext \
1827    conftest$ac_exeext conftest.$ac_ext
1828fi
1829eval ac_res=\$$3
1830	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831$as_echo "$ac_res" >&6; }
1832  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833
1834} # ac_fn_c_check_func
1835
1836# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1837# -------------------------------------------
1838# Tests whether TYPE exists after having included INCLUDES, setting cache
1839# variable VAR accordingly.
1840ac_fn_c_check_type ()
1841{
1842  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844$as_echo_n "checking for $2... " >&6; }
1845if eval \${$3+:} false; then :
1846  $as_echo_n "(cached) " >&6
1847else
1848  eval "$3=no"
1849  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1850/* end confdefs.h.  */
1851$4
1852int
1853main ()
1854{
1855if (sizeof ($2))
1856	 return 0;
1857  ;
1858  return 0;
1859}
1860_ACEOF
1861if ac_fn_c_try_compile "$LINENO"; then :
1862  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863/* end confdefs.h.  */
1864$4
1865int
1866main ()
1867{
1868if (sizeof (($2)))
1869	    return 0;
1870  ;
1871  return 0;
1872}
1873_ACEOF
1874if ac_fn_c_try_compile "$LINENO"; then :
1875
1876else
1877  eval "$3=yes"
1878fi
1879rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880fi
1881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1882fi
1883eval ac_res=\$$3
1884	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1885$as_echo "$ac_res" >&6; }
1886  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887
1888} # ac_fn_c_check_type
1889
1890# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1891# -------------------------------------------------------
1892# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1893# the include files in INCLUDES and setting the cache variable VAR
1894# accordingly.
1895ac_fn_c_check_header_mongrel ()
1896{
1897  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1898  if eval \${$3+:} false; then :
1899  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900$as_echo_n "checking for $2... " >&6; }
1901if eval \${$3+:} false; then :
1902  $as_echo_n "(cached) " >&6
1903fi
1904eval ac_res=\$$3
1905	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1906$as_echo "$ac_res" >&6; }
1907else
1908  # Is the header compilable?
1909{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1910$as_echo_n "checking $2 usability... " >&6; }
1911cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1912/* end confdefs.h.  */
1913$4
1914#include <$2>
1915_ACEOF
1916if ac_fn_c_try_compile "$LINENO"; then :
1917  ac_header_compiler=yes
1918else
1919  ac_header_compiler=no
1920fi
1921rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1923$as_echo "$ac_header_compiler" >&6; }
1924
1925# Is the header present?
1926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1927$as_echo_n "checking $2 presence... " >&6; }
1928cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1929/* end confdefs.h.  */
1930#include <$2>
1931_ACEOF
1932if ac_fn_c_try_cpp "$LINENO"; then :
1933  ac_header_preproc=yes
1934else
1935  ac_header_preproc=no
1936fi
1937rm -f conftest.err conftest.i conftest.$ac_ext
1938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1939$as_echo "$ac_header_preproc" >&6; }
1940
1941# So?  What about this header?
1942case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1943  yes:no: )
1944    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1945$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1946    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1947$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1948    ;;
1949  no:yes:* )
1950    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1951$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1953$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1954    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1955$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1956    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1957$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1958    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1959$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1960( $as_echo "## ----------------------------------- ##
1961## Report this to dreib@iem.uni-due.de ##
1962## ----------------------------------- ##"
1963     ) | sed "s/^/$as_me: WARNING:     /" >&2
1964    ;;
1965esac
1966  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1967$as_echo_n "checking for $2... " >&6; }
1968if eval \${$3+:} false; then :
1969  $as_echo_n "(cached) " >&6
1970else
1971  eval "$3=\$ac_header_compiler"
1972fi
1973eval ac_res=\$$3
1974	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975$as_echo "$ac_res" >&6; }
1976fi
1977  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1978
1979} # ac_fn_c_check_header_mongrel
1980cat >config.log <<_ACEOF
1981This file contains any messages produced by compilers while
1982running configure, to aid debugging if configure makes a mistake.
1983
1984It was created by sctplib $as_me 1.0.26, which was
1985generated by GNU Autoconf 2.69.  Invocation command line was
1986
1987  $ $0 $@
1988
1989_ACEOF
1990exec 5>>config.log
1991{
1992cat <<_ASUNAME
1993## --------- ##
1994## Platform. ##
1995## --------- ##
1996
1997hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1998uname -m = `(uname -m) 2>/dev/null || echo unknown`
1999uname -r = `(uname -r) 2>/dev/null || echo unknown`
2000uname -s = `(uname -s) 2>/dev/null || echo unknown`
2001uname -v = `(uname -v) 2>/dev/null || echo unknown`
2002
2003/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2004/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
2005
2006/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2007/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2008/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2009/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2010/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2011/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2012/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2013
2014_ASUNAME
2015
2016as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017for as_dir in $PATH
2018do
2019  IFS=$as_save_IFS
2020  test -z "$as_dir" && as_dir=.
2021    $as_echo "PATH: $as_dir"
2022  done
2023IFS=$as_save_IFS
2024
2025} >&5
2026
2027cat >&5 <<_ACEOF
2028
2029
2030## ----------- ##
2031## Core tests. ##
2032## ----------- ##
2033
2034_ACEOF
2035
2036
2037# Keep a trace of the command line.
2038# Strip out --no-create and --no-recursion so they do not pile up.
2039# Strip out --silent because we don't want to record it for future runs.
2040# Also quote any args containing shell meta-characters.
2041# Make two passes to allow for proper duplicate-argument suppression.
2042ac_configure_args=
2043ac_configure_args0=
2044ac_configure_args1=
2045ac_must_keep_next=false
2046for ac_pass in 1 2
2047do
2048  for ac_arg
2049  do
2050    case $ac_arg in
2051    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2052    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2053    | -silent | --silent | --silen | --sile | --sil)
2054      continue ;;
2055    *\'*)
2056      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2057    esac
2058    case $ac_pass in
2059    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2060    2)
2061      as_fn_append ac_configure_args1 " '$ac_arg'"
2062      if test $ac_must_keep_next = true; then
2063	ac_must_keep_next=false # Got value, back to normal.
2064      else
2065	case $ac_arg in
2066	  *=* | --config-cache | -C | -disable-* | --disable-* \
2067	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2068	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2069	  | -with-* | --with-* | -without-* | --without-* | --x)
2070	    case "$ac_configure_args0 " in
2071	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2072	    esac
2073	    ;;
2074	  -* ) ac_must_keep_next=true ;;
2075	esac
2076      fi
2077      as_fn_append ac_configure_args " '$ac_arg'"
2078      ;;
2079    esac
2080  done
2081done
2082{ ac_configure_args0=; unset ac_configure_args0;}
2083{ ac_configure_args1=; unset ac_configure_args1;}
2084
2085# When interrupted or exit'd, cleanup temporary files, and complete
2086# config.log.  We remove comments because anyway the quotes in there
2087# would cause problems or look ugly.
2088# WARNING: Use '\'' to represent an apostrophe within the trap.
2089# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2090trap 'exit_status=$?
2091  # Save into config.log some information that might help in debugging.
2092  {
2093    echo
2094
2095    $as_echo "## ---------------- ##
2096## Cache variables. ##
2097## ---------------- ##"
2098    echo
2099    # The following way of writing the cache mishandles newlines in values,
2100(
2101  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2102    eval ac_val=\$$ac_var
2103    case $ac_val in #(
2104    *${as_nl}*)
2105      case $ac_var in #(
2106      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2107$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2108      esac
2109      case $ac_var in #(
2110      _ | IFS | as_nl) ;; #(
2111      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2112      *) { eval $ac_var=; unset $ac_var;} ;;
2113      esac ;;
2114    esac
2115  done
2116  (set) 2>&1 |
2117    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2118    *${as_nl}ac_space=\ *)
2119      sed -n \
2120	"s/'\''/'\''\\\\'\'''\''/g;
2121	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2122      ;; #(
2123    *)
2124      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2125      ;;
2126    esac |
2127    sort
2128)
2129    echo
2130
2131    $as_echo "## ----------------- ##
2132## Output variables. ##
2133## ----------------- ##"
2134    echo
2135    for ac_var in $ac_subst_vars
2136    do
2137      eval ac_val=\$$ac_var
2138      case $ac_val in
2139      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2140      esac
2141      $as_echo "$ac_var='\''$ac_val'\''"
2142    done | sort
2143    echo
2144
2145    if test -n "$ac_subst_files"; then
2146      $as_echo "## ------------------- ##
2147## File substitutions. ##
2148## ------------------- ##"
2149      echo
2150      for ac_var in $ac_subst_files
2151      do
2152	eval ac_val=\$$ac_var
2153	case $ac_val in
2154	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2155	esac
2156	$as_echo "$ac_var='\''$ac_val'\''"
2157      done | sort
2158      echo
2159    fi
2160
2161    if test -s confdefs.h; then
2162      $as_echo "## ----------- ##
2163## confdefs.h. ##
2164## ----------- ##"
2165      echo
2166      cat confdefs.h
2167      echo
2168    fi
2169    test "$ac_signal" != 0 &&
2170      $as_echo "$as_me: caught signal $ac_signal"
2171    $as_echo "$as_me: exit $exit_status"
2172  } >&5
2173  rm -f core *.core core.conftest.* &&
2174    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2175    exit $exit_status
2176' 0
2177for ac_signal in 1 2 13 15; do
2178  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2179done
2180ac_signal=0
2181
2182# confdefs.h avoids OS command line length limits that DEFS can exceed.
2183rm -f -r conftest* confdefs.h
2184
2185$as_echo "/* confdefs.h */" > confdefs.h
2186
2187# Predefined preprocessor variables.
2188
2189cat >>confdefs.h <<_ACEOF
2190#define PACKAGE_NAME "$PACKAGE_NAME"
2191_ACEOF
2192
2193cat >>confdefs.h <<_ACEOF
2194#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2195_ACEOF
2196
2197cat >>confdefs.h <<_ACEOF
2198#define PACKAGE_VERSION "$PACKAGE_VERSION"
2199_ACEOF
2200
2201cat >>confdefs.h <<_ACEOF
2202#define PACKAGE_STRING "$PACKAGE_STRING"
2203_ACEOF
2204
2205cat >>confdefs.h <<_ACEOF
2206#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2207_ACEOF
2208
2209cat >>confdefs.h <<_ACEOF
2210#define PACKAGE_URL "$PACKAGE_URL"
2211_ACEOF
2212
2213
2214# Let the site file select an alternate cache file if it wants to.
2215# Prefer an explicitly selected file to automatically selected ones.
2216ac_site_file1=NONE
2217ac_site_file2=NONE
2218if test -n "$CONFIG_SITE"; then
2219  # We do not want a PATH search for config.site.
2220  case $CONFIG_SITE in #((
2221    -*)  ac_site_file1=./$CONFIG_SITE;;
2222    */*) ac_site_file1=$CONFIG_SITE;;
2223    *)   ac_site_file1=./$CONFIG_SITE;;
2224  esac
2225elif test "x$prefix" != xNONE; then
2226  ac_site_file1=$prefix/share/config.site
2227  ac_site_file2=$prefix/etc/config.site
2228else
2229  ac_site_file1=$ac_default_prefix/share/config.site
2230  ac_site_file2=$ac_default_prefix/etc/config.site
2231fi
2232for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2233do
2234  test "x$ac_site_file" = xNONE && continue
2235  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2236    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2237$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2238    sed 's/^/| /' "$ac_site_file" >&5
2239    . "$ac_site_file" \
2240      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2242as_fn_error $? "failed to load site script $ac_site_file
2243See \`config.log' for more details" "$LINENO" 5; }
2244  fi
2245done
2246
2247if test -r "$cache_file"; then
2248  # Some versions of bash will fail to source /dev/null (special files
2249  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2250  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2251    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2252$as_echo "$as_me: loading cache $cache_file" >&6;}
2253    case $cache_file in
2254      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2255      *)                      . "./$cache_file";;
2256    esac
2257  fi
2258else
2259  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2260$as_echo "$as_me: creating cache $cache_file" >&6;}
2261  >$cache_file
2262fi
2263
2264# Check that the precious variables saved in the cache have kept the same
2265# value.
2266ac_cache_corrupted=false
2267for ac_var in $ac_precious_vars; do
2268  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2269  eval ac_new_set=\$ac_env_${ac_var}_set
2270  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2271  eval ac_new_val=\$ac_env_${ac_var}_value
2272  case $ac_old_set,$ac_new_set in
2273    set,)
2274      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2275$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2276      ac_cache_corrupted=: ;;
2277    ,set)
2278      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2279$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2280      ac_cache_corrupted=: ;;
2281    ,);;
2282    *)
2283      if test "x$ac_old_val" != "x$ac_new_val"; then
2284	# differences in whitespace do not lead to failure.
2285	ac_old_val_w=`echo x $ac_old_val`
2286	ac_new_val_w=`echo x $ac_new_val`
2287	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2288	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2289$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2290	  ac_cache_corrupted=:
2291	else
2292	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2293$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2294	  eval $ac_var=\$ac_old_val
2295	fi
2296	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2297$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2298	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2299$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2300      fi;;
2301  esac
2302  # Pass precious variables to config.status.
2303  if test "$ac_new_set" = set; then
2304    case $ac_new_val in
2305    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2306    *) ac_arg=$ac_var=$ac_new_val ;;
2307    esac
2308    case " $ac_configure_args " in
2309      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2310      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2311    esac
2312  fi
2313done
2314if $ac_cache_corrupted; then
2315  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2317  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2318$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2319  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2320fi
2321## -------------------- ##
2322## Main body of script. ##
2323## -------------------- ##
2324
2325ac_ext=c
2326ac_cpp='$CPP $CPPFLAGS'
2327ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2328ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2329ac_compiler_gnu=$ac_cv_c_compiler_gnu
2330
2331
2332am__api_version='1.16'
2333
2334ac_aux_dir=
2335for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2336  if test -f "$ac_dir/install-sh"; then
2337    ac_aux_dir=$ac_dir
2338    ac_install_sh="$ac_aux_dir/install-sh -c"
2339    break
2340  elif test -f "$ac_dir/install.sh"; then
2341    ac_aux_dir=$ac_dir
2342    ac_install_sh="$ac_aux_dir/install.sh -c"
2343    break
2344  elif test -f "$ac_dir/shtool"; then
2345    ac_aux_dir=$ac_dir
2346    ac_install_sh="$ac_aux_dir/shtool install -c"
2347    break
2348  fi
2349done
2350if test -z "$ac_aux_dir"; then
2351  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2352fi
2353
2354# These three variables are undocumented and unsupported,
2355# and are intended to be withdrawn in a future Autoconf release.
2356# They can cause serious problems if a builder's source tree is in a directory
2357# whose full name contains unusual characters.
2358ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2359ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2360ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2361
2362
2363# Find a good install program.  We prefer a C program (faster),
2364# so one script is as good as another.  But avoid the broken or
2365# incompatible versions:
2366# SysV /etc/install, /usr/sbin/install
2367# SunOS /usr/etc/install
2368# IRIX /sbin/install
2369# AIX /bin/install
2370# AmigaOS /C/install, which installs bootblocks on floppy discs
2371# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2372# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2373# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2374# OS/2's system install, which has a completely different semantic
2375# ./install, which can be erroneously created by make from ./install.sh.
2376# Reject install programs that cannot install multiple files.
2377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2378$as_echo_n "checking for a BSD-compatible install... " >&6; }
2379if test -z "$INSTALL"; then
2380if ${ac_cv_path_install+:} false; then :
2381  $as_echo_n "(cached) " >&6
2382else
2383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384for as_dir in $PATH
2385do
2386  IFS=$as_save_IFS
2387  test -z "$as_dir" && as_dir=.
2388    # Account for people who put trailing slashes in PATH elements.
2389case $as_dir/ in #((
2390  ./ | .// | /[cC]/* | \
2391  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2392  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2393  /usr/ucb/* ) ;;
2394  *)
2395    # OSF1 and SCO ODT 3.0 have their own names for install.
2396    # Don't use installbsd from OSF since it installs stuff as root
2397    # by default.
2398    for ac_prog in ginstall scoinst install; do
2399      for ac_exec_ext in '' $ac_executable_extensions; do
2400	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2401	  if test $ac_prog = install &&
2402	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2403	    # AIX install.  It has an incompatible calling convention.
2404	    :
2405	  elif test $ac_prog = install &&
2406	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2407	    # program-specific install script used by HP pwplus--don't use.
2408	    :
2409	  else
2410	    rm -rf conftest.one conftest.two conftest.dir
2411	    echo one > conftest.one
2412	    echo two > conftest.two
2413	    mkdir conftest.dir
2414	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2415	      test -s conftest.one && test -s conftest.two &&
2416	      test -s conftest.dir/conftest.one &&
2417	      test -s conftest.dir/conftest.two
2418	    then
2419	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2420	      break 3
2421	    fi
2422	  fi
2423	fi
2424      done
2425    done
2426    ;;
2427esac
2428
2429  done
2430IFS=$as_save_IFS
2431
2432rm -rf conftest.one conftest.two conftest.dir
2433
2434fi
2435  if test "${ac_cv_path_install+set}" = set; then
2436    INSTALL=$ac_cv_path_install
2437  else
2438    # As a last resort, use the slow shell script.  Don't cache a
2439    # value for INSTALL within a source directory, because that will
2440    # break other packages using the cache if that directory is
2441    # removed, or if the value is a relative name.
2442    INSTALL=$ac_install_sh
2443  fi
2444fi
2445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2446$as_echo "$INSTALL" >&6; }
2447
2448# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2449# It thinks the first close brace ends the variable substitution.
2450test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2451
2452test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2453
2454test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2455
2456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2457$as_echo_n "checking whether build environment is sane... " >&6; }
2458# Reject unsafe characters in $srcdir or the absolute working directory
2459# name.  Accept space and tab only in the latter.
2460am_lf='
2461'
2462case `pwd` in
2463  *[\\\"\#\$\&\'\`$am_lf]*)
2464    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2465esac
2466case $srcdir in
2467  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2468    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2469esac
2470
2471# Do 'set' in a subshell so we don't clobber the current shell's
2472# arguments.  Must try -L first in case configure is actually a
2473# symlink; some systems play weird games with the mod time of symlinks
2474# (eg FreeBSD returns the mod time of the symlink's containing
2475# directory).
2476if (
2477   am_has_slept=no
2478   for am_try in 1 2; do
2479     echo "timestamp, slept: $am_has_slept" > conftest.file
2480     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2481     if test "$*" = "X"; then
2482	# -L didn't work.
2483	set X `ls -t "$srcdir/configure" conftest.file`
2484     fi
2485     if test "$*" != "X $srcdir/configure conftest.file" \
2486	&& test "$*" != "X conftest.file $srcdir/configure"; then
2487
2488	# If neither matched, then we have a broken ls.  This can happen
2489	# if, for instance, CONFIG_SHELL is bash and it inherits a
2490	# broken ls alias from the environment.  This has actually
2491	# happened.  Such a system could not be considered "sane".
2492	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2493  alias in your environment" "$LINENO" 5
2494     fi
2495     if test "$2" = conftest.file || test $am_try -eq 2; then
2496       break
2497     fi
2498     # Just in case.
2499     sleep 1
2500     am_has_slept=yes
2501   done
2502   test "$2" = conftest.file
2503   )
2504then
2505   # Ok.
2506   :
2507else
2508   as_fn_error $? "newly created file is older than distributed files!
2509Check your system clock" "$LINENO" 5
2510fi
2511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2512$as_echo "yes" >&6; }
2513# If we didn't sleep, we still need to ensure time stamps of config.status and
2514# generated files are strictly newer.
2515am_sleep_pid=
2516if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2517  ( sleep 1 ) &
2518  am_sleep_pid=$!
2519fi
2520
2521rm -f conftest.file
2522
2523test "$program_prefix" != NONE &&
2524  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2525# Use a double $ so make ignores it.
2526test "$program_suffix" != NONE &&
2527  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2528# Double any \ or $.
2529# By default was `s,x,x', remove it if useless.
2530ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2531program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2532
2533# Expand $ac_aux_dir to an absolute path.
2534am_aux_dir=`cd "$ac_aux_dir" && pwd`
2535
2536if test x"${MISSING+set}" != xset; then
2537  case $am_aux_dir in
2538  *\ * | *\	*)
2539    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2540  *)
2541    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2542  esac
2543fi
2544# Use eval to expand $SHELL
2545if eval "$MISSING --is-lightweight"; then
2546  am_missing_run="$MISSING "
2547else
2548  am_missing_run=
2549  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2550$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2551fi
2552
2553if test x"${install_sh+set}" != xset; then
2554  case $am_aux_dir in
2555  *\ * | *\	*)
2556    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2557  *)
2558    install_sh="\${SHELL} $am_aux_dir/install-sh"
2559  esac
2560fi
2561
2562# Installed binaries are usually stripped using 'strip' when the user
2563# run "make install-strip".  However 'strip' might not be the right
2564# tool to use in cross-compilation environments, therefore Automake
2565# will honor the 'STRIP' environment variable to overrule this program.
2566if test "$cross_compiling" != no; then
2567  if test -n "$ac_tool_prefix"; then
2568  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2569set dummy ${ac_tool_prefix}strip; ac_word=$2
2570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2571$as_echo_n "checking for $ac_word... " >&6; }
2572if ${ac_cv_prog_STRIP+:} false; then :
2573  $as_echo_n "(cached) " >&6
2574else
2575  if test -n "$STRIP"; then
2576  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2577else
2578as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2579for as_dir in $PATH
2580do
2581  IFS=$as_save_IFS
2582  test -z "$as_dir" && as_dir=.
2583    for ac_exec_ext in '' $ac_executable_extensions; do
2584  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2585    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2586    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2587    break 2
2588  fi
2589done
2590  done
2591IFS=$as_save_IFS
2592
2593fi
2594fi
2595STRIP=$ac_cv_prog_STRIP
2596if test -n "$STRIP"; then
2597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2598$as_echo "$STRIP" >&6; }
2599else
2600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601$as_echo "no" >&6; }
2602fi
2603
2604
2605fi
2606if test -z "$ac_cv_prog_STRIP"; then
2607  ac_ct_STRIP=$STRIP
2608  # Extract the first word of "strip", so it can be a program name with args.
2609set dummy strip; ac_word=$2
2610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2611$as_echo_n "checking for $ac_word... " >&6; }
2612if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2613  $as_echo_n "(cached) " >&6
2614else
2615  if test -n "$ac_ct_STRIP"; then
2616  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2617else
2618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2619for as_dir in $PATH
2620do
2621  IFS=$as_save_IFS
2622  test -z "$as_dir" && as_dir=.
2623    for ac_exec_ext in '' $ac_executable_extensions; do
2624  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2625    ac_cv_prog_ac_ct_STRIP="strip"
2626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2627    break 2
2628  fi
2629done
2630  done
2631IFS=$as_save_IFS
2632
2633fi
2634fi
2635ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2636if test -n "$ac_ct_STRIP"; then
2637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2638$as_echo "$ac_ct_STRIP" >&6; }
2639else
2640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2641$as_echo "no" >&6; }
2642fi
2643
2644  if test "x$ac_ct_STRIP" = x; then
2645    STRIP=":"
2646  else
2647    case $cross_compiling:$ac_tool_warned in
2648yes:)
2649{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2650$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2651ac_tool_warned=yes ;;
2652esac
2653    STRIP=$ac_ct_STRIP
2654  fi
2655else
2656  STRIP="$ac_cv_prog_STRIP"
2657fi
2658
2659fi
2660INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2661
2662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2663$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2664if test -z "$MKDIR_P"; then
2665  if ${ac_cv_path_mkdir+:} false; then :
2666  $as_echo_n "(cached) " >&6
2667else
2668  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2669for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2670do
2671  IFS=$as_save_IFS
2672  test -z "$as_dir" && as_dir=.
2673    for ac_prog in mkdir gmkdir; do
2674	 for ac_exec_ext in '' $ac_executable_extensions; do
2675	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2676	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2677	     'mkdir (GNU coreutils) '* | \
2678	     'mkdir (coreutils) '* | \
2679	     'mkdir (fileutils) '4.1*)
2680	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2681	       break 3;;
2682	   esac
2683	 done
2684       done
2685  done
2686IFS=$as_save_IFS
2687
2688fi
2689
2690  test -d ./--version && rmdir ./--version
2691  if test "${ac_cv_path_mkdir+set}" = set; then
2692    MKDIR_P="$ac_cv_path_mkdir -p"
2693  else
2694    # As a last resort, use the slow shell script.  Don't cache a
2695    # value for MKDIR_P within a source directory, because that will
2696    # break other packages using the cache if that directory is
2697    # removed, or if the value is a relative name.
2698    MKDIR_P="$ac_install_sh -d"
2699  fi
2700fi
2701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2702$as_echo "$MKDIR_P" >&6; }
2703
2704for ac_prog in gawk mawk nawk awk
2705do
2706  # Extract the first word of "$ac_prog", so it can be a program name with args.
2707set dummy $ac_prog; ac_word=$2
2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2709$as_echo_n "checking for $ac_word... " >&6; }
2710if ${ac_cv_prog_AWK+:} false; then :
2711  $as_echo_n "(cached) " >&6
2712else
2713  if test -n "$AWK"; then
2714  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2715else
2716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2717for as_dir in $PATH
2718do
2719  IFS=$as_save_IFS
2720  test -z "$as_dir" && as_dir=.
2721    for ac_exec_ext in '' $ac_executable_extensions; do
2722  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2723    ac_cv_prog_AWK="$ac_prog"
2724    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2725    break 2
2726  fi
2727done
2728  done
2729IFS=$as_save_IFS
2730
2731fi
2732fi
2733AWK=$ac_cv_prog_AWK
2734if test -n "$AWK"; then
2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2736$as_echo "$AWK" >&6; }
2737else
2738  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2739$as_echo "no" >&6; }
2740fi
2741
2742
2743  test -n "$AWK" && break
2744done
2745
2746{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2747$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2748set x ${MAKE-make}
2749ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2750if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2751  $as_echo_n "(cached) " >&6
2752else
2753  cat >conftest.make <<\_ACEOF
2754SHELL = /bin/sh
2755all:
2756	@echo '@@@%%%=$(MAKE)=@@@%%%'
2757_ACEOF
2758# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2759case `${MAKE-make} -f conftest.make 2>/dev/null` in
2760  *@@@%%%=?*=@@@%%%*)
2761    eval ac_cv_prog_make_${ac_make}_set=yes;;
2762  *)
2763    eval ac_cv_prog_make_${ac_make}_set=no;;
2764esac
2765rm -f conftest.make
2766fi
2767if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2768  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2769$as_echo "yes" >&6; }
2770  SET_MAKE=
2771else
2772  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2773$as_echo "no" >&6; }
2774  SET_MAKE="MAKE=${MAKE-make}"
2775fi
2776
2777rm -rf .tst 2>/dev/null
2778mkdir .tst 2>/dev/null
2779if test -d .tst; then
2780  am__leading_dot=.
2781else
2782  am__leading_dot=_
2783fi
2784rmdir .tst 2>/dev/null
2785
2786# Check whether --enable-silent-rules was given.
2787if test "${enable_silent_rules+set}" = set; then :
2788  enableval=$enable_silent_rules;
2789fi
2790
2791case $enable_silent_rules in # (((
2792  yes) AM_DEFAULT_VERBOSITY=0;;
2793   no) AM_DEFAULT_VERBOSITY=1;;
2794    *) AM_DEFAULT_VERBOSITY=1;;
2795esac
2796am_make=${MAKE-make}
2797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2798$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2799if ${am_cv_make_support_nested_variables+:} false; then :
2800  $as_echo_n "(cached) " >&6
2801else
2802  if $as_echo 'TRUE=$(BAR$(V))
2803BAR0=false
2804BAR1=true
2805V=1
2806am__doit:
2807	@$(TRUE)
2808.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2809  am_cv_make_support_nested_variables=yes
2810else
2811  am_cv_make_support_nested_variables=no
2812fi
2813fi
2814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2815$as_echo "$am_cv_make_support_nested_variables" >&6; }
2816if test $am_cv_make_support_nested_variables = yes; then
2817    AM_V='$(V)'
2818  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2819else
2820  AM_V=$AM_DEFAULT_VERBOSITY
2821  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2822fi
2823AM_BACKSLASH='\'
2824
2825if test "`cd $srcdir && pwd`" != "`pwd`"; then
2826  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2827  # is not polluted with repeated "-I."
2828  am__isrc=' -I$(srcdir)'
2829  # test to see if srcdir already configured
2830  if test -f $srcdir/config.status; then
2831    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2832  fi
2833fi
2834
2835# test whether we have cygpath
2836if test -z "$CYGPATH_W"; then
2837  if (cygpath --version) >/dev/null 2>/dev/null; then
2838    CYGPATH_W='cygpath -w'
2839  else
2840    CYGPATH_W=echo
2841  fi
2842fi
2843
2844
2845# Define the identity of the package.
2846 PACKAGE='sctplib'
2847 VERSION='1.0.26'
2848
2849
2850cat >>confdefs.h <<_ACEOF
2851#define PACKAGE "$PACKAGE"
2852_ACEOF
2853
2854
2855cat >>confdefs.h <<_ACEOF
2856#define VERSION "$VERSION"
2857_ACEOF
2858
2859# Some tools Automake needs.
2860
2861ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2862
2863
2864AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2865
2866
2867AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2868
2869
2870AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2871
2872
2873MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2874
2875# For better backward compatibility.  To be removed once Automake 1.9.x
2876# dies out for good.  For more background, see:
2877# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2878# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2879mkdir_p='$(MKDIR_P)'
2880
2881# We need awk for the "check" target (and possibly the TAP driver).  The
2882# system "awk" is bad on some platforms.
2883# Always define AMTAR for backward compatibility.  Yes, it's still used
2884# in the wild :-(  We should find a proper way to deprecate it ...
2885AMTAR='$${TAR-tar}'
2886
2887
2888# We'll loop over all known methods to create a tar archive until one works.
2889_am_tools='gnutar  pax cpio none'
2890
2891am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2892
2893
2894
2895
2896
2897
2898# POSIX will say in a future version that running "rm -f" with no argument
2899# is OK; and we want to be able to make that assumption in our Makefile
2900# recipes.  So use an aggressive probe to check that the usage we want is
2901# actually supported "in the wild" to an acceptable degree.
2902# See automake bug#10828.
2903# To make any issue more visible, cause the running configure to be aborted
2904# by default if the 'rm' program in use doesn't match our expectations; the
2905# user can still override this though.
2906if rm -f && rm -fr && rm -rf; then : OK; else
2907  cat >&2 <<'END'
2908Oops!
2909
2910Your 'rm' program seems unable to run without file operands specified
2911on the command line, even when the '-f' option is present.  This is contrary
2912to the behaviour of most rm programs out there, and not conforming with
2913the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2914
2915Please tell bug-automake@gnu.org about your system, including the value
2916of your $PATH and any error possibly output before this message.  This
2917can help us improve future automake versions.
2918
2919END
2920  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2921    echo 'Configuration will proceed anyway, since you have set the' >&2
2922    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2923    echo >&2
2924  else
2925    cat >&2 <<'END'
2926Aborting the configuration process, to ensure you take notice of the issue.
2927
2928You can download and install GNU coreutils to get an 'rm' implementation
2929that behaves properly: <https://www.gnu.org/software/coreutils/>.
2930
2931If you want to complete the configuration process using your problematic
2932'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2933to "yes", and re-run configure.
2934
2935END
2936    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2937  fi
2938fi
2939
2940
2941# Make sure we can run config.sub.
2942$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2943  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2944
2945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2946$as_echo_n "checking build system type... " >&6; }
2947if ${ac_cv_build+:} false; then :
2948  $as_echo_n "(cached) " >&6
2949else
2950  ac_build_alias=$build_alias
2951test "x$ac_build_alias" = x &&
2952  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2953test "x$ac_build_alias" = x &&
2954  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2955ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2956  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2957
2958fi
2959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2960$as_echo "$ac_cv_build" >&6; }
2961case $ac_cv_build in
2962*-*-*) ;;
2963*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2964esac
2965build=$ac_cv_build
2966ac_save_IFS=$IFS; IFS='-'
2967set x $ac_cv_build
2968shift
2969build_cpu=$1
2970build_vendor=$2
2971shift; shift
2972# Remember, the first character of IFS is used to create $*,
2973# except with old shells:
2974build_os=$*
2975IFS=$ac_save_IFS
2976case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2977
2978
2979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2980$as_echo_n "checking host system type... " >&6; }
2981if ${ac_cv_host+:} false; then :
2982  $as_echo_n "(cached) " >&6
2983else
2984  if test "x$host_alias" = x; then
2985  ac_cv_host=$ac_cv_build
2986else
2987  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2988    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2989fi
2990
2991fi
2992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2993$as_echo "$ac_cv_host" >&6; }
2994case $ac_cv_host in
2995*-*-*) ;;
2996*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2997esac
2998host=$ac_cv_host
2999ac_save_IFS=$IFS; IFS='-'
3000set x $ac_cv_host
3001shift
3002host_cpu=$1
3003host_vendor=$2
3004shift; shift
3005# Remember, the first character of IFS is used to create $*,
3006# except with old shells:
3007host_os=$*
3008IFS=$ac_save_IFS
3009case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3010
3011
3012
3013if test "x$prefix" = "xNONE"; then
3014  prefix=$ac_default_prefix
3015  ac_configure_args="$ac_configure_args --prefix $prefix"
3016fi
3017ac_config_headers="$ac_config_headers config.h"
3018
3019
3020
3021# ###### Checks for programs ################################################
3022ac_ext=c
3023ac_cpp='$CPP $CPPFLAGS'
3024ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3025ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3026ac_compiler_gnu=$ac_cv_c_compiler_gnu
3027if test -n "$ac_tool_prefix"; then
3028  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3029set dummy ${ac_tool_prefix}gcc; ac_word=$2
3030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3031$as_echo_n "checking for $ac_word... " >&6; }
3032if ${ac_cv_prog_CC+:} false; then :
3033  $as_echo_n "(cached) " >&6
3034else
3035  if test -n "$CC"; then
3036  ac_cv_prog_CC="$CC" # Let the user override the test.
3037else
3038as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039for as_dir in $PATH
3040do
3041  IFS=$as_save_IFS
3042  test -z "$as_dir" && as_dir=.
3043    for ac_exec_ext in '' $ac_executable_extensions; do
3044  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3045    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3046    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3047    break 2
3048  fi
3049done
3050  done
3051IFS=$as_save_IFS
3052
3053fi
3054fi
3055CC=$ac_cv_prog_CC
3056if test -n "$CC"; then
3057  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058$as_echo "$CC" >&6; }
3059else
3060  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061$as_echo "no" >&6; }
3062fi
3063
3064
3065fi
3066if test -z "$ac_cv_prog_CC"; then
3067  ac_ct_CC=$CC
3068  # Extract the first word of "gcc", so it can be a program name with args.
3069set dummy gcc; ac_word=$2
3070{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3071$as_echo_n "checking for $ac_word... " >&6; }
3072if ${ac_cv_prog_ac_ct_CC+:} false; then :
3073  $as_echo_n "(cached) " >&6
3074else
3075  if test -n "$ac_ct_CC"; then
3076  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3077else
3078as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3079for as_dir in $PATH
3080do
3081  IFS=$as_save_IFS
3082  test -z "$as_dir" && as_dir=.
3083    for ac_exec_ext in '' $ac_executable_extensions; do
3084  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3085    ac_cv_prog_ac_ct_CC="gcc"
3086    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3087    break 2
3088  fi
3089done
3090  done
3091IFS=$as_save_IFS
3092
3093fi
3094fi
3095ac_ct_CC=$ac_cv_prog_ac_ct_CC
3096if test -n "$ac_ct_CC"; then
3097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3098$as_echo "$ac_ct_CC" >&6; }
3099else
3100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3101$as_echo "no" >&6; }
3102fi
3103
3104  if test "x$ac_ct_CC" = x; then
3105    CC=""
3106  else
3107    case $cross_compiling:$ac_tool_warned in
3108yes:)
3109{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3110$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3111ac_tool_warned=yes ;;
3112esac
3113    CC=$ac_ct_CC
3114  fi
3115else
3116  CC="$ac_cv_prog_CC"
3117fi
3118
3119if test -z "$CC"; then
3120          if test -n "$ac_tool_prefix"; then
3121    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3122set dummy ${ac_tool_prefix}cc; ac_word=$2
3123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3124$as_echo_n "checking for $ac_word... " >&6; }
3125if ${ac_cv_prog_CC+:} false; then :
3126  $as_echo_n "(cached) " >&6
3127else
3128  if test -n "$CC"; then
3129  ac_cv_prog_CC="$CC" # Let the user override the test.
3130else
3131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3132for as_dir in $PATH
3133do
3134  IFS=$as_save_IFS
3135  test -z "$as_dir" && as_dir=.
3136    for ac_exec_ext in '' $ac_executable_extensions; do
3137  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3138    ac_cv_prog_CC="${ac_tool_prefix}cc"
3139    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3140    break 2
3141  fi
3142done
3143  done
3144IFS=$as_save_IFS
3145
3146fi
3147fi
3148CC=$ac_cv_prog_CC
3149if test -n "$CC"; then
3150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3151$as_echo "$CC" >&6; }
3152else
3153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3154$as_echo "no" >&6; }
3155fi
3156
3157
3158  fi
3159fi
3160if test -z "$CC"; then
3161  # Extract the first word of "cc", so it can be a program name with args.
3162set dummy cc; ac_word=$2
3163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3164$as_echo_n "checking for $ac_word... " >&6; }
3165if ${ac_cv_prog_CC+:} false; then :
3166  $as_echo_n "(cached) " >&6
3167else
3168  if test -n "$CC"; then
3169  ac_cv_prog_CC="$CC" # Let the user override the test.
3170else
3171  ac_prog_rejected=no
3172as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3173for as_dir in $PATH
3174do
3175  IFS=$as_save_IFS
3176  test -z "$as_dir" && as_dir=.
3177    for ac_exec_ext in '' $ac_executable_extensions; do
3178  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3179    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3180       ac_prog_rejected=yes
3181       continue
3182     fi
3183    ac_cv_prog_CC="cc"
3184    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3185    break 2
3186  fi
3187done
3188  done
3189IFS=$as_save_IFS
3190
3191if test $ac_prog_rejected = yes; then
3192  # We found a bogon in the path, so make sure we never use it.
3193  set dummy $ac_cv_prog_CC
3194  shift
3195  if test $# != 0; then
3196    # We chose a different compiler from the bogus one.
3197    # However, it has the same basename, so the bogon will be chosen
3198    # first if we set CC to just the basename; use the full file name.
3199    shift
3200    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3201  fi
3202fi
3203fi
3204fi
3205CC=$ac_cv_prog_CC
3206if test -n "$CC"; then
3207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3208$as_echo "$CC" >&6; }
3209else
3210  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3211$as_echo "no" >&6; }
3212fi
3213
3214
3215fi
3216if test -z "$CC"; then
3217  if test -n "$ac_tool_prefix"; then
3218  for ac_prog in cl.exe
3219  do
3220    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3221set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3223$as_echo_n "checking for $ac_word... " >&6; }
3224if ${ac_cv_prog_CC+:} false; then :
3225  $as_echo_n "(cached) " >&6
3226else
3227  if test -n "$CC"; then
3228  ac_cv_prog_CC="$CC" # Let the user override the test.
3229else
3230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231for as_dir in $PATH
3232do
3233  IFS=$as_save_IFS
3234  test -z "$as_dir" && as_dir=.
3235    for ac_exec_ext in '' $ac_executable_extensions; do
3236  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3237    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3238    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3239    break 2
3240  fi
3241done
3242  done
3243IFS=$as_save_IFS
3244
3245fi
3246fi
3247CC=$ac_cv_prog_CC
3248if test -n "$CC"; then
3249  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3250$as_echo "$CC" >&6; }
3251else
3252  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3253$as_echo "no" >&6; }
3254fi
3255
3256
3257    test -n "$CC" && break
3258  done
3259fi
3260if test -z "$CC"; then
3261  ac_ct_CC=$CC
3262  for ac_prog in cl.exe
3263do
3264  # Extract the first word of "$ac_prog", so it can be a program name with args.
3265set dummy $ac_prog; ac_word=$2
3266{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3267$as_echo_n "checking for $ac_word... " >&6; }
3268if ${ac_cv_prog_ac_ct_CC+:} false; then :
3269  $as_echo_n "(cached) " >&6
3270else
3271  if test -n "$ac_ct_CC"; then
3272  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3273else
3274as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3275for as_dir in $PATH
3276do
3277  IFS=$as_save_IFS
3278  test -z "$as_dir" && as_dir=.
3279    for ac_exec_ext in '' $ac_executable_extensions; do
3280  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3281    ac_cv_prog_ac_ct_CC="$ac_prog"
3282    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3283    break 2
3284  fi
3285done
3286  done
3287IFS=$as_save_IFS
3288
3289fi
3290fi
3291ac_ct_CC=$ac_cv_prog_ac_ct_CC
3292if test -n "$ac_ct_CC"; then
3293  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3294$as_echo "$ac_ct_CC" >&6; }
3295else
3296  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3297$as_echo "no" >&6; }
3298fi
3299
3300
3301  test -n "$ac_ct_CC" && break
3302done
3303
3304  if test "x$ac_ct_CC" = x; then
3305    CC=""
3306  else
3307    case $cross_compiling:$ac_tool_warned in
3308yes:)
3309{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3310$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3311ac_tool_warned=yes ;;
3312esac
3313    CC=$ac_ct_CC
3314  fi
3315fi
3316
3317fi
3318
3319
3320test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3322as_fn_error $? "no acceptable C compiler found in \$PATH
3323See \`config.log' for more details" "$LINENO" 5; }
3324
3325# Provide some information about the compiler.
3326$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3327set X $ac_compile
3328ac_compiler=$2
3329for ac_option in --version -v -V -qversion; do
3330  { { ac_try="$ac_compiler $ac_option >&5"
3331case "(($ac_try" in
3332  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333  *) ac_try_echo=$ac_try;;
3334esac
3335eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3336$as_echo "$ac_try_echo"; } >&5
3337  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3338  ac_status=$?
3339  if test -s conftest.err; then
3340    sed '10a\
3341... rest of stderr output deleted ...
3342         10q' conftest.err >conftest.er1
3343    cat conftest.er1 >&5
3344  fi
3345  rm -f conftest.er1 conftest.err
3346  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3347  test $ac_status = 0; }
3348done
3349
3350cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351/* end confdefs.h.  */
3352
3353int
3354main ()
3355{
3356
3357  ;
3358  return 0;
3359}
3360_ACEOF
3361ac_clean_files_save=$ac_clean_files
3362ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3363# Try to create an executable without -o first, disregard a.out.
3364# It will help us diagnose broken compilers, and finding out an intuition
3365# of exeext.
3366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3367$as_echo_n "checking whether the C compiler works... " >&6; }
3368ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3369
3370# The possible output files:
3371ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3372
3373ac_rmfiles=
3374for ac_file in $ac_files
3375do
3376  case $ac_file in
3377    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3378    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3379  esac
3380done
3381rm -f $ac_rmfiles
3382
3383if { { ac_try="$ac_link_default"
3384case "(($ac_try" in
3385  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3386  *) ac_try_echo=$ac_try;;
3387esac
3388eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389$as_echo "$ac_try_echo"; } >&5
3390  (eval "$ac_link_default") 2>&5
3391  ac_status=$?
3392  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393  test $ac_status = 0; }; then :
3394  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3395# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3396# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3397# so that the user can short-circuit this test for compilers unknown to
3398# Autoconf.
3399for ac_file in $ac_files ''
3400do
3401  test -f "$ac_file" || continue
3402  case $ac_file in
3403    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3404	;;
3405    [ab].out )
3406	# We found the default executable, but exeext='' is most
3407	# certainly right.
3408	break;;
3409    *.* )
3410	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3411	then :; else
3412	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3413	fi
3414	# We set ac_cv_exeext here because the later test for it is not
3415	# safe: cross compilers may not add the suffix if given an `-o'
3416	# argument, so we may need to know it at that point already.
3417	# Even if this section looks crufty: it has the advantage of
3418	# actually working.
3419	break;;
3420    * )
3421	break;;
3422  esac
3423done
3424test "$ac_cv_exeext" = no && ac_cv_exeext=
3425
3426else
3427  ac_file=''
3428fi
3429if test -z "$ac_file"; then :
3430  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431$as_echo "no" >&6; }
3432$as_echo "$as_me: failed program was:" >&5
3433sed 's/^/| /' conftest.$ac_ext >&5
3434
3435{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3436$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3437as_fn_error 77 "C compiler cannot create executables
3438See \`config.log' for more details" "$LINENO" 5; }
3439else
3440  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3441$as_echo "yes" >&6; }
3442fi
3443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3444$as_echo_n "checking for C compiler default output file name... " >&6; }
3445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3446$as_echo "$ac_file" >&6; }
3447ac_exeext=$ac_cv_exeext
3448
3449rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3450ac_clean_files=$ac_clean_files_save
3451{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3452$as_echo_n "checking for suffix of executables... " >&6; }
3453if { { ac_try="$ac_link"
3454case "(($ac_try" in
3455  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456  *) ac_try_echo=$ac_try;;
3457esac
3458eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3459$as_echo "$ac_try_echo"; } >&5
3460  (eval "$ac_link") 2>&5
3461  ac_status=$?
3462  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3463  test $ac_status = 0; }; then :
3464  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3465# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3466# work properly (i.e., refer to `conftest.exe'), while it won't with
3467# `rm'.
3468for ac_file in conftest.exe conftest conftest.*; do
3469  test -f "$ac_file" || continue
3470  case $ac_file in
3471    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3472    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3473	  break;;
3474    * ) break;;
3475  esac
3476done
3477else
3478  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3479$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3480as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3481See \`config.log' for more details" "$LINENO" 5; }
3482fi
3483rm -f conftest conftest$ac_cv_exeext
3484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3485$as_echo "$ac_cv_exeext" >&6; }
3486
3487rm -f conftest.$ac_ext
3488EXEEXT=$ac_cv_exeext
3489ac_exeext=$EXEEXT
3490cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3491/* end confdefs.h.  */
3492#include <stdio.h>
3493int
3494main ()
3495{
3496FILE *f = fopen ("conftest.out", "w");
3497 return ferror (f) || fclose (f) != 0;
3498
3499  ;
3500  return 0;
3501}
3502_ACEOF
3503ac_clean_files="$ac_clean_files conftest.out"
3504# Check that the compiler produces executables we can run.  If not, either
3505# the compiler is broken, or we cross compile.
3506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3507$as_echo_n "checking whether we are cross compiling... " >&6; }
3508if test "$cross_compiling" != yes; then
3509  { { ac_try="$ac_link"
3510case "(($ac_try" in
3511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3512  *) ac_try_echo=$ac_try;;
3513esac
3514eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3515$as_echo "$ac_try_echo"; } >&5
3516  (eval "$ac_link") 2>&5
3517  ac_status=$?
3518  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3519  test $ac_status = 0; }
3520  if { ac_try='./conftest$ac_cv_exeext'
3521  { { case "(($ac_try" in
3522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523  *) ac_try_echo=$ac_try;;
3524esac
3525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526$as_echo "$ac_try_echo"; } >&5
3527  (eval "$ac_try") 2>&5
3528  ac_status=$?
3529  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530  test $ac_status = 0; }; }; then
3531    cross_compiling=no
3532  else
3533    if test "$cross_compiling" = maybe; then
3534	cross_compiling=yes
3535    else
3536	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3538as_fn_error $? "cannot run C compiled programs.
3539If you meant to cross compile, use \`--host'.
3540See \`config.log' for more details" "$LINENO" 5; }
3541    fi
3542  fi
3543fi
3544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3545$as_echo "$cross_compiling" >&6; }
3546
3547rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3548ac_clean_files=$ac_clean_files_save
3549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3550$as_echo_n "checking for suffix of object files... " >&6; }
3551if ${ac_cv_objext+:} false; then :
3552  $as_echo_n "(cached) " >&6
3553else
3554  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3555/* end confdefs.h.  */
3556
3557int
3558main ()
3559{
3560
3561  ;
3562  return 0;
3563}
3564_ACEOF
3565rm -f conftest.o conftest.obj
3566if { { ac_try="$ac_compile"
3567case "(($ac_try" in
3568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569  *) ac_try_echo=$ac_try;;
3570esac
3571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572$as_echo "$ac_try_echo"; } >&5
3573  (eval "$ac_compile") 2>&5
3574  ac_status=$?
3575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576  test $ac_status = 0; }; then :
3577  for ac_file in conftest.o conftest.obj conftest.*; do
3578  test -f "$ac_file" || continue;
3579  case $ac_file in
3580    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3581    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3582       break;;
3583  esac
3584done
3585else
3586  $as_echo "$as_me: failed program was:" >&5
3587sed 's/^/| /' conftest.$ac_ext >&5
3588
3589{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3590$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3591as_fn_error $? "cannot compute suffix of object files: cannot compile
3592See \`config.log' for more details" "$LINENO" 5; }
3593fi
3594rm -f conftest.$ac_cv_objext conftest.$ac_ext
3595fi
3596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3597$as_echo "$ac_cv_objext" >&6; }
3598OBJEXT=$ac_cv_objext
3599ac_objext=$OBJEXT
3600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3601$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3602if ${ac_cv_c_compiler_gnu+:} false; then :
3603  $as_echo_n "(cached) " >&6
3604else
3605  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606/* end confdefs.h.  */
3607
3608int
3609main ()
3610{
3611#ifndef __GNUC__
3612       choke me
3613#endif
3614
3615  ;
3616  return 0;
3617}
3618_ACEOF
3619if ac_fn_c_try_compile "$LINENO"; then :
3620  ac_compiler_gnu=yes
3621else
3622  ac_compiler_gnu=no
3623fi
3624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3625ac_cv_c_compiler_gnu=$ac_compiler_gnu
3626
3627fi
3628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3629$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3630if test $ac_compiler_gnu = yes; then
3631  GCC=yes
3632else
3633  GCC=
3634fi
3635ac_test_CFLAGS=${CFLAGS+set}
3636ac_save_CFLAGS=$CFLAGS
3637{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3638$as_echo_n "checking whether $CC accepts -g... " >&6; }
3639if ${ac_cv_prog_cc_g+:} false; then :
3640  $as_echo_n "(cached) " >&6
3641else
3642  ac_save_c_werror_flag=$ac_c_werror_flag
3643   ac_c_werror_flag=yes
3644   ac_cv_prog_cc_g=no
3645   CFLAGS="-g"
3646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3647/* end confdefs.h.  */
3648
3649int
3650main ()
3651{
3652
3653  ;
3654  return 0;
3655}
3656_ACEOF
3657if ac_fn_c_try_compile "$LINENO"; then :
3658  ac_cv_prog_cc_g=yes
3659else
3660  CFLAGS=""
3661      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3662/* end confdefs.h.  */
3663
3664int
3665main ()
3666{
3667
3668  ;
3669  return 0;
3670}
3671_ACEOF
3672if ac_fn_c_try_compile "$LINENO"; then :
3673
3674else
3675  ac_c_werror_flag=$ac_save_c_werror_flag
3676	 CFLAGS="-g"
3677	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3678/* end confdefs.h.  */
3679
3680int
3681main ()
3682{
3683
3684  ;
3685  return 0;
3686}
3687_ACEOF
3688if ac_fn_c_try_compile "$LINENO"; then :
3689  ac_cv_prog_cc_g=yes
3690fi
3691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3692fi
3693rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3694fi
3695rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3696   ac_c_werror_flag=$ac_save_c_werror_flag
3697fi
3698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3699$as_echo "$ac_cv_prog_cc_g" >&6; }
3700if test "$ac_test_CFLAGS" = set; then
3701  CFLAGS=$ac_save_CFLAGS
3702elif test $ac_cv_prog_cc_g = yes; then
3703  if test "$GCC" = yes; then
3704    CFLAGS="-g -O2"
3705  else
3706    CFLAGS="-g"
3707  fi
3708else
3709  if test "$GCC" = yes; then
3710    CFLAGS="-O2"
3711  else
3712    CFLAGS=
3713  fi
3714fi
3715{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3716$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3717if ${ac_cv_prog_cc_c89+:} false; then :
3718  $as_echo_n "(cached) " >&6
3719else
3720  ac_cv_prog_cc_c89=no
3721ac_save_CC=$CC
3722cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3723/* end confdefs.h.  */
3724#include <stdarg.h>
3725#include <stdio.h>
3726struct stat;
3727/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3728struct buf { int x; };
3729FILE * (*rcsopen) (struct buf *, struct stat *, int);
3730static char *e (p, i)
3731     char **p;
3732     int i;
3733{
3734  return p[i];
3735}
3736static char *f (char * (*g) (char **, int), char **p, ...)
3737{
3738  char *s;
3739  va_list v;
3740  va_start (v,p);
3741  s = g (p, va_arg (v,int));
3742  va_end (v);
3743  return s;
3744}
3745
3746/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3747   function prototypes and stuff, but not '\xHH' hex character constants.
3748   These don't provoke an error unfortunately, instead are silently treated
3749   as 'x'.  The following induces an error, until -std is added to get
3750   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3751   array size at least.  It's necessary to write '\x00'==0 to get something
3752   that's true only with -std.  */
3753int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3754
3755/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3756   inside strings and character constants.  */
3757#define FOO(x) 'x'
3758int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3759
3760int test (int i, double x);
3761struct s1 {int (*f) (int a);};
3762struct s2 {int (*f) (double a);};
3763int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3764int argc;
3765char **argv;
3766int
3767main ()
3768{
3769return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3770  ;
3771  return 0;
3772}
3773_ACEOF
3774for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3775	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3776do
3777  CC="$ac_save_CC $ac_arg"
3778  if ac_fn_c_try_compile "$LINENO"; then :
3779  ac_cv_prog_cc_c89=$ac_arg
3780fi
3781rm -f core conftest.err conftest.$ac_objext
3782  test "x$ac_cv_prog_cc_c89" != "xno" && break
3783done
3784rm -f conftest.$ac_ext
3785CC=$ac_save_CC
3786
3787fi
3788# AC_CACHE_VAL
3789case "x$ac_cv_prog_cc_c89" in
3790  x)
3791    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3792$as_echo "none needed" >&6; } ;;
3793  xno)
3794    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3795$as_echo "unsupported" >&6; } ;;
3796  *)
3797    CC="$CC $ac_cv_prog_cc_c89"
3798    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3799$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3800esac
3801if test "x$ac_cv_prog_cc_c89" != xno; then :
3802
3803fi
3804
3805ac_ext=c
3806ac_cpp='$CPP $CPPFLAGS'
3807ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3808ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3809ac_compiler_gnu=$ac_cv_c_compiler_gnu
3810
3811ac_ext=c
3812ac_cpp='$CPP $CPPFLAGS'
3813ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3814ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3815ac_compiler_gnu=$ac_cv_c_compiler_gnu
3816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3817$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3818if ${am_cv_prog_cc_c_o+:} false; then :
3819  $as_echo_n "(cached) " >&6
3820else
3821  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822/* end confdefs.h.  */
3823
3824int
3825main ()
3826{
3827
3828  ;
3829  return 0;
3830}
3831_ACEOF
3832  # Make sure it works both with $CC and with simple cc.
3833  # Following AC_PROG_CC_C_O, we do the test twice because some
3834  # compilers refuse to overwrite an existing .o file with -o,
3835  # though they will create one.
3836  am_cv_prog_cc_c_o=yes
3837  for am_i in 1 2; do
3838    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3839   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3840   ac_status=$?
3841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3842   (exit $ac_status); } \
3843         && test -f conftest2.$ac_objext; then
3844      : OK
3845    else
3846      am_cv_prog_cc_c_o=no
3847      break
3848    fi
3849  done
3850  rm -f core conftest*
3851  unset am_i
3852fi
3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3854$as_echo "$am_cv_prog_cc_c_o" >&6; }
3855if test "$am_cv_prog_cc_c_o" != yes; then
3856   # Losing compiler, so override with the script.
3857   # FIXME: It is wrong to rewrite CC.
3858   # But if we don't then we get into trouble of one sort or another.
3859   # A longer-term fix would be to have automake use am__CC in this case,
3860   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3861   CC="$am_aux_dir/compile $CC"
3862fi
3863ac_ext=c
3864ac_cpp='$CPP $CPPFLAGS'
3865ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3866ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3867ac_compiler_gnu=$ac_cv_c_compiler_gnu
3868
3869DEPDIR="${am__leading_dot}deps"
3870
3871ac_config_commands="$ac_config_commands depfiles"
3872
3873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3874$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3875cat > confinc.mk << 'END'
3876am__doit:
3877	@echo this is the am__doit target >confinc.out
3878.PHONY: am__doit
3879END
3880am__include="#"
3881am__quote=
3882# BSD make does it like this.
3883echo '.include "confinc.mk" # ignored' > confmf.BSD
3884# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3885echo 'include confinc.mk # ignored' > confmf.GNU
3886_am_result=no
3887for s in GNU BSD; do
3888  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3889   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3890   ac_status=$?
3891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892   (exit $ac_status); }
3893  case $?:`cat confinc.out 2>/dev/null` in #(
3894  '0:this is the am__doit target') :
3895    case $s in #(
3896  BSD) :
3897    am__include='.include' am__quote='"' ;; #(
3898  *) :
3899    am__include='include' am__quote='' ;;
3900esac ;; #(
3901  *) :
3902     ;;
3903esac
3904  if test "$am__include" != "#"; then
3905    _am_result="yes ($s style)"
3906    break
3907  fi
3908done
3909rm -f confinc.* confmf.*
3910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3911$as_echo "${_am_result}" >&6; }
3912
3913# Check whether --enable-dependency-tracking was given.
3914if test "${enable_dependency_tracking+set}" = set; then :
3915  enableval=$enable_dependency_tracking;
3916fi
3917
3918if test "x$enable_dependency_tracking" != xno; then
3919  am_depcomp="$ac_aux_dir/depcomp"
3920  AMDEPBACKSLASH='\'
3921  am__nodep='_no'
3922fi
3923 if test "x$enable_dependency_tracking" != xno; then
3924  AMDEP_TRUE=
3925  AMDEP_FALSE='#'
3926else
3927  AMDEP_TRUE='#'
3928  AMDEP_FALSE=
3929fi
3930
3931
3932
3933depcc="$CC"   am_compiler_list=
3934
3935{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3936$as_echo_n "checking dependency style of $depcc... " >&6; }
3937if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3938  $as_echo_n "(cached) " >&6
3939else
3940  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3941  # We make a subdir and do the tests there.  Otherwise we can end up
3942  # making bogus files that we don't know about and never remove.  For
3943  # instance it was reported that on HP-UX the gcc test will end up
3944  # making a dummy file named 'D' -- because '-MD' means "put the output
3945  # in D".
3946  rm -rf conftest.dir
3947  mkdir conftest.dir
3948  # Copy depcomp to subdir because otherwise we won't find it if we're
3949  # using a relative directory.
3950  cp "$am_depcomp" conftest.dir
3951  cd conftest.dir
3952  # We will build objects and dependencies in a subdirectory because
3953  # it helps to detect inapplicable dependency modes.  For instance
3954  # both Tru64's cc and ICC support -MD to output dependencies as a
3955  # side effect of compilation, but ICC will put the dependencies in
3956  # the current directory while Tru64 will put them in the object
3957  # directory.
3958  mkdir sub
3959
3960  am_cv_CC_dependencies_compiler_type=none
3961  if test "$am_compiler_list" = ""; then
3962     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3963  fi
3964  am__universal=false
3965  case " $depcc " in #(
3966     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3967     esac
3968
3969  for depmode in $am_compiler_list; do
3970    # Setup a source with many dependencies, because some compilers
3971    # like to wrap large dependency lists on column 80 (with \), and
3972    # we should not choose a depcomp mode which is confused by this.
3973    #
3974    # We need to recreate these files for each test, as the compiler may
3975    # overwrite some of them when testing with obscure command lines.
3976    # This happens at least with the AIX C compiler.
3977    : > sub/conftest.c
3978    for i in 1 2 3 4 5 6; do
3979      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3980      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3981      # Solaris 10 /bin/sh.
3982      echo '/* dummy */' > sub/conftst$i.h
3983    done
3984    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3985
3986    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3987    # mode.  It turns out that the SunPro C++ compiler does not properly
3988    # handle '-M -o', and we need to detect this.  Also, some Intel
3989    # versions had trouble with output in subdirs.
3990    am__obj=sub/conftest.${OBJEXT-o}
3991    am__minus_obj="-o $am__obj"
3992    case $depmode in
3993    gcc)
3994      # This depmode causes a compiler race in universal mode.
3995      test "$am__universal" = false || continue
3996      ;;
3997    nosideeffect)
3998      # After this tag, mechanisms are not by side-effect, so they'll
3999      # only be used when explicitly requested.
4000      if test "x$enable_dependency_tracking" = xyes; then
4001	continue
4002      else
4003	break
4004      fi
4005      ;;
4006    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4007      # This compiler won't grok '-c -o', but also, the minuso test has
4008      # not run yet.  These depmodes are late enough in the game, and
4009      # so weak that their functioning should not be impacted.
4010      am__obj=conftest.${OBJEXT-o}
4011      am__minus_obj=
4012      ;;
4013    none) break ;;
4014    esac
4015    if depmode=$depmode \
4016       source=sub/conftest.c object=$am__obj \
4017       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4018       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4019         >/dev/null 2>conftest.err &&
4020       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4021       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4022       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4023       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4024      # icc doesn't choke on unknown options, it will just issue warnings
4025      # or remarks (even with -Werror).  So we grep stderr for any message
4026      # that says an option was ignored or not supported.
4027      # When given -MP, icc 7.0 and 7.1 complain thusly:
4028      #   icc: Command line warning: ignoring option '-M'; no argument required
4029      # The diagnosis changed in icc 8.0:
4030      #   icc: Command line remark: option '-MP' not supported
4031      if (grep 'ignoring option' conftest.err ||
4032          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4033        am_cv_CC_dependencies_compiler_type=$depmode
4034        break
4035      fi
4036    fi
4037  done
4038
4039  cd ..
4040  rm -rf conftest.dir
4041else
4042  am_cv_CC_dependencies_compiler_type=none
4043fi
4044
4045fi
4046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4047$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4048CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4049
4050 if
4051  test "x$enable_dependency_tracking" != xno \
4052  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4053  am__fastdepCC_TRUE=
4054  am__fastdepCC_FALSE='#'
4055else
4056  am__fastdepCC_TRUE='#'
4057  am__fastdepCC_FALSE=
4058fi
4059
4060
4061case `pwd` in
4062  *\ * | *\	*)
4063    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4064$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4065esac
4066
4067
4068
4069macro_version='2.4.6'
4070macro_revision='2.4.6'
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084ltmain=$ac_aux_dir/ltmain.sh
4085
4086# Backslashify metacharacters that are still active within
4087# double-quoted strings.
4088sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4089
4090# Same as above, but do not quote variable references.
4091double_quote_subst='s/\(["`\\]\)/\\\1/g'
4092
4093# Sed substitution to delay expansion of an escaped shell variable in a
4094# double_quote_subst'ed string.
4095delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4096
4097# Sed substitution to delay expansion of an escaped single quote.
4098delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4099
4100# Sed substitution to avoid accidental globbing in evaled expressions
4101no_glob_subst='s/\*/\\\*/g'
4102
4103ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4104ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4105ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4106
4107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4108$as_echo_n "checking how to print strings... " >&6; }
4109# Test print first, because it will be a builtin if present.
4110if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4111   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4112  ECHO='print -r --'
4113elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4114  ECHO='printf %s\n'
4115else
4116  # Use this function as a fallback that always works.
4117  func_fallback_echo ()
4118  {
4119    eval 'cat <<_LTECHO_EOF
4120$1
4121_LTECHO_EOF'
4122  }
4123  ECHO='func_fallback_echo'
4124fi
4125
4126# func_echo_all arg...
4127# Invoke $ECHO with all args, space-separated.
4128func_echo_all ()
4129{
4130    $ECHO ""
4131}
4132
4133case $ECHO in
4134  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4135$as_echo "printf" >&6; } ;;
4136  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
4137$as_echo "print -r" >&6; } ;;
4138  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
4139$as_echo "cat" >&6; } ;;
4140esac
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4156$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4157if ${ac_cv_path_SED+:} false; then :
4158  $as_echo_n "(cached) " >&6
4159else
4160            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4161     for ac_i in 1 2 3 4 5 6 7; do
4162       ac_script="$ac_script$as_nl$ac_script"
4163     done
4164     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4165     { ac_script=; unset ac_script;}
4166     if test -z "$SED"; then
4167  ac_path_SED_found=false
4168  # Loop through the user's path and test for each of PROGNAME-LIST
4169  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4170for as_dir in $PATH
4171do
4172  IFS=$as_save_IFS
4173  test -z "$as_dir" && as_dir=.
4174    for ac_prog in sed gsed; do
4175    for ac_exec_ext in '' $ac_executable_extensions; do
4176      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4177      as_fn_executable_p "$ac_path_SED" || continue
4178# Check for GNU ac_path_SED and select it if it is found.
4179  # Check for GNU $ac_path_SED
4180case `"$ac_path_SED" --version 2>&1` in
4181*GNU*)
4182  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4183*)
4184  ac_count=0
4185  $as_echo_n 0123456789 >"conftest.in"
4186  while :
4187  do
4188    cat "conftest.in" "conftest.in" >"conftest.tmp"
4189    mv "conftest.tmp" "conftest.in"
4190    cp "conftest.in" "conftest.nl"
4191    $as_echo '' >> "conftest.nl"
4192    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4193    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4194    as_fn_arith $ac_count + 1 && ac_count=$as_val
4195    if test $ac_count -gt ${ac_path_SED_max-0}; then
4196      # Best one so far, save it but keep looking for a better one
4197      ac_cv_path_SED="$ac_path_SED"
4198      ac_path_SED_max=$ac_count
4199    fi
4200    # 10*(2^10) chars as input seems more than enough
4201    test $ac_count -gt 10 && break
4202  done
4203  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204esac
4205
4206      $ac_path_SED_found && break 3
4207    done
4208  done
4209  done
4210IFS=$as_save_IFS
4211  if test -z "$ac_cv_path_SED"; then
4212    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4213  fi
4214else
4215  ac_cv_path_SED=$SED
4216fi
4217
4218fi
4219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4220$as_echo "$ac_cv_path_SED" >&6; }
4221 SED="$ac_cv_path_SED"
4222  rm -f conftest.sed
4223
4224test -z "$SED" && SED=sed
4225Xsed="$SED -e 1s/^X//"
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4238$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4239if ${ac_cv_path_GREP+:} false; then :
4240  $as_echo_n "(cached) " >&6
4241else
4242  if test -z "$GREP"; then
4243  ac_path_GREP_found=false
4244  # Loop through the user's path and test for each of PROGNAME-LIST
4245  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4246for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4247do
4248  IFS=$as_save_IFS
4249  test -z "$as_dir" && as_dir=.
4250    for ac_prog in grep ggrep; do
4251    for ac_exec_ext in '' $ac_executable_extensions; do
4252      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4253      as_fn_executable_p "$ac_path_GREP" || continue
4254# Check for GNU ac_path_GREP and select it if it is found.
4255  # Check for GNU $ac_path_GREP
4256case `"$ac_path_GREP" --version 2>&1` in
4257*GNU*)
4258  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4259*)
4260  ac_count=0
4261  $as_echo_n 0123456789 >"conftest.in"
4262  while :
4263  do
4264    cat "conftest.in" "conftest.in" >"conftest.tmp"
4265    mv "conftest.tmp" "conftest.in"
4266    cp "conftest.in" "conftest.nl"
4267    $as_echo 'GREP' >> "conftest.nl"
4268    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4269    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4270    as_fn_arith $ac_count + 1 && ac_count=$as_val
4271    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4272      # Best one so far, save it but keep looking for a better one
4273      ac_cv_path_GREP="$ac_path_GREP"
4274      ac_path_GREP_max=$ac_count
4275    fi
4276    # 10*(2^10) chars as input seems more than enough
4277    test $ac_count -gt 10 && break
4278  done
4279  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4280esac
4281
4282      $ac_path_GREP_found && break 3
4283    done
4284  done
4285  done
4286IFS=$as_save_IFS
4287  if test -z "$ac_cv_path_GREP"; then
4288    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4289  fi
4290else
4291  ac_cv_path_GREP=$GREP
4292fi
4293
4294fi
4295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4296$as_echo "$ac_cv_path_GREP" >&6; }
4297 GREP="$ac_cv_path_GREP"
4298
4299
4300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4301$as_echo_n "checking for egrep... " >&6; }
4302if ${ac_cv_path_EGREP+:} false; then :
4303  $as_echo_n "(cached) " >&6
4304else
4305  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4306   then ac_cv_path_EGREP="$GREP -E"
4307   else
4308     if test -z "$EGREP"; then
4309  ac_path_EGREP_found=false
4310  # Loop through the user's path and test for each of PROGNAME-LIST
4311  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4312for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4313do
4314  IFS=$as_save_IFS
4315  test -z "$as_dir" && as_dir=.
4316    for ac_prog in egrep; do
4317    for ac_exec_ext in '' $ac_executable_extensions; do
4318      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4319      as_fn_executable_p "$ac_path_EGREP" || continue
4320# Check for GNU ac_path_EGREP and select it if it is found.
4321  # Check for GNU $ac_path_EGREP
4322case `"$ac_path_EGREP" --version 2>&1` in
4323*GNU*)
4324  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4325*)
4326  ac_count=0
4327  $as_echo_n 0123456789 >"conftest.in"
4328  while :
4329  do
4330    cat "conftest.in" "conftest.in" >"conftest.tmp"
4331    mv "conftest.tmp" "conftest.in"
4332    cp "conftest.in" "conftest.nl"
4333    $as_echo 'EGREP' >> "conftest.nl"
4334    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4335    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4336    as_fn_arith $ac_count + 1 && ac_count=$as_val
4337    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4338      # Best one so far, save it but keep looking for a better one
4339      ac_cv_path_EGREP="$ac_path_EGREP"
4340      ac_path_EGREP_max=$ac_count
4341    fi
4342    # 10*(2^10) chars as input seems more than enough
4343    test $ac_count -gt 10 && break
4344  done
4345  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4346esac
4347
4348      $ac_path_EGREP_found && break 3
4349    done
4350  done
4351  done
4352IFS=$as_save_IFS
4353  if test -z "$ac_cv_path_EGREP"; then
4354    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4355  fi
4356else
4357  ac_cv_path_EGREP=$EGREP
4358fi
4359
4360   fi
4361fi
4362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4363$as_echo "$ac_cv_path_EGREP" >&6; }
4364 EGREP="$ac_cv_path_EGREP"
4365
4366
4367{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4368$as_echo_n "checking for fgrep... " >&6; }
4369if ${ac_cv_path_FGREP+:} false; then :
4370  $as_echo_n "(cached) " >&6
4371else
4372  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4373   then ac_cv_path_FGREP="$GREP -F"
4374   else
4375     if test -z "$FGREP"; then
4376  ac_path_FGREP_found=false
4377  # Loop through the user's path and test for each of PROGNAME-LIST
4378  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4379for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4380do
4381  IFS=$as_save_IFS
4382  test -z "$as_dir" && as_dir=.
4383    for ac_prog in fgrep; do
4384    for ac_exec_ext in '' $ac_executable_extensions; do
4385      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4386      as_fn_executable_p "$ac_path_FGREP" || continue
4387# Check for GNU ac_path_FGREP and select it if it is found.
4388  # Check for GNU $ac_path_FGREP
4389case `"$ac_path_FGREP" --version 2>&1` in
4390*GNU*)
4391  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4392*)
4393  ac_count=0
4394  $as_echo_n 0123456789 >"conftest.in"
4395  while :
4396  do
4397    cat "conftest.in" "conftest.in" >"conftest.tmp"
4398    mv "conftest.tmp" "conftest.in"
4399    cp "conftest.in" "conftest.nl"
4400    $as_echo 'FGREP' >> "conftest.nl"
4401    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4402    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4403    as_fn_arith $ac_count + 1 && ac_count=$as_val
4404    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4405      # Best one so far, save it but keep looking for a better one
4406      ac_cv_path_FGREP="$ac_path_FGREP"
4407      ac_path_FGREP_max=$ac_count
4408    fi
4409    # 10*(2^10) chars as input seems more than enough
4410    test $ac_count -gt 10 && break
4411  done
4412  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4413esac
4414
4415      $ac_path_FGREP_found && break 3
4416    done
4417  done
4418  done
4419IFS=$as_save_IFS
4420  if test -z "$ac_cv_path_FGREP"; then
4421    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4422  fi
4423else
4424  ac_cv_path_FGREP=$FGREP
4425fi
4426
4427   fi
4428fi
4429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4430$as_echo "$ac_cv_path_FGREP" >&6; }
4431 FGREP="$ac_cv_path_FGREP"
4432
4433
4434test -z "$GREP" && GREP=grep
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454# Check whether --with-gnu-ld was given.
4455if test "${with_gnu_ld+set}" = set; then :
4456  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4457else
4458  with_gnu_ld=no
4459fi
4460
4461ac_prog=ld
4462if test yes = "$GCC"; then
4463  # Check if gcc -print-prog-name=ld gives a path.
4464  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4465$as_echo_n "checking for ld used by $CC... " >&6; }
4466  case $host in
4467  *-*-mingw*)
4468    # gcc leaves a trailing carriage return, which upsets mingw
4469    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4470  *)
4471    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4472  esac
4473  case $ac_prog in
4474    # Accept absolute paths.
4475    [\\/]* | ?:[\\/]*)
4476      re_direlt='/[^/][^/]*/\.\./'
4477      # Canonicalize the pathname of ld
4478      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4479      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4480	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4481      done
4482      test -z "$LD" && LD=$ac_prog
4483      ;;
4484  "")
4485    # If it fails, then pretend we aren't using GCC.
4486    ac_prog=ld
4487    ;;
4488  *)
4489    # If it is relative, then search for the first ld in PATH.
4490    with_gnu_ld=unknown
4491    ;;
4492  esac
4493elif test yes = "$with_gnu_ld"; then
4494  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4495$as_echo_n "checking for GNU ld... " >&6; }
4496else
4497  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4498$as_echo_n "checking for non-GNU ld... " >&6; }
4499fi
4500if ${lt_cv_path_LD+:} false; then :
4501  $as_echo_n "(cached) " >&6
4502else
4503  if test -z "$LD"; then
4504  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4505  for ac_dir in $PATH; do
4506    IFS=$lt_save_ifs
4507    test -z "$ac_dir" && ac_dir=.
4508    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4509      lt_cv_path_LD=$ac_dir/$ac_prog
4510      # Check to see if the program is GNU ld.  I'd rather use --version,
4511      # but apparently some variants of GNU ld only accept -v.
4512      # Break only if it was the GNU/non-GNU ld that we prefer.
4513      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4514      *GNU* | *'with BFD'*)
4515	test no != "$with_gnu_ld" && break
4516	;;
4517      *)
4518	test yes != "$with_gnu_ld" && break
4519	;;
4520      esac
4521    fi
4522  done
4523  IFS=$lt_save_ifs
4524else
4525  lt_cv_path_LD=$LD # Let the user override the test with a path.
4526fi
4527fi
4528
4529LD=$lt_cv_path_LD
4530if test -n "$LD"; then
4531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4532$as_echo "$LD" >&6; }
4533else
4534  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535$as_echo "no" >&6; }
4536fi
4537test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4539$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4540if ${lt_cv_prog_gnu_ld+:} false; then :
4541  $as_echo_n "(cached) " >&6
4542else
4543  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4544case `$LD -v 2>&1 </dev/null` in
4545*GNU* | *'with BFD'*)
4546  lt_cv_prog_gnu_ld=yes
4547  ;;
4548*)
4549  lt_cv_prog_gnu_ld=no
4550  ;;
4551esac
4552fi
4553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4554$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4555with_gnu_ld=$lt_cv_prog_gnu_ld
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4566$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4567if ${lt_cv_path_NM+:} false; then :
4568  $as_echo_n "(cached) " >&6
4569else
4570  if test -n "$NM"; then
4571  # Let the user override the test.
4572  lt_cv_path_NM=$NM
4573else
4574  lt_nm_to_check=${ac_tool_prefix}nm
4575  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4576    lt_nm_to_check="$lt_nm_to_check nm"
4577  fi
4578  for lt_tmp_nm in $lt_nm_to_check; do
4579    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4580    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4581      IFS=$lt_save_ifs
4582      test -z "$ac_dir" && ac_dir=.
4583      tmp_nm=$ac_dir/$lt_tmp_nm
4584      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4585	# Check to see if the nm accepts a BSD-compat flag.
4586	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4587	#   nm: unknown option "B" ignored
4588	# Tru64's nm complains that /dev/null is an invalid object file
4589	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4590	case $build_os in
4591	mingw*) lt_bad_file=conftest.nm/nofile ;;
4592	*) lt_bad_file=/dev/null ;;
4593	esac
4594	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4595	*$lt_bad_file* | *'Invalid file or object type'*)
4596	  lt_cv_path_NM="$tmp_nm -B"
4597	  break 2
4598	  ;;
4599	*)
4600	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4601	  */dev/null*)
4602	    lt_cv_path_NM="$tmp_nm -p"
4603	    break 2
4604	    ;;
4605	  *)
4606	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4607	    continue # so that we can try to find one that supports BSD flags
4608	    ;;
4609	  esac
4610	  ;;
4611	esac
4612      fi
4613    done
4614    IFS=$lt_save_ifs
4615  done
4616  : ${lt_cv_path_NM=no}
4617fi
4618fi
4619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4620$as_echo "$lt_cv_path_NM" >&6; }
4621if test no != "$lt_cv_path_NM"; then
4622  NM=$lt_cv_path_NM
4623else
4624  # Didn't find any BSD compatible name lister, look for dumpbin.
4625  if test -n "$DUMPBIN"; then :
4626    # Let the user override the test.
4627  else
4628    if test -n "$ac_tool_prefix"; then
4629  for ac_prog in dumpbin "link -dump"
4630  do
4631    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4632set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634$as_echo_n "checking for $ac_word... " >&6; }
4635if ${ac_cv_prog_DUMPBIN+:} false; then :
4636  $as_echo_n "(cached) " >&6
4637else
4638  if test -n "$DUMPBIN"; then
4639  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4640else
4641as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4642for as_dir in $PATH
4643do
4644  IFS=$as_save_IFS
4645  test -z "$as_dir" && as_dir=.
4646    for ac_exec_ext in '' $ac_executable_extensions; do
4647  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4648    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4649    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4650    break 2
4651  fi
4652done
4653  done
4654IFS=$as_save_IFS
4655
4656fi
4657fi
4658DUMPBIN=$ac_cv_prog_DUMPBIN
4659if test -n "$DUMPBIN"; then
4660  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4661$as_echo "$DUMPBIN" >&6; }
4662else
4663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664$as_echo "no" >&6; }
4665fi
4666
4667
4668    test -n "$DUMPBIN" && break
4669  done
4670fi
4671if test -z "$DUMPBIN"; then
4672  ac_ct_DUMPBIN=$DUMPBIN
4673  for ac_prog in dumpbin "link -dump"
4674do
4675  # Extract the first word of "$ac_prog", so it can be a program name with args.
4676set dummy $ac_prog; ac_word=$2
4677{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4678$as_echo_n "checking for $ac_word... " >&6; }
4679if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4680  $as_echo_n "(cached) " >&6
4681else
4682  if test -n "$ac_ct_DUMPBIN"; then
4683  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4684else
4685as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686for as_dir in $PATH
4687do
4688  IFS=$as_save_IFS
4689  test -z "$as_dir" && as_dir=.
4690    for ac_exec_ext in '' $ac_executable_extensions; do
4691  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4692    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4693    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694    break 2
4695  fi
4696done
4697  done
4698IFS=$as_save_IFS
4699
4700fi
4701fi
4702ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4703if test -n "$ac_ct_DUMPBIN"; then
4704  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4705$as_echo "$ac_ct_DUMPBIN" >&6; }
4706else
4707  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4708$as_echo "no" >&6; }
4709fi
4710
4711
4712  test -n "$ac_ct_DUMPBIN" && break
4713done
4714
4715  if test "x$ac_ct_DUMPBIN" = x; then
4716    DUMPBIN=":"
4717  else
4718    case $cross_compiling:$ac_tool_warned in
4719yes:)
4720{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722ac_tool_warned=yes ;;
4723esac
4724    DUMPBIN=$ac_ct_DUMPBIN
4725  fi
4726fi
4727
4728    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4729    *COFF*)
4730      DUMPBIN="$DUMPBIN -symbols -headers"
4731      ;;
4732    *)
4733      DUMPBIN=:
4734      ;;
4735    esac
4736  fi
4737
4738  if test : != "$DUMPBIN"; then
4739    NM=$DUMPBIN
4740  fi
4741fi
4742test -z "$NM" && NM=nm
4743
4744
4745
4746
4747
4748
4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4750$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4751if ${lt_cv_nm_interface+:} false; then :
4752  $as_echo_n "(cached) " >&6
4753else
4754  lt_cv_nm_interface="BSD nm"
4755  echo "int some_variable = 0;" > conftest.$ac_ext
4756  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4757  (eval "$ac_compile" 2>conftest.err)
4758  cat conftest.err >&5
4759  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4760  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4761  cat conftest.err >&5
4762  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4763  cat conftest.out >&5
4764  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4765    lt_cv_nm_interface="MS dumpbin"
4766  fi
4767  rm -f conftest*
4768fi
4769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4770$as_echo "$lt_cv_nm_interface" >&6; }
4771
4772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4773$as_echo_n "checking whether ln -s works... " >&6; }
4774LN_S=$as_ln_s
4775if test "$LN_S" = "ln -s"; then
4776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4777$as_echo "yes" >&6; }
4778else
4779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4780$as_echo "no, using $LN_S" >&6; }
4781fi
4782
4783# find the maximum length of command line arguments
4784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4785$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4786if ${lt_cv_sys_max_cmd_len+:} false; then :
4787  $as_echo_n "(cached) " >&6
4788else
4789    i=0
4790  teststring=ABCD
4791
4792  case $build_os in
4793  msdosdjgpp*)
4794    # On DJGPP, this test can blow up pretty badly due to problems in libc
4795    # (any single argument exceeding 2000 bytes causes a buffer overrun
4796    # during glob expansion).  Even if it were fixed, the result of this
4797    # check would be larger than it should be.
4798    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4799    ;;
4800
4801  gnu*)
4802    # Under GNU Hurd, this test is not required because there is
4803    # no limit to the length of command line arguments.
4804    # Libtool will interpret -1 as no limit whatsoever
4805    lt_cv_sys_max_cmd_len=-1;
4806    ;;
4807
4808  cygwin* | mingw* | cegcc*)
4809    # On Win9x/ME, this test blows up -- it succeeds, but takes
4810    # about 5 minutes as the teststring grows exponentially.
4811    # Worse, since 9x/ME are not pre-emptively multitasking,
4812    # you end up with a "frozen" computer, even though with patience
4813    # the test eventually succeeds (with a max line length of 256k).
4814    # Instead, let's just punt: use the minimum linelength reported by
4815    # all of the supported platforms: 8192 (on NT/2K/XP).
4816    lt_cv_sys_max_cmd_len=8192;
4817    ;;
4818
4819  mint*)
4820    # On MiNT this can take a long time and run out of memory.
4821    lt_cv_sys_max_cmd_len=8192;
4822    ;;
4823
4824  amigaos*)
4825    # On AmigaOS with pdksh, this test takes hours, literally.
4826    # So we just punt and use a minimum line length of 8192.
4827    lt_cv_sys_max_cmd_len=8192;
4828    ;;
4829
4830  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4831    # This has been around since 386BSD, at least.  Likely further.
4832    if test -x /sbin/sysctl; then
4833      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4834    elif test -x /usr/sbin/sysctl; then
4835      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4836    else
4837      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4838    fi
4839    # And add a safety zone
4840    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4841    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4842    ;;
4843
4844  interix*)
4845    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4846    lt_cv_sys_max_cmd_len=196608
4847    ;;
4848
4849  os2*)
4850    # The test takes a long time on OS/2.
4851    lt_cv_sys_max_cmd_len=8192
4852    ;;
4853
4854  osf*)
4855    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4856    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4857    # nice to cause kernel panics so lets avoid the loop below.
4858    # First set a reasonable default.
4859    lt_cv_sys_max_cmd_len=16384
4860    #
4861    if test -x /sbin/sysconfig; then
4862      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4863        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4864      esac
4865    fi
4866    ;;
4867  sco3.2v5*)
4868    lt_cv_sys_max_cmd_len=102400
4869    ;;
4870  sysv5* | sco5v6* | sysv4.2uw2*)
4871    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4872    if test -n "$kargmax"; then
4873      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4874    else
4875      lt_cv_sys_max_cmd_len=32768
4876    fi
4877    ;;
4878  *)
4879    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4880    if test -n "$lt_cv_sys_max_cmd_len" && \
4881       test undefined != "$lt_cv_sys_max_cmd_len"; then
4882      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4883      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4884    else
4885      # Make teststring a little bigger before we do anything with it.
4886      # a 1K string should be a reasonable start.
4887      for i in 1 2 3 4 5 6 7 8; do
4888        teststring=$teststring$teststring
4889      done
4890      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4891      # If test is not a shell built-in, we'll probably end up computing a
4892      # maximum length that is only half of the actual maximum length, but
4893      # we can't tell.
4894      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4895	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4896	      test 17 != "$i" # 1/2 MB should be enough
4897      do
4898        i=`expr $i + 1`
4899        teststring=$teststring$teststring
4900      done
4901      # Only check the string length outside the loop.
4902      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4903      teststring=
4904      # Add a significant safety factor because C++ compilers can tack on
4905      # massive amounts of additional arguments before passing them to the
4906      # linker.  It appears as though 1/2 is a usable value.
4907      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4908    fi
4909    ;;
4910  esac
4911
4912fi
4913
4914if test -n "$lt_cv_sys_max_cmd_len"; then
4915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4916$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4917else
4918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4919$as_echo "none" >&6; }
4920fi
4921max_cmd_len=$lt_cv_sys_max_cmd_len
4922
4923
4924
4925
4926
4927
4928: ${CP="cp -f"}
4929: ${MV="mv -f"}
4930: ${RM="rm -f"}
4931
4932if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4933  lt_unset=unset
4934else
4935  lt_unset=false
4936fi
4937
4938
4939
4940
4941
4942# test EBCDIC or ASCII
4943case `echo X|tr X '\101'` in
4944 A) # ASCII based system
4945    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4946  lt_SP2NL='tr \040 \012'
4947  lt_NL2SP='tr \015\012 \040\040'
4948  ;;
4949 *) # EBCDIC based system
4950  lt_SP2NL='tr \100 \n'
4951  lt_NL2SP='tr \r\n \100\100'
4952  ;;
4953esac
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4964$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4965if ${lt_cv_to_host_file_cmd+:} false; then :
4966  $as_echo_n "(cached) " >&6
4967else
4968  case $host in
4969  *-*-mingw* )
4970    case $build in
4971      *-*-mingw* ) # actually msys
4972        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4973        ;;
4974      *-*-cygwin* )
4975        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4976        ;;
4977      * ) # otherwise, assume *nix
4978        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4979        ;;
4980    esac
4981    ;;
4982  *-*-cygwin* )
4983    case $build in
4984      *-*-mingw* ) # actually msys
4985        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4986        ;;
4987      *-*-cygwin* )
4988        lt_cv_to_host_file_cmd=func_convert_file_noop
4989        ;;
4990      * ) # otherwise, assume *nix
4991        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4992        ;;
4993    esac
4994    ;;
4995  * ) # unhandled hosts (and "normal" native builds)
4996    lt_cv_to_host_file_cmd=func_convert_file_noop
4997    ;;
4998esac
4999
5000fi
5001
5002to_host_file_cmd=$lt_cv_to_host_file_cmd
5003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5004$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5005
5006
5007
5008
5009
5010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5011$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5012if ${lt_cv_to_tool_file_cmd+:} false; then :
5013  $as_echo_n "(cached) " >&6
5014else
5015  #assume ordinary cross tools, or native build.
5016lt_cv_to_tool_file_cmd=func_convert_file_noop
5017case $host in
5018  *-*-mingw* )
5019    case $build in
5020      *-*-mingw* ) # actually msys
5021        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5022        ;;
5023    esac
5024    ;;
5025esac
5026
5027fi
5028
5029to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5031$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5032
5033
5034
5035
5036
5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5038$as_echo_n "checking for $LD option to reload object files... " >&6; }
5039if ${lt_cv_ld_reload_flag+:} false; then :
5040  $as_echo_n "(cached) " >&6
5041else
5042  lt_cv_ld_reload_flag='-r'
5043fi
5044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5045$as_echo "$lt_cv_ld_reload_flag" >&6; }
5046reload_flag=$lt_cv_ld_reload_flag
5047case $reload_flag in
5048"" | " "*) ;;
5049*) reload_flag=" $reload_flag" ;;
5050esac
5051reload_cmds='$LD$reload_flag -o $output$reload_objs'
5052case $host_os in
5053  cygwin* | mingw* | pw32* | cegcc*)
5054    if test yes != "$GCC"; then
5055      reload_cmds=false
5056    fi
5057    ;;
5058  darwin*)
5059    if test yes = "$GCC"; then
5060      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5061    else
5062      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5063    fi
5064    ;;
5065esac
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075if test -n "$ac_tool_prefix"; then
5076  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5077set dummy ${ac_tool_prefix}objdump; ac_word=$2
5078{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5079$as_echo_n "checking for $ac_word... " >&6; }
5080if ${ac_cv_prog_OBJDUMP+:} false; then :
5081  $as_echo_n "(cached) " >&6
5082else
5083  if test -n "$OBJDUMP"; then
5084  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5085else
5086as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5087for as_dir in $PATH
5088do
5089  IFS=$as_save_IFS
5090  test -z "$as_dir" && as_dir=.
5091    for ac_exec_ext in '' $ac_executable_extensions; do
5092  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5093    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5094    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5095    break 2
5096  fi
5097done
5098  done
5099IFS=$as_save_IFS
5100
5101fi
5102fi
5103OBJDUMP=$ac_cv_prog_OBJDUMP
5104if test -n "$OBJDUMP"; then
5105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5106$as_echo "$OBJDUMP" >&6; }
5107else
5108  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5109$as_echo "no" >&6; }
5110fi
5111
5112
5113fi
5114if test -z "$ac_cv_prog_OBJDUMP"; then
5115  ac_ct_OBJDUMP=$OBJDUMP
5116  # Extract the first word of "objdump", so it can be a program name with args.
5117set dummy objdump; ac_word=$2
5118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5119$as_echo_n "checking for $ac_word... " >&6; }
5120if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5121  $as_echo_n "(cached) " >&6
5122else
5123  if test -n "$ac_ct_OBJDUMP"; then
5124  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5125else
5126as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5127for as_dir in $PATH
5128do
5129  IFS=$as_save_IFS
5130  test -z "$as_dir" && as_dir=.
5131    for ac_exec_ext in '' $ac_executable_extensions; do
5132  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5133    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5134    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5135    break 2
5136  fi
5137done
5138  done
5139IFS=$as_save_IFS
5140
5141fi
5142fi
5143ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5144if test -n "$ac_ct_OBJDUMP"; then
5145  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5146$as_echo "$ac_ct_OBJDUMP" >&6; }
5147else
5148  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5149$as_echo "no" >&6; }
5150fi
5151
5152  if test "x$ac_ct_OBJDUMP" = x; then
5153    OBJDUMP="false"
5154  else
5155    case $cross_compiling:$ac_tool_warned in
5156yes:)
5157{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5158$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5159ac_tool_warned=yes ;;
5160esac
5161    OBJDUMP=$ac_ct_OBJDUMP
5162  fi
5163else
5164  OBJDUMP="$ac_cv_prog_OBJDUMP"
5165fi
5166
5167test -z "$OBJDUMP" && OBJDUMP=objdump
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5178$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5179if ${lt_cv_deplibs_check_method+:} false; then :
5180  $as_echo_n "(cached) " >&6
5181else
5182  lt_cv_file_magic_cmd='$MAGIC_CMD'
5183lt_cv_file_magic_test_file=
5184lt_cv_deplibs_check_method='unknown'
5185# Need to set the preceding variable on all platforms that support
5186# interlibrary dependencies.
5187# 'none' -- dependencies not supported.
5188# 'unknown' -- same as none, but documents that we really don't know.
5189# 'pass_all' -- all dependencies passed with no checks.
5190# 'test_compile' -- check by making test program.
5191# 'file_magic [[regex]]' -- check by looking for files in library path
5192# that responds to the $file_magic_cmd with a given extended regex.
5193# If you have 'file' or equivalent on your system and you're not sure
5194# whether 'pass_all' will *always* work, you probably want this one.
5195
5196case $host_os in
5197aix[4-9]*)
5198  lt_cv_deplibs_check_method=pass_all
5199  ;;
5200
5201beos*)
5202  lt_cv_deplibs_check_method=pass_all
5203  ;;
5204
5205bsdi[45]*)
5206  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5207  lt_cv_file_magic_cmd='/usr/bin/file -L'
5208  lt_cv_file_magic_test_file=/shlib/libc.so
5209  ;;
5210
5211cygwin*)
5212  # func_win32_libid is a shell function defined in ltmain.sh
5213  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5214  lt_cv_file_magic_cmd='func_win32_libid'
5215  ;;
5216
5217mingw* | pw32*)
5218  # Base MSYS/MinGW do not provide the 'file' command needed by
5219  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5220  # unless we find 'file', for example because we are cross-compiling.
5221  if ( file / ) >/dev/null 2>&1; then
5222    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5223    lt_cv_file_magic_cmd='func_win32_libid'
5224  else
5225    # Keep this pattern in sync with the one in func_win32_libid.
5226    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5227    lt_cv_file_magic_cmd='$OBJDUMP -f'
5228  fi
5229  ;;
5230
5231cegcc*)
5232  # use the weaker test based on 'objdump'. See mingw*.
5233  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5234  lt_cv_file_magic_cmd='$OBJDUMP -f'
5235  ;;
5236
5237darwin* | rhapsody*)
5238  lt_cv_deplibs_check_method=pass_all
5239  ;;
5240
5241freebsd* | dragonfly*)
5242  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5243    case $host_cpu in
5244    i*86 )
5245      # Not sure whether the presence of OpenBSD here was a mistake.
5246      # Let's accept both of them until this is cleared up.
5247      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5248      lt_cv_file_magic_cmd=/usr/bin/file
5249      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5250      ;;
5251    esac
5252  else
5253    lt_cv_deplibs_check_method=pass_all
5254  fi
5255  ;;
5256
5257haiku*)
5258  lt_cv_deplibs_check_method=pass_all
5259  ;;
5260
5261hpux10.20* | hpux11*)
5262  lt_cv_file_magic_cmd=/usr/bin/file
5263  case $host_cpu in
5264  ia64*)
5265    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5266    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5267    ;;
5268  hppa*64*)
5269    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]'
5270    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5271    ;;
5272  *)
5273    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5274    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5275    ;;
5276  esac
5277  ;;
5278
5279interix[3-9]*)
5280  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5281  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5282  ;;
5283
5284irix5* | irix6* | nonstopux*)
5285  case $LD in
5286  *-32|*"-32 ") libmagic=32-bit;;
5287  *-n32|*"-n32 ") libmagic=N32;;
5288  *-64|*"-64 ") libmagic=64-bit;;
5289  *) libmagic=never-match;;
5290  esac
5291  lt_cv_deplibs_check_method=pass_all
5292  ;;
5293
5294# This must be glibc/ELF.
5295linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5296  lt_cv_deplibs_check_method=pass_all
5297  ;;
5298
5299netbsd* | netbsdelf*-gnu)
5300  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5301    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5302  else
5303    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5304  fi
5305  ;;
5306
5307newos6*)
5308  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5309  lt_cv_file_magic_cmd=/usr/bin/file
5310  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5311  ;;
5312
5313*nto* | *qnx*)
5314  lt_cv_deplibs_check_method=pass_all
5315  ;;
5316
5317openbsd* | bitrig*)
5318  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5319    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5320  else
5321    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5322  fi
5323  ;;
5324
5325osf3* | osf4* | osf5*)
5326  lt_cv_deplibs_check_method=pass_all
5327  ;;
5328
5329rdos*)
5330  lt_cv_deplibs_check_method=pass_all
5331  ;;
5332
5333solaris*)
5334  lt_cv_deplibs_check_method=pass_all
5335  ;;
5336
5337sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5338  lt_cv_deplibs_check_method=pass_all
5339  ;;
5340
5341sysv4 | sysv4.3*)
5342  case $host_vendor in
5343  motorola)
5344    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]'
5345    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5346    ;;
5347  ncr)
5348    lt_cv_deplibs_check_method=pass_all
5349    ;;
5350  sequent)
5351    lt_cv_file_magic_cmd='/bin/file'
5352    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5353    ;;
5354  sni)
5355    lt_cv_file_magic_cmd='/bin/file'
5356    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5357    lt_cv_file_magic_test_file=/lib/libc.so
5358    ;;
5359  siemens)
5360    lt_cv_deplibs_check_method=pass_all
5361    ;;
5362  pc)
5363    lt_cv_deplibs_check_method=pass_all
5364    ;;
5365  esac
5366  ;;
5367
5368tpf*)
5369  lt_cv_deplibs_check_method=pass_all
5370  ;;
5371os2*)
5372  lt_cv_deplibs_check_method=pass_all
5373  ;;
5374esac
5375
5376fi
5377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5378$as_echo "$lt_cv_deplibs_check_method" >&6; }
5379
5380file_magic_glob=
5381want_nocaseglob=no
5382if test "$build" = "$host"; then
5383  case $host_os in
5384  mingw* | pw32*)
5385    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5386      want_nocaseglob=yes
5387    else
5388      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5389    fi
5390    ;;
5391  esac
5392fi
5393
5394file_magic_cmd=$lt_cv_file_magic_cmd
5395deplibs_check_method=$lt_cv_deplibs_check_method
5396test -z "$deplibs_check_method" && deplibs_check_method=unknown
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419if test -n "$ac_tool_prefix"; then
5420  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5421set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423$as_echo_n "checking for $ac_word... " >&6; }
5424if ${ac_cv_prog_DLLTOOL+:} false; then :
5425  $as_echo_n "(cached) " >&6
5426else
5427  if test -n "$DLLTOOL"; then
5428  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5429else
5430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5431for as_dir in $PATH
5432do
5433  IFS=$as_save_IFS
5434  test -z "$as_dir" && as_dir=.
5435    for ac_exec_ext in '' $ac_executable_extensions; do
5436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5437    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5439    break 2
5440  fi
5441done
5442  done
5443IFS=$as_save_IFS
5444
5445fi
5446fi
5447DLLTOOL=$ac_cv_prog_DLLTOOL
5448if test -n "$DLLTOOL"; then
5449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5450$as_echo "$DLLTOOL" >&6; }
5451else
5452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453$as_echo "no" >&6; }
5454fi
5455
5456
5457fi
5458if test -z "$ac_cv_prog_DLLTOOL"; then
5459  ac_ct_DLLTOOL=$DLLTOOL
5460  # Extract the first word of "dlltool", so it can be a program name with args.
5461set dummy dlltool; ac_word=$2
5462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5463$as_echo_n "checking for $ac_word... " >&6; }
5464if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5465  $as_echo_n "(cached) " >&6
5466else
5467  if test -n "$ac_ct_DLLTOOL"; then
5468  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5469else
5470as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5471for as_dir in $PATH
5472do
5473  IFS=$as_save_IFS
5474  test -z "$as_dir" && as_dir=.
5475    for ac_exec_ext in '' $ac_executable_extensions; do
5476  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5477    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5478    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5479    break 2
5480  fi
5481done
5482  done
5483IFS=$as_save_IFS
5484
5485fi
5486fi
5487ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5488if test -n "$ac_ct_DLLTOOL"; then
5489  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5490$as_echo "$ac_ct_DLLTOOL" >&6; }
5491else
5492  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5493$as_echo "no" >&6; }
5494fi
5495
5496  if test "x$ac_ct_DLLTOOL" = x; then
5497    DLLTOOL="false"
5498  else
5499    case $cross_compiling:$ac_tool_warned in
5500yes:)
5501{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5502$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5503ac_tool_warned=yes ;;
5504esac
5505    DLLTOOL=$ac_ct_DLLTOOL
5506  fi
5507else
5508  DLLTOOL="$ac_cv_prog_DLLTOOL"
5509fi
5510
5511test -z "$DLLTOOL" && DLLTOOL=dlltool
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5523$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5524if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5525  $as_echo_n "(cached) " >&6
5526else
5527  lt_cv_sharedlib_from_linklib_cmd='unknown'
5528
5529case $host_os in
5530cygwin* | mingw* | pw32* | cegcc*)
5531  # two different shell functions defined in ltmain.sh;
5532  # decide which one to use based on capabilities of $DLLTOOL
5533  case `$DLLTOOL --help 2>&1` in
5534  *--identify-strict*)
5535    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5536    ;;
5537  *)
5538    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5539    ;;
5540  esac
5541  ;;
5542*)
5543  # fallback: assume linklib IS sharedlib
5544  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5545  ;;
5546esac
5547
5548fi
5549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5550$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5551sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5552test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5553
5554
5555
5556
5557
5558
5559
5560
5561if test -n "$ac_tool_prefix"; then
5562  for ac_prog in ar
5563  do
5564    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5565set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5566{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5567$as_echo_n "checking for $ac_word... " >&6; }
5568if ${ac_cv_prog_AR+:} false; then :
5569  $as_echo_n "(cached) " >&6
5570else
5571  if test -n "$AR"; then
5572  ac_cv_prog_AR="$AR" # Let the user override the test.
5573else
5574as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5575for as_dir in $PATH
5576do
5577  IFS=$as_save_IFS
5578  test -z "$as_dir" && as_dir=.
5579    for ac_exec_ext in '' $ac_executable_extensions; do
5580  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5581    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5582    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5583    break 2
5584  fi
5585done
5586  done
5587IFS=$as_save_IFS
5588
5589fi
5590fi
5591AR=$ac_cv_prog_AR
5592if test -n "$AR"; then
5593  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5594$as_echo "$AR" >&6; }
5595else
5596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5597$as_echo "no" >&6; }
5598fi
5599
5600
5601    test -n "$AR" && break
5602  done
5603fi
5604if test -z "$AR"; then
5605  ac_ct_AR=$AR
5606  for ac_prog in ar
5607do
5608  # Extract the first word of "$ac_prog", so it can be a program name with args.
5609set dummy $ac_prog; ac_word=$2
5610{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5611$as_echo_n "checking for $ac_word... " >&6; }
5612if ${ac_cv_prog_ac_ct_AR+:} false; then :
5613  $as_echo_n "(cached) " >&6
5614else
5615  if test -n "$ac_ct_AR"; then
5616  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5617else
5618as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5619for as_dir in $PATH
5620do
5621  IFS=$as_save_IFS
5622  test -z "$as_dir" && as_dir=.
5623    for ac_exec_ext in '' $ac_executable_extensions; do
5624  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5625    ac_cv_prog_ac_ct_AR="$ac_prog"
5626    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5627    break 2
5628  fi
5629done
5630  done
5631IFS=$as_save_IFS
5632
5633fi
5634fi
5635ac_ct_AR=$ac_cv_prog_ac_ct_AR
5636if test -n "$ac_ct_AR"; then
5637  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5638$as_echo "$ac_ct_AR" >&6; }
5639else
5640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641$as_echo "no" >&6; }
5642fi
5643
5644
5645  test -n "$ac_ct_AR" && break
5646done
5647
5648  if test "x$ac_ct_AR" = x; then
5649    AR="false"
5650  else
5651    case $cross_compiling:$ac_tool_warned in
5652yes:)
5653{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5654$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5655ac_tool_warned=yes ;;
5656esac
5657    AR=$ac_ct_AR
5658  fi
5659fi
5660
5661: ${AR=ar}
5662: ${AR_FLAGS=cr}
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5675$as_echo_n "checking for archiver @FILE support... " >&6; }
5676if ${lt_cv_ar_at_file+:} false; then :
5677  $as_echo_n "(cached) " >&6
5678else
5679  lt_cv_ar_at_file=no
5680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681/* end confdefs.h.  */
5682
5683int
5684main ()
5685{
5686
5687  ;
5688  return 0;
5689}
5690_ACEOF
5691if ac_fn_c_try_compile "$LINENO"; then :
5692  echo conftest.$ac_objext > conftest.lst
5693      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5694      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5695  (eval $lt_ar_try) 2>&5
5696  ac_status=$?
5697  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5698  test $ac_status = 0; }
5699      if test 0 -eq "$ac_status"; then
5700	# Ensure the archiver fails upon bogus file names.
5701	rm -f conftest.$ac_objext libconftest.a
5702	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5703  (eval $lt_ar_try) 2>&5
5704  ac_status=$?
5705  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5706  test $ac_status = 0; }
5707	if test 0 -ne "$ac_status"; then
5708          lt_cv_ar_at_file=@
5709        fi
5710      fi
5711      rm -f conftest.* libconftest.a
5712
5713fi
5714rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5715
5716fi
5717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5718$as_echo "$lt_cv_ar_at_file" >&6; }
5719
5720if test no = "$lt_cv_ar_at_file"; then
5721  archiver_list_spec=
5722else
5723  archiver_list_spec=$lt_cv_ar_at_file
5724fi
5725
5726
5727
5728
5729
5730
5731
5732if test -n "$ac_tool_prefix"; then
5733  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5734set dummy ${ac_tool_prefix}strip; ac_word=$2
5735{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736$as_echo_n "checking for $ac_word... " >&6; }
5737if ${ac_cv_prog_STRIP+:} false; then :
5738  $as_echo_n "(cached) " >&6
5739else
5740  if test -n "$STRIP"; then
5741  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5742else
5743as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744for as_dir in $PATH
5745do
5746  IFS=$as_save_IFS
5747  test -z "$as_dir" && as_dir=.
5748    for ac_exec_ext in '' $ac_executable_extensions; do
5749  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5750    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5751    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752    break 2
5753  fi
5754done
5755  done
5756IFS=$as_save_IFS
5757
5758fi
5759fi
5760STRIP=$ac_cv_prog_STRIP
5761if test -n "$STRIP"; then
5762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5763$as_echo "$STRIP" >&6; }
5764else
5765  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766$as_echo "no" >&6; }
5767fi
5768
5769
5770fi
5771if test -z "$ac_cv_prog_STRIP"; then
5772  ac_ct_STRIP=$STRIP
5773  # Extract the first word of "strip", so it can be a program name with args.
5774set dummy strip; ac_word=$2
5775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5776$as_echo_n "checking for $ac_word... " >&6; }
5777if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5778  $as_echo_n "(cached) " >&6
5779else
5780  if test -n "$ac_ct_STRIP"; then
5781  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5782else
5783as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784for as_dir in $PATH
5785do
5786  IFS=$as_save_IFS
5787  test -z "$as_dir" && as_dir=.
5788    for ac_exec_ext in '' $ac_executable_extensions; do
5789  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5790    ac_cv_prog_ac_ct_STRIP="strip"
5791    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5792    break 2
5793  fi
5794done
5795  done
5796IFS=$as_save_IFS
5797
5798fi
5799fi
5800ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5801if test -n "$ac_ct_STRIP"; then
5802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5803$as_echo "$ac_ct_STRIP" >&6; }
5804else
5805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5806$as_echo "no" >&6; }
5807fi
5808
5809  if test "x$ac_ct_STRIP" = x; then
5810    STRIP=":"
5811  else
5812    case $cross_compiling:$ac_tool_warned in
5813yes:)
5814{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5815$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5816ac_tool_warned=yes ;;
5817esac
5818    STRIP=$ac_ct_STRIP
5819  fi
5820else
5821  STRIP="$ac_cv_prog_STRIP"
5822fi
5823
5824test -z "$STRIP" && STRIP=:
5825
5826
5827
5828
5829
5830
5831if test -n "$ac_tool_prefix"; then
5832  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5833set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5835$as_echo_n "checking for $ac_word... " >&6; }
5836if ${ac_cv_prog_RANLIB+:} false; then :
5837  $as_echo_n "(cached) " >&6
5838else
5839  if test -n "$RANLIB"; then
5840  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5841else
5842as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5843for as_dir in $PATH
5844do
5845  IFS=$as_save_IFS
5846  test -z "$as_dir" && as_dir=.
5847    for ac_exec_ext in '' $ac_executable_extensions; do
5848  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5849    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5850    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5851    break 2
5852  fi
5853done
5854  done
5855IFS=$as_save_IFS
5856
5857fi
5858fi
5859RANLIB=$ac_cv_prog_RANLIB
5860if test -n "$RANLIB"; then
5861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5862$as_echo "$RANLIB" >&6; }
5863else
5864  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5865$as_echo "no" >&6; }
5866fi
5867
5868
5869fi
5870if test -z "$ac_cv_prog_RANLIB"; then
5871  ac_ct_RANLIB=$RANLIB
5872  # Extract the first word of "ranlib", so it can be a program name with args.
5873set dummy ranlib; ac_word=$2
5874{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5875$as_echo_n "checking for $ac_word... " >&6; }
5876if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5877  $as_echo_n "(cached) " >&6
5878else
5879  if test -n "$ac_ct_RANLIB"; then
5880  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5881else
5882as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883for as_dir in $PATH
5884do
5885  IFS=$as_save_IFS
5886  test -z "$as_dir" && as_dir=.
5887    for ac_exec_ext in '' $ac_executable_extensions; do
5888  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5889    ac_cv_prog_ac_ct_RANLIB="ranlib"
5890    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5891    break 2
5892  fi
5893done
5894  done
5895IFS=$as_save_IFS
5896
5897fi
5898fi
5899ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5900if test -n "$ac_ct_RANLIB"; then
5901  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5902$as_echo "$ac_ct_RANLIB" >&6; }
5903else
5904  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5905$as_echo "no" >&6; }
5906fi
5907
5908  if test "x$ac_ct_RANLIB" = x; then
5909    RANLIB=":"
5910  else
5911    case $cross_compiling:$ac_tool_warned in
5912yes:)
5913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5915ac_tool_warned=yes ;;
5916esac
5917    RANLIB=$ac_ct_RANLIB
5918  fi
5919else
5920  RANLIB="$ac_cv_prog_RANLIB"
5921fi
5922
5923test -z "$RANLIB" && RANLIB=:
5924
5925
5926
5927
5928
5929
5930# Determine commands to create old-style static archives.
5931old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5932old_postinstall_cmds='chmod 644 $oldlib'
5933old_postuninstall_cmds=
5934
5935if test -n "$RANLIB"; then
5936  case $host_os in
5937  bitrig* | openbsd*)
5938    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5939    ;;
5940  *)
5941    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5942    ;;
5943  esac
5944  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5945fi
5946
5947case $host_os in
5948  darwin*)
5949    lock_old_archive_extraction=yes ;;
5950  *)
5951    lock_old_archive_extraction=no ;;
5952esac
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992# If no C compiler was specified, use CC.
5993LTCC=${LTCC-"$CC"}
5994
5995# If no C compiler flags were specified, use CFLAGS.
5996LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5997
5998# Allow CC to be a program name with arguments.
5999compiler=$CC
6000
6001
6002# Check for command to grab the raw symbol name followed by C symbol from nm.
6003{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6004$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6005if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6006  $as_echo_n "(cached) " >&6
6007else
6008
6009# These are sane defaults that work on at least a few old systems.
6010# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6011
6012# Character class describing NM global symbol codes.
6013symcode='[BCDEGRST]'
6014
6015# Regexp to match symbols that can be accessed directly from C.
6016sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6017
6018# Define system-specific variables.
6019case $host_os in
6020aix*)
6021  symcode='[BCDT]'
6022  ;;
6023cygwin* | mingw* | pw32* | cegcc*)
6024  symcode='[ABCDGISTW]'
6025  ;;
6026hpux*)
6027  if test ia64 = "$host_cpu"; then
6028    symcode='[ABCDEGRST]'
6029  fi
6030  ;;
6031irix* | nonstopux*)
6032  symcode='[BCDEGRST]'
6033  ;;
6034osf*)
6035  symcode='[BCDEGQRST]'
6036  ;;
6037solaris*)
6038  symcode='[BDRT]'
6039  ;;
6040sco3.2v5*)
6041  symcode='[DT]'
6042  ;;
6043sysv4.2uw2*)
6044  symcode='[DT]'
6045  ;;
6046sysv5* | sco5v6* | unixware* | OpenUNIX*)
6047  symcode='[ABDT]'
6048  ;;
6049sysv4)
6050  symcode='[DFNSTU]'
6051  ;;
6052esac
6053
6054# If we're using GNU nm, then use its standard symbol codes.
6055case `$NM -V 2>&1` in
6056*GNU* | *'with BFD'*)
6057  symcode='[ABCDGIRSTW]' ;;
6058esac
6059
6060if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6061  # Gets list of data symbols to import.
6062  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6063  # Adjust the below global symbol transforms to fixup imported variables.
6064  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6065  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6066  lt_c_name_lib_hook="\
6067  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6068  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6069else
6070  # Disable hooks by default.
6071  lt_cv_sys_global_symbol_to_import=
6072  lt_cdecl_hook=
6073  lt_c_name_hook=
6074  lt_c_name_lib_hook=
6075fi
6076
6077# Transform an extracted symbol line into a proper C declaration.
6078# Some systems (esp. on ia64) link data and code symbols differently,
6079# so use this general approach.
6080lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6081$lt_cdecl_hook\
6082" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6083" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6084
6085# Transform an extracted symbol line into symbol name and symbol address
6086lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6087$lt_c_name_hook\
6088" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6089" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6090
6091# Transform an extracted symbol line into symbol name with lib prefix and
6092# symbol address.
6093lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6094$lt_c_name_lib_hook\
6095" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6096" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6097" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6098
6099# Handle CRLF in mingw tool chain
6100opt_cr=
6101case $build_os in
6102mingw*)
6103  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6104  ;;
6105esac
6106
6107# Try without a prefix underscore, then with it.
6108for ac_symprfx in "" "_"; do
6109
6110  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6111  symxfrm="\\1 $ac_symprfx\\2 \\2"
6112
6113  # Write the raw and C identifiers.
6114  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6115    # Fake it for dumpbin and say T for any non-static function,
6116    # D for any global variable and I for any imported variable.
6117    # Also find C++ and __fastcall symbols from MSVC++,
6118    # which start with @ or ?.
6119    lt_cv_sys_global_symbol_pipe="$AWK '"\
6120"     {last_section=section; section=\$ 3};"\
6121"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6122"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6123"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6124"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6125"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6126"     \$ 0!~/External *\|/{next};"\
6127"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6128"     {if(hide[section]) next};"\
6129"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6130"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6131"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6132"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6133"     ' prfx=^$ac_symprfx"
6134  else
6135    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6136  fi
6137  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6138
6139  # Check to see that the pipe works correctly.
6140  pipe_works=no
6141
6142  rm -f conftest*
6143  cat > conftest.$ac_ext <<_LT_EOF
6144#ifdef __cplusplus
6145extern "C" {
6146#endif
6147char nm_test_var;
6148void nm_test_func(void);
6149void nm_test_func(void){}
6150#ifdef __cplusplus
6151}
6152#endif
6153int main(){nm_test_var='a';nm_test_func();return(0);}
6154_LT_EOF
6155
6156  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6157  (eval $ac_compile) 2>&5
6158  ac_status=$?
6159  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6160  test $ac_status = 0; }; then
6161    # Now try to grab the symbols.
6162    nlist=conftest.nm
6163    $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
6164    if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
6165      # Try sorting and uniquifying the output.
6166      if sort "$nlist" | uniq > "$nlist"T; then
6167	mv -f "$nlist"T "$nlist"
6168      else
6169	rm -f "$nlist"T
6170      fi
6171
6172      # Make sure that we snagged all the symbols we need.
6173      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6174	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6175	  cat <<_LT_EOF > conftest.$ac_ext
6176/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6177#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6178/* DATA imports from DLLs on WIN32 can't be const, because runtime
6179   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6180# define LT_DLSYM_CONST
6181#elif defined __osf__
6182/* This system does not cope well with relocations in const data.  */
6183# define LT_DLSYM_CONST
6184#else
6185# define LT_DLSYM_CONST const
6186#endif
6187
6188#ifdef __cplusplus
6189extern "C" {
6190#endif
6191
6192_LT_EOF
6193	  # Now generate the symbol file.
6194	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6195
6196	  cat <<_LT_EOF >> conftest.$ac_ext
6197
6198/* The mapping between symbol names and symbols.  */
6199LT_DLSYM_CONST struct {
6200  const char *name;
6201  void       *address;
6202}
6203lt__PROGRAM__LTX_preloaded_symbols[] =
6204{
6205  { "@PROGRAM@", (void *) 0 },
6206_LT_EOF
6207	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6208	  cat <<\_LT_EOF >> conftest.$ac_ext
6209  {0, (void *) 0}
6210};
6211
6212/* This works around a problem in FreeBSD linker */
6213#ifdef FREEBSD_WORKAROUND
6214static const void *lt_preloaded_setup() {
6215  return lt__PROGRAM__LTX_preloaded_symbols;
6216}
6217#endif
6218
6219#ifdef __cplusplus
6220}
6221#endif
6222_LT_EOF
6223	  # Now try linking the two files.
6224	  mv conftest.$ac_objext conftstm.$ac_objext
6225	  lt_globsym_save_LIBS=$LIBS
6226	  lt_globsym_save_CFLAGS=$CFLAGS
6227	  LIBS=conftstm.$ac_objext
6228	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6229	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6230  (eval $ac_link) 2>&5
6231  ac_status=$?
6232  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6233  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6234	    pipe_works=yes
6235	  fi
6236	  LIBS=$lt_globsym_save_LIBS
6237	  CFLAGS=$lt_globsym_save_CFLAGS
6238	else
6239	  echo "cannot find nm_test_func in $nlist" >&5
6240	fi
6241      else
6242	echo "cannot find nm_test_var in $nlist" >&5
6243      fi
6244    else
6245      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6246    fi
6247  else
6248    echo "$progname: failed program was:" >&5
6249    cat conftest.$ac_ext >&5
6250  fi
6251  rm -rf conftest* conftst*
6252
6253  # Do not use the global_symbol_pipe unless it works.
6254  if test yes = "$pipe_works"; then
6255    break
6256  else
6257    lt_cv_sys_global_symbol_pipe=
6258  fi
6259done
6260
6261fi
6262
6263if test -z "$lt_cv_sys_global_symbol_pipe"; then
6264  lt_cv_sys_global_symbol_to_cdecl=
6265fi
6266if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6268$as_echo "failed" >&6; }
6269else
6270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6271$as_echo "ok" >&6; }
6272fi
6273
6274# Response file support.
6275if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6276  nm_file_list_spec='@'
6277elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6278  nm_file_list_spec='@'
6279fi
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6318$as_echo_n "checking for sysroot... " >&6; }
6319
6320# Check whether --with-sysroot was given.
6321if test "${with_sysroot+set}" = set; then :
6322  withval=$with_sysroot;
6323else
6324  with_sysroot=no
6325fi
6326
6327
6328lt_sysroot=
6329case $with_sysroot in #(
6330 yes)
6331   if test yes = "$GCC"; then
6332     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6333   fi
6334   ;; #(
6335 /*)
6336   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6337   ;; #(
6338 no|'')
6339   ;; #(
6340 *)
6341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6342$as_echo "$with_sysroot" >&6; }
6343   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6344   ;;
6345esac
6346
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6348$as_echo "${lt_sysroot:-no}" >&6; }
6349
6350
6351
6352
6353
6354{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6355$as_echo_n "checking for a working dd... " >&6; }
6356if ${ac_cv_path_lt_DD+:} false; then :
6357  $as_echo_n "(cached) " >&6
6358else
6359  printf 0123456789abcdef0123456789abcdef >conftest.i
6360cat conftest.i conftest.i >conftest2.i
6361: ${lt_DD:=$DD}
6362if test -z "$lt_DD"; then
6363  ac_path_lt_DD_found=false
6364  # Loop through the user's path and test for each of PROGNAME-LIST
6365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366for as_dir in $PATH
6367do
6368  IFS=$as_save_IFS
6369  test -z "$as_dir" && as_dir=.
6370    for ac_prog in dd; do
6371    for ac_exec_ext in '' $ac_executable_extensions; do
6372      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6373      as_fn_executable_p "$ac_path_lt_DD" || continue
6374if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6375  cmp -s conftest.i conftest.out \
6376  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6377fi
6378      $ac_path_lt_DD_found && break 3
6379    done
6380  done
6381  done
6382IFS=$as_save_IFS
6383  if test -z "$ac_cv_path_lt_DD"; then
6384    :
6385  fi
6386else
6387  ac_cv_path_lt_DD=$lt_DD
6388fi
6389
6390rm -f conftest.i conftest2.i conftest.out
6391fi
6392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6393$as_echo "$ac_cv_path_lt_DD" >&6; }
6394
6395
6396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6397$as_echo_n "checking how to truncate binary pipes... " >&6; }
6398if ${lt_cv_truncate_bin+:} false; then :
6399  $as_echo_n "(cached) " >&6
6400else
6401  printf 0123456789abcdef0123456789abcdef >conftest.i
6402cat conftest.i conftest.i >conftest2.i
6403lt_cv_truncate_bin=
6404if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6405  cmp -s conftest.i conftest.out \
6406  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6407fi
6408rm -f conftest.i conftest2.i conftest.out
6409test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6410fi
6411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6412$as_echo "$lt_cv_truncate_bin" >&6; }
6413
6414
6415
6416
6417
6418
6419
6420# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6421func_cc_basename ()
6422{
6423    for cc_temp in $*""; do
6424      case $cc_temp in
6425        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6426        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6427        \-*) ;;
6428        *) break;;
6429      esac
6430    done
6431    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6432}
6433
6434# Check whether --enable-libtool-lock was given.
6435if test "${enable_libtool_lock+set}" = set; then :
6436  enableval=$enable_libtool_lock;
6437fi
6438
6439test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6440
6441# Some flags need to be propagated to the compiler or linker for good
6442# libtool support.
6443case $host in
6444ia64-*-hpux*)
6445  # Find out what ABI is being produced by ac_compile, and set mode
6446  # options accordingly.
6447  echo 'int i;' > conftest.$ac_ext
6448  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6449  (eval $ac_compile) 2>&5
6450  ac_status=$?
6451  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6452  test $ac_status = 0; }; then
6453    case `/usr/bin/file conftest.$ac_objext` in
6454      *ELF-32*)
6455	HPUX_IA64_MODE=32
6456	;;
6457      *ELF-64*)
6458	HPUX_IA64_MODE=64
6459	;;
6460    esac
6461  fi
6462  rm -rf conftest*
6463  ;;
6464*-*-irix6*)
6465  # Find out what ABI is being produced by ac_compile, and set linker
6466  # options accordingly.
6467  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6468  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6469  (eval $ac_compile) 2>&5
6470  ac_status=$?
6471  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6472  test $ac_status = 0; }; then
6473    if test yes = "$lt_cv_prog_gnu_ld"; then
6474      case `/usr/bin/file conftest.$ac_objext` in
6475	*32-bit*)
6476	  LD="${LD-ld} -melf32bsmip"
6477	  ;;
6478	*N32*)
6479	  LD="${LD-ld} -melf32bmipn32"
6480	  ;;
6481	*64-bit*)
6482	  LD="${LD-ld} -melf64bmip"
6483	;;
6484      esac
6485    else
6486      case `/usr/bin/file conftest.$ac_objext` in
6487	*32-bit*)
6488	  LD="${LD-ld} -32"
6489	  ;;
6490	*N32*)
6491	  LD="${LD-ld} -n32"
6492	  ;;
6493	*64-bit*)
6494	  LD="${LD-ld} -64"
6495	  ;;
6496      esac
6497    fi
6498  fi
6499  rm -rf conftest*
6500  ;;
6501
6502mips64*-*linux*)
6503  # Find out what ABI is being produced by ac_compile, and set linker
6504  # options accordingly.
6505  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6506  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6507  (eval $ac_compile) 2>&5
6508  ac_status=$?
6509  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6510  test $ac_status = 0; }; then
6511    emul=elf
6512    case `/usr/bin/file conftest.$ac_objext` in
6513      *32-bit*)
6514	emul="${emul}32"
6515	;;
6516      *64-bit*)
6517	emul="${emul}64"
6518	;;
6519    esac
6520    case `/usr/bin/file conftest.$ac_objext` in
6521      *MSB*)
6522	emul="${emul}btsmip"
6523	;;
6524      *LSB*)
6525	emul="${emul}ltsmip"
6526	;;
6527    esac
6528    case `/usr/bin/file conftest.$ac_objext` in
6529      *N32*)
6530	emul="${emul}n32"
6531	;;
6532    esac
6533    LD="${LD-ld} -m $emul"
6534  fi
6535  rm -rf conftest*
6536  ;;
6537
6538x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6539s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6540  # Find out what ABI is being produced by ac_compile, and set linker
6541  # options accordingly.  Note that the listed cases only cover the
6542  # situations where additional linker options are needed (such as when
6543  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6544  # vice versa); the common cases where no linker options are needed do
6545  # not appear in the list.
6546  echo 'int i;' > conftest.$ac_ext
6547  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6548  (eval $ac_compile) 2>&5
6549  ac_status=$?
6550  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6551  test $ac_status = 0; }; then
6552    case `/usr/bin/file conftest.o` in
6553      *32-bit*)
6554	case $host in
6555	  x86_64-*kfreebsd*-gnu)
6556	    LD="${LD-ld} -m elf_i386_fbsd"
6557	    ;;
6558	  x86_64-*linux*)
6559	    case `/usr/bin/file conftest.o` in
6560	      *x86-64*)
6561		LD="${LD-ld} -m elf32_x86_64"
6562		;;
6563	      *)
6564		LD="${LD-ld} -m elf_i386"
6565		;;
6566	    esac
6567	    ;;
6568	  powerpc64le-*linux*)
6569	    LD="${LD-ld} -m elf32lppclinux"
6570	    ;;
6571	  powerpc64-*linux*)
6572	    LD="${LD-ld} -m elf32ppclinux"
6573	    ;;
6574	  s390x-*linux*)
6575	    LD="${LD-ld} -m elf_s390"
6576	    ;;
6577	  sparc64-*linux*)
6578	    LD="${LD-ld} -m elf32_sparc"
6579	    ;;
6580	esac
6581	;;
6582      *64-bit*)
6583	case $host in
6584	  x86_64-*kfreebsd*-gnu)
6585	    LD="${LD-ld} -m elf_x86_64_fbsd"
6586	    ;;
6587	  x86_64-*linux*)
6588	    LD="${LD-ld} -m elf_x86_64"
6589	    ;;
6590	  powerpcle-*linux*)
6591	    LD="${LD-ld} -m elf64lppc"
6592	    ;;
6593	  powerpc-*linux*)
6594	    LD="${LD-ld} -m elf64ppc"
6595	    ;;
6596	  s390*-*linux*|s390*-*tpf*)
6597	    LD="${LD-ld} -m elf64_s390"
6598	    ;;
6599	  sparc*-*linux*)
6600	    LD="${LD-ld} -m elf64_sparc"
6601	    ;;
6602	esac
6603	;;
6604    esac
6605  fi
6606  rm -rf conftest*
6607  ;;
6608
6609*-*-sco3.2v5*)
6610  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6611  SAVE_CFLAGS=$CFLAGS
6612  CFLAGS="$CFLAGS -belf"
6613  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6614$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6615if ${lt_cv_cc_needs_belf+:} false; then :
6616  $as_echo_n "(cached) " >&6
6617else
6618  ac_ext=c
6619ac_cpp='$CPP $CPPFLAGS'
6620ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6621ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6622ac_compiler_gnu=$ac_cv_c_compiler_gnu
6623
6624     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6625/* end confdefs.h.  */
6626
6627int
6628main ()
6629{
6630
6631  ;
6632  return 0;
6633}
6634_ACEOF
6635if ac_fn_c_try_link "$LINENO"; then :
6636  lt_cv_cc_needs_belf=yes
6637else
6638  lt_cv_cc_needs_belf=no
6639fi
6640rm -f core conftest.err conftest.$ac_objext \
6641    conftest$ac_exeext conftest.$ac_ext
6642     ac_ext=c
6643ac_cpp='$CPP $CPPFLAGS'
6644ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6645ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6646ac_compiler_gnu=$ac_cv_c_compiler_gnu
6647
6648fi
6649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6650$as_echo "$lt_cv_cc_needs_belf" >&6; }
6651  if test yes != "$lt_cv_cc_needs_belf"; then
6652    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6653    CFLAGS=$SAVE_CFLAGS
6654  fi
6655  ;;
6656*-*solaris*)
6657  # Find out what ABI is being produced by ac_compile, and set linker
6658  # options accordingly.
6659  echo 'int i;' > conftest.$ac_ext
6660  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6661  (eval $ac_compile) 2>&5
6662  ac_status=$?
6663  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6664  test $ac_status = 0; }; then
6665    case `/usr/bin/file conftest.o` in
6666    *64-bit*)
6667      case $lt_cv_prog_gnu_ld in
6668      yes*)
6669        case $host in
6670        i?86-*-solaris*|x86_64-*-solaris*)
6671          LD="${LD-ld} -m elf_x86_64"
6672          ;;
6673        sparc*-*-solaris*)
6674          LD="${LD-ld} -m elf64_sparc"
6675          ;;
6676        esac
6677        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6678        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6679          LD=${LD-ld}_sol2
6680        fi
6681        ;;
6682      *)
6683	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6684	  LD="${LD-ld} -64"
6685	fi
6686	;;
6687      esac
6688      ;;
6689    esac
6690  fi
6691  rm -rf conftest*
6692  ;;
6693esac
6694
6695need_locks=$enable_libtool_lock
6696
6697if test -n "$ac_tool_prefix"; then
6698  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6699set dummy ${ac_tool_prefix}mt; ac_word=$2
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701$as_echo_n "checking for $ac_word... " >&6; }
6702if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6703  $as_echo_n "(cached) " >&6
6704else
6705  if test -n "$MANIFEST_TOOL"; then
6706  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6707else
6708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709for as_dir in $PATH
6710do
6711  IFS=$as_save_IFS
6712  test -z "$as_dir" && as_dir=.
6713    for ac_exec_ext in '' $ac_executable_extensions; do
6714  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6715    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6716    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6717    break 2
6718  fi
6719done
6720  done
6721IFS=$as_save_IFS
6722
6723fi
6724fi
6725MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6726if test -n "$MANIFEST_TOOL"; then
6727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6728$as_echo "$MANIFEST_TOOL" >&6; }
6729else
6730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731$as_echo "no" >&6; }
6732fi
6733
6734
6735fi
6736if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6737  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6738  # Extract the first word of "mt", so it can be a program name with args.
6739set dummy mt; ac_word=$2
6740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6741$as_echo_n "checking for $ac_word... " >&6; }
6742if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6743  $as_echo_n "(cached) " >&6
6744else
6745  if test -n "$ac_ct_MANIFEST_TOOL"; then
6746  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6747else
6748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6749for as_dir in $PATH
6750do
6751  IFS=$as_save_IFS
6752  test -z "$as_dir" && as_dir=.
6753    for ac_exec_ext in '' $ac_executable_extensions; do
6754  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6755    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6756    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6757    break 2
6758  fi
6759done
6760  done
6761IFS=$as_save_IFS
6762
6763fi
6764fi
6765ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6766if test -n "$ac_ct_MANIFEST_TOOL"; then
6767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6768$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6769else
6770  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6771$as_echo "no" >&6; }
6772fi
6773
6774  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6775    MANIFEST_TOOL=":"
6776  else
6777    case $cross_compiling:$ac_tool_warned in
6778yes:)
6779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6781ac_tool_warned=yes ;;
6782esac
6783    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6784  fi
6785else
6786  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6787fi
6788
6789test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6791$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6792if ${lt_cv_path_mainfest_tool+:} false; then :
6793  $as_echo_n "(cached) " >&6
6794else
6795  lt_cv_path_mainfest_tool=no
6796  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6797  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6798  cat conftest.err >&5
6799  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6800    lt_cv_path_mainfest_tool=yes
6801  fi
6802  rm -f conftest*
6803fi
6804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6805$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6806if test yes != "$lt_cv_path_mainfest_tool"; then
6807  MANIFEST_TOOL=:
6808fi
6809
6810
6811
6812
6813
6814
6815  case $host_os in
6816    rhapsody* | darwin*)
6817    if test -n "$ac_tool_prefix"; then
6818  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6819set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821$as_echo_n "checking for $ac_word... " >&6; }
6822if ${ac_cv_prog_DSYMUTIL+:} false; then :
6823  $as_echo_n "(cached) " >&6
6824else
6825  if test -n "$DSYMUTIL"; then
6826  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6827else
6828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829for as_dir in $PATH
6830do
6831  IFS=$as_save_IFS
6832  test -z "$as_dir" && as_dir=.
6833    for ac_exec_ext in '' $ac_executable_extensions; do
6834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837    break 2
6838  fi
6839done
6840  done
6841IFS=$as_save_IFS
6842
6843fi
6844fi
6845DSYMUTIL=$ac_cv_prog_DSYMUTIL
6846if test -n "$DSYMUTIL"; then
6847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6848$as_echo "$DSYMUTIL" >&6; }
6849else
6850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851$as_echo "no" >&6; }
6852fi
6853
6854
6855fi
6856if test -z "$ac_cv_prog_DSYMUTIL"; then
6857  ac_ct_DSYMUTIL=$DSYMUTIL
6858  # Extract the first word of "dsymutil", so it can be a program name with args.
6859set dummy dsymutil; ac_word=$2
6860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861$as_echo_n "checking for $ac_word... " >&6; }
6862if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6863  $as_echo_n "(cached) " >&6
6864else
6865  if test -n "$ac_ct_DSYMUTIL"; then
6866  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6867else
6868as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869for as_dir in $PATH
6870do
6871  IFS=$as_save_IFS
6872  test -z "$as_dir" && as_dir=.
6873    for ac_exec_ext in '' $ac_executable_extensions; do
6874  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6875    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6876    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6877    break 2
6878  fi
6879done
6880  done
6881IFS=$as_save_IFS
6882
6883fi
6884fi
6885ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6886if test -n "$ac_ct_DSYMUTIL"; then
6887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6888$as_echo "$ac_ct_DSYMUTIL" >&6; }
6889else
6890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891$as_echo "no" >&6; }
6892fi
6893
6894  if test "x$ac_ct_DSYMUTIL" = x; then
6895    DSYMUTIL=":"
6896  else
6897    case $cross_compiling:$ac_tool_warned in
6898yes:)
6899{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6900$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6901ac_tool_warned=yes ;;
6902esac
6903    DSYMUTIL=$ac_ct_DSYMUTIL
6904  fi
6905else
6906  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6907fi
6908
6909    if test -n "$ac_tool_prefix"; then
6910  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6911set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913$as_echo_n "checking for $ac_word... " >&6; }
6914if ${ac_cv_prog_NMEDIT+:} false; then :
6915  $as_echo_n "(cached) " >&6
6916else
6917  if test -n "$NMEDIT"; then
6918  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6919else
6920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921for as_dir in $PATH
6922do
6923  IFS=$as_save_IFS
6924  test -z "$as_dir" && as_dir=.
6925    for ac_exec_ext in '' $ac_executable_extensions; do
6926  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929    break 2
6930  fi
6931done
6932  done
6933IFS=$as_save_IFS
6934
6935fi
6936fi
6937NMEDIT=$ac_cv_prog_NMEDIT
6938if test -n "$NMEDIT"; then
6939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6940$as_echo "$NMEDIT" >&6; }
6941else
6942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943$as_echo "no" >&6; }
6944fi
6945
6946
6947fi
6948if test -z "$ac_cv_prog_NMEDIT"; then
6949  ac_ct_NMEDIT=$NMEDIT
6950  # Extract the first word of "nmedit", so it can be a program name with args.
6951set dummy nmedit; ac_word=$2
6952{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6953$as_echo_n "checking for $ac_word... " >&6; }
6954if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6955  $as_echo_n "(cached) " >&6
6956else
6957  if test -n "$ac_ct_NMEDIT"; then
6958  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6959else
6960as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6961for as_dir in $PATH
6962do
6963  IFS=$as_save_IFS
6964  test -z "$as_dir" && as_dir=.
6965    for ac_exec_ext in '' $ac_executable_extensions; do
6966  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6967    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6968    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6969    break 2
6970  fi
6971done
6972  done
6973IFS=$as_save_IFS
6974
6975fi
6976fi
6977ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6978if test -n "$ac_ct_NMEDIT"; then
6979  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6980$as_echo "$ac_ct_NMEDIT" >&6; }
6981else
6982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6983$as_echo "no" >&6; }
6984fi
6985
6986  if test "x$ac_ct_NMEDIT" = x; then
6987    NMEDIT=":"
6988  else
6989    case $cross_compiling:$ac_tool_warned in
6990yes:)
6991{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6992$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6993ac_tool_warned=yes ;;
6994esac
6995    NMEDIT=$ac_ct_NMEDIT
6996  fi
6997else
6998  NMEDIT="$ac_cv_prog_NMEDIT"
6999fi
7000
7001    if test -n "$ac_tool_prefix"; then
7002  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7003set dummy ${ac_tool_prefix}lipo; ac_word=$2
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005$as_echo_n "checking for $ac_word... " >&6; }
7006if ${ac_cv_prog_LIPO+:} false; then :
7007  $as_echo_n "(cached) " >&6
7008else
7009  if test -n "$LIPO"; then
7010  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7011else
7012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013for as_dir in $PATH
7014do
7015  IFS=$as_save_IFS
7016  test -z "$as_dir" && as_dir=.
7017    for ac_exec_ext in '' $ac_executable_extensions; do
7018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021    break 2
7022  fi
7023done
7024  done
7025IFS=$as_save_IFS
7026
7027fi
7028fi
7029LIPO=$ac_cv_prog_LIPO
7030if test -n "$LIPO"; then
7031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7032$as_echo "$LIPO" >&6; }
7033else
7034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035$as_echo "no" >&6; }
7036fi
7037
7038
7039fi
7040if test -z "$ac_cv_prog_LIPO"; then
7041  ac_ct_LIPO=$LIPO
7042  # Extract the first word of "lipo", so it can be a program name with args.
7043set dummy lipo; ac_word=$2
7044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7045$as_echo_n "checking for $ac_word... " >&6; }
7046if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7047  $as_echo_n "(cached) " >&6
7048else
7049  if test -n "$ac_ct_LIPO"; then
7050  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7051else
7052as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7053for as_dir in $PATH
7054do
7055  IFS=$as_save_IFS
7056  test -z "$as_dir" && as_dir=.
7057    for ac_exec_ext in '' $ac_executable_extensions; do
7058  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7059    ac_cv_prog_ac_ct_LIPO="lipo"
7060    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7061    break 2
7062  fi
7063done
7064  done
7065IFS=$as_save_IFS
7066
7067fi
7068fi
7069ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7070if test -n "$ac_ct_LIPO"; then
7071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7072$as_echo "$ac_ct_LIPO" >&6; }
7073else
7074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075$as_echo "no" >&6; }
7076fi
7077
7078  if test "x$ac_ct_LIPO" = x; then
7079    LIPO=":"
7080  else
7081    case $cross_compiling:$ac_tool_warned in
7082yes:)
7083{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7084$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7085ac_tool_warned=yes ;;
7086esac
7087    LIPO=$ac_ct_LIPO
7088  fi
7089else
7090  LIPO="$ac_cv_prog_LIPO"
7091fi
7092
7093    if test -n "$ac_tool_prefix"; then
7094  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7095set dummy ${ac_tool_prefix}otool; ac_word=$2
7096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097$as_echo_n "checking for $ac_word... " >&6; }
7098if ${ac_cv_prog_OTOOL+:} false; then :
7099  $as_echo_n "(cached) " >&6
7100else
7101  if test -n "$OTOOL"; then
7102  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7103else
7104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105for as_dir in $PATH
7106do
7107  IFS=$as_save_IFS
7108  test -z "$as_dir" && as_dir=.
7109    for ac_exec_ext in '' $ac_executable_extensions; do
7110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7111    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113    break 2
7114  fi
7115done
7116  done
7117IFS=$as_save_IFS
7118
7119fi
7120fi
7121OTOOL=$ac_cv_prog_OTOOL
7122if test -n "$OTOOL"; then
7123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7124$as_echo "$OTOOL" >&6; }
7125else
7126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127$as_echo "no" >&6; }
7128fi
7129
7130
7131fi
7132if test -z "$ac_cv_prog_OTOOL"; then
7133  ac_ct_OTOOL=$OTOOL
7134  # Extract the first word of "otool", so it can be a program name with args.
7135set dummy otool; ac_word=$2
7136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7137$as_echo_n "checking for $ac_word... " >&6; }
7138if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7139  $as_echo_n "(cached) " >&6
7140else
7141  if test -n "$ac_ct_OTOOL"; then
7142  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7143else
7144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7145for as_dir in $PATH
7146do
7147  IFS=$as_save_IFS
7148  test -z "$as_dir" && as_dir=.
7149    for ac_exec_ext in '' $ac_executable_extensions; do
7150  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7151    ac_cv_prog_ac_ct_OTOOL="otool"
7152    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7153    break 2
7154  fi
7155done
7156  done
7157IFS=$as_save_IFS
7158
7159fi
7160fi
7161ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7162if test -n "$ac_ct_OTOOL"; then
7163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7164$as_echo "$ac_ct_OTOOL" >&6; }
7165else
7166  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167$as_echo "no" >&6; }
7168fi
7169
7170  if test "x$ac_ct_OTOOL" = x; then
7171    OTOOL=":"
7172  else
7173    case $cross_compiling:$ac_tool_warned in
7174yes:)
7175{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7176$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7177ac_tool_warned=yes ;;
7178esac
7179    OTOOL=$ac_ct_OTOOL
7180  fi
7181else
7182  OTOOL="$ac_cv_prog_OTOOL"
7183fi
7184
7185    if test -n "$ac_tool_prefix"; then
7186  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7187set dummy ${ac_tool_prefix}otool64; ac_word=$2
7188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189$as_echo_n "checking for $ac_word... " >&6; }
7190if ${ac_cv_prog_OTOOL64+:} false; then :
7191  $as_echo_n "(cached) " >&6
7192else
7193  if test -n "$OTOOL64"; then
7194  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7195else
7196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197for as_dir in $PATH
7198do
7199  IFS=$as_save_IFS
7200  test -z "$as_dir" && as_dir=.
7201    for ac_exec_ext in '' $ac_executable_extensions; do
7202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205    break 2
7206  fi
7207done
7208  done
7209IFS=$as_save_IFS
7210
7211fi
7212fi
7213OTOOL64=$ac_cv_prog_OTOOL64
7214if test -n "$OTOOL64"; then
7215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7216$as_echo "$OTOOL64" >&6; }
7217else
7218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219$as_echo "no" >&6; }
7220fi
7221
7222
7223fi
7224if test -z "$ac_cv_prog_OTOOL64"; then
7225  ac_ct_OTOOL64=$OTOOL64
7226  # Extract the first word of "otool64", so it can be a program name with args.
7227set dummy otool64; ac_word=$2
7228{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7229$as_echo_n "checking for $ac_word... " >&6; }
7230if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7231  $as_echo_n "(cached) " >&6
7232else
7233  if test -n "$ac_ct_OTOOL64"; then
7234  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7235else
7236as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7237for as_dir in $PATH
7238do
7239  IFS=$as_save_IFS
7240  test -z "$as_dir" && as_dir=.
7241    for ac_exec_ext in '' $ac_executable_extensions; do
7242  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7243    ac_cv_prog_ac_ct_OTOOL64="otool64"
7244    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7245    break 2
7246  fi
7247done
7248  done
7249IFS=$as_save_IFS
7250
7251fi
7252fi
7253ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7254if test -n "$ac_ct_OTOOL64"; then
7255  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7256$as_echo "$ac_ct_OTOOL64" >&6; }
7257else
7258  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7259$as_echo "no" >&6; }
7260fi
7261
7262  if test "x$ac_ct_OTOOL64" = x; then
7263    OTOOL64=":"
7264  else
7265    case $cross_compiling:$ac_tool_warned in
7266yes:)
7267{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7268$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7269ac_tool_warned=yes ;;
7270esac
7271    OTOOL64=$ac_ct_OTOOL64
7272  fi
7273else
7274  OTOOL64="$ac_cv_prog_OTOOL64"
7275fi
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7304$as_echo_n "checking for -single_module linker flag... " >&6; }
7305if ${lt_cv_apple_cc_single_mod+:} false; then :
7306  $as_echo_n "(cached) " >&6
7307else
7308  lt_cv_apple_cc_single_mod=no
7309      if test -z "$LT_MULTI_MODULE"; then
7310	# By default we will add the -single_module flag. You can override
7311	# by either setting the environment variable LT_MULTI_MODULE
7312	# non-empty at configure time, or by adding -multi_module to the
7313	# link flags.
7314	rm -rf libconftest.dylib*
7315	echo "int foo(void){return 1;}" > conftest.c
7316	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7317-dynamiclib -Wl,-single_module conftest.c" >&5
7318	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7319	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7320        _lt_result=$?
7321	# If there is a non-empty error log, and "single_module"
7322	# appears in it, assume the flag caused a linker warning
7323        if test -s conftest.err && $GREP single_module conftest.err; then
7324	  cat conftest.err >&5
7325	# Otherwise, if the output was created with a 0 exit code from
7326	# the compiler, it worked.
7327	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7328	  lt_cv_apple_cc_single_mod=yes
7329	else
7330	  cat conftest.err >&5
7331	fi
7332	rm -rf libconftest.dylib*
7333	rm -f conftest.*
7334      fi
7335fi
7336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7337$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7338
7339    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7340$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7341if ${lt_cv_ld_exported_symbols_list+:} false; then :
7342  $as_echo_n "(cached) " >&6
7343else
7344  lt_cv_ld_exported_symbols_list=no
7345      save_LDFLAGS=$LDFLAGS
7346      echo "_main" > conftest.sym
7347      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7348      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7349/* end confdefs.h.  */
7350
7351int
7352main ()
7353{
7354
7355  ;
7356  return 0;
7357}
7358_ACEOF
7359if ac_fn_c_try_link "$LINENO"; then :
7360  lt_cv_ld_exported_symbols_list=yes
7361else
7362  lt_cv_ld_exported_symbols_list=no
7363fi
7364rm -f core conftest.err conftest.$ac_objext \
7365    conftest$ac_exeext conftest.$ac_ext
7366	LDFLAGS=$save_LDFLAGS
7367
7368fi
7369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7370$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7371
7372    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7373$as_echo_n "checking for -force_load linker flag... " >&6; }
7374if ${lt_cv_ld_force_load+:} false; then :
7375  $as_echo_n "(cached) " >&6
7376else
7377  lt_cv_ld_force_load=no
7378      cat > conftest.c << _LT_EOF
7379int forced_loaded() { return 2;}
7380_LT_EOF
7381      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7382      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7383      echo "$AR cr libconftest.a conftest.o" >&5
7384      $AR cr libconftest.a conftest.o 2>&5
7385      echo "$RANLIB libconftest.a" >&5
7386      $RANLIB libconftest.a 2>&5
7387      cat > conftest.c << _LT_EOF
7388int main() { return 0;}
7389_LT_EOF
7390      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7391      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7392      _lt_result=$?
7393      if test -s conftest.err && $GREP force_load conftest.err; then
7394	cat conftest.err >&5
7395      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7396	lt_cv_ld_force_load=yes
7397      else
7398	cat conftest.err >&5
7399      fi
7400        rm -f conftest.err libconftest.a conftest conftest.c
7401        rm -rf conftest.dSYM
7402
7403fi
7404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7405$as_echo "$lt_cv_ld_force_load" >&6; }
7406    case $host_os in
7407    rhapsody* | darwin1.[012])
7408      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7409    darwin1.*)
7410      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7411    darwin*) # darwin 5.x on
7412      # if running on 10.5 or later, the deployment target defaults
7413      # to the OS version, if on x86, and 10.4, the deployment
7414      # target defaults to 10.4. Don't you love it?
7415      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7416	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7417	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7418	10.[012][,.]*)
7419	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7420	10.*)
7421	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7422      esac
7423    ;;
7424  esac
7425    if test yes = "$lt_cv_apple_cc_single_mod"; then
7426      _lt_dar_single_mod='$single_module'
7427    fi
7428    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7429      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7430    else
7431      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7432    fi
7433    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7434      _lt_dsymutil='~$DSYMUTIL $lib || :'
7435    else
7436      _lt_dsymutil=
7437    fi
7438    ;;
7439  esac
7440
7441# func_munge_path_list VARIABLE PATH
7442# -----------------------------------
7443# VARIABLE is name of variable containing _space_ separated list of
7444# directories to be munged by the contents of PATH, which is string
7445# having a format:
7446# "DIR[:DIR]:"
7447#       string "DIR[ DIR]" will be prepended to VARIABLE
7448# ":DIR[:DIR]"
7449#       string "DIR[ DIR]" will be appended to VARIABLE
7450# "DIRP[:DIRP]::[DIRA:]DIRA"
7451#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7452#       "DIRA[ DIRA]" will be appended to VARIABLE
7453# "DIR[:DIR]"
7454#       VARIABLE will be replaced by "DIR[ DIR]"
7455func_munge_path_list ()
7456{
7457    case x$2 in
7458    x)
7459        ;;
7460    *:)
7461        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7462        ;;
7463    x:*)
7464        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7465        ;;
7466    *::*)
7467        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7468        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7469        ;;
7470    *)
7471        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7472        ;;
7473    esac
7474}
7475
7476ac_ext=c
7477ac_cpp='$CPP $CPPFLAGS'
7478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7480ac_compiler_gnu=$ac_cv_c_compiler_gnu
7481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7482$as_echo_n "checking how to run the C preprocessor... " >&6; }
7483# On Suns, sometimes $CPP names a directory.
7484if test -n "$CPP" && test -d "$CPP"; then
7485  CPP=
7486fi
7487if test -z "$CPP"; then
7488  if ${ac_cv_prog_CPP+:} false; then :
7489  $as_echo_n "(cached) " >&6
7490else
7491      # Double quotes because CPP needs to be expanded
7492    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7493    do
7494      ac_preproc_ok=false
7495for ac_c_preproc_warn_flag in '' yes
7496do
7497  # Use a header file that comes with gcc, so configuring glibc
7498  # with a fresh cross-compiler works.
7499  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7500  # <limits.h> exists even on freestanding compilers.
7501  # On the NeXT, cc -E runs the code through the compiler's parser,
7502  # not just through cpp. "Syntax error" is here to catch this case.
7503  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7504/* end confdefs.h.  */
7505#ifdef __STDC__
7506# include <limits.h>
7507#else
7508# include <assert.h>
7509#endif
7510		     Syntax error
7511_ACEOF
7512if ac_fn_c_try_cpp "$LINENO"; then :
7513
7514else
7515  # Broken: fails on valid input.
7516continue
7517fi
7518rm -f conftest.err conftest.i conftest.$ac_ext
7519
7520  # OK, works on sane cases.  Now check whether nonexistent headers
7521  # can be detected and how.
7522  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523/* end confdefs.h.  */
7524#include <ac_nonexistent.h>
7525_ACEOF
7526if ac_fn_c_try_cpp "$LINENO"; then :
7527  # Broken: success on invalid input.
7528continue
7529else
7530  # Passes both tests.
7531ac_preproc_ok=:
7532break
7533fi
7534rm -f conftest.err conftest.i conftest.$ac_ext
7535
7536done
7537# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7538rm -f conftest.i conftest.err conftest.$ac_ext
7539if $ac_preproc_ok; then :
7540  break
7541fi
7542
7543    done
7544    ac_cv_prog_CPP=$CPP
7545
7546fi
7547  CPP=$ac_cv_prog_CPP
7548else
7549  ac_cv_prog_CPP=$CPP
7550fi
7551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7552$as_echo "$CPP" >&6; }
7553ac_preproc_ok=false
7554for ac_c_preproc_warn_flag in '' yes
7555do
7556  # Use a header file that comes with gcc, so configuring glibc
7557  # with a fresh cross-compiler works.
7558  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7559  # <limits.h> exists even on freestanding compilers.
7560  # On the NeXT, cc -E runs the code through the compiler's parser,
7561  # not just through cpp. "Syntax error" is here to catch this case.
7562  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7563/* end confdefs.h.  */
7564#ifdef __STDC__
7565# include <limits.h>
7566#else
7567# include <assert.h>
7568#endif
7569		     Syntax error
7570_ACEOF
7571if ac_fn_c_try_cpp "$LINENO"; then :
7572
7573else
7574  # Broken: fails on valid input.
7575continue
7576fi
7577rm -f conftest.err conftest.i conftest.$ac_ext
7578
7579  # OK, works on sane cases.  Now check whether nonexistent headers
7580  # can be detected and how.
7581  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7582/* end confdefs.h.  */
7583#include <ac_nonexistent.h>
7584_ACEOF
7585if ac_fn_c_try_cpp "$LINENO"; then :
7586  # Broken: success on invalid input.
7587continue
7588else
7589  # Passes both tests.
7590ac_preproc_ok=:
7591break
7592fi
7593rm -f conftest.err conftest.i conftest.$ac_ext
7594
7595done
7596# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7597rm -f conftest.i conftest.err conftest.$ac_ext
7598if $ac_preproc_ok; then :
7599
7600else
7601  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7602$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7603as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7604See \`config.log' for more details" "$LINENO" 5; }
7605fi
7606
7607ac_ext=c
7608ac_cpp='$CPP $CPPFLAGS'
7609ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7610ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7611ac_compiler_gnu=$ac_cv_c_compiler_gnu
7612
7613
7614{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7615$as_echo_n "checking for ANSI C header files... " >&6; }
7616if ${ac_cv_header_stdc+:} false; then :
7617  $as_echo_n "(cached) " >&6
7618else
7619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7620/* end confdefs.h.  */
7621#include <stdlib.h>
7622#include <stdarg.h>
7623#include <string.h>
7624#include <float.h>
7625
7626int
7627main ()
7628{
7629
7630  ;
7631  return 0;
7632}
7633_ACEOF
7634if ac_fn_c_try_compile "$LINENO"; then :
7635  ac_cv_header_stdc=yes
7636else
7637  ac_cv_header_stdc=no
7638fi
7639rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7640
7641if test $ac_cv_header_stdc = yes; then
7642  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7643  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644/* end confdefs.h.  */
7645#include <string.h>
7646
7647_ACEOF
7648if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7649  $EGREP "memchr" >/dev/null 2>&1; then :
7650
7651else
7652  ac_cv_header_stdc=no
7653fi
7654rm -f conftest*
7655
7656fi
7657
7658if test $ac_cv_header_stdc = yes; then
7659  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7660  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7661/* end confdefs.h.  */
7662#include <stdlib.h>
7663
7664_ACEOF
7665if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7666  $EGREP "free" >/dev/null 2>&1; then :
7667
7668else
7669  ac_cv_header_stdc=no
7670fi
7671rm -f conftest*
7672
7673fi
7674
7675if test $ac_cv_header_stdc = yes; then
7676  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7677  if test "$cross_compiling" = yes; then :
7678  :
7679else
7680  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7681/* end confdefs.h.  */
7682#include <ctype.h>
7683#include <stdlib.h>
7684#if ((' ' & 0x0FF) == 0x020)
7685# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7686# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7687#else
7688# define ISLOWER(c) \
7689		   (('a' <= (c) && (c) <= 'i') \
7690		     || ('j' <= (c) && (c) <= 'r') \
7691		     || ('s' <= (c) && (c) <= 'z'))
7692# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7693#endif
7694
7695#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7696int
7697main ()
7698{
7699  int i;
7700  for (i = 0; i < 256; i++)
7701    if (XOR (islower (i), ISLOWER (i))
7702	|| toupper (i) != TOUPPER (i))
7703      return 2;
7704  return 0;
7705}
7706_ACEOF
7707if ac_fn_c_try_run "$LINENO"; then :
7708
7709else
7710  ac_cv_header_stdc=no
7711fi
7712rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7713  conftest.$ac_objext conftest.beam conftest.$ac_ext
7714fi
7715
7716fi
7717fi
7718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7719$as_echo "$ac_cv_header_stdc" >&6; }
7720if test $ac_cv_header_stdc = yes; then
7721
7722$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7723
7724fi
7725
7726# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7727for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7728		  inttypes.h stdint.h unistd.h
7729do :
7730  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7731ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7732"
7733if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7734  cat >>confdefs.h <<_ACEOF
7735#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7736_ACEOF
7737
7738fi
7739
7740done
7741
7742
7743for ac_header in dlfcn.h
7744do :
7745  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7746"
7747if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7748  cat >>confdefs.h <<_ACEOF
7749#define HAVE_DLFCN_H 1
7750_ACEOF
7751
7752fi
7753
7754done
7755
7756
7757
7758
7759
7760# Set options
7761
7762
7763
7764        enable_dlopen=no
7765
7766
7767  enable_win32_dll=no
7768
7769
7770            # Check whether --enable-shared was given.
7771if test "${enable_shared+set}" = set; then :
7772  enableval=$enable_shared; p=${PACKAGE-default}
7773    case $enableval in
7774    yes) enable_shared=yes ;;
7775    no) enable_shared=no ;;
7776    *)
7777      enable_shared=no
7778      # Look at the argument we got.  We use all the common list separators.
7779      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7780      for pkg in $enableval; do
7781	IFS=$lt_save_ifs
7782	if test "X$pkg" = "X$p"; then
7783	  enable_shared=yes
7784	fi
7785      done
7786      IFS=$lt_save_ifs
7787      ;;
7788    esac
7789else
7790  enable_shared=yes
7791fi
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801  # Check whether --enable-static was given.
7802if test "${enable_static+set}" = set; then :
7803  enableval=$enable_static; p=${PACKAGE-default}
7804    case $enableval in
7805    yes) enable_static=yes ;;
7806    no) enable_static=no ;;
7807    *)
7808     enable_static=no
7809      # Look at the argument we got.  We use all the common list separators.
7810      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7811      for pkg in $enableval; do
7812	IFS=$lt_save_ifs
7813	if test "X$pkg" = "X$p"; then
7814	  enable_static=yes
7815	fi
7816      done
7817      IFS=$lt_save_ifs
7818      ;;
7819    esac
7820else
7821  enable_static=yes
7822fi
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833# Check whether --with-pic was given.
7834if test "${with_pic+set}" = set; then :
7835  withval=$with_pic; lt_p=${PACKAGE-default}
7836    case $withval in
7837    yes|no) pic_mode=$withval ;;
7838    *)
7839      pic_mode=default
7840      # Look at the argument we got.  We use all the common list separators.
7841      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7842      for lt_pkg in $withval; do
7843	IFS=$lt_save_ifs
7844	if test "X$lt_pkg" = "X$lt_p"; then
7845	  pic_mode=yes
7846	fi
7847      done
7848      IFS=$lt_save_ifs
7849      ;;
7850    esac
7851else
7852  pic_mode=default
7853fi
7854
7855
7856
7857
7858
7859
7860
7861
7862  # Check whether --enable-fast-install was given.
7863if test "${enable_fast_install+set}" = set; then :
7864  enableval=$enable_fast_install; p=${PACKAGE-default}
7865    case $enableval in
7866    yes) enable_fast_install=yes ;;
7867    no) enable_fast_install=no ;;
7868    *)
7869      enable_fast_install=no
7870      # Look at the argument we got.  We use all the common list separators.
7871      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7872      for pkg in $enableval; do
7873	IFS=$lt_save_ifs
7874	if test "X$pkg" = "X$p"; then
7875	  enable_fast_install=yes
7876	fi
7877      done
7878      IFS=$lt_save_ifs
7879      ;;
7880    esac
7881else
7882  enable_fast_install=yes
7883fi
7884
7885
7886
7887
7888
7889
7890
7891
7892  shared_archive_member_spec=
7893case $host,$enable_shared in
7894power*-*-aix[5-9]*,yes)
7895  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7896$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7897
7898# Check whether --with-aix-soname was given.
7899if test "${with_aix_soname+set}" = set; then :
7900  withval=$with_aix_soname; case $withval in
7901    aix|svr4|both)
7902      ;;
7903    *)
7904      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7905      ;;
7906    esac
7907    lt_cv_with_aix_soname=$with_aix_soname
7908else
7909  if ${lt_cv_with_aix_soname+:} false; then :
7910  $as_echo_n "(cached) " >&6
7911else
7912  lt_cv_with_aix_soname=aix
7913fi
7914
7915    with_aix_soname=$lt_cv_with_aix_soname
7916fi
7917
7918  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7919$as_echo "$with_aix_soname" >&6; }
7920  if test aix != "$with_aix_soname"; then
7921    # For the AIX way of multilib, we name the shared archive member
7922    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7923    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7924    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7925    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7926    if test 64 = "${OBJECT_MODE-32}"; then
7927      shared_archive_member_spec=shr_64
7928    else
7929      shared_archive_member_spec=shr
7930    fi
7931  fi
7932  ;;
7933*)
7934  with_aix_soname=aix
7935  ;;
7936esac
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947# This can be used to rebuild libtool when needed
7948LIBTOOL_DEPS=$ltmain
7949
7950# Always use our own libtool.
7951LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982test -z "$LN_S" && LN_S="ln -s"
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997if test -n "${ZSH_VERSION+set}"; then
7998   setopt NO_GLOB_SUBST
7999fi
8000
8001{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8002$as_echo_n "checking for objdir... " >&6; }
8003if ${lt_cv_objdir+:} false; then :
8004  $as_echo_n "(cached) " >&6
8005else
8006  rm -f .libs 2>/dev/null
8007mkdir .libs 2>/dev/null
8008if test -d .libs; then
8009  lt_cv_objdir=.libs
8010else
8011  # MS-DOS does not allow filenames that begin with a dot.
8012  lt_cv_objdir=_libs
8013fi
8014rmdir .libs 2>/dev/null
8015fi
8016{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8017$as_echo "$lt_cv_objdir" >&6; }
8018objdir=$lt_cv_objdir
8019
8020
8021
8022
8023
8024cat >>confdefs.h <<_ACEOF
8025#define LT_OBJDIR "$lt_cv_objdir/"
8026_ACEOF
8027
8028
8029
8030
8031case $host_os in
8032aix3*)
8033  # AIX sometimes has problems with the GCC collect2 program.  For some
8034  # reason, if we set the COLLECT_NAMES environment variable, the problems
8035  # vanish in a puff of smoke.
8036  if test set != "${COLLECT_NAMES+set}"; then
8037    COLLECT_NAMES=
8038    export COLLECT_NAMES
8039  fi
8040  ;;
8041esac
8042
8043# Global variables:
8044ofile=libtool
8045can_build_shared=yes
8046
8047# All known linkers require a '.a' archive for static linking (except MSVC,
8048# which needs '.lib').
8049libext=a
8050
8051with_gnu_ld=$lt_cv_prog_gnu_ld
8052
8053old_CC=$CC
8054old_CFLAGS=$CFLAGS
8055
8056# Set sane defaults for various variables
8057test -z "$CC" && CC=cc
8058test -z "$LTCC" && LTCC=$CC
8059test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8060test -z "$LD" && LD=ld
8061test -z "$ac_objext" && ac_objext=o
8062
8063func_cc_basename $compiler
8064cc_basename=$func_cc_basename_result
8065
8066
8067# Only perform the check for file, if the check method requires it
8068test -z "$MAGIC_CMD" && MAGIC_CMD=file
8069case $deplibs_check_method in
8070file_magic*)
8071  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8072    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8073$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8074if ${lt_cv_path_MAGIC_CMD+:} false; then :
8075  $as_echo_n "(cached) " >&6
8076else
8077  case $MAGIC_CMD in
8078[\\/*] |  ?:[\\/]*)
8079  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8080  ;;
8081*)
8082  lt_save_MAGIC_CMD=$MAGIC_CMD
8083  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8084  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8085  for ac_dir in $ac_dummy; do
8086    IFS=$lt_save_ifs
8087    test -z "$ac_dir" && ac_dir=.
8088    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8089      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8090      if test -n "$file_magic_test_file"; then
8091	case $deplibs_check_method in
8092	"file_magic "*)
8093	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8094	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8095	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8096	    $EGREP "$file_magic_regex" > /dev/null; then
8097	    :
8098	  else
8099	    cat <<_LT_EOF 1>&2
8100
8101*** Warning: the command libtool uses to detect shared libraries,
8102*** $file_magic_cmd, produces output that libtool cannot recognize.
8103*** The result is that libtool may fail to recognize shared libraries
8104*** as such.  This will affect the creation of libtool libraries that
8105*** depend on shared libraries, but programs linked with such libtool
8106*** libraries will work regardless of this problem.  Nevertheless, you
8107*** may want to report the problem to your system manager and/or to
8108*** bug-libtool@gnu.org
8109
8110_LT_EOF
8111	  fi ;;
8112	esac
8113      fi
8114      break
8115    fi
8116  done
8117  IFS=$lt_save_ifs
8118  MAGIC_CMD=$lt_save_MAGIC_CMD
8119  ;;
8120esac
8121fi
8122
8123MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8124if test -n "$MAGIC_CMD"; then
8125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8126$as_echo "$MAGIC_CMD" >&6; }
8127else
8128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129$as_echo "no" >&6; }
8130fi
8131
8132
8133
8134
8135
8136if test -z "$lt_cv_path_MAGIC_CMD"; then
8137  if test -n "$ac_tool_prefix"; then
8138    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8139$as_echo_n "checking for file... " >&6; }
8140if ${lt_cv_path_MAGIC_CMD+:} false; then :
8141  $as_echo_n "(cached) " >&6
8142else
8143  case $MAGIC_CMD in
8144[\\/*] |  ?:[\\/]*)
8145  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8146  ;;
8147*)
8148  lt_save_MAGIC_CMD=$MAGIC_CMD
8149  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8150  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8151  for ac_dir in $ac_dummy; do
8152    IFS=$lt_save_ifs
8153    test -z "$ac_dir" && ac_dir=.
8154    if test -f "$ac_dir/file"; then
8155      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8156      if test -n "$file_magic_test_file"; then
8157	case $deplibs_check_method in
8158	"file_magic "*)
8159	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8160	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8161	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8162	    $EGREP "$file_magic_regex" > /dev/null; then
8163	    :
8164	  else
8165	    cat <<_LT_EOF 1>&2
8166
8167*** Warning: the command libtool uses to detect shared libraries,
8168*** $file_magic_cmd, produces output that libtool cannot recognize.
8169*** The result is that libtool may fail to recognize shared libraries
8170*** as such.  This will affect the creation of libtool libraries that
8171*** depend on shared libraries, but programs linked with such libtool
8172*** libraries will work regardless of this problem.  Nevertheless, you
8173*** may want to report the problem to your system manager and/or to
8174*** bug-libtool@gnu.org
8175
8176_LT_EOF
8177	  fi ;;
8178	esac
8179      fi
8180      break
8181    fi
8182  done
8183  IFS=$lt_save_ifs
8184  MAGIC_CMD=$lt_save_MAGIC_CMD
8185  ;;
8186esac
8187fi
8188
8189MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8190if test -n "$MAGIC_CMD"; then
8191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8192$as_echo "$MAGIC_CMD" >&6; }
8193else
8194  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8195$as_echo "no" >&6; }
8196fi
8197
8198
8199  else
8200    MAGIC_CMD=:
8201  fi
8202fi
8203
8204  fi
8205  ;;
8206esac
8207
8208# Use C for the default configuration in the libtool script
8209
8210lt_save_CC=$CC
8211ac_ext=c
8212ac_cpp='$CPP $CPPFLAGS'
8213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8215ac_compiler_gnu=$ac_cv_c_compiler_gnu
8216
8217
8218# Source file extension for C test sources.
8219ac_ext=c
8220
8221# Object file extension for compiled C test sources.
8222objext=o
8223objext=$objext
8224
8225# Code to be used in simple compile tests
8226lt_simple_compile_test_code="int some_variable = 0;"
8227
8228# Code to be used in simple link tests
8229lt_simple_link_test_code='int main(){return(0);}'
8230
8231
8232
8233
8234
8235
8236
8237# If no C compiler was specified, use CC.
8238LTCC=${LTCC-"$CC"}
8239
8240# If no C compiler flags were specified, use CFLAGS.
8241LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8242
8243# Allow CC to be a program name with arguments.
8244compiler=$CC
8245
8246# Save the default compiler, since it gets overwritten when the other
8247# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8248compiler_DEFAULT=$CC
8249
8250# save warnings/boilerplate of simple test code
8251ac_outfile=conftest.$ac_objext
8252echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8253eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8254_lt_compiler_boilerplate=`cat conftest.err`
8255$RM conftest*
8256
8257ac_outfile=conftest.$ac_objext
8258echo "$lt_simple_link_test_code" >conftest.$ac_ext
8259eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8260_lt_linker_boilerplate=`cat conftest.err`
8261$RM -r conftest*
8262
8263
8264if test -n "$compiler"; then
8265
8266lt_prog_compiler_no_builtin_flag=
8267
8268if test yes = "$GCC"; then
8269  case $cc_basename in
8270  nvcc*)
8271    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8272  *)
8273    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8274  esac
8275
8276  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8277$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8278if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8279  $as_echo_n "(cached) " >&6
8280else
8281  lt_cv_prog_compiler_rtti_exceptions=no
8282   ac_outfile=conftest.$ac_objext
8283   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8284   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8285   # Insert the option either (1) after the last *FLAGS variable, or
8286   # (2) before a word containing "conftest.", or (3) at the end.
8287   # Note that $ac_compile itself does not contain backslashes and begins
8288   # with a dollar sign (not a hyphen), so the echo should work correctly.
8289   # The option is referenced via a variable to avoid confusing sed.
8290   lt_compile=`echo "$ac_compile" | $SED \
8291   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8292   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8293   -e 's:$: $lt_compiler_flag:'`
8294   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8295   (eval "$lt_compile" 2>conftest.err)
8296   ac_status=$?
8297   cat conftest.err >&5
8298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299   if (exit $ac_status) && test -s "$ac_outfile"; then
8300     # The compiler can only warn and ignore the option if not recognized
8301     # So say no if there are warnings other than the usual output.
8302     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8303     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8304     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8305       lt_cv_prog_compiler_rtti_exceptions=yes
8306     fi
8307   fi
8308   $RM conftest*
8309
8310fi
8311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8312$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8313
8314if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8315    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8316else
8317    :
8318fi
8319
8320fi
8321
8322
8323
8324
8325
8326
8327  lt_prog_compiler_wl=
8328lt_prog_compiler_pic=
8329lt_prog_compiler_static=
8330
8331
8332  if test yes = "$GCC"; then
8333    lt_prog_compiler_wl='-Wl,'
8334    lt_prog_compiler_static='-static'
8335
8336    case $host_os in
8337      aix*)
8338      # All AIX code is PIC.
8339      if test ia64 = "$host_cpu"; then
8340	# AIX 5 now supports IA64 processor
8341	lt_prog_compiler_static='-Bstatic'
8342      fi
8343      lt_prog_compiler_pic='-fPIC'
8344      ;;
8345
8346    amigaos*)
8347      case $host_cpu in
8348      powerpc)
8349            # see comment about AmigaOS4 .so support
8350            lt_prog_compiler_pic='-fPIC'
8351        ;;
8352      m68k)
8353            # FIXME: we need at least 68020 code to build shared libraries, but
8354            # adding the '-m68020' flag to GCC prevents building anything better,
8355            # like '-m68040'.
8356            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8357        ;;
8358      esac
8359      ;;
8360
8361    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8362      # PIC is the default for these OSes.
8363      ;;
8364
8365    mingw* | cygwin* | pw32* | os2* | cegcc*)
8366      # This hack is so that the source file can tell whether it is being
8367      # built for inclusion in a dll (and should export symbols for example).
8368      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8369      # (--disable-auto-import) libraries
8370      lt_prog_compiler_pic='-DDLL_EXPORT'
8371      case $host_os in
8372      os2*)
8373	lt_prog_compiler_static='$wl-static'
8374	;;
8375      esac
8376      ;;
8377
8378    darwin* | rhapsody*)
8379      # PIC is the default on this platform
8380      # Common symbols not allowed in MH_DYLIB files
8381      lt_prog_compiler_pic='-fno-common'
8382      ;;
8383
8384    haiku*)
8385      # PIC is the default for Haiku.
8386      # The "-static" flag exists, but is broken.
8387      lt_prog_compiler_static=
8388      ;;
8389
8390    hpux*)
8391      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8392      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8393      # sets the default TLS model and affects inlining.
8394      case $host_cpu in
8395      hppa*64*)
8396	# +Z the default
8397	;;
8398      *)
8399	lt_prog_compiler_pic='-fPIC'
8400	;;
8401      esac
8402      ;;
8403
8404    interix[3-9]*)
8405      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8406      # Instead, we relocate shared libraries at runtime.
8407      ;;
8408
8409    msdosdjgpp*)
8410      # Just because we use GCC doesn't mean we suddenly get shared libraries
8411      # on systems that don't support them.
8412      lt_prog_compiler_can_build_shared=no
8413      enable_shared=no
8414      ;;
8415
8416    *nto* | *qnx*)
8417      # QNX uses GNU C++, but need to define -shared option too, otherwise
8418      # it will coredump.
8419      lt_prog_compiler_pic='-fPIC -shared'
8420      ;;
8421
8422    sysv4*MP*)
8423      if test -d /usr/nec; then
8424	lt_prog_compiler_pic=-Kconform_pic
8425      fi
8426      ;;
8427
8428    *)
8429      lt_prog_compiler_pic='-fPIC'
8430      ;;
8431    esac
8432
8433    case $cc_basename in
8434    nvcc*) # Cuda Compiler Driver 2.2
8435      lt_prog_compiler_wl='-Xlinker '
8436      if test -n "$lt_prog_compiler_pic"; then
8437        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8438      fi
8439      ;;
8440    esac
8441  else
8442    # PORTME Check for flag to pass linker flags through the system compiler.
8443    case $host_os in
8444    aix*)
8445      lt_prog_compiler_wl='-Wl,'
8446      if test ia64 = "$host_cpu"; then
8447	# AIX 5 now supports IA64 processor
8448	lt_prog_compiler_static='-Bstatic'
8449      else
8450	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8451      fi
8452      ;;
8453
8454    darwin* | rhapsody*)
8455      # PIC is the default on this platform
8456      # Common symbols not allowed in MH_DYLIB files
8457      lt_prog_compiler_pic='-fno-common'
8458      case $cc_basename in
8459      nagfor*)
8460        # NAG Fortran compiler
8461        lt_prog_compiler_wl='-Wl,-Wl,,'
8462        lt_prog_compiler_pic='-PIC'
8463        lt_prog_compiler_static='-Bstatic'
8464        ;;
8465      esac
8466      ;;
8467
8468    mingw* | cygwin* | pw32* | os2* | cegcc*)
8469      # This hack is so that the source file can tell whether it is being
8470      # built for inclusion in a dll (and should export symbols for example).
8471      lt_prog_compiler_pic='-DDLL_EXPORT'
8472      case $host_os in
8473      os2*)
8474	lt_prog_compiler_static='$wl-static'
8475	;;
8476      esac
8477      ;;
8478
8479    hpux9* | hpux10* | hpux11*)
8480      lt_prog_compiler_wl='-Wl,'
8481      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8482      # not for PA HP-UX.
8483      case $host_cpu in
8484      hppa*64*|ia64*)
8485	# +Z the default
8486	;;
8487      *)
8488	lt_prog_compiler_pic='+Z'
8489	;;
8490      esac
8491      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8492      lt_prog_compiler_static='$wl-a ${wl}archive'
8493      ;;
8494
8495    irix5* | irix6* | nonstopux*)
8496      lt_prog_compiler_wl='-Wl,'
8497      # PIC (with -KPIC) is the default.
8498      lt_prog_compiler_static='-non_shared'
8499      ;;
8500
8501    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8502      case $cc_basename in
8503      # old Intel for x86_64, which still supported -KPIC.
8504      ecc*)
8505	lt_prog_compiler_wl='-Wl,'
8506	lt_prog_compiler_pic='-KPIC'
8507	lt_prog_compiler_static='-static'
8508        ;;
8509      # flang / f18. f95 an alias for gfortran or flang on Debian
8510      flang* | f18* | f95*)
8511	lt_prog_compiler_wl='-Wl,'
8512	lt_prog_compiler_pic='-fPIC'
8513	lt_prog_compiler_static='-static'
8514        ;;
8515      # icc used to be incompatible with GCC.
8516      # ICC 10 doesn't accept -KPIC any more.
8517      icc* | ifort*)
8518	lt_prog_compiler_wl='-Wl,'
8519	lt_prog_compiler_pic='-fPIC'
8520	lt_prog_compiler_static='-static'
8521        ;;
8522      # Lahey Fortran 8.1.
8523      lf95*)
8524	lt_prog_compiler_wl='-Wl,'
8525	lt_prog_compiler_pic='--shared'
8526	lt_prog_compiler_static='--static'
8527	;;
8528      nagfor*)
8529	# NAG Fortran compiler
8530	lt_prog_compiler_wl='-Wl,-Wl,,'
8531	lt_prog_compiler_pic='-PIC'
8532	lt_prog_compiler_static='-Bstatic'
8533	;;
8534      tcc*)
8535	# Fabrice Bellard et al's Tiny C Compiler
8536	lt_prog_compiler_wl='-Wl,'
8537	lt_prog_compiler_pic='-fPIC'
8538	lt_prog_compiler_static='-static'
8539	;;
8540      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8541        # Portland Group compilers (*not* the Pentium gcc compiler,
8542	# which looks to be a dead project)
8543	lt_prog_compiler_wl='-Wl,'
8544	lt_prog_compiler_pic='-fpic'
8545	lt_prog_compiler_static='-Bstatic'
8546        ;;
8547      ccc*)
8548        lt_prog_compiler_wl='-Wl,'
8549        # All Alpha code is PIC.
8550        lt_prog_compiler_static='-non_shared'
8551        ;;
8552      xl* | bgxl* | bgf* | mpixl*)
8553	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8554	lt_prog_compiler_wl='-Wl,'
8555	lt_prog_compiler_pic='-qpic'
8556	lt_prog_compiler_static='-qstaticlink'
8557	;;
8558      *)
8559	case `$CC -V 2>&1 | sed 5q` in
8560	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8561	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8562	  lt_prog_compiler_pic='-KPIC'
8563	  lt_prog_compiler_static='-Bstatic'
8564	  lt_prog_compiler_wl=''
8565	  ;;
8566	*Sun\ F* | *Sun*Fortran*)
8567	  lt_prog_compiler_pic='-KPIC'
8568	  lt_prog_compiler_static='-Bstatic'
8569	  lt_prog_compiler_wl='-Qoption ld '
8570	  ;;
8571	*Sun\ C*)
8572	  # Sun C 5.9
8573	  lt_prog_compiler_pic='-KPIC'
8574	  lt_prog_compiler_static='-Bstatic'
8575	  lt_prog_compiler_wl='-Wl,'
8576	  ;;
8577        *Intel*\ [CF]*Compiler*)
8578	  lt_prog_compiler_wl='-Wl,'
8579	  lt_prog_compiler_pic='-fPIC'
8580	  lt_prog_compiler_static='-static'
8581	  ;;
8582	*Portland\ Group*)
8583	  lt_prog_compiler_wl='-Wl,'
8584	  lt_prog_compiler_pic='-fpic'
8585	  lt_prog_compiler_static='-Bstatic'
8586	  ;;
8587	esac
8588	;;
8589      esac
8590      ;;
8591
8592    newsos6)
8593      lt_prog_compiler_pic='-KPIC'
8594      lt_prog_compiler_static='-Bstatic'
8595      ;;
8596
8597    *nto* | *qnx*)
8598      # QNX uses GNU C++, but need to define -shared option too, otherwise
8599      # it will coredump.
8600      lt_prog_compiler_pic='-fPIC -shared'
8601      ;;
8602
8603    osf3* | osf4* | osf5*)
8604      lt_prog_compiler_wl='-Wl,'
8605      # All OSF/1 code is PIC.
8606      lt_prog_compiler_static='-non_shared'
8607      ;;
8608
8609    rdos*)
8610      lt_prog_compiler_static='-non_shared'
8611      ;;
8612
8613    solaris*)
8614      lt_prog_compiler_pic='-KPIC'
8615      lt_prog_compiler_static='-Bstatic'
8616      case $cc_basename in
8617      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8618	lt_prog_compiler_wl='-Qoption ld ';;
8619      *)
8620	lt_prog_compiler_wl='-Wl,';;
8621      esac
8622      ;;
8623
8624    sunos4*)
8625      lt_prog_compiler_wl='-Qoption ld '
8626      lt_prog_compiler_pic='-PIC'
8627      lt_prog_compiler_static='-Bstatic'
8628      ;;
8629
8630    sysv4 | sysv4.2uw2* | sysv4.3*)
8631      lt_prog_compiler_wl='-Wl,'
8632      lt_prog_compiler_pic='-KPIC'
8633      lt_prog_compiler_static='-Bstatic'
8634      ;;
8635
8636    sysv4*MP*)
8637      if test -d /usr/nec; then
8638	lt_prog_compiler_pic='-Kconform_pic'
8639	lt_prog_compiler_static='-Bstatic'
8640      fi
8641      ;;
8642
8643    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8644      lt_prog_compiler_wl='-Wl,'
8645      lt_prog_compiler_pic='-KPIC'
8646      lt_prog_compiler_static='-Bstatic'
8647      ;;
8648
8649    unicos*)
8650      lt_prog_compiler_wl='-Wl,'
8651      lt_prog_compiler_can_build_shared=no
8652      ;;
8653
8654    uts4*)
8655      lt_prog_compiler_pic='-pic'
8656      lt_prog_compiler_static='-Bstatic'
8657      ;;
8658
8659    *)
8660      lt_prog_compiler_can_build_shared=no
8661      ;;
8662    esac
8663  fi
8664
8665case $host_os in
8666  # For platforms that do not support PIC, -DPIC is meaningless:
8667  *djgpp*)
8668    lt_prog_compiler_pic=
8669    ;;
8670  *)
8671    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8672    ;;
8673esac
8674
8675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8676$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8677if ${lt_cv_prog_compiler_pic+:} false; then :
8678  $as_echo_n "(cached) " >&6
8679else
8680  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8681fi
8682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8683$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8684lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8685
8686#
8687# Check to make sure the PIC flag actually works.
8688#
8689if test -n "$lt_prog_compiler_pic"; then
8690  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8691$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8692if ${lt_cv_prog_compiler_pic_works+:} false; then :
8693  $as_echo_n "(cached) " >&6
8694else
8695  lt_cv_prog_compiler_pic_works=no
8696   ac_outfile=conftest.$ac_objext
8697   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8698   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8699   # Insert the option either (1) after the last *FLAGS variable, or
8700   # (2) before a word containing "conftest.", or (3) at the end.
8701   # Note that $ac_compile itself does not contain backslashes and begins
8702   # with a dollar sign (not a hyphen), so the echo should work correctly.
8703   # The option is referenced via a variable to avoid confusing sed.
8704   lt_compile=`echo "$ac_compile" | $SED \
8705   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8706   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8707   -e 's:$: $lt_compiler_flag:'`
8708   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8709   (eval "$lt_compile" 2>conftest.err)
8710   ac_status=$?
8711   cat conftest.err >&5
8712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713   if (exit $ac_status) && test -s "$ac_outfile"; then
8714     # The compiler can only warn and ignore the option if not recognized
8715     # So say no if there are warnings other than the usual output.
8716     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8717     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8718     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8719       lt_cv_prog_compiler_pic_works=yes
8720     fi
8721   fi
8722   $RM conftest*
8723
8724fi
8725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8726$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8727
8728if test yes = "$lt_cv_prog_compiler_pic_works"; then
8729    case $lt_prog_compiler_pic in
8730     "" | " "*) ;;
8731     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8732     esac
8733else
8734    lt_prog_compiler_pic=
8735     lt_prog_compiler_can_build_shared=no
8736fi
8737
8738fi
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750#
8751# Check to make sure the static flag actually works.
8752#
8753wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8755$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8756if ${lt_cv_prog_compiler_static_works+:} false; then :
8757  $as_echo_n "(cached) " >&6
8758else
8759  lt_cv_prog_compiler_static_works=no
8760   save_LDFLAGS=$LDFLAGS
8761   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8762   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8763   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8764     # The linker can only warn and ignore the option if not recognized
8765     # So say no if there are warnings
8766     if test -s conftest.err; then
8767       # Append any errors to the config.log.
8768       cat conftest.err 1>&5
8769       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8770       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8771       if diff conftest.exp conftest.er2 >/dev/null; then
8772         lt_cv_prog_compiler_static_works=yes
8773       fi
8774     else
8775       lt_cv_prog_compiler_static_works=yes
8776     fi
8777   fi
8778   $RM -r conftest*
8779   LDFLAGS=$save_LDFLAGS
8780
8781fi
8782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8783$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8784
8785if test yes = "$lt_cv_prog_compiler_static_works"; then
8786    :
8787else
8788    lt_prog_compiler_static=
8789fi
8790
8791
8792
8793
8794
8795
8796
8797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8798$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8799if ${lt_cv_prog_compiler_c_o+:} false; then :
8800  $as_echo_n "(cached) " >&6
8801else
8802  lt_cv_prog_compiler_c_o=no
8803   $RM -r conftest 2>/dev/null
8804   mkdir conftest
8805   cd conftest
8806   mkdir out
8807   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8808
8809   lt_compiler_flag="-o out/conftest2.$ac_objext"
8810   # Insert the option either (1) after the last *FLAGS variable, or
8811   # (2) before a word containing "conftest.", or (3) at the end.
8812   # Note that $ac_compile itself does not contain backslashes and begins
8813   # with a dollar sign (not a hyphen), so the echo should work correctly.
8814   lt_compile=`echo "$ac_compile" | $SED \
8815   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8816   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8817   -e 's:$: $lt_compiler_flag:'`
8818   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8819   (eval "$lt_compile" 2>out/conftest.err)
8820   ac_status=$?
8821   cat out/conftest.err >&5
8822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8824   then
8825     # The compiler can only warn and ignore the option if not recognized
8826     # So say no if there are warnings
8827     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8828     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8829     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8830       lt_cv_prog_compiler_c_o=yes
8831     fi
8832   fi
8833   chmod u+w . 2>&5
8834   $RM conftest*
8835   # SGI C++ compiler will create directory out/ii_files/ for
8836   # template instantiation
8837   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8838   $RM out/* && rmdir out
8839   cd ..
8840   $RM -r conftest
8841   $RM conftest*
8842
8843fi
8844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8845$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8846
8847
8848
8849
8850
8851
8852  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8853$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8854if ${lt_cv_prog_compiler_c_o+:} false; then :
8855  $as_echo_n "(cached) " >&6
8856else
8857  lt_cv_prog_compiler_c_o=no
8858   $RM -r conftest 2>/dev/null
8859   mkdir conftest
8860   cd conftest
8861   mkdir out
8862   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8863
8864   lt_compiler_flag="-o out/conftest2.$ac_objext"
8865   # Insert the option either (1) after the last *FLAGS variable, or
8866   # (2) before a word containing "conftest.", or (3) at the end.
8867   # Note that $ac_compile itself does not contain backslashes and begins
8868   # with a dollar sign (not a hyphen), so the echo should work correctly.
8869   lt_compile=`echo "$ac_compile" | $SED \
8870   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8871   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8872   -e 's:$: $lt_compiler_flag:'`
8873   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8874   (eval "$lt_compile" 2>out/conftest.err)
8875   ac_status=$?
8876   cat out/conftest.err >&5
8877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8878   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8879   then
8880     # The compiler can only warn and ignore the option if not recognized
8881     # So say no if there are warnings
8882     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8883     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8884     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8885       lt_cv_prog_compiler_c_o=yes
8886     fi
8887   fi
8888   chmod u+w . 2>&5
8889   $RM conftest*
8890   # SGI C++ compiler will create directory out/ii_files/ for
8891   # template instantiation
8892   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8893   $RM out/* && rmdir out
8894   cd ..
8895   $RM -r conftest
8896   $RM conftest*
8897
8898fi
8899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8900$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8901
8902
8903
8904
8905hard_links=nottested
8906if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8907  # do not overwrite the value of need_locks provided by the user
8908  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8909$as_echo_n "checking if we can lock with hard links... " >&6; }
8910  hard_links=yes
8911  $RM conftest*
8912  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8913  touch conftest.a
8914  ln conftest.a conftest.b 2>&5 || hard_links=no
8915  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8916  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8917$as_echo "$hard_links" >&6; }
8918  if test no = "$hard_links"; then
8919    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8920$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8921    need_locks=warn
8922  fi
8923else
8924  need_locks=no
8925fi
8926
8927
8928
8929
8930
8931
8932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8933$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8934
8935  runpath_var=
8936  allow_undefined_flag=
8937  always_export_symbols=no
8938  archive_cmds=
8939  archive_expsym_cmds=
8940  compiler_needs_object=no
8941  enable_shared_with_static_runtimes=no
8942  export_dynamic_flag_spec=
8943  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8944  hardcode_automatic=no
8945  hardcode_direct=no
8946  hardcode_direct_absolute=no
8947  hardcode_libdir_flag_spec=
8948  hardcode_libdir_separator=
8949  hardcode_minus_L=no
8950  hardcode_shlibpath_var=unsupported
8951  inherit_rpath=no
8952  link_all_deplibs=unknown
8953  module_cmds=
8954  module_expsym_cmds=
8955  old_archive_from_new_cmds=
8956  old_archive_from_expsyms_cmds=
8957  thread_safe_flag_spec=
8958  whole_archive_flag_spec=
8959  # include_expsyms should be a list of space-separated symbols to be *always*
8960  # included in the symbol list
8961  include_expsyms=
8962  # exclude_expsyms can be an extended regexp of symbols to exclude
8963  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8964  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8965  # as well as any symbol that contains 'd'.
8966  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8967  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8968  # platforms (ab)use it in PIC code, but their linkers get confused if
8969  # the symbol is explicitly referenced.  Since portable code cannot
8970  # rely on this symbol name, it's probably fine to never include it in
8971  # preloaded symbol tables.
8972  # Exclude shared library initialization/finalization symbols.
8973  extract_expsyms_cmds=
8974
8975  case $host_os in
8976  cygwin* | mingw* | pw32* | cegcc*)
8977    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8978    # When not using gcc, we currently assume that we are using
8979    # Microsoft Visual C++.
8980    if test yes != "$GCC"; then
8981      with_gnu_ld=no
8982    fi
8983    ;;
8984  interix*)
8985    # we just hope/assume this is gcc and not c89 (= MSVC++)
8986    with_gnu_ld=yes
8987    ;;
8988  openbsd* | bitrig*)
8989    with_gnu_ld=no
8990    ;;
8991  linux* | k*bsd*-gnu | gnu*)
8992    link_all_deplibs=no
8993    ;;
8994  esac
8995
8996  ld_shlibs=yes
8997
8998  # On some targets, GNU ld is compatible enough with the native linker
8999  # that we're better off using the native interface for both.
9000  lt_use_gnu_ld_interface=no
9001  if test yes = "$with_gnu_ld"; then
9002    case $host_os in
9003      aix*)
9004	# The AIX port of GNU ld has always aspired to compatibility
9005	# with the native linker.  However, as the warning in the GNU ld
9006	# block says, versions before 2.19.5* couldn't really create working
9007	# shared libraries, regardless of the interface used.
9008	case `$LD -v 2>&1` in
9009	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9010	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9011	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9012	  *)
9013	    lt_use_gnu_ld_interface=yes
9014	    ;;
9015	esac
9016	;;
9017      *)
9018	lt_use_gnu_ld_interface=yes
9019	;;
9020    esac
9021  fi
9022
9023  if test yes = "$lt_use_gnu_ld_interface"; then
9024    # If archive_cmds runs LD, not CC, wlarc should be empty
9025    wlarc='$wl'
9026
9027    # Set some defaults for GNU ld with shared library support. These
9028    # are reset later if shared libraries are not supported. Putting them
9029    # here allows them to be overridden if necessary.
9030    runpath_var=LD_RUN_PATH
9031    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9032    export_dynamic_flag_spec='$wl--export-dynamic'
9033    # ancient GNU ld didn't support --whole-archive et. al.
9034    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9035      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
9036    else
9037      whole_archive_flag_spec=
9038    fi
9039    supports_anon_versioning=no
9040    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
9041      *GNU\ gold*) supports_anon_versioning=yes ;;
9042      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9043      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9044      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9045      *\ 2.11.*) ;; # other 2.11 versions
9046      *) supports_anon_versioning=yes ;;
9047    esac
9048
9049    # See if GNU ld supports shared libraries.
9050    case $host_os in
9051    aix[3-9]*)
9052      # On AIX/PPC, the GNU linker is very broken
9053      if test ia64 != "$host_cpu"; then
9054	ld_shlibs=no
9055	cat <<_LT_EOF 1>&2
9056
9057*** Warning: the GNU linker, at least up to release 2.19, is reported
9058*** to be unable to reliably create shared libraries on AIX.
9059*** Therefore, libtool is disabling shared libraries support.  If you
9060*** really care for shared libraries, you may want to install binutils
9061*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9062*** You will then need to restart the configuration process.
9063
9064_LT_EOF
9065      fi
9066      ;;
9067
9068    amigaos*)
9069      case $host_cpu in
9070      powerpc)
9071            # see comment about AmigaOS4 .so support
9072            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9073            archive_expsym_cmds=''
9074        ;;
9075      m68k)
9076            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)'
9077            hardcode_libdir_flag_spec='-L$libdir'
9078            hardcode_minus_L=yes
9079        ;;
9080      esac
9081      ;;
9082
9083    beos*)
9084      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9085	allow_undefined_flag=unsupported
9086	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9087	# support --undefined.  This deserves some investigation.  FIXME
9088	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9089      else
9090	ld_shlibs=no
9091      fi
9092      ;;
9093
9094    cygwin* | mingw* | pw32* | cegcc*)
9095      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9096      # as there is no search path for DLLs.
9097      hardcode_libdir_flag_spec='-L$libdir'
9098      export_dynamic_flag_spec='$wl--export-all-symbols'
9099      allow_undefined_flag=unsupported
9100      always_export_symbols=no
9101      enable_shared_with_static_runtimes=yes
9102      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'
9103      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9104
9105      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9106        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9107	# If the export-symbols file already is a .def file, use it as
9108	# is; otherwise, prepend EXPORTS...
9109	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9110          cp $export_symbols $output_objdir/$soname.def;
9111        else
9112          echo EXPORTS > $output_objdir/$soname.def;
9113          cat $export_symbols >> $output_objdir/$soname.def;
9114        fi~
9115        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9116      else
9117	ld_shlibs=no
9118      fi
9119      ;;
9120
9121    haiku*)
9122      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9123      link_all_deplibs=yes
9124      ;;
9125
9126    os2*)
9127      hardcode_libdir_flag_spec='-L$libdir'
9128      hardcode_minus_L=yes
9129      allow_undefined_flag=unsupported
9130      shrext_cmds=.dll
9131      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9132	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9133	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9134	$ECHO EXPORTS >> $output_objdir/$libname.def~
9135	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9136	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9137	emximp -o $lib $output_objdir/$libname.def'
9138      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9139	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9140	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9141	$ECHO EXPORTS >> $output_objdir/$libname.def~
9142	prefix_cmds="$SED"~
9143	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9144	  prefix_cmds="$prefix_cmds -e 1d";
9145	fi~
9146	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9147	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9148	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9149	emximp -o $lib $output_objdir/$libname.def'
9150      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9151      enable_shared_with_static_runtimes=yes
9152      ;;
9153
9154    interix[3-9]*)
9155      hardcode_direct=no
9156      hardcode_shlibpath_var=no
9157      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9158      export_dynamic_flag_spec='$wl-E'
9159      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9160      # Instead, shared libraries are loaded at an image base (0x10000000 by
9161      # default) and relocated if they conflict, which is a slow very memory
9162      # consuming and fragmenting process.  To avoid this, we pick a random,
9163      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9164      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9165      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9166      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'
9167      ;;
9168
9169    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9170      tmp_diet=no
9171      if test linux-dietlibc = "$host_os"; then
9172	case $cc_basename in
9173	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9174	esac
9175      fi
9176      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9177	 && test no = "$tmp_diet"
9178      then
9179	tmp_addflag=' $pic_flag'
9180	tmp_sharedflag='-shared'
9181	case $cc_basename,$host_cpu in
9182        pgcc*)				# Portland Group C compiler
9183	  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'
9184	  tmp_addflag=' $pic_flag'
9185	  ;;
9186	pgf77* | pgf90* | pgf95* | pgfortran*)
9187					# Portland Group f77 and f90 compilers
9188	  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'
9189	  tmp_addflag=' $pic_flag -Mnomain' ;;
9190	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9191	  tmp_addflag=' -i_dynamic' ;;
9192	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9193	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9194	ifc* | ifort*)			# Intel Fortran compiler
9195	  tmp_addflag=' -nofor_main' ;;
9196	lf95*)				# Lahey Fortran 8.1
9197	  whole_archive_flag_spec=
9198	  tmp_sharedflag='--shared' ;;
9199        nagfor*)                        # NAGFOR 5.3
9200          tmp_sharedflag='-Wl,-shared' ;;
9201	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9202	  tmp_sharedflag='-qmkshrobj'
9203	  tmp_addflag= ;;
9204	nvcc*)	# Cuda Compiler Driver 2.2
9205	  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'
9206	  compiler_needs_object=yes
9207	  ;;
9208	esac
9209	case `$CC -V 2>&1 | sed 5q` in
9210	*Sun\ C*)			# Sun C 5.9
9211	  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'
9212	  compiler_needs_object=yes
9213	  tmp_sharedflag='-G' ;;
9214	*Sun\ F*)			# Sun Fortran 8.3
9215	  tmp_sharedflag='-G' ;;
9216	esac
9217	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9218
9219        if test yes = "$supports_anon_versioning"; then
9220          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9221            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9222            echo "local: *; };" >> $output_objdir/$libname.ver~
9223            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9224        fi
9225
9226	case $cc_basename in
9227	tcc*)
9228	  export_dynamic_flag_spec='-rdynamic'
9229	  ;;
9230	xlf* | bgf* | bgxlf* | mpixlf*)
9231	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9232	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9233	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9234	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9235	  if test yes = "$supports_anon_versioning"; then
9236	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9237              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9238              echo "local: *; };" >> $output_objdir/$libname.ver~
9239              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9240	  fi
9241	  ;;
9242	esac
9243      else
9244        ld_shlibs=no
9245      fi
9246      ;;
9247
9248    netbsd* | netbsdelf*-gnu)
9249      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9250	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9251	wlarc=
9252      else
9253	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9254	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9255      fi
9256      ;;
9257
9258    solaris*)
9259      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9260	ld_shlibs=no
9261	cat <<_LT_EOF 1>&2
9262
9263*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9264*** create shared libraries on Solaris systems.  Therefore, libtool
9265*** is disabling shared libraries support.  We urge you to upgrade GNU
9266*** binutils to release 2.9.1 or newer.  Another option is to modify
9267*** your PATH or compiler configuration so that the native linker is
9268*** used, and then restart.
9269
9270_LT_EOF
9271      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9272	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9273	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9274      else
9275	ld_shlibs=no
9276      fi
9277      ;;
9278
9279    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9280      case `$LD -v 2>&1` in
9281        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9282	ld_shlibs=no
9283	cat <<_LT_EOF 1>&2
9284
9285*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9286*** reliably create shared libraries on SCO systems.  Therefore, libtool
9287*** is disabling shared libraries support.  We urge you to upgrade GNU
9288*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9289*** your PATH or compiler configuration so that the native linker is
9290*** used, and then restart.
9291
9292_LT_EOF
9293	;;
9294	*)
9295	  # For security reasons, it is highly recommended that you always
9296	  # use absolute paths for naming shared libraries, and exclude the
9297	  # DT_RUNPATH tag from executables and libraries.  But doing so
9298	  # requires that you compile everything twice, which is a pain.
9299	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9300	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9301	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9302	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9303	  else
9304	    ld_shlibs=no
9305	  fi
9306	;;
9307      esac
9308      ;;
9309
9310    sunos4*)
9311      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9312      wlarc=
9313      hardcode_direct=yes
9314      hardcode_shlibpath_var=no
9315      ;;
9316
9317    *)
9318      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9319	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9320	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9321      else
9322	ld_shlibs=no
9323      fi
9324      ;;
9325    esac
9326
9327    if test no = "$ld_shlibs"; then
9328      runpath_var=
9329      hardcode_libdir_flag_spec=
9330      export_dynamic_flag_spec=
9331      whole_archive_flag_spec=
9332    fi
9333  else
9334    # PORTME fill in a description of your system's linker (not GNU ld)
9335    case $host_os in
9336    aix3*)
9337      allow_undefined_flag=unsupported
9338      always_export_symbols=yes
9339      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'
9340      # Note: this linker hardcodes the directories in LIBPATH if there
9341      # are no directories specified by -L.
9342      hardcode_minus_L=yes
9343      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9344	# Neither direct hardcoding nor static linking is supported with a
9345	# broken collect2.
9346	hardcode_direct=unsupported
9347      fi
9348      ;;
9349
9350    aix[4-9]*)
9351      if test ia64 = "$host_cpu"; then
9352	# On IA64, the linker does run time linking by default, so we don't
9353	# have to do anything special.
9354	aix_use_runtimelinking=no
9355	exp_sym_flag='-Bexport'
9356	no_entry_flag=
9357      else
9358	# If we're using GNU nm, then we don't want the "-C" option.
9359	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9360	# Without the "-l" option, or with the "-B" option, AIX nm treats
9361	# weak defined symbols like other global defined symbols, whereas
9362	# GNU nm marks them as "W".
9363	# While the 'weak' keyword is ignored in the Export File, we need
9364	# it in the Import File for the 'aix-soname' feature, so we have
9365	# to replace the "-B" option with "-P" for AIX nm.
9366	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9367	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
9368	else
9369	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
9370	fi
9371	aix_use_runtimelinking=no
9372
9373	# Test if we are trying to use run time linking or normal
9374	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9375	# have runtime linking enabled, and use it for executables.
9376	# For shared libraries, we enable/disable runtime linking
9377	# depending on the kind of the shared library created -
9378	# when "with_aix_soname,aix_use_runtimelinking" is:
9379	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9380	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9381	#            lib.a           static archive
9382	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9383	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9384	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9385	#            lib.a(lib.so.V) shared, rtl:no
9386	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9387	#            lib.a           static archive
9388	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9389	  for ld_flag in $LDFLAGS; do
9390	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9391	    aix_use_runtimelinking=yes
9392	    break
9393	  fi
9394	  done
9395	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9396	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9397	    # so we don't have lib.a shared libs to link our executables.
9398	    # We have to force runtime linking in this case.
9399	    aix_use_runtimelinking=yes
9400	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9401	  fi
9402	  ;;
9403	esac
9404
9405	exp_sym_flag='-bexport'
9406	no_entry_flag='-bnoentry'
9407      fi
9408
9409      # When large executables or shared objects are built, AIX ld can
9410      # have problems creating the table of contents.  If linking a library
9411      # or program results in "error TOC overflow" add -mminimal-toc to
9412      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9413      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9414
9415      archive_cmds=''
9416      hardcode_direct=yes
9417      hardcode_direct_absolute=yes
9418      hardcode_libdir_separator=':'
9419      link_all_deplibs=yes
9420      file_list_spec='$wl-f,'
9421      case $with_aix_soname,$aix_use_runtimelinking in
9422      aix,*) ;; # traditional, no import file
9423      svr4,* | *,yes) # use import file
9424	# The Import File defines what to hardcode.
9425	hardcode_direct=no
9426	hardcode_direct_absolute=no
9427	;;
9428      esac
9429
9430      if test yes = "$GCC"; then
9431	case $host_os in aix4.[012]|aix4.[012].*)
9432	# We only want to do this on AIX 4.2 and lower, the check
9433	# below for broken collect2 doesn't work under 4.3+
9434	  collect2name=`$CC -print-prog-name=collect2`
9435	  if test -f "$collect2name" &&
9436	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9437	  then
9438	  # We have reworked collect2
9439	  :
9440	  else
9441	  # We have old collect2
9442	  hardcode_direct=unsupported
9443	  # It fails to find uninstalled libraries when the uninstalled
9444	  # path is not listed in the libpath.  Setting hardcode_minus_L
9445	  # to unsupported forces relinking
9446	  hardcode_minus_L=yes
9447	  hardcode_libdir_flag_spec='-L$libdir'
9448	  hardcode_libdir_separator=
9449	  fi
9450	  ;;
9451	esac
9452	shared_flag='-shared'
9453	if test yes = "$aix_use_runtimelinking"; then
9454	  shared_flag="$shared_flag "'$wl-G'
9455	fi
9456	# Need to ensure runtime linking is disabled for the traditional
9457	# shared library, or the linker may eventually find shared libraries
9458	# /with/ Import File - we do not want to mix them.
9459	shared_flag_aix='-shared'
9460	shared_flag_svr4='-shared $wl-G'
9461      else
9462	# not using gcc
9463	if test ia64 = "$host_cpu"; then
9464	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9465	# chokes on -Wl,-G. The following line is correct:
9466	  shared_flag='-G'
9467	else
9468	  if test yes = "$aix_use_runtimelinking"; then
9469	    shared_flag='$wl-G'
9470	  else
9471	    shared_flag='$wl-bM:SRE'
9472	  fi
9473	  shared_flag_aix='$wl-bM:SRE'
9474	  shared_flag_svr4='$wl-G'
9475	fi
9476      fi
9477
9478      export_dynamic_flag_spec='$wl-bexpall'
9479      # It seems that -bexpall does not export symbols beginning with
9480      # underscore (_), so it is better to generate a list of symbols to export.
9481      always_export_symbols=yes
9482      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9483	# Warning - without using the other runtime loading flags (-brtl),
9484	# -berok will link without error, but may produce a broken library.
9485	allow_undefined_flag='-berok'
9486        # Determine the default libpath from the value encoded in an
9487        # empty executable.
9488        if test set = "${lt_cv_aix_libpath+set}"; then
9489  aix_libpath=$lt_cv_aix_libpath
9490else
9491  if ${lt_cv_aix_libpath_+:} false; then :
9492  $as_echo_n "(cached) " >&6
9493else
9494  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9495/* end confdefs.h.  */
9496
9497int
9498main ()
9499{
9500
9501  ;
9502  return 0;
9503}
9504_ACEOF
9505if ac_fn_c_try_link "$LINENO"; then :
9506
9507  lt_aix_libpath_sed='
9508      /Import File Strings/,/^$/ {
9509	  /^0/ {
9510	      s/^0  *\([^ ]*\) *$/\1/
9511	      p
9512	  }
9513      }'
9514  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9515  # Check for a 64-bit object if we didn't find anything.
9516  if test -z "$lt_cv_aix_libpath_"; then
9517    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9518  fi
9519fi
9520rm -f core conftest.err conftest.$ac_objext \
9521    conftest$ac_exeext conftest.$ac_ext
9522  if test -z "$lt_cv_aix_libpath_"; then
9523    lt_cv_aix_libpath_=/usr/lib:/lib
9524  fi
9525
9526fi
9527
9528  aix_libpath=$lt_cv_aix_libpath_
9529fi
9530
9531        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9532        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
9533      else
9534	if test ia64 = "$host_cpu"; then
9535	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9536	  allow_undefined_flag="-z nodefs"
9537	  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"
9538	else
9539	 # Determine the default libpath from the value encoded in an
9540	 # empty executable.
9541	 if test set = "${lt_cv_aix_libpath+set}"; then
9542  aix_libpath=$lt_cv_aix_libpath
9543else
9544  if ${lt_cv_aix_libpath_+:} false; then :
9545  $as_echo_n "(cached) " >&6
9546else
9547  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9548/* end confdefs.h.  */
9549
9550int
9551main ()
9552{
9553
9554  ;
9555  return 0;
9556}
9557_ACEOF
9558if ac_fn_c_try_link "$LINENO"; then :
9559
9560  lt_aix_libpath_sed='
9561      /Import File Strings/,/^$/ {
9562	  /^0/ {
9563	      s/^0  *\([^ ]*\) *$/\1/
9564	      p
9565	  }
9566      }'
9567  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9568  # Check for a 64-bit object if we didn't find anything.
9569  if test -z "$lt_cv_aix_libpath_"; then
9570    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9571  fi
9572fi
9573rm -f core conftest.err conftest.$ac_objext \
9574    conftest$ac_exeext conftest.$ac_ext
9575  if test -z "$lt_cv_aix_libpath_"; then
9576    lt_cv_aix_libpath_=/usr/lib:/lib
9577  fi
9578
9579fi
9580
9581  aix_libpath=$lt_cv_aix_libpath_
9582fi
9583
9584	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9585	  # Warning - without using the other run time loading flags,
9586	  # -berok will link without error, but may produce a broken library.
9587	  no_undefined_flag=' $wl-bernotok'
9588	  allow_undefined_flag=' $wl-berok'
9589	  if test yes = "$with_gnu_ld"; then
9590	    # We only use this code for GNU lds that support --whole-archive.
9591	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9592	  else
9593	    # Exported symbols can be pulled into shared objects from archives
9594	    whole_archive_flag_spec='$convenience'
9595	  fi
9596	  archive_cmds_need_lc=yes
9597	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9598	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9599	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9600	  if test svr4 != "$with_aix_soname"; then
9601	    # This is similar to how AIX traditionally builds its shared libraries.
9602	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
9603	  fi
9604	  if test aix != "$with_aix_soname"; then
9605	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
9606	  else
9607	    # used by -dlpreopen to get the symbols
9608	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9609	  fi
9610	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9611	fi
9612      fi
9613      ;;
9614
9615    amigaos*)
9616      case $host_cpu in
9617      powerpc)
9618            # see comment about AmigaOS4 .so support
9619            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9620            archive_expsym_cmds=''
9621        ;;
9622      m68k)
9623            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)'
9624            hardcode_libdir_flag_spec='-L$libdir'
9625            hardcode_minus_L=yes
9626        ;;
9627      esac
9628      ;;
9629
9630    bsdi[45]*)
9631      export_dynamic_flag_spec=-rdynamic
9632      ;;
9633
9634    cygwin* | mingw* | pw32* | cegcc*)
9635      # When not using gcc, we currently assume that we are using
9636      # Microsoft Visual C++.
9637      # hardcode_libdir_flag_spec is actually meaningless, as there is
9638      # no search path for DLLs.
9639      case $cc_basename in
9640      cl*)
9641	# Native MSVC
9642	hardcode_libdir_flag_spec=' '
9643	allow_undefined_flag=unsupported
9644	always_export_symbols=yes
9645	file_list_spec='@'
9646	# Tell ltmain to make .lib files, not .a files.
9647	libext=lib
9648	# Tell ltmain to make .dll files, not .so files.
9649	shrext_cmds=.dll
9650	# FIXME: Setting linknames here is a bad hack.
9651	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9652	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9653            cp "$export_symbols" "$output_objdir/$soname.def";
9654            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9655          else
9656            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9657          fi~
9658          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9659          linknames='
9660	# The linker will not automatically build a static lib if we build a DLL.
9661	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9662	enable_shared_with_static_runtimes=yes
9663	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9664	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9665	# Don't use ranlib
9666	old_postinstall_cmds='chmod 644 $oldlib'
9667	postlink_cmds='lt_outputfile="@OUTPUT@"~
9668          lt_tool_outputfile="@TOOL_OUTPUT@"~
9669          case $lt_outputfile in
9670            *.exe|*.EXE) ;;
9671            *)
9672              lt_outputfile=$lt_outputfile.exe
9673              lt_tool_outputfile=$lt_tool_outputfile.exe
9674              ;;
9675          esac~
9676          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9677            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9678            $RM "$lt_outputfile.manifest";
9679          fi'
9680	;;
9681      *)
9682	# Assume MSVC wrapper
9683	hardcode_libdir_flag_spec=' '
9684	allow_undefined_flag=unsupported
9685	# Tell ltmain to make .lib files, not .a files.
9686	libext=lib
9687	# Tell ltmain to make .dll files, not .so files.
9688	shrext_cmds=.dll
9689	# FIXME: Setting linknames here is a bad hack.
9690	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691	# The linker will automatically build a .lib file if we build a DLL.
9692	old_archive_from_new_cmds='true'
9693	# FIXME: Should let the user specify the lib program.
9694	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695	enable_shared_with_static_runtimes=yes
9696	;;
9697      esac
9698      ;;
9699
9700    darwin* | rhapsody*)
9701
9702
9703  archive_cmds_need_lc=no
9704  hardcode_direct=no
9705  hardcode_automatic=yes
9706  hardcode_shlibpath_var=unsupported
9707  if test yes = "$lt_cv_ld_force_load"; then
9708    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\"`'
9709
9710  else
9711    whole_archive_flag_spec=''
9712  fi
9713  link_all_deplibs=yes
9714  allow_undefined_flag=$_lt_dar_allow_undefined
9715  case $cc_basename in
9716     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9717     *) _lt_dar_can_shared=$GCC ;;
9718  esac
9719  if test yes = "$_lt_dar_can_shared"; then
9720    output_verbose_link_cmd=func_echo_all
9721    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9722    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9723    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"
9724    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"
9725
9726  else
9727  ld_shlibs=no
9728  fi
9729
9730      ;;
9731
9732    dgux*)
9733      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9734      hardcode_libdir_flag_spec='-L$libdir'
9735      hardcode_shlibpath_var=no
9736      ;;
9737
9738    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9739    # support.  Future versions do this automatically, but an explicit c++rt0.o
9740    # does not break anything, and helps significantly (at the cost of a little
9741    # extra space).
9742    freebsd2.2*)
9743      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9744      hardcode_libdir_flag_spec='-R$libdir'
9745      hardcode_direct=yes
9746      hardcode_shlibpath_var=no
9747      ;;
9748
9749    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9750    freebsd2.*)
9751      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9752      hardcode_direct=yes
9753      hardcode_minus_L=yes
9754      hardcode_shlibpath_var=no
9755      ;;
9756
9757    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9758    freebsd* | dragonfly*)
9759      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9760      hardcode_libdir_flag_spec='-R$libdir'
9761      hardcode_direct=yes
9762      hardcode_shlibpath_var=no
9763      ;;
9764
9765    hpux9*)
9766      if test yes = "$GCC"; then
9767	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9768      else
9769	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
9770      fi
9771      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9772      hardcode_libdir_separator=:
9773      hardcode_direct=yes
9774
9775      # hardcode_minus_L: Not really in the search PATH,
9776      # but as the default location of the library.
9777      hardcode_minus_L=yes
9778      export_dynamic_flag_spec='$wl-E'
9779      ;;
9780
9781    hpux10*)
9782      if test yes,no = "$GCC,$with_gnu_ld"; then
9783	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9784      else
9785	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9786      fi
9787      if test no = "$with_gnu_ld"; then
9788	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9789	hardcode_libdir_separator=:
9790	hardcode_direct=yes
9791	hardcode_direct_absolute=yes
9792	export_dynamic_flag_spec='$wl-E'
9793	# hardcode_minus_L: Not really in the search PATH,
9794	# but as the default location of the library.
9795	hardcode_minus_L=yes
9796      fi
9797      ;;
9798
9799    hpux11*)
9800      if test yes,no = "$GCC,$with_gnu_ld"; then
9801	case $host_cpu in
9802	hppa*64*)
9803	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9804	  ;;
9805	ia64*)
9806	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9807	  ;;
9808	*)
9809	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9810	  ;;
9811	esac
9812      else
9813	case $host_cpu in
9814	hppa*64*)
9815	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9816	  ;;
9817	ia64*)
9818	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9819	  ;;
9820	*)
9821
9822	  # Older versions of the 11.00 compiler do not understand -b yet
9823	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9824	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9825$as_echo_n "checking if $CC understands -b... " >&6; }
9826if ${lt_cv_prog_compiler__b+:} false; then :
9827  $as_echo_n "(cached) " >&6
9828else
9829  lt_cv_prog_compiler__b=no
9830   save_LDFLAGS=$LDFLAGS
9831   LDFLAGS="$LDFLAGS -b"
9832   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9833   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9834     # The linker can only warn and ignore the option if not recognized
9835     # So say no if there are warnings
9836     if test -s conftest.err; then
9837       # Append any errors to the config.log.
9838       cat conftest.err 1>&5
9839       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9840       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9841       if diff conftest.exp conftest.er2 >/dev/null; then
9842         lt_cv_prog_compiler__b=yes
9843       fi
9844     else
9845       lt_cv_prog_compiler__b=yes
9846     fi
9847   fi
9848   $RM -r conftest*
9849   LDFLAGS=$save_LDFLAGS
9850
9851fi
9852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9853$as_echo "$lt_cv_prog_compiler__b" >&6; }
9854
9855if test yes = "$lt_cv_prog_compiler__b"; then
9856    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9857else
9858    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9859fi
9860
9861	  ;;
9862	esac
9863      fi
9864      if test no = "$with_gnu_ld"; then
9865	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9866	hardcode_libdir_separator=:
9867
9868	case $host_cpu in
9869	hppa*64*|ia64*)
9870	  hardcode_direct=no
9871	  hardcode_shlibpath_var=no
9872	  ;;
9873	*)
9874	  hardcode_direct=yes
9875	  hardcode_direct_absolute=yes
9876	  export_dynamic_flag_spec='$wl-E'
9877
9878	  # hardcode_minus_L: Not really in the search PATH,
9879	  # but as the default location of the library.
9880	  hardcode_minus_L=yes
9881	  ;;
9882	esac
9883      fi
9884      ;;
9885
9886    irix5* | irix6* | nonstopux*)
9887      if test yes = "$GCC"; then
9888	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'
9889	# Try to use the -exported_symbol ld option, if it does not
9890	# work, assume that -exports_file does not work either and
9891	# implicitly export all symbols.
9892	# This should be the same for all languages, so no per-tag cache variable.
9893	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9894$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9895if ${lt_cv_irix_exported_symbol+:} false; then :
9896  $as_echo_n "(cached) " >&6
9897else
9898  save_LDFLAGS=$LDFLAGS
9899	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9900	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9901/* end confdefs.h.  */
9902int foo (void) { return 0; }
9903_ACEOF
9904if ac_fn_c_try_link "$LINENO"; then :
9905  lt_cv_irix_exported_symbol=yes
9906else
9907  lt_cv_irix_exported_symbol=no
9908fi
9909rm -f core conftest.err conftest.$ac_objext \
9910    conftest$ac_exeext conftest.$ac_ext
9911           LDFLAGS=$save_LDFLAGS
9912fi
9913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9914$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9915	if test yes = "$lt_cv_irix_exported_symbol"; then
9916          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'
9917	fi
9918	link_all_deplibs=no
9919      else
9920	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'
9921	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'
9922      fi
9923      archive_cmds_need_lc='no'
9924      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9925      hardcode_libdir_separator=:
9926      inherit_rpath=yes
9927      link_all_deplibs=yes
9928      ;;
9929
9930    linux*)
9931      case $cc_basename in
9932      tcc*)
9933	# Fabrice Bellard et al's Tiny C Compiler
9934	ld_shlibs=yes
9935	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9936	;;
9937      esac
9938      ;;
9939
9940    netbsd* | netbsdelf*-gnu)
9941      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9942	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9943      else
9944	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9945      fi
9946      hardcode_libdir_flag_spec='-R$libdir'
9947      hardcode_direct=yes
9948      hardcode_shlibpath_var=no
9949      ;;
9950
9951    newsos6)
9952      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9953      hardcode_direct=yes
9954      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9955      hardcode_libdir_separator=:
9956      hardcode_shlibpath_var=no
9957      ;;
9958
9959    *nto* | *qnx*)
9960      ;;
9961
9962    openbsd* | bitrig*)
9963      if test -f /usr/libexec/ld.so; then
9964	hardcode_direct=yes
9965	hardcode_shlibpath_var=no
9966	hardcode_direct_absolute=yes
9967	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9968	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9969	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9970	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9971	  export_dynamic_flag_spec='$wl-E'
9972	else
9973	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9974	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9975	fi
9976      else
9977	ld_shlibs=no
9978      fi
9979      ;;
9980
9981    os2*)
9982      hardcode_libdir_flag_spec='-L$libdir'
9983      hardcode_minus_L=yes
9984      allow_undefined_flag=unsupported
9985      shrext_cmds=.dll
9986      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9987	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9988	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9989	$ECHO EXPORTS >> $output_objdir/$libname.def~
9990	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9991	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9992	emximp -o $lib $output_objdir/$libname.def'
9993      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9994	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9995	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9996	$ECHO EXPORTS >> $output_objdir/$libname.def~
9997	prefix_cmds="$SED"~
9998	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9999	  prefix_cmds="$prefix_cmds -e 1d";
10000	fi~
10001	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10002	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10003	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10004	emximp -o $lib $output_objdir/$libname.def'
10005      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10006      enable_shared_with_static_runtimes=yes
10007      ;;
10008
10009    osf3*)
10010      if test yes = "$GCC"; then
10011	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10012	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'
10013      else
10014	allow_undefined_flag=' -expect_unresolved \*'
10015	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'
10016      fi
10017      archive_cmds_need_lc='no'
10018      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10019      hardcode_libdir_separator=:
10020      ;;
10021
10022    osf4* | osf5*)	# as osf3* with the addition of -msym flag
10023      if test yes = "$GCC"; then
10024	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
10025	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'
10026	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10027      else
10028	allow_undefined_flag=' -expect_unresolved \*'
10029	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'
10030	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~
10031          $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'
10032
10033	# Both c and cxx compiler support -rpath directly
10034	hardcode_libdir_flag_spec='-rpath $libdir'
10035      fi
10036      archive_cmds_need_lc='no'
10037      hardcode_libdir_separator=:
10038      ;;
10039
10040    solaris*)
10041      no_undefined_flag=' -z defs'
10042      if test yes = "$GCC"; then
10043	wlarc='$wl'
10044	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10045	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10046          $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'
10047      else
10048	case `$CC -V 2>&1` in
10049	*"Compilers 5.0"*)
10050	  wlarc=''
10051	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10052	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10053            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10054	  ;;
10055	*)
10056	  wlarc='$wl'
10057	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10058	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10059            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10060	  ;;
10061	esac
10062      fi
10063      hardcode_libdir_flag_spec='-R$libdir'
10064      hardcode_shlibpath_var=no
10065      case $host_os in
10066      solaris2.[0-5] | solaris2.[0-5].*) ;;
10067      *)
10068	# The compiler driver will combine and reorder linker options,
10069	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10070	# but is careful enough not to reorder.
10071	# Supported since Solaris 2.6 (maybe 2.5.1?)
10072	if test yes = "$GCC"; then
10073	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10074	else
10075	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10076	fi
10077	;;
10078      esac
10079      link_all_deplibs=yes
10080      ;;
10081
10082    sunos4*)
10083      if test sequent = "$host_vendor"; then
10084	# Use $CC to link under sequent, because it throws in some extra .o
10085	# files that make .init and .fini sections work.
10086	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087      else
10088	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10089      fi
10090      hardcode_libdir_flag_spec='-L$libdir'
10091      hardcode_direct=yes
10092      hardcode_minus_L=yes
10093      hardcode_shlibpath_var=no
10094      ;;
10095
10096    sysv4)
10097      case $host_vendor in
10098	sni)
10099	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100	  hardcode_direct=yes # is this really true???
10101	;;
10102	siemens)
10103	  ## LD is ld it makes a PLAMLIB
10104	  ## CC just makes a GrossModule.
10105	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10106	  reload_cmds='$CC -r -o $output$reload_objs'
10107	  hardcode_direct=no
10108        ;;
10109	motorola)
10110	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10111	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10112	;;
10113      esac
10114      runpath_var='LD_RUN_PATH'
10115      hardcode_shlibpath_var=no
10116      ;;
10117
10118    sysv4.3*)
10119      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10120      hardcode_shlibpath_var=no
10121      export_dynamic_flag_spec='-Bexport'
10122      ;;
10123
10124    sysv4*MP*)
10125      if test -d /usr/nec; then
10126	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10127	hardcode_shlibpath_var=no
10128	runpath_var=LD_RUN_PATH
10129	hardcode_runpath_var=yes
10130	ld_shlibs=yes
10131      fi
10132      ;;
10133
10134    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10135      no_undefined_flag='$wl-z,text'
10136      archive_cmds_need_lc=no
10137      hardcode_shlibpath_var=no
10138      runpath_var='LD_RUN_PATH'
10139
10140      if test yes = "$GCC"; then
10141	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10142	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143      else
10144	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10145	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10146      fi
10147      ;;
10148
10149    sysv5* | sco3.2v5* | sco5v6*)
10150      # Note: We CANNOT use -z defs as we might desire, because we do not
10151      # link with -lc, and that would cause any symbols used from libc to
10152      # always be unresolved, which means just about no library would
10153      # ever link correctly.  If we're not using GNU ld we use -z text
10154      # though, which does catch some bad symbols but isn't as heavy-handed
10155      # as -z defs.
10156      no_undefined_flag='$wl-z,text'
10157      allow_undefined_flag='$wl-z,nodefs'
10158      archive_cmds_need_lc=no
10159      hardcode_shlibpath_var=no
10160      hardcode_libdir_flag_spec='$wl-R,$libdir'
10161      hardcode_libdir_separator=':'
10162      link_all_deplibs=yes
10163      export_dynamic_flag_spec='$wl-Bexport'
10164      runpath_var='LD_RUN_PATH'
10165
10166      if test yes = "$GCC"; then
10167	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10168	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10169      else
10170	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172      fi
10173      ;;
10174
10175    uts4*)
10176      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10177      hardcode_libdir_flag_spec='-L$libdir'
10178      hardcode_shlibpath_var=no
10179      ;;
10180
10181    *)
10182      ld_shlibs=no
10183      ;;
10184    esac
10185
10186    if test sni = "$host_vendor"; then
10187      case $host in
10188      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10189	export_dynamic_flag_spec='$wl-Blargedynsym'
10190	;;
10191      esac
10192    fi
10193  fi
10194
10195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10196$as_echo "$ld_shlibs" >&6; }
10197test no = "$ld_shlibs" && can_build_shared=no
10198
10199with_gnu_ld=$with_gnu_ld
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215#
10216# Do we need to explicitly link libc?
10217#
10218case "x$archive_cmds_need_lc" in
10219x|xyes)
10220  # Assume -lc should be added
10221  archive_cmds_need_lc=yes
10222
10223  if test yes,yes = "$GCC,$enable_shared"; then
10224    case $archive_cmds in
10225    *'~'*)
10226      # FIXME: we may have to deal with multi-command sequences.
10227      ;;
10228    '$CC '*)
10229      # Test whether the compiler implicitly links with -lc since on some
10230      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10231      # to ld, don't add -lc before -lgcc.
10232      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10233$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10234if ${lt_cv_archive_cmds_need_lc+:} false; then :
10235  $as_echo_n "(cached) " >&6
10236else
10237  $RM conftest*
10238	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10239
10240	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10241  (eval $ac_compile) 2>&5
10242  ac_status=$?
10243  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10244  test $ac_status = 0; } 2>conftest.err; then
10245	  soname=conftest
10246	  lib=conftest
10247	  libobjs=conftest.$ac_objext
10248	  deplibs=
10249	  wl=$lt_prog_compiler_wl
10250	  pic_flag=$lt_prog_compiler_pic
10251	  compiler_flags=-v
10252	  linker_flags=-v
10253	  verstring=
10254	  output_objdir=.
10255	  libname=conftest
10256	  lt_save_allow_undefined_flag=$allow_undefined_flag
10257	  allow_undefined_flag=
10258	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10259  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10260  ac_status=$?
10261  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10262  test $ac_status = 0; }
10263	  then
10264	    lt_cv_archive_cmds_need_lc=no
10265	  else
10266	    lt_cv_archive_cmds_need_lc=yes
10267	  fi
10268	  allow_undefined_flag=$lt_save_allow_undefined_flag
10269	else
10270	  cat conftest.err 1>&5
10271	fi
10272	$RM conftest*
10273
10274fi
10275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10276$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10277      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10278      ;;
10279    esac
10280  fi
10281  ;;
10282esac
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10436$as_echo_n "checking dynamic linker characteristics... " >&6; }
10437
10438if test yes = "$GCC"; then
10439  case $host_os in
10440    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10441    *) lt_awk_arg='/^libraries:/' ;;
10442  esac
10443  case $host_os in
10444    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10445    *) lt_sed_strip_eq='s|=/|/|g' ;;
10446  esac
10447  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10448  case $lt_search_path_spec in
10449  *\;*)
10450    # if the path contains ";" then we assume it to be the separator
10451    # otherwise default to the standard path separator (i.e. ":") - it is
10452    # assumed that no part of a normal pathname contains ";" but that should
10453    # okay in the real world where ";" in dirpaths is itself problematic.
10454    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10455    ;;
10456  *)
10457    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10458    ;;
10459  esac
10460  # Ok, now we have the path, separated by spaces, we can step through it
10461  # and add multilib dir if necessary...
10462  lt_tmp_lt_search_path_spec=
10463  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10464  # ...but if some path component already ends with the multilib dir we assume
10465  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10466  case "$lt_multi_os_dir; $lt_search_path_spec " in
10467  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10468    lt_multi_os_dir=
10469    ;;
10470  esac
10471  for lt_sys_path in $lt_search_path_spec; do
10472    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10473      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10474    elif test -n "$lt_multi_os_dir"; then
10475      test -d "$lt_sys_path" && \
10476	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10477    fi
10478  done
10479  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10480BEGIN {RS = " "; FS = "/|\n";} {
10481  lt_foo = "";
10482  lt_count = 0;
10483  for (lt_i = NF; lt_i > 0; lt_i--) {
10484    if ($lt_i != "" && $lt_i != ".") {
10485      if ($lt_i == "..") {
10486        lt_count++;
10487      } else {
10488        if (lt_count == 0) {
10489          lt_foo = "/" $lt_i lt_foo;
10490        } else {
10491          lt_count--;
10492        }
10493      }
10494    }
10495  }
10496  if (lt_foo != "") { lt_freq[lt_foo]++; }
10497  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10498}'`
10499  # AWK program above erroneously prepends '/' to C:/dos/paths
10500  # for these hosts.
10501  case $host_os in
10502    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10503      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10504  esac
10505  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10506else
10507  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10508fi
10509library_names_spec=
10510libname_spec='lib$name'
10511soname_spec=
10512shrext_cmds=.so
10513postinstall_cmds=
10514postuninstall_cmds=
10515finish_cmds=
10516finish_eval=
10517shlibpath_var=
10518shlibpath_overrides_runpath=unknown
10519version_type=none
10520dynamic_linker="$host_os ld.so"
10521sys_lib_dlsearch_path_spec="/lib /usr/lib"
10522need_lib_prefix=unknown
10523hardcode_into_libs=no
10524
10525# when you set need_version to no, make sure it does not cause -set_version
10526# flags to be left without arguments
10527need_version=unknown
10528
10529
10530
10531case $host_os in
10532aix3*)
10533  version_type=linux # correct to gnu/linux during the next big refactor
10534  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10535  shlibpath_var=LIBPATH
10536
10537  # AIX 3 has no versioning support, so we append a major version to the name.
10538  soname_spec='$libname$release$shared_ext$major'
10539  ;;
10540
10541aix[4-9]*)
10542  version_type=linux # correct to gnu/linux during the next big refactor
10543  need_lib_prefix=no
10544  need_version=no
10545  hardcode_into_libs=yes
10546  if test ia64 = "$host_cpu"; then
10547    # AIX 5 supports IA64
10548    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10549    shlibpath_var=LD_LIBRARY_PATH
10550  else
10551    # With GCC up to 2.95.x, collect2 would create an import file
10552    # for dependence libraries.  The import file would start with
10553    # the line '#! .'.  This would cause the generated library to
10554    # depend on '.', always an invalid library.  This was fixed in
10555    # development snapshots of GCC prior to 3.0.
10556    case $host_os in
10557      aix4 | aix4.[01] | aix4.[01].*)
10558      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10559	   echo ' yes '
10560	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10561	:
10562      else
10563	can_build_shared=no
10564      fi
10565      ;;
10566    esac
10567    # Using Import Files as archive members, it is possible to support
10568    # filename-based versioning of shared library archives on AIX. While
10569    # this would work for both with and without runtime linking, it will
10570    # prevent static linking of such archives. So we do filename-based
10571    # shared library versioning with .so extension only, which is used
10572    # when both runtime linking and shared linking is enabled.
10573    # Unfortunately, runtime linking may impact performance, so we do
10574    # not want this to be the default eventually. Also, we use the
10575    # versioned .so libs for executables only if there is the -brtl
10576    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10577    # To allow for filename-based versioning support, we need to create
10578    # libNAME.so.V as an archive file, containing:
10579    # *) an Import File, referring to the versioned filename of the
10580    #    archive as well as the shared archive member, telling the
10581    #    bitwidth (32 or 64) of that shared object, and providing the
10582    #    list of exported symbols of that shared object, eventually
10583    #    decorated with the 'weak' keyword
10584    # *) the shared object with the F_LOADONLY flag set, to really avoid
10585    #    it being seen by the linker.
10586    # At run time we better use the real file rather than another symlink,
10587    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10588
10589    case $with_aix_soname,$aix_use_runtimelinking in
10590    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10591    # soname into executable. Probably we can add versioning support to
10592    # collect2, so additional links can be useful in future.
10593    aix,yes) # traditional libtool
10594      dynamic_linker='AIX unversionable lib.so'
10595      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10596      # instead of lib<name>.a to let people know that these are not
10597      # typical AIX shared libraries.
10598      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10599      ;;
10600    aix,no) # traditional AIX only
10601      dynamic_linker='AIX lib.a(lib.so.V)'
10602      # We preserve .a as extension for shared libraries through AIX4.2
10603      # and later when we are not doing run time linking.
10604      library_names_spec='$libname$release.a $libname.a'
10605      soname_spec='$libname$release$shared_ext$major'
10606      ;;
10607    svr4,*) # full svr4 only
10608      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10609      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10610      # We do not specify a path in Import Files, so LIBPATH fires.
10611      shlibpath_overrides_runpath=yes
10612      ;;
10613    *,yes) # both, prefer svr4
10614      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10615      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10616      # unpreferred sharedlib libNAME.a needs extra handling
10617      postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
10618      postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
10619      # We do not specify a path in Import Files, so LIBPATH fires.
10620      shlibpath_overrides_runpath=yes
10621      ;;
10622    *,no) # both, prefer aix
10623      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10624      library_names_spec='$libname$release.a $libname.a'
10625      soname_spec='$libname$release$shared_ext$major'
10626      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10627      postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
10628      postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
10629      ;;
10630    esac
10631    shlibpath_var=LIBPATH
10632  fi
10633  ;;
10634
10635amigaos*)
10636  case $host_cpu in
10637  powerpc)
10638    # Since July 2007 AmigaOS4 officially supports .so libraries.
10639    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10640    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10641    ;;
10642  m68k)
10643    library_names_spec='$libname.ixlibrary $libname.a'
10644    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10645    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10646    ;;
10647  esac
10648  ;;
10649
10650beos*)
10651  library_names_spec='$libname$shared_ext'
10652  dynamic_linker="$host_os ld.so"
10653  shlibpath_var=LIBRARY_PATH
10654  ;;
10655
10656bsdi[45]*)
10657  version_type=linux # correct to gnu/linux during the next big refactor
10658  need_version=no
10659  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10660  soname_spec='$libname$release$shared_ext$major'
10661  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10662  shlibpath_var=LD_LIBRARY_PATH
10663  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10664  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10665  # the default ld.so.conf also contains /usr/contrib/lib and
10666  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10667  # libtool to hard-code these into programs
10668  ;;
10669
10670cygwin* | mingw* | pw32* | cegcc*)
10671  version_type=windows
10672  shrext_cmds=.dll
10673  need_version=no
10674  need_lib_prefix=no
10675
10676  case $GCC,$cc_basename in
10677  yes,*)
10678    # gcc
10679    library_names_spec='$libname.dll.a'
10680    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10681    postinstall_cmds='base_file=`basename \$file`~
10682      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10683      dldir=$destdir/`dirname \$dlpath`~
10684      test -d \$dldir || mkdir -p \$dldir~
10685      $install_prog $dir/$dlname \$dldir/$dlname~
10686      chmod a+x \$dldir/$dlname~
10687      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10688        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10689      fi'
10690    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10691      dlpath=$dir/\$dldll~
10692       $RM \$dlpath'
10693    shlibpath_overrides_runpath=yes
10694
10695    case $host_os in
10696    cygwin*)
10697      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10698      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10699
10700      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10701      ;;
10702    mingw* | cegcc*)
10703      # MinGW DLLs use traditional 'lib' prefix
10704      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10705      ;;
10706    pw32*)
10707      # pw32 DLLs use 'pw' prefix rather than 'lib'
10708      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10709      ;;
10710    esac
10711    dynamic_linker='Win32 ld.exe'
10712    ;;
10713
10714  *,cl*)
10715    # Native MSVC
10716    libname_spec='$name'
10717    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10718    library_names_spec='$libname.dll.lib'
10719
10720    case $build_os in
10721    mingw*)
10722      sys_lib_search_path_spec=
10723      lt_save_ifs=$IFS
10724      IFS=';'
10725      for lt_path in $LIB
10726      do
10727        IFS=$lt_save_ifs
10728        # Let DOS variable expansion print the short 8.3 style file name.
10729        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10730        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10731      done
10732      IFS=$lt_save_ifs
10733      # Convert to MSYS style.
10734      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10735      ;;
10736    cygwin*)
10737      # Convert to unix form, then to dos form, then back to unix form
10738      # but this time dos style (no spaces!) so that the unix form looks
10739      # like /cygdrive/c/PROGRA~1:/cygdr...
10740      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10741      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10742      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10743      ;;
10744    *)
10745      sys_lib_search_path_spec=$LIB
10746      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10747        # It is most probably a Windows format PATH.
10748        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10749      else
10750        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10751      fi
10752      # FIXME: find the short name or the path components, as spaces are
10753      # common. (e.g. "Program Files" -> "PROGRA~1")
10754      ;;
10755    esac
10756
10757    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10758    postinstall_cmds='base_file=`basename \$file`~
10759      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10760      dldir=$destdir/`dirname \$dlpath`~
10761      test -d \$dldir || mkdir -p \$dldir~
10762      $install_prog $dir/$dlname \$dldir/$dlname'
10763    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10764      dlpath=$dir/\$dldll~
10765       $RM \$dlpath'
10766    shlibpath_overrides_runpath=yes
10767    dynamic_linker='Win32 link.exe'
10768    ;;
10769
10770  *)
10771    # Assume MSVC wrapper
10772    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10773    dynamic_linker='Win32 ld.exe'
10774    ;;
10775  esac
10776  # FIXME: first we should search . and the directory the executable is in
10777  shlibpath_var=PATH
10778  ;;
10779
10780darwin* | rhapsody*)
10781  dynamic_linker="$host_os dyld"
10782  version_type=darwin
10783  need_lib_prefix=no
10784  need_version=no
10785  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10786  soname_spec='$libname$release$major$shared_ext'
10787  shlibpath_overrides_runpath=yes
10788  shlibpath_var=DYLD_LIBRARY_PATH
10789  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10790
10791  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10792  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10793  ;;
10794
10795dgux*)
10796  version_type=linux # correct to gnu/linux during the next big refactor
10797  need_lib_prefix=no
10798  need_version=no
10799  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10800  soname_spec='$libname$release$shared_ext$major'
10801  shlibpath_var=LD_LIBRARY_PATH
10802  ;;
10803
10804freebsd* | dragonfly*)
10805  # DragonFly does not have aout.  When/if they implement a new
10806  # versioning mechanism, adjust this.
10807  if test -x /usr/bin/objformat; then
10808    objformat=`/usr/bin/objformat`
10809  else
10810    case $host_os in
10811    freebsd[23].*) objformat=aout ;;
10812    *) objformat=elf ;;
10813    esac
10814  fi
10815  version_type=freebsd-$objformat
10816  case $version_type in
10817    freebsd-elf*)
10818      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10819      soname_spec='$libname$release$shared_ext$major'
10820      need_version=no
10821      need_lib_prefix=no
10822      ;;
10823    freebsd-*)
10824      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10825      need_version=yes
10826      ;;
10827  esac
10828  shlibpath_var=LD_LIBRARY_PATH
10829  case $host_os in
10830  freebsd2.*)
10831    shlibpath_overrides_runpath=yes
10832    ;;
10833  freebsd3.[01]* | freebsdelf3.[01]*)
10834    shlibpath_overrides_runpath=yes
10835    hardcode_into_libs=yes
10836    ;;
10837  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10838  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10839    shlibpath_overrides_runpath=no
10840    hardcode_into_libs=yes
10841    ;;
10842  *) # from 4.6 on, and DragonFly
10843    shlibpath_overrides_runpath=yes
10844    hardcode_into_libs=yes
10845    ;;
10846  esac
10847  ;;
10848
10849haiku*)
10850  version_type=linux # correct to gnu/linux during the next big refactor
10851  need_lib_prefix=no
10852  need_version=no
10853  dynamic_linker="$host_os runtime_loader"
10854  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10855  soname_spec='$libname$release$shared_ext$major'
10856  shlibpath_var=LIBRARY_PATH
10857  shlibpath_overrides_runpath=no
10858  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10859  hardcode_into_libs=yes
10860  ;;
10861
10862hpux9* | hpux10* | hpux11*)
10863  # Give a soname corresponding to the major version so that dld.sl refuses to
10864  # link against other versions.
10865  version_type=sunos
10866  need_lib_prefix=no
10867  need_version=no
10868  case $host_cpu in
10869  ia64*)
10870    shrext_cmds='.so'
10871    hardcode_into_libs=yes
10872    dynamic_linker="$host_os dld.so"
10873    shlibpath_var=LD_LIBRARY_PATH
10874    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10875    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10876    soname_spec='$libname$release$shared_ext$major'
10877    if test 32 = "$HPUX_IA64_MODE"; then
10878      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10879      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10880    else
10881      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10882      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10883    fi
10884    ;;
10885  hppa*64*)
10886    shrext_cmds='.sl'
10887    hardcode_into_libs=yes
10888    dynamic_linker="$host_os dld.sl"
10889    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10890    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10891    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10892    soname_spec='$libname$release$shared_ext$major'
10893    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10894    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10895    ;;
10896  *)
10897    shrext_cmds='.sl'
10898    dynamic_linker="$host_os dld.sl"
10899    shlibpath_var=SHLIB_PATH
10900    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10901    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10902    soname_spec='$libname$release$shared_ext$major'
10903    ;;
10904  esac
10905  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10906  postinstall_cmds='chmod 555 $lib'
10907  # or fails outright, so override atomically:
10908  install_override_mode=555
10909  ;;
10910
10911interix[3-9]*)
10912  version_type=linux # correct to gnu/linux during the next big refactor
10913  need_lib_prefix=no
10914  need_version=no
10915  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10916  soname_spec='$libname$release$shared_ext$major'
10917  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10918  shlibpath_var=LD_LIBRARY_PATH
10919  shlibpath_overrides_runpath=no
10920  hardcode_into_libs=yes
10921  ;;
10922
10923irix5* | irix6* | nonstopux*)
10924  case $host_os in
10925    nonstopux*) version_type=nonstopux ;;
10926    *)
10927	if test yes = "$lt_cv_prog_gnu_ld"; then
10928		version_type=linux # correct to gnu/linux during the next big refactor
10929	else
10930		version_type=irix
10931	fi ;;
10932  esac
10933  need_lib_prefix=no
10934  need_version=no
10935  soname_spec='$libname$release$shared_ext$major'
10936  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10937  case $host_os in
10938  irix5* | nonstopux*)
10939    libsuff= shlibsuff=
10940    ;;
10941  *)
10942    case $LD in # libtool.m4 will add one of these switches to LD
10943    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10944      libsuff= shlibsuff= libmagic=32-bit;;
10945    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10946      libsuff=32 shlibsuff=N32 libmagic=N32;;
10947    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10948      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10949    *) libsuff= shlibsuff= libmagic=never-match;;
10950    esac
10951    ;;
10952  esac
10953  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10954  shlibpath_overrides_runpath=no
10955  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10956  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10957  hardcode_into_libs=yes
10958  ;;
10959
10960# No shared lib support for Linux oldld, aout, or coff.
10961linux*oldld* | linux*aout* | linux*coff*)
10962  dynamic_linker=no
10963  ;;
10964
10965linux*android*)
10966  version_type=none # Android doesn't support versioned libraries.
10967  need_lib_prefix=no
10968  need_version=no
10969  library_names_spec='$libname$release$shared_ext'
10970  soname_spec='$libname$release$shared_ext'
10971  finish_cmds=
10972  shlibpath_var=LD_LIBRARY_PATH
10973  shlibpath_overrides_runpath=yes
10974
10975  # This implies no fast_install, which is unacceptable.
10976  # Some rework will be needed to allow for fast_install
10977  # before this can be enabled.
10978  hardcode_into_libs=yes
10979
10980  dynamic_linker='Android linker'
10981  # Don't embed -rpath directories since the linker doesn't support them.
10982  hardcode_libdir_flag_spec='-L$libdir'
10983  ;;
10984
10985# This must be glibc/ELF.
10986linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10987  version_type=linux # correct to gnu/linux during the next big refactor
10988  need_lib_prefix=no
10989  need_version=no
10990  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10991  soname_spec='$libname$release$shared_ext$major'
10992  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10993  shlibpath_var=LD_LIBRARY_PATH
10994  shlibpath_overrides_runpath=no
10995
10996  # Some binutils ld are patched to set DT_RUNPATH
10997  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10998  $as_echo_n "(cached) " >&6
10999else
11000  lt_cv_shlibpath_overrides_runpath=no
11001    save_LDFLAGS=$LDFLAGS
11002    save_libdir=$libdir
11003    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11004	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11005    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11006/* end confdefs.h.  */
11007
11008int
11009main ()
11010{
11011
11012  ;
11013  return 0;
11014}
11015_ACEOF
11016if ac_fn_c_try_link "$LINENO"; then :
11017  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11018  lt_cv_shlibpath_overrides_runpath=yes
11019fi
11020fi
11021rm -f core conftest.err conftest.$ac_objext \
11022    conftest$ac_exeext conftest.$ac_ext
11023    LDFLAGS=$save_LDFLAGS
11024    libdir=$save_libdir
11025
11026fi
11027
11028  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11029
11030  # This implies no fast_install, which is unacceptable.
11031  # Some rework will be needed to allow for fast_install
11032  # before this can be enabled.
11033  hardcode_into_libs=yes
11034
11035  # Ideally, we could use ldconfig to report *all* directores which are
11036  # searched for libraries, however this is still not possible.  Aside from not
11037  # being certain /sbin/ldconfig is available, command
11038  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
11039  # even though it is searched at run-time.  Try to do the best guess by
11040  # appending ld.so.conf contents (and includes) to the search path.
11041  if test -f /etc/ld.so.conf; then
11042    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' ' '`
11043    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11044  fi
11045
11046  # We used to test for /lib/ld.so.1 and disable shared libraries on
11047  # powerpc, because MkLinux only supported shared libraries with the
11048  # GNU dynamic linker.  Since this was broken with cross compilers,
11049  # most powerpc-linux boxes support dynamic linking these days and
11050  # people can always --disable-shared, the test was removed, and we
11051  # assume the GNU/Linux dynamic linker is in use.
11052  dynamic_linker='GNU/Linux ld.so'
11053  ;;
11054
11055netbsdelf*-gnu)
11056  version_type=linux
11057  need_lib_prefix=no
11058  need_version=no
11059  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11060  soname_spec='${libname}${release}${shared_ext}$major'
11061  shlibpath_var=LD_LIBRARY_PATH
11062  shlibpath_overrides_runpath=no
11063  hardcode_into_libs=yes
11064  dynamic_linker='NetBSD ld.elf_so'
11065  ;;
11066
11067netbsd*)
11068  version_type=sunos
11069  need_lib_prefix=no
11070  need_version=no
11071  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11072    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11073    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11074    dynamic_linker='NetBSD (a.out) ld.so'
11075  else
11076    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11077    soname_spec='$libname$release$shared_ext$major'
11078    dynamic_linker='NetBSD ld.elf_so'
11079  fi
11080  shlibpath_var=LD_LIBRARY_PATH
11081  shlibpath_overrides_runpath=yes
11082  hardcode_into_libs=yes
11083  ;;
11084
11085newsos6)
11086  version_type=linux # correct to gnu/linux during the next big refactor
11087  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11088  shlibpath_var=LD_LIBRARY_PATH
11089  shlibpath_overrides_runpath=yes
11090  ;;
11091
11092*nto* | *qnx*)
11093  version_type=qnx
11094  need_lib_prefix=no
11095  need_version=no
11096  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11097  soname_spec='$libname$release$shared_ext$major'
11098  shlibpath_var=LD_LIBRARY_PATH
11099  shlibpath_overrides_runpath=no
11100  hardcode_into_libs=yes
11101  dynamic_linker='ldqnx.so'
11102  ;;
11103
11104openbsd* | bitrig*)
11105  version_type=sunos
11106  sys_lib_dlsearch_path_spec=/usr/lib
11107  need_lib_prefix=no
11108  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11109    need_version=no
11110  else
11111    need_version=yes
11112  fi
11113  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11114  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11115  shlibpath_var=LD_LIBRARY_PATH
11116  shlibpath_overrides_runpath=yes
11117  ;;
11118
11119os2*)
11120  libname_spec='$name'
11121  version_type=windows
11122  shrext_cmds=.dll
11123  need_version=no
11124  need_lib_prefix=no
11125  # OS/2 can only load a DLL with a base name of 8 characters or less.
11126  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11127    v=$($ECHO $release$versuffix | tr -d .-);
11128    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11129    $ECHO $n$v`$shared_ext'
11130  library_names_spec='${libname}_dll.$libext'
11131  dynamic_linker='OS/2 ld.exe'
11132  shlibpath_var=BEGINLIBPATH
11133  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11134  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11135  postinstall_cmds='base_file=`basename \$file`~
11136    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11137    dldir=$destdir/`dirname \$dlpath`~
11138    test -d \$dldir || mkdir -p \$dldir~
11139    $install_prog $dir/$dlname \$dldir/$dlname~
11140    chmod a+x \$dldir/$dlname~
11141    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11142      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11143    fi'
11144  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11145    dlpath=$dir/\$dldll~
11146    $RM \$dlpath'
11147  ;;
11148
11149osf3* | osf4* | osf5*)
11150  version_type=osf
11151  need_lib_prefix=no
11152  need_version=no
11153  soname_spec='$libname$release$shared_ext$major'
11154  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11155  shlibpath_var=LD_LIBRARY_PATH
11156  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11157  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11158  ;;
11159
11160rdos*)
11161  dynamic_linker=no
11162  ;;
11163
11164solaris*)
11165  version_type=linux # correct to gnu/linux during the next big refactor
11166  need_lib_prefix=no
11167  need_version=no
11168  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11169  soname_spec='$libname$release$shared_ext$major'
11170  shlibpath_var=LD_LIBRARY_PATH
11171  shlibpath_overrides_runpath=yes
11172  hardcode_into_libs=yes
11173  # ldd complains unless libraries are executable
11174  postinstall_cmds='chmod +x $lib'
11175  ;;
11176
11177sunos4*)
11178  version_type=sunos
11179  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11180  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11181  shlibpath_var=LD_LIBRARY_PATH
11182  shlibpath_overrides_runpath=yes
11183  if test yes = "$with_gnu_ld"; then
11184    need_lib_prefix=no
11185  fi
11186  need_version=yes
11187  ;;
11188
11189sysv4 | sysv4.3*)
11190  version_type=linux # correct to gnu/linux during the next big refactor
11191  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11192  soname_spec='$libname$release$shared_ext$major'
11193  shlibpath_var=LD_LIBRARY_PATH
11194  case $host_vendor in
11195    sni)
11196      shlibpath_overrides_runpath=no
11197      need_lib_prefix=no
11198      runpath_var=LD_RUN_PATH
11199      ;;
11200    siemens)
11201      need_lib_prefix=no
11202      ;;
11203    motorola)
11204      need_lib_prefix=no
11205      need_version=no
11206      shlibpath_overrides_runpath=no
11207      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11208      ;;
11209  esac
11210  ;;
11211
11212sysv4*MP*)
11213  if test -d /usr/nec; then
11214    version_type=linux # correct to gnu/linux during the next big refactor
11215    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11216    soname_spec='$libname$shared_ext.$major'
11217    shlibpath_var=LD_LIBRARY_PATH
11218  fi
11219  ;;
11220
11221sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11222  version_type=sco
11223  need_lib_prefix=no
11224  need_version=no
11225  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11226  soname_spec='$libname$release$shared_ext$major'
11227  shlibpath_var=LD_LIBRARY_PATH
11228  shlibpath_overrides_runpath=yes
11229  hardcode_into_libs=yes
11230  if test yes = "$with_gnu_ld"; then
11231    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11232  else
11233    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11234    case $host_os in
11235      sco3.2v5*)
11236        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11237	;;
11238    esac
11239  fi
11240  sys_lib_dlsearch_path_spec='/usr/lib'
11241  ;;
11242
11243tpf*)
11244  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11245  version_type=linux # correct to gnu/linux during the next big refactor
11246  need_lib_prefix=no
11247  need_version=no
11248  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11249  shlibpath_var=LD_LIBRARY_PATH
11250  shlibpath_overrides_runpath=no
11251  hardcode_into_libs=yes
11252  ;;
11253
11254uts4*)
11255  version_type=linux # correct to gnu/linux during the next big refactor
11256  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11257  soname_spec='$libname$release$shared_ext$major'
11258  shlibpath_var=LD_LIBRARY_PATH
11259  ;;
11260
11261*)
11262  dynamic_linker=no
11263  ;;
11264esac
11265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11266$as_echo "$dynamic_linker" >&6; }
11267test no = "$dynamic_linker" && can_build_shared=no
11268
11269variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11270if test yes = "$GCC"; then
11271  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11272fi
11273
11274if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11275  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11276fi
11277
11278if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11279  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11280fi
11281
11282# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11283configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11284
11285# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11286func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11287
11288# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11289configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11388$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11389hardcode_action=
11390if test -n "$hardcode_libdir_flag_spec" ||
11391   test -n "$runpath_var" ||
11392   test yes = "$hardcode_automatic"; then
11393
11394  # We can hardcode non-existent directories.
11395  if test no != "$hardcode_direct" &&
11396     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11397     # have to relink, otherwise we might link with an installed library
11398     # when we should be linking with a yet-to-be-installed one
11399     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11400     test no != "$hardcode_minus_L"; then
11401    # Linking always hardcodes the temporary library directory.
11402    hardcode_action=relink
11403  else
11404    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11405    hardcode_action=immediate
11406  fi
11407else
11408  # We cannot hardcode anything, or else we can only hardcode existing
11409  # directories.
11410  hardcode_action=unsupported
11411fi
11412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11413$as_echo "$hardcode_action" >&6; }
11414
11415if test relink = "$hardcode_action" ||
11416   test yes = "$inherit_rpath"; then
11417  # Fast installation is not supported
11418  enable_fast_install=no
11419elif test yes = "$shlibpath_overrides_runpath" ||
11420     test no = "$enable_shared"; then
11421  # Fast installation is not necessary
11422  enable_fast_install=needless
11423fi
11424
11425
11426
11427
11428
11429
11430  if test yes != "$enable_dlopen"; then
11431  enable_dlopen=unknown
11432  enable_dlopen_self=unknown
11433  enable_dlopen_self_static=unknown
11434else
11435  lt_cv_dlopen=no
11436  lt_cv_dlopen_libs=
11437
11438  case $host_os in
11439  beos*)
11440    lt_cv_dlopen=load_add_on
11441    lt_cv_dlopen_libs=
11442    lt_cv_dlopen_self=yes
11443    ;;
11444
11445  mingw* | pw32* | cegcc*)
11446    lt_cv_dlopen=LoadLibrary
11447    lt_cv_dlopen_libs=
11448    ;;
11449
11450  cygwin*)
11451    lt_cv_dlopen=dlopen
11452    lt_cv_dlopen_libs=
11453    ;;
11454
11455  darwin*)
11456    # if libdl is installed we need to link against it
11457    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11458$as_echo_n "checking for dlopen in -ldl... " >&6; }
11459if ${ac_cv_lib_dl_dlopen+:} false; then :
11460  $as_echo_n "(cached) " >&6
11461else
11462  ac_check_lib_save_LIBS=$LIBS
11463LIBS="-ldl  $LIBS"
11464cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465/* end confdefs.h.  */
11466
11467/* Override any GCC internal prototype to avoid an error.
11468   Use char because int might match the return type of a GCC
11469   builtin and then its argument prototype would still apply.  */
11470#ifdef __cplusplus
11471extern "C"
11472#endif
11473char dlopen ();
11474int
11475main ()
11476{
11477return dlopen ();
11478  ;
11479  return 0;
11480}
11481_ACEOF
11482if ac_fn_c_try_link "$LINENO"; then :
11483  ac_cv_lib_dl_dlopen=yes
11484else
11485  ac_cv_lib_dl_dlopen=no
11486fi
11487rm -f core conftest.err conftest.$ac_objext \
11488    conftest$ac_exeext conftest.$ac_ext
11489LIBS=$ac_check_lib_save_LIBS
11490fi
11491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11492$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11493if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11494  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11495else
11496
11497    lt_cv_dlopen=dyld
11498    lt_cv_dlopen_libs=
11499    lt_cv_dlopen_self=yes
11500
11501fi
11502
11503    ;;
11504
11505  tpf*)
11506    # Don't try to run any link tests for TPF.  We know it's impossible
11507    # because TPF is a cross-compiler, and we know how we open DSOs.
11508    lt_cv_dlopen=dlopen
11509    lt_cv_dlopen_libs=
11510    lt_cv_dlopen_self=no
11511    ;;
11512
11513  *)
11514    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11515if test "x$ac_cv_func_shl_load" = xyes; then :
11516  lt_cv_dlopen=shl_load
11517else
11518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11519$as_echo_n "checking for shl_load in -ldld... " >&6; }
11520if ${ac_cv_lib_dld_shl_load+:} false; then :
11521  $as_echo_n "(cached) " >&6
11522else
11523  ac_check_lib_save_LIBS=$LIBS
11524LIBS="-ldld  $LIBS"
11525cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526/* end confdefs.h.  */
11527
11528/* Override any GCC internal prototype to avoid an error.
11529   Use char because int might match the return type of a GCC
11530   builtin and then its argument prototype would still apply.  */
11531#ifdef __cplusplus
11532extern "C"
11533#endif
11534char shl_load ();
11535int
11536main ()
11537{
11538return shl_load ();
11539  ;
11540  return 0;
11541}
11542_ACEOF
11543if ac_fn_c_try_link "$LINENO"; then :
11544  ac_cv_lib_dld_shl_load=yes
11545else
11546  ac_cv_lib_dld_shl_load=no
11547fi
11548rm -f core conftest.err conftest.$ac_objext \
11549    conftest$ac_exeext conftest.$ac_ext
11550LIBS=$ac_check_lib_save_LIBS
11551fi
11552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11553$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11554if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11555  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11556else
11557  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11558if test "x$ac_cv_func_dlopen" = xyes; then :
11559  lt_cv_dlopen=dlopen
11560else
11561  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11562$as_echo_n "checking for dlopen in -ldl... " >&6; }
11563if ${ac_cv_lib_dl_dlopen+:} false; then :
11564  $as_echo_n "(cached) " >&6
11565else
11566  ac_check_lib_save_LIBS=$LIBS
11567LIBS="-ldl  $LIBS"
11568cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11569/* end confdefs.h.  */
11570
11571/* Override any GCC internal prototype to avoid an error.
11572   Use char because int might match the return type of a GCC
11573   builtin and then its argument prototype would still apply.  */
11574#ifdef __cplusplus
11575extern "C"
11576#endif
11577char dlopen ();
11578int
11579main ()
11580{
11581return dlopen ();
11582  ;
11583  return 0;
11584}
11585_ACEOF
11586if ac_fn_c_try_link "$LINENO"; then :
11587  ac_cv_lib_dl_dlopen=yes
11588else
11589  ac_cv_lib_dl_dlopen=no
11590fi
11591rm -f core conftest.err conftest.$ac_objext \
11592    conftest$ac_exeext conftest.$ac_ext
11593LIBS=$ac_check_lib_save_LIBS
11594fi
11595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11596$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11597if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11598  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11599else
11600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11601$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11602if ${ac_cv_lib_svld_dlopen+:} false; then :
11603  $as_echo_n "(cached) " >&6
11604else
11605  ac_check_lib_save_LIBS=$LIBS
11606LIBS="-lsvld  $LIBS"
11607cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11608/* end confdefs.h.  */
11609
11610/* Override any GCC internal prototype to avoid an error.
11611   Use char because int might match the return type of a GCC
11612   builtin and then its argument prototype would still apply.  */
11613#ifdef __cplusplus
11614extern "C"
11615#endif
11616char dlopen ();
11617int
11618main ()
11619{
11620return dlopen ();
11621  ;
11622  return 0;
11623}
11624_ACEOF
11625if ac_fn_c_try_link "$LINENO"; then :
11626  ac_cv_lib_svld_dlopen=yes
11627else
11628  ac_cv_lib_svld_dlopen=no
11629fi
11630rm -f core conftest.err conftest.$ac_objext \
11631    conftest$ac_exeext conftest.$ac_ext
11632LIBS=$ac_check_lib_save_LIBS
11633fi
11634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11635$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11636if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11637  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11638else
11639  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11640$as_echo_n "checking for dld_link in -ldld... " >&6; }
11641if ${ac_cv_lib_dld_dld_link+:} false; then :
11642  $as_echo_n "(cached) " >&6
11643else
11644  ac_check_lib_save_LIBS=$LIBS
11645LIBS="-ldld  $LIBS"
11646cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11647/* end confdefs.h.  */
11648
11649/* Override any GCC internal prototype to avoid an error.
11650   Use char because int might match the return type of a GCC
11651   builtin and then its argument prototype would still apply.  */
11652#ifdef __cplusplus
11653extern "C"
11654#endif
11655char dld_link ();
11656int
11657main ()
11658{
11659return dld_link ();
11660  ;
11661  return 0;
11662}
11663_ACEOF
11664if ac_fn_c_try_link "$LINENO"; then :
11665  ac_cv_lib_dld_dld_link=yes
11666else
11667  ac_cv_lib_dld_dld_link=no
11668fi
11669rm -f core conftest.err conftest.$ac_objext \
11670    conftest$ac_exeext conftest.$ac_ext
11671LIBS=$ac_check_lib_save_LIBS
11672fi
11673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11674$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11675if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11676  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11677fi
11678
11679
11680fi
11681
11682
11683fi
11684
11685
11686fi
11687
11688
11689fi
11690
11691
11692fi
11693
11694    ;;
11695  esac
11696
11697  if test no = "$lt_cv_dlopen"; then
11698    enable_dlopen=no
11699  else
11700    enable_dlopen=yes
11701  fi
11702
11703  case $lt_cv_dlopen in
11704  dlopen)
11705    save_CPPFLAGS=$CPPFLAGS
11706    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11707
11708    save_LDFLAGS=$LDFLAGS
11709    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11710
11711    save_LIBS=$LIBS
11712    LIBS="$lt_cv_dlopen_libs $LIBS"
11713
11714    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11715$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11716if ${lt_cv_dlopen_self+:} false; then :
11717  $as_echo_n "(cached) " >&6
11718else
11719  	  if test yes = "$cross_compiling"; then :
11720  lt_cv_dlopen_self=cross
11721else
11722  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11723  lt_status=$lt_dlunknown
11724  cat > conftest.$ac_ext <<_LT_EOF
11725#line $LINENO "configure"
11726#include "confdefs.h"
11727
11728#if HAVE_DLFCN_H
11729#include <dlfcn.h>
11730#endif
11731
11732#include <stdio.h>
11733
11734#ifdef RTLD_GLOBAL
11735#  define LT_DLGLOBAL		RTLD_GLOBAL
11736#else
11737#  ifdef DL_GLOBAL
11738#    define LT_DLGLOBAL		DL_GLOBAL
11739#  else
11740#    define LT_DLGLOBAL		0
11741#  endif
11742#endif
11743
11744/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11745   find out it does not work in some platform. */
11746#ifndef LT_DLLAZY_OR_NOW
11747#  ifdef RTLD_LAZY
11748#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11749#  else
11750#    ifdef DL_LAZY
11751#      define LT_DLLAZY_OR_NOW		DL_LAZY
11752#    else
11753#      ifdef RTLD_NOW
11754#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11755#      else
11756#        ifdef DL_NOW
11757#          define LT_DLLAZY_OR_NOW	DL_NOW
11758#        else
11759#          define LT_DLLAZY_OR_NOW	0
11760#        endif
11761#      endif
11762#    endif
11763#  endif
11764#endif
11765
11766/* When -fvisibility=hidden is used, assume the code has been annotated
11767   correspondingly for the symbols needed.  */
11768#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11769int fnord () __attribute__((visibility("default")));
11770#endif
11771
11772int fnord () { return 42; }
11773int main ()
11774{
11775  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11776  int status = $lt_dlunknown;
11777
11778  if (self)
11779    {
11780      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11781      else
11782        {
11783	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11784          else puts (dlerror ());
11785	}
11786      /* dlclose (self); */
11787    }
11788  else
11789    puts (dlerror ());
11790
11791  return status;
11792}
11793_LT_EOF
11794  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11795  (eval $ac_link) 2>&5
11796  ac_status=$?
11797  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11798  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11799    (./conftest; exit; ) >&5 2>/dev/null
11800    lt_status=$?
11801    case x$lt_status in
11802      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11803      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11804      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11805    esac
11806  else :
11807    # compilation failed
11808    lt_cv_dlopen_self=no
11809  fi
11810fi
11811rm -fr conftest*
11812
11813
11814fi
11815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11816$as_echo "$lt_cv_dlopen_self" >&6; }
11817
11818    if test yes = "$lt_cv_dlopen_self"; then
11819      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11820      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11821$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11822if ${lt_cv_dlopen_self_static+:} false; then :
11823  $as_echo_n "(cached) " >&6
11824else
11825  	  if test yes = "$cross_compiling"; then :
11826  lt_cv_dlopen_self_static=cross
11827else
11828  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11829  lt_status=$lt_dlunknown
11830  cat > conftest.$ac_ext <<_LT_EOF
11831#line $LINENO "configure"
11832#include "confdefs.h"
11833
11834#if HAVE_DLFCN_H
11835#include <dlfcn.h>
11836#endif
11837
11838#include <stdio.h>
11839
11840#ifdef RTLD_GLOBAL
11841#  define LT_DLGLOBAL		RTLD_GLOBAL
11842#else
11843#  ifdef DL_GLOBAL
11844#    define LT_DLGLOBAL		DL_GLOBAL
11845#  else
11846#    define LT_DLGLOBAL		0
11847#  endif
11848#endif
11849
11850/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11851   find out it does not work in some platform. */
11852#ifndef LT_DLLAZY_OR_NOW
11853#  ifdef RTLD_LAZY
11854#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11855#  else
11856#    ifdef DL_LAZY
11857#      define LT_DLLAZY_OR_NOW		DL_LAZY
11858#    else
11859#      ifdef RTLD_NOW
11860#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11861#      else
11862#        ifdef DL_NOW
11863#          define LT_DLLAZY_OR_NOW	DL_NOW
11864#        else
11865#          define LT_DLLAZY_OR_NOW	0
11866#        endif
11867#      endif
11868#    endif
11869#  endif
11870#endif
11871
11872/* When -fvisibility=hidden is used, assume the code has been annotated
11873   correspondingly for the symbols needed.  */
11874#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11875int fnord () __attribute__((visibility("default")));
11876#endif
11877
11878int fnord () { return 42; }
11879int main ()
11880{
11881  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11882  int status = $lt_dlunknown;
11883
11884  if (self)
11885    {
11886      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11887      else
11888        {
11889	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11890          else puts (dlerror ());
11891	}
11892      /* dlclose (self); */
11893    }
11894  else
11895    puts (dlerror ());
11896
11897  return status;
11898}
11899_LT_EOF
11900  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11901  (eval $ac_link) 2>&5
11902  ac_status=$?
11903  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11904  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11905    (./conftest; exit; ) >&5 2>/dev/null
11906    lt_status=$?
11907    case x$lt_status in
11908      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11909      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11910      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11911    esac
11912  else :
11913    # compilation failed
11914    lt_cv_dlopen_self_static=no
11915  fi
11916fi
11917rm -fr conftest*
11918
11919
11920fi
11921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11922$as_echo "$lt_cv_dlopen_self_static" >&6; }
11923    fi
11924
11925    CPPFLAGS=$save_CPPFLAGS
11926    LDFLAGS=$save_LDFLAGS
11927    LIBS=$save_LIBS
11928    ;;
11929  esac
11930
11931  case $lt_cv_dlopen_self in
11932  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11933  *) enable_dlopen_self=unknown ;;
11934  esac
11935
11936  case $lt_cv_dlopen_self_static in
11937  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11938  *) enable_dlopen_self_static=unknown ;;
11939  esac
11940fi
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958striplib=
11959old_striplib=
11960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11961$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11962if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11963  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11964  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11965  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11966$as_echo "yes" >&6; }
11967else
11968# FIXME - insert some real tests, host_os isn't really good enough
11969  case $host_os in
11970  darwin*)
11971    if test -n "$STRIP"; then
11972      striplib="$STRIP -x"
11973      old_striplib="$STRIP -S"
11974      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11975$as_echo "yes" >&6; }
11976    else
11977      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11978$as_echo "no" >&6; }
11979    fi
11980    ;;
11981  *)
11982    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11983$as_echo "no" >&6; }
11984    ;;
11985  esac
11986fi
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999  # Report what library types will actually be built
12000  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12001$as_echo_n "checking if libtool supports shared libraries... " >&6; }
12002  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12003$as_echo "$can_build_shared" >&6; }
12004
12005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12006$as_echo_n "checking whether to build shared libraries... " >&6; }
12007  test no = "$can_build_shared" && enable_shared=no
12008
12009  # On AIX, shared libraries and static libraries use the same namespace, and
12010  # are all built from PIC.
12011  case $host_os in
12012  aix3*)
12013    test yes = "$enable_shared" && enable_static=no
12014    if test -n "$RANLIB"; then
12015      archive_cmds="$archive_cmds~\$RANLIB \$lib"
12016      postinstall_cmds='$RANLIB $lib'
12017    fi
12018    ;;
12019
12020  aix[4-9]*)
12021    if test ia64 != "$host_cpu"; then
12022      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
12023      yes,aix,yes) ;;			# shared object as lib.so file only
12024      yes,svr4,*) ;;			# shared object as lib.so archive member only
12025      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
12026      esac
12027    fi
12028    ;;
12029  esac
12030  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12031$as_echo "$enable_shared" >&6; }
12032
12033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12034$as_echo_n "checking whether to build static libraries... " >&6; }
12035  # Make sure either enable_shared or enable_static is yes.
12036  test yes = "$enable_shared" || enable_static=yes
12037  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12038$as_echo "$enable_static" >&6; }
12039
12040
12041
12042
12043fi
12044ac_ext=c
12045ac_cpp='$CPP $CPPFLAGS'
12046ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12047ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12048ac_compiler_gnu=$ac_cv_c_compiler_gnu
12049
12050CC=$lt_save_CC
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066        ac_config_commands="$ac_config_commands libtool"
12067
12068
12069
12070
12071# Only expand once:
12072
12073
12074
12075# ###### Compiler checks ####################################################
12076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12077$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12078if ${ac_cv_c_const+:} false; then :
12079  $as_echo_n "(cached) " >&6
12080else
12081  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082/* end confdefs.h.  */
12083
12084int
12085main ()
12086{
12087
12088#ifndef __cplusplus
12089  /* Ultrix mips cc rejects this sort of thing.  */
12090  typedef int charset[2];
12091  const charset cs = { 0, 0 };
12092  /* SunOS 4.1.1 cc rejects this.  */
12093  char const *const *pcpcc;
12094  char **ppc;
12095  /* NEC SVR4.0.2 mips cc rejects this.  */
12096  struct point {int x, y;};
12097  static struct point const zero = {0,0};
12098  /* AIX XL C 1.02.0.0 rejects this.
12099     It does not let you subtract one const X* pointer from another in
12100     an arm of an if-expression whose if-part is not a constant
12101     expression */
12102  const char *g = "string";
12103  pcpcc = &g + (g ? g-g : 0);
12104  /* HPUX 7.0 cc rejects these. */
12105  ++pcpcc;
12106  ppc = (char**) pcpcc;
12107  pcpcc = (char const *const *) ppc;
12108  { /* SCO 3.2v4 cc rejects this sort of thing.  */
12109    char tx;
12110    char *t = &tx;
12111    char const *s = 0 ? (char *) 0 : (char const *) 0;
12112
12113    *t++ = 0;
12114    if (s) return 0;
12115  }
12116  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
12117    int x[] = {25, 17};
12118    const int *foo = &x[0];
12119    ++foo;
12120  }
12121  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12122    typedef const int *iptr;
12123    iptr p = 0;
12124    ++p;
12125  }
12126  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
12127       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12128    struct s { int j; const int *ap[3]; } bx;
12129    struct s *b = &bx; b->j = 5;
12130  }
12131  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12132    const int foo = 10;
12133    if (!foo) return 0;
12134  }
12135  return !cs[0] && !zero.x;
12136#endif
12137
12138  ;
12139  return 0;
12140}
12141_ACEOF
12142if ac_fn_c_try_compile "$LINENO"; then :
12143  ac_cv_c_const=yes
12144else
12145  ac_cv_c_const=no
12146fi
12147rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12148fi
12149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12150$as_echo "$ac_cv_c_const" >&6; }
12151if test $ac_cv_c_const = no; then
12152
12153$as_echo "#define const /**/" >>confdefs.h
12154
12155fi
12156
12157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12158$as_echo_n "checking for inline... " >&6; }
12159if ${ac_cv_c_inline+:} false; then :
12160  $as_echo_n "(cached) " >&6
12161else
12162  ac_cv_c_inline=no
12163for ac_kw in inline __inline__ __inline; do
12164  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165/* end confdefs.h.  */
12166#ifndef __cplusplus
12167typedef int foo_t;
12168static $ac_kw foo_t static_foo () {return 0; }
12169$ac_kw foo_t foo () {return 0; }
12170#endif
12171
12172_ACEOF
12173if ac_fn_c_try_compile "$LINENO"; then :
12174  ac_cv_c_inline=$ac_kw
12175fi
12176rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12177  test "$ac_cv_c_inline" != no && break
12178done
12179
12180fi
12181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12182$as_echo "$ac_cv_c_inline" >&6; }
12183
12184case $ac_cv_c_inline in
12185  inline | yes) ;;
12186  *)
12187    case $ac_cv_c_inline in
12188      no) ac_val=;;
12189      *) ac_val=$ac_cv_c_inline;;
12190    esac
12191    cat >>confdefs.h <<_ACEOF
12192#ifndef __cplusplus
12193#define inline $ac_val
12194#endif
12195_ACEOF
12196    ;;
12197esac
12198
12199ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12200if test "x$ac_cv_type_size_t" = xyes; then :
12201
12202else
12203
12204cat >>confdefs.h <<_ACEOF
12205#define size_t unsigned int
12206_ACEOF
12207
12208fi
12209
12210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
12211$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
12212if ${ac_cv_struct_tm+:} false; then :
12213  $as_echo_n "(cached) " >&6
12214else
12215  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12216/* end confdefs.h.  */
12217#include <sys/types.h>
12218#include <time.h>
12219
12220int
12221main ()
12222{
12223struct tm tm;
12224				     int *p = &tm.tm_sec;
12225				     return !p;
12226  ;
12227  return 0;
12228}
12229_ACEOF
12230if ac_fn_c_try_compile "$LINENO"; then :
12231  ac_cv_struct_tm=time.h
12232else
12233  ac_cv_struct_tm=sys/time.h
12234fi
12235rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12236fi
12237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
12238$as_echo "$ac_cv_struct_tm" >&6; }
12239if test $ac_cv_struct_tm = sys/time.h; then
12240
12241$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
12242
12243fi
12244
12245
12246# ###### Check for Headers ##################################################
12247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
12248$as_echo_n "checking for ANSI C header files... " >&6; }
12249if ${ac_cv_header_stdc+:} false; then :
12250  $as_echo_n "(cached) " >&6
12251else
12252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12253/* end confdefs.h.  */
12254#include <stdlib.h>
12255#include <stdarg.h>
12256#include <string.h>
12257#include <float.h>
12258
12259int
12260main ()
12261{
12262
12263  ;
12264  return 0;
12265}
12266_ACEOF
12267if ac_fn_c_try_compile "$LINENO"; then :
12268  ac_cv_header_stdc=yes
12269else
12270  ac_cv_header_stdc=no
12271fi
12272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12273
12274if test $ac_cv_header_stdc = yes; then
12275  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
12276  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12277/* end confdefs.h.  */
12278#include <string.h>
12279
12280_ACEOF
12281if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12282  $EGREP "memchr" >/dev/null 2>&1; then :
12283
12284else
12285  ac_cv_header_stdc=no
12286fi
12287rm -f conftest*
12288
12289fi
12290
12291if test $ac_cv_header_stdc = yes; then
12292  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
12293  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12294/* end confdefs.h.  */
12295#include <stdlib.h>
12296
12297_ACEOF
12298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12299  $EGREP "free" >/dev/null 2>&1; then :
12300
12301else
12302  ac_cv_header_stdc=no
12303fi
12304rm -f conftest*
12305
12306fi
12307
12308if test $ac_cv_header_stdc = yes; then
12309  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
12310  if test "$cross_compiling" = yes; then :
12311  :
12312else
12313  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314/* end confdefs.h.  */
12315#include <ctype.h>
12316#include <stdlib.h>
12317#if ((' ' & 0x0FF) == 0x020)
12318# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
12319# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
12320#else
12321# define ISLOWER(c) \
12322		   (('a' <= (c) && (c) <= 'i') \
12323		     || ('j' <= (c) && (c) <= 'r') \
12324		     || ('s' <= (c) && (c) <= 'z'))
12325# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
12326#endif
12327
12328#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
12329int
12330main ()
12331{
12332  int i;
12333  for (i = 0; i < 256; i++)
12334    if (XOR (islower (i), ISLOWER (i))
12335	|| toupper (i) != TOUPPER (i))
12336      return 2;
12337  return 0;
12338}
12339_ACEOF
12340if ac_fn_c_try_run "$LINENO"; then :
12341
12342else
12343  ac_cv_header_stdc=no
12344fi
12345rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12346  conftest.$ac_objext conftest.beam conftest.$ac_ext
12347fi
12348
12349fi
12350fi
12351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
12352$as_echo "$ac_cv_header_stdc" >&6; }
12353if test $ac_cv_header_stdc = yes; then
12354
12355$as_echo "#define STDC_HEADERS 1" >>confdefs.h
12356
12357fi
12358
12359for ac_header in sys/time.h
12360do :
12361  ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
12362if test "x$ac_cv_header_sys_time_h" = xyes; then :
12363  cat >>confdefs.h <<_ACEOF
12364#define HAVE_SYS_TIME_H 1
12365_ACEOF
12366
12367fi
12368
12369done
12370
12371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
12372$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12373if ${ac_cv_header_time+:} false; then :
12374  $as_echo_n "(cached) " >&6
12375else
12376  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377/* end confdefs.h.  */
12378#include <sys/types.h>
12379#include <sys/time.h>
12380#include <time.h>
12381
12382int
12383main ()
12384{
12385if ((struct tm *) 0)
12386return 0;
12387  ;
12388  return 0;
12389}
12390_ACEOF
12391if ac_fn_c_try_compile "$LINENO"; then :
12392  ac_cv_header_time=yes
12393else
12394  ac_cv_header_time=no
12395fi
12396rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12397fi
12398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
12399$as_echo "$ac_cv_header_time" >&6; }
12400if test $ac_cv_header_time = yes; then
12401
12402$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
12403
12404fi
12405
12406
12407# ###### Checks for library functions #######################################
12408if test $ac_cv_c_compiler_gnu = yes; then
12409    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
12410$as_echo_n "checking whether $CC needs -traditional... " >&6; }
12411if ${ac_cv_prog_gcc_traditional+:} false; then :
12412  $as_echo_n "(cached) " >&6
12413else
12414    ac_pattern="Autoconf.*'x'"
12415  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12416/* end confdefs.h.  */
12417#include <sgtty.h>
12418Autoconf TIOCGETP
12419_ACEOF
12420if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12421  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
12422  ac_cv_prog_gcc_traditional=yes
12423else
12424  ac_cv_prog_gcc_traditional=no
12425fi
12426rm -f conftest*
12427
12428
12429  if test $ac_cv_prog_gcc_traditional = no; then
12430    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431/* end confdefs.h.  */
12432#include <termio.h>
12433Autoconf TCGETA
12434_ACEOF
12435if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12436  $EGREP "$ac_pattern" >/dev/null 2>&1; then :
12437  ac_cv_prog_gcc_traditional=yes
12438fi
12439rm -f conftest*
12440
12441  fi
12442fi
12443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
12444$as_echo "$ac_cv_prog_gcc_traditional" >&6; }
12445  if test $ac_cv_prog_gcc_traditional = yes; then
12446    CC="$CC -traditional"
12447  fi
12448fi
12449
12450for ac_header in stdlib.h
12451do :
12452  ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
12453if test "x$ac_cv_header_stdlib_h" = xyes; then :
12454  cat >>confdefs.h <<_ACEOF
12455#define HAVE_STDLIB_H 1
12456_ACEOF
12457
12458fi
12459
12460done
12461
12462{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
12463$as_echo_n "checking for GNU libc compatible malloc... " >&6; }
12464if ${ac_cv_func_malloc_0_nonnull+:} false; then :
12465  $as_echo_n "(cached) " >&6
12466else
12467  if test "$cross_compiling" = yes; then :
12468  ac_cv_func_malloc_0_nonnull=no
12469else
12470  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12471/* end confdefs.h.  */
12472#if defined STDC_HEADERS || defined HAVE_STDLIB_H
12473# include <stdlib.h>
12474#else
12475char *malloc ();
12476#endif
12477
12478int
12479main ()
12480{
12481return ! malloc (0);
12482  ;
12483  return 0;
12484}
12485_ACEOF
12486if ac_fn_c_try_run "$LINENO"; then :
12487  ac_cv_func_malloc_0_nonnull=yes
12488else
12489  ac_cv_func_malloc_0_nonnull=no
12490fi
12491rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12492  conftest.$ac_objext conftest.beam conftest.$ac_ext
12493fi
12494
12495fi
12496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
12497$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
12498if test $ac_cv_func_malloc_0_nonnull = yes; then :
12499
12500$as_echo "#define HAVE_MALLOC 1" >>confdefs.h
12501
12502else
12503  $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
12504
12505   case " $LIBOBJS " in
12506  *" malloc.$ac_objext "* ) ;;
12507  *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
12508 ;;
12509esac
12510
12511
12512$as_echo "#define malloc rpl_malloc" >>confdefs.h
12513
12514fi
12515
12516
12517{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
12518$as_echo_n "checking for working memcmp... " >&6; }
12519if ${ac_cv_func_memcmp_working+:} false; then :
12520  $as_echo_n "(cached) " >&6
12521else
12522  if test "$cross_compiling" = yes; then :
12523  ac_cv_func_memcmp_working=no
12524else
12525  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526/* end confdefs.h.  */
12527$ac_includes_default
12528int
12529main ()
12530{
12531
12532  /* Some versions of memcmp are not 8-bit clean.  */
12533  char c0 = '\100', c1 = '\200', c2 = '\201';
12534  if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
12535    return 1;
12536
12537  /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
12538     or more and with at least one buffer not starting on a 4-byte boundary.
12539     William Lewis provided this test program.   */
12540  {
12541    char foo[21];
12542    char bar[21];
12543    int i;
12544    for (i = 0; i < 4; i++)
12545      {
12546	char *a = foo + i;
12547	char *b = bar + i;
12548	strcpy (a, "--------01111111");
12549	strcpy (b, "--------10000000");
12550	if (memcmp (a, b, 16) >= 0)
12551	  return 1;
12552      }
12553    return 0;
12554  }
12555
12556  ;
12557  return 0;
12558}
12559_ACEOF
12560if ac_fn_c_try_run "$LINENO"; then :
12561  ac_cv_func_memcmp_working=yes
12562else
12563  ac_cv_func_memcmp_working=no
12564fi
12565rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
12566  conftest.$ac_objext conftest.beam conftest.$ac_ext
12567fi
12568
12569fi
12570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
12571$as_echo "$ac_cv_func_memcmp_working" >&6; }
12572test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
12573  *" memcmp.$ac_objext "* ) ;;
12574  *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
12575 ;;
12576esac
12577
12578
12579for ac_header in sys/select.h sys/socket.h
12580do :
12581  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12582ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12583if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12584  cat >>confdefs.h <<_ACEOF
12585#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12586_ACEOF
12587
12588fi
12589
12590done
12591
12592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
12593$as_echo_n "checking types of arguments for select... " >&6; }
12594if ${ac_cv_func_select_args+:} false; then :
12595  $as_echo_n "(cached) " >&6
12596else
12597  for ac_arg234 in 'fd_set *' 'int *' 'void *'; do
12598 for ac_arg1 in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
12599  for ac_arg5 in 'struct timeval *' 'const struct timeval *'; do
12600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12601/* end confdefs.h.  */
12602$ac_includes_default
12603#ifdef HAVE_SYS_SELECT_H
12604# include <sys/select.h>
12605#endif
12606#ifdef HAVE_SYS_SOCKET_H
12607# include <sys/socket.h>
12608#endif
12609
12610int
12611main ()
12612{
12613extern int select ($ac_arg1,
12614					    $ac_arg234, $ac_arg234, $ac_arg234,
12615					    $ac_arg5);
12616  ;
12617  return 0;
12618}
12619_ACEOF
12620if ac_fn_c_try_compile "$LINENO"; then :
12621  ac_cv_func_select_args="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
12622fi
12623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12624  done
12625 done
12626done
12627# Provide a safe default value.
12628: "${ac_cv_func_select_args=int,int *,struct timeval *}"
12629
12630fi
12631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
12632$as_echo "$ac_cv_func_select_args" >&6; }
12633ac_save_IFS=$IFS; IFS=','
12634set dummy `echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
12635IFS=$ac_save_IFS
12636shift
12637
12638cat >>confdefs.h <<_ACEOF
12639#define SELECT_TYPE_ARG1 $1
12640_ACEOF
12641
12642
12643cat >>confdefs.h <<_ACEOF
12644#define SELECT_TYPE_ARG234 ($2)
12645_ACEOF
12646
12647
12648cat >>confdefs.h <<_ACEOF
12649#define SELECT_TYPE_ARG5 ($3)
12650_ACEOF
12651
12652rm -f conftest*
12653
12654{ $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
12655$as_echo_n "checking return type of signal handlers... " >&6; }
12656if ${ac_cv_type_signal+:} false; then :
12657  $as_echo_n "(cached) " >&6
12658else
12659  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12660/* end confdefs.h.  */
12661#include <sys/types.h>
12662#include <signal.h>
12663
12664int
12665main ()
12666{
12667return *(signal (0, 0)) (0) == 1;
12668  ;
12669  return 0;
12670}
12671_ACEOF
12672if ac_fn_c_try_compile "$LINENO"; then :
12673  ac_cv_type_signal=int
12674else
12675  ac_cv_type_signal=void
12676fi
12677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12678fi
12679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
12680$as_echo "$ac_cv_type_signal" >&6; }
12681
12682cat >>confdefs.h <<_ACEOF
12683#define RETSIGTYPE $ac_cv_type_signal
12684_ACEOF
12685
12686
12687for ac_func in vprintf
12688do :
12689  ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
12690if test "x$ac_cv_func_vprintf" = xyes; then :
12691  cat >>confdefs.h <<_ACEOF
12692#define HAVE_VPRINTF 1
12693_ACEOF
12694
12695ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
12696if test "x$ac_cv_func__doprnt" = xyes; then :
12697
12698$as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
12699
12700fi
12701
12702fi
12703done
12704
12705
12706for ac_func in gettimeofday inet_ntoa memset select socket strerror strtol strtoul
12707do :
12708  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12709ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12710if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12711  cat >>confdefs.h <<_ACEOF
12712#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12713_ACEOF
12714
12715fi
12716done
12717
12718
12719
12720# ###### colorgcc ###########################################################
12721# Extract the first word of "colorgcc", so it can be a program name with args.
12722set dummy colorgcc; ac_word=$2
12723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12724$as_echo_n "checking for $ac_word... " >&6; }
12725if ${ac_cv_prog_COLORGCC+:} false; then :
12726  $as_echo_n "(cached) " >&6
12727else
12728  if test -n "$COLORGCC"; then
12729  ac_cv_prog_COLORGCC="$COLORGCC" # Let the user override the test.
12730else
12731as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12732for as_dir in $PATH
12733do
12734  IFS=$as_save_IFS
12735  test -z "$as_dir" && as_dir=.
12736    for ac_exec_ext in '' $ac_executable_extensions; do
12737  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12738    ac_cv_prog_COLORGCC="yes"
12739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12740    break 2
12741  fi
12742done
12743  done
12744IFS=$as_save_IFS
12745
12746  test -z "$ac_cv_prog_COLORGCC" && ac_cv_prog_COLORGCC="no"
12747fi
12748fi
12749COLORGCC=$ac_cv_prog_COLORGCC
12750if test -n "$COLORGCC"; then
12751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COLORGCC" >&5
12752$as_echo "$COLORGCC" >&6; }
12753else
12754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12755$as_echo "no" >&6; }
12756fi
12757
12758
12759if test "$COLORGCC" == "yes"
12760then
12761   { $as_echo "$as_me:${as_lineno-$LINENO}: Compiling using colorgcc" >&5
12762$as_echo "$as_me: Compiling using colorgcc" >&6;}
12763   CC=colorgcc
12764   CXX=colorgcc
12765fi
12766
12767
12768# ###### Options ############################################################
12769# Check whether --enable-sctp-over-udp was given.
12770if test "${enable_sctp_over_udp+set}" = set; then :
12771  enableval=$enable_sctp_over_udp;
12772$as_echo "#define SCTP_OVER_UDP 1" >>confdefs.h
12773
12774fi
12775
12776
12777if test "$enable_sctp_over_udp" = "yes" ; then
12778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking port number for SCTP over UDP" >&5
12779$as_echo_n "checking port number for SCTP over UDP... " >&6; }
12780
12781# Check whether --with-sctp_over_udp_port was given.
12782if test "${with_sctp_over_udp_port+set}" = set; then :
12783  withval=$with_sctp_over_udp_port; sctp_over_udp_port="$withval"
12784else
12785  sctp_over_udp_port="9899"
12786fi
12787
12788   if test "$sctp_over_udp_port" -lt 1 ; then
12789      as_fn_error $? "SCTP over UDP port too small!" "$LINENO" 5
12790   elif test "$sctp_over_udp_port" -gt 65535 ; then
12791      as_fn_error $? "SCTP over UDP port too large!" "$LINENO" 5
12792   fi
12793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sctp_over_udp_port" >&5
12794$as_echo "$sctp_over_udp_port" >&6; }
12795
12796cat >>confdefs.h <<_ACEOF
12797#define SCTP_OVER_UDP_UDPPORT $sctp_over_udp_port
12798_ACEOF
12799
12800fi
12801
12802# Check whether --enable-maintainer-mode was given.
12803if test "${enable_maintainer_mode+set}" = set; then :
12804  enableval=$enable_maintainer_mode; enable_maintainer_mode=$enableval
12805else
12806  enable_maintainer_mode=no
12807fi
12808
12809
12810# Check whether --enable-ipv6 was given.
12811if test "${enable_ipv6+set}" = set; then :
12812  enableval=$enable_ipv6;
12813fi
12814
12815
12816
12817# ###### IPv6 checks ########################################################
12818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this OS does have IPv6 stack" >&5
12819$as_echo_n "checking whether this OS does have IPv6 stack... " >&6; }
12820if test "${enable_ipv6}" = "no"; then
12821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
12822$as_echo "disabled" >&6; }
12823else
12824   # ----------
12825   # INRIA IPv6
12826   # ----------
12827   if grep IPV6_INRIA_VERSION /usr/include/netinet/in.h >/dev/null 2>&1; then
12828      cv_ipv6=yes
12829
12830$as_echo "#define HAVE_IPV6 1" >>confdefs.h
12831
12832
12833$as_echo "#define INRIA_IPV6 1" >>confdefs.h
12834
12835      LIB_IPV6=""
12836      { $as_echo "$as_me:${as_lineno-$LINENO}: result: INRIA IPv6" >&5
12837$as_echo "INRIA IPv6" >&6; }
12838   fi
12839
12840   # ---------
12841   # KAME IPv6
12842   # ---------
12843   if grep WIDE /usr/include/netinet6/in6.h >/dev/null 2>&1; then
12844      cv_ipv6=yes
12845
12846$as_echo "#define HAVE_IPV6 1" >>confdefs.h
12847
12848
12849$as_echo "#define KAME 1" >>confdefs.h
12850
12851      if test -d /usr/local/v6/lib -a -f /usr/local/v6/lib/libinet6.a; then
12852         LIB_IPV6="-L/usr/local/v6/lib -linet6"
12853      fi
12854      { $as_echo "$as_me:${as_lineno-$LINENO}: result: KAME" >&5
12855$as_echo "KAME" >&6; }
12856   fi
12857
12858   # ---------
12859   # NRL check
12860   # ---------
12861   if grep NRL /usr/include/netinet6/in6.h >/dev/null 2>&1; then
12862      cv_ipv6=yes
12863
12864$as_echo "#define HAVE_IPV6 1" >>confdefs.h
12865
12866
12867$as_echo "#define NRL 1" >>confdefs.h
12868
12869      if test x"$opsys" = x"bsdi";then
12870
12871$as_echo "#define BSDI_NRL 1" >>confdefs.h
12872
12873         { $as_echo "$as_me:${as_lineno-$LINENO}: result: BSDI_NRL" >&5
12874$as_echo "BSDI_NRL" >&6; }
12875      else
12876          { $as_echo "$as_me:${as_lineno-$LINENO}: result: NRL" >&5
12877$as_echo "NRL" >&6; }
12878      fi
12879   fi
12880
12881   # ----------
12882   # Linux IPv6
12883   # ----------
12884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885/* end confdefs.h.  */
12886#
12887#include <linux/version.h>
12888/* 2.1.128 or later */
12889#if LINUX_VERSION_CODE >= 0x020180
12890yes
12891#endif
12892_ACEOF
12893if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12894  $EGREP "yes" >/dev/null 2>&1; then :
12895  cv_ipv6=yes; cv_linux_ipv6=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: Linux IPv6" >&5
12896$as_echo "Linux IPv6" >&6; }
12897fi
12898rm -f conftest*
12899
12900   if test "$cv_linux_ipv6" = "yes"; then
12901
12902$as_echo "#define HAVE_IPV6 1" >>confdefs.h
12903
12904      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc 2.1" >&5
12905$as_echo_n "checking for GNU libc 2.1... " >&6; }
12906      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12907/* end confdefs.h.  */
12908
12909#include <features.h>
12910#if __GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1
12911      yes
12912#endif
12913_ACEOF
12914if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12915  $EGREP "yes" >/dev/null 2>&1; then :
12916  glibc=yes; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12917$as_echo "yes" >&6; }
12918else
12919  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12920$as_echo "no" >&6; }
12921fi
12922rm -f conftest*
12923
12924
12925$as_echo "#define LINUX_IPV6 1" >>confdefs.h
12926
12927      if test "$glibc" != "yes"; then
12928         INCLUDES="-I/usr/inet6/include"
12929         if test x`ls /usr/inet6/lib/libinet6.a 2>/dev/null` != x;then
12930            LIB_IPV6="-L/usr/inet6/lib -linet6"
12931         fi
12932      fi
12933   fi
12934fi
12935
12936LIBS="$LIB_IPV6 $LIBS"
12937
12938
12939
12940# ###### Check for sin6_scope_id of sockaddr_in6 ############################
12941if test "$cv_ipv6" = yes; then
12942   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct sockaddr_in6 has a sin6_scope_id field" >&5
12943$as_echo_n "checking whether struct sockaddr_in6 has a sin6_scope_id field... " >&6; }
12944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12945/* end confdefs.h.  */
12946#include <sys/types.h>
12947#include <netinet/in.h>
12948
12949int
12950main ()
12951{
12952static struct sockaddr_in6 ac_i;int ac_j = sizeof(ac_i.sin6_scope_id);
12953  ;
12954  return 0;
12955}
12956_ACEOF
12957if ac_fn_c_try_compile "$LINENO"; then :
12958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12959$as_echo "yes" >&6; }
12960
12961$as_echo "#define HAVE_SIN6_SCOPE_ID 1" >>confdefs.h
12962
12963else
12964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12965$as_echo "no" >&6; }
12966fi
12967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12968fi
12969
12970
12971# ###### Check for IPV6_PKTINFO #############################################
12972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPV6_PKTINFO" >&5
12973$as_echo_n "checking for IPV6_PKTINFO... " >&6; }
12974cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12975/* end confdefs.h.  */
12976#include <arpa/inet.h>
12977#include <netinet/in.h>
12978int
12979main ()
12980{
12981
12982    int level = IPV6_PKTINFO;
12983
12984  ;
12985  return 0;
12986}
12987_ACEOF
12988if ac_fn_c_try_compile "$LINENO"; then :
12989
12990    # Yes, we have it...
12991    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12992$as_echo "yes" >&6; }
12993
12994$as_echo "#define HAVE_IPV6_PKTINFO /**/" >>confdefs.h
12995
12996
12997else
12998
12999    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13000$as_echo "no" >&6; }
13001
13002fi
13003rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13004
13005
13006# ###### Check for IPV6_RECVPKTINFO #########################################
13007{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPV6_RECVPKTINFO" >&5
13008$as_echo_n "checking for IPV6_RECVPKTINFO... " >&6; }
13009cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13010/* end confdefs.h.  */
13011#include <arpa/inet.h>
13012#include <netinet/in.h>
13013int
13014main ()
13015{
13016
13017    int level = IPV6_RECVPKTINFO;
13018
13019  ;
13020  return 0;
13021}
13022_ACEOF
13023if ac_fn_c_try_compile "$LINENO"; then :
13024
13025    # Yes, we have it...
13026    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13027$as_echo "yes" >&6; }
13028
13029$as_echo "#define HAVE_IPV6_RECVPKTINFO /**/" >>confdefs.h
13030
13031
13032else
13033
13034    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13035$as_echo "no" >&6; }
13036
13037fi
13038rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13039
13040
13041# ###### Check for glib #####################################################
13042
13043
13044
13045# Check whether --enable-glibtest was given.
13046if test "${enable_glibtest+set}" = set; then :
13047  enableval=$enable_glibtest;
13048else
13049  enable_glibtest=yes
13050fi
13051
13052
13053  min_glib_version=2.0.0
13054  pkg_config_args="glib-2.0 >= $min_glib_version"
13055  for module in .
13056  do
13057      case "$module" in
13058         gmodule)
13059             pkg_config_args="$pkg_config_args gmodule-2.0"
13060         ;;
13061         gmodule-no-export)
13062             pkg_config_args="$pkg_config_args gmodule-no-export-2.0"
13063         ;;
13064         gobject)
13065             pkg_config_args="$pkg_config_args gobject-2.0"
13066         ;;
13067         gthread)
13068             pkg_config_args="$pkg_config_args gthread-2.0"
13069         ;;
13070         gio*)
13071             pkg_config_args="$pkg_config_args $module-2.0"
13072         ;;
13073      esac
13074  done
13075
13076
13077
13078
13079
13080
13081
13082
13083if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
13084	if test -n "$ac_tool_prefix"; then
13085  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
13086set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
13087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13088$as_echo_n "checking for $ac_word... " >&6; }
13089if ${ac_cv_path_PKG_CONFIG+:} false; then :
13090  $as_echo_n "(cached) " >&6
13091else
13092  case $PKG_CONFIG in
13093  [\\/]* | ?:[\\/]*)
13094  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
13095  ;;
13096  *)
13097  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13098for as_dir in $PATH
13099do
13100  IFS=$as_save_IFS
13101  test -z "$as_dir" && as_dir=.
13102    for ac_exec_ext in '' $ac_executable_extensions; do
13103  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13104    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13105    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13106    break 2
13107  fi
13108done
13109  done
13110IFS=$as_save_IFS
13111
13112  ;;
13113esac
13114fi
13115PKG_CONFIG=$ac_cv_path_PKG_CONFIG
13116if test -n "$PKG_CONFIG"; then
13117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
13118$as_echo "$PKG_CONFIG" >&6; }
13119else
13120  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13121$as_echo "no" >&6; }
13122fi
13123
13124
13125fi
13126if test -z "$ac_cv_path_PKG_CONFIG"; then
13127  ac_pt_PKG_CONFIG=$PKG_CONFIG
13128  # Extract the first word of "pkg-config", so it can be a program name with args.
13129set dummy pkg-config; ac_word=$2
13130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13131$as_echo_n "checking for $ac_word... " >&6; }
13132if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
13133  $as_echo_n "(cached) " >&6
13134else
13135  case $ac_pt_PKG_CONFIG in
13136  [\\/]* | ?:[\\/]*)
13137  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
13138  ;;
13139  *)
13140  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13141for as_dir in $PATH
13142do
13143  IFS=$as_save_IFS
13144  test -z "$as_dir" && as_dir=.
13145    for ac_exec_ext in '' $ac_executable_extensions; do
13146  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13147    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
13148    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13149    break 2
13150  fi
13151done
13152  done
13153IFS=$as_save_IFS
13154
13155  ;;
13156esac
13157fi
13158ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
13159if test -n "$ac_pt_PKG_CONFIG"; then
13160  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
13161$as_echo "$ac_pt_PKG_CONFIG" >&6; }
13162else
13163  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13164$as_echo "no" >&6; }
13165fi
13166
13167  if test "x$ac_pt_PKG_CONFIG" = x; then
13168    PKG_CONFIG=""
13169  else
13170    case $cross_compiling:$ac_tool_warned in
13171yes:)
13172{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13173$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13174ac_tool_warned=yes ;;
13175esac
13176    PKG_CONFIG=$ac_pt_PKG_CONFIG
13177  fi
13178else
13179  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
13180fi
13181
13182fi
13183if test -n "$PKG_CONFIG"; then
13184	_pkg_min_version=0.16
13185	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
13186$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
13187	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
13188		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13189$as_echo "yes" >&6; }
13190	else
13191		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13192$as_echo "no" >&6; }
13193		PKG_CONFIG=""
13194	fi
13195fi
13196
13197  no_glib=""
13198
13199  if test "x$PKG_CONFIG" = x ; then
13200    no_glib=yes
13201    PKG_CONFIG=no
13202  fi
13203
13204
13205pkg_failed=no
13206{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
13207$as_echo_n "checking for GLIB... " >&6; }
13208
13209if test -n "$GLIB_CFLAGS"; then
13210    pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
13211 elif test -n "$PKG_CONFIG"; then
13212    if test -n "$PKG_CONFIG" && \
13213    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
13214  ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
13215  ac_status=$?
13216  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13217  test $ac_status = 0; }; then
13218  pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$pkg_config_args" 2>/dev/null`
13219		      test "x$?" != "x0" && pkg_failed=yes
13220else
13221  pkg_failed=yes
13222fi
13223 else
13224    pkg_failed=untried
13225fi
13226if test -n "$GLIB_LIBS"; then
13227    pkg_cv_GLIB_LIBS="$GLIB_LIBS"
13228 elif test -n "$PKG_CONFIG"; then
13229    if test -n "$PKG_CONFIG" && \
13230    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$pkg_config_args\""; } >&5
13231  ($PKG_CONFIG --exists --print-errors "$pkg_config_args") 2>&5
13232  ac_status=$?
13233  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13234  test $ac_status = 0; }; then
13235  pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$pkg_config_args" 2>/dev/null`
13236		      test "x$?" != "x0" && pkg_failed=yes
13237else
13238  pkg_failed=yes
13239fi
13240 else
13241    pkg_failed=untried
13242fi
13243
13244
13245
13246if test $pkg_failed = yes; then
13247   	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13248$as_echo "no" >&6; }
13249
13250if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
13251        _pkg_short_errors_supported=yes
13252else
13253        _pkg_short_errors_supported=no
13254fi
13255        if test $_pkg_short_errors_supported = yes; then
13256	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$pkg_config_args" 2>&1`
13257        else
13258	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$pkg_config_args" 2>&1`
13259        fi
13260	# Put the nasty error message in config.log where it belongs
13261	echo "$GLIB_PKG_ERRORS" >&5
13262
13263	:
13264elif test $pkg_failed = untried; then
13265     	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13266$as_echo "no" >&6; }
13267	:
13268else
13269	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
13270	GLIB_LIBS=$pkg_cv_GLIB_LIBS
13271        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13272$as_echo "yes" >&6; }
13273	:
13274fi
13275
13276
13277if test -n "$GLIB_GENMARSHAL"; then
13278    pkg_cv_GLIB_GENMARSHAL="$GLIB_GENMARSHAL"
13279 elif test -n "$PKG_CONFIG"; then
13280    if test -n "$PKG_CONFIG" && \
13281    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
13282  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
13283  ac_status=$?
13284  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13285  test $ac_status = 0; }; then
13286  pkg_cv_GLIB_GENMARSHAL=`$PKG_CONFIG --variable="glib_genmarshal" "glib-2.0" 2>/dev/null`
13287		      test "x$?" != "x0" && pkg_failed=yes
13288else
13289  pkg_failed=yes
13290fi
13291 else
13292    pkg_failed=untried
13293fi
13294GLIB_GENMARSHAL=$pkg_cv_GLIB_GENMARSHAL
13295
13296if test "x$GLIB_GENMARSHAL" = x""; then :
13297
13298fi
13299
13300if test -n "$GOBJECT_QUERY"; then
13301    pkg_cv_GOBJECT_QUERY="$GOBJECT_QUERY"
13302 elif test -n "$PKG_CONFIG"; then
13303    if test -n "$PKG_CONFIG" && \
13304    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
13305  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
13306  ac_status=$?
13307  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13308  test $ac_status = 0; }; then
13309  pkg_cv_GOBJECT_QUERY=`$PKG_CONFIG --variable="gobject_query" "glib-2.0" 2>/dev/null`
13310		      test "x$?" != "x0" && pkg_failed=yes
13311else
13312  pkg_failed=yes
13313fi
13314 else
13315    pkg_failed=untried
13316fi
13317GOBJECT_QUERY=$pkg_cv_GOBJECT_QUERY
13318
13319if test "x$GOBJECT_QUERY" = x""; then :
13320
13321fi
13322
13323if test -n "$GLIB_MKENUMS"; then
13324    pkg_cv_GLIB_MKENUMS="$GLIB_MKENUMS"
13325 elif test -n "$PKG_CONFIG"; then
13326    if test -n "$PKG_CONFIG" && \
13327    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5
13328  ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
13329  ac_status=$?
13330  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13331  test $ac_status = 0; }; then
13332  pkg_cv_GLIB_MKENUMS=`$PKG_CONFIG --variable="glib_mkenums" "glib-2.0" 2>/dev/null`
13333		      test "x$?" != "x0" && pkg_failed=yes
13334else
13335  pkg_failed=yes
13336fi
13337 else
13338    pkg_failed=untried
13339fi
13340GLIB_MKENUMS=$pkg_cv_GLIB_MKENUMS
13341
13342if test "x$GLIB_MKENUMS" = x""; then :
13343
13344fi
13345
13346if test -n "$GLIB_COMPILE_RESOURCES"; then
13347    pkg_cv_GLIB_COMPILE_RESOURCES="$GLIB_COMPILE_RESOURCES"
13348 elif test -n "$PKG_CONFIG"; then
13349    if test -n "$PKG_CONFIG" && \
13350    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0\""; } >&5
13351  ($PKG_CONFIG --exists --print-errors "gio-2.0") 2>&5
13352  ac_status=$?
13353  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13354  test $ac_status = 0; }; then
13355  pkg_cv_GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable="glib_compile_resources" "gio-2.0" 2>/dev/null`
13356		      test "x$?" != "x0" && pkg_failed=yes
13357else
13358  pkg_failed=yes
13359fi
13360 else
13361    pkg_failed=untried
13362fi
13363GLIB_COMPILE_RESOURCES=$pkg_cv_GLIB_COMPILE_RESOURCES
13364
13365if test "x$GLIB_COMPILE_RESOURCES" = x""; then :
13366
13367fi
13368
13369  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB - version >= $min_glib_version" >&5
13370$as_echo_n "checking for GLIB - version >= $min_glib_version... " >&6; }
13371
13372  if test x$PKG_CONFIG != xno ; then
13373    ## don't try to run the test against uninstalled libtool libs
13374    if $PKG_CONFIG --uninstalled $pkg_config_args; then
13375	  echo "Will use uninstalled version of GLib found in PKG_CONFIG_PATH"
13376	  enable_glibtest=no
13377    fi
13378
13379    if $PKG_CONFIG --atleast-version $min_glib_version $pkg_config_args; then
13380	  :
13381    else
13382	  no_glib=yes
13383    fi
13384  fi
13385
13386  if test x"$no_glib" = x ; then
13387    glib_config_major_version=`$PKG_CONFIG --modversion glib-2.0 | \
13388           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
13389    glib_config_minor_version=`$PKG_CONFIG --modversion glib-2.0 | \
13390           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
13391    glib_config_micro_version=`$PKG_CONFIG --modversion glib-2.0 | \
13392           sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
13393    if test "x$enable_glibtest" = "xyes" ; then
13394      ac_save_CFLAGS="$CFLAGS"
13395      ac_save_LIBS="$LIBS"
13396      CFLAGS="$CFLAGS $GLIB_CFLAGS"
13397      LIBS="$GLIB_LIBS $LIBS"
13398      rm -f conf.glibtest
13399      if test "$cross_compiling" = yes; then :
13400  echo $ac_n "cross compiling; assumed OK... $ac_c"
13401else
13402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13403/* end confdefs.h.  */
13404
13405#include <glib.h>
13406#include <stdio.h>
13407#include <stdlib.h>
13408
13409int
13410main (void)
13411{
13412  unsigned int major, minor, micro;
13413
13414  fclose (fopen ("conf.glibtest", "w"));
13415
13416  if (sscanf("$min_glib_version", "%u.%u.%u", &major, &minor, &micro) != 3) {
13417     printf("%s, bad version string\n", "$min_glib_version");
13418     exit(1);
13419   }
13420
13421  if ((glib_major_version != $glib_config_major_version) ||
13422      (glib_minor_version != $glib_config_minor_version) ||
13423      (glib_micro_version != $glib_config_micro_version))
13424    {
13425      printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n",
13426             $glib_config_major_version, $glib_config_minor_version, $glib_config_micro_version,
13427             glib_major_version, glib_minor_version, glib_micro_version);
13428      printf ("*** was found! If pkg-config was correct, then it is best\n");
13429      printf ("*** to remove the old version of GLib. You may also be able to fix the error\n");
13430      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
13431      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
13432      printf("*** required on your system.\n");
13433      printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
13434      printf("*** to point to the correct configuration files\n");
13435    }
13436  else if ((glib_major_version != GLIB_MAJOR_VERSION) ||
13437	   (glib_minor_version != GLIB_MINOR_VERSION) ||
13438           (glib_micro_version != GLIB_MICRO_VERSION))
13439    {
13440      printf("*** GLIB header files (version %d.%d.%d) do not match\n",
13441	     GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION);
13442      printf("*** library (version %d.%d.%d)\n",
13443	     glib_major_version, glib_minor_version, glib_micro_version);
13444    }
13445  else
13446    {
13447      if ((glib_major_version > major) ||
13448        ((glib_major_version == major) && (glib_minor_version > minor)) ||
13449        ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro)))
13450      {
13451        return 0;
13452       }
13453     else
13454      {
13455        printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n",
13456               glib_major_version, glib_minor_version, glib_micro_version);
13457        printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n",
13458	       major, minor, micro);
13459        printf("*** GLIB is always available from ftp://ftp.gtk.org.\n");
13460        printf("***\n");
13461        printf("*** If you have already installed a sufficiently new version, this error\n");
13462        printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
13463        printf("*** being found. The easiest way to fix this is to remove the old version\n");
13464        printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n");
13465        printf("*** correct copy of pkg-config. (In this case, you will have to\n");
13466        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
13467        printf("*** so that the correct libraries are found at run-time))\n");
13468      }
13469    }
13470  return 1;
13471}
13472
13473_ACEOF
13474if ac_fn_c_try_run "$LINENO"; then :
13475
13476else
13477  no_glib=yes
13478fi
13479rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
13480  conftest.$ac_objext conftest.beam conftest.$ac_ext
13481fi
13482
13483       CFLAGS="$ac_save_CFLAGS"
13484       LIBS="$ac_save_LIBS"
13485     fi
13486  fi
13487  if test "x$no_glib" = x ; then
13488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&5
13489$as_echo "yes (version $glib_config_major_version.$glib_config_minor_version.$glib_config_micro_version)" >&6; }
13490      glib_is_okay=yes
13491  else
13492     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13493$as_echo "no" >&6; }
13494     if test "$PKG_CONFIG" = "no" ; then
13495       echo "*** A new enough version of pkg-config was not found."
13496       echo "*** See http://www.freedesktop.org/software/pkgconfig/"
13497     else
13498       if test -f conf.glibtest ; then
13499        :
13500       else
13501          echo "*** Could not run GLIB test program, checking why..."
13502          ac_save_CFLAGS="$CFLAGS"
13503          ac_save_LIBS="$LIBS"
13504          CFLAGS="$CFLAGS $GLIB_CFLAGS"
13505          LIBS="$LIBS $GLIB_LIBS"
13506          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13507/* end confdefs.h.  */
13508
13509#include <glib.h>
13510#include <stdio.h>
13511
13512int
13513main ()
13514{
13515 return ((glib_major_version) || (glib_minor_version) || (glib_micro_version));
13516  ;
13517  return 0;
13518}
13519_ACEOF
13520if ac_fn_c_try_link "$LINENO"; then :
13521   echo "*** The test program compiled, but did not run. This usually means"
13522          echo "*** that the run-time linker is not finding GLIB or finding the wrong"
13523          echo "*** version of GLIB. If it is not finding GLIB, you'll need to set your"
13524          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
13525          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
13526          echo "*** is required on your system"
13527	  echo "***"
13528          echo "*** If you have an old version installed, it is best to remove it, although"
13529          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
13530else
13531   echo "*** The test program failed to compile or link. See the file config.log for the"
13532          echo "*** exact error that occured. This usually means GLIB is incorrectly installed."
13533fi
13534rm -f core conftest.err conftest.$ac_objext \
13535    conftest$ac_exeext conftest.$ac_ext
13536          CFLAGS="$ac_save_CFLAGS"
13537          LIBS="$ac_save_LIBS"
13538       fi
13539     fi
13540     GLIB_CFLAGS=""
13541     GLIB_LIBS=""
13542     GLIB_GENMARSHAL=""
13543     GOBJECT_QUERY=""
13544     GLIB_MKENUMS=""
13545     GLIB_COMPILE_RESOURCES=""
13546      glib_is_okay=no
13547  fi
13548  rm -f conf.glibtest
13549
13550if test "x$glib_is_okay" = "xno"; then
13551   as_fn_error $? "GLib distribution not found." "$LINENO" 5
13552fi
13553
13554CFLAGS="$CFLAGS $GLIB_CFLAGS"
13555CPPFLAGS="$CPPFLAGS $GLIB_CFLAGS"
13556glib_LIBS="$GLIB_LIBS"
13557
13558
13559
13560# ###### Operating system checks ############################################
13561case $host_os in
13562bsdi*)
13563    CFLAGS="$CFLAGS -DBSDI"
13564    thread_LIBS="-lpthread"
13565    CFLAGS="$CFLAGS `glib-config --cflags`"
13566    LDFLAGS="$LDFLAGS `glib-config --libs`"
13567    ;;
13568freebsd*)
13569    CFLAGS="$CFLAGS -DFreeBSD -D_PTHREADS -pthread -I/usr/local/include"
13570    CXXFLAGS="$CXXFLAGS -DFreeBSD -D_PTHREADS -pthread -I/usr/local/include"
13571    LDFLAGS="$LDFLAGS -L/usr/local/v6/lib"
13572    thread_LIBS=""
13573    ;;
13574hpux*)
13575    CFLAGS="$CFLAGS -DSNAKE"
13576    test -z "$GCC" && TRY_CFLAGS="$TRY_CFLAGS -Wp,-H600000"
13577    thread_LIBS="-lpthread"
13578   ;;
13579linux*)
13580    CFLAGS="$CFLAGS -DLINUX"
13581    CXXFLAGS="$CXXFLAGS -DLINUX"
13582    LDFLAGS="$LDFLAGS"
13583    thread_LIBS="-lpthread"
13584    ;;
13585openbsd*)
13586    LIBS="$LIBS -lcompat"
13587    thread_LIBS="-lpthread"
13588    ;;
13589solaris*)
13590    CFLAGS="$CFLAGS -D_XPG4_2 -D__EXTENSIONS__ -DSOLARIS -D__sun -DSUN -DSUNOS_5"
13591    CXXFLAGS="$CXXFLAGS -D_XPG4_2 -D__EXTENSIONS__ -DSOLARIS -D__sun -DSUN -DSUNOS_5"
13592    thread_LIBS="-lpthread"
13593    LDFLAGS="$LDFLAGS -lsocket -lnsl -lrt -lresolv"
13594    ;;
13595sunos4*)
13596    CFLAGS="$CFLAGS -DSUN -DSUN4"
13597    thread_LIBS="-lpthread"
13598    ;;
13599darwin7*)
13600    CFLAGS="$CFLAGS -DDARWIN"
13601    CXXFLAGS="$CXXFLAGS -DDARWIN"
13602    thread_LIBS="-lpthread"
13603    ;;
13604darwin8*)
13605    CFLAGS="$CFLAGS -DDARWIN -DUSE_SELECT"
13606    CXXFLAGS="$CXXFLAGS -DDARWIN"
13607    thread_LIBS="-lpthread"
13608    ;;
13609esac
13610
13611
13612
13613# ###### Maintainer mode ####################################################
13614if test "$enable_maintainer_mode" = "yes"; then
13615   CFLAGS="$CFLAGS -Wall -Wunreachable-code -g3 -O0 -D_REENTRANT -D_THREAD_SAFE"
13616   CXXFLAGS="$CXXFLAGS -Wall -Wunreachable-code -g3 -O0 -D_REENTRANT -D_THREAD_SAFE"
13617else
13618   CFLAGS="$CFLAGS -Wall -Wunreachable-code -O3 -g -D_REENTRANT -D_THREAD_SAFE"
13619   CXXFLAGS="$CXXFLAGS -Wall -Wunreachable-code -O3 -g -D_REENTRANT -D_THREAD_SAFE"
13620fi
13621
13622
13623# ###### Version information ################################################
13624SCTPLIB_CURRENT=1
13625SCTPLIB_REVISION=8
13626SCTPLIB_AGE=0
13627
13628
13629
13630
13631
13632
13633# ###### Makefiles ##########################################################
13634ac_config_files="$ac_config_files Makefile sctplib/Makefile sctplib/docs/Makefile sctplib/docs/en/Makefile sctplib/docs/sctplib/Makefile sctplib/manual/Makefile sctplib/programs/Makefile sctplib/sctp/Makefile"
13635
13636cat >confcache <<\_ACEOF
13637# This file is a shell script that caches the results of configure
13638# tests run on this system so they can be shared between configure
13639# scripts and configure runs, see configure's option --config-cache.
13640# It is not useful on other systems.  If it contains results you don't
13641# want to keep, you may remove or edit it.
13642#
13643# config.status only pays attention to the cache file if you give it
13644# the --recheck option to rerun configure.
13645#
13646# `ac_cv_env_foo' variables (set or unset) will be overridden when
13647# loading this file, other *unset* `ac_cv_foo' will be assigned the
13648# following values.
13649
13650_ACEOF
13651
13652# The following way of writing the cache mishandles newlines in values,
13653# but we know of no workaround that is simple, portable, and efficient.
13654# So, we kill variables containing newlines.
13655# Ultrix sh set writes to stderr and can't be redirected directly,
13656# and sets the high bit in the cache file unless we assign to the vars.
13657(
13658  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13659    eval ac_val=\$$ac_var
13660    case $ac_val in #(
13661    *${as_nl}*)
13662      case $ac_var in #(
13663      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13664$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13665      esac
13666      case $ac_var in #(
13667      _ | IFS | as_nl) ;; #(
13668      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13669      *) { eval $ac_var=; unset $ac_var;} ;;
13670      esac ;;
13671    esac
13672  done
13673
13674  (set) 2>&1 |
13675    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13676    *${as_nl}ac_space=\ *)
13677      # `set' does not quote correctly, so add quotes: double-quote
13678      # substitution turns \\\\ into \\, and sed turns \\ into \.
13679      sed -n \
13680	"s/'/'\\\\''/g;
13681	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13682      ;; #(
13683    *)
13684      # `set' quotes correctly as required by POSIX, so do not add quotes.
13685      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13686      ;;
13687    esac |
13688    sort
13689) |
13690  sed '
13691     /^ac_cv_env_/b end
13692     t clear
13693     :clear
13694     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13695     t end
13696     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13697     :end' >>confcache
13698if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13699  if test -w "$cache_file"; then
13700    if test "x$cache_file" != "x/dev/null"; then
13701      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13702$as_echo "$as_me: updating cache $cache_file" >&6;}
13703      if test ! -f "$cache_file" || test -h "$cache_file"; then
13704	cat confcache >"$cache_file"
13705      else
13706        case $cache_file in #(
13707        */* | ?:*)
13708	  mv -f confcache "$cache_file"$$ &&
13709	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13710        *)
13711	  mv -f confcache "$cache_file" ;;
13712	esac
13713      fi
13714    fi
13715  else
13716    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13717$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13718  fi
13719fi
13720rm -f confcache
13721
13722test "x$prefix" = xNONE && prefix=$ac_default_prefix
13723# Let make expand exec_prefix.
13724test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13725
13726DEFS=-DHAVE_CONFIG_H
13727
13728ac_libobjs=
13729ac_ltlibobjs=
13730for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13731  # 1. Remove the extension, and $U if already installed.
13732  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13733  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13734  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13735  #    will be set to the directory where LIBOBJS objects are built.
13736  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13737  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13738done
13739LIBOBJS=$ac_libobjs
13740
13741LTLIBOBJS=$ac_ltlibobjs
13742
13743
13744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13745$as_echo_n "checking that generated files are newer than configure... " >&6; }
13746   if test -n "$am_sleep_pid"; then
13747     # Hide warnings about reused PIDs.
13748     wait $am_sleep_pid 2>/dev/null
13749   fi
13750   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13751$as_echo "done" >&6; }
13752 if test -n "$EXEEXT"; then
13753  am__EXEEXT_TRUE=
13754  am__EXEEXT_FALSE='#'
13755else
13756  am__EXEEXT_TRUE='#'
13757  am__EXEEXT_FALSE=
13758fi
13759
13760if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13761  as_fn_error $? "conditional \"AMDEP\" was never defined.
13762Usually this means the macro was only invoked conditionally." "$LINENO" 5
13763fi
13764if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13765  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13766Usually this means the macro was only invoked conditionally." "$LINENO" 5
13767fi
13768
13769: "${CONFIG_STATUS=./config.status}"
13770ac_write_fail=0
13771ac_clean_files_save=$ac_clean_files
13772ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13773{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13774$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13775as_write_fail=0
13776cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13777#! $SHELL
13778# Generated by $as_me.
13779# Run this file to recreate the current configuration.
13780# Compiler output produced by configure, useful for debugging
13781# configure, is in config.log if it exists.
13782
13783debug=false
13784ac_cs_recheck=false
13785ac_cs_silent=false
13786
13787SHELL=\${CONFIG_SHELL-$SHELL}
13788export SHELL
13789_ASEOF
13790cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13791## -------------------- ##
13792## M4sh Initialization. ##
13793## -------------------- ##
13794
13795# Be more Bourne compatible
13796DUALCASE=1; export DUALCASE # for MKS sh
13797if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13798  emulate sh
13799  NULLCMD=:
13800  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13801  # is contrary to our usage.  Disable this feature.
13802  alias -g '${1+"$@"}'='"$@"'
13803  setopt NO_GLOB_SUBST
13804else
13805  case `(set -o) 2>/dev/null` in #(
13806  *posix*) :
13807    set -o posix ;; #(
13808  *) :
13809     ;;
13810esac
13811fi
13812
13813
13814as_nl='
13815'
13816export as_nl
13817# Printing a long string crashes Solaris 7 /usr/bin/printf.
13818as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13819as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13820as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13821# Prefer a ksh shell builtin over an external printf program on Solaris,
13822# but without wasting forks for bash or zsh.
13823if test -z "$BASH_VERSION$ZSH_VERSION" \
13824    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13825  as_echo='print -r --'
13826  as_echo_n='print -rn --'
13827elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13828  as_echo='printf %s\n'
13829  as_echo_n='printf %s'
13830else
13831  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13832    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13833    as_echo_n='/usr/ucb/echo -n'
13834  else
13835    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13836    as_echo_n_body='eval
13837      arg=$1;
13838      case $arg in #(
13839      *"$as_nl"*)
13840	expr "X$arg" : "X\\(.*\\)$as_nl";
13841	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13842      esac;
13843      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13844    '
13845    export as_echo_n_body
13846    as_echo_n='sh -c $as_echo_n_body as_echo'
13847  fi
13848  export as_echo_body
13849  as_echo='sh -c $as_echo_body as_echo'
13850fi
13851
13852# The user is always right.
13853if test "${PATH_SEPARATOR+set}" != set; then
13854  PATH_SEPARATOR=:
13855  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13856    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13857      PATH_SEPARATOR=';'
13858  }
13859fi
13860
13861
13862# IFS
13863# We need space, tab and new line, in precisely that order.  Quoting is
13864# there to prevent editors from complaining about space-tab.
13865# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13866# splitting by setting IFS to empty value.)
13867IFS=" ""	$as_nl"
13868
13869# Find who we are.  Look in the path if we contain no directory separator.
13870as_myself=
13871case $0 in #((
13872  *[\\/]* ) as_myself=$0 ;;
13873  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13874for as_dir in $PATH
13875do
13876  IFS=$as_save_IFS
13877  test -z "$as_dir" && as_dir=.
13878    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13879  done
13880IFS=$as_save_IFS
13881
13882     ;;
13883esac
13884# We did not find ourselves, most probably we were run as `sh COMMAND'
13885# in which case we are not to be found in the path.
13886if test "x$as_myself" = x; then
13887  as_myself=$0
13888fi
13889if test ! -f "$as_myself"; then
13890  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13891  exit 1
13892fi
13893
13894# Unset variables that we do not need and which cause bugs (e.g. in
13895# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13896# suppresses any "Segmentation fault" message there.  '((' could
13897# trigger a bug in pdksh 5.2.14.
13898for as_var in BASH_ENV ENV MAIL MAILPATH
13899do eval test x\${$as_var+set} = xset \
13900  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13901done
13902PS1='$ '
13903PS2='> '
13904PS4='+ '
13905
13906# NLS nuisances.
13907LC_ALL=C
13908export LC_ALL
13909LANGUAGE=C
13910export LANGUAGE
13911
13912# CDPATH.
13913(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13914
13915
13916# as_fn_error STATUS ERROR [LINENO LOG_FD]
13917# ----------------------------------------
13918# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13919# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13920# script with STATUS, using 1 if that was 0.
13921as_fn_error ()
13922{
13923  as_status=$1; test $as_status -eq 0 && as_status=1
13924  if test "$4"; then
13925    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13926    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13927  fi
13928  $as_echo "$as_me: error: $2" >&2
13929  as_fn_exit $as_status
13930} # as_fn_error
13931
13932
13933# as_fn_set_status STATUS
13934# -----------------------
13935# Set $? to STATUS, without forking.
13936as_fn_set_status ()
13937{
13938  return $1
13939} # as_fn_set_status
13940
13941# as_fn_exit STATUS
13942# -----------------
13943# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13944as_fn_exit ()
13945{
13946  set +e
13947  as_fn_set_status $1
13948  exit $1
13949} # as_fn_exit
13950
13951# as_fn_unset VAR
13952# ---------------
13953# Portably unset VAR.
13954as_fn_unset ()
13955{
13956  { eval $1=; unset $1;}
13957}
13958as_unset=as_fn_unset
13959# as_fn_append VAR VALUE
13960# ----------------------
13961# Append the text in VALUE to the end of the definition contained in VAR. Take
13962# advantage of any shell optimizations that allow amortized linear growth over
13963# repeated appends, instead of the typical quadratic growth present in naive
13964# implementations.
13965if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13966  eval 'as_fn_append ()
13967  {
13968    eval $1+=\$2
13969  }'
13970else
13971  as_fn_append ()
13972  {
13973    eval $1=\$$1\$2
13974  }
13975fi # as_fn_append
13976
13977# as_fn_arith ARG...
13978# ------------------
13979# Perform arithmetic evaluation on the ARGs, and store the result in the
13980# global $as_val. Take advantage of shells that can avoid forks. The arguments
13981# must be portable across $(()) and expr.
13982if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13983  eval 'as_fn_arith ()
13984  {
13985    as_val=$(( $* ))
13986  }'
13987else
13988  as_fn_arith ()
13989  {
13990    as_val=`expr "$@" || test $? -eq 1`
13991  }
13992fi # as_fn_arith
13993
13994
13995if expr a : '\(a\)' >/dev/null 2>&1 &&
13996   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13997  as_expr=expr
13998else
13999  as_expr=false
14000fi
14001
14002if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14003  as_basename=basename
14004else
14005  as_basename=false
14006fi
14007
14008if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
14009  as_dirname=dirname
14010else
14011  as_dirname=false
14012fi
14013
14014as_me=`$as_basename -- "$0" ||
14015$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
14016	 X"$0" : 'X\(//\)$' \| \
14017	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
14018$as_echo X/"$0" |
14019    sed '/^.*\/\([^/][^/]*\)\/*$/{
14020	    s//\1/
14021	    q
14022	  }
14023	  /^X\/\(\/\/\)$/{
14024	    s//\1/
14025	    q
14026	  }
14027	  /^X\/\(\/\).*/{
14028	    s//\1/
14029	    q
14030	  }
14031	  s/.*/./; q'`
14032
14033# Avoid depending upon Character Ranges.
14034as_cr_letters='abcdefghijklmnopqrstuvwxyz'
14035as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
14036as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14037as_cr_digits='0123456789'
14038as_cr_alnum=$as_cr_Letters$as_cr_digits
14039
14040ECHO_C= ECHO_N= ECHO_T=
14041case `echo -n x` in #(((((
14042-n*)
14043  case `echo 'xy\c'` in
14044  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
14045  xy)  ECHO_C='\c';;
14046  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
14047       ECHO_T='	';;
14048  esac;;
14049*)
14050  ECHO_N='-n';;
14051esac
14052
14053rm -f conf$$ conf$$.exe conf$$.file
14054if test -d conf$$.dir; then
14055  rm -f conf$$.dir/conf$$.file
14056else
14057  rm -f conf$$.dir
14058  mkdir conf$$.dir 2>/dev/null
14059fi
14060if (echo >conf$$.file) 2>/dev/null; then
14061  if ln -s conf$$.file conf$$ 2>/dev/null; then
14062    as_ln_s='ln -s'
14063    # ... but there are two gotchas:
14064    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
14065    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
14066    # In both cases, we have to default to `cp -pR'.
14067    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
14068      as_ln_s='cp -pR'
14069  elif ln conf$$.file conf$$ 2>/dev/null; then
14070    as_ln_s=ln
14071  else
14072    as_ln_s='cp -pR'
14073  fi
14074else
14075  as_ln_s='cp -pR'
14076fi
14077rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
14078rmdir conf$$.dir 2>/dev/null
14079
14080
14081# as_fn_mkdir_p
14082# -------------
14083# Create "$as_dir" as a directory, including parents if necessary.
14084as_fn_mkdir_p ()
14085{
14086
14087  case $as_dir in #(
14088  -*) as_dir=./$as_dir;;
14089  esac
14090  test -d "$as_dir" || eval $as_mkdir_p || {
14091    as_dirs=
14092    while :; do
14093      case $as_dir in #(
14094      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
14095      *) as_qdir=$as_dir;;
14096      esac
14097      as_dirs="'$as_qdir' $as_dirs"
14098      as_dir=`$as_dirname -- "$as_dir" ||
14099$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14100	 X"$as_dir" : 'X\(//\)[^/]' \| \
14101	 X"$as_dir" : 'X\(//\)$' \| \
14102	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
14103$as_echo X"$as_dir" |
14104    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14105	    s//\1/
14106	    q
14107	  }
14108	  /^X\(\/\/\)[^/].*/{
14109	    s//\1/
14110	    q
14111	  }
14112	  /^X\(\/\/\)$/{
14113	    s//\1/
14114	    q
14115	  }
14116	  /^X\(\/\).*/{
14117	    s//\1/
14118	    q
14119	  }
14120	  s/.*/./; q'`
14121      test -d "$as_dir" && break
14122    done
14123    test -z "$as_dirs" || eval "mkdir $as_dirs"
14124  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
14125
14126
14127} # as_fn_mkdir_p
14128if mkdir -p . 2>/dev/null; then
14129  as_mkdir_p='mkdir -p "$as_dir"'
14130else
14131  test -d ./-p && rmdir ./-p
14132  as_mkdir_p=false
14133fi
14134
14135
14136# as_fn_executable_p FILE
14137# -----------------------
14138# Test if FILE is an executable regular file.
14139as_fn_executable_p ()
14140{
14141  test -f "$1" && test -x "$1"
14142} # as_fn_executable_p
14143as_test_x='test -x'
14144as_executable_p=as_fn_executable_p
14145
14146# Sed expression to map a string onto a valid CPP name.
14147as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14148
14149# Sed expression to map a string onto a valid variable name.
14150as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14151
14152
14153exec 6>&1
14154## ----------------------------------- ##
14155## Main body of $CONFIG_STATUS script. ##
14156## ----------------------------------- ##
14157_ASEOF
14158test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14159
14160cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14161# Save the log message, to keep $0 and so on meaningful, and to
14162# report actual input values of CONFIG_FILES etc. instead of their
14163# values after options handling.
14164ac_log="
14165This file was extended by sctplib $as_me 1.0.26, which was
14166generated by GNU Autoconf 2.69.  Invocation command line was
14167
14168  CONFIG_FILES    = $CONFIG_FILES
14169  CONFIG_HEADERS  = $CONFIG_HEADERS
14170  CONFIG_LINKS    = $CONFIG_LINKS
14171  CONFIG_COMMANDS = $CONFIG_COMMANDS
14172  $ $0 $@
14173
14174on `(hostname || uname -n) 2>/dev/null | sed 1q`
14175"
14176
14177_ACEOF
14178
14179case $ac_config_files in *"
14180"*) set x $ac_config_files; shift; ac_config_files=$*;;
14181esac
14182
14183case $ac_config_headers in *"
14184"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14185esac
14186
14187
14188cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14189# Files that config.status was made for.
14190config_files="$ac_config_files"
14191config_headers="$ac_config_headers"
14192config_commands="$ac_config_commands"
14193
14194_ACEOF
14195
14196cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14197ac_cs_usage="\
14198\`$as_me' instantiates files and other configuration actions
14199from templates according to the current configuration.  Unless the files
14200and actions are specified as TAGs, all are instantiated by default.
14201
14202Usage: $0 [OPTION]... [TAG]...
14203
14204  -h, --help       print this help, then exit
14205  -V, --version    print version number and configuration settings, then exit
14206      --config     print configuration, then exit
14207  -q, --quiet, --silent
14208                   do not print progress messages
14209  -d, --debug      don't remove temporary files
14210      --recheck    update $as_me by reconfiguring in the same conditions
14211      --file=FILE[:TEMPLATE]
14212                   instantiate the configuration file FILE
14213      --header=FILE[:TEMPLATE]
14214                   instantiate the configuration header FILE
14215
14216Configuration files:
14217$config_files
14218
14219Configuration headers:
14220$config_headers
14221
14222Configuration commands:
14223$config_commands
14224
14225Report bugs to <dreib@iem.uni-due.de>."
14226
14227_ACEOF
14228cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14229ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14230ac_cs_version="\\
14231sctplib config.status 1.0.26
14232configured by $0, generated by GNU Autoconf 2.69,
14233  with options \\"\$ac_cs_config\\"
14234
14235Copyright (C) 2012 Free Software Foundation, Inc.
14236This config.status script is free software; the Free Software Foundation
14237gives unlimited permission to copy, distribute and modify it."
14238
14239ac_pwd='$ac_pwd'
14240srcdir='$srcdir'
14241INSTALL='$INSTALL'
14242MKDIR_P='$MKDIR_P'
14243AWK='$AWK'
14244test -n "\$AWK" || AWK=awk
14245_ACEOF
14246
14247cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14248# The default lists apply if the user does not specify any file.
14249ac_need_defaults=:
14250while test $# != 0
14251do
14252  case $1 in
14253  --*=?*)
14254    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14255    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14256    ac_shift=:
14257    ;;
14258  --*=)
14259    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14260    ac_optarg=
14261    ac_shift=:
14262    ;;
14263  *)
14264    ac_option=$1
14265    ac_optarg=$2
14266    ac_shift=shift
14267    ;;
14268  esac
14269
14270  case $ac_option in
14271  # Handling of the options.
14272  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14273    ac_cs_recheck=: ;;
14274  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14275    $as_echo "$ac_cs_version"; exit ;;
14276  --config | --confi | --conf | --con | --co | --c )
14277    $as_echo "$ac_cs_config"; exit ;;
14278  --debug | --debu | --deb | --de | --d | -d )
14279    debug=: ;;
14280  --file | --fil | --fi | --f )
14281    $ac_shift
14282    case $ac_optarg in
14283    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14284    '') as_fn_error $? "missing file argument" ;;
14285    esac
14286    as_fn_append CONFIG_FILES " '$ac_optarg'"
14287    ac_need_defaults=false;;
14288  --header | --heade | --head | --hea )
14289    $ac_shift
14290    case $ac_optarg in
14291    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14292    esac
14293    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14294    ac_need_defaults=false;;
14295  --he | --h)
14296    # Conflict between --help and --header
14297    as_fn_error $? "ambiguous option: \`$1'
14298Try \`$0 --help' for more information.";;
14299  --help | --hel | -h )
14300    $as_echo "$ac_cs_usage"; exit ;;
14301  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14302  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14303    ac_cs_silent=: ;;
14304
14305  # This is an error.
14306  -*) as_fn_error $? "unrecognized option: \`$1'
14307Try \`$0 --help' for more information." ;;
14308
14309  *) as_fn_append ac_config_targets " $1"
14310     ac_need_defaults=false ;;
14311
14312  esac
14313  shift
14314done
14315
14316ac_configure_extra_args=
14317
14318if $ac_cs_silent; then
14319  exec 6>/dev/null
14320  ac_configure_extra_args="$ac_configure_extra_args --silent"
14321fi
14322
14323_ACEOF
14324cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14325if \$ac_cs_recheck; then
14326  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14327  shift
14328  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14329  CONFIG_SHELL='$SHELL'
14330  export CONFIG_SHELL
14331  exec "\$@"
14332fi
14333
14334_ACEOF
14335cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14336exec 5>>config.log
14337{
14338  echo
14339  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14340## Running $as_me. ##
14341_ASBOX
14342  $as_echo "$ac_log"
14343} >&5
14344
14345_ACEOF
14346cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14347#
14348# INIT-COMMANDS
14349#
14350AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
14351
14352
14353# The HP-UX ksh and POSIX shell print the target directory to stdout
14354# if CDPATH is set.
14355(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14356
14357sed_quote_subst='$sed_quote_subst'
14358double_quote_subst='$double_quote_subst'
14359delay_variable_subst='$delay_variable_subst'
14360macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14361macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14362enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14363enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14364pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14365enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14366shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14367SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14368ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14369PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14370host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14371host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14372host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14373build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14374build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14375build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14376SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14377Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14378GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14379EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14380FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14381LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14382NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14383LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14384max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14385ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14386exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14387lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14388lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14389lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14390lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14391lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14392reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14393reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14394OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14395deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14396file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14397file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14398want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14399DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14400sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14401AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14402AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14403archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14404STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14405RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14406old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14407old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14408old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14409lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14410CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14411CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14412compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14413GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14414lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14415lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14416lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14417lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14418lt_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"`'
14419lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14420nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14421lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14422lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14423objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14424MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14425lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14426lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14427lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14428lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14429lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14430need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14431MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14432DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14433NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14434LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14435OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14436OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14437libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14438shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14439extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14440archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14441enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14442export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14443whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14444compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14445old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14446old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14447archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14448archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14449module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14450module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14451with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14452allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14453no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14454hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14455hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14456hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14457hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14458hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14459hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14460hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14461inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14462link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14463always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14464export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14465exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14466include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14467prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14468postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14469file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14470variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14471need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14472need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14473version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14474runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14475shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14476shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14477libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14478library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14479soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14480install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14481postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14482postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14483finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14484finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14485hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14486sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14487configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14488configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14489hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14490enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14491enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14492enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14493old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14494striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14495
14496LTCC='$LTCC'
14497LTCFLAGS='$LTCFLAGS'
14498compiler='$compiler_DEFAULT'
14499
14500# A function that is used when there is no print builtin or printf.
14501func_fallback_echo ()
14502{
14503  eval 'cat <<_LTECHO_EOF
14504\$1
14505_LTECHO_EOF'
14506}
14507
14508# Quote evaled strings.
14509for var in SHELL \
14510ECHO \
14511PATH_SEPARATOR \
14512SED \
14513GREP \
14514EGREP \
14515FGREP \
14516LD \
14517NM \
14518LN_S \
14519lt_SP2NL \
14520lt_NL2SP \
14521reload_flag \
14522OBJDUMP \
14523deplibs_check_method \
14524file_magic_cmd \
14525file_magic_glob \
14526want_nocaseglob \
14527DLLTOOL \
14528sharedlib_from_linklib_cmd \
14529AR \
14530AR_FLAGS \
14531archiver_list_spec \
14532STRIP \
14533RANLIB \
14534CC \
14535CFLAGS \
14536compiler \
14537lt_cv_sys_global_symbol_pipe \
14538lt_cv_sys_global_symbol_to_cdecl \
14539lt_cv_sys_global_symbol_to_import \
14540lt_cv_sys_global_symbol_to_c_name_address \
14541lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14542lt_cv_nm_interface \
14543nm_file_list_spec \
14544lt_cv_truncate_bin \
14545lt_prog_compiler_no_builtin_flag \
14546lt_prog_compiler_pic \
14547lt_prog_compiler_wl \
14548lt_prog_compiler_static \
14549lt_cv_prog_compiler_c_o \
14550need_locks \
14551MANIFEST_TOOL \
14552DSYMUTIL \
14553NMEDIT \
14554LIPO \
14555OTOOL \
14556OTOOL64 \
14557shrext_cmds \
14558export_dynamic_flag_spec \
14559whole_archive_flag_spec \
14560compiler_needs_object \
14561with_gnu_ld \
14562allow_undefined_flag \
14563no_undefined_flag \
14564hardcode_libdir_flag_spec \
14565hardcode_libdir_separator \
14566exclude_expsyms \
14567include_expsyms \
14568file_list_spec \
14569variables_saved_for_relink \
14570libname_spec \
14571library_names_spec \
14572soname_spec \
14573install_override_mode \
14574finish_eval \
14575old_striplib \
14576striplib; do
14577    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14578    *[\\\\\\\`\\"\\\$]*)
14579      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14580      ;;
14581    *)
14582      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14583      ;;
14584    esac
14585done
14586
14587# Double-quote double-evaled strings.
14588for var in reload_cmds \
14589old_postinstall_cmds \
14590old_postuninstall_cmds \
14591old_archive_cmds \
14592extract_expsyms_cmds \
14593old_archive_from_new_cmds \
14594old_archive_from_expsyms_cmds \
14595archive_cmds \
14596archive_expsym_cmds \
14597module_cmds \
14598module_expsym_cmds \
14599export_symbols_cmds \
14600prelink_cmds \
14601postlink_cmds \
14602postinstall_cmds \
14603postuninstall_cmds \
14604finish_cmds \
14605sys_lib_search_path_spec \
14606configure_time_dlsearch_path \
14607configure_time_lt_sys_library_path; do
14608    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14609    *[\\\\\\\`\\"\\\$]*)
14610      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14611      ;;
14612    *)
14613      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14614      ;;
14615    esac
14616done
14617
14618ac_aux_dir='$ac_aux_dir'
14619
14620# See if we are running on zsh, and set the options that allow our
14621# commands through without removal of \ escapes INIT.
14622if test -n "\${ZSH_VERSION+set}"; then
14623   setopt NO_GLOB_SUBST
14624fi
14625
14626
14627    PACKAGE='$PACKAGE'
14628    VERSION='$VERSION'
14629    RM='$RM'
14630    ofile='$ofile'
14631
14632
14633
14634
14635_ACEOF
14636
14637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14638
14639# Handling of arguments.
14640for ac_config_target in $ac_config_targets
14641do
14642  case $ac_config_target in
14643    "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
14644    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14645    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14646    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14647    "sctplib/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/Makefile" ;;
14648    "sctplib/docs/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/docs/Makefile" ;;
14649    "sctplib/docs/en/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/docs/en/Makefile" ;;
14650    "sctplib/docs/sctplib/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/docs/sctplib/Makefile" ;;
14651    "sctplib/manual/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/manual/Makefile" ;;
14652    "sctplib/programs/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/programs/Makefile" ;;
14653    "sctplib/sctp/Makefile") CONFIG_FILES="$CONFIG_FILES sctplib/sctp/Makefile" ;;
14654
14655  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14656  esac
14657done
14658
14659
14660# If the user did not use the arguments to specify the items to instantiate,
14661# then the envvar interface is used.  Set only those that are not.
14662# We use the long form for the default assignment because of an extremely
14663# bizarre bug on SunOS 4.1.3.
14664if $ac_need_defaults; then
14665  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14666  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14667  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14668fi
14669
14670# Have a temporary directory for convenience.  Make it in the build tree
14671# simply because there is no reason against having it here, and in addition,
14672# creating and moving files from /tmp can sometimes cause problems.
14673# Hook for its removal unless debugging.
14674# Note that there is a small window in which the directory will not be cleaned:
14675# after its creation but before its name has been assigned to `$tmp'.
14676$debug ||
14677{
14678  tmp= ac_tmp=
14679  trap 'exit_status=$?
14680  : "${ac_tmp:=$tmp}"
14681  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14682' 0
14683  trap 'as_fn_exit 1' 1 2 13 15
14684}
14685# Create a (secure) tmp directory for tmp files.
14686
14687{
14688  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14689  test -d "$tmp"
14690}  ||
14691{
14692  tmp=./conf$$-$RANDOM
14693  (umask 077 && mkdir "$tmp")
14694} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14695ac_tmp=$tmp
14696
14697# Set up the scripts for CONFIG_FILES section.
14698# No need to generate them if there are no CONFIG_FILES.
14699# This happens for instance with `./config.status config.h'.
14700if test -n "$CONFIG_FILES"; then
14701
14702
14703ac_cr=`echo X | tr X '\015'`
14704# On cygwin, bash can eat \r inside `` if the user requested igncr.
14705# But we know of no other shell where ac_cr would be empty at this
14706# point, so we can use a bashism as a fallback.
14707if test "x$ac_cr" = x; then
14708  eval ac_cr=\$\'\\r\'
14709fi
14710ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14711if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14712  ac_cs_awk_cr='\\r'
14713else
14714  ac_cs_awk_cr=$ac_cr
14715fi
14716
14717echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14718_ACEOF
14719
14720
14721{
14722  echo "cat >conf$$subs.awk <<_ACEOF" &&
14723  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14724  echo "_ACEOF"
14725} >conf$$subs.sh ||
14726  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14727ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14728ac_delim='%!_!# '
14729for ac_last_try in false false false false false :; do
14730  . ./conf$$subs.sh ||
14731    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14732
14733  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14734  if test $ac_delim_n = $ac_delim_num; then
14735    break
14736  elif $ac_last_try; then
14737    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14738  else
14739    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14740  fi
14741done
14742rm -f conf$$subs.sh
14743
14744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14745cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14746_ACEOF
14747sed -n '
14748h
14749s/^/S["/; s/!.*/"]=/
14750p
14751g
14752s/^[^!]*!//
14753:repl
14754t repl
14755s/'"$ac_delim"'$//
14756t delim
14757:nl
14758h
14759s/\(.\{148\}\)..*/\1/
14760t more1
14761s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14762p
14763n
14764b repl
14765:more1
14766s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14767p
14768g
14769s/.\{148\}//
14770t nl
14771:delim
14772h
14773s/\(.\{148\}\)..*/\1/
14774t more2
14775s/["\\]/\\&/g; s/^/"/; s/$/"/
14776p
14777b
14778:more2
14779s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14780p
14781g
14782s/.\{148\}//
14783t delim
14784' <conf$$subs.awk | sed '
14785/^[^""]/{
14786  N
14787  s/\n//
14788}
14789' >>$CONFIG_STATUS || ac_write_fail=1
14790rm -f conf$$subs.awk
14791cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14792_ACAWK
14793cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14794  for (key in S) S_is_set[key] = 1
14795  FS = ""
14796
14797}
14798{
14799  line = $ 0
14800  nfields = split(line, field, "@")
14801  substed = 0
14802  len = length(field[1])
14803  for (i = 2; i < nfields; i++) {
14804    key = field[i]
14805    keylen = length(key)
14806    if (S_is_set[key]) {
14807      value = S[key]
14808      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14809      len += length(value) + length(field[++i])
14810      substed = 1
14811    } else
14812      len += 1 + keylen
14813  }
14814
14815  print line
14816}
14817
14818_ACAWK
14819_ACEOF
14820cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14821if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14822  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14823else
14824  cat
14825fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14826  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14827_ACEOF
14828
14829# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14830# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14831# trailing colons and then remove the whole line if VPATH becomes empty
14832# (actually we leave an empty line to preserve line numbers).
14833if test "x$srcdir" = x.; then
14834  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14835h
14836s///
14837s/^/:/
14838s/[	 ]*$/:/
14839s/:\$(srcdir):/:/g
14840s/:\${srcdir}:/:/g
14841s/:@srcdir@:/:/g
14842s/^:*//
14843s/:*$//
14844x
14845s/\(=[	 ]*\).*/\1/
14846G
14847s/\n//
14848s/^[^=]*=[	 ]*$//
14849}'
14850fi
14851
14852cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14853fi # test -n "$CONFIG_FILES"
14854
14855# Set up the scripts for CONFIG_HEADERS section.
14856# No need to generate them if there are no CONFIG_HEADERS.
14857# This happens for instance with `./config.status Makefile'.
14858if test -n "$CONFIG_HEADERS"; then
14859cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14860BEGIN {
14861_ACEOF
14862
14863# Transform confdefs.h into an awk script `defines.awk', embedded as
14864# here-document in config.status, that substitutes the proper values into
14865# config.h.in to produce config.h.
14866
14867# Create a delimiter string that does not exist in confdefs.h, to ease
14868# handling of long lines.
14869ac_delim='%!_!# '
14870for ac_last_try in false false :; do
14871  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14872  if test -z "$ac_tt"; then
14873    break
14874  elif $ac_last_try; then
14875    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14876  else
14877    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14878  fi
14879done
14880
14881# For the awk script, D is an array of macro values keyed by name,
14882# likewise P contains macro parameters if any.  Preserve backslash
14883# newline sequences.
14884
14885ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14886sed -n '
14887s/.\{148\}/&'"$ac_delim"'/g
14888t rset
14889:rset
14890s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14891t def
14892d
14893:def
14894s/\\$//
14895t bsnl
14896s/["\\]/\\&/g
14897s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14898D["\1"]=" \3"/p
14899s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14900d
14901:bsnl
14902s/["\\]/\\&/g
14903s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14904D["\1"]=" \3\\\\\\n"\\/p
14905t cont
14906s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14907t cont
14908d
14909:cont
14910n
14911s/.\{148\}/&'"$ac_delim"'/g
14912t clear
14913:clear
14914s/\\$//
14915t bsnlc
14916s/["\\]/\\&/g; s/^/"/; s/$/"/p
14917d
14918:bsnlc
14919s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14920b cont
14921' <confdefs.h | sed '
14922s/'"$ac_delim"'/"\\\
14923"/g' >>$CONFIG_STATUS || ac_write_fail=1
14924
14925cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14926  for (key in D) D_is_set[key] = 1
14927  FS = ""
14928}
14929/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14930  line = \$ 0
14931  split(line, arg, " ")
14932  if (arg[1] == "#") {
14933    defundef = arg[2]
14934    mac1 = arg[3]
14935  } else {
14936    defundef = substr(arg[1], 2)
14937    mac1 = arg[2]
14938  }
14939  split(mac1, mac2, "(") #)
14940  macro = mac2[1]
14941  prefix = substr(line, 1, index(line, defundef) - 1)
14942  if (D_is_set[macro]) {
14943    # Preserve the white space surrounding the "#".
14944    print prefix "define", macro P[macro] D[macro]
14945    next
14946  } else {
14947    # Replace #undef with comments.  This is necessary, for example,
14948    # in the case of _POSIX_SOURCE, which is predefined and required
14949    # on some systems where configure will not decide to define it.
14950    if (defundef == "undef") {
14951      print "/*", prefix defundef, macro, "*/"
14952      next
14953    }
14954  }
14955}
14956{ print }
14957_ACAWK
14958_ACEOF
14959cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14960  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14961fi # test -n "$CONFIG_HEADERS"
14962
14963
14964eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14965shift
14966for ac_tag
14967do
14968  case $ac_tag in
14969  :[FHLC]) ac_mode=$ac_tag; continue;;
14970  esac
14971  case $ac_mode$ac_tag in
14972  :[FHL]*:*);;
14973  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14974  :[FH]-) ac_tag=-:-;;
14975  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14976  esac
14977  ac_save_IFS=$IFS
14978  IFS=:
14979  set x $ac_tag
14980  IFS=$ac_save_IFS
14981  shift
14982  ac_file=$1
14983  shift
14984
14985  case $ac_mode in
14986  :L) ac_source=$1;;
14987  :[FH])
14988    ac_file_inputs=
14989    for ac_f
14990    do
14991      case $ac_f in
14992      -) ac_f="$ac_tmp/stdin";;
14993      *) # Look for the file first in the build tree, then in the source tree
14994	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14995	 # because $ac_f cannot contain `:'.
14996	 test -f "$ac_f" ||
14997	   case $ac_f in
14998	   [\\/$]*) false;;
14999	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15000	   esac ||
15001	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15002      esac
15003      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15004      as_fn_append ac_file_inputs " '$ac_f'"
15005    done
15006
15007    # Let's still pretend it is `configure' which instantiates (i.e., don't
15008    # use $as_me), people would be surprised to read:
15009    #    /* config.h.  Generated by config.status.  */
15010    configure_input='Generated from '`
15011	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15012	`' by configure.'
15013    if test x"$ac_file" != x-; then
15014      configure_input="$ac_file.  $configure_input"
15015      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15016$as_echo "$as_me: creating $ac_file" >&6;}
15017    fi
15018    # Neutralize special characters interpreted by sed in replacement strings.
15019    case $configure_input in #(
15020    *\&* | *\|* | *\\* )
15021       ac_sed_conf_input=`$as_echo "$configure_input" |
15022       sed 's/[\\\\&|]/\\\\&/g'`;; #(
15023    *) ac_sed_conf_input=$configure_input;;
15024    esac
15025
15026    case $ac_tag in
15027    *:-:* | *:-) cat >"$ac_tmp/stdin" \
15028      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15029    esac
15030    ;;
15031  esac
15032
15033  ac_dir=`$as_dirname -- "$ac_file" ||
15034$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15035	 X"$ac_file" : 'X\(//\)[^/]' \| \
15036	 X"$ac_file" : 'X\(//\)$' \| \
15037	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15038$as_echo X"$ac_file" |
15039    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15040	    s//\1/
15041	    q
15042	  }
15043	  /^X\(\/\/\)[^/].*/{
15044	    s//\1/
15045	    q
15046	  }
15047	  /^X\(\/\/\)$/{
15048	    s//\1/
15049	    q
15050	  }
15051	  /^X\(\/\).*/{
15052	    s//\1/
15053	    q
15054	  }
15055	  s/.*/./; q'`
15056  as_dir="$ac_dir"; as_fn_mkdir_p
15057  ac_builddir=.
15058
15059case "$ac_dir" in
15060.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
15061*)
15062  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15063  # A ".." for each directory in $ac_dir_suffix.
15064  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15065  case $ac_top_builddir_sub in
15066  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
15067  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
15068  esac ;;
15069esac
15070ac_abs_top_builddir=$ac_pwd
15071ac_abs_builddir=$ac_pwd$ac_dir_suffix
15072# for backward compatibility:
15073ac_top_builddir=$ac_top_build_prefix
15074
15075case $srcdir in
15076  .)  # We are building in place.
15077    ac_srcdir=.
15078    ac_top_srcdir=$ac_top_builddir_sub
15079    ac_abs_top_srcdir=$ac_pwd ;;
15080  [\\/]* | ?:[\\/]* )  # Absolute name.
15081    ac_srcdir=$srcdir$ac_dir_suffix;
15082    ac_top_srcdir=$srcdir
15083    ac_abs_top_srcdir=$srcdir ;;
15084  *) # Relative name.
15085    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
15086    ac_top_srcdir=$ac_top_build_prefix$srcdir
15087    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
15088esac
15089ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
15090
15091
15092  case $ac_mode in
15093  :F)
15094  #
15095  # CONFIG_FILE
15096  #
15097
15098  case $INSTALL in
15099  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
15100  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
15101  esac
15102  ac_MKDIR_P=$MKDIR_P
15103  case $MKDIR_P in
15104  [\\/$]* | ?:[\\/]* ) ;;
15105  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
15106  esac
15107_ACEOF
15108
15109cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15110# If the template does not know about datarootdir, expand it.
15111# FIXME: This hack should be removed a few years after 2.60.
15112ac_datarootdir_hack=; ac_datarootdir_seen=
15113ac_sed_dataroot='
15114/datarootdir/ {
15115  p
15116  q
15117}
15118/@datadir@/p
15119/@docdir@/p
15120/@infodir@/p
15121/@localedir@/p
15122/@mandir@/p'
15123case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15124*datarootdir*) ac_datarootdir_seen=yes;;
15125*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
15126  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15127$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15128_ACEOF
15129cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15130  ac_datarootdir_hack='
15131  s&@datadir@&$datadir&g
15132  s&@docdir@&$docdir&g
15133  s&@infodir@&$infodir&g
15134  s&@localedir@&$localedir&g
15135  s&@mandir@&$mandir&g
15136  s&\\\${datarootdir}&$datarootdir&g' ;;
15137esac
15138_ACEOF
15139
15140# Neutralize VPATH when `$srcdir' = `.'.
15141# Shell code in configure.ac might set extrasub.
15142# FIXME: do we really want to maintain this feature?
15143cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15144ac_sed_extra="$ac_vpsub
15145$extrasub
15146_ACEOF
15147cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15148:t
15149/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15150s|@configure_input@|$ac_sed_conf_input|;t t
15151s&@top_builddir@&$ac_top_builddir_sub&;t t
15152s&@top_build_prefix@&$ac_top_build_prefix&;t t
15153s&@srcdir@&$ac_srcdir&;t t
15154s&@abs_srcdir@&$ac_abs_srcdir&;t t
15155s&@top_srcdir@&$ac_top_srcdir&;t t
15156s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15157s&@builddir@&$ac_builddir&;t t
15158s&@abs_builddir@&$ac_abs_builddir&;t t
15159s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15160s&@INSTALL@&$ac_INSTALL&;t t
15161s&@MKDIR_P@&$ac_MKDIR_P&;t t
15162$ac_datarootdir_hack
15163"
15164eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15165  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15166
15167test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15168  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15169  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15170      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15171  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15172which seems to be undefined.  Please make sure it is defined" >&5
15173$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15174which seems to be undefined.  Please make sure it is defined" >&2;}
15175
15176  rm -f "$ac_tmp/stdin"
15177  case $ac_file in
15178  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15179  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15180  esac \
15181  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15182 ;;
15183  :H)
15184  #
15185  # CONFIG_HEADER
15186  #
15187  if test x"$ac_file" != x-; then
15188    {
15189      $as_echo "/* $configure_input  */" \
15190      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15191    } >"$ac_tmp/config.h" \
15192      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15193    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15194      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15195$as_echo "$as_me: $ac_file is unchanged" >&6;}
15196    else
15197      rm -f "$ac_file"
15198      mv "$ac_tmp/config.h" "$ac_file" \
15199	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15200    fi
15201  else
15202    $as_echo "/* $configure_input  */" \
15203      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15204      || as_fn_error $? "could not create -" "$LINENO" 5
15205  fi
15206# Compute "$ac_file"'s index in $config_headers.
15207_am_arg="$ac_file"
15208_am_stamp_count=1
15209for _am_header in $config_headers :; do
15210  case $_am_header in
15211    $_am_arg | $_am_arg:* )
15212      break ;;
15213    * )
15214      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15215  esac
15216done
15217echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15218$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15219	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15220	 X"$_am_arg" : 'X\(//\)$' \| \
15221	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15222$as_echo X"$_am_arg" |
15223    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15224	    s//\1/
15225	    q
15226	  }
15227	  /^X\(\/\/\)[^/].*/{
15228	    s//\1/
15229	    q
15230	  }
15231	  /^X\(\/\/\)$/{
15232	    s//\1/
15233	    q
15234	  }
15235	  /^X\(\/\).*/{
15236	    s//\1/
15237	    q
15238	  }
15239	  s/.*/./; q'`/stamp-h$_am_stamp_count
15240 ;;
15241
15242  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15243$as_echo "$as_me: executing $ac_file commands" >&6;}
15244 ;;
15245  esac
15246
15247
15248  case $ac_file$ac_mode in
15249    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15250  # Older Autoconf quotes --file arguments for eval, but not when files
15251  # are listed without --file.  Let's play safe and only enable the eval
15252  # if we detect the quoting.
15253  # TODO: see whether this extra hack can be removed once we start
15254  # requiring Autoconf 2.70 or later.
15255  case $CONFIG_FILES in #(
15256  *\'*) :
15257    eval set x "$CONFIG_FILES" ;; #(
15258  *) :
15259    set x $CONFIG_FILES ;; #(
15260  *) :
15261     ;;
15262esac
15263  shift
15264  # Used to flag and report bootstrapping failures.
15265  am_rc=0
15266  for am_mf
15267  do
15268    # Strip MF so we end up with the name of the file.
15269    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
15270    # Check whether this is an Automake generated Makefile which includes
15271    # dependency-tracking related rules and includes.
15272    # Grep'ing the whole file directly is not great: AIX grep has a line
15273    # limit of 2048, but all sed's we know have understand at least 4000.
15274    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
15275      || continue
15276    am_dirpart=`$as_dirname -- "$am_mf" ||
15277$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15278	 X"$am_mf" : 'X\(//\)[^/]' \| \
15279	 X"$am_mf" : 'X\(//\)$' \| \
15280	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15281$as_echo X"$am_mf" |
15282    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15283	    s//\1/
15284	    q
15285	  }
15286	  /^X\(\/\/\)[^/].*/{
15287	    s//\1/
15288	    q
15289	  }
15290	  /^X\(\/\/\)$/{
15291	    s//\1/
15292	    q
15293	  }
15294	  /^X\(\/\).*/{
15295	    s//\1/
15296	    q
15297	  }
15298	  s/.*/./; q'`
15299    am_filepart=`$as_basename -- "$am_mf" ||
15300$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
15301	 X"$am_mf" : 'X\(//\)$' \| \
15302	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
15303$as_echo X/"$am_mf" |
15304    sed '/^.*\/\([^/][^/]*\)\/*$/{
15305	    s//\1/
15306	    q
15307	  }
15308	  /^X\/\(\/\/\)$/{
15309	    s//\1/
15310	    q
15311	  }
15312	  /^X\/\(\/\).*/{
15313	    s//\1/
15314	    q
15315	  }
15316	  s/.*/./; q'`
15317    { echo "$as_me:$LINENO: cd "$am_dirpart" \
15318      && sed -e '/# am--include-marker/d' "$am_filepart" \
15319        | $MAKE -f - am--depfiles" >&5
15320   (cd "$am_dirpart" \
15321      && sed -e '/# am--include-marker/d' "$am_filepart" \
15322        | $MAKE -f - am--depfiles) >&5 2>&5
15323   ac_status=$?
15324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325   (exit $ac_status); } || am_rc=$?
15326  done
15327  if test $am_rc -ne 0; then
15328    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15330as_fn_error $? "Something went wrong bootstrapping makefile fragments
15331    for automatic dependency tracking.  Try re-running configure with the
15332    '--disable-dependency-tracking' option to at least be able to build
15333    the package (albeit without support for automatic dependency tracking).
15334See \`config.log' for more details" "$LINENO" 5; }
15335  fi
15336  { am_dirpart=; unset am_dirpart;}
15337  { am_filepart=; unset am_filepart;}
15338  { am_mf=; unset am_mf;}
15339  { am_rc=; unset am_rc;}
15340  rm -f conftest-deps.mk
15341}
15342 ;;
15343    "libtool":C)
15344
15345    # See if we are running on zsh, and set the options that allow our
15346    # commands through without removal of \ escapes.
15347    if test -n "${ZSH_VERSION+set}"; then
15348      setopt NO_GLOB_SUBST
15349    fi
15350
15351    cfgfile=${ofile}T
15352    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15353    $RM "$cfgfile"
15354
15355    cat <<_LT_EOF >> "$cfgfile"
15356#! $SHELL
15357# Generated automatically by $as_me ($PACKAGE) $VERSION
15358# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15359
15360# Provide generalized library-building support services.
15361# Written by Gordon Matzigkeit, 1996
15362
15363# Copyright (C) 2014 Free Software Foundation, Inc.
15364# This is free software; see the source for copying conditions.  There is NO
15365# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15366
15367# GNU Libtool is free software; you can redistribute it and/or modify
15368# it under the terms of the GNU General Public License as published by
15369# the Free Software Foundation; either version 2 of of the License, or
15370# (at your option) any later version.
15371#
15372# As a special exception to the GNU General Public License, if you
15373# distribute this file as part of a program or library that is built
15374# using GNU Libtool, you may include this file under the  same
15375# distribution terms that you use for the rest of that program.
15376#
15377# GNU Libtool is distributed in the hope that it will be useful, but
15378# WITHOUT ANY WARRANTY; without even the implied warranty of
15379# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15380# GNU General Public License for more details.
15381#
15382# You should have received a copy of the GNU General Public License
15383# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15384
15385
15386# The names of the tagged configurations supported by this script.
15387available_tags=''
15388
15389# Configured defaults for sys_lib_dlsearch_path munging.
15390: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15391
15392# ### BEGIN LIBTOOL CONFIG
15393
15394# Which release of libtool.m4 was used?
15395macro_version=$macro_version
15396macro_revision=$macro_revision
15397
15398# Whether or not to build shared libraries.
15399build_libtool_libs=$enable_shared
15400
15401# Whether or not to build static libraries.
15402build_old_libs=$enable_static
15403
15404# What type of objects to build.
15405pic_mode=$pic_mode
15406
15407# Whether or not to optimize for fast installation.
15408fast_install=$enable_fast_install
15409
15410# Shared archive member basename,for filename based shared library versioning on AIX.
15411shared_archive_member_spec=$shared_archive_member_spec
15412
15413# Shell to use when invoking shell scripts.
15414SHELL=$lt_SHELL
15415
15416# An echo program that protects backslashes.
15417ECHO=$lt_ECHO
15418
15419# The PATH separator for the build system.
15420PATH_SEPARATOR=$lt_PATH_SEPARATOR
15421
15422# The host system.
15423host_alias=$host_alias
15424host=$host
15425host_os=$host_os
15426
15427# The build system.
15428build_alias=$build_alias
15429build=$build
15430build_os=$build_os
15431
15432# A sed program that does not truncate output.
15433SED=$lt_SED
15434
15435# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15436Xsed="\$SED -e 1s/^X//"
15437
15438# A grep program that handles long lines.
15439GREP=$lt_GREP
15440
15441# An ERE matcher.
15442EGREP=$lt_EGREP
15443
15444# A literal string matcher.
15445FGREP=$lt_FGREP
15446
15447# A BSD- or MS-compatible name lister.
15448NM=$lt_NM
15449
15450# Whether we need soft or hard links.
15451LN_S=$lt_LN_S
15452
15453# What is the maximum length of a command?
15454max_cmd_len=$max_cmd_len
15455
15456# Object file suffix (normally "o").
15457objext=$ac_objext
15458
15459# Executable file suffix (normally "").
15460exeext=$exeext
15461
15462# whether the shell understands "unset".
15463lt_unset=$lt_unset
15464
15465# turn spaces into newlines.
15466SP2NL=$lt_lt_SP2NL
15467
15468# turn newlines into spaces.
15469NL2SP=$lt_lt_NL2SP
15470
15471# convert \$build file names to \$host format.
15472to_host_file_cmd=$lt_cv_to_host_file_cmd
15473
15474# convert \$build files to toolchain format.
15475to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15476
15477# An object symbol dumper.
15478OBJDUMP=$lt_OBJDUMP
15479
15480# Method to check whether dependent libraries are shared objects.
15481deplibs_check_method=$lt_deplibs_check_method
15482
15483# Command to use when deplibs_check_method = "file_magic".
15484file_magic_cmd=$lt_file_magic_cmd
15485
15486# How to find potential files when deplibs_check_method = "file_magic".
15487file_magic_glob=$lt_file_magic_glob
15488
15489# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15490want_nocaseglob=$lt_want_nocaseglob
15491
15492# DLL creation program.
15493DLLTOOL=$lt_DLLTOOL
15494
15495# Command to associate shared and link libraries.
15496sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15497
15498# The archiver.
15499AR=$lt_AR
15500
15501# Flags to create an archive.
15502AR_FLAGS=$lt_AR_FLAGS
15503
15504# How to feed a file listing to the archiver.
15505archiver_list_spec=$lt_archiver_list_spec
15506
15507# A symbol stripping program.
15508STRIP=$lt_STRIP
15509
15510# Commands used to install an old-style archive.
15511RANLIB=$lt_RANLIB
15512old_postinstall_cmds=$lt_old_postinstall_cmds
15513old_postuninstall_cmds=$lt_old_postuninstall_cmds
15514
15515# Whether to use a lock for old archive extraction.
15516lock_old_archive_extraction=$lock_old_archive_extraction
15517
15518# A C compiler.
15519LTCC=$lt_CC
15520
15521# LTCC compiler flags.
15522LTCFLAGS=$lt_CFLAGS
15523
15524# Take the output of nm and produce a listing of raw symbols and C names.
15525global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15526
15527# Transform the output of nm in a proper C declaration.
15528global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15529
15530# Transform the output of nm into a list of symbols to manually relocate.
15531global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15532
15533# Transform the output of nm in a C name address pair.
15534global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15535
15536# Transform the output of nm in a C name address pair when lib prefix is needed.
15537global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15538
15539# The name lister interface.
15540nm_interface=$lt_lt_cv_nm_interface
15541
15542# Specify filename containing input files for \$NM.
15543nm_file_list_spec=$lt_nm_file_list_spec
15544
15545# The root where to search for dependent libraries,and where our libraries should be installed.
15546lt_sysroot=$lt_sysroot
15547
15548# Command to truncate a binary pipe.
15549lt_truncate_bin=$lt_lt_cv_truncate_bin
15550
15551# The name of the directory that contains temporary libtool files.
15552objdir=$objdir
15553
15554# Used to examine libraries when file_magic_cmd begins with "file".
15555MAGIC_CMD=$MAGIC_CMD
15556
15557# Must we lock files when doing compilation?
15558need_locks=$lt_need_locks
15559
15560# Manifest tool.
15561MANIFEST_TOOL=$lt_MANIFEST_TOOL
15562
15563# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15564DSYMUTIL=$lt_DSYMUTIL
15565
15566# Tool to change global to local symbols on Mac OS X.
15567NMEDIT=$lt_NMEDIT
15568
15569# Tool to manipulate fat objects and archives on Mac OS X.
15570LIPO=$lt_LIPO
15571
15572# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15573OTOOL=$lt_OTOOL
15574
15575# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15576OTOOL64=$lt_OTOOL64
15577
15578# Old archive suffix (normally "a").
15579libext=$libext
15580
15581# Shared library suffix (normally ".so").
15582shrext_cmds=$lt_shrext_cmds
15583
15584# The commands to extract the exported symbol list from a shared archive.
15585extract_expsyms_cmds=$lt_extract_expsyms_cmds
15586
15587# Variables whose values should be saved in libtool wrapper scripts and
15588# restored at link time.
15589variables_saved_for_relink=$lt_variables_saved_for_relink
15590
15591# Do we need the "lib" prefix for modules?
15592need_lib_prefix=$need_lib_prefix
15593
15594# Do we need a version for libraries?
15595need_version=$need_version
15596
15597# Library versioning type.
15598version_type=$version_type
15599
15600# Shared library runtime path variable.
15601runpath_var=$runpath_var
15602
15603# Shared library path variable.
15604shlibpath_var=$shlibpath_var
15605
15606# Is shlibpath searched before the hard-coded library search path?
15607shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15608
15609# Format of library name prefix.
15610libname_spec=$lt_libname_spec
15611
15612# List of archive names.  First name is the real one, the rest are links.
15613# The last name is the one that the linker finds with -lNAME
15614library_names_spec=$lt_library_names_spec
15615
15616# The coded name of the library, if different from the real name.
15617soname_spec=$lt_soname_spec
15618
15619# Permission mode override for installation of shared libraries.
15620install_override_mode=$lt_install_override_mode
15621
15622# Command to use after installation of a shared archive.
15623postinstall_cmds=$lt_postinstall_cmds
15624
15625# Command to use after uninstallation of a shared archive.
15626postuninstall_cmds=$lt_postuninstall_cmds
15627
15628# Commands used to finish a libtool library installation in a directory.
15629finish_cmds=$lt_finish_cmds
15630
15631# As "finish_cmds", except a single script fragment to be evaled but
15632# not shown.
15633finish_eval=$lt_finish_eval
15634
15635# Whether we should hardcode library paths into libraries.
15636hardcode_into_libs=$hardcode_into_libs
15637
15638# Compile-time system search path for libraries.
15639sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15640
15641# Detected run-time system search path for libraries.
15642sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15643
15644# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15645configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15646
15647# Whether dlopen is supported.
15648dlopen_support=$enable_dlopen
15649
15650# Whether dlopen of programs is supported.
15651dlopen_self=$enable_dlopen_self
15652
15653# Whether dlopen of statically linked programs is supported.
15654dlopen_self_static=$enable_dlopen_self_static
15655
15656# Commands to strip libraries.
15657old_striplib=$lt_old_striplib
15658striplib=$lt_striplib
15659
15660
15661# The linker used to build libraries.
15662LD=$lt_LD
15663
15664# How to create reloadable object files.
15665reload_flag=$lt_reload_flag
15666reload_cmds=$lt_reload_cmds
15667
15668# Commands used to build an old-style archive.
15669old_archive_cmds=$lt_old_archive_cmds
15670
15671# A language specific compiler.
15672CC=$lt_compiler
15673
15674# Is the compiler the GNU compiler?
15675with_gcc=$GCC
15676
15677# Compiler flag to turn off builtin functions.
15678no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15679
15680# Additional compiler flags for building library objects.
15681pic_flag=$lt_lt_prog_compiler_pic
15682
15683# How to pass a linker flag through the compiler.
15684wl=$lt_lt_prog_compiler_wl
15685
15686# Compiler flag to prevent dynamic linking.
15687link_static_flag=$lt_lt_prog_compiler_static
15688
15689# Does compiler simultaneously support -c and -o options?
15690compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15691
15692# Whether or not to add -lc for building shared libraries.
15693build_libtool_need_lc=$archive_cmds_need_lc
15694
15695# Whether or not to disallow shared libs when runtime libs are static.
15696allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15697
15698# Compiler flag to allow reflexive dlopens.
15699export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15700
15701# Compiler flag to generate shared objects directly from archives.
15702whole_archive_flag_spec=$lt_whole_archive_flag_spec
15703
15704# Whether the compiler copes with passing no objects directly.
15705compiler_needs_object=$lt_compiler_needs_object
15706
15707# Create an old-style archive from a shared archive.
15708old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15709
15710# Create a temporary old-style archive to link instead of a shared archive.
15711old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15712
15713# Commands used to build a shared archive.
15714archive_cmds=$lt_archive_cmds
15715archive_expsym_cmds=$lt_archive_expsym_cmds
15716
15717# Commands used to build a loadable module if different from building
15718# a shared archive.
15719module_cmds=$lt_module_cmds
15720module_expsym_cmds=$lt_module_expsym_cmds
15721
15722# Whether we are building with GNU ld or not.
15723with_gnu_ld=$lt_with_gnu_ld
15724
15725# Flag that allows shared libraries with undefined symbols to be built.
15726allow_undefined_flag=$lt_allow_undefined_flag
15727
15728# Flag that enforces no undefined symbols.
15729no_undefined_flag=$lt_no_undefined_flag
15730
15731# Flag to hardcode \$libdir into a binary during linking.
15732# This must work even if \$libdir does not exist
15733hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15734
15735# Whether we need a single "-rpath" flag with a separated argument.
15736hardcode_libdir_separator=$lt_hardcode_libdir_separator
15737
15738# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15739# DIR into the resulting binary.
15740hardcode_direct=$hardcode_direct
15741
15742# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15743# DIR into the resulting binary and the resulting library dependency is
15744# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15745# library is relocated.
15746hardcode_direct_absolute=$hardcode_direct_absolute
15747
15748# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15749# into the resulting binary.
15750hardcode_minus_L=$hardcode_minus_L
15751
15752# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15753# into the resulting binary.
15754hardcode_shlibpath_var=$hardcode_shlibpath_var
15755
15756# Set to "yes" if building a shared library automatically hardcodes DIR
15757# into the library and all subsequent libraries and executables linked
15758# against it.
15759hardcode_automatic=$hardcode_automatic
15760
15761# Set to yes if linker adds runtime paths of dependent libraries
15762# to runtime path list.
15763inherit_rpath=$inherit_rpath
15764
15765# Whether libtool must link a program against all its dependency libraries.
15766link_all_deplibs=$link_all_deplibs
15767
15768# Set to "yes" if exported symbols are required.
15769always_export_symbols=$always_export_symbols
15770
15771# The commands to list exported symbols.
15772export_symbols_cmds=$lt_export_symbols_cmds
15773
15774# Symbols that should not be listed in the preloaded symbols.
15775exclude_expsyms=$lt_exclude_expsyms
15776
15777# Symbols that must always be exported.
15778include_expsyms=$lt_include_expsyms
15779
15780# Commands necessary for linking programs (against libraries) with templates.
15781prelink_cmds=$lt_prelink_cmds
15782
15783# Commands necessary for finishing linking programs.
15784postlink_cmds=$lt_postlink_cmds
15785
15786# Specify filename containing input files.
15787file_list_spec=$lt_file_list_spec
15788
15789# How to hardcode a shared library path into an executable.
15790hardcode_action=$hardcode_action
15791
15792# ### END LIBTOOL CONFIG
15793
15794_LT_EOF
15795
15796    cat <<'_LT_EOF' >> "$cfgfile"
15797
15798# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15799
15800# func_munge_path_list VARIABLE PATH
15801# -----------------------------------
15802# VARIABLE is name of variable containing _space_ separated list of
15803# directories to be munged by the contents of PATH, which is string
15804# having a format:
15805# "DIR[:DIR]:"
15806#       string "DIR[ DIR]" will be prepended to VARIABLE
15807# ":DIR[:DIR]"
15808#       string "DIR[ DIR]" will be appended to VARIABLE
15809# "DIRP[:DIRP]::[DIRA:]DIRA"
15810#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15811#       "DIRA[ DIRA]" will be appended to VARIABLE
15812# "DIR[:DIR]"
15813#       VARIABLE will be replaced by "DIR[ DIR]"
15814func_munge_path_list ()
15815{
15816    case x$2 in
15817    x)
15818        ;;
15819    *:)
15820        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15821        ;;
15822    x:*)
15823        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15824        ;;
15825    *::*)
15826        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15827        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15828        ;;
15829    *)
15830        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15831        ;;
15832    esac
15833}
15834
15835
15836# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15837func_cc_basename ()
15838{
15839    for cc_temp in $*""; do
15840      case $cc_temp in
15841        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15842        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15843        \-*) ;;
15844        *) break;;
15845      esac
15846    done
15847    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15848}
15849
15850
15851# ### END FUNCTIONS SHARED WITH CONFIGURE
15852
15853_LT_EOF
15854
15855  case $host_os in
15856  aix3*)
15857    cat <<\_LT_EOF >> "$cfgfile"
15858# AIX sometimes has problems with the GCC collect2 program.  For some
15859# reason, if we set the COLLECT_NAMES environment variable, the problems
15860# vanish in a puff of smoke.
15861if test set != "${COLLECT_NAMES+set}"; then
15862  COLLECT_NAMES=
15863  export COLLECT_NAMES
15864fi
15865_LT_EOF
15866    ;;
15867  esac
15868
15869
15870ltmain=$ac_aux_dir/ltmain.sh
15871
15872
15873  # We use sed instead of cat because bash on DJGPP gets confused if
15874  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15875  # text mode, it properly converts lines to CR/LF.  This bash problem
15876  # is reportedly fixed, but why not run on old versions too?
15877  sed '$q' "$ltmain" >> "$cfgfile" \
15878     || (rm -f "$cfgfile"; exit 1)
15879
15880   mv -f "$cfgfile" "$ofile" ||
15881    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15882  chmod +x "$ofile"
15883
15884 ;;
15885
15886  esac
15887done # for ac_tag
15888
15889
15890as_fn_exit 0
15891_ACEOF
15892ac_clean_files=$ac_clean_files_save
15893
15894test $ac_write_fail = 0 ||
15895  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15896
15897
15898# configure is writing to config.log, and then calls config.status.
15899# config.status does its own redirection, appending to config.log.
15900# Unfortunately, on DOS this fails, as config.log is still kept open
15901# by configure, so config.status won't be able to write to it; its
15902# output is simply discarded.  So we exec the FD to /dev/null,
15903# effectively closing config.log, so it can be properly (re)opened and
15904# appended to by config.status.  When coming back to configure, we
15905# need to make the FD available again.
15906if test "$no_create" != yes; then
15907  ac_cs_success=:
15908  ac_config_status_args=
15909  test "$silent" = yes &&
15910    ac_config_status_args="$ac_config_status_args --quiet"
15911  exec 5>/dev/null
15912  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15913  exec 5>>config.log
15914  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15915  # would make configure fail if this is the last instruction.
15916  $ac_cs_success || as_fn_exit 1
15917fi
15918if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15919  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15920$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15921fi
15922
15923
15924
15925# ###### Configuration results ##############################################
15926echo ""
15927echo "The sctplib package has been configured with the following options:"
15928echo ""
15929echo "   Build with Maintainer Mode : $enable_maintainer_mode"
15930echo "   Build with SCTP over UDP   : $enable_sctp_over_udp"
15931echo ""
15932echo "   glib_LIBS                  : $glib_LIBS"
15933echo ""
15934echo "   CFLAGS                     : $CFLAGS"
15935echo "   CXXFLAGS                   : $CXXFLAGS"
15936echo "   LDFLAGS                    : $LDFLAGS"
15937