1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for cjose 0.6.1.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199
200  test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
201    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
202    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
203    ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204    PATH=/empty FPATH=/empty; export PATH FPATH
205    test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
206      || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
207test \$(( 1 + 1 )) = 2 || exit 1"
208  if (eval "$as_required") 2>/dev/null; then :
209  as_have_required=yes
210else
211  as_have_required=no
212fi
213  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215else
216  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217as_found=false
218for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219do
220  IFS=$as_save_IFS
221  test -z "$as_dir" && as_dir=.
222  as_found=:
223  case $as_dir in #(
224	 /*)
225	   for as_base in sh bash ksh sh5; do
226	     # Try only shells that exist, to save several forks.
227	     as_shell=$as_dir/$as_base
228	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230  CONFIG_SHELL=$as_shell as_have_required=yes
231		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232  break 2
233fi
234fi
235	   done;;
236       esac
237  as_found=false
238done
239$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241  CONFIG_SHELL=$SHELL as_have_required=yes
242fi; }
243IFS=$as_save_IFS
244
245
246      if test "x$CONFIG_SHELL" != x; then :
247  export CONFIG_SHELL
248             # We cannot yet assume a decent shell, so we have to provide a
249# neutralization value for shells without unset; and this also
250# works around shells that cannot unset nonexistent variables.
251# Preserve -v and -x to the replacement shell.
252BASH_ENV=/dev/null
253ENV=/dev/null
254(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255case $- in # ((((
256  *v*x* | *x*v* ) as_opts=-vx ;;
257  *v* ) as_opts=-v ;;
258  *x* ) as_opts=-x ;;
259  * ) as_opts= ;;
260esac
261exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262# Admittedly, this is quite paranoid, since all the known shells bail
263# out after a failed `exec'.
264$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265exit 255
266fi
267
268    if test x$as_have_required = xno; then :
269  $as_echo "$0: This script requires a shell more modern than all"
270  $as_echo "$0: the shells that I found on your system."
271  if test x${ZSH_VERSION+set} = xset ; then
272    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274  else
275    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276$0: including any error possibly output before this
277$0: message. Then install a modern shell, or manually run
278$0: the script under such a shell if you do have one."
279  fi
280  exit 1
281fi
282fi
283fi
284SHELL=${CONFIG_SHELL-/bin/sh}
285export SHELL
286# Unset more variables known to interfere with behavior of common tools.
287CLICOLOR_FORCE= GREP_OPTIONS=
288unset CLICOLOR_FORCE GREP_OPTIONS
289
290## --------------------- ##
291## M4sh Shell Functions. ##
292## --------------------- ##
293# as_fn_unset VAR
294# ---------------
295# Portably unset VAR.
296as_fn_unset ()
297{
298  { eval $1=; unset $1;}
299}
300as_unset=as_fn_unset
301
302# as_fn_set_status STATUS
303# -----------------------
304# Set $? to STATUS, without forking.
305as_fn_set_status ()
306{
307  return $1
308} # as_fn_set_status
309
310# as_fn_exit STATUS
311# -----------------
312# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313as_fn_exit ()
314{
315  set +e
316  as_fn_set_status $1
317  exit $1
318} # as_fn_exit
319
320# as_fn_mkdir_p
321# -------------
322# Create "$as_dir" as a directory, including parents if necessary.
323as_fn_mkdir_p ()
324{
325
326  case $as_dir in #(
327  -*) as_dir=./$as_dir;;
328  esac
329  test -d "$as_dir" || eval $as_mkdir_p || {
330    as_dirs=
331    while :; do
332      case $as_dir in #(
333      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334      *) as_qdir=$as_dir;;
335      esac
336      as_dirs="'$as_qdir' $as_dirs"
337      as_dir=`$as_dirname -- "$as_dir" ||
338$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339	 X"$as_dir" : 'X\(//\)[^/]' \| \
340	 X"$as_dir" : 'X\(//\)$' \| \
341	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342$as_echo X"$as_dir" |
343    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\/\)[^/].*/{
348	    s//\1/
349	    q
350	  }
351	  /^X\(\/\/\)$/{
352	    s//\1/
353	    q
354	  }
355	  /^X\(\/\).*/{
356	    s//\1/
357	    q
358	  }
359	  s/.*/./; q'`
360      test -d "$as_dir" && break
361    done
362    test -z "$as_dirs" || eval "mkdir $as_dirs"
363  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366} # as_fn_mkdir_p
367
368# as_fn_executable_p FILE
369# -----------------------
370# Test if FILE is an executable regular file.
371as_fn_executable_p ()
372{
373  test -f "$1" && test -x "$1"
374} # as_fn_executable_p
375# as_fn_append VAR VALUE
376# ----------------------
377# Append the text in VALUE to the end of the definition contained in VAR. Take
378# advantage of any shell optimizations that allow amortized linear growth over
379# repeated appends, instead of the typical quadratic growth present in naive
380# implementations.
381if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382  eval 'as_fn_append ()
383  {
384    eval $1+=\$2
385  }'
386else
387  as_fn_append ()
388  {
389    eval $1=\$$1\$2
390  }
391fi # as_fn_append
392
393# as_fn_arith ARG...
394# ------------------
395# Perform arithmetic evaluation on the ARGs, and store the result in the
396# global $as_val. Take advantage of shells that can avoid forks. The arguments
397# must be portable across $(()) and expr.
398if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399  eval 'as_fn_arith ()
400  {
401    as_val=$(( $* ))
402  }'
403else
404  as_fn_arith ()
405  {
406    as_val=`expr "$@" || test $? -eq 1`
407  }
408fi # as_fn_arith
409
410
411# as_fn_error STATUS ERROR [LINENO LOG_FD]
412# ----------------------------------------
413# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415# script with STATUS, using 1 if that was 0.
416as_fn_error ()
417{
418  as_status=$1; test $as_status -eq 0 && as_status=1
419  if test "$4"; then
420    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422  fi
423  $as_echo "$as_me: error: $2" >&2
424  as_fn_exit $as_status
425} # as_fn_error
426
427if expr a : '\(a\)' >/dev/null 2>&1 &&
428   test "X`expr 00001 : '.*\(...\)'`" = X001; then
429  as_expr=expr
430else
431  as_expr=false
432fi
433
434if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435  as_basename=basename
436else
437  as_basename=false
438fi
439
440if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441  as_dirname=dirname
442else
443  as_dirname=false
444fi
445
446as_me=`$as_basename -- "$0" ||
447$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448	 X"$0" : 'X\(//\)$' \| \
449	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450$as_echo X/"$0" |
451    sed '/^.*\/\([^/][^/]*\)\/*$/{
452	    s//\1/
453	    q
454	  }
455	  /^X\/\(\/\/\)$/{
456	    s//\1/
457	    q
458	  }
459	  /^X\/\(\/\).*/{
460	    s//\1/
461	    q
462	  }
463	  s/.*/./; q'`
464
465# Avoid depending upon Character Ranges.
466as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469as_cr_digits='0123456789'
470as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473  as_lineno_1=$LINENO as_lineno_1a=$LINENO
474  as_lineno_2=$LINENO as_lineno_2a=$LINENO
475  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
478  sed -n '
479    p
480    /[$]LINENO/=
481  ' <$as_myself |
482    sed '
483      s/[$]LINENO.*/&-/
484      t lineno
485      b
486      :lineno
487      N
488      :loop
489      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490      t loop
491      s/-\n.*//
492    ' >$as_me.lineno &&
493  chmod +x "$as_me.lineno" ||
494    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497  # already done that, so ensure we don't try to do so again and fall
498  # in an infinite loop.  This has already happened in practice.
499  _as_can_reexec=no; export _as_can_reexec
500  # Don't try to exec as it changes $[0], causing all sort of problems
501  # (the dirname of $[0] is not the place where we might find the
502  # original and so on.  Autoconf is especially sensitive to this).
503  . "./$as_me.lineno"
504  # Exit status is that of the last command.
505  exit
506}
507
508ECHO_C= ECHO_N= ECHO_T=
509case `echo -n x` in #(((((
510-n*)
511  case `echo 'xy\c'` in
512  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
513  xy)  ECHO_C='\c';;
514  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
515       ECHO_T='	';;
516  esac;;
517*)
518  ECHO_N='-n';;
519esac
520
521rm -f conf$$ conf$$.exe conf$$.file
522if test -d conf$$.dir; then
523  rm -f conf$$.dir/conf$$.file
524else
525  rm -f conf$$.dir
526  mkdir conf$$.dir 2>/dev/null
527fi
528if (echo >conf$$.file) 2>/dev/null; then
529  if ln -s conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s='ln -s'
531    # ... but there are two gotchas:
532    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534    # In both cases, we have to default to `cp -pR'.
535    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536      as_ln_s='cp -pR'
537  elif ln conf$$.file conf$$ 2>/dev/null; then
538    as_ln_s=ln
539  else
540    as_ln_s='cp -pR'
541  fi
542else
543  as_ln_s='cp -pR'
544fi
545rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546rmdir conf$$.dir 2>/dev/null
547
548if mkdir -p . 2>/dev/null; then
549  as_mkdir_p='mkdir -p "$as_dir"'
550else
551  test -d ./-p && rmdir ./-p
552  as_mkdir_p=false
553fi
554
555as_test_x='test -x'
556as_executable_p=as_fn_executable_p
557
558# Sed expression to map a string onto a valid CPP name.
559as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561# Sed expression to map a string onto a valid variable name.
562as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567test -n "$DJDIR" || exec 7<&0 </dev/null
568exec 6>&1
569
570# Name of the host.
571# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572# so uname gets run too.
573ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575#
576# Initializations.
577#
578ac_default_prefix=/usr/local
579ac_clean_files=
580ac_config_libobj_dir=.
581LIBOBJS=
582cross_compiling=no
583subdirs=
584MFLAGS=
585MAKEFLAGS=
586
587# Identity of this package.
588PACKAGE_NAME='cjose'
589PACKAGE_TARNAME='cjose'
590PACKAGE_VERSION='0.6.1'
591PACKAGE_STRING='cjose 0.6.1'
592PACKAGE_BUGREPORT=''
593PACKAGE_URL=''
594
595# Factoring default headers for most tests.
596ac_includes_default="\
597#include <stdio.h>
598#ifdef HAVE_SYS_TYPES_H
599# include <sys/types.h>
600#endif
601#ifdef HAVE_SYS_STAT_H
602# include <sys/stat.h>
603#endif
604#ifdef STDC_HEADERS
605# include <stdlib.h>
606# include <stddef.h>
607#else
608# ifdef HAVE_STDLIB_H
609#  include <stdlib.h>
610# endif
611#endif
612#ifdef HAVE_STRING_H
613# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
614#  include <memory.h>
615# endif
616# include <string.h>
617#endif
618#ifdef HAVE_STRINGS_H
619# include <strings.h>
620#endif
621#ifdef HAVE_INTTYPES_H
622# include <inttypes.h>
623#endif
624#ifdef HAVE_STDINT_H
625# include <stdint.h>
626#endif
627#ifdef HAVE_UNISTD_H
628# include <unistd.h>
629#endif"
630
631ac_subst_vars='am__EXEEXT_FALSE
632am__EXEEXT_TRUE
633LTLIBOBJS
634LIBOBJS
635HAVE_CHECK_FALSE
636HAVE_CHECK_TRUE
637CHECK_LIBS
638CHECK_CFLAGS
639PKG_CONFIG_LIBDIR
640PKG_CONFIG_PATH
641PKG_CONFIG
642DOXYGEN_PAPER_SIZE
643DX_COND_latex_FALSE
644DX_COND_latex_TRUE
645DX_COND_pdf_FALSE
646DX_COND_pdf_TRUE
647DX_PDFLATEX
648DX_FLAG_pdf
649DX_COND_ps_FALSE
650DX_COND_ps_TRUE
651DX_EGREP
652DX_DVIPS
653DX_MAKEINDEX
654DX_LATEX
655DX_FLAG_ps
656DX_COND_html_FALSE
657DX_COND_html_TRUE
658DX_FLAG_html
659DX_COND_chi_FALSE
660DX_COND_chi_TRUE
661DX_FLAG_chi
662DX_COND_chm_FALSE
663DX_COND_chm_TRUE
664DX_HHC
665DX_FLAG_chm
666DX_COND_xml_FALSE
667DX_COND_xml_TRUE
668DX_FLAG_xml
669DX_COND_rtf_FALSE
670DX_COND_rtf_TRUE
671DX_FLAG_rtf
672DX_COND_man_FALSE
673DX_COND_man_TRUE
674DX_FLAG_man
675DX_COND_dot_FALSE
676DX_COND_dot_TRUE
677DX_DOT
678DX_FLAG_dot
679DX_COND_doc_FALSE
680DX_COND_doc_TRUE
681DX_PERL
682DX_DOXYGEN
683DX_FLAG_doc
684DX_ENV
685DX_DOCDIR
686DX_CONFIG
687DX_PROJECT
688CPP
689LT_SYS_LIBRARY_PATH
690OTOOL64
691OTOOL
692LIPO
693NMEDIT
694DSYMUTIL
695MANIFEST_TOOL
696RANLIB
697ac_ct_AR
698AR
699DLLTOOL
700OBJDUMP
701LN_S
702NM
703ac_ct_DUMPBIN
704DUMPBIN
705LD
706FGREP
707EGREP
708GREP
709SED
710am__fastdepCC_FALSE
711am__fastdepCC_TRUE
712CCDEPMODE
713am__nodep
714AMDEPBACKSLASH
715AMDEP_FALSE
716AMDEP_TRUE
717am__include
718DEPDIR
719OBJEXT
720EXEEXT
721ac_ct_CC
722CPPFLAGS
723LDFLAGS
724CFLAGS
725CC
726host_os
727host_vendor
728host_cpu
729host
730build_os
731build_vendor
732build_cpu
733build
734LIBTOOL
735AM_BACKSLASH
736AM_DEFAULT_VERBOSITY
737AM_DEFAULT_V
738AM_V
739am__untar
740am__tar
741AMTAR
742am__leading_dot
743SET_MAKE
744AWK
745mkdir_p
746MKDIR_P
747INSTALL_STRIP_PROGRAM
748STRIP
749install_sh
750MAKEINFO
751AUTOHEADER
752AUTOMAKE
753AUTOCONF
754ACLOCAL
755VERSION
756PACKAGE
757CYGPATH_W
758am__isrc
759INSTALL_DATA
760INSTALL_SCRIPT
761INSTALL_PROGRAM
762target_alias
763host_alias
764build_alias
765LIBS
766ECHO_T
767ECHO_N
768ECHO_C
769DEFS
770mandir
771localedir
772libdir
773psdir
774pdfdir
775dvidir
776htmldir
777infodir
778docdir
779oldincludedir
780includedir
781localstatedir
782sharedstatedir
783sysconfdir
784datadir
785datarootdir
786libexecdir
787sbindir
788bindir
789program_transform_name
790prefix
791exec_prefix
792PACKAGE_URL
793PACKAGE_BUGREPORT
794PACKAGE_STRING
795PACKAGE_VERSION
796PACKAGE_TARNAME
797PACKAGE_NAME
798PATH_SEPARATOR
799SHELL
800am__quote'
801ac_subst_files=''
802ac_user_opts='
803enable_option_checking
804enable_silent_rules
805enable_shared
806enable_static
807with_pic
808enable_fast_install
809with_aix_soname
810enable_dependency_tracking
811with_gnu_ld
812with_sysroot
813enable_libtool_lock
814enable_doxygen_doc
815enable_doxygen_dot
816enable_doxygen_man
817enable_doxygen_rtf
818enable_doxygen_xml
819enable_doxygen_chm
820enable_doxygen_chi
821enable_doxygen_html
822enable_doxygen_ps
823enable_doxygen_pdf
824with_openssl
825with_jansson
826'
827      ac_precious_vars='build_alias
828host_alias
829target_alias
830CC
831CFLAGS
832LDFLAGS
833LIBS
834CPPFLAGS
835LT_SYS_LIBRARY_PATH
836CPP
837DOXYGEN_PAPER_SIZE
838PKG_CONFIG
839PKG_CONFIG_PATH
840PKG_CONFIG_LIBDIR
841CHECK_CFLAGS
842CHECK_LIBS'
843
844
845# Initialize some variables set by options.
846ac_init_help=
847ac_init_version=false
848ac_unrecognized_opts=
849ac_unrecognized_sep=
850# The variables have the same names as the options, with
851# dashes changed to underlines.
852cache_file=/dev/null
853exec_prefix=NONE
854no_create=
855no_recursion=
856prefix=NONE
857program_prefix=NONE
858program_suffix=NONE
859program_transform_name=s,x,x,
860silent=
861site=
862srcdir=
863verbose=
864x_includes=NONE
865x_libraries=NONE
866
867# Installation directory options.
868# These are left unexpanded so users can "make install exec_prefix=/foo"
869# and all the variables that are supposed to be based on exec_prefix
870# by default will actually change.
871# Use braces instead of parens because sh, perl, etc. also accept them.
872# (The list follows the same order as the GNU Coding Standards.)
873bindir='${exec_prefix}/bin'
874sbindir='${exec_prefix}/sbin'
875libexecdir='${exec_prefix}/libexec'
876datarootdir='${prefix}/share'
877datadir='${datarootdir}'
878sysconfdir='${prefix}/etc'
879sharedstatedir='${prefix}/com'
880localstatedir='${prefix}/var'
881includedir='${prefix}/include'
882oldincludedir='/usr/include'
883docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
884infodir='${datarootdir}/info'
885htmldir='${docdir}'
886dvidir='${docdir}'
887pdfdir='${docdir}'
888psdir='${docdir}'
889libdir='${exec_prefix}/lib'
890localedir='${datarootdir}/locale'
891mandir='${datarootdir}/man'
892
893ac_prev=
894ac_dashdash=
895for ac_option
896do
897  # If the previous option needs an argument, assign it.
898  if test -n "$ac_prev"; then
899    eval $ac_prev=\$ac_option
900    ac_prev=
901    continue
902  fi
903
904  case $ac_option in
905  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906  *=)   ac_optarg= ;;
907  *)    ac_optarg=yes ;;
908  esac
909
910  # Accept the important Cygnus configure options, so we can diagnose typos.
911
912  case $ac_dashdash$ac_option in
913  --)
914    ac_dashdash=yes ;;
915
916  -bindir | --bindir | --bindi | --bind | --bin | --bi)
917    ac_prev=bindir ;;
918  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
919    bindir=$ac_optarg ;;
920
921  -build | --build | --buil | --bui | --bu)
922    ac_prev=build_alias ;;
923  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
924    build_alias=$ac_optarg ;;
925
926  -cache-file | --cache-file | --cache-fil | --cache-fi \
927  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
928    ac_prev=cache_file ;;
929  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
930  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
931    cache_file=$ac_optarg ;;
932
933  --config-cache | -C)
934    cache_file=config.cache ;;
935
936  -datadir | --datadir | --datadi | --datad)
937    ac_prev=datadir ;;
938  -datadir=* | --datadir=* | --datadi=* | --datad=*)
939    datadir=$ac_optarg ;;
940
941  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
942  | --dataroo | --dataro | --datar)
943    ac_prev=datarootdir ;;
944  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
945  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
946    datarootdir=$ac_optarg ;;
947
948  -disable-* | --disable-*)
949    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
950    # Reject names that are not valid shell variable names.
951    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
952      as_fn_error $? "invalid feature name: $ac_useropt"
953    ac_useropt_orig=$ac_useropt
954    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
955    case $ac_user_opts in
956      *"
957"enable_$ac_useropt"
958"*) ;;
959      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
960	 ac_unrecognized_sep=', ';;
961    esac
962    eval enable_$ac_useropt=no ;;
963
964  -docdir | --docdir | --docdi | --doc | --do)
965    ac_prev=docdir ;;
966  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
967    docdir=$ac_optarg ;;
968
969  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
970    ac_prev=dvidir ;;
971  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
972    dvidir=$ac_optarg ;;
973
974  -enable-* | --enable-*)
975    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
976    # Reject names that are not valid shell variable names.
977    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978      as_fn_error $? "invalid feature name: $ac_useropt"
979    ac_useropt_orig=$ac_useropt
980    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981    case $ac_user_opts in
982      *"
983"enable_$ac_useropt"
984"*) ;;
985      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
986	 ac_unrecognized_sep=', ';;
987    esac
988    eval enable_$ac_useropt=\$ac_optarg ;;
989
990  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
991  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
992  | --exec | --exe | --ex)
993    ac_prev=exec_prefix ;;
994  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
995  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
996  | --exec=* | --exe=* | --ex=*)
997    exec_prefix=$ac_optarg ;;
998
999  -gas | --gas | --ga | --g)
1000    # Obsolete; use --with-gas.
1001    with_gas=yes ;;
1002
1003  -help | --help | --hel | --he | -h)
1004    ac_init_help=long ;;
1005  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1006    ac_init_help=recursive ;;
1007  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1008    ac_init_help=short ;;
1009
1010  -host | --host | --hos | --ho)
1011    ac_prev=host_alias ;;
1012  -host=* | --host=* | --hos=* | --ho=*)
1013    host_alias=$ac_optarg ;;
1014
1015  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1016    ac_prev=htmldir ;;
1017  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1018  | --ht=*)
1019    htmldir=$ac_optarg ;;
1020
1021  -includedir | --includedir | --includedi | --included | --include \
1022  | --includ | --inclu | --incl | --inc)
1023    ac_prev=includedir ;;
1024  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1025  | --includ=* | --inclu=* | --incl=* | --inc=*)
1026    includedir=$ac_optarg ;;
1027
1028  -infodir | --infodir | --infodi | --infod | --info | --inf)
1029    ac_prev=infodir ;;
1030  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1031    infodir=$ac_optarg ;;
1032
1033  -libdir | --libdir | --libdi | --libd)
1034    ac_prev=libdir ;;
1035  -libdir=* | --libdir=* | --libdi=* | --libd=*)
1036    libdir=$ac_optarg ;;
1037
1038  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1039  | --libexe | --libex | --libe)
1040    ac_prev=libexecdir ;;
1041  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1042  | --libexe=* | --libex=* | --libe=*)
1043    libexecdir=$ac_optarg ;;
1044
1045  -localedir | --localedir | --localedi | --localed | --locale)
1046    ac_prev=localedir ;;
1047  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1048    localedir=$ac_optarg ;;
1049
1050  -localstatedir | --localstatedir | --localstatedi | --localstated \
1051  | --localstate | --localstat | --localsta | --localst | --locals)
1052    ac_prev=localstatedir ;;
1053  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1054  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1055    localstatedir=$ac_optarg ;;
1056
1057  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1058    ac_prev=mandir ;;
1059  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1060    mandir=$ac_optarg ;;
1061
1062  -nfp | --nfp | --nf)
1063    # Obsolete; use --without-fp.
1064    with_fp=no ;;
1065
1066  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1067  | --no-cr | --no-c | -n)
1068    no_create=yes ;;
1069
1070  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1071  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1072    no_recursion=yes ;;
1073
1074  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1075  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1076  | --oldin | --oldi | --old | --ol | --o)
1077    ac_prev=oldincludedir ;;
1078  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1079  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1080  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1081    oldincludedir=$ac_optarg ;;
1082
1083  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1084    ac_prev=prefix ;;
1085  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1086    prefix=$ac_optarg ;;
1087
1088  -program-prefix | --program-prefix | --program-prefi | --program-pref \
1089  | --program-pre | --program-pr | --program-p)
1090    ac_prev=program_prefix ;;
1091  -program-prefix=* | --program-prefix=* | --program-prefi=* \
1092  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1093    program_prefix=$ac_optarg ;;
1094
1095  -program-suffix | --program-suffix | --program-suffi | --program-suff \
1096  | --program-suf | --program-su | --program-s)
1097    ac_prev=program_suffix ;;
1098  -program-suffix=* | --program-suffix=* | --program-suffi=* \
1099  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1100    program_suffix=$ac_optarg ;;
1101
1102  -program-transform-name | --program-transform-name \
1103  | --program-transform-nam | --program-transform-na \
1104  | --program-transform-n | --program-transform- \
1105  | --program-transform | --program-transfor \
1106  | --program-transfo | --program-transf \
1107  | --program-trans | --program-tran \
1108  | --progr-tra | --program-tr | --program-t)
1109    ac_prev=program_transform_name ;;
1110  -program-transform-name=* | --program-transform-name=* \
1111  | --program-transform-nam=* | --program-transform-na=* \
1112  | --program-transform-n=* | --program-transform-=* \
1113  | --program-transform=* | --program-transfor=* \
1114  | --program-transfo=* | --program-transf=* \
1115  | --program-trans=* | --program-tran=* \
1116  | --progr-tra=* | --program-tr=* | --program-t=*)
1117    program_transform_name=$ac_optarg ;;
1118
1119  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1120    ac_prev=pdfdir ;;
1121  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1122    pdfdir=$ac_optarg ;;
1123
1124  -psdir | --psdir | --psdi | --psd | --ps)
1125    ac_prev=psdir ;;
1126  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1127    psdir=$ac_optarg ;;
1128
1129  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1130  | -silent | --silent | --silen | --sile | --sil)
1131    silent=yes ;;
1132
1133  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1134    ac_prev=sbindir ;;
1135  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1136  | --sbi=* | --sb=*)
1137    sbindir=$ac_optarg ;;
1138
1139  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1140  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1141  | --sharedst | --shareds | --shared | --share | --shar \
1142  | --sha | --sh)
1143    ac_prev=sharedstatedir ;;
1144  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1145  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1146  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1147  | --sha=* | --sh=*)
1148    sharedstatedir=$ac_optarg ;;
1149
1150  -site | --site | --sit)
1151    ac_prev=site ;;
1152  -site=* | --site=* | --sit=*)
1153    site=$ac_optarg ;;
1154
1155  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1156    ac_prev=srcdir ;;
1157  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1158    srcdir=$ac_optarg ;;
1159
1160  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1161  | --syscon | --sysco | --sysc | --sys | --sy)
1162    ac_prev=sysconfdir ;;
1163  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1164  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1165    sysconfdir=$ac_optarg ;;
1166
1167  -target | --target | --targe | --targ | --tar | --ta | --t)
1168    ac_prev=target_alias ;;
1169  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1170    target_alias=$ac_optarg ;;
1171
1172  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1173    verbose=yes ;;
1174
1175  -version | --version | --versio | --versi | --vers | -V)
1176    ac_init_version=: ;;
1177
1178  -with-* | --with-*)
1179    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1180    # Reject names that are not valid shell variable names.
1181    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1182      as_fn_error $? "invalid package name: $ac_useropt"
1183    ac_useropt_orig=$ac_useropt
1184    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1185    case $ac_user_opts in
1186      *"
1187"with_$ac_useropt"
1188"*) ;;
1189      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1190	 ac_unrecognized_sep=', ';;
1191    esac
1192    eval with_$ac_useropt=\$ac_optarg ;;
1193
1194  -without-* | --without-*)
1195    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1196    # Reject names that are not valid shell variable names.
1197    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1198      as_fn_error $? "invalid package name: $ac_useropt"
1199    ac_useropt_orig=$ac_useropt
1200    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1201    case $ac_user_opts in
1202      *"
1203"with_$ac_useropt"
1204"*) ;;
1205      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1206	 ac_unrecognized_sep=', ';;
1207    esac
1208    eval with_$ac_useropt=no ;;
1209
1210  --x)
1211    # Obsolete; use --with-x.
1212    with_x=yes ;;
1213
1214  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1215  | --x-incl | --x-inc | --x-in | --x-i)
1216    ac_prev=x_includes ;;
1217  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1218  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1219    x_includes=$ac_optarg ;;
1220
1221  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1222  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1223    ac_prev=x_libraries ;;
1224  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1225  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1226    x_libraries=$ac_optarg ;;
1227
1228  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1229Try \`$0 --help' for more information"
1230    ;;
1231
1232  *=*)
1233    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1234    # Reject names that are not valid shell variable names.
1235    case $ac_envvar in #(
1236      '' | [0-9]* | *[!_$as_cr_alnum]* )
1237      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1238    esac
1239    eval $ac_envvar=\$ac_optarg
1240    export $ac_envvar ;;
1241
1242  *)
1243    # FIXME: should be removed in autoconf 3.0.
1244    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1245    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1246      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1247    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1248    ;;
1249
1250  esac
1251done
1252
1253if test -n "$ac_prev"; then
1254  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1255  as_fn_error $? "missing argument to $ac_option"
1256fi
1257
1258if test -n "$ac_unrecognized_opts"; then
1259  case $enable_option_checking in
1260    no) ;;
1261    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1262    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263  esac
1264fi
1265
1266# Check all directory arguments for consistency.
1267for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1268		datadir sysconfdir sharedstatedir localstatedir includedir \
1269		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1270		libdir localedir mandir
1271do
1272  eval ac_val=\$$ac_var
1273  # Remove trailing slashes.
1274  case $ac_val in
1275    */ )
1276      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1277      eval $ac_var=\$ac_val;;
1278  esac
1279  # Be sure to have absolute directory names.
1280  case $ac_val in
1281    [\\/$]* | ?:[\\/]* )  continue;;
1282    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1283  esac
1284  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1285done
1286
1287# There might be people who depend on the old broken behavior: `$host'
1288# used to hold the argument of --host etc.
1289# FIXME: To remove some day.
1290build=$build_alias
1291host=$host_alias
1292target=$target_alias
1293
1294# FIXME: To remove some day.
1295if test "x$host_alias" != x; then
1296  if test "x$build_alias" = x; then
1297    cross_compiling=maybe
1298  elif test "x$build_alias" != "x$host_alias"; then
1299    cross_compiling=yes
1300  fi
1301fi
1302
1303ac_tool_prefix=
1304test -n "$host_alias" && ac_tool_prefix=$host_alias-
1305
1306test "$silent" = yes && exec 6>/dev/null
1307
1308
1309ac_pwd=`pwd` && test -n "$ac_pwd" &&
1310ac_ls_di=`ls -di .` &&
1311ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1312  as_fn_error $? "working directory cannot be determined"
1313test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314  as_fn_error $? "pwd does not report name of working directory"
1315
1316
1317# Find the source files, if location was not specified.
1318if test -z "$srcdir"; then
1319  ac_srcdir_defaulted=yes
1320  # Try the directory containing this script, then the parent directory.
1321  ac_confdir=`$as_dirname -- "$as_myself" ||
1322$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323	 X"$as_myself" : 'X\(//\)[^/]' \| \
1324	 X"$as_myself" : 'X\(//\)$' \| \
1325	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326$as_echo X"$as_myself" |
1327    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1328	    s//\1/
1329	    q
1330	  }
1331	  /^X\(\/\/\)[^/].*/{
1332	    s//\1/
1333	    q
1334	  }
1335	  /^X\(\/\/\)$/{
1336	    s//\1/
1337	    q
1338	  }
1339	  /^X\(\/\).*/{
1340	    s//\1/
1341	    q
1342	  }
1343	  s/.*/./; q'`
1344  srcdir=$ac_confdir
1345  if test ! -r "$srcdir/$ac_unique_file"; then
1346    srcdir=..
1347  fi
1348else
1349  ac_srcdir_defaulted=no
1350fi
1351if test ! -r "$srcdir/$ac_unique_file"; then
1352  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1353  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1354fi
1355ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1356ac_abs_confdir=`(
1357	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358	pwd)`
1359# When building in place, set srcdir=.
1360if test "$ac_abs_confdir" = "$ac_pwd"; then
1361  srcdir=.
1362fi
1363# Remove unnecessary trailing slashes from srcdir.
1364# Double slashes in file names in object file debugging info
1365# mess up M-x gdb in Emacs.
1366case $srcdir in
1367*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368esac
1369for ac_var in $ac_precious_vars; do
1370  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1371  eval ac_env_${ac_var}_value=\$${ac_var}
1372  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1373  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1374done
1375
1376#
1377# Report the --help message.
1378#
1379if test "$ac_init_help" = "long"; then
1380  # Omit some internal or obsolete options to make the list less imposing.
1381  # This message is too long to be a string in the A/UX 3.1 sh.
1382  cat <<_ACEOF
1383\`configure' configures cjose 0.6.1 to adapt to many kinds of systems.
1384
1385Usage: $0 [OPTION]... [VAR=VALUE]...
1386
1387To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388VAR=VALUE.  See below for descriptions of some of the useful variables.
1389
1390Defaults for the options are specified in brackets.
1391
1392Configuration:
1393  -h, --help              display this help and exit
1394      --help=short        display options specific to this package
1395      --help=recursive    display the short help of all the included packages
1396  -V, --version           display version information and exit
1397  -q, --quiet, --silent   do not print \`checking ...' messages
1398      --cache-file=FILE   cache test results in FILE [disabled]
1399  -C, --config-cache      alias for \`--cache-file=config.cache'
1400  -n, --no-create         do not create output files
1401      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1402
1403Installation directories:
1404  --prefix=PREFIX         install architecture-independent files in PREFIX
1405                          [$ac_default_prefix]
1406  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1407                          [PREFIX]
1408
1409By default, \`make install' will install all the files in
1410\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1411an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412for instance \`--prefix=\$HOME'.
1413
1414For better control, use the options below.
1415
1416Fine tuning of the installation directories:
1417  --bindir=DIR            user executables [EPREFIX/bin]
1418  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1419  --libexecdir=DIR        program executables [EPREFIX/libexec]
1420  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1421  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1422  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1423  --libdir=DIR            object code libraries [EPREFIX/lib]
1424  --includedir=DIR        C header files [PREFIX/include]
1425  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1426  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1427  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1428  --infodir=DIR           info documentation [DATAROOTDIR/info]
1429  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1430  --mandir=DIR            man documentation [DATAROOTDIR/man]
1431  --docdir=DIR            documentation root [DATAROOTDIR/doc/cjose]
1432  --htmldir=DIR           html documentation [DOCDIR]
1433  --dvidir=DIR            dvi documentation [DOCDIR]
1434  --pdfdir=DIR            pdf documentation [DOCDIR]
1435  --psdir=DIR             ps documentation [DOCDIR]
1436_ACEOF
1437
1438  cat <<\_ACEOF
1439
1440Program names:
1441  --program-prefix=PREFIX            prepend PREFIX to installed program names
1442  --program-suffix=SUFFIX            append SUFFIX to installed program names
1443  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1444
1445System types:
1446  --build=BUILD     configure for building on BUILD [guessed]
1447  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1448_ACEOF
1449fi
1450
1451if test -n "$ac_init_help"; then
1452  case $ac_init_help in
1453     short | recursive ) echo "Configuration of cjose 0.6.1:";;
1454   esac
1455  cat <<\_ACEOF
1456
1457Optional Features:
1458  --disable-option-checking  ignore unrecognized --enable/--with options
1459  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1460  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1461  --enable-silent-rules   less verbose build output (undo: "make V=1")
1462  --disable-silent-rules  verbose build output (undo: "make V=0")
1463  --enable-shared[=PKGS]  build shared libraries [default=yes]
1464  --enable-static[=PKGS]  build static libraries [default=yes]
1465  --enable-fast-install[=PKGS]
1466                          optimize for fast installation [default=yes]
1467  --enable-dependency-tracking
1468                          do not reject slow dependency extractors
1469  --disable-dependency-tracking
1470                          speeds up one-time build
1471  --disable-libtool-lock  avoid locking (might break parallel builds)
1472  --disable-doxygen-doc   don't generate any doxygen documentation
1473  --enable-doxygen-dot    generate graphics for doxygen documentation
1474  --enable-doxygen-man    generate doxygen manual pages
1475  --enable-doxygen-rtf    generate doxygen RTF documentation
1476  --enable-doxygen-xml    generate doxygen XML documentation
1477  --enable-doxygen-chm    generate doxygen compressed HTML help documentation
1478  --enable-doxygen-chi    generate doxygen seperate compressed HTML help index
1479                          file
1480  --disable-doxygen-html  don't generate doxygen plain HTML documentation
1481  --disable-doxygen-ps    don't generate doxygen PostScript documentation
1482  --disable-doxygen-pdf   don't generate doxygen PDF documentation
1483
1484Optional Packages:
1485  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1486  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1487  --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
1488                          both]
1489  --with-aix-soname=aix|svr4|both
1490                          shared library versioning (aka "SONAME") variant to
1491                          provide on AIX, [default=aix].
1492  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1493  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
1494                          compiler's sysroot if not specified).
1495  --with-openssl          Location where OpenSSL can be found
1496  --with-jansson          Location where Jansson can be found
1497
1498Some influential environment variables:
1499  CC          C compiler command
1500  CFLAGS      C compiler flags
1501  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1502              nonstandard directory <lib dir>
1503  LIBS        libraries to pass to the linker, e.g. -l<library>
1504  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1505              you have headers in a nonstandard directory <include dir>
1506  LT_SYS_LIBRARY_PATH
1507              User-defined run-time library search path.
1508  CPP         C preprocessor
1509  DOXYGEN_PAPER_SIZE
1510              a4wide (default), a4, letter, legal or executive
1511  PKG_CONFIG  path to pkg-config utility
1512  PKG_CONFIG_PATH
1513              directories to add to pkg-config's search path
1514  PKG_CONFIG_LIBDIR
1515              path overriding pkg-config's built-in search path
1516  CHECK_CFLAGS
1517              C compiler flags for CHECK, overriding pkg-config
1518  CHECK_LIBS  linker flags for CHECK, overriding pkg-config
1519
1520Use these variables to override the choices made by `configure' or to help
1521it to find libraries and programs with nonstandard names/locations.
1522
1523Report bugs to the package provider.
1524_ACEOF
1525ac_status=$?
1526fi
1527
1528if test "$ac_init_help" = "recursive"; then
1529  # If there are subdirs, report their specific --help.
1530  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1531    test -d "$ac_dir" ||
1532      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1533      continue
1534    ac_builddir=.
1535
1536case "$ac_dir" in
1537.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1538*)
1539  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1540  # A ".." for each directory in $ac_dir_suffix.
1541  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1542  case $ac_top_builddir_sub in
1543  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1545  esac ;;
1546esac
1547ac_abs_top_builddir=$ac_pwd
1548ac_abs_builddir=$ac_pwd$ac_dir_suffix
1549# for backward compatibility:
1550ac_top_builddir=$ac_top_build_prefix
1551
1552case $srcdir in
1553  .)  # We are building in place.
1554    ac_srcdir=.
1555    ac_top_srcdir=$ac_top_builddir_sub
1556    ac_abs_top_srcdir=$ac_pwd ;;
1557  [\\/]* | ?:[\\/]* )  # Absolute name.
1558    ac_srcdir=$srcdir$ac_dir_suffix;
1559    ac_top_srcdir=$srcdir
1560    ac_abs_top_srcdir=$srcdir ;;
1561  *) # Relative name.
1562    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563    ac_top_srcdir=$ac_top_build_prefix$srcdir
1564    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1565esac
1566ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1567
1568    cd "$ac_dir" || { ac_status=$?; continue; }
1569    # Check for guested configure.
1570    if test -f "$ac_srcdir/configure.gnu"; then
1571      echo &&
1572      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573    elif test -f "$ac_srcdir/configure"; then
1574      echo &&
1575      $SHELL "$ac_srcdir/configure" --help=recursive
1576    else
1577      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1578    fi || ac_status=$?
1579    cd "$ac_pwd" || { ac_status=$?; break; }
1580  done
1581fi
1582
1583test -n "$ac_init_help" && exit $ac_status
1584if $ac_init_version; then
1585  cat <<\_ACEOF
1586cjose configure 0.6.1
1587generated by GNU Autoconf 2.69
1588
1589Copyright (C) 2012 Free Software Foundation, Inc.
1590This configure script is free software; the Free Software Foundation
1591gives unlimited permission to copy, distribute and modify it.
1592_ACEOF
1593  exit
1594fi
1595
1596## ------------------------ ##
1597## Autoconf initialization. ##
1598## ------------------------ ##
1599
1600# ac_fn_c_try_compile LINENO
1601# --------------------------
1602# Try to compile conftest.$ac_ext, and return whether this succeeded.
1603ac_fn_c_try_compile ()
1604{
1605  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606  rm -f conftest.$ac_objext
1607  if { { ac_try="$ac_compile"
1608case "(($ac_try" in
1609  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1610  *) ac_try_echo=$ac_try;;
1611esac
1612eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613$as_echo "$ac_try_echo"; } >&5
1614  (eval "$ac_compile") 2>conftest.err
1615  ac_status=$?
1616  if test -s conftest.err; then
1617    grep -v '^ *+' conftest.err >conftest.er1
1618    cat conftest.er1 >&5
1619    mv -f conftest.er1 conftest.err
1620  fi
1621  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622  test $ac_status = 0; } && {
1623	 test -z "$ac_c_werror_flag" ||
1624	 test ! -s conftest.err
1625       } && test -s conftest.$ac_objext; then :
1626  ac_retval=0
1627else
1628  $as_echo "$as_me: failed program was:" >&5
1629sed 's/^/| /' conftest.$ac_ext >&5
1630
1631	ac_retval=1
1632fi
1633  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1634  as_fn_set_status $ac_retval
1635
1636} # ac_fn_c_try_compile
1637
1638# ac_fn_c_try_link LINENO
1639# -----------------------
1640# Try to link conftest.$ac_ext, and return whether this succeeded.
1641ac_fn_c_try_link ()
1642{
1643  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644  rm -f conftest.$ac_objext conftest$ac_exeext
1645  if { { ac_try="$ac_link"
1646case "(($ac_try" in
1647  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648  *) ac_try_echo=$ac_try;;
1649esac
1650eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651$as_echo "$ac_try_echo"; } >&5
1652  (eval "$ac_link") 2>conftest.err
1653  ac_status=$?
1654  if test -s conftest.err; then
1655    grep -v '^ *+' conftest.err >conftest.er1
1656    cat conftest.er1 >&5
1657    mv -f conftest.er1 conftest.err
1658  fi
1659  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660  test $ac_status = 0; } && {
1661	 test -z "$ac_c_werror_flag" ||
1662	 test ! -s conftest.err
1663       } && test -s conftest$ac_exeext && {
1664	 test "$cross_compiling" = yes ||
1665	 test -x conftest$ac_exeext
1666       }; then :
1667  ac_retval=0
1668else
1669  $as_echo "$as_me: failed program was:" >&5
1670sed 's/^/| /' conftest.$ac_ext >&5
1671
1672	ac_retval=1
1673fi
1674  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1675  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1676  # interfere with the next link command; also delete a directory that is
1677  # left behind by Apple's compiler.  We do this before executing the actions.
1678  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1679  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1680  as_fn_set_status $ac_retval
1681
1682} # ac_fn_c_try_link
1683
1684# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1685# -------------------------------------------------------
1686# Tests whether HEADER exists and can be compiled using the include files in
1687# INCLUDES, setting the cache variable VAR accordingly.
1688ac_fn_c_check_header_compile ()
1689{
1690  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1691  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1692$as_echo_n "checking for $2... " >&6; }
1693if eval \${$3+:} false; then :
1694  $as_echo_n "(cached) " >&6
1695else
1696  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697/* end confdefs.h.  */
1698$4
1699#include <$2>
1700_ACEOF
1701if ac_fn_c_try_compile "$LINENO"; then :
1702  eval "$3=yes"
1703else
1704  eval "$3=no"
1705fi
1706rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707fi
1708eval ac_res=\$$3
1709	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1710$as_echo "$ac_res" >&6; }
1711  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1712
1713} # ac_fn_c_check_header_compile
1714
1715# ac_fn_c_try_cpp LINENO
1716# ----------------------
1717# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1718ac_fn_c_try_cpp ()
1719{
1720  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721  if { { ac_try="$ac_cpp conftest.$ac_ext"
1722case "(($ac_try" in
1723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724  *) ac_try_echo=$ac_try;;
1725esac
1726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727$as_echo "$ac_try_echo"; } >&5
1728  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1729  ac_status=$?
1730  if test -s conftest.err; then
1731    grep -v '^ *+' conftest.err >conftest.er1
1732    cat conftest.er1 >&5
1733    mv -f conftest.er1 conftest.err
1734  fi
1735  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736  test $ac_status = 0; } > conftest.i && {
1737	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1738	 test ! -s conftest.err
1739       }; then :
1740  ac_retval=0
1741else
1742  $as_echo "$as_me: failed program was:" >&5
1743sed 's/^/| /' conftest.$ac_ext >&5
1744
1745    ac_retval=1
1746fi
1747  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748  as_fn_set_status $ac_retval
1749
1750} # ac_fn_c_try_cpp
1751
1752# ac_fn_c_try_run LINENO
1753# ----------------------
1754# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1755# that executables *can* be run.
1756ac_fn_c_try_run ()
1757{
1758  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759  if { { ac_try="$ac_link"
1760case "(($ac_try" in
1761  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762  *) ac_try_echo=$ac_try;;
1763esac
1764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765$as_echo "$ac_try_echo"; } >&5
1766  (eval "$ac_link") 2>&5
1767  ac_status=$?
1768  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1770  { { case "(($ac_try" in
1771  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1772  *) ac_try_echo=$ac_try;;
1773esac
1774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775$as_echo "$ac_try_echo"; } >&5
1776  (eval "$ac_try") 2>&5
1777  ac_status=$?
1778  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779  test $ac_status = 0; }; }; then :
1780  ac_retval=0
1781else
1782  $as_echo "$as_me: program exited with status $ac_status" >&5
1783       $as_echo "$as_me: failed program was:" >&5
1784sed 's/^/| /' conftest.$ac_ext >&5
1785
1786       ac_retval=$ac_status
1787fi
1788  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1789  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1790  as_fn_set_status $ac_retval
1791
1792} # ac_fn_c_try_run
1793
1794# ac_fn_c_check_func LINENO FUNC VAR
1795# ----------------------------------
1796# Tests whether FUNC exists, setting the cache variable VAR accordingly
1797ac_fn_c_check_func ()
1798{
1799  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1800  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801$as_echo_n "checking for $2... " >&6; }
1802if eval \${$3+:} false; then :
1803  $as_echo_n "(cached) " >&6
1804else
1805  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1806/* end confdefs.h.  */
1807/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1808   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1809#define $2 innocuous_$2
1810
1811/* System header to define __stub macros and hopefully few prototypes,
1812    which can conflict with char $2 (); below.
1813    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1814    <limits.h> exists even on freestanding compilers.  */
1815
1816#ifdef __STDC__
1817# include <limits.h>
1818#else
1819# include <assert.h>
1820#endif
1821
1822#undef $2
1823
1824/* Override any GCC internal prototype to avoid an error.
1825   Use char because int might match the return type of a GCC
1826   builtin and then its argument prototype would still apply.  */
1827#ifdef __cplusplus
1828extern "C"
1829#endif
1830char $2 ();
1831/* The GNU C library defines this for functions which it implements
1832    to always fail with ENOSYS.  Some functions are actually named
1833    something starting with __ and the normal name is an alias.  */
1834#if defined __stub_$2 || defined __stub___$2
1835choke me
1836#endif
1837
1838int
1839main ()
1840{
1841return $2 ();
1842  ;
1843  return 0;
1844}
1845_ACEOF
1846if ac_fn_c_try_link "$LINENO"; then :
1847  eval "$3=yes"
1848else
1849  eval "$3=no"
1850fi
1851rm -f core conftest.err conftest.$ac_objext \
1852    conftest$ac_exeext conftest.$ac_ext
1853fi
1854eval ac_res=\$$3
1855	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1856$as_echo "$ac_res" >&6; }
1857  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858
1859} # ac_fn_c_check_func
1860
1861# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1862# -------------------------------------------------------
1863# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1864# the include files in INCLUDES and setting the cache variable VAR
1865# accordingly.
1866ac_fn_c_check_header_mongrel ()
1867{
1868  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869  if eval \${$3+:} false; then :
1870  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871$as_echo_n "checking for $2... " >&6; }
1872if eval \${$3+:} false; then :
1873  $as_echo_n "(cached) " >&6
1874fi
1875eval ac_res=\$$3
1876	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877$as_echo "$ac_res" >&6; }
1878else
1879  # Is the header compilable?
1880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1881$as_echo_n "checking $2 usability... " >&6; }
1882cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1883/* end confdefs.h.  */
1884$4
1885#include <$2>
1886_ACEOF
1887if ac_fn_c_try_compile "$LINENO"; then :
1888  ac_header_compiler=yes
1889else
1890  ac_header_compiler=no
1891fi
1892rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1894$as_echo "$ac_header_compiler" >&6; }
1895
1896# Is the header present?
1897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1898$as_echo_n "checking $2 presence... " >&6; }
1899cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1900/* end confdefs.h.  */
1901#include <$2>
1902_ACEOF
1903if ac_fn_c_try_cpp "$LINENO"; then :
1904  ac_header_preproc=yes
1905else
1906  ac_header_preproc=no
1907fi
1908rm -f conftest.err conftest.i conftest.$ac_ext
1909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1910$as_echo "$ac_header_preproc" >&6; }
1911
1912# So?  What about this header?
1913case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1914  yes:no: )
1915    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1916$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1917    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1918$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1919    ;;
1920  no:yes:* )
1921    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1922$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1923    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1924$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1925    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1926$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1927    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1928$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1929    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1930$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1931    ;;
1932esac
1933  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934$as_echo_n "checking for $2... " >&6; }
1935if eval \${$3+:} false; then :
1936  $as_echo_n "(cached) " >&6
1937else
1938  eval "$3=\$ac_header_compiler"
1939fi
1940eval ac_res=\$$3
1941	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1942$as_echo "$ac_res" >&6; }
1943fi
1944  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1945
1946} # ac_fn_c_check_header_mongrel
1947cat >config.log <<_ACEOF
1948This file contains any messages produced by compilers while
1949running configure, to aid debugging if configure makes a mistake.
1950
1951It was created by cjose $as_me 0.6.1, which was
1952generated by GNU Autoconf 2.69.  Invocation command line was
1953
1954  $ $0 $@
1955
1956_ACEOF
1957exec 5>>config.log
1958{
1959cat <<_ASUNAME
1960## --------- ##
1961## Platform. ##
1962## --------- ##
1963
1964hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1965uname -m = `(uname -m) 2>/dev/null || echo unknown`
1966uname -r = `(uname -r) 2>/dev/null || echo unknown`
1967uname -s = `(uname -s) 2>/dev/null || echo unknown`
1968uname -v = `(uname -v) 2>/dev/null || echo unknown`
1969
1970/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1971/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1972
1973/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1974/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1975/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1976/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1977/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1978/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1979/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1980
1981_ASUNAME
1982
1983as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1984for as_dir in $PATH
1985do
1986  IFS=$as_save_IFS
1987  test -z "$as_dir" && as_dir=.
1988    $as_echo "PATH: $as_dir"
1989  done
1990IFS=$as_save_IFS
1991
1992} >&5
1993
1994cat >&5 <<_ACEOF
1995
1996
1997## ----------- ##
1998## Core tests. ##
1999## ----------- ##
2000
2001_ACEOF
2002
2003
2004# Keep a trace of the command line.
2005# Strip out --no-create and --no-recursion so they do not pile up.
2006# Strip out --silent because we don't want to record it for future runs.
2007# Also quote any args containing shell meta-characters.
2008# Make two passes to allow for proper duplicate-argument suppression.
2009ac_configure_args=
2010ac_configure_args0=
2011ac_configure_args1=
2012ac_must_keep_next=false
2013for ac_pass in 1 2
2014do
2015  for ac_arg
2016  do
2017    case $ac_arg in
2018    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2019    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2020    | -silent | --silent | --silen | --sile | --sil)
2021      continue ;;
2022    *\'*)
2023      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2024    esac
2025    case $ac_pass in
2026    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2027    2)
2028      as_fn_append ac_configure_args1 " '$ac_arg'"
2029      if test $ac_must_keep_next = true; then
2030	ac_must_keep_next=false # Got value, back to normal.
2031      else
2032	case $ac_arg in
2033	  *=* | --config-cache | -C | -disable-* | --disable-* \
2034	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2035	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2036	  | -with-* | --with-* | -without-* | --without-* | --x)
2037	    case "$ac_configure_args0 " in
2038	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2039	    esac
2040	    ;;
2041	  -* ) ac_must_keep_next=true ;;
2042	esac
2043      fi
2044      as_fn_append ac_configure_args " '$ac_arg'"
2045      ;;
2046    esac
2047  done
2048done
2049{ ac_configure_args0=; unset ac_configure_args0;}
2050{ ac_configure_args1=; unset ac_configure_args1;}
2051
2052# When interrupted or exit'd, cleanup temporary files, and complete
2053# config.log.  We remove comments because anyway the quotes in there
2054# would cause problems or look ugly.
2055# WARNING: Use '\'' to represent an apostrophe within the trap.
2056# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2057trap 'exit_status=$?
2058  # Save into config.log some information that might help in debugging.
2059  {
2060    echo
2061
2062    $as_echo "## ---------------- ##
2063## Cache variables. ##
2064## ---------------- ##"
2065    echo
2066    # The following way of writing the cache mishandles newlines in values,
2067(
2068  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2069    eval ac_val=\$$ac_var
2070    case $ac_val in #(
2071    *${as_nl}*)
2072      case $ac_var in #(
2073      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2074$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2075      esac
2076      case $ac_var in #(
2077      _ | IFS | as_nl) ;; #(
2078      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2079      *) { eval $ac_var=; unset $ac_var;} ;;
2080      esac ;;
2081    esac
2082  done
2083  (set) 2>&1 |
2084    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2085    *${as_nl}ac_space=\ *)
2086      sed -n \
2087	"s/'\''/'\''\\\\'\'''\''/g;
2088	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2089      ;; #(
2090    *)
2091      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2092      ;;
2093    esac |
2094    sort
2095)
2096    echo
2097
2098    $as_echo "## ----------------- ##
2099## Output variables. ##
2100## ----------------- ##"
2101    echo
2102    for ac_var in $ac_subst_vars
2103    do
2104      eval ac_val=\$$ac_var
2105      case $ac_val in
2106      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107      esac
2108      $as_echo "$ac_var='\''$ac_val'\''"
2109    done | sort
2110    echo
2111
2112    if test -n "$ac_subst_files"; then
2113      $as_echo "## ------------------- ##
2114## File substitutions. ##
2115## ------------------- ##"
2116      echo
2117      for ac_var in $ac_subst_files
2118      do
2119	eval ac_val=\$$ac_var
2120	case $ac_val in
2121	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2122	esac
2123	$as_echo "$ac_var='\''$ac_val'\''"
2124      done | sort
2125      echo
2126    fi
2127
2128    if test -s confdefs.h; then
2129      $as_echo "## ----------- ##
2130## confdefs.h. ##
2131## ----------- ##"
2132      echo
2133      cat confdefs.h
2134      echo
2135    fi
2136    test "$ac_signal" != 0 &&
2137      $as_echo "$as_me: caught signal $ac_signal"
2138    $as_echo "$as_me: exit $exit_status"
2139  } >&5
2140  rm -f core *.core core.conftest.* &&
2141    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2142    exit $exit_status
2143' 0
2144for ac_signal in 1 2 13 15; do
2145  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2146done
2147ac_signal=0
2148
2149# confdefs.h avoids OS command line length limits that DEFS can exceed.
2150rm -f -r conftest* confdefs.h
2151
2152$as_echo "/* confdefs.h */" > confdefs.h
2153
2154# Predefined preprocessor variables.
2155
2156cat >>confdefs.h <<_ACEOF
2157#define PACKAGE_NAME "$PACKAGE_NAME"
2158_ACEOF
2159
2160cat >>confdefs.h <<_ACEOF
2161#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2162_ACEOF
2163
2164cat >>confdefs.h <<_ACEOF
2165#define PACKAGE_VERSION "$PACKAGE_VERSION"
2166_ACEOF
2167
2168cat >>confdefs.h <<_ACEOF
2169#define PACKAGE_STRING "$PACKAGE_STRING"
2170_ACEOF
2171
2172cat >>confdefs.h <<_ACEOF
2173#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2174_ACEOF
2175
2176cat >>confdefs.h <<_ACEOF
2177#define PACKAGE_URL "$PACKAGE_URL"
2178_ACEOF
2179
2180
2181# Let the site file select an alternate cache file if it wants to.
2182# Prefer an explicitly selected file to automatically selected ones.
2183ac_site_file1=NONE
2184ac_site_file2=NONE
2185if test -n "$CONFIG_SITE"; then
2186  # We do not want a PATH search for config.site.
2187  case $CONFIG_SITE in #((
2188    -*)  ac_site_file1=./$CONFIG_SITE;;
2189    */*) ac_site_file1=$CONFIG_SITE;;
2190    *)   ac_site_file1=./$CONFIG_SITE;;
2191  esac
2192elif test "x$prefix" != xNONE; then
2193  ac_site_file1=$prefix/share/config.site
2194  ac_site_file2=$prefix/etc/config.site
2195else
2196  ac_site_file1=$ac_default_prefix/share/config.site
2197  ac_site_file2=$ac_default_prefix/etc/config.site
2198fi
2199for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2200do
2201  test "x$ac_site_file" = xNONE && continue
2202  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2203    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2204$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2205    sed 's/^/| /' "$ac_site_file" >&5
2206    . "$ac_site_file" \
2207      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2209as_fn_error $? "failed to load site script $ac_site_file
2210See \`config.log' for more details" "$LINENO" 5; }
2211  fi
2212done
2213
2214if test -r "$cache_file"; then
2215  # Some versions of bash will fail to source /dev/null (special files
2216  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
2217  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2218    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2219$as_echo "$as_me: loading cache $cache_file" >&6;}
2220    case $cache_file in
2221      [\\/]* | ?:[\\/]* ) . "$cache_file";;
2222      *)                      . "./$cache_file";;
2223    esac
2224  fi
2225else
2226  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2227$as_echo "$as_me: creating cache $cache_file" >&6;}
2228  >$cache_file
2229fi
2230
2231# Check that the precious variables saved in the cache have kept the same
2232# value.
2233ac_cache_corrupted=false
2234for ac_var in $ac_precious_vars; do
2235  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2236  eval ac_new_set=\$ac_env_${ac_var}_set
2237  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2238  eval ac_new_val=\$ac_env_${ac_var}_value
2239  case $ac_old_set,$ac_new_set in
2240    set,)
2241      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2242$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2243      ac_cache_corrupted=: ;;
2244    ,set)
2245      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2246$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2247      ac_cache_corrupted=: ;;
2248    ,);;
2249    *)
2250      if test "x$ac_old_val" != "x$ac_new_val"; then
2251	# differences in whitespace do not lead to failure.
2252	ac_old_val_w=`echo x $ac_old_val`
2253	ac_new_val_w=`echo x $ac_new_val`
2254	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2255	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2256$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2257	  ac_cache_corrupted=:
2258	else
2259	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2260$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2261	  eval $ac_var=\$ac_old_val
2262	fi
2263	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2264$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2265	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2266$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2267      fi;;
2268  esac
2269  # Pass precious variables to config.status.
2270  if test "$ac_new_set" = set; then
2271    case $ac_new_val in
2272    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2273    *) ac_arg=$ac_var=$ac_new_val ;;
2274    esac
2275    case " $ac_configure_args " in
2276      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2277      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2278    esac
2279  fi
2280done
2281if $ac_cache_corrupted; then
2282  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2284  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2285$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2286  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2287fi
2288## -------------------- ##
2289## Main body of script. ##
2290## -------------------- ##
2291
2292ac_ext=c
2293ac_cpp='$CPP $CPPFLAGS'
2294ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2295ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2296ac_compiler_gnu=$ac_cv_c_compiler_gnu
2297
2298
2299am__api_version='1.16'
2300
2301ac_aux_dir=
2302for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2303  if test -f "$ac_dir/install-sh"; then
2304    ac_aux_dir=$ac_dir
2305    ac_install_sh="$ac_aux_dir/install-sh -c"
2306    break
2307  elif test -f "$ac_dir/install.sh"; then
2308    ac_aux_dir=$ac_dir
2309    ac_install_sh="$ac_aux_dir/install.sh -c"
2310    break
2311  elif test -f "$ac_dir/shtool"; then
2312    ac_aux_dir=$ac_dir
2313    ac_install_sh="$ac_aux_dir/shtool install -c"
2314    break
2315  fi
2316done
2317if test -z "$ac_aux_dir"; then
2318  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2319fi
2320
2321# These three variables are undocumented and unsupported,
2322# and are intended to be withdrawn in a future Autoconf release.
2323# They can cause serious problems if a builder's source tree is in a directory
2324# whose full name contains unusual characters.
2325ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2326ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2327ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2328
2329
2330# Find a good install program.  We prefer a C program (faster),
2331# so one script is as good as another.  But avoid the broken or
2332# incompatible versions:
2333# SysV /etc/install, /usr/sbin/install
2334# SunOS /usr/etc/install
2335# IRIX /sbin/install
2336# AIX /bin/install
2337# AmigaOS /C/install, which installs bootblocks on floppy discs
2338# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2339# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2340# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2341# OS/2's system install, which has a completely different semantic
2342# ./install, which can be erroneously created by make from ./install.sh.
2343# Reject install programs that cannot install multiple files.
2344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2345$as_echo_n "checking for a BSD-compatible install... " >&6; }
2346if test -z "$INSTALL"; then
2347if ${ac_cv_path_install+:} false; then :
2348  $as_echo_n "(cached) " >&6
2349else
2350  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2351for as_dir in $PATH
2352do
2353  IFS=$as_save_IFS
2354  test -z "$as_dir" && as_dir=.
2355    # Account for people who put trailing slashes in PATH elements.
2356case $as_dir/ in #((
2357  ./ | .// | /[cC]/* | \
2358  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2359  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2360  /usr/ucb/* ) ;;
2361  *)
2362    # OSF1 and SCO ODT 3.0 have their own names for install.
2363    # Don't use installbsd from OSF since it installs stuff as root
2364    # by default.
2365    for ac_prog in ginstall scoinst install; do
2366      for ac_exec_ext in '' $ac_executable_extensions; do
2367	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2368	  if test $ac_prog = install &&
2369	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2370	    # AIX install.  It has an incompatible calling convention.
2371	    :
2372	  elif test $ac_prog = install &&
2373	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2374	    # program-specific install script used by HP pwplus--don't use.
2375	    :
2376	  else
2377	    rm -rf conftest.one conftest.two conftest.dir
2378	    echo one > conftest.one
2379	    echo two > conftest.two
2380	    mkdir conftest.dir
2381	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2382	      test -s conftest.one && test -s conftest.two &&
2383	      test -s conftest.dir/conftest.one &&
2384	      test -s conftest.dir/conftest.two
2385	    then
2386	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2387	      break 3
2388	    fi
2389	  fi
2390	fi
2391      done
2392    done
2393    ;;
2394esac
2395
2396  done
2397IFS=$as_save_IFS
2398
2399rm -rf conftest.one conftest.two conftest.dir
2400
2401fi
2402  if test "${ac_cv_path_install+set}" = set; then
2403    INSTALL=$ac_cv_path_install
2404  else
2405    # As a last resort, use the slow shell script.  Don't cache a
2406    # value for INSTALL within a source directory, because that will
2407    # break other packages using the cache if that directory is
2408    # removed, or if the value is a relative name.
2409    INSTALL=$ac_install_sh
2410  fi
2411fi
2412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2413$as_echo "$INSTALL" >&6; }
2414
2415# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2416# It thinks the first close brace ends the variable substitution.
2417test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2418
2419test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2420
2421test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2422
2423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2424$as_echo_n "checking whether build environment is sane... " >&6; }
2425# Reject unsafe characters in $srcdir or the absolute working directory
2426# name.  Accept space and tab only in the latter.
2427am_lf='
2428'
2429case `pwd` in
2430  *[\\\"\#\$\&\'\`$am_lf]*)
2431    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2432esac
2433case $srcdir in
2434  *[\\\"\#\$\&\'\`$am_lf\ \	]*)
2435    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2436esac
2437
2438# Do 'set' in a subshell so we don't clobber the current shell's
2439# arguments.  Must try -L first in case configure is actually a
2440# symlink; some systems play weird games with the mod time of symlinks
2441# (eg FreeBSD returns the mod time of the symlink's containing
2442# directory).
2443if (
2444   am_has_slept=no
2445   for am_try in 1 2; do
2446     echo "timestamp, slept: $am_has_slept" > conftest.file
2447     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2448     if test "$*" = "X"; then
2449	# -L didn't work.
2450	set X `ls -t "$srcdir/configure" conftest.file`
2451     fi
2452     if test "$*" != "X $srcdir/configure conftest.file" \
2453	&& test "$*" != "X conftest.file $srcdir/configure"; then
2454
2455	# If neither matched, then we have a broken ls.  This can happen
2456	# if, for instance, CONFIG_SHELL is bash and it inherits a
2457	# broken ls alias from the environment.  This has actually
2458	# happened.  Such a system could not be considered "sane".
2459	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
2460  alias in your environment" "$LINENO" 5
2461     fi
2462     if test "$2" = conftest.file || test $am_try -eq 2; then
2463       break
2464     fi
2465     # Just in case.
2466     sleep 1
2467     am_has_slept=yes
2468   done
2469   test "$2" = conftest.file
2470   )
2471then
2472   # Ok.
2473   :
2474else
2475   as_fn_error $? "newly created file is older than distributed files!
2476Check your system clock" "$LINENO" 5
2477fi
2478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2479$as_echo "yes" >&6; }
2480# If we didn't sleep, we still need to ensure time stamps of config.status and
2481# generated files are strictly newer.
2482am_sleep_pid=
2483if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2484  ( sleep 1 ) &
2485  am_sleep_pid=$!
2486fi
2487
2488rm -f conftest.file
2489
2490test "$program_prefix" != NONE &&
2491  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2492# Use a double $ so make ignores it.
2493test "$program_suffix" != NONE &&
2494  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2495# Double any \ or $.
2496# By default was `s,x,x', remove it if useless.
2497ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2498program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2499
2500# Expand $ac_aux_dir to an absolute path.
2501am_aux_dir=`cd "$ac_aux_dir" && pwd`
2502
2503if test x"${MISSING+set}" != xset; then
2504  case $am_aux_dir in
2505  *\ * | *\	*)
2506    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2507  *)
2508    MISSING="\${SHELL} $am_aux_dir/missing" ;;
2509  esac
2510fi
2511# Use eval to expand $SHELL
2512if eval "$MISSING --is-lightweight"; then
2513  am_missing_run="$MISSING "
2514else
2515  am_missing_run=
2516  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2517$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2518fi
2519
2520if test x"${install_sh+set}" != xset; then
2521  case $am_aux_dir in
2522  *\ * | *\	*)
2523    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2524  *)
2525    install_sh="\${SHELL} $am_aux_dir/install-sh"
2526  esac
2527fi
2528
2529# Installed binaries are usually stripped using 'strip' when the user
2530# run "make install-strip".  However 'strip' might not be the right
2531# tool to use in cross-compilation environments, therefore Automake
2532# will honor the 'STRIP' environment variable to overrule this program.
2533if test "$cross_compiling" != no; then
2534  if test -n "$ac_tool_prefix"; then
2535  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2536set dummy ${ac_tool_prefix}strip; ac_word=$2
2537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2538$as_echo_n "checking for $ac_word... " >&6; }
2539if ${ac_cv_prog_STRIP+:} false; then :
2540  $as_echo_n "(cached) " >&6
2541else
2542  if test -n "$STRIP"; then
2543  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2544else
2545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2546for as_dir in $PATH
2547do
2548  IFS=$as_save_IFS
2549  test -z "$as_dir" && as_dir=.
2550    for ac_exec_ext in '' $ac_executable_extensions; do
2551  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2552    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2553    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2554    break 2
2555  fi
2556done
2557  done
2558IFS=$as_save_IFS
2559
2560fi
2561fi
2562STRIP=$ac_cv_prog_STRIP
2563if test -n "$STRIP"; then
2564  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2565$as_echo "$STRIP" >&6; }
2566else
2567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2568$as_echo "no" >&6; }
2569fi
2570
2571
2572fi
2573if test -z "$ac_cv_prog_STRIP"; then
2574  ac_ct_STRIP=$STRIP
2575  # Extract the first word of "strip", so it can be a program name with args.
2576set dummy strip; ac_word=$2
2577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2578$as_echo_n "checking for $ac_word... " >&6; }
2579if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2580  $as_echo_n "(cached) " >&6
2581else
2582  if test -n "$ac_ct_STRIP"; then
2583  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2584else
2585as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2586for as_dir in $PATH
2587do
2588  IFS=$as_save_IFS
2589  test -z "$as_dir" && as_dir=.
2590    for ac_exec_ext in '' $ac_executable_extensions; do
2591  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2592    ac_cv_prog_ac_ct_STRIP="strip"
2593    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2594    break 2
2595  fi
2596done
2597  done
2598IFS=$as_save_IFS
2599
2600fi
2601fi
2602ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2603if test -n "$ac_ct_STRIP"; then
2604  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2605$as_echo "$ac_ct_STRIP" >&6; }
2606else
2607  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2608$as_echo "no" >&6; }
2609fi
2610
2611  if test "x$ac_ct_STRIP" = x; then
2612    STRIP=":"
2613  else
2614    case $cross_compiling:$ac_tool_warned in
2615yes:)
2616{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2617$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2618ac_tool_warned=yes ;;
2619esac
2620    STRIP=$ac_ct_STRIP
2621  fi
2622else
2623  STRIP="$ac_cv_prog_STRIP"
2624fi
2625
2626fi
2627INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2628
2629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2630$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2631if test -z "$MKDIR_P"; then
2632  if ${ac_cv_path_mkdir+:} false; then :
2633  $as_echo_n "(cached) " >&6
2634else
2635  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2637do
2638  IFS=$as_save_IFS
2639  test -z "$as_dir" && as_dir=.
2640    for ac_prog in mkdir gmkdir; do
2641	 for ac_exec_ext in '' $ac_executable_extensions; do
2642	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2643	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2644	     'mkdir (GNU coreutils) '* | \
2645	     'mkdir (coreutils) '* | \
2646	     'mkdir (fileutils) '4.1*)
2647	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2648	       break 3;;
2649	   esac
2650	 done
2651       done
2652  done
2653IFS=$as_save_IFS
2654
2655fi
2656
2657  test -d ./--version && rmdir ./--version
2658  if test "${ac_cv_path_mkdir+set}" = set; then
2659    MKDIR_P="$ac_cv_path_mkdir -p"
2660  else
2661    # As a last resort, use the slow shell script.  Don't cache a
2662    # value for MKDIR_P within a source directory, because that will
2663    # break other packages using the cache if that directory is
2664    # removed, or if the value is a relative name.
2665    MKDIR_P="$ac_install_sh -d"
2666  fi
2667fi
2668{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2669$as_echo "$MKDIR_P" >&6; }
2670
2671for ac_prog in gawk mawk nawk awk
2672do
2673  # Extract the first word of "$ac_prog", so it can be a program name with args.
2674set dummy $ac_prog; ac_word=$2
2675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2676$as_echo_n "checking for $ac_word... " >&6; }
2677if ${ac_cv_prog_AWK+:} false; then :
2678  $as_echo_n "(cached) " >&6
2679else
2680  if test -n "$AWK"; then
2681  ac_cv_prog_AWK="$AWK" # Let the user override the test.
2682else
2683as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2684for as_dir in $PATH
2685do
2686  IFS=$as_save_IFS
2687  test -z "$as_dir" && as_dir=.
2688    for ac_exec_ext in '' $ac_executable_extensions; do
2689  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2690    ac_cv_prog_AWK="$ac_prog"
2691    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2692    break 2
2693  fi
2694done
2695  done
2696IFS=$as_save_IFS
2697
2698fi
2699fi
2700AWK=$ac_cv_prog_AWK
2701if test -n "$AWK"; then
2702  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2703$as_echo "$AWK" >&6; }
2704else
2705  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2706$as_echo "no" >&6; }
2707fi
2708
2709
2710  test -n "$AWK" && break
2711done
2712
2713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2714$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2715set x ${MAKE-make}
2716ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2717if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2718  $as_echo_n "(cached) " >&6
2719else
2720  cat >conftest.make <<\_ACEOF
2721SHELL = /bin/sh
2722all:
2723	@echo '@@@%%%=$(MAKE)=@@@%%%'
2724_ACEOF
2725# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2726case `${MAKE-make} -f conftest.make 2>/dev/null` in
2727  *@@@%%%=?*=@@@%%%*)
2728    eval ac_cv_prog_make_${ac_make}_set=yes;;
2729  *)
2730    eval ac_cv_prog_make_${ac_make}_set=no;;
2731esac
2732rm -f conftest.make
2733fi
2734if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2735  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2736$as_echo "yes" >&6; }
2737  SET_MAKE=
2738else
2739  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740$as_echo "no" >&6; }
2741  SET_MAKE="MAKE=${MAKE-make}"
2742fi
2743
2744rm -rf .tst 2>/dev/null
2745mkdir .tst 2>/dev/null
2746if test -d .tst; then
2747  am__leading_dot=.
2748else
2749  am__leading_dot=_
2750fi
2751rmdir .tst 2>/dev/null
2752
2753# Check whether --enable-silent-rules was given.
2754if test "${enable_silent_rules+set}" = set; then :
2755  enableval=$enable_silent_rules;
2756fi
2757
2758case $enable_silent_rules in # (((
2759  yes) AM_DEFAULT_VERBOSITY=0;;
2760   no) AM_DEFAULT_VERBOSITY=1;;
2761    *) AM_DEFAULT_VERBOSITY=1;;
2762esac
2763am_make=${MAKE-make}
2764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2765$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2766if ${am_cv_make_support_nested_variables+:} false; then :
2767  $as_echo_n "(cached) " >&6
2768else
2769  if $as_echo 'TRUE=$(BAR$(V))
2770BAR0=false
2771BAR1=true
2772V=1
2773am__doit:
2774	@$(TRUE)
2775.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2776  am_cv_make_support_nested_variables=yes
2777else
2778  am_cv_make_support_nested_variables=no
2779fi
2780fi
2781{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2782$as_echo "$am_cv_make_support_nested_variables" >&6; }
2783if test $am_cv_make_support_nested_variables = yes; then
2784    AM_V='$(V)'
2785  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2786else
2787  AM_V=$AM_DEFAULT_VERBOSITY
2788  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2789fi
2790AM_BACKSLASH='\'
2791
2792if test "`cd $srcdir && pwd`" != "`pwd`"; then
2793  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2794  # is not polluted with repeated "-I."
2795  am__isrc=' -I$(srcdir)'
2796  # test to see if srcdir already configured
2797  if test -f $srcdir/config.status; then
2798    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2799  fi
2800fi
2801
2802# test whether we have cygpath
2803if test -z "$CYGPATH_W"; then
2804  if (cygpath --version) >/dev/null 2>/dev/null; then
2805    CYGPATH_W='cygpath -w'
2806  else
2807    CYGPATH_W=echo
2808  fi
2809fi
2810
2811
2812# Define the identity of the package.
2813 PACKAGE='cjose'
2814 VERSION='0.6.1'
2815
2816
2817cat >>confdefs.h <<_ACEOF
2818#define PACKAGE "$PACKAGE"
2819_ACEOF
2820
2821
2822cat >>confdefs.h <<_ACEOF
2823#define VERSION "$VERSION"
2824_ACEOF
2825
2826# Some tools Automake needs.
2827
2828ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2829
2830
2831AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2832
2833
2834AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2835
2836
2837AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2838
2839
2840MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2841
2842# For better backward compatibility.  To be removed once Automake 1.9.x
2843# dies out for good.  For more background, see:
2844# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2845# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2846mkdir_p='$(MKDIR_P)'
2847
2848# We need awk for the "check" target (and possibly the TAP driver).  The
2849# system "awk" is bad on some platforms.
2850# Always define AMTAR for backward compatibility.  Yes, it's still used
2851# in the wild :-(  We should find a proper way to deprecate it ...
2852AMTAR='$${TAR-tar}'
2853
2854
2855# We'll loop over all known methods to create a tar archive until one works.
2856_am_tools='gnutar  pax cpio none'
2857
2858am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
2859
2860
2861
2862
2863
2864
2865# POSIX will say in a future version that running "rm -f" with no argument
2866# is OK; and we want to be able to make that assumption in our Makefile
2867# recipes.  So use an aggressive probe to check that the usage we want is
2868# actually supported "in the wild" to an acceptable degree.
2869# See automake bug#10828.
2870# To make any issue more visible, cause the running configure to be aborted
2871# by default if the 'rm' program in use doesn't match our expectations; the
2872# user can still override this though.
2873if rm -f && rm -fr && rm -rf; then : OK; else
2874  cat >&2 <<'END'
2875Oops!
2876
2877Your 'rm' program seems unable to run without file operands specified
2878on the command line, even when the '-f' option is present.  This is contrary
2879to the behaviour of most rm programs out there, and not conforming with
2880the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
2881
2882Please tell bug-automake@gnu.org about your system, including the value
2883of your $PATH and any error possibly output before this message.  This
2884can help us improve future automake versions.
2885
2886END
2887  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
2888    echo 'Configuration will proceed anyway, since you have set the' >&2
2889    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
2890    echo >&2
2891  else
2892    cat >&2 <<'END'
2893Aborting the configuration process, to ensure you take notice of the issue.
2894
2895You can download and install GNU coreutils to get an 'rm' implementation
2896that behaves properly: <https://www.gnu.org/software/coreutils/>.
2897
2898If you want to complete the configuration process using your problematic
2899'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
2900to "yes", and re-run configure.
2901
2902END
2903    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
2904  fi
2905fi
2906
2907
2908case `pwd` in
2909  *\ * | *\	*)
2910    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
2911$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
2912esac
2913
2914
2915
2916macro_version='2.4.6'
2917macro_revision='2.4.6'
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931ltmain=$ac_aux_dir/ltmain.sh
2932
2933# Make sure we can run config.sub.
2934$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936
2937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938$as_echo_n "checking build system type... " >&6; }
2939if ${ac_cv_build+:} false; then :
2940  $as_echo_n "(cached) " >&6
2941else
2942  ac_build_alias=$build_alias
2943test "x$ac_build_alias" = x &&
2944  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945test "x$ac_build_alias" = x &&
2946  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2947ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2949
2950fi
2951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952$as_echo "$ac_cv_build" >&6; }
2953case $ac_cv_build in
2954*-*-*) ;;
2955*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2956esac
2957build=$ac_cv_build
2958ac_save_IFS=$IFS; IFS='-'
2959set x $ac_cv_build
2960shift
2961build_cpu=$1
2962build_vendor=$2
2963shift; shift
2964# Remember, the first character of IFS is used to create $*,
2965# except with old shells:
2966build_os=$*
2967IFS=$ac_save_IFS
2968case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2969
2970
2971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972$as_echo_n "checking host system type... " >&6; }
2973if ${ac_cv_host+:} false; then :
2974  $as_echo_n "(cached) " >&6
2975else
2976  if test "x$host_alias" = x; then
2977  ac_cv_host=$ac_cv_build
2978else
2979  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2981fi
2982
2983fi
2984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985$as_echo "$ac_cv_host" >&6; }
2986case $ac_cv_host in
2987*-*-*) ;;
2988*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2989esac
2990host=$ac_cv_host
2991ac_save_IFS=$IFS; IFS='-'
2992set x $ac_cv_host
2993shift
2994host_cpu=$1
2995host_vendor=$2
2996shift; shift
2997# Remember, the first character of IFS is used to create $*,
2998# except with old shells:
2999host_os=$*
3000IFS=$ac_save_IFS
3001case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3002
3003
3004# Backslashify metacharacters that are still active within
3005# double-quoted strings.
3006sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
3007
3008# Same as above, but do not quote variable references.
3009double_quote_subst='s/\(["`\\]\)/\\\1/g'
3010
3011# Sed substitution to delay expansion of an escaped shell variable in a
3012# double_quote_subst'ed string.
3013delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
3014
3015# Sed substitution to delay expansion of an escaped single quote.
3016delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
3017
3018# Sed substitution to avoid accidental globbing in evaled expressions
3019no_glob_subst='s/\*/\\\*/g'
3020
3021ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3022ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
3023ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
3024
3025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
3026$as_echo_n "checking how to print strings... " >&6; }
3027# Test print first, because it will be a builtin if present.
3028if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
3029   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
3030  ECHO='print -r --'
3031elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
3032  ECHO='printf %s\n'
3033else
3034  # Use this function as a fallback that always works.
3035  func_fallback_echo ()
3036  {
3037    eval 'cat <<_LTECHO_EOF
3038$1
3039_LTECHO_EOF'
3040  }
3041  ECHO='func_fallback_echo'
3042fi
3043
3044# func_echo_all arg...
3045# Invoke $ECHO with all args, space-separated.
3046func_echo_all ()
3047{
3048    $ECHO ""
3049}
3050
3051case $ECHO in
3052  printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
3053$as_echo "printf" >&6; } ;;
3054  print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
3055$as_echo "print -r" >&6; } ;;
3056  *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
3057$as_echo "cat" >&6; } ;;
3058esac
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073DEPDIR="${am__leading_dot}deps"
3074
3075ac_config_commands="$ac_config_commands depfiles"
3076
3077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3078$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
3079cat > confinc.mk << 'END'
3080am__doit:
3081	@echo this is the am__doit target >confinc.out
3082.PHONY: am__doit
3083END
3084am__include="#"
3085am__quote=
3086# BSD make does it like this.
3087echo '.include "confinc.mk" # ignored' > confmf.BSD
3088# Other make implementations (GNU, Solaris 10, AIX) do it like this.
3089echo 'include confinc.mk # ignored' > confmf.GNU
3090_am_result=no
3091for s in GNU BSD; do
3092  { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3093   (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3094   ac_status=$?
3095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3096   (exit $ac_status); }
3097  case $?:`cat confinc.out 2>/dev/null` in #(
3098  '0:this is the am__doit target') :
3099    case $s in #(
3100  BSD) :
3101    am__include='.include' am__quote='"' ;; #(
3102  *) :
3103    am__include='include' am__quote='' ;;
3104esac ;; #(
3105  *) :
3106     ;;
3107esac
3108  if test "$am__include" != "#"; then
3109    _am_result="yes ($s style)"
3110    break
3111  fi
3112done
3113rm -f confinc.* confmf.*
3114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3115$as_echo "${_am_result}" >&6; }
3116
3117# Check whether --enable-dependency-tracking was given.
3118if test "${enable_dependency_tracking+set}" = set; then :
3119  enableval=$enable_dependency_tracking;
3120fi
3121
3122if test "x$enable_dependency_tracking" != xno; then
3123  am_depcomp="$ac_aux_dir/depcomp"
3124  AMDEPBACKSLASH='\'
3125  am__nodep='_no'
3126fi
3127 if test "x$enable_dependency_tracking" != xno; then
3128  AMDEP_TRUE=
3129  AMDEP_FALSE='#'
3130else
3131  AMDEP_TRUE='#'
3132  AMDEP_FALSE=
3133fi
3134
3135
3136ac_ext=c
3137ac_cpp='$CPP $CPPFLAGS'
3138ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3139ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3140ac_compiler_gnu=$ac_cv_c_compiler_gnu
3141if test -n "$ac_tool_prefix"; then
3142  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3143set dummy ${ac_tool_prefix}gcc; ac_word=$2
3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3145$as_echo_n "checking for $ac_word... " >&6; }
3146if ${ac_cv_prog_CC+:} false; then :
3147  $as_echo_n "(cached) " >&6
3148else
3149  if test -n "$CC"; then
3150  ac_cv_prog_CC="$CC" # Let the user override the test.
3151else
3152as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3153for as_dir in $PATH
3154do
3155  IFS=$as_save_IFS
3156  test -z "$as_dir" && as_dir=.
3157    for ac_exec_ext in '' $ac_executable_extensions; do
3158  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3159    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3160    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3161    break 2
3162  fi
3163done
3164  done
3165IFS=$as_save_IFS
3166
3167fi
3168fi
3169CC=$ac_cv_prog_CC
3170if test -n "$CC"; then
3171  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3172$as_echo "$CC" >&6; }
3173else
3174  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3175$as_echo "no" >&6; }
3176fi
3177
3178
3179fi
3180if test -z "$ac_cv_prog_CC"; then
3181  ac_ct_CC=$CC
3182  # Extract the first word of "gcc", so it can be a program name with args.
3183set dummy gcc; ac_word=$2
3184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185$as_echo_n "checking for $ac_word... " >&6; }
3186if ${ac_cv_prog_ac_ct_CC+:} false; then :
3187  $as_echo_n "(cached) " >&6
3188else
3189  if test -n "$ac_ct_CC"; then
3190  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3191else
3192as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3193for as_dir in $PATH
3194do
3195  IFS=$as_save_IFS
3196  test -z "$as_dir" && as_dir=.
3197    for ac_exec_ext in '' $ac_executable_extensions; do
3198  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3199    ac_cv_prog_ac_ct_CC="gcc"
3200    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201    break 2
3202  fi
3203done
3204  done
3205IFS=$as_save_IFS
3206
3207fi
3208fi
3209ac_ct_CC=$ac_cv_prog_ac_ct_CC
3210if test -n "$ac_ct_CC"; then
3211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3212$as_echo "$ac_ct_CC" >&6; }
3213else
3214  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215$as_echo "no" >&6; }
3216fi
3217
3218  if test "x$ac_ct_CC" = x; then
3219    CC=""
3220  else
3221    case $cross_compiling:$ac_tool_warned in
3222yes:)
3223{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3224$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3225ac_tool_warned=yes ;;
3226esac
3227    CC=$ac_ct_CC
3228  fi
3229else
3230  CC="$ac_cv_prog_CC"
3231fi
3232
3233if test -z "$CC"; then
3234          if test -n "$ac_tool_prefix"; then
3235    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3236set dummy ${ac_tool_prefix}cc; ac_word=$2
3237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3238$as_echo_n "checking for $ac_word... " >&6; }
3239if ${ac_cv_prog_CC+:} false; then :
3240  $as_echo_n "(cached) " >&6
3241else
3242  if test -n "$CC"; then
3243  ac_cv_prog_CC="$CC" # Let the user override the test.
3244else
3245as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3246for as_dir in $PATH
3247do
3248  IFS=$as_save_IFS
3249  test -z "$as_dir" && as_dir=.
3250    for ac_exec_ext in '' $ac_executable_extensions; do
3251  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3252    ac_cv_prog_CC="${ac_tool_prefix}cc"
3253    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3254    break 2
3255  fi
3256done
3257  done
3258IFS=$as_save_IFS
3259
3260fi
3261fi
3262CC=$ac_cv_prog_CC
3263if test -n "$CC"; then
3264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3265$as_echo "$CC" >&6; }
3266else
3267  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3268$as_echo "no" >&6; }
3269fi
3270
3271
3272  fi
3273fi
3274if test -z "$CC"; then
3275  # Extract the first word of "cc", so it can be a program name with args.
3276set dummy cc; ac_word=$2
3277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278$as_echo_n "checking for $ac_word... " >&6; }
3279if ${ac_cv_prog_CC+:} false; then :
3280  $as_echo_n "(cached) " >&6
3281else
3282  if test -n "$CC"; then
3283  ac_cv_prog_CC="$CC" # Let the user override the test.
3284else
3285  ac_prog_rejected=no
3286as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3287for as_dir in $PATH
3288do
3289  IFS=$as_save_IFS
3290  test -z "$as_dir" && as_dir=.
3291    for ac_exec_ext in '' $ac_executable_extensions; do
3292  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3293    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3294       ac_prog_rejected=yes
3295       continue
3296     fi
3297    ac_cv_prog_CC="cc"
3298    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3299    break 2
3300  fi
3301done
3302  done
3303IFS=$as_save_IFS
3304
3305if test $ac_prog_rejected = yes; then
3306  # We found a bogon in the path, so make sure we never use it.
3307  set dummy $ac_cv_prog_CC
3308  shift
3309  if test $# != 0; then
3310    # We chose a different compiler from the bogus one.
3311    # However, it has the same basename, so the bogon will be chosen
3312    # first if we set CC to just the basename; use the full file name.
3313    shift
3314    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3315  fi
3316fi
3317fi
3318fi
3319CC=$ac_cv_prog_CC
3320if test -n "$CC"; then
3321  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3322$as_echo "$CC" >&6; }
3323else
3324  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3325$as_echo "no" >&6; }
3326fi
3327
3328
3329fi
3330if test -z "$CC"; then
3331  if test -n "$ac_tool_prefix"; then
3332  for ac_prog in cl.exe
3333  do
3334    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3335set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3337$as_echo_n "checking for $ac_word... " >&6; }
3338if ${ac_cv_prog_CC+:} false; then :
3339  $as_echo_n "(cached) " >&6
3340else
3341  if test -n "$CC"; then
3342  ac_cv_prog_CC="$CC" # Let the user override the test.
3343else
3344as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3345for as_dir in $PATH
3346do
3347  IFS=$as_save_IFS
3348  test -z "$as_dir" && as_dir=.
3349    for ac_exec_ext in '' $ac_executable_extensions; do
3350  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3351    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3352    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3353    break 2
3354  fi
3355done
3356  done
3357IFS=$as_save_IFS
3358
3359fi
3360fi
3361CC=$ac_cv_prog_CC
3362if test -n "$CC"; then
3363  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3364$as_echo "$CC" >&6; }
3365else
3366  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3367$as_echo "no" >&6; }
3368fi
3369
3370
3371    test -n "$CC" && break
3372  done
3373fi
3374if test -z "$CC"; then
3375  ac_ct_CC=$CC
3376  for ac_prog in cl.exe
3377do
3378  # Extract the first word of "$ac_prog", so it can be a program name with args.
3379set dummy $ac_prog; ac_word=$2
3380{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381$as_echo_n "checking for $ac_word... " >&6; }
3382if ${ac_cv_prog_ac_ct_CC+:} false; then :
3383  $as_echo_n "(cached) " >&6
3384else
3385  if test -n "$ac_ct_CC"; then
3386  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3387else
3388as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3389for as_dir in $PATH
3390do
3391  IFS=$as_save_IFS
3392  test -z "$as_dir" && as_dir=.
3393    for ac_exec_ext in '' $ac_executable_extensions; do
3394  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3395    ac_cv_prog_ac_ct_CC="$ac_prog"
3396    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3397    break 2
3398  fi
3399done
3400  done
3401IFS=$as_save_IFS
3402
3403fi
3404fi
3405ac_ct_CC=$ac_cv_prog_ac_ct_CC
3406if test -n "$ac_ct_CC"; then
3407  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3408$as_echo "$ac_ct_CC" >&6; }
3409else
3410  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411$as_echo "no" >&6; }
3412fi
3413
3414
3415  test -n "$ac_ct_CC" && break
3416done
3417
3418  if test "x$ac_ct_CC" = x; then
3419    CC=""
3420  else
3421    case $cross_compiling:$ac_tool_warned in
3422yes:)
3423{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3424$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3425ac_tool_warned=yes ;;
3426esac
3427    CC=$ac_ct_CC
3428  fi
3429fi
3430
3431fi
3432
3433
3434test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3436as_fn_error $? "no acceptable C compiler found in \$PATH
3437See \`config.log' for more details" "$LINENO" 5; }
3438
3439# Provide some information about the compiler.
3440$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3441set X $ac_compile
3442ac_compiler=$2
3443for ac_option in --version -v -V -qversion; do
3444  { { ac_try="$ac_compiler $ac_option >&5"
3445case "(($ac_try" in
3446  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3447  *) ac_try_echo=$ac_try;;
3448esac
3449eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3450$as_echo "$ac_try_echo"; } >&5
3451  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3452  ac_status=$?
3453  if test -s conftest.err; then
3454    sed '10a\
3455... rest of stderr output deleted ...
3456         10q' conftest.err >conftest.er1
3457    cat conftest.er1 >&5
3458  fi
3459  rm -f conftest.er1 conftest.err
3460  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3461  test $ac_status = 0; }
3462done
3463
3464cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465/* end confdefs.h.  */
3466
3467int
3468main ()
3469{
3470
3471  ;
3472  return 0;
3473}
3474_ACEOF
3475ac_clean_files_save=$ac_clean_files
3476ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3477# Try to create an executable without -o first, disregard a.out.
3478# It will help us diagnose broken compilers, and finding out an intuition
3479# of exeext.
3480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3481$as_echo_n "checking whether the C compiler works... " >&6; }
3482ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3483
3484# The possible output files:
3485ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3486
3487ac_rmfiles=
3488for ac_file in $ac_files
3489do
3490  case $ac_file in
3491    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3492    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3493  esac
3494done
3495rm -f $ac_rmfiles
3496
3497if { { ac_try="$ac_link_default"
3498case "(($ac_try" in
3499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500  *) ac_try_echo=$ac_try;;
3501esac
3502eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3503$as_echo "$ac_try_echo"; } >&5
3504  (eval "$ac_link_default") 2>&5
3505  ac_status=$?
3506  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3507  test $ac_status = 0; }; then :
3508  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3509# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3510# in a Makefile.  We should not override ac_cv_exeext if it was cached,
3511# so that the user can short-circuit this test for compilers unknown to
3512# Autoconf.
3513for ac_file in $ac_files ''
3514do
3515  test -f "$ac_file" || continue
3516  case $ac_file in
3517    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3518	;;
3519    [ab].out )
3520	# We found the default executable, but exeext='' is most
3521	# certainly right.
3522	break;;
3523    *.* )
3524	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3525	then :; else
3526	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3527	fi
3528	# We set ac_cv_exeext here because the later test for it is not
3529	# safe: cross compilers may not add the suffix if given an `-o'
3530	# argument, so we may need to know it at that point already.
3531	# Even if this section looks crufty: it has the advantage of
3532	# actually working.
3533	break;;
3534    * )
3535	break;;
3536  esac
3537done
3538test "$ac_cv_exeext" = no && ac_cv_exeext=
3539
3540else
3541  ac_file=''
3542fi
3543if test -z "$ac_file"; then :
3544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3545$as_echo "no" >&6; }
3546$as_echo "$as_me: failed program was:" >&5
3547sed 's/^/| /' conftest.$ac_ext >&5
3548
3549{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3550$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3551as_fn_error 77 "C compiler cannot create executables
3552See \`config.log' for more details" "$LINENO" 5; }
3553else
3554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3555$as_echo "yes" >&6; }
3556fi
3557{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3558$as_echo_n "checking for C compiler default output file name... " >&6; }
3559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3560$as_echo "$ac_file" >&6; }
3561ac_exeext=$ac_cv_exeext
3562
3563rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3564ac_clean_files=$ac_clean_files_save
3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3566$as_echo_n "checking for suffix of executables... " >&6; }
3567if { { ac_try="$ac_link"
3568case "(($ac_try" in
3569  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3570  *) ac_try_echo=$ac_try;;
3571esac
3572eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3573$as_echo "$ac_try_echo"; } >&5
3574  (eval "$ac_link") 2>&5
3575  ac_status=$?
3576  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3577  test $ac_status = 0; }; then :
3578  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3579# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3580# work properly (i.e., refer to `conftest.exe'), while it won't with
3581# `rm'.
3582for ac_file in conftest.exe conftest conftest.*; do
3583  test -f "$ac_file" || continue
3584  case $ac_file in
3585    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3586    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3587	  break;;
3588    * ) break;;
3589  esac
3590done
3591else
3592  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3593$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3594as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3595See \`config.log' for more details" "$LINENO" 5; }
3596fi
3597rm -f conftest conftest$ac_cv_exeext
3598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3599$as_echo "$ac_cv_exeext" >&6; }
3600
3601rm -f conftest.$ac_ext
3602EXEEXT=$ac_cv_exeext
3603ac_exeext=$EXEEXT
3604cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3605/* end confdefs.h.  */
3606#include <stdio.h>
3607int
3608main ()
3609{
3610FILE *f = fopen ("conftest.out", "w");
3611 return ferror (f) || fclose (f) != 0;
3612
3613  ;
3614  return 0;
3615}
3616_ACEOF
3617ac_clean_files="$ac_clean_files conftest.out"
3618# Check that the compiler produces executables we can run.  If not, either
3619# the compiler is broken, or we cross compile.
3620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3621$as_echo_n "checking whether we are cross compiling... " >&6; }
3622if test "$cross_compiling" != yes; then
3623  { { ac_try="$ac_link"
3624case "(($ac_try" in
3625  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3626  *) ac_try_echo=$ac_try;;
3627esac
3628eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3629$as_echo "$ac_try_echo"; } >&5
3630  (eval "$ac_link") 2>&5
3631  ac_status=$?
3632  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3633  test $ac_status = 0; }
3634  if { ac_try='./conftest$ac_cv_exeext'
3635  { { case "(($ac_try" in
3636  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637  *) ac_try_echo=$ac_try;;
3638esac
3639eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3640$as_echo "$ac_try_echo"; } >&5
3641  (eval "$ac_try") 2>&5
3642  ac_status=$?
3643  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3644  test $ac_status = 0; }; }; then
3645    cross_compiling=no
3646  else
3647    if test "$cross_compiling" = maybe; then
3648	cross_compiling=yes
3649    else
3650	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3651$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3652as_fn_error $? "cannot run C compiled programs.
3653If you meant to cross compile, use \`--host'.
3654See \`config.log' for more details" "$LINENO" 5; }
3655    fi
3656  fi
3657fi
3658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3659$as_echo "$cross_compiling" >&6; }
3660
3661rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3662ac_clean_files=$ac_clean_files_save
3663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3664$as_echo_n "checking for suffix of object files... " >&6; }
3665if ${ac_cv_objext+:} false; then :
3666  $as_echo_n "(cached) " >&6
3667else
3668  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3669/* end confdefs.h.  */
3670
3671int
3672main ()
3673{
3674
3675  ;
3676  return 0;
3677}
3678_ACEOF
3679rm -f conftest.o conftest.obj
3680if { { ac_try="$ac_compile"
3681case "(($ac_try" in
3682  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3683  *) ac_try_echo=$ac_try;;
3684esac
3685eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3686$as_echo "$ac_try_echo"; } >&5
3687  (eval "$ac_compile") 2>&5
3688  ac_status=$?
3689  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3690  test $ac_status = 0; }; then :
3691  for ac_file in conftest.o conftest.obj conftest.*; do
3692  test -f "$ac_file" || continue;
3693  case $ac_file in
3694    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3695    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3696       break;;
3697  esac
3698done
3699else
3700  $as_echo "$as_me: failed program was:" >&5
3701sed 's/^/| /' conftest.$ac_ext >&5
3702
3703{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705as_fn_error $? "cannot compute suffix of object files: cannot compile
3706See \`config.log' for more details" "$LINENO" 5; }
3707fi
3708rm -f conftest.$ac_cv_objext conftest.$ac_ext
3709fi
3710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3711$as_echo "$ac_cv_objext" >&6; }
3712OBJEXT=$ac_cv_objext
3713ac_objext=$OBJEXT
3714{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3715$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3716if ${ac_cv_c_compiler_gnu+:} false; then :
3717  $as_echo_n "(cached) " >&6
3718else
3719  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720/* end confdefs.h.  */
3721
3722int
3723main ()
3724{
3725#ifndef __GNUC__
3726       choke me
3727#endif
3728
3729  ;
3730  return 0;
3731}
3732_ACEOF
3733if ac_fn_c_try_compile "$LINENO"; then :
3734  ac_compiler_gnu=yes
3735else
3736  ac_compiler_gnu=no
3737fi
3738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3739ac_cv_c_compiler_gnu=$ac_compiler_gnu
3740
3741fi
3742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3743$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3744if test $ac_compiler_gnu = yes; then
3745  GCC=yes
3746else
3747  GCC=
3748fi
3749ac_test_CFLAGS=${CFLAGS+set}
3750ac_save_CFLAGS=$CFLAGS
3751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3752$as_echo_n "checking whether $CC accepts -g... " >&6; }
3753if ${ac_cv_prog_cc_g+:} false; then :
3754  $as_echo_n "(cached) " >&6
3755else
3756  ac_save_c_werror_flag=$ac_c_werror_flag
3757   ac_c_werror_flag=yes
3758   ac_cv_prog_cc_g=no
3759   CFLAGS="-g"
3760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761/* end confdefs.h.  */
3762
3763int
3764main ()
3765{
3766
3767  ;
3768  return 0;
3769}
3770_ACEOF
3771if ac_fn_c_try_compile "$LINENO"; then :
3772  ac_cv_prog_cc_g=yes
3773else
3774  CFLAGS=""
3775      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776/* end confdefs.h.  */
3777
3778int
3779main ()
3780{
3781
3782  ;
3783  return 0;
3784}
3785_ACEOF
3786if ac_fn_c_try_compile "$LINENO"; then :
3787
3788else
3789  ac_c_werror_flag=$ac_save_c_werror_flag
3790	 CFLAGS="-g"
3791	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3792/* end confdefs.h.  */
3793
3794int
3795main ()
3796{
3797
3798  ;
3799  return 0;
3800}
3801_ACEOF
3802if ac_fn_c_try_compile "$LINENO"; then :
3803  ac_cv_prog_cc_g=yes
3804fi
3805rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3806fi
3807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3808fi
3809rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3810   ac_c_werror_flag=$ac_save_c_werror_flag
3811fi
3812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3813$as_echo "$ac_cv_prog_cc_g" >&6; }
3814if test "$ac_test_CFLAGS" = set; then
3815  CFLAGS=$ac_save_CFLAGS
3816elif test $ac_cv_prog_cc_g = yes; then
3817  if test "$GCC" = yes; then
3818    CFLAGS="-g -O2"
3819  else
3820    CFLAGS="-g"
3821  fi
3822else
3823  if test "$GCC" = yes; then
3824    CFLAGS="-O2"
3825  else
3826    CFLAGS=
3827  fi
3828fi
3829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3830$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3831if ${ac_cv_prog_cc_c89+:} false; then :
3832  $as_echo_n "(cached) " >&6
3833else
3834  ac_cv_prog_cc_c89=no
3835ac_save_CC=$CC
3836cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837/* end confdefs.h.  */
3838#include <stdarg.h>
3839#include <stdio.h>
3840struct stat;
3841/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3842struct buf { int x; };
3843FILE * (*rcsopen) (struct buf *, struct stat *, int);
3844static char *e (p, i)
3845     char **p;
3846     int i;
3847{
3848  return p[i];
3849}
3850static char *f (char * (*g) (char **, int), char **p, ...)
3851{
3852  char *s;
3853  va_list v;
3854  va_start (v,p);
3855  s = g (p, va_arg (v,int));
3856  va_end (v);
3857  return s;
3858}
3859
3860/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3861   function prototypes and stuff, but not '\xHH' hex character constants.
3862   These don't provoke an error unfortunately, instead are silently treated
3863   as 'x'.  The following induces an error, until -std is added to get
3864   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3865   array size at least.  It's necessary to write '\x00'==0 to get something
3866   that's true only with -std.  */
3867int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3868
3869/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3870   inside strings and character constants.  */
3871#define FOO(x) 'x'
3872int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3873
3874int test (int i, double x);
3875struct s1 {int (*f) (int a);};
3876struct s2 {int (*f) (double a);};
3877int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3878int argc;
3879char **argv;
3880int
3881main ()
3882{
3883return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3884  ;
3885  return 0;
3886}
3887_ACEOF
3888for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3889	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3890do
3891  CC="$ac_save_CC $ac_arg"
3892  if ac_fn_c_try_compile "$LINENO"; then :
3893  ac_cv_prog_cc_c89=$ac_arg
3894fi
3895rm -f core conftest.err conftest.$ac_objext
3896  test "x$ac_cv_prog_cc_c89" != "xno" && break
3897done
3898rm -f conftest.$ac_ext
3899CC=$ac_save_CC
3900
3901fi
3902# AC_CACHE_VAL
3903case "x$ac_cv_prog_cc_c89" in
3904  x)
3905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3906$as_echo "none needed" >&6; } ;;
3907  xno)
3908    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3909$as_echo "unsupported" >&6; } ;;
3910  *)
3911    CC="$CC $ac_cv_prog_cc_c89"
3912    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3913$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3914esac
3915if test "x$ac_cv_prog_cc_c89" != xno; then :
3916
3917fi
3918
3919ac_ext=c
3920ac_cpp='$CPP $CPPFLAGS'
3921ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3922ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3923ac_compiler_gnu=$ac_cv_c_compiler_gnu
3924
3925ac_ext=c
3926ac_cpp='$CPP $CPPFLAGS'
3927ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3928ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3929ac_compiler_gnu=$ac_cv_c_compiler_gnu
3930{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
3931$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
3932if ${am_cv_prog_cc_c_o+:} false; then :
3933  $as_echo_n "(cached) " >&6
3934else
3935  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936/* end confdefs.h.  */
3937
3938int
3939main ()
3940{
3941
3942  ;
3943  return 0;
3944}
3945_ACEOF
3946  # Make sure it works both with $CC and with simple cc.
3947  # Following AC_PROG_CC_C_O, we do the test twice because some
3948  # compilers refuse to overwrite an existing .o file with -o,
3949  # though they will create one.
3950  am_cv_prog_cc_c_o=yes
3951  for am_i in 1 2; do
3952    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
3953   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
3954   ac_status=$?
3955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956   (exit $ac_status); } \
3957         && test -f conftest2.$ac_objext; then
3958      : OK
3959    else
3960      am_cv_prog_cc_c_o=no
3961      break
3962    fi
3963  done
3964  rm -f core conftest*
3965  unset am_i
3966fi
3967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
3968$as_echo "$am_cv_prog_cc_c_o" >&6; }
3969if test "$am_cv_prog_cc_c_o" != yes; then
3970   # Losing compiler, so override with the script.
3971   # FIXME: It is wrong to rewrite CC.
3972   # But if we don't then we get into trouble of one sort or another.
3973   # A longer-term fix would be to have automake use am__CC in this case,
3974   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3975   CC="$am_aux_dir/compile $CC"
3976fi
3977ac_ext=c
3978ac_cpp='$CPP $CPPFLAGS'
3979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3981ac_compiler_gnu=$ac_cv_c_compiler_gnu
3982
3983
3984depcc="$CC"   am_compiler_list=
3985
3986{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3987$as_echo_n "checking dependency style of $depcc... " >&6; }
3988if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3989  $as_echo_n "(cached) " >&6
3990else
3991  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3992  # We make a subdir and do the tests there.  Otherwise we can end up
3993  # making bogus files that we don't know about and never remove.  For
3994  # instance it was reported that on HP-UX the gcc test will end up
3995  # making a dummy file named 'D' -- because '-MD' means "put the output
3996  # in D".
3997  rm -rf conftest.dir
3998  mkdir conftest.dir
3999  # Copy depcomp to subdir because otherwise we won't find it if we're
4000  # using a relative directory.
4001  cp "$am_depcomp" conftest.dir
4002  cd conftest.dir
4003  # We will build objects and dependencies in a subdirectory because
4004  # it helps to detect inapplicable dependency modes.  For instance
4005  # both Tru64's cc and ICC support -MD to output dependencies as a
4006  # side effect of compilation, but ICC will put the dependencies in
4007  # the current directory while Tru64 will put them in the object
4008  # directory.
4009  mkdir sub
4010
4011  am_cv_CC_dependencies_compiler_type=none
4012  if test "$am_compiler_list" = ""; then
4013     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4014  fi
4015  am__universal=false
4016  case " $depcc " in #(
4017     *\ -arch\ *\ -arch\ *) am__universal=true ;;
4018     esac
4019
4020  for depmode in $am_compiler_list; do
4021    # Setup a source with many dependencies, because some compilers
4022    # like to wrap large dependency lists on column 80 (with \), and
4023    # we should not choose a depcomp mode which is confused by this.
4024    #
4025    # We need to recreate these files for each test, as the compiler may
4026    # overwrite some of them when testing with obscure command lines.
4027    # This happens at least with the AIX C compiler.
4028    : > sub/conftest.c
4029    for i in 1 2 3 4 5 6; do
4030      echo '#include "conftst'$i'.h"' >> sub/conftest.c
4031      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4032      # Solaris 10 /bin/sh.
4033      echo '/* dummy */' > sub/conftst$i.h
4034    done
4035    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4036
4037    # We check with '-c' and '-o' for the sake of the "dashmstdout"
4038    # mode.  It turns out that the SunPro C++ compiler does not properly
4039    # handle '-M -o', and we need to detect this.  Also, some Intel
4040    # versions had trouble with output in subdirs.
4041    am__obj=sub/conftest.${OBJEXT-o}
4042    am__minus_obj="-o $am__obj"
4043    case $depmode in
4044    gcc)
4045      # This depmode causes a compiler race in universal mode.
4046      test "$am__universal" = false || continue
4047      ;;
4048    nosideeffect)
4049      # After this tag, mechanisms are not by side-effect, so they'll
4050      # only be used when explicitly requested.
4051      if test "x$enable_dependency_tracking" = xyes; then
4052	continue
4053      else
4054	break
4055      fi
4056      ;;
4057    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4058      # This compiler won't grok '-c -o', but also, the minuso test has
4059      # not run yet.  These depmodes are late enough in the game, and
4060      # so weak that their functioning should not be impacted.
4061      am__obj=conftest.${OBJEXT-o}
4062      am__minus_obj=
4063      ;;
4064    none) break ;;
4065    esac
4066    if depmode=$depmode \
4067       source=sub/conftest.c object=$am__obj \
4068       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4069       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4070         >/dev/null 2>conftest.err &&
4071       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4072       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4073       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4074       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4075      # icc doesn't choke on unknown options, it will just issue warnings
4076      # or remarks (even with -Werror).  So we grep stderr for any message
4077      # that says an option was ignored or not supported.
4078      # When given -MP, icc 7.0 and 7.1 complain thusly:
4079      #   icc: Command line warning: ignoring option '-M'; no argument required
4080      # The diagnosis changed in icc 8.0:
4081      #   icc: Command line remark: option '-MP' not supported
4082      if (grep 'ignoring option' conftest.err ||
4083          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4084        am_cv_CC_dependencies_compiler_type=$depmode
4085        break
4086      fi
4087    fi
4088  done
4089
4090  cd ..
4091  rm -rf conftest.dir
4092else
4093  am_cv_CC_dependencies_compiler_type=none
4094fi
4095
4096fi
4097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4098$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4099CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4100
4101 if
4102  test "x$enable_dependency_tracking" != xno \
4103  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4104  am__fastdepCC_TRUE=
4105  am__fastdepCC_FALSE='#'
4106else
4107  am__fastdepCC_TRUE='#'
4108  am__fastdepCC_FALSE=
4109fi
4110
4111
4112{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4113$as_echo_n "checking for a sed that does not truncate output... " >&6; }
4114if ${ac_cv_path_SED+:} false; then :
4115  $as_echo_n "(cached) " >&6
4116else
4117            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4118     for ac_i in 1 2 3 4 5 6 7; do
4119       ac_script="$ac_script$as_nl$ac_script"
4120     done
4121     echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4122     { ac_script=; unset ac_script;}
4123     if test -z "$SED"; then
4124  ac_path_SED_found=false
4125  # Loop through the user's path and test for each of PROGNAME-LIST
4126  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127for as_dir in $PATH
4128do
4129  IFS=$as_save_IFS
4130  test -z "$as_dir" && as_dir=.
4131    for ac_prog in sed gsed; do
4132    for ac_exec_ext in '' $ac_executable_extensions; do
4133      ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4134      as_fn_executable_p "$ac_path_SED" || continue
4135# Check for GNU ac_path_SED and select it if it is found.
4136  # Check for GNU $ac_path_SED
4137case `"$ac_path_SED" --version 2>&1` in
4138*GNU*)
4139  ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4140*)
4141  ac_count=0
4142  $as_echo_n 0123456789 >"conftest.in"
4143  while :
4144  do
4145    cat "conftest.in" "conftest.in" >"conftest.tmp"
4146    mv "conftest.tmp" "conftest.in"
4147    cp "conftest.in" "conftest.nl"
4148    $as_echo '' >> "conftest.nl"
4149    "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4150    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4151    as_fn_arith $ac_count + 1 && ac_count=$as_val
4152    if test $ac_count -gt ${ac_path_SED_max-0}; then
4153      # Best one so far, save it but keep looking for a better one
4154      ac_cv_path_SED="$ac_path_SED"
4155      ac_path_SED_max=$ac_count
4156    fi
4157    # 10*(2^10) chars as input seems more than enough
4158    test $ac_count -gt 10 && break
4159  done
4160  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4161esac
4162
4163      $ac_path_SED_found && break 3
4164    done
4165  done
4166  done
4167IFS=$as_save_IFS
4168  if test -z "$ac_cv_path_SED"; then
4169    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4170  fi
4171else
4172  ac_cv_path_SED=$SED
4173fi
4174
4175fi
4176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4177$as_echo "$ac_cv_path_SED" >&6; }
4178 SED="$ac_cv_path_SED"
4179  rm -f conftest.sed
4180
4181test -z "$SED" && SED=sed
4182Xsed="$SED -e 1s/^X//"
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4195$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4196if ${ac_cv_path_GREP+:} false; then :
4197  $as_echo_n "(cached) " >&6
4198else
4199  if test -z "$GREP"; then
4200  ac_path_GREP_found=false
4201  # Loop through the user's path and test for each of PROGNAME-LIST
4202  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4204do
4205  IFS=$as_save_IFS
4206  test -z "$as_dir" && as_dir=.
4207    for ac_prog in grep ggrep; do
4208    for ac_exec_ext in '' $ac_executable_extensions; do
4209      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4210      as_fn_executable_p "$ac_path_GREP" || continue
4211# Check for GNU ac_path_GREP and select it if it is found.
4212  # Check for GNU $ac_path_GREP
4213case `"$ac_path_GREP" --version 2>&1` in
4214*GNU*)
4215  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4216*)
4217  ac_count=0
4218  $as_echo_n 0123456789 >"conftest.in"
4219  while :
4220  do
4221    cat "conftest.in" "conftest.in" >"conftest.tmp"
4222    mv "conftest.tmp" "conftest.in"
4223    cp "conftest.in" "conftest.nl"
4224    $as_echo 'GREP' >> "conftest.nl"
4225    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4226    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4227    as_fn_arith $ac_count + 1 && ac_count=$as_val
4228    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4229      # Best one so far, save it but keep looking for a better one
4230      ac_cv_path_GREP="$ac_path_GREP"
4231      ac_path_GREP_max=$ac_count
4232    fi
4233    # 10*(2^10) chars as input seems more than enough
4234    test $ac_count -gt 10 && break
4235  done
4236  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4237esac
4238
4239      $ac_path_GREP_found && break 3
4240    done
4241  done
4242  done
4243IFS=$as_save_IFS
4244  if test -z "$ac_cv_path_GREP"; then
4245    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4246  fi
4247else
4248  ac_cv_path_GREP=$GREP
4249fi
4250
4251fi
4252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4253$as_echo "$ac_cv_path_GREP" >&6; }
4254 GREP="$ac_cv_path_GREP"
4255
4256
4257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4258$as_echo_n "checking for egrep... " >&6; }
4259if ${ac_cv_path_EGREP+:} false; then :
4260  $as_echo_n "(cached) " >&6
4261else
4262  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4263   then ac_cv_path_EGREP="$GREP -E"
4264   else
4265     if test -z "$EGREP"; then
4266  ac_path_EGREP_found=false
4267  # Loop through the user's path and test for each of PROGNAME-LIST
4268  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4269for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4270do
4271  IFS=$as_save_IFS
4272  test -z "$as_dir" && as_dir=.
4273    for ac_prog in egrep; do
4274    for ac_exec_ext in '' $ac_executable_extensions; do
4275      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4276      as_fn_executable_p "$ac_path_EGREP" || continue
4277# Check for GNU ac_path_EGREP and select it if it is found.
4278  # Check for GNU $ac_path_EGREP
4279case `"$ac_path_EGREP" --version 2>&1` in
4280*GNU*)
4281  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4282*)
4283  ac_count=0
4284  $as_echo_n 0123456789 >"conftest.in"
4285  while :
4286  do
4287    cat "conftest.in" "conftest.in" >"conftest.tmp"
4288    mv "conftest.tmp" "conftest.in"
4289    cp "conftest.in" "conftest.nl"
4290    $as_echo 'EGREP' >> "conftest.nl"
4291    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4292    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4293    as_fn_arith $ac_count + 1 && ac_count=$as_val
4294    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4295      # Best one so far, save it but keep looking for a better one
4296      ac_cv_path_EGREP="$ac_path_EGREP"
4297      ac_path_EGREP_max=$ac_count
4298    fi
4299    # 10*(2^10) chars as input seems more than enough
4300    test $ac_count -gt 10 && break
4301  done
4302  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4303esac
4304
4305      $ac_path_EGREP_found && break 3
4306    done
4307  done
4308  done
4309IFS=$as_save_IFS
4310  if test -z "$ac_cv_path_EGREP"; then
4311    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4312  fi
4313else
4314  ac_cv_path_EGREP=$EGREP
4315fi
4316
4317   fi
4318fi
4319{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4320$as_echo "$ac_cv_path_EGREP" >&6; }
4321 EGREP="$ac_cv_path_EGREP"
4322
4323
4324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
4325$as_echo_n "checking for fgrep... " >&6; }
4326if ${ac_cv_path_FGREP+:} false; then :
4327  $as_echo_n "(cached) " >&6
4328else
4329  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
4330   then ac_cv_path_FGREP="$GREP -F"
4331   else
4332     if test -z "$FGREP"; then
4333  ac_path_FGREP_found=false
4334  # Loop through the user's path and test for each of PROGNAME-LIST
4335  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4337do
4338  IFS=$as_save_IFS
4339  test -z "$as_dir" && as_dir=.
4340    for ac_prog in fgrep; do
4341    for ac_exec_ext in '' $ac_executable_extensions; do
4342      ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
4343      as_fn_executable_p "$ac_path_FGREP" || continue
4344# Check for GNU ac_path_FGREP and select it if it is found.
4345  # Check for GNU $ac_path_FGREP
4346case `"$ac_path_FGREP" --version 2>&1` in
4347*GNU*)
4348  ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
4349*)
4350  ac_count=0
4351  $as_echo_n 0123456789 >"conftest.in"
4352  while :
4353  do
4354    cat "conftest.in" "conftest.in" >"conftest.tmp"
4355    mv "conftest.tmp" "conftest.in"
4356    cp "conftest.in" "conftest.nl"
4357    $as_echo 'FGREP' >> "conftest.nl"
4358    "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
4359    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4360    as_fn_arith $ac_count + 1 && ac_count=$as_val
4361    if test $ac_count -gt ${ac_path_FGREP_max-0}; then
4362      # Best one so far, save it but keep looking for a better one
4363      ac_cv_path_FGREP="$ac_path_FGREP"
4364      ac_path_FGREP_max=$ac_count
4365    fi
4366    # 10*(2^10) chars as input seems more than enough
4367    test $ac_count -gt 10 && break
4368  done
4369  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4370esac
4371
4372      $ac_path_FGREP_found && break 3
4373    done
4374  done
4375  done
4376IFS=$as_save_IFS
4377  if test -z "$ac_cv_path_FGREP"; then
4378    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4379  fi
4380else
4381  ac_cv_path_FGREP=$FGREP
4382fi
4383
4384   fi
4385fi
4386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
4387$as_echo "$ac_cv_path_FGREP" >&6; }
4388 FGREP="$ac_cv_path_FGREP"
4389
4390
4391test -z "$GREP" && GREP=grep
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411# Check whether --with-gnu-ld was given.
4412if test "${with_gnu_ld+set}" = set; then :
4413  withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
4414else
4415  with_gnu_ld=no
4416fi
4417
4418ac_prog=ld
4419if test yes = "$GCC"; then
4420  # Check if gcc -print-prog-name=ld gives a path.
4421  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
4422$as_echo_n "checking for ld used by $CC... " >&6; }
4423  case $host in
4424  *-*-mingw*)
4425    # gcc leaves a trailing carriage return, which upsets mingw
4426    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4427  *)
4428    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4429  esac
4430  case $ac_prog in
4431    # Accept absolute paths.
4432    [\\/]* | ?:[\\/]*)
4433      re_direlt='/[^/][^/]*/\.\./'
4434      # Canonicalize the pathname of ld
4435      ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4436      while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4437	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4438      done
4439      test -z "$LD" && LD=$ac_prog
4440      ;;
4441  "")
4442    # If it fails, then pretend we aren't using GCC.
4443    ac_prog=ld
4444    ;;
4445  *)
4446    # If it is relative, then search for the first ld in PATH.
4447    with_gnu_ld=unknown
4448    ;;
4449  esac
4450elif test yes = "$with_gnu_ld"; then
4451  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
4452$as_echo_n "checking for GNU ld... " >&6; }
4453else
4454  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
4455$as_echo_n "checking for non-GNU ld... " >&6; }
4456fi
4457if ${lt_cv_path_LD+:} false; then :
4458  $as_echo_n "(cached) " >&6
4459else
4460  if test -z "$LD"; then
4461  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4462  for ac_dir in $PATH; do
4463    IFS=$lt_save_ifs
4464    test -z "$ac_dir" && ac_dir=.
4465    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4466      lt_cv_path_LD=$ac_dir/$ac_prog
4467      # Check to see if the program is GNU ld.  I'd rather use --version,
4468      # but apparently some variants of GNU ld only accept -v.
4469      # Break only if it was the GNU/non-GNU ld that we prefer.
4470      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4471      *GNU* | *'with BFD'*)
4472	test no != "$with_gnu_ld" && break
4473	;;
4474      *)
4475	test yes != "$with_gnu_ld" && break
4476	;;
4477      esac
4478    fi
4479  done
4480  IFS=$lt_save_ifs
4481else
4482  lt_cv_path_LD=$LD # Let the user override the test with a path.
4483fi
4484fi
4485
4486LD=$lt_cv_path_LD
4487if test -n "$LD"; then
4488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
4489$as_echo "$LD" >&6; }
4490else
4491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4492$as_echo "no" >&6; }
4493fi
4494test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
4495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
4496$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
4497if ${lt_cv_prog_gnu_ld+:} false; then :
4498  $as_echo_n "(cached) " >&6
4499else
4500  # I'd rather use --version here, but apparently some GNU lds only accept -v.
4501case `$LD -v 2>&1 </dev/null` in
4502*GNU* | *'with BFD'*)
4503  lt_cv_prog_gnu_ld=yes
4504  ;;
4505*)
4506  lt_cv_prog_gnu_ld=no
4507  ;;
4508esac
4509fi
4510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
4511$as_echo "$lt_cv_prog_gnu_ld" >&6; }
4512with_gnu_ld=$lt_cv_prog_gnu_ld
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
4523$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
4524if ${lt_cv_path_NM+:} false; then :
4525  $as_echo_n "(cached) " >&6
4526else
4527  if test -n "$NM"; then
4528  # Let the user override the test.
4529  lt_cv_path_NM=$NM
4530else
4531  lt_nm_to_check=${ac_tool_prefix}nm
4532  if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4533    lt_nm_to_check="$lt_nm_to_check nm"
4534  fi
4535  for lt_tmp_nm in $lt_nm_to_check; do
4536    lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
4537    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4538      IFS=$lt_save_ifs
4539      test -z "$ac_dir" && ac_dir=.
4540      tmp_nm=$ac_dir/$lt_tmp_nm
4541      if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
4542	# Check to see if the nm accepts a BSD-compat flag.
4543	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
4544	#   nm: unknown option "B" ignored
4545	# Tru64's nm complains that /dev/null is an invalid object file
4546	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
4547	case $build_os in
4548	mingw*) lt_bad_file=conftest.nm/nofile ;;
4549	*) lt_bad_file=/dev/null ;;
4550	esac
4551	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
4552	*$lt_bad_file* | *'Invalid file or object type'*)
4553	  lt_cv_path_NM="$tmp_nm -B"
4554	  break 2
4555	  ;;
4556	*)
4557	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4558	  */dev/null*)
4559	    lt_cv_path_NM="$tmp_nm -p"
4560	    break 2
4561	    ;;
4562	  *)
4563	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4564	    continue # so that we can try to find one that supports BSD flags
4565	    ;;
4566	  esac
4567	  ;;
4568	esac
4569      fi
4570    done
4571    IFS=$lt_save_ifs
4572  done
4573  : ${lt_cv_path_NM=no}
4574fi
4575fi
4576{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
4577$as_echo "$lt_cv_path_NM" >&6; }
4578if test no != "$lt_cv_path_NM"; then
4579  NM=$lt_cv_path_NM
4580else
4581  # Didn't find any BSD compatible name lister, look for dumpbin.
4582  if test -n "$DUMPBIN"; then :
4583    # Let the user override the test.
4584  else
4585    if test -n "$ac_tool_prefix"; then
4586  for ac_prog in dumpbin "link -dump"
4587  do
4588    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4589set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4591$as_echo_n "checking for $ac_word... " >&6; }
4592if ${ac_cv_prog_DUMPBIN+:} false; then :
4593  $as_echo_n "(cached) " >&6
4594else
4595  if test -n "$DUMPBIN"; then
4596  ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4597else
4598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4599for as_dir in $PATH
4600do
4601  IFS=$as_save_IFS
4602  test -z "$as_dir" && as_dir=.
4603    for ac_exec_ext in '' $ac_executable_extensions; do
4604  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4605    ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4606    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4607    break 2
4608  fi
4609done
4610  done
4611IFS=$as_save_IFS
4612
4613fi
4614fi
4615DUMPBIN=$ac_cv_prog_DUMPBIN
4616if test -n "$DUMPBIN"; then
4617  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
4618$as_echo "$DUMPBIN" >&6; }
4619else
4620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4621$as_echo "no" >&6; }
4622fi
4623
4624
4625    test -n "$DUMPBIN" && break
4626  done
4627fi
4628if test -z "$DUMPBIN"; then
4629  ac_ct_DUMPBIN=$DUMPBIN
4630  for ac_prog in dumpbin "link -dump"
4631do
4632  # Extract the first word of "$ac_prog", so it can be a program name with args.
4633set dummy $ac_prog; ac_word=$2
4634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4635$as_echo_n "checking for $ac_word... " >&6; }
4636if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
4637  $as_echo_n "(cached) " >&6
4638else
4639  if test -n "$ac_ct_DUMPBIN"; then
4640  ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4641else
4642as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4643for as_dir in $PATH
4644do
4645  IFS=$as_save_IFS
4646  test -z "$as_dir" && as_dir=.
4647    for ac_exec_ext in '' $ac_executable_extensions; do
4648  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4649    ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4650    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651    break 2
4652  fi
4653done
4654  done
4655IFS=$as_save_IFS
4656
4657fi
4658fi
4659ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4660if test -n "$ac_ct_DUMPBIN"; then
4661  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
4662$as_echo "$ac_ct_DUMPBIN" >&6; }
4663else
4664  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4665$as_echo "no" >&6; }
4666fi
4667
4668
4669  test -n "$ac_ct_DUMPBIN" && break
4670done
4671
4672  if test "x$ac_ct_DUMPBIN" = x; then
4673    DUMPBIN=":"
4674  else
4675    case $cross_compiling:$ac_tool_warned in
4676yes:)
4677{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4678$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4679ac_tool_warned=yes ;;
4680esac
4681    DUMPBIN=$ac_ct_DUMPBIN
4682  fi
4683fi
4684
4685    case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
4686    *COFF*)
4687      DUMPBIN="$DUMPBIN -symbols -headers"
4688      ;;
4689    *)
4690      DUMPBIN=:
4691      ;;
4692    esac
4693  fi
4694
4695  if test : != "$DUMPBIN"; then
4696    NM=$DUMPBIN
4697  fi
4698fi
4699test -z "$NM" && NM=nm
4700
4701
4702
4703
4704
4705
4706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
4707$as_echo_n "checking the name lister ($NM) interface... " >&6; }
4708if ${lt_cv_nm_interface+:} false; then :
4709  $as_echo_n "(cached) " >&6
4710else
4711  lt_cv_nm_interface="BSD nm"
4712  echo "int some_variable = 0;" > conftest.$ac_ext
4713  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
4714  (eval "$ac_compile" 2>conftest.err)
4715  cat conftest.err >&5
4716  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4717  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4718  cat conftest.err >&5
4719  (eval echo "\"\$as_me:$LINENO: output\"" >&5)
4720  cat conftest.out >&5
4721  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4722    lt_cv_nm_interface="MS dumpbin"
4723  fi
4724  rm -f conftest*
4725fi
4726{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
4727$as_echo "$lt_cv_nm_interface" >&6; }
4728
4729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4730$as_echo_n "checking whether ln -s works... " >&6; }
4731LN_S=$as_ln_s
4732if test "$LN_S" = "ln -s"; then
4733  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4734$as_echo "yes" >&6; }
4735else
4736  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4737$as_echo "no, using $LN_S" >&6; }
4738fi
4739
4740# find the maximum length of command line arguments
4741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
4742$as_echo_n "checking the maximum length of command line arguments... " >&6; }
4743if ${lt_cv_sys_max_cmd_len+:} false; then :
4744  $as_echo_n "(cached) " >&6
4745else
4746    i=0
4747  teststring=ABCD
4748
4749  case $build_os in
4750  msdosdjgpp*)
4751    # On DJGPP, this test can blow up pretty badly due to problems in libc
4752    # (any single argument exceeding 2000 bytes causes a buffer overrun
4753    # during glob expansion).  Even if it were fixed, the result of this
4754    # check would be larger than it should be.
4755    lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4756    ;;
4757
4758  gnu*)
4759    # Under GNU Hurd, this test is not required because there is
4760    # no limit to the length of command line arguments.
4761    # Libtool will interpret -1 as no limit whatsoever
4762    lt_cv_sys_max_cmd_len=-1;
4763    ;;
4764
4765  cygwin* | mingw* | cegcc*)
4766    # On Win9x/ME, this test blows up -- it succeeds, but takes
4767    # about 5 minutes as the teststring grows exponentially.
4768    # Worse, since 9x/ME are not pre-emptively multitasking,
4769    # you end up with a "frozen" computer, even though with patience
4770    # the test eventually succeeds (with a max line length of 256k).
4771    # Instead, let's just punt: use the minimum linelength reported by
4772    # all of the supported platforms: 8192 (on NT/2K/XP).
4773    lt_cv_sys_max_cmd_len=8192;
4774    ;;
4775
4776  mint*)
4777    # On MiNT this can take a long time and run out of memory.
4778    lt_cv_sys_max_cmd_len=8192;
4779    ;;
4780
4781  amigaos*)
4782    # On AmigaOS with pdksh, this test takes hours, literally.
4783    # So we just punt and use a minimum line length of 8192.
4784    lt_cv_sys_max_cmd_len=8192;
4785    ;;
4786
4787  bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
4788    # This has been around since 386BSD, at least.  Likely further.
4789    if test -x /sbin/sysctl; then
4790      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4791    elif test -x /usr/sbin/sysctl; then
4792      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4793    else
4794      lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
4795    fi
4796    # And add a safety zone
4797    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4798    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4799    ;;
4800
4801  interix*)
4802    # We know the value 262144 and hardcode it with a safety zone (like BSD)
4803    lt_cv_sys_max_cmd_len=196608
4804    ;;
4805
4806  os2*)
4807    # The test takes a long time on OS/2.
4808    lt_cv_sys_max_cmd_len=8192
4809    ;;
4810
4811  osf*)
4812    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4813    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4814    # nice to cause kernel panics so lets avoid the loop below.
4815    # First set a reasonable default.
4816    lt_cv_sys_max_cmd_len=16384
4817    #
4818    if test -x /sbin/sysconfig; then
4819      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4820        *1*) lt_cv_sys_max_cmd_len=-1 ;;
4821      esac
4822    fi
4823    ;;
4824  sco3.2v5*)
4825    lt_cv_sys_max_cmd_len=102400
4826    ;;
4827  sysv5* | sco5v6* | sysv4.2uw2*)
4828    kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4829    if test -n "$kargmax"; then
4830      lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
4831    else
4832      lt_cv_sys_max_cmd_len=32768
4833    fi
4834    ;;
4835  *)
4836    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4837    if test -n "$lt_cv_sys_max_cmd_len" && \
4838       test undefined != "$lt_cv_sys_max_cmd_len"; then
4839      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4840      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4841    else
4842      # Make teststring a little bigger before we do anything with it.
4843      # a 1K string should be a reasonable start.
4844      for i in 1 2 3 4 5 6 7 8; do
4845        teststring=$teststring$teststring
4846      done
4847      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4848      # If test is not a shell built-in, we'll probably end up computing a
4849      # maximum length that is only half of the actual maximum length, but
4850      # we can't tell.
4851      while { test X`env echo "$teststring$teststring" 2>/dev/null` \
4852	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
4853	      test 17 != "$i" # 1/2 MB should be enough
4854      do
4855        i=`expr $i + 1`
4856        teststring=$teststring$teststring
4857      done
4858      # Only check the string length outside the loop.
4859      lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4860      teststring=
4861      # Add a significant safety factor because C++ compilers can tack on
4862      # massive amounts of additional arguments before passing them to the
4863      # linker.  It appears as though 1/2 is a usable value.
4864      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4865    fi
4866    ;;
4867  esac
4868
4869fi
4870
4871if test -n "$lt_cv_sys_max_cmd_len"; then
4872  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
4873$as_echo "$lt_cv_sys_max_cmd_len" >&6; }
4874else
4875  { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
4876$as_echo "none" >&6; }
4877fi
4878max_cmd_len=$lt_cv_sys_max_cmd_len
4879
4880
4881
4882
4883
4884
4885: ${CP="cp -f"}
4886: ${MV="mv -f"}
4887: ${RM="rm -f"}
4888
4889if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4890  lt_unset=unset
4891else
4892  lt_unset=false
4893fi
4894
4895
4896
4897
4898
4899# test EBCDIC or ASCII
4900case `echo X|tr X '\101'` in
4901 A) # ASCII based system
4902    # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4903  lt_SP2NL='tr \040 \012'
4904  lt_NL2SP='tr \015\012 \040\040'
4905  ;;
4906 *) # EBCDIC based system
4907  lt_SP2NL='tr \100 \n'
4908  lt_NL2SP='tr \r\n \100\100'
4909  ;;
4910esac
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
4921$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
4922if ${lt_cv_to_host_file_cmd+:} false; then :
4923  $as_echo_n "(cached) " >&6
4924else
4925  case $host in
4926  *-*-mingw* )
4927    case $build in
4928      *-*-mingw* ) # actually msys
4929        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
4930        ;;
4931      *-*-cygwin* )
4932        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
4933        ;;
4934      * ) # otherwise, assume *nix
4935        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
4936        ;;
4937    esac
4938    ;;
4939  *-*-cygwin* )
4940    case $build in
4941      *-*-mingw* ) # actually msys
4942        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
4943        ;;
4944      *-*-cygwin* )
4945        lt_cv_to_host_file_cmd=func_convert_file_noop
4946        ;;
4947      * ) # otherwise, assume *nix
4948        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
4949        ;;
4950    esac
4951    ;;
4952  * ) # unhandled hosts (and "normal" native builds)
4953    lt_cv_to_host_file_cmd=func_convert_file_noop
4954    ;;
4955esac
4956
4957fi
4958
4959to_host_file_cmd=$lt_cv_to_host_file_cmd
4960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
4961$as_echo "$lt_cv_to_host_file_cmd" >&6; }
4962
4963
4964
4965
4966
4967{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
4968$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
4969if ${lt_cv_to_tool_file_cmd+:} false; then :
4970  $as_echo_n "(cached) " >&6
4971else
4972  #assume ordinary cross tools, or native build.
4973lt_cv_to_tool_file_cmd=func_convert_file_noop
4974case $host in
4975  *-*-mingw* )
4976    case $build in
4977      *-*-mingw* ) # actually msys
4978        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
4979        ;;
4980    esac
4981    ;;
4982esac
4983
4984fi
4985
4986to_tool_file_cmd=$lt_cv_to_tool_file_cmd
4987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
4988$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
4989
4990
4991
4992
4993
4994{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
4995$as_echo_n "checking for $LD option to reload object files... " >&6; }
4996if ${lt_cv_ld_reload_flag+:} false; then :
4997  $as_echo_n "(cached) " >&6
4998else
4999  lt_cv_ld_reload_flag='-r'
5000fi
5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
5002$as_echo "$lt_cv_ld_reload_flag" >&6; }
5003reload_flag=$lt_cv_ld_reload_flag
5004case $reload_flag in
5005"" | " "*) ;;
5006*) reload_flag=" $reload_flag" ;;
5007esac
5008reload_cmds='$LD$reload_flag -o $output$reload_objs'
5009case $host_os in
5010  cygwin* | mingw* | pw32* | cegcc*)
5011    if test yes != "$GCC"; then
5012      reload_cmds=false
5013    fi
5014    ;;
5015  darwin*)
5016    if test yes = "$GCC"; then
5017      reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
5018    else
5019      reload_cmds='$LD$reload_flag -o $output$reload_objs'
5020    fi
5021    ;;
5022esac
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032if test -n "$ac_tool_prefix"; then
5033  # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
5034set dummy ${ac_tool_prefix}objdump; ac_word=$2
5035{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5036$as_echo_n "checking for $ac_word... " >&6; }
5037if ${ac_cv_prog_OBJDUMP+:} false; then :
5038  $as_echo_n "(cached) " >&6
5039else
5040  if test -n "$OBJDUMP"; then
5041  ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
5042else
5043as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5044for as_dir in $PATH
5045do
5046  IFS=$as_save_IFS
5047  test -z "$as_dir" && as_dir=.
5048    for ac_exec_ext in '' $ac_executable_extensions; do
5049  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5050    ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
5051    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5052    break 2
5053  fi
5054done
5055  done
5056IFS=$as_save_IFS
5057
5058fi
5059fi
5060OBJDUMP=$ac_cv_prog_OBJDUMP
5061if test -n "$OBJDUMP"; then
5062  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
5063$as_echo "$OBJDUMP" >&6; }
5064else
5065  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5066$as_echo "no" >&6; }
5067fi
5068
5069
5070fi
5071if test -z "$ac_cv_prog_OBJDUMP"; then
5072  ac_ct_OBJDUMP=$OBJDUMP
5073  # Extract the first word of "objdump", so it can be a program name with args.
5074set dummy objdump; ac_word=$2
5075{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076$as_echo_n "checking for $ac_word... " >&6; }
5077if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5078  $as_echo_n "(cached) " >&6
5079else
5080  if test -n "$ac_ct_OBJDUMP"; then
5081  ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
5082else
5083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5084for as_dir in $PATH
5085do
5086  IFS=$as_save_IFS
5087  test -z "$as_dir" && as_dir=.
5088    for ac_exec_ext in '' $ac_executable_extensions; do
5089  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5090    ac_cv_prog_ac_ct_OBJDUMP="objdump"
5091    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092    break 2
5093  fi
5094done
5095  done
5096IFS=$as_save_IFS
5097
5098fi
5099fi
5100ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
5101if test -n "$ac_ct_OBJDUMP"; then
5102  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
5103$as_echo "$ac_ct_OBJDUMP" >&6; }
5104else
5105  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5106$as_echo "no" >&6; }
5107fi
5108
5109  if test "x$ac_ct_OBJDUMP" = x; then
5110    OBJDUMP="false"
5111  else
5112    case $cross_compiling:$ac_tool_warned in
5113yes:)
5114{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5115$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5116ac_tool_warned=yes ;;
5117esac
5118    OBJDUMP=$ac_ct_OBJDUMP
5119  fi
5120else
5121  OBJDUMP="$ac_cv_prog_OBJDUMP"
5122fi
5123
5124test -z "$OBJDUMP" && OBJDUMP=objdump
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5135$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5136if ${lt_cv_deplibs_check_method+:} false; then :
5137  $as_echo_n "(cached) " >&6
5138else
5139  lt_cv_file_magic_cmd='$MAGIC_CMD'
5140lt_cv_file_magic_test_file=
5141lt_cv_deplibs_check_method='unknown'
5142# Need to set the preceding variable on all platforms that support
5143# interlibrary dependencies.
5144# 'none' -- dependencies not supported.
5145# 'unknown' -- same as none, but documents that we really don't know.
5146# 'pass_all' -- all dependencies passed with no checks.
5147# 'test_compile' -- check by making test program.
5148# 'file_magic [[regex]]' -- check by looking for files in library path
5149# that responds to the $file_magic_cmd with a given extended regex.
5150# If you have 'file' or equivalent on your system and you're not sure
5151# whether 'pass_all' will *always* work, you probably want this one.
5152
5153case $host_os in
5154aix[4-9]*)
5155  lt_cv_deplibs_check_method=pass_all
5156  ;;
5157
5158beos*)
5159  lt_cv_deplibs_check_method=pass_all
5160  ;;
5161
5162bsdi[45]*)
5163  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
5164  lt_cv_file_magic_cmd='/usr/bin/file -L'
5165  lt_cv_file_magic_test_file=/shlib/libc.so
5166  ;;
5167
5168cygwin*)
5169  # func_win32_libid is a shell function defined in ltmain.sh
5170  lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5171  lt_cv_file_magic_cmd='func_win32_libid'
5172  ;;
5173
5174mingw* | pw32*)
5175  # Base MSYS/MinGW do not provide the 'file' command needed by
5176  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5177  # unless we find 'file', for example because we are cross-compiling.
5178  if ( file / ) >/dev/null 2>&1; then
5179    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5180    lt_cv_file_magic_cmd='func_win32_libid'
5181  else
5182    # Keep this pattern in sync with the one in func_win32_libid.
5183    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5184    lt_cv_file_magic_cmd='$OBJDUMP -f'
5185  fi
5186  ;;
5187
5188cegcc*)
5189  # use the weaker test based on 'objdump'. See mingw*.
5190  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5191  lt_cv_file_magic_cmd='$OBJDUMP -f'
5192  ;;
5193
5194darwin* | rhapsody*)
5195  lt_cv_deplibs_check_method=pass_all
5196  ;;
5197
5198freebsd* | dragonfly*)
5199  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5200    case $host_cpu in
5201    i*86 )
5202      # Not sure whether the presence of OpenBSD here was a mistake.
5203      # Let's accept both of them until this is cleared up.
5204      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
5205      lt_cv_file_magic_cmd=/usr/bin/file
5206      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
5207      ;;
5208    esac
5209  else
5210    lt_cv_deplibs_check_method=pass_all
5211  fi
5212  ;;
5213
5214haiku*)
5215  lt_cv_deplibs_check_method=pass_all
5216  ;;
5217
5218hpux10.20* | hpux11*)
5219  lt_cv_file_magic_cmd=/usr/bin/file
5220  case $host_cpu in
5221  ia64*)
5222    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5223    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5224    ;;
5225  hppa*64*)
5226    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]'
5227    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5228    ;;
5229  *)
5230    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
5231    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5232    ;;
5233  esac
5234  ;;
5235
5236interix[3-9]*)
5237  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5238  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5239  ;;
5240
5241irix5* | irix6* | nonstopux*)
5242  case $LD in
5243  *-32|*"-32 ") libmagic=32-bit;;
5244  *-n32|*"-n32 ") libmagic=N32;;
5245  *-64|*"-64 ") libmagic=64-bit;;
5246  *) libmagic=never-match;;
5247  esac
5248  lt_cv_deplibs_check_method=pass_all
5249  ;;
5250
5251# This must be glibc/ELF.
5252linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
5253  lt_cv_deplibs_check_method=pass_all
5254  ;;
5255
5256netbsd*)
5257  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5258    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5259  else
5260    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5261  fi
5262  ;;
5263
5264newos6*)
5265  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5266  lt_cv_file_magic_cmd=/usr/bin/file
5267  lt_cv_file_magic_test_file=/usr/lib/libnls.so
5268  ;;
5269
5270*nto* | *qnx*)
5271  lt_cv_deplibs_check_method=pass_all
5272  ;;
5273
5274openbsd* | bitrig*)
5275  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
5276    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5277  else
5278    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5279  fi
5280  ;;
5281
5282osf3* | osf4* | osf5*)
5283  lt_cv_deplibs_check_method=pass_all
5284  ;;
5285
5286rdos*)
5287  lt_cv_deplibs_check_method=pass_all
5288  ;;
5289
5290solaris*)
5291  lt_cv_deplibs_check_method=pass_all
5292  ;;
5293
5294sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5295  lt_cv_deplibs_check_method=pass_all
5296  ;;
5297
5298sysv4 | sysv4.3*)
5299  case $host_vendor in
5300  motorola)
5301    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]'
5302    lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5303    ;;
5304  ncr)
5305    lt_cv_deplibs_check_method=pass_all
5306    ;;
5307  sequent)
5308    lt_cv_file_magic_cmd='/bin/file'
5309    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5310    ;;
5311  sni)
5312    lt_cv_file_magic_cmd='/bin/file'
5313    lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5314    lt_cv_file_magic_test_file=/lib/libc.so
5315    ;;
5316  siemens)
5317    lt_cv_deplibs_check_method=pass_all
5318    ;;
5319  pc)
5320    lt_cv_deplibs_check_method=pass_all
5321    ;;
5322  esac
5323  ;;
5324
5325tpf*)
5326  lt_cv_deplibs_check_method=pass_all
5327  ;;
5328os2*)
5329  lt_cv_deplibs_check_method=pass_all
5330  ;;
5331esac
5332
5333fi
5334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
5335$as_echo "$lt_cv_deplibs_check_method" >&6; }
5336
5337file_magic_glob=
5338want_nocaseglob=no
5339if test "$build" = "$host"; then
5340  case $host_os in
5341  mingw* | pw32*)
5342    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
5343      want_nocaseglob=yes
5344    else
5345      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
5346    fi
5347    ;;
5348  esac
5349fi
5350
5351file_magic_cmd=$lt_cv_file_magic_cmd
5352deplibs_check_method=$lt_cv_deplibs_check_method
5353test -z "$deplibs_check_method" && deplibs_check_method=unknown
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376if test -n "$ac_tool_prefix"; then
5377  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
5378set dummy ${ac_tool_prefix}dlltool; ac_word=$2
5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5380$as_echo_n "checking for $ac_word... " >&6; }
5381if ${ac_cv_prog_DLLTOOL+:} false; then :
5382  $as_echo_n "(cached) " >&6
5383else
5384  if test -n "$DLLTOOL"; then
5385  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
5386else
5387as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5388for as_dir in $PATH
5389do
5390  IFS=$as_save_IFS
5391  test -z "$as_dir" && as_dir=.
5392    for ac_exec_ext in '' $ac_executable_extensions; do
5393  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5394    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
5395    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396    break 2
5397  fi
5398done
5399  done
5400IFS=$as_save_IFS
5401
5402fi
5403fi
5404DLLTOOL=$ac_cv_prog_DLLTOOL
5405if test -n "$DLLTOOL"; then
5406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
5407$as_echo "$DLLTOOL" >&6; }
5408else
5409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5410$as_echo "no" >&6; }
5411fi
5412
5413
5414fi
5415if test -z "$ac_cv_prog_DLLTOOL"; then
5416  ac_ct_DLLTOOL=$DLLTOOL
5417  # Extract the first word of "dlltool", so it can be a program name with args.
5418set dummy dlltool; ac_word=$2
5419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5420$as_echo_n "checking for $ac_word... " >&6; }
5421if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
5422  $as_echo_n "(cached) " >&6
5423else
5424  if test -n "$ac_ct_DLLTOOL"; then
5425  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
5426else
5427as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5428for as_dir in $PATH
5429do
5430  IFS=$as_save_IFS
5431  test -z "$as_dir" && as_dir=.
5432    for ac_exec_ext in '' $ac_executable_extensions; do
5433  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5434    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
5435    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5436    break 2
5437  fi
5438done
5439  done
5440IFS=$as_save_IFS
5441
5442fi
5443fi
5444ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
5445if test -n "$ac_ct_DLLTOOL"; then
5446  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
5447$as_echo "$ac_ct_DLLTOOL" >&6; }
5448else
5449  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5450$as_echo "no" >&6; }
5451fi
5452
5453  if test "x$ac_ct_DLLTOOL" = x; then
5454    DLLTOOL="false"
5455  else
5456    case $cross_compiling:$ac_tool_warned in
5457yes:)
5458{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5459$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5460ac_tool_warned=yes ;;
5461esac
5462    DLLTOOL=$ac_ct_DLLTOOL
5463  fi
5464else
5465  DLLTOOL="$ac_cv_prog_DLLTOOL"
5466fi
5467
5468test -z "$DLLTOOL" && DLLTOOL=dlltool
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
5480$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
5481if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
5482  $as_echo_n "(cached) " >&6
5483else
5484  lt_cv_sharedlib_from_linklib_cmd='unknown'
5485
5486case $host_os in
5487cygwin* | mingw* | pw32* | cegcc*)
5488  # two different shell functions defined in ltmain.sh;
5489  # decide which one to use based on capabilities of $DLLTOOL
5490  case `$DLLTOOL --help 2>&1` in
5491  *--identify-strict*)
5492    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
5493    ;;
5494  *)
5495    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
5496    ;;
5497  esac
5498  ;;
5499*)
5500  # fallback: assume linklib IS sharedlib
5501  lt_cv_sharedlib_from_linklib_cmd=$ECHO
5502  ;;
5503esac
5504
5505fi
5506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
5507$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
5508sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
5509test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
5510
5511
5512
5513
5514
5515
5516
5517
5518if test -n "$ac_tool_prefix"; then
5519  for ac_prog in ar
5520  do
5521    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5522set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5524$as_echo_n "checking for $ac_word... " >&6; }
5525if ${ac_cv_prog_AR+:} false; then :
5526  $as_echo_n "(cached) " >&6
5527else
5528  if test -n "$AR"; then
5529  ac_cv_prog_AR="$AR" # Let the user override the test.
5530else
5531as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532for as_dir in $PATH
5533do
5534  IFS=$as_save_IFS
5535  test -z "$as_dir" && as_dir=.
5536    for ac_exec_ext in '' $ac_executable_extensions; do
5537  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5538    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5539    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5540    break 2
5541  fi
5542done
5543  done
5544IFS=$as_save_IFS
5545
5546fi
5547fi
5548AR=$ac_cv_prog_AR
5549if test -n "$AR"; then
5550  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5551$as_echo "$AR" >&6; }
5552else
5553  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5554$as_echo "no" >&6; }
5555fi
5556
5557
5558    test -n "$AR" && break
5559  done
5560fi
5561if test -z "$AR"; then
5562  ac_ct_AR=$AR
5563  for ac_prog in ar
5564do
5565  # Extract the first word of "$ac_prog", so it can be a program name with args.
5566set dummy $ac_prog; ac_word=$2
5567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5568$as_echo_n "checking for $ac_word... " >&6; }
5569if ${ac_cv_prog_ac_ct_AR+:} false; then :
5570  $as_echo_n "(cached) " >&6
5571else
5572  if test -n "$ac_ct_AR"; then
5573  ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5574else
5575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5576for as_dir in $PATH
5577do
5578  IFS=$as_save_IFS
5579  test -z "$as_dir" && as_dir=.
5580    for ac_exec_ext in '' $ac_executable_extensions; do
5581  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5582    ac_cv_prog_ac_ct_AR="$ac_prog"
5583    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5584    break 2
5585  fi
5586done
5587  done
5588IFS=$as_save_IFS
5589
5590fi
5591fi
5592ac_ct_AR=$ac_cv_prog_ac_ct_AR
5593if test -n "$ac_ct_AR"; then
5594  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5595$as_echo "$ac_ct_AR" >&6; }
5596else
5597  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5598$as_echo "no" >&6; }
5599fi
5600
5601
5602  test -n "$ac_ct_AR" && break
5603done
5604
5605  if test "x$ac_ct_AR" = x; then
5606    AR="false"
5607  else
5608    case $cross_compiling:$ac_tool_warned in
5609yes:)
5610{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5611$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5612ac_tool_warned=yes ;;
5613esac
5614    AR=$ac_ct_AR
5615  fi
5616fi
5617
5618: ${AR=ar}
5619: ${AR_FLAGS=cru}
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
5632$as_echo_n "checking for archiver @FILE support... " >&6; }
5633if ${lt_cv_ar_at_file+:} false; then :
5634  $as_echo_n "(cached) " >&6
5635else
5636  lt_cv_ar_at_file=no
5637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5638/* end confdefs.h.  */
5639
5640int
5641main ()
5642{
5643
5644  ;
5645  return 0;
5646}
5647_ACEOF
5648if ac_fn_c_try_compile "$LINENO"; then :
5649  echo conftest.$ac_objext > conftest.lst
5650      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
5651      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5652  (eval $lt_ar_try) 2>&5
5653  ac_status=$?
5654  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5655  test $ac_status = 0; }
5656      if test 0 -eq "$ac_status"; then
5657	# Ensure the archiver fails upon bogus file names.
5658	rm -f conftest.$ac_objext libconftest.a
5659	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
5660  (eval $lt_ar_try) 2>&5
5661  ac_status=$?
5662  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5663  test $ac_status = 0; }
5664	if test 0 -ne "$ac_status"; then
5665          lt_cv_ar_at_file=@
5666        fi
5667      fi
5668      rm -f conftest.* libconftest.a
5669
5670fi
5671rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5672
5673fi
5674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
5675$as_echo "$lt_cv_ar_at_file" >&6; }
5676
5677if test no = "$lt_cv_ar_at_file"; then
5678  archiver_list_spec=
5679else
5680  archiver_list_spec=$lt_cv_ar_at_file
5681fi
5682
5683
5684
5685
5686
5687
5688
5689if test -n "$ac_tool_prefix"; then
5690  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5691set dummy ${ac_tool_prefix}strip; ac_word=$2
5692{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5693$as_echo_n "checking for $ac_word... " >&6; }
5694if ${ac_cv_prog_STRIP+:} false; then :
5695  $as_echo_n "(cached) " >&6
5696else
5697  if test -n "$STRIP"; then
5698  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5699else
5700as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5701for as_dir in $PATH
5702do
5703  IFS=$as_save_IFS
5704  test -z "$as_dir" && as_dir=.
5705    for ac_exec_ext in '' $ac_executable_extensions; do
5706  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5708    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5709    break 2
5710  fi
5711done
5712  done
5713IFS=$as_save_IFS
5714
5715fi
5716fi
5717STRIP=$ac_cv_prog_STRIP
5718if test -n "$STRIP"; then
5719  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5720$as_echo "$STRIP" >&6; }
5721else
5722  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5723$as_echo "no" >&6; }
5724fi
5725
5726
5727fi
5728if test -z "$ac_cv_prog_STRIP"; then
5729  ac_ct_STRIP=$STRIP
5730  # Extract the first word of "strip", so it can be a program name with args.
5731set dummy strip; ac_word=$2
5732{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5733$as_echo_n "checking for $ac_word... " >&6; }
5734if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5735  $as_echo_n "(cached) " >&6
5736else
5737  if test -n "$ac_ct_STRIP"; then
5738  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5739else
5740as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741for as_dir in $PATH
5742do
5743  IFS=$as_save_IFS
5744  test -z "$as_dir" && as_dir=.
5745    for ac_exec_ext in '' $ac_executable_extensions; do
5746  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747    ac_cv_prog_ac_ct_STRIP="strip"
5748    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5749    break 2
5750  fi
5751done
5752  done
5753IFS=$as_save_IFS
5754
5755fi
5756fi
5757ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5758if test -n "$ac_ct_STRIP"; then
5759  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5760$as_echo "$ac_ct_STRIP" >&6; }
5761else
5762  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5763$as_echo "no" >&6; }
5764fi
5765
5766  if test "x$ac_ct_STRIP" = x; then
5767    STRIP=":"
5768  else
5769    case $cross_compiling:$ac_tool_warned in
5770yes:)
5771{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5772$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5773ac_tool_warned=yes ;;
5774esac
5775    STRIP=$ac_ct_STRIP
5776  fi
5777else
5778  STRIP="$ac_cv_prog_STRIP"
5779fi
5780
5781test -z "$STRIP" && STRIP=:
5782
5783
5784
5785
5786
5787
5788if test -n "$ac_tool_prefix"; then
5789  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5790set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5791{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5792$as_echo_n "checking for $ac_word... " >&6; }
5793if ${ac_cv_prog_RANLIB+:} false; then :
5794  $as_echo_n "(cached) " >&6
5795else
5796  if test -n "$RANLIB"; then
5797  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5798else
5799as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5800for as_dir in $PATH
5801do
5802  IFS=$as_save_IFS
5803  test -z "$as_dir" && as_dir=.
5804    for ac_exec_ext in '' $ac_executable_extensions; do
5805  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5806    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5807    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5808    break 2
5809  fi
5810done
5811  done
5812IFS=$as_save_IFS
5813
5814fi
5815fi
5816RANLIB=$ac_cv_prog_RANLIB
5817if test -n "$RANLIB"; then
5818  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5819$as_echo "$RANLIB" >&6; }
5820else
5821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5822$as_echo "no" >&6; }
5823fi
5824
5825
5826fi
5827if test -z "$ac_cv_prog_RANLIB"; then
5828  ac_ct_RANLIB=$RANLIB
5829  # Extract the first word of "ranlib", so it can be a program name with args.
5830set dummy ranlib; ac_word=$2
5831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5832$as_echo_n "checking for $ac_word... " >&6; }
5833if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5834  $as_echo_n "(cached) " >&6
5835else
5836  if test -n "$ac_ct_RANLIB"; then
5837  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5838else
5839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5840for as_dir in $PATH
5841do
5842  IFS=$as_save_IFS
5843  test -z "$as_dir" && as_dir=.
5844    for ac_exec_ext in '' $ac_executable_extensions; do
5845  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5846    ac_cv_prog_ac_ct_RANLIB="ranlib"
5847    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5848    break 2
5849  fi
5850done
5851  done
5852IFS=$as_save_IFS
5853
5854fi
5855fi
5856ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5857if test -n "$ac_ct_RANLIB"; then
5858  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5859$as_echo "$ac_ct_RANLIB" >&6; }
5860else
5861  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5862$as_echo "no" >&6; }
5863fi
5864
5865  if test "x$ac_ct_RANLIB" = x; then
5866    RANLIB=":"
5867  else
5868    case $cross_compiling:$ac_tool_warned in
5869yes:)
5870{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5871$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5872ac_tool_warned=yes ;;
5873esac
5874    RANLIB=$ac_ct_RANLIB
5875  fi
5876else
5877  RANLIB="$ac_cv_prog_RANLIB"
5878fi
5879
5880test -z "$RANLIB" && RANLIB=:
5881
5882
5883
5884
5885
5886
5887# Determine commands to create old-style static archives.
5888old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5889old_postinstall_cmds='chmod 644 $oldlib'
5890old_postuninstall_cmds=
5891
5892if test -n "$RANLIB"; then
5893  case $host_os in
5894  bitrig* | openbsd*)
5895    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
5896    ;;
5897  *)
5898    old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
5899    ;;
5900  esac
5901  old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
5902fi
5903
5904case $host_os in
5905  darwin*)
5906    lock_old_archive_extraction=yes ;;
5907  *)
5908    lock_old_archive_extraction=no ;;
5909esac
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949# If no C compiler was specified, use CC.
5950LTCC=${LTCC-"$CC"}
5951
5952# If no C compiler flags were specified, use CFLAGS.
5953LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5954
5955# Allow CC to be a program name with arguments.
5956compiler=$CC
5957
5958
5959# Check for command to grab the raw symbol name followed by C symbol from nm.
5960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
5961$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
5962if ${lt_cv_sys_global_symbol_pipe+:} false; then :
5963  $as_echo_n "(cached) " >&6
5964else
5965
5966# These are sane defaults that work on at least a few old systems.
5967# [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5968
5969# Character class describing NM global symbol codes.
5970symcode='[BCDEGRST]'
5971
5972# Regexp to match symbols that can be accessed directly from C.
5973sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5974
5975# Define system-specific variables.
5976case $host_os in
5977aix*)
5978  symcode='[BCDT]'
5979  ;;
5980cygwin* | mingw* | pw32* | cegcc*)
5981  symcode='[ABCDGISTW]'
5982  ;;
5983hpux*)
5984  if test ia64 = "$host_cpu"; then
5985    symcode='[ABCDEGRST]'
5986  fi
5987  ;;
5988irix* | nonstopux*)
5989  symcode='[BCDEGRST]'
5990  ;;
5991osf*)
5992  symcode='[BCDEGQRST]'
5993  ;;
5994solaris*)
5995  symcode='[BDRT]'
5996  ;;
5997sco3.2v5*)
5998  symcode='[DT]'
5999  ;;
6000sysv4.2uw2*)
6001  symcode='[DT]'
6002  ;;
6003sysv5* | sco5v6* | unixware* | OpenUNIX*)
6004  symcode='[ABDT]'
6005  ;;
6006sysv4)
6007  symcode='[DFNSTU]'
6008  ;;
6009esac
6010
6011# If we're using GNU nm, then use its standard symbol codes.
6012case `$NM -V 2>&1` in
6013*GNU* | *'with BFD'*)
6014  symcode='[ABCDGIRSTW]' ;;
6015esac
6016
6017if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6018  # Gets list of data symbols to import.
6019  lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
6020  # Adjust the below global symbol transforms to fixup imported variables.
6021  lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
6022  lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
6023  lt_c_name_lib_hook="\
6024  -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
6025  -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
6026else
6027  # Disable hooks by default.
6028  lt_cv_sys_global_symbol_to_import=
6029  lt_cdecl_hook=
6030  lt_c_name_hook=
6031  lt_c_name_lib_hook=
6032fi
6033
6034# Transform an extracted symbol line into a proper C declaration.
6035# Some systems (esp. on ia64) link data and code symbols differently,
6036# so use this general approach.
6037lt_cv_sys_global_symbol_to_cdecl="sed -n"\
6038$lt_cdecl_hook\
6039" -e 's/^T .* \(.*\)$/extern int \1();/p'"\
6040" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
6041
6042# Transform an extracted symbol line into symbol name and symbol address
6043lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
6044$lt_c_name_hook\
6045" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6046" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
6047
6048# Transform an extracted symbol line into symbol name with lib prefix and
6049# symbol address.
6050lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
6051$lt_c_name_lib_hook\
6052" -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
6053" -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
6054" -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
6055
6056# Handle CRLF in mingw tool chain
6057opt_cr=
6058case $build_os in
6059mingw*)
6060  opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6061  ;;
6062esac
6063
6064# Try without a prefix underscore, then with it.
6065for ac_symprfx in "" "_"; do
6066
6067  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6068  symxfrm="\\1 $ac_symprfx\\2 \\2"
6069
6070  # Write the raw and C identifiers.
6071  if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6072    # Fake it for dumpbin and say T for any non-static function,
6073    # D for any global variable and I for any imported variable.
6074    # Also find C++ and __fastcall symbols from MSVC++,
6075    # which start with @ or ?.
6076    lt_cv_sys_global_symbol_pipe="$AWK '"\
6077"     {last_section=section; section=\$ 3};"\
6078"     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
6079"     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6080"     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
6081"     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
6082"     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
6083"     \$ 0!~/External *\|/{next};"\
6084"     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6085"     {if(hide[section]) next};"\
6086"     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
6087"     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
6088"     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
6089"     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
6090"     ' prfx=^$ac_symprfx"
6091  else
6092    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6093  fi
6094  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6095
6096  # Check to see that the pipe works correctly.
6097  pipe_works=no
6098
6099  rm -f conftest*
6100  cat > conftest.$ac_ext <<_LT_EOF
6101#ifdef __cplusplus
6102extern "C" {
6103#endif
6104char nm_test_var;
6105void nm_test_func(void);
6106void nm_test_func(void){}
6107#ifdef __cplusplus
6108}
6109#endif
6110int main(){nm_test_var='a';nm_test_func();return(0);}
6111_LT_EOF
6112
6113  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6114  (eval $ac_compile) 2>&5
6115  ac_status=$?
6116  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6117  test $ac_status = 0; }; then
6118    # Now try to grab the symbols.
6119    nlist=conftest.nm
6120    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6121  (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6122  ac_status=$?
6123  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6124  test $ac_status = 0; } && test -s "$nlist"; then
6125      # Try sorting and uniquifying the output.
6126      if sort "$nlist" | uniq > "$nlist"T; then
6127	mv -f "$nlist"T "$nlist"
6128      else
6129	rm -f "$nlist"T
6130      fi
6131
6132      # Make sure that we snagged all the symbols we need.
6133      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6134	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6135	  cat <<_LT_EOF > conftest.$ac_ext
6136/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
6137#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
6138/* DATA imports from DLLs on WIN32 can't be const, because runtime
6139   relocations are performed -- see ld's documentation on pseudo-relocs.  */
6140# define LT_DLSYM_CONST
6141#elif defined __osf__
6142/* This system does not cope well with relocations in const data.  */
6143# define LT_DLSYM_CONST
6144#else
6145# define LT_DLSYM_CONST const
6146#endif
6147
6148#ifdef __cplusplus
6149extern "C" {
6150#endif
6151
6152_LT_EOF
6153	  # Now generate the symbol file.
6154	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6155
6156	  cat <<_LT_EOF >> conftest.$ac_ext
6157
6158/* The mapping between symbol names and symbols.  */
6159LT_DLSYM_CONST struct {
6160  const char *name;
6161  void       *address;
6162}
6163lt__PROGRAM__LTX_preloaded_symbols[] =
6164{
6165  { "@PROGRAM@", (void *) 0 },
6166_LT_EOF
6167	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6168	  cat <<\_LT_EOF >> conftest.$ac_ext
6169  {0, (void *) 0}
6170};
6171
6172/* This works around a problem in FreeBSD linker */
6173#ifdef FREEBSD_WORKAROUND
6174static const void *lt_preloaded_setup() {
6175  return lt__PROGRAM__LTX_preloaded_symbols;
6176}
6177#endif
6178
6179#ifdef __cplusplus
6180}
6181#endif
6182_LT_EOF
6183	  # Now try linking the two files.
6184	  mv conftest.$ac_objext conftstm.$ac_objext
6185	  lt_globsym_save_LIBS=$LIBS
6186	  lt_globsym_save_CFLAGS=$CFLAGS
6187	  LIBS=conftstm.$ac_objext
6188	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6189	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6190  (eval $ac_link) 2>&5
6191  ac_status=$?
6192  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6193  test $ac_status = 0; } && test -s conftest$ac_exeext; then
6194	    pipe_works=yes
6195	  fi
6196	  LIBS=$lt_globsym_save_LIBS
6197	  CFLAGS=$lt_globsym_save_CFLAGS
6198	else
6199	  echo "cannot find nm_test_func in $nlist" >&5
6200	fi
6201      else
6202	echo "cannot find nm_test_var in $nlist" >&5
6203      fi
6204    else
6205      echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6206    fi
6207  else
6208    echo "$progname: failed program was:" >&5
6209    cat conftest.$ac_ext >&5
6210  fi
6211  rm -rf conftest* conftst*
6212
6213  # Do not use the global_symbol_pipe unless it works.
6214  if test yes = "$pipe_works"; then
6215    break
6216  else
6217    lt_cv_sys_global_symbol_pipe=
6218  fi
6219done
6220
6221fi
6222
6223if test -z "$lt_cv_sys_global_symbol_pipe"; then
6224  lt_cv_sys_global_symbol_to_cdecl=
6225fi
6226if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6228$as_echo "failed" >&6; }
6229else
6230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6231$as_echo "ok" >&6; }
6232fi
6233
6234# Response file support.
6235if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6236  nm_file_list_spec='@'
6237elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
6238  nm_file_list_spec='@'
6239fi
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
6278$as_echo_n "checking for sysroot... " >&6; }
6279
6280# Check whether --with-sysroot was given.
6281if test "${with_sysroot+set}" = set; then :
6282  withval=$with_sysroot;
6283else
6284  with_sysroot=no
6285fi
6286
6287
6288lt_sysroot=
6289case $with_sysroot in #(
6290 yes)
6291   if test yes = "$GCC"; then
6292     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
6293   fi
6294   ;; #(
6295 /*)
6296   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
6297   ;; #(
6298 no|'')
6299   ;; #(
6300 *)
6301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
6302$as_echo "$with_sysroot" >&6; }
6303   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
6304   ;;
6305esac
6306
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
6308$as_echo "${lt_sysroot:-no}" >&6; }
6309
6310
6311
6312
6313
6314{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
6315$as_echo_n "checking for a working dd... " >&6; }
6316if ${ac_cv_path_lt_DD+:} false; then :
6317  $as_echo_n "(cached) " >&6
6318else
6319  printf 0123456789abcdef0123456789abcdef >conftest.i
6320cat conftest.i conftest.i >conftest2.i
6321: ${lt_DD:=$DD}
6322if test -z "$lt_DD"; then
6323  ac_path_lt_DD_found=false
6324  # Loop through the user's path and test for each of PROGNAME-LIST
6325  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326for as_dir in $PATH
6327do
6328  IFS=$as_save_IFS
6329  test -z "$as_dir" && as_dir=.
6330    for ac_prog in dd; do
6331    for ac_exec_ext in '' $ac_executable_extensions; do
6332      ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
6333      as_fn_executable_p "$ac_path_lt_DD" || continue
6334if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6335  cmp -s conftest.i conftest.out \
6336  && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
6337fi
6338      $ac_path_lt_DD_found && break 3
6339    done
6340  done
6341  done
6342IFS=$as_save_IFS
6343  if test -z "$ac_cv_path_lt_DD"; then
6344    :
6345  fi
6346else
6347  ac_cv_path_lt_DD=$lt_DD
6348fi
6349
6350rm -f conftest.i conftest2.i conftest.out
6351fi
6352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
6353$as_echo "$ac_cv_path_lt_DD" >&6; }
6354
6355
6356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
6357$as_echo_n "checking how to truncate binary pipes... " >&6; }
6358if ${lt_cv_truncate_bin+:} false; then :
6359  $as_echo_n "(cached) " >&6
6360else
6361  printf 0123456789abcdef0123456789abcdef >conftest.i
6362cat conftest.i conftest.i >conftest2.i
6363lt_cv_truncate_bin=
6364if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
6365  cmp -s conftest.i conftest.out \
6366  && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
6367fi
6368rm -f conftest.i conftest2.i conftest.out
6369test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
6370fi
6371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
6372$as_echo "$lt_cv_truncate_bin" >&6; }
6373
6374
6375
6376
6377
6378
6379
6380# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
6381func_cc_basename ()
6382{
6383    for cc_temp in $*""; do
6384      case $cc_temp in
6385        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6386        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6387        \-*) ;;
6388        *) break;;
6389      esac
6390    done
6391    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
6392}
6393
6394# Check whether --enable-libtool-lock was given.
6395if test "${enable_libtool_lock+set}" = set; then :
6396  enableval=$enable_libtool_lock;
6397fi
6398
6399test no = "$enable_libtool_lock" || enable_libtool_lock=yes
6400
6401# Some flags need to be propagated to the compiler or linker for good
6402# libtool support.
6403case $host in
6404ia64-*-hpux*)
6405  # Find out what ABI is being produced by ac_compile, and set mode
6406  # options accordingly.
6407  echo 'int i;' > conftest.$ac_ext
6408  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6409  (eval $ac_compile) 2>&5
6410  ac_status=$?
6411  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6412  test $ac_status = 0; }; then
6413    case `/usr/bin/file conftest.$ac_objext` in
6414      *ELF-32*)
6415	HPUX_IA64_MODE=32
6416	;;
6417      *ELF-64*)
6418	HPUX_IA64_MODE=64
6419	;;
6420    esac
6421  fi
6422  rm -rf conftest*
6423  ;;
6424*-*-irix6*)
6425  # Find out what ABI is being produced by ac_compile, and set linker
6426  # options accordingly.
6427  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6428  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6429  (eval $ac_compile) 2>&5
6430  ac_status=$?
6431  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6432  test $ac_status = 0; }; then
6433    if test yes = "$lt_cv_prog_gnu_ld"; then
6434      case `/usr/bin/file conftest.$ac_objext` in
6435	*32-bit*)
6436	  LD="${LD-ld} -melf32bsmip"
6437	  ;;
6438	*N32*)
6439	  LD="${LD-ld} -melf32bmipn32"
6440	  ;;
6441	*64-bit*)
6442	  LD="${LD-ld} -melf64bmip"
6443	;;
6444      esac
6445    else
6446      case `/usr/bin/file conftest.$ac_objext` in
6447	*32-bit*)
6448	  LD="${LD-ld} -32"
6449	  ;;
6450	*N32*)
6451	  LD="${LD-ld} -n32"
6452	  ;;
6453	*64-bit*)
6454	  LD="${LD-ld} -64"
6455	  ;;
6456      esac
6457    fi
6458  fi
6459  rm -rf conftest*
6460  ;;
6461
6462mips64*-*linux*)
6463  # Find out what ABI is being produced by ac_compile, and set linker
6464  # options accordingly.
6465  echo '#line '$LINENO' "configure"' > conftest.$ac_ext
6466  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6467  (eval $ac_compile) 2>&5
6468  ac_status=$?
6469  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6470  test $ac_status = 0; }; then
6471    emul=elf
6472    case `/usr/bin/file conftest.$ac_objext` in
6473      *32-bit*)
6474	emul="${emul}32"
6475	;;
6476      *64-bit*)
6477	emul="${emul}64"
6478	;;
6479    esac
6480    case `/usr/bin/file conftest.$ac_objext` in
6481      *MSB*)
6482	emul="${emul}btsmip"
6483	;;
6484      *LSB*)
6485	emul="${emul}ltsmip"
6486	;;
6487    esac
6488    case `/usr/bin/file conftest.$ac_objext` in
6489      *N32*)
6490	emul="${emul}n32"
6491	;;
6492    esac
6493    LD="${LD-ld} -m $emul"
6494  fi
6495  rm -rf conftest*
6496  ;;
6497
6498x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
6499s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
6500  # Find out what ABI is being produced by ac_compile, and set linker
6501  # options accordingly.  Note that the listed cases only cover the
6502  # situations where additional linker options are needed (such as when
6503  # doing 32-bit compilation for a host where ld defaults to 64-bit, or
6504  # vice versa); the common cases where no linker options are needed do
6505  # not appear in the list.
6506  echo 'int i;' > conftest.$ac_ext
6507  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6508  (eval $ac_compile) 2>&5
6509  ac_status=$?
6510  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6511  test $ac_status = 0; }; then
6512    case `/usr/bin/file conftest.o` in
6513      *32-bit*)
6514	case $host in
6515	  x86_64-*kfreebsd*-gnu)
6516	    LD="${LD-ld} -m elf_i386_fbsd"
6517	    ;;
6518	  x86_64-*linux*)
6519	    case `/usr/bin/file conftest.o` in
6520	      *x86-64*)
6521		LD="${LD-ld} -m elf32_x86_64"
6522		;;
6523	      *)
6524		LD="${LD-ld} -m elf_i386"
6525		;;
6526	    esac
6527	    ;;
6528	  powerpc64le-*linux*)
6529	    LD="${LD-ld} -m elf32lppclinux"
6530	    ;;
6531	  powerpc64-*linux*)
6532	    LD="${LD-ld} -m elf32ppclinux"
6533	    ;;
6534	  s390x-*linux*)
6535	    LD="${LD-ld} -m elf_s390"
6536	    ;;
6537	  sparc64-*linux*)
6538	    LD="${LD-ld} -m elf32_sparc"
6539	    ;;
6540	esac
6541	;;
6542      *64-bit*)
6543	case $host in
6544	  x86_64-*kfreebsd*-gnu)
6545	    LD="${LD-ld} -m elf_x86_64_fbsd"
6546	    ;;
6547	  x86_64-*linux*)
6548	    LD="${LD-ld} -m elf_x86_64"
6549	    ;;
6550	  powerpcle-*linux*)
6551	    LD="${LD-ld} -m elf64lppc"
6552	    ;;
6553	  powerpc-*linux*)
6554	    LD="${LD-ld} -m elf64ppc"
6555	    ;;
6556	  s390*-*linux*|s390*-*tpf*)
6557	    LD="${LD-ld} -m elf64_s390"
6558	    ;;
6559	  sparc*-*linux*)
6560	    LD="${LD-ld} -m elf64_sparc"
6561	    ;;
6562	esac
6563	;;
6564    esac
6565  fi
6566  rm -rf conftest*
6567  ;;
6568
6569*-*-sco3.2v5*)
6570  # On SCO OpenServer 5, we need -belf to get full-featured binaries.
6571  SAVE_CFLAGS=$CFLAGS
6572  CFLAGS="$CFLAGS -belf"
6573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6574$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6575if ${lt_cv_cc_needs_belf+:} false; then :
6576  $as_echo_n "(cached) " >&6
6577else
6578  ac_ext=c
6579ac_cpp='$CPP $CPPFLAGS'
6580ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6581ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6582ac_compiler_gnu=$ac_cv_c_compiler_gnu
6583
6584     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6585/* end confdefs.h.  */
6586
6587int
6588main ()
6589{
6590
6591  ;
6592  return 0;
6593}
6594_ACEOF
6595if ac_fn_c_try_link "$LINENO"; then :
6596  lt_cv_cc_needs_belf=yes
6597else
6598  lt_cv_cc_needs_belf=no
6599fi
6600rm -f core conftest.err conftest.$ac_objext \
6601    conftest$ac_exeext conftest.$ac_ext
6602     ac_ext=c
6603ac_cpp='$CPP $CPPFLAGS'
6604ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6605ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6606ac_compiler_gnu=$ac_cv_c_compiler_gnu
6607
6608fi
6609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
6610$as_echo "$lt_cv_cc_needs_belf" >&6; }
6611  if test yes != "$lt_cv_cc_needs_belf"; then
6612    # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
6613    CFLAGS=$SAVE_CFLAGS
6614  fi
6615  ;;
6616*-*solaris*)
6617  # Find out what ABI is being produced by ac_compile, and set linker
6618  # options accordingly.
6619  echo 'int i;' > conftest.$ac_ext
6620  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6621  (eval $ac_compile) 2>&5
6622  ac_status=$?
6623  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6624  test $ac_status = 0; }; then
6625    case `/usr/bin/file conftest.o` in
6626    *64-bit*)
6627      case $lt_cv_prog_gnu_ld in
6628      yes*)
6629        case $host in
6630        i?86-*-solaris*|x86_64-*-solaris*)
6631          LD="${LD-ld} -m elf_x86_64"
6632          ;;
6633        sparc*-*-solaris*)
6634          LD="${LD-ld} -m elf64_sparc"
6635          ;;
6636        esac
6637        # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
6638        if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
6639          LD=${LD-ld}_sol2
6640        fi
6641        ;;
6642      *)
6643	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
6644	  LD="${LD-ld} -64"
6645	fi
6646	;;
6647      esac
6648      ;;
6649    esac
6650  fi
6651  rm -rf conftest*
6652  ;;
6653esac
6654
6655need_locks=$enable_libtool_lock
6656
6657if test -n "$ac_tool_prefix"; then
6658  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
6659set dummy ${ac_tool_prefix}mt; ac_word=$2
6660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6661$as_echo_n "checking for $ac_word... " >&6; }
6662if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
6663  $as_echo_n "(cached) " >&6
6664else
6665  if test -n "$MANIFEST_TOOL"; then
6666  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
6667else
6668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6669for as_dir in $PATH
6670do
6671  IFS=$as_save_IFS
6672  test -z "$as_dir" && as_dir=.
6673    for ac_exec_ext in '' $ac_executable_extensions; do
6674  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6675    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
6676    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6677    break 2
6678  fi
6679done
6680  done
6681IFS=$as_save_IFS
6682
6683fi
6684fi
6685MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
6686if test -n "$MANIFEST_TOOL"; then
6687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
6688$as_echo "$MANIFEST_TOOL" >&6; }
6689else
6690  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6691$as_echo "no" >&6; }
6692fi
6693
6694
6695fi
6696if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
6697  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
6698  # Extract the first word of "mt", so it can be a program name with args.
6699set dummy mt; ac_word=$2
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6701$as_echo_n "checking for $ac_word... " >&6; }
6702if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
6703  $as_echo_n "(cached) " >&6
6704else
6705  if test -n "$ac_ct_MANIFEST_TOOL"; then
6706  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
6707else
6708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6709for as_dir in $PATH
6710do
6711  IFS=$as_save_IFS
6712  test -z "$as_dir" && as_dir=.
6713    for ac_exec_ext in '' $ac_executable_extensions; do
6714  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6715    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
6716    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6717    break 2
6718  fi
6719done
6720  done
6721IFS=$as_save_IFS
6722
6723fi
6724fi
6725ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
6726if test -n "$ac_ct_MANIFEST_TOOL"; then
6727  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
6728$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
6729else
6730  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6731$as_echo "no" >&6; }
6732fi
6733
6734  if test "x$ac_ct_MANIFEST_TOOL" = x; then
6735    MANIFEST_TOOL=":"
6736  else
6737    case $cross_compiling:$ac_tool_warned in
6738yes:)
6739{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6740$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6741ac_tool_warned=yes ;;
6742esac
6743    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
6744  fi
6745else
6746  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
6747fi
6748
6749test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
6750{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
6751$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
6752if ${lt_cv_path_mainfest_tool+:} false; then :
6753  $as_echo_n "(cached) " >&6
6754else
6755  lt_cv_path_mainfest_tool=no
6756  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
6757  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
6758  cat conftest.err >&5
6759  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
6760    lt_cv_path_mainfest_tool=yes
6761  fi
6762  rm -f conftest*
6763fi
6764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
6765$as_echo "$lt_cv_path_mainfest_tool" >&6; }
6766if test yes != "$lt_cv_path_mainfest_tool"; then
6767  MANIFEST_TOOL=:
6768fi
6769
6770
6771
6772
6773
6774
6775  case $host_os in
6776    rhapsody* | darwin*)
6777    if test -n "$ac_tool_prefix"; then
6778  # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
6779set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6780{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6781$as_echo_n "checking for $ac_word... " >&6; }
6782if ${ac_cv_prog_DSYMUTIL+:} false; then :
6783  $as_echo_n "(cached) " >&6
6784else
6785  if test -n "$DSYMUTIL"; then
6786  ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
6787else
6788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6789for as_dir in $PATH
6790do
6791  IFS=$as_save_IFS
6792  test -z "$as_dir" && as_dir=.
6793    for ac_exec_ext in '' $ac_executable_extensions; do
6794  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6795    ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
6796    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797    break 2
6798  fi
6799done
6800  done
6801IFS=$as_save_IFS
6802
6803fi
6804fi
6805DSYMUTIL=$ac_cv_prog_DSYMUTIL
6806if test -n "$DSYMUTIL"; then
6807  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
6808$as_echo "$DSYMUTIL" >&6; }
6809else
6810  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6811$as_echo "no" >&6; }
6812fi
6813
6814
6815fi
6816if test -z "$ac_cv_prog_DSYMUTIL"; then
6817  ac_ct_DSYMUTIL=$DSYMUTIL
6818  # Extract the first word of "dsymutil", so it can be a program name with args.
6819set dummy dsymutil; ac_word=$2
6820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821$as_echo_n "checking for $ac_word... " >&6; }
6822if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6823  $as_echo_n "(cached) " >&6
6824else
6825  if test -n "$ac_ct_DSYMUTIL"; then
6826  ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
6827else
6828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6829for as_dir in $PATH
6830do
6831  IFS=$as_save_IFS
6832  test -z "$as_dir" && as_dir=.
6833    for ac_exec_ext in '' $ac_executable_extensions; do
6834  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6835    ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
6836    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6837    break 2
6838  fi
6839done
6840  done
6841IFS=$as_save_IFS
6842
6843fi
6844fi
6845ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
6846if test -n "$ac_ct_DSYMUTIL"; then
6847  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
6848$as_echo "$ac_ct_DSYMUTIL" >&6; }
6849else
6850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6851$as_echo "no" >&6; }
6852fi
6853
6854  if test "x$ac_ct_DSYMUTIL" = x; then
6855    DSYMUTIL=":"
6856  else
6857    case $cross_compiling:$ac_tool_warned in
6858yes:)
6859{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6860$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6861ac_tool_warned=yes ;;
6862esac
6863    DSYMUTIL=$ac_ct_DSYMUTIL
6864  fi
6865else
6866  DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6867fi
6868
6869    if test -n "$ac_tool_prefix"; then
6870  # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6871set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6873$as_echo_n "checking for $ac_word... " >&6; }
6874if ${ac_cv_prog_NMEDIT+:} false; then :
6875  $as_echo_n "(cached) " >&6
6876else
6877  if test -n "$NMEDIT"; then
6878  ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6879else
6880as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6881for as_dir in $PATH
6882do
6883  IFS=$as_save_IFS
6884  test -z "$as_dir" && as_dir=.
6885    for ac_exec_ext in '' $ac_executable_extensions; do
6886  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6887    ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6888    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6889    break 2
6890  fi
6891done
6892  done
6893IFS=$as_save_IFS
6894
6895fi
6896fi
6897NMEDIT=$ac_cv_prog_NMEDIT
6898if test -n "$NMEDIT"; then
6899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
6900$as_echo "$NMEDIT" >&6; }
6901else
6902  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6903$as_echo "no" >&6; }
6904fi
6905
6906
6907fi
6908if test -z "$ac_cv_prog_NMEDIT"; then
6909  ac_ct_NMEDIT=$NMEDIT
6910  # Extract the first word of "nmedit", so it can be a program name with args.
6911set dummy nmedit; ac_word=$2
6912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6913$as_echo_n "checking for $ac_word... " >&6; }
6914if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
6915  $as_echo_n "(cached) " >&6
6916else
6917  if test -n "$ac_ct_NMEDIT"; then
6918  ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6919else
6920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6921for as_dir in $PATH
6922do
6923  IFS=$as_save_IFS
6924  test -z "$as_dir" && as_dir=.
6925    for ac_exec_ext in '' $ac_executable_extensions; do
6926  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6927    ac_cv_prog_ac_ct_NMEDIT="nmedit"
6928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6929    break 2
6930  fi
6931done
6932  done
6933IFS=$as_save_IFS
6934
6935fi
6936fi
6937ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6938if test -n "$ac_ct_NMEDIT"; then
6939  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
6940$as_echo "$ac_ct_NMEDIT" >&6; }
6941else
6942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943$as_echo "no" >&6; }
6944fi
6945
6946  if test "x$ac_ct_NMEDIT" = x; then
6947    NMEDIT=":"
6948  else
6949    case $cross_compiling:$ac_tool_warned in
6950yes:)
6951{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6952$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6953ac_tool_warned=yes ;;
6954esac
6955    NMEDIT=$ac_ct_NMEDIT
6956  fi
6957else
6958  NMEDIT="$ac_cv_prog_NMEDIT"
6959fi
6960
6961    if test -n "$ac_tool_prefix"; then
6962  # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6963set dummy ${ac_tool_prefix}lipo; ac_word=$2
6964{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6965$as_echo_n "checking for $ac_word... " >&6; }
6966if ${ac_cv_prog_LIPO+:} false; then :
6967  $as_echo_n "(cached) " >&6
6968else
6969  if test -n "$LIPO"; then
6970  ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6971else
6972as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973for as_dir in $PATH
6974do
6975  IFS=$as_save_IFS
6976  test -z "$as_dir" && as_dir=.
6977    for ac_exec_ext in '' $ac_executable_extensions; do
6978  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6979    ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6980    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6981    break 2
6982  fi
6983done
6984  done
6985IFS=$as_save_IFS
6986
6987fi
6988fi
6989LIPO=$ac_cv_prog_LIPO
6990if test -n "$LIPO"; then
6991  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
6992$as_echo "$LIPO" >&6; }
6993else
6994  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6995$as_echo "no" >&6; }
6996fi
6997
6998
6999fi
7000if test -z "$ac_cv_prog_LIPO"; then
7001  ac_ct_LIPO=$LIPO
7002  # Extract the first word of "lipo", so it can be a program name with args.
7003set dummy lipo; ac_word=$2
7004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7005$as_echo_n "checking for $ac_word... " >&6; }
7006if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7007  $as_echo_n "(cached) " >&6
7008else
7009  if test -n "$ac_ct_LIPO"; then
7010  ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7011else
7012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7013for as_dir in $PATH
7014do
7015  IFS=$as_save_IFS
7016  test -z "$as_dir" && as_dir=.
7017    for ac_exec_ext in '' $ac_executable_extensions; do
7018  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7019    ac_cv_prog_ac_ct_LIPO="lipo"
7020    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7021    break 2
7022  fi
7023done
7024  done
7025IFS=$as_save_IFS
7026
7027fi
7028fi
7029ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7030if test -n "$ac_ct_LIPO"; then
7031  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7032$as_echo "$ac_ct_LIPO" >&6; }
7033else
7034  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035$as_echo "no" >&6; }
7036fi
7037
7038  if test "x$ac_ct_LIPO" = x; then
7039    LIPO=":"
7040  else
7041    case $cross_compiling:$ac_tool_warned in
7042yes:)
7043{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7044$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7045ac_tool_warned=yes ;;
7046esac
7047    LIPO=$ac_ct_LIPO
7048  fi
7049else
7050  LIPO="$ac_cv_prog_LIPO"
7051fi
7052
7053    if test -n "$ac_tool_prefix"; then
7054  # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7055set dummy ${ac_tool_prefix}otool; ac_word=$2
7056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7057$as_echo_n "checking for $ac_word... " >&6; }
7058if ${ac_cv_prog_OTOOL+:} false; then :
7059  $as_echo_n "(cached) " >&6
7060else
7061  if test -n "$OTOOL"; then
7062  ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7063else
7064as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065for as_dir in $PATH
7066do
7067  IFS=$as_save_IFS
7068  test -z "$as_dir" && as_dir=.
7069    for ac_exec_ext in '' $ac_executable_extensions; do
7070  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7071    ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7072    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7073    break 2
7074  fi
7075done
7076  done
7077IFS=$as_save_IFS
7078
7079fi
7080fi
7081OTOOL=$ac_cv_prog_OTOOL
7082if test -n "$OTOOL"; then
7083  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7084$as_echo "$OTOOL" >&6; }
7085else
7086  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7087$as_echo "no" >&6; }
7088fi
7089
7090
7091fi
7092if test -z "$ac_cv_prog_OTOOL"; then
7093  ac_ct_OTOOL=$OTOOL
7094  # Extract the first word of "otool", so it can be a program name with args.
7095set dummy otool; ac_word=$2
7096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7097$as_echo_n "checking for $ac_word... " >&6; }
7098if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7099  $as_echo_n "(cached) " >&6
7100else
7101  if test -n "$ac_ct_OTOOL"; then
7102  ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7103else
7104as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7105for as_dir in $PATH
7106do
7107  IFS=$as_save_IFS
7108  test -z "$as_dir" && as_dir=.
7109    for ac_exec_ext in '' $ac_executable_extensions; do
7110  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7111    ac_cv_prog_ac_ct_OTOOL="otool"
7112    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7113    break 2
7114  fi
7115done
7116  done
7117IFS=$as_save_IFS
7118
7119fi
7120fi
7121ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7122if test -n "$ac_ct_OTOOL"; then
7123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7124$as_echo "$ac_ct_OTOOL" >&6; }
7125else
7126  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7127$as_echo "no" >&6; }
7128fi
7129
7130  if test "x$ac_ct_OTOOL" = x; then
7131    OTOOL=":"
7132  else
7133    case $cross_compiling:$ac_tool_warned in
7134yes:)
7135{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7136$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7137ac_tool_warned=yes ;;
7138esac
7139    OTOOL=$ac_ct_OTOOL
7140  fi
7141else
7142  OTOOL="$ac_cv_prog_OTOOL"
7143fi
7144
7145    if test -n "$ac_tool_prefix"; then
7146  # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7147set dummy ${ac_tool_prefix}otool64; ac_word=$2
7148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7149$as_echo_n "checking for $ac_word... " >&6; }
7150if ${ac_cv_prog_OTOOL64+:} false; then :
7151  $as_echo_n "(cached) " >&6
7152else
7153  if test -n "$OTOOL64"; then
7154  ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7155else
7156as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7157for as_dir in $PATH
7158do
7159  IFS=$as_save_IFS
7160  test -z "$as_dir" && as_dir=.
7161    for ac_exec_ext in '' $ac_executable_extensions; do
7162  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7163    ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7164    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7165    break 2
7166  fi
7167done
7168  done
7169IFS=$as_save_IFS
7170
7171fi
7172fi
7173OTOOL64=$ac_cv_prog_OTOOL64
7174if test -n "$OTOOL64"; then
7175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7176$as_echo "$OTOOL64" >&6; }
7177else
7178  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7179$as_echo "no" >&6; }
7180fi
7181
7182
7183fi
7184if test -z "$ac_cv_prog_OTOOL64"; then
7185  ac_ct_OTOOL64=$OTOOL64
7186  # Extract the first word of "otool64", so it can be a program name with args.
7187set dummy otool64; ac_word=$2
7188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7189$as_echo_n "checking for $ac_word... " >&6; }
7190if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7191  $as_echo_n "(cached) " >&6
7192else
7193  if test -n "$ac_ct_OTOOL64"; then
7194  ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7195else
7196as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7197for as_dir in $PATH
7198do
7199  IFS=$as_save_IFS
7200  test -z "$as_dir" && as_dir=.
7201    for ac_exec_ext in '' $ac_executable_extensions; do
7202  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7203    ac_cv_prog_ac_ct_OTOOL64="otool64"
7204    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7205    break 2
7206  fi
7207done
7208  done
7209IFS=$as_save_IFS
7210
7211fi
7212fi
7213ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7214if test -n "$ac_ct_OTOOL64"; then
7215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7216$as_echo "$ac_ct_OTOOL64" >&6; }
7217else
7218  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7219$as_echo "no" >&6; }
7220fi
7221
7222  if test "x$ac_ct_OTOOL64" = x; then
7223    OTOOL64=":"
7224  else
7225    case $cross_compiling:$ac_tool_warned in
7226yes:)
7227{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7228$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7229ac_tool_warned=yes ;;
7230esac
7231    OTOOL64=$ac_ct_OTOOL64
7232  fi
7233else
7234  OTOOL64="$ac_cv_prog_OTOOL64"
7235fi
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7264$as_echo_n "checking for -single_module linker flag... " >&6; }
7265if ${lt_cv_apple_cc_single_mod+:} false; then :
7266  $as_echo_n "(cached) " >&6
7267else
7268  lt_cv_apple_cc_single_mod=no
7269      if test -z "$LT_MULTI_MODULE"; then
7270	# By default we will add the -single_module flag. You can override
7271	# by either setting the environment variable LT_MULTI_MODULE
7272	# non-empty at configure time, or by adding -multi_module to the
7273	# link flags.
7274	rm -rf libconftest.dylib*
7275	echo "int foo(void){return 1;}" > conftest.c
7276	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7277-dynamiclib -Wl,-single_module conftest.c" >&5
7278	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7279	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7280        _lt_result=$?
7281	# If there is a non-empty error log, and "single_module"
7282	# appears in it, assume the flag caused a linker warning
7283        if test -s conftest.err && $GREP single_module conftest.err; then
7284	  cat conftest.err >&5
7285	# Otherwise, if the output was created with a 0 exit code from
7286	# the compiler, it worked.
7287	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
7288	  lt_cv_apple_cc_single_mod=yes
7289	else
7290	  cat conftest.err >&5
7291	fi
7292	rm -rf libconftest.dylib*
7293	rm -f conftest.*
7294      fi
7295fi
7296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7297$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7298
7299    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7300$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7301if ${lt_cv_ld_exported_symbols_list+:} false; then :
7302  $as_echo_n "(cached) " >&6
7303else
7304  lt_cv_ld_exported_symbols_list=no
7305      save_LDFLAGS=$LDFLAGS
7306      echo "_main" > conftest.sym
7307      LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7308      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7309/* end confdefs.h.  */
7310
7311int
7312main ()
7313{
7314
7315  ;
7316  return 0;
7317}
7318_ACEOF
7319if ac_fn_c_try_link "$LINENO"; then :
7320  lt_cv_ld_exported_symbols_list=yes
7321else
7322  lt_cv_ld_exported_symbols_list=no
7323fi
7324rm -f core conftest.err conftest.$ac_objext \
7325    conftest$ac_exeext conftest.$ac_ext
7326	LDFLAGS=$save_LDFLAGS
7327
7328fi
7329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7330$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7331
7332    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7333$as_echo_n "checking for -force_load linker flag... " >&6; }
7334if ${lt_cv_ld_force_load+:} false; then :
7335  $as_echo_n "(cached) " >&6
7336else
7337  lt_cv_ld_force_load=no
7338      cat > conftest.c << _LT_EOF
7339int forced_loaded() { return 2;}
7340_LT_EOF
7341      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7342      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7343      echo "$AR cru libconftest.a conftest.o" >&5
7344      $AR cru libconftest.a conftest.o 2>&5
7345      echo "$RANLIB libconftest.a" >&5
7346      $RANLIB libconftest.a 2>&5
7347      cat > conftest.c << _LT_EOF
7348int main() { return 0;}
7349_LT_EOF
7350      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7351      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7352      _lt_result=$?
7353      if test -s conftest.err && $GREP force_load conftest.err; then
7354	cat conftest.err >&5
7355      elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
7356	lt_cv_ld_force_load=yes
7357      else
7358	cat conftest.err >&5
7359      fi
7360        rm -f conftest.err libconftest.a conftest conftest.c
7361        rm -rf conftest.dSYM
7362
7363fi
7364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7365$as_echo "$lt_cv_ld_force_load" >&6; }
7366    case $host_os in
7367    rhapsody* | darwin1.[012])
7368      _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
7369    darwin1.*)
7370      _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7371    darwin*) # darwin 5.x on
7372      # if running on 10.5 or later, the deployment target defaults
7373      # to the OS version, if on x86, and 10.4, the deployment
7374      # target defaults to 10.4. Don't you love it?
7375      case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7376	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7377	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7378	10.[012][,.]*)
7379	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7380	10.*)
7381	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
7382      esac
7383    ;;
7384  esac
7385    if test yes = "$lt_cv_apple_cc_single_mod"; then
7386      _lt_dar_single_mod='$single_module'
7387    fi
7388    if test yes = "$lt_cv_ld_exported_symbols_list"; then
7389      _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
7390    else
7391      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
7392    fi
7393    if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
7394      _lt_dsymutil='~$DSYMUTIL $lib || :'
7395    else
7396      _lt_dsymutil=
7397    fi
7398    ;;
7399  esac
7400
7401# func_munge_path_list VARIABLE PATH
7402# -----------------------------------
7403# VARIABLE is name of variable containing _space_ separated list of
7404# directories to be munged by the contents of PATH, which is string
7405# having a format:
7406# "DIR[:DIR]:"
7407#       string "DIR[ DIR]" will be prepended to VARIABLE
7408# ":DIR[:DIR]"
7409#       string "DIR[ DIR]" will be appended to VARIABLE
7410# "DIRP[:DIRP]::[DIRA:]DIRA"
7411#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
7412#       "DIRA[ DIRA]" will be appended to VARIABLE
7413# "DIR[:DIR]"
7414#       VARIABLE will be replaced by "DIR[ DIR]"
7415func_munge_path_list ()
7416{
7417    case x$2 in
7418    x)
7419        ;;
7420    *:)
7421        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
7422        ;;
7423    x:*)
7424        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
7425        ;;
7426    *::*)
7427        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
7428        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
7429        ;;
7430    *)
7431        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
7432        ;;
7433    esac
7434}
7435
7436ac_ext=c
7437ac_cpp='$CPP $CPPFLAGS'
7438ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7439ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7440ac_compiler_gnu=$ac_cv_c_compiler_gnu
7441{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7442$as_echo_n "checking how to run the C preprocessor... " >&6; }
7443# On Suns, sometimes $CPP names a directory.
7444if test -n "$CPP" && test -d "$CPP"; then
7445  CPP=
7446fi
7447if test -z "$CPP"; then
7448  if ${ac_cv_prog_CPP+:} false; then :
7449  $as_echo_n "(cached) " >&6
7450else
7451      # Double quotes because CPP needs to be expanded
7452    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7453    do
7454      ac_preproc_ok=false
7455for ac_c_preproc_warn_flag in '' yes
7456do
7457  # Use a header file that comes with gcc, so configuring glibc
7458  # with a fresh cross-compiler works.
7459  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7460  # <limits.h> exists even on freestanding compilers.
7461  # On the NeXT, cc -E runs the code through the compiler's parser,
7462  # not just through cpp. "Syntax error" is here to catch this case.
7463  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7464/* end confdefs.h.  */
7465#ifdef __STDC__
7466# include <limits.h>
7467#else
7468# include <assert.h>
7469#endif
7470		     Syntax error
7471_ACEOF
7472if ac_fn_c_try_cpp "$LINENO"; then :
7473
7474else
7475  # Broken: fails on valid input.
7476continue
7477fi
7478rm -f conftest.err conftest.i conftest.$ac_ext
7479
7480  # OK, works on sane cases.  Now check whether nonexistent headers
7481  # can be detected and how.
7482  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7483/* end confdefs.h.  */
7484#include <ac_nonexistent.h>
7485_ACEOF
7486if ac_fn_c_try_cpp "$LINENO"; then :
7487  # Broken: success on invalid input.
7488continue
7489else
7490  # Passes both tests.
7491ac_preproc_ok=:
7492break
7493fi
7494rm -f conftest.err conftest.i conftest.$ac_ext
7495
7496done
7497# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7498rm -f conftest.i conftest.err conftest.$ac_ext
7499if $ac_preproc_ok; then :
7500  break
7501fi
7502
7503    done
7504    ac_cv_prog_CPP=$CPP
7505
7506fi
7507  CPP=$ac_cv_prog_CPP
7508else
7509  ac_cv_prog_CPP=$CPP
7510fi
7511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7512$as_echo "$CPP" >&6; }
7513ac_preproc_ok=false
7514for ac_c_preproc_warn_flag in '' yes
7515do
7516  # Use a header file that comes with gcc, so configuring glibc
7517  # with a fresh cross-compiler works.
7518  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7519  # <limits.h> exists even on freestanding compilers.
7520  # On the NeXT, cc -E runs the code through the compiler's parser,
7521  # not just through cpp. "Syntax error" is here to catch this case.
7522  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7523/* end confdefs.h.  */
7524#ifdef __STDC__
7525# include <limits.h>
7526#else
7527# include <assert.h>
7528#endif
7529		     Syntax error
7530_ACEOF
7531if ac_fn_c_try_cpp "$LINENO"; then :
7532
7533else
7534  # Broken: fails on valid input.
7535continue
7536fi
7537rm -f conftest.err conftest.i conftest.$ac_ext
7538
7539  # OK, works on sane cases.  Now check whether nonexistent headers
7540  # can be detected and how.
7541  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7542/* end confdefs.h.  */
7543#include <ac_nonexistent.h>
7544_ACEOF
7545if ac_fn_c_try_cpp "$LINENO"; then :
7546  # Broken: success on invalid input.
7547continue
7548else
7549  # Passes both tests.
7550ac_preproc_ok=:
7551break
7552fi
7553rm -f conftest.err conftest.i conftest.$ac_ext
7554
7555done
7556# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7557rm -f conftest.i conftest.err conftest.$ac_ext
7558if $ac_preproc_ok; then :
7559
7560else
7561  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7562$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7563as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7564See \`config.log' for more details" "$LINENO" 5; }
7565fi
7566
7567ac_ext=c
7568ac_cpp='$CPP $CPPFLAGS'
7569ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7570ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7571ac_compiler_gnu=$ac_cv_c_compiler_gnu
7572
7573
7574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7575$as_echo_n "checking for ANSI C header files... " >&6; }
7576if ${ac_cv_header_stdc+:} false; then :
7577  $as_echo_n "(cached) " >&6
7578else
7579  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7580/* end confdefs.h.  */
7581#include <stdlib.h>
7582#include <stdarg.h>
7583#include <string.h>
7584#include <float.h>
7585
7586int
7587main ()
7588{
7589
7590  ;
7591  return 0;
7592}
7593_ACEOF
7594if ac_fn_c_try_compile "$LINENO"; then :
7595  ac_cv_header_stdc=yes
7596else
7597  ac_cv_header_stdc=no
7598fi
7599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7600
7601if test $ac_cv_header_stdc = yes; then
7602  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7603  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7604/* end confdefs.h.  */
7605#include <string.h>
7606
7607_ACEOF
7608if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7609  $EGREP "memchr" >/dev/null 2>&1; then :
7610
7611else
7612  ac_cv_header_stdc=no
7613fi
7614rm -f conftest*
7615
7616fi
7617
7618if test $ac_cv_header_stdc = yes; then
7619  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7620  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7621/* end confdefs.h.  */
7622#include <stdlib.h>
7623
7624_ACEOF
7625if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7626  $EGREP "free" >/dev/null 2>&1; then :
7627
7628else
7629  ac_cv_header_stdc=no
7630fi
7631rm -f conftest*
7632
7633fi
7634
7635if test $ac_cv_header_stdc = yes; then
7636  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7637  if test "$cross_compiling" = yes; then :
7638  :
7639else
7640  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7641/* end confdefs.h.  */
7642#include <ctype.h>
7643#include <stdlib.h>
7644#if ((' ' & 0x0FF) == 0x020)
7645# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7646# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7647#else
7648# define ISLOWER(c) \
7649		   (('a' <= (c) && (c) <= 'i') \
7650		     || ('j' <= (c) && (c) <= 'r') \
7651		     || ('s' <= (c) && (c) <= 'z'))
7652# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7653#endif
7654
7655#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7656int
7657main ()
7658{
7659  int i;
7660  for (i = 0; i < 256; i++)
7661    if (XOR (islower (i), ISLOWER (i))
7662	|| toupper (i) != TOUPPER (i))
7663      return 2;
7664  return 0;
7665}
7666_ACEOF
7667if ac_fn_c_try_run "$LINENO"; then :
7668
7669else
7670  ac_cv_header_stdc=no
7671fi
7672rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7673  conftest.$ac_objext conftest.beam conftest.$ac_ext
7674fi
7675
7676fi
7677fi
7678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7679$as_echo "$ac_cv_header_stdc" >&6; }
7680if test $ac_cv_header_stdc = yes; then
7681
7682$as_echo "#define STDC_HEADERS 1" >>confdefs.h
7683
7684fi
7685
7686# On IRIX 5.3, sys/types and inttypes.h are conflicting.
7687for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7688		  inttypes.h stdint.h unistd.h
7689do :
7690  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7691ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7692"
7693if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7694  cat >>confdefs.h <<_ACEOF
7695#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7696_ACEOF
7697
7698fi
7699
7700done
7701
7702
7703for ac_header in dlfcn.h
7704do :
7705  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7706"
7707if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7708  cat >>confdefs.h <<_ACEOF
7709#define HAVE_DLFCN_H 1
7710_ACEOF
7711
7712fi
7713
7714done
7715
7716
7717
7718
7719
7720# Set options
7721enable_dlopen=yes
7722
7723
7724
7725
7726  enable_win32_dll=no
7727
7728
7729            # Check whether --enable-shared was given.
7730if test "${enable_shared+set}" = set; then :
7731  enableval=$enable_shared; p=${PACKAGE-default}
7732    case $enableval in
7733    yes) enable_shared=yes ;;
7734    no) enable_shared=no ;;
7735    *)
7736      enable_shared=no
7737      # Look at the argument we got.  We use all the common list separators.
7738      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7739      for pkg in $enableval; do
7740	IFS=$lt_save_ifs
7741	if test "X$pkg" = "X$p"; then
7742	  enable_shared=yes
7743	fi
7744      done
7745      IFS=$lt_save_ifs
7746      ;;
7747    esac
7748else
7749  enable_shared=yes
7750fi
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760  # Check whether --enable-static was given.
7761if test "${enable_static+set}" = set; then :
7762  enableval=$enable_static; p=${PACKAGE-default}
7763    case $enableval in
7764    yes) enable_static=yes ;;
7765    no) enable_static=no ;;
7766    *)
7767     enable_static=no
7768      # Look at the argument we got.  We use all the common list separators.
7769      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7770      for pkg in $enableval; do
7771	IFS=$lt_save_ifs
7772	if test "X$pkg" = "X$p"; then
7773	  enable_static=yes
7774	fi
7775      done
7776      IFS=$lt_save_ifs
7777      ;;
7778    esac
7779else
7780  enable_static=yes
7781fi
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792# Check whether --with-pic was given.
7793if test "${with_pic+set}" = set; then :
7794  withval=$with_pic; lt_p=${PACKAGE-default}
7795    case $withval in
7796    yes|no) pic_mode=$withval ;;
7797    *)
7798      pic_mode=default
7799      # Look at the argument we got.  We use all the common list separators.
7800      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7801      for lt_pkg in $withval; do
7802	IFS=$lt_save_ifs
7803	if test "X$lt_pkg" = "X$lt_p"; then
7804	  pic_mode=yes
7805	fi
7806      done
7807      IFS=$lt_save_ifs
7808      ;;
7809    esac
7810else
7811  pic_mode=default
7812fi
7813
7814
7815
7816
7817
7818
7819
7820
7821  # Check whether --enable-fast-install was given.
7822if test "${enable_fast_install+set}" = set; then :
7823  enableval=$enable_fast_install; p=${PACKAGE-default}
7824    case $enableval in
7825    yes) enable_fast_install=yes ;;
7826    no) enable_fast_install=no ;;
7827    *)
7828      enable_fast_install=no
7829      # Look at the argument we got.  We use all the common list separators.
7830      lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7831      for pkg in $enableval; do
7832	IFS=$lt_save_ifs
7833	if test "X$pkg" = "X$p"; then
7834	  enable_fast_install=yes
7835	fi
7836      done
7837      IFS=$lt_save_ifs
7838      ;;
7839    esac
7840else
7841  enable_fast_install=yes
7842fi
7843
7844
7845
7846
7847
7848
7849
7850
7851  shared_archive_member_spec=
7852case $host,$enable_shared in
7853power*-*-aix[5-9]*,yes)
7854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
7855$as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
7856
7857# Check whether --with-aix-soname was given.
7858if test "${with_aix_soname+set}" = set; then :
7859  withval=$with_aix_soname; case $withval in
7860    aix|svr4|both)
7861      ;;
7862    *)
7863      as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
7864      ;;
7865    esac
7866    lt_cv_with_aix_soname=$with_aix_soname
7867else
7868  if ${lt_cv_with_aix_soname+:} false; then :
7869  $as_echo_n "(cached) " >&6
7870else
7871  lt_cv_with_aix_soname=aix
7872fi
7873
7874    with_aix_soname=$lt_cv_with_aix_soname
7875fi
7876
7877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
7878$as_echo "$with_aix_soname" >&6; }
7879  if test aix != "$with_aix_soname"; then
7880    # For the AIX way of multilib, we name the shared archive member
7881    # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
7882    # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
7883    # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
7884    # the AIX toolchain works better with OBJECT_MODE set (default 32).
7885    if test 64 = "${OBJECT_MODE-32}"; then
7886      shared_archive_member_spec=shr_64
7887    else
7888      shared_archive_member_spec=shr
7889    fi
7890  fi
7891  ;;
7892*)
7893  with_aix_soname=aix
7894  ;;
7895esac
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906# This can be used to rebuild libtool when needed
7907LIBTOOL_DEPS=$ltmain
7908
7909# Always use our own libtool.
7910LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941test -z "$LN_S" && LN_S="ln -s"
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956if test -n "${ZSH_VERSION+set}"; then
7957   setopt NO_GLOB_SUBST
7958fi
7959
7960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7961$as_echo_n "checking for objdir... " >&6; }
7962if ${lt_cv_objdir+:} false; then :
7963  $as_echo_n "(cached) " >&6
7964else
7965  rm -f .libs 2>/dev/null
7966mkdir .libs 2>/dev/null
7967if test -d .libs; then
7968  lt_cv_objdir=.libs
7969else
7970  # MS-DOS does not allow filenames that begin with a dot.
7971  lt_cv_objdir=_libs
7972fi
7973rmdir .libs 2>/dev/null
7974fi
7975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
7976$as_echo "$lt_cv_objdir" >&6; }
7977objdir=$lt_cv_objdir
7978
7979
7980
7981
7982
7983cat >>confdefs.h <<_ACEOF
7984#define LT_OBJDIR "$lt_cv_objdir/"
7985_ACEOF
7986
7987
7988
7989
7990case $host_os in
7991aix3*)
7992  # AIX sometimes has problems with the GCC collect2 program.  For some
7993  # reason, if we set the COLLECT_NAMES environment variable, the problems
7994  # vanish in a puff of smoke.
7995  if test set != "${COLLECT_NAMES+set}"; then
7996    COLLECT_NAMES=
7997    export COLLECT_NAMES
7998  fi
7999  ;;
8000esac
8001
8002# Global variables:
8003ofile=libtool
8004can_build_shared=yes
8005
8006# All known linkers require a '.a' archive for static linking (except MSVC,
8007# which needs '.lib').
8008libext=a
8009
8010with_gnu_ld=$lt_cv_prog_gnu_ld
8011
8012old_CC=$CC
8013old_CFLAGS=$CFLAGS
8014
8015# Set sane defaults for various variables
8016test -z "$CC" && CC=cc
8017test -z "$LTCC" && LTCC=$CC
8018test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8019test -z "$LD" && LD=ld
8020test -z "$ac_objext" && ac_objext=o
8021
8022func_cc_basename $compiler
8023cc_basename=$func_cc_basename_result
8024
8025
8026# Only perform the check for file, if the check method requires it
8027test -z "$MAGIC_CMD" && MAGIC_CMD=file
8028case $deplibs_check_method in
8029file_magic*)
8030  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8031    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8032$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8033if ${lt_cv_path_MAGIC_CMD+:} false; then :
8034  $as_echo_n "(cached) " >&6
8035else
8036  case $MAGIC_CMD in
8037[\\/*] |  ?:[\\/]*)
8038  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8039  ;;
8040*)
8041  lt_save_MAGIC_CMD=$MAGIC_CMD
8042  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8043  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8044  for ac_dir in $ac_dummy; do
8045    IFS=$lt_save_ifs
8046    test -z "$ac_dir" && ac_dir=.
8047    if test -f "$ac_dir/${ac_tool_prefix}file"; then
8048      lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
8049      if test -n "$file_magic_test_file"; then
8050	case $deplibs_check_method in
8051	"file_magic "*)
8052	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8053	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8054	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8055	    $EGREP "$file_magic_regex" > /dev/null; then
8056	    :
8057	  else
8058	    cat <<_LT_EOF 1>&2
8059
8060*** Warning: the command libtool uses to detect shared libraries,
8061*** $file_magic_cmd, produces output that libtool cannot recognize.
8062*** The result is that libtool may fail to recognize shared libraries
8063*** as such.  This will affect the creation of libtool libraries that
8064*** depend on shared libraries, but programs linked with such libtool
8065*** libraries will work regardless of this problem.  Nevertheless, you
8066*** may want to report the problem to your system manager and/or to
8067*** bug-libtool@gnu.org
8068
8069_LT_EOF
8070	  fi ;;
8071	esac
8072      fi
8073      break
8074    fi
8075  done
8076  IFS=$lt_save_ifs
8077  MAGIC_CMD=$lt_save_MAGIC_CMD
8078  ;;
8079esac
8080fi
8081
8082MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8083if test -n "$MAGIC_CMD"; then
8084  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8085$as_echo "$MAGIC_CMD" >&6; }
8086else
8087  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088$as_echo "no" >&6; }
8089fi
8090
8091
8092
8093
8094
8095if test -z "$lt_cv_path_MAGIC_CMD"; then
8096  if test -n "$ac_tool_prefix"; then
8097    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8098$as_echo_n "checking for file... " >&6; }
8099if ${lt_cv_path_MAGIC_CMD+:} false; then :
8100  $as_echo_n "(cached) " >&6
8101else
8102  case $MAGIC_CMD in
8103[\\/*] |  ?:[\\/]*)
8104  lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
8105  ;;
8106*)
8107  lt_save_MAGIC_CMD=$MAGIC_CMD
8108  lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
8109  ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8110  for ac_dir in $ac_dummy; do
8111    IFS=$lt_save_ifs
8112    test -z "$ac_dir" && ac_dir=.
8113    if test -f "$ac_dir/file"; then
8114      lt_cv_path_MAGIC_CMD=$ac_dir/"file"
8115      if test -n "$file_magic_test_file"; then
8116	case $deplibs_check_method in
8117	"file_magic "*)
8118	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8119	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8120	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8121	    $EGREP "$file_magic_regex" > /dev/null; then
8122	    :
8123	  else
8124	    cat <<_LT_EOF 1>&2
8125
8126*** Warning: the command libtool uses to detect shared libraries,
8127*** $file_magic_cmd, produces output that libtool cannot recognize.
8128*** The result is that libtool may fail to recognize shared libraries
8129*** as such.  This will affect the creation of libtool libraries that
8130*** depend on shared libraries, but programs linked with such libtool
8131*** libraries will work regardless of this problem.  Nevertheless, you
8132*** may want to report the problem to your system manager and/or to
8133*** bug-libtool@gnu.org
8134
8135_LT_EOF
8136	  fi ;;
8137	esac
8138      fi
8139      break
8140    fi
8141  done
8142  IFS=$lt_save_ifs
8143  MAGIC_CMD=$lt_save_MAGIC_CMD
8144  ;;
8145esac
8146fi
8147
8148MAGIC_CMD=$lt_cv_path_MAGIC_CMD
8149if test -n "$MAGIC_CMD"; then
8150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8151$as_echo "$MAGIC_CMD" >&6; }
8152else
8153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154$as_echo "no" >&6; }
8155fi
8156
8157
8158  else
8159    MAGIC_CMD=:
8160  fi
8161fi
8162
8163  fi
8164  ;;
8165esac
8166
8167# Use C for the default configuration in the libtool script
8168
8169lt_save_CC=$CC
8170ac_ext=c
8171ac_cpp='$CPP $CPPFLAGS'
8172ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8173ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8174ac_compiler_gnu=$ac_cv_c_compiler_gnu
8175
8176
8177# Source file extension for C test sources.
8178ac_ext=c
8179
8180# Object file extension for compiled C test sources.
8181objext=o
8182objext=$objext
8183
8184# Code to be used in simple compile tests
8185lt_simple_compile_test_code="int some_variable = 0;"
8186
8187# Code to be used in simple link tests
8188lt_simple_link_test_code='int main(){return(0);}'
8189
8190
8191
8192
8193
8194
8195
8196# If no C compiler was specified, use CC.
8197LTCC=${LTCC-"$CC"}
8198
8199# If no C compiler flags were specified, use CFLAGS.
8200LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8201
8202# Allow CC to be a program name with arguments.
8203compiler=$CC
8204
8205# Save the default compiler, since it gets overwritten when the other
8206# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8207compiler_DEFAULT=$CC
8208
8209# save warnings/boilerplate of simple test code
8210ac_outfile=conftest.$ac_objext
8211echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8212eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8213_lt_compiler_boilerplate=`cat conftest.err`
8214$RM conftest*
8215
8216ac_outfile=conftest.$ac_objext
8217echo "$lt_simple_link_test_code" >conftest.$ac_ext
8218eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8219_lt_linker_boilerplate=`cat conftest.err`
8220$RM -r conftest*
8221
8222
8223## CAVEAT EMPTOR:
8224## There is no encapsulation within the following macros, do not change
8225## the running order or otherwise move them around unless you know exactly
8226## what you are doing...
8227if test -n "$compiler"; then
8228
8229lt_prog_compiler_no_builtin_flag=
8230
8231if test yes = "$GCC"; then
8232  case $cc_basename in
8233  nvcc*)
8234    lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8235  *)
8236    lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8237  esac
8238
8239  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8240$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8241if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8242  $as_echo_n "(cached) " >&6
8243else
8244  lt_cv_prog_compiler_rtti_exceptions=no
8245   ac_outfile=conftest.$ac_objext
8246   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8247   lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
8248   # Insert the option either (1) after the last *FLAGS variable, or
8249   # (2) before a word containing "conftest.", or (3) at the end.
8250   # Note that $ac_compile itself does not contain backslashes and begins
8251   # with a dollar sign (not a hyphen), so the echo should work correctly.
8252   # The option is referenced via a variable to avoid confusing sed.
8253   lt_compile=`echo "$ac_compile" | $SED \
8254   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8255   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8256   -e 's:$: $lt_compiler_flag:'`
8257   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8258   (eval "$lt_compile" 2>conftest.err)
8259   ac_status=$?
8260   cat conftest.err >&5
8261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262   if (exit $ac_status) && test -s "$ac_outfile"; then
8263     # The compiler can only warn and ignore the option if not recognized
8264     # So say no if there are warnings other than the usual output.
8265     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8266     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8267     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8268       lt_cv_prog_compiler_rtti_exceptions=yes
8269     fi
8270   fi
8271   $RM conftest*
8272
8273fi
8274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8275$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8276
8277if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
8278    lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8279else
8280    :
8281fi
8282
8283fi
8284
8285
8286
8287
8288
8289
8290  lt_prog_compiler_wl=
8291lt_prog_compiler_pic=
8292lt_prog_compiler_static=
8293
8294
8295  if test yes = "$GCC"; then
8296    lt_prog_compiler_wl='-Wl,'
8297    lt_prog_compiler_static='-static'
8298
8299    case $host_os in
8300      aix*)
8301      # All AIX code is PIC.
8302      if test ia64 = "$host_cpu"; then
8303	# AIX 5 now supports IA64 processor
8304	lt_prog_compiler_static='-Bstatic'
8305      fi
8306      lt_prog_compiler_pic='-fPIC'
8307      ;;
8308
8309    amigaos*)
8310      case $host_cpu in
8311      powerpc)
8312            # see comment about AmigaOS4 .so support
8313            lt_prog_compiler_pic='-fPIC'
8314        ;;
8315      m68k)
8316            # FIXME: we need at least 68020 code to build shared libraries, but
8317            # adding the '-m68020' flag to GCC prevents building anything better,
8318            # like '-m68040'.
8319            lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8320        ;;
8321      esac
8322      ;;
8323
8324    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8325      # PIC is the default for these OSes.
8326      ;;
8327
8328    mingw* | cygwin* | pw32* | os2* | cegcc*)
8329      # This hack is so that the source file can tell whether it is being
8330      # built for inclusion in a dll (and should export symbols for example).
8331      # Although the cygwin gcc ignores -fPIC, still need this for old-style
8332      # (--disable-auto-import) libraries
8333      lt_prog_compiler_pic='-DDLL_EXPORT'
8334      case $host_os in
8335      os2*)
8336	lt_prog_compiler_static='$wl-static'
8337	;;
8338      esac
8339      ;;
8340
8341    darwin* | rhapsody*)
8342      # PIC is the default on this platform
8343      # Common symbols not allowed in MH_DYLIB files
8344      lt_prog_compiler_pic='-fno-common'
8345      ;;
8346
8347    haiku*)
8348      # PIC is the default for Haiku.
8349      # The "-static" flag exists, but is broken.
8350      lt_prog_compiler_static=
8351      ;;
8352
8353    hpux*)
8354      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8355      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
8356      # sets the default TLS model and affects inlining.
8357      case $host_cpu in
8358      hppa*64*)
8359	# +Z the default
8360	;;
8361      *)
8362	lt_prog_compiler_pic='-fPIC'
8363	;;
8364      esac
8365      ;;
8366
8367    interix[3-9]*)
8368      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8369      # Instead, we relocate shared libraries at runtime.
8370      ;;
8371
8372    msdosdjgpp*)
8373      # Just because we use GCC doesn't mean we suddenly get shared libraries
8374      # on systems that don't support them.
8375      lt_prog_compiler_can_build_shared=no
8376      enable_shared=no
8377      ;;
8378
8379    *nto* | *qnx*)
8380      # QNX uses GNU C++, but need to define -shared option too, otherwise
8381      # it will coredump.
8382      lt_prog_compiler_pic='-fPIC -shared'
8383      ;;
8384
8385    sysv4*MP*)
8386      if test -d /usr/nec; then
8387	lt_prog_compiler_pic=-Kconform_pic
8388      fi
8389      ;;
8390
8391    *)
8392      lt_prog_compiler_pic='-fPIC'
8393      ;;
8394    esac
8395
8396    case $cc_basename in
8397    nvcc*) # Cuda Compiler Driver 2.2
8398      lt_prog_compiler_wl='-Xlinker '
8399      if test -n "$lt_prog_compiler_pic"; then
8400        lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8401      fi
8402      ;;
8403    esac
8404  else
8405    # PORTME Check for flag to pass linker flags through the system compiler.
8406    case $host_os in
8407    aix*)
8408      lt_prog_compiler_wl='-Wl,'
8409      if test ia64 = "$host_cpu"; then
8410	# AIX 5 now supports IA64 processor
8411	lt_prog_compiler_static='-Bstatic'
8412      else
8413	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8414      fi
8415      ;;
8416
8417    darwin* | rhapsody*)
8418      # PIC is the default on this platform
8419      # Common symbols not allowed in MH_DYLIB files
8420      lt_prog_compiler_pic='-fno-common'
8421      case $cc_basename in
8422      nagfor*)
8423        # NAG Fortran compiler
8424        lt_prog_compiler_wl='-Wl,-Wl,,'
8425        lt_prog_compiler_pic='-PIC'
8426        lt_prog_compiler_static='-Bstatic'
8427        ;;
8428      esac
8429      ;;
8430
8431    mingw* | cygwin* | pw32* | os2* | cegcc*)
8432      # This hack is so that the source file can tell whether it is being
8433      # built for inclusion in a dll (and should export symbols for example).
8434      lt_prog_compiler_pic='-DDLL_EXPORT'
8435      case $host_os in
8436      os2*)
8437	lt_prog_compiler_static='$wl-static'
8438	;;
8439      esac
8440      ;;
8441
8442    hpux9* | hpux10* | hpux11*)
8443      lt_prog_compiler_wl='-Wl,'
8444      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8445      # not for PA HP-UX.
8446      case $host_cpu in
8447      hppa*64*|ia64*)
8448	# +Z the default
8449	;;
8450      *)
8451	lt_prog_compiler_pic='+Z'
8452	;;
8453      esac
8454      # Is there a better lt_prog_compiler_static that works with the bundled CC?
8455      lt_prog_compiler_static='$wl-a ${wl}archive'
8456      ;;
8457
8458    irix5* | irix6* | nonstopux*)
8459      lt_prog_compiler_wl='-Wl,'
8460      # PIC (with -KPIC) is the default.
8461      lt_prog_compiler_static='-non_shared'
8462      ;;
8463
8464    linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8465      case $cc_basename in
8466      # old Intel for x86_64, which still supported -KPIC.
8467      ecc*)
8468	lt_prog_compiler_wl='-Wl,'
8469	lt_prog_compiler_pic='-KPIC'
8470	lt_prog_compiler_static='-static'
8471        ;;
8472      # icc used to be incompatible with GCC.
8473      # ICC 10 doesn't accept -KPIC any more.
8474      icc* | ifort*)
8475	lt_prog_compiler_wl='-Wl,'
8476	lt_prog_compiler_pic='-fPIC'
8477	lt_prog_compiler_static='-static'
8478        ;;
8479      # Lahey Fortran 8.1.
8480      lf95*)
8481	lt_prog_compiler_wl='-Wl,'
8482	lt_prog_compiler_pic='--shared'
8483	lt_prog_compiler_static='--static'
8484	;;
8485      nagfor*)
8486	# NAG Fortran compiler
8487	lt_prog_compiler_wl='-Wl,-Wl,,'
8488	lt_prog_compiler_pic='-PIC'
8489	lt_prog_compiler_static='-Bstatic'
8490	;;
8491      tcc*)
8492	# Fabrice Bellard et al's Tiny C Compiler
8493	lt_prog_compiler_wl='-Wl,'
8494	lt_prog_compiler_pic='-fPIC'
8495	lt_prog_compiler_static='-static'
8496	;;
8497      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8498        # Portland Group compilers (*not* the Pentium gcc compiler,
8499	# which looks to be a dead project)
8500	lt_prog_compiler_wl='-Wl,'
8501	lt_prog_compiler_pic='-fpic'
8502	lt_prog_compiler_static='-Bstatic'
8503        ;;
8504      ccc*)
8505        lt_prog_compiler_wl='-Wl,'
8506        # All Alpha code is PIC.
8507        lt_prog_compiler_static='-non_shared'
8508        ;;
8509      xl* | bgxl* | bgf* | mpixl*)
8510	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8511	lt_prog_compiler_wl='-Wl,'
8512	lt_prog_compiler_pic='-qpic'
8513	lt_prog_compiler_static='-qstaticlink'
8514	;;
8515      *)
8516	case `$CC -V 2>&1 | sed 5q` in
8517	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
8518	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
8519	  lt_prog_compiler_pic='-KPIC'
8520	  lt_prog_compiler_static='-Bstatic'
8521	  lt_prog_compiler_wl=''
8522	  ;;
8523	*Sun\ F* | *Sun*Fortran*)
8524	  lt_prog_compiler_pic='-KPIC'
8525	  lt_prog_compiler_static='-Bstatic'
8526	  lt_prog_compiler_wl='-Qoption ld '
8527	  ;;
8528	*Sun\ C*)
8529	  # Sun C 5.9
8530	  lt_prog_compiler_pic='-KPIC'
8531	  lt_prog_compiler_static='-Bstatic'
8532	  lt_prog_compiler_wl='-Wl,'
8533	  ;;
8534        *Intel*\ [CF]*Compiler*)
8535	  lt_prog_compiler_wl='-Wl,'
8536	  lt_prog_compiler_pic='-fPIC'
8537	  lt_prog_compiler_static='-static'
8538	  ;;
8539	*Portland\ Group*)
8540	  lt_prog_compiler_wl='-Wl,'
8541	  lt_prog_compiler_pic='-fpic'
8542	  lt_prog_compiler_static='-Bstatic'
8543	  ;;
8544	esac
8545	;;
8546      esac
8547      ;;
8548
8549    newsos6)
8550      lt_prog_compiler_pic='-KPIC'
8551      lt_prog_compiler_static='-Bstatic'
8552      ;;
8553
8554    *nto* | *qnx*)
8555      # QNX uses GNU C++, but need to define -shared option too, otherwise
8556      # it will coredump.
8557      lt_prog_compiler_pic='-fPIC -shared'
8558      ;;
8559
8560    osf3* | osf4* | osf5*)
8561      lt_prog_compiler_wl='-Wl,'
8562      # All OSF/1 code is PIC.
8563      lt_prog_compiler_static='-non_shared'
8564      ;;
8565
8566    rdos*)
8567      lt_prog_compiler_static='-non_shared'
8568      ;;
8569
8570    solaris*)
8571      lt_prog_compiler_pic='-KPIC'
8572      lt_prog_compiler_static='-Bstatic'
8573      case $cc_basename in
8574      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
8575	lt_prog_compiler_wl='-Qoption ld ';;
8576      *)
8577	lt_prog_compiler_wl='-Wl,';;
8578      esac
8579      ;;
8580
8581    sunos4*)
8582      lt_prog_compiler_wl='-Qoption ld '
8583      lt_prog_compiler_pic='-PIC'
8584      lt_prog_compiler_static='-Bstatic'
8585      ;;
8586
8587    sysv4 | sysv4.2uw2* | sysv4.3*)
8588      lt_prog_compiler_wl='-Wl,'
8589      lt_prog_compiler_pic='-KPIC'
8590      lt_prog_compiler_static='-Bstatic'
8591      ;;
8592
8593    sysv4*MP*)
8594      if test -d /usr/nec; then
8595	lt_prog_compiler_pic='-Kconform_pic'
8596	lt_prog_compiler_static='-Bstatic'
8597      fi
8598      ;;
8599
8600    sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8601      lt_prog_compiler_wl='-Wl,'
8602      lt_prog_compiler_pic='-KPIC'
8603      lt_prog_compiler_static='-Bstatic'
8604      ;;
8605
8606    unicos*)
8607      lt_prog_compiler_wl='-Wl,'
8608      lt_prog_compiler_can_build_shared=no
8609      ;;
8610
8611    uts4*)
8612      lt_prog_compiler_pic='-pic'
8613      lt_prog_compiler_static='-Bstatic'
8614      ;;
8615
8616    *)
8617      lt_prog_compiler_can_build_shared=no
8618      ;;
8619    esac
8620  fi
8621
8622case $host_os in
8623  # For platforms that do not support PIC, -DPIC is meaningless:
8624  *djgpp*)
8625    lt_prog_compiler_pic=
8626    ;;
8627  *)
8628    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8629    ;;
8630esac
8631
8632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8633$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8634if ${lt_cv_prog_compiler_pic+:} false; then :
8635  $as_echo_n "(cached) " >&6
8636else
8637  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
8638fi
8639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
8640$as_echo "$lt_cv_prog_compiler_pic" >&6; }
8641lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8642
8643#
8644# Check to make sure the PIC flag actually works.
8645#
8646if test -n "$lt_prog_compiler_pic"; then
8647  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8648$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8649if ${lt_cv_prog_compiler_pic_works+:} false; then :
8650  $as_echo_n "(cached) " >&6
8651else
8652  lt_cv_prog_compiler_pic_works=no
8653   ac_outfile=conftest.$ac_objext
8654   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8655   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
8656   # Insert the option either (1) after the last *FLAGS variable, or
8657   # (2) before a word containing "conftest.", or (3) at the end.
8658   # Note that $ac_compile itself does not contain backslashes and begins
8659   # with a dollar sign (not a hyphen), so the echo should work correctly.
8660   # The option is referenced via a variable to avoid confusing sed.
8661   lt_compile=`echo "$ac_compile" | $SED \
8662   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8663   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8664   -e 's:$: $lt_compiler_flag:'`
8665   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8666   (eval "$lt_compile" 2>conftest.err)
8667   ac_status=$?
8668   cat conftest.err >&5
8669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670   if (exit $ac_status) && test -s "$ac_outfile"; then
8671     # The compiler can only warn and ignore the option if not recognized
8672     # So say no if there are warnings other than the usual output.
8673     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8674     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8675     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8676       lt_cv_prog_compiler_pic_works=yes
8677     fi
8678   fi
8679   $RM conftest*
8680
8681fi
8682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8683$as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8684
8685if test yes = "$lt_cv_prog_compiler_pic_works"; then
8686    case $lt_prog_compiler_pic in
8687     "" | " "*) ;;
8688     *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8689     esac
8690else
8691    lt_prog_compiler_pic=
8692     lt_prog_compiler_can_build_shared=no
8693fi
8694
8695fi
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707#
8708# Check to make sure the static flag actually works.
8709#
8710wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8712$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8713if ${lt_cv_prog_compiler_static_works+:} false; then :
8714  $as_echo_n "(cached) " >&6
8715else
8716  lt_cv_prog_compiler_static_works=no
8717   save_LDFLAGS=$LDFLAGS
8718   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8719   echo "$lt_simple_link_test_code" > conftest.$ac_ext
8720   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8721     # The linker can only warn and ignore the option if not recognized
8722     # So say no if there are warnings
8723     if test -s conftest.err; then
8724       # Append any errors to the config.log.
8725       cat conftest.err 1>&5
8726       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8727       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8728       if diff conftest.exp conftest.er2 >/dev/null; then
8729         lt_cv_prog_compiler_static_works=yes
8730       fi
8731     else
8732       lt_cv_prog_compiler_static_works=yes
8733     fi
8734   fi
8735   $RM -r conftest*
8736   LDFLAGS=$save_LDFLAGS
8737
8738fi
8739{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8740$as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8741
8742if test yes = "$lt_cv_prog_compiler_static_works"; then
8743    :
8744else
8745    lt_prog_compiler_static=
8746fi
8747
8748
8749
8750
8751
8752
8753
8754  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8755$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8756if ${lt_cv_prog_compiler_c_o+:} false; then :
8757  $as_echo_n "(cached) " >&6
8758else
8759  lt_cv_prog_compiler_c_o=no
8760   $RM -r conftest 2>/dev/null
8761   mkdir conftest
8762   cd conftest
8763   mkdir out
8764   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8765
8766   lt_compiler_flag="-o out/conftest2.$ac_objext"
8767   # Insert the option either (1) after the last *FLAGS variable, or
8768   # (2) before a word containing "conftest.", or (3) at the end.
8769   # Note that $ac_compile itself does not contain backslashes and begins
8770   # with a dollar sign (not a hyphen), so the echo should work correctly.
8771   lt_compile=`echo "$ac_compile" | $SED \
8772   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8773   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8774   -e 's:$: $lt_compiler_flag:'`
8775   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8776   (eval "$lt_compile" 2>out/conftest.err)
8777   ac_status=$?
8778   cat out/conftest.err >&5
8779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8780   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8781   then
8782     # The compiler can only warn and ignore the option if not recognized
8783     # So say no if there are warnings
8784     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8785     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8786     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8787       lt_cv_prog_compiler_c_o=yes
8788     fi
8789   fi
8790   chmod u+w . 2>&5
8791   $RM conftest*
8792   # SGI C++ compiler will create directory out/ii_files/ for
8793   # template instantiation
8794   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8795   $RM out/* && rmdir out
8796   cd ..
8797   $RM -r conftest
8798   $RM conftest*
8799
8800fi
8801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8802$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8803
8804
8805
8806
8807
8808
8809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8810$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8811if ${lt_cv_prog_compiler_c_o+:} false; then :
8812  $as_echo_n "(cached) " >&6
8813else
8814  lt_cv_prog_compiler_c_o=no
8815   $RM -r conftest 2>/dev/null
8816   mkdir conftest
8817   cd conftest
8818   mkdir out
8819   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8820
8821   lt_compiler_flag="-o out/conftest2.$ac_objext"
8822   # Insert the option either (1) after the last *FLAGS variable, or
8823   # (2) before a word containing "conftest.", or (3) at the end.
8824   # Note that $ac_compile itself does not contain backslashes and begins
8825   # with a dollar sign (not a hyphen), so the echo should work correctly.
8826   lt_compile=`echo "$ac_compile" | $SED \
8827   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8828   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8829   -e 's:$: $lt_compiler_flag:'`
8830   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8831   (eval "$lt_compile" 2>out/conftest.err)
8832   ac_status=$?
8833   cat out/conftest.err >&5
8834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8835   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8836   then
8837     # The compiler can only warn and ignore the option if not recognized
8838     # So say no if there are warnings
8839     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8840     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8841     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8842       lt_cv_prog_compiler_c_o=yes
8843     fi
8844   fi
8845   chmod u+w . 2>&5
8846   $RM conftest*
8847   # SGI C++ compiler will create directory out/ii_files/ for
8848   # template instantiation
8849   test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8850   $RM out/* && rmdir out
8851   cd ..
8852   $RM -r conftest
8853   $RM conftest*
8854
8855fi
8856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8857$as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8858
8859
8860
8861
8862hard_links=nottested
8863if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
8864  # do not overwrite the value of need_locks provided by the user
8865  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8866$as_echo_n "checking if we can lock with hard links... " >&6; }
8867  hard_links=yes
8868  $RM conftest*
8869  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8870  touch conftest.a
8871  ln conftest.a conftest.b 2>&5 || hard_links=no
8872  ln conftest.a conftest.b 2>/dev/null && hard_links=no
8873  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8874$as_echo "$hard_links" >&6; }
8875  if test no = "$hard_links"; then
8876    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
8877$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
8878    need_locks=warn
8879  fi
8880else
8881  need_locks=no
8882fi
8883
8884
8885
8886
8887
8888
8889  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8890$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8891
8892  runpath_var=
8893  allow_undefined_flag=
8894  always_export_symbols=no
8895  archive_cmds=
8896  archive_expsym_cmds=
8897  compiler_needs_object=no
8898  enable_shared_with_static_runtimes=no
8899  export_dynamic_flag_spec=
8900  export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8901  hardcode_automatic=no
8902  hardcode_direct=no
8903  hardcode_direct_absolute=no
8904  hardcode_libdir_flag_spec=
8905  hardcode_libdir_separator=
8906  hardcode_minus_L=no
8907  hardcode_shlibpath_var=unsupported
8908  inherit_rpath=no
8909  link_all_deplibs=unknown
8910  module_cmds=
8911  module_expsym_cmds=
8912  old_archive_from_new_cmds=
8913  old_archive_from_expsyms_cmds=
8914  thread_safe_flag_spec=
8915  whole_archive_flag_spec=
8916  # include_expsyms should be a list of space-separated symbols to be *always*
8917  # included in the symbol list
8918  include_expsyms=
8919  # exclude_expsyms can be an extended regexp of symbols to exclude
8920  # it will be wrapped by ' (' and ')$', so one must not match beginning or
8921  # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
8922  # as well as any symbol that contains 'd'.
8923  exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8924  # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8925  # platforms (ab)use it in PIC code, but their linkers get confused if
8926  # the symbol is explicitly referenced.  Since portable code cannot
8927  # rely on this symbol name, it's probably fine to never include it in
8928  # preloaded symbol tables.
8929  # Exclude shared library initialization/finalization symbols.
8930  extract_expsyms_cmds=
8931
8932  case $host_os in
8933  cygwin* | mingw* | pw32* | cegcc*)
8934    # FIXME: the MSVC++ port hasn't been tested in a loooong time
8935    # When not using gcc, we currently assume that we are using
8936    # Microsoft Visual C++.
8937    if test yes != "$GCC"; then
8938      with_gnu_ld=no
8939    fi
8940    ;;
8941  interix*)
8942    # we just hope/assume this is gcc and not c89 (= MSVC++)
8943    with_gnu_ld=yes
8944    ;;
8945  openbsd* | bitrig*)
8946    with_gnu_ld=no
8947    ;;
8948  esac
8949
8950  ld_shlibs=yes
8951
8952  # On some targets, GNU ld is compatible enough with the native linker
8953  # that we're better off using the native interface for both.
8954  lt_use_gnu_ld_interface=no
8955  if test yes = "$with_gnu_ld"; then
8956    case $host_os in
8957      aix*)
8958	# The AIX port of GNU ld has always aspired to compatibility
8959	# with the native linker.  However, as the warning in the GNU ld
8960	# block says, versions before 2.19.5* couldn't really create working
8961	# shared libraries, regardless of the interface used.
8962	case `$LD -v 2>&1` in
8963	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
8964	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
8965	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
8966	  *)
8967	    lt_use_gnu_ld_interface=yes
8968	    ;;
8969	esac
8970	;;
8971      *)
8972	lt_use_gnu_ld_interface=yes
8973	;;
8974    esac
8975  fi
8976
8977  if test yes = "$lt_use_gnu_ld_interface"; then
8978    # If archive_cmds runs LD, not CC, wlarc should be empty
8979    wlarc='$wl'
8980
8981    # Set some defaults for GNU ld with shared library support. These
8982    # are reset later if shared libraries are not supported. Putting them
8983    # here allows them to be overridden if necessary.
8984    runpath_var=LD_RUN_PATH
8985    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
8986    export_dynamic_flag_spec='$wl--export-dynamic'
8987    # ancient GNU ld didn't support --whole-archive et. al.
8988    if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8989      whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
8990    else
8991      whole_archive_flag_spec=
8992    fi
8993    supports_anon_versioning=no
8994    case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
8995      *GNU\ gold*) supports_anon_versioning=yes ;;
8996      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8997      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8998      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8999      *\ 2.11.*) ;; # other 2.11 versions
9000      *) supports_anon_versioning=yes ;;
9001    esac
9002
9003    # See if GNU ld supports shared libraries.
9004    case $host_os in
9005    aix[3-9]*)
9006      # On AIX/PPC, the GNU linker is very broken
9007      if test ia64 != "$host_cpu"; then
9008	ld_shlibs=no
9009	cat <<_LT_EOF 1>&2
9010
9011*** Warning: the GNU linker, at least up to release 2.19, is reported
9012*** to be unable to reliably create shared libraries on AIX.
9013*** Therefore, libtool is disabling shared libraries support.  If you
9014*** really care for shared libraries, you may want to install binutils
9015*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9016*** You will then need to restart the configuration process.
9017
9018_LT_EOF
9019      fi
9020      ;;
9021
9022    amigaos*)
9023      case $host_cpu in
9024      powerpc)
9025            # see comment about AmigaOS4 .so support
9026            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9027            archive_expsym_cmds=''
9028        ;;
9029      m68k)
9030            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)'
9031            hardcode_libdir_flag_spec='-L$libdir'
9032            hardcode_minus_L=yes
9033        ;;
9034      esac
9035      ;;
9036
9037    beos*)
9038      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9039	allow_undefined_flag=unsupported
9040	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9041	# support --undefined.  This deserves some investigation.  FIXME
9042	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9043      else
9044	ld_shlibs=no
9045      fi
9046      ;;
9047
9048    cygwin* | mingw* | pw32* | cegcc*)
9049      # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9050      # as there is no search path for DLLs.
9051      hardcode_libdir_flag_spec='-L$libdir'
9052      export_dynamic_flag_spec='$wl--export-all-symbols'
9053      allow_undefined_flag=unsupported
9054      always_export_symbols=no
9055      enable_shared_with_static_runtimes=yes
9056      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'
9057      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9058
9059      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9060        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9061	# If the export-symbols file already is a .def file, use it as
9062	# is; otherwise, prepend EXPORTS...
9063	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9064          cp $export_symbols $output_objdir/$soname.def;
9065        else
9066          echo EXPORTS > $output_objdir/$soname.def;
9067          cat $export_symbols >> $output_objdir/$soname.def;
9068        fi~
9069        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9070      else
9071	ld_shlibs=no
9072      fi
9073      ;;
9074
9075    haiku*)
9076      archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9077      link_all_deplibs=yes
9078      ;;
9079
9080    os2*)
9081      hardcode_libdir_flag_spec='-L$libdir'
9082      hardcode_minus_L=yes
9083      allow_undefined_flag=unsupported
9084      shrext_cmds=.dll
9085      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9086	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9087	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9088	$ECHO EXPORTS >> $output_objdir/$libname.def~
9089	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9090	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9091	emximp -o $lib $output_objdir/$libname.def'
9092      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9093	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9094	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9095	$ECHO EXPORTS >> $output_objdir/$libname.def~
9096	prefix_cmds="$SED"~
9097	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9098	  prefix_cmds="$prefix_cmds -e 1d";
9099	fi~
9100	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9101	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9102	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9103	emximp -o $lib $output_objdir/$libname.def'
9104      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9105      enable_shared_with_static_runtimes=yes
9106      ;;
9107
9108    interix[3-9]*)
9109      hardcode_direct=no
9110      hardcode_shlibpath_var=no
9111      hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9112      export_dynamic_flag_spec='$wl-E'
9113      # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9114      # Instead, shared libraries are loaded at an image base (0x10000000 by
9115      # default) and relocated if they conflict, which is a slow very memory
9116      # consuming and fragmenting process.  To avoid this, we pick a random,
9117      # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9118      # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
9119      archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9120      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'
9121      ;;
9122
9123    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9124      tmp_diet=no
9125      if test linux-dietlibc = "$host_os"; then
9126	case $cc_basename in
9127	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
9128	esac
9129      fi
9130      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9131	 && test no = "$tmp_diet"
9132      then
9133	tmp_addflag=' $pic_flag'
9134	tmp_sharedflag='-shared'
9135	case $cc_basename,$host_cpu in
9136        pgcc*)				# Portland Group C compiler
9137	  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'
9138	  tmp_addflag=' $pic_flag'
9139	  ;;
9140	pgf77* | pgf90* | pgf95* | pgfortran*)
9141					# Portland Group f77 and f90 compilers
9142	  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'
9143	  tmp_addflag=' $pic_flag -Mnomain' ;;
9144	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
9145	  tmp_addflag=' -i_dynamic' ;;
9146	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
9147	  tmp_addflag=' -i_dynamic -nofor_main' ;;
9148	ifc* | ifort*)			# Intel Fortran compiler
9149	  tmp_addflag=' -nofor_main' ;;
9150	lf95*)				# Lahey Fortran 8.1
9151	  whole_archive_flag_spec=
9152	  tmp_sharedflag='--shared' ;;
9153        nagfor*)                        # NAGFOR 5.3
9154          tmp_sharedflag='-Wl,-shared' ;;
9155	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9156	  tmp_sharedflag='-qmkshrobj'
9157	  tmp_addflag= ;;
9158	nvcc*)	# Cuda Compiler Driver 2.2
9159	  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'
9160	  compiler_needs_object=yes
9161	  ;;
9162	esac
9163	case `$CC -V 2>&1 | sed 5q` in
9164	*Sun\ C*)			# Sun C 5.9
9165	  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'
9166	  compiler_needs_object=yes
9167	  tmp_sharedflag='-G' ;;
9168	*Sun\ F*)			# Sun Fortran 8.3
9169	  tmp_sharedflag='-G' ;;
9170	esac
9171	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9172
9173        if test yes = "$supports_anon_versioning"; then
9174          archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9175            cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9176            echo "local: *; };" >> $output_objdir/$libname.ver~
9177            $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
9178        fi
9179
9180	case $cc_basename in
9181	tcc*)
9182	  export_dynamic_flag_spec='-rdynamic'
9183	  ;;
9184	xlf* | bgf* | bgxlf* | mpixlf*)
9185	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9186	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9187	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9188	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9189	  if test yes = "$supports_anon_versioning"; then
9190	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9191              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9192              echo "local: *; };" >> $output_objdir/$libname.ver~
9193              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9194	  fi
9195	  ;;
9196	esac
9197      else
9198        ld_shlibs=no
9199      fi
9200      ;;
9201
9202    netbsd*)
9203      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9204	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9205	wlarc=
9206      else
9207	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9208	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9209      fi
9210      ;;
9211
9212    solaris*)
9213      if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9214	ld_shlibs=no
9215	cat <<_LT_EOF 1>&2
9216
9217*** Warning: The releases 2.8.* of the GNU linker cannot reliably
9218*** create shared libraries on Solaris systems.  Therefore, libtool
9219*** is disabling shared libraries support.  We urge you to upgrade GNU
9220*** binutils to release 2.9.1 or newer.  Another option is to modify
9221*** your PATH or compiler configuration so that the native linker is
9222*** used, and then restart.
9223
9224_LT_EOF
9225      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9226	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9227	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9228      else
9229	ld_shlibs=no
9230      fi
9231      ;;
9232
9233    sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9234      case `$LD -v 2>&1` in
9235        *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9236	ld_shlibs=no
9237	cat <<_LT_EOF 1>&2
9238
9239*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
9240*** reliably create shared libraries on SCO systems.  Therefore, libtool
9241*** is disabling shared libraries support.  We urge you to upgrade GNU
9242*** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
9243*** your PATH or compiler configuration so that the native linker is
9244*** used, and then restart.
9245
9246_LT_EOF
9247	;;
9248	*)
9249	  # For security reasons, it is highly recommended that you always
9250	  # use absolute paths for naming shared libraries, and exclude the
9251	  # DT_RUNPATH tag from executables and libraries.  But doing so
9252	  # requires that you compile everything twice, which is a pain.
9253	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9254	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9255	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9256	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9257	  else
9258	    ld_shlibs=no
9259	  fi
9260	;;
9261      esac
9262      ;;
9263
9264    sunos4*)
9265      archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9266      wlarc=
9267      hardcode_direct=yes
9268      hardcode_shlibpath_var=no
9269      ;;
9270
9271    *)
9272      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9273	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9274	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
9275      else
9276	ld_shlibs=no
9277      fi
9278      ;;
9279    esac
9280
9281    if test no = "$ld_shlibs"; then
9282      runpath_var=
9283      hardcode_libdir_flag_spec=
9284      export_dynamic_flag_spec=
9285      whole_archive_flag_spec=
9286    fi
9287  else
9288    # PORTME fill in a description of your system's linker (not GNU ld)
9289    case $host_os in
9290    aix3*)
9291      allow_undefined_flag=unsupported
9292      always_export_symbols=yes
9293      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'
9294      # Note: this linker hardcodes the directories in LIBPATH if there
9295      # are no directories specified by -L.
9296      hardcode_minus_L=yes
9297      if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
9298	# Neither direct hardcoding nor static linking is supported with a
9299	# broken collect2.
9300	hardcode_direct=unsupported
9301      fi
9302      ;;
9303
9304    aix[4-9]*)
9305      if test ia64 = "$host_cpu"; then
9306	# On IA64, the linker does run time linking by default, so we don't
9307	# have to do anything special.
9308	aix_use_runtimelinking=no
9309	exp_sym_flag='-Bexport'
9310	no_entry_flag=
9311      else
9312	# If we're using GNU nm, then we don't want the "-C" option.
9313	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
9314	# Without the "-l" option, or with the "-B" option, AIX nm treats
9315	# weak defined symbols like other global defined symbols, whereas
9316	# GNU nm marks them as "W".
9317	# While the 'weak' keyword is ignored in the Export File, we need
9318	# it in the Import File for the 'aix-soname' feature, so we have
9319	# to replace the "-B" option with "-P" for AIX nm.
9320	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9321	  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'
9322	else
9323	  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'
9324	fi
9325	aix_use_runtimelinking=no
9326
9327	# Test if we are trying to use run time linking or normal
9328	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
9329	# have runtime linking enabled, and use it for executables.
9330	# For shared libraries, we enable/disable runtime linking
9331	# depending on the kind of the shared library created -
9332	# when "with_aix_soname,aix_use_runtimelinking" is:
9333	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
9334	# "aix,yes"  lib.so          shared, rtl:yes, for executables
9335	#            lib.a           static archive
9336	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
9337	#            lib.a(lib.so.V) shared, rtl:no,  for executables
9338	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
9339	#            lib.a(lib.so.V) shared, rtl:no
9340	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
9341	#            lib.a           static archive
9342	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9343	  for ld_flag in $LDFLAGS; do
9344	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
9345	    aix_use_runtimelinking=yes
9346	    break
9347	  fi
9348	  done
9349	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
9350	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
9351	    # so we don't have lib.a shared libs to link our executables.
9352	    # We have to force runtime linking in this case.
9353	    aix_use_runtimelinking=yes
9354	    LDFLAGS="$LDFLAGS -Wl,-brtl"
9355	  fi
9356	  ;;
9357	esac
9358
9359	exp_sym_flag='-bexport'
9360	no_entry_flag='-bnoentry'
9361      fi
9362
9363      # When large executables or shared objects are built, AIX ld can
9364      # have problems creating the table of contents.  If linking a library
9365      # or program results in "error TOC overflow" add -mminimal-toc to
9366      # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
9367      # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9368
9369      archive_cmds=''
9370      hardcode_direct=yes
9371      hardcode_direct_absolute=yes
9372      hardcode_libdir_separator=':'
9373      link_all_deplibs=yes
9374      file_list_spec='$wl-f,'
9375      case $with_aix_soname,$aix_use_runtimelinking in
9376      aix,*) ;; # traditional, no import file
9377      svr4,* | *,yes) # use import file
9378	# The Import File defines what to hardcode.
9379	hardcode_direct=no
9380	hardcode_direct_absolute=no
9381	;;
9382      esac
9383
9384      if test yes = "$GCC"; then
9385	case $host_os in aix4.[012]|aix4.[012].*)
9386	# We only want to do this on AIX 4.2 and lower, the check
9387	# below for broken collect2 doesn't work under 4.3+
9388	  collect2name=`$CC -print-prog-name=collect2`
9389	  if test -f "$collect2name" &&
9390	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9391	  then
9392	  # We have reworked collect2
9393	  :
9394	  else
9395	  # We have old collect2
9396	  hardcode_direct=unsupported
9397	  # It fails to find uninstalled libraries when the uninstalled
9398	  # path is not listed in the libpath.  Setting hardcode_minus_L
9399	  # to unsupported forces relinking
9400	  hardcode_minus_L=yes
9401	  hardcode_libdir_flag_spec='-L$libdir'
9402	  hardcode_libdir_separator=
9403	  fi
9404	  ;;
9405	esac
9406	shared_flag='-shared'
9407	if test yes = "$aix_use_runtimelinking"; then
9408	  shared_flag="$shared_flag "'$wl-G'
9409	fi
9410	# Need to ensure runtime linking is disabled for the traditional
9411	# shared library, or the linker may eventually find shared libraries
9412	# /with/ Import File - we do not want to mix them.
9413	shared_flag_aix='-shared'
9414	shared_flag_svr4='-shared $wl-G'
9415      else
9416	# not using gcc
9417	if test ia64 = "$host_cpu"; then
9418	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9419	# chokes on -Wl,-G. The following line is correct:
9420	  shared_flag='-G'
9421	else
9422	  if test yes = "$aix_use_runtimelinking"; then
9423	    shared_flag='$wl-G'
9424	  else
9425	    shared_flag='$wl-bM:SRE'
9426	  fi
9427	  shared_flag_aix='$wl-bM:SRE'
9428	  shared_flag_svr4='$wl-G'
9429	fi
9430      fi
9431
9432      export_dynamic_flag_spec='$wl-bexpall'
9433      # It seems that -bexpall does not export symbols beginning with
9434      # underscore (_), so it is better to generate a list of symbols to export.
9435      always_export_symbols=yes
9436      if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
9437	# Warning - without using the other runtime loading flags (-brtl),
9438	# -berok will link without error, but may produce a broken library.
9439	allow_undefined_flag='-berok'
9440        # Determine the default libpath from the value encoded in an
9441        # empty executable.
9442        if test set = "${lt_cv_aix_libpath+set}"; then
9443  aix_libpath=$lt_cv_aix_libpath
9444else
9445  if ${lt_cv_aix_libpath_+:} false; then :
9446  $as_echo_n "(cached) " >&6
9447else
9448  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9449/* end confdefs.h.  */
9450
9451int
9452main ()
9453{
9454
9455  ;
9456  return 0;
9457}
9458_ACEOF
9459if ac_fn_c_try_link "$LINENO"; then :
9460
9461  lt_aix_libpath_sed='
9462      /Import File Strings/,/^$/ {
9463	  /^0/ {
9464	      s/^0  *\([^ ]*\) *$/\1/
9465	      p
9466	  }
9467      }'
9468  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9469  # Check for a 64-bit object if we didn't find anything.
9470  if test -z "$lt_cv_aix_libpath_"; then
9471    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9472  fi
9473fi
9474rm -f core conftest.err conftest.$ac_objext \
9475    conftest$ac_exeext conftest.$ac_ext
9476  if test -z "$lt_cv_aix_libpath_"; then
9477    lt_cv_aix_libpath_=/usr/lib:/lib
9478  fi
9479
9480fi
9481
9482  aix_libpath=$lt_cv_aix_libpath_
9483fi
9484
9485        hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9486        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
9487      else
9488	if test ia64 = "$host_cpu"; then
9489	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
9490	  allow_undefined_flag="-z nodefs"
9491	  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"
9492	else
9493	 # Determine the default libpath from the value encoded in an
9494	 # empty executable.
9495	 if test set = "${lt_cv_aix_libpath+set}"; then
9496  aix_libpath=$lt_cv_aix_libpath
9497else
9498  if ${lt_cv_aix_libpath_+:} false; then :
9499  $as_echo_n "(cached) " >&6
9500else
9501  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9502/* end confdefs.h.  */
9503
9504int
9505main ()
9506{
9507
9508  ;
9509  return 0;
9510}
9511_ACEOF
9512if ac_fn_c_try_link "$LINENO"; then :
9513
9514  lt_aix_libpath_sed='
9515      /Import File Strings/,/^$/ {
9516	  /^0/ {
9517	      s/^0  *\([^ ]*\) *$/\1/
9518	      p
9519	  }
9520      }'
9521  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9522  # Check for a 64-bit object if we didn't find anything.
9523  if test -z "$lt_cv_aix_libpath_"; then
9524    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9525  fi
9526fi
9527rm -f core conftest.err conftest.$ac_objext \
9528    conftest$ac_exeext conftest.$ac_ext
9529  if test -z "$lt_cv_aix_libpath_"; then
9530    lt_cv_aix_libpath_=/usr/lib:/lib
9531  fi
9532
9533fi
9534
9535  aix_libpath=$lt_cv_aix_libpath_
9536fi
9537
9538	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
9539	  # Warning - without using the other run time loading flags,
9540	  # -berok will link without error, but may produce a broken library.
9541	  no_undefined_flag=' $wl-bernotok'
9542	  allow_undefined_flag=' $wl-berok'
9543	  if test yes = "$with_gnu_ld"; then
9544	    # We only use this code for GNU lds that support --whole-archive.
9545	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
9546	  else
9547	    # Exported symbols can be pulled into shared objects from archives
9548	    whole_archive_flag_spec='$convenience'
9549	  fi
9550	  archive_cmds_need_lc=yes
9551	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
9552	  # -brtl affects multiple linker settings, -berok does not and is overridden later
9553	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
9554	  if test svr4 != "$with_aix_soname"; then
9555	    # This is similar to how AIX traditionally builds its shared libraries.
9556	    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'
9557	  fi
9558	  if test aix != "$with_aix_soname"; then
9559	    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'
9560	  else
9561	    # used by -dlpreopen to get the symbols
9562	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
9563	  fi
9564	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
9565	fi
9566      fi
9567      ;;
9568
9569    amigaos*)
9570      case $host_cpu in
9571      powerpc)
9572            # see comment about AmigaOS4 .so support
9573            archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
9574            archive_expsym_cmds=''
9575        ;;
9576      m68k)
9577            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)'
9578            hardcode_libdir_flag_spec='-L$libdir'
9579            hardcode_minus_L=yes
9580        ;;
9581      esac
9582      ;;
9583
9584    bsdi[45]*)
9585      export_dynamic_flag_spec=-rdynamic
9586      ;;
9587
9588    cygwin* | mingw* | pw32* | cegcc*)
9589      # When not using gcc, we currently assume that we are using
9590      # Microsoft Visual C++.
9591      # hardcode_libdir_flag_spec is actually meaningless, as there is
9592      # no search path for DLLs.
9593      case $cc_basename in
9594      cl*)
9595	# Native MSVC
9596	hardcode_libdir_flag_spec=' '
9597	allow_undefined_flag=unsupported
9598	always_export_symbols=yes
9599	file_list_spec='@'
9600	# Tell ltmain to make .lib files, not .a files.
9601	libext=lib
9602	# Tell ltmain to make .dll files, not .so files.
9603	shrext_cmds=.dll
9604	# FIXME: Setting linknames here is a bad hack.
9605	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
9606	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
9607            cp "$export_symbols" "$output_objdir/$soname.def";
9608            echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
9609          else
9610            $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
9611          fi~
9612          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
9613          linknames='
9614	# The linker will not automatically build a static lib if we build a DLL.
9615	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
9616	enable_shared_with_static_runtimes=yes
9617	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
9618	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9619	# Don't use ranlib
9620	old_postinstall_cmds='chmod 644 $oldlib'
9621	postlink_cmds='lt_outputfile="@OUTPUT@"~
9622          lt_tool_outputfile="@TOOL_OUTPUT@"~
9623          case $lt_outputfile in
9624            *.exe|*.EXE) ;;
9625            *)
9626              lt_outputfile=$lt_outputfile.exe
9627              lt_tool_outputfile=$lt_tool_outputfile.exe
9628              ;;
9629          esac~
9630          if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
9631            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
9632            $RM "$lt_outputfile.manifest";
9633          fi'
9634	;;
9635      *)
9636	# Assume MSVC wrapper
9637	hardcode_libdir_flag_spec=' '
9638	allow_undefined_flag=unsupported
9639	# Tell ltmain to make .lib files, not .a files.
9640	libext=lib
9641	# Tell ltmain to make .dll files, not .so files.
9642	shrext_cmds=.dll
9643	# FIXME: Setting linknames here is a bad hack.
9644	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9645	# The linker will automatically build a .lib file if we build a DLL.
9646	old_archive_from_new_cmds='true'
9647	# FIXME: Should let the user specify the lib program.
9648	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9649	enable_shared_with_static_runtimes=yes
9650	;;
9651      esac
9652      ;;
9653
9654    darwin* | rhapsody*)
9655
9656
9657  archive_cmds_need_lc=no
9658  hardcode_direct=no
9659  hardcode_automatic=yes
9660  hardcode_shlibpath_var=unsupported
9661  if test yes = "$lt_cv_ld_force_load"; then
9662    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\"`'
9663
9664  else
9665    whole_archive_flag_spec=''
9666  fi
9667  link_all_deplibs=yes
9668  allow_undefined_flag=$_lt_dar_allow_undefined
9669  case $cc_basename in
9670     ifort*|nagfor*) _lt_dar_can_shared=yes ;;
9671     *) _lt_dar_can_shared=$GCC ;;
9672  esac
9673  if test yes = "$_lt_dar_can_shared"; then
9674    output_verbose_link_cmd=func_echo_all
9675    archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
9676    module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
9677    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"
9678    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"
9679
9680  else
9681  ld_shlibs=no
9682  fi
9683
9684      ;;
9685
9686    dgux*)
9687      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9688      hardcode_libdir_flag_spec='-L$libdir'
9689      hardcode_shlibpath_var=no
9690      ;;
9691
9692    # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9693    # support.  Future versions do this automatically, but an explicit c++rt0.o
9694    # does not break anything, and helps significantly (at the cost of a little
9695    # extra space).
9696    freebsd2.2*)
9697      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9698      hardcode_libdir_flag_spec='-R$libdir'
9699      hardcode_direct=yes
9700      hardcode_shlibpath_var=no
9701      ;;
9702
9703    # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9704    freebsd2.*)
9705      archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9706      hardcode_direct=yes
9707      hardcode_minus_L=yes
9708      hardcode_shlibpath_var=no
9709      ;;
9710
9711    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9712    freebsd* | dragonfly*)
9713      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9714      hardcode_libdir_flag_spec='-R$libdir'
9715      hardcode_direct=yes
9716      hardcode_shlibpath_var=no
9717      ;;
9718
9719    hpux9*)
9720      if test yes = "$GCC"; then
9721	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'
9722      else
9723	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'
9724      fi
9725      hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9726      hardcode_libdir_separator=:
9727      hardcode_direct=yes
9728
9729      # hardcode_minus_L: Not really in the search PATH,
9730      # but as the default location of the library.
9731      hardcode_minus_L=yes
9732      export_dynamic_flag_spec='$wl-E'
9733      ;;
9734
9735    hpux10*)
9736      if test yes,no = "$GCC,$with_gnu_ld"; then
9737	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9738      else
9739	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9740      fi
9741      if test no = "$with_gnu_ld"; then
9742	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9743	hardcode_libdir_separator=:
9744	hardcode_direct=yes
9745	hardcode_direct_absolute=yes
9746	export_dynamic_flag_spec='$wl-E'
9747	# hardcode_minus_L: Not really in the search PATH,
9748	# but as the default location of the library.
9749	hardcode_minus_L=yes
9750      fi
9751      ;;
9752
9753    hpux11*)
9754      if test yes,no = "$GCC,$with_gnu_ld"; then
9755	case $host_cpu in
9756	hppa*64*)
9757	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9758	  ;;
9759	ia64*)
9760	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9761	  ;;
9762	*)
9763	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764	  ;;
9765	esac
9766      else
9767	case $host_cpu in
9768	hppa*64*)
9769	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9770	  ;;
9771	ia64*)
9772	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9773	  ;;
9774	*)
9775
9776	  # Older versions of the 11.00 compiler do not understand -b yet
9777	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9778	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9779$as_echo_n "checking if $CC understands -b... " >&6; }
9780if ${lt_cv_prog_compiler__b+:} false; then :
9781  $as_echo_n "(cached) " >&6
9782else
9783  lt_cv_prog_compiler__b=no
9784   save_LDFLAGS=$LDFLAGS
9785   LDFLAGS="$LDFLAGS -b"
9786   echo "$lt_simple_link_test_code" > conftest.$ac_ext
9787   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9788     # The linker can only warn and ignore the option if not recognized
9789     # So say no if there are warnings
9790     if test -s conftest.err; then
9791       # Append any errors to the config.log.
9792       cat conftest.err 1>&5
9793       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9794       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9795       if diff conftest.exp conftest.er2 >/dev/null; then
9796         lt_cv_prog_compiler__b=yes
9797       fi
9798     else
9799       lt_cv_prog_compiler__b=yes
9800     fi
9801   fi
9802   $RM -r conftest*
9803   LDFLAGS=$save_LDFLAGS
9804
9805fi
9806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9807$as_echo "$lt_cv_prog_compiler__b" >&6; }
9808
9809if test yes = "$lt_cv_prog_compiler__b"; then
9810    archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9811else
9812    archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9813fi
9814
9815	  ;;
9816	esac
9817      fi
9818      if test no = "$with_gnu_ld"; then
9819	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
9820	hardcode_libdir_separator=:
9821
9822	case $host_cpu in
9823	hppa*64*|ia64*)
9824	  hardcode_direct=no
9825	  hardcode_shlibpath_var=no
9826	  ;;
9827	*)
9828	  hardcode_direct=yes
9829	  hardcode_direct_absolute=yes
9830	  export_dynamic_flag_spec='$wl-E'
9831
9832	  # hardcode_minus_L: Not really in the search PATH,
9833	  # but as the default location of the library.
9834	  hardcode_minus_L=yes
9835	  ;;
9836	esac
9837      fi
9838      ;;
9839
9840    irix5* | irix6* | nonstopux*)
9841      if test yes = "$GCC"; then
9842	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'
9843	# Try to use the -exported_symbol ld option, if it does not
9844	# work, assume that -exports_file does not work either and
9845	# implicitly export all symbols.
9846	# This should be the same for all languages, so no per-tag cache variable.
9847	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
9848$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
9849if ${lt_cv_irix_exported_symbol+:} false; then :
9850  $as_echo_n "(cached) " >&6
9851else
9852  save_LDFLAGS=$LDFLAGS
9853	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
9854	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855/* end confdefs.h.  */
9856int foo (void) { return 0; }
9857_ACEOF
9858if ac_fn_c_try_link "$LINENO"; then :
9859  lt_cv_irix_exported_symbol=yes
9860else
9861  lt_cv_irix_exported_symbol=no
9862fi
9863rm -f core conftest.err conftest.$ac_objext \
9864    conftest$ac_exeext conftest.$ac_ext
9865           LDFLAGS=$save_LDFLAGS
9866fi
9867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
9868$as_echo "$lt_cv_irix_exported_symbol" >&6; }
9869	if test yes = "$lt_cv_irix_exported_symbol"; then
9870          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'
9871	fi
9872      else
9873	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'
9874	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'
9875      fi
9876      archive_cmds_need_lc='no'
9877      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9878      hardcode_libdir_separator=:
9879      inherit_rpath=yes
9880      link_all_deplibs=yes
9881      ;;
9882
9883    linux*)
9884      case $cc_basename in
9885      tcc*)
9886	# Fabrice Bellard et al's Tiny C Compiler
9887	ld_shlibs=yes
9888	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9889	;;
9890      esac
9891      ;;
9892
9893    netbsd*)
9894      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9895	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9896      else
9897	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
9898      fi
9899      hardcode_libdir_flag_spec='-R$libdir'
9900      hardcode_direct=yes
9901      hardcode_shlibpath_var=no
9902      ;;
9903
9904    newsos6)
9905      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9906      hardcode_direct=yes
9907      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9908      hardcode_libdir_separator=:
9909      hardcode_shlibpath_var=no
9910      ;;
9911
9912    *nto* | *qnx*)
9913      ;;
9914
9915    openbsd* | bitrig*)
9916      if test -f /usr/libexec/ld.so; then
9917	hardcode_direct=yes
9918	hardcode_shlibpath_var=no
9919	hardcode_direct_absolute=yes
9920	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
9921	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9922	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
9923	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9924	  export_dynamic_flag_spec='$wl-E'
9925	else
9926	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9927	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
9928	fi
9929      else
9930	ld_shlibs=no
9931      fi
9932      ;;
9933
9934    os2*)
9935      hardcode_libdir_flag_spec='-L$libdir'
9936      hardcode_minus_L=yes
9937      allow_undefined_flag=unsupported
9938      shrext_cmds=.dll
9939      archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9940	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9941	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9942	$ECHO EXPORTS >> $output_objdir/$libname.def~
9943	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
9944	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9945	emximp -o $lib $output_objdir/$libname.def'
9946      archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
9947	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
9948	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
9949	$ECHO EXPORTS >> $output_objdir/$libname.def~
9950	prefix_cmds="$SED"~
9951	if test EXPORTS = "`$SED 1q $export_symbols`"; then
9952	  prefix_cmds="$prefix_cmds -e 1d";
9953	fi~
9954	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
9955	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
9956	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
9957	emximp -o $lib $output_objdir/$libname.def'
9958      old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
9959      enable_shared_with_static_runtimes=yes
9960      ;;
9961
9962    osf3*)
9963      if test yes = "$GCC"; then
9964	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9965	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'
9966      else
9967	allow_undefined_flag=' -expect_unresolved \*'
9968	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'
9969      fi
9970      archive_cmds_need_lc='no'
9971      hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9972      hardcode_libdir_separator=:
9973      ;;
9974
9975    osf4* | osf5*)	# as osf3* with the addition of -msym flag
9976      if test yes = "$GCC"; then
9977	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
9978	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'
9979	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
9980      else
9981	allow_undefined_flag=' -expect_unresolved \*'
9982	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'
9983	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~
9984          $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'
9985
9986	# Both c and cxx compiler support -rpath directly
9987	hardcode_libdir_flag_spec='-rpath $libdir'
9988      fi
9989      archive_cmds_need_lc='no'
9990      hardcode_libdir_separator=:
9991      ;;
9992
9993    solaris*)
9994      no_undefined_flag=' -z defs'
9995      if test yes = "$GCC"; then
9996	wlarc='$wl'
9997	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
9998	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9999          $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'
10000      else
10001	case `$CC -V 2>&1` in
10002	*"Compilers 5.0"*)
10003	  wlarc=''
10004	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10006            $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10007	  ;;
10008	*)
10009	  wlarc='$wl'
10010	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10011	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10012            $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10013	  ;;
10014	esac
10015      fi
10016      hardcode_libdir_flag_spec='-R$libdir'
10017      hardcode_shlibpath_var=no
10018      case $host_os in
10019      solaris2.[0-5] | solaris2.[0-5].*) ;;
10020      *)
10021	# The compiler driver will combine and reorder linker options,
10022	# but understands '-z linker_flag'.  GCC discards it without '$wl',
10023	# but is careful enough not to reorder.
10024	# Supported since Solaris 2.6 (maybe 2.5.1?)
10025	if test yes = "$GCC"; then
10026	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
10027	else
10028	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10029	fi
10030	;;
10031      esac
10032      link_all_deplibs=yes
10033      ;;
10034
10035    sunos4*)
10036      if test sequent = "$host_vendor"; then
10037	# Use $CC to link under sequent, because it throws in some extra .o
10038	# files that make .init and .fini sections work.
10039	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10040      else
10041	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10042      fi
10043      hardcode_libdir_flag_spec='-L$libdir'
10044      hardcode_direct=yes
10045      hardcode_minus_L=yes
10046      hardcode_shlibpath_var=no
10047      ;;
10048
10049    sysv4)
10050      case $host_vendor in
10051	sni)
10052	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10053	  hardcode_direct=yes # is this really true???
10054	;;
10055	siemens)
10056	  ## LD is ld it makes a PLAMLIB
10057	  ## CC just makes a GrossModule.
10058	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10059	  reload_cmds='$CC -r -o $output$reload_objs'
10060	  hardcode_direct=no
10061        ;;
10062	motorola)
10063	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10064	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10065	;;
10066      esac
10067      runpath_var='LD_RUN_PATH'
10068      hardcode_shlibpath_var=no
10069      ;;
10070
10071    sysv4.3*)
10072      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10073      hardcode_shlibpath_var=no
10074      export_dynamic_flag_spec='-Bexport'
10075      ;;
10076
10077    sysv4*MP*)
10078      if test -d /usr/nec; then
10079	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10080	hardcode_shlibpath_var=no
10081	runpath_var=LD_RUN_PATH
10082	hardcode_runpath_var=yes
10083	ld_shlibs=yes
10084      fi
10085      ;;
10086
10087    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10088      no_undefined_flag='$wl-z,text'
10089      archive_cmds_need_lc=no
10090      hardcode_shlibpath_var=no
10091      runpath_var='LD_RUN_PATH'
10092
10093      if test yes = "$GCC"; then
10094	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10096      else
10097	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10098	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10099      fi
10100      ;;
10101
10102    sysv5* | sco3.2v5* | sco5v6*)
10103      # Note: We CANNOT use -z defs as we might desire, because we do not
10104      # link with -lc, and that would cause any symbols used from libc to
10105      # always be unresolved, which means just about no library would
10106      # ever link correctly.  If we're not using GNU ld we use -z text
10107      # though, which does catch some bad symbols but isn't as heavy-handed
10108      # as -z defs.
10109      no_undefined_flag='$wl-z,text'
10110      allow_undefined_flag='$wl-z,nodefs'
10111      archive_cmds_need_lc=no
10112      hardcode_shlibpath_var=no
10113      hardcode_libdir_flag_spec='$wl-R,$libdir'
10114      hardcode_libdir_separator=':'
10115      link_all_deplibs=yes
10116      export_dynamic_flag_spec='$wl-Bexport'
10117      runpath_var='LD_RUN_PATH'
10118
10119      if test yes = "$GCC"; then
10120	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10122      else
10123	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10124	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10125      fi
10126      ;;
10127
10128    uts4*)
10129      archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10130      hardcode_libdir_flag_spec='-L$libdir'
10131      hardcode_shlibpath_var=no
10132      ;;
10133
10134    *)
10135      ld_shlibs=no
10136      ;;
10137    esac
10138
10139    if test sni = "$host_vendor"; then
10140      case $host in
10141      sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10142	export_dynamic_flag_spec='$wl-Blargedynsym'
10143	;;
10144      esac
10145    fi
10146  fi
10147
10148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10149$as_echo "$ld_shlibs" >&6; }
10150test no = "$ld_shlibs" && can_build_shared=no
10151
10152with_gnu_ld=$with_gnu_ld
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168#
10169# Do we need to explicitly link libc?
10170#
10171case "x$archive_cmds_need_lc" in
10172x|xyes)
10173  # Assume -lc should be added
10174  archive_cmds_need_lc=yes
10175
10176  if test yes,yes = "$GCC,$enable_shared"; then
10177    case $archive_cmds in
10178    *'~'*)
10179      # FIXME: we may have to deal with multi-command sequences.
10180      ;;
10181    '$CC '*)
10182      # Test whether the compiler implicitly links with -lc since on some
10183      # systems, -lgcc has to come before -lc. If gcc already passes -lc
10184      # to ld, don't add -lc before -lgcc.
10185      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10186$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10187if ${lt_cv_archive_cmds_need_lc+:} false; then :
10188  $as_echo_n "(cached) " >&6
10189else
10190  $RM conftest*
10191	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10192
10193	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10194  (eval $ac_compile) 2>&5
10195  ac_status=$?
10196  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10197  test $ac_status = 0; } 2>conftest.err; then
10198	  soname=conftest
10199	  lib=conftest
10200	  libobjs=conftest.$ac_objext
10201	  deplibs=
10202	  wl=$lt_prog_compiler_wl
10203	  pic_flag=$lt_prog_compiler_pic
10204	  compiler_flags=-v
10205	  linker_flags=-v
10206	  verstring=
10207	  output_objdir=.
10208	  libname=conftest
10209	  lt_save_allow_undefined_flag=$allow_undefined_flag
10210	  allow_undefined_flag=
10211	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10212  (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10213  ac_status=$?
10214  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10215  test $ac_status = 0; }
10216	  then
10217	    lt_cv_archive_cmds_need_lc=no
10218	  else
10219	    lt_cv_archive_cmds_need_lc=yes
10220	  fi
10221	  allow_undefined_flag=$lt_save_allow_undefined_flag
10222	else
10223	  cat conftest.err 1>&5
10224	fi
10225	$RM conftest*
10226
10227fi
10228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10229$as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10230      archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10231      ;;
10232    esac
10233  fi
10234  ;;
10235esac
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389$as_echo_n "checking dynamic linker characteristics... " >&6; }
10390
10391if test yes = "$GCC"; then
10392  case $host_os in
10393    darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
10394    *) lt_awk_arg='/^libraries:/' ;;
10395  esac
10396  case $host_os in
10397    mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
10398    *) lt_sed_strip_eq='s|=/|/|g' ;;
10399  esac
10400  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401  case $lt_search_path_spec in
10402  *\;*)
10403    # if the path contains ";" then we assume it to be the separator
10404    # otherwise default to the standard path separator (i.e. ":") - it is
10405    # assumed that no part of a normal pathname contains ";" but that should
10406    # okay in the real world where ";" in dirpaths is itself problematic.
10407    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10408    ;;
10409  *)
10410    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10411    ;;
10412  esac
10413  # Ok, now we have the path, separated by spaces, we can step through it
10414  # and add multilib dir if necessary...
10415  lt_tmp_lt_search_path_spec=
10416  lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417  # ...but if some path component already ends with the multilib dir we assume
10418  # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
10419  case "$lt_multi_os_dir; $lt_search_path_spec " in
10420  "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
10421    lt_multi_os_dir=
10422    ;;
10423  esac
10424  for lt_sys_path in $lt_search_path_spec; do
10425    if test -d "$lt_sys_path$lt_multi_os_dir"; then
10426      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
10427    elif test -n "$lt_multi_os_dir"; then
10428      test -d "$lt_sys_path" && \
10429	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10430    fi
10431  done
10432  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10433BEGIN {RS = " "; FS = "/|\n";} {
10434  lt_foo = "";
10435  lt_count = 0;
10436  for (lt_i = NF; lt_i > 0; lt_i--) {
10437    if ($lt_i != "" && $lt_i != ".") {
10438      if ($lt_i == "..") {
10439        lt_count++;
10440      } else {
10441        if (lt_count == 0) {
10442          lt_foo = "/" $lt_i lt_foo;
10443        } else {
10444          lt_count--;
10445        }
10446      }
10447    }
10448  }
10449  if (lt_foo != "") { lt_freq[lt_foo]++; }
10450  if (lt_freq[lt_foo] == 1) { print lt_foo; }
10451}'`
10452  # AWK program above erroneously prepends '/' to C:/dos/paths
10453  # for these hosts.
10454  case $host_os in
10455    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10456      $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
10457  esac
10458  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10459else
10460  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10461fi
10462library_names_spec=
10463libname_spec='lib$name'
10464soname_spec=
10465shrext_cmds=.so
10466postinstall_cmds=
10467postuninstall_cmds=
10468finish_cmds=
10469finish_eval=
10470shlibpath_var=
10471shlibpath_overrides_runpath=unknown
10472version_type=none
10473dynamic_linker="$host_os ld.so"
10474sys_lib_dlsearch_path_spec="/lib /usr/lib"
10475need_lib_prefix=unknown
10476hardcode_into_libs=no
10477
10478# when you set need_version to no, make sure it does not cause -set_version
10479# flags to be left without arguments
10480need_version=unknown
10481
10482
10483
10484case $host_os in
10485aix3*)
10486  version_type=linux # correct to gnu/linux during the next big refactor
10487  library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
10488  shlibpath_var=LIBPATH
10489
10490  # AIX 3 has no versioning support, so we append a major version to the name.
10491  soname_spec='$libname$release$shared_ext$major'
10492  ;;
10493
10494aix[4-9]*)
10495  version_type=linux # correct to gnu/linux during the next big refactor
10496  need_lib_prefix=no
10497  need_version=no
10498  hardcode_into_libs=yes
10499  if test ia64 = "$host_cpu"; then
10500    # AIX 5 supports IA64
10501    library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
10502    shlibpath_var=LD_LIBRARY_PATH
10503  else
10504    # With GCC up to 2.95.x, collect2 would create an import file
10505    # for dependence libraries.  The import file would start with
10506    # the line '#! .'.  This would cause the generated library to
10507    # depend on '.', always an invalid library.  This was fixed in
10508    # development snapshots of GCC prior to 3.0.
10509    case $host_os in
10510      aix4 | aix4.[01] | aix4.[01].*)
10511      if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10512	   echo ' yes '
10513	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
10514	:
10515      else
10516	can_build_shared=no
10517      fi
10518      ;;
10519    esac
10520    # Using Import Files as archive members, it is possible to support
10521    # filename-based versioning of shared library archives on AIX. While
10522    # this would work for both with and without runtime linking, it will
10523    # prevent static linking of such archives. So we do filename-based
10524    # shared library versioning with .so extension only, which is used
10525    # when both runtime linking and shared linking is enabled.
10526    # Unfortunately, runtime linking may impact performance, so we do
10527    # not want this to be the default eventually. Also, we use the
10528    # versioned .so libs for executables only if there is the -brtl
10529    # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
10530    # To allow for filename-based versioning support, we need to create
10531    # libNAME.so.V as an archive file, containing:
10532    # *) an Import File, referring to the versioned filename of the
10533    #    archive as well as the shared archive member, telling the
10534    #    bitwidth (32 or 64) of that shared object, and providing the
10535    #    list of exported symbols of that shared object, eventually
10536    #    decorated with the 'weak' keyword
10537    # *) the shared object with the F_LOADONLY flag set, to really avoid
10538    #    it being seen by the linker.
10539    # At run time we better use the real file rather than another symlink,
10540    # but for link time we create the symlink libNAME.so -> libNAME.so.V
10541
10542    case $with_aix_soname,$aix_use_runtimelinking in
10543    # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
10544    # soname into executable. Probably we can add versioning support to
10545    # collect2, so additional links can be useful in future.
10546    aix,yes) # traditional libtool
10547      dynamic_linker='AIX unversionable lib.so'
10548      # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10549      # instead of lib<name>.a to let people know that these are not
10550      # typical AIX shared libraries.
10551      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10552      ;;
10553    aix,no) # traditional AIX only
10554      dynamic_linker='AIX lib.a(lib.so.V)'
10555      # We preserve .a as extension for shared libraries through AIX4.2
10556      # and later when we are not doing run time linking.
10557      library_names_spec='$libname$release.a $libname.a'
10558      soname_spec='$libname$release$shared_ext$major'
10559      ;;
10560    svr4,*) # full svr4 only
10561      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
10562      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10563      # We do not specify a path in Import Files, so LIBPATH fires.
10564      shlibpath_overrides_runpath=yes
10565      ;;
10566    *,yes) # both, prefer svr4
10567      dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
10568      library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
10569      # unpreferred sharedlib libNAME.a needs extra handling
10570      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"'
10571      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"'
10572      # We do not specify a path in Import Files, so LIBPATH fires.
10573      shlibpath_overrides_runpath=yes
10574      ;;
10575    *,no) # both, prefer aix
10576      dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
10577      library_names_spec='$libname$release.a $libname.a'
10578      soname_spec='$libname$release$shared_ext$major'
10579      # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
10580      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)'
10581      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"'
10582      ;;
10583    esac
10584    shlibpath_var=LIBPATH
10585  fi
10586  ;;
10587
10588amigaos*)
10589  case $host_cpu in
10590  powerpc)
10591    # Since July 2007 AmigaOS4 officially supports .so libraries.
10592    # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10593    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10594    ;;
10595  m68k)
10596    library_names_spec='$libname.ixlibrary $libname.a'
10597    # Create ${libname}_ixlibrary.a entries in /sys/libs.
10598    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'
10599    ;;
10600  esac
10601  ;;
10602
10603beos*)
10604  library_names_spec='$libname$shared_ext'
10605  dynamic_linker="$host_os ld.so"
10606  shlibpath_var=LIBRARY_PATH
10607  ;;
10608
10609bsdi[45]*)
10610  version_type=linux # correct to gnu/linux during the next big refactor
10611  need_version=no
10612  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10613  soname_spec='$libname$release$shared_ext$major'
10614  finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10615  shlibpath_var=LD_LIBRARY_PATH
10616  sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10617  sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10618  # the default ld.so.conf also contains /usr/contrib/lib and
10619  # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10620  # libtool to hard-code these into programs
10621  ;;
10622
10623cygwin* | mingw* | pw32* | cegcc*)
10624  version_type=windows
10625  shrext_cmds=.dll
10626  need_version=no
10627  need_lib_prefix=no
10628
10629  case $GCC,$cc_basename in
10630  yes,*)
10631    # gcc
10632    library_names_spec='$libname.dll.a'
10633    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10634    postinstall_cmds='base_file=`basename \$file`~
10635      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10636      dldir=$destdir/`dirname \$dlpath`~
10637      test -d \$dldir || mkdir -p \$dldir~
10638      $install_prog $dir/$dlname \$dldir/$dlname~
10639      chmod a+x \$dldir/$dlname~
10640      if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10641        eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10642      fi'
10643    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10644      dlpath=$dir/\$dldll~
10645       $RM \$dlpath'
10646    shlibpath_overrides_runpath=yes
10647
10648    case $host_os in
10649    cygwin*)
10650      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10651      soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10652
10653      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10654      ;;
10655    mingw* | cegcc*)
10656      # MinGW DLLs use traditional 'lib' prefix
10657      soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10658      ;;
10659    pw32*)
10660      # pw32 DLLs use 'pw' prefix rather than 'lib'
10661      library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10662      ;;
10663    esac
10664    dynamic_linker='Win32 ld.exe'
10665    ;;
10666
10667  *,cl*)
10668    # Native MSVC
10669    libname_spec='$name'
10670    soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
10671    library_names_spec='$libname.dll.lib'
10672
10673    case $build_os in
10674    mingw*)
10675      sys_lib_search_path_spec=
10676      lt_save_ifs=$IFS
10677      IFS=';'
10678      for lt_path in $LIB
10679      do
10680        IFS=$lt_save_ifs
10681        # Let DOS variable expansion print the short 8.3 style file name.
10682        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
10683        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
10684      done
10685      IFS=$lt_save_ifs
10686      # Convert to MSYS style.
10687      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
10688      ;;
10689    cygwin*)
10690      # Convert to unix form, then to dos form, then back to unix form
10691      # but this time dos style (no spaces!) so that the unix form looks
10692      # like /cygdrive/c/PROGRA~1:/cygdr...
10693      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
10694      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
10695      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10696      ;;
10697    *)
10698      sys_lib_search_path_spec=$LIB
10699      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
10700        # It is most probably a Windows format PATH.
10701        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
10702      else
10703        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
10704      fi
10705      # FIXME: find the short name or the path components, as spaces are
10706      # common. (e.g. "Program Files" -> "PROGRA~1")
10707      ;;
10708    esac
10709
10710    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10711    postinstall_cmds='base_file=`basename \$file`~
10712      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
10713      dldir=$destdir/`dirname \$dlpath`~
10714      test -d \$dldir || mkdir -p \$dldir~
10715      $install_prog $dir/$dlname \$dldir/$dlname'
10716    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10717      dlpath=$dir/\$dldll~
10718       $RM \$dlpath'
10719    shlibpath_overrides_runpath=yes
10720    dynamic_linker='Win32 link.exe'
10721    ;;
10722
10723  *)
10724    # Assume MSVC wrapper
10725    library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
10726    dynamic_linker='Win32 ld.exe'
10727    ;;
10728  esac
10729  # FIXME: first we should search . and the directory the executable is in
10730  shlibpath_var=PATH
10731  ;;
10732
10733darwin* | rhapsody*)
10734  dynamic_linker="$host_os dyld"
10735  version_type=darwin
10736  need_lib_prefix=no
10737  need_version=no
10738  library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
10739  soname_spec='$libname$release$major$shared_ext'
10740  shlibpath_overrides_runpath=yes
10741  shlibpath_var=DYLD_LIBRARY_PATH
10742  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10743
10744  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10745  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10746  ;;
10747
10748dgux*)
10749  version_type=linux # correct to gnu/linux during the next big refactor
10750  need_lib_prefix=no
10751  need_version=no
10752  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10753  soname_spec='$libname$release$shared_ext$major'
10754  shlibpath_var=LD_LIBRARY_PATH
10755  ;;
10756
10757freebsd* | dragonfly*)
10758  # DragonFly does not have aout.  When/if they implement a new
10759  # versioning mechanism, adjust this.
10760  if test -x /usr/bin/objformat; then
10761    objformat=`/usr/bin/objformat`
10762  else
10763    case $host_os in
10764    freebsd[23].*) objformat=aout ;;
10765    *) objformat=elf ;;
10766    esac
10767  fi
10768  version_type=freebsd-$objformat
10769  case $version_type in
10770    freebsd-elf*)
10771      library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10772      soname_spec='$libname$release$shared_ext$major'
10773      need_version=no
10774      need_lib_prefix=no
10775      ;;
10776    freebsd-*)
10777      library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
10778      need_version=yes
10779      ;;
10780  esac
10781  shlibpath_var=LD_LIBRARY_PATH
10782  case $host_os in
10783  freebsd2.*)
10784    shlibpath_overrides_runpath=yes
10785    ;;
10786  freebsd3.[01]* | freebsdelf3.[01]*)
10787    shlibpath_overrides_runpath=yes
10788    hardcode_into_libs=yes
10789    ;;
10790  freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10791  freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10792    shlibpath_overrides_runpath=no
10793    hardcode_into_libs=yes
10794    ;;
10795  *) # from 4.6 on, and DragonFly
10796    shlibpath_overrides_runpath=yes
10797    hardcode_into_libs=yes
10798    ;;
10799  esac
10800  ;;
10801
10802haiku*)
10803  version_type=linux # correct to gnu/linux during the next big refactor
10804  need_lib_prefix=no
10805  need_version=no
10806  dynamic_linker="$host_os runtime_loader"
10807  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10808  soname_spec='$libname$release$shared_ext$major'
10809  shlibpath_var=LIBRARY_PATH
10810  shlibpath_overrides_runpath=no
10811  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
10812  hardcode_into_libs=yes
10813  ;;
10814
10815hpux9* | hpux10* | hpux11*)
10816  # Give a soname corresponding to the major version so that dld.sl refuses to
10817  # link against other versions.
10818  version_type=sunos
10819  need_lib_prefix=no
10820  need_version=no
10821  case $host_cpu in
10822  ia64*)
10823    shrext_cmds='.so'
10824    hardcode_into_libs=yes
10825    dynamic_linker="$host_os dld.so"
10826    shlibpath_var=LD_LIBRARY_PATH
10827    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10828    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10829    soname_spec='$libname$release$shared_ext$major'
10830    if test 32 = "$HPUX_IA64_MODE"; then
10831      sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10832      sys_lib_dlsearch_path_spec=/usr/lib/hpux32
10833    else
10834      sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10835      sys_lib_dlsearch_path_spec=/usr/lib/hpux64
10836    fi
10837    ;;
10838  hppa*64*)
10839    shrext_cmds='.sl'
10840    hardcode_into_libs=yes
10841    dynamic_linker="$host_os dld.sl"
10842    shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10843    shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10844    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10845    soname_spec='$libname$release$shared_ext$major'
10846    sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10847    sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10848    ;;
10849  *)
10850    shrext_cmds='.sl'
10851    dynamic_linker="$host_os dld.sl"
10852    shlibpath_var=SHLIB_PATH
10853    shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10854    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10855    soname_spec='$libname$release$shared_ext$major'
10856    ;;
10857  esac
10858  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10859  postinstall_cmds='chmod 555 $lib'
10860  # or fails outright, so override atomically:
10861  install_override_mode=555
10862  ;;
10863
10864interix[3-9]*)
10865  version_type=linux # correct to gnu/linux during the next big refactor
10866  need_lib_prefix=no
10867  need_version=no
10868  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10869  soname_spec='$libname$release$shared_ext$major'
10870  dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10871  shlibpath_var=LD_LIBRARY_PATH
10872  shlibpath_overrides_runpath=no
10873  hardcode_into_libs=yes
10874  ;;
10875
10876irix5* | irix6* | nonstopux*)
10877  case $host_os in
10878    nonstopux*) version_type=nonstopux ;;
10879    *)
10880	if test yes = "$lt_cv_prog_gnu_ld"; then
10881		version_type=linux # correct to gnu/linux during the next big refactor
10882	else
10883		version_type=irix
10884	fi ;;
10885  esac
10886  need_lib_prefix=no
10887  need_version=no
10888  soname_spec='$libname$release$shared_ext$major'
10889  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
10890  case $host_os in
10891  irix5* | nonstopux*)
10892    libsuff= shlibsuff=
10893    ;;
10894  *)
10895    case $LD in # libtool.m4 will add one of these switches to LD
10896    *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10897      libsuff= shlibsuff= libmagic=32-bit;;
10898    *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10899      libsuff=32 shlibsuff=N32 libmagic=N32;;
10900    *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10901      libsuff=64 shlibsuff=64 libmagic=64-bit;;
10902    *) libsuff= shlibsuff= libmagic=never-match;;
10903    esac
10904    ;;
10905  esac
10906  shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10907  shlibpath_overrides_runpath=no
10908  sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
10909  sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
10910  hardcode_into_libs=yes
10911  ;;
10912
10913# No shared lib support for Linux oldld, aout, or coff.
10914linux*oldld* | linux*aout* | linux*coff*)
10915  dynamic_linker=no
10916  ;;
10917
10918linux*android*)
10919  version_type=none # Android doesn't support versioned libraries.
10920  need_lib_prefix=no
10921  need_version=no
10922  library_names_spec='$libname$release$shared_ext'
10923  soname_spec='$libname$release$shared_ext'
10924  finish_cmds=
10925  shlibpath_var=LD_LIBRARY_PATH
10926  shlibpath_overrides_runpath=yes
10927
10928  # This implies no fast_install, which is unacceptable.
10929  # Some rework will be needed to allow for fast_install
10930  # before this can be enabled.
10931  hardcode_into_libs=yes
10932
10933  dynamic_linker='Android linker'
10934  # Don't embed -rpath directories since the linker doesn't support them.
10935  hardcode_libdir_flag_spec='-L$libdir'
10936  ;;
10937
10938# This must be glibc/ELF.
10939linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10940  version_type=linux # correct to gnu/linux during the next big refactor
10941  need_lib_prefix=no
10942  need_version=no
10943  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
10944  soname_spec='$libname$release$shared_ext$major'
10945  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10946  shlibpath_var=LD_LIBRARY_PATH
10947  shlibpath_overrides_runpath=no
10948
10949  # Some binutils ld are patched to set DT_RUNPATH
10950  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10951  $as_echo_n "(cached) " >&6
10952else
10953  lt_cv_shlibpath_overrides_runpath=no
10954    save_LDFLAGS=$LDFLAGS
10955    save_libdir=$libdir
10956    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10957	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10958    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10959/* end confdefs.h.  */
10960
10961int
10962main ()
10963{
10964
10965  ;
10966  return 0;
10967}
10968_ACEOF
10969if ac_fn_c_try_link "$LINENO"; then :
10970  if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10971  lt_cv_shlibpath_overrides_runpath=yes
10972fi
10973fi
10974rm -f core conftest.err conftest.$ac_objext \
10975    conftest$ac_exeext conftest.$ac_ext
10976    LDFLAGS=$save_LDFLAGS
10977    libdir=$save_libdir
10978
10979fi
10980
10981  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10982
10983  # This implies no fast_install, which is unacceptable.
10984  # Some rework will be needed to allow for fast_install
10985  # before this can be enabled.
10986  hardcode_into_libs=yes
10987
10988  # Ideally, we could use ldconfig to report *all* directores which are
10989  # searched for libraries, however this is still not possible.  Aside from not
10990  # being certain /sbin/ldconfig is available, command
10991  # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
10992  # even though it is searched at run-time.  Try to do the best guess by
10993  # appending ld.so.conf contents (and includes) to the search path.
10994  if test -f /etc/ld.so.conf; then
10995    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' ' '`
10996    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10997  fi
10998
10999  # We used to test for /lib/ld.so.1 and disable shared libraries on
11000  # powerpc, because MkLinux only supported shared libraries with the
11001  # GNU dynamic linker.  Since this was broken with cross compilers,
11002  # most powerpc-linux boxes support dynamic linking these days and
11003  # people can always --disable-shared, the test was removed, and we
11004  # assume the GNU/Linux dynamic linker is in use.
11005  dynamic_linker='GNU/Linux ld.so'
11006  ;;
11007
11008netbsd*)
11009  version_type=sunos
11010  need_lib_prefix=no
11011  need_version=no
11012  if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11013    library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11014    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11015    dynamic_linker='NetBSD (a.out) ld.so'
11016  else
11017    library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11018    soname_spec='$libname$release$shared_ext$major'
11019    dynamic_linker='NetBSD ld.elf_so'
11020  fi
11021  shlibpath_var=LD_LIBRARY_PATH
11022  shlibpath_overrides_runpath=yes
11023  hardcode_into_libs=yes
11024  ;;
11025
11026newsos6)
11027  version_type=linux # correct to gnu/linux during the next big refactor
11028  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11029  shlibpath_var=LD_LIBRARY_PATH
11030  shlibpath_overrides_runpath=yes
11031  ;;
11032
11033*nto* | *qnx*)
11034  version_type=qnx
11035  need_lib_prefix=no
11036  need_version=no
11037  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11038  soname_spec='$libname$release$shared_ext$major'
11039  shlibpath_var=LD_LIBRARY_PATH
11040  shlibpath_overrides_runpath=no
11041  hardcode_into_libs=yes
11042  dynamic_linker='ldqnx.so'
11043  ;;
11044
11045openbsd* | bitrig*)
11046  version_type=sunos
11047  sys_lib_dlsearch_path_spec=/usr/lib
11048  need_lib_prefix=no
11049  if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
11050    need_version=no
11051  else
11052    need_version=yes
11053  fi
11054  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11055  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11056  shlibpath_var=LD_LIBRARY_PATH
11057  shlibpath_overrides_runpath=yes
11058  ;;
11059
11060os2*)
11061  libname_spec='$name'
11062  version_type=windows
11063  shrext_cmds=.dll
11064  need_version=no
11065  need_lib_prefix=no
11066  # OS/2 can only load a DLL with a base name of 8 characters or less.
11067  soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
11068    v=$($ECHO $release$versuffix | tr -d .-);
11069    n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
11070    $ECHO $n$v`$shared_ext'
11071  library_names_spec='${libname}_dll.$libext'
11072  dynamic_linker='OS/2 ld.exe'
11073  shlibpath_var=BEGINLIBPATH
11074  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11075  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11076  postinstall_cmds='base_file=`basename \$file`~
11077    dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
11078    dldir=$destdir/`dirname \$dlpath`~
11079    test -d \$dldir || mkdir -p \$dldir~
11080    $install_prog $dir/$dlname \$dldir/$dlname~
11081    chmod a+x \$dldir/$dlname~
11082    if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11083      eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11084    fi'
11085  postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
11086    dlpath=$dir/\$dldll~
11087    $RM \$dlpath'
11088  ;;
11089
11090osf3* | osf4* | osf5*)
11091  version_type=osf
11092  need_lib_prefix=no
11093  need_version=no
11094  soname_spec='$libname$release$shared_ext$major'
11095  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11096  shlibpath_var=LD_LIBRARY_PATH
11097  sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11098  sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11099  ;;
11100
11101rdos*)
11102  dynamic_linker=no
11103  ;;
11104
11105solaris*)
11106  version_type=linux # correct to gnu/linux during the next big refactor
11107  need_lib_prefix=no
11108  need_version=no
11109  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11110  soname_spec='$libname$release$shared_ext$major'
11111  shlibpath_var=LD_LIBRARY_PATH
11112  shlibpath_overrides_runpath=yes
11113  hardcode_into_libs=yes
11114  # ldd complains unless libraries are executable
11115  postinstall_cmds='chmod +x $lib'
11116  ;;
11117
11118sunos4*)
11119  version_type=sunos
11120  library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
11121  finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11122  shlibpath_var=LD_LIBRARY_PATH
11123  shlibpath_overrides_runpath=yes
11124  if test yes = "$with_gnu_ld"; then
11125    need_lib_prefix=no
11126  fi
11127  need_version=yes
11128  ;;
11129
11130sysv4 | sysv4.3*)
11131  version_type=linux # correct to gnu/linux during the next big refactor
11132  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11133  soname_spec='$libname$release$shared_ext$major'
11134  shlibpath_var=LD_LIBRARY_PATH
11135  case $host_vendor in
11136    sni)
11137      shlibpath_overrides_runpath=no
11138      need_lib_prefix=no
11139      runpath_var=LD_RUN_PATH
11140      ;;
11141    siemens)
11142      need_lib_prefix=no
11143      ;;
11144    motorola)
11145      need_lib_prefix=no
11146      need_version=no
11147      shlibpath_overrides_runpath=no
11148      sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11149      ;;
11150  esac
11151  ;;
11152
11153sysv4*MP*)
11154  if test -d /usr/nec; then
11155    version_type=linux # correct to gnu/linux during the next big refactor
11156    library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
11157    soname_spec='$libname$shared_ext.$major'
11158    shlibpath_var=LD_LIBRARY_PATH
11159  fi
11160  ;;
11161
11162sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11163  version_type=sco
11164  need_lib_prefix=no
11165  need_version=no
11166  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
11167  soname_spec='$libname$release$shared_ext$major'
11168  shlibpath_var=LD_LIBRARY_PATH
11169  shlibpath_overrides_runpath=yes
11170  hardcode_into_libs=yes
11171  if test yes = "$with_gnu_ld"; then
11172    sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11173  else
11174    sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11175    case $host_os in
11176      sco3.2v5*)
11177        sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11178	;;
11179    esac
11180  fi
11181  sys_lib_dlsearch_path_spec='/usr/lib'
11182  ;;
11183
11184tpf*)
11185  # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
11186  version_type=linux # correct to gnu/linux during the next big refactor
11187  need_lib_prefix=no
11188  need_version=no
11189  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11190  shlibpath_var=LD_LIBRARY_PATH
11191  shlibpath_overrides_runpath=no
11192  hardcode_into_libs=yes
11193  ;;
11194
11195uts4*)
11196  version_type=linux # correct to gnu/linux during the next big refactor
11197  library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
11198  soname_spec='$libname$release$shared_ext$major'
11199  shlibpath_var=LD_LIBRARY_PATH
11200  ;;
11201
11202*)
11203  dynamic_linker=no
11204  ;;
11205esac
11206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11207$as_echo "$dynamic_linker" >&6; }
11208test no = "$dynamic_linker" && can_build_shared=no
11209
11210variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11211if test yes = "$GCC"; then
11212  variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11213fi
11214
11215if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
11216  sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
11217fi
11218
11219if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
11220  sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
11221fi
11222
11223# remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
11224configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
11225
11226# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
11227func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
11228
11229# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
11230configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11329$as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11330hardcode_action=
11331if test -n "$hardcode_libdir_flag_spec" ||
11332   test -n "$runpath_var" ||
11333   test yes = "$hardcode_automatic"; then
11334
11335  # We can hardcode non-existent directories.
11336  if test no != "$hardcode_direct" &&
11337     # If the only mechanism to avoid hardcoding is shlibpath_var, we
11338     # have to relink, otherwise we might link with an installed library
11339     # when we should be linking with a yet-to-be-installed one
11340     ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
11341     test no != "$hardcode_minus_L"; then
11342    # Linking always hardcodes the temporary library directory.
11343    hardcode_action=relink
11344  else
11345    # We can link without hardcoding, and we can hardcode nonexisting dirs.
11346    hardcode_action=immediate
11347  fi
11348else
11349  # We cannot hardcode anything, or else we can only hardcode existing
11350  # directories.
11351  hardcode_action=unsupported
11352fi
11353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11354$as_echo "$hardcode_action" >&6; }
11355
11356if test relink = "$hardcode_action" ||
11357   test yes = "$inherit_rpath"; then
11358  # Fast installation is not supported
11359  enable_fast_install=no
11360elif test yes = "$shlibpath_overrides_runpath" ||
11361     test no = "$enable_shared"; then
11362  # Fast installation is not necessary
11363  enable_fast_install=needless
11364fi
11365
11366
11367
11368
11369
11370
11371  if test yes != "$enable_dlopen"; then
11372  enable_dlopen=unknown
11373  enable_dlopen_self=unknown
11374  enable_dlopen_self_static=unknown
11375else
11376  lt_cv_dlopen=no
11377  lt_cv_dlopen_libs=
11378
11379  case $host_os in
11380  beos*)
11381    lt_cv_dlopen=load_add_on
11382    lt_cv_dlopen_libs=
11383    lt_cv_dlopen_self=yes
11384    ;;
11385
11386  mingw* | pw32* | cegcc*)
11387    lt_cv_dlopen=LoadLibrary
11388    lt_cv_dlopen_libs=
11389    ;;
11390
11391  cygwin*)
11392    lt_cv_dlopen=dlopen
11393    lt_cv_dlopen_libs=
11394    ;;
11395
11396  darwin*)
11397    # if libdl is installed we need to link against it
11398    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11399$as_echo_n "checking for dlopen in -ldl... " >&6; }
11400if ${ac_cv_lib_dl_dlopen+:} false; then :
11401  $as_echo_n "(cached) " >&6
11402else
11403  ac_check_lib_save_LIBS=$LIBS
11404LIBS="-ldl  $LIBS"
11405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11406/* end confdefs.h.  */
11407
11408/* Override any GCC internal prototype to avoid an error.
11409   Use char because int might match the return type of a GCC
11410   builtin and then its argument prototype would still apply.  */
11411#ifdef __cplusplus
11412extern "C"
11413#endif
11414char dlopen ();
11415int
11416main ()
11417{
11418return dlopen ();
11419  ;
11420  return 0;
11421}
11422_ACEOF
11423if ac_fn_c_try_link "$LINENO"; then :
11424  ac_cv_lib_dl_dlopen=yes
11425else
11426  ac_cv_lib_dl_dlopen=no
11427fi
11428rm -f core conftest.err conftest.$ac_objext \
11429    conftest$ac_exeext conftest.$ac_ext
11430LIBS=$ac_check_lib_save_LIBS
11431fi
11432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11433$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11434if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11435  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11436else
11437
11438    lt_cv_dlopen=dyld
11439    lt_cv_dlopen_libs=
11440    lt_cv_dlopen_self=yes
11441
11442fi
11443
11444    ;;
11445
11446  tpf*)
11447    # Don't try to run any link tests for TPF.  We know it's impossible
11448    # because TPF is a cross-compiler, and we know how we open DSOs.
11449    lt_cv_dlopen=dlopen
11450    lt_cv_dlopen_libs=
11451    lt_cv_dlopen_self=no
11452    ;;
11453
11454  *)
11455    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11456if test "x$ac_cv_func_shl_load" = xyes; then :
11457  lt_cv_dlopen=shl_load
11458else
11459  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11460$as_echo_n "checking for shl_load in -ldld... " >&6; }
11461if ${ac_cv_lib_dld_shl_load+:} false; then :
11462  $as_echo_n "(cached) " >&6
11463else
11464  ac_check_lib_save_LIBS=$LIBS
11465LIBS="-ldld  $LIBS"
11466cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11467/* end confdefs.h.  */
11468
11469/* Override any GCC internal prototype to avoid an error.
11470   Use char because int might match the return type of a GCC
11471   builtin and then its argument prototype would still apply.  */
11472#ifdef __cplusplus
11473extern "C"
11474#endif
11475char shl_load ();
11476int
11477main ()
11478{
11479return shl_load ();
11480  ;
11481  return 0;
11482}
11483_ACEOF
11484if ac_fn_c_try_link "$LINENO"; then :
11485  ac_cv_lib_dld_shl_load=yes
11486else
11487  ac_cv_lib_dld_shl_load=no
11488fi
11489rm -f core conftest.err conftest.$ac_objext \
11490    conftest$ac_exeext conftest.$ac_ext
11491LIBS=$ac_check_lib_save_LIBS
11492fi
11493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11494$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11495if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11496  lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
11497else
11498  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11499if test "x$ac_cv_func_dlopen" = xyes; then :
11500  lt_cv_dlopen=dlopen
11501else
11502  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11503$as_echo_n "checking for dlopen in -ldl... " >&6; }
11504if ${ac_cv_lib_dl_dlopen+:} false; then :
11505  $as_echo_n "(cached) " >&6
11506else
11507  ac_check_lib_save_LIBS=$LIBS
11508LIBS="-ldl  $LIBS"
11509cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11510/* end confdefs.h.  */
11511
11512/* Override any GCC internal prototype to avoid an error.
11513   Use char because int might match the return type of a GCC
11514   builtin and then its argument prototype would still apply.  */
11515#ifdef __cplusplus
11516extern "C"
11517#endif
11518char dlopen ();
11519int
11520main ()
11521{
11522return dlopen ();
11523  ;
11524  return 0;
11525}
11526_ACEOF
11527if ac_fn_c_try_link "$LINENO"; then :
11528  ac_cv_lib_dl_dlopen=yes
11529else
11530  ac_cv_lib_dl_dlopen=no
11531fi
11532rm -f core conftest.err conftest.$ac_objext \
11533    conftest$ac_exeext conftest.$ac_ext
11534LIBS=$ac_check_lib_save_LIBS
11535fi
11536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11537$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11538if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11539  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
11540else
11541  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11542$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11543if ${ac_cv_lib_svld_dlopen+:} false; then :
11544  $as_echo_n "(cached) " >&6
11545else
11546  ac_check_lib_save_LIBS=$LIBS
11547LIBS="-lsvld  $LIBS"
11548cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11549/* end confdefs.h.  */
11550
11551/* Override any GCC internal prototype to avoid an error.
11552   Use char because int might match the return type of a GCC
11553   builtin and then its argument prototype would still apply.  */
11554#ifdef __cplusplus
11555extern "C"
11556#endif
11557char dlopen ();
11558int
11559main ()
11560{
11561return dlopen ();
11562  ;
11563  return 0;
11564}
11565_ACEOF
11566if ac_fn_c_try_link "$LINENO"; then :
11567  ac_cv_lib_svld_dlopen=yes
11568else
11569  ac_cv_lib_svld_dlopen=no
11570fi
11571rm -f core conftest.err conftest.$ac_objext \
11572    conftest$ac_exeext conftest.$ac_ext
11573LIBS=$ac_check_lib_save_LIBS
11574fi
11575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11576$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11577if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11578  lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
11579else
11580  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11581$as_echo_n "checking for dld_link in -ldld... " >&6; }
11582if ${ac_cv_lib_dld_dld_link+:} false; then :
11583  $as_echo_n "(cached) " >&6
11584else
11585  ac_check_lib_save_LIBS=$LIBS
11586LIBS="-ldld  $LIBS"
11587cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11588/* end confdefs.h.  */
11589
11590/* Override any GCC internal prototype to avoid an error.
11591   Use char because int might match the return type of a GCC
11592   builtin and then its argument prototype would still apply.  */
11593#ifdef __cplusplus
11594extern "C"
11595#endif
11596char dld_link ();
11597int
11598main ()
11599{
11600return dld_link ();
11601  ;
11602  return 0;
11603}
11604_ACEOF
11605if ac_fn_c_try_link "$LINENO"; then :
11606  ac_cv_lib_dld_dld_link=yes
11607else
11608  ac_cv_lib_dld_dld_link=no
11609fi
11610rm -f core conftest.err conftest.$ac_objext \
11611    conftest$ac_exeext conftest.$ac_ext
11612LIBS=$ac_check_lib_save_LIBS
11613fi
11614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11615$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11616if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11617  lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
11618fi
11619
11620
11621fi
11622
11623
11624fi
11625
11626
11627fi
11628
11629
11630fi
11631
11632
11633fi
11634
11635    ;;
11636  esac
11637
11638  if test no = "$lt_cv_dlopen"; then
11639    enable_dlopen=no
11640  else
11641    enable_dlopen=yes
11642  fi
11643
11644  case $lt_cv_dlopen in
11645  dlopen)
11646    save_CPPFLAGS=$CPPFLAGS
11647    test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11648
11649    save_LDFLAGS=$LDFLAGS
11650    wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11651
11652    save_LIBS=$LIBS
11653    LIBS="$lt_cv_dlopen_libs $LIBS"
11654
11655    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11656$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11657if ${lt_cv_dlopen_self+:} false; then :
11658  $as_echo_n "(cached) " >&6
11659else
11660  	  if test yes = "$cross_compiling"; then :
11661  lt_cv_dlopen_self=cross
11662else
11663  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11664  lt_status=$lt_dlunknown
11665  cat > conftest.$ac_ext <<_LT_EOF
11666#line $LINENO "configure"
11667#include "confdefs.h"
11668
11669#if HAVE_DLFCN_H
11670#include <dlfcn.h>
11671#endif
11672
11673#include <stdio.h>
11674
11675#ifdef RTLD_GLOBAL
11676#  define LT_DLGLOBAL		RTLD_GLOBAL
11677#else
11678#  ifdef DL_GLOBAL
11679#    define LT_DLGLOBAL		DL_GLOBAL
11680#  else
11681#    define LT_DLGLOBAL		0
11682#  endif
11683#endif
11684
11685/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11686   find out it does not work in some platform. */
11687#ifndef LT_DLLAZY_OR_NOW
11688#  ifdef RTLD_LAZY
11689#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11690#  else
11691#    ifdef DL_LAZY
11692#      define LT_DLLAZY_OR_NOW		DL_LAZY
11693#    else
11694#      ifdef RTLD_NOW
11695#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11696#      else
11697#        ifdef DL_NOW
11698#          define LT_DLLAZY_OR_NOW	DL_NOW
11699#        else
11700#          define LT_DLLAZY_OR_NOW	0
11701#        endif
11702#      endif
11703#    endif
11704#  endif
11705#endif
11706
11707/* When -fvisibility=hidden is used, assume the code has been annotated
11708   correspondingly for the symbols needed.  */
11709#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11710int fnord () __attribute__((visibility("default")));
11711#endif
11712
11713int fnord () { return 42; }
11714int main ()
11715{
11716  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11717  int status = $lt_dlunknown;
11718
11719  if (self)
11720    {
11721      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11722      else
11723        {
11724	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11725          else puts (dlerror ());
11726	}
11727      /* dlclose (self); */
11728    }
11729  else
11730    puts (dlerror ());
11731
11732  return status;
11733}
11734_LT_EOF
11735  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11736  (eval $ac_link) 2>&5
11737  ac_status=$?
11738  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11739  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11740    (./conftest; exit; ) >&5 2>/dev/null
11741    lt_status=$?
11742    case x$lt_status in
11743      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11744      x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11745      x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11746    esac
11747  else :
11748    # compilation failed
11749    lt_cv_dlopen_self=no
11750  fi
11751fi
11752rm -fr conftest*
11753
11754
11755fi
11756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11757$as_echo "$lt_cv_dlopen_self" >&6; }
11758
11759    if test yes = "$lt_cv_dlopen_self"; then
11760      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11761      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11762$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11763if ${lt_cv_dlopen_self_static+:} false; then :
11764  $as_echo_n "(cached) " >&6
11765else
11766  	  if test yes = "$cross_compiling"; then :
11767  lt_cv_dlopen_self_static=cross
11768else
11769  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11770  lt_status=$lt_dlunknown
11771  cat > conftest.$ac_ext <<_LT_EOF
11772#line $LINENO "configure"
11773#include "confdefs.h"
11774
11775#if HAVE_DLFCN_H
11776#include <dlfcn.h>
11777#endif
11778
11779#include <stdio.h>
11780
11781#ifdef RTLD_GLOBAL
11782#  define LT_DLGLOBAL		RTLD_GLOBAL
11783#else
11784#  ifdef DL_GLOBAL
11785#    define LT_DLGLOBAL		DL_GLOBAL
11786#  else
11787#    define LT_DLGLOBAL		0
11788#  endif
11789#endif
11790
11791/* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11792   find out it does not work in some platform. */
11793#ifndef LT_DLLAZY_OR_NOW
11794#  ifdef RTLD_LAZY
11795#    define LT_DLLAZY_OR_NOW		RTLD_LAZY
11796#  else
11797#    ifdef DL_LAZY
11798#      define LT_DLLAZY_OR_NOW		DL_LAZY
11799#    else
11800#      ifdef RTLD_NOW
11801#        define LT_DLLAZY_OR_NOW	RTLD_NOW
11802#      else
11803#        ifdef DL_NOW
11804#          define LT_DLLAZY_OR_NOW	DL_NOW
11805#        else
11806#          define LT_DLLAZY_OR_NOW	0
11807#        endif
11808#      endif
11809#    endif
11810#  endif
11811#endif
11812
11813/* When -fvisibility=hidden is used, assume the code has been annotated
11814   correspondingly for the symbols needed.  */
11815#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11816int fnord () __attribute__((visibility("default")));
11817#endif
11818
11819int fnord () { return 42; }
11820int main ()
11821{
11822  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11823  int status = $lt_dlunknown;
11824
11825  if (self)
11826    {
11827      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
11828      else
11829        {
11830	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
11831          else puts (dlerror ());
11832	}
11833      /* dlclose (self); */
11834    }
11835  else
11836    puts (dlerror ());
11837
11838  return status;
11839}
11840_LT_EOF
11841  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11842  (eval $ac_link) 2>&5
11843  ac_status=$?
11844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11845  test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
11846    (./conftest; exit; ) >&5 2>/dev/null
11847    lt_status=$?
11848    case x$lt_status in
11849      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11850      x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11851      x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11852    esac
11853  else :
11854    # compilation failed
11855    lt_cv_dlopen_self_static=no
11856  fi
11857fi
11858rm -fr conftest*
11859
11860
11861fi
11862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11863$as_echo "$lt_cv_dlopen_self_static" >&6; }
11864    fi
11865
11866    CPPFLAGS=$save_CPPFLAGS
11867    LDFLAGS=$save_LDFLAGS
11868    LIBS=$save_LIBS
11869    ;;
11870  esac
11871
11872  case $lt_cv_dlopen_self in
11873  yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11874  *) enable_dlopen_self=unknown ;;
11875  esac
11876
11877  case $lt_cv_dlopen_self_static in
11878  yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11879  *) enable_dlopen_self_static=unknown ;;
11880  esac
11881fi
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899striplib=
11900old_striplib=
11901{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11902$as_echo_n "checking whether stripping libraries is possible... " >&6; }
11903if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11904  test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11905  test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11906  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11907$as_echo "yes" >&6; }
11908else
11909# FIXME - insert some real tests, host_os isn't really good enough
11910  case $host_os in
11911  darwin*)
11912    if test -n "$STRIP"; then
11913      striplib="$STRIP -x"
11914      old_striplib="$STRIP -S"
11915      { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11916$as_echo "yes" >&6; }
11917    else
11918      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11919$as_echo "no" >&6; }
11920    fi
11921    ;;
11922  *)
11923    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11924$as_echo "no" >&6; }
11925    ;;
11926  esac
11927fi
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940  # Report what library types will actually be built
11941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11942$as_echo_n "checking if libtool supports shared libraries... " >&6; }
11943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11944$as_echo "$can_build_shared" >&6; }
11945
11946  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11947$as_echo_n "checking whether to build shared libraries... " >&6; }
11948  test no = "$can_build_shared" && enable_shared=no
11949
11950  # On AIX, shared libraries and static libraries use the same namespace, and
11951  # are all built from PIC.
11952  case $host_os in
11953  aix3*)
11954    test yes = "$enable_shared" && enable_static=no
11955    if test -n "$RANLIB"; then
11956      archive_cmds="$archive_cmds~\$RANLIB \$lib"
11957      postinstall_cmds='$RANLIB $lib'
11958    fi
11959    ;;
11960
11961  aix[4-9]*)
11962    if test ia64 != "$host_cpu"; then
11963      case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
11964      yes,aix,yes) ;;			# shared object as lib.so file only
11965      yes,svr4,*) ;;			# shared object as lib.so archive member only
11966      yes,*) enable_static=no ;;	# shared object in lib.a archive as well
11967      esac
11968    fi
11969    ;;
11970  esac
11971  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11972$as_echo "$enable_shared" >&6; }
11973
11974  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11975$as_echo_n "checking whether to build static libraries... " >&6; }
11976  # Make sure either enable_shared or enable_static is yes.
11977  test yes = "$enable_shared" || enable_static=yes
11978  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11979$as_echo "$enable_static" >&6; }
11980
11981
11982
11983
11984fi
11985ac_ext=c
11986ac_cpp='$CPP $CPPFLAGS'
11987ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11988ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11989ac_compiler_gnu=$ac_cv_c_compiler_gnu
11990
11991CC=$lt_save_CC
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007        ac_config_commands="$ac_config_commands libtool"
12008
12009
12010
12011
12012# Only expand once:
12013
12014
12015
12016
12017### Basic program checks
12018ac_ext=c
12019ac_cpp='$CPP $CPPFLAGS'
12020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12022ac_compiler_gnu=$ac_cv_c_compiler_gnu
12023if test -n "$ac_tool_prefix"; then
12024  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12025set dummy ${ac_tool_prefix}gcc; ac_word=$2
12026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12027$as_echo_n "checking for $ac_word... " >&6; }
12028if ${ac_cv_prog_CC+:} false; then :
12029  $as_echo_n "(cached) " >&6
12030else
12031  if test -n "$CC"; then
12032  ac_cv_prog_CC="$CC" # Let the user override the test.
12033else
12034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12035for as_dir in $PATH
12036do
12037  IFS=$as_save_IFS
12038  test -z "$as_dir" && as_dir=.
12039    for ac_exec_ext in '' $ac_executable_extensions; do
12040  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12041    ac_cv_prog_CC="${ac_tool_prefix}gcc"
12042    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12043    break 2
12044  fi
12045done
12046  done
12047IFS=$as_save_IFS
12048
12049fi
12050fi
12051CC=$ac_cv_prog_CC
12052if test -n "$CC"; then
12053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12054$as_echo "$CC" >&6; }
12055else
12056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12057$as_echo "no" >&6; }
12058fi
12059
12060
12061fi
12062if test -z "$ac_cv_prog_CC"; then
12063  ac_ct_CC=$CC
12064  # Extract the first word of "gcc", so it can be a program name with args.
12065set dummy gcc; ac_word=$2
12066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12067$as_echo_n "checking for $ac_word... " >&6; }
12068if ${ac_cv_prog_ac_ct_CC+:} false; then :
12069  $as_echo_n "(cached) " >&6
12070else
12071  if test -n "$ac_ct_CC"; then
12072  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12073else
12074as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12075for as_dir in $PATH
12076do
12077  IFS=$as_save_IFS
12078  test -z "$as_dir" && as_dir=.
12079    for ac_exec_ext in '' $ac_executable_extensions; do
12080  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12081    ac_cv_prog_ac_ct_CC="gcc"
12082    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12083    break 2
12084  fi
12085done
12086  done
12087IFS=$as_save_IFS
12088
12089fi
12090fi
12091ac_ct_CC=$ac_cv_prog_ac_ct_CC
12092if test -n "$ac_ct_CC"; then
12093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12094$as_echo "$ac_ct_CC" >&6; }
12095else
12096  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12097$as_echo "no" >&6; }
12098fi
12099
12100  if test "x$ac_ct_CC" = x; then
12101    CC=""
12102  else
12103    case $cross_compiling:$ac_tool_warned in
12104yes:)
12105{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12106$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12107ac_tool_warned=yes ;;
12108esac
12109    CC=$ac_ct_CC
12110  fi
12111else
12112  CC="$ac_cv_prog_CC"
12113fi
12114
12115if test -z "$CC"; then
12116          if test -n "$ac_tool_prefix"; then
12117    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12118set dummy ${ac_tool_prefix}cc; ac_word=$2
12119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12120$as_echo_n "checking for $ac_word... " >&6; }
12121if ${ac_cv_prog_CC+:} false; then :
12122  $as_echo_n "(cached) " >&6
12123else
12124  if test -n "$CC"; then
12125  ac_cv_prog_CC="$CC" # Let the user override the test.
12126else
12127as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12128for as_dir in $PATH
12129do
12130  IFS=$as_save_IFS
12131  test -z "$as_dir" && as_dir=.
12132    for ac_exec_ext in '' $ac_executable_extensions; do
12133  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12134    ac_cv_prog_CC="${ac_tool_prefix}cc"
12135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12136    break 2
12137  fi
12138done
12139  done
12140IFS=$as_save_IFS
12141
12142fi
12143fi
12144CC=$ac_cv_prog_CC
12145if test -n "$CC"; then
12146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12147$as_echo "$CC" >&6; }
12148else
12149  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12150$as_echo "no" >&6; }
12151fi
12152
12153
12154  fi
12155fi
12156if test -z "$CC"; then
12157  # Extract the first word of "cc", so it can be a program name with args.
12158set dummy cc; ac_word=$2
12159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12160$as_echo_n "checking for $ac_word... " >&6; }
12161if ${ac_cv_prog_CC+:} false; then :
12162  $as_echo_n "(cached) " >&6
12163else
12164  if test -n "$CC"; then
12165  ac_cv_prog_CC="$CC" # Let the user override the test.
12166else
12167  ac_prog_rejected=no
12168as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12169for as_dir in $PATH
12170do
12171  IFS=$as_save_IFS
12172  test -z "$as_dir" && as_dir=.
12173    for ac_exec_ext in '' $ac_executable_extensions; do
12174  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12175    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12176       ac_prog_rejected=yes
12177       continue
12178     fi
12179    ac_cv_prog_CC="cc"
12180    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12181    break 2
12182  fi
12183done
12184  done
12185IFS=$as_save_IFS
12186
12187if test $ac_prog_rejected = yes; then
12188  # We found a bogon in the path, so make sure we never use it.
12189  set dummy $ac_cv_prog_CC
12190  shift
12191  if test $# != 0; then
12192    # We chose a different compiler from the bogus one.
12193    # However, it has the same basename, so the bogon will be chosen
12194    # first if we set CC to just the basename; use the full file name.
12195    shift
12196    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12197  fi
12198fi
12199fi
12200fi
12201CC=$ac_cv_prog_CC
12202if test -n "$CC"; then
12203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12204$as_echo "$CC" >&6; }
12205else
12206  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12207$as_echo "no" >&6; }
12208fi
12209
12210
12211fi
12212if test -z "$CC"; then
12213  if test -n "$ac_tool_prefix"; then
12214  for ac_prog in cl.exe
12215  do
12216    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12217set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12218{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12219$as_echo_n "checking for $ac_word... " >&6; }
12220if ${ac_cv_prog_CC+:} false; then :
12221  $as_echo_n "(cached) " >&6
12222else
12223  if test -n "$CC"; then
12224  ac_cv_prog_CC="$CC" # Let the user override the test.
12225else
12226as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12227for as_dir in $PATH
12228do
12229  IFS=$as_save_IFS
12230  test -z "$as_dir" && as_dir=.
12231    for ac_exec_ext in '' $ac_executable_extensions; do
12232  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12233    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12234    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12235    break 2
12236  fi
12237done
12238  done
12239IFS=$as_save_IFS
12240
12241fi
12242fi
12243CC=$ac_cv_prog_CC
12244if test -n "$CC"; then
12245  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
12246$as_echo "$CC" >&6; }
12247else
12248  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12249$as_echo "no" >&6; }
12250fi
12251
12252
12253    test -n "$CC" && break
12254  done
12255fi
12256if test -z "$CC"; then
12257  ac_ct_CC=$CC
12258  for ac_prog in cl.exe
12259do
12260  # Extract the first word of "$ac_prog", so it can be a program name with args.
12261set dummy $ac_prog; ac_word=$2
12262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12263$as_echo_n "checking for $ac_word... " >&6; }
12264if ${ac_cv_prog_ac_ct_CC+:} false; then :
12265  $as_echo_n "(cached) " >&6
12266else
12267  if test -n "$ac_ct_CC"; then
12268  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12269else
12270as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12271for as_dir in $PATH
12272do
12273  IFS=$as_save_IFS
12274  test -z "$as_dir" && as_dir=.
12275    for ac_exec_ext in '' $ac_executable_extensions; do
12276  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12277    ac_cv_prog_ac_ct_CC="$ac_prog"
12278    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12279    break 2
12280  fi
12281done
12282  done
12283IFS=$as_save_IFS
12284
12285fi
12286fi
12287ac_ct_CC=$ac_cv_prog_ac_ct_CC
12288if test -n "$ac_ct_CC"; then
12289  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
12290$as_echo "$ac_ct_CC" >&6; }
12291else
12292  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12293$as_echo "no" >&6; }
12294fi
12295
12296
12297  test -n "$ac_ct_CC" && break
12298done
12299
12300  if test "x$ac_ct_CC" = x; then
12301    CC=""
12302  else
12303    case $cross_compiling:$ac_tool_warned in
12304yes:)
12305{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12306$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12307ac_tool_warned=yes ;;
12308esac
12309    CC=$ac_ct_CC
12310  fi
12311fi
12312
12313fi
12314
12315
12316test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12318as_fn_error $? "no acceptable C compiler found in \$PATH
12319See \`config.log' for more details" "$LINENO" 5; }
12320
12321# Provide some information about the compiler.
12322$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
12323set X $ac_compile
12324ac_compiler=$2
12325for ac_option in --version -v -V -qversion; do
12326  { { ac_try="$ac_compiler $ac_option >&5"
12327case "(($ac_try" in
12328  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12329  *) ac_try_echo=$ac_try;;
12330esac
12331eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
12332$as_echo "$ac_try_echo"; } >&5
12333  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
12334  ac_status=$?
12335  if test -s conftest.err; then
12336    sed '10a\
12337... rest of stderr output deleted ...
12338         10q' conftest.err >conftest.er1
12339    cat conftest.er1 >&5
12340  fi
12341  rm -f conftest.er1 conftest.err
12342  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12343  test $ac_status = 0; }
12344done
12345
12346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
12347$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
12348if ${ac_cv_c_compiler_gnu+:} false; then :
12349  $as_echo_n "(cached) " >&6
12350else
12351  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12352/* end confdefs.h.  */
12353
12354int
12355main ()
12356{
12357#ifndef __GNUC__
12358       choke me
12359#endif
12360
12361  ;
12362  return 0;
12363}
12364_ACEOF
12365if ac_fn_c_try_compile "$LINENO"; then :
12366  ac_compiler_gnu=yes
12367else
12368  ac_compiler_gnu=no
12369fi
12370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12371ac_cv_c_compiler_gnu=$ac_compiler_gnu
12372
12373fi
12374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
12375$as_echo "$ac_cv_c_compiler_gnu" >&6; }
12376if test $ac_compiler_gnu = yes; then
12377  GCC=yes
12378else
12379  GCC=
12380fi
12381ac_test_CFLAGS=${CFLAGS+set}
12382ac_save_CFLAGS=$CFLAGS
12383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
12384$as_echo_n "checking whether $CC accepts -g... " >&6; }
12385if ${ac_cv_prog_cc_g+:} false; then :
12386  $as_echo_n "(cached) " >&6
12387else
12388  ac_save_c_werror_flag=$ac_c_werror_flag
12389   ac_c_werror_flag=yes
12390   ac_cv_prog_cc_g=no
12391   CFLAGS="-g"
12392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12393/* end confdefs.h.  */
12394
12395int
12396main ()
12397{
12398
12399  ;
12400  return 0;
12401}
12402_ACEOF
12403if ac_fn_c_try_compile "$LINENO"; then :
12404  ac_cv_prog_cc_g=yes
12405else
12406  CFLAGS=""
12407      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408/* end confdefs.h.  */
12409
12410int
12411main ()
12412{
12413
12414  ;
12415  return 0;
12416}
12417_ACEOF
12418if ac_fn_c_try_compile "$LINENO"; then :
12419
12420else
12421  ac_c_werror_flag=$ac_save_c_werror_flag
12422	 CFLAGS="-g"
12423	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424/* end confdefs.h.  */
12425
12426int
12427main ()
12428{
12429
12430  ;
12431  return 0;
12432}
12433_ACEOF
12434if ac_fn_c_try_compile "$LINENO"; then :
12435  ac_cv_prog_cc_g=yes
12436fi
12437rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12438fi
12439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12440fi
12441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12442   ac_c_werror_flag=$ac_save_c_werror_flag
12443fi
12444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
12445$as_echo "$ac_cv_prog_cc_g" >&6; }
12446if test "$ac_test_CFLAGS" = set; then
12447  CFLAGS=$ac_save_CFLAGS
12448elif test $ac_cv_prog_cc_g = yes; then
12449  if test "$GCC" = yes; then
12450    CFLAGS="-g -O2"
12451  else
12452    CFLAGS="-g"
12453  fi
12454else
12455  if test "$GCC" = yes; then
12456    CFLAGS="-O2"
12457  else
12458    CFLAGS=
12459  fi
12460fi
12461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
12462$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
12463if ${ac_cv_prog_cc_c89+:} false; then :
12464  $as_echo_n "(cached) " >&6
12465else
12466  ac_cv_prog_cc_c89=no
12467ac_save_CC=$CC
12468cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12469/* end confdefs.h.  */
12470#include <stdarg.h>
12471#include <stdio.h>
12472struct stat;
12473/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
12474struct buf { int x; };
12475FILE * (*rcsopen) (struct buf *, struct stat *, int);
12476static char *e (p, i)
12477     char **p;
12478     int i;
12479{
12480  return p[i];
12481}
12482static char *f (char * (*g) (char **, int), char **p, ...)
12483{
12484  char *s;
12485  va_list v;
12486  va_start (v,p);
12487  s = g (p, va_arg (v,int));
12488  va_end (v);
12489  return s;
12490}
12491
12492/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
12493   function prototypes and stuff, but not '\xHH' hex character constants.
12494   These don't provoke an error unfortunately, instead are silently treated
12495   as 'x'.  The following induces an error, until -std is added to get
12496   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
12497   array size at least.  It's necessary to write '\x00'==0 to get something
12498   that's true only with -std.  */
12499int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12500
12501/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
12502   inside strings and character constants.  */
12503#define FOO(x) 'x'
12504int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
12505
12506int test (int i, double x);
12507struct s1 {int (*f) (int a);};
12508struct s2 {int (*f) (double a);};
12509int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12510int argc;
12511char **argv;
12512int
12513main ()
12514{
12515return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
12516  ;
12517  return 0;
12518}
12519_ACEOF
12520for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
12521	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12522do
12523  CC="$ac_save_CC $ac_arg"
12524  if ac_fn_c_try_compile "$LINENO"; then :
12525  ac_cv_prog_cc_c89=$ac_arg
12526fi
12527rm -f core conftest.err conftest.$ac_objext
12528  test "x$ac_cv_prog_cc_c89" != "xno" && break
12529done
12530rm -f conftest.$ac_ext
12531CC=$ac_save_CC
12532
12533fi
12534# AC_CACHE_VAL
12535case "x$ac_cv_prog_cc_c89" in
12536  x)
12537    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
12538$as_echo "none needed" >&6; } ;;
12539  xno)
12540    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
12541$as_echo "unsupported" >&6; } ;;
12542  *)
12543    CC="$CC $ac_cv_prog_cc_c89"
12544    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
12545$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
12546esac
12547if test "x$ac_cv_prog_cc_c89" != xno; then :
12548
12549fi
12550
12551ac_ext=c
12552ac_cpp='$CPP $CPPFLAGS'
12553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12555ac_compiler_gnu=$ac_cv_c_compiler_gnu
12556
12557ac_ext=c
12558ac_cpp='$CPP $CPPFLAGS'
12559ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12560ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12561ac_compiler_gnu=$ac_cv_c_compiler_gnu
12562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
12563$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
12564if ${am_cv_prog_cc_c_o+:} false; then :
12565  $as_echo_n "(cached) " >&6
12566else
12567  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12568/* end confdefs.h.  */
12569
12570int
12571main ()
12572{
12573
12574  ;
12575  return 0;
12576}
12577_ACEOF
12578  # Make sure it works both with $CC and with simple cc.
12579  # Following AC_PROG_CC_C_O, we do the test twice because some
12580  # compilers refuse to overwrite an existing .o file with -o,
12581  # though they will create one.
12582  am_cv_prog_cc_c_o=yes
12583  for am_i in 1 2; do
12584    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
12585   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
12586   ac_status=$?
12587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588   (exit $ac_status); } \
12589         && test -f conftest2.$ac_objext; then
12590      : OK
12591    else
12592      am_cv_prog_cc_c_o=no
12593      break
12594    fi
12595  done
12596  rm -f core conftest*
12597  unset am_i
12598fi
12599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
12600$as_echo "$am_cv_prog_cc_c_o" >&6; }
12601if test "$am_cv_prog_cc_c_o" != yes; then
12602   # Losing compiler, so override with the script.
12603   # FIXME: It is wrong to rewrite CC.
12604   # But if we don't then we get into trouble of one sort or another.
12605   # A longer-term fix would be to have automake use am__CC in this case,
12606   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
12607   CC="$am_aux_dir/compile $CC"
12608fi
12609ac_ext=c
12610ac_cpp='$CPP $CPPFLAGS'
12611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12613ac_compiler_gnu=$ac_cv_c_compiler_gnu
12614
12615
12616depcc="$CC"   am_compiler_list=
12617
12618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
12619$as_echo_n "checking dependency style of $depcc... " >&6; }
12620if ${am_cv_CC_dependencies_compiler_type+:} false; then :
12621  $as_echo_n "(cached) " >&6
12622else
12623  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
12624  # We make a subdir and do the tests there.  Otherwise we can end up
12625  # making bogus files that we don't know about and never remove.  For
12626  # instance it was reported that on HP-UX the gcc test will end up
12627  # making a dummy file named 'D' -- because '-MD' means "put the output
12628  # in D".
12629  rm -rf conftest.dir
12630  mkdir conftest.dir
12631  # Copy depcomp to subdir because otherwise we won't find it if we're
12632  # using a relative directory.
12633  cp "$am_depcomp" conftest.dir
12634  cd conftest.dir
12635  # We will build objects and dependencies in a subdirectory because
12636  # it helps to detect inapplicable dependency modes.  For instance
12637  # both Tru64's cc and ICC support -MD to output dependencies as a
12638  # side effect of compilation, but ICC will put the dependencies in
12639  # the current directory while Tru64 will put them in the object
12640  # directory.
12641  mkdir sub
12642
12643  am_cv_CC_dependencies_compiler_type=none
12644  if test "$am_compiler_list" = ""; then
12645     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
12646  fi
12647  am__universal=false
12648  case " $depcc " in #(
12649     *\ -arch\ *\ -arch\ *) am__universal=true ;;
12650     esac
12651
12652  for depmode in $am_compiler_list; do
12653    # Setup a source with many dependencies, because some compilers
12654    # like to wrap large dependency lists on column 80 (with \), and
12655    # we should not choose a depcomp mode which is confused by this.
12656    #
12657    # We need to recreate these files for each test, as the compiler may
12658    # overwrite some of them when testing with obscure command lines.
12659    # This happens at least with the AIX C compiler.
12660    : > sub/conftest.c
12661    for i in 1 2 3 4 5 6; do
12662      echo '#include "conftst'$i'.h"' >> sub/conftest.c
12663      # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
12664      # Solaris 10 /bin/sh.
12665      echo '/* dummy */' > sub/conftst$i.h
12666    done
12667    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
12668
12669    # We check with '-c' and '-o' for the sake of the "dashmstdout"
12670    # mode.  It turns out that the SunPro C++ compiler does not properly
12671    # handle '-M -o', and we need to detect this.  Also, some Intel
12672    # versions had trouble with output in subdirs.
12673    am__obj=sub/conftest.${OBJEXT-o}
12674    am__minus_obj="-o $am__obj"
12675    case $depmode in
12676    gcc)
12677      # This depmode causes a compiler race in universal mode.
12678      test "$am__universal" = false || continue
12679      ;;
12680    nosideeffect)
12681      # After this tag, mechanisms are not by side-effect, so they'll
12682      # only be used when explicitly requested.
12683      if test "x$enable_dependency_tracking" = xyes; then
12684	continue
12685      else
12686	break
12687      fi
12688      ;;
12689    msvc7 | msvc7msys | msvisualcpp | msvcmsys)
12690      # This compiler won't grok '-c -o', but also, the minuso test has
12691      # not run yet.  These depmodes are late enough in the game, and
12692      # so weak that their functioning should not be impacted.
12693      am__obj=conftest.${OBJEXT-o}
12694      am__minus_obj=
12695      ;;
12696    none) break ;;
12697    esac
12698    if depmode=$depmode \
12699       source=sub/conftest.c object=$am__obj \
12700       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
12701       $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
12702         >/dev/null 2>conftest.err &&
12703       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
12704       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
12705       grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
12706       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
12707      # icc doesn't choke on unknown options, it will just issue warnings
12708      # or remarks (even with -Werror).  So we grep stderr for any message
12709      # that says an option was ignored or not supported.
12710      # When given -MP, icc 7.0 and 7.1 complain thusly:
12711      #   icc: Command line warning: ignoring option '-M'; no argument required
12712      # The diagnosis changed in icc 8.0:
12713      #   icc: Command line remark: option '-MP' not supported
12714      if (grep 'ignoring option' conftest.err ||
12715          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
12716        am_cv_CC_dependencies_compiler_type=$depmode
12717        break
12718      fi
12719    fi
12720  done
12721
12722  cd ..
12723  rm -rf conftest.dir
12724else
12725  am_cv_CC_dependencies_compiler_type=none
12726fi
12727
12728fi
12729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
12730$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
12731CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
12732
12733 if
12734  test "x$enable_dependency_tracking" != xno \
12735  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
12736  am__fastdepCC_TRUE=
12737  am__fastdepCC_FALSE='#'
12738else
12739  am__fastdepCC_TRUE='#'
12740  am__fastdepCC_FALSE=
12741fi
12742
12743
12744
12745### Check for Doxygen
12746ON
12747ON
12748
12749
12750# Files:
12751DX_PROJECT=CJOSE
12752
12753DX_CONFIG=Doxyfile
12754
12755DX_DOCDIR=doc
12756
12757
12758# Environment variables used inside doxygen.cfg:
12759DX_ENV="$DX_ENV SRCDIR='$srcdir'"
12760
12761DX_ENV="$DX_ENV PROJECT='$DX_PROJECT'"
12762
12763DX_ENV="$DX_ENV DOCDIR='$DX_DOCDIR'"
12764
12765DX_ENV="$DX_ENV VERSION='$PACKAGE_VERSION'"
12766
12767
12768# Doxygen itself:
12769
12770
12771
12772    # Check whether --enable-doxygen-doc was given.
12773if test "${enable_doxygen_doc+set}" = set; then :
12774  enableval=$enable_doxygen_doc;
12775case "$enableval" in
12776#(
12777y|Y|yes|Yes|YES)
12778    DX_FLAG_doc=1
12779
12780
12781;; #(
12782n|N|no|No|NO)
12783    DX_FLAG_doc=0
12784
12785;; #(
12786*)
12787    as_fn_error $? "invalid value '$enableval' given to doxygen-doc" "$LINENO" 5
12788;;
12789esac
12790
12791else
12792
12793DX_FLAG_doc=1
12794
12795
12796
12797fi
12798
12799if test "$DX_FLAG_doc" = 1; then
12800
12801if test -n "$ac_tool_prefix"; then
12802  # Extract the first word of "${ac_tool_prefix}doxygen", so it can be a program name with args.
12803set dummy ${ac_tool_prefix}doxygen; ac_word=$2
12804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12805$as_echo_n "checking for $ac_word... " >&6; }
12806if ${ac_cv_path_DX_DOXYGEN+:} false; then :
12807  $as_echo_n "(cached) " >&6
12808else
12809  case $DX_DOXYGEN in
12810  [\\/]* | ?:[\\/]*)
12811  ac_cv_path_DX_DOXYGEN="$DX_DOXYGEN" # Let the user override the test with a path.
12812  ;;
12813  *)
12814  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12815for as_dir in $PATH
12816do
12817  IFS=$as_save_IFS
12818  test -z "$as_dir" && as_dir=.
12819    for ac_exec_ext in '' $ac_executable_extensions; do
12820  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12821    ac_cv_path_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
12822    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12823    break 2
12824  fi
12825done
12826  done
12827IFS=$as_save_IFS
12828
12829  ;;
12830esac
12831fi
12832DX_DOXYGEN=$ac_cv_path_DX_DOXYGEN
12833if test -n "$DX_DOXYGEN"; then
12834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOXYGEN" >&5
12835$as_echo "$DX_DOXYGEN" >&6; }
12836else
12837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12838$as_echo "no" >&6; }
12839fi
12840
12841
12842fi
12843if test -z "$ac_cv_path_DX_DOXYGEN"; then
12844  ac_pt_DX_DOXYGEN=$DX_DOXYGEN
12845  # Extract the first word of "doxygen", so it can be a program name with args.
12846set dummy doxygen; ac_word=$2
12847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12848$as_echo_n "checking for $ac_word... " >&6; }
12849if ${ac_cv_path_ac_pt_DX_DOXYGEN+:} false; then :
12850  $as_echo_n "(cached) " >&6
12851else
12852  case $ac_pt_DX_DOXYGEN in
12853  [\\/]* | ?:[\\/]*)
12854  ac_cv_path_ac_pt_DX_DOXYGEN="$ac_pt_DX_DOXYGEN" # Let the user override the test with a path.
12855  ;;
12856  *)
12857  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12858for as_dir in $PATH
12859do
12860  IFS=$as_save_IFS
12861  test -z "$as_dir" && as_dir=.
12862    for ac_exec_ext in '' $ac_executable_extensions; do
12863  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12864    ac_cv_path_ac_pt_DX_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
12865    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12866    break 2
12867  fi
12868done
12869  done
12870IFS=$as_save_IFS
12871
12872  ;;
12873esac
12874fi
12875ac_pt_DX_DOXYGEN=$ac_cv_path_ac_pt_DX_DOXYGEN
12876if test -n "$ac_pt_DX_DOXYGEN"; then
12877  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOXYGEN" >&5
12878$as_echo "$ac_pt_DX_DOXYGEN" >&6; }
12879else
12880  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12881$as_echo "no" >&6; }
12882fi
12883
12884  if test "x$ac_pt_DX_DOXYGEN" = x; then
12885    DX_DOXYGEN=""
12886  else
12887    case $cross_compiling:$ac_tool_warned in
12888yes:)
12889{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12890$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12891ac_tool_warned=yes ;;
12892esac
12893    DX_DOXYGEN=$ac_pt_DX_DOXYGEN
12894  fi
12895else
12896  DX_DOXYGEN="$ac_cv_path_DX_DOXYGEN"
12897fi
12898
12899if test "$DX_FLAG_doc$DX_DOXYGEN" = 1; then
12900    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: doxygen not found - will not generate any doxygen documentation" >&5
12901$as_echo "$as_me: WARNING: doxygen not found - will not generate any doxygen documentation" >&2;}
12902    DX_FLAG_doc=0
12903
12904fi
12905
12906
12907if test -n "$ac_tool_prefix"; then
12908  # Extract the first word of "${ac_tool_prefix}perl", so it can be a program name with args.
12909set dummy ${ac_tool_prefix}perl; ac_word=$2
12910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12911$as_echo_n "checking for $ac_word... " >&6; }
12912if ${ac_cv_path_DX_PERL+:} false; then :
12913  $as_echo_n "(cached) " >&6
12914else
12915  case $DX_PERL in
12916  [\\/]* | ?:[\\/]*)
12917  ac_cv_path_DX_PERL="$DX_PERL" # Let the user override the test with a path.
12918  ;;
12919  *)
12920  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12921for as_dir in $PATH
12922do
12923  IFS=$as_save_IFS
12924  test -z "$as_dir" && as_dir=.
12925    for ac_exec_ext in '' $ac_executable_extensions; do
12926  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12927    ac_cv_path_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
12928    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12929    break 2
12930  fi
12931done
12932  done
12933IFS=$as_save_IFS
12934
12935  ;;
12936esac
12937fi
12938DX_PERL=$ac_cv_path_DX_PERL
12939if test -n "$DX_PERL"; then
12940  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PERL" >&5
12941$as_echo "$DX_PERL" >&6; }
12942else
12943  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12944$as_echo "no" >&6; }
12945fi
12946
12947
12948fi
12949if test -z "$ac_cv_path_DX_PERL"; then
12950  ac_pt_DX_PERL=$DX_PERL
12951  # Extract the first word of "perl", so it can be a program name with args.
12952set dummy perl; ac_word=$2
12953{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12954$as_echo_n "checking for $ac_word... " >&6; }
12955if ${ac_cv_path_ac_pt_DX_PERL+:} false; then :
12956  $as_echo_n "(cached) " >&6
12957else
12958  case $ac_pt_DX_PERL in
12959  [\\/]* | ?:[\\/]*)
12960  ac_cv_path_ac_pt_DX_PERL="$ac_pt_DX_PERL" # Let the user override the test with a path.
12961  ;;
12962  *)
12963  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12964for as_dir in $PATH
12965do
12966  IFS=$as_save_IFS
12967  test -z "$as_dir" && as_dir=.
12968    for ac_exec_ext in '' $ac_executable_extensions; do
12969  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12970    ac_cv_path_ac_pt_DX_PERL="$as_dir/$ac_word$ac_exec_ext"
12971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12972    break 2
12973  fi
12974done
12975  done
12976IFS=$as_save_IFS
12977
12978  ;;
12979esac
12980fi
12981ac_pt_DX_PERL=$ac_cv_path_ac_pt_DX_PERL
12982if test -n "$ac_pt_DX_PERL"; then
12983  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PERL" >&5
12984$as_echo "$ac_pt_DX_PERL" >&6; }
12985else
12986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12987$as_echo "no" >&6; }
12988fi
12989
12990  if test "x$ac_pt_DX_PERL" = x; then
12991    DX_PERL=""
12992  else
12993    case $cross_compiling:$ac_tool_warned in
12994yes:)
12995{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
12996$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
12997ac_tool_warned=yes ;;
12998esac
12999    DX_PERL=$ac_pt_DX_PERL
13000  fi
13001else
13002  DX_PERL="$ac_cv_path_DX_PERL"
13003fi
13004
13005if test "$DX_FLAG_doc$DX_PERL" = 1; then
13006    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - will not generate any doxygen documentation" >&5
13007$as_echo "$as_me: WARNING: perl not found - will not generate any doxygen documentation" >&2;}
13008    DX_FLAG_doc=0
13009
13010fi
13011
13012    :
13013fi
13014 if test "$DX_FLAG_doc" = 1; then
13015  DX_COND_doc_TRUE=
13016  DX_COND_doc_FALSE='#'
13017else
13018  DX_COND_doc_TRUE='#'
13019  DX_COND_doc_FALSE=
13020fi
13021
13022if test "$DX_FLAG_doc" = 1; then
13023    DX_ENV="$DX_ENV PERL_PATH='$DX_PERL'"
13024
13025    :
13026else
13027
13028    :
13029fi
13030
13031
13032# Dot for graphics:
13033
13034
13035
13036    # Check whether --enable-doxygen-dot was given.
13037if test "${enable_doxygen_dot+set}" = set; then :
13038  enableval=$enable_doxygen_dot;
13039case "$enableval" in
13040#(
13041y|Y|yes|Yes|YES)
13042    DX_FLAG_dot=1
13043
13044
13045test "$DX_FLAG_doc" = "1" \
13046|| as_fn_error $? "doxygen-dot requires doxygen-dot" "$LINENO" 5
13047
13048;; #(
13049n|N|no|No|NO)
13050    DX_FLAG_dot=0
13051
13052;; #(
13053*)
13054    as_fn_error $? "invalid value '$enableval' given to doxygen-dot" "$LINENO" 5
13055;;
13056esac
13057
13058else
13059
13060DX_FLAG_dot=0
13061
13062
13063test "$DX_FLAG_doc" = "1" || DX_FLAG_dot=0
13064
13065
13066
13067fi
13068
13069if test "$DX_FLAG_dot" = 1; then
13070
13071if test -n "$ac_tool_prefix"; then
13072  # Extract the first word of "${ac_tool_prefix}dot", so it can be a program name with args.
13073set dummy ${ac_tool_prefix}dot; ac_word=$2
13074{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13075$as_echo_n "checking for $ac_word... " >&6; }
13076if ${ac_cv_path_DX_DOT+:} false; then :
13077  $as_echo_n "(cached) " >&6
13078else
13079  case $DX_DOT in
13080  [\\/]* | ?:[\\/]*)
13081  ac_cv_path_DX_DOT="$DX_DOT" # Let the user override the test with a path.
13082  ;;
13083  *)
13084  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13085for as_dir in $PATH
13086do
13087  IFS=$as_save_IFS
13088  test -z "$as_dir" && as_dir=.
13089    for ac_exec_ext in '' $ac_executable_extensions; do
13090  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13091    ac_cv_path_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
13092    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13093    break 2
13094  fi
13095done
13096  done
13097IFS=$as_save_IFS
13098
13099  ;;
13100esac
13101fi
13102DX_DOT=$ac_cv_path_DX_DOT
13103if test -n "$DX_DOT"; then
13104  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DOT" >&5
13105$as_echo "$DX_DOT" >&6; }
13106else
13107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13108$as_echo "no" >&6; }
13109fi
13110
13111
13112fi
13113if test -z "$ac_cv_path_DX_DOT"; then
13114  ac_pt_DX_DOT=$DX_DOT
13115  # Extract the first word of "dot", so it can be a program name with args.
13116set dummy dot; ac_word=$2
13117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13118$as_echo_n "checking for $ac_word... " >&6; }
13119if ${ac_cv_path_ac_pt_DX_DOT+:} false; then :
13120  $as_echo_n "(cached) " >&6
13121else
13122  case $ac_pt_DX_DOT in
13123  [\\/]* | ?:[\\/]*)
13124  ac_cv_path_ac_pt_DX_DOT="$ac_pt_DX_DOT" # Let the user override the test with a path.
13125  ;;
13126  *)
13127  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13128for as_dir in $PATH
13129do
13130  IFS=$as_save_IFS
13131  test -z "$as_dir" && as_dir=.
13132    for ac_exec_ext in '' $ac_executable_extensions; do
13133  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13134    ac_cv_path_ac_pt_DX_DOT="$as_dir/$ac_word$ac_exec_ext"
13135    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13136    break 2
13137  fi
13138done
13139  done
13140IFS=$as_save_IFS
13141
13142  ;;
13143esac
13144fi
13145ac_pt_DX_DOT=$ac_cv_path_ac_pt_DX_DOT
13146if test -n "$ac_pt_DX_DOT"; then
13147  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DOT" >&5
13148$as_echo "$ac_pt_DX_DOT" >&6; }
13149else
13150  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13151$as_echo "no" >&6; }
13152fi
13153
13154  if test "x$ac_pt_DX_DOT" = x; then
13155    DX_DOT=""
13156  else
13157    case $cross_compiling:$ac_tool_warned in
13158yes:)
13159{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13160$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13161ac_tool_warned=yes ;;
13162esac
13163    DX_DOT=$ac_pt_DX_DOT
13164  fi
13165else
13166  DX_DOT="$ac_cv_path_DX_DOT"
13167fi
13168
13169if test "$DX_FLAG_dot$DX_DOT" = 1; then
13170    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dot not found - will not generate graphics for doxygen documentation" >&5
13171$as_echo "$as_me: WARNING: dot not found - will not generate graphics for doxygen documentation" >&2;}
13172    DX_FLAG_dot=0
13173
13174fi
13175
13176    :
13177fi
13178 if test "$DX_FLAG_dot" = 1; then
13179  DX_COND_dot_TRUE=
13180  DX_COND_dot_FALSE='#'
13181else
13182  DX_COND_dot_TRUE='#'
13183  DX_COND_dot_FALSE=
13184fi
13185
13186if test "$DX_FLAG_dot" = 1; then
13187    DX_ENV="$DX_ENV HAVE_DOT='YES'"
13188
13189             DX_ENV="$DX_ENV DOT_PATH='`expr ".$DX_DOT" : '\(\.\)[^/]*$' \| "x$DX_DOT" : 'x\(.*\)/[^/]*$'`'"
13190
13191    :
13192else
13193    DX_ENV="$DX_ENV HAVE_DOT='NO'"
13194
13195    :
13196fi
13197
13198
13199# Man pages generation:
13200
13201
13202
13203    # Check whether --enable-doxygen-man was given.
13204if test "${enable_doxygen_man+set}" = set; then :
13205  enableval=$enable_doxygen_man;
13206case "$enableval" in
13207#(
13208y|Y|yes|Yes|YES)
13209    DX_FLAG_man=1
13210
13211
13212test "$DX_FLAG_doc" = "1" \
13213|| as_fn_error $? "doxygen-man requires doxygen-man" "$LINENO" 5
13214
13215;; #(
13216n|N|no|No|NO)
13217    DX_FLAG_man=0
13218
13219;; #(
13220*)
13221    as_fn_error $? "invalid value '$enableval' given to doxygen-man" "$LINENO" 5
13222;;
13223esac
13224
13225else
13226
13227DX_FLAG_man=0
13228
13229
13230test "$DX_FLAG_doc" = "1" || DX_FLAG_man=0
13231
13232
13233
13234fi
13235
13236if test "$DX_FLAG_man" = 1; then
13237
13238    :
13239fi
13240 if test "$DX_FLAG_man" = 1; then
13241  DX_COND_man_TRUE=
13242  DX_COND_man_FALSE='#'
13243else
13244  DX_COND_man_TRUE='#'
13245  DX_COND_man_FALSE=
13246fi
13247
13248if test "$DX_FLAG_man" = 1; then
13249    DX_ENV="$DX_ENV GENERATE_MAN='YES'"
13250
13251    :
13252else
13253    DX_ENV="$DX_ENV GENERATE_MAN='NO'"
13254
13255    :
13256fi
13257
13258
13259# RTF file generation:
13260
13261
13262
13263    # Check whether --enable-doxygen-rtf was given.
13264if test "${enable_doxygen_rtf+set}" = set; then :
13265  enableval=$enable_doxygen_rtf;
13266case "$enableval" in
13267#(
13268y|Y|yes|Yes|YES)
13269    DX_FLAG_rtf=1
13270
13271
13272test "$DX_FLAG_doc" = "1" \
13273|| as_fn_error $? "doxygen-rtf requires doxygen-rtf" "$LINENO" 5
13274
13275;; #(
13276n|N|no|No|NO)
13277    DX_FLAG_rtf=0
13278
13279;; #(
13280*)
13281    as_fn_error $? "invalid value '$enableval' given to doxygen-rtf" "$LINENO" 5
13282;;
13283esac
13284
13285else
13286
13287DX_FLAG_rtf=0
13288
13289
13290test "$DX_FLAG_doc" = "1" || DX_FLAG_rtf=0
13291
13292
13293
13294fi
13295
13296if test "$DX_FLAG_rtf" = 1; then
13297
13298    :
13299fi
13300 if test "$DX_FLAG_rtf" = 1; then
13301  DX_COND_rtf_TRUE=
13302  DX_COND_rtf_FALSE='#'
13303else
13304  DX_COND_rtf_TRUE='#'
13305  DX_COND_rtf_FALSE=
13306fi
13307
13308if test "$DX_FLAG_rtf" = 1; then
13309    DX_ENV="$DX_ENV GENERATE_RTF='YES'"
13310
13311    :
13312else
13313    DX_ENV="$DX_ENV GENERATE_RTF='NO'"
13314
13315    :
13316fi
13317
13318
13319# XML file generation:
13320
13321
13322
13323    # Check whether --enable-doxygen-xml was given.
13324if test "${enable_doxygen_xml+set}" = set; then :
13325  enableval=$enable_doxygen_xml;
13326case "$enableval" in
13327#(
13328y|Y|yes|Yes|YES)
13329    DX_FLAG_xml=1
13330
13331
13332test "$DX_FLAG_doc" = "1" \
13333|| as_fn_error $? "doxygen-xml requires doxygen-xml" "$LINENO" 5
13334
13335;; #(
13336n|N|no|No|NO)
13337    DX_FLAG_xml=0
13338
13339;; #(
13340*)
13341    as_fn_error $? "invalid value '$enableval' given to doxygen-xml" "$LINENO" 5
13342;;
13343esac
13344
13345else
13346
13347DX_FLAG_xml=0
13348
13349
13350test "$DX_FLAG_doc" = "1" || DX_FLAG_xml=0
13351
13352
13353
13354fi
13355
13356if test "$DX_FLAG_xml" = 1; then
13357
13358    :
13359fi
13360 if test "$DX_FLAG_xml" = 1; then
13361  DX_COND_xml_TRUE=
13362  DX_COND_xml_FALSE='#'
13363else
13364  DX_COND_xml_TRUE='#'
13365  DX_COND_xml_FALSE=
13366fi
13367
13368if test "$DX_FLAG_xml" = 1; then
13369    DX_ENV="$DX_ENV GENERATE_XML='YES'"
13370
13371    :
13372else
13373    DX_ENV="$DX_ENV GENERATE_XML='NO'"
13374
13375    :
13376fi
13377
13378
13379# (Compressed) HTML help generation:
13380
13381
13382
13383    # Check whether --enable-doxygen-chm was given.
13384if test "${enable_doxygen_chm+set}" = set; then :
13385  enableval=$enable_doxygen_chm;
13386case "$enableval" in
13387#(
13388y|Y|yes|Yes|YES)
13389    DX_FLAG_chm=1
13390
13391
13392test "$DX_FLAG_doc" = "1" \
13393|| as_fn_error $? "doxygen-chm requires doxygen-chm" "$LINENO" 5
13394
13395;; #(
13396n|N|no|No|NO)
13397    DX_FLAG_chm=0
13398
13399;; #(
13400*)
13401    as_fn_error $? "invalid value '$enableval' given to doxygen-chm" "$LINENO" 5
13402;;
13403esac
13404
13405else
13406
13407DX_FLAG_chm=0
13408
13409
13410test "$DX_FLAG_doc" = "1" || DX_FLAG_chm=0
13411
13412
13413
13414fi
13415
13416if test "$DX_FLAG_chm" = 1; then
13417
13418if test -n "$ac_tool_prefix"; then
13419  # Extract the first word of "${ac_tool_prefix}hhc", so it can be a program name with args.
13420set dummy ${ac_tool_prefix}hhc; ac_word=$2
13421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13422$as_echo_n "checking for $ac_word... " >&6; }
13423if ${ac_cv_path_DX_HHC+:} false; then :
13424  $as_echo_n "(cached) " >&6
13425else
13426  case $DX_HHC in
13427  [\\/]* | ?:[\\/]*)
13428  ac_cv_path_DX_HHC="$DX_HHC" # Let the user override the test with a path.
13429  ;;
13430  *)
13431  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13432for as_dir in $PATH
13433do
13434  IFS=$as_save_IFS
13435  test -z "$as_dir" && as_dir=.
13436    for ac_exec_ext in '' $ac_executable_extensions; do
13437  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13438    ac_cv_path_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
13439    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13440    break 2
13441  fi
13442done
13443  done
13444IFS=$as_save_IFS
13445
13446  ;;
13447esac
13448fi
13449DX_HHC=$ac_cv_path_DX_HHC
13450if test -n "$DX_HHC"; then
13451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_HHC" >&5
13452$as_echo "$DX_HHC" >&6; }
13453else
13454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13455$as_echo "no" >&6; }
13456fi
13457
13458
13459fi
13460if test -z "$ac_cv_path_DX_HHC"; then
13461  ac_pt_DX_HHC=$DX_HHC
13462  # Extract the first word of "hhc", so it can be a program name with args.
13463set dummy hhc; ac_word=$2
13464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13465$as_echo_n "checking for $ac_word... " >&6; }
13466if ${ac_cv_path_ac_pt_DX_HHC+:} false; then :
13467  $as_echo_n "(cached) " >&6
13468else
13469  case $ac_pt_DX_HHC in
13470  [\\/]* | ?:[\\/]*)
13471  ac_cv_path_ac_pt_DX_HHC="$ac_pt_DX_HHC" # Let the user override the test with a path.
13472  ;;
13473  *)
13474  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13475for as_dir in $PATH
13476do
13477  IFS=$as_save_IFS
13478  test -z "$as_dir" && as_dir=.
13479    for ac_exec_ext in '' $ac_executable_extensions; do
13480  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13481    ac_cv_path_ac_pt_DX_HHC="$as_dir/$ac_word$ac_exec_ext"
13482    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13483    break 2
13484  fi
13485done
13486  done
13487IFS=$as_save_IFS
13488
13489  ;;
13490esac
13491fi
13492ac_pt_DX_HHC=$ac_cv_path_ac_pt_DX_HHC
13493if test -n "$ac_pt_DX_HHC"; then
13494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_HHC" >&5
13495$as_echo "$ac_pt_DX_HHC" >&6; }
13496else
13497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13498$as_echo "no" >&6; }
13499fi
13500
13501  if test "x$ac_pt_DX_HHC" = x; then
13502    DX_HHC=""
13503  else
13504    case $cross_compiling:$ac_tool_warned in
13505yes:)
13506{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13507$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13508ac_tool_warned=yes ;;
13509esac
13510    DX_HHC=$ac_pt_DX_HHC
13511  fi
13512else
13513  DX_HHC="$ac_cv_path_DX_HHC"
13514fi
13515
13516if test "$DX_FLAG_chm$DX_HHC" = 1; then
13517    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&5
13518$as_echo "$as_me: WARNING: hhc not found - will not generate doxygen compressed HTML help documentation" >&2;}
13519    DX_FLAG_chm=0
13520
13521fi
13522
13523    :
13524fi
13525 if test "$DX_FLAG_chm" = 1; then
13526  DX_COND_chm_TRUE=
13527  DX_COND_chm_FALSE='#'
13528else
13529  DX_COND_chm_TRUE='#'
13530  DX_COND_chm_FALSE=
13531fi
13532
13533if test "$DX_FLAG_chm" = 1; then
13534    DX_ENV="$DX_ENV HHC_PATH='$DX_HHC'"
13535
13536             DX_ENV="$DX_ENV GENERATE_HTML='YES'"
13537
13538             DX_ENV="$DX_ENV GENERATE_HTMLHELP='YES'"
13539
13540    :
13541else
13542    DX_ENV="$DX_ENV GENERATE_HTMLHELP='NO'"
13543
13544    :
13545fi
13546
13547
13548# Seperate CHI file generation.
13549
13550
13551
13552    # Check whether --enable-doxygen-chi was given.
13553if test "${enable_doxygen_chi+set}" = set; then :
13554  enableval=$enable_doxygen_chi;
13555case "$enableval" in
13556#(
13557y|Y|yes|Yes|YES)
13558    DX_FLAG_chi=1
13559
13560
13561test "$DX_FLAG_chm" = "1" \
13562|| as_fn_error $? "doxygen-chi requires doxygen-chi" "$LINENO" 5
13563
13564;; #(
13565n|N|no|No|NO)
13566    DX_FLAG_chi=0
13567
13568;; #(
13569*)
13570    as_fn_error $? "invalid value '$enableval' given to doxygen-chi" "$LINENO" 5
13571;;
13572esac
13573
13574else
13575
13576DX_FLAG_chi=0
13577
13578
13579test "$DX_FLAG_chm" = "1" || DX_FLAG_chi=0
13580
13581
13582
13583fi
13584
13585if test "$DX_FLAG_chi" = 1; then
13586
13587    :
13588fi
13589 if test "$DX_FLAG_chi" = 1; then
13590  DX_COND_chi_TRUE=
13591  DX_COND_chi_FALSE='#'
13592else
13593  DX_COND_chi_TRUE='#'
13594  DX_COND_chi_FALSE=
13595fi
13596
13597if test "$DX_FLAG_chi" = 1; then
13598    DX_ENV="$DX_ENV GENERATE_CHI='YES'"
13599
13600    :
13601else
13602    DX_ENV="$DX_ENV GENERATE_CHI='NO'"
13603
13604    :
13605fi
13606
13607
13608# Plain HTML pages generation:
13609
13610
13611
13612    # Check whether --enable-doxygen-html was given.
13613if test "${enable_doxygen_html+set}" = set; then :
13614  enableval=$enable_doxygen_html;
13615case "$enableval" in
13616#(
13617y|Y|yes|Yes|YES)
13618    DX_FLAG_html=1
13619
13620
13621test "$DX_FLAG_doc" = "1" \
13622|| as_fn_error $? "doxygen-html requires doxygen-html" "$LINENO" 5
13623
13624test "$DX_FLAG_chm" = "0" \
13625|| as_fn_error $? "doxygen-html contradicts doxygen-html" "$LINENO" 5
13626
13627;; #(
13628n|N|no|No|NO)
13629    DX_FLAG_html=0
13630
13631;; #(
13632*)
13633    as_fn_error $? "invalid value '$enableval' given to doxygen-html" "$LINENO" 5
13634;;
13635esac
13636
13637else
13638
13639DX_FLAG_html=1
13640
13641
13642test "$DX_FLAG_doc" = "1" || DX_FLAG_html=0
13643
13644
13645test "$DX_FLAG_chm" = "0" || DX_FLAG_html=0
13646
13647
13648
13649fi
13650
13651if test "$DX_FLAG_html" = 1; then
13652
13653    :
13654fi
13655 if test "$DX_FLAG_html" = 1; then
13656  DX_COND_html_TRUE=
13657  DX_COND_html_FALSE='#'
13658else
13659  DX_COND_html_TRUE='#'
13660  DX_COND_html_FALSE=
13661fi
13662
13663if test "$DX_FLAG_html" = 1; then
13664    DX_ENV="$DX_ENV GENERATE_HTML='YES'"
13665
13666    :
13667else
13668    test "$DX_FLAG_chm" = 1 || DX_ENV="$DX_ENV GENERATE_HTML='NO'"
13669
13670    :
13671fi
13672
13673
13674# PostScript file generation:
13675
13676
13677
13678    # Check whether --enable-doxygen-ps was given.
13679if test "${enable_doxygen_ps+set}" = set; then :
13680  enableval=$enable_doxygen_ps;
13681case "$enableval" in
13682#(
13683y|Y|yes|Yes|YES)
13684    DX_FLAG_ps=1
13685
13686
13687test "$DX_FLAG_doc" = "1" \
13688|| as_fn_error $? "doxygen-ps requires doxygen-ps" "$LINENO" 5
13689
13690;; #(
13691n|N|no|No|NO)
13692    DX_FLAG_ps=0
13693
13694;; #(
13695*)
13696    as_fn_error $? "invalid value '$enableval' given to doxygen-ps" "$LINENO" 5
13697;;
13698esac
13699
13700else
13701
13702DX_FLAG_ps=1
13703
13704
13705test "$DX_FLAG_doc" = "1" || DX_FLAG_ps=0
13706
13707
13708
13709fi
13710
13711if test "$DX_FLAG_ps" = 1; then
13712
13713if test -n "$ac_tool_prefix"; then
13714  # Extract the first word of "${ac_tool_prefix}latex", so it can be a program name with args.
13715set dummy ${ac_tool_prefix}latex; ac_word=$2
13716{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13717$as_echo_n "checking for $ac_word... " >&6; }
13718if ${ac_cv_path_DX_LATEX+:} false; then :
13719  $as_echo_n "(cached) " >&6
13720else
13721  case $DX_LATEX in
13722  [\\/]* | ?:[\\/]*)
13723  ac_cv_path_DX_LATEX="$DX_LATEX" # Let the user override the test with a path.
13724  ;;
13725  *)
13726  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13727for as_dir in $PATH
13728do
13729  IFS=$as_save_IFS
13730  test -z "$as_dir" && as_dir=.
13731    for ac_exec_ext in '' $ac_executable_extensions; do
13732  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13733    ac_cv_path_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
13734    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13735    break 2
13736  fi
13737done
13738  done
13739IFS=$as_save_IFS
13740
13741  ;;
13742esac
13743fi
13744DX_LATEX=$ac_cv_path_DX_LATEX
13745if test -n "$DX_LATEX"; then
13746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LATEX" >&5
13747$as_echo "$DX_LATEX" >&6; }
13748else
13749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13750$as_echo "no" >&6; }
13751fi
13752
13753
13754fi
13755if test -z "$ac_cv_path_DX_LATEX"; then
13756  ac_pt_DX_LATEX=$DX_LATEX
13757  # Extract the first word of "latex", so it can be a program name with args.
13758set dummy latex; ac_word=$2
13759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13760$as_echo_n "checking for $ac_word... " >&6; }
13761if ${ac_cv_path_ac_pt_DX_LATEX+:} false; then :
13762  $as_echo_n "(cached) " >&6
13763else
13764  case $ac_pt_DX_LATEX in
13765  [\\/]* | ?:[\\/]*)
13766  ac_cv_path_ac_pt_DX_LATEX="$ac_pt_DX_LATEX" # Let the user override the test with a path.
13767  ;;
13768  *)
13769  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13770for as_dir in $PATH
13771do
13772  IFS=$as_save_IFS
13773  test -z "$as_dir" && as_dir=.
13774    for ac_exec_ext in '' $ac_executable_extensions; do
13775  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13776    ac_cv_path_ac_pt_DX_LATEX="$as_dir/$ac_word$ac_exec_ext"
13777    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13778    break 2
13779  fi
13780done
13781  done
13782IFS=$as_save_IFS
13783
13784  ;;
13785esac
13786fi
13787ac_pt_DX_LATEX=$ac_cv_path_ac_pt_DX_LATEX
13788if test -n "$ac_pt_DX_LATEX"; then
13789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_LATEX" >&5
13790$as_echo "$ac_pt_DX_LATEX" >&6; }
13791else
13792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13793$as_echo "no" >&6; }
13794fi
13795
13796  if test "x$ac_pt_DX_LATEX" = x; then
13797    DX_LATEX=""
13798  else
13799    case $cross_compiling:$ac_tool_warned in
13800yes:)
13801{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13802$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13803ac_tool_warned=yes ;;
13804esac
13805    DX_LATEX=$ac_pt_DX_LATEX
13806  fi
13807else
13808  DX_LATEX="$ac_cv_path_DX_LATEX"
13809fi
13810
13811if test "$DX_FLAG_ps$DX_LATEX" = 1; then
13812    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: latex not found - will not generate doxygen PostScript documentation" >&5
13813$as_echo "$as_me: WARNING: latex not found - will not generate doxygen PostScript documentation" >&2;}
13814    DX_FLAG_ps=0
13815
13816fi
13817
13818
13819if test -n "$ac_tool_prefix"; then
13820  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
13821set dummy ${ac_tool_prefix}makeindex; ac_word=$2
13822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13823$as_echo_n "checking for $ac_word... " >&6; }
13824if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
13825  $as_echo_n "(cached) " >&6
13826else
13827  case $DX_MAKEINDEX in
13828  [\\/]* | ?:[\\/]*)
13829  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
13830  ;;
13831  *)
13832  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13833for as_dir in $PATH
13834do
13835  IFS=$as_save_IFS
13836  test -z "$as_dir" && as_dir=.
13837    for ac_exec_ext in '' $ac_executable_extensions; do
13838  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13839    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13840    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13841    break 2
13842  fi
13843done
13844  done
13845IFS=$as_save_IFS
13846
13847  ;;
13848esac
13849fi
13850DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
13851if test -n "$DX_MAKEINDEX"; then
13852  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
13853$as_echo "$DX_MAKEINDEX" >&6; }
13854else
13855  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13856$as_echo "no" >&6; }
13857fi
13858
13859
13860fi
13861if test -z "$ac_cv_path_DX_MAKEINDEX"; then
13862  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
13863  # Extract the first word of "makeindex", so it can be a program name with args.
13864set dummy makeindex; ac_word=$2
13865{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13866$as_echo_n "checking for $ac_word... " >&6; }
13867if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
13868  $as_echo_n "(cached) " >&6
13869else
13870  case $ac_pt_DX_MAKEINDEX in
13871  [\\/]* | ?:[\\/]*)
13872  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
13873  ;;
13874  *)
13875  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13876for as_dir in $PATH
13877do
13878  IFS=$as_save_IFS
13879  test -z "$as_dir" && as_dir=.
13880    for ac_exec_ext in '' $ac_executable_extensions; do
13881  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13882    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
13883    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13884    break 2
13885  fi
13886done
13887  done
13888IFS=$as_save_IFS
13889
13890  ;;
13891esac
13892fi
13893ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
13894if test -n "$ac_pt_DX_MAKEINDEX"; then
13895  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
13896$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
13897else
13898  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13899$as_echo "no" >&6; }
13900fi
13901
13902  if test "x$ac_pt_DX_MAKEINDEX" = x; then
13903    DX_MAKEINDEX=""
13904  else
13905    case $cross_compiling:$ac_tool_warned in
13906yes:)
13907{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13908$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13909ac_tool_warned=yes ;;
13910esac
13911    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
13912  fi
13913else
13914  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
13915fi
13916
13917if test "$DX_FLAG_ps$DX_MAKEINDEX" = 1; then
13918    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&5
13919$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PostScript documentation" >&2;}
13920    DX_FLAG_ps=0
13921
13922fi
13923
13924
13925if test -n "$ac_tool_prefix"; then
13926  # Extract the first word of "${ac_tool_prefix}dvips", so it can be a program name with args.
13927set dummy ${ac_tool_prefix}dvips; ac_word=$2
13928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13929$as_echo_n "checking for $ac_word... " >&6; }
13930if ${ac_cv_path_DX_DVIPS+:} false; then :
13931  $as_echo_n "(cached) " >&6
13932else
13933  case $DX_DVIPS in
13934  [\\/]* | ?:[\\/]*)
13935  ac_cv_path_DX_DVIPS="$DX_DVIPS" # Let the user override the test with a path.
13936  ;;
13937  *)
13938  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13939for as_dir in $PATH
13940do
13941  IFS=$as_save_IFS
13942  test -z "$as_dir" && as_dir=.
13943    for ac_exec_ext in '' $ac_executable_extensions; do
13944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13945    ac_cv_path_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13947    break 2
13948  fi
13949done
13950  done
13951IFS=$as_save_IFS
13952
13953  ;;
13954esac
13955fi
13956DX_DVIPS=$ac_cv_path_DX_DVIPS
13957if test -n "$DX_DVIPS"; then
13958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_DVIPS" >&5
13959$as_echo "$DX_DVIPS" >&6; }
13960else
13961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13962$as_echo "no" >&6; }
13963fi
13964
13965
13966fi
13967if test -z "$ac_cv_path_DX_DVIPS"; then
13968  ac_pt_DX_DVIPS=$DX_DVIPS
13969  # Extract the first word of "dvips", so it can be a program name with args.
13970set dummy dvips; ac_word=$2
13971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13972$as_echo_n "checking for $ac_word... " >&6; }
13973if ${ac_cv_path_ac_pt_DX_DVIPS+:} false; then :
13974  $as_echo_n "(cached) " >&6
13975else
13976  case $ac_pt_DX_DVIPS in
13977  [\\/]* | ?:[\\/]*)
13978  ac_cv_path_ac_pt_DX_DVIPS="$ac_pt_DX_DVIPS" # Let the user override the test with a path.
13979  ;;
13980  *)
13981  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13982for as_dir in $PATH
13983do
13984  IFS=$as_save_IFS
13985  test -z "$as_dir" && as_dir=.
13986    for ac_exec_ext in '' $ac_executable_extensions; do
13987  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13988    ac_cv_path_ac_pt_DX_DVIPS="$as_dir/$ac_word$ac_exec_ext"
13989    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13990    break 2
13991  fi
13992done
13993  done
13994IFS=$as_save_IFS
13995
13996  ;;
13997esac
13998fi
13999ac_pt_DX_DVIPS=$ac_cv_path_ac_pt_DX_DVIPS
14000if test -n "$ac_pt_DX_DVIPS"; then
14001  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_DVIPS" >&5
14002$as_echo "$ac_pt_DX_DVIPS" >&6; }
14003else
14004  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14005$as_echo "no" >&6; }
14006fi
14007
14008  if test "x$ac_pt_DX_DVIPS" = x; then
14009    DX_DVIPS=""
14010  else
14011    case $cross_compiling:$ac_tool_warned in
14012yes:)
14013{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14014$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14015ac_tool_warned=yes ;;
14016esac
14017    DX_DVIPS=$ac_pt_DX_DVIPS
14018  fi
14019else
14020  DX_DVIPS="$ac_cv_path_DX_DVIPS"
14021fi
14022
14023if test "$DX_FLAG_ps$DX_DVIPS" = 1; then
14024    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&5
14025$as_echo "$as_me: WARNING: dvips not found - will not generate doxygen PostScript documentation" >&2;}
14026    DX_FLAG_ps=0
14027
14028fi
14029
14030
14031if test -n "$ac_tool_prefix"; then
14032  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
14033set dummy ${ac_tool_prefix}egrep; ac_word=$2
14034{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14035$as_echo_n "checking for $ac_word... " >&6; }
14036if ${ac_cv_path_DX_EGREP+:} false; then :
14037  $as_echo_n "(cached) " >&6
14038else
14039  case $DX_EGREP in
14040  [\\/]* | ?:[\\/]*)
14041  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
14042  ;;
14043  *)
14044  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14045for as_dir in $PATH
14046do
14047  IFS=$as_save_IFS
14048  test -z "$as_dir" && as_dir=.
14049    for ac_exec_ext in '' $ac_executable_extensions; do
14050  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14051    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
14052    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14053    break 2
14054  fi
14055done
14056  done
14057IFS=$as_save_IFS
14058
14059  ;;
14060esac
14061fi
14062DX_EGREP=$ac_cv_path_DX_EGREP
14063if test -n "$DX_EGREP"; then
14064  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
14065$as_echo "$DX_EGREP" >&6; }
14066else
14067  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14068$as_echo "no" >&6; }
14069fi
14070
14071
14072fi
14073if test -z "$ac_cv_path_DX_EGREP"; then
14074  ac_pt_DX_EGREP=$DX_EGREP
14075  # Extract the first word of "egrep", so it can be a program name with args.
14076set dummy egrep; ac_word=$2
14077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14078$as_echo_n "checking for $ac_word... " >&6; }
14079if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
14080  $as_echo_n "(cached) " >&6
14081else
14082  case $ac_pt_DX_EGREP in
14083  [\\/]* | ?:[\\/]*)
14084  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
14085  ;;
14086  *)
14087  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14088for as_dir in $PATH
14089do
14090  IFS=$as_save_IFS
14091  test -z "$as_dir" && as_dir=.
14092    for ac_exec_ext in '' $ac_executable_extensions; do
14093  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14094    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
14095    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14096    break 2
14097  fi
14098done
14099  done
14100IFS=$as_save_IFS
14101
14102  ;;
14103esac
14104fi
14105ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
14106if test -n "$ac_pt_DX_EGREP"; then
14107  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
14108$as_echo "$ac_pt_DX_EGREP" >&6; }
14109else
14110  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14111$as_echo "no" >&6; }
14112fi
14113
14114  if test "x$ac_pt_DX_EGREP" = x; then
14115    DX_EGREP=""
14116  else
14117    case $cross_compiling:$ac_tool_warned in
14118yes:)
14119{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14120$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14121ac_tool_warned=yes ;;
14122esac
14123    DX_EGREP=$ac_pt_DX_EGREP
14124  fi
14125else
14126  DX_EGREP="$ac_cv_path_DX_EGREP"
14127fi
14128
14129if test "$DX_FLAG_ps$DX_EGREP" = 1; then
14130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&5
14131$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PostScript documentation" >&2;}
14132    DX_FLAG_ps=0
14133
14134fi
14135
14136    :
14137fi
14138 if test "$DX_FLAG_ps" = 1; then
14139  DX_COND_ps_TRUE=
14140  DX_COND_ps_FALSE='#'
14141else
14142  DX_COND_ps_TRUE='#'
14143  DX_COND_ps_FALSE=
14144fi
14145
14146if test "$DX_FLAG_ps" = 1; then
14147
14148    :
14149else
14150
14151    :
14152fi
14153
14154
14155# PDF file generation:
14156
14157
14158
14159    # Check whether --enable-doxygen-pdf was given.
14160if test "${enable_doxygen_pdf+set}" = set; then :
14161  enableval=$enable_doxygen_pdf;
14162case "$enableval" in
14163#(
14164y|Y|yes|Yes|YES)
14165    DX_FLAG_pdf=1
14166
14167
14168test "$DX_FLAG_doc" = "1" \
14169|| as_fn_error $? "doxygen-pdf requires doxygen-pdf" "$LINENO" 5
14170
14171;; #(
14172n|N|no|No|NO)
14173    DX_FLAG_pdf=0
14174
14175;; #(
14176*)
14177    as_fn_error $? "invalid value '$enableval' given to doxygen-pdf" "$LINENO" 5
14178;;
14179esac
14180
14181else
14182
14183DX_FLAG_pdf=1
14184
14185
14186test "$DX_FLAG_doc" = "1" || DX_FLAG_pdf=0
14187
14188
14189
14190fi
14191
14192if test "$DX_FLAG_pdf" = 1; then
14193
14194if test -n "$ac_tool_prefix"; then
14195  # Extract the first word of "${ac_tool_prefix}pdflatex", so it can be a program name with args.
14196set dummy ${ac_tool_prefix}pdflatex; ac_word=$2
14197{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14198$as_echo_n "checking for $ac_word... " >&6; }
14199if ${ac_cv_path_DX_PDFLATEX+:} false; then :
14200  $as_echo_n "(cached) " >&6
14201else
14202  case $DX_PDFLATEX in
14203  [\\/]* | ?:[\\/]*)
14204  ac_cv_path_DX_PDFLATEX="$DX_PDFLATEX" # Let the user override the test with a path.
14205  ;;
14206  *)
14207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14208for as_dir in $PATH
14209do
14210  IFS=$as_save_IFS
14211  test -z "$as_dir" && as_dir=.
14212    for ac_exec_ext in '' $ac_executable_extensions; do
14213  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14214    ac_cv_path_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
14215    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14216    break 2
14217  fi
14218done
14219  done
14220IFS=$as_save_IFS
14221
14222  ;;
14223esac
14224fi
14225DX_PDFLATEX=$ac_cv_path_DX_PDFLATEX
14226if test -n "$DX_PDFLATEX"; then
14227  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_PDFLATEX" >&5
14228$as_echo "$DX_PDFLATEX" >&6; }
14229else
14230  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14231$as_echo "no" >&6; }
14232fi
14233
14234
14235fi
14236if test -z "$ac_cv_path_DX_PDFLATEX"; then
14237  ac_pt_DX_PDFLATEX=$DX_PDFLATEX
14238  # Extract the first word of "pdflatex", so it can be a program name with args.
14239set dummy pdflatex; ac_word=$2
14240{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14241$as_echo_n "checking for $ac_word... " >&6; }
14242if ${ac_cv_path_ac_pt_DX_PDFLATEX+:} false; then :
14243  $as_echo_n "(cached) " >&6
14244else
14245  case $ac_pt_DX_PDFLATEX in
14246  [\\/]* | ?:[\\/]*)
14247  ac_cv_path_ac_pt_DX_PDFLATEX="$ac_pt_DX_PDFLATEX" # Let the user override the test with a path.
14248  ;;
14249  *)
14250  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14251for as_dir in $PATH
14252do
14253  IFS=$as_save_IFS
14254  test -z "$as_dir" && as_dir=.
14255    for ac_exec_ext in '' $ac_executable_extensions; do
14256  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14257    ac_cv_path_ac_pt_DX_PDFLATEX="$as_dir/$ac_word$ac_exec_ext"
14258    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14259    break 2
14260  fi
14261done
14262  done
14263IFS=$as_save_IFS
14264
14265  ;;
14266esac
14267fi
14268ac_pt_DX_PDFLATEX=$ac_cv_path_ac_pt_DX_PDFLATEX
14269if test -n "$ac_pt_DX_PDFLATEX"; then
14270  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_PDFLATEX" >&5
14271$as_echo "$ac_pt_DX_PDFLATEX" >&6; }
14272else
14273  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14274$as_echo "no" >&6; }
14275fi
14276
14277  if test "x$ac_pt_DX_PDFLATEX" = x; then
14278    DX_PDFLATEX=""
14279  else
14280    case $cross_compiling:$ac_tool_warned in
14281yes:)
14282{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14283$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14284ac_tool_warned=yes ;;
14285esac
14286    DX_PDFLATEX=$ac_pt_DX_PDFLATEX
14287  fi
14288else
14289  DX_PDFLATEX="$ac_cv_path_DX_PDFLATEX"
14290fi
14291
14292if test "$DX_FLAG_pdf$DX_PDFLATEX" = 1; then
14293    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&5
14294$as_echo "$as_me: WARNING: pdflatex not found - will not generate doxygen PDF documentation" >&2;}
14295    DX_FLAG_pdf=0
14296
14297fi
14298
14299
14300if test -n "$ac_tool_prefix"; then
14301  # Extract the first word of "${ac_tool_prefix}makeindex", so it can be a program name with args.
14302set dummy ${ac_tool_prefix}makeindex; ac_word=$2
14303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14304$as_echo_n "checking for $ac_word... " >&6; }
14305if ${ac_cv_path_DX_MAKEINDEX+:} false; then :
14306  $as_echo_n "(cached) " >&6
14307else
14308  case $DX_MAKEINDEX in
14309  [\\/]* | ?:[\\/]*)
14310  ac_cv_path_DX_MAKEINDEX="$DX_MAKEINDEX" # Let the user override the test with a path.
14311  ;;
14312  *)
14313  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14314for as_dir in $PATH
14315do
14316  IFS=$as_save_IFS
14317  test -z "$as_dir" && as_dir=.
14318    for ac_exec_ext in '' $ac_executable_extensions; do
14319  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14320    ac_cv_path_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
14321    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14322    break 2
14323  fi
14324done
14325  done
14326IFS=$as_save_IFS
14327
14328  ;;
14329esac
14330fi
14331DX_MAKEINDEX=$ac_cv_path_DX_MAKEINDEX
14332if test -n "$DX_MAKEINDEX"; then
14333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_MAKEINDEX" >&5
14334$as_echo "$DX_MAKEINDEX" >&6; }
14335else
14336  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14337$as_echo "no" >&6; }
14338fi
14339
14340
14341fi
14342if test -z "$ac_cv_path_DX_MAKEINDEX"; then
14343  ac_pt_DX_MAKEINDEX=$DX_MAKEINDEX
14344  # Extract the first word of "makeindex", so it can be a program name with args.
14345set dummy makeindex; ac_word=$2
14346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14347$as_echo_n "checking for $ac_word... " >&6; }
14348if ${ac_cv_path_ac_pt_DX_MAKEINDEX+:} false; then :
14349  $as_echo_n "(cached) " >&6
14350else
14351  case $ac_pt_DX_MAKEINDEX in
14352  [\\/]* | ?:[\\/]*)
14353  ac_cv_path_ac_pt_DX_MAKEINDEX="$ac_pt_DX_MAKEINDEX" # Let the user override the test with a path.
14354  ;;
14355  *)
14356  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14357for as_dir in $PATH
14358do
14359  IFS=$as_save_IFS
14360  test -z "$as_dir" && as_dir=.
14361    for ac_exec_ext in '' $ac_executable_extensions; do
14362  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14363    ac_cv_path_ac_pt_DX_MAKEINDEX="$as_dir/$ac_word$ac_exec_ext"
14364    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14365    break 2
14366  fi
14367done
14368  done
14369IFS=$as_save_IFS
14370
14371  ;;
14372esac
14373fi
14374ac_pt_DX_MAKEINDEX=$ac_cv_path_ac_pt_DX_MAKEINDEX
14375if test -n "$ac_pt_DX_MAKEINDEX"; then
14376  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_MAKEINDEX" >&5
14377$as_echo "$ac_pt_DX_MAKEINDEX" >&6; }
14378else
14379  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14380$as_echo "no" >&6; }
14381fi
14382
14383  if test "x$ac_pt_DX_MAKEINDEX" = x; then
14384    DX_MAKEINDEX=""
14385  else
14386    case $cross_compiling:$ac_tool_warned in
14387yes:)
14388{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14389$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14390ac_tool_warned=yes ;;
14391esac
14392    DX_MAKEINDEX=$ac_pt_DX_MAKEINDEX
14393  fi
14394else
14395  DX_MAKEINDEX="$ac_cv_path_DX_MAKEINDEX"
14396fi
14397
14398if test "$DX_FLAG_pdf$DX_MAKEINDEX" = 1; then
14399    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&5
14400$as_echo "$as_me: WARNING: makeindex not found - will not generate doxygen PDF documentation" >&2;}
14401    DX_FLAG_pdf=0
14402
14403fi
14404
14405
14406if test -n "$ac_tool_prefix"; then
14407  # Extract the first word of "${ac_tool_prefix}egrep", so it can be a program name with args.
14408set dummy ${ac_tool_prefix}egrep; ac_word=$2
14409{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14410$as_echo_n "checking for $ac_word... " >&6; }
14411if ${ac_cv_path_DX_EGREP+:} false; then :
14412  $as_echo_n "(cached) " >&6
14413else
14414  case $DX_EGREP in
14415  [\\/]* | ?:[\\/]*)
14416  ac_cv_path_DX_EGREP="$DX_EGREP" # Let the user override the test with a path.
14417  ;;
14418  *)
14419  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14420for as_dir in $PATH
14421do
14422  IFS=$as_save_IFS
14423  test -z "$as_dir" && as_dir=.
14424    for ac_exec_ext in '' $ac_executable_extensions; do
14425  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14426    ac_cv_path_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
14427    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14428    break 2
14429  fi
14430done
14431  done
14432IFS=$as_save_IFS
14433
14434  ;;
14435esac
14436fi
14437DX_EGREP=$ac_cv_path_DX_EGREP
14438if test -n "$DX_EGREP"; then
14439  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_EGREP" >&5
14440$as_echo "$DX_EGREP" >&6; }
14441else
14442  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14443$as_echo "no" >&6; }
14444fi
14445
14446
14447fi
14448if test -z "$ac_cv_path_DX_EGREP"; then
14449  ac_pt_DX_EGREP=$DX_EGREP
14450  # Extract the first word of "egrep", so it can be a program name with args.
14451set dummy egrep; ac_word=$2
14452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14453$as_echo_n "checking for $ac_word... " >&6; }
14454if ${ac_cv_path_ac_pt_DX_EGREP+:} false; then :
14455  $as_echo_n "(cached) " >&6
14456else
14457  case $ac_pt_DX_EGREP in
14458  [\\/]* | ?:[\\/]*)
14459  ac_cv_path_ac_pt_DX_EGREP="$ac_pt_DX_EGREP" # Let the user override the test with a path.
14460  ;;
14461  *)
14462  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14463for as_dir in $PATH
14464do
14465  IFS=$as_save_IFS
14466  test -z "$as_dir" && as_dir=.
14467    for ac_exec_ext in '' $ac_executable_extensions; do
14468  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14469    ac_cv_path_ac_pt_DX_EGREP="$as_dir/$ac_word$ac_exec_ext"
14470    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14471    break 2
14472  fi
14473done
14474  done
14475IFS=$as_save_IFS
14476
14477  ;;
14478esac
14479fi
14480ac_pt_DX_EGREP=$ac_cv_path_ac_pt_DX_EGREP
14481if test -n "$ac_pt_DX_EGREP"; then
14482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_DX_EGREP" >&5
14483$as_echo "$ac_pt_DX_EGREP" >&6; }
14484else
14485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14486$as_echo "no" >&6; }
14487fi
14488
14489  if test "x$ac_pt_DX_EGREP" = x; then
14490    DX_EGREP=""
14491  else
14492    case $cross_compiling:$ac_tool_warned in
14493yes:)
14494{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14495$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14496ac_tool_warned=yes ;;
14497esac
14498    DX_EGREP=$ac_pt_DX_EGREP
14499  fi
14500else
14501  DX_EGREP="$ac_cv_path_DX_EGREP"
14502fi
14503
14504if test "$DX_FLAG_pdf$DX_EGREP" = 1; then
14505    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: egrep not found - will not generate doxygen PDF documentation" >&5
14506$as_echo "$as_me: WARNING: egrep not found - will not generate doxygen PDF documentation" >&2;}
14507    DX_FLAG_pdf=0
14508
14509fi
14510
14511    :
14512fi
14513 if test "$DX_FLAG_pdf" = 1; then
14514  DX_COND_pdf_TRUE=
14515  DX_COND_pdf_FALSE='#'
14516else
14517  DX_COND_pdf_TRUE='#'
14518  DX_COND_pdf_FALSE=
14519fi
14520
14521if test "$DX_FLAG_pdf" = 1; then
14522
14523    :
14524else
14525
14526    :
14527fi
14528
14529
14530# LaTeX generation for PS and/or PDF:
14531 if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
14532  DX_COND_latex_TRUE=
14533  DX_COND_latex_FALSE='#'
14534else
14535  DX_COND_latex_TRUE='#'
14536  DX_COND_latex_FALSE=
14537fi
14538
14539if test "$DX_FLAG_ps" = 1 || test "$DX_FLAG_pdf" = 1; then
14540    DX_ENV="$DX_ENV GENERATE_LATEX='YES'"
14541
14542else
14543    DX_ENV="$DX_ENV GENERATE_LATEX='NO'"
14544
14545fi
14546
14547# Paper size for PS and/or PDF:
14548
14549case "$DOXYGEN_PAPER_SIZE" in
14550#(
14551"")
14552    DOXYGEN_PAPER_SIZE=""
14553
14554;; #(
14555a4wide|a4|letter|legal|executive)
14556    DX_ENV="$DX_ENV PAPER_SIZE='$DOXYGEN_PAPER_SIZE'"
14557
14558;; #(
14559*)
14560    as_fn_error $? "unknown DOXYGEN_PAPER_SIZE='$DOXYGEN_PAPER_SIZE'" "$LINENO" 5
14561;;
14562esac
14563
14564#For debugging:
14565#echo DX_FLAG_doc=$DX_FLAG_doc
14566#echo DX_FLAG_dot=$DX_FLAG_dot
14567#echo DX_FLAG_man=$DX_FLAG_man
14568#echo DX_FLAG_html=$DX_FLAG_html
14569#echo DX_FLAG_chm=$DX_FLAG_chm
14570#echo DX_FLAG_chi=$DX_FLAG_chi
14571#echo DX_FLAG_rtf=$DX_FLAG_rtf
14572#echo DX_FLAG_xml=$DX_FLAG_xml
14573#echo DX_FLAG_pdf=$DX_FLAG_pdf
14574#echo DX_FLAG_ps=$DX_FLAG_ps
14575#echo DX_ENV=$DX_ENV
14576
14577
14578### Check for CHECK
14579
14580
14581
14582
14583
14584
14585
14586if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
14587	if test -n "$ac_tool_prefix"; then
14588  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
14589set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
14590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14591$as_echo_n "checking for $ac_word... " >&6; }
14592if ${ac_cv_path_PKG_CONFIG+:} false; then :
14593  $as_echo_n "(cached) " >&6
14594else
14595  case $PKG_CONFIG in
14596  [\\/]* | ?:[\\/]*)
14597  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
14598  ;;
14599  *)
14600  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14601for as_dir in $PATH
14602do
14603  IFS=$as_save_IFS
14604  test -z "$as_dir" && as_dir=.
14605    for ac_exec_ext in '' $ac_executable_extensions; do
14606  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14607    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14608    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14609    break 2
14610  fi
14611done
14612  done
14613IFS=$as_save_IFS
14614
14615  ;;
14616esac
14617fi
14618PKG_CONFIG=$ac_cv_path_PKG_CONFIG
14619if test -n "$PKG_CONFIG"; then
14620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
14621$as_echo "$PKG_CONFIG" >&6; }
14622else
14623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14624$as_echo "no" >&6; }
14625fi
14626
14627
14628fi
14629if test -z "$ac_cv_path_PKG_CONFIG"; then
14630  ac_pt_PKG_CONFIG=$PKG_CONFIG
14631  # Extract the first word of "pkg-config", so it can be a program name with args.
14632set dummy pkg-config; ac_word=$2
14633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14634$as_echo_n "checking for $ac_word... " >&6; }
14635if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
14636  $as_echo_n "(cached) " >&6
14637else
14638  case $ac_pt_PKG_CONFIG in
14639  [\\/]* | ?:[\\/]*)
14640  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
14641  ;;
14642  *)
14643  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14644for as_dir in $PATH
14645do
14646  IFS=$as_save_IFS
14647  test -z "$as_dir" && as_dir=.
14648    for ac_exec_ext in '' $ac_executable_extensions; do
14649  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14650    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14652    break 2
14653  fi
14654done
14655  done
14656IFS=$as_save_IFS
14657
14658  ;;
14659esac
14660fi
14661ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
14662if test -n "$ac_pt_PKG_CONFIG"; then
14663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
14664$as_echo "$ac_pt_PKG_CONFIG" >&6; }
14665else
14666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14667$as_echo "no" >&6; }
14668fi
14669
14670  if test "x$ac_pt_PKG_CONFIG" = x; then
14671    PKG_CONFIG=""
14672  else
14673    case $cross_compiling:$ac_tool_warned in
14674yes:)
14675{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
14676$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
14677ac_tool_warned=yes ;;
14678esac
14679    PKG_CONFIG=$ac_pt_PKG_CONFIG
14680  fi
14681else
14682  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
14683fi
14684
14685fi
14686if test -n "$PKG_CONFIG"; then
14687	_pkg_min_version=0.9.0
14688	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
14689$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
14690	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
14691		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14692$as_echo "yes" >&6; }
14693	else
14694		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14695$as_echo "no" >&6; }
14696		PKG_CONFIG=""
14697	fi
14698fi
14699
14700pkg_failed=no
14701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for check >= 0.9.4" >&5
14702$as_echo_n "checking for check >= 0.9.4... " >&6; }
14703
14704if test -n "$CHECK_CFLAGS"; then
14705    pkg_cv_CHECK_CFLAGS="$CHECK_CFLAGS"
14706 elif test -n "$PKG_CONFIG"; then
14707    if test -n "$PKG_CONFIG" && \
14708    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
14709  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
14710  ac_status=$?
14711  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14712  test $ac_status = 0; }; then
14713  pkg_cv_CHECK_CFLAGS=`$PKG_CONFIG --cflags "check >= 0.9.4" 2>/dev/null`
14714		      test "x$?" != "x0" && pkg_failed=yes
14715else
14716  pkg_failed=yes
14717fi
14718 else
14719    pkg_failed=untried
14720fi
14721if test -n "$CHECK_LIBS"; then
14722    pkg_cv_CHECK_LIBS="$CHECK_LIBS"
14723 elif test -n "$PKG_CONFIG"; then
14724    if test -n "$PKG_CONFIG" && \
14725    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"check >= 0.9.4\""; } >&5
14726  ($PKG_CONFIG --exists --print-errors "check >= 0.9.4") 2>&5
14727  ac_status=$?
14728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14729  test $ac_status = 0; }; then
14730  pkg_cv_CHECK_LIBS=`$PKG_CONFIG --libs "check >= 0.9.4" 2>/dev/null`
14731		      test "x$?" != "x0" && pkg_failed=yes
14732else
14733  pkg_failed=yes
14734fi
14735 else
14736    pkg_failed=untried
14737fi
14738
14739
14740
14741if test $pkg_failed = yes; then
14742        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14743$as_echo "no" >&6; }
14744
14745if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
14746        _pkg_short_errors_supported=yes
14747else
14748        _pkg_short_errors_supported=no
14749fi
14750        if test $_pkg_short_errors_supported = yes; then
14751	        CHECK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
14752        else
14753	        CHECK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "check >= 0.9.4" 2>&1`
14754        fi
14755	# Put the nasty error message in config.log where it belongs
14756	echo "$CHECK_PKG_ERRORS" >&5
14757
14758	   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Check not found; cannot run unit tests!" >&5
14759$as_echo "$as_me: WARNING: Check not found; cannot run unit tests!" >&2;};
14760            have_check="no"
14761
14762elif test $pkg_failed = untried; then
14763        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14764$as_echo "no" >&6; }
14765	   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Check not found; cannot run unit tests!" >&5
14766$as_echo "$as_me: WARNING: Check not found; cannot run unit tests!" >&2;};
14767            have_check="no"
14768
14769else
14770	CHECK_CFLAGS=$pkg_cv_CHECK_CFLAGS
14771	CHECK_LIBS=$pkg_cv_CHECK_LIBS
14772        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14773$as_echo "yes" >&6; }
14774	have_check="yes"
14775fi
14776 if test x"$have_check" = "xyes"; then
14777  HAVE_CHECK_TRUE=
14778  HAVE_CHECK_FALSE='#'
14779else
14780  HAVE_CHECK_TRUE='#'
14781  HAVE_CHECK_FALSE=
14782fi
14783
14784
14785#### Find OpenSSL
14786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-openssl" >&5
14787$as_echo_n "checking for --with-openssl... " >&6; }
14788
14789# Check whether --with-openssl was given.
14790if test "${with_openssl+set}" = set; then :
14791  withval=$with_openssl;  LDFLAGS="$LDFLAGS -L$with_openssl/lib";
14792      CFLAGS="$CFLAGS -I$with_openssl/include/";
14793      CPPFLAGS="$CPPFLAGS -I$with_openssl/include/";
14794      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_openssl" >&5
14795$as_echo "$with_openssl" >&6; }
14796
14797else
14798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14799$as_echo "no" >&6; }
14800
14801fi
14802
14803
14804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CRYPTO_new_ex_data in -lcrypto" >&5
14805$as_echo_n "checking for CRYPTO_new_ex_data in -lcrypto... " >&6; }
14806if ${ac_cv_lib_crypto_CRYPTO_new_ex_data+:} false; then :
14807  $as_echo_n "(cached) " >&6
14808else
14809  ac_check_lib_save_LIBS=$LIBS
14810LIBS="-lcrypto  $LIBS"
14811cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14812/* end confdefs.h.  */
14813
14814/* Override any GCC internal prototype to avoid an error.
14815   Use char because int might match the return type of a GCC
14816   builtin and then its argument prototype would still apply.  */
14817#ifdef __cplusplus
14818extern "C"
14819#endif
14820char CRYPTO_new_ex_data ();
14821int
14822main ()
14823{
14824return CRYPTO_new_ex_data ();
14825  ;
14826  return 0;
14827}
14828_ACEOF
14829if ac_fn_c_try_link "$LINENO"; then :
14830  ac_cv_lib_crypto_CRYPTO_new_ex_data=yes
14831else
14832  ac_cv_lib_crypto_CRYPTO_new_ex_data=no
14833fi
14834rm -f core conftest.err conftest.$ac_objext \
14835    conftest$ac_exeext conftest.$ac_ext
14836LIBS=$ac_check_lib_save_LIBS
14837fi
14838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crypto_CRYPTO_new_ex_data" >&5
14839$as_echo "$ac_cv_lib_crypto_CRYPTO_new_ex_data" >&6; }
14840if test "x$ac_cv_lib_crypto_CRYPTO_new_ex_data" = xyes; then :
14841  cat >>confdefs.h <<_ACEOF
14842#define HAVE_LIBCRYPTO 1
14843_ACEOF
14844
14845  LIBS="-lcrypto $LIBS"
14846
14847else
14848  as_fn_error $? "OpenSSL is missing; it is required for this software" "$LINENO" 5
14849
14850fi
14851
14852
14853##### Check for Fundamental EC #####
14854for ac_header in openssl/fec.h
14855do :
14856  ac_fn_c_check_header_mongrel "$LINENO" "openssl/fec.h" "ac_cv_header_openssl_fec_h" "$ac_includes_default"
14857if test "x$ac_cv_header_openssl_fec_h" = xyes; then :
14858  cat >>confdefs.h <<_ACEOF
14859#define HAVE_OPENSSL_FEC_H 1
14860_ACEOF
14861
14862fi
14863
14864done
14865
14866
14867#### Find Jansson
14868{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-jansson" >&5
14869$as_echo_n "checking for --with-jansson... " >&6; }
14870
14871# Check whether --with-jansson was given.
14872if test "${with_jansson+set}" = set; then :
14873  withval=$with_jansson;  LDFLAGS="$LDFLAGS -L$with_jansson/lib";
14874      CFLAGS="$CFLAGS -I$with_jansson/include/";
14875      CPPFLAGS="$CPPFLAGS -I$with_jansson/include/";
14876      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_jansson" >&5
14877$as_echo "$with_jansson" >&6; }
14878
14879else
14880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14881$as_echo "no" >&6; }
14882
14883fi
14884
14885
14886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for json_object in -ljansson" >&5
14887$as_echo_n "checking for json_object in -ljansson... " >&6; }
14888if ${ac_cv_lib_jansson_json_object+:} false; then :
14889  $as_echo_n "(cached) " >&6
14890else
14891  ac_check_lib_save_LIBS=$LIBS
14892LIBS="-ljansson  $LIBS"
14893cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894/* end confdefs.h.  */
14895
14896/* Override any GCC internal prototype to avoid an error.
14897   Use char because int might match the return type of a GCC
14898   builtin and then its argument prototype would still apply.  */
14899#ifdef __cplusplus
14900extern "C"
14901#endif
14902char json_object ();
14903int
14904main ()
14905{
14906return json_object ();
14907  ;
14908  return 0;
14909}
14910_ACEOF
14911if ac_fn_c_try_link "$LINENO"; then :
14912  ac_cv_lib_jansson_json_object=yes
14913else
14914  ac_cv_lib_jansson_json_object=no
14915fi
14916rm -f core conftest.err conftest.$ac_objext \
14917    conftest$ac_exeext conftest.$ac_ext
14918LIBS=$ac_check_lib_save_LIBS
14919fi
14920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jansson_json_object" >&5
14921$as_echo "$ac_cv_lib_jansson_json_object" >&6; }
14922if test "x$ac_cv_lib_jansson_json_object" = xyes; then :
14923  cat >>confdefs.h <<_ACEOF
14924#define HAVE_LIBJANSSON 1
14925_ACEOF
14926
14927  LIBS="-ljansson $LIBS"
14928
14929else
14930  as_fn_error $? "Jansson is missing; it is required for this software" "$LINENO" 5
14931
14932fi
14933
14934
14935
14936ac_config_files="$ac_config_files Makefile include/Makefile include/cjose/version.h src/Makefile test/Makefile doc/Makefile doc/Doxyfile platform/Makefile platform/centos/Makefile platform/debian/Makefile cjose.pc"
14937
14938
14939cat >confcache <<\_ACEOF
14940# This file is a shell script that caches the results of configure
14941# tests run on this system so they can be shared between configure
14942# scripts and configure runs, see configure's option --config-cache.
14943# It is not useful on other systems.  If it contains results you don't
14944# want to keep, you may remove or edit it.
14945#
14946# config.status only pays attention to the cache file if you give it
14947# the --recheck option to rerun configure.
14948#
14949# `ac_cv_env_foo' variables (set or unset) will be overridden when
14950# loading this file, other *unset* `ac_cv_foo' will be assigned the
14951# following values.
14952
14953_ACEOF
14954
14955# The following way of writing the cache mishandles newlines in values,
14956# but we know of no workaround that is simple, portable, and efficient.
14957# So, we kill variables containing newlines.
14958# Ultrix sh set writes to stderr and can't be redirected directly,
14959# and sets the high bit in the cache file unless we assign to the vars.
14960(
14961  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14962    eval ac_val=\$$ac_var
14963    case $ac_val in #(
14964    *${as_nl}*)
14965      case $ac_var in #(
14966      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14967$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14968      esac
14969      case $ac_var in #(
14970      _ | IFS | as_nl) ;; #(
14971      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
14972      *) { eval $ac_var=; unset $ac_var;} ;;
14973      esac ;;
14974    esac
14975  done
14976
14977  (set) 2>&1 |
14978    case $as_nl`(ac_space=' '; set) 2>&1` in #(
14979    *${as_nl}ac_space=\ *)
14980      # `set' does not quote correctly, so add quotes: double-quote
14981      # substitution turns \\\\ into \\, and sed turns \\ into \.
14982      sed -n \
14983	"s/'/'\\\\''/g;
14984	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14985      ;; #(
14986    *)
14987      # `set' quotes correctly as required by POSIX, so do not add quotes.
14988      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14989      ;;
14990    esac |
14991    sort
14992) |
14993  sed '
14994     /^ac_cv_env_/b end
14995     t clear
14996     :clear
14997     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14998     t end
14999     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15000     :end' >>confcache
15001if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15002  if test -w "$cache_file"; then
15003    if test "x$cache_file" != "x/dev/null"; then
15004      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15005$as_echo "$as_me: updating cache $cache_file" >&6;}
15006      if test ! -f "$cache_file" || test -h "$cache_file"; then
15007	cat confcache >"$cache_file"
15008      else
15009        case $cache_file in #(
15010        */* | ?:*)
15011	  mv -f confcache "$cache_file"$$ &&
15012	  mv -f "$cache_file"$$ "$cache_file" ;; #(
15013        *)
15014	  mv -f confcache "$cache_file" ;;
15015	esac
15016      fi
15017    fi
15018  else
15019    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15020$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15021  fi
15022fi
15023rm -f confcache
15024
15025test "x$prefix" = xNONE && prefix=$ac_default_prefix
15026# Let make expand exec_prefix.
15027test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
15028
15029# Transform confdefs.h into DEFS.
15030# Protect against shell expansion while executing Makefile rules.
15031# Protect against Makefile macro expansion.
15032#
15033# If the first sed substitution is executed (which looks for macros that
15034# take arguments), then branch to the quote section.  Otherwise,
15035# look for a macro that doesn't take arguments.
15036ac_script='
15037:mline
15038/\\$/{
15039 N
15040 s,\\\n,,
15041 b mline
15042}
15043t clear
15044:clear
15045s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
15046t quote
15047s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
15048t quote
15049b any
15050:quote
15051s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
15052s/\[/\\&/g
15053s/\]/\\&/g
15054s/\$/$$/g
15055H
15056:any
15057${
15058	g
15059	s/^\n//
15060	s/\n/ /g
15061	p
15062}
15063'
15064DEFS=`sed -n "$ac_script" confdefs.h`
15065
15066
15067ac_libobjs=
15068ac_ltlibobjs=
15069U=
15070for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
15071  # 1. Remove the extension, and $U if already installed.
15072  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
15073  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
15074  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
15075  #    will be set to the directory where LIBOBJS objects are built.
15076  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15077  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
15078done
15079LIBOBJS=$ac_libobjs
15080
15081LTLIBOBJS=$ac_ltlibobjs
15082
15083
15084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
15085$as_echo_n "checking that generated files are newer than configure... " >&6; }
15086   if test -n "$am_sleep_pid"; then
15087     # Hide warnings about reused PIDs.
15088     wait $am_sleep_pid 2>/dev/null
15089   fi
15090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
15091$as_echo "done" >&6; }
15092 if test -n "$EXEEXT"; then
15093  am__EXEEXT_TRUE=
15094  am__EXEEXT_FALSE='#'
15095else
15096  am__EXEEXT_TRUE='#'
15097  am__EXEEXT_FALSE=
15098fi
15099
15100if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
15101  as_fn_error $? "conditional \"AMDEP\" was never defined.
15102Usually this means the macro was only invoked conditionally." "$LINENO" 5
15103fi
15104if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15105  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15106Usually this means the macro was only invoked conditionally." "$LINENO" 5
15107fi
15108if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
15109  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
15110Usually this means the macro was only invoked conditionally." "$LINENO" 5
15111fi
15112if test -z "${DX_COND_doc_TRUE}" && test -z "${DX_COND_doc_FALSE}"; then
15113  as_fn_error $? "conditional \"DX_COND_doc\" was never defined.
15114Usually this means the macro was only invoked conditionally." "$LINENO" 5
15115fi
15116if test -z "${DX_COND_dot_TRUE}" && test -z "${DX_COND_dot_FALSE}"; then
15117  as_fn_error $? "conditional \"DX_COND_dot\" was never defined.
15118Usually this means the macro was only invoked conditionally." "$LINENO" 5
15119fi
15120if test -z "${DX_COND_man_TRUE}" && test -z "${DX_COND_man_FALSE}"; then
15121  as_fn_error $? "conditional \"DX_COND_man\" was never defined.
15122Usually this means the macro was only invoked conditionally." "$LINENO" 5
15123fi
15124if test -z "${DX_COND_rtf_TRUE}" && test -z "${DX_COND_rtf_FALSE}"; then
15125  as_fn_error $? "conditional \"DX_COND_rtf\" was never defined.
15126Usually this means the macro was only invoked conditionally." "$LINENO" 5
15127fi
15128if test -z "${DX_COND_xml_TRUE}" && test -z "${DX_COND_xml_FALSE}"; then
15129  as_fn_error $? "conditional \"DX_COND_xml\" was never defined.
15130Usually this means the macro was only invoked conditionally." "$LINENO" 5
15131fi
15132if test -z "${DX_COND_chm_TRUE}" && test -z "${DX_COND_chm_FALSE}"; then
15133  as_fn_error $? "conditional \"DX_COND_chm\" was never defined.
15134Usually this means the macro was only invoked conditionally." "$LINENO" 5
15135fi
15136if test -z "${DX_COND_chi_TRUE}" && test -z "${DX_COND_chi_FALSE}"; then
15137  as_fn_error $? "conditional \"DX_COND_chi\" was never defined.
15138Usually this means the macro was only invoked conditionally." "$LINENO" 5
15139fi
15140if test -z "${DX_COND_html_TRUE}" && test -z "${DX_COND_html_FALSE}"; then
15141  as_fn_error $? "conditional \"DX_COND_html\" was never defined.
15142Usually this means the macro was only invoked conditionally." "$LINENO" 5
15143fi
15144if test -z "${DX_COND_ps_TRUE}" && test -z "${DX_COND_ps_FALSE}"; then
15145  as_fn_error $? "conditional \"DX_COND_ps\" was never defined.
15146Usually this means the macro was only invoked conditionally." "$LINENO" 5
15147fi
15148if test -z "${DX_COND_pdf_TRUE}" && test -z "${DX_COND_pdf_FALSE}"; then
15149  as_fn_error $? "conditional \"DX_COND_pdf\" was never defined.
15150Usually this means the macro was only invoked conditionally." "$LINENO" 5
15151fi
15152if test -z "${DX_COND_latex_TRUE}" && test -z "${DX_COND_latex_FALSE}"; then
15153  as_fn_error $? "conditional \"DX_COND_latex\" was never defined.
15154Usually this means the macro was only invoked conditionally." "$LINENO" 5
15155fi
15156if test -z "${HAVE_CHECK_TRUE}" && test -z "${HAVE_CHECK_FALSE}"; then
15157  as_fn_error $? "conditional \"HAVE_CHECK\" was never defined.
15158Usually this means the macro was only invoked conditionally." "$LINENO" 5
15159fi
15160
15161: "${CONFIG_STATUS=./config.status}"
15162ac_write_fail=0
15163ac_clean_files_save=$ac_clean_files
15164ac_clean_files="$ac_clean_files $CONFIG_STATUS"
15165{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15166$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15167as_write_fail=0
15168cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15169#! $SHELL
15170# Generated by $as_me.
15171# Run this file to recreate the current configuration.
15172# Compiler output produced by configure, useful for debugging
15173# configure, is in config.log if it exists.
15174
15175debug=false
15176ac_cs_recheck=false
15177ac_cs_silent=false
15178
15179SHELL=\${CONFIG_SHELL-$SHELL}
15180export SHELL
15181_ASEOF
15182cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15183## -------------------- ##
15184## M4sh Initialization. ##
15185## -------------------- ##
15186
15187# Be more Bourne compatible
15188DUALCASE=1; export DUALCASE # for MKS sh
15189if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
15190  emulate sh
15191  NULLCMD=:
15192  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15193  # is contrary to our usage.  Disable this feature.
15194  alias -g '${1+"$@"}'='"$@"'
15195  setopt NO_GLOB_SUBST
15196else
15197  case `(set -o) 2>/dev/null` in #(
15198  *posix*) :
15199    set -o posix ;; #(
15200  *) :
15201     ;;
15202esac
15203fi
15204
15205
15206as_nl='
15207'
15208export as_nl
15209# Printing a long string crashes Solaris 7 /usr/bin/printf.
15210as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15211as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15212as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15213# Prefer a ksh shell builtin over an external printf program on Solaris,
15214# but without wasting forks for bash or zsh.
15215if test -z "$BASH_VERSION$ZSH_VERSION" \
15216    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15217  as_echo='print -r --'
15218  as_echo_n='print -rn --'
15219elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15220  as_echo='printf %s\n'
15221  as_echo_n='printf %s'
15222else
15223  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15224    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
15225    as_echo_n='/usr/ucb/echo -n'
15226  else
15227    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15228    as_echo_n_body='eval
15229      arg=$1;
15230      case $arg in #(
15231      *"$as_nl"*)
15232	expr "X$arg" : "X\\(.*\\)$as_nl";
15233	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15234      esac;
15235      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
15236    '
15237    export as_echo_n_body
15238    as_echo_n='sh -c $as_echo_n_body as_echo'
15239  fi
15240  export as_echo_body
15241  as_echo='sh -c $as_echo_body as_echo'
15242fi
15243
15244# The user is always right.
15245if test "${PATH_SEPARATOR+set}" != set; then
15246  PATH_SEPARATOR=:
15247  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15248    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15249      PATH_SEPARATOR=';'
15250  }
15251fi
15252
15253
15254# IFS
15255# We need space, tab and new line, in precisely that order.  Quoting is
15256# there to prevent editors from complaining about space-tab.
15257# (If _AS_PATH_WALK were called with IFS unset, it would disable word
15258# splitting by setting IFS to empty value.)
15259IFS=" ""	$as_nl"
15260
15261# Find who we are.  Look in the path if we contain no directory separator.
15262as_myself=
15263case $0 in #((
15264  *[\\/]* ) as_myself=$0 ;;
15265  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15266for as_dir in $PATH
15267do
15268  IFS=$as_save_IFS
15269  test -z "$as_dir" && as_dir=.
15270    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15271  done
15272IFS=$as_save_IFS
15273
15274     ;;
15275esac
15276# We did not find ourselves, most probably we were run as `sh COMMAND'
15277# in which case we are not to be found in the path.
15278if test "x$as_myself" = x; then
15279  as_myself=$0
15280fi
15281if test ! -f "$as_myself"; then
15282  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15283  exit 1
15284fi
15285
15286# Unset variables that we do not need and which cause bugs (e.g. in
15287# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
15288# suppresses any "Segmentation fault" message there.  '((' could
15289# trigger a bug in pdksh 5.2.14.
15290for as_var in BASH_ENV ENV MAIL MAILPATH
15291do eval test x\${$as_var+set} = xset \
15292  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
15293done
15294PS1='$ '
15295PS2='> '
15296PS4='+ '
15297
15298# NLS nuisances.
15299LC_ALL=C
15300export LC_ALL
15301LANGUAGE=C
15302export LANGUAGE
15303
15304# CDPATH.
15305(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15306
15307
15308# as_fn_error STATUS ERROR [LINENO LOG_FD]
15309# ----------------------------------------
15310# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15311# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15312# script with STATUS, using 1 if that was 0.
15313as_fn_error ()
15314{
15315  as_status=$1; test $as_status -eq 0 && as_status=1
15316  if test "$4"; then
15317    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
15318    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15319  fi
15320  $as_echo "$as_me: error: $2" >&2
15321  as_fn_exit $as_status
15322} # as_fn_error
15323
15324
15325# as_fn_set_status STATUS
15326# -----------------------
15327# Set $? to STATUS, without forking.
15328as_fn_set_status ()
15329{
15330  return $1
15331} # as_fn_set_status
15332
15333# as_fn_exit STATUS
15334# -----------------
15335# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15336as_fn_exit ()
15337{
15338  set +e
15339  as_fn_set_status $1
15340  exit $1
15341} # as_fn_exit
15342
15343# as_fn_unset VAR
15344# ---------------
15345# Portably unset VAR.
15346as_fn_unset ()
15347{
15348  { eval $1=; unset $1;}
15349}
15350as_unset=as_fn_unset
15351# as_fn_append VAR VALUE
15352# ----------------------
15353# Append the text in VALUE to the end of the definition contained in VAR. Take
15354# advantage of any shell optimizations that allow amortized linear growth over
15355# repeated appends, instead of the typical quadratic growth present in naive
15356# implementations.
15357if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
15358  eval 'as_fn_append ()
15359  {
15360    eval $1+=\$2
15361  }'
15362else
15363  as_fn_append ()
15364  {
15365    eval $1=\$$1\$2
15366  }
15367fi # as_fn_append
15368
15369# as_fn_arith ARG...
15370# ------------------
15371# Perform arithmetic evaluation on the ARGs, and store the result in the
15372# global $as_val. Take advantage of shells that can avoid forks. The arguments
15373# must be portable across $(()) and expr.
15374if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
15375  eval 'as_fn_arith ()
15376  {
15377    as_val=$(( $* ))
15378  }'
15379else
15380  as_fn_arith ()
15381  {
15382    as_val=`expr "$@" || test $? -eq 1`
15383  }
15384fi # as_fn_arith
15385
15386
15387if expr a : '\(a\)' >/dev/null 2>&1 &&
15388   test "X`expr 00001 : '.*\(...\)'`" = X001; then
15389  as_expr=expr
15390else
15391  as_expr=false
15392fi
15393
15394if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15395  as_basename=basename
15396else
15397  as_basename=false
15398fi
15399
15400if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
15401  as_dirname=dirname
15402else
15403  as_dirname=false
15404fi
15405
15406as_me=`$as_basename -- "$0" ||
15407$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15408	 X"$0" : 'X\(//\)$' \| \
15409	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15410$as_echo X/"$0" |
15411    sed '/^.*\/\([^/][^/]*\)\/*$/{
15412	    s//\1/
15413	    q
15414	  }
15415	  /^X\/\(\/\/\)$/{
15416	    s//\1/
15417	    q
15418	  }
15419	  /^X\/\(\/\).*/{
15420	    s//\1/
15421	    q
15422	  }
15423	  s/.*/./; q'`
15424
15425# Avoid depending upon Character Ranges.
15426as_cr_letters='abcdefghijklmnopqrstuvwxyz'
15427as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15428as_cr_Letters=$as_cr_letters$as_cr_LETTERS
15429as_cr_digits='0123456789'
15430as_cr_alnum=$as_cr_Letters$as_cr_digits
15431
15432ECHO_C= ECHO_N= ECHO_T=
15433case `echo -n x` in #(((((
15434-n*)
15435  case `echo 'xy\c'` in
15436  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
15437  xy)  ECHO_C='\c';;
15438  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
15439       ECHO_T='	';;
15440  esac;;
15441*)
15442  ECHO_N='-n';;
15443esac
15444
15445rm -f conf$$ conf$$.exe conf$$.file
15446if test -d conf$$.dir; then
15447  rm -f conf$$.dir/conf$$.file
15448else
15449  rm -f conf$$.dir
15450  mkdir conf$$.dir 2>/dev/null
15451fi
15452if (echo >conf$$.file) 2>/dev/null; then
15453  if ln -s conf$$.file conf$$ 2>/dev/null; then
15454    as_ln_s='ln -s'
15455    # ... but there are two gotchas:
15456    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15457    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15458    # In both cases, we have to default to `cp -pR'.
15459    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
15460      as_ln_s='cp -pR'
15461  elif ln conf$$.file conf$$ 2>/dev/null; then
15462    as_ln_s=ln
15463  else
15464    as_ln_s='cp -pR'
15465  fi
15466else
15467  as_ln_s='cp -pR'
15468fi
15469rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
15470rmdir conf$$.dir 2>/dev/null
15471
15472
15473# as_fn_mkdir_p
15474# -------------
15475# Create "$as_dir" as a directory, including parents if necessary.
15476as_fn_mkdir_p ()
15477{
15478
15479  case $as_dir in #(
15480  -*) as_dir=./$as_dir;;
15481  esac
15482  test -d "$as_dir" || eval $as_mkdir_p || {
15483    as_dirs=
15484    while :; do
15485      case $as_dir in #(
15486      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15487      *) as_qdir=$as_dir;;
15488      esac
15489      as_dirs="'$as_qdir' $as_dirs"
15490      as_dir=`$as_dirname -- "$as_dir" ||
15491$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15492	 X"$as_dir" : 'X\(//\)[^/]' \| \
15493	 X"$as_dir" : 'X\(//\)$' \| \
15494	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15495$as_echo X"$as_dir" |
15496    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15497	    s//\1/
15498	    q
15499	  }
15500	  /^X\(\/\/\)[^/].*/{
15501	    s//\1/
15502	    q
15503	  }
15504	  /^X\(\/\/\)$/{
15505	    s//\1/
15506	    q
15507	  }
15508	  /^X\(\/\).*/{
15509	    s//\1/
15510	    q
15511	  }
15512	  s/.*/./; q'`
15513      test -d "$as_dir" && break
15514    done
15515    test -z "$as_dirs" || eval "mkdir $as_dirs"
15516  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
15517
15518
15519} # as_fn_mkdir_p
15520if mkdir -p . 2>/dev/null; then
15521  as_mkdir_p='mkdir -p "$as_dir"'
15522else
15523  test -d ./-p && rmdir ./-p
15524  as_mkdir_p=false
15525fi
15526
15527
15528# as_fn_executable_p FILE
15529# -----------------------
15530# Test if FILE is an executable regular file.
15531as_fn_executable_p ()
15532{
15533  test -f "$1" && test -x "$1"
15534} # as_fn_executable_p
15535as_test_x='test -x'
15536as_executable_p=as_fn_executable_p
15537
15538# Sed expression to map a string onto a valid CPP name.
15539as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15540
15541# Sed expression to map a string onto a valid variable name.
15542as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15543
15544
15545exec 6>&1
15546## ----------------------------------- ##
15547## Main body of $CONFIG_STATUS script. ##
15548## ----------------------------------- ##
15549_ASEOF
15550test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
15551
15552cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15553# Save the log message, to keep $0 and so on meaningful, and to
15554# report actual input values of CONFIG_FILES etc. instead of their
15555# values after options handling.
15556ac_log="
15557This file was extended by cjose $as_me 0.6.1, which was
15558generated by GNU Autoconf 2.69.  Invocation command line was
15559
15560  CONFIG_FILES    = $CONFIG_FILES
15561  CONFIG_HEADERS  = $CONFIG_HEADERS
15562  CONFIG_LINKS    = $CONFIG_LINKS
15563  CONFIG_COMMANDS = $CONFIG_COMMANDS
15564  $ $0 $@
15565
15566on `(hostname || uname -n) 2>/dev/null | sed 1q`
15567"
15568
15569_ACEOF
15570
15571case $ac_config_files in *"
15572"*) set x $ac_config_files; shift; ac_config_files=$*;;
15573esac
15574
15575
15576
15577cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15578# Files that config.status was made for.
15579config_files="$ac_config_files"
15580config_commands="$ac_config_commands"
15581
15582_ACEOF
15583
15584cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15585ac_cs_usage="\
15586\`$as_me' instantiates files and other configuration actions
15587from templates according to the current configuration.  Unless the files
15588and actions are specified as TAGs, all are instantiated by default.
15589
15590Usage: $0 [OPTION]... [TAG]...
15591
15592  -h, --help       print this help, then exit
15593  -V, --version    print version number and configuration settings, then exit
15594      --config     print configuration, then exit
15595  -q, --quiet, --silent
15596                   do not print progress messages
15597  -d, --debug      don't remove temporary files
15598      --recheck    update $as_me by reconfiguring in the same conditions
15599      --file=FILE[:TEMPLATE]
15600                   instantiate the configuration file FILE
15601
15602Configuration files:
15603$config_files
15604
15605Configuration commands:
15606$config_commands
15607
15608Report bugs to the package provider."
15609
15610_ACEOF
15611cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15612ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15613ac_cs_version="\\
15614cjose config.status 0.6.1
15615configured by $0, generated by GNU Autoconf 2.69,
15616  with options \\"\$ac_cs_config\\"
15617
15618Copyright (C) 2012 Free Software Foundation, Inc.
15619This config.status script is free software; the Free Software Foundation
15620gives unlimited permission to copy, distribute and modify it."
15621
15622ac_pwd='$ac_pwd'
15623srcdir='$srcdir'
15624INSTALL='$INSTALL'
15625MKDIR_P='$MKDIR_P'
15626AWK='$AWK'
15627test -n "\$AWK" || AWK=awk
15628_ACEOF
15629
15630cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15631# The default lists apply if the user does not specify any file.
15632ac_need_defaults=:
15633while test $# != 0
15634do
15635  case $1 in
15636  --*=?*)
15637    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15638    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
15639    ac_shift=:
15640    ;;
15641  --*=)
15642    ac_option=`expr "X$1" : 'X\([^=]*\)='`
15643    ac_optarg=
15644    ac_shift=:
15645    ;;
15646  *)
15647    ac_option=$1
15648    ac_optarg=$2
15649    ac_shift=shift
15650    ;;
15651  esac
15652
15653  case $ac_option in
15654  # Handling of the options.
15655  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15656    ac_cs_recheck=: ;;
15657  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
15658    $as_echo "$ac_cs_version"; exit ;;
15659  --config | --confi | --conf | --con | --co | --c )
15660    $as_echo "$ac_cs_config"; exit ;;
15661  --debug | --debu | --deb | --de | --d | -d )
15662    debug=: ;;
15663  --file | --fil | --fi | --f )
15664    $ac_shift
15665    case $ac_optarg in
15666    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15667    '') as_fn_error $? "missing file argument" ;;
15668    esac
15669    as_fn_append CONFIG_FILES " '$ac_optarg'"
15670    ac_need_defaults=false;;
15671  --he | --h |  --help | --hel | -h )
15672    $as_echo "$ac_cs_usage"; exit ;;
15673  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
15674  | -silent | --silent | --silen | --sile | --sil | --si | --s)
15675    ac_cs_silent=: ;;
15676
15677  # This is an error.
15678  -*) as_fn_error $? "unrecognized option: \`$1'
15679Try \`$0 --help' for more information." ;;
15680
15681  *) as_fn_append ac_config_targets " $1"
15682     ac_need_defaults=false ;;
15683
15684  esac
15685  shift
15686done
15687
15688ac_configure_extra_args=
15689
15690if $ac_cs_silent; then
15691  exec 6>/dev/null
15692  ac_configure_extra_args="$ac_configure_extra_args --silent"
15693fi
15694
15695_ACEOF
15696cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15697if \$ac_cs_recheck; then
15698  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15699  shift
15700  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15701  CONFIG_SHELL='$SHELL'
15702  export CONFIG_SHELL
15703  exec "\$@"
15704fi
15705
15706_ACEOF
15707cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15708exec 5>>config.log
15709{
15710  echo
15711  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15712## Running $as_me. ##
15713_ASBOX
15714  $as_echo "$ac_log"
15715} >&5
15716
15717_ACEOF
15718cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15719#
15720# INIT-COMMANDS
15721#
15722AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
15723
15724
15725# The HP-UX ksh and POSIX shell print the target directory to stdout
15726# if CDPATH is set.
15727(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
15728
15729sed_quote_subst='$sed_quote_subst'
15730double_quote_subst='$double_quote_subst'
15731delay_variable_subst='$delay_variable_subst'
15732macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
15733macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
15734enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
15735enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
15736pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
15737enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
15738shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
15739SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
15740ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
15741PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
15742host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
15743host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
15744host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
15745build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
15746build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
15747build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
15748SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
15749Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
15750GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
15751EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
15752FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
15753LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
15754NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
15755LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
15756max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
15757ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
15758exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
15759lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15760lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15761lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
15762lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
15763lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15764reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15765reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15766OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
15767deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15768file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
15769file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
15770want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
15771DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
15772sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15773AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15774AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
15775archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15776STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15777RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15778old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15779old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15780old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
15781lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
15782CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
15783CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
15784compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
15785GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
15786lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
15787lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15788lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
15789lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15790lt_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"`'
15791lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
15792nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
15793lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15794lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
15795objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15796MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15797lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
15798lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15799lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15800lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15801lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15802need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
15803MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15804DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15805NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15806LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15807OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
15808OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
15809libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
15810shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
15811extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15812archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
15813enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
15814export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
15815whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
15816compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
15817old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
15818old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
15819archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
15820archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15821module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
15822module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
15823with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
15824allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
15825no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
15826hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
15827hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
15828hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
15829hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
15830hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
15831hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
15832hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15833inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15834link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15835always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15836export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15837exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15838include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15839prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
15840postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15841file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15842variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15843need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15844need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
15845version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
15846runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
15847shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
15848shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
15849libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
15850library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
15851soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
15852install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
15853postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15854postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
15855finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
15856finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
15857hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
15858sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
15859configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
15860configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
15861hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
15862enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
15863enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
15864enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
15865old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
15866striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
15867
15868LTCC='$LTCC'
15869LTCFLAGS='$LTCFLAGS'
15870compiler='$compiler_DEFAULT'
15871
15872# A function that is used when there is no print builtin or printf.
15873func_fallback_echo ()
15874{
15875  eval 'cat <<_LTECHO_EOF
15876\$1
15877_LTECHO_EOF'
15878}
15879
15880# Quote evaled strings.
15881for var in SHELL \
15882ECHO \
15883PATH_SEPARATOR \
15884SED \
15885GREP \
15886EGREP \
15887FGREP \
15888LD \
15889NM \
15890LN_S \
15891lt_SP2NL \
15892lt_NL2SP \
15893reload_flag \
15894OBJDUMP \
15895deplibs_check_method \
15896file_magic_cmd \
15897file_magic_glob \
15898want_nocaseglob \
15899DLLTOOL \
15900sharedlib_from_linklib_cmd \
15901AR \
15902AR_FLAGS \
15903archiver_list_spec \
15904STRIP \
15905RANLIB \
15906CC \
15907CFLAGS \
15908compiler \
15909lt_cv_sys_global_symbol_pipe \
15910lt_cv_sys_global_symbol_to_cdecl \
15911lt_cv_sys_global_symbol_to_import \
15912lt_cv_sys_global_symbol_to_c_name_address \
15913lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
15914lt_cv_nm_interface \
15915nm_file_list_spec \
15916lt_cv_truncate_bin \
15917lt_prog_compiler_no_builtin_flag \
15918lt_prog_compiler_pic \
15919lt_prog_compiler_wl \
15920lt_prog_compiler_static \
15921lt_cv_prog_compiler_c_o \
15922need_locks \
15923MANIFEST_TOOL \
15924DSYMUTIL \
15925NMEDIT \
15926LIPO \
15927OTOOL \
15928OTOOL64 \
15929shrext_cmds \
15930export_dynamic_flag_spec \
15931whole_archive_flag_spec \
15932compiler_needs_object \
15933with_gnu_ld \
15934allow_undefined_flag \
15935no_undefined_flag \
15936hardcode_libdir_flag_spec \
15937hardcode_libdir_separator \
15938exclude_expsyms \
15939include_expsyms \
15940file_list_spec \
15941variables_saved_for_relink \
15942libname_spec \
15943library_names_spec \
15944soname_spec \
15945install_override_mode \
15946finish_eval \
15947old_striplib \
15948striplib; do
15949    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15950    *[\\\\\\\`\\"\\\$]*)
15951      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15952      ;;
15953    *)
15954      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15955      ;;
15956    esac
15957done
15958
15959# Double-quote double-evaled strings.
15960for var in reload_cmds \
15961old_postinstall_cmds \
15962old_postuninstall_cmds \
15963old_archive_cmds \
15964extract_expsyms_cmds \
15965old_archive_from_new_cmds \
15966old_archive_from_expsyms_cmds \
15967archive_cmds \
15968archive_expsym_cmds \
15969module_cmds \
15970module_expsym_cmds \
15971export_symbols_cmds \
15972prelink_cmds \
15973postlink_cmds \
15974postinstall_cmds \
15975postuninstall_cmds \
15976finish_cmds \
15977sys_lib_search_path_spec \
15978configure_time_dlsearch_path \
15979configure_time_lt_sys_library_path; do
15980    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
15981    *[\\\\\\\`\\"\\\$]*)
15982      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
15983      ;;
15984    *)
15985      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
15986      ;;
15987    esac
15988done
15989
15990ac_aux_dir='$ac_aux_dir'
15991
15992# See if we are running on zsh, and set the options that allow our
15993# commands through without removal of \ escapes INIT.
15994if test -n "\${ZSH_VERSION+set}"; then
15995   setopt NO_GLOB_SUBST
15996fi
15997
15998
15999    PACKAGE='$PACKAGE'
16000    VERSION='$VERSION'
16001    RM='$RM'
16002    ofile='$ofile'
16003
16004
16005
16006
16007_ACEOF
16008
16009cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16010
16011# Handling of arguments.
16012for ac_config_target in $ac_config_targets
16013do
16014  case $ac_config_target in
16015    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
16016    "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
16017    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
16018    "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
16019    "include/cjose/version.h") CONFIG_FILES="$CONFIG_FILES include/cjose/version.h" ;;
16020    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
16021    "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
16022    "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
16023    "doc/Doxyfile") CONFIG_FILES="$CONFIG_FILES doc/Doxyfile" ;;
16024    "platform/Makefile") CONFIG_FILES="$CONFIG_FILES platform/Makefile" ;;
16025    "platform/centos/Makefile") CONFIG_FILES="$CONFIG_FILES platform/centos/Makefile" ;;
16026    "platform/debian/Makefile") CONFIG_FILES="$CONFIG_FILES platform/debian/Makefile" ;;
16027    "cjose.pc") CONFIG_FILES="$CONFIG_FILES cjose.pc" ;;
16028
16029  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16030  esac
16031done
16032
16033
16034# If the user did not use the arguments to specify the items to instantiate,
16035# then the envvar interface is used.  Set only those that are not.
16036# We use the long form for the default assignment because of an extremely
16037# bizarre bug on SunOS 4.1.3.
16038if $ac_need_defaults; then
16039  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
16040  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
16041fi
16042
16043# Have a temporary directory for convenience.  Make it in the build tree
16044# simply because there is no reason against having it here, and in addition,
16045# creating and moving files from /tmp can sometimes cause problems.
16046# Hook for its removal unless debugging.
16047# Note that there is a small window in which the directory will not be cleaned:
16048# after its creation but before its name has been assigned to `$tmp'.
16049$debug ||
16050{
16051  tmp= ac_tmp=
16052  trap 'exit_status=$?
16053  : "${ac_tmp:=$tmp}"
16054  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16055' 0
16056  trap 'as_fn_exit 1' 1 2 13 15
16057}
16058# Create a (secure) tmp directory for tmp files.
16059
16060{
16061  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16062  test -d "$tmp"
16063}  ||
16064{
16065  tmp=./conf$$-$RANDOM
16066  (umask 077 && mkdir "$tmp")
16067} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
16068ac_tmp=$tmp
16069
16070# Set up the scripts for CONFIG_FILES section.
16071# No need to generate them if there are no CONFIG_FILES.
16072# This happens for instance with `./config.status config.h'.
16073if test -n "$CONFIG_FILES"; then
16074
16075
16076ac_cr=`echo X | tr X '\015'`
16077# On cygwin, bash can eat \r inside `` if the user requested igncr.
16078# But we know of no other shell where ac_cr would be empty at this
16079# point, so we can use a bashism as a fallback.
16080if test "x$ac_cr" = x; then
16081  eval ac_cr=\$\'\\r\'
16082fi
16083ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16084if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16085  ac_cs_awk_cr='\\r'
16086else
16087  ac_cs_awk_cr=$ac_cr
16088fi
16089
16090echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16091_ACEOF
16092
16093
16094{
16095  echo "cat >conf$$subs.awk <<_ACEOF" &&
16096  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16097  echo "_ACEOF"
16098} >conf$$subs.sh ||
16099  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16100ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16101ac_delim='%!_!# '
16102for ac_last_try in false false false false false :; do
16103  . ./conf$$subs.sh ||
16104    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16105
16106  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
16107  if test $ac_delim_n = $ac_delim_num; then
16108    break
16109  elif $ac_last_try; then
16110    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
16111  else
16112    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
16113  fi
16114done
16115rm -f conf$$subs.sh
16116
16117cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16118cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
16119_ACEOF
16120sed -n '
16121h
16122s/^/S["/; s/!.*/"]=/
16123p
16124g
16125s/^[^!]*!//
16126:repl
16127t repl
16128s/'"$ac_delim"'$//
16129t delim
16130:nl
16131h
16132s/\(.\{148\}\)..*/\1/
16133t more1
16134s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
16135p
16136n
16137b repl
16138:more1
16139s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16140p
16141g
16142s/.\{148\}//
16143t nl
16144:delim
16145h
16146s/\(.\{148\}\)..*/\1/
16147t more2
16148s/["\\]/\\&/g; s/^/"/; s/$/"/
16149p
16150b
16151:more2
16152s/["\\]/\\&/g; s/^/"/; s/$/"\\/
16153p
16154g
16155s/.\{148\}//
16156t delim
16157' <conf$$subs.awk | sed '
16158/^[^""]/{
16159  N
16160  s/\n//
16161}
16162' >>$CONFIG_STATUS || ac_write_fail=1
16163rm -f conf$$subs.awk
16164cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16165_ACAWK
16166cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
16167  for (key in S) S_is_set[key] = 1
16168  FS = ""
16169
16170}
16171{
16172  line = $ 0
16173  nfields = split(line, field, "@")
16174  substed = 0
16175  len = length(field[1])
16176  for (i = 2; i < nfields; i++) {
16177    key = field[i]
16178    keylen = length(key)
16179    if (S_is_set[key]) {
16180      value = S[key]
16181      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16182      len += length(value) + length(field[++i])
16183      substed = 1
16184    } else
16185      len += 1 + keylen
16186  }
16187
16188  print line
16189}
16190
16191_ACAWK
16192_ACEOF
16193cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16194if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16195  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
16196else
16197  cat
16198fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
16199  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
16200_ACEOF
16201
16202# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16203# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
16204# trailing colons and then remove the whole line if VPATH becomes empty
16205# (actually we leave an empty line to preserve line numbers).
16206if test "x$srcdir" = x.; then
16207  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
16208h
16209s///
16210s/^/:/
16211s/[	 ]*$/:/
16212s/:\$(srcdir):/:/g
16213s/:\${srcdir}:/:/g
16214s/:@srcdir@:/:/g
16215s/^:*//
16216s/:*$//
16217x
16218s/\(=[	 ]*\).*/\1/
16219G
16220s/\n//
16221s/^[^=]*=[	 ]*$//
16222}'
16223fi
16224
16225cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16226fi # test -n "$CONFIG_FILES"
16227
16228
16229eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS"
16230shift
16231for ac_tag
16232do
16233  case $ac_tag in
16234  :[FHLC]) ac_mode=$ac_tag; continue;;
16235  esac
16236  case $ac_mode$ac_tag in
16237  :[FHL]*:*);;
16238  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
16239  :[FH]-) ac_tag=-:-;;
16240  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
16241  esac
16242  ac_save_IFS=$IFS
16243  IFS=:
16244  set x $ac_tag
16245  IFS=$ac_save_IFS
16246  shift
16247  ac_file=$1
16248  shift
16249
16250  case $ac_mode in
16251  :L) ac_source=$1;;
16252  :[FH])
16253    ac_file_inputs=
16254    for ac_f
16255    do
16256      case $ac_f in
16257      -) ac_f="$ac_tmp/stdin";;
16258      *) # Look for the file first in the build tree, then in the source tree
16259	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
16260	 # because $ac_f cannot contain `:'.
16261	 test -f "$ac_f" ||
16262	   case $ac_f in
16263	   [\\/$]*) false;;
16264	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
16265	   esac ||
16266	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16267      esac
16268      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16269      as_fn_append ac_file_inputs " '$ac_f'"
16270    done
16271
16272    # Let's still pretend it is `configure' which instantiates (i.e., don't
16273    # use $as_me), people would be surprised to read:
16274    #    /* config.h.  Generated by config.status.  */
16275    configure_input='Generated from '`
16276	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16277	`' by configure.'
16278    if test x"$ac_file" != x-; then
16279      configure_input="$ac_file.  $configure_input"
16280      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16281$as_echo "$as_me: creating $ac_file" >&6;}
16282    fi
16283    # Neutralize special characters interpreted by sed in replacement strings.
16284    case $configure_input in #(
16285    *\&* | *\|* | *\\* )
16286       ac_sed_conf_input=`$as_echo "$configure_input" |
16287       sed 's/[\\\\&|]/\\\\&/g'`;; #(
16288    *) ac_sed_conf_input=$configure_input;;
16289    esac
16290
16291    case $ac_tag in
16292    *:-:* | *:-) cat >"$ac_tmp/stdin" \
16293      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
16294    esac
16295    ;;
16296  esac
16297
16298  ac_dir=`$as_dirname -- "$ac_file" ||
16299$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16300	 X"$ac_file" : 'X\(//\)[^/]' \| \
16301	 X"$ac_file" : 'X\(//\)$' \| \
16302	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16303$as_echo X"$ac_file" |
16304    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16305	    s//\1/
16306	    q
16307	  }
16308	  /^X\(\/\/\)[^/].*/{
16309	    s//\1/
16310	    q
16311	  }
16312	  /^X\(\/\/\)$/{
16313	    s//\1/
16314	    q
16315	  }
16316	  /^X\(\/\).*/{
16317	    s//\1/
16318	    q
16319	  }
16320	  s/.*/./; q'`
16321  as_dir="$ac_dir"; as_fn_mkdir_p
16322  ac_builddir=.
16323
16324case "$ac_dir" in
16325.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
16326*)
16327  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16328  # A ".." for each directory in $ac_dir_suffix.
16329  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16330  case $ac_top_builddir_sub in
16331  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
16332  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
16333  esac ;;
16334esac
16335ac_abs_top_builddir=$ac_pwd
16336ac_abs_builddir=$ac_pwd$ac_dir_suffix
16337# for backward compatibility:
16338ac_top_builddir=$ac_top_build_prefix
16339
16340case $srcdir in
16341  .)  # We are building in place.
16342    ac_srcdir=.
16343    ac_top_srcdir=$ac_top_builddir_sub
16344    ac_abs_top_srcdir=$ac_pwd ;;
16345  [\\/]* | ?:[\\/]* )  # Absolute name.
16346    ac_srcdir=$srcdir$ac_dir_suffix;
16347    ac_top_srcdir=$srcdir
16348    ac_abs_top_srcdir=$srcdir ;;
16349  *) # Relative name.
16350    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
16351    ac_top_srcdir=$ac_top_build_prefix$srcdir
16352    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
16353esac
16354ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
16355
16356
16357  case $ac_mode in
16358  :F)
16359  #
16360  # CONFIG_FILE
16361  #
16362
16363  case $INSTALL in
16364  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
16365  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
16366  esac
16367  ac_MKDIR_P=$MKDIR_P
16368  case $MKDIR_P in
16369  [\\/$]* | ?:[\\/]* ) ;;
16370  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
16371  esac
16372_ACEOF
16373
16374cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16375# If the template does not know about datarootdir, expand it.
16376# FIXME: This hack should be removed a few years after 2.60.
16377ac_datarootdir_hack=; ac_datarootdir_seen=
16378ac_sed_dataroot='
16379/datarootdir/ {
16380  p
16381  q
16382}
16383/@datadir@/p
16384/@docdir@/p
16385/@infodir@/p
16386/@localedir@/p
16387/@mandir@/p'
16388case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16389*datarootdir*) ac_datarootdir_seen=yes;;
16390*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
16391  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16392$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16393_ACEOF
16394cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16395  ac_datarootdir_hack='
16396  s&@datadir@&$datadir&g
16397  s&@docdir@&$docdir&g
16398  s&@infodir@&$infodir&g
16399  s&@localedir@&$localedir&g
16400  s&@mandir@&$mandir&g
16401  s&\\\${datarootdir}&$datarootdir&g' ;;
16402esac
16403_ACEOF
16404
16405# Neutralize VPATH when `$srcdir' = `.'.
16406# Shell code in configure.ac might set extrasub.
16407# FIXME: do we really want to maintain this feature?
16408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16409ac_sed_extra="$ac_vpsub
16410$extrasub
16411_ACEOF
16412cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16413:t
16414/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
16415s|@configure_input@|$ac_sed_conf_input|;t t
16416s&@top_builddir@&$ac_top_builddir_sub&;t t
16417s&@top_build_prefix@&$ac_top_build_prefix&;t t
16418s&@srcdir@&$ac_srcdir&;t t
16419s&@abs_srcdir@&$ac_abs_srcdir&;t t
16420s&@top_srcdir@&$ac_top_srcdir&;t t
16421s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
16422s&@builddir@&$ac_builddir&;t t
16423s&@abs_builddir@&$ac_abs_builddir&;t t
16424s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
16425s&@INSTALL@&$ac_INSTALL&;t t
16426s&@MKDIR_P@&$ac_MKDIR_P&;t t
16427$ac_datarootdir_hack
16428"
16429eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
16430  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16431
16432test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16433  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
16434  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
16435      "$ac_tmp/out"`; test -z "$ac_out"; } &&
16436  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16437which seems to be undefined.  Please make sure it is defined" >&5
16438$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
16439which seems to be undefined.  Please make sure it is defined" >&2;}
16440
16441  rm -f "$ac_tmp/stdin"
16442  case $ac_file in
16443  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16444  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16445  esac \
16446  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16447 ;;
16448
16449
16450  :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16451$as_echo "$as_me: executing $ac_file commands" >&6;}
16452 ;;
16453  esac
16454
16455
16456  case $ac_file$ac_mode in
16457    "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
16458  # Older Autoconf quotes --file arguments for eval, but not when files
16459  # are listed without --file.  Let's play safe and only enable the eval
16460  # if we detect the quoting.
16461  # TODO: see whether this extra hack can be removed once we start
16462  # requiring Autoconf 2.70 or later.
16463  case $CONFIG_FILES in #(
16464  *\'*) :
16465    eval set x "$CONFIG_FILES" ;; #(
16466  *) :
16467    set x $CONFIG_FILES ;; #(
16468  *) :
16469     ;;
16470esac
16471  shift
16472  # Used to flag and report bootstrapping failures.
16473  am_rc=0
16474  for am_mf
16475  do
16476    # Strip MF so we end up with the name of the file.
16477    am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
16478    # Check whether this is an Automake generated Makefile which includes
16479    # dependency-tracking related rules and includes.
16480    # Grep'ing the whole file directly is not great: AIX grep has a line
16481    # limit of 2048, but all sed's we know have understand at least 4000.
16482    sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
16483      || continue
16484    am_dirpart=`$as_dirname -- "$am_mf" ||
16485$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16486	 X"$am_mf" : 'X\(//\)[^/]' \| \
16487	 X"$am_mf" : 'X\(//\)$' \| \
16488	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16489$as_echo X"$am_mf" |
16490    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16491	    s//\1/
16492	    q
16493	  }
16494	  /^X\(\/\/\)[^/].*/{
16495	    s//\1/
16496	    q
16497	  }
16498	  /^X\(\/\/\)$/{
16499	    s//\1/
16500	    q
16501	  }
16502	  /^X\(\/\).*/{
16503	    s//\1/
16504	    q
16505	  }
16506	  s/.*/./; q'`
16507    am_filepart=`$as_basename -- "$am_mf" ||
16508$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
16509	 X"$am_mf" : 'X\(//\)$' \| \
16510	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
16511$as_echo X/"$am_mf" |
16512    sed '/^.*\/\([^/][^/]*\)\/*$/{
16513	    s//\1/
16514	    q
16515	  }
16516	  /^X\/\(\/\/\)$/{
16517	    s//\1/
16518	    q
16519	  }
16520	  /^X\/\(\/\).*/{
16521	    s//\1/
16522	    q
16523	  }
16524	  s/.*/./; q'`
16525    { echo "$as_me:$LINENO: cd "$am_dirpart" \
16526      && sed -e '/# am--include-marker/d' "$am_filepart" \
16527        | $MAKE -f - am--depfiles" >&5
16528   (cd "$am_dirpart" \
16529      && sed -e '/# am--include-marker/d' "$am_filepart" \
16530        | $MAKE -f - am--depfiles) >&5 2>&5
16531   ac_status=$?
16532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533   (exit $ac_status); } || am_rc=$?
16534  done
16535  if test $am_rc -ne 0; then
16536    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16537$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16538as_fn_error $? "Something went wrong bootstrapping makefile fragments
16539    for automatic dependency tracking.  Try re-running configure with the
16540    '--disable-dependency-tracking' option to at least be able to build
16541    the package (albeit without support for automatic dependency tracking).
16542See \`config.log' for more details" "$LINENO" 5; }
16543  fi
16544  { am_dirpart=; unset am_dirpart;}
16545  { am_filepart=; unset am_filepart;}
16546  { am_mf=; unset am_mf;}
16547  { am_rc=; unset am_rc;}
16548  rm -f conftest-deps.mk
16549}
16550 ;;
16551    "libtool":C)
16552
16553    # See if we are running on zsh, and set the options that allow our
16554    # commands through without removal of \ escapes.
16555    if test -n "${ZSH_VERSION+set}"; then
16556      setopt NO_GLOB_SUBST
16557    fi
16558
16559    cfgfile=${ofile}T
16560    trap "$RM \"$cfgfile\"; exit 1" 1 2 15
16561    $RM "$cfgfile"
16562
16563    cat <<_LT_EOF >> "$cfgfile"
16564#! $SHELL
16565# Generated automatically by $as_me ($PACKAGE) $VERSION
16566# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
16567# NOTE: Changes made to this file will be lost: look at ltmain.sh.
16568
16569# Provide generalized library-building support services.
16570# Written by Gordon Matzigkeit, 1996
16571
16572# Copyright (c) 2014-2016 Free Software Foundation, Inc.
16573# This is free software; see the source for copying conditions.  There is NO
16574# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16575
16576# GNU Libtool is free software; you can redistribute it and/or modify
16577# it under the terms of the GNU General Public License as published by
16578# the Free Software Foundation; either version 2 of of the License, or
16579# (at your option) any later version.
16580#
16581# As a special exception to the GNU General Public License, if you
16582# distribute this file as part of a program or library that is built
16583# using GNU Libtool, you may include this file under the  same
16584# distribution terms that you use for the rest of that program.
16585#
16586# GNU Libtool is distributed in the hope that it will be useful, but
16587# WITHOUT ANY WARRANTY; without even the implied warranty of
16588# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16589# GNU General Public License for more details.
16590#
16591# You should have received a copy of the GNU General Public License
16592# along with this program.  If not, see <http://www.gnu.org/licenses/>.
16593
16594
16595# The names of the tagged configurations supported by this script.
16596available_tags=''
16597
16598# Configured defaults for sys_lib_dlsearch_path munging.
16599: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
16600
16601# ### BEGIN LIBTOOL CONFIG
16602
16603# Which release of libtool.m4 was used?
16604macro_version=$macro_version
16605macro_revision=$macro_revision
16606
16607# Whether or not to build shared libraries.
16608build_libtool_libs=$enable_shared
16609
16610# Whether or not to build static libraries.
16611build_old_libs=$enable_static
16612
16613# What type of objects to build.
16614pic_mode=$pic_mode
16615
16616# Whether or not to optimize for fast installation.
16617fast_install=$enable_fast_install
16618
16619# Shared archive member basename,for filename based shared library versioning on AIX.
16620shared_archive_member_spec=$shared_archive_member_spec
16621
16622# Shell to use when invoking shell scripts.
16623SHELL=$lt_SHELL
16624
16625# An echo program that protects backslashes.
16626ECHO=$lt_ECHO
16627
16628# The PATH separator for the build system.
16629PATH_SEPARATOR=$lt_PATH_SEPARATOR
16630
16631# The host system.
16632host_alias=$host_alias
16633host=$host
16634host_os=$host_os
16635
16636# The build system.
16637build_alias=$build_alias
16638build=$build
16639build_os=$build_os
16640
16641# A sed program that does not truncate output.
16642SED=$lt_SED
16643
16644# Sed that helps us avoid accidentally triggering echo(1) options like -n.
16645Xsed="\$SED -e 1s/^X//"
16646
16647# A grep program that handles long lines.
16648GREP=$lt_GREP
16649
16650# An ERE matcher.
16651EGREP=$lt_EGREP
16652
16653# A literal string matcher.
16654FGREP=$lt_FGREP
16655
16656# A BSD- or MS-compatible name lister.
16657NM=$lt_NM
16658
16659# Whether we need soft or hard links.
16660LN_S=$lt_LN_S
16661
16662# What is the maximum length of a command?
16663max_cmd_len=$max_cmd_len
16664
16665# Object file suffix (normally "o").
16666objext=$ac_objext
16667
16668# Executable file suffix (normally "").
16669exeext=$exeext
16670
16671# whether the shell understands "unset".
16672lt_unset=$lt_unset
16673
16674# turn spaces into newlines.
16675SP2NL=$lt_lt_SP2NL
16676
16677# turn newlines into spaces.
16678NL2SP=$lt_lt_NL2SP
16679
16680# convert \$build file names to \$host format.
16681to_host_file_cmd=$lt_cv_to_host_file_cmd
16682
16683# convert \$build files to toolchain format.
16684to_tool_file_cmd=$lt_cv_to_tool_file_cmd
16685
16686# An object symbol dumper.
16687OBJDUMP=$lt_OBJDUMP
16688
16689# Method to check whether dependent libraries are shared objects.
16690deplibs_check_method=$lt_deplibs_check_method
16691
16692# Command to use when deplibs_check_method = "file_magic".
16693file_magic_cmd=$lt_file_magic_cmd
16694
16695# How to find potential files when deplibs_check_method = "file_magic".
16696file_magic_glob=$lt_file_magic_glob
16697
16698# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
16699want_nocaseglob=$lt_want_nocaseglob
16700
16701# DLL creation program.
16702DLLTOOL=$lt_DLLTOOL
16703
16704# Command to associate shared and link libraries.
16705sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
16706
16707# The archiver.
16708AR=$lt_AR
16709
16710# Flags to create an archive.
16711AR_FLAGS=$lt_AR_FLAGS
16712
16713# How to feed a file listing to the archiver.
16714archiver_list_spec=$lt_archiver_list_spec
16715
16716# A symbol stripping program.
16717STRIP=$lt_STRIP
16718
16719# Commands used to install an old-style archive.
16720RANLIB=$lt_RANLIB
16721old_postinstall_cmds=$lt_old_postinstall_cmds
16722old_postuninstall_cmds=$lt_old_postuninstall_cmds
16723
16724# Whether to use a lock for old archive extraction.
16725lock_old_archive_extraction=$lock_old_archive_extraction
16726
16727# A C compiler.
16728LTCC=$lt_CC
16729
16730# LTCC compiler flags.
16731LTCFLAGS=$lt_CFLAGS
16732
16733# Take the output of nm and produce a listing of raw symbols and C names.
16734global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
16735
16736# Transform the output of nm in a proper C declaration.
16737global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
16738
16739# Transform the output of nm into a list of symbols to manually relocate.
16740global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
16741
16742# Transform the output of nm in a C name address pair.
16743global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
16744
16745# Transform the output of nm in a C name address pair when lib prefix is needed.
16746global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16747
16748# The name lister interface.
16749nm_interface=$lt_lt_cv_nm_interface
16750
16751# Specify filename containing input files for \$NM.
16752nm_file_list_spec=$lt_nm_file_list_spec
16753
16754# The root where to search for dependent libraries,and where our libraries should be installed.
16755lt_sysroot=$lt_sysroot
16756
16757# Command to truncate a binary pipe.
16758lt_truncate_bin=$lt_lt_cv_truncate_bin
16759
16760# The name of the directory that contains temporary libtool files.
16761objdir=$objdir
16762
16763# Used to examine libraries when file_magic_cmd begins with "file".
16764MAGIC_CMD=$MAGIC_CMD
16765
16766# Must we lock files when doing compilation?
16767need_locks=$lt_need_locks
16768
16769# Manifest tool.
16770MANIFEST_TOOL=$lt_MANIFEST_TOOL
16771
16772# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16773DSYMUTIL=$lt_DSYMUTIL
16774
16775# Tool to change global to local symbols on Mac OS X.
16776NMEDIT=$lt_NMEDIT
16777
16778# Tool to manipulate fat objects and archives on Mac OS X.
16779LIPO=$lt_LIPO
16780
16781# ldd/readelf like tool for Mach-O binaries on Mac OS X.
16782OTOOL=$lt_OTOOL
16783
16784# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
16785OTOOL64=$lt_OTOOL64
16786
16787# Old archive suffix (normally "a").
16788libext=$libext
16789
16790# Shared library suffix (normally ".so").
16791shrext_cmds=$lt_shrext_cmds
16792
16793# The commands to extract the exported symbol list from a shared archive.
16794extract_expsyms_cmds=$lt_extract_expsyms_cmds
16795
16796# Variables whose values should be saved in libtool wrapper scripts and
16797# restored at link time.
16798variables_saved_for_relink=$lt_variables_saved_for_relink
16799
16800# Do we need the "lib" prefix for modules?
16801need_lib_prefix=$need_lib_prefix
16802
16803# Do we need a version for libraries?
16804need_version=$need_version
16805
16806# Library versioning type.
16807version_type=$version_type
16808
16809# Shared library runtime path variable.
16810runpath_var=$runpath_var
16811
16812# Shared library path variable.
16813shlibpath_var=$shlibpath_var
16814
16815# Is shlibpath searched before the hard-coded library search path?
16816shlibpath_overrides_runpath=$shlibpath_overrides_runpath
16817
16818# Format of library name prefix.
16819libname_spec=$lt_libname_spec
16820
16821# List of archive names.  First name is the real one, the rest are links.
16822# The last name is the one that the linker finds with -lNAME
16823library_names_spec=$lt_library_names_spec
16824
16825# The coded name of the library, if different from the real name.
16826soname_spec=$lt_soname_spec
16827
16828# Permission mode override for installation of shared libraries.
16829install_override_mode=$lt_install_override_mode
16830
16831# Command to use after installation of a shared archive.
16832postinstall_cmds=$lt_postinstall_cmds
16833
16834# Command to use after uninstallation of a shared archive.
16835postuninstall_cmds=$lt_postuninstall_cmds
16836
16837# Commands used to finish a libtool library installation in a directory.
16838finish_cmds=$lt_finish_cmds
16839
16840# As "finish_cmds", except a single script fragment to be evaled but
16841# not shown.
16842finish_eval=$lt_finish_eval
16843
16844# Whether we should hardcode library paths into libraries.
16845hardcode_into_libs=$hardcode_into_libs
16846
16847# Compile-time system search path for libraries.
16848sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
16849
16850# Detected run-time system search path for libraries.
16851sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
16852
16853# Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
16854configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
16855
16856# Whether dlopen is supported.
16857dlopen_support=$enable_dlopen
16858
16859# Whether dlopen of programs is supported.
16860dlopen_self=$enable_dlopen_self
16861
16862# Whether dlopen of statically linked programs is supported.
16863dlopen_self_static=$enable_dlopen_self_static
16864
16865# Commands to strip libraries.
16866old_striplib=$lt_old_striplib
16867striplib=$lt_striplib
16868
16869
16870# The linker used to build libraries.
16871LD=$lt_LD
16872
16873# How to create reloadable object files.
16874reload_flag=$lt_reload_flag
16875reload_cmds=$lt_reload_cmds
16876
16877# Commands used to build an old-style archive.
16878old_archive_cmds=$lt_old_archive_cmds
16879
16880# A language specific compiler.
16881CC=$lt_compiler
16882
16883# Is the compiler the GNU compiler?
16884with_gcc=$GCC
16885
16886# Compiler flag to turn off builtin functions.
16887no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16888
16889# Additional compiler flags for building library objects.
16890pic_flag=$lt_lt_prog_compiler_pic
16891
16892# How to pass a linker flag through the compiler.
16893wl=$lt_lt_prog_compiler_wl
16894
16895# Compiler flag to prevent dynamic linking.
16896link_static_flag=$lt_lt_prog_compiler_static
16897
16898# Does compiler simultaneously support -c and -o options?
16899compiler_c_o=$lt_lt_cv_prog_compiler_c_o
16900
16901# Whether or not to add -lc for building shared libraries.
16902build_libtool_need_lc=$archive_cmds_need_lc
16903
16904# Whether or not to disallow shared libs when runtime libs are static.
16905allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
16906
16907# Compiler flag to allow reflexive dlopens.
16908export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
16909
16910# Compiler flag to generate shared objects directly from archives.
16911whole_archive_flag_spec=$lt_whole_archive_flag_spec
16912
16913# Whether the compiler copes with passing no objects directly.
16914compiler_needs_object=$lt_compiler_needs_object
16915
16916# Create an old-style archive from a shared archive.
16917old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
16918
16919# Create a temporary old-style archive to link instead of a shared archive.
16920old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
16921
16922# Commands used to build a shared archive.
16923archive_cmds=$lt_archive_cmds
16924archive_expsym_cmds=$lt_archive_expsym_cmds
16925
16926# Commands used to build a loadable module if different from building
16927# a shared archive.
16928module_cmds=$lt_module_cmds
16929module_expsym_cmds=$lt_module_expsym_cmds
16930
16931# Whether we are building with GNU ld or not.
16932with_gnu_ld=$lt_with_gnu_ld
16933
16934# Flag that allows shared libraries with undefined symbols to be built.
16935allow_undefined_flag=$lt_allow_undefined_flag
16936
16937# Flag that enforces no undefined symbols.
16938no_undefined_flag=$lt_no_undefined_flag
16939
16940# Flag to hardcode \$libdir into a binary during linking.
16941# This must work even if \$libdir does not exist
16942hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
16943
16944# Whether we need a single "-rpath" flag with a separated argument.
16945hardcode_libdir_separator=$lt_hardcode_libdir_separator
16946
16947# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16948# DIR into the resulting binary.
16949hardcode_direct=$hardcode_direct
16950
16951# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
16952# DIR into the resulting binary and the resulting library dependency is
16953# "absolute",i.e impossible to change by setting \$shlibpath_var if the
16954# library is relocated.
16955hardcode_direct_absolute=$hardcode_direct_absolute
16956
16957# Set to "yes" if using the -LDIR flag during linking hardcodes DIR
16958# into the resulting binary.
16959hardcode_minus_L=$hardcode_minus_L
16960
16961# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
16962# into the resulting binary.
16963hardcode_shlibpath_var=$hardcode_shlibpath_var
16964
16965# Set to "yes" if building a shared library automatically hardcodes DIR
16966# into the library and all subsequent libraries and executables linked
16967# against it.
16968hardcode_automatic=$hardcode_automatic
16969
16970# Set to yes if linker adds runtime paths of dependent libraries
16971# to runtime path list.
16972inherit_rpath=$inherit_rpath
16973
16974# Whether libtool must link a program against all its dependency libraries.
16975link_all_deplibs=$link_all_deplibs
16976
16977# Set to "yes" if exported symbols are required.
16978always_export_symbols=$always_export_symbols
16979
16980# The commands to list exported symbols.
16981export_symbols_cmds=$lt_export_symbols_cmds
16982
16983# Symbols that should not be listed in the preloaded symbols.
16984exclude_expsyms=$lt_exclude_expsyms
16985
16986# Symbols that must always be exported.
16987include_expsyms=$lt_include_expsyms
16988
16989# Commands necessary for linking programs (against libraries) with templates.
16990prelink_cmds=$lt_prelink_cmds
16991
16992# Commands necessary for finishing linking programs.
16993postlink_cmds=$lt_postlink_cmds
16994
16995# Specify filename containing input files.
16996file_list_spec=$lt_file_list_spec
16997
16998# How to hardcode a shared library path into an executable.
16999hardcode_action=$hardcode_action
17000
17001# ### END LIBTOOL CONFIG
17002
17003_LT_EOF
17004
17005    cat <<'_LT_EOF' >> "$cfgfile"
17006
17007# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
17008
17009# func_munge_path_list VARIABLE PATH
17010# -----------------------------------
17011# VARIABLE is name of variable containing _space_ separated list of
17012# directories to be munged by the contents of PATH, which is string
17013# having a format:
17014# "DIR[:DIR]:"
17015#       string "DIR[ DIR]" will be prepended to VARIABLE
17016# ":DIR[:DIR]"
17017#       string "DIR[ DIR]" will be appended to VARIABLE
17018# "DIRP[:DIRP]::[DIRA:]DIRA"
17019#       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
17020#       "DIRA[ DIRA]" will be appended to VARIABLE
17021# "DIR[:DIR]"
17022#       VARIABLE will be replaced by "DIR[ DIR]"
17023func_munge_path_list ()
17024{
17025    case x$2 in
17026    x)
17027        ;;
17028    *:)
17029        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
17030        ;;
17031    x:*)
17032        eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
17033        ;;
17034    *::*)
17035        eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
17036        eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
17037        ;;
17038    *)
17039        eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
17040        ;;
17041    esac
17042}
17043
17044
17045# Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
17046func_cc_basename ()
17047{
17048    for cc_temp in $*""; do
17049      case $cc_temp in
17050        compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
17051        distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
17052        \-*) ;;
17053        *) break;;
17054      esac
17055    done
17056    func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
17057}
17058
17059
17060# ### END FUNCTIONS SHARED WITH CONFIGURE
17061
17062_LT_EOF
17063
17064  case $host_os in
17065  aix3*)
17066    cat <<\_LT_EOF >> "$cfgfile"
17067# AIX sometimes has problems with the GCC collect2 program.  For some
17068# reason, if we set the COLLECT_NAMES environment variable, the problems
17069# vanish in a puff of smoke.
17070if test set != "${COLLECT_NAMES+set}"; then
17071  COLLECT_NAMES=
17072  export COLLECT_NAMES
17073fi
17074_LT_EOF
17075    ;;
17076  esac
17077
17078
17079ltmain=$ac_aux_dir/ltmain.sh
17080
17081
17082  # We use sed instead of cat because bash on DJGPP gets confused if
17083  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
17084  # text mode, it properly converts lines to CR/LF.  This bash problem
17085  # is reportedly fixed, but why not run on old versions too?
17086  sed '$q' "$ltmain" >> "$cfgfile" \
17087     || (rm -f "$cfgfile"; exit 1)
17088
17089   mv -f "$cfgfile" "$ofile" ||
17090    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
17091  chmod +x "$ofile"
17092
17093 ;;
17094
17095  esac
17096done # for ac_tag
17097
17098
17099as_fn_exit 0
17100_ACEOF
17101ac_clean_files=$ac_clean_files_save
17102
17103test $ac_write_fail = 0 ||
17104  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17105
17106
17107# configure is writing to config.log, and then calls config.status.
17108# config.status does its own redirection, appending to config.log.
17109# Unfortunately, on DOS this fails, as config.log is still kept open
17110# by configure, so config.status won't be able to write to it; its
17111# output is simply discarded.  So we exec the FD to /dev/null,
17112# effectively closing config.log, so it can be properly (re)opened and
17113# appended to by config.status.  When coming back to configure, we
17114# need to make the FD available again.
17115if test "$no_create" != yes; then
17116  ac_cs_success=:
17117  ac_config_status_args=
17118  test "$silent" = yes &&
17119    ac_config_status_args="$ac_config_status_args --quiet"
17120  exec 5>/dev/null
17121  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
17122  exec 5>>config.log
17123  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17124  # would make configure fail if this is the last instruction.
17125  $ac_cs_success || as_fn_exit 1
17126fi
17127if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
17128  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17129$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17130fi
17131
17132
17133echo "
17134  ($PACKAGE_NAME) version $PACKAGE_VERSION
17135  Prefix.........: $prefix
17136  Using OpenSSL..: $with_openssl
17137  Using Jansson..: $with_jansson
17138  Unit tests.....: $have_check
17139"
17140