1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for zeromq package.
4#
5# Report bugs to <https://github.com/gap-packages/zeromq/issues>.
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: https://github.com/gap-packages/zeromq/issues about
279$0: your system, including any error possibly output before
280$0: this message. Then install a modern shell, or manually
281$0: run the script under such a shell if you do have one."
282  fi
283  exit 1
284fi
285fi
286fi
287SHELL=${CONFIG_SHELL-/bin/sh}
288export SHELL
289# Unset more variables known to interfere with behavior of common tools.
290CLICOLOR_FORCE= GREP_OPTIONS=
291unset CLICOLOR_FORCE GREP_OPTIONS
292
293## --------------------- ##
294## M4sh Shell Functions. ##
295## --------------------- ##
296# as_fn_unset VAR
297# ---------------
298# Portably unset VAR.
299as_fn_unset ()
300{
301  { eval $1=; unset $1;}
302}
303as_unset=as_fn_unset
304
305# as_fn_set_status STATUS
306# -----------------------
307# Set $? to STATUS, without forking.
308as_fn_set_status ()
309{
310  return $1
311} # as_fn_set_status
312
313# as_fn_exit STATUS
314# -----------------
315# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
316as_fn_exit ()
317{
318  set +e
319  as_fn_set_status $1
320  exit $1
321} # as_fn_exit
322
323# as_fn_mkdir_p
324# -------------
325# Create "$as_dir" as a directory, including parents if necessary.
326as_fn_mkdir_p ()
327{
328
329  case $as_dir in #(
330  -*) as_dir=./$as_dir;;
331  esac
332  test -d "$as_dir" || eval $as_mkdir_p || {
333    as_dirs=
334    while :; do
335      case $as_dir in #(
336      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
337      *) as_qdir=$as_dir;;
338      esac
339      as_dirs="'$as_qdir' $as_dirs"
340      as_dir=`$as_dirname -- "$as_dir" ||
341$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342	 X"$as_dir" : 'X\(//\)[^/]' \| \
343	 X"$as_dir" : 'X\(//\)$' \| \
344	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345$as_echo X"$as_dir" |
346    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
347	    s//\1/
348	    q
349	  }
350	  /^X\(\/\/\)[^/].*/{
351	    s//\1/
352	    q
353	  }
354	  /^X\(\/\/\)$/{
355	    s//\1/
356	    q
357	  }
358	  /^X\(\/\).*/{
359	    s//\1/
360	    q
361	  }
362	  s/.*/./; q'`
363      test -d "$as_dir" && break
364    done
365    test -z "$as_dirs" || eval "mkdir $as_dirs"
366  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367
368
369} # as_fn_mkdir_p
370
371# as_fn_executable_p FILE
372# -----------------------
373# Test if FILE is an executable regular file.
374as_fn_executable_p ()
375{
376  test -f "$1" && test -x "$1"
377} # as_fn_executable_p
378# as_fn_append VAR VALUE
379# ----------------------
380# Append the text in VALUE to the end of the definition contained in VAR. Take
381# advantage of any shell optimizations that allow amortized linear growth over
382# repeated appends, instead of the typical quadratic growth present in naive
383# implementations.
384if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385  eval 'as_fn_append ()
386  {
387    eval $1+=\$2
388  }'
389else
390  as_fn_append ()
391  {
392    eval $1=\$$1\$2
393  }
394fi # as_fn_append
395
396# as_fn_arith ARG...
397# ------------------
398# Perform arithmetic evaluation on the ARGs, and store the result in the
399# global $as_val. Take advantage of shells that can avoid forks. The arguments
400# must be portable across $(()) and expr.
401if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
402  eval 'as_fn_arith ()
403  {
404    as_val=$(( $* ))
405  }'
406else
407  as_fn_arith ()
408  {
409    as_val=`expr "$@" || test $? -eq 1`
410  }
411fi # as_fn_arith
412
413
414# as_fn_error STATUS ERROR [LINENO LOG_FD]
415# ----------------------------------------
416# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418# script with STATUS, using 1 if that was 0.
419as_fn_error ()
420{
421  as_status=$1; test $as_status -eq 0 && as_status=1
422  if test "$4"; then
423    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
425  fi
426  $as_echo "$as_me: error: $2" >&2
427  as_fn_exit $as_status
428} # as_fn_error
429
430if expr a : '\(a\)' >/dev/null 2>&1 &&
431   test "X`expr 00001 : '.*\(...\)'`" = X001; then
432  as_expr=expr
433else
434  as_expr=false
435fi
436
437if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
438  as_basename=basename
439else
440  as_basename=false
441fi
442
443if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
444  as_dirname=dirname
445else
446  as_dirname=false
447fi
448
449as_me=`$as_basename -- "$0" ||
450$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451	 X"$0" : 'X\(//\)$' \| \
452	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
453$as_echo X/"$0" |
454    sed '/^.*\/\([^/][^/]*\)\/*$/{
455	    s//\1/
456	    q
457	  }
458	  /^X\/\(\/\/\)$/{
459	    s//\1/
460	    q
461	  }
462	  /^X\/\(\/\).*/{
463	    s//\1/
464	    q
465	  }
466	  s/.*/./; q'`
467
468# Avoid depending upon Character Ranges.
469as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472as_cr_digits='0123456789'
473as_cr_alnum=$as_cr_Letters$as_cr_digits
474
475
476  as_lineno_1=$LINENO as_lineno_1a=$LINENO
477  as_lineno_2=$LINENO as_lineno_2a=$LINENO
478  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
481  sed -n '
482    p
483    /[$]LINENO/=
484  ' <$as_myself |
485    sed '
486      s/[$]LINENO.*/&-/
487      t lineno
488      b
489      :lineno
490      N
491      :loop
492      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493      t loop
494      s/-\n.*//
495    ' >$as_me.lineno &&
496  chmod +x "$as_me.lineno" ||
497    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
498
499  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500  # already done that, so ensure we don't try to do so again and fall
501  # in an infinite loop.  This has already happened in practice.
502  _as_can_reexec=no; export _as_can_reexec
503  # Don't try to exec as it changes $[0], causing all sort of problems
504  # (the dirname of $[0] is not the place where we might find the
505  # original and so on.  Autoconf is especially sensitive to this).
506  . "./$as_me.lineno"
507  # Exit status is that of the last command.
508  exit
509}
510
511ECHO_C= ECHO_N= ECHO_T=
512case `echo -n x` in #(((((
513-n*)
514  case `echo 'xy\c'` in
515  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
516  xy)  ECHO_C='\c';;
517  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
518       ECHO_T='	';;
519  esac;;
520*)
521  ECHO_N='-n';;
522esac
523
524rm -f conf$$ conf$$.exe conf$$.file
525if test -d conf$$.dir; then
526  rm -f conf$$.dir/conf$$.file
527else
528  rm -f conf$$.dir
529  mkdir conf$$.dir 2>/dev/null
530fi
531if (echo >conf$$.file) 2>/dev/null; then
532  if ln -s conf$$.file conf$$ 2>/dev/null; then
533    as_ln_s='ln -s'
534    # ... but there are two gotchas:
535    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537    # In both cases, we have to default to `cp -pR'.
538    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
539      as_ln_s='cp -pR'
540  elif ln conf$$.file conf$$ 2>/dev/null; then
541    as_ln_s=ln
542  else
543    as_ln_s='cp -pR'
544  fi
545else
546  as_ln_s='cp -pR'
547fi
548rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549rmdir conf$$.dir 2>/dev/null
550
551if mkdir -p . 2>/dev/null; then
552  as_mkdir_p='mkdir -p "$as_dir"'
553else
554  test -d ./-p && rmdir ./-p
555  as_mkdir_p=false
556fi
557
558as_test_x='test -x'
559as_executable_p=as_fn_executable_p
560
561# Sed expression to map a string onto a valid CPP name.
562as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
563
564# Sed expression to map a string onto a valid variable name.
565as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
566
567SHELL=${CONFIG_SHELL-/bin/sh}
568
569
570test -n "$DJDIR" || exec 7<&0 </dev/null
571exec 6>&1
572
573# Name of the host.
574# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575# so uname gets run too.
576ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
577
578#
579# Initializations.
580#
581ac_default_prefix=/usr/local
582ac_clean_files=
583ac_config_libobj_dir=.
584LIBOBJS=
585cross_compiling=no
586subdirs=
587MFLAGS=
588MAKEFLAGS=
589
590# Identity of this package.
591PACKAGE_NAME='zeromq'
592PACKAGE_TARNAME='ZeroMQInterface'
593PACKAGE_VERSION='package'
594PACKAGE_STRING='zeromq package'
595PACKAGE_BUGREPORT='https://github.com/gap-packages/zeromq/issues'
596PACKAGE_URL='https://gap-packages.github.io/ZeroMQInterface/'
597
598ac_unique_file="src/zmqgap.c"
599# Factoring default headers for most tests.
600ac_includes_default="\
601#include <stdio.h>
602#ifdef HAVE_SYS_TYPES_H
603# include <sys/types.h>
604#endif
605#ifdef HAVE_SYS_STAT_H
606# include <sys/stat.h>
607#endif
608#ifdef STDC_HEADERS
609# include <stdlib.h>
610# include <stddef.h>
611#else
612# ifdef HAVE_STDLIB_H
613#  include <stdlib.h>
614# endif
615#endif
616#ifdef HAVE_STRING_H
617# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618#  include <memory.h>
619# endif
620# include <string.h>
621#endif
622#ifdef HAVE_STRINGS_H
623# include <strings.h>
624#endif
625#ifdef HAVE_INTTYPES_H
626# include <inttypes.h>
627#endif
628#ifdef HAVE_STDINT_H
629# include <stdint.h>
630#endif
631#ifdef HAVE_UNISTD_H
632# include <unistd.h>
633#endif"
634
635ac_subst_vars='am__EXEEXT_FALSE
636am__EXEEXT_TRUE
637LTLIBOBJS
638LIBOBJS
639SYS_IS_CYGWIN_FALSE
640SYS_IS_CYGWIN_TRUE
641ZMQ_LIBS
642ZMQ_CPPFLAGS
643ZMQ_LDFLAGS
644GAP_LIBS
645GAP_LDFLAGS
646GAP_CFLAGS
647GAP_CPPFLAGS
648GAPROOT
649GAPARCH
650CPP
651LT_SYS_LIBRARY_PATH
652OTOOL64
653OTOOL
654LIPO
655NMEDIT
656DSYMUTIL
657MANIFEST_TOOL
658RANLIB
659LN_S
660NM
661ac_ct_DUMPBIN
662DUMPBIN
663LD
664FGREP
665EGREP
666GREP
667SED
668LIBTOOL
669OBJDUMP
670DLLTOOL
671AS
672am__fastdepCC_FALSE
673am__fastdepCC_TRUE
674CCDEPMODE
675am__nodep
676AMDEPBACKSLASH
677AMDEP_FALSE
678AMDEP_TRUE
679am__quote
680am__include
681DEPDIR
682OBJEXT
683EXEEXT
684ac_ct_CC
685CPPFLAGS
686LDFLAGS
687CFLAGS
688CC
689ac_ct_AR
690AR
691MAINT
692MAINTAINER_MODE_FALSE
693MAINTAINER_MODE_TRUE
694AM_BACKSLASH
695AM_DEFAULT_VERBOSITY
696AM_DEFAULT_V
697AM_V
698am__untar
699am__tar
700AMTAR
701am__leading_dot
702SET_MAKE
703AWK
704mkdir_p
705MKDIR_P
706INSTALL_STRIP_PROGRAM
707STRIP
708install_sh
709MAKEINFO
710AUTOHEADER
711AUTOMAKE
712AUTOCONF
713ACLOCAL
714VERSION
715PACKAGE
716CYGPATH_W
717am__isrc
718INSTALL_DATA
719INSTALL_SCRIPT
720INSTALL_PROGRAM
721host_os
722host_vendor
723host_cpu
724host
725build_os
726build_vendor
727build_cpu
728build
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
748localstatedir
749sharedstatedir
750sysconfdir
751datadir
752datarootdir
753libexecdir
754sbindir
755bindir
756program_transform_name
757prefix
758exec_prefix
759PACKAGE_URL
760PACKAGE_BUGREPORT
761PACKAGE_STRING
762PACKAGE_VERSION
763PACKAGE_TARNAME
764PACKAGE_NAME
765PATH_SEPARATOR
766SHELL'
767ac_subst_files=''
768ac_user_opts='
769enable_option_checking
770enable_silent_rules
771enable_maintainer_mode
772enable_dependency_tracking
773enable_static
774enable_shared
775with_pic
776enable_fast_install
777with_aix_soname
778with_gnu_ld
779with_sysroot
780enable_libtool_lock
781with_gaproot
782with_zmq
783'
784      ac_precious_vars='build_alias
785host_alias
786target_alias
787CC
788CFLAGS
789LDFLAGS
790LIBS
791CPPFLAGS
792LT_SYS_LIBRARY_PATH
793CPP'
794
795
796# Initialize some variables set by options.
797ac_init_help=
798ac_init_version=false
799ac_unrecognized_opts=
800ac_unrecognized_sep=
801# The variables have the same names as the options, with
802# dashes changed to underlines.
803cache_file=/dev/null
804exec_prefix=NONE
805no_create=
806no_recursion=
807prefix=NONE
808program_prefix=NONE
809program_suffix=NONE
810program_transform_name=s,x,x,
811silent=
812site=
813srcdir=
814verbose=
815x_includes=NONE
816x_libraries=NONE
817
818# Installation directory options.
819# These are left unexpanded so users can "make install exec_prefix=/foo"
820# and all the variables that are supposed to be based on exec_prefix
821# by default will actually change.
822# Use braces instead of parens because sh, perl, etc. also accept them.
823# (The list follows the same order as the GNU Coding Standards.)
824bindir='${exec_prefix}/bin'
825sbindir='${exec_prefix}/sbin'
826libexecdir='${exec_prefix}/libexec'
827datarootdir='${prefix}/share'
828datadir='${datarootdir}'
829sysconfdir='${prefix}/etc'
830sharedstatedir='${prefix}/com'
831localstatedir='${prefix}/var'
832includedir='${prefix}/include'
833oldincludedir='/usr/include'
834docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835infodir='${datarootdir}/info'
836htmldir='${docdir}'
837dvidir='${docdir}'
838pdfdir='${docdir}'
839psdir='${docdir}'
840libdir='${exec_prefix}/lib'
841localedir='${datarootdir}/locale'
842mandir='${datarootdir}/man'
843
844ac_prev=
845ac_dashdash=
846for ac_option
847do
848  # If the previous option needs an argument, assign it.
849  if test -n "$ac_prev"; then
850    eval $ac_prev=\$ac_option
851    ac_prev=
852    continue
853  fi
854
855  case $ac_option in
856  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857  *=)   ac_optarg= ;;
858  *)    ac_optarg=yes ;;
859  esac
860
861  # Accept the important Cygnus configure options, so we can diagnose typos.
862
863  case $ac_dashdash$ac_option in
864  --)
865    ac_dashdash=yes ;;
866
867  -bindir | --bindir | --bindi | --bind | --bin | --bi)
868    ac_prev=bindir ;;
869  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
870    bindir=$ac_optarg ;;
871
872  -build | --build | --buil | --bui | --bu)
873    ac_prev=build_alias ;;
874  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
875    build_alias=$ac_optarg ;;
876
877  -cache-file | --cache-file | --cache-fil | --cache-fi \
878  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
879    ac_prev=cache_file ;;
880  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
881  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
882    cache_file=$ac_optarg ;;
883
884  --config-cache | -C)
885    cache_file=config.cache ;;
886
887  -datadir | --datadir | --datadi | --datad)
888    ac_prev=datadir ;;
889  -datadir=* | --datadir=* | --datadi=* | --datad=*)
890    datadir=$ac_optarg ;;
891
892  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
893  | --dataroo | --dataro | --datar)
894    ac_prev=datarootdir ;;
895  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
896  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
897    datarootdir=$ac_optarg ;;
898
899  -disable-* | --disable-*)
900    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
901    # Reject names that are not valid shell variable names.
902    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
903      as_fn_error $? "invalid feature name: $ac_useropt"
904    ac_useropt_orig=$ac_useropt
905    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
906    case $ac_user_opts in
907      *"
908"enable_$ac_useropt"
909"*) ;;
910      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
911	 ac_unrecognized_sep=', ';;
912    esac
913    eval enable_$ac_useropt=no ;;
914
915  -docdir | --docdir | --docdi | --doc | --do)
916    ac_prev=docdir ;;
917  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
918    docdir=$ac_optarg ;;
919
920  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
921    ac_prev=dvidir ;;
922  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
923    dvidir=$ac_optarg ;;
924
925  -enable-* | --enable-*)
926    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
927    # Reject names that are not valid shell variable names.
928    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
929      as_fn_error $? "invalid feature name: $ac_useropt"
930    ac_useropt_orig=$ac_useropt
931    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
932    case $ac_user_opts in
933      *"
934"enable_$ac_useropt"
935"*) ;;
936      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
937	 ac_unrecognized_sep=', ';;
938    esac
939    eval enable_$ac_useropt=\$ac_optarg ;;
940
941  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
942  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
943  | --exec | --exe | --ex)
944    ac_prev=exec_prefix ;;
945  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
946  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
947  | --exec=* | --exe=* | --ex=*)
948    exec_prefix=$ac_optarg ;;
949
950  -gas | --gas | --ga | --g)
951    # Obsolete; use --with-gas.
952    with_gas=yes ;;
953
954  -help | --help | --hel | --he | -h)
955    ac_init_help=long ;;
956  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
957    ac_init_help=recursive ;;
958  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
959    ac_init_help=short ;;
960
961  -host | --host | --hos | --ho)
962    ac_prev=host_alias ;;
963  -host=* | --host=* | --hos=* | --ho=*)
964    host_alias=$ac_optarg ;;
965
966  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
967    ac_prev=htmldir ;;
968  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
969  | --ht=*)
970    htmldir=$ac_optarg ;;
971
972  -includedir | --includedir | --includedi | --included | --include \
973  | --includ | --inclu | --incl | --inc)
974    ac_prev=includedir ;;
975  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
976  | --includ=* | --inclu=* | --incl=* | --inc=*)
977    includedir=$ac_optarg ;;
978
979  -infodir | --infodir | --infodi | --infod | --info | --inf)
980    ac_prev=infodir ;;
981  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
982    infodir=$ac_optarg ;;
983
984  -libdir | --libdir | --libdi | --libd)
985    ac_prev=libdir ;;
986  -libdir=* | --libdir=* | --libdi=* | --libd=*)
987    libdir=$ac_optarg ;;
988
989  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
990  | --libexe | --libex | --libe)
991    ac_prev=libexecdir ;;
992  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
993  | --libexe=* | --libex=* | --libe=*)
994    libexecdir=$ac_optarg ;;
995
996  -localedir | --localedir | --localedi | --localed | --locale)
997    ac_prev=localedir ;;
998  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
999    localedir=$ac_optarg ;;
1000
1001  -localstatedir | --localstatedir | --localstatedi | --localstated \
1002  | --localstate | --localstat | --localsta | --localst | --locals)
1003    ac_prev=localstatedir ;;
1004  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1005  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1006    localstatedir=$ac_optarg ;;
1007
1008  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1009    ac_prev=mandir ;;
1010  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1011    mandir=$ac_optarg ;;
1012
1013  -nfp | --nfp | --nf)
1014    # Obsolete; use --without-fp.
1015    with_fp=no ;;
1016
1017  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1018  | --no-cr | --no-c | -n)
1019    no_create=yes ;;
1020
1021  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1022  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1023    no_recursion=yes ;;
1024
1025  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1026  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1027  | --oldin | --oldi | --old | --ol | --o)
1028    ac_prev=oldincludedir ;;
1029  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1030  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1031  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1032    oldincludedir=$ac_optarg ;;
1033
1034  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1035    ac_prev=prefix ;;
1036  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1037    prefix=$ac_optarg ;;
1038
1039  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1040  | --program-pre | --program-pr | --program-p)
1041    ac_prev=program_prefix ;;
1042  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1043  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1044    program_prefix=$ac_optarg ;;
1045
1046  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1047  | --program-suf | --program-su | --program-s)
1048    ac_prev=program_suffix ;;
1049  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1050  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1051    program_suffix=$ac_optarg ;;
1052
1053  -program-transform-name | --program-transform-name \
1054  | --program-transform-nam | --program-transform-na \
1055  | --program-transform-n | --program-transform- \
1056  | --program-transform | --program-transfor \
1057  | --program-transfo | --program-transf \
1058  | --program-trans | --program-tran \
1059  | --progr-tra | --program-tr | --program-t)
1060    ac_prev=program_transform_name ;;
1061  -program-transform-name=* | --program-transform-name=* \
1062  | --program-transform-nam=* | --program-transform-na=* \
1063  | --program-transform-n=* | --program-transform-=* \
1064  | --program-transform=* | --program-transfor=* \
1065  | --program-transfo=* | --program-transf=* \
1066  | --program-trans=* | --program-tran=* \
1067  | --progr-tra=* | --program-tr=* | --program-t=*)
1068    program_transform_name=$ac_optarg ;;
1069
1070  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1071    ac_prev=pdfdir ;;
1072  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1073    pdfdir=$ac_optarg ;;
1074
1075  -psdir | --psdir | --psdi | --psd | --ps)
1076    ac_prev=psdir ;;
1077  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1078    psdir=$ac_optarg ;;
1079
1080  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1081  | -silent | --silent | --silen | --sile | --sil)
1082    silent=yes ;;
1083
1084  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1085    ac_prev=sbindir ;;
1086  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1087  | --sbi=* | --sb=*)
1088    sbindir=$ac_optarg ;;
1089
1090  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1091  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1092  | --sharedst | --shareds | --shared | --share | --shar \
1093  | --sha | --sh)
1094    ac_prev=sharedstatedir ;;
1095  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1096  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1097  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1098  | --sha=* | --sh=*)
1099    sharedstatedir=$ac_optarg ;;
1100
1101  -site | --site | --sit)
1102    ac_prev=site ;;
1103  -site=* | --site=* | --sit=*)
1104    site=$ac_optarg ;;
1105
1106  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1107    ac_prev=srcdir ;;
1108  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1109    srcdir=$ac_optarg ;;
1110
1111  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1112  | --syscon | --sysco | --sysc | --sys | --sy)
1113    ac_prev=sysconfdir ;;
1114  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1115  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1116    sysconfdir=$ac_optarg ;;
1117
1118  -target | --target | --targe | --targ | --tar | --ta | --t)
1119    ac_prev=target_alias ;;
1120  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1121    target_alias=$ac_optarg ;;
1122
1123  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1124    verbose=yes ;;
1125
1126  -version | --version | --versio | --versi | --vers | -V)
1127    ac_init_version=: ;;
1128
1129  -with-* | --with-*)
1130    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1131    # Reject names that are not valid shell variable names.
1132    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1133      as_fn_error $? "invalid package name: $ac_useropt"
1134    ac_useropt_orig=$ac_useropt
1135    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1136    case $ac_user_opts in
1137      *"
1138"with_$ac_useropt"
1139"*) ;;
1140      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1141	 ac_unrecognized_sep=', ';;
1142    esac
1143    eval with_$ac_useropt=\$ac_optarg ;;
1144
1145  -without-* | --without-*)
1146    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1147    # Reject names that are not valid shell variable names.
1148    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1149      as_fn_error $? "invalid package name: $ac_useropt"
1150    ac_useropt_orig=$ac_useropt
1151    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1152    case $ac_user_opts in
1153      *"
1154"with_$ac_useropt"
1155"*) ;;
1156      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1157	 ac_unrecognized_sep=', ';;
1158    esac
1159    eval with_$ac_useropt=no ;;
1160
1161  --x)
1162    # Obsolete; use --with-x.
1163    with_x=yes ;;
1164
1165  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1166  | --x-incl | --x-inc | --x-in | --x-i)
1167    ac_prev=x_includes ;;
1168  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1169  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1170    x_includes=$ac_optarg ;;
1171
1172  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1173  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1174    ac_prev=x_libraries ;;
1175  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1176  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1177    x_libraries=$ac_optarg ;;
1178
1179  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1180Try \`$0 --help' for more information"
1181    ;;
1182
1183  *=*)
1184    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1185    # Reject names that are not valid shell variable names.
1186    case $ac_envvar in #(
1187      '' | [0-9]* | *[!_$as_cr_alnum]* )
1188      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1189    esac
1190    eval $ac_envvar=\$ac_optarg
1191    export $ac_envvar ;;
1192
1193  *)
1194    # FIXME: should be removed in autoconf 3.0.
1195    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1196    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1197      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1198    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199    ;;
1200
1201  esac
1202done
1203
1204if test -n "$ac_prev"; then
1205  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1206  as_fn_error $? "missing argument to $ac_option"
1207fi
1208
1209if test -n "$ac_unrecognized_opts"; then
1210  case $enable_option_checking in
1211    no) ;;
1212    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1213    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1214  esac
1215fi
1216
1217# Check all directory arguments for consistency.
1218for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1219		datadir sysconfdir sharedstatedir localstatedir includedir \
1220		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1221		libdir localedir mandir
1222do
1223  eval ac_val=\$$ac_var
1224  # Remove trailing slashes.
1225  case $ac_val in
1226    */ )
1227      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1228      eval $ac_var=\$ac_val;;
1229  esac
1230  # Be sure to have absolute directory names.
1231  case $ac_val in
1232    [\\/$]* | ?:[\\/]* )  continue;;
1233    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1234  esac
1235  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1236done
1237
1238# There might be people who depend on the old broken behavior: `$host'
1239# used to hold the argument of --host etc.
1240# FIXME: To remove some day.
1241build=$build_alias
1242host=$host_alias
1243target=$target_alias
1244
1245# FIXME: To remove some day.
1246if test "x$host_alias" != x; then
1247  if test "x$build_alias" = x; then
1248    cross_compiling=maybe
1249  elif test "x$build_alias" != "x$host_alias"; then
1250    cross_compiling=yes
1251  fi
1252fi
1253
1254ac_tool_prefix=
1255test -n "$host_alias" && ac_tool_prefix=$host_alias-
1256
1257test "$silent" = yes && exec 6>/dev/null
1258
1259
1260ac_pwd=`pwd` && test -n "$ac_pwd" &&
1261ac_ls_di=`ls -di .` &&
1262ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1263  as_fn_error $? "working directory cannot be determined"
1264test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1265  as_fn_error $? "pwd does not report name of working directory"
1266
1267
1268# Find the source files, if location was not specified.
1269if test -z "$srcdir"; then
1270  ac_srcdir_defaulted=yes
1271  # Try the directory containing this script, then the parent directory.
1272  ac_confdir=`$as_dirname -- "$as_myself" ||
1273$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1274	 X"$as_myself" : 'X\(//\)[^/]' \| \
1275	 X"$as_myself" : 'X\(//\)$' \| \
1276	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1277$as_echo X"$as_myself" |
1278    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1279	    s//\1/
1280	    q
1281	  }
1282	  /^X\(\/\/\)[^/].*/{
1283	    s//\1/
1284	    q
1285	  }
1286	  /^X\(\/\/\)$/{
1287	    s//\1/
1288	    q
1289	  }
1290	  /^X\(\/\).*/{
1291	    s//\1/
1292	    q
1293	  }
1294	  s/.*/./; q'`
1295  srcdir=$ac_confdir
1296  if test ! -r "$srcdir/$ac_unique_file"; then
1297    srcdir=..
1298  fi
1299else
1300  ac_srcdir_defaulted=no
1301fi
1302if test ! -r "$srcdir/$ac_unique_file"; then
1303  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1304  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1305fi
1306ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1307ac_abs_confdir=`(
1308	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1309	pwd)`
1310# When building in place, set srcdir=.
1311if test "$ac_abs_confdir" = "$ac_pwd"; then
1312  srcdir=.
1313fi
1314# Remove unnecessary trailing slashes from srcdir.
1315# Double slashes in file names in object file debugging info
1316# mess up M-x gdb in Emacs.
1317case $srcdir in
1318*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1319esac
1320for ac_var in $ac_precious_vars; do
1321  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1322  eval ac_env_${ac_var}_value=\$${ac_var}
1323  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1324  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1325done
1326
1327#
1328# Report the --help message.
1329#
1330if test "$ac_init_help" = "long"; then
1331  # Omit some internal or obsolete options to make the list less imposing.
1332  # This message is too long to be a string in the A/UX 3.1 sh.
1333  cat <<_ACEOF
1334\`configure' configures zeromq package to adapt to many kinds of systems.
1335
1336Usage: $0 [OPTION]... [VAR=VALUE]...
1337
1338To assign environment variables (e.g., CC, CFLAGS...), specify them as
1339VAR=VALUE.  See below for descriptions of some of the useful variables.
1340
1341Defaults for the options are specified in brackets.
1342
1343Configuration:
1344  -h, --help              display this help and exit
1345      --help=short        display options specific to this package
1346      --help=recursive    display the short help of all the included packages
1347  -V, --version           display version information and exit
1348  -q, --quiet, --silent   do not print \`checking ...' messages
1349      --cache-file=FILE   cache test results in FILE [disabled]
1350  -C, --config-cache      alias for \`--cache-file=config.cache'
1351  -n, --no-create         do not create output files
1352      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1353
1354Installation directories:
1355  --prefix=PREFIX         install architecture-independent files in PREFIX
1356                          [$ac_default_prefix]
1357  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1358                          [PREFIX]
1359
1360By default, \`make install' will install all the files in
1361\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1362an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1363for instance \`--prefix=\$HOME'.
1364
1365For better control, use the options below.
1366
1367Fine tuning of the installation directories:
1368  --bindir=DIR            user executables [EPREFIX/bin]
1369  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1370  --libexecdir=DIR        program executables [EPREFIX/libexec]
1371  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1372  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1373  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1374  --libdir=DIR            object code libraries [EPREFIX/lib]
1375  --includedir=DIR        C header files [PREFIX/include]
1376  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1377  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1378  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1379  --infodir=DIR           info documentation [DATAROOTDIR/info]
1380  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1381  --mandir=DIR            man documentation [DATAROOTDIR/man]
1382  --docdir=DIR            documentation root [DATAROOTDIR/doc/ZeroMQInterface]
1383  --htmldir=DIR           html documentation [DOCDIR]
1384  --dvidir=DIR            dvi documentation [DOCDIR]
1385  --pdfdir=DIR            pdf documentation [DOCDIR]
1386  --psdir=DIR             ps documentation [DOCDIR]
1387_ACEOF
1388
1389  cat <<\_ACEOF
1390
1391Program names:
1392  --program-prefix=PREFIX            prepend PREFIX to installed program names
1393  --program-suffix=SUFFIX            append SUFFIX to installed program names
1394  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1395
1396System types:
1397  --build=BUILD     configure for building on BUILD [guessed]
1398  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1399_ACEOF
1400fi
1401
1402if test -n "$ac_init_help"; then
1403  case $ac_init_help in
1404     short | recursive ) echo "Configuration of zeromq package:";;
1405   esac
1406  cat <<\_ACEOF
1407
1408Optional Features:
1409  --disable-option-checking  ignore unrecognized --enable/--with options
1410  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1411  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1412  --enable-silent-rules   less verbose build output (undo: "make V=1")
1413  --disable-silent-rules  verbose build output (undo: "make V=0")
1414  --disable-maintainer-mode
1415                          disable make rules and dependencies not useful (and
1416                          sometimes confusing) to the casual installer
1417  --enable-dependency-tracking
1418                          do not reject slow dependency extractors
1419  --disable-dependency-tracking
1420                          speeds up one-time build
1421  --enable-static[=PKGS]  build static libraries [default=no]
1422  --enable-shared[=PKGS]  build shared libraries [default=yes]
1423  --enable-fast-install[=PKGS]
1424                          optimize for fast installation [default=yes]
1425  --disable-libtool-lock  avoid locking (might break parallel builds)
1426
1427Optional Packages:
1428  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1429  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1430  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1431                          both]
1432  --with-aix-soname=aix|svr4|both
1433                          shared library versioning (aka "SONAME") variant to
1434                          provide on AIX, [default=aix].
1435  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1436  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1437                          compiler's sysroot if not specified).
1438  --with-gaproot=<path>   specify root of GAP installation
1439  --with-zmq=<prefix>     ZMQ prefix directory
1440
1441Some influential environment variables:
1442  CC          C compiler command
1443  CFLAGS      C compiler flags
1444  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1445              nonstandard directory <lib dir>
1446  LIBS        libraries to pass to the linker, e.g. -l<library>
1447  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1448              you have headers in a nonstandard directory <include dir>
1449  LT_SYS_LIBRARY_PATH
1450              User-defined run-time library search path.
1451  CPP         C preprocessor
1452
1453Use these variables to override the choices made by `configure' or to help
1454it to find libraries and programs with nonstandard names/locations.
1455
1456Report bugs to <https://github.com/gap-packages/zeromq/issues>.
1457zeromq home page: <https://gap-packages.github.io/ZeroMQInterface/>.
1458_ACEOF
1459ac_status=$?
1460fi
1461
1462if test "$ac_init_help" = "recursive"; then
1463  # If there are subdirs, report their specific --help.
1464  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1465    test -d "$ac_dir" ||
1466      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467      continue
1468    ac_builddir=.
1469
1470case "$ac_dir" in
1471.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1472*)
1473  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1474  # A ".." for each directory in $ac_dir_suffix.
1475  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1476  case $ac_top_builddir_sub in
1477  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1478  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1479  esac ;;
1480esac
1481ac_abs_top_builddir=$ac_pwd
1482ac_abs_builddir=$ac_pwd$ac_dir_suffix
1483# for backward compatibility:
1484ac_top_builddir=$ac_top_build_prefix
1485
1486case $srcdir in
1487  .)  # We are building in place.
1488    ac_srcdir=.
1489    ac_top_srcdir=$ac_top_builddir_sub
1490    ac_abs_top_srcdir=$ac_pwd ;;
1491  [\\/]* | ?:[\\/]* )  # Absolute name.
1492    ac_srcdir=$srcdir$ac_dir_suffix;
1493    ac_top_srcdir=$srcdir
1494    ac_abs_top_srcdir=$srcdir ;;
1495  *) # Relative name.
1496    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1497    ac_top_srcdir=$ac_top_build_prefix$srcdir
1498    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1499esac
1500ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1501
1502    cd "$ac_dir" || { ac_status=$?; continue; }
1503    # Check for guested configure.
1504    if test -f "$ac_srcdir/configure.gnu"; then
1505      echo &&
1506      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1507    elif test -f "$ac_srcdir/configure"; then
1508      echo &&
1509      $SHELL "$ac_srcdir/configure" --help=recursive
1510    else
1511      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1512    fi || ac_status=$?
1513    cd "$ac_pwd" || { ac_status=$?; break; }
1514  done
1515fi
1516
1517test -n "$ac_init_help" && exit $ac_status
1518if $ac_init_version; then
1519  cat <<\_ACEOF
1520zeromq configure package
1521generated by GNU Autoconf 2.69
1522
1523Copyright (C) 2012 Free Software Foundation, Inc.
1524This configure script is free software; the Free Software Foundation
1525gives unlimited permission to copy, distribute and modify it.
1526_ACEOF
1527  exit
1528fi
1529
1530## ------------------------ ##
1531## Autoconf initialization. ##
1532## ------------------------ ##
1533
1534# ac_fn_c_try_compile LINENO
1535# --------------------------
1536# Try to compile conftest.$ac_ext, and return whether this succeeded.
1537ac_fn_c_try_compile ()
1538{
1539  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1540  rm -f conftest.$ac_objext
1541  if { { ac_try="$ac_compile"
1542case "(($ac_try" in
1543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1544  *) ac_try_echo=$ac_try;;
1545esac
1546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1547$as_echo "$ac_try_echo"; } >&5
1548  (eval "$ac_compile") 2>conftest.err
1549  ac_status=$?
1550  if test -s conftest.err; then
1551    grep -v '^ *+' conftest.err >conftest.er1
1552    cat conftest.er1 >&5
1553    mv -f conftest.er1 conftest.err
1554  fi
1555  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1556  test $ac_status = 0; } && {
1557	 test -z "$ac_c_werror_flag" ||
1558	 test ! -s conftest.err
1559       } && test -s conftest.$ac_objext; then :
1560  ac_retval=0
1561else
1562  $as_echo "$as_me: failed program was:" >&5
1563sed 's/^/| /' conftest.$ac_ext >&5
1564
1565	ac_retval=1
1566fi
1567  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1568  as_fn_set_status $ac_retval
1569
1570} # ac_fn_c_try_compile
1571
1572# ac_fn_c_try_link LINENO
1573# -----------------------
1574# Try to link conftest.$ac_ext, and return whether this succeeded.
1575ac_fn_c_try_link ()
1576{
1577  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578  rm -f conftest.$ac_objext conftest$ac_exeext
1579  if { { ac_try="$ac_link"
1580case "(($ac_try" in
1581  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1582  *) ac_try_echo=$ac_try;;
1583esac
1584eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1585$as_echo "$ac_try_echo"; } >&5
1586  (eval "$ac_link") 2>conftest.err
1587  ac_status=$?
1588  if test -s conftest.err; then
1589    grep -v '^ *+' conftest.err >conftest.er1
1590    cat conftest.er1 >&5
1591    mv -f conftest.er1 conftest.err
1592  fi
1593  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1594  test $ac_status = 0; } && {
1595	 test -z "$ac_c_werror_flag" ||
1596	 test ! -s conftest.err
1597       } && test -s conftest$ac_exeext && {
1598	 test "$cross_compiling" = yes ||
1599	 test -x conftest$ac_exeext
1600       }; 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  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1609  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1610  # interfere with the next link command; also delete a directory that is
1611  # left behind by Apple's compiler.  We do this before executing the actions.
1612  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1613  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1614  as_fn_set_status $ac_retval
1615
1616} # ac_fn_c_try_link
1617
1618# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1619# -------------------------------------------------------
1620# Tests whether HEADER exists and can be compiled using the include files in
1621# INCLUDES, setting the cache variable VAR accordingly.
1622ac_fn_c_check_header_compile ()
1623{
1624  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1625  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1626$as_echo_n "checking for $2... " >&6; }
1627if eval \${$3+:} false; then :
1628  $as_echo_n "(cached) " >&6
1629else
1630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631/* end confdefs.h.  */
1632$4
1633#include <$2>
1634_ACEOF
1635if ac_fn_c_try_compile "$LINENO"; then :
1636  eval "$3=yes"
1637else
1638  eval "$3=no"
1639fi
1640rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1641fi
1642eval ac_res=\$$3
1643	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1644$as_echo "$ac_res" >&6; }
1645  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1646
1647} # ac_fn_c_check_header_compile
1648
1649# ac_fn_c_try_cpp LINENO
1650# ----------------------
1651# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1652ac_fn_c_try_cpp ()
1653{
1654  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655  if { { ac_try="$ac_cpp conftest.$ac_ext"
1656case "(($ac_try" in
1657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658  *) ac_try_echo=$ac_try;;
1659esac
1660eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661$as_echo "$ac_try_echo"; } >&5
1662  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1663  ac_status=$?
1664  if test -s conftest.err; then
1665    grep -v '^ *+' conftest.err >conftest.er1
1666    cat conftest.er1 >&5
1667    mv -f conftest.er1 conftest.err
1668  fi
1669  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670  test $ac_status = 0; } > conftest.i && {
1671	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1672	 test ! -s conftest.err
1673       }; then :
1674  ac_retval=0
1675else
1676  $as_echo "$as_me: failed program was:" >&5
1677sed 's/^/| /' conftest.$ac_ext >&5
1678
1679    ac_retval=1
1680fi
1681  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682  as_fn_set_status $ac_retval
1683
1684} # ac_fn_c_try_cpp
1685
1686# ac_fn_c_try_run LINENO
1687# ----------------------
1688# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1689# that executables *can* be run.
1690ac_fn_c_try_run ()
1691{
1692  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1693  if { { ac_try="$ac_link"
1694case "(($ac_try" in
1695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1696  *) ac_try_echo=$ac_try;;
1697esac
1698eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699$as_echo "$ac_try_echo"; } >&5
1700  (eval "$ac_link") 2>&5
1701  ac_status=$?
1702  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1703  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1704  { { case "(($ac_try" in
1705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1706  *) ac_try_echo=$ac_try;;
1707esac
1708eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1709$as_echo "$ac_try_echo"; } >&5
1710  (eval "$ac_try") 2>&5
1711  ac_status=$?
1712  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713  test $ac_status = 0; }; }; then :
1714  ac_retval=0
1715else
1716  $as_echo "$as_me: program exited with status $ac_status" >&5
1717       $as_echo "$as_me: failed program was:" >&5
1718sed 's/^/| /' conftest.$ac_ext >&5
1719
1720       ac_retval=$ac_status
1721fi
1722  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1723  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1724  as_fn_set_status $ac_retval
1725
1726} # ac_fn_c_try_run
1727
1728# ac_fn_c_check_func LINENO FUNC VAR
1729# ----------------------------------
1730# Tests whether FUNC exists, setting the cache variable VAR accordingly
1731ac_fn_c_check_func ()
1732{
1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1734  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735$as_echo_n "checking for $2... " >&6; }
1736if eval \${$3+:} false; then :
1737  $as_echo_n "(cached) " >&6
1738else
1739  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740/* end confdefs.h.  */
1741/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1742   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1743#define $2 innocuous_$2
1744
1745/* System header to define __stub macros and hopefully few prototypes,
1746    which can conflict with char $2 (); below.
1747    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1748    <limits.h> exists even on freestanding compilers.  */
1749
1750#ifdef __STDC__
1751# include <limits.h>
1752#else
1753# include <assert.h>
1754#endif
1755
1756#undef $2
1757
1758/* Override any GCC internal prototype to avoid an error.
1759   Use char because int might match the return type of a GCC
1760   builtin and then its argument prototype would still apply.  */
1761#ifdef __cplusplus
1762extern "C"
1763#endif
1764char $2 ();
1765/* The GNU C library defines this for functions which it implements
1766    to always fail with ENOSYS.  Some functions are actually named
1767    something starting with __ and the normal name is an alias.  */
1768#if defined __stub_$2 || defined __stub___$2
1769choke me
1770#endif
1771
1772int
1773main ()
1774{
1775return $2 ();
1776  ;
1777  return 0;
1778}
1779_ACEOF
1780if ac_fn_c_try_link "$LINENO"; then :
1781  eval "$3=yes"
1782else
1783  eval "$3=no"
1784fi
1785rm -f core conftest.err conftest.$ac_objext \
1786    conftest$ac_exeext conftest.$ac_ext
1787fi
1788eval ac_res=\$$3
1789	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1790$as_echo "$ac_res" >&6; }
1791  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1792
1793} # ac_fn_c_check_func
1794
1795# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1796# -------------------------------------------------------
1797# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1798# the include files in INCLUDES and setting the cache variable VAR
1799# accordingly.
1800ac_fn_c_check_header_mongrel ()
1801{
1802  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803  if eval \${$3+:} false; then :
1804  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805$as_echo_n "checking for $2... " >&6; }
1806if eval \${$3+:} false; then :
1807  $as_echo_n "(cached) " >&6
1808fi
1809eval ac_res=\$$3
1810	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1811$as_echo "$ac_res" >&6; }
1812else
1813  # Is the header compilable?
1814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1815$as_echo_n "checking $2 usability... " >&6; }
1816cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817/* end confdefs.h.  */
1818$4
1819#include <$2>
1820_ACEOF
1821if ac_fn_c_try_compile "$LINENO"; then :
1822  ac_header_compiler=yes
1823else
1824  ac_header_compiler=no
1825fi
1826rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1828$as_echo "$ac_header_compiler" >&6; }
1829
1830# Is the header present?
1831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1832$as_echo_n "checking $2 presence... " >&6; }
1833cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834/* end confdefs.h.  */
1835#include <$2>
1836_ACEOF
1837if ac_fn_c_try_cpp "$LINENO"; then :
1838  ac_header_preproc=yes
1839else
1840  ac_header_preproc=no
1841fi
1842rm -f conftest.err conftest.i conftest.$ac_ext
1843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1844$as_echo "$ac_header_preproc" >&6; }
1845
1846# So?  What about this header?
1847case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1848  yes:no: )
1849    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1850$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1852$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1853    ;;
1854  no:yes:* )
1855    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1856$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1857    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1858$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1859    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1860$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1861    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1862$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1863    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1864$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1865( $as_echo "## ------------------------------------------------------------ ##
1866## Report this to https://github.com/gap-packages/zeromq/issues ##
1867## ------------------------------------------------------------ ##"
1868     ) | sed "s/^/$as_me: WARNING:     /" >&2
1869    ;;
1870esac
1871  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872$as_echo_n "checking for $2... " >&6; }
1873if eval \${$3+:} false; then :
1874  $as_echo_n "(cached) " >&6
1875else
1876  eval "$3=\$ac_header_compiler"
1877fi
1878eval ac_res=\$$3
1879	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1880$as_echo "$ac_res" >&6; }
1881fi
1882  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883
1884} # ac_fn_c_check_header_mongrel
1885cat >config.log <<_ACEOF
1886This file contains any messages produced by compilers while
1887running configure, to aid debugging if configure makes a mistake.
1888
1889It was created by zeromq $as_me package, which was
1890generated by GNU Autoconf 2.69.  Invocation command line was
1891
1892  $ $0 $@
1893
1894_ACEOF
1895exec 5>>config.log
1896{
1897cat <<_ASUNAME
1898## --------- ##
1899## Platform. ##
1900## --------- ##
1901
1902hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1903uname -m = `(uname -m) 2>/dev/null || echo unknown`
1904uname -r = `(uname -r) 2>/dev/null || echo unknown`
1905uname -s = `(uname -s) 2>/dev/null || echo unknown`
1906uname -v = `(uname -v) 2>/dev/null || echo unknown`
1907
1908/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1909/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1910
1911/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1912/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1913/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1914/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1915/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1916/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1917/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1918
1919_ASUNAME
1920
1921as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1922for as_dir in $PATH
1923do
1924  IFS=$as_save_IFS
1925  test -z "$as_dir" && as_dir=.
1926    $as_echo "PATH: $as_dir"
1927  done
1928IFS=$as_save_IFS
1929
1930} >&5
1931
1932cat >&5 <<_ACEOF
1933
1934
1935## ----------- ##
1936## Core tests. ##
1937## ----------- ##
1938
1939_ACEOF
1940
1941
1942# Keep a trace of the command line.
1943# Strip out --no-create and --no-recursion so they do not pile up.
1944# Strip out --silent because we don't want to record it for future runs.
1945# Also quote any args containing shell meta-characters.
1946# Make two passes to allow for proper duplicate-argument suppression.
1947ac_configure_args=
1948ac_configure_args0=
1949ac_configure_args1=
1950ac_must_keep_next=false
1951for ac_pass in 1 2
1952do
1953  for ac_arg
1954  do
1955    case $ac_arg in
1956    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1957    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1958    | -silent | --silent | --silen | --sile | --sil)
1959      continue ;;
1960    *\'*)
1961      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1962    esac
1963    case $ac_pass in
1964    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1965    2)
1966      as_fn_append ac_configure_args1 " '$ac_arg'"
1967      if test $ac_must_keep_next = true; then
1968	ac_must_keep_next=false # Got value, back to normal.
1969      else
1970	case $ac_arg in
1971	  *=* | --config-cache | -C | -disable-* | --disable-* \
1972	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1973	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1974	  | -with-* | --with-* | -without-* | --without-* | --x)
1975	    case "$ac_configure_args0 " in
1976	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1977	    esac
1978	    ;;
1979	  -* ) ac_must_keep_next=true ;;
1980	esac
1981      fi
1982      as_fn_append ac_configure_args " '$ac_arg'"
1983      ;;
1984    esac
1985  done
1986done
1987{ ac_configure_args0=; unset ac_configure_args0;}
1988{ ac_configure_args1=; unset ac_configure_args1;}
1989
1990# When interrupted or exit'd, cleanup temporary files, and complete
1991# config.log.  We remove comments because anyway the quotes in there
1992# would cause problems or look ugly.
1993# WARNING: Use '\'' to represent an apostrophe within the trap.
1994# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1995trap 'exit_status=$?
1996  # Save into config.log some information that might help in debugging.
1997  {
1998    echo
1999
2000    $as_echo "## ---------------- ##
2001## Cache variables. ##
2002## ---------------- ##"
2003    echo
2004    # The following way of writing the cache mishandles newlines in values,
2005(
2006  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2007    eval ac_val=\$$ac_var
2008    case $ac_val in #(
2009    *${as_nl}*)
2010      case $ac_var in #(
2011      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2012$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2013      esac
2014      case $ac_var in #(
2015      _ | IFS | as_nl) ;; #(
2016      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2017      *) { eval $ac_var=; unset $ac_var;} ;;
2018      esac ;;
2019    esac
2020  done
2021  (set) 2>&1 |
2022    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2023    *${as_nl}ac_space=\ *)
2024      sed -n \
2025	"s/'\''/'\''\\\\'\'''\''/g;
2026	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2027      ;; #(
2028    *)
2029      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2030      ;;
2031    esac |
2032    sort
2033)
2034    echo
2035
2036    $as_echo "## ----------------- ##
2037## Output variables. ##
2038## ----------------- ##"
2039    echo
2040    for ac_var in $ac_subst_vars
2041    do
2042      eval ac_val=\$$ac_var
2043      case $ac_val in
2044      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2045      esac
2046      $as_echo "$ac_var='\''$ac_val'\''"
2047    done | sort
2048    echo
2049
2050    if test -n "$ac_subst_files"; then
2051      $as_echo "## ------------------- ##
2052## File substitutions. ##
2053## ------------------- ##"
2054      echo
2055      for ac_var in $ac_subst_files
2056      do
2057	eval ac_val=\$$ac_var
2058	case $ac_val in
2059	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2060	esac
2061	$as_echo "$ac_var='\''$ac_val'\''"
2062      done | sort
2063      echo
2064    fi
2065
2066    if test -s confdefs.h; then
2067      $as_echo "## ----------- ##
2068## confdefs.h. ##
2069## ----------- ##"
2070      echo
2071      cat confdefs.h
2072      echo
2073    fi
2074    test "$ac_signal" != 0 &&
2075      $as_echo "$as_me: caught signal $ac_signal"
2076    $as_echo "$as_me: exit $exit_status"
2077  } >&5
2078  rm -f core *.core core.conftest.* &&
2079    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2080    exit $exit_status
2081' 0
2082for ac_signal in 1 2 13 15; do
2083  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2084done
2085ac_signal=0
2086
2087# confdefs.h avoids OS command line length limits that DEFS can exceed.
2088rm -f -r conftest* confdefs.h
2089
2090$as_echo "/* confdefs.h */" > confdefs.h
2091
2092# Predefined preprocessor variables.
2093
2094cat >>confdefs.h <<_ACEOF
2095#define PACKAGE_NAME "$PACKAGE_NAME"
2096_ACEOF
2097
2098cat >>confdefs.h <<_ACEOF
2099#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2100_ACEOF
2101
2102cat >>confdefs.h <<_ACEOF
2103#define PACKAGE_VERSION "$PACKAGE_VERSION"
2104_ACEOF
2105
2106cat >>confdefs.h <<_ACEOF
2107#define PACKAGE_STRING "$PACKAGE_STRING"
2108_ACEOF
2109
2110cat >>confdefs.h <<_ACEOF
2111#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2112_ACEOF
2113
2114cat >>confdefs.h <<_ACEOF
2115#define PACKAGE_URL "$PACKAGE_URL"
2116_ACEOF
2117
2118
2119# Let the site file select an alternate cache file if it wants to.
2120# Prefer an explicitly selected file to automatically selected ones.
2121ac_site_file1=NONE
2122ac_site_file2=NONE
2123if test -n "$CONFIG_SITE"; then
2124  # We do not want a PATH search for config.site.
2125  case $CONFIG_SITE in #((
2126    -*)  ac_site_file1=./$CONFIG_SITE;;
2127    */*) ac_site_file1=$CONFIG_SITE;;
2128    *)   ac_site_file1=./$CONFIG_SITE;;
2129  esac
2130elif test "x$prefix" != xNONE; then
2131  ac_site_file1=$prefix/share/config.site
2132  ac_site_file2=$prefix/etc/config.site
2133else
2134  ac_site_file1=$ac_default_prefix/share/config.site
2135  ac_site_file2=$ac_default_prefix/etc/config.site
2136fi
2137for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2138do
2139  test "x$ac_site_file" = xNONE && continue
2140  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2141    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2142$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2143    sed 's/^/| /' "$ac_site_file" >&5
2144    . "$ac_site_file" \
2145      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2146$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2147as_fn_error $? "failed to load site script $ac_site_file
2148See \`config.log' for more details" "$LINENO" 5; }
2149  fi
2150done
2151
2152if test -r "$cache_file"; then
2153  # Some versions of bash will fail to source /dev/null (special files
2154  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2155  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2156    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2157$as_echo "$as_me: loading cache $cache_file" >&6;}
2158    case $cache_file in
2159      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2160      *)                      . "./$cache_file";;
2161    esac
2162  fi
2163else
2164  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2165$as_echo "$as_me: creating cache $cache_file" >&6;}
2166  >$cache_file
2167fi
2168
2169# Check that the precious variables saved in the cache have kept the same
2170# value.
2171ac_cache_corrupted=false
2172for ac_var in $ac_precious_vars; do
2173  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2174  eval ac_new_set=\$ac_env_${ac_var}_set
2175  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2176  eval ac_new_val=\$ac_env_${ac_var}_value
2177  case $ac_old_set,$ac_new_set in
2178    set,)
2179      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2180$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2181      ac_cache_corrupted=: ;;
2182    ,set)
2183      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2184$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2185      ac_cache_corrupted=: ;;
2186    ,);;
2187    *)
2188      if test "x$ac_old_val" != "x$ac_new_val"; then
2189	# differences in whitespace do not lead to failure.
2190	ac_old_val_w=`echo x $ac_old_val`
2191	ac_new_val_w=`echo x $ac_new_val`
2192	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2193	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2194$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2195	  ac_cache_corrupted=:
2196	else
2197	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2198$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2199	  eval $ac_var=\$ac_old_val
2200	fi
2201	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2202$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2203	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2204$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2205      fi;;
2206  esac
2207  # Pass precious variables to config.status.
2208  if test "$ac_new_set" = set; then
2209    case $ac_new_val in
2210    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2211    *) ac_arg=$ac_var=$ac_new_val ;;
2212    esac
2213    case " $ac_configure_args " in
2214      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2215      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2216    esac
2217  fi
2218done
2219if $ac_cache_corrupted; then
2220  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2221$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2222  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2223$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2224  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2225fi
2226## -------------------- ##
2227## Main body of script. ##
2228## -------------------- ##
2229
2230ac_ext=c
2231ac_cpp='$CPP $CPPFLAGS'
2232ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2233ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2234ac_compiler_gnu=$ac_cv_c_compiler_gnu
2235
2236
2237
2238ac_config_headers="$ac_config_headers src/pkgconfig.h:cnf/pkgconfig.h.in"
2239
2240
2241ac_aux_dir=
2242for ac_dir in cnf "$srcdir"/cnf; do
2243  if test -f "$ac_dir/install-sh"; then
2244    ac_aux_dir=$ac_dir
2245    ac_install_sh="$ac_aux_dir/install-sh -c"
2246    break
2247  elif test -f "$ac_dir/install.sh"; then
2248    ac_aux_dir=$ac_dir
2249    ac_install_sh="$ac_aux_dir/install.sh -c"
2250    break
2251  elif test -f "$ac_dir/shtool"; then
2252    ac_aux_dir=$ac_dir
2253    ac_install_sh="$ac_aux_dir/shtool install -c"
2254    break
2255  fi
2256done
2257if test -z "$ac_aux_dir"; then
2258  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cnf \"$srcdir\"/cnf" "$LINENO" 5
2259fi
2260
2261# These three variables are undocumented and unsupported,
2262# and are intended to be withdrawn in a future Autoconf release.
2263# They can cause serious problems if a builder's source tree is in a directory
2264# whose full name contains unusual characters.
2265ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2266ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2267ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2268
2269
2270
2271# Make sure we can run config.sub.
2272$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2273  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2274
2275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2276$as_echo_n "checking build system type... " >&6; }
2277if ${ac_cv_build+:} false; then :
2278  $as_echo_n "(cached) " >&6
2279else
2280  ac_build_alias=$build_alias
2281test "x$ac_build_alias" = x &&
2282  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2283test "x$ac_build_alias" = x &&
2284  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2285ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2286  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2287
2288fi
2289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2290$as_echo "$ac_cv_build" >&6; }
2291case $ac_cv_build in
2292*-*-*) ;;
2293*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2294esac
2295build=$ac_cv_build
2296ac_save_IFS=$IFS; IFS='-'
2297set x $ac_cv_build
2298shift
2299build_cpu=$1
2300build_vendor=$2
2301shift; shift
2302# Remember, the first character of IFS is used to create $*,
2303# except with old shells:
2304build_os=$*
2305IFS=$ac_save_IFS
2306case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2307
2308
2309{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2310$as_echo_n "checking host system type... " >&6; }
2311if ${ac_cv_host+:} false; then :
2312  $as_echo_n "(cached) " >&6
2313else
2314  if test "x$host_alias" = x; then
2315  ac_cv_host=$ac_cv_build
2316else
2317  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2318    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2319fi
2320
2321fi
2322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2323$as_echo "$ac_cv_host" >&6; }
2324case $ac_cv_host in
2325*-*-*) ;;
2326*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2327esac
2328host=$ac_cv_host
2329ac_save_IFS=$IFS; IFS='-'
2330set x $ac_cv_host
2331shift
2332host_cpu=$1
2333host_vendor=$2
2334shift; shift
2335# Remember, the first character of IFS is used to create $*,
2336# except with old shells:
2337host_os=$*
2338IFS=$ac_save_IFS
2339case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2340
2341
2342
2343am__api_version='1.15'
2344
2345# Find a good install program.  We prefer a C program (faster),
2346# so one script is as good as another.  But avoid the broken or
2347# incompatible versions:
2348# SysV /etc/install, /usr/sbin/install
2349# SunOS /usr/etc/install
2350# IRIX /sbin/install
2351# AIX /bin/install
2352# AmigaOS /C/install, which installs bootblocks on floppy discs
2353# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2354# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2355# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2356# OS/2's system install, which has a completely different semantic
2357# ./install, which can be erroneously created by make from ./install.sh.
2358# Reject install programs that cannot install multiple files.
2359{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2360$as_echo_n "checking for a BSD-compatible install... " >&6; }
2361if test -z "$INSTALL"; then
2362if ${ac_cv_path_install+:} false; then :
2363  $as_echo_n "(cached) " >&6
2364else
2365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2366for as_dir in $PATH
2367do
2368  IFS=$as_save_IFS
2369  test -z "$as_dir" && as_dir=.
2370    # Account for people who put trailing slashes in PATH elements.
2371case $as_dir/ in #((
2372  ./ | .// | /[cC]/* | \
2373  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2374  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2375  /usr/ucb/* ) ;;
2376  *)
2377    # OSF1 and SCO ODT 3.0 have their own names for install.
2378    # Don't use installbsd from OSF since it installs stuff as root
2379    # by default.
2380    for ac_prog in ginstall scoinst install; do
2381      for ac_exec_ext in '' $ac_executable_extensions; do
2382	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2383	  if test $ac_prog = install &&
2384	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2385	    # AIX install.  It has an incompatible calling convention.
2386	    :
2387	  elif test $ac_prog = install &&
2388	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2389	    # program-specific install script used by HP pwplus--don't use.
2390	    :
2391	  else
2392	    rm -rf conftest.one conftest.two conftest.dir
2393	    echo one > conftest.one
2394	    echo two > conftest.two
2395	    mkdir conftest.dir
2396	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2397	      test -s conftest.one && test -s conftest.two &&
2398	      test -s conftest.dir/conftest.one &&
2399	      test -s conftest.dir/conftest.two
2400	    then
2401	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2402	      break 3
2403	    fi
2404	  fi
2405	fi
2406      done
2407    done
2408    ;;
2409esac
2410
2411  done
2412IFS=$as_save_IFS
2413
2414rm -rf conftest.one conftest.two conftest.dir
2415
2416fi
2417  if test "${ac_cv_path_install+set}" = set; then
2418    INSTALL=$ac_cv_path_install
2419  else
2420    # As a last resort, use the slow shell script.  Don't cache a
2421    # value for INSTALL within a source directory, because that will
2422    # break other packages using the cache if that directory is
2423    # removed, or if the value is a relative name.
2424    INSTALL=$ac_install_sh
2425  fi
2426fi
2427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2428$as_echo "$INSTALL" >&6; }
2429
2430# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2431# It thinks the first close brace ends the variable substitution.
2432test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2433
2434test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2435
2436test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2437
2438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2439$as_echo_n "checking whether build environment is sane... " >&6; }
2440# Reject unsafe characters in $srcdir or the absolute working directory
2441# name.  Accept space and tab only in the latter.
2442am_lf='
2443'
2444case `pwd` in
2445  *[\\\"\#\$\&\'\`$am_lf]*)
2446    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2447esac
2448case $srcdir in
2449  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2450    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2451esac
2452
2453# Do 'set' in a subshell so we don't clobber the current shell's
2454# arguments.  Must try -L first in case configure is actually a
2455# symlink; some systems play weird games with the mod time of symlinks
2456# (eg FreeBSD returns the mod time of the symlink's containing
2457# directory).
2458if (
2459   am_has_slept=no
2460   for am_try in 1 2; do
2461     echo "timestamp, slept: $am_has_slept" > conftest.file
2462     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2463     if test "$*" = "X"; then
2464	# -L didn't work.
2465	set X `ls -t "$srcdir/configure" conftest.file`
2466     fi
2467     if test "$*" != "X $srcdir/configure conftest.file" \
2468	&& test "$*" != "X conftest.file $srcdir/configure"; then
2469
2470	# If neither matched, then we have a broken ls.  This can happen
2471	# if, for instance, CONFIG_SHELL is bash and it inherits a
2472	# broken ls alias from the environment.  This has actually
2473	# happened.  Such a system could not be considered "sane".
2474	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2475  alias in your environment" "$LINENO" 5
2476     fi
2477     if test "$2" = conftest.file || test $am_try -eq 2; then
2478       break
2479     fi
2480     # Just in case.
2481     sleep 1
2482     am_has_slept=yes
2483   done
2484   test "$2" = conftest.file
2485   )
2486then
2487   # Ok.
2488   :
2489else
2490   as_fn_error $? "newly created file is older than distributed files!
2491Check your system clock" "$LINENO" 5
2492fi
2493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2494$as_echo "yes" >&6; }
2495# If we didn't sleep, we still need to ensure time stamps of config.status and
2496# generated files are strictly newer.
2497am_sleep_pid=
2498if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2499  ( sleep 1 ) &
2500  am_sleep_pid=$!
2501fi
2502
2503rm -f conftest.file
2504
2505test "$program_prefix" != NONE &&
2506  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2507# Use a double $ so make ignores it.
2508test "$program_suffix" != NONE &&
2509  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2510# Double any \ or $.
2511# By default was `s,x,x', remove it if useless.
2512ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2513program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2514
2515# Expand $ac_aux_dir to an absolute path.
2516am_aux_dir=`cd "$ac_aux_dir" && pwd`
2517
2518if test x"${MISSING+set}" != xset; then
2519  case $am_aux_dir in
2520  *\ * | *\	*)
2521    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2522  *)
2523    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2524  esac
2525fi
2526# Use eval to expand $SHELL
2527if eval "$MISSING --is-lightweight"; then
2528  am_missing_run="$MISSING "
2529else
2530  am_missing_run=
2531  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2532$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2533fi
2534
2535if test x"${install_sh+set}" != xset; then
2536  case $am_aux_dir in
2537  *\ * | *\	*)
2538    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2539  *)
2540    install_sh="\${SHELL} $am_aux_dir/install-sh"
2541  esac
2542fi
2543
2544# Installed binaries are usually stripped using 'strip' when the user
2545# run "make install-strip".  However 'strip' might not be the right
2546# tool to use in cross-compilation environments, therefore Automake
2547# will honor the 'STRIP' environment variable to overrule this program.
2548if test "$cross_compiling" != no; then
2549  if test -n "$ac_tool_prefix"; then
2550  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2551set dummy ${ac_tool_prefix}strip; ac_word=$2
2552{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2553$as_echo_n "checking for $ac_word... " >&6; }
2554if ${ac_cv_prog_STRIP+:} false; then :
2555  $as_echo_n "(cached) " >&6
2556else
2557  if test -n "$STRIP"; then
2558  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2559else
2560as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2561for as_dir in $PATH
2562do
2563  IFS=$as_save_IFS
2564  test -z "$as_dir" && as_dir=.
2565    for ac_exec_ext in '' $ac_executable_extensions; do
2566  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2567    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2568    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2569    break 2
2570  fi
2571done
2572  done
2573IFS=$as_save_IFS
2574
2575fi
2576fi
2577STRIP=$ac_cv_prog_STRIP
2578if test -n "$STRIP"; then
2579  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2580$as_echo "$STRIP" >&6; }
2581else
2582  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2583$as_echo "no" >&6; }
2584fi
2585
2586
2587fi
2588if test -z "$ac_cv_prog_STRIP"; then
2589  ac_ct_STRIP=$STRIP
2590  # Extract the first word of "strip", so it can be a program name with args.
2591set dummy strip; ac_word=$2
2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2593$as_echo_n "checking for $ac_word... " >&6; }
2594if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2595  $as_echo_n "(cached) " >&6
2596else
2597  if test -n "$ac_ct_STRIP"; then
2598  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2599else
2600as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2601for as_dir in $PATH
2602do
2603  IFS=$as_save_IFS
2604  test -z "$as_dir" && as_dir=.
2605    for ac_exec_ext in '' $ac_executable_extensions; do
2606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2607    ac_cv_prog_ac_ct_STRIP="strip"
2608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2609    break 2
2610  fi
2611done
2612  done
2613IFS=$as_save_IFS
2614
2615fi
2616fi
2617ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2618if test -n "$ac_ct_STRIP"; then
2619  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2620$as_echo "$ac_ct_STRIP" >&6; }
2621else
2622  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2623$as_echo "no" >&6; }
2624fi
2625
2626  if test "x$ac_ct_STRIP" = x; then
2627    STRIP=":"
2628  else
2629    case $cross_compiling:$ac_tool_warned in
2630yes:)
2631{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2632$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2633ac_tool_warned=yes ;;
2634esac
2635    STRIP=$ac_ct_STRIP
2636  fi
2637else
2638  STRIP="$ac_cv_prog_STRIP"
2639fi
2640
2641fi
2642INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2643
2644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2645$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2646if test -z "$MKDIR_P"; then
2647  if ${ac_cv_path_mkdir+:} false; then :
2648  $as_echo_n "(cached) " >&6
2649else
2650  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2652do
2653  IFS=$as_save_IFS
2654  test -z "$as_dir" && as_dir=.
2655    for ac_prog in mkdir gmkdir; do
2656	 for ac_exec_ext in '' $ac_executable_extensions; do
2657	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2658	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2659	     'mkdir (GNU coreutils) '* | \
2660	     'mkdir (coreutils) '* | \
2661	     'mkdir (fileutils) '4.1*)
2662	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2663	       break 3;;
2664	   esac
2665	 done
2666       done
2667  done
2668IFS=$as_save_IFS
2669
2670fi
2671
2672  test -d ./--version && rmdir ./--version
2673  if test "${ac_cv_path_mkdir+set}" = set; then
2674    MKDIR_P="$ac_cv_path_mkdir -p"
2675  else
2676    # As a last resort, use the slow shell script.  Don't cache a
2677    # value for MKDIR_P within a source directory, because that will
2678    # break other packages using the cache if that directory is
2679    # removed, or if the value is a relative name.
2680    MKDIR_P="$ac_install_sh -d"
2681  fi
2682fi
2683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2684$as_echo "$MKDIR_P" >&6; }
2685
2686for ac_prog in gawk mawk nawk awk
2687do
2688  # Extract the first word of "$ac_prog", so it can be a program name with args.
2689set dummy $ac_prog; ac_word=$2
2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2691$as_echo_n "checking for $ac_word... " >&6; }
2692if ${ac_cv_prog_AWK+:} false; then :
2693  $as_echo_n "(cached) " >&6
2694else
2695  if test -n "$AWK"; then
2696  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2697else
2698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699for as_dir in $PATH
2700do
2701  IFS=$as_save_IFS
2702  test -z "$as_dir" && as_dir=.
2703    for ac_exec_ext in '' $ac_executable_extensions; do
2704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2705    ac_cv_prog_AWK="$ac_prog"
2706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2707    break 2
2708  fi
2709done
2710  done
2711IFS=$as_save_IFS
2712
2713fi
2714fi
2715AWK=$ac_cv_prog_AWK
2716if test -n "$AWK"; then
2717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2718$as_echo "$AWK" >&6; }
2719else
2720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721$as_echo "no" >&6; }
2722fi
2723
2724
2725  test -n "$AWK" && break
2726done
2727
2728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2729$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2730set x ${MAKE-make}
2731ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2732if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2733  $as_echo_n "(cached) " >&6
2734else
2735  cat >conftest.make <<\_ACEOF
2736SHELL = /bin/sh
2737all:
2738	@echo '@@@%%%=$(MAKE)=@@@%%%'
2739_ACEOF
2740# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2741case `${MAKE-make} -f conftest.make 2>/dev/null` in
2742  *@@@%%%=?*=@@@%%%*)
2743    eval ac_cv_prog_make_${ac_make}_set=yes;;
2744  *)
2745    eval ac_cv_prog_make_${ac_make}_set=no;;
2746esac
2747rm -f conftest.make
2748fi
2749if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2751$as_echo "yes" >&6; }
2752  SET_MAKE=
2753else
2754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2755$as_echo "no" >&6; }
2756  SET_MAKE="MAKE=${MAKE-make}"
2757fi
2758
2759rm -rf .tst 2>/dev/null
2760mkdir .tst 2>/dev/null
2761if test -d .tst; then
2762  am__leading_dot=.
2763else
2764  am__leading_dot=_
2765fi
2766rmdir .tst 2>/dev/null
2767
2768# Check whether --enable-silent-rules was given.
2769if test "${enable_silent_rules+set}" = set; then :
2770  enableval=$enable_silent_rules;
2771fi
2772
2773case $enable_silent_rules in # (((
2774  yes) AM_DEFAULT_VERBOSITY=0;;
2775   no) AM_DEFAULT_VERBOSITY=1;;
2776    *) AM_DEFAULT_VERBOSITY=1;;
2777esac
2778am_make=${MAKE-make}
2779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2780$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2781if ${am_cv_make_support_nested_variables+:} false; then :
2782  $as_echo_n "(cached) " >&6
2783else
2784  if $as_echo 'TRUE=$(BAR$(V))
2785BAR0=false
2786BAR1=true
2787V=1
2788am__doit:
2789	@$(TRUE)
2790.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2791  am_cv_make_support_nested_variables=yes
2792else
2793  am_cv_make_support_nested_variables=no
2794fi
2795fi
2796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2797$as_echo "$am_cv_make_support_nested_variables" >&6; }
2798if test $am_cv_make_support_nested_variables = yes; then
2799    AM_V='$(V)'
2800  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2801else
2802  AM_V=$AM_DEFAULT_VERBOSITY
2803  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2804fi
2805AM_BACKSLASH='\'
2806
2807if test "`cd $srcdir && pwd`" != "`pwd`"; then
2808  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2809  # is not polluted with repeated "-I."
2810  am__isrc=' -I$(srcdir)'
2811  # test to see if srcdir already configured
2812  if test -f $srcdir/config.status; then
2813    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2814  fi
2815fi
2816
2817# test whether we have cygpath
2818if test -z "$CYGPATH_W"; then
2819  if (cygpath --version) >/dev/null 2>/dev/null; then
2820    CYGPATH_W='cygpath -w'
2821  else
2822    CYGPATH_W=echo
2823  fi
2824fi
2825
2826
2827# Define the identity of the package.
2828 PACKAGE='ZeroMQInterface'
2829 VERSION='package'
2830
2831
2832cat >>confdefs.h <<_ACEOF
2833#define PACKAGE "$PACKAGE"
2834_ACEOF
2835
2836
2837cat >>confdefs.h <<_ACEOF
2838#define VERSION "$VERSION"
2839_ACEOF
2840
2841# Some tools Automake needs.
2842
2843ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2844
2845
2846AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2847
2848
2849AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2850
2851
2852AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2853
2854
2855MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2856
2857# For better backward compatibility.  To be removed once Automake 1.9.x
2858# dies out for good.  For more background, see:
2859# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2860# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2861mkdir_p='$(MKDIR_P)'
2862
2863# We need awk for the "check" target (and possibly the TAP driver).  The
2864# system "awk" is bad on some platforms.
2865# Always define AMTAR for backward compatibility.  Yes, it's still used
2866# in the wild :-(  We should find a proper way to deprecate it ...
2867AMTAR='$${TAR-tar}'
2868
2869
2870# We'll loop over all known methods to create a tar archive until one works.
2871_am_tools='gnutar  pax cpio none'
2872
2873am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2874
2875
2876
2877
2878
2879
2880# POSIX will say in a future version that running "rm -f" with no argument
2881# is OK; and we want to be able to make that assumption in our Makefile
2882# recipes.  So use an aggressive probe to check that the usage we want is
2883# actually supported "in the wild" to an acceptable degree.
2884# See automake bug#10828.
2885# To make any issue more visible, cause the running configure to be aborted
2886# by default if the 'rm' program in use doesn't match our expectations; the
2887# user can still override this though.
2888if rm -f && rm -fr && rm -rf; then : OK; else
2889  cat >&2 <<'END'
2890Oops!
2891
2892Your 'rm' program seems unable to run without file operands specified
2893on the command line, even when the '-f' option is present.  This is contrary
2894to the behaviour of most rm programs out there, and not conforming with
2895the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2896
2897Please tell bug-automake@gnu.org about your system, including the value
2898of your $PATH and any error possibly output before this message.  This
2899can help us improve future automake versions.
2900
2901END
2902  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2903    echo 'Configuration will proceed anyway, since you have set the' >&2
2904    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2905    echo >&2
2906  else
2907    cat >&2 <<'END'
2908Aborting the configuration process, to ensure you take notice of the issue.
2909
2910You can download and install GNU coreutils to get an 'rm' implementation
2911that behaves properly: <http://www.gnu.org/software/coreutils/>.
2912
2913If you want to complete the configuration process using your problematic
2914'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2915to "yes", and re-run configure.
2916
2917END
2918    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2919  fi
2920fi
2921
2922# Check whether --enable-silent-rules was given.
2923if test "${enable_silent_rules+set}" = set; then :
2924  enableval=$enable_silent_rules;
2925fi
2926
2927case $enable_silent_rules in # (((
2928  yes) AM_DEFAULT_VERBOSITY=0;;
2929   no) AM_DEFAULT_VERBOSITY=1;;
2930    *) AM_DEFAULT_VERBOSITY=0;;
2931esac
2932am_make=${MAKE-make}
2933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2934$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2935if ${am_cv_make_support_nested_variables+:} false; then :
2936  $as_echo_n "(cached) " >&6
2937else
2938  if $as_echo 'TRUE=$(BAR$(V))
2939BAR0=false
2940BAR1=true
2941V=1
2942am__doit:
2943	@$(TRUE)
2944.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2945  am_cv_make_support_nested_variables=yes
2946else
2947  am_cv_make_support_nested_variables=no
2948fi
2949fi
2950{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2951$as_echo "$am_cv_make_support_nested_variables" >&6; }
2952if test $am_cv_make_support_nested_variables = yes; then
2953    AM_V='$(V)'
2954  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2955else
2956  AM_V=$AM_DEFAULT_VERBOSITY
2957  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2958fi
2959AM_BACKSLASH='\'
2960
2961
2962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2963$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2964    # Check whether --enable-maintainer-mode was given.
2965if test "${enable_maintainer_mode+set}" = set; then :
2966  enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2967else
2968  USE_MAINTAINER_MODE=yes
2969fi
2970
2971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2972$as_echo "$USE_MAINTAINER_MODE" >&6; }
2973   if test $USE_MAINTAINER_MODE = yes; then
2974  MAINTAINER_MODE_TRUE=
2975  MAINTAINER_MODE_FALSE='#'
2976else
2977  MAINTAINER_MODE_TRUE='#'
2978  MAINTAINER_MODE_FALSE=
2979fi
2980
2981  MAINT=$MAINTAINER_MODE_TRUE
2982
2983
2984DEPDIR="${am__leading_dot}deps"
2985
2986ac_config_commands="$ac_config_commands depfiles"
2987
2988
2989am_make=${MAKE-make}
2990cat > confinc << 'END'
2991am__doit:
2992	@echo this is the am__doit target
2993.PHONY: am__doit
2994END
2995# If we don't find an include directive, just comment out the code.
2996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2997$as_echo_n "checking for style of include used by $am_make... " >&6; }
2998am__include="#"
2999am__quote=
3000_am_result=none
3001# First try GNU make style include.
3002echo "include confinc" > confmf
3003# Ignore all kinds of additional output from 'make'.
3004case `$am_make -s -f confmf 2> /dev/null` in #(
3005*the\ am__doit\ target*)
3006  am__include=include
3007  am__quote=
3008  _am_result=GNU
3009  ;;
3010esac
3011# Now try BSD make style include.
3012if test "$am__include" = "#"; then
3013   echo '.include "confinc"' > confmf
3014   case `$am_make -s -f confmf 2> /dev/null` in #(
3015   *the\ am__doit\ target*)
3016     am__include=.include
3017     am__quote="\""
3018     _am_result=BSD
3019     ;;
3020   esac
3021fi
3022
3023
3024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3025$as_echo "$_am_result" >&6; }
3026rm -f confinc confmf
3027
3028# Check whether --enable-dependency-tracking was given.
3029if test "${enable_dependency_tracking+set}" = set; then :
3030  enableval=$enable_dependency_tracking;
3031fi
3032
3033if test "x$enable_dependency_tracking" != xno; then
3034  am_depcomp="$ac_aux_dir/depcomp"
3035  AMDEPBACKSLASH='\'
3036  am__nodep='_no'
3037fi
3038 if test "x$enable_dependency_tracking" != xno; then
3039  AMDEP_TRUE=
3040  AMDEP_FALSE='#'
3041else
3042  AMDEP_TRUE='#'
3043  AMDEP_FALSE=
3044fi
3045
3046
3047ac_ext=c
3048ac_cpp='$CPP $CPPFLAGS'
3049ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3050ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3051ac_compiler_gnu=$ac_cv_c_compiler_gnu
3052if test -n "$ac_tool_prefix"; then
3053  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3054set dummy ${ac_tool_prefix}gcc; ac_word=$2
3055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3056$as_echo_n "checking for $ac_word... " >&6; }
3057if ${ac_cv_prog_CC+:} false; then :
3058  $as_echo_n "(cached) " >&6
3059else
3060  if test -n "$CC"; then
3061  ac_cv_prog_CC="$CC" # Let the user override the test.
3062else
3063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3064for as_dir in $PATH
3065do
3066  IFS=$as_save_IFS
3067  test -z "$as_dir" && as_dir=.
3068    for ac_exec_ext in '' $ac_executable_extensions; do
3069  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3070    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3071    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3072    break 2
3073  fi
3074done
3075  done
3076IFS=$as_save_IFS
3077
3078fi
3079fi
3080CC=$ac_cv_prog_CC
3081if test -n "$CC"; then
3082  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083$as_echo "$CC" >&6; }
3084else
3085  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086$as_echo "no" >&6; }
3087fi
3088
3089
3090fi
3091if test -z "$ac_cv_prog_CC"; then
3092  ac_ct_CC=$CC
3093  # Extract the first word of "gcc", so it can be a program name with args.
3094set dummy gcc; ac_word=$2
3095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096$as_echo_n "checking for $ac_word... " >&6; }
3097if ${ac_cv_prog_ac_ct_CC+:} false; then :
3098  $as_echo_n "(cached) " >&6
3099else
3100  if test -n "$ac_ct_CC"; then
3101  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3102else
3103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104for as_dir in $PATH
3105do
3106  IFS=$as_save_IFS
3107  test -z "$as_dir" && as_dir=.
3108    for ac_exec_ext in '' $ac_executable_extensions; do
3109  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3110    ac_cv_prog_ac_ct_CC="gcc"
3111    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112    break 2
3113  fi
3114done
3115  done
3116IFS=$as_save_IFS
3117
3118fi
3119fi
3120ac_ct_CC=$ac_cv_prog_ac_ct_CC
3121if test -n "$ac_ct_CC"; then
3122  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3123$as_echo "$ac_ct_CC" >&6; }
3124else
3125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126$as_echo "no" >&6; }
3127fi
3128
3129  if test "x$ac_ct_CC" = x; then
3130    CC=""
3131  else
3132    case $cross_compiling:$ac_tool_warned in
3133yes:)
3134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3136ac_tool_warned=yes ;;
3137esac
3138    CC=$ac_ct_CC
3139  fi
3140else
3141  CC="$ac_cv_prog_CC"
3142fi
3143
3144if test -z "$CC"; then
3145          if test -n "$ac_tool_prefix"; then
3146    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3147set dummy ${ac_tool_prefix}cc; ac_word=$2
3148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3149$as_echo_n "checking for $ac_word... " >&6; }
3150if ${ac_cv_prog_CC+:} false; then :
3151  $as_echo_n "(cached) " >&6
3152else
3153  if test -n "$CC"; then
3154  ac_cv_prog_CC="$CC" # Let the user override the test.
3155else
3156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157for as_dir in $PATH
3158do
3159  IFS=$as_save_IFS
3160  test -z "$as_dir" && as_dir=.
3161    for ac_exec_ext in '' $ac_executable_extensions; do
3162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3163    ac_cv_prog_CC="${ac_tool_prefix}cc"
3164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165    break 2
3166  fi
3167done
3168  done
3169IFS=$as_save_IFS
3170
3171fi
3172fi
3173CC=$ac_cv_prog_CC
3174if test -n "$CC"; then
3175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3176$as_echo "$CC" >&6; }
3177else
3178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3179$as_echo "no" >&6; }
3180fi
3181
3182
3183  fi
3184fi
3185if test -z "$CC"; then
3186  # Extract the first word of "cc", so it can be a program name with args.
3187set dummy cc; ac_word=$2
3188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3189$as_echo_n "checking for $ac_word... " >&6; }
3190if ${ac_cv_prog_CC+:} false; then :
3191  $as_echo_n "(cached) " >&6
3192else
3193  if test -n "$CC"; then
3194  ac_cv_prog_CC="$CC" # Let the user override the test.
3195else
3196  ac_prog_rejected=no
3197as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3198for as_dir in $PATH
3199do
3200  IFS=$as_save_IFS
3201  test -z "$as_dir" && as_dir=.
3202    for ac_exec_ext in '' $ac_executable_extensions; do
3203  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3204    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3205       ac_prog_rejected=yes
3206       continue
3207     fi
3208    ac_cv_prog_CC="cc"
3209    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3210    break 2
3211  fi
3212done
3213  done
3214IFS=$as_save_IFS
3215
3216if test $ac_prog_rejected = yes; then
3217  # We found a bogon in the path, so make sure we never use it.
3218  set dummy $ac_cv_prog_CC
3219  shift
3220  if test $# != 0; then
3221    # We chose a different compiler from the bogus one.
3222    # However, it has the same basename, so the bogon will be chosen
3223    # first if we set CC to just the basename; use the full file name.
3224    shift
3225    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3226  fi
3227fi
3228fi
3229fi
3230CC=$ac_cv_prog_CC
3231if test -n "$CC"; then
3232  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3233$as_echo "$CC" >&6; }
3234else
3235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3236$as_echo "no" >&6; }
3237fi
3238
3239
3240fi
3241if test -z "$CC"; then
3242  if test -n "$ac_tool_prefix"; then
3243  for ac_prog in cl.exe
3244  do
3245    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3246set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3248$as_echo_n "checking for $ac_word... " >&6; }
3249if ${ac_cv_prog_CC+:} false; then :
3250  $as_echo_n "(cached) " >&6
3251else
3252  if test -n "$CC"; then
3253  ac_cv_prog_CC="$CC" # Let the user override the test.
3254else
3255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3256for as_dir in $PATH
3257do
3258  IFS=$as_save_IFS
3259  test -z "$as_dir" && as_dir=.
3260    for ac_exec_ext in '' $ac_executable_extensions; do
3261  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3262    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3263    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3264    break 2
3265  fi
3266done
3267  done
3268IFS=$as_save_IFS
3269
3270fi
3271fi
3272CC=$ac_cv_prog_CC
3273if test -n "$CC"; then
3274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3275$as_echo "$CC" >&6; }
3276else
3277  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278$as_echo "no" >&6; }
3279fi
3280
3281
3282    test -n "$CC" && break
3283  done
3284fi
3285if test -z "$CC"; then
3286  ac_ct_CC=$CC
3287  for ac_prog in cl.exe
3288do
3289  # Extract the first word of "$ac_prog", so it can be a program name with args.
3290set dummy $ac_prog; ac_word=$2
3291{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3292$as_echo_n "checking for $ac_word... " >&6; }
3293if ${ac_cv_prog_ac_ct_CC+:} false; then :
3294  $as_echo_n "(cached) " >&6
3295else
3296  if test -n "$ac_ct_CC"; then
3297  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3298else
3299as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3300for as_dir in $PATH
3301do
3302  IFS=$as_save_IFS
3303  test -z "$as_dir" && as_dir=.
3304    for ac_exec_ext in '' $ac_executable_extensions; do
3305  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3306    ac_cv_prog_ac_ct_CC="$ac_prog"
3307    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3308    break 2
3309  fi
3310done
3311  done
3312IFS=$as_save_IFS
3313
3314fi
3315fi
3316ac_ct_CC=$ac_cv_prog_ac_ct_CC
3317if test -n "$ac_ct_CC"; then
3318  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3319$as_echo "$ac_ct_CC" >&6; }
3320else
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3322$as_echo "no" >&6; }
3323fi
3324
3325
3326  test -n "$ac_ct_CC" && break
3327done
3328
3329  if test "x$ac_ct_CC" = x; then
3330    CC=""
3331  else
3332    case $cross_compiling:$ac_tool_warned in
3333yes:)
3334{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3335$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3336ac_tool_warned=yes ;;
3337esac
3338    CC=$ac_ct_CC
3339  fi
3340fi
3341
3342fi
3343
3344
3345test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3346$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3347as_fn_error $? "no acceptable C compiler found in \$PATH
3348See \`config.log' for more details" "$LINENO" 5; }
3349
3350# Provide some information about the compiler.
3351$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3352set X $ac_compile
3353ac_compiler=$2
3354for ac_option in --version -v -V -qversion; do
3355  { { ac_try="$ac_compiler $ac_option >&5"
3356case "(($ac_try" in
3357  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3358  *) ac_try_echo=$ac_try;;
3359esac
3360eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361$as_echo "$ac_try_echo"; } >&5
3362  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3363  ac_status=$?
3364  if test -s conftest.err; then
3365    sed '10a\
3366... rest of stderr output deleted ...
3367         10q' conftest.err >conftest.er1
3368    cat conftest.er1 >&5
3369  fi
3370  rm -f conftest.er1 conftest.err
3371  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3372  test $ac_status = 0; }
3373done
3374
3375cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376/* end confdefs.h.  */
3377
3378int
3379main ()
3380{
3381
3382  ;
3383  return 0;
3384}
3385_ACEOF
3386ac_clean_files_save=$ac_clean_files
3387ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3388# Try to create an executable without -o first, disregard a.out.
3389# It will help us diagnose broken compilers, and finding out an intuition
3390# of exeext.
3391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3392$as_echo_n "checking whether the C compiler works... " >&6; }
3393ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3394
3395# The possible output files:
3396ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3397
3398ac_rmfiles=
3399for ac_file in $ac_files
3400do
3401  case $ac_file in
3402    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3403    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3404  esac
3405done
3406rm -f $ac_rmfiles
3407
3408if { { ac_try="$ac_link_default"
3409case "(($ac_try" in
3410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3411  *) ac_try_echo=$ac_try;;
3412esac
3413eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3414$as_echo "$ac_try_echo"; } >&5
3415  (eval "$ac_link_default") 2>&5
3416  ac_status=$?
3417  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3418  test $ac_status = 0; }; then :
3419  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3420# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3421# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3422# so that the user can short-circuit this test for compilers unknown to
3423# Autoconf.
3424for ac_file in $ac_files ''
3425do
3426  test -f "$ac_file" || continue
3427  case $ac_file in
3428    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3429	;;
3430    [ab].out )
3431	# We found the default executable, but exeext='' is most
3432	# certainly right.
3433	break;;
3434    *.* )
3435	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3436	then :; else
3437	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3438	fi
3439	# We set ac_cv_exeext here because the later test for it is not
3440	# safe: cross compilers may not add the suffix if given an `-o'
3441	# argument, so we may need to know it at that point already.
3442	# Even if this section looks crufty: it has the advantage of
3443	# actually working.
3444	break;;
3445    * )
3446	break;;
3447  esac
3448done
3449test "$ac_cv_exeext" = no && ac_cv_exeext=
3450
3451else
3452  ac_file=''
3453fi
3454if test -z "$ac_file"; then :
3455  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456$as_echo "no" >&6; }
3457$as_echo "$as_me: failed program was:" >&5
3458sed 's/^/| /' conftest.$ac_ext >&5
3459
3460{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3462as_fn_error 77 "C compiler cannot create executables
3463See \`config.log' for more details" "$LINENO" 5; }
3464else
3465  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466$as_echo "yes" >&6; }
3467fi
3468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3469$as_echo_n "checking for C compiler default output file name... " >&6; }
3470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3471$as_echo "$ac_file" >&6; }
3472ac_exeext=$ac_cv_exeext
3473
3474rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3475ac_clean_files=$ac_clean_files_save
3476{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3477$as_echo_n "checking for suffix of executables... " >&6; }
3478if { { ac_try="$ac_link"
3479case "(($ac_try" in
3480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3481  *) ac_try_echo=$ac_try;;
3482esac
3483eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484$as_echo "$ac_try_echo"; } >&5
3485  (eval "$ac_link") 2>&5
3486  ac_status=$?
3487  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488  test $ac_status = 0; }; then :
3489  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3490# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3491# work properly (i.e., refer to `conftest.exe'), while it won't with
3492# `rm'.
3493for ac_file in conftest.exe conftest conftest.*; do
3494  test -f "$ac_file" || continue
3495  case $ac_file in
3496    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3497    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3498	  break;;
3499    * ) break;;
3500  esac
3501done
3502else
3503  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3504$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3505as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3506See \`config.log' for more details" "$LINENO" 5; }
3507fi
3508rm -f conftest conftest$ac_cv_exeext
3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3510$as_echo "$ac_cv_exeext" >&6; }
3511
3512rm -f conftest.$ac_ext
3513EXEEXT=$ac_cv_exeext
3514ac_exeext=$EXEEXT
3515cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3516/* end confdefs.h.  */
3517#include <stdio.h>
3518int
3519main ()
3520{
3521FILE *f = fopen ("conftest.out", "w");
3522 return ferror (f) || fclose (f) != 0;
3523
3524  ;
3525  return 0;
3526}
3527_ACEOF
3528ac_clean_files="$ac_clean_files conftest.out"
3529# Check that the compiler produces executables we can run.  If not, either
3530# the compiler is broken, or we cross compile.
3531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3532$as_echo_n "checking whether we are cross compiling... " >&6; }
3533if test "$cross_compiling" != yes; then
3534  { { ac_try="$ac_link"
3535case "(($ac_try" in
3536  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3537  *) ac_try_echo=$ac_try;;
3538esac
3539eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3540$as_echo "$ac_try_echo"; } >&5
3541  (eval "$ac_link") 2>&5
3542  ac_status=$?
3543  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3544  test $ac_status = 0; }
3545  if { ac_try='./conftest$ac_cv_exeext'
3546  { { case "(($ac_try" in
3547  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3548  *) ac_try_echo=$ac_try;;
3549esac
3550eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3551$as_echo "$ac_try_echo"; } >&5
3552  (eval "$ac_try") 2>&5
3553  ac_status=$?
3554  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3555  test $ac_status = 0; }; }; then
3556    cross_compiling=no
3557  else
3558    if test "$cross_compiling" = maybe; then
3559	cross_compiling=yes
3560    else
3561	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3562$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3563as_fn_error $? "cannot run C compiled programs.
3564If you meant to cross compile, use \`--host'.
3565See \`config.log' for more details" "$LINENO" 5; }
3566    fi
3567  fi
3568fi
3569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3570$as_echo "$cross_compiling" >&6; }
3571
3572rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3573ac_clean_files=$ac_clean_files_save
3574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3575$as_echo_n "checking for suffix of object files... " >&6; }
3576if ${ac_cv_objext+:} false; then :
3577  $as_echo_n "(cached) " >&6
3578else
3579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580/* end confdefs.h.  */
3581
3582int
3583main ()
3584{
3585
3586  ;
3587  return 0;
3588}
3589_ACEOF
3590rm -f conftest.o conftest.obj
3591if { { ac_try="$ac_compile"
3592case "(($ac_try" in
3593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3594  *) ac_try_echo=$ac_try;;
3595esac
3596eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3597$as_echo "$ac_try_echo"; } >&5
3598  (eval "$ac_compile") 2>&5
3599  ac_status=$?
3600  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3601  test $ac_status = 0; }; then :
3602  for ac_file in conftest.o conftest.obj conftest.*; do
3603  test -f "$ac_file" || continue;
3604  case $ac_file in
3605    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3606    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3607       break;;
3608  esac
3609done
3610else
3611  $as_echo "$as_me: failed program was:" >&5
3612sed 's/^/| /' conftest.$ac_ext >&5
3613
3614{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3616as_fn_error $? "cannot compute suffix of object files: cannot compile
3617See \`config.log' for more details" "$LINENO" 5; }
3618fi
3619rm -f conftest.$ac_cv_objext conftest.$ac_ext
3620fi
3621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3622$as_echo "$ac_cv_objext" >&6; }
3623OBJEXT=$ac_cv_objext
3624ac_objext=$OBJEXT
3625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3626$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3627if ${ac_cv_c_compiler_gnu+:} false; then :
3628  $as_echo_n "(cached) " >&6
3629else
3630  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631/* end confdefs.h.  */
3632
3633int
3634main ()
3635{
3636#ifndef __GNUC__
3637       choke me
3638#endif
3639
3640  ;
3641  return 0;
3642}
3643_ACEOF
3644if ac_fn_c_try_compile "$LINENO"; then :
3645  ac_compiler_gnu=yes
3646else
3647  ac_compiler_gnu=no
3648fi
3649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3650ac_cv_c_compiler_gnu=$ac_compiler_gnu
3651
3652fi
3653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3654$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3655if test $ac_compiler_gnu = yes; then
3656  GCC=yes
3657else
3658  GCC=
3659fi
3660ac_test_CFLAGS=${CFLAGS+set}
3661ac_save_CFLAGS=$CFLAGS
3662{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3663$as_echo_n "checking whether $CC accepts -g... " >&6; }
3664if ${ac_cv_prog_cc_g+:} false; then :
3665  $as_echo_n "(cached) " >&6
3666else
3667  ac_save_c_werror_flag=$ac_c_werror_flag
3668   ac_c_werror_flag=yes
3669   ac_cv_prog_cc_g=no
3670   CFLAGS="-g"
3671   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672/* end confdefs.h.  */
3673
3674int
3675main ()
3676{
3677
3678  ;
3679  return 0;
3680}
3681_ACEOF
3682if ac_fn_c_try_compile "$LINENO"; then :
3683  ac_cv_prog_cc_g=yes
3684else
3685  CFLAGS=""
3686      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687/* end confdefs.h.  */
3688
3689int
3690main ()
3691{
3692
3693  ;
3694  return 0;
3695}
3696_ACEOF
3697if ac_fn_c_try_compile "$LINENO"; then :
3698
3699else
3700  ac_c_werror_flag=$ac_save_c_werror_flag
3701	 CFLAGS="-g"
3702	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3703/* end confdefs.h.  */
3704
3705int
3706main ()
3707{
3708
3709  ;
3710  return 0;
3711}
3712_ACEOF
3713if ac_fn_c_try_compile "$LINENO"; then :
3714  ac_cv_prog_cc_g=yes
3715fi
3716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3717fi
3718rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3719fi
3720rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3721   ac_c_werror_flag=$ac_save_c_werror_flag
3722fi
3723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3724$as_echo "$ac_cv_prog_cc_g" >&6; }
3725if test "$ac_test_CFLAGS" = set; then
3726  CFLAGS=$ac_save_CFLAGS
3727elif test $ac_cv_prog_cc_g = yes; then
3728  if test "$GCC" = yes; then
3729    CFLAGS="-g -O2"
3730  else
3731    CFLAGS="-g"
3732  fi
3733else
3734  if test "$GCC" = yes; then
3735    CFLAGS="-O2"
3736  else
3737    CFLAGS=
3738  fi
3739fi
3740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3741$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3742if ${ac_cv_prog_cc_c89+:} false; then :
3743  $as_echo_n "(cached) " >&6
3744else
3745  ac_cv_prog_cc_c89=no
3746ac_save_CC=$CC
3747cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748/* end confdefs.h.  */
3749#include <stdarg.h>
3750#include <stdio.h>
3751struct stat;
3752/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3753struct buf { int x; };
3754FILE * (*rcsopen) (struct buf *, struct stat *, int);
3755static char *e (p, i)
3756     char **p;
3757     int i;
3758{
3759  return p[i];
3760}
3761static char *f (char * (*g) (char **, int), char **p, ...)
3762{
3763  char *s;
3764  va_list v;
3765  va_start (v,p);
3766  s = g (p, va_arg (v,int));
3767  va_end (v);
3768  return s;
3769}
3770
3771/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3772   function prototypes and stuff, but not '\xHH' hex character constants.
3773   These don't provoke an error unfortunately, instead are silently treated
3774   as 'x'.  The following induces an error, until -std is added to get
3775   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3776   array size at least.  It's necessary to write '\x00'==0 to get something
3777   that's true only with -std.  */
3778int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3779
3780/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3781   inside strings and character constants.  */
3782#define FOO(x) 'x'
3783int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3784
3785int test (int i, double x);
3786struct s1 {int (*f) (int a);};
3787struct s2 {int (*f) (double a);};
3788int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3789int argc;
3790char **argv;
3791int
3792main ()
3793{
3794return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3795  ;
3796  return 0;
3797}
3798_ACEOF
3799for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3800	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3801do
3802  CC="$ac_save_CC $ac_arg"
3803  if ac_fn_c_try_compile "$LINENO"; then :
3804  ac_cv_prog_cc_c89=$ac_arg
3805fi
3806rm -f core conftest.err conftest.$ac_objext
3807  test "x$ac_cv_prog_cc_c89" != "xno" && break
3808done
3809rm -f conftest.$ac_ext
3810CC=$ac_save_CC
3811
3812fi
3813# AC_CACHE_VAL
3814case "x$ac_cv_prog_cc_c89" in
3815  x)
3816    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3817$as_echo "none needed" >&6; } ;;
3818  xno)
3819    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3820$as_echo "unsupported" >&6; } ;;
3821  *)
3822    CC="$CC $ac_cv_prog_cc_c89"
3823    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3824$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3825esac
3826if test "x$ac_cv_prog_cc_c89" != xno; then :
3827
3828fi
3829
3830ac_ext=c
3831ac_cpp='$CPP $CPPFLAGS'
3832ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3833ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3834ac_compiler_gnu=$ac_cv_c_compiler_gnu
3835
3836ac_ext=c
3837ac_cpp='$CPP $CPPFLAGS'
3838ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840ac_compiler_gnu=$ac_cv_c_compiler_gnu
3841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3842$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3843if ${am_cv_prog_cc_c_o+:} false; then :
3844  $as_echo_n "(cached) " >&6
3845else
3846  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3847/* end confdefs.h.  */
3848
3849int
3850main ()
3851{
3852
3853  ;
3854  return 0;
3855}
3856_ACEOF
3857  # Make sure it works both with $CC and with simple cc.
3858  # Following AC_PROG_CC_C_O, we do the test twice because some
3859  # compilers refuse to overwrite an existing .o file with -o,
3860  # though they will create one.
3861  am_cv_prog_cc_c_o=yes
3862  for am_i in 1 2; do
3863    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3864   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3865   ac_status=$?
3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867   (exit $ac_status); } \
3868         && test -f conftest2.$ac_objext; then
3869      : OK
3870    else
3871      am_cv_prog_cc_c_o=no
3872      break
3873    fi
3874  done
3875  rm -f core conftest*
3876  unset am_i
3877fi
3878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3879$as_echo "$am_cv_prog_cc_c_o" >&6; }
3880if test "$am_cv_prog_cc_c_o" != yes; then
3881   # Losing compiler, so override with the script.
3882   # FIXME: It is wrong to rewrite CC.
3883   # But if we don't then we get into trouble of one sort or another.
3884   # A longer-term fix would be to have automake use am__CC in this case,
3885   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3886   CC="$am_aux_dir/compile $CC"
3887fi
3888ac_ext=c
3889ac_cpp='$CPP $CPPFLAGS'
3890ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3891ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3892ac_compiler_gnu=$ac_cv_c_compiler_gnu
3893
3894
3895depcc="$CC"   am_compiler_list=
3896
3897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3898$as_echo_n "checking dependency style of $depcc... " >&6; }
3899if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3900  $as_echo_n "(cached) " >&6
3901else
3902  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3903  # We make a subdir and do the tests there.  Otherwise we can end up
3904  # making bogus files that we don't know about and never remove.  For
3905  # instance it was reported that on HP-UX the gcc test will end up
3906  # making a dummy file named 'D' -- because '-MD' means "put the output
3907  # in D".
3908  rm -rf conftest.dir
3909  mkdir conftest.dir
3910  # Copy depcomp to subdir because otherwise we won't find it if we're
3911  # using a relative directory.
3912  cp "$am_depcomp" conftest.dir
3913  cd conftest.dir
3914  # We will build objects and dependencies in a subdirectory because
3915  # it helps to detect inapplicable dependency modes.  For instance
3916  # both Tru64's cc and ICC support -MD to output dependencies as a
3917  # side effect of compilation, but ICC will put the dependencies in
3918  # the current directory while Tru64 will put them in the object
3919  # directory.
3920  mkdir sub
3921
3922  am_cv_CC_dependencies_compiler_type=none
3923  if test "$am_compiler_list" = ""; then
3924     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3925  fi
3926  am__universal=false
3927  case " $depcc " in #(
3928     *\ -arch\ *\ -arch\ *) am__universal=true ;;
3929     esac
3930
3931  for depmode in $am_compiler_list; do
3932    # Setup a source with many dependencies, because some compilers
3933    # like to wrap large dependency lists on column 80 (with \), and
3934    # we should not choose a depcomp mode which is confused by this.
3935    #
3936    # We need to recreate these files for each test, as the compiler may
3937    # overwrite some of them when testing with obscure command lines.
3938    # This happens at least with the AIX C compiler.
3939    : > sub/conftest.c
3940    for i in 1 2 3 4 5 6; do
3941      echo '#include "conftst'$i'.h"' >> sub/conftest.c
3942      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3943      # Solaris 10 /bin/sh.
3944      echo '/* dummy */' > sub/conftst$i.h
3945    done
3946    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3947
3948    # We check with '-c' and '-o' for the sake of the "dashmstdout"
3949    # mode.  It turns out that the SunPro C++ compiler does not properly
3950    # handle '-M -o', and we need to detect this.  Also, some Intel
3951    # versions had trouble with output in subdirs.
3952    am__obj=sub/conftest.${OBJEXT-o}
3953    am__minus_obj="-o $am__obj"
3954    case $depmode in
3955    gcc)
3956      # This depmode causes a compiler race in universal mode.
3957      test "$am__universal" = false || continue
3958      ;;
3959    nosideeffect)
3960      # After this tag, mechanisms are not by side-effect, so they'll
3961      # only be used when explicitly requested.
3962      if test "x$enable_dependency_tracking" = xyes; then
3963	continue
3964      else
3965	break
3966      fi
3967      ;;
3968    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3969      # This compiler won't grok '-c -o', but also, the minuso test has
3970      # not run yet.  These depmodes are late enough in the game, and
3971      # so weak that their functioning should not be impacted.
3972      am__obj=conftest.${OBJEXT-o}
3973      am__minus_obj=
3974      ;;
3975    none) break ;;
3976    esac
3977    if depmode=$depmode \
3978       source=sub/conftest.c object=$am__obj \
3979       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3980       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3981         >/dev/null 2>conftest.err &&
3982       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3983       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3984       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3985       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3986      # icc doesn't choke on unknown options, it will just issue warnings
3987      # or remarks (even with -Werror).  So we grep stderr for any message
3988      # that says an option was ignored or not supported.
3989      # When given -MP, icc 7.0 and 7.1 complain thusly:
3990      #   icc: Command line warning: ignoring option '-M'; no argument required
3991      # The diagnosis changed in icc 8.0:
3992      #   icc: Command line remark: option '-MP' not supported
3993      if (grep 'ignoring option' conftest.err ||
3994          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3995        am_cv_CC_dependencies_compiler_type=$depmode
3996        break
3997      fi
3998    fi
3999  done
4000
4001  cd ..
4002  rm -rf conftest.dir
4003else
4004  am_cv_CC_dependencies_compiler_type=none
4005fi
4006
4007fi
4008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4009$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4010CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4011
4012 if
4013  test "x$enable_dependency_tracking" != xno \
4014  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4015  am__fastdepCC_TRUE=
4016  am__fastdepCC_FALSE='#'
4017else
4018  am__fastdepCC_TRUE='#'
4019  am__fastdepCC_FALSE=
4020fi
4021
4022
4023
4024if test -n "$ac_tool_prefix"; then
4025  for ac_prog in ar lib "link -lib"
4026  do
4027    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4028set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4030$as_echo_n "checking for $ac_word... " >&6; }
4031if ${ac_cv_prog_AR+:} false; then :
4032  $as_echo_n "(cached) " >&6
4033else
4034  if test -n "$AR"; then
4035  ac_cv_prog_AR="$AR" # Let the user override the test.
4036else
4037as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4038for as_dir in $PATH
4039do
4040  IFS=$as_save_IFS
4041  test -z "$as_dir" && as_dir=.
4042    for ac_exec_ext in '' $ac_executable_extensions; do
4043  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4044    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4045    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046    break 2
4047  fi
4048done
4049  done
4050IFS=$as_save_IFS
4051
4052fi
4053fi
4054AR=$ac_cv_prog_AR
4055if test -n "$AR"; then
4056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4057$as_echo "$AR" >&6; }
4058else
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060$as_echo "no" >&6; }
4061fi
4062
4063
4064    test -n "$AR" && break
4065  done
4066fi
4067if test -z "$AR"; then
4068  ac_ct_AR=$AR
4069  for ac_prog in ar lib "link -lib"
4070do
4071  # Extract the first word of "$ac_prog", so it can be a program name with args.
4072set dummy $ac_prog; ac_word=$2
4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4074$as_echo_n "checking for $ac_word... " >&6; }
4075if ${ac_cv_prog_ac_ct_AR+:} false; then :
4076  $as_echo_n "(cached) " >&6
4077else
4078  if test -n "$ac_ct_AR"; then
4079  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4080else
4081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082for as_dir in $PATH
4083do
4084  IFS=$as_save_IFS
4085  test -z "$as_dir" && as_dir=.
4086    for ac_exec_ext in '' $ac_executable_extensions; do
4087  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4088    ac_cv_prog_ac_ct_AR="$ac_prog"
4089    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4090    break 2
4091  fi
4092done
4093  done
4094IFS=$as_save_IFS
4095
4096fi
4097fi
4098ac_ct_AR=$ac_cv_prog_ac_ct_AR
4099if test -n "$ac_ct_AR"; then
4100  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4101$as_echo "$ac_ct_AR" >&6; }
4102else
4103  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4104$as_echo "no" >&6; }
4105fi
4106
4107
4108  test -n "$ac_ct_AR" && break
4109done
4110
4111  if test "x$ac_ct_AR" = x; then
4112    AR="false"
4113  else
4114    case $cross_compiling:$ac_tool_warned in
4115yes:)
4116{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4117$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4118ac_tool_warned=yes ;;
4119esac
4120    AR=$ac_ct_AR
4121  fi
4122fi
4123
4124: ${AR=ar}
4125
4126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
4127$as_echo_n "checking the archiver ($AR) interface... " >&6; }
4128if ${am_cv_ar_interface+:} false; then :
4129  $as_echo_n "(cached) " >&6
4130else
4131  ac_ext=c
4132ac_cpp='$CPP $CPPFLAGS'
4133ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4134ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4135ac_compiler_gnu=$ac_cv_c_compiler_gnu
4136
4137   am_cv_ar_interface=ar
4138   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139/* end confdefs.h.  */
4140int some_variable = 0;
4141_ACEOF
4142if ac_fn_c_try_compile "$LINENO"; then :
4143  am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
4144      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4145  (eval $am_ar_try) 2>&5
4146  ac_status=$?
4147  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4148  test $ac_status = 0; }
4149      if test "$ac_status" -eq 0; then
4150        am_cv_ar_interface=ar
4151      else
4152        am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
4153        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
4154  (eval $am_ar_try) 2>&5
4155  ac_status=$?
4156  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4157  test $ac_status = 0; }
4158        if test "$ac_status" -eq 0; then
4159          am_cv_ar_interface=lib
4160        else
4161          am_cv_ar_interface=unknown
4162        fi
4163      fi
4164      rm -f conftest.lib libconftest.a
4165
4166fi
4167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4168   ac_ext=c
4169ac_cpp='$CPP $CPPFLAGS'
4170ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4171ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4172ac_compiler_gnu=$ac_cv_c_compiler_gnu
4173
4174fi
4175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
4176$as_echo "$am_cv_ar_interface" >&6; }
4177
4178case $am_cv_ar_interface in
4179ar)
4180  ;;
4181lib)
4182  # Microsoft lib, so override with the ar-lib wrapper script.
4183  # FIXME: It is wrong to rewrite AR.
4184  # But if we don't then we get into trouble of one sort or another.
4185  # A longer-term fix would be to have automake use am__AR in this case,
4186  # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
4187  # similar.
4188  AR="$am_aux_dir/ar-lib $AR"
4189  ;;
4190unknown)
4191  as_fn_error $? "could not determine $AR interface" "$LINENO" 5
4192  ;;
4193esac
4194
4195
4196ac_ext=c
4197ac_cpp='$CPP $CPPFLAGS'
4198ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201if test -n "$ac_tool_prefix"; then
4202  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4203set dummy ${ac_tool_prefix}gcc; ac_word=$2
4204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4205$as_echo_n "checking for $ac_word... " >&6; }
4206if ${ac_cv_prog_CC+:} false; then :
4207  $as_echo_n "(cached) " >&6
4208else
4209  if test -n "$CC"; then
4210  ac_cv_prog_CC="$CC" # Let the user override the test.
4211else
4212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213for as_dir in $PATH
4214do
4215  IFS=$as_save_IFS
4216  test -z "$as_dir" && as_dir=.
4217    for ac_exec_ext in '' $ac_executable_extensions; do
4218  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4219    ac_cv_prog_CC="${ac_tool_prefix}gcc"
4220    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221    break 2
4222  fi
4223done
4224  done
4225IFS=$as_save_IFS
4226
4227fi
4228fi
4229CC=$ac_cv_prog_CC
4230if test -n "$CC"; then
4231  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4232$as_echo "$CC" >&6; }
4233else
4234  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4235$as_echo "no" >&6; }
4236fi
4237
4238
4239fi
4240if test -z "$ac_cv_prog_CC"; then
4241  ac_ct_CC=$CC
4242  # Extract the first word of "gcc", so it can be a program name with args.
4243set dummy gcc; ac_word=$2
4244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4245$as_echo_n "checking for $ac_word... " >&6; }
4246if ${ac_cv_prog_ac_ct_CC+:} false; then :
4247  $as_echo_n "(cached) " >&6
4248else
4249  if test -n "$ac_ct_CC"; then
4250  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4251else
4252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4253for as_dir in $PATH
4254do
4255  IFS=$as_save_IFS
4256  test -z "$as_dir" && as_dir=.
4257    for ac_exec_ext in '' $ac_executable_extensions; do
4258  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4259    ac_cv_prog_ac_ct_CC="gcc"
4260    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4261    break 2
4262  fi
4263done
4264  done
4265IFS=$as_save_IFS
4266
4267fi
4268fi
4269ac_ct_CC=$ac_cv_prog_ac_ct_CC
4270if test -n "$ac_ct_CC"; then
4271  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4272$as_echo "$ac_ct_CC" >&6; }
4273else
4274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4275$as_echo "no" >&6; }
4276fi
4277
4278  if test "x$ac_ct_CC" = x; then
4279    CC=""
4280  else
4281    case $cross_compiling:$ac_tool_warned in
4282yes:)
4283{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4284$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4285ac_tool_warned=yes ;;
4286esac
4287    CC=$ac_ct_CC
4288  fi
4289else
4290  CC="$ac_cv_prog_CC"
4291fi
4292
4293if test -z "$CC"; then
4294          if test -n "$ac_tool_prefix"; then
4295    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4296set dummy ${ac_tool_prefix}cc; ac_word=$2
4297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4298$as_echo_n "checking for $ac_word... " >&6; }
4299if ${ac_cv_prog_CC+:} false; then :
4300  $as_echo_n "(cached) " >&6
4301else
4302  if test -n "$CC"; then
4303  ac_cv_prog_CC="$CC" # Let the user override the test.
4304else
4305as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4306for as_dir in $PATH
4307do
4308  IFS=$as_save_IFS
4309  test -z "$as_dir" && as_dir=.
4310    for ac_exec_ext in '' $ac_executable_extensions; do
4311  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4312    ac_cv_prog_CC="${ac_tool_prefix}cc"
4313    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4314    break 2
4315  fi
4316done
4317  done
4318IFS=$as_save_IFS
4319
4320fi
4321fi
4322CC=$ac_cv_prog_CC
4323if test -n "$CC"; then
4324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4325$as_echo "$CC" >&6; }
4326else
4327  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4328$as_echo "no" >&6; }
4329fi
4330
4331
4332  fi
4333fi
4334if test -z "$CC"; then
4335  # Extract the first word of "cc", so it can be a program name with args.
4336set dummy cc; ac_word=$2
4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338$as_echo_n "checking for $ac_word... " >&6; }
4339if ${ac_cv_prog_CC+:} false; then :
4340  $as_echo_n "(cached) " >&6
4341else
4342  if test -n "$CC"; then
4343  ac_cv_prog_CC="$CC" # Let the user override the test.
4344else
4345  ac_prog_rejected=no
4346as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4347for as_dir in $PATH
4348do
4349  IFS=$as_save_IFS
4350  test -z "$as_dir" && as_dir=.
4351    for ac_exec_ext in '' $ac_executable_extensions; do
4352  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4353    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4354       ac_prog_rejected=yes
4355       continue
4356     fi
4357    ac_cv_prog_CC="cc"
4358    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359    break 2
4360  fi
4361done
4362  done
4363IFS=$as_save_IFS
4364
4365if test $ac_prog_rejected = yes; then
4366  # We found a bogon in the path, so make sure we never use it.
4367  set dummy $ac_cv_prog_CC
4368  shift
4369  if test $# != 0; then
4370    # We chose a different compiler from the bogus one.
4371    # However, it has the same basename, so the bogon will be chosen
4372    # first if we set CC to just the basename; use the full file name.
4373    shift
4374    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4375  fi
4376fi
4377fi
4378fi
4379CC=$ac_cv_prog_CC
4380if test -n "$CC"; then
4381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4382$as_echo "$CC" >&6; }
4383else
4384  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385$as_echo "no" >&6; }
4386fi
4387
4388
4389fi
4390if test -z "$CC"; then
4391  if test -n "$ac_tool_prefix"; then
4392  for ac_prog in cl.exe
4393  do
4394    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4395set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397$as_echo_n "checking for $ac_word... " >&6; }
4398if ${ac_cv_prog_CC+:} false; then :
4399  $as_echo_n "(cached) " >&6
4400else
4401  if test -n "$CC"; then
4402  ac_cv_prog_CC="$CC" # Let the user override the test.
4403else
4404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405for as_dir in $PATH
4406do
4407  IFS=$as_save_IFS
4408  test -z "$as_dir" && as_dir=.
4409    for ac_exec_ext in '' $ac_executable_extensions; do
4410  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4411    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4412    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413    break 2
4414  fi
4415done
4416  done
4417IFS=$as_save_IFS
4418
4419fi
4420fi
4421CC=$ac_cv_prog_CC
4422if test -n "$CC"; then
4423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4424$as_echo "$CC" >&6; }
4425else
4426  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427$as_echo "no" >&6; }
4428fi
4429
4430
4431    test -n "$CC" && break
4432  done
4433fi
4434if test -z "$CC"; then
4435  ac_ct_CC=$CC
4436  for ac_prog in cl.exe
4437do
4438  # Extract the first word of "$ac_prog", so it can be a program name with args.
4439set dummy $ac_prog; ac_word=$2
4440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4441$as_echo_n "checking for $ac_word... " >&6; }
4442if ${ac_cv_prog_ac_ct_CC+:} false; then :
4443  $as_echo_n "(cached) " >&6
4444else
4445  if test -n "$ac_ct_CC"; then
4446  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4447else
4448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449for as_dir in $PATH
4450do
4451  IFS=$as_save_IFS
4452  test -z "$as_dir" && as_dir=.
4453    for ac_exec_ext in '' $ac_executable_extensions; do
4454  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455    ac_cv_prog_ac_ct_CC="$ac_prog"
4456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457    break 2
4458  fi
4459done
4460  done
4461IFS=$as_save_IFS
4462
4463fi
4464fi
4465ac_ct_CC=$ac_cv_prog_ac_ct_CC
4466if test -n "$ac_ct_CC"; then
4467  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4468$as_echo "$ac_ct_CC" >&6; }
4469else
4470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471$as_echo "no" >&6; }
4472fi
4473
4474
4475  test -n "$ac_ct_CC" && break
4476done
4477
4478  if test "x$ac_ct_CC" = x; then
4479    CC=""
4480  else
4481    case $cross_compiling:$ac_tool_warned in
4482yes:)
4483{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4484$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4485ac_tool_warned=yes ;;
4486esac
4487    CC=$ac_ct_CC
4488  fi
4489fi
4490
4491fi
4492
4493
4494test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4495$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4496as_fn_error $? "no acceptable C compiler found in \$PATH
4497See \`config.log' for more details" "$LINENO" 5; }
4498
4499# Provide some information about the compiler.
4500$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4501set X $ac_compile
4502ac_compiler=$2
4503for ac_option in --version -v -V -qversion; do
4504  { { ac_try="$ac_compiler $ac_option >&5"
4505case "(($ac_try" in
4506  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507  *) ac_try_echo=$ac_try;;
4508esac
4509eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510$as_echo "$ac_try_echo"; } >&5
4511  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4512  ac_status=$?
4513  if test -s conftest.err; then
4514    sed '10a\
4515... rest of stderr output deleted ...
4516         10q' conftest.err >conftest.er1
4517    cat conftest.er1 >&5
4518  fi
4519  rm -f conftest.er1 conftest.err
4520  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521  test $ac_status = 0; }
4522done
4523
4524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4525$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4526if ${ac_cv_c_compiler_gnu+:} false; then :
4527  $as_echo_n "(cached) " >&6
4528else
4529  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4530/* end confdefs.h.  */
4531
4532int
4533main ()
4534{
4535#ifndef __GNUC__
4536       choke me
4537#endif
4538
4539  ;
4540  return 0;
4541}
4542_ACEOF
4543if ac_fn_c_try_compile "$LINENO"; then :
4544  ac_compiler_gnu=yes
4545else
4546  ac_compiler_gnu=no
4547fi
4548rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4549ac_cv_c_compiler_gnu=$ac_compiler_gnu
4550
4551fi
4552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4553$as_echo "$ac_cv_c_compiler_gnu" >&6; }
4554if test $ac_compiler_gnu = yes; then
4555  GCC=yes
4556else
4557  GCC=
4558fi
4559ac_test_CFLAGS=${CFLAGS+set}
4560ac_save_CFLAGS=$CFLAGS
4561{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4562$as_echo_n "checking whether $CC accepts -g... " >&6; }
4563if ${ac_cv_prog_cc_g+:} false; then :
4564  $as_echo_n "(cached) " >&6
4565else
4566  ac_save_c_werror_flag=$ac_c_werror_flag
4567   ac_c_werror_flag=yes
4568   ac_cv_prog_cc_g=no
4569   CFLAGS="-g"
4570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571/* end confdefs.h.  */
4572
4573int
4574main ()
4575{
4576
4577  ;
4578  return 0;
4579}
4580_ACEOF
4581if ac_fn_c_try_compile "$LINENO"; then :
4582  ac_cv_prog_cc_g=yes
4583else
4584  CFLAGS=""
4585      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4586/* end confdefs.h.  */
4587
4588int
4589main ()
4590{
4591
4592  ;
4593  return 0;
4594}
4595_ACEOF
4596if ac_fn_c_try_compile "$LINENO"; then :
4597
4598else
4599  ac_c_werror_flag=$ac_save_c_werror_flag
4600	 CFLAGS="-g"
4601	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4602/* end confdefs.h.  */
4603
4604int
4605main ()
4606{
4607
4608  ;
4609  return 0;
4610}
4611_ACEOF
4612if ac_fn_c_try_compile "$LINENO"; then :
4613  ac_cv_prog_cc_g=yes
4614fi
4615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616fi
4617rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4618fi
4619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620   ac_c_werror_flag=$ac_save_c_werror_flag
4621fi
4622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4623$as_echo "$ac_cv_prog_cc_g" >&6; }
4624if test "$ac_test_CFLAGS" = set; then
4625  CFLAGS=$ac_save_CFLAGS
4626elif test $ac_cv_prog_cc_g = yes; then
4627  if test "$GCC" = yes; then
4628    CFLAGS="-g -O2"
4629  else
4630    CFLAGS="-g"
4631  fi
4632else
4633  if test "$GCC" = yes; then
4634    CFLAGS="-O2"
4635  else
4636    CFLAGS=
4637  fi
4638fi
4639{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4640$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4641if ${ac_cv_prog_cc_c89+:} false; then :
4642  $as_echo_n "(cached) " >&6
4643else
4644  ac_cv_prog_cc_c89=no
4645ac_save_CC=$CC
4646cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647/* end confdefs.h.  */
4648#include <stdarg.h>
4649#include <stdio.h>
4650struct stat;
4651/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
4652struct buf { int x; };
4653FILE * (*rcsopen) (struct buf *, struct stat *, int);
4654static char *e (p, i)
4655     char **p;
4656     int i;
4657{
4658  return p[i];
4659}
4660static char *f (char * (*g) (char **, int), char **p, ...)
4661{
4662  char *s;
4663  va_list v;
4664  va_start (v,p);
4665  s = g (p, va_arg (v,int));
4666  va_end (v);
4667  return s;
4668}
4669
4670/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
4671   function prototypes and stuff, but not '\xHH' hex character constants.
4672   These don't provoke an error unfortunately, instead are silently treated
4673   as 'x'.  The following induces an error, until -std is added to get
4674   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
4675   array size at least.  It's necessary to write '\x00'==0 to get something
4676   that's true only with -std.  */
4677int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4678
4679/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4680   inside strings and character constants.  */
4681#define FOO(x) 'x'
4682int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4683
4684int test (int i, double x);
4685struct s1 {int (*f) (int a);};
4686struct s2 {int (*f) (double a);};
4687int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4688int argc;
4689char **argv;
4690int
4691main ()
4692{
4693return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
4694  ;
4695  return 0;
4696}
4697_ACEOF
4698for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4699	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4700do
4701  CC="$ac_save_CC $ac_arg"
4702  if ac_fn_c_try_compile "$LINENO"; then :
4703  ac_cv_prog_cc_c89=$ac_arg
4704fi
4705rm -f core conftest.err conftest.$ac_objext
4706  test "x$ac_cv_prog_cc_c89" != "xno" && break
4707done
4708rm -f conftest.$ac_ext
4709CC=$ac_save_CC
4710
4711fi
4712# AC_CACHE_VAL
4713case "x$ac_cv_prog_cc_c89" in
4714  x)
4715    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4716$as_echo "none needed" >&6; } ;;
4717  xno)
4718    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4719$as_echo "unsupported" >&6; } ;;
4720  *)
4721    CC="$CC $ac_cv_prog_cc_c89"
4722    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4723$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4724esac
4725if test "x$ac_cv_prog_cc_c89" != xno; then :
4726
4727fi
4728
4729ac_ext=c
4730ac_cpp='$CPP $CPPFLAGS'
4731ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4732ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4733ac_compiler_gnu=$ac_cv_c_compiler_gnu
4734
4735ac_ext=c
4736ac_cpp='$CPP $CPPFLAGS'
4737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4739ac_compiler_gnu=$ac_cv_c_compiler_gnu
4740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4741$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4742if ${am_cv_prog_cc_c_o+:} false; then :
4743  $as_echo_n "(cached) " >&6
4744else
4745  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4746/* end confdefs.h.  */
4747
4748int
4749main ()
4750{
4751
4752  ;
4753  return 0;
4754}
4755_ACEOF
4756  # Make sure it works both with $CC and with simple cc.
4757  # Following AC_PROG_CC_C_O, we do the test twice because some
4758  # compilers refuse to overwrite an existing .o file with -o,
4759  # though they will create one.
4760  am_cv_prog_cc_c_o=yes
4761  for am_i in 1 2; do
4762    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4763   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4764   ac_status=$?
4765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766   (exit $ac_status); } \
4767         && test -f conftest2.$ac_objext; then
4768      : OK
4769    else
4770      am_cv_prog_cc_c_o=no
4771      break
4772    fi
4773  done
4774  rm -f core conftest*
4775  unset am_i
4776fi
4777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4778$as_echo "$am_cv_prog_cc_c_o" >&6; }
4779if test "$am_cv_prog_cc_c_o" != yes; then
4780   # Losing compiler, so override with the script.
4781   # FIXME: It is wrong to rewrite CC.
4782   # But if we don't then we get into trouble of one sort or another.
4783   # A longer-term fix would be to have automake use am__CC in this case,
4784   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4785   CC="$am_aux_dir/compile $CC"
4786fi
4787ac_ext=c
4788ac_cpp='$CPP $CPPFLAGS'
4789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4791ac_compiler_gnu=$ac_cv_c_compiler_gnu
4792
4793
4794depcc="$CC"   am_compiler_list=
4795
4796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4797$as_echo_n "checking dependency style of $depcc... " >&6; }
4798if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4799  $as_echo_n "(cached) " >&6
4800else
4801  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4802  # We make a subdir and do the tests there.  Otherwise we can end up
4803  # making bogus files that we don't know about and never remove.  For
4804  # instance it was reported that on HP-UX the gcc test will end up
4805  # making a dummy file named 'D' -- because '-MD' means "put the output
4806  # in D".
4807  rm -rf conftest.dir
4808  mkdir conftest.dir
4809  # Copy depcomp to subdir because otherwise we won't find it if we're
4810  # using a relative directory.
4811  cp "$am_depcomp" conftest.dir
4812  cd conftest.dir
4813  # We will build objects and dependencies in a subdirectory because
4814  # it helps to detect inapplicable dependency modes.  For instance
4815  # both Tru64's cc and ICC support -MD to output dependencies as a
4816  # side effect of compilation, but ICC will put the dependencies in
4817  # the current directory while Tru64 will put them in the object
4818  # directory.
4819  mkdir sub
4820
4821  am_cv_CC_dependencies_compiler_type=none
4822  if test "$am_compiler_list" = ""; then
4823     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4824  fi
4825  am__universal=false
4826  case " $depcc " in #(
4827     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4828     esac
4829
4830  for depmode in $am_compiler_list; do
4831    # Setup a source with many dependencies, because some compilers
4832    # like to wrap large dependency lists on column 80 (with \), and
4833    # we should not choose a depcomp mode which is confused by this.
4834    #
4835    # We need to recreate these files for each test, as the compiler may
4836    # overwrite some of them when testing with obscure command lines.
4837    # This happens at least with the AIX C compiler.
4838    : > sub/conftest.c
4839    for i in 1 2 3 4 5 6; do
4840      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4841      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4842      # Solaris 10 /bin/sh.
4843      echo '/* dummy */' > sub/conftst$i.h
4844    done
4845    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4846
4847    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4848    # mode.  It turns out that the SunPro C++ compiler does not properly
4849    # handle '-M -o', and we need to detect this.  Also, some Intel
4850    # versions had trouble with output in subdirs.
4851    am__obj=sub/conftest.${OBJEXT-o}
4852    am__minus_obj="-o $am__obj"
4853    case $depmode in
4854    gcc)
4855      # This depmode causes a compiler race in universal mode.
4856      test "$am__universal" = false || continue
4857      ;;
4858    nosideeffect)
4859      # After this tag, mechanisms are not by side-effect, so they'll
4860      # only be used when explicitly requested.
4861      if test "x$enable_dependency_tracking" = xyes; then
4862	continue
4863      else
4864	break
4865      fi
4866      ;;
4867    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4868      # This compiler won't grok '-c -o', but also, the minuso test has
4869      # not run yet.  These depmodes are late enough in the game, and
4870      # so weak that their functioning should not be impacted.
4871      am__obj=conftest.${OBJEXT-o}
4872      am__minus_obj=
4873      ;;
4874    none) break ;;
4875    esac
4876    if depmode=$depmode \
4877       source=sub/conftest.c object=$am__obj \
4878       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4879       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4880         >/dev/null 2>conftest.err &&
4881       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4882       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4883       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4884       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4885      # icc doesn't choke on unknown options, it will just issue warnings
4886      # or remarks (even with -Werror).  So we grep stderr for any message
4887      # that says an option was ignored or not supported.
4888      # When given -MP, icc 7.0 and 7.1 complain thusly:
4889      #   icc: Command line warning: ignoring option '-M'; no argument required
4890      # The diagnosis changed in icc 8.0:
4891      #   icc: Command line remark: option '-MP' not supported
4892      if (grep 'ignoring option' conftest.err ||
4893          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4894        am_cv_CC_dependencies_compiler_type=$depmode
4895        break
4896      fi
4897    fi
4898  done
4899
4900  cd ..
4901  rm -rf conftest.dir
4902else
4903  am_cv_CC_dependencies_compiler_type=none
4904fi
4905
4906fi
4907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4908$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4909CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4910
4911 if
4912  test "x$enable_dependency_tracking" != xno \
4913  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4914  am__fastdepCC_TRUE=
4915  am__fastdepCC_FALSE='#'
4916else
4917  am__fastdepCC_TRUE='#'
4918  am__fastdepCC_FALSE=
4919fi
4920
4921
4922
4923
4924case `pwd` in
4925  *\ * | *\	*)
4926    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4927$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4928esac
4929
4930
4931
4932macro_version='2.4.6'
4933macro_revision='2.4.6'
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947ltmain=$ac_aux_dir/ltmain.sh
4948
4949# Backslashify metacharacters that are still active within
4950# double-quoted strings.
4951sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
4952
4953# Same as above, but do not quote variable references.
4954double_quote_subst='s/\(["`\\]\)/\\\1/g'
4955
4956# Sed substitution to delay expansion of an escaped shell variable in a
4957# double_quote_subst'ed string.
4958delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
4959
4960# Sed substitution to delay expansion of an escaped single quote.
4961delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
4962
4963# Sed substitution to avoid accidental globbing in evaled expressions
4964no_glob_subst='s/\*/\\\*/g'
4965
4966ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4967ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
4968ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
4969
4970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
4971$as_echo_n "checking how to print strings... " >&6; }
4972# Test print first, because it will be a builtin if present.
4973if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
4974   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
4975  ECHO='print -r --'
4976elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
4977  ECHO='printf %s\n'
4978else
4979  # Use this function as a fallback that always works.
4980  func_fallback_echo ()
4981  {
4982    eval 'cat <<_LTECHO_EOF
4983$1
4984_LTECHO_EOF'
4985  }
4986  ECHO='func_fallback_echo'
4987fi
4988
4989# func_echo_all arg...
4990# Invoke $ECHO with all args, space-separated.
4991func_echo_all ()
4992{
4993    $ECHO ""
4994}
4995
4996case $ECHO in
4997  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
4998$as_echo "printf" >&6; } ;;
4999  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5000$as_echo "print -r" >&6; } ;;
5001  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5002$as_echo "cat" >&6; } ;;
5003esac
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5019$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5020if ${ac_cv_path_SED+:} false; then :
5021  $as_echo_n "(cached) " >&6
5022else
5023            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5024     for ac_i in 1 2 3 4 5 6 7; do
5025       ac_script="$ac_script$as_nl$ac_script"
5026     done
5027     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5028     { ac_script=; unset ac_script;}
5029     if test -z "$SED"; then
5030  ac_path_SED_found=false
5031  # Loop through the user's path and test for each of PROGNAME-LIST
5032  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033for as_dir in $PATH
5034do
5035  IFS=$as_save_IFS
5036  test -z "$as_dir" && as_dir=.
5037    for ac_prog in sed gsed; do
5038    for ac_exec_ext in '' $ac_executable_extensions; do
5039      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5040      as_fn_executable_p "$ac_path_SED" || continue
5041# Check for GNU ac_path_SED and select it if it is found.
5042  # Check for GNU $ac_path_SED
5043case `"$ac_path_SED" --version 2>&1` in
5044*GNU*)
5045  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5046*)
5047  ac_count=0
5048  $as_echo_n 0123456789 >"conftest.in"
5049  while :
5050  do
5051    cat "conftest.in" "conftest.in" >"conftest.tmp"
5052    mv "conftest.tmp" "conftest.in"
5053    cp "conftest.in" "conftest.nl"
5054    $as_echo '' >> "conftest.nl"
5055    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5056    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5057    as_fn_arith $ac_count + 1 && ac_count=$as_val
5058    if test $ac_count -gt ${ac_path_SED_max-0}; then
5059      # Best one so far, save it but keep looking for a better one
5060      ac_cv_path_SED="$ac_path_SED"
5061      ac_path_SED_max=$ac_count
5062    fi
5063    # 10*(2^10) chars as input seems more than enough
5064    test $ac_count -gt 10 && break
5065  done
5066  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5067esac
5068
5069      $ac_path_SED_found && break 3
5070    done
5071  done
5072  done
5073IFS=$as_save_IFS
5074  if test -z "$ac_cv_path_SED"; then
5075    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5076  fi
5077else
5078  ac_cv_path_SED=$SED
5079fi
5080
5081fi
5082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5083$as_echo "$ac_cv_path_SED" >&6; }
5084 SED="$ac_cv_path_SED"
5085  rm -f conftest.sed
5086
5087test -z "$SED" && SED=sed
5088Xsed="$SED -e 1s/^X//"
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5101$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5102if ${ac_cv_path_GREP+:} false; then :
5103  $as_echo_n "(cached) " >&6
5104else
5105  if test -z "$GREP"; then
5106  ac_path_GREP_found=false
5107  # Loop through the user's path and test for each of PROGNAME-LIST
5108  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5110do
5111  IFS=$as_save_IFS
5112  test -z "$as_dir" && as_dir=.
5113    for ac_prog in grep ggrep; do
5114    for ac_exec_ext in '' $ac_executable_extensions; do
5115      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5116      as_fn_executable_p "$ac_path_GREP" || continue
5117# Check for GNU ac_path_GREP and select it if it is found.
5118  # Check for GNU $ac_path_GREP
5119case `"$ac_path_GREP" --version 2>&1` in
5120*GNU*)
5121  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5122*)
5123  ac_count=0
5124  $as_echo_n 0123456789 >"conftest.in"
5125  while :
5126  do
5127    cat "conftest.in" "conftest.in" >"conftest.tmp"
5128    mv "conftest.tmp" "conftest.in"
5129    cp "conftest.in" "conftest.nl"
5130    $as_echo 'GREP' >> "conftest.nl"
5131    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5132    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5133    as_fn_arith $ac_count + 1 && ac_count=$as_val
5134    if test $ac_count -gt ${ac_path_GREP_max-0}; then
5135      # Best one so far, save it but keep looking for a better one
5136      ac_cv_path_GREP="$ac_path_GREP"
5137      ac_path_GREP_max=$ac_count
5138    fi
5139    # 10*(2^10) chars as input seems more than enough
5140    test $ac_count -gt 10 && break
5141  done
5142  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5143esac
5144
5145      $ac_path_GREP_found && break 3
5146    done
5147  done
5148  done
5149IFS=$as_save_IFS
5150  if test -z "$ac_cv_path_GREP"; then
5151    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5152  fi
5153else
5154  ac_cv_path_GREP=$GREP
5155fi
5156
5157fi
5158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5159$as_echo "$ac_cv_path_GREP" >&6; }
5160 GREP="$ac_cv_path_GREP"
5161
5162
5163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5164$as_echo_n "checking for egrep... " >&6; }
5165if ${ac_cv_path_EGREP+:} false; then :
5166  $as_echo_n "(cached) " >&6
5167else
5168  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5169   then ac_cv_path_EGREP="$GREP -E"
5170   else
5171     if test -z "$EGREP"; then
5172  ac_path_EGREP_found=false
5173  # Loop through the user's path and test for each of PROGNAME-LIST
5174  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5176do
5177  IFS=$as_save_IFS
5178  test -z "$as_dir" && as_dir=.
5179    for ac_prog in egrep; do
5180    for ac_exec_ext in '' $ac_executable_extensions; do
5181      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5182      as_fn_executable_p "$ac_path_EGREP" || continue
5183# Check for GNU ac_path_EGREP and select it if it is found.
5184  # Check for GNU $ac_path_EGREP
5185case `"$ac_path_EGREP" --version 2>&1` in
5186*GNU*)
5187  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5188*)
5189  ac_count=0
5190  $as_echo_n 0123456789 >"conftest.in"
5191  while :
5192  do
5193    cat "conftest.in" "conftest.in" >"conftest.tmp"
5194    mv "conftest.tmp" "conftest.in"
5195    cp "conftest.in" "conftest.nl"
5196    $as_echo 'EGREP' >> "conftest.nl"
5197    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5198    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5199    as_fn_arith $ac_count + 1 && ac_count=$as_val
5200    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5201      # Best one so far, save it but keep looking for a better one
5202      ac_cv_path_EGREP="$ac_path_EGREP"
5203      ac_path_EGREP_max=$ac_count
5204    fi
5205    # 10*(2^10) chars as input seems more than enough
5206    test $ac_count -gt 10 && break
5207  done
5208  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5209esac
5210
5211      $ac_path_EGREP_found && break 3
5212    done
5213  done
5214  done
5215IFS=$as_save_IFS
5216  if test -z "$ac_cv_path_EGREP"; then
5217    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5218  fi
5219else
5220  ac_cv_path_EGREP=$EGREP
5221fi
5222
5223   fi
5224fi
5225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5226$as_echo "$ac_cv_path_EGREP" >&6; }
5227 EGREP="$ac_cv_path_EGREP"
5228
5229
5230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5231$as_echo_n "checking for fgrep... " >&6; }
5232if ${ac_cv_path_FGREP+:} false; then :
5233  $as_echo_n "(cached) " >&6
5234else
5235  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5236   then ac_cv_path_FGREP="$GREP -F"
5237   else
5238     if test -z "$FGREP"; then
5239  ac_path_FGREP_found=false
5240  # Loop through the user's path and test for each of PROGNAME-LIST
5241  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5242for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5243do
5244  IFS=$as_save_IFS
5245  test -z "$as_dir" && as_dir=.
5246    for ac_prog in fgrep; do
5247    for ac_exec_ext in '' $ac_executable_extensions; do
5248      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5249      as_fn_executable_p "$ac_path_FGREP" || continue
5250# Check for GNU ac_path_FGREP and select it if it is found.
5251  # Check for GNU $ac_path_FGREP
5252case `"$ac_path_FGREP" --version 2>&1` in
5253*GNU*)
5254  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5255*)
5256  ac_count=0
5257  $as_echo_n 0123456789 >"conftest.in"
5258  while :
5259  do
5260    cat "conftest.in" "conftest.in" >"conftest.tmp"
5261    mv "conftest.tmp" "conftest.in"
5262    cp "conftest.in" "conftest.nl"
5263    $as_echo 'FGREP' >> "conftest.nl"
5264    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5265    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5266    as_fn_arith $ac_count + 1 && ac_count=$as_val
5267    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5268      # Best one so far, save it but keep looking for a better one
5269      ac_cv_path_FGREP="$ac_path_FGREP"
5270      ac_path_FGREP_max=$ac_count
5271    fi
5272    # 10*(2^10) chars as input seems more than enough
5273    test $ac_count -gt 10 && break
5274  done
5275  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5276esac
5277
5278      $ac_path_FGREP_found && break 3
5279    done
5280  done
5281  done
5282IFS=$as_save_IFS
5283  if test -z "$ac_cv_path_FGREP"; then
5284    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5285  fi
5286else
5287  ac_cv_path_FGREP=$FGREP
5288fi
5289
5290   fi
5291fi
5292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5293$as_echo "$ac_cv_path_FGREP" >&6; }
5294 FGREP="$ac_cv_path_FGREP"
5295
5296
5297test -z "$GREP" && GREP=grep
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317# Check whether --with-gnu-ld was given.
5318if test "${with_gnu_ld+set}" = set; then :
5319  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
5320else
5321  with_gnu_ld=no
5322fi
5323
5324ac_prog=ld
5325if test yes = "$GCC"; then
5326  # Check if gcc -print-prog-name=ld gives a path.
5327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5328$as_echo_n "checking for ld used by $CC... " >&6; }
5329  case $host in
5330  *-*-mingw*)
5331    # gcc leaves a trailing carriage return, which upsets mingw
5332    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5333  *)
5334    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5335  esac
5336  case $ac_prog in
5337    # Accept absolute paths.
5338    [\\/]* | ?:[\\/]*)
5339      re_direlt='/[^/][^/]*/\.\./'
5340      # Canonicalize the pathname of ld
5341      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5342      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5343	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5344      done
5345      test -z "$LD" && LD=$ac_prog
5346      ;;
5347  "")
5348    # If it fails, then pretend we aren't using GCC.
5349    ac_prog=ld
5350    ;;
5351  *)
5352    # If it is relative, then search for the first ld in PATH.
5353    with_gnu_ld=unknown
5354    ;;
5355  esac
5356elif test yes = "$with_gnu_ld"; then
5357  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5358$as_echo_n "checking for GNU ld... " >&6; }
5359else
5360  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5361$as_echo_n "checking for non-GNU ld... " >&6; }
5362fi
5363if ${lt_cv_path_LD+:} false; then :
5364  $as_echo_n "(cached) " >&6
5365else
5366  if test -z "$LD"; then
5367  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5368  for ac_dir in $PATH; do
5369    IFS=$lt_save_ifs
5370    test -z "$ac_dir" && ac_dir=.
5371    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5372      lt_cv_path_LD=$ac_dir/$ac_prog
5373      # Check to see if the program is GNU ld.  I'd rather use --version,
5374      # but apparently some variants of GNU ld only accept -v.
5375      # Break only if it was the GNU/non-GNU ld that we prefer.
5376      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5377      *GNU* | *'with BFD'*)
5378	test no != "$with_gnu_ld" && break
5379	;;
5380      *)
5381	test yes != "$with_gnu_ld" && break
5382	;;
5383      esac
5384    fi
5385  done
5386  IFS=$lt_save_ifs
5387else
5388  lt_cv_path_LD=$LD # Let the user override the test with a path.
5389fi
5390fi
5391
5392LD=$lt_cv_path_LD
5393if test -n "$LD"; then
5394  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5395$as_echo "$LD" >&6; }
5396else
5397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5398$as_echo "no" >&6; }
5399fi
5400test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5402$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5403if ${lt_cv_prog_gnu_ld+:} false; then :
5404  $as_echo_n "(cached) " >&6
5405else
5406  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5407case `$LD -v 2>&1 </dev/null` in
5408*GNU* | *'with BFD'*)
5409  lt_cv_prog_gnu_ld=yes
5410  ;;
5411*)
5412  lt_cv_prog_gnu_ld=no
5413  ;;
5414esac
5415fi
5416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5417$as_echo "$lt_cv_prog_gnu_ld" >&6; }
5418with_gnu_ld=$lt_cv_prog_gnu_ld
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5429$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5430if ${lt_cv_path_NM+:} false; then :
5431  $as_echo_n "(cached) " >&6
5432else
5433  if test -n "$NM"; then
5434  # Let the user override the test.
5435  lt_cv_path_NM=$NM
5436else
5437  lt_nm_to_check=${ac_tool_prefix}nm
5438  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5439    lt_nm_to_check="$lt_nm_to_check nm"
5440  fi
5441  for lt_tmp_nm in $lt_nm_to_check; do
5442    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
5443    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5444      IFS=$lt_save_ifs
5445      test -z "$ac_dir" && ac_dir=.
5446      tmp_nm=$ac_dir/$lt_tmp_nm
5447      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
5448	# Check to see if the nm accepts a BSD-compat flag.
5449	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
5450	#   nm: unknown option "B" ignored
5451	# Tru64's nm complains that /dev/null is an invalid object file
5452	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
5453	case $build_os in
5454	mingw*) lt_bad_file=conftest.nm/nofile ;;
5455	*) lt_bad_file=/dev/null ;;
5456	esac
5457	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
5458	*$lt_bad_file* | *'Invalid file or object type'*)
5459	  lt_cv_path_NM="$tmp_nm -B"
5460	  break 2
5461	  ;;
5462	*)
5463	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5464	  */dev/null*)
5465	    lt_cv_path_NM="$tmp_nm -p"
5466	    break 2
5467	    ;;
5468	  *)
5469	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5470	    continue # so that we can try to find one that supports BSD flags
5471	    ;;
5472	  esac
5473	  ;;
5474	esac
5475      fi
5476    done
5477    IFS=$lt_save_ifs
5478  done
5479  : ${lt_cv_path_NM=no}
5480fi
5481fi
5482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5483$as_echo "$lt_cv_path_NM" >&6; }
5484if test no != "$lt_cv_path_NM"; then
5485  NM=$lt_cv_path_NM
5486else
5487  # Didn't find any BSD compatible name lister, look for dumpbin.
5488  if test -n "$DUMPBIN"; then :
5489    # Let the user override the test.
5490  else
5491    if test -n "$ac_tool_prefix"; then
5492  for ac_prog in dumpbin "link -dump"
5493  do
5494    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5495set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5496{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5497$as_echo_n "checking for $ac_word... " >&6; }
5498if ${ac_cv_prog_DUMPBIN+:} false; then :
5499  $as_echo_n "(cached) " >&6
5500else
5501  if test -n "$DUMPBIN"; then
5502  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5503else
5504as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5505for as_dir in $PATH
5506do
5507  IFS=$as_save_IFS
5508  test -z "$as_dir" && as_dir=.
5509    for ac_exec_ext in '' $ac_executable_extensions; do
5510  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5511    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5512    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5513    break 2
5514  fi
5515done
5516  done
5517IFS=$as_save_IFS
5518
5519fi
5520fi
5521DUMPBIN=$ac_cv_prog_DUMPBIN
5522if test -n "$DUMPBIN"; then
5523  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5524$as_echo "$DUMPBIN" >&6; }
5525else
5526  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5527$as_echo "no" >&6; }
5528fi
5529
5530
5531    test -n "$DUMPBIN" && break
5532  done
5533fi
5534if test -z "$DUMPBIN"; then
5535  ac_ct_DUMPBIN=$DUMPBIN
5536  for ac_prog in dumpbin "link -dump"
5537do
5538  # Extract the first word of "$ac_prog", so it can be a program name with args.
5539set dummy $ac_prog; ac_word=$2
5540{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5541$as_echo_n "checking for $ac_word... " >&6; }
5542if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5543  $as_echo_n "(cached) " >&6
5544else
5545  if test -n "$ac_ct_DUMPBIN"; then
5546  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5547else
5548as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5549for as_dir in $PATH
5550do
5551  IFS=$as_save_IFS
5552  test -z "$as_dir" && as_dir=.
5553    for ac_exec_ext in '' $ac_executable_extensions; do
5554  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5555    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5556    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5557    break 2
5558  fi
5559done
5560  done
5561IFS=$as_save_IFS
5562
5563fi
5564fi
5565ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5566if test -n "$ac_ct_DUMPBIN"; then
5567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5568$as_echo "$ac_ct_DUMPBIN" >&6; }
5569else
5570  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5571$as_echo "no" >&6; }
5572fi
5573
5574
5575  test -n "$ac_ct_DUMPBIN" && break
5576done
5577
5578  if test "x$ac_ct_DUMPBIN" = x; then
5579    DUMPBIN=":"
5580  else
5581    case $cross_compiling:$ac_tool_warned in
5582yes:)
5583{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5584$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5585ac_tool_warned=yes ;;
5586esac
5587    DUMPBIN=$ac_ct_DUMPBIN
5588  fi
5589fi
5590
5591    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
5592    *COFF*)
5593      DUMPBIN="$DUMPBIN -symbols -headers"
5594      ;;
5595    *)
5596      DUMPBIN=:
5597      ;;
5598    esac
5599  fi
5600
5601  if test : != "$DUMPBIN"; then
5602    NM=$DUMPBIN
5603  fi
5604fi
5605test -z "$NM" && NM=nm
5606
5607
5608
5609
5610
5611
5612{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5613$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5614if ${lt_cv_nm_interface+:} false; then :
5615  $as_echo_n "(cached) " >&6
5616else
5617  lt_cv_nm_interface="BSD nm"
5618  echo "int some_variable = 0;" > conftest.$ac_ext
5619  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5620  (eval "$ac_compile" 2>conftest.err)
5621  cat conftest.err >&5
5622  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5623  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5624  cat conftest.err >&5
5625  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5626  cat conftest.out >&5
5627  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5628    lt_cv_nm_interface="MS dumpbin"
5629  fi
5630  rm -f conftest*
5631fi
5632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5633$as_echo "$lt_cv_nm_interface" >&6; }
5634
5635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5636$as_echo_n "checking whether ln -s works... " >&6; }
5637LN_S=$as_ln_s
5638if test "$LN_S" = "ln -s"; then
5639  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5640$as_echo "yes" >&6; }
5641else
5642  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5643$as_echo "no, using $LN_S" >&6; }
5644fi
5645
5646# find the maximum length of command line arguments
5647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5648$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5649if ${lt_cv_sys_max_cmd_len+:} false; then :
5650  $as_echo_n "(cached) " >&6
5651else
5652    i=0
5653  teststring=ABCD
5654
5655  case $build_os in
5656  msdosdjgpp*)
5657    # On DJGPP, this test can blow up pretty badly due to problems in libc
5658    # (any single argument exceeding 2000 bytes causes a buffer overrun
5659    # during glob expansion).  Even if it were fixed, the result of this
5660    # check would be larger than it should be.
5661    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
5662    ;;
5663
5664  gnu*)
5665    # Under GNU Hurd, this test is not required because there is
5666    # no limit to the length of command line arguments.
5667    # Libtool will interpret -1 as no limit whatsoever
5668    lt_cv_sys_max_cmd_len=-1;
5669    ;;
5670
5671  cygwin* | mingw* | cegcc*)
5672    # On Win9x/ME, this test blows up -- it succeeds, but takes
5673    # about 5 minutes as the teststring grows exponentially.
5674    # Worse, since 9x/ME are not pre-emptively multitasking,
5675    # you end up with a "frozen" computer, even though with patience
5676    # the test eventually succeeds (with a max line length of 256k).
5677    # Instead, let's just punt: use the minimum linelength reported by
5678    # all of the supported platforms: 8192 (on NT/2K/XP).
5679    lt_cv_sys_max_cmd_len=8192;
5680    ;;
5681
5682  mint*)
5683    # On MiNT this can take a long time and run out of memory.
5684    lt_cv_sys_max_cmd_len=8192;
5685    ;;
5686
5687  amigaos*)
5688    # On AmigaOS with pdksh, this test takes hours, literally.
5689    # So we just punt and use a minimum line length of 8192.
5690    lt_cv_sys_max_cmd_len=8192;
5691    ;;
5692
5693  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
5694    # This has been around since 386BSD, at least.  Likely further.
5695    if test -x /sbin/sysctl; then
5696      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5697    elif test -x /usr/sbin/sysctl; then
5698      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5699    else
5700      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
5701    fi
5702    # And add a safety zone
5703    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5704    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5705    ;;
5706
5707  interix*)
5708    # We know the value 262144 and hardcode it with a safety zone (like BSD)
5709    lt_cv_sys_max_cmd_len=196608
5710    ;;
5711
5712  os2*)
5713    # The test takes a long time on OS/2.
5714    lt_cv_sys_max_cmd_len=8192
5715    ;;
5716
5717  osf*)
5718    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5719    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5720    # nice to cause kernel panics so lets avoid the loop below.
5721    # First set a reasonable default.
5722    lt_cv_sys_max_cmd_len=16384
5723    #
5724    if test -x /sbin/sysconfig; then
5725      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5726        *1*) lt_cv_sys_max_cmd_len=-1 ;;
5727      esac
5728    fi
5729    ;;
5730  sco3.2v5*)
5731    lt_cv_sys_max_cmd_len=102400
5732    ;;
5733  sysv5* | sco5v6* | sysv4.2uw2*)
5734    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5735    if test -n "$kargmax"; then
5736      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
5737    else
5738      lt_cv_sys_max_cmd_len=32768
5739    fi
5740    ;;
5741  *)
5742    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5743    if test -n "$lt_cv_sys_max_cmd_len" && \
5744       test undefined != "$lt_cv_sys_max_cmd_len"; then
5745      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5746      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5747    else
5748      # Make teststring a little bigger before we do anything with it.
5749      # a 1K string should be a reasonable start.
5750      for i in 1 2 3 4 5 6 7 8; do
5751        teststring=$teststring$teststring
5752      done
5753      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5754      # If test is not a shell built-in, we'll probably end up computing a
5755      # maximum length that is only half of the actual maximum length, but
5756      # we can't tell.
5757      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
5758	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5759	      test 17 != "$i" # 1/2 MB should be enough
5760      do
5761        i=`expr $i + 1`
5762        teststring=$teststring$teststring
5763      done
5764      # Only check the string length outside the loop.
5765      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5766      teststring=
5767      # Add a significant safety factor because C++ compilers can tack on
5768      # massive amounts of additional arguments before passing them to the
5769      # linker.  It appears as though 1/2 is a usable value.
5770      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5771    fi
5772    ;;
5773  esac
5774
5775fi
5776
5777if test -n "$lt_cv_sys_max_cmd_len"; then
5778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5779$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5780else
5781  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5782$as_echo "none" >&6; }
5783fi
5784max_cmd_len=$lt_cv_sys_max_cmd_len
5785
5786
5787
5788
5789
5790
5791: ${CP="cp -f"}
5792: ${MV="mv -f"}
5793: ${RM="rm -f"}
5794
5795if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5796  lt_unset=unset
5797else
5798  lt_unset=false
5799fi
5800
5801
5802
5803
5804
5805# test EBCDIC or ASCII
5806case `echo X|tr X '\101'` in
5807 A) # ASCII based system
5808    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5809  lt_SP2NL='tr \040 \012'
5810  lt_NL2SP='tr \015\012 \040\040'
5811  ;;
5812 *) # EBCDIC based system
5813  lt_SP2NL='tr \100 \n'
5814  lt_NL2SP='tr \r\n \100\100'
5815  ;;
5816esac
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5827$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5828if ${lt_cv_to_host_file_cmd+:} false; then :
5829  $as_echo_n "(cached) " >&6
5830else
5831  case $host in
5832  *-*-mingw* )
5833    case $build in
5834      *-*-mingw* ) # actually msys
5835        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
5836        ;;
5837      *-*-cygwin* )
5838        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
5839        ;;
5840      * ) # otherwise, assume *nix
5841        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
5842        ;;
5843    esac
5844    ;;
5845  *-*-cygwin* )
5846    case $build in
5847      *-*-mingw* ) # actually msys
5848        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
5849        ;;
5850      *-*-cygwin* )
5851        lt_cv_to_host_file_cmd=func_convert_file_noop
5852        ;;
5853      * ) # otherwise, assume *nix
5854        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
5855        ;;
5856    esac
5857    ;;
5858  * ) # unhandled hosts (and "normal" native builds)
5859    lt_cv_to_host_file_cmd=func_convert_file_noop
5860    ;;
5861esac
5862
5863fi
5864
5865to_host_file_cmd=$lt_cv_to_host_file_cmd
5866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
5867$as_echo "$lt_cv_to_host_file_cmd" >&6; }
5868
5869
5870
5871
5872
5873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
5874$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
5875if ${lt_cv_to_tool_file_cmd+:} false; then :
5876  $as_echo_n "(cached) " >&6
5877else
5878  #assume ordinary cross tools, or native build.
5879lt_cv_to_tool_file_cmd=func_convert_file_noop
5880case $host in
5881  *-*-mingw* )
5882    case $build in
5883      *-*-mingw* ) # actually msys
5884        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
5885        ;;
5886    esac
5887    ;;
5888esac
5889
5890fi
5891
5892to_tool_file_cmd=$lt_cv_to_tool_file_cmd
5893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
5894$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
5895
5896
5897
5898
5899
5900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5901$as_echo_n "checking for $LD option to reload object files... " >&6; }
5902if ${lt_cv_ld_reload_flag+:} false; then :
5903  $as_echo_n "(cached) " >&6
5904else
5905  lt_cv_ld_reload_flag='-r'
5906fi
5907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5908$as_echo "$lt_cv_ld_reload_flag" >&6; }
5909reload_flag=$lt_cv_ld_reload_flag
5910case $reload_flag in
5911"" | " "*) ;;
5912*) reload_flag=" $reload_flag" ;;
5913esac
5914reload_cmds='$LD$reload_flag -o $output$reload_objs'
5915case $host_os in
5916  cygwin* | mingw* | pw32* | cegcc*)
5917    if test yes != "$GCC"; then
5918      reload_cmds=false
5919    fi
5920    ;;
5921  darwin*)
5922    if test yes = "$GCC"; then
5923      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5924    else
5925      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5926    fi
5927    ;;
5928esac
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938if test -n "$ac_tool_prefix"; then
5939  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5940set dummy ${ac_tool_prefix}objdump; ac_word=$2
5941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5942$as_echo_n "checking for $ac_word... " >&6; }
5943if ${ac_cv_prog_OBJDUMP+:} false; then :
5944  $as_echo_n "(cached) " >&6
5945else
5946  if test -n "$OBJDUMP"; then
5947  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5948else
5949as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5950for as_dir in $PATH
5951do
5952  IFS=$as_save_IFS
5953  test -z "$as_dir" && as_dir=.
5954    for ac_exec_ext in '' $ac_executable_extensions; do
5955  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5956    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5957    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5958    break 2
5959  fi
5960done
5961  done
5962IFS=$as_save_IFS
5963
5964fi
5965fi
5966OBJDUMP=$ac_cv_prog_OBJDUMP
5967if test -n "$OBJDUMP"; then
5968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5969$as_echo "$OBJDUMP" >&6; }
5970else
5971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972$as_echo "no" >&6; }
5973fi
5974
5975
5976fi
5977if test -z "$ac_cv_prog_OBJDUMP"; then
5978  ac_ct_OBJDUMP=$OBJDUMP
5979  # Extract the first word of "objdump", so it can be a program name with args.
5980set dummy objdump; ac_word=$2
5981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5982$as_echo_n "checking for $ac_word... " >&6; }
5983if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5984  $as_echo_n "(cached) " >&6
5985else
5986  if test -n "$ac_ct_OBJDUMP"; then
5987  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5988else
5989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5990for as_dir in $PATH
5991do
5992  IFS=$as_save_IFS
5993  test -z "$as_dir" && as_dir=.
5994    for ac_exec_ext in '' $ac_executable_extensions; do
5995  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5996    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5997    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5998    break 2
5999  fi
6000done
6001  done
6002IFS=$as_save_IFS
6003
6004fi
6005fi
6006ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6007if test -n "$ac_ct_OBJDUMP"; then
6008  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6009$as_echo "$ac_ct_OBJDUMP" >&6; }
6010else
6011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6012$as_echo "no" >&6; }
6013fi
6014
6015  if test "x$ac_ct_OBJDUMP" = x; then
6016    OBJDUMP="false"
6017  else
6018    case $cross_compiling:$ac_tool_warned in
6019yes:)
6020{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6021$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6022ac_tool_warned=yes ;;
6023esac
6024    OBJDUMP=$ac_ct_OBJDUMP
6025  fi
6026else
6027  OBJDUMP="$ac_cv_prog_OBJDUMP"
6028fi
6029
6030test -z "$OBJDUMP" && OBJDUMP=objdump
6031
6032
6033
6034
6035
6036
6037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6038$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6039if ${lt_cv_deplibs_check_method+:} false; then :
6040  $as_echo_n "(cached) " >&6
6041else
6042  lt_cv_file_magic_cmd='$MAGIC_CMD'
6043lt_cv_file_magic_test_file=
6044lt_cv_deplibs_check_method='unknown'
6045# Need to set the preceding variable on all platforms that support
6046# interlibrary dependencies.
6047# 'none' -- dependencies not supported.
6048# 'unknown' -- same as none, but documents that we really don't know.
6049# 'pass_all' -- all dependencies passed with no checks.
6050# 'test_compile' -- check by making test program.
6051# 'file_magic [[regex]]' -- check by looking for files in library path
6052# that responds to the $file_magic_cmd with a given extended regex.
6053# If you have 'file' or equivalent on your system and you're not sure
6054# whether 'pass_all' will *always* work, you probably want this one.
6055
6056case $host_os in
6057aix[4-9]*)
6058  lt_cv_deplibs_check_method=pass_all
6059  ;;
6060
6061beos*)
6062  lt_cv_deplibs_check_method=pass_all
6063  ;;
6064
6065bsdi[45]*)
6066  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6067  lt_cv_file_magic_cmd='/usr/bin/file -L'
6068  lt_cv_file_magic_test_file=/shlib/libc.so
6069  ;;
6070
6071cygwin*)
6072  # func_win32_libid is a shell function defined in ltmain.sh
6073  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6074  lt_cv_file_magic_cmd='func_win32_libid'
6075  ;;
6076
6077mingw* | pw32*)
6078  # Base MSYS/MinGW do not provide the 'file' command needed by
6079  # func_win32_libid shell function, so use a weaker test based on 'objdump',
6080  # unless we find 'file', for example because we are cross-compiling.
6081  if ( file / ) >/dev/null 2>&1; then
6082    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6083    lt_cv_file_magic_cmd='func_win32_libid'
6084  else
6085    # Keep this pattern in sync with the one in func_win32_libid.
6086    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6087    lt_cv_file_magic_cmd='$OBJDUMP -f'
6088  fi
6089  ;;
6090
6091cegcc*)
6092  # use the weaker test based on 'objdump'. See mingw*.
6093  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6094  lt_cv_file_magic_cmd='$OBJDUMP -f'
6095  ;;
6096
6097darwin* | rhapsody*)
6098  lt_cv_deplibs_check_method=pass_all
6099  ;;
6100
6101freebsd* | dragonfly*)
6102  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6103    case $host_cpu in
6104    i*86 )
6105      # Not sure whether the presence of OpenBSD here was a mistake.
6106      # Let's accept both of them until this is cleared up.
6107      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6108      lt_cv_file_magic_cmd=/usr/bin/file
6109      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6110      ;;
6111    esac
6112  else
6113    lt_cv_deplibs_check_method=pass_all
6114  fi
6115  ;;
6116
6117haiku*)
6118  lt_cv_deplibs_check_method=pass_all
6119  ;;
6120
6121hpux10.20* | hpux11*)
6122  lt_cv_file_magic_cmd=/usr/bin/file
6123  case $host_cpu in
6124  ia64*)
6125    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6126    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6127    ;;
6128  hppa*64*)
6129    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]'
6130    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6131    ;;
6132  *)
6133    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6134    lt_cv_file_magic_test_file=/usr/lib/libc.sl
6135    ;;
6136  esac
6137  ;;
6138
6139interix[3-9]*)
6140  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6141  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6142  ;;
6143
6144irix5* | irix6* | nonstopux*)
6145  case $LD in
6146  *-32|*"-32 ") libmagic=32-bit;;
6147  *-n32|*"-n32 ") libmagic=N32;;
6148  *-64|*"-64 ") libmagic=64-bit;;
6149  *) libmagic=never-match;;
6150  esac
6151  lt_cv_deplibs_check_method=pass_all
6152  ;;
6153
6154# This must be glibc/ELF.
6155linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6156  lt_cv_deplibs_check_method=pass_all
6157  ;;
6158
6159netbsd*)
6160  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6161    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6162  else
6163    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6164  fi
6165  ;;
6166
6167newos6*)
6168  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6169  lt_cv_file_magic_cmd=/usr/bin/file
6170  lt_cv_file_magic_test_file=/usr/lib/libnls.so
6171  ;;
6172
6173*nto* | *qnx*)
6174  lt_cv_deplibs_check_method=pass_all
6175  ;;
6176
6177openbsd* | bitrig*)
6178  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
6179    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6180  else
6181    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6182  fi
6183  ;;
6184
6185osf3* | osf4* | osf5*)
6186  lt_cv_deplibs_check_method=pass_all
6187  ;;
6188
6189rdos*)
6190  lt_cv_deplibs_check_method=pass_all
6191  ;;
6192
6193solaris*)
6194  lt_cv_deplibs_check_method=pass_all
6195  ;;
6196
6197sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6198  lt_cv_deplibs_check_method=pass_all
6199  ;;
6200
6201sysv4 | sysv4.3*)
6202  case $host_vendor in
6203  motorola)
6204    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]'
6205    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6206    ;;
6207  ncr)
6208    lt_cv_deplibs_check_method=pass_all
6209    ;;
6210  sequent)
6211    lt_cv_file_magic_cmd='/bin/file'
6212    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6213    ;;
6214  sni)
6215    lt_cv_file_magic_cmd='/bin/file'
6216    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6217    lt_cv_file_magic_test_file=/lib/libc.so
6218    ;;
6219  siemens)
6220    lt_cv_deplibs_check_method=pass_all
6221    ;;
6222  pc)
6223    lt_cv_deplibs_check_method=pass_all
6224    ;;
6225  esac
6226  ;;
6227
6228tpf*)
6229  lt_cv_deplibs_check_method=pass_all
6230  ;;
6231os2*)
6232  lt_cv_deplibs_check_method=pass_all
6233  ;;
6234esac
6235
6236fi
6237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6238$as_echo "$lt_cv_deplibs_check_method" >&6; }
6239
6240file_magic_glob=
6241want_nocaseglob=no
6242if test "$build" = "$host"; then
6243  case $host_os in
6244  mingw* | pw32*)
6245    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6246      want_nocaseglob=yes
6247    else
6248      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6249    fi
6250    ;;
6251  esac
6252fi
6253
6254file_magic_cmd=$lt_cv_file_magic_cmd
6255deplibs_check_method=$lt_cv_deplibs_check_method
6256test -z "$deplibs_check_method" && deplibs_check_method=unknown
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279if test -n "$ac_tool_prefix"; then
6280  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6281set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6282{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6283$as_echo_n "checking for $ac_word... " >&6; }
6284if ${ac_cv_prog_DLLTOOL+:} false; then :
6285  $as_echo_n "(cached) " >&6
6286else
6287  if test -n "$DLLTOOL"; then
6288  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6289else
6290as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291for as_dir in $PATH
6292do
6293  IFS=$as_save_IFS
6294  test -z "$as_dir" && as_dir=.
6295    for ac_exec_ext in '' $ac_executable_extensions; do
6296  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6299    break 2
6300  fi
6301done
6302  done
6303IFS=$as_save_IFS
6304
6305fi
6306fi
6307DLLTOOL=$ac_cv_prog_DLLTOOL
6308if test -n "$DLLTOOL"; then
6309  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6310$as_echo "$DLLTOOL" >&6; }
6311else
6312  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6313$as_echo "no" >&6; }
6314fi
6315
6316
6317fi
6318if test -z "$ac_cv_prog_DLLTOOL"; then
6319  ac_ct_DLLTOOL=$DLLTOOL
6320  # Extract the first word of "dlltool", so it can be a program name with args.
6321set dummy dlltool; ac_word=$2
6322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6323$as_echo_n "checking for $ac_word... " >&6; }
6324if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6325  $as_echo_n "(cached) " >&6
6326else
6327  if test -n "$ac_ct_DLLTOOL"; then
6328  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6329else
6330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6331for as_dir in $PATH
6332do
6333  IFS=$as_save_IFS
6334  test -z "$as_dir" && as_dir=.
6335    for ac_exec_ext in '' $ac_executable_extensions; do
6336  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6337    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6338    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6339    break 2
6340  fi
6341done
6342  done
6343IFS=$as_save_IFS
6344
6345fi
6346fi
6347ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6348if test -n "$ac_ct_DLLTOOL"; then
6349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6350$as_echo "$ac_ct_DLLTOOL" >&6; }
6351else
6352  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6353$as_echo "no" >&6; }
6354fi
6355
6356  if test "x$ac_ct_DLLTOOL" = x; then
6357    DLLTOOL="false"
6358  else
6359    case $cross_compiling:$ac_tool_warned in
6360yes:)
6361{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6362$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6363ac_tool_warned=yes ;;
6364esac
6365    DLLTOOL=$ac_ct_DLLTOOL
6366  fi
6367else
6368  DLLTOOL="$ac_cv_prog_DLLTOOL"
6369fi
6370
6371test -z "$DLLTOOL" && DLLTOOL=dlltool
6372
6373
6374
6375
6376
6377
6378
6379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6380$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6381if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6382  $as_echo_n "(cached) " >&6
6383else
6384  lt_cv_sharedlib_from_linklib_cmd='unknown'
6385
6386case $host_os in
6387cygwin* | mingw* | pw32* | cegcc*)
6388  # two different shell functions defined in ltmain.sh;
6389  # decide which one to use based on capabilities of $DLLTOOL
6390  case `$DLLTOOL --help 2>&1` in
6391  *--identify-strict*)
6392    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6393    ;;
6394  *)
6395    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6396    ;;
6397  esac
6398  ;;
6399*)
6400  # fallback: assume linklib IS sharedlib
6401  lt_cv_sharedlib_from_linklib_cmd=$ECHO
6402  ;;
6403esac
6404
6405fi
6406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6407$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6408sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6409test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6410
6411
6412
6413
6414
6415
6416
6417if test -n "$ac_tool_prefix"; then
6418  for ac_prog in ar
6419  do
6420    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6421set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6422{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423$as_echo_n "checking for $ac_word... " >&6; }
6424if ${ac_cv_prog_AR+:} false; then :
6425  $as_echo_n "(cached) " >&6
6426else
6427  if test -n "$AR"; then
6428  ac_cv_prog_AR="$AR" # Let the user override the test.
6429else
6430as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431for as_dir in $PATH
6432do
6433  IFS=$as_save_IFS
6434  test -z "$as_dir" && as_dir=.
6435    for ac_exec_ext in '' $ac_executable_extensions; do
6436  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6437    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6438    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6439    break 2
6440  fi
6441done
6442  done
6443IFS=$as_save_IFS
6444
6445fi
6446fi
6447AR=$ac_cv_prog_AR
6448if test -n "$AR"; then
6449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6450$as_echo "$AR" >&6; }
6451else
6452  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6453$as_echo "no" >&6; }
6454fi
6455
6456
6457    test -n "$AR" && break
6458  done
6459fi
6460if test -z "$AR"; then
6461  ac_ct_AR=$AR
6462  for ac_prog in ar
6463do
6464  # Extract the first word of "$ac_prog", so it can be a program name with args.
6465set dummy $ac_prog; ac_word=$2
6466{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467$as_echo_n "checking for $ac_word... " >&6; }
6468if ${ac_cv_prog_ac_ct_AR+:} false; then :
6469  $as_echo_n "(cached) " >&6
6470else
6471  if test -n "$ac_ct_AR"; then
6472  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6473else
6474as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475for as_dir in $PATH
6476do
6477  IFS=$as_save_IFS
6478  test -z "$as_dir" && as_dir=.
6479    for ac_exec_ext in '' $ac_executable_extensions; do
6480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481    ac_cv_prog_ac_ct_AR="$ac_prog"
6482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483    break 2
6484  fi
6485done
6486  done
6487IFS=$as_save_IFS
6488
6489fi
6490fi
6491ac_ct_AR=$ac_cv_prog_ac_ct_AR
6492if test -n "$ac_ct_AR"; then
6493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6494$as_echo "$ac_ct_AR" >&6; }
6495else
6496  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497$as_echo "no" >&6; }
6498fi
6499
6500
6501  test -n "$ac_ct_AR" && break
6502done
6503
6504  if test "x$ac_ct_AR" = x; then
6505    AR="false"
6506  else
6507    case $cross_compiling:$ac_tool_warned in
6508yes:)
6509{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6510$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6511ac_tool_warned=yes ;;
6512esac
6513    AR=$ac_ct_AR
6514  fi
6515fi
6516
6517: ${AR=ar}
6518: ${AR_FLAGS=cru}
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6531$as_echo_n "checking for archiver @FILE support... " >&6; }
6532if ${lt_cv_ar_at_file+:} false; then :
6533  $as_echo_n "(cached) " >&6
6534else
6535  lt_cv_ar_at_file=no
6536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6537/* end confdefs.h.  */
6538
6539int
6540main ()
6541{
6542
6543  ;
6544  return 0;
6545}
6546_ACEOF
6547if ac_fn_c_try_compile "$LINENO"; then :
6548  echo conftest.$ac_objext > conftest.lst
6549      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6550      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6551  (eval $lt_ar_try) 2>&5
6552  ac_status=$?
6553  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6554  test $ac_status = 0; }
6555      if test 0 -eq "$ac_status"; then
6556	# Ensure the archiver fails upon bogus file names.
6557	rm -f conftest.$ac_objext libconftest.a
6558	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6559  (eval $lt_ar_try) 2>&5
6560  ac_status=$?
6561  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6562  test $ac_status = 0; }
6563	if test 0 -ne "$ac_status"; then
6564          lt_cv_ar_at_file=@
6565        fi
6566      fi
6567      rm -f conftest.* libconftest.a
6568
6569fi
6570rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6571
6572fi
6573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6574$as_echo "$lt_cv_ar_at_file" >&6; }
6575
6576if test no = "$lt_cv_ar_at_file"; then
6577  archiver_list_spec=
6578else
6579  archiver_list_spec=$lt_cv_ar_at_file
6580fi
6581
6582
6583
6584
6585
6586
6587
6588if test -n "$ac_tool_prefix"; then
6589  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6590set dummy ${ac_tool_prefix}strip; ac_word=$2
6591{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6592$as_echo_n "checking for $ac_word... " >&6; }
6593if ${ac_cv_prog_STRIP+:} false; then :
6594  $as_echo_n "(cached) " >&6
6595else
6596  if test -n "$STRIP"; then
6597  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6598else
6599as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6600for as_dir in $PATH
6601do
6602  IFS=$as_save_IFS
6603  test -z "$as_dir" && as_dir=.
6604    for ac_exec_ext in '' $ac_executable_extensions; do
6605  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6606    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6607    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6608    break 2
6609  fi
6610done
6611  done
6612IFS=$as_save_IFS
6613
6614fi
6615fi
6616STRIP=$ac_cv_prog_STRIP
6617if test -n "$STRIP"; then
6618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6619$as_echo "$STRIP" >&6; }
6620else
6621  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6622$as_echo "no" >&6; }
6623fi
6624
6625
6626fi
6627if test -z "$ac_cv_prog_STRIP"; then
6628  ac_ct_STRIP=$STRIP
6629  # Extract the first word of "strip", so it can be a program name with args.
6630set dummy strip; ac_word=$2
6631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632$as_echo_n "checking for $ac_word... " >&6; }
6633if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6634  $as_echo_n "(cached) " >&6
6635else
6636  if test -n "$ac_ct_STRIP"; then
6637  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6638else
6639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640for as_dir in $PATH
6641do
6642  IFS=$as_save_IFS
6643  test -z "$as_dir" && as_dir=.
6644    for ac_exec_ext in '' $ac_executable_extensions; do
6645  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6646    ac_cv_prog_ac_ct_STRIP="strip"
6647    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648    break 2
6649  fi
6650done
6651  done
6652IFS=$as_save_IFS
6653
6654fi
6655fi
6656ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6657if test -n "$ac_ct_STRIP"; then
6658  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6659$as_echo "$ac_ct_STRIP" >&6; }
6660else
6661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662$as_echo "no" >&6; }
6663fi
6664
6665  if test "x$ac_ct_STRIP" = x; then
6666    STRIP=":"
6667  else
6668    case $cross_compiling:$ac_tool_warned in
6669yes:)
6670{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6671$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6672ac_tool_warned=yes ;;
6673esac
6674    STRIP=$ac_ct_STRIP
6675  fi
6676else
6677  STRIP="$ac_cv_prog_STRIP"
6678fi
6679
6680test -z "$STRIP" && STRIP=:
6681
6682
6683
6684
6685
6686
6687if test -n "$ac_tool_prefix"; then
6688  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6689set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691$as_echo_n "checking for $ac_word... " >&6; }
6692if ${ac_cv_prog_RANLIB+:} false; then :
6693  $as_echo_n "(cached) " >&6
6694else
6695  if test -n "$RANLIB"; then
6696  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6697else
6698as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699for as_dir in $PATH
6700do
6701  IFS=$as_save_IFS
6702  test -z "$as_dir" && as_dir=.
6703    for ac_exec_ext in '' $ac_executable_extensions; do
6704  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6706    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707    break 2
6708  fi
6709done
6710  done
6711IFS=$as_save_IFS
6712
6713fi
6714fi
6715RANLIB=$ac_cv_prog_RANLIB
6716if test -n "$RANLIB"; then
6717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6718$as_echo "$RANLIB" >&6; }
6719else
6720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721$as_echo "no" >&6; }
6722fi
6723
6724
6725fi
6726if test -z "$ac_cv_prog_RANLIB"; then
6727  ac_ct_RANLIB=$RANLIB
6728  # Extract the first word of "ranlib", so it can be a program name with args.
6729set dummy ranlib; ac_word=$2
6730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6731$as_echo_n "checking for $ac_word... " >&6; }
6732if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6733  $as_echo_n "(cached) " >&6
6734else
6735  if test -n "$ac_ct_RANLIB"; then
6736  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6737else
6738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6739for as_dir in $PATH
6740do
6741  IFS=$as_save_IFS
6742  test -z "$as_dir" && as_dir=.
6743    for ac_exec_ext in '' $ac_executable_extensions; do
6744  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6745    ac_cv_prog_ac_ct_RANLIB="ranlib"
6746    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6747    break 2
6748  fi
6749done
6750  done
6751IFS=$as_save_IFS
6752
6753fi
6754fi
6755ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6756if test -n "$ac_ct_RANLIB"; then
6757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6758$as_echo "$ac_ct_RANLIB" >&6; }
6759else
6760  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761$as_echo "no" >&6; }
6762fi
6763
6764  if test "x$ac_ct_RANLIB" = x; then
6765    RANLIB=":"
6766  else
6767    case $cross_compiling:$ac_tool_warned in
6768yes:)
6769{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6770$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6771ac_tool_warned=yes ;;
6772esac
6773    RANLIB=$ac_ct_RANLIB
6774  fi
6775else
6776  RANLIB="$ac_cv_prog_RANLIB"
6777fi
6778
6779test -z "$RANLIB" && RANLIB=:
6780
6781
6782
6783
6784
6785
6786# Determine commands to create old-style static archives.
6787old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6788old_postinstall_cmds='chmod 644 $oldlib'
6789old_postuninstall_cmds=
6790
6791if test -n "$RANLIB"; then
6792  case $host_os in
6793  bitrig* | openbsd*)
6794    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6795    ;;
6796  *)
6797    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6798    ;;
6799  esac
6800  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6801fi
6802
6803case $host_os in
6804  darwin*)
6805    lock_old_archive_extraction=yes ;;
6806  *)
6807    lock_old_archive_extraction=no ;;
6808esac
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848# If no C compiler was specified, use CC.
6849LTCC=${LTCC-"$CC"}
6850
6851# If no C compiler flags were specified, use CFLAGS.
6852LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6853
6854# Allow CC to be a program name with arguments.
6855compiler=$CC
6856
6857
6858# Check for command to grab the raw symbol name followed by C symbol from nm.
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6860$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6861if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6862  $as_echo_n "(cached) " >&6
6863else
6864
6865# These are sane defaults that work on at least a few old systems.
6866# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
6867
6868# Character class describing NM global symbol codes.
6869symcode='[BCDEGRST]'
6870
6871# Regexp to match symbols that can be accessed directly from C.
6872sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6873
6874# Define system-specific variables.
6875case $host_os in
6876aix*)
6877  symcode='[BCDT]'
6878  ;;
6879cygwin* | mingw* | pw32* | cegcc*)
6880  symcode='[ABCDGISTW]'
6881  ;;
6882hpux*)
6883  if test ia64 = "$host_cpu"; then
6884    symcode='[ABCDEGRST]'
6885  fi
6886  ;;
6887irix* | nonstopux*)
6888  symcode='[BCDEGRST]'
6889  ;;
6890osf*)
6891  symcode='[BCDEGQRST]'
6892  ;;
6893solaris*)
6894  symcode='[BDRT]'
6895  ;;
6896sco3.2v5*)
6897  symcode='[DT]'
6898  ;;
6899sysv4.2uw2*)
6900  symcode='[DT]'
6901  ;;
6902sysv5* | sco5v6* | unixware* | OpenUNIX*)
6903  symcode='[ABDT]'
6904  ;;
6905sysv4)
6906  symcode='[DFNSTU]'
6907  ;;
6908esac
6909
6910# If we're using GNU nm, then use its standard symbol codes.
6911case `$NM -V 2>&1` in
6912*GNU* | *'with BFD'*)
6913  symcode='[ABCDGIRSTW]' ;;
6914esac
6915
6916if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6917  # Gets list of data symbols to import.
6918  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6919  # Adjust the below global symbol transforms to fixup imported variables.
6920  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6921  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6922  lt_c_name_lib_hook="\
6923  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6924  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6925else
6926  # Disable hooks by default.
6927  lt_cv_sys_global_symbol_to_import=
6928  lt_cdecl_hook=
6929  lt_c_name_hook=
6930  lt_c_name_lib_hook=
6931fi
6932
6933# Transform an extracted symbol line into a proper C declaration.
6934# Some systems (esp. on ia64) link data and code symbols differently,
6935# so use this general approach.
6936lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6937$lt_cdecl_hook\
6938" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6939" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6940
6941# Transform an extracted symbol line into symbol name and symbol address
6942lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6943$lt_c_name_hook\
6944" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6945" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6946
6947# Transform an extracted symbol line into symbol name with lib prefix and
6948# symbol address.
6949lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6950$lt_c_name_lib_hook\
6951" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6952" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6953" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6954
6955# Handle CRLF in mingw tool chain
6956opt_cr=
6957case $build_os in
6958mingw*)
6959  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6960  ;;
6961esac
6962
6963# Try without a prefix underscore, then with it.
6964for ac_symprfx in "" "_"; do
6965
6966  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6967  symxfrm="\\1 $ac_symprfx\\2 \\2"
6968
6969  # Write the raw and C identifiers.
6970  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6971    # Fake it for dumpbin and say T for any non-static function,
6972    # D for any global variable and I for any imported variable.
6973    # Also find C++ and __fastcall symbols from MSVC++,
6974    # which start with @ or ?.
6975    lt_cv_sys_global_symbol_pipe="$AWK '"\
6976"     {last_section=section; section=\$ 3};"\
6977"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6978"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6979"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6980"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6981"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6982"     \$ 0!~/External *\|/{next};"\
6983"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6984"     {if(hide[section]) next};"\
6985"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6986"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6987"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6988"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6989"     ' prfx=^$ac_symprfx"
6990  else
6991    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6992  fi
6993  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6994
6995  # Check to see that the pipe works correctly.
6996  pipe_works=no
6997
6998  rm -f conftest*
6999  cat > conftest.$ac_ext <<_LT_EOF
7000#ifdef __cplusplus
7001extern "C" {
7002#endif
7003char nm_test_var;
7004void nm_test_func(void);
7005void nm_test_func(void){}
7006#ifdef __cplusplus
7007}
7008#endif
7009int main(){nm_test_var='a';nm_test_func();return(0);}
7010_LT_EOF
7011
7012  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7013  (eval $ac_compile) 2>&5
7014  ac_status=$?
7015  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7016  test $ac_status = 0; }; then
7017    # Now try to grab the symbols.
7018    nlist=conftest.nm
7019    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7020  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7021  ac_status=$?
7022  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7023  test $ac_status = 0; } && test -s "$nlist"; then
7024      # Try sorting and uniquifying the output.
7025      if sort "$nlist" | uniq > "$nlist"T; then
7026	mv -f "$nlist"T "$nlist"
7027      else
7028	rm -f "$nlist"T
7029      fi
7030
7031      # Make sure that we snagged all the symbols we need.
7032      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7033	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7034	  cat <<_LT_EOF > conftest.$ac_ext
7035/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
7036#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
7037/* DATA imports from DLLs on WIN32 can't be const, because runtime
7038   relocations are performed -- see ld's documentation on pseudo-relocs.  */
7039# define LT_DLSYM_CONST
7040#elif defined __osf__
7041/* This system does not cope well with relocations in const data.  */
7042# define LT_DLSYM_CONST
7043#else
7044# define LT_DLSYM_CONST const
7045#endif
7046
7047#ifdef __cplusplus
7048extern "C" {
7049#endif
7050
7051_LT_EOF
7052	  # Now generate the symbol file.
7053	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7054
7055	  cat <<_LT_EOF >> conftest.$ac_ext
7056
7057/* The mapping between symbol names and symbols.  */
7058LT_DLSYM_CONST struct {
7059  const char *name;
7060  void       *address;
7061}
7062lt__PROGRAM__LTX_preloaded_symbols[] =
7063{
7064  { "@PROGRAM@", (void *) 0 },
7065_LT_EOF
7066	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7067	  cat <<\_LT_EOF >> conftest.$ac_ext
7068  {0, (void *) 0}
7069};
7070
7071/* This works around a problem in FreeBSD linker */
7072#ifdef FREEBSD_WORKAROUND
7073static const void *lt_preloaded_setup() {
7074  return lt__PROGRAM__LTX_preloaded_symbols;
7075}
7076#endif
7077
7078#ifdef __cplusplus
7079}
7080#endif
7081_LT_EOF
7082	  # Now try linking the two files.
7083	  mv conftest.$ac_objext conftstm.$ac_objext
7084	  lt_globsym_save_LIBS=$LIBS
7085	  lt_globsym_save_CFLAGS=$CFLAGS
7086	  LIBS=conftstm.$ac_objext
7087	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7088	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7089  (eval $ac_link) 2>&5
7090  ac_status=$?
7091  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7092  test $ac_status = 0; } && test -s conftest$ac_exeext; then
7093	    pipe_works=yes
7094	  fi
7095	  LIBS=$lt_globsym_save_LIBS
7096	  CFLAGS=$lt_globsym_save_CFLAGS
7097	else
7098	  echo "cannot find nm_test_func in $nlist" >&5
7099	fi
7100      else
7101	echo "cannot find nm_test_var in $nlist" >&5
7102      fi
7103    else
7104      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7105    fi
7106  else
7107    echo "$progname: failed program was:" >&5
7108    cat conftest.$ac_ext >&5
7109  fi
7110  rm -rf conftest* conftst*
7111
7112  # Do not use the global_symbol_pipe unless it works.
7113  if test yes = "$pipe_works"; then
7114    break
7115  else
7116    lt_cv_sys_global_symbol_pipe=
7117  fi
7118done
7119
7120fi
7121
7122if test -z "$lt_cv_sys_global_symbol_pipe"; then
7123  lt_cv_sys_global_symbol_to_cdecl=
7124fi
7125if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7127$as_echo "failed" >&6; }
7128else
7129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7130$as_echo "ok" >&6; }
7131fi
7132
7133# Response file support.
7134if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7135  nm_file_list_spec='@'
7136elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7137  nm_file_list_spec='@'
7138fi
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7177$as_echo_n "checking for sysroot... " >&6; }
7178
7179# Check whether --with-sysroot was given.
7180if test "${with_sysroot+set}" = set; then :
7181  withval=$with_sysroot;
7182else
7183  with_sysroot=no
7184fi
7185
7186
7187lt_sysroot=
7188case $with_sysroot in #(
7189 yes)
7190   if test yes = "$GCC"; then
7191     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7192   fi
7193   ;; #(
7194 /*)
7195   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7196   ;; #(
7197 no|'')
7198   ;; #(
7199 *)
7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
7201$as_echo "$with_sysroot" >&6; }
7202   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7203   ;;
7204esac
7205
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7207$as_echo "${lt_sysroot:-no}" >&6; }
7208
7209
7210
7211
7212
7213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
7214$as_echo_n "checking for a working dd... " >&6; }
7215if ${ac_cv_path_lt_DD+:} false; then :
7216  $as_echo_n "(cached) " >&6
7217else
7218  printf 0123456789abcdef0123456789abcdef >conftest.i
7219cat conftest.i conftest.i >conftest2.i
7220: ${lt_DD:=$DD}
7221if test -z "$lt_DD"; then
7222  ac_path_lt_DD_found=false
7223  # Loop through the user's path and test for each of PROGNAME-LIST
7224  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7225for as_dir in $PATH
7226do
7227  IFS=$as_save_IFS
7228  test -z "$as_dir" && as_dir=.
7229    for ac_prog in dd; do
7230    for ac_exec_ext in '' $ac_executable_extensions; do
7231      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
7232      as_fn_executable_p "$ac_path_lt_DD" || continue
7233if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7234  cmp -s conftest.i conftest.out \
7235  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
7236fi
7237      $ac_path_lt_DD_found && break 3
7238    done
7239  done
7240  done
7241IFS=$as_save_IFS
7242  if test -z "$ac_cv_path_lt_DD"; then
7243    :
7244  fi
7245else
7246  ac_cv_path_lt_DD=$lt_DD
7247fi
7248
7249rm -f conftest.i conftest2.i conftest.out
7250fi
7251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
7252$as_echo "$ac_cv_path_lt_DD" >&6; }
7253
7254
7255{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
7256$as_echo_n "checking how to truncate binary pipes... " >&6; }
7257if ${lt_cv_truncate_bin+:} false; then :
7258  $as_echo_n "(cached) " >&6
7259else
7260  printf 0123456789abcdef0123456789abcdef >conftest.i
7261cat conftest.i conftest.i >conftest2.i
7262lt_cv_truncate_bin=
7263if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
7264  cmp -s conftest.i conftest.out \
7265  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
7266fi
7267rm -f conftest.i conftest2.i conftest.out
7268test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
7269fi
7270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
7271$as_echo "$lt_cv_truncate_bin" >&6; }
7272
7273
7274
7275
7276
7277
7278
7279# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
7280func_cc_basename ()
7281{
7282    for cc_temp in $*""; do
7283      case $cc_temp in
7284        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7285        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7286        \-*) ;;
7287        *) break;;
7288      esac
7289    done
7290    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
7291}
7292
7293# Check whether --enable-libtool-lock was given.
7294if test "${enable_libtool_lock+set}" = set; then :
7295  enableval=$enable_libtool_lock;
7296fi
7297
7298test no = "$enable_libtool_lock" || enable_libtool_lock=yes
7299
7300# Some flags need to be propagated to the compiler or linker for good
7301# libtool support.
7302case $host in
7303ia64-*-hpux*)
7304  # Find out what ABI is being produced by ac_compile, and set mode
7305  # options accordingly.
7306  echo 'int i;' > conftest.$ac_ext
7307  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7308  (eval $ac_compile) 2>&5
7309  ac_status=$?
7310  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7311  test $ac_status = 0; }; then
7312    case `/usr/bin/file conftest.$ac_objext` in
7313      *ELF-32*)
7314	HPUX_IA64_MODE=32
7315	;;
7316      *ELF-64*)
7317	HPUX_IA64_MODE=64
7318	;;
7319    esac
7320  fi
7321  rm -rf conftest*
7322  ;;
7323*-*-irix6*)
7324  # Find out what ABI is being produced by ac_compile, and set linker
7325  # options accordingly.
7326  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7327  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7328  (eval $ac_compile) 2>&5
7329  ac_status=$?
7330  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7331  test $ac_status = 0; }; then
7332    if test yes = "$lt_cv_prog_gnu_ld"; then
7333      case `/usr/bin/file conftest.$ac_objext` in
7334	*32-bit*)
7335	  LD="${LD-ld} -melf32bsmip"
7336	  ;;
7337	*N32*)
7338	  LD="${LD-ld} -melf32bmipn32"
7339	  ;;
7340	*64-bit*)
7341	  LD="${LD-ld} -melf64bmip"
7342	;;
7343      esac
7344    else
7345      case `/usr/bin/file conftest.$ac_objext` in
7346	*32-bit*)
7347	  LD="${LD-ld} -32"
7348	  ;;
7349	*N32*)
7350	  LD="${LD-ld} -n32"
7351	  ;;
7352	*64-bit*)
7353	  LD="${LD-ld} -64"
7354	  ;;
7355      esac
7356    fi
7357  fi
7358  rm -rf conftest*
7359  ;;
7360
7361mips64*-*linux*)
7362  # Find out what ABI is being produced by ac_compile, and set linker
7363  # options accordingly.
7364  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7365  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7366  (eval $ac_compile) 2>&5
7367  ac_status=$?
7368  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7369  test $ac_status = 0; }; then
7370    emul=elf
7371    case `/usr/bin/file conftest.$ac_objext` in
7372      *32-bit*)
7373	emul="${emul}32"
7374	;;
7375      *64-bit*)
7376	emul="${emul}64"
7377	;;
7378    esac
7379    case `/usr/bin/file conftest.$ac_objext` in
7380      *MSB*)
7381	emul="${emul}btsmip"
7382	;;
7383      *LSB*)
7384	emul="${emul}ltsmip"
7385	;;
7386    esac
7387    case `/usr/bin/file conftest.$ac_objext` in
7388      *N32*)
7389	emul="${emul}n32"
7390	;;
7391    esac
7392    LD="${LD-ld} -m $emul"
7393  fi
7394  rm -rf conftest*
7395  ;;
7396
7397x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7398s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7399  # Find out what ABI is being produced by ac_compile, and set linker
7400  # options accordingly.  Note that the listed cases only cover the
7401  # situations where additional linker options are needed (such as when
7402  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
7403  # vice versa); the common cases where no linker options are needed do
7404  # not appear in the list.
7405  echo 'int i;' > conftest.$ac_ext
7406  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7407  (eval $ac_compile) 2>&5
7408  ac_status=$?
7409  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7410  test $ac_status = 0; }; then
7411    case `/usr/bin/file conftest.o` in
7412      *32-bit*)
7413	case $host in
7414	  x86_64-*kfreebsd*-gnu)
7415	    LD="${LD-ld} -m elf_i386_fbsd"
7416	    ;;
7417	  x86_64-*linux*)
7418	    case `/usr/bin/file conftest.o` in
7419	      *x86-64*)
7420		LD="${LD-ld} -m elf32_x86_64"
7421		;;
7422	      *)
7423		LD="${LD-ld} -m elf_i386"
7424		;;
7425	    esac
7426	    ;;
7427	  powerpc64le-*linux*)
7428	    LD="${LD-ld} -m elf32lppclinux"
7429	    ;;
7430	  powerpc64-*linux*)
7431	    LD="${LD-ld} -m elf32ppclinux"
7432	    ;;
7433	  s390x-*linux*)
7434	    LD="${LD-ld} -m elf_s390"
7435	    ;;
7436	  sparc64-*linux*)
7437	    LD="${LD-ld} -m elf32_sparc"
7438	    ;;
7439	esac
7440	;;
7441      *64-bit*)
7442	case $host in
7443	  x86_64-*kfreebsd*-gnu)
7444	    LD="${LD-ld} -m elf_x86_64_fbsd"
7445	    ;;
7446	  x86_64-*linux*)
7447	    LD="${LD-ld} -m elf_x86_64"
7448	    ;;
7449	  powerpcle-*linux*)
7450	    LD="${LD-ld} -m elf64lppc"
7451	    ;;
7452	  powerpc-*linux*)
7453	    LD="${LD-ld} -m elf64ppc"
7454	    ;;
7455	  s390*-*linux*|s390*-*tpf*)
7456	    LD="${LD-ld} -m elf64_s390"
7457	    ;;
7458	  sparc*-*linux*)
7459	    LD="${LD-ld} -m elf64_sparc"
7460	    ;;
7461	esac
7462	;;
7463    esac
7464  fi
7465  rm -rf conftest*
7466  ;;
7467
7468*-*-sco3.2v5*)
7469  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7470  SAVE_CFLAGS=$CFLAGS
7471  CFLAGS="$CFLAGS -belf"
7472  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7473$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7474if ${lt_cv_cc_needs_belf+:} false; then :
7475  $as_echo_n "(cached) " >&6
7476else
7477  ac_ext=c
7478ac_cpp='$CPP $CPPFLAGS'
7479ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7480ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7481ac_compiler_gnu=$ac_cv_c_compiler_gnu
7482
7483     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7484/* end confdefs.h.  */
7485
7486int
7487main ()
7488{
7489
7490  ;
7491  return 0;
7492}
7493_ACEOF
7494if ac_fn_c_try_link "$LINENO"; then :
7495  lt_cv_cc_needs_belf=yes
7496else
7497  lt_cv_cc_needs_belf=no
7498fi
7499rm -f core conftest.err conftest.$ac_objext \
7500    conftest$ac_exeext conftest.$ac_ext
7501     ac_ext=c
7502ac_cpp='$CPP $CPPFLAGS'
7503ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7504ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7505ac_compiler_gnu=$ac_cv_c_compiler_gnu
7506
7507fi
7508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7509$as_echo "$lt_cv_cc_needs_belf" >&6; }
7510  if test yes != "$lt_cv_cc_needs_belf"; then
7511    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7512    CFLAGS=$SAVE_CFLAGS
7513  fi
7514  ;;
7515*-*solaris*)
7516  # Find out what ABI is being produced by ac_compile, and set linker
7517  # options accordingly.
7518  echo 'int i;' > conftest.$ac_ext
7519  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7520  (eval $ac_compile) 2>&5
7521  ac_status=$?
7522  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7523  test $ac_status = 0; }; then
7524    case `/usr/bin/file conftest.o` in
7525    *64-bit*)
7526      case $lt_cv_prog_gnu_ld in
7527      yes*)
7528        case $host in
7529        i?86-*-solaris*|x86_64-*-solaris*)
7530          LD="${LD-ld} -m elf_x86_64"
7531          ;;
7532        sparc*-*-solaris*)
7533          LD="${LD-ld} -m elf64_sparc"
7534          ;;
7535        esac
7536        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
7537        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7538          LD=${LD-ld}_sol2
7539        fi
7540        ;;
7541      *)
7542	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7543	  LD="${LD-ld} -64"
7544	fi
7545	;;
7546      esac
7547      ;;
7548    esac
7549  fi
7550  rm -rf conftest*
7551  ;;
7552esac
7553
7554need_locks=$enable_libtool_lock
7555
7556if test -n "$ac_tool_prefix"; then
7557  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7558set dummy ${ac_tool_prefix}mt; ac_word=$2
7559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560$as_echo_n "checking for $ac_word... " >&6; }
7561if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7562  $as_echo_n "(cached) " >&6
7563else
7564  if test -n "$MANIFEST_TOOL"; then
7565  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7566else
7567as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568for as_dir in $PATH
7569do
7570  IFS=$as_save_IFS
7571  test -z "$as_dir" && as_dir=.
7572    for ac_exec_ext in '' $ac_executable_extensions; do
7573  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576    break 2
7577  fi
7578done
7579  done
7580IFS=$as_save_IFS
7581
7582fi
7583fi
7584MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7585if test -n "$MANIFEST_TOOL"; then
7586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7587$as_echo "$MANIFEST_TOOL" >&6; }
7588else
7589  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590$as_echo "no" >&6; }
7591fi
7592
7593
7594fi
7595if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7596  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7597  # Extract the first word of "mt", so it can be a program name with args.
7598set dummy mt; ac_word=$2
7599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600$as_echo_n "checking for $ac_word... " >&6; }
7601if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7602  $as_echo_n "(cached) " >&6
7603else
7604  if test -n "$ac_ct_MANIFEST_TOOL"; then
7605  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7606else
7607as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608for as_dir in $PATH
7609do
7610  IFS=$as_save_IFS
7611  test -z "$as_dir" && as_dir=.
7612    for ac_exec_ext in '' $ac_executable_extensions; do
7613  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7614    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7615    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616    break 2
7617  fi
7618done
7619  done
7620IFS=$as_save_IFS
7621
7622fi
7623fi
7624ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7625if test -n "$ac_ct_MANIFEST_TOOL"; then
7626  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7627$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7628else
7629  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630$as_echo "no" >&6; }
7631fi
7632
7633  if test "x$ac_ct_MANIFEST_TOOL" = x; then
7634    MANIFEST_TOOL=":"
7635  else
7636    case $cross_compiling:$ac_tool_warned in
7637yes:)
7638{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640ac_tool_warned=yes ;;
7641esac
7642    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7643  fi
7644else
7645  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7646fi
7647
7648test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7650$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7651if ${lt_cv_path_mainfest_tool+:} false; then :
7652  $as_echo_n "(cached) " >&6
7653else
7654  lt_cv_path_mainfest_tool=no
7655  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7656  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7657  cat conftest.err >&5
7658  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7659    lt_cv_path_mainfest_tool=yes
7660  fi
7661  rm -f conftest*
7662fi
7663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7664$as_echo "$lt_cv_path_mainfest_tool" >&6; }
7665if test yes != "$lt_cv_path_mainfest_tool"; then
7666  MANIFEST_TOOL=:
7667fi
7668
7669
7670
7671
7672
7673
7674  case $host_os in
7675    rhapsody* | darwin*)
7676    if test -n "$ac_tool_prefix"; then
7677  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7678set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7680$as_echo_n "checking for $ac_word... " >&6; }
7681if ${ac_cv_prog_DSYMUTIL+:} false; then :
7682  $as_echo_n "(cached) " >&6
7683else
7684  if test -n "$DSYMUTIL"; then
7685  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7686else
7687as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688for as_dir in $PATH
7689do
7690  IFS=$as_save_IFS
7691  test -z "$as_dir" && as_dir=.
7692    for ac_exec_ext in '' $ac_executable_extensions; do
7693  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7694    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7695    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7696    break 2
7697  fi
7698done
7699  done
7700IFS=$as_save_IFS
7701
7702fi
7703fi
7704DSYMUTIL=$ac_cv_prog_DSYMUTIL
7705if test -n "$DSYMUTIL"; then
7706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7707$as_echo "$DSYMUTIL" >&6; }
7708else
7709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710$as_echo "no" >&6; }
7711fi
7712
7713
7714fi
7715if test -z "$ac_cv_prog_DSYMUTIL"; then
7716  ac_ct_DSYMUTIL=$DSYMUTIL
7717  # Extract the first word of "dsymutil", so it can be a program name with args.
7718set dummy dsymutil; ac_word=$2
7719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720$as_echo_n "checking for $ac_word... " >&6; }
7721if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7722  $as_echo_n "(cached) " >&6
7723else
7724  if test -n "$ac_ct_DSYMUTIL"; then
7725  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7726else
7727as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7728for as_dir in $PATH
7729do
7730  IFS=$as_save_IFS
7731  test -z "$as_dir" && as_dir=.
7732    for ac_exec_ext in '' $ac_executable_extensions; do
7733  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7734    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7736    break 2
7737  fi
7738done
7739  done
7740IFS=$as_save_IFS
7741
7742fi
7743fi
7744ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7745if test -n "$ac_ct_DSYMUTIL"; then
7746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7747$as_echo "$ac_ct_DSYMUTIL" >&6; }
7748else
7749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7750$as_echo "no" >&6; }
7751fi
7752
7753  if test "x$ac_ct_DSYMUTIL" = x; then
7754    DSYMUTIL=":"
7755  else
7756    case $cross_compiling:$ac_tool_warned in
7757yes:)
7758{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7759$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7760ac_tool_warned=yes ;;
7761esac
7762    DSYMUTIL=$ac_ct_DSYMUTIL
7763  fi
7764else
7765  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7766fi
7767
7768    if test -n "$ac_tool_prefix"; then
7769  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7770set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7772$as_echo_n "checking for $ac_word... " >&6; }
7773if ${ac_cv_prog_NMEDIT+:} false; then :
7774  $as_echo_n "(cached) " >&6
7775else
7776  if test -n "$NMEDIT"; then
7777  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7778else
7779as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7780for as_dir in $PATH
7781do
7782  IFS=$as_save_IFS
7783  test -z "$as_dir" && as_dir=.
7784    for ac_exec_ext in '' $ac_executable_extensions; do
7785  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7786    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7787    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7788    break 2
7789  fi
7790done
7791  done
7792IFS=$as_save_IFS
7793
7794fi
7795fi
7796NMEDIT=$ac_cv_prog_NMEDIT
7797if test -n "$NMEDIT"; then
7798  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7799$as_echo "$NMEDIT" >&6; }
7800else
7801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7802$as_echo "no" >&6; }
7803fi
7804
7805
7806fi
7807if test -z "$ac_cv_prog_NMEDIT"; then
7808  ac_ct_NMEDIT=$NMEDIT
7809  # Extract the first word of "nmedit", so it can be a program name with args.
7810set dummy nmedit; ac_word=$2
7811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7812$as_echo_n "checking for $ac_word... " >&6; }
7813if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7814  $as_echo_n "(cached) " >&6
7815else
7816  if test -n "$ac_ct_NMEDIT"; then
7817  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7818else
7819as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7820for as_dir in $PATH
7821do
7822  IFS=$as_save_IFS
7823  test -z "$as_dir" && as_dir=.
7824    for ac_exec_ext in '' $ac_executable_extensions; do
7825  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7826    ac_cv_prog_ac_ct_NMEDIT="nmedit"
7827    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7828    break 2
7829  fi
7830done
7831  done
7832IFS=$as_save_IFS
7833
7834fi
7835fi
7836ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7837if test -n "$ac_ct_NMEDIT"; then
7838  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7839$as_echo "$ac_ct_NMEDIT" >&6; }
7840else
7841  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7842$as_echo "no" >&6; }
7843fi
7844
7845  if test "x$ac_ct_NMEDIT" = x; then
7846    NMEDIT=":"
7847  else
7848    case $cross_compiling:$ac_tool_warned in
7849yes:)
7850{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7851$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7852ac_tool_warned=yes ;;
7853esac
7854    NMEDIT=$ac_ct_NMEDIT
7855  fi
7856else
7857  NMEDIT="$ac_cv_prog_NMEDIT"
7858fi
7859
7860    if test -n "$ac_tool_prefix"; then
7861  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7862set dummy ${ac_tool_prefix}lipo; ac_word=$2
7863{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864$as_echo_n "checking for $ac_word... " >&6; }
7865if ${ac_cv_prog_LIPO+:} false; then :
7866  $as_echo_n "(cached) " >&6
7867else
7868  if test -n "$LIPO"; then
7869  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7870else
7871as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7872for as_dir in $PATH
7873do
7874  IFS=$as_save_IFS
7875  test -z "$as_dir" && as_dir=.
7876    for ac_exec_ext in '' $ac_executable_extensions; do
7877  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7879    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880    break 2
7881  fi
7882done
7883  done
7884IFS=$as_save_IFS
7885
7886fi
7887fi
7888LIPO=$ac_cv_prog_LIPO
7889if test -n "$LIPO"; then
7890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7891$as_echo "$LIPO" >&6; }
7892else
7893  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894$as_echo "no" >&6; }
7895fi
7896
7897
7898fi
7899if test -z "$ac_cv_prog_LIPO"; then
7900  ac_ct_LIPO=$LIPO
7901  # Extract the first word of "lipo", so it can be a program name with args.
7902set dummy lipo; ac_word=$2
7903{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904$as_echo_n "checking for $ac_word... " >&6; }
7905if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7906  $as_echo_n "(cached) " >&6
7907else
7908  if test -n "$ac_ct_LIPO"; then
7909  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7910else
7911as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912for as_dir in $PATH
7913do
7914  IFS=$as_save_IFS
7915  test -z "$as_dir" && as_dir=.
7916    for ac_exec_ext in '' $ac_executable_extensions; do
7917  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918    ac_cv_prog_ac_ct_LIPO="lipo"
7919    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920    break 2
7921  fi
7922done
7923  done
7924IFS=$as_save_IFS
7925
7926fi
7927fi
7928ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7929if test -n "$ac_ct_LIPO"; then
7930  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7931$as_echo "$ac_ct_LIPO" >&6; }
7932else
7933  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934$as_echo "no" >&6; }
7935fi
7936
7937  if test "x$ac_ct_LIPO" = x; then
7938    LIPO=":"
7939  else
7940    case $cross_compiling:$ac_tool_warned in
7941yes:)
7942{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7943$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7944ac_tool_warned=yes ;;
7945esac
7946    LIPO=$ac_ct_LIPO
7947  fi
7948else
7949  LIPO="$ac_cv_prog_LIPO"
7950fi
7951
7952    if test -n "$ac_tool_prefix"; then
7953  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7954set dummy ${ac_tool_prefix}otool; ac_word=$2
7955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956$as_echo_n "checking for $ac_word... " >&6; }
7957if ${ac_cv_prog_OTOOL+:} false; then :
7958  $as_echo_n "(cached) " >&6
7959else
7960  if test -n "$OTOOL"; then
7961  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7962else
7963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964for as_dir in $PATH
7965do
7966  IFS=$as_save_IFS
7967  test -z "$as_dir" && as_dir=.
7968    for ac_exec_ext in '' $ac_executable_extensions; do
7969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7970    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7972    break 2
7973  fi
7974done
7975  done
7976IFS=$as_save_IFS
7977
7978fi
7979fi
7980OTOOL=$ac_cv_prog_OTOOL
7981if test -n "$OTOOL"; then
7982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7983$as_echo "$OTOOL" >&6; }
7984else
7985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7986$as_echo "no" >&6; }
7987fi
7988
7989
7990fi
7991if test -z "$ac_cv_prog_OTOOL"; then
7992  ac_ct_OTOOL=$OTOOL
7993  # Extract the first word of "otool", so it can be a program name with args.
7994set dummy otool; ac_word=$2
7995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996$as_echo_n "checking for $ac_word... " >&6; }
7997if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7998  $as_echo_n "(cached) " >&6
7999else
8000  if test -n "$ac_ct_OTOOL"; then
8001  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8002else
8003as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004for as_dir in $PATH
8005do
8006  IFS=$as_save_IFS
8007  test -z "$as_dir" && as_dir=.
8008    for ac_exec_ext in '' $ac_executable_extensions; do
8009  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010    ac_cv_prog_ac_ct_OTOOL="otool"
8011    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012    break 2
8013  fi
8014done
8015  done
8016IFS=$as_save_IFS
8017
8018fi
8019fi
8020ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8021if test -n "$ac_ct_OTOOL"; then
8022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8023$as_echo "$ac_ct_OTOOL" >&6; }
8024else
8025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026$as_echo "no" >&6; }
8027fi
8028
8029  if test "x$ac_ct_OTOOL" = x; then
8030    OTOOL=":"
8031  else
8032    case $cross_compiling:$ac_tool_warned in
8033yes:)
8034{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8035$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8036ac_tool_warned=yes ;;
8037esac
8038    OTOOL=$ac_ct_OTOOL
8039  fi
8040else
8041  OTOOL="$ac_cv_prog_OTOOL"
8042fi
8043
8044    if test -n "$ac_tool_prefix"; then
8045  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8046set dummy ${ac_tool_prefix}otool64; ac_word=$2
8047{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8048$as_echo_n "checking for $ac_word... " >&6; }
8049if ${ac_cv_prog_OTOOL64+:} false; then :
8050  $as_echo_n "(cached) " >&6
8051else
8052  if test -n "$OTOOL64"; then
8053  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8054else
8055as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8056for as_dir in $PATH
8057do
8058  IFS=$as_save_IFS
8059  test -z "$as_dir" && as_dir=.
8060    for ac_exec_ext in '' $ac_executable_extensions; do
8061  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8062    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8063    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8064    break 2
8065  fi
8066done
8067  done
8068IFS=$as_save_IFS
8069
8070fi
8071fi
8072OTOOL64=$ac_cv_prog_OTOOL64
8073if test -n "$OTOOL64"; then
8074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8075$as_echo "$OTOOL64" >&6; }
8076else
8077  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8078$as_echo "no" >&6; }
8079fi
8080
8081
8082fi
8083if test -z "$ac_cv_prog_OTOOL64"; then
8084  ac_ct_OTOOL64=$OTOOL64
8085  # Extract the first word of "otool64", so it can be a program name with args.
8086set dummy otool64; ac_word=$2
8087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8088$as_echo_n "checking for $ac_word... " >&6; }
8089if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8090  $as_echo_n "(cached) " >&6
8091else
8092  if test -n "$ac_ct_OTOOL64"; then
8093  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8094else
8095as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8096for as_dir in $PATH
8097do
8098  IFS=$as_save_IFS
8099  test -z "$as_dir" && as_dir=.
8100    for ac_exec_ext in '' $ac_executable_extensions; do
8101  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8102    ac_cv_prog_ac_ct_OTOOL64="otool64"
8103    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8104    break 2
8105  fi
8106done
8107  done
8108IFS=$as_save_IFS
8109
8110fi
8111fi
8112ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8113if test -n "$ac_ct_OTOOL64"; then
8114  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8115$as_echo "$ac_ct_OTOOL64" >&6; }
8116else
8117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8118$as_echo "no" >&6; }
8119fi
8120
8121  if test "x$ac_ct_OTOOL64" = x; then
8122    OTOOL64=":"
8123  else
8124    case $cross_compiling:$ac_tool_warned in
8125yes:)
8126{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8127$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8128ac_tool_warned=yes ;;
8129esac
8130    OTOOL64=$ac_ct_OTOOL64
8131  fi
8132else
8133  OTOOL64="$ac_cv_prog_OTOOL64"
8134fi
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8163$as_echo_n "checking for -single_module linker flag... " >&6; }
8164if ${lt_cv_apple_cc_single_mod+:} false; then :
8165  $as_echo_n "(cached) " >&6
8166else
8167  lt_cv_apple_cc_single_mod=no
8168      if test -z "$LT_MULTI_MODULE"; then
8169	# By default we will add the -single_module flag. You can override
8170	# by either setting the environment variable LT_MULTI_MODULE
8171	# non-empty at configure time, or by adding -multi_module to the
8172	# link flags.
8173	rm -rf libconftest.dylib*
8174	echo "int foo(void){return 1;}" > conftest.c
8175	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8176-dynamiclib -Wl,-single_module conftest.c" >&5
8177	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8178	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8179        _lt_result=$?
8180	# If there is a non-empty error log, and "single_module"
8181	# appears in it, assume the flag caused a linker warning
8182        if test -s conftest.err && $GREP single_module conftest.err; then
8183	  cat conftest.err >&5
8184	# Otherwise, if the output was created with a 0 exit code from
8185	# the compiler, it worked.
8186	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
8187	  lt_cv_apple_cc_single_mod=yes
8188	else
8189	  cat conftest.err >&5
8190	fi
8191	rm -rf libconftest.dylib*
8192	rm -f conftest.*
8193      fi
8194fi
8195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8196$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8197
8198    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8199$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8200if ${lt_cv_ld_exported_symbols_list+:} false; then :
8201  $as_echo_n "(cached) " >&6
8202else
8203  lt_cv_ld_exported_symbols_list=no
8204      save_LDFLAGS=$LDFLAGS
8205      echo "_main" > conftest.sym
8206      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8207      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208/* end confdefs.h.  */
8209
8210int
8211main ()
8212{
8213
8214  ;
8215  return 0;
8216}
8217_ACEOF
8218if ac_fn_c_try_link "$LINENO"; then :
8219  lt_cv_ld_exported_symbols_list=yes
8220else
8221  lt_cv_ld_exported_symbols_list=no
8222fi
8223rm -f core conftest.err conftest.$ac_objext \
8224    conftest$ac_exeext conftest.$ac_ext
8225	LDFLAGS=$save_LDFLAGS
8226
8227fi
8228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8229$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8230
8231    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8232$as_echo_n "checking for -force_load linker flag... " >&6; }
8233if ${lt_cv_ld_force_load+:} false; then :
8234  $as_echo_n "(cached) " >&6
8235else
8236  lt_cv_ld_force_load=no
8237      cat > conftest.c << _LT_EOF
8238int forced_loaded() { return 2;}
8239_LT_EOF
8240      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8241      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8242      echo "$AR cru libconftest.a conftest.o" >&5
8243      $AR cru libconftest.a conftest.o 2>&5
8244      echo "$RANLIB libconftest.a" >&5
8245      $RANLIB libconftest.a 2>&5
8246      cat > conftest.c << _LT_EOF
8247int main() { return 0;}
8248_LT_EOF
8249      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8250      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8251      _lt_result=$?
8252      if test -s conftest.err && $GREP force_load conftest.err; then
8253	cat conftest.err >&5
8254      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
8255	lt_cv_ld_force_load=yes
8256      else
8257	cat conftest.err >&5
8258      fi
8259        rm -f conftest.err libconftest.a conftest conftest.c
8260        rm -rf conftest.dSYM
8261
8262fi
8263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8264$as_echo "$lt_cv_ld_force_load" >&6; }
8265    case $host_os in
8266    rhapsody* | darwin1.[012])
8267      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
8268    darwin1.*)
8269      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8270    darwin*) # darwin 5.x on
8271      # if running on 10.5 or later, the deployment target defaults
8272      # to the OS version, if on x86, and 10.4, the deployment
8273      # target defaults to 10.4. Don't you love it?
8274      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8275	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8276	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8277	10.[012][,.]*)
8278	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
8279	10.*)
8280	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
8281      esac
8282    ;;
8283  esac
8284    if test yes = "$lt_cv_apple_cc_single_mod"; then
8285      _lt_dar_single_mod='$single_module'
8286    fi
8287    if test yes = "$lt_cv_ld_exported_symbols_list"; then
8288      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
8289    else
8290      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
8291    fi
8292    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
8293      _lt_dsymutil='~$DSYMUTIL $lib || :'
8294    else
8295      _lt_dsymutil=
8296    fi
8297    ;;
8298  esac
8299
8300# func_munge_path_list VARIABLE PATH
8301# -----------------------------------
8302# VARIABLE is name of variable containing _space_ separated list of
8303# directories to be munged by the contents of PATH, which is string
8304# having a format:
8305# "DIR[:DIR]:"
8306#       string "DIR[ DIR]" will be prepended to VARIABLE
8307# ":DIR[:DIR]"
8308#       string "DIR[ DIR]" will be appended to VARIABLE
8309# "DIRP[:DIRP]::[DIRA:]DIRA"
8310#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
8311#       "DIRA[ DIRA]" will be appended to VARIABLE
8312# "DIR[:DIR]"
8313#       VARIABLE will be replaced by "DIR[ DIR]"
8314func_munge_path_list ()
8315{
8316    case x$2 in
8317    x)
8318        ;;
8319    *:)
8320        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
8321        ;;
8322    x:*)
8323        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
8324        ;;
8325    *::*)
8326        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
8327        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
8328        ;;
8329    *)
8330        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
8331        ;;
8332    esac
8333}
8334
8335ac_ext=c
8336ac_cpp='$CPP $CPPFLAGS'
8337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8339ac_compiler_gnu=$ac_cv_c_compiler_gnu
8340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
8341$as_echo_n "checking how to run the C preprocessor... " >&6; }
8342# On Suns, sometimes $CPP names a directory.
8343if test -n "$CPP" && test -d "$CPP"; then
8344  CPP=
8345fi
8346if test -z "$CPP"; then
8347  if ${ac_cv_prog_CPP+:} false; then :
8348  $as_echo_n "(cached) " >&6
8349else
8350      # Double quotes because CPP needs to be expanded
8351    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
8352    do
8353      ac_preproc_ok=false
8354for ac_c_preproc_warn_flag in '' yes
8355do
8356  # Use a header file that comes with gcc, so configuring glibc
8357  # with a fresh cross-compiler works.
8358  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8359  # <limits.h> exists even on freestanding compilers.
8360  # On the NeXT, cc -E runs the code through the compiler's parser,
8361  # not just through cpp. "Syntax error" is here to catch this case.
8362  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8363/* end confdefs.h.  */
8364#ifdef __STDC__
8365# include <limits.h>
8366#else
8367# include <assert.h>
8368#endif
8369		     Syntax error
8370_ACEOF
8371if ac_fn_c_try_cpp "$LINENO"; then :
8372
8373else
8374  # Broken: fails on valid input.
8375continue
8376fi
8377rm -f conftest.err conftest.i conftest.$ac_ext
8378
8379  # OK, works on sane cases.  Now check whether nonexistent headers
8380  # can be detected and how.
8381  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8382/* end confdefs.h.  */
8383#include <ac_nonexistent.h>
8384_ACEOF
8385if ac_fn_c_try_cpp "$LINENO"; then :
8386  # Broken: success on invalid input.
8387continue
8388else
8389  # Passes both tests.
8390ac_preproc_ok=:
8391break
8392fi
8393rm -f conftest.err conftest.i conftest.$ac_ext
8394
8395done
8396# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8397rm -f conftest.i conftest.err conftest.$ac_ext
8398if $ac_preproc_ok; then :
8399  break
8400fi
8401
8402    done
8403    ac_cv_prog_CPP=$CPP
8404
8405fi
8406  CPP=$ac_cv_prog_CPP
8407else
8408  ac_cv_prog_CPP=$CPP
8409fi
8410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
8411$as_echo "$CPP" >&6; }
8412ac_preproc_ok=false
8413for ac_c_preproc_warn_flag in '' yes
8414do
8415  # Use a header file that comes with gcc, so configuring glibc
8416  # with a fresh cross-compiler works.
8417  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8418  # <limits.h> exists even on freestanding compilers.
8419  # On the NeXT, cc -E runs the code through the compiler's parser,
8420  # not just through cpp. "Syntax error" is here to catch this case.
8421  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8422/* end confdefs.h.  */
8423#ifdef __STDC__
8424# include <limits.h>
8425#else
8426# include <assert.h>
8427#endif
8428		     Syntax error
8429_ACEOF
8430if ac_fn_c_try_cpp "$LINENO"; then :
8431
8432else
8433  # Broken: fails on valid input.
8434continue
8435fi
8436rm -f conftest.err conftest.i conftest.$ac_ext
8437
8438  # OK, works on sane cases.  Now check whether nonexistent headers
8439  # can be detected and how.
8440  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441/* end confdefs.h.  */
8442#include <ac_nonexistent.h>
8443_ACEOF
8444if ac_fn_c_try_cpp "$LINENO"; then :
8445  # Broken: success on invalid input.
8446continue
8447else
8448  # Passes both tests.
8449ac_preproc_ok=:
8450break
8451fi
8452rm -f conftest.err conftest.i conftest.$ac_ext
8453
8454done
8455# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8456rm -f conftest.i conftest.err conftest.$ac_ext
8457if $ac_preproc_ok; then :
8458
8459else
8460  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8461$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8462as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
8463See \`config.log' for more details" "$LINENO" 5; }
8464fi
8465
8466ac_ext=c
8467ac_cpp='$CPP $CPPFLAGS'
8468ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8469ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8470ac_compiler_gnu=$ac_cv_c_compiler_gnu
8471
8472
8473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8474$as_echo_n "checking for ANSI C header files... " >&6; }
8475if ${ac_cv_header_stdc+:} false; then :
8476  $as_echo_n "(cached) " >&6
8477else
8478  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8479/* end confdefs.h.  */
8480#include <stdlib.h>
8481#include <stdarg.h>
8482#include <string.h>
8483#include <float.h>
8484
8485int
8486main ()
8487{
8488
8489  ;
8490  return 0;
8491}
8492_ACEOF
8493if ac_fn_c_try_compile "$LINENO"; then :
8494  ac_cv_header_stdc=yes
8495else
8496  ac_cv_header_stdc=no
8497fi
8498rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8499
8500if test $ac_cv_header_stdc = yes; then
8501  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8502  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503/* end confdefs.h.  */
8504#include <string.h>
8505
8506_ACEOF
8507if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8508  $EGREP "memchr" >/dev/null 2>&1; then :
8509
8510else
8511  ac_cv_header_stdc=no
8512fi
8513rm -f conftest*
8514
8515fi
8516
8517if test $ac_cv_header_stdc = yes; then
8518  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8519  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8520/* end confdefs.h.  */
8521#include <stdlib.h>
8522
8523_ACEOF
8524if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8525  $EGREP "free" >/dev/null 2>&1; then :
8526
8527else
8528  ac_cv_header_stdc=no
8529fi
8530rm -f conftest*
8531
8532fi
8533
8534if test $ac_cv_header_stdc = yes; then
8535  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8536  if test "$cross_compiling" = yes; then :
8537  :
8538else
8539  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8540/* end confdefs.h.  */
8541#include <ctype.h>
8542#include <stdlib.h>
8543#if ((' ' & 0x0FF) == 0x020)
8544# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8545# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8546#else
8547# define ISLOWER(c) \
8548		   (('a' <= (c) && (c) <= 'i') \
8549		     || ('j' <= (c) && (c) <= 'r') \
8550		     || ('s' <= (c) && (c) <= 'z'))
8551# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8552#endif
8553
8554#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8555int
8556main ()
8557{
8558  int i;
8559  for (i = 0; i < 256; i++)
8560    if (XOR (islower (i), ISLOWER (i))
8561	|| toupper (i) != TOUPPER (i))
8562      return 2;
8563  return 0;
8564}
8565_ACEOF
8566if ac_fn_c_try_run "$LINENO"; then :
8567
8568else
8569  ac_cv_header_stdc=no
8570fi
8571rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8572  conftest.$ac_objext conftest.beam conftest.$ac_ext
8573fi
8574
8575fi
8576fi
8577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8578$as_echo "$ac_cv_header_stdc" >&6; }
8579if test $ac_cv_header_stdc = yes; then
8580
8581$as_echo "#define STDC_HEADERS 1" >>confdefs.h
8582
8583fi
8584
8585# On IRIX 5.3, sys/types and inttypes.h are conflicting.
8586for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8587		  inttypes.h stdint.h unistd.h
8588do :
8589  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8590ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8591"
8592if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8593  cat >>confdefs.h <<_ACEOF
8594#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8595_ACEOF
8596
8597fi
8598
8599done
8600
8601
8602for ac_header in dlfcn.h
8603do :
8604  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8605"
8606if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8607  cat >>confdefs.h <<_ACEOF
8608#define HAVE_DLFCN_H 1
8609_ACEOF
8610
8611fi
8612
8613done
8614
8615
8616
8617
8618
8619# Set options
8620# Check whether --enable-static was given.
8621if test "${enable_static+set}" = set; then :
8622  enableval=$enable_static; p=${PACKAGE-default}
8623    case $enableval in
8624    yes) enable_static=yes ;;
8625    no) enable_static=no ;;
8626    *)
8627     enable_static=no
8628      # Look at the argument we got.  We use all the common list separators.
8629      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8630      for pkg in $enableval; do
8631	IFS=$lt_save_ifs
8632	if test "X$pkg" = "X$p"; then
8633	  enable_static=yes
8634	fi
8635      done
8636      IFS=$lt_save_ifs
8637      ;;
8638    esac
8639else
8640  enable_static=no
8641fi
8642
8643
8644
8645
8646
8647
8648
8649enable_dlopen=yes
8650enable_win32_dll=yes
8651
8652case $host in
8653*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
8654  if test -n "$ac_tool_prefix"; then
8655  # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
8656set dummy ${ac_tool_prefix}as; ac_word=$2
8657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8658$as_echo_n "checking for $ac_word... " >&6; }
8659if ${ac_cv_prog_AS+:} false; then :
8660  $as_echo_n "(cached) " >&6
8661else
8662  if test -n "$AS"; then
8663  ac_cv_prog_AS="$AS" # Let the user override the test.
8664else
8665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8666for as_dir in $PATH
8667do
8668  IFS=$as_save_IFS
8669  test -z "$as_dir" && as_dir=.
8670    for ac_exec_ext in '' $ac_executable_extensions; do
8671  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8672    ac_cv_prog_AS="${ac_tool_prefix}as"
8673    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8674    break 2
8675  fi
8676done
8677  done
8678IFS=$as_save_IFS
8679
8680fi
8681fi
8682AS=$ac_cv_prog_AS
8683if test -n "$AS"; then
8684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
8685$as_echo "$AS" >&6; }
8686else
8687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8688$as_echo "no" >&6; }
8689fi
8690
8691
8692fi
8693if test -z "$ac_cv_prog_AS"; then
8694  ac_ct_AS=$AS
8695  # Extract the first word of "as", so it can be a program name with args.
8696set dummy as; ac_word=$2
8697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8698$as_echo_n "checking for $ac_word... " >&6; }
8699if ${ac_cv_prog_ac_ct_AS+:} false; then :
8700  $as_echo_n "(cached) " >&6
8701else
8702  if test -n "$ac_ct_AS"; then
8703  ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
8704else
8705as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8706for as_dir in $PATH
8707do
8708  IFS=$as_save_IFS
8709  test -z "$as_dir" && as_dir=.
8710    for ac_exec_ext in '' $ac_executable_extensions; do
8711  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8712    ac_cv_prog_ac_ct_AS="as"
8713    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714    break 2
8715  fi
8716done
8717  done
8718IFS=$as_save_IFS
8719
8720fi
8721fi
8722ac_ct_AS=$ac_cv_prog_ac_ct_AS
8723if test -n "$ac_ct_AS"; then
8724  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
8725$as_echo "$ac_ct_AS" >&6; }
8726else
8727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8728$as_echo "no" >&6; }
8729fi
8730
8731  if test "x$ac_ct_AS" = x; then
8732    AS="false"
8733  else
8734    case $cross_compiling:$ac_tool_warned in
8735yes:)
8736{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8737$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8738ac_tool_warned=yes ;;
8739esac
8740    AS=$ac_ct_AS
8741  fi
8742else
8743  AS="$ac_cv_prog_AS"
8744fi
8745
8746  if test -n "$ac_tool_prefix"; then
8747  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8748set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8750$as_echo_n "checking for $ac_word... " >&6; }
8751if ${ac_cv_prog_DLLTOOL+:} false; then :
8752  $as_echo_n "(cached) " >&6
8753else
8754  if test -n "$DLLTOOL"; then
8755  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8756else
8757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8758for as_dir in $PATH
8759do
8760  IFS=$as_save_IFS
8761  test -z "$as_dir" && as_dir=.
8762    for ac_exec_ext in '' $ac_executable_extensions; do
8763  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8764    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8765    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8766    break 2
8767  fi
8768done
8769  done
8770IFS=$as_save_IFS
8771
8772fi
8773fi
8774DLLTOOL=$ac_cv_prog_DLLTOOL
8775if test -n "$DLLTOOL"; then
8776  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8777$as_echo "$DLLTOOL" >&6; }
8778else
8779  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8780$as_echo "no" >&6; }
8781fi
8782
8783
8784fi
8785if test -z "$ac_cv_prog_DLLTOOL"; then
8786  ac_ct_DLLTOOL=$DLLTOOL
8787  # Extract the first word of "dlltool", so it can be a program name with args.
8788set dummy dlltool; ac_word=$2
8789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8790$as_echo_n "checking for $ac_word... " >&6; }
8791if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8792  $as_echo_n "(cached) " >&6
8793else
8794  if test -n "$ac_ct_DLLTOOL"; then
8795  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8796else
8797as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8798for as_dir in $PATH
8799do
8800  IFS=$as_save_IFS
8801  test -z "$as_dir" && as_dir=.
8802    for ac_exec_ext in '' $ac_executable_extensions; do
8803  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8804    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8805    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806    break 2
8807  fi
8808done
8809  done
8810IFS=$as_save_IFS
8811
8812fi
8813fi
8814ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8815if test -n "$ac_ct_DLLTOOL"; then
8816  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8817$as_echo "$ac_ct_DLLTOOL" >&6; }
8818else
8819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820$as_echo "no" >&6; }
8821fi
8822
8823  if test "x$ac_ct_DLLTOOL" = x; then
8824    DLLTOOL="false"
8825  else
8826    case $cross_compiling:$ac_tool_warned in
8827yes:)
8828{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8829$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8830ac_tool_warned=yes ;;
8831esac
8832    DLLTOOL=$ac_ct_DLLTOOL
8833  fi
8834else
8835  DLLTOOL="$ac_cv_prog_DLLTOOL"
8836fi
8837
8838  if test -n "$ac_tool_prefix"; then
8839  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8840set dummy ${ac_tool_prefix}objdump; ac_word=$2
8841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8842$as_echo_n "checking for $ac_word... " >&6; }
8843if ${ac_cv_prog_OBJDUMP+:} false; then :
8844  $as_echo_n "(cached) " >&6
8845else
8846  if test -n "$OBJDUMP"; then
8847  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8848else
8849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850for as_dir in $PATH
8851do
8852  IFS=$as_save_IFS
8853  test -z "$as_dir" && as_dir=.
8854    for ac_exec_ext in '' $ac_executable_extensions; do
8855  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8856    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8857    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8858    break 2
8859  fi
8860done
8861  done
8862IFS=$as_save_IFS
8863
8864fi
8865fi
8866OBJDUMP=$ac_cv_prog_OBJDUMP
8867if test -n "$OBJDUMP"; then
8868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8869$as_echo "$OBJDUMP" >&6; }
8870else
8871  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8872$as_echo "no" >&6; }
8873fi
8874
8875
8876fi
8877if test -z "$ac_cv_prog_OBJDUMP"; then
8878  ac_ct_OBJDUMP=$OBJDUMP
8879  # Extract the first word of "objdump", so it can be a program name with args.
8880set dummy objdump; ac_word=$2
8881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8882$as_echo_n "checking for $ac_word... " >&6; }
8883if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8884  $as_echo_n "(cached) " >&6
8885else
8886  if test -n "$ac_ct_OBJDUMP"; then
8887  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8888else
8889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8890for as_dir in $PATH
8891do
8892  IFS=$as_save_IFS
8893  test -z "$as_dir" && as_dir=.
8894    for ac_exec_ext in '' $ac_executable_extensions; do
8895  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8896    ac_cv_prog_ac_ct_OBJDUMP="objdump"
8897    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8898    break 2
8899  fi
8900done
8901  done
8902IFS=$as_save_IFS
8903
8904fi
8905fi
8906ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8907if test -n "$ac_ct_OBJDUMP"; then
8908  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8909$as_echo "$ac_ct_OBJDUMP" >&6; }
8910else
8911  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8912$as_echo "no" >&6; }
8913fi
8914
8915  if test "x$ac_ct_OBJDUMP" = x; then
8916    OBJDUMP="false"
8917  else
8918    case $cross_compiling:$ac_tool_warned in
8919yes:)
8920{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8921$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8922ac_tool_warned=yes ;;
8923esac
8924    OBJDUMP=$ac_ct_OBJDUMP
8925  fi
8926else
8927  OBJDUMP="$ac_cv_prog_OBJDUMP"
8928fi
8929
8930  ;;
8931esac
8932
8933test -z "$AS" && AS=as
8934
8935
8936
8937
8938
8939test -z "$DLLTOOL" && DLLTOOL=dlltool
8940
8941
8942
8943
8944
8945test -z "$OBJDUMP" && OBJDUMP=objdump
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955            # Check whether --enable-shared was given.
8956if test "${enable_shared+set}" = set; then :
8957  enableval=$enable_shared; p=${PACKAGE-default}
8958    case $enableval in
8959    yes) enable_shared=yes ;;
8960    no) enable_shared=no ;;
8961    *)
8962      enable_shared=no
8963      # Look at the argument we got.  We use all the common list separators.
8964      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8965      for pkg in $enableval; do
8966	IFS=$lt_save_ifs
8967	if test "X$pkg" = "X$p"; then
8968	  enable_shared=yes
8969	fi
8970      done
8971      IFS=$lt_save_ifs
8972      ;;
8973    esac
8974else
8975  enable_shared=yes
8976fi
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988# Check whether --with-pic was given.
8989if test "${with_pic+set}" = set; then :
8990  withval=$with_pic; lt_p=${PACKAGE-default}
8991    case $withval in
8992    yes|no) pic_mode=$withval ;;
8993    *)
8994      pic_mode=default
8995      # Look at the argument we got.  We use all the common list separators.
8996      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
8997      for lt_pkg in $withval; do
8998	IFS=$lt_save_ifs
8999	if test "X$lt_pkg" = "X$lt_p"; then
9000	  pic_mode=yes
9001	fi
9002      done
9003      IFS=$lt_save_ifs
9004      ;;
9005    esac
9006else
9007  pic_mode=default
9008fi
9009
9010
9011
9012
9013
9014
9015
9016
9017  # Check whether --enable-fast-install was given.
9018if test "${enable_fast_install+set}" = set; then :
9019  enableval=$enable_fast_install; p=${PACKAGE-default}
9020    case $enableval in
9021    yes) enable_fast_install=yes ;;
9022    no) enable_fast_install=no ;;
9023    *)
9024      enable_fast_install=no
9025      # Look at the argument we got.  We use all the common list separators.
9026      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
9027      for pkg in $enableval; do
9028	IFS=$lt_save_ifs
9029	if test "X$pkg" = "X$p"; then
9030	  enable_fast_install=yes
9031	fi
9032      done
9033      IFS=$lt_save_ifs
9034      ;;
9035    esac
9036else
9037  enable_fast_install=yes
9038fi
9039
9040
9041
9042
9043
9044
9045
9046
9047  shared_archive_member_spec=
9048case $host,$enable_shared in
9049power*-*-aix[5-9]*,yes)
9050  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
9051$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
9052
9053# Check whether --with-aix-soname was given.
9054if test "${with_aix_soname+set}" = set; then :
9055  withval=$with_aix_soname; case $withval in
9056    aix|svr4|both)
9057      ;;
9058    *)
9059      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
9060      ;;
9061    esac
9062    lt_cv_with_aix_soname=$with_aix_soname
9063else
9064  if ${lt_cv_with_aix_soname+:} false; then :
9065  $as_echo_n "(cached) " >&6
9066else
9067  lt_cv_with_aix_soname=aix
9068fi
9069
9070    with_aix_soname=$lt_cv_with_aix_soname
9071fi
9072
9073  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
9074$as_echo "$with_aix_soname" >&6; }
9075  if test aix != "$with_aix_soname"; then
9076    # For the AIX way of multilib, we name the shared archive member
9077    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
9078    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
9079    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
9080    # the AIX toolchain works better with OBJECT_MODE set (default 32).
9081    if test 64 = "${OBJECT_MODE-32}"; then
9082      shared_archive_member_spec=shr_64
9083    else
9084      shared_archive_member_spec=shr
9085    fi
9086  fi
9087  ;;
9088*)
9089  with_aix_soname=aix
9090  ;;
9091esac
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102# This can be used to rebuild libtool when needed
9103LIBTOOL_DEPS=$ltmain
9104
9105# Always use our own libtool.
9106LIBTOOL='$(SHELL) $(top_builddir)/libtool'
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137test -z "$LN_S" && LN_S="ln -s"
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152if test -n "${ZSH_VERSION+set}"; then
9153   setopt NO_GLOB_SUBST
9154fi
9155
9156{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9157$as_echo_n "checking for objdir... " >&6; }
9158if ${lt_cv_objdir+:} false; then :
9159  $as_echo_n "(cached) " >&6
9160else
9161  rm -f .libs 2>/dev/null
9162mkdir .libs 2>/dev/null
9163if test -d .libs; then
9164  lt_cv_objdir=.libs
9165else
9166  # MS-DOS does not allow filenames that begin with a dot.
9167  lt_cv_objdir=_libs
9168fi
9169rmdir .libs 2>/dev/null
9170fi
9171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9172$as_echo "$lt_cv_objdir" >&6; }
9173objdir=$lt_cv_objdir
9174
9175
9176
9177
9178
9179cat >>confdefs.h <<_ACEOF
9180#define LT_OBJDIR "$lt_cv_objdir/"
9181_ACEOF
9182
9183
9184
9185
9186case $host_os in
9187aix3*)
9188  # AIX sometimes has problems with the GCC collect2 program.  For some
9189  # reason, if we set the COLLECT_NAMES environment variable, the problems
9190  # vanish in a puff of smoke.
9191  if test set != "${COLLECT_NAMES+set}"; then
9192    COLLECT_NAMES=
9193    export COLLECT_NAMES
9194  fi
9195  ;;
9196esac
9197
9198# Global variables:
9199ofile=libtool
9200can_build_shared=yes
9201
9202# All known linkers require a '.a' archive for static linking (except MSVC,
9203# which needs '.lib').
9204libext=a
9205
9206with_gnu_ld=$lt_cv_prog_gnu_ld
9207
9208old_CC=$CC
9209old_CFLAGS=$CFLAGS
9210
9211# Set sane defaults for various variables
9212test -z "$CC" && CC=cc
9213test -z "$LTCC" && LTCC=$CC
9214test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
9215test -z "$LD" && LD=ld
9216test -z "$ac_objext" && ac_objext=o
9217
9218func_cc_basename $compiler
9219cc_basename=$func_cc_basename_result
9220
9221
9222# Only perform the check for file, if the check method requires it
9223test -z "$MAGIC_CMD" && MAGIC_CMD=file
9224case $deplibs_check_method in
9225file_magic*)
9226  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9227    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9228$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9229if ${lt_cv_path_MAGIC_CMD+:} false; then :
9230  $as_echo_n "(cached) " >&6
9231else
9232  case $MAGIC_CMD in
9233[\\/*] |  ?:[\\/]*)
9234  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9235  ;;
9236*)
9237  lt_save_MAGIC_CMD=$MAGIC_CMD
9238  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9239  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9240  for ac_dir in $ac_dummy; do
9241    IFS=$lt_save_ifs
9242    test -z "$ac_dir" && ac_dir=.
9243    if test -f "$ac_dir/${ac_tool_prefix}file"; then
9244      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
9245      if test -n "$file_magic_test_file"; then
9246	case $deplibs_check_method in
9247	"file_magic "*)
9248	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9249	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9250	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9251	    $EGREP "$file_magic_regex" > /dev/null; then
9252	    :
9253	  else
9254	    cat <<_LT_EOF 1>&2
9255
9256*** Warning: the command libtool uses to detect shared libraries,
9257*** $file_magic_cmd, produces output that libtool cannot recognize.
9258*** The result is that libtool may fail to recognize shared libraries
9259*** as such.  This will affect the creation of libtool libraries that
9260*** depend on shared libraries, but programs linked with such libtool
9261*** libraries will work regardless of this problem.  Nevertheless, you
9262*** may want to report the problem to your system manager and/or to
9263*** bug-libtool@gnu.org
9264
9265_LT_EOF
9266	  fi ;;
9267	esac
9268      fi
9269      break
9270    fi
9271  done
9272  IFS=$lt_save_ifs
9273  MAGIC_CMD=$lt_save_MAGIC_CMD
9274  ;;
9275esac
9276fi
9277
9278MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9279if test -n "$MAGIC_CMD"; then
9280  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9281$as_echo "$MAGIC_CMD" >&6; }
9282else
9283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284$as_echo "no" >&6; }
9285fi
9286
9287
9288
9289
9290
9291if test -z "$lt_cv_path_MAGIC_CMD"; then
9292  if test -n "$ac_tool_prefix"; then
9293    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9294$as_echo_n "checking for file... " >&6; }
9295if ${lt_cv_path_MAGIC_CMD+:} false; then :
9296  $as_echo_n "(cached) " >&6
9297else
9298  case $MAGIC_CMD in
9299[\\/*] |  ?:[\\/]*)
9300  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
9301  ;;
9302*)
9303  lt_save_MAGIC_CMD=$MAGIC_CMD
9304  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
9305  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9306  for ac_dir in $ac_dummy; do
9307    IFS=$lt_save_ifs
9308    test -z "$ac_dir" && ac_dir=.
9309    if test -f "$ac_dir/file"; then
9310      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
9311      if test -n "$file_magic_test_file"; then
9312	case $deplibs_check_method in
9313	"file_magic "*)
9314	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9315	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9316	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9317	    $EGREP "$file_magic_regex" > /dev/null; then
9318	    :
9319	  else
9320	    cat <<_LT_EOF 1>&2
9321
9322*** Warning: the command libtool uses to detect shared libraries,
9323*** $file_magic_cmd, produces output that libtool cannot recognize.
9324*** The result is that libtool may fail to recognize shared libraries
9325*** as such.  This will affect the creation of libtool libraries that
9326*** depend on shared libraries, but programs linked with such libtool
9327*** libraries will work regardless of this problem.  Nevertheless, you
9328*** may want to report the problem to your system manager and/or to
9329*** bug-libtool@gnu.org
9330
9331_LT_EOF
9332	  fi ;;
9333	esac
9334      fi
9335      break
9336    fi
9337  done
9338  IFS=$lt_save_ifs
9339  MAGIC_CMD=$lt_save_MAGIC_CMD
9340  ;;
9341esac
9342fi
9343
9344MAGIC_CMD=$lt_cv_path_MAGIC_CMD
9345if test -n "$MAGIC_CMD"; then
9346  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9347$as_echo "$MAGIC_CMD" >&6; }
9348else
9349  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9350$as_echo "no" >&6; }
9351fi
9352
9353
9354  else
9355    MAGIC_CMD=:
9356  fi
9357fi
9358
9359  fi
9360  ;;
9361esac
9362
9363# Use C for the default configuration in the libtool script
9364
9365lt_save_CC=$CC
9366ac_ext=c
9367ac_cpp='$CPP $CPPFLAGS'
9368ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9369ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9370ac_compiler_gnu=$ac_cv_c_compiler_gnu
9371
9372
9373# Source file extension for C test sources.
9374ac_ext=c
9375
9376# Object file extension for compiled C test sources.
9377objext=o
9378objext=$objext
9379
9380# Code to be used in simple compile tests
9381lt_simple_compile_test_code="int some_variable = 0;"
9382
9383# Code to be used in simple link tests
9384lt_simple_link_test_code='int main(){return(0);}'
9385
9386
9387
9388
9389
9390
9391
9392# If no C compiler was specified, use CC.
9393LTCC=${LTCC-"$CC"}
9394
9395# If no C compiler flags were specified, use CFLAGS.
9396LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9397
9398# Allow CC to be a program name with arguments.
9399compiler=$CC
9400
9401# Save the default compiler, since it gets overwritten when the other
9402# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9403compiler_DEFAULT=$CC
9404
9405# save warnings/boilerplate of simple test code
9406ac_outfile=conftest.$ac_objext
9407echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9408eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9409_lt_compiler_boilerplate=`cat conftest.err`
9410$RM conftest*
9411
9412ac_outfile=conftest.$ac_objext
9413echo "$lt_simple_link_test_code" >conftest.$ac_ext
9414eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9415_lt_linker_boilerplate=`cat conftest.err`
9416$RM -r conftest*
9417
9418
9419## CAVEAT EMPTOR:
9420## There is no encapsulation within the following macros, do not change
9421## the running order or otherwise move them around unless you know exactly
9422## what you are doing...
9423if test -n "$compiler"; then
9424
9425lt_prog_compiler_no_builtin_flag=
9426
9427if test yes = "$GCC"; then
9428  case $cc_basename in
9429  nvcc*)
9430    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9431  *)
9432    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9433  esac
9434
9435  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9436$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9437if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9438  $as_echo_n "(cached) " >&6
9439else
9440  lt_cv_prog_compiler_rtti_exceptions=no
9441   ac_outfile=conftest.$ac_objext
9442   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9443   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
9444   # Insert the option either (1) after the last *FLAGS variable, or
9445   # (2) before a word containing "conftest.", or (3) at the end.
9446   # Note that $ac_compile itself does not contain backslashes and begins
9447   # with a dollar sign (not a hyphen), so the echo should work correctly.
9448   # The option is referenced via a variable to avoid confusing sed.
9449   lt_compile=`echo "$ac_compile" | $SED \
9450   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9451   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9452   -e 's:$: $lt_compiler_flag:'`
9453   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9454   (eval "$lt_compile" 2>conftest.err)
9455   ac_status=$?
9456   cat conftest.err >&5
9457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458   if (exit $ac_status) && test -s "$ac_outfile"; then
9459     # The compiler can only warn and ignore the option if not recognized
9460     # So say no if there are warnings other than the usual output.
9461     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9462     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9463     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9464       lt_cv_prog_compiler_rtti_exceptions=yes
9465     fi
9466   fi
9467   $RM conftest*
9468
9469fi
9470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9471$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9472
9473if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
9474    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9475else
9476    :
9477fi
9478
9479fi
9480
9481
9482
9483
9484
9485
9486  lt_prog_compiler_wl=
9487lt_prog_compiler_pic=
9488lt_prog_compiler_static=
9489
9490
9491  if test yes = "$GCC"; then
9492    lt_prog_compiler_wl='-Wl,'
9493    lt_prog_compiler_static='-static'
9494
9495    case $host_os in
9496      aix*)
9497      # All AIX code is PIC.
9498      if test ia64 = "$host_cpu"; then
9499	# AIX 5 now supports IA64 processor
9500	lt_prog_compiler_static='-Bstatic'
9501      fi
9502      lt_prog_compiler_pic='-fPIC'
9503      ;;
9504
9505    amigaos*)
9506      case $host_cpu in
9507      powerpc)
9508            # see comment about AmigaOS4 .so support
9509            lt_prog_compiler_pic='-fPIC'
9510        ;;
9511      m68k)
9512            # FIXME: we need at least 68020 code to build shared libraries, but
9513            # adding the '-m68020' flag to GCC prevents building anything better,
9514            # like '-m68040'.
9515            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9516        ;;
9517      esac
9518      ;;
9519
9520    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9521      # PIC is the default for these OSes.
9522      ;;
9523
9524    mingw* | cygwin* | pw32* | os2* | cegcc*)
9525      # This hack is so that the source file can tell whether it is being
9526      # built for inclusion in a dll (and should export symbols for example).
9527      # Although the cygwin gcc ignores -fPIC, still need this for old-style
9528      # (--disable-auto-import) libraries
9529      lt_prog_compiler_pic='-DDLL_EXPORT'
9530      case $host_os in
9531      os2*)
9532	lt_prog_compiler_static='$wl-static'
9533	;;
9534      esac
9535      ;;
9536
9537    darwin* | rhapsody*)
9538      # PIC is the default on this platform
9539      # Common symbols not allowed in MH_DYLIB files
9540      lt_prog_compiler_pic='-fno-common'
9541      ;;
9542
9543    haiku*)
9544      # PIC is the default for Haiku.
9545      # The "-static" flag exists, but is broken.
9546      lt_prog_compiler_static=
9547      ;;
9548
9549    hpux*)
9550      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9551      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
9552      # sets the default TLS model and affects inlining.
9553      case $host_cpu in
9554      hppa*64*)
9555	# +Z the default
9556	;;
9557      *)
9558	lt_prog_compiler_pic='-fPIC'
9559	;;
9560      esac
9561      ;;
9562
9563    interix[3-9]*)
9564      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9565      # Instead, we relocate shared libraries at runtime.
9566      ;;
9567
9568    msdosdjgpp*)
9569      # Just because we use GCC doesn't mean we suddenly get shared libraries
9570      # on systems that don't support them.
9571      lt_prog_compiler_can_build_shared=no
9572      enable_shared=no
9573      ;;
9574
9575    *nto* | *qnx*)
9576      # QNX uses GNU C++, but need to define -shared option too, otherwise
9577      # it will coredump.
9578      lt_prog_compiler_pic='-fPIC -shared'
9579      ;;
9580
9581    sysv4*MP*)
9582      if test -d /usr/nec; then
9583	lt_prog_compiler_pic=-Kconform_pic
9584      fi
9585      ;;
9586
9587    *)
9588      lt_prog_compiler_pic='-fPIC'
9589      ;;
9590    esac
9591
9592    case $cc_basename in
9593    nvcc*) # Cuda Compiler Driver 2.2
9594      lt_prog_compiler_wl='-Xlinker '
9595      if test -n "$lt_prog_compiler_pic"; then
9596        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
9597      fi
9598      ;;
9599    esac
9600  else
9601    # PORTME Check for flag to pass linker flags through the system compiler.
9602    case $host_os in
9603    aix*)
9604      lt_prog_compiler_wl='-Wl,'
9605      if test ia64 = "$host_cpu"; then
9606	# AIX 5 now supports IA64 processor
9607	lt_prog_compiler_static='-Bstatic'
9608      else
9609	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9610      fi
9611      ;;
9612
9613    darwin* | rhapsody*)
9614      # PIC is the default on this platform
9615      # Common symbols not allowed in MH_DYLIB files
9616      lt_prog_compiler_pic='-fno-common'
9617      case $cc_basename in
9618      nagfor*)
9619        # NAG Fortran compiler
9620        lt_prog_compiler_wl='-Wl,-Wl,,'
9621        lt_prog_compiler_pic='-PIC'
9622        lt_prog_compiler_static='-Bstatic'
9623        ;;
9624      esac
9625      ;;
9626
9627    mingw* | cygwin* | pw32* | os2* | cegcc*)
9628      # This hack is so that the source file can tell whether it is being
9629      # built for inclusion in a dll (and should export symbols for example).
9630      lt_prog_compiler_pic='-DDLL_EXPORT'
9631      case $host_os in
9632      os2*)
9633	lt_prog_compiler_static='$wl-static'
9634	;;
9635      esac
9636      ;;
9637
9638    hpux9* | hpux10* | hpux11*)
9639      lt_prog_compiler_wl='-Wl,'
9640      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9641      # not for PA HP-UX.
9642      case $host_cpu in
9643      hppa*64*|ia64*)
9644	# +Z the default
9645	;;
9646      *)
9647	lt_prog_compiler_pic='+Z'
9648	;;
9649      esac
9650      # Is there a better lt_prog_compiler_static that works with the bundled CC?
9651      lt_prog_compiler_static='$wl-a ${wl}archive'
9652      ;;
9653
9654    irix5* | irix6* | nonstopux*)
9655      lt_prog_compiler_wl='-Wl,'
9656      # PIC (with -KPIC) is the default.
9657      lt_prog_compiler_static='-non_shared'
9658      ;;
9659
9660    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
9661      case $cc_basename in
9662      # old Intel for x86_64, which still supported -KPIC.
9663      ecc*)
9664	lt_prog_compiler_wl='-Wl,'
9665	lt_prog_compiler_pic='-KPIC'
9666	lt_prog_compiler_static='-static'
9667        ;;
9668      # icc used to be incompatible with GCC.
9669      # ICC 10 doesn't accept -KPIC any more.
9670      icc* | ifort*)
9671	lt_prog_compiler_wl='-Wl,'
9672	lt_prog_compiler_pic='-fPIC'
9673	lt_prog_compiler_static='-static'
9674        ;;
9675      # Lahey Fortran 8.1.
9676      lf95*)
9677	lt_prog_compiler_wl='-Wl,'
9678	lt_prog_compiler_pic='--shared'
9679	lt_prog_compiler_static='--static'
9680	;;
9681      nagfor*)
9682	# NAG Fortran compiler
9683	lt_prog_compiler_wl='-Wl,-Wl,,'
9684	lt_prog_compiler_pic='-PIC'
9685	lt_prog_compiler_static='-Bstatic'
9686	;;
9687      tcc*)
9688	# Fabrice Bellard et al's Tiny C Compiler
9689	lt_prog_compiler_wl='-Wl,'
9690	lt_prog_compiler_pic='-fPIC'
9691	lt_prog_compiler_static='-static'
9692	;;
9693      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9694        # Portland Group compilers (*not* the Pentium gcc compiler,
9695	# which looks to be a dead project)
9696	lt_prog_compiler_wl='-Wl,'
9697	lt_prog_compiler_pic='-fpic'
9698	lt_prog_compiler_static='-Bstatic'
9699        ;;
9700      ccc*)
9701        lt_prog_compiler_wl='-Wl,'
9702        # All Alpha code is PIC.
9703        lt_prog_compiler_static='-non_shared'
9704        ;;
9705      xl* | bgxl* | bgf* | mpixl*)
9706	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9707	lt_prog_compiler_wl='-Wl,'
9708	lt_prog_compiler_pic='-qpic'
9709	lt_prog_compiler_static='-qstaticlink'
9710	;;
9711      *)
9712	case `$CC -V 2>&1 | sed 5q` in
9713	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9714	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
9715	  lt_prog_compiler_pic='-KPIC'
9716	  lt_prog_compiler_static='-Bstatic'
9717	  lt_prog_compiler_wl=''
9718	  ;;
9719	*Sun\ F* | *Sun*Fortran*)
9720	  lt_prog_compiler_pic='-KPIC'
9721	  lt_prog_compiler_static='-Bstatic'
9722	  lt_prog_compiler_wl='-Qoption ld '
9723	  ;;
9724	*Sun\ C*)
9725	  # Sun C 5.9
9726	  lt_prog_compiler_pic='-KPIC'
9727	  lt_prog_compiler_static='-Bstatic'
9728	  lt_prog_compiler_wl='-Wl,'
9729	  ;;
9730        *Intel*\ [CF]*Compiler*)
9731	  lt_prog_compiler_wl='-Wl,'
9732	  lt_prog_compiler_pic='-fPIC'
9733	  lt_prog_compiler_static='-static'
9734	  ;;
9735	*Portland\ Group*)
9736	  lt_prog_compiler_wl='-Wl,'
9737	  lt_prog_compiler_pic='-fpic'
9738	  lt_prog_compiler_static='-Bstatic'
9739	  ;;
9740	esac
9741	;;
9742      esac
9743      ;;
9744
9745    newsos6)
9746      lt_prog_compiler_pic='-KPIC'
9747      lt_prog_compiler_static='-Bstatic'
9748      ;;
9749
9750    *nto* | *qnx*)
9751      # QNX uses GNU C++, but need to define -shared option too, otherwise
9752      # it will coredump.
9753      lt_prog_compiler_pic='-fPIC -shared'
9754      ;;
9755
9756    osf3* | osf4* | osf5*)
9757      lt_prog_compiler_wl='-Wl,'
9758      # All OSF/1 code is PIC.
9759      lt_prog_compiler_static='-non_shared'
9760      ;;
9761
9762    rdos*)
9763      lt_prog_compiler_static='-non_shared'
9764      ;;
9765
9766    solaris*)
9767      lt_prog_compiler_pic='-KPIC'
9768      lt_prog_compiler_static='-Bstatic'
9769      case $cc_basename in
9770      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9771	lt_prog_compiler_wl='-Qoption ld ';;
9772      *)
9773	lt_prog_compiler_wl='-Wl,';;
9774      esac
9775      ;;
9776
9777    sunos4*)
9778      lt_prog_compiler_wl='-Qoption ld '
9779      lt_prog_compiler_pic='-PIC'
9780      lt_prog_compiler_static='-Bstatic'
9781      ;;
9782
9783    sysv4 | sysv4.2uw2* | sysv4.3*)
9784      lt_prog_compiler_wl='-Wl,'
9785      lt_prog_compiler_pic='-KPIC'
9786      lt_prog_compiler_static='-Bstatic'
9787      ;;
9788
9789    sysv4*MP*)
9790      if test -d /usr/nec; then
9791	lt_prog_compiler_pic='-Kconform_pic'
9792	lt_prog_compiler_static='-Bstatic'
9793      fi
9794      ;;
9795
9796    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9797      lt_prog_compiler_wl='-Wl,'
9798      lt_prog_compiler_pic='-KPIC'
9799      lt_prog_compiler_static='-Bstatic'
9800      ;;
9801
9802    unicos*)
9803      lt_prog_compiler_wl='-Wl,'
9804      lt_prog_compiler_can_build_shared=no
9805      ;;
9806
9807    uts4*)
9808      lt_prog_compiler_pic='-pic'
9809      lt_prog_compiler_static='-Bstatic'
9810      ;;
9811
9812    *)
9813      lt_prog_compiler_can_build_shared=no
9814      ;;
9815    esac
9816  fi
9817
9818case $host_os in
9819  # For platforms that do not support PIC, -DPIC is meaningless:
9820  *djgpp*)
9821    lt_prog_compiler_pic=
9822    ;;
9823  *)
9824    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9825    ;;
9826esac
9827
9828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9829$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9830if ${lt_cv_prog_compiler_pic+:} false; then :
9831  $as_echo_n "(cached) " >&6
9832else
9833  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9834fi
9835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9836$as_echo "$lt_cv_prog_compiler_pic" >&6; }
9837lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9838
9839#
9840# Check to make sure the PIC flag actually works.
9841#
9842if test -n "$lt_prog_compiler_pic"; then
9843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9844$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9845if ${lt_cv_prog_compiler_pic_works+:} false; then :
9846  $as_echo_n "(cached) " >&6
9847else
9848  lt_cv_prog_compiler_pic_works=no
9849   ac_outfile=conftest.$ac_objext
9850   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9851   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
9852   # Insert the option either (1) after the last *FLAGS variable, or
9853   # (2) before a word containing "conftest.", or (3) at the end.
9854   # Note that $ac_compile itself does not contain backslashes and begins
9855   # with a dollar sign (not a hyphen), so the echo should work correctly.
9856   # The option is referenced via a variable to avoid confusing sed.
9857   lt_compile=`echo "$ac_compile" | $SED \
9858   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9859   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9860   -e 's:$: $lt_compiler_flag:'`
9861   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9862   (eval "$lt_compile" 2>conftest.err)
9863   ac_status=$?
9864   cat conftest.err >&5
9865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866   if (exit $ac_status) && test -s "$ac_outfile"; then
9867     # The compiler can only warn and ignore the option if not recognized
9868     # So say no if there are warnings other than the usual output.
9869     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9870     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9871     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9872       lt_cv_prog_compiler_pic_works=yes
9873     fi
9874   fi
9875   $RM conftest*
9876
9877fi
9878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9879$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9880
9881if test yes = "$lt_cv_prog_compiler_pic_works"; then
9882    case $lt_prog_compiler_pic in
9883     "" | " "*) ;;
9884     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9885     esac
9886else
9887    lt_prog_compiler_pic=
9888     lt_prog_compiler_can_build_shared=no
9889fi
9890
9891fi
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903#
9904# Check to make sure the static flag actually works.
9905#
9906wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9908$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9909if ${lt_cv_prog_compiler_static_works+:} false; then :
9910  $as_echo_n "(cached) " >&6
9911else
9912  lt_cv_prog_compiler_static_works=no
9913   save_LDFLAGS=$LDFLAGS
9914   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9915   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9916   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9917     # The linker can only warn and ignore the option if not recognized
9918     # So say no if there are warnings
9919     if test -s conftest.err; then
9920       # Append any errors to the config.log.
9921       cat conftest.err 1>&5
9922       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9923       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9924       if diff conftest.exp conftest.er2 >/dev/null; then
9925         lt_cv_prog_compiler_static_works=yes
9926       fi
9927     else
9928       lt_cv_prog_compiler_static_works=yes
9929     fi
9930   fi
9931   $RM -r conftest*
9932   LDFLAGS=$save_LDFLAGS
9933
9934fi
9935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9936$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9937
9938if test yes = "$lt_cv_prog_compiler_static_works"; then
9939    :
9940else
9941    lt_prog_compiler_static=
9942fi
9943
9944
9945
9946
9947
9948
9949
9950  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9951$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9952if ${lt_cv_prog_compiler_c_o+:} false; then :
9953  $as_echo_n "(cached) " >&6
9954else
9955  lt_cv_prog_compiler_c_o=no
9956   $RM -r conftest 2>/dev/null
9957   mkdir conftest
9958   cd conftest
9959   mkdir out
9960   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9961
9962   lt_compiler_flag="-o out/conftest2.$ac_objext"
9963   # Insert the option either (1) after the last *FLAGS variable, or
9964   # (2) before a word containing "conftest.", or (3) at the end.
9965   # Note that $ac_compile itself does not contain backslashes and begins
9966   # with a dollar sign (not a hyphen), so the echo should work correctly.
9967   lt_compile=`echo "$ac_compile" | $SED \
9968   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9969   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9970   -e 's:$: $lt_compiler_flag:'`
9971   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9972   (eval "$lt_compile" 2>out/conftest.err)
9973   ac_status=$?
9974   cat out/conftest.err >&5
9975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9976   if (exit $ac_status) && test -s out/conftest2.$ac_objext
9977   then
9978     # The compiler can only warn and ignore the option if not recognized
9979     # So say no if there are warnings
9980     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9981     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9982     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9983       lt_cv_prog_compiler_c_o=yes
9984     fi
9985   fi
9986   chmod u+w . 2>&5
9987   $RM conftest*
9988   # SGI C++ compiler will create directory out/ii_files/ for
9989   # template instantiation
9990   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9991   $RM out/* && rmdir out
9992   cd ..
9993   $RM -r conftest
9994   $RM conftest*
9995
9996fi
9997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9998$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9999
10000
10001
10002
10003
10004
10005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10006$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10007if ${lt_cv_prog_compiler_c_o+:} false; then :
10008  $as_echo_n "(cached) " >&6
10009else
10010  lt_cv_prog_compiler_c_o=no
10011   $RM -r conftest 2>/dev/null
10012   mkdir conftest
10013   cd conftest
10014   mkdir out
10015   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10016
10017   lt_compiler_flag="-o out/conftest2.$ac_objext"
10018   # Insert the option either (1) after the last *FLAGS variable, or
10019   # (2) before a word containing "conftest.", or (3) at the end.
10020   # Note that $ac_compile itself does not contain backslashes and begins
10021   # with a dollar sign (not a hyphen), so the echo should work correctly.
10022   lt_compile=`echo "$ac_compile" | $SED \
10023   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10024   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10025   -e 's:$: $lt_compiler_flag:'`
10026   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10027   (eval "$lt_compile" 2>out/conftest.err)
10028   ac_status=$?
10029   cat out/conftest.err >&5
10030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10032   then
10033     # The compiler can only warn and ignore the option if not recognized
10034     # So say no if there are warnings
10035     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
10036     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
10037     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10038       lt_cv_prog_compiler_c_o=yes
10039     fi
10040   fi
10041   chmod u+w . 2>&5
10042   $RM conftest*
10043   # SGI C++ compiler will create directory out/ii_files/ for
10044   # template instantiation
10045   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
10046   $RM out/* && rmdir out
10047   cd ..
10048   $RM -r conftest
10049   $RM conftest*
10050
10051fi
10052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10053$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10054
10055
10056
10057
10058hard_links=nottested
10059if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
10060  # do not overwrite the value of need_locks provided by the user
10061  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10062$as_echo_n "checking if we can lock with hard links... " >&6; }
10063  hard_links=yes
10064  $RM conftest*
10065  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10066  touch conftest.a
10067  ln conftest.a conftest.b 2>&5 || hard_links=no
10068  ln conftest.a conftest.b 2>/dev/null && hard_links=no
10069  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10070$as_echo "$hard_links" >&6; }
10071  if test no = "$hard_links"; then
10072    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
10073$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
10074    need_locks=warn
10075  fi
10076else
10077  need_locks=no
10078fi
10079
10080
10081
10082
10083
10084
10085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10086$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10087
10088  runpath_var=
10089  allow_undefined_flag=
10090  always_export_symbols=no
10091  archive_cmds=
10092  archive_expsym_cmds=
10093  compiler_needs_object=no
10094  enable_shared_with_static_runtimes=no
10095  export_dynamic_flag_spec=
10096  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10097  hardcode_automatic=no
10098  hardcode_direct=no
10099  hardcode_direct_absolute=no
10100  hardcode_libdir_flag_spec=
10101  hardcode_libdir_separator=
10102  hardcode_minus_L=no
10103  hardcode_shlibpath_var=unsupported
10104  inherit_rpath=no
10105  link_all_deplibs=unknown
10106  module_cmds=
10107  module_expsym_cmds=
10108  old_archive_from_new_cmds=
10109  old_archive_from_expsyms_cmds=
10110  thread_safe_flag_spec=
10111  whole_archive_flag_spec=
10112  # include_expsyms should be a list of space-separated symbols to be *always*
10113  # included in the symbol list
10114  include_expsyms=
10115  # exclude_expsyms can be an extended regexp of symbols to exclude
10116  # it will be wrapped by ' (' and ')$', so one must not match beginning or
10117  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
10118  # as well as any symbol that contains 'd'.
10119  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10120  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10121  # platforms (ab)use it in PIC code, but their linkers get confused if
10122  # the symbol is explicitly referenced.  Since portable code cannot
10123  # rely on this symbol name, it's probably fine to never include it in
10124  # preloaded symbol tables.
10125  # Exclude shared library initialization/finalization symbols.
10126  extract_expsyms_cmds=
10127
10128  case $host_os in
10129  cygwin* | mingw* | pw32* | cegcc*)
10130    # FIXME: the MSVC++ port hasn't been tested in a loooong time
10131    # When not using gcc, we currently assume that we are using
10132    # Microsoft Visual C++.
10133    if test yes != "$GCC"; then
10134      with_gnu_ld=no
10135    fi
10136    ;;
10137  interix*)
10138    # we just hope/assume this is gcc and not c89 (= MSVC++)
10139    with_gnu_ld=yes
10140    ;;
10141  openbsd* | bitrig*)
10142    with_gnu_ld=no
10143    ;;
10144  esac
10145
10146  ld_shlibs=yes
10147
10148  # On some targets, GNU ld is compatible enough with the native linker
10149  # that we're better off using the native interface for both.
10150  lt_use_gnu_ld_interface=no
10151  if test yes = "$with_gnu_ld"; then
10152    case $host_os in
10153      aix*)
10154	# The AIX port of GNU ld has always aspired to compatibility
10155	# with the native linker.  However, as the warning in the GNU ld
10156	# block says, versions before 2.19.5* couldn't really create working
10157	# shared libraries, regardless of the interface used.
10158	case `$LD -v 2>&1` in
10159	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
10160	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
10161	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
10162	  *)
10163	    lt_use_gnu_ld_interface=yes
10164	    ;;
10165	esac
10166	;;
10167      *)
10168	lt_use_gnu_ld_interface=yes
10169	;;
10170    esac
10171  fi
10172
10173  if test yes = "$lt_use_gnu_ld_interface"; then
10174    # If archive_cmds runs LD, not CC, wlarc should be empty
10175    wlarc='$wl'
10176
10177    # Set some defaults for GNU ld with shared library support. These
10178    # are reset later if shared libraries are not supported. Putting them
10179    # here allows them to be overridden if necessary.
10180    runpath_var=LD_RUN_PATH
10181    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10182    export_dynamic_flag_spec='$wl--export-dynamic'
10183    # ancient GNU ld didn't support --whole-archive et. al.
10184    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
10185      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
10186    else
10187      whole_archive_flag_spec=
10188    fi
10189    supports_anon_versioning=no
10190    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
10191      *GNU\ gold*) supports_anon_versioning=yes ;;
10192      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
10193      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
10194      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
10195      *\ 2.11.*) ;; # other 2.11 versions
10196      *) supports_anon_versioning=yes ;;
10197    esac
10198
10199    # See if GNU ld supports shared libraries.
10200    case $host_os in
10201    aix[3-9]*)
10202      # On AIX/PPC, the GNU linker is very broken
10203      if test ia64 != "$host_cpu"; then
10204	ld_shlibs=no
10205	cat <<_LT_EOF 1>&2
10206
10207*** Warning: the GNU linker, at least up to release 2.19, is reported
10208*** to be unable to reliably create shared libraries on AIX.
10209*** Therefore, libtool is disabling shared libraries support.  If you
10210*** really care for shared libraries, you may want to install binutils
10211*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10212*** You will then need to restart the configuration process.
10213
10214_LT_EOF
10215      fi
10216      ;;
10217
10218    amigaos*)
10219      case $host_cpu in
10220      powerpc)
10221            # see comment about AmigaOS4 .so support
10222            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10223            archive_expsym_cmds=''
10224        ;;
10225      m68k)
10226            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)'
10227            hardcode_libdir_flag_spec='-L$libdir'
10228            hardcode_minus_L=yes
10229        ;;
10230      esac
10231      ;;
10232
10233    beos*)
10234      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10235	allow_undefined_flag=unsupported
10236	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10237	# support --undefined.  This deserves some investigation.  FIXME
10238	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10239      else
10240	ld_shlibs=no
10241      fi
10242      ;;
10243
10244    cygwin* | mingw* | pw32* | cegcc*)
10245      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10246      # as there is no search path for DLLs.
10247      hardcode_libdir_flag_spec='-L$libdir'
10248      export_dynamic_flag_spec='$wl--export-all-symbols'
10249      allow_undefined_flag=unsupported
10250      always_export_symbols=no
10251      enable_shared_with_static_runtimes=yes
10252      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'
10253      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
10254
10255      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
10256        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10257	# If the export-symbols file already is a .def file, use it as
10258	# is; otherwise, prepend EXPORTS...
10259	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10260          cp $export_symbols $output_objdir/$soname.def;
10261        else
10262          echo EXPORTS > $output_objdir/$soname.def;
10263          cat $export_symbols >> $output_objdir/$soname.def;
10264        fi~
10265        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10266      else
10267	ld_shlibs=no
10268      fi
10269      ;;
10270
10271    haiku*)
10272      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10273      link_all_deplibs=yes
10274      ;;
10275
10276    os2*)
10277      hardcode_libdir_flag_spec='-L$libdir'
10278      hardcode_minus_L=yes
10279      allow_undefined_flag=unsupported
10280      shrext_cmds=.dll
10281      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10282	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10283	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10284	$ECHO EXPORTS >> $output_objdir/$libname.def~
10285	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
10286	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10287	emximp -o $lib $output_objdir/$libname.def'
10288      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
10289	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
10290	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
10291	$ECHO EXPORTS >> $output_objdir/$libname.def~
10292	prefix_cmds="$SED"~
10293	if test EXPORTS = "`$SED 1q $export_symbols`"; then
10294	  prefix_cmds="$prefix_cmds -e 1d";
10295	fi~
10296	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
10297	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
10298	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
10299	emximp -o $lib $output_objdir/$libname.def'
10300      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
10301      enable_shared_with_static_runtimes=yes
10302      ;;
10303
10304    interix[3-9]*)
10305      hardcode_direct=no
10306      hardcode_shlibpath_var=no
10307      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
10308      export_dynamic_flag_spec='$wl-E'
10309      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10310      # Instead, shared libraries are loaded at an image base (0x10000000 by
10311      # default) and relocated if they conflict, which is a slow very memory
10312      # consuming and fragmenting process.  To avoid this, we pick a random,
10313      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10314      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
10315      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10316      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'
10317      ;;
10318
10319    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
10320      tmp_diet=no
10321      if test linux-dietlibc = "$host_os"; then
10322	case $cc_basename in
10323	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
10324	esac
10325      fi
10326      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
10327	 && test no = "$tmp_diet"
10328      then
10329	tmp_addflag=' $pic_flag'
10330	tmp_sharedflag='-shared'
10331	case $cc_basename,$host_cpu in
10332        pgcc*)				# Portland Group C compiler
10333	  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'
10334	  tmp_addflag=' $pic_flag'
10335	  ;;
10336	pgf77* | pgf90* | pgf95* | pgfortran*)
10337					# Portland Group f77 and f90 compilers
10338	  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'
10339	  tmp_addflag=' $pic_flag -Mnomain' ;;
10340	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
10341	  tmp_addflag=' -i_dynamic' ;;
10342	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
10343	  tmp_addflag=' -i_dynamic -nofor_main' ;;
10344	ifc* | ifort*)			# Intel Fortran compiler
10345	  tmp_addflag=' -nofor_main' ;;
10346	lf95*)				# Lahey Fortran 8.1
10347	  whole_archive_flag_spec=
10348	  tmp_sharedflag='--shared' ;;
10349        nagfor*)                        # NAGFOR 5.3
10350          tmp_sharedflag='-Wl,-shared' ;;
10351	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10352	  tmp_sharedflag='-qmkshrobj'
10353	  tmp_addflag= ;;
10354	nvcc*)	# Cuda Compiler Driver 2.2
10355	  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'
10356	  compiler_needs_object=yes
10357	  ;;
10358	esac
10359	case `$CC -V 2>&1 | sed 5q` in
10360	*Sun\ C*)			# Sun C 5.9
10361	  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'
10362	  compiler_needs_object=yes
10363	  tmp_sharedflag='-G' ;;
10364	*Sun\ F*)			# Sun Fortran 8.3
10365	  tmp_sharedflag='-G' ;;
10366	esac
10367	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10368
10369        if test yes = "$supports_anon_versioning"; then
10370          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10371            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10372            echo "local: *; };" >> $output_objdir/$libname.ver~
10373            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
10374        fi
10375
10376	case $cc_basename in
10377	tcc*)
10378	  export_dynamic_flag_spec='-rdynamic'
10379	  ;;
10380	xlf* | bgf* | bgxlf* | mpixlf*)
10381	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10382	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
10383	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10384	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
10385	  if test yes = "$supports_anon_versioning"; then
10386	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
10387              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10388              echo "local: *; };" >> $output_objdir/$libname.ver~
10389              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10390	  fi
10391	  ;;
10392	esac
10393      else
10394        ld_shlibs=no
10395      fi
10396      ;;
10397
10398    netbsd*)
10399      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10400	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10401	wlarc=
10402      else
10403	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10404	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10405      fi
10406      ;;
10407
10408    solaris*)
10409      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10410	ld_shlibs=no
10411	cat <<_LT_EOF 1>&2
10412
10413*** Warning: The releases 2.8.* of the GNU linker cannot reliably
10414*** create shared libraries on Solaris systems.  Therefore, libtool
10415*** is disabling shared libraries support.  We urge you to upgrade GNU
10416*** binutils to release 2.9.1 or newer.  Another option is to modify
10417*** your PATH or compiler configuration so that the native linker is
10418*** used, and then restart.
10419
10420_LT_EOF
10421      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10422	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10423	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10424      else
10425	ld_shlibs=no
10426      fi
10427      ;;
10428
10429    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10430      case `$LD -v 2>&1` in
10431        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10432	ld_shlibs=no
10433	cat <<_LT_EOF 1>&2
10434
10435*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
10436*** reliably create shared libraries on SCO systems.  Therefore, libtool
10437*** is disabling shared libraries support.  We urge you to upgrade GNU
10438*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
10439*** your PATH or compiler configuration so that the native linker is
10440*** used, and then restart.
10441
10442_LT_EOF
10443	;;
10444	*)
10445	  # For security reasons, it is highly recommended that you always
10446	  # use absolute paths for naming shared libraries, and exclude the
10447	  # DT_RUNPATH tag from executables and libraries.  But doing so
10448	  # requires that you compile everything twice, which is a pain.
10449	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10450	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
10451	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10452	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10453	  else
10454	    ld_shlibs=no
10455	  fi
10456	;;
10457      esac
10458      ;;
10459
10460    sunos4*)
10461      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10462      wlarc=
10463      hardcode_direct=yes
10464      hardcode_shlibpath_var=no
10465      ;;
10466
10467    *)
10468      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10469	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10470	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
10471      else
10472	ld_shlibs=no
10473      fi
10474      ;;
10475    esac
10476
10477    if test no = "$ld_shlibs"; then
10478      runpath_var=
10479      hardcode_libdir_flag_spec=
10480      export_dynamic_flag_spec=
10481      whole_archive_flag_spec=
10482    fi
10483  else
10484    # PORTME fill in a description of your system's linker (not GNU ld)
10485    case $host_os in
10486    aix3*)
10487      allow_undefined_flag=unsupported
10488      always_export_symbols=yes
10489      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'
10490      # Note: this linker hardcodes the directories in LIBPATH if there
10491      # are no directories specified by -L.
10492      hardcode_minus_L=yes
10493      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
10494	# Neither direct hardcoding nor static linking is supported with a
10495	# broken collect2.
10496	hardcode_direct=unsupported
10497      fi
10498      ;;
10499
10500    aix[4-9]*)
10501      if test ia64 = "$host_cpu"; then
10502	# On IA64, the linker does run time linking by default, so we don't
10503	# have to do anything special.
10504	aix_use_runtimelinking=no
10505	exp_sym_flag='-Bexport'
10506	no_entry_flag=
10507      else
10508	# If we're using GNU nm, then we don't want the "-C" option.
10509	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
10510	# Without the "-l" option, or with the "-B" option, AIX nm treats
10511	# weak defined symbols like other global defined symbols, whereas
10512	# GNU nm marks them as "W".
10513	# While the 'weak' keyword is ignored in the Export File, we need
10514	# it in the Import File for the 'aix-soname' feature, so we have
10515	# to replace the "-B" option with "-P" for AIX nm.
10516	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10517	  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'
10518	else
10519	  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'
10520	fi
10521	aix_use_runtimelinking=no
10522
10523	# Test if we are trying to use run time linking or normal
10524	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
10525	# have runtime linking enabled, and use it for executables.
10526	# For shared libraries, we enable/disable runtime linking
10527	# depending on the kind of the shared library created -
10528	# when "with_aix_soname,aix_use_runtimelinking" is:
10529	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
10530	# "aix,yes"  lib.so          shared, rtl:yes, for executables
10531	#            lib.a           static archive
10532	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
10533	#            lib.a(lib.so.V) shared, rtl:no,  for executables
10534	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
10535	#            lib.a(lib.so.V) shared, rtl:no
10536	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
10537	#            lib.a           static archive
10538	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10539	  for ld_flag in $LDFLAGS; do
10540	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
10541	    aix_use_runtimelinking=yes
10542	    break
10543	  fi
10544	  done
10545	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
10546	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
10547	    # so we don't have lib.a shared libs to link our executables.
10548	    # We have to force runtime linking in this case.
10549	    aix_use_runtimelinking=yes
10550	    LDFLAGS="$LDFLAGS -Wl,-brtl"
10551	  fi
10552	  ;;
10553	esac
10554
10555	exp_sym_flag='-bexport'
10556	no_entry_flag='-bnoentry'
10557      fi
10558
10559      # When large executables or shared objects are built, AIX ld can
10560      # have problems creating the table of contents.  If linking a library
10561      # or program results in "error TOC overflow" add -mminimal-toc to
10562      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
10563      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10564
10565      archive_cmds=''
10566      hardcode_direct=yes
10567      hardcode_direct_absolute=yes
10568      hardcode_libdir_separator=':'
10569      link_all_deplibs=yes
10570      file_list_spec='$wl-f,'
10571      case $with_aix_soname,$aix_use_runtimelinking in
10572      aix,*) ;; # traditional, no import file
10573      svr4,* | *,yes) # use import file
10574	# The Import File defines what to hardcode.
10575	hardcode_direct=no
10576	hardcode_direct_absolute=no
10577	;;
10578      esac
10579
10580      if test yes = "$GCC"; then
10581	case $host_os in aix4.[012]|aix4.[012].*)
10582	# We only want to do this on AIX 4.2 and lower, the check
10583	# below for broken collect2 doesn't work under 4.3+
10584	  collect2name=`$CC -print-prog-name=collect2`
10585	  if test -f "$collect2name" &&
10586	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10587	  then
10588	  # We have reworked collect2
10589	  :
10590	  else
10591	  # We have old collect2
10592	  hardcode_direct=unsupported
10593	  # It fails to find uninstalled libraries when the uninstalled
10594	  # path is not listed in the libpath.  Setting hardcode_minus_L
10595	  # to unsupported forces relinking
10596	  hardcode_minus_L=yes
10597	  hardcode_libdir_flag_spec='-L$libdir'
10598	  hardcode_libdir_separator=
10599	  fi
10600	  ;;
10601	esac
10602	shared_flag='-shared'
10603	if test yes = "$aix_use_runtimelinking"; then
10604	  shared_flag="$shared_flag "'$wl-G'
10605	fi
10606	# Need to ensure runtime linking is disabled for the traditional
10607	# shared library, or the linker may eventually find shared libraries
10608	# /with/ Import File - we do not want to mix them.
10609	shared_flag_aix='-shared'
10610	shared_flag_svr4='-shared $wl-G'
10611      else
10612	# not using gcc
10613	if test ia64 = "$host_cpu"; then
10614	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10615	# chokes on -Wl,-G. The following line is correct:
10616	  shared_flag='-G'
10617	else
10618	  if test yes = "$aix_use_runtimelinking"; then
10619	    shared_flag='$wl-G'
10620	  else
10621	    shared_flag='$wl-bM:SRE'
10622	  fi
10623	  shared_flag_aix='$wl-bM:SRE'
10624	  shared_flag_svr4='$wl-G'
10625	fi
10626      fi
10627
10628      export_dynamic_flag_spec='$wl-bexpall'
10629      # It seems that -bexpall does not export symbols beginning with
10630      # underscore (_), so it is better to generate a list of symbols to export.
10631      always_export_symbols=yes
10632      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
10633	# Warning - without using the other runtime loading flags (-brtl),
10634	# -berok will link without error, but may produce a broken library.
10635	allow_undefined_flag='-berok'
10636        # Determine the default libpath from the value encoded in an
10637        # empty executable.
10638        if test set = "${lt_cv_aix_libpath+set}"; then
10639  aix_libpath=$lt_cv_aix_libpath
10640else
10641  if ${lt_cv_aix_libpath_+:} false; then :
10642  $as_echo_n "(cached) " >&6
10643else
10644  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10645/* end confdefs.h.  */
10646
10647int
10648main ()
10649{
10650
10651  ;
10652  return 0;
10653}
10654_ACEOF
10655if ac_fn_c_try_link "$LINENO"; then :
10656
10657  lt_aix_libpath_sed='
10658      /Import File Strings/,/^$/ {
10659	  /^0/ {
10660	      s/^0  *\([^ ]*\) *$/\1/
10661	      p
10662	  }
10663      }'
10664  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10665  # Check for a 64-bit object if we didn't find anything.
10666  if test -z "$lt_cv_aix_libpath_"; then
10667    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10668  fi
10669fi
10670rm -f core conftest.err conftest.$ac_objext \
10671    conftest$ac_exeext conftest.$ac_ext
10672  if test -z "$lt_cv_aix_libpath_"; then
10673    lt_cv_aix_libpath_=/usr/lib:/lib
10674  fi
10675
10676fi
10677
10678  aix_libpath=$lt_cv_aix_libpath_
10679fi
10680
10681        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10682        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
10683      else
10684	if test ia64 = "$host_cpu"; then
10685	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
10686	  allow_undefined_flag="-z nodefs"
10687	  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"
10688	else
10689	 # Determine the default libpath from the value encoded in an
10690	 # empty executable.
10691	 if test set = "${lt_cv_aix_libpath+set}"; then
10692  aix_libpath=$lt_cv_aix_libpath
10693else
10694  if ${lt_cv_aix_libpath_+:} false; then :
10695  $as_echo_n "(cached) " >&6
10696else
10697  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698/* end confdefs.h.  */
10699
10700int
10701main ()
10702{
10703
10704  ;
10705  return 0;
10706}
10707_ACEOF
10708if ac_fn_c_try_link "$LINENO"; then :
10709
10710  lt_aix_libpath_sed='
10711      /Import File Strings/,/^$/ {
10712	  /^0/ {
10713	      s/^0  *\([^ ]*\) *$/\1/
10714	      p
10715	  }
10716      }'
10717  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10718  # Check for a 64-bit object if we didn't find anything.
10719  if test -z "$lt_cv_aix_libpath_"; then
10720    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10721  fi
10722fi
10723rm -f core conftest.err conftest.$ac_objext \
10724    conftest$ac_exeext conftest.$ac_ext
10725  if test -z "$lt_cv_aix_libpath_"; then
10726    lt_cv_aix_libpath_=/usr/lib:/lib
10727  fi
10728
10729fi
10730
10731  aix_libpath=$lt_cv_aix_libpath_
10732fi
10733
10734	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
10735	  # Warning - without using the other run time loading flags,
10736	  # -berok will link without error, but may produce a broken library.
10737	  no_undefined_flag=' $wl-bernotok'
10738	  allow_undefined_flag=' $wl-berok'
10739	  if test yes = "$with_gnu_ld"; then
10740	    # We only use this code for GNU lds that support --whole-archive.
10741	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
10742	  else
10743	    # Exported symbols can be pulled into shared objects from archives
10744	    whole_archive_flag_spec='$convenience'
10745	  fi
10746	  archive_cmds_need_lc=yes
10747	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
10748	  # -brtl affects multiple linker settings, -berok does not and is overridden later
10749	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
10750	  if test svr4 != "$with_aix_soname"; then
10751	    # This is similar to how AIX traditionally builds its shared libraries.
10752	    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'
10753	  fi
10754	  if test aix != "$with_aix_soname"; then
10755	    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'
10756	  else
10757	    # used by -dlpreopen to get the symbols
10758	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
10759	  fi
10760	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
10761	fi
10762      fi
10763      ;;
10764
10765    amigaos*)
10766      case $host_cpu in
10767      powerpc)
10768            # see comment about AmigaOS4 .so support
10769            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
10770            archive_expsym_cmds=''
10771        ;;
10772      m68k)
10773            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)'
10774            hardcode_libdir_flag_spec='-L$libdir'
10775            hardcode_minus_L=yes
10776        ;;
10777      esac
10778      ;;
10779
10780    bsdi[45]*)
10781      export_dynamic_flag_spec=-rdynamic
10782      ;;
10783
10784    cygwin* | mingw* | pw32* | cegcc*)
10785      # When not using gcc, we currently assume that we are using
10786      # Microsoft Visual C++.
10787      # hardcode_libdir_flag_spec is actually meaningless, as there is
10788      # no search path for DLLs.
10789      case $cc_basename in
10790      cl*)
10791	# Native MSVC
10792	hardcode_libdir_flag_spec=' '
10793	allow_undefined_flag=unsupported
10794	always_export_symbols=yes
10795	file_list_spec='@'
10796	# Tell ltmain to make .lib files, not .a files.
10797	libext=lib
10798	# Tell ltmain to make .dll files, not .so files.
10799	shrext_cmds=.dll
10800	# FIXME: Setting linknames here is a bad hack.
10801	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
10802	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
10803            cp "$export_symbols" "$output_objdir/$soname.def";
10804            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
10805          else
10806            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
10807          fi~
10808          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10809          linknames='
10810	# The linker will not automatically build a static lib if we build a DLL.
10811	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10812	enable_shared_with_static_runtimes=yes
10813	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10814	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10815	# Don't use ranlib
10816	old_postinstall_cmds='chmod 644 $oldlib'
10817	postlink_cmds='lt_outputfile="@OUTPUT@"~
10818          lt_tool_outputfile="@TOOL_OUTPUT@"~
10819          case $lt_outputfile in
10820            *.exe|*.EXE) ;;
10821            *)
10822              lt_outputfile=$lt_outputfile.exe
10823              lt_tool_outputfile=$lt_tool_outputfile.exe
10824              ;;
10825          esac~
10826          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
10827            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10828            $RM "$lt_outputfile.manifest";
10829          fi'
10830	;;
10831      *)
10832	# Assume MSVC wrapper
10833	hardcode_libdir_flag_spec=' '
10834	allow_undefined_flag=unsupported
10835	# Tell ltmain to make .lib files, not .a files.
10836	libext=lib
10837	# Tell ltmain to make .dll files, not .so files.
10838	shrext_cmds=.dll
10839	# FIXME: Setting linknames here is a bad hack.
10840	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10841	# The linker will automatically build a .lib file if we build a DLL.
10842	old_archive_from_new_cmds='true'
10843	# FIXME: Should let the user specify the lib program.
10844	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10845	enable_shared_with_static_runtimes=yes
10846	;;
10847      esac
10848      ;;
10849
10850    darwin* | rhapsody*)
10851
10852
10853  archive_cmds_need_lc=no
10854  hardcode_direct=no
10855  hardcode_automatic=yes
10856  hardcode_shlibpath_var=unsupported
10857  if test yes = "$lt_cv_ld_force_load"; then
10858    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\"`'
10859
10860  else
10861    whole_archive_flag_spec=''
10862  fi
10863  link_all_deplibs=yes
10864  allow_undefined_flag=$_lt_dar_allow_undefined
10865  case $cc_basename in
10866     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
10867     *) _lt_dar_can_shared=$GCC ;;
10868  esac
10869  if test yes = "$_lt_dar_can_shared"; then
10870    output_verbose_link_cmd=func_echo_all
10871    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
10872    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
10873    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"
10874    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"
10875
10876  else
10877  ld_shlibs=no
10878  fi
10879
10880      ;;
10881
10882    dgux*)
10883      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10884      hardcode_libdir_flag_spec='-L$libdir'
10885      hardcode_shlibpath_var=no
10886      ;;
10887
10888    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10889    # support.  Future versions do this automatically, but an explicit c++rt0.o
10890    # does not break anything, and helps significantly (at the cost of a little
10891    # extra space).
10892    freebsd2.2*)
10893      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10894      hardcode_libdir_flag_spec='-R$libdir'
10895      hardcode_direct=yes
10896      hardcode_shlibpath_var=no
10897      ;;
10898
10899    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10900    freebsd2.*)
10901      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10902      hardcode_direct=yes
10903      hardcode_minus_L=yes
10904      hardcode_shlibpath_var=no
10905      ;;
10906
10907    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10908    freebsd* | dragonfly*)
10909      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10910      hardcode_libdir_flag_spec='-R$libdir'
10911      hardcode_direct=yes
10912      hardcode_shlibpath_var=no
10913      ;;
10914
10915    hpux9*)
10916      if test yes = "$GCC"; then
10917	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'
10918      else
10919	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'
10920      fi
10921      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10922      hardcode_libdir_separator=:
10923      hardcode_direct=yes
10924
10925      # hardcode_minus_L: Not really in the search PATH,
10926      # but as the default location of the library.
10927      hardcode_minus_L=yes
10928      export_dynamic_flag_spec='$wl-E'
10929      ;;
10930
10931    hpux10*)
10932      if test yes,no = "$GCC,$with_gnu_ld"; then
10933	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10934      else
10935	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10936      fi
10937      if test no = "$with_gnu_ld"; then
10938	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
10939	hardcode_libdir_separator=:
10940	hardcode_direct=yes
10941	hardcode_direct_absolute=yes
10942	export_dynamic_flag_spec='$wl-E'
10943	# hardcode_minus_L: Not really in the search PATH,
10944	# but as the default location of the library.
10945	hardcode_minus_L=yes
10946      fi
10947      ;;
10948
10949    hpux11*)
10950      if test yes,no = "$GCC,$with_gnu_ld"; then
10951	case $host_cpu in
10952	hppa*64*)
10953	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10954	  ;;
10955	ia64*)
10956	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10957	  ;;
10958	*)
10959	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10960	  ;;
10961	esac
10962      else
10963	case $host_cpu in
10964	hppa*64*)
10965	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
10966	  ;;
10967	ia64*)
10968	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10969	  ;;
10970	*)
10971
10972	  # Older versions of the 11.00 compiler do not understand -b yet
10973	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10974	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10975$as_echo_n "checking if $CC understands -b... " >&6; }
10976if ${lt_cv_prog_compiler__b+:} false; then :
10977  $as_echo_n "(cached) " >&6
10978else
10979  lt_cv_prog_compiler__b=no
10980   save_LDFLAGS=$LDFLAGS
10981   LDFLAGS="$LDFLAGS -b"
10982   echo "$lt_simple_link_test_code" > conftest.$ac_ext
10983   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10984     # The linker can only warn and ignore the option if not recognized
10985     # So say no if there are warnings
10986     if test -s conftest.err; then
10987       # Append any errors to the config.log.
10988       cat conftest.err 1>&5
10989       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10990       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10991       if diff conftest.exp conftest.er2 >/dev/null; then
10992         lt_cv_prog_compiler__b=yes
10993       fi
10994     else
10995       lt_cv_prog_compiler__b=yes
10996     fi
10997   fi
10998   $RM -r conftest*
10999   LDFLAGS=$save_LDFLAGS
11000
11001fi
11002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11003$as_echo "$lt_cv_prog_compiler__b" >&6; }
11004
11005if test yes = "$lt_cv_prog_compiler__b"; then
11006    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11007else
11008    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11009fi
11010
11011	  ;;
11012	esac
11013      fi
11014      if test no = "$with_gnu_ld"; then
11015	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
11016	hardcode_libdir_separator=:
11017
11018	case $host_cpu in
11019	hppa*64*|ia64*)
11020	  hardcode_direct=no
11021	  hardcode_shlibpath_var=no
11022	  ;;
11023	*)
11024	  hardcode_direct=yes
11025	  hardcode_direct_absolute=yes
11026	  export_dynamic_flag_spec='$wl-E'
11027
11028	  # hardcode_minus_L: Not really in the search PATH,
11029	  # but as the default location of the library.
11030	  hardcode_minus_L=yes
11031	  ;;
11032	esac
11033      fi
11034      ;;
11035
11036    irix5* | irix6* | nonstopux*)
11037      if test yes = "$GCC"; then
11038	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'
11039	# Try to use the -exported_symbol ld option, if it does not
11040	# work, assume that -exports_file does not work either and
11041	# implicitly export all symbols.
11042	# This should be the same for all languages, so no per-tag cache variable.
11043	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
11044$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
11045if ${lt_cv_irix_exported_symbol+:} false; then :
11046  $as_echo_n "(cached) " >&6
11047else
11048  save_LDFLAGS=$LDFLAGS
11049	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
11050	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051/* end confdefs.h.  */
11052int foo (void) { return 0; }
11053_ACEOF
11054if ac_fn_c_try_link "$LINENO"; then :
11055  lt_cv_irix_exported_symbol=yes
11056else
11057  lt_cv_irix_exported_symbol=no
11058fi
11059rm -f core conftest.err conftest.$ac_objext \
11060    conftest$ac_exeext conftest.$ac_ext
11061           LDFLAGS=$save_LDFLAGS
11062fi
11063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
11064$as_echo "$lt_cv_irix_exported_symbol" >&6; }
11065	if test yes = "$lt_cv_irix_exported_symbol"; then
11066          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'
11067	fi
11068      else
11069	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'
11070	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'
11071      fi
11072      archive_cmds_need_lc='no'
11073      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11074      hardcode_libdir_separator=:
11075      inherit_rpath=yes
11076      link_all_deplibs=yes
11077      ;;
11078
11079    linux*)
11080      case $cc_basename in
11081      tcc*)
11082	# Fabrice Bellard et al's Tiny C Compiler
11083	ld_shlibs=yes
11084	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11085	;;
11086      esac
11087      ;;
11088
11089    netbsd*)
11090      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11091	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
11092      else
11093	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
11094      fi
11095      hardcode_libdir_flag_spec='-R$libdir'
11096      hardcode_direct=yes
11097      hardcode_shlibpath_var=no
11098      ;;
11099
11100    newsos6)
11101      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11102      hardcode_direct=yes
11103      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11104      hardcode_libdir_separator=:
11105      hardcode_shlibpath_var=no
11106      ;;
11107
11108    *nto* | *qnx*)
11109      ;;
11110
11111    openbsd* | bitrig*)
11112      if test -f /usr/libexec/ld.so; then
11113	hardcode_direct=yes
11114	hardcode_shlibpath_var=no
11115	hardcode_direct_absolute=yes
11116	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11117	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11118	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
11119	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11120	  export_dynamic_flag_spec='$wl-E'
11121	else
11122	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11123	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11124	fi
11125      else
11126	ld_shlibs=no
11127      fi
11128      ;;
11129
11130    os2*)
11131      hardcode_libdir_flag_spec='-L$libdir'
11132      hardcode_minus_L=yes
11133      allow_undefined_flag=unsupported
11134      shrext_cmds=.dll
11135      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11136	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11137	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11138	$ECHO EXPORTS >> $output_objdir/$libname.def~
11139	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11140	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11141	emximp -o $lib $output_objdir/$libname.def'
11142      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11143	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11144	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11145	$ECHO EXPORTS >> $output_objdir/$libname.def~
11146	prefix_cmds="$SED"~
11147	if test EXPORTS = "`$SED 1q $export_symbols`"; then
11148	  prefix_cmds="$prefix_cmds -e 1d";
11149	fi~
11150	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11151	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11152	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11153	emximp -o $lib $output_objdir/$libname.def'
11154      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11155      enable_shared_with_static_runtimes=yes
11156      ;;
11157
11158    osf3*)
11159      if test yes = "$GCC"; then
11160	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11161	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'
11162      else
11163	allow_undefined_flag=' -expect_unresolved \*'
11164	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'
11165      fi
11166      archive_cmds_need_lc='no'
11167      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11168      hardcode_libdir_separator=:
11169      ;;
11170
11171    osf4* | osf5*)	# as osf3* with the addition of -msym flag
11172      if test yes = "$GCC"; then
11173	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
11174	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'
11175	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11176      else
11177	allow_undefined_flag=' -expect_unresolved \*'
11178	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'
11179	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~
11180          $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'
11181
11182	# Both c and cxx compiler support -rpath directly
11183	hardcode_libdir_flag_spec='-rpath $libdir'
11184      fi
11185      archive_cmds_need_lc='no'
11186      hardcode_libdir_separator=:
11187      ;;
11188
11189    solaris*)
11190      no_undefined_flag=' -z defs'
11191      if test yes = "$GCC"; then
11192	wlarc='$wl'
11193	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
11194	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11195          $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'
11196      else
11197	case `$CC -V 2>&1` in
11198	*"Compilers 5.0"*)
11199	  wlarc=''
11200	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
11201	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11202            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11203	  ;;
11204	*)
11205	  wlarc='$wl'
11206	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11207	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11208            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11209	  ;;
11210	esac
11211      fi
11212      hardcode_libdir_flag_spec='-R$libdir'
11213      hardcode_shlibpath_var=no
11214      case $host_os in
11215      solaris2.[0-5] | solaris2.[0-5].*) ;;
11216      *)
11217	# The compiler driver will combine and reorder linker options,
11218	# but understands '-z linker_flag'.  GCC discards it without '$wl',
11219	# but is careful enough not to reorder.
11220	# Supported since Solaris 2.6 (maybe 2.5.1?)
11221	if test yes = "$GCC"; then
11222	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
11223	else
11224	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
11225	fi
11226	;;
11227      esac
11228      link_all_deplibs=yes
11229      ;;
11230
11231    sunos4*)
11232      if test sequent = "$host_vendor"; then
11233	# Use $CC to link under sequent, because it throws in some extra .o
11234	# files that make .init and .fini sections work.
11235	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11236      else
11237	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11238      fi
11239      hardcode_libdir_flag_spec='-L$libdir'
11240      hardcode_direct=yes
11241      hardcode_minus_L=yes
11242      hardcode_shlibpath_var=no
11243      ;;
11244
11245    sysv4)
11246      case $host_vendor in
11247	sni)
11248	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11249	  hardcode_direct=yes # is this really true???
11250	;;
11251	siemens)
11252	  ## LD is ld it makes a PLAMLIB
11253	  ## CC just makes a GrossModule.
11254	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11255	  reload_cmds='$CC -r -o $output$reload_objs'
11256	  hardcode_direct=no
11257        ;;
11258	motorola)
11259	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11260	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
11261	;;
11262      esac
11263      runpath_var='LD_RUN_PATH'
11264      hardcode_shlibpath_var=no
11265      ;;
11266
11267    sysv4.3*)
11268      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11269      hardcode_shlibpath_var=no
11270      export_dynamic_flag_spec='-Bexport'
11271      ;;
11272
11273    sysv4*MP*)
11274      if test -d /usr/nec; then
11275	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11276	hardcode_shlibpath_var=no
11277	runpath_var=LD_RUN_PATH
11278	hardcode_runpath_var=yes
11279	ld_shlibs=yes
11280      fi
11281      ;;
11282
11283    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
11284      no_undefined_flag='$wl-z,text'
11285      archive_cmds_need_lc=no
11286      hardcode_shlibpath_var=no
11287      runpath_var='LD_RUN_PATH'
11288
11289      if test yes = "$GCC"; then
11290	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11291	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11292      else
11293	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11294	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11295      fi
11296      ;;
11297
11298    sysv5* | sco3.2v5* | sco5v6*)
11299      # Note: We CANNOT use -z defs as we might desire, because we do not
11300      # link with -lc, and that would cause any symbols used from libc to
11301      # always be unresolved, which means just about no library would
11302      # ever link correctly.  If we're not using GNU ld we use -z text
11303      # though, which does catch some bad symbols but isn't as heavy-handed
11304      # as -z defs.
11305      no_undefined_flag='$wl-z,text'
11306      allow_undefined_flag='$wl-z,nodefs'
11307      archive_cmds_need_lc=no
11308      hardcode_shlibpath_var=no
11309      hardcode_libdir_flag_spec='$wl-R,$libdir'
11310      hardcode_libdir_separator=':'
11311      link_all_deplibs=yes
11312      export_dynamic_flag_spec='$wl-Bexport'
11313      runpath_var='LD_RUN_PATH'
11314
11315      if test yes = "$GCC"; then
11316	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11317	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11318      else
11319	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11320	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11321      fi
11322      ;;
11323
11324    uts4*)
11325      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11326      hardcode_libdir_flag_spec='-L$libdir'
11327      hardcode_shlibpath_var=no
11328      ;;
11329
11330    *)
11331      ld_shlibs=no
11332      ;;
11333    esac
11334
11335    if test sni = "$host_vendor"; then
11336      case $host in
11337      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11338	export_dynamic_flag_spec='$wl-Blargedynsym'
11339	;;
11340      esac
11341    fi
11342  fi
11343
11344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11345$as_echo "$ld_shlibs" >&6; }
11346test no = "$ld_shlibs" && can_build_shared=no
11347
11348with_gnu_ld=$with_gnu_ld
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364#
11365# Do we need to explicitly link libc?
11366#
11367case "x$archive_cmds_need_lc" in
11368x|xyes)
11369  # Assume -lc should be added
11370  archive_cmds_need_lc=yes
11371
11372  if test yes,yes = "$GCC,$enable_shared"; then
11373    case $archive_cmds in
11374    *'~'*)
11375      # FIXME: we may have to deal with multi-command sequences.
11376      ;;
11377    '$CC '*)
11378      # Test whether the compiler implicitly links with -lc since on some
11379      # systems, -lgcc has to come before -lc. If gcc already passes -lc
11380      # to ld, don't add -lc before -lgcc.
11381      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11382$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11383if ${lt_cv_archive_cmds_need_lc+:} false; then :
11384  $as_echo_n "(cached) " >&6
11385else
11386  $RM conftest*
11387	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11388
11389	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11390  (eval $ac_compile) 2>&5
11391  ac_status=$?
11392  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11393  test $ac_status = 0; } 2>conftest.err; then
11394	  soname=conftest
11395	  lib=conftest
11396	  libobjs=conftest.$ac_objext
11397	  deplibs=
11398	  wl=$lt_prog_compiler_wl
11399	  pic_flag=$lt_prog_compiler_pic
11400	  compiler_flags=-v
11401	  linker_flags=-v
11402	  verstring=
11403	  output_objdir=.
11404	  libname=conftest
11405	  lt_save_allow_undefined_flag=$allow_undefined_flag
11406	  allow_undefined_flag=
11407	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11408  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
11409  ac_status=$?
11410  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11411  test $ac_status = 0; }
11412	  then
11413	    lt_cv_archive_cmds_need_lc=no
11414	  else
11415	    lt_cv_archive_cmds_need_lc=yes
11416	  fi
11417	  allow_undefined_flag=$lt_save_allow_undefined_flag
11418	else
11419	  cat conftest.err 1>&5
11420	fi
11421	$RM conftest*
11422
11423fi
11424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11425$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11426      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
11427      ;;
11428    esac
11429  fi
11430  ;;
11431esac
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11585$as_echo_n "checking dynamic linker characteristics... " >&6; }
11586
11587if test yes = "$GCC"; then
11588  case $host_os in
11589    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
11590    *) lt_awk_arg='/^libraries:/' ;;
11591  esac
11592  case $host_os in
11593    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
11594    *) lt_sed_strip_eq='s|=/|/|g' ;;
11595  esac
11596  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11597  case $lt_search_path_spec in
11598  *\;*)
11599    # if the path contains ";" then we assume it to be the separator
11600    # otherwise default to the standard path separator (i.e. ":") - it is
11601    # assumed that no part of a normal pathname contains ";" but that should
11602    # okay in the real world where ";" in dirpaths is itself problematic.
11603    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11604    ;;
11605  *)
11606    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11607    ;;
11608  esac
11609  # Ok, now we have the path, separated by spaces, we can step through it
11610  # and add multilib dir if necessary...
11611  lt_tmp_lt_search_path_spec=
11612  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11613  # ...but if some path component already ends with the multilib dir we assume
11614  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
11615  case "$lt_multi_os_dir; $lt_search_path_spec " in
11616  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
11617    lt_multi_os_dir=
11618    ;;
11619  esac
11620  for lt_sys_path in $lt_search_path_spec; do
11621    if test -d "$lt_sys_path$lt_multi_os_dir"; then
11622      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
11623    elif test -n "$lt_multi_os_dir"; then
11624      test -d "$lt_sys_path" && \
11625	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11626    fi
11627  done
11628  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11629BEGIN {RS = " "; FS = "/|\n";} {
11630  lt_foo = "";
11631  lt_count = 0;
11632  for (lt_i = NF; lt_i > 0; lt_i--) {
11633    if ($lt_i != "" && $lt_i != ".") {
11634      if ($lt_i == "..") {
11635        lt_count++;
11636      } else {
11637        if (lt_count == 0) {
11638          lt_foo = "/" $lt_i lt_foo;
11639        } else {
11640          lt_count--;
11641        }
11642      }
11643    }
11644  }
11645  if (lt_foo != "") { lt_freq[lt_foo]++; }
11646  if (lt_freq[lt_foo] == 1) { print lt_foo; }
11647}'`
11648  # AWK program above erroneously prepends '/' to C:/dos/paths
11649  # for these hosts.
11650  case $host_os in
11651    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11652      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
11653  esac
11654  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11655else
11656  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11657fi
11658library_names_spec=
11659libname_spec='lib$name'
11660soname_spec=
11661shrext_cmds=.so
11662postinstall_cmds=
11663postuninstall_cmds=
11664finish_cmds=
11665finish_eval=
11666shlibpath_var=
11667shlibpath_overrides_runpath=unknown
11668version_type=none
11669dynamic_linker="$host_os ld.so"
11670sys_lib_dlsearch_path_spec="/lib /usr/lib"
11671need_lib_prefix=unknown
11672hardcode_into_libs=no
11673
11674# when you set need_version to no, make sure it does not cause -set_version
11675# flags to be left without arguments
11676need_version=unknown
11677
11678
11679
11680case $host_os in
11681aix3*)
11682  version_type=linux # correct to gnu/linux during the next big refactor
11683  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
11684  shlibpath_var=LIBPATH
11685
11686  # AIX 3 has no versioning support, so we append a major version to the name.
11687  soname_spec='$libname$release$shared_ext$major'
11688  ;;
11689
11690aix[4-9]*)
11691  version_type=linux # correct to gnu/linux during the next big refactor
11692  need_lib_prefix=no
11693  need_version=no
11694  hardcode_into_libs=yes
11695  if test ia64 = "$host_cpu"; then
11696    # AIX 5 supports IA64
11697    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
11698    shlibpath_var=LD_LIBRARY_PATH
11699  else
11700    # With GCC up to 2.95.x, collect2 would create an import file
11701    # for dependence libraries.  The import file would start with
11702    # the line '#! .'.  This would cause the generated library to
11703    # depend on '.', always an invalid library.  This was fixed in
11704    # development snapshots of GCC prior to 3.0.
11705    case $host_os in
11706      aix4 | aix4.[01] | aix4.[01].*)
11707      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11708	   echo ' yes '
11709	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
11710	:
11711      else
11712	can_build_shared=no
11713      fi
11714      ;;
11715    esac
11716    # Using Import Files as archive members, it is possible to support
11717    # filename-based versioning of shared library archives on AIX. While
11718    # this would work for both with and without runtime linking, it will
11719    # prevent static linking of such archives. So we do filename-based
11720    # shared library versioning with .so extension only, which is used
11721    # when both runtime linking and shared linking is enabled.
11722    # Unfortunately, runtime linking may impact performance, so we do
11723    # not want this to be the default eventually. Also, we use the
11724    # versioned .so libs for executables only if there is the -brtl
11725    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
11726    # To allow for filename-based versioning support, we need to create
11727    # libNAME.so.V as an archive file, containing:
11728    # *) an Import File, referring to the versioned filename of the
11729    #    archive as well as the shared archive member, telling the
11730    #    bitwidth (32 or 64) of that shared object, and providing the
11731    #    list of exported symbols of that shared object, eventually
11732    #    decorated with the 'weak' keyword
11733    # *) the shared object with the F_LOADONLY flag set, to really avoid
11734    #    it being seen by the linker.
11735    # At run time we better use the real file rather than another symlink,
11736    # but for link time we create the symlink libNAME.so -> libNAME.so.V
11737
11738    case $with_aix_soname,$aix_use_runtimelinking in
11739    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
11740    # soname into executable. Probably we can add versioning support to
11741    # collect2, so additional links can be useful in future.
11742    aix,yes) # traditional libtool
11743      dynamic_linker='AIX unversionable lib.so'
11744      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11745      # instead of lib<name>.a to let people know that these are not
11746      # typical AIX shared libraries.
11747      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11748      ;;
11749    aix,no) # traditional AIX only
11750      dynamic_linker='AIX lib.a(lib.so.V)'
11751      # We preserve .a as extension for shared libraries through AIX4.2
11752      # and later when we are not doing run time linking.
11753      library_names_spec='$libname$release.a $libname.a'
11754      soname_spec='$libname$release$shared_ext$major'
11755      ;;
11756    svr4,*) # full svr4 only
11757      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
11758      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11759      # We do not specify a path in Import Files, so LIBPATH fires.
11760      shlibpath_overrides_runpath=yes
11761      ;;
11762    *,yes) # both, prefer svr4
11763      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
11764      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
11765      # unpreferred sharedlib libNAME.a needs extra handling
11766      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"'
11767      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"'
11768      # We do not specify a path in Import Files, so LIBPATH fires.
11769      shlibpath_overrides_runpath=yes
11770      ;;
11771    *,no) # both, prefer aix
11772      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
11773      library_names_spec='$libname$release.a $libname.a'
11774      soname_spec='$libname$release$shared_ext$major'
11775      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
11776      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)'
11777      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"'
11778      ;;
11779    esac
11780    shlibpath_var=LIBPATH
11781  fi
11782  ;;
11783
11784amigaos*)
11785  case $host_cpu in
11786  powerpc)
11787    # Since July 2007 AmigaOS4 officially supports .so libraries.
11788    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11789    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11790    ;;
11791  m68k)
11792    library_names_spec='$libname.ixlibrary $libname.a'
11793    # Create ${libname}_ixlibrary.a entries in /sys/libs.
11794    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'
11795    ;;
11796  esac
11797  ;;
11798
11799beos*)
11800  library_names_spec='$libname$shared_ext'
11801  dynamic_linker="$host_os ld.so"
11802  shlibpath_var=LIBRARY_PATH
11803  ;;
11804
11805bsdi[45]*)
11806  version_type=linux # correct to gnu/linux during the next big refactor
11807  need_version=no
11808  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11809  soname_spec='$libname$release$shared_ext$major'
11810  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11811  shlibpath_var=LD_LIBRARY_PATH
11812  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11813  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11814  # the default ld.so.conf also contains /usr/contrib/lib and
11815  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11816  # libtool to hard-code these into programs
11817  ;;
11818
11819cygwin* | mingw* | pw32* | cegcc*)
11820  version_type=windows
11821  shrext_cmds=.dll
11822  need_version=no
11823  need_lib_prefix=no
11824
11825  case $GCC,$cc_basename in
11826  yes,*)
11827    # gcc
11828    library_names_spec='$libname.dll.a'
11829    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11830    postinstall_cmds='base_file=`basename \$file`~
11831      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11832      dldir=$destdir/`dirname \$dlpath`~
11833      test -d \$dldir || mkdir -p \$dldir~
11834      $install_prog $dir/$dlname \$dldir/$dlname~
11835      chmod a+x \$dldir/$dlname~
11836      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11837        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11838      fi'
11839    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11840      dlpath=$dir/\$dldll~
11841       $RM \$dlpath'
11842    shlibpath_overrides_runpath=yes
11843
11844    case $host_os in
11845    cygwin*)
11846      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11847      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11848
11849      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11850      ;;
11851    mingw* | cegcc*)
11852      # MinGW DLLs use traditional 'lib' prefix
11853      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11854      ;;
11855    pw32*)
11856      # pw32 DLLs use 'pw' prefix rather than 'lib'
11857      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11858      ;;
11859    esac
11860    dynamic_linker='Win32 ld.exe'
11861    ;;
11862
11863  *,cl*)
11864    # Native MSVC
11865    libname_spec='$name'
11866    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
11867    library_names_spec='$libname.dll.lib'
11868
11869    case $build_os in
11870    mingw*)
11871      sys_lib_search_path_spec=
11872      lt_save_ifs=$IFS
11873      IFS=';'
11874      for lt_path in $LIB
11875      do
11876        IFS=$lt_save_ifs
11877        # Let DOS variable expansion print the short 8.3 style file name.
11878        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11879        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11880      done
11881      IFS=$lt_save_ifs
11882      # Convert to MSYS style.
11883      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11884      ;;
11885    cygwin*)
11886      # Convert to unix form, then to dos form, then back to unix form
11887      # but this time dos style (no spaces!) so that the unix form looks
11888      # like /cygdrive/c/PROGRA~1:/cygdr...
11889      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11890      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11891      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11892      ;;
11893    *)
11894      sys_lib_search_path_spec=$LIB
11895      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11896        # It is most probably a Windows format PATH.
11897        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11898      else
11899        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11900      fi
11901      # FIXME: find the short name or the path components, as spaces are
11902      # common. (e.g. "Program Files" -> "PROGRA~1")
11903      ;;
11904    esac
11905
11906    # DLL is installed to $(libdir)/../bin by postinstall_cmds
11907    postinstall_cmds='base_file=`basename \$file`~
11908      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
11909      dldir=$destdir/`dirname \$dlpath`~
11910      test -d \$dldir || mkdir -p \$dldir~
11911      $install_prog $dir/$dlname \$dldir/$dlname'
11912    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11913      dlpath=$dir/\$dldll~
11914       $RM \$dlpath'
11915    shlibpath_overrides_runpath=yes
11916    dynamic_linker='Win32 link.exe'
11917    ;;
11918
11919  *)
11920    # Assume MSVC wrapper
11921    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
11922    dynamic_linker='Win32 ld.exe'
11923    ;;
11924  esac
11925  # FIXME: first we should search . and the directory the executable is in
11926  shlibpath_var=PATH
11927  ;;
11928
11929darwin* | rhapsody*)
11930  dynamic_linker="$host_os dyld"
11931  version_type=darwin
11932  need_lib_prefix=no
11933  need_version=no
11934  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
11935  soname_spec='$libname$release$major$shared_ext'
11936  shlibpath_overrides_runpath=yes
11937  shlibpath_var=DYLD_LIBRARY_PATH
11938  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11939
11940  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11941  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11942  ;;
11943
11944dgux*)
11945  version_type=linux # correct to gnu/linux during the next big refactor
11946  need_lib_prefix=no
11947  need_version=no
11948  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11949  soname_spec='$libname$release$shared_ext$major'
11950  shlibpath_var=LD_LIBRARY_PATH
11951  ;;
11952
11953freebsd* | dragonfly*)
11954  # DragonFly does not have aout.  When/if they implement a new
11955  # versioning mechanism, adjust this.
11956  if test -x /usr/bin/objformat; then
11957    objformat=`/usr/bin/objformat`
11958  else
11959    case $host_os in
11960    freebsd[23].*) objformat=aout ;;
11961    *) objformat=elf ;;
11962    esac
11963  fi
11964  version_type=freebsd-$objformat
11965  case $version_type in
11966    freebsd-elf*)
11967      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11968      soname_spec='$libname$release$shared_ext$major'
11969      need_version=no
11970      need_lib_prefix=no
11971      ;;
11972    freebsd-*)
11973      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11974      need_version=yes
11975      ;;
11976  esac
11977  shlibpath_var=LD_LIBRARY_PATH
11978  case $host_os in
11979  freebsd2.*)
11980    shlibpath_overrides_runpath=yes
11981    ;;
11982  freebsd3.[01]* | freebsdelf3.[01]*)
11983    shlibpath_overrides_runpath=yes
11984    hardcode_into_libs=yes
11985    ;;
11986  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11987  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11988    shlibpath_overrides_runpath=no
11989    hardcode_into_libs=yes
11990    ;;
11991  *) # from 4.6 on, and DragonFly
11992    shlibpath_overrides_runpath=yes
11993    hardcode_into_libs=yes
11994    ;;
11995  esac
11996  ;;
11997
11998haiku*)
11999  version_type=linux # correct to gnu/linux during the next big refactor
12000  need_lib_prefix=no
12001  need_version=no
12002  dynamic_linker="$host_os runtime_loader"
12003  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12004  soname_spec='$libname$release$shared_ext$major'
12005  shlibpath_var=LIBRARY_PATH
12006  shlibpath_overrides_runpath=no
12007  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
12008  hardcode_into_libs=yes
12009  ;;
12010
12011hpux9* | hpux10* | hpux11*)
12012  # Give a soname corresponding to the major version so that dld.sl refuses to
12013  # link against other versions.
12014  version_type=sunos
12015  need_lib_prefix=no
12016  need_version=no
12017  case $host_cpu in
12018  ia64*)
12019    shrext_cmds='.so'
12020    hardcode_into_libs=yes
12021    dynamic_linker="$host_os dld.so"
12022    shlibpath_var=LD_LIBRARY_PATH
12023    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12024    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12025    soname_spec='$libname$release$shared_ext$major'
12026    if test 32 = "$HPUX_IA64_MODE"; then
12027      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12028      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
12029    else
12030      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12031      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
12032    fi
12033    ;;
12034  hppa*64*)
12035    shrext_cmds='.sl'
12036    hardcode_into_libs=yes
12037    dynamic_linker="$host_os dld.sl"
12038    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12039    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12040    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12041    soname_spec='$libname$release$shared_ext$major'
12042    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12043    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12044    ;;
12045  *)
12046    shrext_cmds='.sl'
12047    dynamic_linker="$host_os dld.sl"
12048    shlibpath_var=SHLIB_PATH
12049    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12050    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12051    soname_spec='$libname$release$shared_ext$major'
12052    ;;
12053  esac
12054  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12055  postinstall_cmds='chmod 555 $lib'
12056  # or fails outright, so override atomically:
12057  install_override_mode=555
12058  ;;
12059
12060interix[3-9]*)
12061  version_type=linux # correct to gnu/linux during the next big refactor
12062  need_lib_prefix=no
12063  need_version=no
12064  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12065  soname_spec='$libname$release$shared_ext$major'
12066  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12067  shlibpath_var=LD_LIBRARY_PATH
12068  shlibpath_overrides_runpath=no
12069  hardcode_into_libs=yes
12070  ;;
12071
12072irix5* | irix6* | nonstopux*)
12073  case $host_os in
12074    nonstopux*) version_type=nonstopux ;;
12075    *)
12076	if test yes = "$lt_cv_prog_gnu_ld"; then
12077		version_type=linux # correct to gnu/linux during the next big refactor
12078	else
12079		version_type=irix
12080	fi ;;
12081  esac
12082  need_lib_prefix=no
12083  need_version=no
12084  soname_spec='$libname$release$shared_ext$major'
12085  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
12086  case $host_os in
12087  irix5* | nonstopux*)
12088    libsuff= shlibsuff=
12089    ;;
12090  *)
12091    case $LD in # libtool.m4 will add one of these switches to LD
12092    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12093      libsuff= shlibsuff= libmagic=32-bit;;
12094    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12095      libsuff=32 shlibsuff=N32 libmagic=N32;;
12096    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12097      libsuff=64 shlibsuff=64 libmagic=64-bit;;
12098    *) libsuff= shlibsuff= libmagic=never-match;;
12099    esac
12100    ;;
12101  esac
12102  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12103  shlibpath_overrides_runpath=no
12104  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
12105  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
12106  hardcode_into_libs=yes
12107  ;;
12108
12109# No shared lib support for Linux oldld, aout, or coff.
12110linux*oldld* | linux*aout* | linux*coff*)
12111  dynamic_linker=no
12112  ;;
12113
12114linux*android*)
12115  version_type=none # Android doesn't support versioned libraries.
12116  need_lib_prefix=no
12117  need_version=no
12118  library_names_spec='$libname$release$shared_ext'
12119  soname_spec='$libname$release$shared_ext'
12120  finish_cmds=
12121  shlibpath_var=LD_LIBRARY_PATH
12122  shlibpath_overrides_runpath=yes
12123
12124  # This implies no fast_install, which is unacceptable.
12125  # Some rework will be needed to allow for fast_install
12126  # before this can be enabled.
12127  hardcode_into_libs=yes
12128
12129  dynamic_linker='Android linker'
12130  # Don't embed -rpath directories since the linker doesn't support them.
12131  hardcode_libdir_flag_spec='-L$libdir'
12132  ;;
12133
12134# This must be glibc/ELF.
12135linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
12136  version_type=linux # correct to gnu/linux during the next big refactor
12137  need_lib_prefix=no
12138  need_version=no
12139  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12140  soname_spec='$libname$release$shared_ext$major'
12141  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12142  shlibpath_var=LD_LIBRARY_PATH
12143  shlibpath_overrides_runpath=no
12144
12145  # Some binutils ld are patched to set DT_RUNPATH
12146  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
12147  $as_echo_n "(cached) " >&6
12148else
12149  lt_cv_shlibpath_overrides_runpath=no
12150    save_LDFLAGS=$LDFLAGS
12151    save_libdir=$libdir
12152    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12153	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12154    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155/* end confdefs.h.  */
12156
12157int
12158main ()
12159{
12160
12161  ;
12162  return 0;
12163}
12164_ACEOF
12165if ac_fn_c_try_link "$LINENO"; then :
12166  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
12167  lt_cv_shlibpath_overrides_runpath=yes
12168fi
12169fi
12170rm -f core conftest.err conftest.$ac_objext \
12171    conftest$ac_exeext conftest.$ac_ext
12172    LDFLAGS=$save_LDFLAGS
12173    libdir=$save_libdir
12174
12175fi
12176
12177  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
12178
12179  # This implies no fast_install, which is unacceptable.
12180  # Some rework will be needed to allow for fast_install
12181  # before this can be enabled.
12182  hardcode_into_libs=yes
12183
12184  # Ideally, we could use ldconfig to report *all* directores which are
12185  # searched for libraries, however this is still not possible.  Aside from not
12186  # being certain /sbin/ldconfig is available, command
12187  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
12188  # even though it is searched at run-time.  Try to do the best guess by
12189  # appending ld.so.conf contents (and includes) to the search path.
12190  if test -f /etc/ld.so.conf; then
12191    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' ' '`
12192    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
12193  fi
12194
12195  # We used to test for /lib/ld.so.1 and disable shared libraries on
12196  # powerpc, because MkLinux only supported shared libraries with the
12197  # GNU dynamic linker.  Since this was broken with cross compilers,
12198  # most powerpc-linux boxes support dynamic linking these days and
12199  # people can always --disable-shared, the test was removed, and we
12200  # assume the GNU/Linux dynamic linker is in use.
12201  dynamic_linker='GNU/Linux ld.so'
12202  ;;
12203
12204netbsd*)
12205  version_type=sunos
12206  need_lib_prefix=no
12207  need_version=no
12208  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12209    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12210    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12211    dynamic_linker='NetBSD (a.out) ld.so'
12212  else
12213    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12214    soname_spec='$libname$release$shared_ext$major'
12215    dynamic_linker='NetBSD ld.elf_so'
12216  fi
12217  shlibpath_var=LD_LIBRARY_PATH
12218  shlibpath_overrides_runpath=yes
12219  hardcode_into_libs=yes
12220  ;;
12221
12222newsos6)
12223  version_type=linux # correct to gnu/linux during the next big refactor
12224  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12225  shlibpath_var=LD_LIBRARY_PATH
12226  shlibpath_overrides_runpath=yes
12227  ;;
12228
12229*nto* | *qnx*)
12230  version_type=qnx
12231  need_lib_prefix=no
12232  need_version=no
12233  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12234  soname_spec='$libname$release$shared_ext$major'
12235  shlibpath_var=LD_LIBRARY_PATH
12236  shlibpath_overrides_runpath=no
12237  hardcode_into_libs=yes
12238  dynamic_linker='ldqnx.so'
12239  ;;
12240
12241openbsd* | bitrig*)
12242  version_type=sunos
12243  sys_lib_dlsearch_path_spec=/usr/lib
12244  need_lib_prefix=no
12245  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12246    need_version=no
12247  else
12248    need_version=yes
12249  fi
12250  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12251  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12252  shlibpath_var=LD_LIBRARY_PATH
12253  shlibpath_overrides_runpath=yes
12254  ;;
12255
12256os2*)
12257  libname_spec='$name'
12258  version_type=windows
12259  shrext_cmds=.dll
12260  need_version=no
12261  need_lib_prefix=no
12262  # OS/2 can only load a DLL with a base name of 8 characters or less.
12263  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
12264    v=$($ECHO $release$versuffix | tr -d .-);
12265    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
12266    $ECHO $n$v`$shared_ext'
12267  library_names_spec='${libname}_dll.$libext'
12268  dynamic_linker='OS/2 ld.exe'
12269  shlibpath_var=BEGINLIBPATH
12270  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12271  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12272  postinstall_cmds='base_file=`basename \$file`~
12273    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
12274    dldir=$destdir/`dirname \$dlpath`~
12275    test -d \$dldir || mkdir -p \$dldir~
12276    $install_prog $dir/$dlname \$dldir/$dlname~
12277    chmod a+x \$dldir/$dlname~
12278    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12279      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12280    fi'
12281  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
12282    dlpath=$dir/\$dldll~
12283    $RM \$dlpath'
12284  ;;
12285
12286osf3* | osf4* | osf5*)
12287  version_type=osf
12288  need_lib_prefix=no
12289  need_version=no
12290  soname_spec='$libname$release$shared_ext$major'
12291  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12292  shlibpath_var=LD_LIBRARY_PATH
12293  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12294  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12295  ;;
12296
12297rdos*)
12298  dynamic_linker=no
12299  ;;
12300
12301solaris*)
12302  version_type=linux # correct to gnu/linux during the next big refactor
12303  need_lib_prefix=no
12304  need_version=no
12305  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12306  soname_spec='$libname$release$shared_ext$major'
12307  shlibpath_var=LD_LIBRARY_PATH
12308  shlibpath_overrides_runpath=yes
12309  hardcode_into_libs=yes
12310  # ldd complains unless libraries are executable
12311  postinstall_cmds='chmod +x $lib'
12312  ;;
12313
12314sunos4*)
12315  version_type=sunos
12316  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
12317  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12318  shlibpath_var=LD_LIBRARY_PATH
12319  shlibpath_overrides_runpath=yes
12320  if test yes = "$with_gnu_ld"; then
12321    need_lib_prefix=no
12322  fi
12323  need_version=yes
12324  ;;
12325
12326sysv4 | sysv4.3*)
12327  version_type=linux # correct to gnu/linux during the next big refactor
12328  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12329  soname_spec='$libname$release$shared_ext$major'
12330  shlibpath_var=LD_LIBRARY_PATH
12331  case $host_vendor in
12332    sni)
12333      shlibpath_overrides_runpath=no
12334      need_lib_prefix=no
12335      runpath_var=LD_RUN_PATH
12336      ;;
12337    siemens)
12338      need_lib_prefix=no
12339      ;;
12340    motorola)
12341      need_lib_prefix=no
12342      need_version=no
12343      shlibpath_overrides_runpath=no
12344      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
12345      ;;
12346  esac
12347  ;;
12348
12349sysv4*MP*)
12350  if test -d /usr/nec; then
12351    version_type=linux # correct to gnu/linux during the next big refactor
12352    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
12353    soname_spec='$libname$shared_ext.$major'
12354    shlibpath_var=LD_LIBRARY_PATH
12355  fi
12356  ;;
12357
12358sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
12359  version_type=sco
12360  need_lib_prefix=no
12361  need_version=no
12362  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
12363  soname_spec='$libname$release$shared_ext$major'
12364  shlibpath_var=LD_LIBRARY_PATH
12365  shlibpath_overrides_runpath=yes
12366  hardcode_into_libs=yes
12367  if test yes = "$with_gnu_ld"; then
12368    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12369  else
12370    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
12371    case $host_os in
12372      sco3.2v5*)
12373        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
12374	;;
12375    esac
12376  fi
12377  sys_lib_dlsearch_path_spec='/usr/lib'
12378  ;;
12379
12380tpf*)
12381  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
12382  version_type=linux # correct to gnu/linux during the next big refactor
12383  need_lib_prefix=no
12384  need_version=no
12385  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12386  shlibpath_var=LD_LIBRARY_PATH
12387  shlibpath_overrides_runpath=no
12388  hardcode_into_libs=yes
12389  ;;
12390
12391uts4*)
12392  version_type=linux # correct to gnu/linux during the next big refactor
12393  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12394  soname_spec='$libname$release$shared_ext$major'
12395  shlibpath_var=LD_LIBRARY_PATH
12396  ;;
12397
12398*)
12399  dynamic_linker=no
12400  ;;
12401esac
12402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12403$as_echo "$dynamic_linker" >&6; }
12404test no = "$dynamic_linker" && can_build_shared=no
12405
12406variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
12407if test yes = "$GCC"; then
12408  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12409fi
12410
12411if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
12412  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
12413fi
12414
12415if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
12416  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
12417fi
12418
12419# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
12420configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
12421
12422# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
12423func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
12424
12425# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
12426configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12525$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12526hardcode_action=
12527if test -n "$hardcode_libdir_flag_spec" ||
12528   test -n "$runpath_var" ||
12529   test yes = "$hardcode_automatic"; then
12530
12531  # We can hardcode non-existent directories.
12532  if test no != "$hardcode_direct" &&
12533     # If the only mechanism to avoid hardcoding is shlibpath_var, we
12534     # have to relink, otherwise we might link with an installed library
12535     # when we should be linking with a yet-to-be-installed one
12536     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
12537     test no != "$hardcode_minus_L"; then
12538    # Linking always hardcodes the temporary library directory.
12539    hardcode_action=relink
12540  else
12541    # We can link without hardcoding, and we can hardcode nonexisting dirs.
12542    hardcode_action=immediate
12543  fi
12544else
12545  # We cannot hardcode anything, or else we can only hardcode existing
12546  # directories.
12547  hardcode_action=unsupported
12548fi
12549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12550$as_echo "$hardcode_action" >&6; }
12551
12552if test relink = "$hardcode_action" ||
12553   test yes = "$inherit_rpath"; then
12554  # Fast installation is not supported
12555  enable_fast_install=no
12556elif test yes = "$shlibpath_overrides_runpath" ||
12557     test no = "$enable_shared"; then
12558  # Fast installation is not necessary
12559  enable_fast_install=needless
12560fi
12561
12562
12563
12564
12565
12566
12567  if test yes != "$enable_dlopen"; then
12568  enable_dlopen=unknown
12569  enable_dlopen_self=unknown
12570  enable_dlopen_self_static=unknown
12571else
12572  lt_cv_dlopen=no
12573  lt_cv_dlopen_libs=
12574
12575  case $host_os in
12576  beos*)
12577    lt_cv_dlopen=load_add_on
12578    lt_cv_dlopen_libs=
12579    lt_cv_dlopen_self=yes
12580    ;;
12581
12582  mingw* | pw32* | cegcc*)
12583    lt_cv_dlopen=LoadLibrary
12584    lt_cv_dlopen_libs=
12585    ;;
12586
12587  cygwin*)
12588    lt_cv_dlopen=dlopen
12589    lt_cv_dlopen_libs=
12590    ;;
12591
12592  darwin*)
12593    # if libdl is installed we need to link against it
12594    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12595$as_echo_n "checking for dlopen in -ldl... " >&6; }
12596if ${ac_cv_lib_dl_dlopen+:} false; then :
12597  $as_echo_n "(cached) " >&6
12598else
12599  ac_check_lib_save_LIBS=$LIBS
12600LIBS="-ldl  $LIBS"
12601cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12602/* end confdefs.h.  */
12603
12604/* Override any GCC internal prototype to avoid an error.
12605   Use char because int might match the return type of a GCC
12606   builtin and then its argument prototype would still apply.  */
12607#ifdef __cplusplus
12608extern "C"
12609#endif
12610char dlopen ();
12611int
12612main ()
12613{
12614return dlopen ();
12615  ;
12616  return 0;
12617}
12618_ACEOF
12619if ac_fn_c_try_link "$LINENO"; then :
12620  ac_cv_lib_dl_dlopen=yes
12621else
12622  ac_cv_lib_dl_dlopen=no
12623fi
12624rm -f core conftest.err conftest.$ac_objext \
12625    conftest$ac_exeext conftest.$ac_ext
12626LIBS=$ac_check_lib_save_LIBS
12627fi
12628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12629$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12630if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12631  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12632else
12633
12634    lt_cv_dlopen=dyld
12635    lt_cv_dlopen_libs=
12636    lt_cv_dlopen_self=yes
12637
12638fi
12639
12640    ;;
12641
12642  tpf*)
12643    # Don't try to run any link tests for TPF.  We know it's impossible
12644    # because TPF is a cross-compiler, and we know how we open DSOs.
12645    lt_cv_dlopen=dlopen
12646    lt_cv_dlopen_libs=
12647    lt_cv_dlopen_self=no
12648    ;;
12649
12650  *)
12651    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
12652if test "x$ac_cv_func_shl_load" = xyes; then :
12653  lt_cv_dlopen=shl_load
12654else
12655  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12656$as_echo_n "checking for shl_load in -ldld... " >&6; }
12657if ${ac_cv_lib_dld_shl_load+:} false; then :
12658  $as_echo_n "(cached) " >&6
12659else
12660  ac_check_lib_save_LIBS=$LIBS
12661LIBS="-ldld  $LIBS"
12662cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12663/* end confdefs.h.  */
12664
12665/* Override any GCC internal prototype to avoid an error.
12666   Use char because int might match the return type of a GCC
12667   builtin and then its argument prototype would still apply.  */
12668#ifdef __cplusplus
12669extern "C"
12670#endif
12671char shl_load ();
12672int
12673main ()
12674{
12675return shl_load ();
12676  ;
12677  return 0;
12678}
12679_ACEOF
12680if ac_fn_c_try_link "$LINENO"; then :
12681  ac_cv_lib_dld_shl_load=yes
12682else
12683  ac_cv_lib_dld_shl_load=no
12684fi
12685rm -f core conftest.err conftest.$ac_objext \
12686    conftest$ac_exeext conftest.$ac_ext
12687LIBS=$ac_check_lib_save_LIBS
12688fi
12689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12690$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12691if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12692  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
12693else
12694  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12695if test "x$ac_cv_func_dlopen" = xyes; then :
12696  lt_cv_dlopen=dlopen
12697else
12698  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12699$as_echo_n "checking for dlopen in -ldl... " >&6; }
12700if ${ac_cv_lib_dl_dlopen+:} false; then :
12701  $as_echo_n "(cached) " >&6
12702else
12703  ac_check_lib_save_LIBS=$LIBS
12704LIBS="-ldl  $LIBS"
12705cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12706/* end confdefs.h.  */
12707
12708/* Override any GCC internal prototype to avoid an error.
12709   Use char because int might match the return type of a GCC
12710   builtin and then its argument prototype would still apply.  */
12711#ifdef __cplusplus
12712extern "C"
12713#endif
12714char dlopen ();
12715int
12716main ()
12717{
12718return dlopen ();
12719  ;
12720  return 0;
12721}
12722_ACEOF
12723if ac_fn_c_try_link "$LINENO"; then :
12724  ac_cv_lib_dl_dlopen=yes
12725else
12726  ac_cv_lib_dl_dlopen=no
12727fi
12728rm -f core conftest.err conftest.$ac_objext \
12729    conftest$ac_exeext conftest.$ac_ext
12730LIBS=$ac_check_lib_save_LIBS
12731fi
12732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12733$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12734if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12735  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
12736else
12737  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12738$as_echo_n "checking for dlopen in -lsvld... " >&6; }
12739if ${ac_cv_lib_svld_dlopen+:} false; then :
12740  $as_echo_n "(cached) " >&6
12741else
12742  ac_check_lib_save_LIBS=$LIBS
12743LIBS="-lsvld  $LIBS"
12744cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12745/* end confdefs.h.  */
12746
12747/* Override any GCC internal prototype to avoid an error.
12748   Use char because int might match the return type of a GCC
12749   builtin and then its argument prototype would still apply.  */
12750#ifdef __cplusplus
12751extern "C"
12752#endif
12753char dlopen ();
12754int
12755main ()
12756{
12757return dlopen ();
12758  ;
12759  return 0;
12760}
12761_ACEOF
12762if ac_fn_c_try_link "$LINENO"; then :
12763  ac_cv_lib_svld_dlopen=yes
12764else
12765  ac_cv_lib_svld_dlopen=no
12766fi
12767rm -f core conftest.err conftest.$ac_objext \
12768    conftest$ac_exeext conftest.$ac_ext
12769LIBS=$ac_check_lib_save_LIBS
12770fi
12771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12772$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12773if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12774  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
12775else
12776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12777$as_echo_n "checking for dld_link in -ldld... " >&6; }
12778if ${ac_cv_lib_dld_dld_link+:} false; then :
12779  $as_echo_n "(cached) " >&6
12780else
12781  ac_check_lib_save_LIBS=$LIBS
12782LIBS="-ldld  $LIBS"
12783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12784/* end confdefs.h.  */
12785
12786/* Override any GCC internal prototype to avoid an error.
12787   Use char because int might match the return type of a GCC
12788   builtin and then its argument prototype would still apply.  */
12789#ifdef __cplusplus
12790extern "C"
12791#endif
12792char dld_link ();
12793int
12794main ()
12795{
12796return dld_link ();
12797  ;
12798  return 0;
12799}
12800_ACEOF
12801if ac_fn_c_try_link "$LINENO"; then :
12802  ac_cv_lib_dld_dld_link=yes
12803else
12804  ac_cv_lib_dld_dld_link=no
12805fi
12806rm -f core conftest.err conftest.$ac_objext \
12807    conftest$ac_exeext conftest.$ac_ext
12808LIBS=$ac_check_lib_save_LIBS
12809fi
12810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12811$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12812if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12813  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
12814fi
12815
12816
12817fi
12818
12819
12820fi
12821
12822
12823fi
12824
12825
12826fi
12827
12828
12829fi
12830
12831    ;;
12832  esac
12833
12834  if test no = "$lt_cv_dlopen"; then
12835    enable_dlopen=no
12836  else
12837    enable_dlopen=yes
12838  fi
12839
12840  case $lt_cv_dlopen in
12841  dlopen)
12842    save_CPPFLAGS=$CPPFLAGS
12843    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12844
12845    save_LDFLAGS=$LDFLAGS
12846    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12847
12848    save_LIBS=$LIBS
12849    LIBS="$lt_cv_dlopen_libs $LIBS"
12850
12851    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12852$as_echo_n "checking whether a program can dlopen itself... " >&6; }
12853if ${lt_cv_dlopen_self+:} false; then :
12854  $as_echo_n "(cached) " >&6
12855else
12856  	  if test yes = "$cross_compiling"; then :
12857  lt_cv_dlopen_self=cross
12858else
12859  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12860  lt_status=$lt_dlunknown
12861  cat > conftest.$ac_ext <<_LT_EOF
12862#line $LINENO "configure"
12863#include "confdefs.h"
12864
12865#if HAVE_DLFCN_H
12866#include <dlfcn.h>
12867#endif
12868
12869#include <stdio.h>
12870
12871#ifdef RTLD_GLOBAL
12872#  define LT_DLGLOBAL		RTLD_GLOBAL
12873#else
12874#  ifdef DL_GLOBAL
12875#    define LT_DLGLOBAL		DL_GLOBAL
12876#  else
12877#    define LT_DLGLOBAL		0
12878#  endif
12879#endif
12880
12881/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12882   find out it does not work in some platform. */
12883#ifndef LT_DLLAZY_OR_NOW
12884#  ifdef RTLD_LAZY
12885#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12886#  else
12887#    ifdef DL_LAZY
12888#      define LT_DLLAZY_OR_NOW		DL_LAZY
12889#    else
12890#      ifdef RTLD_NOW
12891#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12892#      else
12893#        ifdef DL_NOW
12894#          define LT_DLLAZY_OR_NOW	DL_NOW
12895#        else
12896#          define LT_DLLAZY_OR_NOW	0
12897#        endif
12898#      endif
12899#    endif
12900#  endif
12901#endif
12902
12903/* When -fvisibility=hidden is used, assume the code has been annotated
12904   correspondingly for the symbols needed.  */
12905#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12906int fnord () __attribute__((visibility("default")));
12907#endif
12908
12909int fnord () { return 42; }
12910int main ()
12911{
12912  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12913  int status = $lt_dlunknown;
12914
12915  if (self)
12916    {
12917      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
12918      else
12919        {
12920	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
12921          else puts (dlerror ());
12922	}
12923      /* dlclose (self); */
12924    }
12925  else
12926    puts (dlerror ());
12927
12928  return status;
12929}
12930_LT_EOF
12931  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12932  (eval $ac_link) 2>&5
12933  ac_status=$?
12934  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12935  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
12936    (./conftest; exit; ) >&5 2>/dev/null
12937    lt_status=$?
12938    case x$lt_status in
12939      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12940      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12941      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12942    esac
12943  else :
12944    # compilation failed
12945    lt_cv_dlopen_self=no
12946  fi
12947fi
12948rm -fr conftest*
12949
12950
12951fi
12952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12953$as_echo "$lt_cv_dlopen_self" >&6; }
12954
12955    if test yes = "$lt_cv_dlopen_self"; then
12956      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12957      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12958$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12959if ${lt_cv_dlopen_self_static+:} false; then :
12960  $as_echo_n "(cached) " >&6
12961else
12962  	  if test yes = "$cross_compiling"; then :
12963  lt_cv_dlopen_self_static=cross
12964else
12965  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12966  lt_status=$lt_dlunknown
12967  cat > conftest.$ac_ext <<_LT_EOF
12968#line $LINENO "configure"
12969#include "confdefs.h"
12970
12971#if HAVE_DLFCN_H
12972#include <dlfcn.h>
12973#endif
12974
12975#include <stdio.h>
12976
12977#ifdef RTLD_GLOBAL
12978#  define LT_DLGLOBAL		RTLD_GLOBAL
12979#else
12980#  ifdef DL_GLOBAL
12981#    define LT_DLGLOBAL		DL_GLOBAL
12982#  else
12983#    define LT_DLGLOBAL		0
12984#  endif
12985#endif
12986
12987/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12988   find out it does not work in some platform. */
12989#ifndef LT_DLLAZY_OR_NOW
12990#  ifdef RTLD_LAZY
12991#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
12992#  else
12993#    ifdef DL_LAZY
12994#      define LT_DLLAZY_OR_NOW		DL_LAZY
12995#    else
12996#      ifdef RTLD_NOW
12997#        define LT_DLLAZY_OR_NOW	RTLD_NOW
12998#      else
12999#        ifdef DL_NOW
13000#          define LT_DLLAZY_OR_NOW	DL_NOW
13001#        else
13002#          define LT_DLLAZY_OR_NOW	0
13003#        endif
13004#      endif
13005#    endif
13006#  endif
13007#endif
13008
13009/* When -fvisibility=hidden is used, assume the code has been annotated
13010   correspondingly for the symbols needed.  */
13011#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
13012int fnord () __attribute__((visibility("default")));
13013#endif
13014
13015int fnord () { return 42; }
13016int main ()
13017{
13018  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
13019  int status = $lt_dlunknown;
13020
13021  if (self)
13022    {
13023      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
13024      else
13025        {
13026	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
13027          else puts (dlerror ());
13028	}
13029      /* dlclose (self); */
13030    }
13031  else
13032    puts (dlerror ());
13033
13034  return status;
13035}
13036_LT_EOF
13037  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
13038  (eval $ac_link) 2>&5
13039  ac_status=$?
13040  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13041  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
13042    (./conftest; exit; ) >&5 2>/dev/null
13043    lt_status=$?
13044    case x$lt_status in
13045      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
13046      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
13047      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
13048    esac
13049  else :
13050    # compilation failed
13051    lt_cv_dlopen_self_static=no
13052  fi
13053fi
13054rm -fr conftest*
13055
13056
13057fi
13058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
13059$as_echo "$lt_cv_dlopen_self_static" >&6; }
13060    fi
13061
13062    CPPFLAGS=$save_CPPFLAGS
13063    LDFLAGS=$save_LDFLAGS
13064    LIBS=$save_LIBS
13065    ;;
13066  esac
13067
13068  case $lt_cv_dlopen_self in
13069  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
13070  *) enable_dlopen_self=unknown ;;
13071  esac
13072
13073  case $lt_cv_dlopen_self_static in
13074  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
13075  *) enable_dlopen_self_static=unknown ;;
13076  esac
13077fi
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095striplib=
13096old_striplib=
13097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13098$as_echo_n "checking whether stripping libraries is possible... " >&6; }
13099if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
13100  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
13101  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
13102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13103$as_echo "yes" >&6; }
13104else
13105# FIXME - insert some real tests, host_os isn't really good enough
13106  case $host_os in
13107  darwin*)
13108    if test -n "$STRIP"; then
13109      striplib="$STRIP -x"
13110      old_striplib="$STRIP -S"
13111      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13112$as_echo "yes" >&6; }
13113    else
13114      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13115$as_echo "no" >&6; }
13116    fi
13117    ;;
13118  *)
13119    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13120$as_echo "no" >&6; }
13121    ;;
13122  esac
13123fi
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136  # Report what library types will actually be built
13137  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13138$as_echo_n "checking if libtool supports shared libraries... " >&6; }
13139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13140$as_echo "$can_build_shared" >&6; }
13141
13142  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13143$as_echo_n "checking whether to build shared libraries... " >&6; }
13144  test no = "$can_build_shared" && enable_shared=no
13145
13146  # On AIX, shared libraries and static libraries use the same namespace, and
13147  # are all built from PIC.
13148  case $host_os in
13149  aix3*)
13150    test yes = "$enable_shared" && enable_static=no
13151    if test -n "$RANLIB"; then
13152      archive_cmds="$archive_cmds~\$RANLIB \$lib"
13153      postinstall_cmds='$RANLIB $lib'
13154    fi
13155    ;;
13156
13157  aix[4-9]*)
13158    if test ia64 != "$host_cpu"; then
13159      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
13160      yes,aix,yes) ;;			# shared object as lib.so file only
13161      yes,svr4,*) ;;			# shared object as lib.so archive member only
13162      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
13163      esac
13164    fi
13165    ;;
13166  esac
13167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13168$as_echo "$enable_shared" >&6; }
13169
13170  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13171$as_echo_n "checking whether to build static libraries... " >&6; }
13172  # Make sure either enable_shared or enable_static is yes.
13173  test yes = "$enable_shared" || enable_static=yes
13174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13175$as_echo "$enable_static" >&6; }
13176
13177
13178
13179
13180fi
13181ac_ext=c
13182ac_cpp='$CPP $CPPFLAGS'
13183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13185ac_compiler_gnu=$ac_cv_c_compiler_gnu
13186
13187CC=$lt_save_CC
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203        ac_config_commands="$ac_config_commands libtool"
13204
13205
13206
13207
13208# Only expand once:
13209
13210
13211
13212
13213  ac_ext=c
13214ac_cpp='$CPP $CPPFLAGS'
13215ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13216ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13217ac_compiler_gnu=$ac_cv_c_compiler_gnu
13218
13219
13220  # Make sure CDPATH is portably set to a sensible value
13221  CDPATH=${ZSH_VERSION+.}:
13222
13223  GAP_CPPFLAGS=""
13224
13225  ######################################
13226  # Find the GAP root directory by
13227  # checking for the sysinfo.gap file
13228  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAP root directory" >&5
13229$as_echo_n "checking for GAP root directory... " >&6; }
13230  GAPROOT="../.."
13231
13232  #Allow the user to specify the location of GAP
13233  #
13234
13235# Check whether --with-gaproot was given.
13236if test "${with_gaproot+set}" = set; then :
13237  withval=$with_gaproot; GAPROOT="$withval"
13238fi
13239
13240
13241  # Convert the path to absolute
13242  GAPROOT=`cd $GAPROOT > /dev/null 2>&1 && pwd`
13243
13244  if test -e ${GAPROOT}/sysinfo.gap; then
13245    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${GAPROOT}" >&5
13246$as_echo "${GAPROOT}" >&6; }
13247  else
13248    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
13249$as_echo "Not found" >&6; }
13250
13251    echo ""
13252    echo "********************************************************************"
13253    echo "  ERROR"
13254    echo ""
13255    echo "  Cannot find your GAP installation. Please specify the location of"
13256    echo "  GAP's root directory using --with-gaproot=<path>"
13257    echo ""
13258    echo "  The GAP root directory (as far as this package is concerned) is"
13259    echo "  the one containing the file sysinfo.gap"
13260    echo "********************************************************************"
13261    echo ""
13262
13263    as_fn_error $? "Unable to find GAP root directory" "$LINENO" 5
13264  fi
13265
13266  #####################################
13267  # Now find the architecture
13268
13269  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAP architecture" >&5
13270$as_echo_n "checking for GAP architecture... " >&6; }
13271  GAPARCH="Unknown"
13272  . $GAPROOT/sysinfo.gap
13273  if test "x$GAParch" != "x"; then
13274    GAPARCH=$GAParch
13275  fi
13276
13277  if test "x$GAPARCH" = "xUnknown" ; then
13278    echo ""
13279    echo "********************************************************************"
13280    echo "  ERROR"
13281    echo ""
13282    echo "  Found a GAP installation at $GAPROOT but could not find"
13283    echo "  information about GAP's architecture in the file"
13284    echo "    ${GAPROOT}/sysinfo.gap ."
13285    echo "  This file should be present: please check your GAP installation."
13286    echo "********************************************************************"
13287    echo ""
13288
13289    as_fn_error $? "Unable to find plausible GAParch information." "$LINENO" 5
13290  fi
13291
13292
13293  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAP >= 4.9" >&5
13294$as_echo_n "checking for GAP >= 4.9... " >&6; }
13295  # test if this GAP >= 4.9
13296  if test "x$GAP_CPPFLAGS" != x; then
13297    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13298$as_echo "yes" >&6; }
13299  else
13300    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13301$as_echo "no" >&6; }
13302    #####################################
13303    # Now check for the GAP header files
13304
13305    bad=0
13306    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAP include files" >&5
13307$as_echo_n "checking for GAP include files... " >&6; }
13308    if test -r $GAPROOT/src/compiled.h; then
13309      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAPROOT/src/compiled.h" >&5
13310$as_echo "$GAPROOT/src/compiled.h" >&6; }
13311    else
13312      { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
13313$as_echo "Not found" >&6; }
13314      bad=1
13315    fi
13316    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAP config.h" >&5
13317$as_echo_n "checking for GAP config.h... " >&6; }
13318    if test -r $GAPROOT/bin/$GAPARCH/config.h; then
13319      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GAPROOT/bin/$GAPARCH/config.h" >&5
13320$as_echo "$GAPROOT/bin/$GAPARCH/config.h" >&6; }
13321    else
13322      { $as_echo "$as_me:${as_lineno-$LINENO}: result: Not found" >&5
13323$as_echo "Not found" >&6; }
13324      bad=1
13325    fi
13326
13327    if test "x$bad" = "x1"; then
13328      echo ""
13329      echo "********************************************************************"
13330      echo "  ERROR"
13331      echo ""
13332      echo "  Failed to find the GAP source header files in src/ and"
13333      echo "  GAP's config.h in the architecture dependend directory"
13334      echo ""
13335      echo "  The kernel build process expects to find the normal GAP "
13336      echo "  root directory structure as it is after building GAP itself, and"
13337      echo "  in particular the files"
13338      echo "      <gaproot>/sysinfo.gap"
13339      echo "      <gaproot>/src/<includes>"
13340      echo "  and <gaproot>/bin/<architecture>/bin/config.h."
13341      echo "  Please make sure that your GAP root directory structure"
13342      echo "  conforms to this layout, or give the correct GAP root using"
13343      echo "  --with-gaproot=<path>"
13344      echo "********************************************************************"
13345      echo ""
13346      as_fn_error $? "Unable to find GAP include files in /src subdirectory" "$LINENO" 5
13347    fi
13348
13349    ARCHPATH=$GAPROOT/bin/$GAPARCH
13350    GAP_CPPFLAGS="-I$GAPROOT -iquote $GAPROOT/src -I$ARCHPATH"
13351
13352    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GAP's gmp.h location" >&5
13353$as_echo_n "checking for GAP's gmp.h location... " >&6; }
13354    if test -r "$ARCHPATH/extern/gmp/include/gmp.h"; then
13355      GAP_CPPFLAGS="$GAP_CPPFLAGS -I$ARCHPATH/extern/gmp/include"
13356      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ARCHPATH/extern/gmp/include/gmp.h" >&5
13357$as_echo "$ARCHPATH/extern/gmp/include/gmp.h" >&6; }
13358    else
13359      { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found, GAP was compiled without its own GMP" >&5
13360$as_echo "not found, GAP was compiled without its own GMP" >&6; }
13361    fi
13362  fi
13363
13364
13365
13366
13367
13368
13369
13370
13371  ac_ext=c
13372ac_cpp='$CPP $CPPFLAGS'
13373ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13374ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13375ac_compiler_gnu=$ac_cv_c_compiler_gnu
13376
13377
13378
13379
13380
13381# Check whether --with-zmq was given.
13382if test "${with_zmq+set}" = set; then :
13383  withval=$with_zmq;
13384        ZMQ_LDFLAGS="-L${with_zmq}/lib"
13385        ZMQ_CPPFLAGS="-I${with_zmq}/include"
13386
13387fi
13388
13389
13390    HAVE_ZMQ=0
13391    if test "$with_zmq" != "no"; then
13392
13393        LD_FLAGS="$LDFLAGS $ZMQ_LDFLAGS"
13394        CPPFLAGS="$CPPFLAGS $ZMQ_CPPFLAGS"
13395
13396
13397        ac_ext=c
13398ac_cpp='$CPP $CPPFLAGS'
13399ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402
13403        ac_fn_c_check_header_mongrel "$LINENO" "zmq.h" "ac_cv_header_zmq_h" "$ac_includes_default"
13404if test "x$ac_cv_header_zmq_h" = xyes; then :
13405  zmq_h=yes
13406else
13407  zmq_h=no
13408fi
13409
13410
13411        ac_ext=c
13412ac_cpp='$CPP $CPPFLAGS'
13413ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13414ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13415ac_compiler_gnu=$ac_cv_c_compiler_gnu
13416
13417
13418        if test "$zmq_h" = "yes"; then
13419            version=2.0.0
13420            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ZMQ version >= $version" >&5
13421$as_echo_n "checking for ZMQ version >= $version... " >&6; }
13422            version=$(echo $version | tr '.' ',')
13423            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13424/* end confdefs.h.  */
13425
13426#include <zmq.h>
13427#if defined(ZMQ_VERSION) && ZMQ_VERSION >= ZMQ_MAKE_VERSION($version)
13428    version_ok
13429#endif
13430
13431_ACEOF
13432if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13433  $EGREP "version_ok" >/dev/null 2>&1; then :
13434
13435                { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13436$as_echo "yes" >&6; }
13437                HAVE_ZMQ=1
13438                ZMQ_LIBS="-lzmq"
13439
13440
13441
13442
13443else
13444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no valid ZMQ version was found" >&5
13445$as_echo "no valid ZMQ version was found" >&6; }
13446fi
13447rm -f conftest*
13448
13449        else
13450            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no valid ZMQ installation was found" >&5
13451$as_echo "$as_me: WARNING: no valid ZMQ installation was found" >&2;}
13452        fi
13453
13454        if test $HAVE_ZMQ = 1; then
13455            # execute ACTION-IF-FOUND (if present):
13456            :
13457        else
13458            # execute ACTION-IF-NOT-FOUND (if present):
13459            as_fn_error $? "ZeroMQ is required to build this package" "$LINENO" 5
13460        fi
13461    else
13462        { $as_echo "$as_me:${as_lineno-$LINENO}: not checking for ZMQ" >&5
13463$as_echo "$as_me: not checking for ZMQ" >&6;}
13464    fi
13465
13466
13467$as_echo "#define HAVE_ZMQ /**/" >>confdefs.h
13468
13469
13470
13471case $host_os in
13472  *cygwin* ) CYGWIN=yes;;
13473         * ) CYGWIN=no;;
13474esac
13475 if test "$CYGWIN" = "yes"; then
13476  SYS_IS_CYGWIN_TRUE=
13477  SYS_IS_CYGWIN_FALSE='#'
13478else
13479  SYS_IS_CYGWIN_TRUE='#'
13480  SYS_IS_CYGWIN_FALSE=
13481fi
13482
13483if test "$CYGWIN" = "yes"; then
13484
13485$as_echo "#define SYS_IS_CYGWIN32 1" >>confdefs.h
13486
13487else
13488
13489$as_echo "#define SYS_IS_CYGWIN32 0" >>confdefs.h
13490
13491fi
13492
13493ac_config_files="$ac_config_files Makefile"
13494
13495cat >confcache <<\_ACEOF
13496# This file is a shell script that caches the results of configure
13497# tests run on this system so they can be shared between configure
13498# scripts and configure runs, see configure's option --config-cache.
13499# It is not useful on other systems.  If it contains results you don't
13500# want to keep, you may remove or edit it.
13501#
13502# config.status only pays attention to the cache file if you give it
13503# the --recheck option to rerun configure.
13504#
13505# `ac_cv_env_foo' variables (set or unset) will be overridden when
13506# loading this file, other *unset* `ac_cv_foo' will be assigned the
13507# following values.
13508
13509_ACEOF
13510
13511# The following way of writing the cache mishandles newlines in values,
13512# but we know of no workaround that is simple, portable, and efficient.
13513# So, we kill variables containing newlines.
13514# Ultrix sh set writes to stderr and can't be redirected directly,
13515# and sets the high bit in the cache file unless we assign to the vars.
13516(
13517  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13518    eval ac_val=\$$ac_var
13519    case $ac_val in #(
13520    *${as_nl}*)
13521      case $ac_var in #(
13522      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
13523$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
13524      esac
13525      case $ac_var in #(
13526      _ | IFS | as_nl) ;; #(
13527      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
13528      *) { eval $ac_var=; unset $ac_var;} ;;
13529      esac ;;
13530    esac
13531  done
13532
13533  (set) 2>&1 |
13534    case $as_nl`(ac_space=' '; set) 2>&1` in #(
13535    *${as_nl}ac_space=\ *)
13536      # `set' does not quote correctly, so add quotes: double-quote
13537      # substitution turns \\\\ into \\, and sed turns \\ into \.
13538      sed -n \
13539	"s/'/'\\\\''/g;
13540	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13541      ;; #(
13542    *)
13543      # `set' quotes correctly as required by POSIX, so do not add quotes.
13544      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13545      ;;
13546    esac |
13547    sort
13548) |
13549  sed '
13550     /^ac_cv_env_/b end
13551     t clear
13552     :clear
13553     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13554     t end
13555     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13556     :end' >>confcache
13557if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13558  if test -w "$cache_file"; then
13559    if test "x$cache_file" != "x/dev/null"; then
13560      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
13561$as_echo "$as_me: updating cache $cache_file" >&6;}
13562      if test ! -f "$cache_file" || test -h "$cache_file"; then
13563	cat confcache >"$cache_file"
13564      else
13565        case $cache_file in #(
13566        */* | ?:*)
13567	  mv -f confcache "$cache_file"$$ &&
13568	  mv -f "$cache_file"$$ "$cache_file" ;; #(
13569        *)
13570	  mv -f confcache "$cache_file" ;;
13571	esac
13572      fi
13573    fi
13574  else
13575    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
13576$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13577  fi
13578fi
13579rm -f confcache
13580
13581test "x$prefix" = xNONE && prefix=$ac_default_prefix
13582# Let make expand exec_prefix.
13583test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13584
13585DEFS=-DHAVE_CONFIG_H
13586
13587ac_libobjs=
13588ac_ltlibobjs=
13589U=
13590for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13591  # 1. Remove the extension, and $U if already installed.
13592  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
13593  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
13594  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
13595  #    will be set to the directory where LIBOBJS objects are built.
13596  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
13597  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
13598done
13599LIBOBJS=$ac_libobjs
13600
13601LTLIBOBJS=$ac_ltlibobjs
13602
13603
13604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
13605$as_echo_n "checking that generated files are newer than configure... " >&6; }
13606   if test -n "$am_sleep_pid"; then
13607     # Hide warnings about reused PIDs.
13608     wait $am_sleep_pid 2>/dev/null
13609   fi
13610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
13611$as_echo "done" >&6; }
13612 if test -n "$EXEEXT"; then
13613  am__EXEEXT_TRUE=
13614  am__EXEEXT_FALSE='#'
13615else
13616  am__EXEEXT_TRUE='#'
13617  am__EXEEXT_FALSE=
13618fi
13619
13620if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13621  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
13622Usually this means the macro was only invoked conditionally." "$LINENO" 5
13623fi
13624if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13625  as_fn_error $? "conditional \"AMDEP\" was never defined.
13626Usually this means the macro was only invoked conditionally." "$LINENO" 5
13627fi
13628if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13629  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13630Usually this means the macro was only invoked conditionally." "$LINENO" 5
13631fi
13632if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13633  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
13634Usually this means the macro was only invoked conditionally." "$LINENO" 5
13635fi
13636if test -z "${SYS_IS_CYGWIN_TRUE}" && test -z "${SYS_IS_CYGWIN_FALSE}"; then
13637  as_fn_error $? "conditional \"SYS_IS_CYGWIN\" was never defined.
13638Usually this means the macro was only invoked conditionally." "$LINENO" 5
13639fi
13640
13641: "${CONFIG_STATUS=./config.status}"
13642ac_write_fail=0
13643ac_clean_files_save=$ac_clean_files
13644ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13645{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
13646$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
13647as_write_fail=0
13648cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
13649#! $SHELL
13650# Generated by $as_me.
13651# Run this file to recreate the current configuration.
13652# Compiler output produced by configure, useful for debugging
13653# configure, is in config.log if it exists.
13654
13655debug=false
13656ac_cs_recheck=false
13657ac_cs_silent=false
13658
13659SHELL=\${CONFIG_SHELL-$SHELL}
13660export SHELL
13661_ASEOF
13662cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
13663## -------------------- ##
13664## M4sh Initialization. ##
13665## -------------------- ##
13666
13667# Be more Bourne compatible
13668DUALCASE=1; export DUALCASE # for MKS sh
13669if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
13670  emulate sh
13671  NULLCMD=:
13672  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
13673  # is contrary to our usage.  Disable this feature.
13674  alias -g '${1+"$@"}'='"$@"'
13675  setopt NO_GLOB_SUBST
13676else
13677  case `(set -o) 2>/dev/null` in #(
13678  *posix*) :
13679    set -o posix ;; #(
13680  *) :
13681     ;;
13682esac
13683fi
13684
13685
13686as_nl='
13687'
13688export as_nl
13689# Printing a long string crashes Solaris 7 /usr/bin/printf.
13690as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
13691as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
13692as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
13693# Prefer a ksh shell builtin over an external printf program on Solaris,
13694# but without wasting forks for bash or zsh.
13695if test -z "$BASH_VERSION$ZSH_VERSION" \
13696    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
13697  as_echo='print -r --'
13698  as_echo_n='print -rn --'
13699elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
13700  as_echo='printf %s\n'
13701  as_echo_n='printf %s'
13702else
13703  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
13704    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
13705    as_echo_n='/usr/ucb/echo -n'
13706  else
13707    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
13708    as_echo_n_body='eval
13709      arg=$1;
13710      case $arg in #(
13711      *"$as_nl"*)
13712	expr "X$arg" : "X\\(.*\\)$as_nl";
13713	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
13714      esac;
13715      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
13716    '
13717    export as_echo_n_body
13718    as_echo_n='sh -c $as_echo_n_body as_echo'
13719  fi
13720  export as_echo_body
13721  as_echo='sh -c $as_echo_body as_echo'
13722fi
13723
13724# The user is always right.
13725if test "${PATH_SEPARATOR+set}" != set; then
13726  PATH_SEPARATOR=:
13727  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
13728    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
13729      PATH_SEPARATOR=';'
13730  }
13731fi
13732
13733
13734# IFS
13735# We need space, tab and new line, in precisely that order.  Quoting is
13736# there to prevent editors from complaining about space-tab.
13737# (If _AS_PATH_WALK were called with IFS unset, it would disable word
13738# splitting by setting IFS to empty value.)
13739IFS=" ""	$as_nl"
13740
13741# Find who we are.  Look in the path if we contain no directory separator.
13742as_myself=
13743case $0 in #((
13744  *[\\/]* ) as_myself=$0 ;;
13745  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13746for as_dir in $PATH
13747do
13748  IFS=$as_save_IFS
13749  test -z "$as_dir" && as_dir=.
13750    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13751  done
13752IFS=$as_save_IFS
13753
13754     ;;
13755esac
13756# We did not find ourselves, most probably we were run as `sh COMMAND'
13757# in which case we are not to be found in the path.
13758if test "x$as_myself" = x; then
13759  as_myself=$0
13760fi
13761if test ! -f "$as_myself"; then
13762  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
13763  exit 1
13764fi
13765
13766# Unset variables that we do not need and which cause bugs (e.g. in
13767# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
13768# suppresses any "Segmentation fault" message there.  '((' could
13769# trigger a bug in pdksh 5.2.14.
13770for as_var in BASH_ENV ENV MAIL MAILPATH
13771do eval test x\${$as_var+set} = xset \
13772  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
13773done
13774PS1='$ '
13775PS2='> '
13776PS4='+ '
13777
13778# NLS nuisances.
13779LC_ALL=C
13780export LC_ALL
13781LANGUAGE=C
13782export LANGUAGE
13783
13784# CDPATH.
13785(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
13786
13787
13788# as_fn_error STATUS ERROR [LINENO LOG_FD]
13789# ----------------------------------------
13790# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
13791# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
13792# script with STATUS, using 1 if that was 0.
13793as_fn_error ()
13794{
13795  as_status=$1; test $as_status -eq 0 && as_status=1
13796  if test "$4"; then
13797    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
13798    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
13799  fi
13800  $as_echo "$as_me: error: $2" >&2
13801  as_fn_exit $as_status
13802} # as_fn_error
13803
13804
13805# as_fn_set_status STATUS
13806# -----------------------
13807# Set $? to STATUS, without forking.
13808as_fn_set_status ()
13809{
13810  return $1
13811} # as_fn_set_status
13812
13813# as_fn_exit STATUS
13814# -----------------
13815# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
13816as_fn_exit ()
13817{
13818  set +e
13819  as_fn_set_status $1
13820  exit $1
13821} # as_fn_exit
13822
13823# as_fn_unset VAR
13824# ---------------
13825# Portably unset VAR.
13826as_fn_unset ()
13827{
13828  { eval $1=; unset $1;}
13829}
13830as_unset=as_fn_unset
13831# as_fn_append VAR VALUE
13832# ----------------------
13833# Append the text in VALUE to the end of the definition contained in VAR. Take
13834# advantage of any shell optimizations that allow amortized linear growth over
13835# repeated appends, instead of the typical quadratic growth present in naive
13836# implementations.
13837if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
13838  eval 'as_fn_append ()
13839  {
13840    eval $1+=\$2
13841  }'
13842else
13843  as_fn_append ()
13844  {
13845    eval $1=\$$1\$2
13846  }
13847fi # as_fn_append
13848
13849# as_fn_arith ARG...
13850# ------------------
13851# Perform arithmetic evaluation on the ARGs, and store the result in the
13852# global $as_val. Take advantage of shells that can avoid forks. The arguments
13853# must be portable across $(()) and expr.
13854if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
13855  eval 'as_fn_arith ()
13856  {
13857    as_val=$(( $* ))
13858  }'
13859else
13860  as_fn_arith ()
13861  {
13862    as_val=`expr "$@" || test $? -eq 1`
13863  }
13864fi # as_fn_arith
13865
13866
13867if expr a : '\(a\)' >/dev/null 2>&1 &&
13868   test "X`expr 00001 : '.*\(...\)'`" = X001; then
13869  as_expr=expr
13870else
13871  as_expr=false
13872fi
13873
13874if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
13875  as_basename=basename
13876else
13877  as_basename=false
13878fi
13879
13880if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
13881  as_dirname=dirname
13882else
13883  as_dirname=false
13884fi
13885
13886as_me=`$as_basename -- "$0" ||
13887$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13888	 X"$0" : 'X\(//\)$' \| \
13889	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
13890$as_echo X/"$0" |
13891    sed '/^.*\/\([^/][^/]*\)\/*$/{
13892	    s//\1/
13893	    q
13894	  }
13895	  /^X\/\(\/\/\)$/{
13896	    s//\1/
13897	    q
13898	  }
13899	  /^X\/\(\/\).*/{
13900	    s//\1/
13901	    q
13902	  }
13903	  s/.*/./; q'`
13904
13905# Avoid depending upon Character Ranges.
13906as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13907as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13908as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13909as_cr_digits='0123456789'
13910as_cr_alnum=$as_cr_Letters$as_cr_digits
13911
13912ECHO_C= ECHO_N= ECHO_T=
13913case `echo -n x` in #(((((
13914-n*)
13915  case `echo 'xy\c'` in
13916  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
13917  xy)  ECHO_C='\c';;
13918  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
13919       ECHO_T='	';;
13920  esac;;
13921*)
13922  ECHO_N='-n';;
13923esac
13924
13925rm -f conf$$ conf$$.exe conf$$.file
13926if test -d conf$$.dir; then
13927  rm -f conf$$.dir/conf$$.file
13928else
13929  rm -f conf$$.dir
13930  mkdir conf$$.dir 2>/dev/null
13931fi
13932if (echo >conf$$.file) 2>/dev/null; then
13933  if ln -s conf$$.file conf$$ 2>/dev/null; then
13934    as_ln_s='ln -s'
13935    # ... but there are two gotchas:
13936    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
13937    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
13938    # In both cases, we have to default to `cp -pR'.
13939    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
13940      as_ln_s='cp -pR'
13941  elif ln conf$$.file conf$$ 2>/dev/null; then
13942    as_ln_s=ln
13943  else
13944    as_ln_s='cp -pR'
13945  fi
13946else
13947  as_ln_s='cp -pR'
13948fi
13949rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
13950rmdir conf$$.dir 2>/dev/null
13951
13952
13953# as_fn_mkdir_p
13954# -------------
13955# Create "$as_dir" as a directory, including parents if necessary.
13956as_fn_mkdir_p ()
13957{
13958
13959  case $as_dir in #(
13960  -*) as_dir=./$as_dir;;
13961  esac
13962  test -d "$as_dir" || eval $as_mkdir_p || {
13963    as_dirs=
13964    while :; do
13965      case $as_dir in #(
13966      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
13967      *) as_qdir=$as_dir;;
13968      esac
13969      as_dirs="'$as_qdir' $as_dirs"
13970      as_dir=`$as_dirname -- "$as_dir" ||
13971$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13972	 X"$as_dir" : 'X\(//\)[^/]' \| \
13973	 X"$as_dir" : 'X\(//\)$' \| \
13974	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13975$as_echo X"$as_dir" |
13976    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13977	    s//\1/
13978	    q
13979	  }
13980	  /^X\(\/\/\)[^/].*/{
13981	    s//\1/
13982	    q
13983	  }
13984	  /^X\(\/\/\)$/{
13985	    s//\1/
13986	    q
13987	  }
13988	  /^X\(\/\).*/{
13989	    s//\1/
13990	    q
13991	  }
13992	  s/.*/./; q'`
13993      test -d "$as_dir" && break
13994    done
13995    test -z "$as_dirs" || eval "mkdir $as_dirs"
13996  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
13997
13998
13999} # as_fn_mkdir_p
14000if mkdir -p . 2>/dev/null; then
14001  as_mkdir_p='mkdir -p "$as_dir"'
14002else
14003  test -d ./-p && rmdir ./-p
14004  as_mkdir_p=false
14005fi
14006
14007
14008# as_fn_executable_p FILE
14009# -----------------------
14010# Test if FILE is an executable regular file.
14011as_fn_executable_p ()
14012{
14013  test -f "$1" && test -x "$1"
14014} # as_fn_executable_p
14015as_test_x='test -x'
14016as_executable_p=as_fn_executable_p
14017
14018# Sed expression to map a string onto a valid CPP name.
14019as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
14020
14021# Sed expression to map a string onto a valid variable name.
14022as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
14023
14024
14025exec 6>&1
14026## ----------------------------------- ##
14027## Main body of $CONFIG_STATUS script. ##
14028## ----------------------------------- ##
14029_ASEOF
14030test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
14031
14032cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14033# Save the log message, to keep $0 and so on meaningful, and to
14034# report actual input values of CONFIG_FILES etc. instead of their
14035# values after options handling.
14036ac_log="
14037This file was extended by zeromq $as_me package, which was
14038generated by GNU Autoconf 2.69.  Invocation command line was
14039
14040  CONFIG_FILES    = $CONFIG_FILES
14041  CONFIG_HEADERS  = $CONFIG_HEADERS
14042  CONFIG_LINKS    = $CONFIG_LINKS
14043  CONFIG_COMMANDS = $CONFIG_COMMANDS
14044  $ $0 $@
14045
14046on `(hostname || uname -n) 2>/dev/null | sed 1q`
14047"
14048
14049_ACEOF
14050
14051case $ac_config_files in *"
14052"*) set x $ac_config_files; shift; ac_config_files=$*;;
14053esac
14054
14055case $ac_config_headers in *"
14056"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
14057esac
14058
14059
14060cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14061# Files that config.status was made for.
14062config_files="$ac_config_files"
14063config_headers="$ac_config_headers"
14064config_commands="$ac_config_commands"
14065
14066_ACEOF
14067
14068cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14069ac_cs_usage="\
14070\`$as_me' instantiates files and other configuration actions
14071from templates according to the current configuration.  Unless the files
14072and actions are specified as TAGs, all are instantiated by default.
14073
14074Usage: $0 [OPTION]... [TAG]...
14075
14076  -h, --help       print this help, then exit
14077  -V, --version    print version number and configuration settings, then exit
14078      --config     print configuration, then exit
14079  -q, --quiet, --silent
14080                   do not print progress messages
14081  -d, --debug      don't remove temporary files
14082      --recheck    update $as_me by reconfiguring in the same conditions
14083      --file=FILE[:TEMPLATE]
14084                   instantiate the configuration file FILE
14085      --header=FILE[:TEMPLATE]
14086                   instantiate the configuration header FILE
14087
14088Configuration files:
14089$config_files
14090
14091Configuration headers:
14092$config_headers
14093
14094Configuration commands:
14095$config_commands
14096
14097Report bugs to <https://github.com/gap-packages/zeromq/issues>.
14098zeromq home page: <https://gap-packages.github.io/ZeroMQInterface/>."
14099
14100_ACEOF
14101cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14102ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14103ac_cs_version="\\
14104zeromq config.status package
14105configured by $0, generated by GNU Autoconf 2.69,
14106  with options \\"\$ac_cs_config\\"
14107
14108Copyright (C) 2012 Free Software Foundation, Inc.
14109This config.status script is free software; the Free Software Foundation
14110gives unlimited permission to copy, distribute and modify it."
14111
14112ac_pwd='$ac_pwd'
14113srcdir='$srcdir'
14114INSTALL='$INSTALL'
14115MKDIR_P='$MKDIR_P'
14116AWK='$AWK'
14117test -n "\$AWK" || AWK=awk
14118_ACEOF
14119
14120cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14121# The default lists apply if the user does not specify any file.
14122ac_need_defaults=:
14123while test $# != 0
14124do
14125  case $1 in
14126  --*=?*)
14127    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14128    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
14129    ac_shift=:
14130    ;;
14131  --*=)
14132    ac_option=`expr "X$1" : 'X\([^=]*\)='`
14133    ac_optarg=
14134    ac_shift=:
14135    ;;
14136  *)
14137    ac_option=$1
14138    ac_optarg=$2
14139    ac_shift=shift
14140    ;;
14141  esac
14142
14143  case $ac_option in
14144  # Handling of the options.
14145  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
14146    ac_cs_recheck=: ;;
14147  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
14148    $as_echo "$ac_cs_version"; exit ;;
14149  --config | --confi | --conf | --con | --co | --c )
14150    $as_echo "$ac_cs_config"; exit ;;
14151  --debug | --debu | --deb | --de | --d | -d )
14152    debug=: ;;
14153  --file | --fil | --fi | --f )
14154    $ac_shift
14155    case $ac_optarg in
14156    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14157    '') as_fn_error $? "missing file argument" ;;
14158    esac
14159    as_fn_append CONFIG_FILES " '$ac_optarg'"
14160    ac_need_defaults=false;;
14161  --header | --heade | --head | --hea )
14162    $ac_shift
14163    case $ac_optarg in
14164    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
14165    esac
14166    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
14167    ac_need_defaults=false;;
14168  --he | --h)
14169    # Conflict between --help and --header
14170    as_fn_error $? "ambiguous option: \`$1'
14171Try \`$0 --help' for more information.";;
14172  --help | --hel | -h )
14173    $as_echo "$ac_cs_usage"; exit ;;
14174  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
14175  | -silent | --silent | --silen | --sile | --sil | --si | --s)
14176    ac_cs_silent=: ;;
14177
14178  # This is an error.
14179  -*) as_fn_error $? "unrecognized option: \`$1'
14180Try \`$0 --help' for more information." ;;
14181
14182  *) as_fn_append ac_config_targets " $1"
14183     ac_need_defaults=false ;;
14184
14185  esac
14186  shift
14187done
14188
14189ac_configure_extra_args=
14190
14191if $ac_cs_silent; then
14192  exec 6>/dev/null
14193  ac_configure_extra_args="$ac_configure_extra_args --silent"
14194fi
14195
14196_ACEOF
14197cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14198if \$ac_cs_recheck; then
14199  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
14200  shift
14201  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
14202  CONFIG_SHELL='$SHELL'
14203  export CONFIG_SHELL
14204  exec "\$@"
14205fi
14206
14207_ACEOF
14208cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14209exec 5>>config.log
14210{
14211  echo
14212  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
14213## Running $as_me. ##
14214_ASBOX
14215  $as_echo "$ac_log"
14216} >&5
14217
14218_ACEOF
14219cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14220#
14221# INIT-COMMANDS
14222#
14223AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
14224
14225
14226# The HP-UX ksh and POSIX shell print the target directory to stdout
14227# if CDPATH is set.
14228(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
14229
14230sed_quote_subst='$sed_quote_subst'
14231double_quote_subst='$double_quote_subst'
14232delay_variable_subst='$delay_variable_subst'
14233macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
14234macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
14235enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
14236AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`'
14237DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
14238OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
14239enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
14240pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
14241enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
14242shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
14243SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
14244ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
14245PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
14246host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
14247host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
14248host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
14249build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
14250build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
14251build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
14252SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
14253Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
14254GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
14255EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
14256FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
14257LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
14258NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
14259LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
14260max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
14261ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
14262exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
14263lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
14264lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
14265lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
14266lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
14267lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
14268reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
14269reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
14270deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
14271file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
14272file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
14273want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
14274sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
14275AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
14276AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
14277archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
14278STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
14279RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
14280old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14281old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14282old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
14283lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
14284CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
14285CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
14286compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
14287GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
14288lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
14289lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
14290lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
14291lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
14292lt_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"`'
14293lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
14294nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
14295lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
14296lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
14297objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
14298MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
14299lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
14300lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
14301lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
14302lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
14303lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
14304need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
14305MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
14306DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
14307NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
14308LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
14309OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
14310OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
14311libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
14312shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
14313extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14314archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
14315enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
14316export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
14317whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
14318compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
14319old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
14320old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
14321archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
14322archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14323module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
14324module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
14325with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
14326allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
14327no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
14328hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
14329hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
14330hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
14331hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
14332hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
14333hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
14334hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
14335inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
14336link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
14337always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
14338export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
14339exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
14340include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
14341prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
14342postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
14343file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
14344variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
14345need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
14346need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
14347version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
14348runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
14349shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
14350shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
14351libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
14352library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
14353soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
14354install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
14355postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
14356postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
14357finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
14358finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
14359hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
14360sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
14361configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
14362configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
14363hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
14364enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
14365enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
14366enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
14367old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
14368striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
14369
14370LTCC='$LTCC'
14371LTCFLAGS='$LTCFLAGS'
14372compiler='$compiler_DEFAULT'
14373
14374# A function that is used when there is no print builtin or printf.
14375func_fallback_echo ()
14376{
14377  eval 'cat <<_LTECHO_EOF
14378\$1
14379_LTECHO_EOF'
14380}
14381
14382# Quote evaled strings.
14383for var in AS \
14384DLLTOOL \
14385OBJDUMP \
14386SHELL \
14387ECHO \
14388PATH_SEPARATOR \
14389SED \
14390GREP \
14391EGREP \
14392FGREP \
14393LD \
14394NM \
14395LN_S \
14396lt_SP2NL \
14397lt_NL2SP \
14398reload_flag \
14399deplibs_check_method \
14400file_magic_cmd \
14401file_magic_glob \
14402want_nocaseglob \
14403sharedlib_from_linklib_cmd \
14404AR \
14405AR_FLAGS \
14406archiver_list_spec \
14407STRIP \
14408RANLIB \
14409CC \
14410CFLAGS \
14411compiler \
14412lt_cv_sys_global_symbol_pipe \
14413lt_cv_sys_global_symbol_to_cdecl \
14414lt_cv_sys_global_symbol_to_import \
14415lt_cv_sys_global_symbol_to_c_name_address \
14416lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
14417lt_cv_nm_interface \
14418nm_file_list_spec \
14419lt_cv_truncate_bin \
14420lt_prog_compiler_no_builtin_flag \
14421lt_prog_compiler_pic \
14422lt_prog_compiler_wl \
14423lt_prog_compiler_static \
14424lt_cv_prog_compiler_c_o \
14425need_locks \
14426MANIFEST_TOOL \
14427DSYMUTIL \
14428NMEDIT \
14429LIPO \
14430OTOOL \
14431OTOOL64 \
14432shrext_cmds \
14433export_dynamic_flag_spec \
14434whole_archive_flag_spec \
14435compiler_needs_object \
14436with_gnu_ld \
14437allow_undefined_flag \
14438no_undefined_flag \
14439hardcode_libdir_flag_spec \
14440hardcode_libdir_separator \
14441exclude_expsyms \
14442include_expsyms \
14443file_list_spec \
14444variables_saved_for_relink \
14445libname_spec \
14446library_names_spec \
14447soname_spec \
14448install_override_mode \
14449finish_eval \
14450old_striplib \
14451striplib; do
14452    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14453    *[\\\\\\\`\\"\\\$]*)
14454      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14455      ;;
14456    *)
14457      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14458      ;;
14459    esac
14460done
14461
14462# Double-quote double-evaled strings.
14463for var in reload_cmds \
14464old_postinstall_cmds \
14465old_postuninstall_cmds \
14466old_archive_cmds \
14467extract_expsyms_cmds \
14468old_archive_from_new_cmds \
14469old_archive_from_expsyms_cmds \
14470archive_cmds \
14471archive_expsym_cmds \
14472module_cmds \
14473module_expsym_cmds \
14474export_symbols_cmds \
14475prelink_cmds \
14476postlink_cmds \
14477postinstall_cmds \
14478postuninstall_cmds \
14479finish_cmds \
14480sys_lib_search_path_spec \
14481configure_time_dlsearch_path \
14482configure_time_lt_sys_library_path; do
14483    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
14484    *[\\\\\\\`\\"\\\$]*)
14485      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
14486      ;;
14487    *)
14488      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
14489      ;;
14490    esac
14491done
14492
14493ac_aux_dir='$ac_aux_dir'
14494
14495# See if we are running on zsh, and set the options that allow our
14496# commands through without removal of \ escapes INIT.
14497if test -n "\${ZSH_VERSION+set}"; then
14498   setopt NO_GLOB_SUBST
14499fi
14500
14501
14502    PACKAGE='$PACKAGE'
14503    VERSION='$VERSION'
14504    RM='$RM'
14505    ofile='$ofile'
14506
14507
14508
14509
14510_ACEOF
14511
14512cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14513
14514# Handling of arguments.
14515for ac_config_target in $ac_config_targets
14516do
14517  case $ac_config_target in
14518    "src/pkgconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS src/pkgconfig.h:cnf/pkgconfig.h.in" ;;
14519    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
14520    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
14521    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
14522
14523  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
14524  esac
14525done
14526
14527
14528# If the user did not use the arguments to specify the items to instantiate,
14529# then the envvar interface is used.  Set only those that are not.
14530# We use the long form for the default assignment because of an extremely
14531# bizarre bug on SunOS 4.1.3.
14532if $ac_need_defaults; then
14533  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
14534  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
14535  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
14536fi
14537
14538# Have a temporary directory for convenience.  Make it in the build tree
14539# simply because there is no reason against having it here, and in addition,
14540# creating and moving files from /tmp can sometimes cause problems.
14541# Hook for its removal unless debugging.
14542# Note that there is a small window in which the directory will not be cleaned:
14543# after its creation but before its name has been assigned to `$tmp'.
14544$debug ||
14545{
14546  tmp= ac_tmp=
14547  trap 'exit_status=$?
14548  : "${ac_tmp:=$tmp}"
14549  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
14550' 0
14551  trap 'as_fn_exit 1' 1 2 13 15
14552}
14553# Create a (secure) tmp directory for tmp files.
14554
14555{
14556  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
14557  test -d "$tmp"
14558}  ||
14559{
14560  tmp=./conf$$-$RANDOM
14561  (umask 077 && mkdir "$tmp")
14562} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
14563ac_tmp=$tmp
14564
14565# Set up the scripts for CONFIG_FILES section.
14566# No need to generate them if there are no CONFIG_FILES.
14567# This happens for instance with `./config.status config.h'.
14568if test -n "$CONFIG_FILES"; then
14569
14570
14571ac_cr=`echo X | tr X '\015'`
14572# On cygwin, bash can eat \r inside `` if the user requested igncr.
14573# But we know of no other shell where ac_cr would be empty at this
14574# point, so we can use a bashism as a fallback.
14575if test "x$ac_cr" = x; then
14576  eval ac_cr=\$\'\\r\'
14577fi
14578ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
14579if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
14580  ac_cs_awk_cr='\\r'
14581else
14582  ac_cs_awk_cr=$ac_cr
14583fi
14584
14585echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
14586_ACEOF
14587
14588
14589{
14590  echo "cat >conf$$subs.awk <<_ACEOF" &&
14591  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
14592  echo "_ACEOF"
14593} >conf$$subs.sh ||
14594  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14595ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
14596ac_delim='%!_!# '
14597for ac_last_try in false false false false false :; do
14598  . ./conf$$subs.sh ||
14599    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14600
14601  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
14602  if test $ac_delim_n = $ac_delim_num; then
14603    break
14604  elif $ac_last_try; then
14605    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
14606  else
14607    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14608  fi
14609done
14610rm -f conf$$subs.sh
14611
14612cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14613cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
14614_ACEOF
14615sed -n '
14616h
14617s/^/S["/; s/!.*/"]=/
14618p
14619g
14620s/^[^!]*!//
14621:repl
14622t repl
14623s/'"$ac_delim"'$//
14624t delim
14625:nl
14626h
14627s/\(.\{148\}\)..*/\1/
14628t more1
14629s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
14630p
14631n
14632b repl
14633:more1
14634s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14635p
14636g
14637s/.\{148\}//
14638t nl
14639:delim
14640h
14641s/\(.\{148\}\)..*/\1/
14642t more2
14643s/["\\]/\\&/g; s/^/"/; s/$/"/
14644p
14645b
14646:more2
14647s/["\\]/\\&/g; s/^/"/; s/$/"\\/
14648p
14649g
14650s/.\{148\}//
14651t delim
14652' <conf$$subs.awk | sed '
14653/^[^""]/{
14654  N
14655  s/\n//
14656}
14657' >>$CONFIG_STATUS || ac_write_fail=1
14658rm -f conf$$subs.awk
14659cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14660_ACAWK
14661cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
14662  for (key in S) S_is_set[key] = 1
14663  FS = ""
14664
14665}
14666{
14667  line = $ 0
14668  nfields = split(line, field, "@")
14669  substed = 0
14670  len = length(field[1])
14671  for (i = 2; i < nfields; i++) {
14672    key = field[i]
14673    keylen = length(key)
14674    if (S_is_set[key]) {
14675      value = S[key]
14676      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
14677      len += length(value) + length(field[++i])
14678      substed = 1
14679    } else
14680      len += 1 + keylen
14681  }
14682
14683  print line
14684}
14685
14686_ACAWK
14687_ACEOF
14688cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14689if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
14690  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
14691else
14692  cat
14693fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
14694  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
14695_ACEOF
14696
14697# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
14698# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
14699# trailing colons and then remove the whole line if VPATH becomes empty
14700# (actually we leave an empty line to preserve line numbers).
14701if test "x$srcdir" = x.; then
14702  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
14703h
14704s///
14705s/^/:/
14706s/[	 ]*$/:/
14707s/:\$(srcdir):/:/g
14708s/:\${srcdir}:/:/g
14709s/:@srcdir@:/:/g
14710s/^:*//
14711s/:*$//
14712x
14713s/\(=[	 ]*\).*/\1/
14714G
14715s/\n//
14716s/^[^=]*=[	 ]*$//
14717}'
14718fi
14719
14720cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14721fi # test -n "$CONFIG_FILES"
14722
14723# Set up the scripts for CONFIG_HEADERS section.
14724# No need to generate them if there are no CONFIG_HEADERS.
14725# This happens for instance with `./config.status Makefile'.
14726if test -n "$CONFIG_HEADERS"; then
14727cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
14728BEGIN {
14729_ACEOF
14730
14731# Transform confdefs.h into an awk script `defines.awk', embedded as
14732# here-document in config.status, that substitutes the proper values into
14733# config.h.in to produce config.h.
14734
14735# Create a delimiter string that does not exist in confdefs.h, to ease
14736# handling of long lines.
14737ac_delim='%!_!# '
14738for ac_last_try in false false :; do
14739  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
14740  if test -z "$ac_tt"; then
14741    break
14742  elif $ac_last_try; then
14743    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
14744  else
14745    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
14746  fi
14747done
14748
14749# For the awk script, D is an array of macro values keyed by name,
14750# likewise P contains macro parameters if any.  Preserve backslash
14751# newline sequences.
14752
14753ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
14754sed -n '
14755s/.\{148\}/&'"$ac_delim"'/g
14756t rset
14757:rset
14758s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
14759t def
14760d
14761:def
14762s/\\$//
14763t bsnl
14764s/["\\]/\\&/g
14765s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14766D["\1"]=" \3"/p
14767s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
14768d
14769:bsnl
14770s/["\\]/\\&/g
14771s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
14772D["\1"]=" \3\\\\\\n"\\/p
14773t cont
14774s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
14775t cont
14776d
14777:cont
14778n
14779s/.\{148\}/&'"$ac_delim"'/g
14780t clear
14781:clear
14782s/\\$//
14783t bsnlc
14784s/["\\]/\\&/g; s/^/"/; s/$/"/p
14785d
14786:bsnlc
14787s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
14788b cont
14789' <confdefs.h | sed '
14790s/'"$ac_delim"'/"\\\
14791"/g' >>$CONFIG_STATUS || ac_write_fail=1
14792
14793cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14794  for (key in D) D_is_set[key] = 1
14795  FS = ""
14796}
14797/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
14798  line = \$ 0
14799  split(line, arg, " ")
14800  if (arg[1] == "#") {
14801    defundef = arg[2]
14802    mac1 = arg[3]
14803  } else {
14804    defundef = substr(arg[1], 2)
14805    mac1 = arg[2]
14806  }
14807  split(mac1, mac2, "(") #)
14808  macro = mac2[1]
14809  prefix = substr(line, 1, index(line, defundef) - 1)
14810  if (D_is_set[macro]) {
14811    # Preserve the white space surrounding the "#".
14812    print prefix "define", macro P[macro] D[macro]
14813    next
14814  } else {
14815    # Replace #undef with comments.  This is necessary, for example,
14816    # in the case of _POSIX_SOURCE, which is predefined and required
14817    # on some systems where configure will not decide to define it.
14818    if (defundef == "undef") {
14819      print "/*", prefix defundef, macro, "*/"
14820      next
14821    }
14822  }
14823}
14824{ print }
14825_ACAWK
14826_ACEOF
14827cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14828  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
14829fi # test -n "$CONFIG_HEADERS"
14830
14831
14832eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
14833shift
14834for ac_tag
14835do
14836  case $ac_tag in
14837  :[FHLC]) ac_mode=$ac_tag; continue;;
14838  esac
14839  case $ac_mode$ac_tag in
14840  :[FHL]*:*);;
14841  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
14842  :[FH]-) ac_tag=-:-;;
14843  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
14844  esac
14845  ac_save_IFS=$IFS
14846  IFS=:
14847  set x $ac_tag
14848  IFS=$ac_save_IFS
14849  shift
14850  ac_file=$1
14851  shift
14852
14853  case $ac_mode in
14854  :L) ac_source=$1;;
14855  :[FH])
14856    ac_file_inputs=
14857    for ac_f
14858    do
14859      case $ac_f in
14860      -) ac_f="$ac_tmp/stdin";;
14861      *) # Look for the file first in the build tree, then in the source tree
14862	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
14863	 # because $ac_f cannot contain `:'.
14864	 test -f "$ac_f" ||
14865	   case $ac_f in
14866	   [\\/$]*) false;;
14867	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
14868	   esac ||
14869	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
14870      esac
14871      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
14872      as_fn_append ac_file_inputs " '$ac_f'"
14873    done
14874
14875    # Let's still pretend it is `configure' which instantiates (i.e., don't
14876    # use $as_me), people would be surprised to read:
14877    #    /* config.h.  Generated by config.status.  */
14878    configure_input='Generated from '`
14879	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
14880	`' by configure.'
14881    if test x"$ac_file" != x-; then
14882      configure_input="$ac_file.  $configure_input"
14883      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
14884$as_echo "$as_me: creating $ac_file" >&6;}
14885    fi
14886    # Neutralize special characters interpreted by sed in replacement strings.
14887    case $configure_input in #(
14888    *\&* | *\|* | *\\* )
14889       ac_sed_conf_input=`$as_echo "$configure_input" |
14890       sed 's/[\\\\&|]/\\\\&/g'`;; #(
14891    *) ac_sed_conf_input=$configure_input;;
14892    esac
14893
14894    case $ac_tag in
14895    *:-:* | *:-) cat >"$ac_tmp/stdin" \
14896      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
14897    esac
14898    ;;
14899  esac
14900
14901  ac_dir=`$as_dirname -- "$ac_file" ||
14902$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14903	 X"$ac_file" : 'X\(//\)[^/]' \| \
14904	 X"$ac_file" : 'X\(//\)$' \| \
14905	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
14906$as_echo X"$ac_file" |
14907    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
14908	    s//\1/
14909	    q
14910	  }
14911	  /^X\(\/\/\)[^/].*/{
14912	    s//\1/
14913	    q
14914	  }
14915	  /^X\(\/\/\)$/{
14916	    s//\1/
14917	    q
14918	  }
14919	  /^X\(\/\).*/{
14920	    s//\1/
14921	    q
14922	  }
14923	  s/.*/./; q'`
14924  as_dir="$ac_dir"; as_fn_mkdir_p
14925  ac_builddir=.
14926
14927case "$ac_dir" in
14928.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
14929*)
14930  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
14931  # A ".." for each directory in $ac_dir_suffix.
14932  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
14933  case $ac_top_builddir_sub in
14934  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
14935  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
14936  esac ;;
14937esac
14938ac_abs_top_builddir=$ac_pwd
14939ac_abs_builddir=$ac_pwd$ac_dir_suffix
14940# for backward compatibility:
14941ac_top_builddir=$ac_top_build_prefix
14942
14943case $srcdir in
14944  .)  # We are building in place.
14945    ac_srcdir=.
14946    ac_top_srcdir=$ac_top_builddir_sub
14947    ac_abs_top_srcdir=$ac_pwd ;;
14948  [\\/]* | ?:[\\/]* )  # Absolute name.
14949    ac_srcdir=$srcdir$ac_dir_suffix;
14950    ac_top_srcdir=$srcdir
14951    ac_abs_top_srcdir=$srcdir ;;
14952  *) # Relative name.
14953    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
14954    ac_top_srcdir=$ac_top_build_prefix$srcdir
14955    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
14956esac
14957ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
14958
14959
14960  case $ac_mode in
14961  :F)
14962  #
14963  # CONFIG_FILE
14964  #
14965
14966  case $INSTALL in
14967  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14968  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
14969  esac
14970  ac_MKDIR_P=$MKDIR_P
14971  case $MKDIR_P in
14972  [\\/$]* | ?:[\\/]* ) ;;
14973  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
14974  esac
14975_ACEOF
14976
14977cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
14978# If the template does not know about datarootdir, expand it.
14979# FIXME: This hack should be removed a few years after 2.60.
14980ac_datarootdir_hack=; ac_datarootdir_seen=
14981ac_sed_dataroot='
14982/datarootdir/ {
14983  p
14984  q
14985}
14986/@datadir@/p
14987/@docdir@/p
14988/@infodir@/p
14989/@localedir@/p
14990/@mandir@/p'
14991case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
14992*datarootdir*) ac_datarootdir_seen=yes;;
14993*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
14994  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
14995$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
14996_ACEOF
14997cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14998  ac_datarootdir_hack='
14999  s&@datadir@&$datadir&g
15000  s&@docdir@&$docdir&g
15001  s&@infodir@&$infodir&g
15002  s&@localedir@&$localedir&g
15003  s&@mandir@&$mandir&g
15004  s&\\\${datarootdir}&$datarootdir&g' ;;
15005esac
15006_ACEOF
15007
15008# Neutralize VPATH when `$srcdir' = `.'.
15009# Shell code in configure.ac might set extrasub.
15010# FIXME: do we really want to maintain this feature?
15011cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15012ac_sed_extra="$ac_vpsub
15013$extrasub
15014_ACEOF
15015cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15016:t
15017/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
15018s|@configure_input@|$ac_sed_conf_input|;t t
15019s&@top_builddir@&$ac_top_builddir_sub&;t t
15020s&@top_build_prefix@&$ac_top_build_prefix&;t t
15021s&@srcdir@&$ac_srcdir&;t t
15022s&@abs_srcdir@&$ac_abs_srcdir&;t t
15023s&@top_srcdir@&$ac_top_srcdir&;t t
15024s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
15025s&@builddir@&$ac_builddir&;t t
15026s&@abs_builddir@&$ac_abs_builddir&;t t
15027s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
15028s&@INSTALL@&$ac_INSTALL&;t t
15029s&@MKDIR_P@&$ac_MKDIR_P&;t t
15030$ac_datarootdir_hack
15031"
15032eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
15033  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15034
15035test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15036  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
15037  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
15038      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15039  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15040which seems to be undefined.  Please make sure it is defined" >&5
15041$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15042which seems to be undefined.  Please make sure it is defined" >&2;}
15043
15044  rm -f "$ac_tmp/stdin"
15045  case $ac_file in
15046  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
15047  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15048  esac \
15049  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15050 ;;
15051  :H)
15052  #
15053  # CONFIG_HEADER
15054  #
15055  if test x"$ac_file" != x-; then
15056    {
15057      $as_echo "/* $configure_input  */" \
15058      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
15059    } >"$ac_tmp/config.h" \
15060      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15061    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15062      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15063$as_echo "$as_me: $ac_file is unchanged" >&6;}
15064    else
15065      rm -f "$ac_file"
15066      mv "$ac_tmp/config.h" "$ac_file" \
15067	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
15068    fi
15069  else
15070    $as_echo "/* $configure_input  */" \
15071      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15072      || as_fn_error $? "could not create -" "$LINENO" 5
15073  fi
15074# Compute "$ac_file"'s index in $config_headers.
15075_am_arg="$ac_file"
15076_am_stamp_count=1
15077for _am_header in $config_headers :; do
15078  case $_am_header in
15079    $_am_arg | $_am_arg:* )
15080      break ;;
15081    * )
15082      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
15083  esac
15084done
15085echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
15086$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15087	 X"$_am_arg" : 'X\(//\)[^/]' \| \
15088	 X"$_am_arg" : 'X\(//\)$' \| \
15089	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
15090$as_echo X"$_am_arg" |
15091    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15092	    s//\1/
15093	    q
15094	  }
15095	  /^X\(\/\/\)[^/].*/{
15096	    s//\1/
15097	    q
15098	  }
15099	  /^X\(\/\/\)$/{
15100	    s//\1/
15101	    q
15102	  }
15103	  /^X\(\/\).*/{
15104	    s//\1/
15105	    q
15106	  }
15107	  s/.*/./; q'`/stamp-h$_am_stamp_count
15108 ;;
15109
15110  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15111$as_echo "$as_me: executing $ac_file commands" >&6;}
15112 ;;
15113  esac
15114
15115
15116  case $ac_file$ac_mode in
15117    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
15118  # Older Autoconf quotes --file arguments for eval, but not when files
15119  # are listed without --file.  Let's play safe and only enable the eval
15120  # if we detect the quoting.
15121  case $CONFIG_FILES in
15122  *\'*) eval set x "$CONFIG_FILES" ;;
15123  *)   set x $CONFIG_FILES ;;
15124  esac
15125  shift
15126  for mf
15127  do
15128    # Strip MF so we end up with the name of the file.
15129    mf=`echo "$mf" | sed -e 's/:.*$//'`
15130    # Check whether this is an Automake generated Makefile or not.
15131    # We used to match only the files named 'Makefile.in', but
15132    # some people rename them; so instead we look at the file content.
15133    # Grep'ing the first line is not enough: some people post-process
15134    # each Makefile.in and add a new line on top of each file to say so.
15135    # Grep'ing the whole file is not good either: AIX grep has a line
15136    # limit of 2048, but all sed's we know have understand at least 4000.
15137    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
15138      dirpart=`$as_dirname -- "$mf" ||
15139$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15140	 X"$mf" : 'X\(//\)[^/]' \| \
15141	 X"$mf" : 'X\(//\)$' \| \
15142	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
15143$as_echo X"$mf" |
15144    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15145	    s//\1/
15146	    q
15147	  }
15148	  /^X\(\/\/\)[^/].*/{
15149	    s//\1/
15150	    q
15151	  }
15152	  /^X\(\/\/\)$/{
15153	    s//\1/
15154	    q
15155	  }
15156	  /^X\(\/\).*/{
15157	    s//\1/
15158	    q
15159	  }
15160	  s/.*/./; q'`
15161    else
15162      continue
15163    fi
15164    # Extract the definition of DEPDIR, am__include, and am__quote
15165    # from the Makefile without running 'make'.
15166    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
15167    test -z "$DEPDIR" && continue
15168    am__include=`sed -n 's/^am__include = //p' < "$mf"`
15169    test -z "$am__include" && continue
15170    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
15171    # Find all dependency output files, they are included files with
15172    # $(DEPDIR) in their names.  We invoke sed twice because it is the
15173    # simplest approach to changing $(DEPDIR) to its actual value in the
15174    # expansion.
15175    for file in `sed -n "
15176      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
15177	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
15178      # Make sure the directory exists.
15179      test -f "$dirpart/$file" && continue
15180      fdir=`$as_dirname -- "$file" ||
15181$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15182	 X"$file" : 'X\(//\)[^/]' \| \
15183	 X"$file" : 'X\(//\)$' \| \
15184	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
15185$as_echo X"$file" |
15186    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15187	    s//\1/
15188	    q
15189	  }
15190	  /^X\(\/\/\)[^/].*/{
15191	    s//\1/
15192	    q
15193	  }
15194	  /^X\(\/\/\)$/{
15195	    s//\1/
15196	    q
15197	  }
15198	  /^X\(\/\).*/{
15199	    s//\1/
15200	    q
15201	  }
15202	  s/.*/./; q'`
15203      as_dir=$dirpart/$fdir; as_fn_mkdir_p
15204      # echo "creating $dirpart/$file"
15205      echo '# dummy' > "$dirpart/$file"
15206    done
15207  done
15208}
15209 ;;
15210    "libtool":C)
15211
15212    # See if we are running on zsh, and set the options that allow our
15213    # commands through without removal of \ escapes.
15214    if test -n "${ZSH_VERSION+set}"; then
15215      setopt NO_GLOB_SUBST
15216    fi
15217
15218    cfgfile=${ofile}T
15219    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
15220    $RM "$cfgfile"
15221
15222    cat <<_LT_EOF >> "$cfgfile"
15223#! $SHELL
15224# Generated automatically by $as_me ($PACKAGE) $VERSION
15225# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15226# NOTE: Changes made to this file will be lost: look at ltmain.sh.
15227
15228# Provide generalized library-building support services.
15229# Written by Gordon Matzigkeit, 1996
15230
15231# Copyright (C) 2014 Free Software Foundation, Inc.
15232# This is free software; see the source for copying conditions.  There is NO
15233# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15234
15235# GNU Libtool is free software; you can redistribute it and/or modify
15236# it under the terms of the GNU General Public License as published by
15237# the Free Software Foundation; either version 2 of of the License, or
15238# (at your option) any later version.
15239#
15240# As a special exception to the GNU General Public License, if you
15241# distribute this file as part of a program or library that is built
15242# using GNU Libtool, you may include this file under the  same
15243# distribution terms that you use for the rest of that program.
15244#
15245# GNU Libtool is distributed in the hope that it will be useful, but
15246# WITHOUT ANY WARRANTY; without even the implied warranty of
15247# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15248# GNU General Public License for more details.
15249#
15250# You should have received a copy of the GNU General Public License
15251# along with this program.  If not, see <http://www.gnu.org/licenses/>.
15252
15253
15254# The names of the tagged configurations supported by this script.
15255available_tags=''
15256
15257# Configured defaults for sys_lib_dlsearch_path munging.
15258: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
15259
15260# ### BEGIN LIBTOOL CONFIG
15261
15262# Which release of libtool.m4 was used?
15263macro_version=$macro_version
15264macro_revision=$macro_revision
15265
15266# Whether or not to build static libraries.
15267build_old_libs=$enable_static
15268
15269# Assembler program.
15270AS=$lt_AS
15271
15272# DLL creation program.
15273DLLTOOL=$lt_DLLTOOL
15274
15275# Object dumper program.
15276OBJDUMP=$lt_OBJDUMP
15277
15278# Whether or not to build shared libraries.
15279build_libtool_libs=$enable_shared
15280
15281# What type of objects to build.
15282pic_mode=$pic_mode
15283
15284# Whether or not to optimize for fast installation.
15285fast_install=$enable_fast_install
15286
15287# Shared archive member basename,for filename based shared library versioning on AIX.
15288shared_archive_member_spec=$shared_archive_member_spec
15289
15290# Shell to use when invoking shell scripts.
15291SHELL=$lt_SHELL
15292
15293# An echo program that protects backslashes.
15294ECHO=$lt_ECHO
15295
15296# The PATH separator for the build system.
15297PATH_SEPARATOR=$lt_PATH_SEPARATOR
15298
15299# The host system.
15300host_alias=$host_alias
15301host=$host
15302host_os=$host_os
15303
15304# The build system.
15305build_alias=$build_alias
15306build=$build
15307build_os=$build_os
15308
15309# A sed program that does not truncate output.
15310SED=$lt_SED
15311
15312# Sed that helps us avoid accidentally triggering echo(1) options like -n.
15313Xsed="\$SED -e 1s/^X//"
15314
15315# A grep program that handles long lines.
15316GREP=$lt_GREP
15317
15318# An ERE matcher.
15319EGREP=$lt_EGREP
15320
15321# A literal string matcher.
15322FGREP=$lt_FGREP
15323
15324# A BSD- or MS-compatible name lister.
15325NM=$lt_NM
15326
15327# Whether we need soft or hard links.
15328LN_S=$lt_LN_S
15329
15330# What is the maximum length of a command?
15331max_cmd_len=$max_cmd_len
15332
15333# Object file suffix (normally "o").
15334objext=$ac_objext
15335
15336# Executable file suffix (normally "").
15337exeext=$exeext
15338
15339# whether the shell understands "unset".
15340lt_unset=$lt_unset
15341
15342# turn spaces into newlines.
15343SP2NL=$lt_lt_SP2NL
15344
15345# turn newlines into spaces.
15346NL2SP=$lt_lt_NL2SP
15347
15348# convert \$build file names to \$host format.
15349to_host_file_cmd=$lt_cv_to_host_file_cmd
15350
15351# convert \$build files to toolchain format.
15352to_tool_file_cmd=$lt_cv_to_tool_file_cmd
15353
15354# Method to check whether dependent libraries are shared objects.
15355deplibs_check_method=$lt_deplibs_check_method
15356
15357# Command to use when deplibs_check_method = "file_magic".
15358file_magic_cmd=$lt_file_magic_cmd
15359
15360# How to find potential files when deplibs_check_method = "file_magic".
15361file_magic_glob=$lt_file_magic_glob
15362
15363# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
15364want_nocaseglob=$lt_want_nocaseglob
15365
15366# Command to associate shared and link libraries.
15367sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
15368
15369# The archiver.
15370AR=$lt_AR
15371
15372# Flags to create an archive.
15373AR_FLAGS=$lt_AR_FLAGS
15374
15375# How to feed a file listing to the archiver.
15376archiver_list_spec=$lt_archiver_list_spec
15377
15378# A symbol stripping program.
15379STRIP=$lt_STRIP
15380
15381# Commands used to install an old-style archive.
15382RANLIB=$lt_RANLIB
15383old_postinstall_cmds=$lt_old_postinstall_cmds
15384old_postuninstall_cmds=$lt_old_postuninstall_cmds
15385
15386# Whether to use a lock for old archive extraction.
15387lock_old_archive_extraction=$lock_old_archive_extraction
15388
15389# A C compiler.
15390LTCC=$lt_CC
15391
15392# LTCC compiler flags.
15393LTCFLAGS=$lt_CFLAGS
15394
15395# Take the output of nm and produce a listing of raw symbols and C names.
15396global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
15397
15398# Transform the output of nm in a proper C declaration.
15399global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
15400
15401# Transform the output of nm into a list of symbols to manually relocate.
15402global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
15403
15404# Transform the output of nm in a C name address pair.
15405global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
15406
15407# Transform the output of nm in a C name address pair when lib prefix is needed.
15408global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
15409
15410# The name lister interface.
15411nm_interface=$lt_lt_cv_nm_interface
15412
15413# Specify filename containing input files for \$NM.
15414nm_file_list_spec=$lt_nm_file_list_spec
15415
15416# The root where to search for dependent libraries,and where our libraries should be installed.
15417lt_sysroot=$lt_sysroot
15418
15419# Command to truncate a binary pipe.
15420lt_truncate_bin=$lt_lt_cv_truncate_bin
15421
15422# The name of the directory that contains temporary libtool files.
15423objdir=$objdir
15424
15425# Used to examine libraries when file_magic_cmd begins with "file".
15426MAGIC_CMD=$MAGIC_CMD
15427
15428# Must we lock files when doing compilation?
15429need_locks=$lt_need_locks
15430
15431# Manifest tool.
15432MANIFEST_TOOL=$lt_MANIFEST_TOOL
15433
15434# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
15435DSYMUTIL=$lt_DSYMUTIL
15436
15437# Tool to change global to local symbols on Mac OS X.
15438NMEDIT=$lt_NMEDIT
15439
15440# Tool to manipulate fat objects and archives on Mac OS X.
15441LIPO=$lt_LIPO
15442
15443# ldd/readelf like tool for Mach-O binaries on Mac OS X.
15444OTOOL=$lt_OTOOL
15445
15446# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
15447OTOOL64=$lt_OTOOL64
15448
15449# Old archive suffix (normally "a").
15450libext=$libext
15451
15452# Shared library suffix (normally ".so").
15453shrext_cmds=$lt_shrext_cmds
15454
15455# The commands to extract the exported symbol list from a shared archive.
15456extract_expsyms_cmds=$lt_extract_expsyms_cmds
15457
15458# Variables whose values should be saved in libtool wrapper scripts and
15459# restored at link time.
15460variables_saved_for_relink=$lt_variables_saved_for_relink
15461
15462# Do we need the "lib" prefix for modules?
15463need_lib_prefix=$need_lib_prefix
15464
15465# Do we need a version for libraries?
15466need_version=$need_version
15467
15468# Library versioning type.
15469version_type=$version_type
15470
15471# Shared library runtime path variable.
15472runpath_var=$runpath_var
15473
15474# Shared library path variable.
15475shlibpath_var=$shlibpath_var
15476
15477# Is shlibpath searched before the hard-coded library search path?
15478shlibpath_overrides_runpath=$shlibpath_overrides_runpath
15479
15480# Format of library name prefix.
15481libname_spec=$lt_libname_spec
15482
15483# List of archive names.  First name is the real one, the rest are links.
15484# The last name is the one that the linker finds with -lNAME
15485library_names_spec=$lt_library_names_spec
15486
15487# The coded name of the library, if different from the real name.
15488soname_spec=$lt_soname_spec
15489
15490# Permission mode override for installation of shared libraries.
15491install_override_mode=$lt_install_override_mode
15492
15493# Command to use after installation of a shared archive.
15494postinstall_cmds=$lt_postinstall_cmds
15495
15496# Command to use after uninstallation of a shared archive.
15497postuninstall_cmds=$lt_postuninstall_cmds
15498
15499# Commands used to finish a libtool library installation in a directory.
15500finish_cmds=$lt_finish_cmds
15501
15502# As "finish_cmds", except a single script fragment to be evaled but
15503# not shown.
15504finish_eval=$lt_finish_eval
15505
15506# Whether we should hardcode library paths into libraries.
15507hardcode_into_libs=$hardcode_into_libs
15508
15509# Compile-time system search path for libraries.
15510sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15511
15512# Detected run-time system search path for libraries.
15513sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
15514
15515# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
15516configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
15517
15518# Whether dlopen is supported.
15519dlopen_support=$enable_dlopen
15520
15521# Whether dlopen of programs is supported.
15522dlopen_self=$enable_dlopen_self
15523
15524# Whether dlopen of statically linked programs is supported.
15525dlopen_self_static=$enable_dlopen_self_static
15526
15527# Commands to strip libraries.
15528old_striplib=$lt_old_striplib
15529striplib=$lt_striplib
15530
15531
15532# The linker used to build libraries.
15533LD=$lt_LD
15534
15535# How to create reloadable object files.
15536reload_flag=$lt_reload_flag
15537reload_cmds=$lt_reload_cmds
15538
15539# Commands used to build an old-style archive.
15540old_archive_cmds=$lt_old_archive_cmds
15541
15542# A language specific compiler.
15543CC=$lt_compiler
15544
15545# Is the compiler the GNU compiler?
15546with_gcc=$GCC
15547
15548# Compiler flag to turn off builtin functions.
15549no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
15550
15551# Additional compiler flags for building library objects.
15552pic_flag=$lt_lt_prog_compiler_pic
15553
15554# How to pass a linker flag through the compiler.
15555wl=$lt_lt_prog_compiler_wl
15556
15557# Compiler flag to prevent dynamic linking.
15558link_static_flag=$lt_lt_prog_compiler_static
15559
15560# Does compiler simultaneously support -c and -o options?
15561compiler_c_o=$lt_lt_cv_prog_compiler_c_o
15562
15563# Whether or not to add -lc for building shared libraries.
15564build_libtool_need_lc=$archive_cmds_need_lc
15565
15566# Whether or not to disallow shared libs when runtime libs are static.
15567allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
15568
15569# Compiler flag to allow reflexive dlopens.
15570export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
15571
15572# Compiler flag to generate shared objects directly from archives.
15573whole_archive_flag_spec=$lt_whole_archive_flag_spec
15574
15575# Whether the compiler copes with passing no objects directly.
15576compiler_needs_object=$lt_compiler_needs_object
15577
15578# Create an old-style archive from a shared archive.
15579old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
15580
15581# Create a temporary old-style archive to link instead of a shared archive.
15582old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
15583
15584# Commands used to build a shared archive.
15585archive_cmds=$lt_archive_cmds
15586archive_expsym_cmds=$lt_archive_expsym_cmds
15587
15588# Commands used to build a loadable module if different from building
15589# a shared archive.
15590module_cmds=$lt_module_cmds
15591module_expsym_cmds=$lt_module_expsym_cmds
15592
15593# Whether we are building with GNU ld or not.
15594with_gnu_ld=$lt_with_gnu_ld
15595
15596# Flag that allows shared libraries with undefined symbols to be built.
15597allow_undefined_flag=$lt_allow_undefined_flag
15598
15599# Flag that enforces no undefined symbols.
15600no_undefined_flag=$lt_no_undefined_flag
15601
15602# Flag to hardcode \$libdir into a binary during linking.
15603# This must work even if \$libdir does not exist
15604hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
15605
15606# Whether we need a single "-rpath" flag with a separated argument.
15607hardcode_libdir_separator=$lt_hardcode_libdir_separator
15608
15609# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15610# DIR into the resulting binary.
15611hardcode_direct=$hardcode_direct
15612
15613# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
15614# DIR into the resulting binary and the resulting library dependency is
15615# "absolute",i.e impossible to change by setting \$shlibpath_var if the
15616# library is relocated.
15617hardcode_direct_absolute=$hardcode_direct_absolute
15618
15619# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
15620# into the resulting binary.
15621hardcode_minus_L=$hardcode_minus_L
15622
15623# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
15624# into the resulting binary.
15625hardcode_shlibpath_var=$hardcode_shlibpath_var
15626
15627# Set to "yes" if building a shared library automatically hardcodes DIR
15628# into the library and all subsequent libraries and executables linked
15629# against it.
15630hardcode_automatic=$hardcode_automatic
15631
15632# Set to yes if linker adds runtime paths of dependent libraries
15633# to runtime path list.
15634inherit_rpath=$inherit_rpath
15635
15636# Whether libtool must link a program against all its dependency libraries.
15637link_all_deplibs=$link_all_deplibs
15638
15639# Set to "yes" if exported symbols are required.
15640always_export_symbols=$always_export_symbols
15641
15642# The commands to list exported symbols.
15643export_symbols_cmds=$lt_export_symbols_cmds
15644
15645# Symbols that should not be listed in the preloaded symbols.
15646exclude_expsyms=$lt_exclude_expsyms
15647
15648# Symbols that must always be exported.
15649include_expsyms=$lt_include_expsyms
15650
15651# Commands necessary for linking programs (against libraries) with templates.
15652prelink_cmds=$lt_prelink_cmds
15653
15654# Commands necessary for finishing linking programs.
15655postlink_cmds=$lt_postlink_cmds
15656
15657# Specify filename containing input files.
15658file_list_spec=$lt_file_list_spec
15659
15660# How to hardcode a shared library path into an executable.
15661hardcode_action=$hardcode_action
15662
15663# ### END LIBTOOL CONFIG
15664
15665_LT_EOF
15666
15667    cat <<'_LT_EOF' >> "$cfgfile"
15668
15669# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
15670
15671# func_munge_path_list VARIABLE PATH
15672# -----------------------------------
15673# VARIABLE is name of variable containing _space_ separated list of
15674# directories to be munged by the contents of PATH, which is string
15675# having a format:
15676# "DIR[:DIR]:"
15677#       string "DIR[ DIR]" will be prepended to VARIABLE
15678# ":DIR[:DIR]"
15679#       string "DIR[ DIR]" will be appended to VARIABLE
15680# "DIRP[:DIRP]::[DIRA:]DIRA"
15681#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
15682#       "DIRA[ DIRA]" will be appended to VARIABLE
15683# "DIR[:DIR]"
15684#       VARIABLE will be replaced by "DIR[ DIR]"
15685func_munge_path_list ()
15686{
15687    case x$2 in
15688    x)
15689        ;;
15690    *:)
15691        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
15692        ;;
15693    x:*)
15694        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
15695        ;;
15696    *::*)
15697        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
15698        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
15699        ;;
15700    *)
15701        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
15702        ;;
15703    esac
15704}
15705
15706
15707# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
15708func_cc_basename ()
15709{
15710    for cc_temp in $*""; do
15711      case $cc_temp in
15712        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
15713        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
15714        \-*) ;;
15715        *) break;;
15716      esac
15717    done
15718    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
15719}
15720
15721
15722# ### END FUNCTIONS SHARED WITH CONFIGURE
15723
15724_LT_EOF
15725
15726  case $host_os in
15727  aix3*)
15728    cat <<\_LT_EOF >> "$cfgfile"
15729# AIX sometimes has problems with the GCC collect2 program.  For some
15730# reason, if we set the COLLECT_NAMES environment variable, the problems
15731# vanish in a puff of smoke.
15732if test set != "${COLLECT_NAMES+set}"; then
15733  COLLECT_NAMES=
15734  export COLLECT_NAMES
15735fi
15736_LT_EOF
15737    ;;
15738  esac
15739
15740
15741ltmain=$ac_aux_dir/ltmain.sh
15742
15743
15744  # We use sed instead of cat because bash on DJGPP gets confused if
15745  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
15746  # text mode, it properly converts lines to CR/LF.  This bash problem
15747  # is reportedly fixed, but why not run on old versions too?
15748  sed '$q' "$ltmain" >> "$cfgfile" \
15749     || (rm -f "$cfgfile"; exit 1)
15750
15751   mv -f "$cfgfile" "$ofile" ||
15752    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
15753  chmod +x "$ofile"
15754
15755 ;;
15756
15757  esac
15758done # for ac_tag
15759
15760
15761as_fn_exit 0
15762_ACEOF
15763ac_clean_files=$ac_clean_files_save
15764
15765test $ac_write_fail = 0 ||
15766  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
15767
15768
15769# configure is writing to config.log, and then calls config.status.
15770# config.status does its own redirection, appending to config.log.
15771# Unfortunately, on DOS this fails, as config.log is still kept open
15772# by configure, so config.status won't be able to write to it; its
15773# output is simply discarded.  So we exec the FD to /dev/null,
15774# effectively closing config.log, so it can be properly (re)opened and
15775# appended to by config.status.  When coming back to configure, we
15776# need to make the FD available again.
15777if test "$no_create" != yes; then
15778  ac_cs_success=:
15779  ac_config_status_args=
15780  test "$silent" = yes &&
15781    ac_config_status_args="$ac_config_status_args --quiet"
15782  exec 5>/dev/null
15783  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
15784  exec 5>>config.log
15785  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
15786  # would make configure fail if this is the last instruction.
15787  $ac_cs_success || as_fn_exit 1
15788fi
15789if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
15790  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
15791$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
15792fi
15793
15794